/* Halloween Offers for Elementor — front-end */

/* =========================================================
   POPUP
   ========================================================= */
.pbho-popup {
	position: fixed;
	inset: 0;
	z-index: var(--pbho-z, 99999);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	color: var(--pbho-text, #f4ecff);
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
}
.pbho-popup[hidden] { display: none; }

.pbho-popup__overlay {
	position: absolute;
	inset: 0;
	background: var(--pbho-overlay, rgba(8, 0, 16, .78));
	opacity: 0;
	transition: opacity .35s ease;
}
.pbho-popup.is-open .pbho-popup__overlay { opacity: 1; }

.pbho-popup__box {
	position: relative;
	width: 100%;
	max-width: var(--pbho-w, 480px);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	box-sizing: border-box;
	padding: 40px 32px 28px;
	text-align: center;
	border-radius: var(--pbho-radius, 18px);
	background:
		radial-gradient(120% 60% at 50% 0%, rgba(255, 122, 24, .18), transparent 60%),
		linear-gradient(170deg, var(--pbho-bg1, #2a1240), var(--pbho-bg2, #0d0612));
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, .06),
		0 30px 80px rgba(0, 0, 0, .6),
		0 0 60px -12px var(--pbho-accent, #ff7a18);
	opacity: 0;
}
.pbho-popup.is-open .pbho-popup__box { opacity: 1; }

/* Entrance animations */
.pbho-popup.is-open.pbho-anim--zoom .pbho-popup__box     { animation: pbho-in-zoom .5s cubic-bezier(.2, 1.2, .3, 1) both; }
.pbho-popup.is-open.pbho-anim--slide-up .pbho-popup__box { animation: pbho-in-rise .7s cubic-bezier(.2, .9, .3, 1) both; }
.pbho-popup.is-open.pbho-anim--drop .pbho-popup__box     { animation: pbho-in-drop .8s cubic-bezier(.3, 1.4, .5, 1) both; }
.pbho-popup.is-open.pbho-anim--swing .pbho-popup__box    { animation: pbho-in-swing .9s ease-out both; transform-origin: top center; }
.pbho-popup.is-open.pbho-anim--fade .pbho-popup__box     { animation: pbho-in-fade .5s ease both; }

.pbho-popup.is-closing .pbho-popup__box     { animation: pbho-out .3s ease both; }
.pbho-popup.is-closing .pbho-popup__overlay { opacity: 0; }

@keyframes pbho-in-zoom  { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes pbho-in-rise  { from { opacity: 0; transform: translateY(80px) scale(.96); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pbho-in-drop  { from { opacity: 0; transform: translateY(-120vh); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes pbho-in-swing { 0% { opacity: 0; transform: rotateX(-90deg); } 50% { opacity: 1; transform: rotateX(18deg); } 75% { transform: rotateX(-8deg); } to { opacity: 1; transform: none; } }
@keyframes pbho-in-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes pbho-out      { to { opacity: 0; transform: scale(.92); } }

.pbho-popup__close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 3;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: inherit;
	font-size: 24px;
	line-height: 36px;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.pbho-popup__close:hover,
.pbho-popup__close:focus-visible { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }

.pbho-popup__img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 16px;
	border-radius: calc(var(--pbho-radius, 18px) * .6);
}

.pbho-popup__badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 5px 14px;
	border: 1px solid var(--pbho-accent, #ff7a18);
	border-radius: 999px;
	color: var(--pbho-accent, #ff7a18);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.pbho-popup .pbho-popup__title {
	margin: 0 0 10px;
	color: var(--pbho-text, #f4ecff);
	font-size: var(--pbho-title, 38px);
	font-weight: 800;
	line-height: 1.1;
	text-shadow: 0 0 24px rgba(255, 122, 24, .45);
}
.pbho-popup--creepy .pbho-popup__title,
.pbho-font--creepster .pbho-popup__title {
	font-family: 'Creepster', cursive;
	font-weight: 400;
	letter-spacing: .03em;
	color: var(--pbho-accent, #ff7a18);
}
.pbho-popup--font .pbho-popup__title { color: var(--pbho-accent, #ff7a18); }
.pbho-font--mountains .pbho-popup__title { font-family: 'Mountains of Christmas', cursive; font-weight: 700; }
.pbho-font--playfair .pbho-popup__title { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 800; }
.pbho-font--bungee .pbho-popup__title { font-family: 'Bungee', Impact, sans-serif; font-weight: 400; letter-spacing: .02em; }
.pbho-font--orbitron .pbho-popup__title { font-family: 'Orbitron', system-ui, sans-serif; font-weight: 800; letter-spacing: .04em; text-shadow: 0 0 18px var(--pbho-accent, #22d3ee); }

.pbho-popup__desc {
	margin: 0 auto 20px;
	max-width: 36em;
	font-size: 16px;
	line-height: 1.55;
	opacity: .88;
}

/* Countdown */
.pbho-countdown {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	max-width: 320px;
	margin: 0 auto 20px;
}
.pbho-countdown__cell {
	padding: 10px 4px 8px;
	border-radius: 10px;
	background: rgba(0, 0, 0, .35);
	background: color-mix(in srgb, var(--pbho-text, #f4ecff) 9%, transparent);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.pbho-countdown__num {
	display: block;
	color: var(--pbho-accent, #ff7a18);
	font-size: 26px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.pbho-countdown__label {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .7;
}
.pbho-countdown.is-expired {
	display: block;
	padding: 10px;
	border-radius: 10px;
	background: rgba(0, 0, 0, .35);
	background: color-mix(in srgb, var(--pbho-text, #f4ecff) 9%, transparent);
	font-weight: 700;
}

/* Coupon */
.pbho-coupon {
	display: flex;
	align-items: stretch;
	max-width: 320px;
	margin: 0 auto 18px;
	border: 2px dashed var(--pbho-accent, #ff7a18);
	border-radius: 10px;
	overflow: hidden;
}
.pbho-coupon__code {
	flex: 1;
	padding: 12px 10px;
	background: transparent;
	color: var(--pbho-text, #f4ecff);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .12em;
}
.pbho-coupon__copy {
	padding: 0 18px;
	border: 0;
	border-radius: 0;
	background: rgba(255, 122, 24, .15);
	color: var(--pbho-accent, #ff7a18);
	font-weight: 700;
	cursor: pointer;
	transition: background .2s;
}
.pbho-coupon__copy:hover,
.pbho-coupon__copy:focus-visible { background: rgba(255, 122, 24, .3); }
.pbho-coupon__copy.is-copied { background: var(--pbho-accent, #ff7a18); color: var(--pbho-btn-text, #1a0b26); }

/* Buttons */
.pbho-popup a.pbho-popup__btn {
	display: inline-block;
	padding: 14px 34px;
	border-radius: 999px;
	background: var(--pbho-accent, #ff7a18);
	color: var(--pbho-btn-text, #1a0b26);
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 10px 30px -8px var(--pbho-accent, #ff7a18);
	transition: transform .2s, box-shadow .2s;
	animation: pbho-pulse 2.4s ease-in-out infinite;
}
.pbho-popup a.pbho-popup__btn:hover,
.pbho-popup a.pbho-popup__btn:focus-visible { transform: translateY(-2px) scale(1.03); color: var(--pbho-btn-text, #1a0b26); }
@keyframes pbho-pulse { 0%, 100% { box-shadow: 0 10px 30px -8px var(--pbho-accent, #ff7a18); } 50% { box-shadow: 0 10px 44px -2px var(--pbho-accent, #ff7a18); } }

.pbho-popup__dismiss {
	display: block;
	margin: 14px auto 0;
	padding: 4px 8px;
	border: 0;
	background: none;
	color: inherit;
	font-size: 13px;
	text-decoration: underline;
	opacity: .55;
	cursor: pointer;
}
.pbho-popup__dismiss:hover { opacity: .9; background: none; color: inherit; }

/* Decorations inside the popup */
.pbho-deco { position: absolute; pointer-events: none; line-height: 0; }
.pbho-deco svg { width: 100%; height: auto; display: block; }
.pbho-deco--web { top: 0; left: 0; width: 110px; color: rgba(255, 255, 255, .28); }
.pbho-deco--bat1 { top: 18px; right: 56px; width: 46px; color: #000; animation: pbho-flutter 3.2s ease-in-out infinite; }
.pbho-deco--bat2 { top: 54px; right: 18px; width: 30px; color: #000; animation: pbho-flutter 2.6s ease-in-out -1s infinite; }
.pbho-deco--spider {
	top: 0;
	left: 34px;
	width: 22px;
	color: #000;
	animation: pbho-dangle 4s ease-in-out infinite;
}
.pbho-deco--spider::before {
	content: '';
	position: absolute;
	bottom: 70%;
	left: 50%;
	width: 1px;
	height: 200px;
	background: rgba(255, 255, 255, .35);
}
.pbho-popup__box { overflow-x: hidden; }
@keyframes pbho-flutter { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(-10px, -8px) rotate(6deg); } }
@keyframes pbho-dangle  { 0%, 100% { transform: translateY(30px); } 50% { transform: translateY(64px); } }

html.pbho-lock, html.pbho-lock body { overflow: hidden; }

/* Editor preview */
.pbho-editor-note {
	margin: 0 0 8px;
	padding: 6px 10px;
	border-left: 3px solid #ff7a18;
	background: rgba(255, 122, 24, .08);
	font-size: 12px;
	color: #555;
}
.pbho-popup--preview {
	position: relative;
	inset: auto;
	z-index: 1;
	min-height: 200px;
	padding: 40px 16px;
}
.pbho-popup--preview .pbho-popup__overlay { opacity: 1; border-radius: 8px; }
.pbho-popup--preview .pbho-popup__box { opacity: 1; max-height: none; }

/* =========================================================
   SCREEN ANIMATIONS
   ========================================================= */
.pbho-fx-layer {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	transition: opacity 1.2s ease;
}
.pbho-fx-layer.is-fading { opacity: 0 !important; }
.pbho-fx-layer svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Generic tracks — they span the layer, so % translations = % of screen */
.pbho-track { position: absolute; will-change: transform; }
.pbho-track--x { top: 0; left: 0; width: 100%; height: 0; animation: pbho-x var(--dur, 10s) linear var(--delay, 0s) infinite; }
.pbho-track--x.pbho-rev { animation-direction: reverse; }
.pbho-track--up   { top: 0; left: 0; width: 0; height: 100%; animation: pbho-up var(--dur, 14s) linear var(--delay, 0s) infinite; }
.pbho-track--down { top: 0; left: 0; width: 0; height: 100%; animation: pbho-down var(--dur, 10s) linear var(--delay, 0s) infinite; }

@keyframes pbho-x    { from { transform: translateX(-12%); } to { transform: translateX(112%); } }
@keyframes pbho-up   { 0% { transform: translateY(105%); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(-25%); opacity: 0; } }
@keyframes pbho-down { from { transform: translateY(-12%); } to { transform: translateY(108%); } }

/* Bats */
.pbho-bat { position: absolute; top: 0; left: 0; transform: translateX(-100%); animation: pbho-bat-bob var(--bob, 2s) ease-in-out infinite alternate; }
.pbho-bat svg { animation: pbho-flap var(--flap, .25s) ease-in-out infinite alternate; transform-origin: center 40%; }
@keyframes pbho-flap    { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
@keyframes pbho-bat-bob { from { margin-top: calc(var(--amp, 18px) * -1); rotate: -10deg; } to { margin-top: var(--amp, 18px); rotate: 10deg; } }

/* Ghosts */
.pbho-ghost {
	position: absolute;
	top: 0;
	left: 0;
	transform: translateX(-50%);
	filter: drop-shadow(0 0 14px rgba(255, 255, 255, .45));
	animation: pbho-sway var(--sway, 3s) ease-in-out infinite alternate;
	opacity: .85;
}
.pbho-ghost svg { animation: pbho-ghost-fade 4s ease-in-out infinite; }
@keyframes pbho-ghost-fade { 0%, 100% { opacity: .95; } 50% { opacity: .45; } }
@keyframes pbho-sway { from { margin-left: -28px; rotate: -6deg; } to { margin-left: 28px; rotate: 6deg; } }

/* Leaves */
.pbho-leaf { position: absolute; top: 0; left: 0; animation: pbho-leaf var(--sway, 3s) ease-in-out infinite alternate; }
@keyframes pbho-leaf { from { margin-left: -40px; rotate: -50deg; } to { margin-left: 40px; rotate: 140deg; } }

/* Spiders */
.pbho-spider {
	position: absolute;
	top: 0;
	transform: translateY(-80px);
	animation: pbho-drop var(--dur, 9s) ease-in-out var(--delay, 0s) infinite;
}
.pbho-spider::before {
	content: '';
	position: absolute;
	bottom: 60%;
	left: 50%;
	width: 1px;
	height: 3000px;
	background: rgba(255, 255, 255, .5);
}
.pbho-spider svg { animation: pbho-wiggle 1.2s ease-in-out infinite alternate; }
@keyframes pbho-drop   { 0%, 100% { transform: translateY(-80px); } 35%, 65% { transform: translateY(var(--drop, 200px)); } 50% { transform: translateY(calc(var(--drop, 200px) - 20px)); } }
@keyframes pbho-wiggle { from { rotate: -10deg; } to { rotate: 10deg; } }

/* Pumpkins */
.pbho-pumpkin {
	position: absolute;
	bottom: -8px;
	transform: translateX(-50%);
	filter: drop-shadow(0 0 18px rgba(255, 122, 24, .55));
	animation: pbho-bob var(--bob, 3s) ease-in-out var(--delay, 0s) infinite alternate;
}
.pbho-pumpkin .pbho-face { fill: #ffd54a; animation: pbho-flicker 2.6s steps(1) var(--delay, 0s) infinite; }
@keyframes pbho-bob     { from { margin-bottom: 0; } to { margin-bottom: 14px; } }
@keyframes pbho-flicker { 0%, 100% { opacity: 1; } 42% { opacity: .55; } 46% { opacity: 1; } 71% { opacity: .7; } 74% { opacity: 1; } }

/* Fog */
.pbho-fog {
	position: absolute;
	left: 0;
	bottom: -6%;
	width: 200%;
	height: 42%;
	background:
		radial-gradient(ellipse 30% 60% at 15% 80%, var(--pbho-fog), transparent 70%),
		radial-gradient(ellipse 25% 55% at 45% 90%, var(--pbho-fog), transparent 70%),
		radial-gradient(ellipse 30% 60% at 70% 80%, var(--pbho-fog), transparent 70%),
		radial-gradient(ellipse 25% 50% at 95% 90%, var(--pbho-fog), transparent 70%);
	filter: blur(14px);
	animation: pbho-fog 40s linear infinite alternate;
}
.pbho-fog--b { bottom: -14%; opacity: .75; animation-duration: 58s; animation-direction: alternate-reverse; }
@keyframes pbho-fog { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cobwebs */
.pbho-web { position: absolute; top: 0; width: clamp(90px, 14vw, 180px); }
.pbho-web--l { left: 0; }
.pbho-web--r { right: 0; transform: scaleX(-1); }

/* Cursor trail */
.pbho-spark {
	position: absolute;
	width: var(--s, 6px);
	height: var(--s, 6px);
	margin: calc(var(--s, 6px) / -2) 0 0 calc(var(--s, 6px) / -2);
	border-radius: 50%;
	background: var(--c, #ff7a18);
	box-shadow: 0 0 10px var(--c, #ff7a18);
	animation: pbho-spark .8s ease-out forwards;
}
.pbho-spark--bat { width: 20px; height: auto; margin: -8px 0 0 -10px; border-radius: 0; background: none; box-shadow: none; color: var(--c, #1b1024); }
@keyframes pbho-spark { to { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 20px)) scale(.3); } }

/* Festive popup decorations */
.pbho-theme--christmas .pbho-deco--web { width: 96px; top: 6px; left: 8px; color: inherit; }
.pbho-theme--christmas .pbho-deco--bat1,
.pbho-theme--christmas .pbho-deco--bat2 { color: rgba(255, 255, 255, .85); animation: pbho-spin-drift 9s linear infinite; }
.pbho-theme--christmas .pbho-deco--bat1 { width: 34px; }
.pbho-theme--christmas .pbho-deco--bat2 { width: 22px; animation-duration: 7s; animation-direction: reverse; }
.pbho-theme--newyear .pbho-deco--bat1,
.pbho-theme--newyear .pbho-deco--bat2,
.pbho-theme--blackfriday .pbho-deco--bat1,
.pbho-theme--blackfriday .pbho-deco--bat2 { color: #ffd54a; filter: drop-shadow(0 0 8px rgba(255, 213, 74, .8)); animation: pbho-twinkle-soft 2.6s ease-in-out infinite; }
.pbho-theme--newyear .pbho-deco--bat1, .pbho-theme--blackfriday .pbho-deco--bat1 { width: 30px; }
.pbho-theme--newyear .pbho-deco--bat2, .pbho-theme--blackfriday .pbho-deco--bat2 { width: 18px; animation-delay: -1.3s; }
.pbho-theme--newyear .pbho-deco--spider { left: 26px; width: 22px; color: #ffd54a; filter: drop-shadow(0 0 8px rgba(255, 213, 74, .8)); }
.pbho-theme--newyear .pbho-deco--spider::before { display: none; }
.pbho-deco--hang-tag { width: 64px; left: 22px; color: var(--pbho-accent, #facc15); transform-origin: 30% -40px; }
.pbho-deco--hang-tag text { fill: #111; }
.pbho-deco--hang-tag svg { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.pbho-deco--hang-tag::before { left: 14px; }
.pbho-theme--cybermonday .pbho-deco--bat1 { top: 24px; right: 64px; width: 26px; color: #a78bfa; filter: drop-shadow(0 0 8px #a78bfa); animation: pbho-flutter 3.2s ease-in-out infinite; }
.pbho-deco--brackets { inset: 10px; border-radius: inherit; }
.pbho-deco--brackets::before,
.pbho-deco--brackets::after { content: ''; position: absolute; width: 34px; height: 34px; border: 2px solid var(--pbho-accent, #22d3ee); filter: drop-shadow(0 0 6px var(--pbho-accent, #22d3ee)); }
.pbho-deco--brackets::before { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.pbho-deco--brackets::after { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
@keyframes pbho-spin-drift { 0% { transform: translateY(0) rotate(0); } 50% { transform: translateY(8px) rotate(180deg); } 100% { transform: translateY(0) rotate(360deg); } }
@keyframes pbho-twinkle-soft { 0%, 100% { opacity: .35; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* Festive bar fliers */
.pbho-bar__bats--christmas .pbho-bar__bat { color: rgba(255, 255, 255, .8); }
.pbho-bar__bats--christmas .pbho-bar__bat svg { animation: pbho-spin-drift 6s linear infinite; }
.pbho-bar__bats--newyear .pbho-bar__bat { color: #ffd54a; }
.pbho-bar__bats--newyear .pbho-bar__bat svg { animation: pbho-twinkle-soft 1.8s ease-in-out infinite; }
.pbho-bar .pbho-bar__bats--blackfriday .pbho-bar__bat { width: 40px; color: var(--pbho-accent, #facc15); opacity: .85; }
.pbho-bar__bats--blackfriday .pbho-bar__bat text { fill: #111; }
.pbho-bar__bats--blackfriday .pbho-bar__bat svg { animation: none; }
.pbho-bar__bats--cybermonday .pbho-bar__bat { color: #22d3ee; filter: drop-shadow(0 0 6px #22d3ee); }
.pbho-bar__bats--cybermonday .pbho-bar__bat svg { animation: none; }

/* Visitor on/off button */
.pbho-fx-toggle {
	position: fixed;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 7px 14px 7px 10px;
	border: 1px solid rgba(255, 122, 24, .55);
	border-radius: 999px;
	background: rgba(20, 8, 30, .82);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font: 600 13px/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
	cursor: pointer;
	pointer-events: auto;
	opacity: .85;
	transition: opacity .2s, transform .2s, background .2s;
	animation: pbho-toggle-in .5s ease 1s both;
}
.pbho-fx-toggle:hover,
.pbho-fx-toggle:focus-visible { opacity: 1; transform: translateY(-2px); background: rgba(20, 8, 30, .95); color: #fff; }
.pbho-fx-toggle:focus-visible { outline: 2px solid #ff7a18; outline-offset: 2px; }
.pbho-fx-toggle__icon { display: block; width: 22px; color: #ff7a18; line-height: 0; }
.pbho-fx-toggle__icon svg { display: block; width: 100%; height: auto; }
.pbho-fx-toggle.is-off { opacity: .7; }
.pbho-fx-toggle.is-off .pbho-fx-toggle__icon { color: #9a8fa8; }
.pbho-fx-toggle.is-gone { display: none; }
@keyframes pbho-toggle-in { from { opacity: 0; transform: translateY(10px); } }

.pbho-fx-toggle--bottom-left  { left: 16px;  bottom: calc(16px + var(--pbho-bar-bottom, 0px)); }
.pbho-fx-toggle--bottom-right { right: 16px; bottom: calc(16px + var(--pbho-bar-bottom, 0px)); }
.pbho-fx-toggle--top-left     { left: 16px;  top: calc(16px + var(--wp-admin--admin-bar--height, 0px) + var(--pbho-bar-top, 0px)); }
.pbho-fx-toggle--top-right    { right: 16px; top: calc(16px + var(--wp-admin--admin-bar--height, 0px) + var(--pbho-bar-top, 0px)); }
html:not(.pbho-has-bar-bottom) .pbho-fx-toggle { --pbho-bar-bottom: 0px; }
html:not(.pbho-has-bar-top) .pbho-fx-toggle { --pbho-bar-top: 0px; }

/* Icon only: text slides out on hover / focus */
.pbho-fx-toggle--icon { padding: 8px; }
.pbho-fx-toggle--icon .pbho-fx-toggle__text {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	transition: max-width .3s ease, margin .3s ease;
}
.pbho-fx-toggle--icon:hover .pbho-fx-toggle__text,
.pbho-fx-toggle--icon:focus-visible .pbho-fx-toggle__text { max-width: 180px; margin-right: 4px; }
.pbho-fx-toggle--icon { gap: 0; }
.pbho-fx-toggle--icon:hover, .pbho-fx-toggle--icon:focus-visible { gap: 7px; }

/* Inside the editor preview box */
.pbho-fx-toggle--contained { position: absolute; animation: none; }
.pbho-fx-toggle--contained.pbho-fx-toggle--bottom-left,
.pbho-fx-toggle--contained.pbho-fx-toggle--bottom-right { bottom: 12px; }
.pbho-fx-toggle--contained.pbho-fx-toggle--top-left,
.pbho-fx-toggle--contained.pbho-fx-toggle--top-right { top: 32px; }

@media (max-width: 767px) {
	.pbho-fx-toggle { padding: 6px 12px 6px 8px; font-size: 12px; }
}

/* =========================================================
   FESTIVE EFFECTS (Christmas, New Year, Black Friday, Cyber Monday)
   ========================================================= */
.pbho-fx-layer .pbho-snow,
.pbho-fx-layer .pbho-confetti,
.pbho-fx-layer .pbho-rain { position: absolute; top: 0; left: 0; }

/* Snow */
.pbho-snow { animation: pbho-snow var(--sway, 3s) ease-in-out infinite alternate; }
.pbho-snow--dot { aspect-ratio: 1; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px rgba(255, 255, 255, .6); }
@keyframes pbho-snow { from { margin-left: -24px; rotate: -20deg; } to { margin-left: 24px; rotate: 40deg; } }

/* Snow drift */
.pbho-drift { position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(40px, 7vw, 80px); filter: drop-shadow(0 -4px 10px rgba(180, 200, 230, .35)); }
.pbho-drift svg { width: 100%; height: 100%; }

/* String lights */
.pbho-lights { position: absolute; top: calc(var(--wp-admin--admin-bar--height, 0px)); left: 0; right: 0; height: 34px; }
.pbho-fx-layer--contained .pbho-lights { top: 0; }
.pbho-lights svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pbho-bulb {
	position: absolute; top: 13px; width: 10px; height: 15px; margin-left: -5px;
	border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
	background: var(--c); box-shadow: 0 0 10px 2px var(--c);
	animation: pbho-bulb var(--dur, 2s) ease-in-out var(--delay, 0s) infinite alternate;
}
.pbho-bulb::before { content: ''; position: absolute; top: -4px; left: 2px; width: 6px; height: 5px; border-radius: 2px; background: #2f3a2f; }
@keyframes pbho-bulb { 0% { opacity: .35; box-shadow: 0 0 2px 0 var(--c); } 100% { opacity: 1; box-shadow: 0 0 14px 4px var(--c); } }

/* Gifts and Black Friday items reuse the leaf sway; give them a softer spin */
.pbho-gift { animation-name: pbho-tumble; }
.pbho-tag, .pbho-bag { animation-name: pbho-swing; }
@keyframes pbho-tumble { from { margin-left: -26px; rotate: -35deg; } to { margin-left: 26px; rotate: 35deg; } }
@keyframes pbho-swing { from { margin-left: -30px; rotate: -18deg; } to { margin-left: 30px; rotate: 18deg; } }
.pbho-tag svg, .pbho-bag svg, .pbho-gift svg { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25)); }

/* Sleigh */
.pbho-track--witch.pbho-rev .pbho-sleigh svg { transform: scaleX(-1); }
.pbho-sleigh { filter: drop-shadow(0 0 2px rgba(255, 255, 255, .9)) drop-shadow(0 0 10px rgba(255, 236, 170, .55)); }

/* Confetti */
.pbho-confetti { border-radius: 2px; animation: pbho-confetti var(--sway, 2s) ease-in-out infinite alternate, pbho-flip var(--flip, 1.2s) linear infinite; }
@keyframes pbho-confetti { from { margin-left: -22px; } to { margin-left: 22px; } }
@keyframes pbho-flip { from { transform: rotateX(0) rotateZ(0); } to { transform: rotateX(360deg) rotateZ(180deg); } }

/* Balloons */
.pbho-balloon { position: absolute; top: 0; left: 0; transform: translateX(-50%); animation: pbho-sway var(--sway, 3s) ease-in-out infinite alternate; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); }

/* Sparkles */
.pbho-sparkle { position: absolute; opacity: 0; filter: drop-shadow(0 0 6px currentColor); animation: pbho-twinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite; }
@keyframes pbho-twinkle { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 60% { opacity: .9; transform: scale(.85) rotate(60deg); } }

/* Fireworks */
.pbho-rocket { position: absolute; top: 0; width: 4px; height: 14px; border-radius: 2px; box-shadow: 0 6px 12px rgba(255, 220, 150, .8); }
.pbho-ember { position: absolute; width: 6px; height: 6px; border-radius: 50%; }

/* Digital rain */
.pbho-rain {
	transform: translateY(-100%);
	font: 700 14px/1.15 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	text-align: center;
	text-shadow: 0 0 6px currentColor, 0 0 14px currentColor;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%, #fff);
	mask-image: linear-gradient(to bottom, transparent, #000 60%, #fff);
}

/* Glitch scanlines */
.pbho-glitch { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px); }
.pbho-glitch i { position: absolute; left: 0; right: 0; height: 3px; background: var(--gc, #22d3ee); opacity: 0; box-shadow: 0 0 12px var(--gc, #22d3ee); animation: pbho-glitch 7s steps(1) infinite; }
.pbho-glitch i:nth-child(1) { top: 18%; }
.pbho-glitch i:nth-child(2) { top: 52%; height: 2px; animation-delay: -2.3s; background: #f472b6; box-shadow: 0 0 12px #f472b6; }
.pbho-glitch i:nth-child(3) { top: 81%; animation-delay: -4.6s; }
@keyframes pbho-glitch { 0%, 91%, 100% { opacity: 0; transform: translateX(0); } 92% { opacity: .55; transform: translateX(-30px) scaleX(.6); } 94% { opacity: .3; transform: translateX(40px); } 96% { opacity: .5; transform: translateX(-10px) scaleX(1.2); } }

/* Floating cursors with a click pulse */
.pbho-cursor { position: absolute; top: 0; left: 0; animation: pbho-sway var(--sway, 3s) ease-in-out infinite alternate; filter: drop-shadow(0 0 8px currentColor); }
.pbho-cursor::after { content: ''; position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 2px solid currentColor; border-radius: 50%; opacity: 0; animation: pbho-click var(--click, 3s) ease-out infinite; }
@keyframes pbho-click { 0%, 70% { opacity: 0; transform: scale(.2); } 75% { opacity: .9; } 100% { opacity: 0; transform: scale(1.6); } }

@media (prefers-reduced-motion: reduce) {
	.pbho-glitch i { animation: none; }
}

/* Editor preview box for the animations widget */
.pbho-fx-root--preview {
	position: relative;
	height: 260px;
	border: 2px dashed rgba(255, 122, 24, .5);
	border-radius: 8px;
	background: linear-gradient(180deg, #1b0e2a, #0b0610);
	overflow: hidden;
}
.pbho-fx-root__label {
	position: absolute;
	top: 8px;
	left: 10px;
	z-index: 2;
	color: #ffb27a;
	font-size: 12px;
}
.pbho-fx-layer--contained { position: absolute; }

/* Witch */
.pbho-track--witch { animation-name: pbho-witch; animation-timing-function: linear; }
.pbho-track--witch.pbho-rev { animation-name: pbho-witch-rev; animation-direction: normal; }
@keyframes pbho-witch     { 0% { transform: translateX(-15%); } 45%, 100% { transform: translateX(115%); } }
@keyframes pbho-witch-rev { 0% { transform: translateX(115%); } 45%, 100% { transform: translateX(-15%); } }
.pbho-witch { position: absolute; top: 0; left: 0; transform: translateX(-100%); animation: pbho-witch-arc 3.5s ease-in-out infinite alternate; }
.pbho-track--witch.pbho-rev .pbho-witch svg { transform: scaleX(-1); }
@keyframes pbho-witch-arc { from { margin-top: -30px; rotate: -4deg; } to { margin-top: 30px; rotate: 5deg; } }

/* Moon */
.pbho-moon {
	position: absolute;
	top: 7%;
	right: clamp(110px, 16vw, 240px);
	width: clamp(60px, 8vw, 110px);
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 35%, rgba(190, 170, 110, .45) 0 8%, transparent 9%),
		radial-gradient(circle at 62% 60%, rgba(190, 170, 110, .4) 0 11%, transparent 12%),
		radial-gradient(circle at 58% 28%, rgba(190, 170, 110, .35) 0 5%, transparent 6%),
		radial-gradient(circle at 35% 35%, #fffcea, #f3e2a2 65%, #d8c078);
	box-shadow: 0 0 40px 10px rgba(255, 236, 170, .45), 0 0 140px 50px rgba(255, 236, 170, .15);
	animation: pbho-moon 6s ease-in-out infinite alternate;
}
@keyframes pbho-moon { to { box-shadow: 0 0 55px 16px rgba(255, 236, 170, .55), 0 0 170px 70px rgba(255, 236, 170, .2); } }

/* Lightning */
.pbho-lightning { position: absolute; inset: 0; background: rgba(225, 230, 255, .5); opacity: 0; animation: pbho-flash var(--dur, 12s) linear 3s infinite; }
@keyframes pbho-flash { 0%, 5%, 100% { opacity: 0; } 1% { opacity: .55; } 2% { opacity: .1; } 3% { opacity: .4; } 4% { opacity: 0; } }

/* Blinking eyes */
.pbho-eyes { position: absolute; display: flex; gap: 10px; opacity: 0; animation: pbho-eyes var(--dur, 7s) ease-in-out var(--delay, 0s) infinite; }
.pbho-eyes i {
	display: block;
	width: 13px;
	height: 7px;
	border-radius: 60% 60% 45% 45%;
	background: #ffd54a;
	box-shadow: 0 0 8px #ffb300, 0 0 18px #ff7a18;
	animation: pbho-blink var(--dur, 7s) linear var(--delay, 0s) infinite;
}
.pbho-eyes i:last-child { rotate: 8deg; }
.pbho-eyes i:first-child { rotate: -8deg; }
@keyframes pbho-eyes  { 0%, 100% { opacity: 0; } 15%, 70% { opacity: 1; } 85% { opacity: 0; } }
@keyframes pbho-blink { 0%, 34%, 38%, 54%, 57%, 100% { transform: scaleY(1); } 36%, 55.5% { transform: scaleY(.1); } }

/* Candy reuses the leaf sway; just a gentler spin */
.pbho-candy { animation-name: pbho-candy; }
@keyframes pbho-candy { from { margin-left: -30px; rotate: -90deg; } to { margin-left: 30px; rotate: 200deg; } }

/* Intro swarm */
.pbho-swarm-bat { position: absolute; left: 50%; bottom: -30px; }
.pbho-swarm-bat svg { animation: pbho-flap var(--flap, .15s) ease-in-out infinite alternate; transform-origin: center 40%; }

/* =========================================================
   OFFER BAR
   ========================================================= */
.pbho-bar {
	position: relative;
	z-index: var(--pbho-z, 99990);
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
	padding: var(--pbho-pad, 10px) 48px;
	color: var(--pbho-text, #fff);
	font-size: var(--pbho-fs, 15px);
	line-height: 1.35;
	background: linear-gradient(100deg, var(--pbho-bg1, #1a0b26), var(--pbho-bg2, #4a1670) 50%, var(--pbho-bg1, #1a0b26));
	background-size: 200% 100%;
	box-shadow: inset 0 -2px 0 var(--pbho-accent, #ff7a18);
}
.pbho-bar[hidden] { display: none; }
.pbho-bar--animated { animation: pbho-bar-bg 10s ease-in-out infinite alternate; }
@keyframes pbho-bar-bg { from { background-position: 0% 0; } to { background-position: 100% 0; } }

.pbho-bar--top-fixed,
.pbho-bar--bottom-fixed { position: fixed; left: 0; right: 0; transition: transform .45s cubic-bezier(.2, .8, .3, 1); }
.pbho-bar--top-fixed { top: var(--wp-admin--admin-bar--height, 0px); transform: translateY(-110%); }
.pbho-bar--bottom-fixed { bottom: 0; transform: translateY(110%); box-shadow: inset 0 2px 0 var(--pbho-accent, #ff7a18); }
.pbho-bar--top-fixed.is-visible,
.pbho-bar--bottom-fixed.is-visible { transform: none; }
.pbho-bar--top-static.is-hiding,
.pbho-bar--inline.is-hiding { animation: pbho-bar-collapse .4s ease forwards; }
@keyframes pbho-bar-collapse { to { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; } }

html.pbho-has-bar-top body { padding-top: var(--pbho-bar-top, 0px); transition: padding .45s ease; }
html.pbho-has-bar-bottom body { padding-bottom: var(--pbho-bar-bottom, 0px); }

.pbho-bar__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

/* Messages */
.pbho-bar__msgs { position: relative; min-width: 0; }
.pbho-bar__msgs--rotate { display: grid; }
.pbho-bar__msgs--rotate .pbho-bar__msg {
	grid-area: 1 / 1;
	opacity: 0;
	transform: translateY(70%);
	transition: opacity .45s ease, transform .45s ease;
}
.pbho-bar__msgs--rotate .pbho-bar__msg.is-active { opacity: 1; transform: none; }
.pbho-bar__msgs--rotate .pbho-bar__msg.is-leaving { opacity: 0; transform: translateY(-70%); }
.pbho-bar__msg strong, .pbho-bar__msg b { color: var(--pbho-accent, #ff7a18); }

.pbho-bar__msgs--marquee {
	flex: 1 1 300px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.pbho-bar__track { display: flex; width: max-content; animation: pbho-marquee var(--dur, 20s) linear infinite; }
.pbho-bar__msgs--marquee:hover .pbho-bar__track { animation-play-state: paused; }
.pbho-bar__set { display: flex; flex-shrink: 0; }
.pbho-bar__msgs--marquee .pbho-bar__msg { white-space: nowrap; padding-right: 48px; }
.pbho-bar__msgs--marquee .pbho-bar__msg::after { content: '\2726'; margin-left: 48px; color: var(--pbho-accent, #ff7a18); }
@keyframes pbho-marquee { to { transform: translateX(-50%); } }

/* Countdown */
.pbho-bar__cd { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pbho-bar__cd-label { margin-right: 2px; opacity: .8; }
.pbho-bar__cd-unit b {
	display: inline-block;
	min-width: 1.9em;
	padding: 2px 3px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .35);
	background: color-mix(in srgb, var(--pbho-text, #fff) 14%, transparent);
	color: var(--pbho-accent, #ff7a18);
	font-weight: 800;
}
.pbho-bar__cd-unit i { margin-left: 1px; font-style: normal; font-size: .8em; opacity: .7; }

/* Coupon */
.pbho-bar .pbho-bar__coupon {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 3px 4px 3px 10px;
	border: 1.5px dashed var(--pbho-accent, #ff7a18);
	border-radius: 6px;
	background: rgba(0, 0, 0, .25);
	background: color-mix(in srgb, var(--pbho-text, #fff) 10%, transparent);
	color: inherit;
	font: inherit;
	line-height: 1.3;
	cursor: pointer;
	transition: background .2s;
}
.pbho-bar .pbho-bar__coupon:hover,
.pbho-bar .pbho-bar__coupon:focus-visible { background: rgba(255, 122, 24, .2); color: inherit; }
.pbho-bar__coupon code {
	padding: 1px 7px;
	border-radius: 4px;
	background: var(--pbho-accent, #ff7a18);
	color: var(--pbho-btn-text, #1a0b26);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 700;
	letter-spacing: .08em;
}
.pbho-bar__coupon.is-copied [data-pbho-copy-label] { color: var(--pbho-accent, #ff7a18); font-weight: 700; }

/* Button */
.pbho-bar a.pbho-bar__btn {
	display: inline-block;
	padding: 5px 16px;
	border-radius: 999px;
	background: var(--pbho-accent, #ff7a18);
	color: var(--pbho-btn-text, #1a0b26);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	transition: transform .2s;
}
.pbho-bar a.pbho-bar__btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
	transform: skewX(-20deg);
	animation: pbho-shine 3.5s ease-in-out infinite;
}
.pbho-bar a.pbho-bar__btn:hover,
.pbho-bar a.pbho-bar__btn:focus-visible { transform: scale(1.05); color: var(--pbho-btn-text, #1a0b26); }
@keyframes pbho-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Close */
.pbho-bar .pbho-bar__close {
	position: absolute;
	top: 50%;
	right: 10px;
	z-index: 2;
	width: 28px;
	height: 28px;
	margin: -14px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: inherit;
	font-size: 20px;
	line-height: 28px;
	cursor: pointer;
}
.pbho-bar .pbho-bar__close:hover,
.pbho-bar .pbho-bar__close:focus-visible { background: rgba(255, 255, 255, .25); color: inherit; }

/* Bats flying through the bar */
.pbho-bar__bats { position: absolute; inset: 0; pointer-events: none; }
.pbho-bar__bat {
	position: absolute;
	top: 50%;
	left: -40px;
	width: 26px;
	margin-top: -7px;
	color: rgba(0, 0, 0, .55);
	animation: pbho-bar-bat 14s linear infinite;
}
.pbho-bar__bat svg { display: block; width: 100%; height: auto; animation: pbho-flap .2s ease-in-out infinite alternate; }
.pbho-bar__bat:nth-child(2) { width: 18px; animation-duration: 19s; animation-delay: -7s; margin-top: -12px; }
.pbho-bar__bat:nth-child(3) { width: 22px; animation-duration: 23s; animation-delay: -15s; margin-top: -2px; }
@keyframes pbho-bar-bat {
	0%   { transform: translate(0, 0); }
	25%  { transform: translate(25vw, -8px); }
	50%  { transform: translate(50vw, 6px); }
	75%  { transform: translate(75vw, -6px); }
	100% { transform: translate(calc(100vw + 80px), 0); }
}

/* Editor preview of the bar */
.pbho-bar--preview,
.pbho-bar--preview.pbho-bar--top-fixed,
.pbho-bar--preview.pbho-bar--bottom-fixed { position: relative; top: auto; bottom: auto; transform: none; }

@media (max-width: 767px) {
	.pbho-bar { padding-left: 12px; padding-right: 40px; font-size: calc(var(--pbho-fs, 15px) - 1px); }
	.pbho-bar__inner { gap: 6px 10px; }
	.pbho-bar__cd-label,
	.pbho-bar__coupon [data-pbho-copy-label] { display: none; }
	.pbho-bar .pbho-bar__coupon { padding-left: 4px; }
	.pbho-bar__coupon.is-copied [data-pbho-copy-label] { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
	.pbho-bar--animated, .pbho-bar__bat, .pbho-bar a.pbho-bar__btn::after { animation: none; }
	.pbho-bar__bat { display: none; }
	.pbho-bar__track { animation-duration: calc(var(--dur, 20s) * 3); }
}

@media (prefers-reduced-motion: reduce) {
	.pbho-popup .pbho-popup__box,
	.pbho-popup a.pbho-popup__btn,
	.pbho-deco { animation: none !important; }
	.pbho-popup.is-open .pbho-popup__box { opacity: 1; }
}

@media (max-width: 600px) {
	.pbho-deco--hang-tag { display: none; }
}
