/* ==========================================================================
   Luxury Editorial Boutique Theme + Full Motion Graphics & Classic Fonts
   ========================================================================== */
:root {
  --color-accent: #b8860b;
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-ink: #121212;
  --color-muted: #6b6560;
  --color-border: #e9e4dc;
  --font-display: 'Playfair Display', 'Amiri', 'Cairo', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-ar: 'Cairo', 'Amiri', system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-ink);
  overflow-x: hidden;
}
.font-display, h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.015em; }
html[dir="rtl"] body { font-family: var(--font-sans-mix, var(--font-sans)); letter-spacing: 0; }
html[dir="rtl"] .font-display, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}
html.no-motion *, html.no-motion *::before, html.no-motion *::after {
  animation: none !important;
  transition: none !important;
}

/* Editorial Cards & Buttons */
.ed-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease, border-color 0.25s ease;
}
.ed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px -18px rgba(18, 18, 18, 0.14);
  border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
}
.ed-btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--color-accent) 55%, rgba(0,0,0,0.45));
}
.ed-btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ==========================================================================
   Startup Logo Motion Splash (8 Distinct Modes — Always Luminous!)
   ========================================================================== */
#site-splash {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(circle at 50% 42%, #292524 0%, #09090b 75%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease, transform .65s cubic-bezier(.77,0,.18,1);
}
#site-splash.done { opacity: 0; visibility: hidden; pointer-events: none; }
#site-splash.mode-shutter_reveal.done { transform: translateY(-100%); }
#site-splash .splash-core { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; color: #fff; }
#site-splash .splash-badge {
  position: relative;
  width: 82px; height: 82px; border-radius: 24px;
  background: linear-gradient(135deg, var(--color-accent), #f59e0b);
  border: 2px solid rgba(255,255,255,0.28);
  display: grid; place-items: center; font-size: 34px; font-weight: 800; color: #fff;
  box-shadow: 0 0 55px rgba(245,158,11,0.55), 0 0 28px color-mix(in srgb, var(--color-accent) 60%, rgba(255,255,255,0.25));
}
#site-splash.mode-cinematic_glow .splash-core { animation: pbFloat 1.5s ease-in-out infinite; }
#site-splash.mode-3d_flip .splash-badge { animation: splashFlip 1.2s ease-in-out infinite alternate; }
#site-splash.mode-pulse_rings .splash-badge::after {
  content: ""; position: absolute; inset: -16px; border-radius: 30px;
  border: 2px solid #f59e0b; animation: splashRing 1.15s ease-out infinite;
}
#site-splash.mode-orbit_spin .splash-badge { animation: splashSpin 1.2s ease-in-out infinite; }
#site-splash.mode-glitch_drop .splash-core { animation: splashDrop 0.85s cubic-bezier(.22,1,.36,1) both; }
#site-splash.mode-ember_burst .splash-badge { animation: emberBurst 0.9s ease-in-out infinite alternate; }
#site-splash.mode-ember_burst::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 75%, rgba(255,90,31,0.35), transparent 35%),
              radial-gradient(circle at 70% 25%, rgba(245,158,11,0.3), transparent 35%);
  animation: bgPulse 1.1s ease-in-out infinite alternate;
}
@keyframes splashFlip { 0% { transform: perspective(650px) rotateY(-180deg) scale(0.75); } 100% { transform: perspective(650px) rotateY(0) scale(1.05); } }
@keyframes splashSpin { 0% { transform: rotate(0deg) scale(0.92); } 50% { transform: rotate(180deg) scale(1.08); } 100% { transform: rotate(360deg) scale(0.92); } }
@keyframes splashRing { 0% { transform: scale(0.88); opacity: 0.95; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes splashDrop { 0% { transform: translateY(-55px) scale(1.12); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes emberBurst { 0% { transform: scale(0.95); box-shadow: 0 0 25px #ff5a1f, 0 0 50px rgba(245,158,11,0.5); } 100% { transform: scale(1.09); box-shadow: 0 0 65px #ff5a1f, 0 0 110px rgba(245,158,11,0.8); } }

/* ==========================================================================
   Page Builder Background Motion Graphics (12 Rich Styles — Always Visible!)
   ========================================================================== */
.bgfx-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }

.bgfx-embers {
  background:
    radial-gradient(circle at 18% 82%, rgba(255, 90, 31, 0.45), transparent 44%),
    radial-gradient(circle at 82% 20%, rgba(245, 158, 11, 0.38), transparent 44%),
    radial-gradient(circle at 50% 60%, rgba(255, 130, 50, 0.25), transparent 50%);
  animation: bgEmberDrift 5s ease-in-out infinite alternate !important;
}
.bgfx-aurora {
  background:
    radial-gradient(ellipse at 15% 25%, rgba(217, 119, 6, 0.36), transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(16, 185, 129, 0.30), transparent 50%),
    radial-gradient(ellipse at 50% 10%, rgba(99, 102, 241, 0.26), transparent 48%);
  animation: bgEmberDrift 7s ease-in-out infinite alternate !important;
}
.bgfx-grid_pulse {
  background-image:
    linear-gradient(rgba(184,134,11,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,134,11,0.18) 1px, transparent 1px);
  background-size: 38px 38px;
  animation: bgGridMove 8s linear infinite !important;
}
.bgfx-flying_particles {
  background-image:
    radial-gradient(circle, rgba(245,158,11,0.85) 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,0.65) 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(217,119,6,0.75) 2.5px, transparent 3.5px);
  background-size: 110px 110px, 75px 75px, 160px 160px;
  background-position: 0 0, 30px 45px, 60px 20px;
  animation: bgFlyUp 12s linear infinite !important;
}
.bgfx-shooting_stars {
  background-image:
    linear-gradient(125deg, transparent 42%, rgba(245,158,11,0.55) 49%, rgba(255,255,255,0.9) 50%, transparent 52%),
    linear-gradient(125deg, transparent 45%, rgba(217,119,6,0.4) 49.5%, rgba(255,255,255,0.7) 50%, transparent 51.5%);
  background-size: 260px 260px, 390px 390px;
  animation: bgShootDiag 4.5s linear infinite !important;
}
.bgfx-floating_orbs::before, .bgfx-floating_orbs::after {
  content: ""; position: absolute; border-radius: 9999px; filter: blur(36px); opacity: 0.45;
}
.bgfx-floating_orbs::before {
  width: 260px; height: 260px; left: 8%; top: 18%;
  background: radial-gradient(circle, #f59e0b, #ec4899 70%, transparent);
  animation: bgOrbFloatA 8s ease-in-out infinite alternate !important;
}
.bgfx-floating_orbs::after {
  width: 300px; height: 300px; right: 8%; bottom: 12%;
  background: radial-gradient(circle, #38bdf8, #8b5cf6 70%, transparent);
  animation: bgOrbFloatB 9.5s ease-in-out infinite alternate !important;
}
.bgfx-wave_ribbons {
  background: repeating-linear-gradient(
    -35deg,
    rgba(245,158,11,0.12) 0px,
    rgba(245,158,11,0.12) 22px,
    transparent 22px,
    transparent 56px,
    rgba(255,255,255,0.08) 56px,
    rgba(255,255,255,0.08) 70px
  );
  background-size: 200% 200%;
  animation: bgWaveShift 10s linear infinite !important;
}
.bgfx-spotlight {
  background: conic-gradient(from 0deg at 50% 45%, transparent 0deg, rgba(245,158,11,0.22) 35deg, transparent 70deg, rgba(255,255,255,0.12) 190deg, transparent 240deg);
  animation: bgSpinSpot 12s linear infinite !important;
}
.bgfx-confetti {
  background-image:
    radial-gradient(circle, #f59e0b 3px, transparent 3.5px),
    radial-gradient(circle, #ec4899 3px, transparent 3.5px),
    radial-gradient(circle, #10b981 3px, transparent 3.5px),
    radial-gradient(circle, #38bdf8 3px, transparent 3.5px);
  background-size: 90px 90px, 120px 120px, 140px 140px, 105px 105px;
  background-position: 10px 10px, 45px 60px, 80px 20px, 25px 80px;
  animation: bgFlyUp 10s linear infinite !important;
}

/* Flying Caps & Stars floating icons layer */
.bgfx-flying-item {
  position: absolute; bottom: -48px; font-size: var(--sz, 24px); opacity: 0;
  left: var(--x, 50%);
  animation: bgFlyItem var(--dur, 9s) linear var(--del, 0s) infinite !important;
  filter: drop-shadow(0 4px 10px rgba(245,158,11,0.35));
}
@keyframes bgFlyItem {
  0% { transform: translateY(0) translateX(0) rotate(0deg) scale(0.75); opacity: 0; }
  12% { opacity: 0.42; }
  50% { transform: translateY(-48vh) translateX(22px) rotate(14deg) scale(1.05); opacity: 0.36; }
  88% { opacity: 0.28; }
  100% { transform: translateY(-98vh) translateX(-18px) rotate(-16deg) scale(0.85); opacity: 0; }
}

@keyframes bgPulse { from { opacity: 0.7; transform: scale(1); } to { opacity: 1; transform: scale(1.08); } }
@keyframes bgEmberDrift { 0% { opacity: 0.72; transform: scale(1) translateY(0); } 100% { opacity: 1; transform: scale(1.09) translateY(-14px); } }
@keyframes bgGridMove { 0% { background-position: 0 0; } 100% { background-position: 38px 38px; } }
@keyframes bgFlyUp { 0% { background-position: 0 0, 30px 45px, 60px 20px; } 100% { background-position: 0 -220px, 30px -175px, 60px -260px; } }
@keyframes bgShootDiag { 0% { background-position: -260px -260px, -390px -390px; } 100% { background-position: 260px 260px, 390px 390px; } }
@keyframes bgOrbFloatA { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(90px, 55px) scale(1.22); } }
@keyframes bgOrbFloatB { 0% { transform: translate(0, 0) scale(1.1); } 100% { transform: translate(-85px, -50px) scale(0.92); } }
@keyframes bgWaveShift { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
@keyframes bgSpinSpot { 0% { transform: rotate(0deg) scale(1.4); } 100% { transform: rotate(360deg) scale(1.4); } }

/* ==========================================================================
   Announcement Bar & Live Review Motion Modes (Static, Marquee, Funny Moves!)
   ========================================================================== */
.marquee-track { display: inline-flex; white-space: nowrap; gap: 3.5rem; animation: marqueeScroll var(--mspeed, 20s) linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.ann-motion-bounce { display: inline-block; animation: funnyBounce 1.1s ease-in-out infinite !important; }
.ann-motion-wiggle { display: inline-block; animation: funnyWiggle 0.9s ease-in-out infinite !important; }
.ann-motion-wave { display: inline-block; animation: funnyWave 2.2s ease-in-out infinite !important; }
.ann-motion-pulse { display: inline-block; animation: pbPulse 1.5s ease-in-out infinite !important; }
@keyframes funnyBounce { 0%,100% { transform: translateY(0) scale(1); } 45% { transform: translateY(-9px) scale(1.04); } 65% { transform: translateY(2px) scale(0.97); } }
@keyframes funnyWiggle { 0%,100% { transform: rotate(0deg); } 20% { transform: rotate(-4deg) scale(1.03); } 40% { transform: rotate(4deg) scale(1.03); } 60% { transform: rotate(-2.5deg); } 80% { transform: rotate(2.5deg); } }
@keyframes funnyWave { 0%,100% { transform: translateX(0) translateY(0); } 25% { transform: translateX(12px) translateY(-5px); } 75% { transform: translateX(-12px) translateY(4px); } }

.pb-watermark {
  position: absolute; inset: 0; display: flex; align-items: center;
  white-space: nowrap; overflow: hidden; pointer-events: none; z-index: 0;
  opacity: 0.08; font-size: clamp(4rem, 11vw, 9rem); font-weight: 900;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pb-watermark span { display: inline-block; padding-right: 4rem; animation: marqueeScroll 24s linear infinite; }

/* ==========================================================================
   16 Shape & Hero Motions (Flying, Floating, 3D, Spin, Bounce, Wiggle, Swing!)
   ========================================================================== */
.hero-motion-wrap {
  display: inline-block;
  position: relative;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), filter 0.35s ease;
}
.pb-frame-shadow {
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 18px rgba(245, 158, 11, 0.16));
}

.hero-motion-float { animation: pbFloat 3.4s ease-in-out infinite !important; }
.hero-motion-fly_in { animation: pbFlySwoop 4.6s ease-in-out infinite !important; }
.hero-motion-fly_bird { animation: pbFlyBird 5.5s ease-in-out infinite !important; }
.hero-motion-fly_rocket { animation: pbFlyRocket 3.2s cubic-bezier(.22,1,.36,1) infinite !important; }
.hero-motion-fly_glide { animation: pbFlyGlide 5.2s ease-in-out infinite !important; }
.hero-motion-orbit { animation: pbOrbit 5.2s ease-in-out infinite !important; }
.hero-motion-tilt3d { animation: pbTilt3d 4.2s ease-in-out infinite !important; }
.hero-motion-flip3d { animation: pbFlip3d 5s ease-in-out infinite !important; }
.hero-motion-spin_slow { animation: pbSpinSlow 12s linear infinite !important; }
.hero-motion-bounce { animation: funnyBounce 1.5s ease-in-out infinite !important; }
.hero-motion-wiggle { animation: funnyWiggle 1.4s ease-in-out infinite !important; }
.hero-motion-swing { animation: pbSwing 3.2s ease-in-out infinite !important; transform-origin: top center; }
.hero-motion-pulse { animation: pbPulse 2.2s ease-in-out infinite !important; }
.hero-motion-heartbeat { animation: pbHeartbeat 1.8s ease-in-out infinite !important; }
.hero-motion-elastic { animation: pbElastic 2.6s ease-in-out infinite !important; }

@keyframes pbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes pbFlySwoop {
  0% { transform: translate(-22px, 14px) rotate(-6deg) scale(0.95); }
  35% { transform: translate(16px, -18px) rotate(4deg) scale(1.03); }
  65% { transform: translate(8px, -8px) rotate(-2deg) scale(1); }
  100% { transform: translate(-22px, 14px) rotate(-6deg) scale(0.95); }
}
@keyframes pbFlyBird {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(22px, -18px) rotate(6deg); }
  40% { transform: translate(0, -26px) rotate(-3deg); }
  60% { transform: translate(-22px, -16px) rotate(-7deg); }
  80% { transform: translate(-10px, 6px) rotate(3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes pbFlyRocket {
  0%,100% { transform: translateY(0) scale(1); }
  18% { transform: translateY(8px) scale(0.96, 1.04); }
  48% { transform: translateY(-28px) scale(1.04, 0.97) rotate(-2deg); }
  72% { transform: translateY(-16px) scale(1.01) rotate(1.5deg); }
}
@keyframes pbFlyGlide {
  0%,100% { transform: translate(-18px, 6px) rotate(-4deg); }
  50% { transform: translate(18px, -16px) rotate(4deg); }
}
@keyframes pbOrbit { 0%,100% { transform: translate(0,0) rotate(0deg); } 25% { transform: translate(12px,-12px) rotate(2.5deg); } 50% { transform: translate(0,-18px) rotate(0deg); } 75% { transform: translate(-12px,-10px) rotate(-2.5deg); } }
@keyframes pbTilt3d { 0%,100% { transform: perspective(850px) rotateY(-12deg) rotateX(4deg); } 50% { transform: perspective(850px) rotateY(12deg) rotateX(-4deg); } }
@keyframes pbFlip3d { 0%,100% { transform: perspective(900px) rotateY(0deg); } 50% { transform: perspective(900px) rotateY(180deg); } }
@keyframes pbSpinSlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pbSwing { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes pbPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes pbHeartbeat { 0%,100% { transform: scale(1); } 14% { transform: scale(1.09); } 28% { transform: scale(0.98); } 42% { transform: scale(1.07); } 70% { transform: scale(1); } }
@keyframes pbElastic { 0%,100% { transform: scale(1, 1); } 30% { transform: scale(1.08, 0.93); } 50% { transform: scale(0.94, 1.07); } 70% { transform: scale(1.03, 0.98); } }

/* ==========================================================================
   10 Interactive Hover Effects (Works on Hero, Images, Cards, Gallery, Reviews)
   ========================================================================== */
.hover-fx-lift_glow, .hover-fx-fly_up, .hover-fx-zoom_pop, .hover-fx-tilt_3d,
.hover-fx-flip_hover, .hover-fx-wiggle_hover, .hover-fx-neon_ring,
.hover-fx-shine_sweep, .hover-fx-magnetic_bounce {
  transition: transform 0.38s cubic-bezier(.22,1,.36,1), filter 0.35s ease, box-shadow 0.35s ease !important;
  cursor: pointer;
}
.hover-fx-lift_glow:hover { transform: translateY(-10px) scale(1.02) !important; filter: drop-shadow(0 24px 32px rgba(245,158,11,0.38)) !important; }
.hover-fx-fly_up:hover { transform: translateY(-20px) rotate(-4deg) scale(1.05) !important; filter: drop-shadow(0 30px 36px rgba(0,0,0,0.42)) !important; }
.hover-fx-zoom_pop:hover { transform: scale(1.09) !important; }
.hover-fx-tilt_3d:hover { transform: perspective(800px) rotateY(14deg) rotateX(6deg) scale(1.04) !important; }
.hover-fx-flip_hover:hover { transform: perspective(900px) rotateY(180deg) !important; }
.hover-fx-wiggle_hover:hover { animation: funnyWiggle 0.55s ease-in-out infinite !important; }
.hover-fx-neon_ring:hover { transform: translateY(-6px) scale(1.03) !important; filter: drop-shadow(0 0 18px rgba(245,158,11,0.85)) drop-shadow(0 0 36px rgba(217,119,6,0.55)) !important; }
.hover-fx-magnetic_bounce:hover { animation: pbElastic 0.7s ease-in-out !important; transform: translateY(-10px) scale(1.04) !important; }
.hover-fx-shine_sweep { position: relative; overflow: hidden; }
.hover-fx-shine_sweep::after {
  content: ""; position: absolute; inset: -20%; width: 55%;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.48) 50%, transparent 80%);
  transform: translateX(-160%) skewX(-20deg); pointer-events: none; transition: transform 0.65s ease;
}
.hover-fx-shine_sweep:hover::after { transform: translateX(260%) skewX(-20deg); }
.hover-fx-shine_sweep:hover { transform: translateY(-6px) scale(1.02) !important; }

/* Apply hover-fx to children inside grids (New Drops, Collections, Gallery, Reviews) */
.hover-grid-lift_glow > *:hover { transform: translateY(-8px) scale(1.02) !important; box-shadow: 0 22px 42px -12px rgba(245,158,11,0.32) !important; }
.hover-grid-fly_up > *:hover { transform: translateY(-16px) rotate(-2.5deg) scale(1.04) !important; box-shadow: 0 28px 46px -14px rgba(0,0,0,0.28) !important; }
.hover-grid-zoom_pop > *:hover { transform: scale(1.06) !important; }
.hover-grid-tilt_3d > *:hover { transform: perspective(800px) rotateY(10deg) rotateX(4deg) translateY(-6px) !important; }
.hover-grid-flip_hover > *:hover { transform: perspective(900px) rotateY(12deg) scale(1.03) !important; }
.hover-grid-wiggle_hover > *:hover { animation: funnyWiggle 0.6s ease-in-out infinite !important; }
.hover-grid-neon_ring > *:hover { transform: translateY(-6px) !important; box-shadow: 0 0 0 2px #f59e0b, 0 0 28px rgba(245,158,11,0.5) !important; }
.hover-grid-magnetic_bounce > *:hover { animation: pbElastic 0.65s ease-in-out !important; transform: translateY(-8px) !important; }
.hover-grid-shine_sweep > *:hover { transform: translateY(-6px) !important; filter: brightness(1.06) !important; }
[class*="hover-grid-"] > * { transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease, filter 0.35s ease !important; }

.wink-motion-wink a { animation: pbWink 3s ease-in-out infinite; }
.wink-motion-wink a:nth-child(even) { animation-delay: 0.55s; }
.wink-motion-pulse a { animation: pbPulse 2.2s ease-in-out infinite; }
.wink-motion-float a { animation: pbFloat 3s ease-in-out infinite; }
@keyframes pbWink { 0%,82%,100% { transform: scale(1); } 88% { transform: scale(1.09) rotate(-3deg); } 94% { transform: scale(1.05) rotate(3deg); } }

/* ==========================================================================
   20 Crisp Cap Silhouettes & Creative Frame Shapes (Smooth SVG Masks!)
   ========================================================================== */
.pb-frame-inner {
  width: 100%;
  overflow: hidden;
  display: block;
}
.pb-frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SVG-Masked Cap & Emblem Silhouettes */
.pb-frame-cap_classic, .pb-frame-cap_trucker, .pb-frame-cap_snapback,
.pb-frame-cap_dad, .pb-frame-cap_bucket, .pb-frame-cap_beanie,
.pb-frame-cap_visor, .pb-frame-cap_badge, .pb-frame-starburst {
  aspect-ratio: 1 / 1;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
  background: #fff;
}
.pb-frame-cap_classic { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%2288%22%20cy%3D%2234%22%20r%3D%227%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2018%20142%20C%2018%2072%2050%2036%2092%2036%20C%20134%2036%20158%2070%20162%20118%20C%20178%20122%20192%20132%20196%20144%20C%20198%20152%20186%20160%20160%20162%20C%20122%20164%2062%20162%2024%20158%20C%2018%20156%2018%20150%2018%20142%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%2288%22%20cy%3D%2234%22%20r%3D%227%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2018%20142%20C%2018%2072%2050%2036%2092%2036%20C%20134%2036%20158%2070%20162%20118%20C%20178%20122%20192%20132%20196%20144%20C%20198%20152%20186%20160%20160%20162%20C%20122%20164%2062%20162%2024%20158%20C%2018%20156%2018%20150%2018%20142%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; }
.pb-frame-cap_trucker { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%2288%22%20cy%3D%2224%22%20r%3D%227%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2020%20148%20L%2022%2076%20C%2024%2044%2046%2026%2088%2026%20C%20126%2026%20146%2038%20154%2068%20L%20160%20116%20C%20178%20120%20192%20130%20196%20144%20C%20198%20154%20182%20162%20152%20164%20L%2028%20162%20C%2020%20160%2020%20154%2020%20148%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%2288%22%20cy%3D%2224%22%20r%3D%227%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2020%20148%20L%2022%2076%20C%2024%2044%2046%2026%2088%2026%20C%20126%2026%20146%2038%20154%2068%20L%20160%20116%20C%20178%20120%20192%20130%20196%20144%20C%20198%20154%20182%20162%20152%20164%20L%2028%20162%20C%2020%20160%2020%20154%2020%20148%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; }
.pb-frame-cap_snapback { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%2284%22%20cy%3D%2224%22%20r%3D%227%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2016%20148%20L%2018%2068%20C%2020%2040%2044%2026%2084%2026%20C%20122%2026%20144%2040%20148%2072%20L%20152%20128%20L%20194%20128%20C%20198%20128%20198%20152%20192%20156%20L%2022%20156%20C%2016%20156%2016%20152%2016%20148%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%2284%22%20cy%3D%2224%22%20r%3D%227%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2016%20148%20L%2018%2068%20C%2020%2040%2044%2026%2084%2026%20C%20122%2026%20144%2040%20148%2072%20L%20152%20128%20L%20194%20128%20C%20198%20128%20198%20152%20192%20156%20L%2022%20156%20C%2016%20156%2016%20152%2016%20148%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; }
.pb-frame-cap_dad { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%2284%22%20cy%3D%2252%22%20r%3D%226%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2014%20146%20C%2016%2090%2044%2054%2086%2054%20C%20124%2054%20148%2082%20154%20118%20C%20176%20122%20192%20136%20196%20148%20C%20192%20158%20172%20160%20148%20158%20L%2022%20158%20C%2014%20156%2014%20152%2014%20146%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%2284%22%20cy%3D%2252%22%20r%3D%226%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2014%20146%20C%2016%2090%2044%2054%2086%2054%20C%20124%2054%20148%2082%20154%20118%20C%20176%20122%20192%20136%20196%20148%20C%20192%20158%20172%20160%20148%20158%20L%2022%20158%20C%2014%20156%2014%20152%2014%20146%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; }
.pb-frame-cap_bucket { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%2052%2034%20C%2054%2024%20146%2024%20148%2034%20L%20160%20112%20C%20180%20124%20192%20140%20194%20156%20C%20162%20168%2038%20168%206%20156%20C%208%20140%2020%20124%2040%20112%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20185%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%2052%2034%20C%2054%2024%20146%2024%20148%2034%20L%20160%20112%20C%20180%20124%20192%20140%20194%20156%20C%20162%20168%2038%20168%206%20156%20C%208%20140%2020%20124%2040%20112%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; }
.pb-frame-cap_beanie { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20190%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2222%22%20r%3D%2214%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2028%20122%20C%2028%2054%2058%2026%20100%2026%20C%20142%2026%20172%2054%20172%20122%20L%20178%20126%20C%20184%20128%20184%20166%20176%20172%20C%20146%20180%2054%20180%2024%20172%20C%2016%20166%2016%20128%2022%20126%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20190%22%20preserveAspectRatio%3D%22none%22%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2222%22%20r%3D%2214%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M%2028%20122%20C%2028%2054%2058%2026%20100%2026%20C%20142%2026%20172%2054%20172%20122%20L%20178%20126%20C%20184%20128%20184%20166%20176%20172%20C%20146%20180%2054%20180%2024%20172%20C%2016%20166%2016%20128%2022%20126%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; }
.pb-frame-cap_visor { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%2016%2084%20C%2016%2056%20184%2056%20184%2084%20L%20184%20114%20C%20184%20124%20178%20130%20168%20132%20C%20146%20154%2054%20154%2032%20132%20C%2022%20130%2016%20124%2016%20114%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%2016%2084%20C%2016%2056%20184%2056%20184%2084%20L%20184%20114%20C%20184%20124%20178%20130%20168%20132%20C%20146%20154%2054%20154%2032%20132%20C%2022%20130%2016%20124%2016%20114%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; }
.pb-frame-cap_badge { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20200%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%20100%208%20C%20136%2022%20168%2024%20184%2026%20L%20184%20106%20C%20184%20152%20146%20178%20100%20194%20C%2054%20178%2016%20152%2016%20106%20L%2016%2026%20C%2032%2024%2064%2022%20100%208%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20200%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M%20100%208%20C%20136%2022%20168%2024%20184%2026%20L%20184%20106%20C%20184%20152%20146%20178%20100%20194%20C%2054%20178%2016%20152%2016%20106%20L%2016%2026%20C%2032%2024%2064%2022%20100%208%20Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; }
.pb-frame-starburst { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20200%22%20preserveAspectRatio%3D%22none%22%3E%3Cpolygon%20points%3D%22100%2C4%20122%2C34%20158%2C20%20156%2C58%20192%2C68%20170%2C100%20192%2C132%20156%2C142%20158%2C180%20122%2C166%20100%2C196%2078%2C166%2042%2C180%2044%2C142%208%2C132%2030%2C100%208%2C68%2044%2C58%2042%2C20%2078%2C34%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20200%22%20preserveAspectRatio%3D%22none%22%3E%3Cpolygon%20points%3D%22100%2C4%20122%2C34%20158%2C20%20156%2C58%20192%2C68%20170%2C100%20192%2C132%20156%2C142%20158%2C180%20122%2C166%20100%2C196%2078%2C166%2042%2C180%2044%2C142%208%2C132%2030%2C100%208%2C68%2044%2C58%2042%2C20%2078%2C34%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") !important; }

/* Geometric & Editorial Frames */
.pb-frame-rounded { border-radius: 1.5rem !important; }
.pb-frame-clean { border-radius: 0 !important; }
.pb-frame-circle { border-radius: 9999px !important; aspect-ratio: 1 / 1; }
.pb-frame-pill { border-radius: 9999px !important; aspect-ratio: 4 / 5; }
.pb-frame-arch { border-radius: 9999px 9999px 1.25rem 1.25rem !important; }
.pb-frame-full { border-radius: 0 !important; width: 100% !important; max-width: 100% !important; }
.pb-frame-polaroid { border-radius: 0.5rem !important; padding: 12px 12px 38px !important; background: #fff !important; box-shadow: 0 20px 45px rgba(0,0,0,0.28) !important; }
.pb-frame-hexagon { aspect-ratio: 1 / 1; clip-path: polygon(25% 4%, 75% 4%, 98% 50%, 75% 96%, 25% 96%, 2% 50%) !important; }
.pb-frame-diamond { aspect-ratio: 1 / 1; clip-path: polygon(50% 2%, 98% 50%, 50% 98%, 2% 50%) !important; }
.pb-frame-octagon { aspect-ratio: 1 / 1; clip-path: polygon(30% 2%, 70% 2%, 98% 30%, 98% 70%, 70% 98%, 30% 98%, 2% 70%, 2% 30%) !important; }
.pb-frame-blob { aspect-ratio: 1 / 1; animation: pbBlobMorph 7s ease-in-out infinite !important; }
@keyframes pbBlobMorph {
  0%,100% { border-radius: 58% 42% 62% 38% / 44% 56% 44% 56%; }
  33% { border-radius: 40% 60% 45% 55% / 60% 38% 62% 40%; }
  66% { border-radius: 64% 36% 42% 58% / 48% 64% 36% 52%; }
}

/* Entrance Animations */
@keyframes pbAnimUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pbAnimLeft { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pbAnimRight { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pbAnimZoom { from { opacity: 0; transform: scale(0.93); } to { opacity: 1; transform: scale(1); } }
@keyframes pbAnimFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pbAnimFlip { from { opacity: 0; transform: perspective(800px) rotateX(-16deg) translateY(18px); } to { opacity: 1; transform: perspective(800px) rotateX(0) translateY(0); } }
.pb-anim-up { animation: pbAnimUp 0.55s ease-out both; }
.pb-anim-left { animation: pbAnimLeft 0.55s ease-out both; }
.pb-anim-right { animation: pbAnimRight 0.55s ease-out both; }
.pb-anim-zoom { animation: pbAnimZoom 0.5s ease-out both; }
.pb-anim-fade { animation: pbAnimFade 0.45s ease-out both; }
.pb-anim-flip { animation: pbAnimFlip 0.6s ease-out both; }

/* ==========================================================================
   Seasonal & Celebration Storefront Themes (12 Themes — Live Overlay & Styles)
   ========================================================================== */
#site-celebration-fx {
  position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden;
}
.celeb-particle {
  position: absolute; top: -48px; left: var(--x, 50%); font-size: var(--sz, 22px);
  opacity: 0; user-select: none; will-change: transform, opacity;
  animation: celebFall var(--dur, 9s) linear var(--del, 0s) infinite !important;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.22));
}
.celeb-particle.rise {
  top: auto; bottom: -48px;
  animation: celebRise var(--dur, 8s) linear var(--del, 0s) infinite !important;
}
.celeb-lantern {
  position: absolute; top: -6px; left: var(--x, 15%); font-size: var(--sz, 32px);
  transform-origin: top center;
  animation: celebSway var(--dur, 4.2s) ease-in-out var(--del, 0s) infinite !important;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.75));
}
.celeb-lights {
  position: fixed; top: 0; left: 0; right: 0; height: 14px; z-index: 61;
  pointer-events: none; display: flex; justify-content: space-around; align-items: flex-start;
}
.celeb-lights span {
  width: 10px; height: 10px; border-radius: 9999px; margin-top: 2px;
  animation: celebTwinkle 1.6s ease-in-out infinite alternate !important;
}
.celeb-lights span:nth-child(3n) { background: #ef4444; box-shadow: 0 0 12px #ef4444; animation-delay: 0.2s !important; }
.celeb-lights span:nth-child(3n+1) { background: #f59e0b; box-shadow: 0 0 12px #f59e0b; animation-delay: 0.6s !important; }
.celeb-lights span:nth-child(3n+2) { background: #10b981; box-shadow: 0 0 12px #10b981; animation-delay: 1s !important; }

.celeb-ribbon {
  text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  padding: 7px 14px; color: #fff; position: relative; z-index: 55;
  background: linear-gradient(90deg, var(--celeb-g1, #b8860b), var(--celeb-g2, #121212), var(--celeb-g1, #b8860b));
  background-size: 200% 100%;
  animation: bgWaveShift 8s linear infinite;
}

@keyframes celebFall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.85; }
  50% { transform: translateY(50vh) translateX(24px) rotate(180deg); opacity: 0.78; }
  90% { opacity: 0.65; }
  100% { transform: translateY(108vh) translateX(-18px) rotate(360deg); opacity: 0; }
}
@keyframes celebRise {
  0% { transform: translateY(0) translateX(0) scale(0.75); opacity: 0; }
  15% { opacity: 0.85; }
  55% { transform: translateY(-54vh) translateX(20px) scale(1.05); opacity: 0.75; }
  100% { transform: translateY(-108vh) translateX(-16px) scale(0.85); opacity: 0; }
}
@keyframes celebSway {
  0%,100% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
}
@keyframes celebTwinkle {
  0% { opacity: 0.45; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.25); }
}

/* Dark-mode celebration readability helpers */
html[data-theme-dark="1"] body { color: #f5f5f4; }
html[data-theme-dark="1"] .ed-card { background: var(--color-surface); border-color: rgba(255,255,255,0.12); color: #f5f5f4; }
html[data-theme-dark="1"] .text-stone-900, html[data-theme-dark="1"] .text-stone-800 { color: #fafaf9 !important; }
html[data-theme-dark="1"] .text-stone-700, html[data-theme-dark="1"] .text-stone-600 { color: #d6d3d1 !important; }
html[data-theme-dark="1"] .bg-white { background-color: var(--color-surface) !important; }

/* Per-Section Font Sizes & Store Policies */
.pb-sec-title-fs h1, .pb-sec-title-fs h2, .pb-sec-title-fs h3 {
  font-size: var(--sec-title-fs) !important;
  line-height: 1.12 !important;
}
.pb-sec-body-fs p, .pb-sec-body-fs li, .pb-sec-body-fs blockquote {
  font-size: var(--sec-body-fs) !important;
}
html[data-hscale] h1 { font-size: calc(clamp(2.1rem, 5vw, 4.2rem) * var(--heading-scale, 1)); }
html[data-hscale] h2 { font-size: calc(clamp(1.6rem, 3.2vw, 2.35rem) * var(--heading-scale, 1)); }

details.policy-card summary { list-style: none; cursor: pointer; }
details.policy-card summary::-webkit-details-marker { display: none; }
details.policy-card[open] summary .pol-chev { transform: rotate(180deg); }
