/* Ramadan theme v9: realistic moon, elevated header/footer accents, premium festive styling */

html[data-season-theme="ramadan"] {
  --primary: #17784c;
  --primary-dark: #0f5937;
  --primary-light: #2a9a65;
  --text-dark: #132217;
  --text-gray: #5d6658;
  --bg-light: #f9f3e3;
  --border: #ddcfac;
  --ramadan-gold: #c89f53;
  --ramadan-gold-soft: #ebd8a8;
  --ramadan-surface: #fffdf7;
  --ramadan-deep: #173726;
  --ramadan-strip-bg: #1c4833;
  --ramadan-strip-cut: #1a4130;
}

body.theme-ramadan {
  color: var(--text-dark);
  background:
    radial-gradient(920px 420px at 8% -12%, rgba(200, 159, 83, 0.2), transparent 62%),
    radial-gradient(860px 440px at 96% 5%, rgba(23, 120, 76, 0.14), transparent 60%),
    linear-gradient(180deg, #fffdf6 0%, #f8f2e2 52%, #f1e7d3 100%);
}

/* Global Ramadan greeting strip */
.seasonal-discount-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 10px 18px rgba(0, 0, 0, 0.18);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 1px rgba(0, 0, 0, 0.18);
}

.seasonal-footer-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.14);
}

body.theme-ramadan .seasonal-discount-seal,
body.theme-ramadan .seasonal-footer-discount {
  background: linear-gradient(145deg, #f0d89a 0%, #c79f4b 100%);
  color: #2f230d;
}

body.theme-independence .seasonal-discount-seal,
body.theme-independence .seasonal-footer-discount {
  background: linear-gradient(145deg, #ffffff 0%, #d7f4dd 100%);
  color: #01411c;
}

body.theme-eid .seasonal-discount-seal,
body.theme-eid .seasonal-footer-discount,
body.theme-adha .seasonal-discount-seal,
body.theme-adha .seasonal-footer-discount {
  background: linear-gradient(145deg, #f6e2ad 0%, #d3ab59 100%);
  color: #2f2208;
}

body.theme-newyear .seasonal-discount-seal,
body.theme-newyear .seasonal-footer-discount {
  background: linear-gradient(145deg, #ffedbb 0%, #e7bd63 100%);
  color: #1d2342;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(5, 12, 28, 0.1),
    0 12px 24px rgba(3, 8, 19, 0.24);
}

#chefselectRamadanGreeting {
  position: sticky;
  top: 0;
  z-index: var(--z-season-banner, 9000);
  width: 100%;
  min-height: 62px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(90deg, #153826 0%, var(--ramadan-strip-bg) 56%, #275f44 100%);
  border-bottom: 1px solid rgba(235, 216, 168, 0.45);
  box-shadow: 0 8px 18px rgba(18, 29, 22, 0.18);
}

#chefselectRamadanGreeting .ramadan-greeting-inner {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 62px;
  padding: 10px 106px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #f9f4e6;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
}

#chefselectRamadanGreeting .ramadan-greeting-title {
  color: #fff3cf;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.8px;
}

#chefselectRamadanGreeting .ramadan-greeting-divider {
  color: rgba(244, 229, 191, 0.75);
  font-size: 13px;
}

#chefselectRamadanGreeting .ramadan-greeting-line {
  font-size: 14px;
}

#chefselectRamadanGreeting .ramadan-greeting-offer {
  background: linear-gradient(135deg, #e2c27f 0%, #c99f50 100%);
  color: #2a1f0d;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 6px 12px rgba(12, 30, 22, 0.16);
}

#chefselectRamadanGreeting .seasonal-discount-seal {
  margin-left: 2px;
}

/* Visible moon cluster */
#chefselectRamadanSkyDecor {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  pointer-events: auto;
  z-index: 2;
  transform-origin: 100% 100%;
  filter: drop-shadow(0 7px 10px rgba(12, 30, 22, 0.2));
  will-change: transform;
  transition: none;
}

#chefselectRamadanSkyDecor::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 42%, rgba(244, 251, 255, 0.14) 0%, rgba(244, 251, 255, 0.06) 34%, rgba(244, 251, 255, 0) 68%),
    conic-gradient(from 220deg, rgba(188, 215, 255, 0) 0deg, rgba(188, 215, 255, 0.28) 72deg, rgba(188, 215, 255, 0) 150deg, rgba(188, 215, 255, 0.16) 230deg, rgba(188, 215, 255, 0) 360deg);
  opacity: 0.34;
  animation: none;
}

#chefselectRamadanSkyDecor::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(236, 244, 255, 0.18);
  opacity: 0.38;
  transform: rotate(-18deg) scaleX(1.14);
  box-shadow:
    inset 0 0 0 1px rgba(208, 226, 255, 0.08),
    0 0 8px rgba(190, 214, 255, 0.12);
  animation: none;
}

#chefselectRamadanSkyDecor .ramadan-top-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(224, 236, 255, 0.44) 0%,
    rgba(212, 226, 252, 0.16) 42%,
    rgba(212, 226, 252, 0) 78%
  );
  filter: blur(2.2px);
  animation: ramadan-glow-pulse 5.8s ease-in-out infinite;
}

#chefselectRamadanSkyDecor .ramadan-crescent {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(248, 253, 255, 0.72);
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.97) 28%, rgba(206, 219, 240, 0.95) 64%, rgba(160, 175, 199, 0.95) 100%),
    radial-gradient(circle at 36% 58%, rgba(139, 153, 174, 0.24) 0%, rgba(139, 153, 174, 0.12) 16%, rgba(139, 153, 174, 0) 24%),
    radial-gradient(circle at 62% 34%, rgba(144, 160, 183, 0.22) 0%, rgba(144, 160, 183, 0.1) 15%, rgba(144, 160, 183, 0) 22%);
  box-shadow:
    inset -5px -6px 11px rgba(102, 118, 143, 0.26),
    inset 3px 2px 6px rgba(255, 255, 255, 0.36),
    0 0 10px rgba(228, 238, 255, 0.5),
    0 0 18px rgba(194, 210, 244, 0.32),
    0 6px 10px rgba(20, 33, 26, 0.18);
  transform-origin: 100% 0%;
  rotate: 0deg;
  transition: rotate 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  animation:
    ramadan-moon-float 6.2s ease-in-out infinite,
    ramadan-moon-shimmer 9.4s ease-in-out infinite;
}

#chefselectRamadanSkyDecor .ramadan-crescent::before {
  content: "";
  position: absolute;
  inset: 6px 8px 7px 6px;
  border-radius: 50%;
  opacity: 0.5;
  background:
    radial-gradient(circle at 22% 26%, rgba(111, 124, 144, 0.42) 0%, rgba(111, 124, 144, 0.18) 18%, rgba(111, 124, 144, 0) 30%),
    radial-gradient(circle at 67% 24%, rgba(108, 120, 141, 0.32) 0%, rgba(108, 120, 141, 0.12) 14%, rgba(108, 120, 141, 0) 24%),
    radial-gradient(circle at 63% 62%, rgba(102, 116, 138, 0.32) 0%, rgba(102, 116, 138, 0.12) 16%, rgba(102, 116, 138, 0) 28%),
    radial-gradient(circle at 38% 72%, rgba(99, 114, 136, 0.28) 0%, rgba(99, 114, 136, 0.1) 14%, rgba(99, 114, 136, 0) 22%),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0) 28%);
}

#chefselectRamadanSkyDecor .ramadan-crescent::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 13px;
  width: 33px;
  height: 45px;
  border-radius: 50%;
  background:
    radial-gradient(120% 110% at 0% 48%, rgba(12, 30, 22, 0.92) 0%, var(--ramadan-strip-cut) 73%, rgba(26, 65, 48, 0.98) 100%);
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.09);
}

#chefselectRamadanSkyDecor .ramadan-star {
  position: absolute;
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #edf3ff;
  box-shadow: 0 0 3px rgba(214, 227, 255, 0.5);
  animation: ramadan-star-twinkle 2.8s ease-in-out infinite;
}

#chefselectRamadanSkyDecor .ramadan-star-1 { top: 10px; left: 6px; animation-delay: 0.2s; }
#chefselectRamadanSkyDecor .ramadan-star-2 { top: 7px; left: 38px; width: 2px; height: 2px; animation-delay: 1.1s; }
#chefselectRamadanSkyDecor .ramadan-star-3 { top: 30px; left: 4px; animation-delay: 0.6s; }
#chefselectRamadanSkyDecor .ramadan-star-4 { top: 22px; left: 57px; width: 2px; height: 2px; animation-delay: 0.9s; }
#chefselectRamadanSkyDecor .ramadan-star-5 { top: 47px; left: 12px; animation-delay: 1.4s; }
#chefselectRamadanSkyDecor .ramadan-star-6 { top: 44px; left: 49px; width: 2px; height: 2px; animation-delay: 0.5s; }
#chefselectRamadanSkyDecor .ramadan-star-7 { top: 16px; left: 22px; width: 2px; height: 2px; animation-delay: 1.8s; }

@keyframes ramadan-star-twinkle {
  0%,
  100% { transform: translateY(0) scale(0.86); opacity: 0.45; }
  50% { transform: translateY(-1px) scale(1.08); opacity: 0.82; }
}

@keyframes ramadan-moon-float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

@keyframes ramadan-moon-shimmer {
  0%,
  100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.04) saturate(1.02); }
}

@keyframes ramadan-glow-pulse {
  0%,
  100% { opacity: 0.64; transform: scale(0.98); }
  50% { opacity: 0.82; transform: scale(1.03); }
}

@keyframes ramadan-aura-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ramadan-orbit-pulse {
  0%,
  100% { opacity: 0.28; transform: rotate(-18deg) scaleX(1.14) scale(0.99); }
  50% { opacity: 0.44; transform: rotate(-18deg) scaleX(1.14) scale(1.01); }
}

@media (hover: hover) and (pointer: fine) {
  #chefselectRamadanSkyDecor:hover .ramadan-crescent {
    rotate: -7deg;
  }
}

/* Top areas */
body.theme-ramadan .contact-bar {
  background: rgba(255, 252, 243, 0.94);
  border-bottom: 1px solid rgba(200, 159, 83, 0.3);
}

body.theme-ramadan .announcement-bar {
  background: linear-gradient(90deg, #19402e 0%, #22553d 58%, #2e6f50 100%);
  color: #f8f2e5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(235, 216, 168, 0.35);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

body.theme-ramadan .ramadan-announcement-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
}

body.theme-ramadan .ramadan-announcement-line {
  font-size: clamp(11px, 2.8vw, 14px);
  font-weight: 700;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 480px) {
  #chefselectRamadanGreeting .ramadan-greeting-inner {
    min-height: 48px;
    flex-wrap: wrap;
    padding: 6px 46px 6px 6px;
    gap: 4px;
  }

  #chefselectRamadanGreeting .ramadan-greeting-title {
    font-size: clamp(9px, 2vw, 10px);
  }

  #chefselectRamadanGreeting .ramadan-greeting-line {
    font-size: clamp(10px, 2.2vw, 12px);
  }

  #chefselectRamadanGreeting .ramadan-greeting-offer {
    font-size: 9px;
    padding: 4px 8px;
    max-width: 260px;
  }

  body.theme-ramadan .announcement-bar {
    padding: 8px 8px;
    min-height: auto;
  }

  body.theme-ramadan .ramadan-announcement-wrap {
    gap: 4px;
  }

  body.theme-ramadan .ramadan-announcement-title {
    font-size: clamp(9px, 2vw, 11px);
  }

  body.theme-ramadan .ramadan-announcement-line {
    font-size: clamp(10px, 2.2vw, 12px);
  }
}

@media (max-width: 360px) {
  #chefselectRamadanGreeting .ramadan-greeting-inner {
    min-height: 44px;
    padding: 4px 40px 4px 4px;
    gap: 2px;
  }

  #chefselectRamadanGreeting .ramadan-greeting-title {
    font-size: 8px;
  }

  #chefselectRamadanGreeting .ramadan-greeting-divider {
    font-size: 11px;
  }

  #chefselectRamadanGreeting .ramadan-greeting-line {
    font-size: 10px;
  }

  #chefselectRamadanGreeting .ramadan-greeting-offer {
    font-size: 8px;
    padding: 3px 6px;
    max-width: 200px;
  }

  #chefselectRamadanSkyDecor {
    right: 4px;
    width: 38px;
    height: 38px;
  }

  #chefselectRamadanSkyDecor .ramadan-crescent {
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
  }

  body.theme-ramadan .announcement-bar {
    padding: 6px 6px;
  }

  body.theme-ramadan .ramadan-announcement-wrap {
    gap: 2px;
  }

  body.theme-ramadan .ramadan-announcement-title {
    font-size: 8px;
  }

  body.theme-ramadan .ramadan-announcement-line {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
}

body.theme-ramadan .ramadan-announcement-line {
  font-size: 13px;
  font-weight: 700;
}

body.theme-ramadan .main-header {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, rgba(255, 254, 249, 0.98), rgba(250, 243, 224, 0.96));
  border-bottom: 1px solid rgba(200, 159, 83, 0.44);
  box-shadow: 0 10px 24px rgba(18, 33, 24, 0.09);
}

body.theme-ramadan .main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(200, 159, 83, 0.95), rgba(0, 0, 0, 0));
  pointer-events: none;
}

body.theme-ramadan .main-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(360px 80px at 8% 0%, rgba(200, 159, 83, 0.11), transparent 72%),
    radial-gradient(340px 76px at 92% 0%, rgba(23, 120, 76, 0.09), transparent 74%);
}

body.theme-ramadan .header-action {
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

body.theme-ramadan .header-action:hover {
  background: rgba(200, 159, 83, 0.14);
  box-shadow: inset 0 0 0 1px rgba(200, 159, 83, 0.34);
}

body.theme-ramadan .product-nav {
  background: rgba(255, 251, 242, 0.94);
  border-top: 1px solid rgba(200, 159, 83, 0.24);
  border-bottom: 1px solid rgba(200, 159, 83, 0.24);
}

body.theme-ramadan .breadcrumb {
  background: rgba(255, 250, 239, 0.88);
  border-top: 1px solid rgba(200, 159, 83, 0.2);
  border-bottom: 1px solid rgba(200, 159, 83, 0.2);
}

/* Readability */
body.theme-ramadan .logo {
  color: #145f3d !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.theme-ramadan .logo::before {
  border-color: rgba(200, 159, 83, 0.4);
  box-shadow: 0 8px 16px rgba(15, 33, 23, 0.14);
}

body.theme-ramadan .header-action,
body.theme-ramadan .contact-bar-item,
body.theme-ramadan .product-links a,
body.theme-ramadan .breadcrumb a,
body.theme-ramadan .action-label {
  color: var(--text-dark);
}

body.theme-ramadan .header-action:hover,
body.theme-ramadan .contact-bar-item:hover,
body.theme-ramadan .product-links a:hover,
body.theme-ramadan .breadcrumb a:hover {
  color: var(--primary);
}

/* Action controls */
body.theme-ramadan .btn-primary,
body.theme-ramadan .auth-link.signup,
body.theme-ramadan .summary-btn.primary,
body.theme-ramadan .wishlist-empty-btn,
body.theme-ramadan .cart-empty-btn,
body.theme-ramadan .search-btn,
body.theme-ramadan .btn-view-full-cart,
body.theme-ramadan .btn-view-full-wishlist {
  background: linear-gradient(135deg, #1d7b50 0%, #115835 100%);
  border-color: rgba(17, 86, 54, 0.92);
  box-shadow: 0 10px 20px rgba(23, 120, 76, 0.23);
}

body.theme-ramadan .btn-primary:hover,
body.theme-ramadan .auth-link.signup:hover,
body.theme-ramadan .summary-btn.primary:hover,
body.theme-ramadan .wishlist-empty-btn:hover,
body.theme-ramadan .cart-empty-btn:hover,
body.theme-ramadan .search-btn:hover,
body.theme-ramadan .btn-view-full-cart:hover,
body.theme-ramadan .btn-view-full-wishlist:hover {
  background: linear-gradient(135deg, #166942 0%, #0e4f31 100%);
}

body.theme-ramadan .badge,
body.theme-ramadan .support-unread-pill {
  background: linear-gradient(145deg, #dab973 0%, #c69643 100%);
  color: #2b200d;
  border-color: rgba(255, 255, 255, 0.95);
}

/* Cards and panels */
body.theme-ramadan .panel,
body.theme-ramadan .card,
body.theme-ramadan .support-card,
body.theme-ramadan .support-hero,
body.theme-ramadan .support-workspace-top,
body.theme-ramadan .login-card,
body.theme-ramadan .drawer,
body.theme-ramadan .wishlist-panel,
body.theme-ramadan .cart-panel,
body.theme-ramadan .auth-required-dialog {
  background: var(--ramadan-surface);
  border-color: rgba(200, 159, 83, 0.34);
  box-shadow: 0 16px 30px rgba(19, 33, 24, 0.09);
}

body.theme-ramadan .support-workspace-kicker {
  background: rgba(200, 159, 83, 0.16);
  border-color: rgba(200, 159, 83, 0.38);
  color: #76581c;
}

body.theme-ramadan footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #1e3e2d 0%, #2a5741 58%, #36644b 100%);
  border-top: 1px solid rgba(235, 216, 168, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f8f2e3;
}

body.theme-ramadan footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 180px at 12% 0%, rgba(200, 159, 83, 0.16), transparent 72%),
    radial-gradient(460px 180px at 88% 12%, rgba(244, 229, 191, 0.07), transparent 72%);
}

body.theme-ramadan .footer-content,
body.theme-ramadan .footer-bottom,
body.theme-ramadan .footer-right {
  position: relative;
  z-index: 1;
}

body.theme-ramadan .footer-column h4 {
  color: #fff0c8;
}

body.theme-ramadan .footer-column a {
  color: rgba(250, 237, 203, 0.86);
}

body.theme-ramadan .footer-column a:hover {
  color: #fff8e5;
}

body.theme-ramadan .footer-links a,
body.theme-ramadan .social a {
  color: rgba(250, 237, 203, 0.9);
}

body.theme-ramadan .footer-links a:hover,
body.theme-ramadan .social a:hover {
  color: #fff8e5;
}

body.theme-ramadan .footer-description {
  border-left-color: rgba(235, 216, 168, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

body.theme-ramadan .footer-bottom {
  border-top-color: rgba(235, 216, 168, 0.24);
}

body.theme-ramadan .footer-line {
  color: #fff8e5 !important;
}

body.theme-ramadan footer a {
  color: #f5e9cb;
}

/* Admin */
html[data-season-theme="ramadan"] body.admin-body {
  --admin-bg: #f6efde;
  --admin-surface: #fffaf0;
  --admin-ink: #152418;
  --admin-muted: #5d6658;
  --admin-border: #ddcca2;
  --admin-accent: #156842;
  --admin-accent-soft: rgba(21, 104, 66, 0.14);
  --admin-success: #1f7547;
  --admin-warning: #ad741f;
  --admin-danger: #b73a31;
  --admin-shadow: 0 18px 36px rgba(30, 37, 25, 0.12);

  background:
    radial-gradient(920px 440px at 9% -8%, rgba(200, 159, 83, 0.16), transparent 58%),
    radial-gradient(900px 460px at 100% 10%, rgba(23, 120, 76, 0.12), transparent 60%),
    var(--admin-bg);
}

body.theme-ramadan.admin-body .admin-sidebar {
  background: linear-gradient(180deg, #1b3d2b 0%, #22513a 56%, #2f6749 100%);
  border-right: 1px solid rgba(200, 159, 83, 0.36);
}

body.theme-ramadan.admin-body .admin-brand,
body.theme-ramadan.admin-body .admin-brand strong {
  color: #f8f0db;
}

body.theme-ramadan.admin-body .admin-brand small {
  color: rgba(234, 218, 184, 0.9);
}

body.theme-ramadan.admin-body .admin-chip {
  background: rgba(200, 159, 83, 0.22);
  color: #6f541b;
}

body.theme-ramadan.admin-body .panel,
body.theme-ramadan.admin-body .login-card {
  border-color: rgba(200, 159, 83, 0.34);
  box-shadow: 0 18px 34px rgba(29, 37, 27, 0.1);
}

body.theme-ramadan.admin-body .admin-nav button.active,
body.theme-ramadan.admin-body .admin-nav button:hover {
  background: rgba(200, 159, 83, 0.24);
  border-color: rgba(200, 159, 83, 0.46);
}

@media (max-width: 900px) {
  #chefselectRamadanGreeting .ramadan-greeting-inner {
    gap: 8px;
    min-height: 58px;
    padding: 8px 82px 8px 10px;
  }

  #chefselectRamadanGreeting .ramadan-greeting-offer {
    font-size: 11px;
    padding: 5px 10px;
  }

  #chefselectRamadanSkyDecor {
    right: 8px;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
  }

  #chefselectRamadanSkyDecor .ramadan-crescent {
    top: 9px;
    right: 9px;
    width: 36px;
    height: 36px;
  }

  #chefselectRamadanSkyDecor .ramadan-crescent::after {
    top: 0;
    left: 11px;
    width: 27px;
    height: 38px;
  }

  #chefselectRamadanSkyDecor .ramadan-star {
    width: 2px;
    height: 2px;
  }
}

@media (max-width: 640px) {
  #chefselectRamadanGreeting .ramadan-greeting-inner {
    min-height: 52px;
    flex-wrap: wrap;
    padding: 8px 56px 8px 8px;
    gap: 6px;
  }

  #chefselectRamadanGreeting .ramadan-greeting-title {
    font-size: 11px;
  }

  #chefselectRamadanGreeting .ramadan-greeting-line {
    font-size: 13px;
  }

  #chefselectRamadanGreeting .ramadan-greeting-offer {
    width: 100%;
    max-width: 290px;
  }

  #chefselectRamadanSkyDecor {
    right: 6px;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
  }

  #chefselectRamadanSkyDecor .ramadan-crescent {
    top: 7px;
    right: 7px;
    width: 30px;
    height: 30px;
  }

  #chefselectRamadanSkyDecor .ramadan-crescent::after {
    top: 0;
    left: 9px;
    width: 22px;
    height: 32px;
  }

  #chefselectRamadanSkyDecor::before,
  #chefselectRamadanSkyDecor::after {
    opacity: 0.36;
    animation: none;
  }

  #chefselectRamadanSkyDecor .ramadan-star {
    display: none;
  }

  body.theme-ramadan .announcement-bar {
    background: linear-gradient(90deg, #19402e 0%, #22553d 58%, #2e6f50 100%);
    color: #f8f2e5;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(235, 216, 168, 0.35);
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    overflow: hidden;
    width: 100%;
  }

  body.theme-ramadan .ramadan-announcement-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  body.theme-ramadan .ramadan-announcement-title {
    color: #fff2c9;
    font-size: clamp(10px, 2.5vw, 13px);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.theme-ramadan .ramadan-announcement-dot {
    color: rgba(247, 235, 206, 0.76);
    flex-shrink: 0;
    display: none;
  }

  body.theme-ramadan .ramadan-announcement-line {
    font-size: clamp(11px, 2.8vw, 14px);
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

}



/* ------------------------------------------------------------------------- */
/* Restored global seasonal pack: Independence + Eid + Adha                  */
/* ------------------------------------------------------------------------- */

/* Prevent cross-theme leakage. */
body.theme-ramadan #chefselectNewyearGreeting,
body.theme-ramadan #chefselectNewyearDecor {
  display: none !important;
}

body.theme-independence #chefselectRamadanGreeting,
body.theme-independence #chefselectRamadanSkyDecor,
body.theme-independence #chefselectEidGreeting,
body.theme-independence #chefselectEidDecor,
body.theme-independence #chefselectNewyearGreeting,
body.theme-independence #chefselectNewyearDecor {
  display: none !important;
}

body.theme-eid #chefselectRamadanGreeting,
body.theme-eid #chefselectRamadanSkyDecor,
body.theme-eid #chefselectIndependenceGreeting,
body.theme-eid #chefselectIndependenceDecor,
body.theme-eid #chefselectPakistanFlagBadge,
body.theme-eid .pk-minar-silhouette,
body.theme-eid #chefselectNewyearGreeting,
body.theme-eid #chefselectNewyearDecor {
  display: none !important;
}

body.theme-adha #chefselectRamadanGreeting,
body.theme-adha #chefselectRamadanSkyDecor,
body.theme-adha #chefselectIndependenceGreeting,
body.theme-adha #chefselectIndependenceDecor,
body.theme-adha #chefselectPakistanFlagBadge,
body.theme-adha .pk-minar-silhouette,
body.theme-adha #chefselectNewyearGreeting,
body.theme-adha #chefselectNewyearDecor {
  display: none !important;
}

body.theme-newyear #chefselectRamadanGreeting,
body.theme-newyear #chefselectRamadanSkyDecor,
body.theme-newyear #chefselectEidGreeting,
body.theme-newyear #chefselectEidDecor,
body.theme-newyear #chefselectIndependenceGreeting,
body.theme-newyear #chefselectIndependenceDecor,
body.theme-newyear #chefselectPakistanFlagBadge,
body.theme-newyear .pk-minar-silhouette {
  display: none !important;
}

/* Fix low-opacity drawer overlay globally. */
.menu-overlay {
  background: rgba(8, 14, 24, 0.68) !important;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.menu-overlay.active {
  opacity: 1;
}

/* --------------------------- Independence theme --------------------------- */
html[data-season-theme="independence"] {
  --primary: #01411c;
  --primary-dark: #022d14;
  --primary-light: #0a6b34;
  --text-dark: #0d2317;
  --text-gray: #456052;
  --bg-light: #edf8f0;
  --border: #cce5d4;
}

body.theme-independence {
  color: var(--text-dark);
  background:
    radial-gradient(940px 420px at 6% -12%, rgba(0, 92, 39, 0.2), transparent 64%),
    radial-gradient(980px 440px at 98% 4%, rgba(255, 255, 255, 0.2), transparent 60%),
    linear-gradient(180deg, #f7fff9 0%, #eaf8ee 56%, #dff1e6 100%);
}

#chefselectIndependenceGreeting {
  position: sticky;
  top: 0;
  z-index: var(--z-season-banner, 9000);
  width: 100%;
  min-height: 66px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(100deg, #012b12 0%, #01411c 56%, #0e6a37 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px rgba(1, 40, 22, 0.35);
}

#chefselectIndependenceGreeting .independence-greeting-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  min-height: 66px;
  padding: 10px clamp(176px, 22vw, 256px) 10px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #f7fff9;
  font-weight: 700;
  text-align: left;
  line-height: 1.2;
  letter-spacing: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

#chefselectIndependenceGreeting .independence-greeting-title {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.45px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

#chefselectIndependenceGreeting .independence-greeting-divider {
  color: rgba(244, 255, 249, 0.8);
  font-size: 13px;
}

#chefselectIndependenceGreeting .independence-greeting-line {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

#chefselectIndependenceGreeting .independence-greeting-offer {
  background: linear-gradient(140deg, #ffffff 0%, #d8f5df 100%);
  color: #01411c;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 900;
  margin-left: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(4, 67, 31, 0.22),
    0 8px 16px rgba(1, 31, 16, 0.28);
}

#chefselectIndependenceGreeting .seasonal-discount-seal {
  margin-left: 2px;
}

#chefselectIndependenceDecor {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 96px;
  height: 66px;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

#chefselectIndependenceDecor .pk-flag-stage {
  position: absolute;
  inset: 0;
}

#chefselectIndependenceDecor .pk-flag-pole {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 6px;
  height: 64px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f6f9fb 0%, #d6e0e6 50%, #a2b0ba 100%);
  box-shadow:
    inset -1px 0 0 rgba(0, 0, 0, 0.15),
    0 3px 8px rgba(0, 0, 0, 0.25);
}

#chefselectIndependenceDecor .pk-flag-cloth {
  --pk-wave-shift-x: 0px;
  --pk-wave-shift-y: 0px;
  --pk-wave-skew: 0deg;
  --pk-wave-rotate: 0deg;
  --pk-wave-stretch: 1;
  --pk-wave-tilt-y: 0deg;
  --pk-wave-tilt-x: 0deg;
  position: absolute;
  left: 8px;
  top: 5px;
  width: 68px;
  height: 52px;
  transform-origin: left center;
  border-radius: 2px 9px 8px 2px;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  transform:
    translate3d(var(--pk-wave-shift-x), var(--pk-wave-shift-y), 0)
    skewY(var(--pk-wave-skew))
    rotate(var(--pk-wave-rotate))
    scaleY(var(--pk-wave-stretch))
    perspective(600px)
    rotateY(var(--pk-wave-tilt-y))
    rotateX(var(--pk-wave-tilt-x));
  animation: pkFlagClothWave 3.2s cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

#chefselectIndependenceDecor.is-wave-js .pk-flag-cloth {
  animation: none;
}

#chefselectIndependenceDecor .pk-flag-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 6;
  image-rendering: auto;
}

#chefselectIndependenceDecor.is-wave-js .pk-flag-wave-canvas {
  display: block;
}

#chefselectIndependenceDecor.is-wave-js .pk-flag-base,
#chefselectIndependenceDecor.is-wave-js .pk-flag-strips,
#chefselectIndependenceDecor.is-wave-js .pk-flag-fold,
#chefselectIndependenceDecor.is-wave-js .pk-flag-shine,
#chefselectIndependenceDecor.is-wave-js .pk-flag-crescent,
#chefselectIndependenceDecor.is-wave-js .pk-flag-star {
  opacity: 0;
}

#chefselectIndependenceDecor .pk-flag-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0 24%, #01411c 24% 100%);
}

#chefselectIndependenceDecor .pk-flag-strips {
  position: absolute;
  inset: 0;
}

#chefselectIndependenceDecor .pk-flag-strip {
  --pk-strip-shift-x: 0px;
  --pk-strip-shift-y: 0px;
  --pk-strip-scale-y: 1;
  --pk-strip-light: 1;
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 9%;
  left: calc(24% + (var(--pk-strip-index) * 7.3%));
  transform: translate(var(--pk-strip-shift-x), var(--pk-strip-shift-y)) scaleY(var(--pk-strip-scale-y));
  transform-origin: center;
  filter: brightness(var(--pk-strip-light));
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 28%,
    rgba(0, 0, 0, 0.1) 58%,
    rgba(255, 255, 255, 0.08) 100%
  );
  animation: pkFlagStripeWave 2.7s ease-in-out infinite;
  animation-delay: calc(var(--pk-strip-index) * 0.08s);
}

#chefselectIndependenceDecor .pk-flag-fold {
  --pk-fold-shift-x: 0px;
  --pk-fold-scale-y: 1;
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 16%;
  transform: translateX(var(--pk-fold-shift-x)) scaleY(var(--pk-fold-scale-y));
  transform-origin: center;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0.08));
  mix-blend-mode: soft-light;
  animation: pkFlagFoldWave 3s ease-in-out infinite;
}

#chefselectIndependenceDecor .pk-flag-fold-1 {
  left: 33%;
}

#chefselectIndependenceDecor .pk-flag-fold-2 {
  left: 54%;
}

#chefselectIndependenceDecor .pk-flag-fold-3 {
  left: 74%;
}

#chefselectIndependenceDecor .pk-flag-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, 0.22) 37%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(188deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.08));
  animation: pkFlagShine 3.6s ease-in-out infinite;
}

#chefselectIndependenceDecor .pk-flag-crescent {
  --pk-crescent-x: 0px;
  --pk-crescent-y: 0px;
  --pk-crescent-r: 0deg;
  position: absolute;
  width: 17px;
  height: 17px;
  left: 36px;
  top: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #ffffff;
  transform: translate(var(--pk-crescent-x), var(--pk-crescent-y)) rotate(var(--pk-crescent-r));
}

#chefselectIndependenceDecor .pk-flag-crescent::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 7px;
  width: 13px;
  height: 17px;
  border-radius: 50%;
  background: #01411c;
}

#chefselectIndependenceDecor .pk-flag-star {
  --pk-star-x: 0px;
  --pk-star-y: 0px;
  position: absolute;
  width: 9px;
  height: 9px;
  left: 50px;
  top: 18px;
  background: #ffffff;
  clip-path: polygon(50% 0, 62% 37%, 100% 37%, 69% 58%, 82% 100%, 50% 74%, 18% 100%, 31% 58%, 0 37%, 38% 37%);
  transform: translate(var(--pk-star-x), var(--pk-star-y)) rotate(12deg);
}

#chefselectIndependenceDecor .pk-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(218, 255, 227, 0.9);
  box-shadow: 0 0 8px rgba(210, 255, 223, 0.8);
  animation: pkSpark 2.8s ease-in-out infinite;
}

#chefselectIndependenceDecor .pk-spark-1 { top: 12px; left: 98px; animation-delay: 0s; }
#chefselectIndependenceDecor .pk-spark-2 { top: 42px; left: 110px; animation-delay: 0.4s; }
#chefselectIndependenceDecor .pk-spark-3 { top: 18px; left: 116px; animation-delay: 0.7s; }
#chefselectIndependenceDecor .pk-spark-4 { top: 54px; left: 86px; animation-delay: 1s; }
#chefselectIndependenceDecor .pk-spark-5 { top: 29px; left: 104px; animation-delay: 1.4s; }
#chefselectIndependenceDecor .pk-spark-6 { top: 8px; left: 82px; animation-delay: 1.9s; }

body.theme-independence .product-nav {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 248, 240, 0.95)),
    radial-gradient(110% 160% at 0% 0%, rgba(1, 65, 28, 0.08), transparent 55%);
  border: 1px solid rgba(1, 65, 28, 0.16);
  box-shadow: 0 16px 34px rgba(0, 40, 20, 0.12);
}

body.theme-independence .main-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(242, 251, 245, 0.93));
  border-bottom: 1px solid rgba(1, 65, 28, 0.14);
}

body.theme-independence .announcement-bar {
  background: linear-gradient(95deg, #013519 0%, #01411c 62%, #0b6232 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(229, 252, 237, 0.33);
  color: #effff2;
}

body.theme-independence .independence-announcement-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

body.theme-independence .independence-announcement-title {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  font-size: clamp(12px, 1.3vw, 14px);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

body.theme-independence .independence-announcement-dot {
  color: rgba(231, 255, 239, 0.8);
}

body.theme-independence .independence-announcement-line {
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 14px);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.pk-navbar-flag-badge {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #01411c 0%, #0b6b35 100%);
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  box-shadow: 0 8px 14px rgba(1, 65, 28, 0.28);
}

.pk-navbar-flag-badge .flag-wave-icon {
  animation: pkNavFlagWave 1.8s ease-in-out infinite;
}

.pk-navbar-flag-badge .badge,
.pk-navbar-flag-badge [data-support-unread] {
  display: none !important;
}

body.theme-independence .page-hero,
body.theme-independence .support-hero,
body.theme-independence .auth-hero {
  position: relative;
  overflow: hidden;
}

.pk-minar-silhouette {
  position: absolute;
  right: clamp(10px, 3vw, 28px);
  bottom: 0;
  width: clamp(105px, 12vw, 180px);
  height: clamp(140px, 24vw, 230px);
  opacity: 0.2;
  pointer-events: none;
  background:
    radial-gradient(8px 8px at 50% 6%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(1, 65, 28, 0.95) 0%, rgba(6, 88, 44, 0.95) 70%, rgba(8, 53, 30, 0.95) 100%);
  clip-path: polygon(50% 0, 58% 8%, 58% 28%, 62% 34%, 62% 72%, 82% 100%, 18% 100%, 38% 72%, 38% 34%, 42% 28%, 42% 8%);
  filter: drop-shadow(0 8px 14px rgba(1, 48, 24, 0.22));
}

/* ------------------------------- Eid family ------------------------------- */
html[data-season-theme="eid"],
html[data-season-theme="adha"] {
  --primary: #0e7a4b;
  --primary-dark: #085836;
  --primary-light: #2ea86f;
  --text-dark: #1c2c22;
  --text-gray: #4d6053;
  --bg-light: #f8f6ec;
  --border: #deccb0;
}

body.theme-eid,
body.theme-adha {
  color: var(--text-dark);
  background:
    radial-gradient(920px 420px at 5% -12%, rgba(224, 182, 82, 0.2), transparent 62%),
    radial-gradient(860px 420px at 96% 3%, rgba(32, 131, 84, 0.15), transparent 62%),
    linear-gradient(180deg, #fffdf7 0%, #f5f2e6 58%, #efe8d5 100%);
}

#chefselectEidGreeting {
  position: sticky;
  top: 0;
  z-index: var(--z-season-banner, 9000);
  width: 100%;
  min-height: 64px;
  background: linear-gradient(100deg, #1d412d 0%, #2d5a3f 56%, #366b49 100%);
  border-bottom: 1px solid rgba(232, 212, 162, 0.45);
  box-shadow: 0 8px 20px rgba(22, 38, 28, 0.26);
  overflow: hidden;
  isolation: isolate;
}

#chefselectEidGreeting .eid-greeting-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 64px;
  min-width: 0;
  padding: 10px 108px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #f9f5e8;
  text-align: center;
  font-weight: 700;
}

#chefselectEidGreeting .eid-greeting-inner > span {
  min-width: 0;
}

#chefselectEidGreeting .eid-greeting-title {
  color: #ffe8ac;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.7px;
}

#chefselectEidGreeting .eid-greeting-title,
#chefselectEidGreeting .eid-greeting-line,
#chefselectEidGreeting .eid-greeting-offer {
  overflow-wrap: anywhere;
}

#chefselectEidGreeting .eid-greeting-title.eid-arabic-headline {
  text-transform: none;
  letter-spacing: 0;
  direction: rtl;
  unicode-bidi: isolate;
  line-height: 1.3;
  font-family: "Noto Naskh Arabic", "Amiri", "Scheherazade New", "Tahoma", "Segoe UI", sans-serif;
}

#chefselectEidGreeting .eid-greeting-divider {
  color: rgba(255, 247, 219, 0.7);
}

#chefselectEidGreeting .eid-greeting-line {
  font-size: 14px;
}

#chefselectEidGreeting .eid-greeting-offer {
  background: linear-gradient(140deg, #f3dc9e 0%, #d8b56b 100%);
  color: #2e2107;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

#chefselectEidGreeting .seasonal-discount-seal {
  margin-left: 2px;
}

#chefselectEidGreeting[data-eid-variant="adha"] .eid-greeting-title {
  color: #ffffff;
  font-size: clamp(13px, 1.9vw, 16px);
}

#chefselectEidGreeting[data-eid-variant="adha"] .eid-greeting-line {
  color: #ebffe9;
}

#chefselectEidDecor {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 90px;
  height: 64px;
  z-index: 3;
  pointer-events: none;
}

#chefselectEidDecor .eid-light {
  position: absolute;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 235, 170, 0.95);
  box-shadow: 0 0 8px rgba(255, 223, 137, 0.9);
  animation: eidLightBlink 2.2s ease-in-out infinite;
}

#chefselectEidDecor .eid-light-1 { left: 4px; animation-delay: 0s; }
#chefselectEidDecor .eid-light-2 { left: 14px; animation-delay: 0.2s; }
#chefselectEidDecor .eid-light-3 { left: 24px; animation-delay: 0.4s; }
#chefselectEidDecor .eid-light-4 { left: 34px; animation-delay: 0.6s; }
#chefselectEidDecor .eid-light-5 { left: 44px; animation-delay: 0.8s; }
#chefselectEidDecor .eid-light-6 { left: 54px; animation-delay: 1s; }
#chefselectEidDecor .eid-light-7 { left: 64px; animation-delay: 1.2s; }
#chefselectEidDecor .eid-light-8 { left: 74px; animation-delay: 1.4s; }

#chefselectEidDecor .eid-icon-cluster {
  position: absolute;
  right: 2px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
}

#chefselectEidDecor .eid-icon-ring {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffe0a8;
  border: 1px solid rgba(255, 236, 193, 0.65);
  background: rgba(17, 32, 24, 0.32);
}

#chefselectEidDecor .eid-icon-divider {
  width: 10px;
  height: 1px;
  background: rgba(255, 239, 201, 0.7);
}

#chefselectEidDecor .eid-ulfitr-tag {
  margin-left: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.35px;
  color: #fef3d8;
  text-transform: uppercase;
}

body.theme-eid .announcement-bar,
body.theme-adha .announcement-bar {
  background: linear-gradient(95deg, #24432f 0%, #2f5b40 60%, #3f7754 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(239, 225, 183, 0.33);
  color: #f7f1de;
}

body.theme-eid .eid-announcement-wrap,
body.theme-adha .adha-announcement-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}

body.theme-eid .eid-announcement-title,
body.theme-adha .adha-announcement-title {
  color: #ffe9ae;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

body.theme-eid .eid-announcement-dot,
body.theme-adha .adha-announcement-dot {
  color: rgba(255, 243, 210, 0.76);
}

body.theme-eid .eid-announcement-line,
body.theme-adha .adha-announcement-line {
  font-size: clamp(12px, 1.45vw, 15px);
  font-weight: 700;
  color: #eff8ef;
}

body.theme-eid .menu-overlay,
body.theme-adha .menu-overlay {
  background: rgba(20, 36, 26, 0.66) !important;
}

/* -------------------------- Shared responsive rules ----------------------- */
@media (max-width: 820px) {
  #chefselectIndependenceGreeting .independence-greeting-inner,
  #chefselectEidGreeting .eid-greeting-inner {
    padding-right: 118px;
    gap: 7px;
  }

  #chefselectIndependenceDecor {
    right: 6px;
    width: 100px;
    height: 62px;
  }

  #chefselectIndependenceDecor .pk-flag-pole {
    height: 58px;
    width: 5px;
  }

  #chefselectIndependenceDecor .pk-flag-cloth {
    width: 74px;
    height: 54px;
  }

  #chefselectIndependenceDecor .pk-flag-crescent {
    width: 15px;
    height: 15px;
    left: 38px;
    top: 17px;
    box-shadow: inset 0 0 0 3px #ffffff;
  }

  #chefselectIndependenceDecor .pk-flag-crescent::after {
    left: 6px;
    width: 10px;
    height: 13px;
  }

  #chefselectIndependenceDecor .pk-flag-star {
    width: 8px;
    height: 8px;
    left: 54px;
    top: 19px;
  }
}

@media (max-width: 640px) {
  #chefselectIndependenceGreeting .independence-greeting-inner,
  #chefselectEidGreeting .eid-greeting-inner {
    min-height: 54px;
    flex-wrap: wrap;
    padding: 7px 82px 7px 8px;
    gap: 5px;
    text-align: center;
    justify-content: center;
  }

  #chefselectIndependenceGreeting .independence-greeting-title,
  #chefselectEidGreeting .eid-greeting-title {
    font-size: 11px;
  }

  #chefselectIndependenceGreeting .independence-greeting-line,
  #chefselectEidGreeting .eid-greeting-line {
    font-size: 12px;
  }

  #chefselectIndependenceGreeting .independence-greeting-offer,
  #chefselectEidGreeting .eid-greeting-offer {
    width: 100%;
    max-width: 280px;
  }

  #chefselectIndependenceDecor {
    right: 5px;
    width: 76px;
    height: 48px;
  }

  #chefselectIndependenceDecor .pk-flag-pole {
    height: 46px;
    width: 4px;
  }

  #chefselectIndependenceDecor .pk-flag-cloth {
    left: 5px;
    top: 4px;
    width: 58px;
    height: 42px;
    border-radius: 2px 7px 6px 2px;
  }

  #chefselectIndependenceDecor .pk-flag-crescent {
    width: 12px;
    height: 12px;
    left: 30px;
    top: 13px;
    box-shadow: inset 0 0 0 2.5px #ffffff;
  }

  #chefselectIndependenceDecor .pk-flag-crescent::after {
    top: 1px;
    left: 5px;
    width: 8px;
    height: 10px;
  }

  #chefselectIndependenceDecor .pk-flag-star {
    width: 7px;
    height: 7px;
    left: 43px;
    top: 15px;
  }

  #chefselectIndependenceDecor .pk-spark {
    display: none;
  }

  #chefselectEidDecor {
    right: 4px;
    width: 64px;
  }

  #chefselectEidDecor .eid-ulfitr-tag,
  #chefselectEidDecor .eid-icon-divider,
  #chefselectEidDecor .eid-confetti-field,
  #chefselectEidDecor .eid-confetti {
    display: none !important;
  }

  #chefselectEidDecor .eid-icon-ring {
    width: 16px;
    height: 16px;
  }

  #chefselectEidGreeting .eid-greeting-inner {
    min-height: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 4px;
    padding: 8px 68px 8px 8px;
    text-align: center;
  }

  #chefselectEidGreeting .eid-greeting-divider {
    display: none;
  }

  #chefselectEidGreeting .eid-greeting-title {
    font-size: 12px;
  }

  #chefselectEidGreeting .eid-greeting-line {
    font-size: 11px;
  }

  #chefselectEidGreeting .eid-greeting-offer {
    font-size: 11px;
    white-space: normal;
    max-width: 100%;
  }

  #chefselectEidDecor {
    width: 56px;
    right: 3px;
  }

  .pk-navbar-flag-badge {
    margin-left: 6px;
    font-size: 10px;
    padding: 4px 8px;
    gap: 5px;
  }

  .pk-minar-silhouette {
    width: 92px;
    height: 130px;
    opacity: 0.15;
  }

  body.theme-independence .independence-announcement-wrap,
  body.theme-eid .eid-announcement-wrap,
  body.theme-adha .adha-announcement-wrap {
    gap: 6px;
  }

  body.theme-independence .independence-announcement-dot,
  body.theme-eid .eid-announcement-dot,
  body.theme-adha .adha-announcement-dot {
    display: none;
  }
}

@media (max-width: 420px) {
  #chefselectEidGreeting .eid-greeting-inner {
    padding-right: 8px;
  }

  #chefselectEidDecor {
    display: none !important;
  }
}

/* Login page: the auth page has extra layout/overflow guards that can cause the
   sticky Eid/Adha banner to clip on mobile widths. Keep it full-width and
   remove the right-side decor a bit earlier so nothing gets "eaten". */
body.login-page #chefselectEidGreeting {
  max-width: 100vw;
  left: 0;
  right: 0;
  top: env(safe-area-inset-top, 0px);
}

@media (max-width: 520px) {
  body.login-page #chefselectEidGreeting .eid-greeting-inner {
    max-width: 100%;
    padding-right: 10px;
  }

  body.login-page #chefselectEidDecor {
    display: none !important;
  }
}

@media (max-width: 320px) {
  #chefselectEidGreeting .eid-greeting-inner {
    padding: 7px 6px;
  }

  #chefselectEidGreeting .eid-greeting-title.eid-arabic-headline {
    font-size: 12px;
  }

  #chefselectEidGreeting .eid-greeting-line {
    font-size: 10.5px;
  }

  #chefselectEidGreeting .eid-greeting-offer {
    font-size: 10px;
    padding: 4px 9px;
  }
}

/* ----------------------------- New Year theme ---------------------------- */
html[data-season-theme="newyear"] {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #dcfce7;
  --text-dark: #0f172a;
  --text-gray: #64748b;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --newyear-gold: #e7bd63;
  --newyear-gold-soft: #f7e2aa;
  --newyear-gold-deep: #b98a2e;
  --newyear-navy-1: #070f22;
  --newyear-navy-2: #101d3e;
  --newyear-navy-3: #1a2e5d;
  --newyear-surface: rgba(13, 24, 52, 0.84);
  --newyear-surface-strong: rgba(15, 28, 60, 0.94);
  --newyear-surface-soft: rgba(255, 255, 255, 0.05);
  --newyear-outline: rgba(247, 226, 170, 0.2);
}

body.theme-newyear {
  color: var(--text-dark);
  font-family: "Manrope", "Poppins", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(760px 220px at 50% 0%, rgba(231, 189, 99, 0.08), transparent 56%),
    radial-gradient(420px 180px at 100% 0%, rgba(26, 46, 93, 0.05), transparent 62%),
    #ffffff;
}

#chefselectNewyearGreeting {
  position: sticky;
  top: 0;
  z-index: var(--z-season-banner, 9000);
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(231, 189, 99, 0.45);
  background:
    linear-gradient(110deg, rgba(5, 12, 28, 0.96) 0%, rgba(13, 31, 67, 0.96) 52%, rgba(25, 58, 115, 0.94) 100%),
    radial-gradient(120% 140% at 100% 0%, rgba(247, 226, 170, 0.08), transparent 58%);
  box-shadow:
    0 14px 34px rgba(3, 8, 19, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

#chefselectNewyearGreeting::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120px 120px at 14% 20%, rgba(231, 189, 99, 0.24), transparent 72%),
    radial-gradient(104px 104px at 84% 16%, rgba(247, 226, 170, 0.18), transparent 74%),
    radial-gradient(120px 120px at 60% 72%, rgba(231, 189, 99, 0.14), transparent 74%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0.88;
  pointer-events: none;
  animation: newyearBannerGlow 4.4s ease-in-out infinite;
}

#chefselectNewyearGreeting::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.18) 48%, rgba(255, 255, 255, 0) 68%);
  opacity: 0.38;
  transform: translateX(-60%);
  animation: newyearBannerSweep 7s linear infinite;
  pointer-events: none;
}

#chefselectNewyearGreeting .newyear-greeting-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  min-height: 86px;
  padding: 14px clamp(118px, 16vw, 210px) 14px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  color: #f6f8ff;
}

#chefselectNewyearGreeting .newyear-greeting-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

#chefselectNewyearGreeting .newyear-greeting-title {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 226, 170, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(247, 226, 170, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 11px;
  color: #ffe3a1;
}

#chefselectNewyearGreeting .newyear-greeting-line {
  min-width: 0;
  max-width: 720px;
  font-size: clamp(14px, 1.45vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  color: #eef2ff;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

#chefselectNewyearGreeting .seasonal-discount-seal {
  justify-self: start;
}

#chefselectNewyearGreeting .newyear-greeting-yearwrap {
  justify-self: end;
  min-width: 152px;
  padding: 12px 16px 10px;
  display: grid;
  gap: 4px;
  text-align: center;
  border-radius: 22px;
  border: 1px solid rgba(247, 226, 170, 0.26);
  background:
    linear-gradient(160deg, rgba(24, 44, 87, 0.9), rgba(9, 18, 39, 0.96)),
    radial-gradient(140% 130% at 50% 0%, rgba(247, 226, 170, 0.08), transparent 60%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(2, 5, 14, 0.44);
}

#chefselectNewyearGreeting .newyear-greeting-year-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 226, 170, 0.88);
}

#chefselectNewyearGreeting .newyear-greeting-year {
  font-family: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(34px, 4.7vw, 60px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--newyear-gold-soft);
  text-shadow:
    0 0 12px rgba(231, 189, 99, 0.68),
    0 2px 6px rgba(0, 0, 0, 0.45);
  animation: newyearYearGlow 2.8s ease-in-out infinite;
}

#chefselectNewyearDecor {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 112px;
  height: 76px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

#chefselectNewyearDecor .newyear-firework,
#chefselectNewyearDecor .newyear-spark {
  position: absolute;
  display: block;
  border-radius: 50%;
}

#chefselectNewyearDecor .newyear-firework {
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, rgba(247, 226, 170, 0.98) 0%, rgba(247, 226, 170, 0.4) 38%, rgba(247, 226, 170, 0) 70%);
  box-shadow:
    0 0 0 0 rgba(247, 226, 170, 0.55),
    0 0 14px rgba(231, 189, 99, 0.62);
  animation: newyearFireworkBurst 2.8s ease-out infinite;
}

#chefselectNewyearDecor .newyear-firework::before,
#chefselectNewyearDecor .newyear-firework::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(247, 226, 170, 0.55);
  opacity: 0;
  transform: scale(0.35);
  animation: newyearFireworkRing 2.8s ease-out infinite;
}

#chefselectNewyearDecor .newyear-firework::after {
  animation-delay: 0.35s;
}

#chefselectNewyearDecor .newyear-firework-1 { top: 8px; left: 10px; animation-delay: 0.1s; }
#chefselectNewyearDecor .newyear-firework-2 { top: 21px; left: 42px; animation-delay: 0.9s; }
#chefselectNewyearDecor .newyear-firework-3 { top: 11px; left: 72px; animation-delay: 1.4s; }
#chefselectNewyearDecor .newyear-firework-4 { top: 38px; left: 60px; animation-delay: 0.45s; }
#chefselectNewyearDecor .newyear-firework-5 { top: 44px; left: 22px; animation-delay: 1.9s; }

#chefselectNewyearDecor .newyear-spark {
  width: 2px;
  height: 2px;
  background: #fff5d7;
  box-shadow: 0 0 8px rgba(247, 226, 170, 0.9);
  opacity: 0.32;
  animation: newyearSparkFloat 2.6s ease-in-out infinite;
}

#chefselectNewyearDecor .newyear-spark-1 { top: 4px; left: 32px; animation-delay: 0.15s; }
#chefselectNewyearDecor .newyear-spark-2 { top: 9px; left: 90px; animation-delay: 0.8s; }
#chefselectNewyearDecor .newyear-spark-3 { top: 19px; left: 20px; animation-delay: 1.45s; }
#chefselectNewyearDecor .newyear-spark-4 { top: 32px; left: 8px; animation-delay: 0.45s; }
#chefselectNewyearDecor .newyear-spark-5 { top: 29px; left: 98px; animation-delay: 1.2s; }
#chefselectNewyearDecor .newyear-spark-6 { top: 44px; left: 44px; animation-delay: 1.75s; }
#chefselectNewyearDecor .newyear-spark-7 { top: 56px; left: 15px; animation-delay: 0.9s; }
#chefselectNewyearDecor .newyear-spark-8 { top: 59px; left: 84px; animation-delay: 2s; }

body.theme-newyear:not(.login-page) .main-header {
  background: linear-gradient(180deg, rgba(9, 19, 41, 0.96), rgba(8, 16, 35, 0.92));
  border-bottom: 1px solid rgba(231, 189, 99, 0.18);
  backdrop-filter: blur(14px);
}

body.theme-newyear:not(.login-page) .product-nav {
  background:
    linear-gradient(145deg, rgba(18, 35, 71, 0.9), rgba(11, 22, 47, 0.94)),
    radial-gradient(140% 120% at 100% 0%, rgba(231, 189, 99, 0.12), transparent 64%);
  border: 1px solid rgba(231, 189, 99, 0.18);
  box-shadow: 0 14px 30px rgba(2, 6, 16, 0.36);
  backdrop-filter: blur(16px);
}

body.theme-newyear:not(.login-page) .logo,
body.theme-newyear:not(.login-page) .brand-name,
body.theme-newyear:not(.login-page) .header-action,
body.theme-newyear:not(.login-page) .header-action .action-label,
body.theme-newyear:not(.login-page) .header-action .cart-price,
body.theme-newyear:not(.login-page) .product-links a,
body.theme-newyear:not(.login-page) .nav-item,
body.theme-newyear:not(.login-page) .contact-bar-label {
  color: #edf4ff !important;
}

body.theme-newyear:not(.login-page) .product-links a,
body.theme-newyear:not(.login-page) .nav-item {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}

body.theme-newyear:not(.login-page) .logo:hover,
body.theme-newyear:not(.login-page) .header-action:hover,
body.theme-newyear:not(.login-page) .product-links a:hover,
body.theme-newyear:not(.login-page) .nav-item:hover,
body.theme-newyear:not(.login-page) .contact-bar a:hover {
  color: #ffd98c !important;
}

body.theme-newyear:not(.login-page) .product-links a::after,
body.theme-newyear:not(.login-page) .nav-item::after {
  background: linear-gradient(90deg, #ffd98c, #86c8ff) !important;
}

body.theme-newyear:not(.login-page) .menu-toggle .hamburger-line,
body.theme-newyear:not(.login-page) .menu-toggle span {
  background: #edf4ff !important;
}

/* Newyear: give the brand mark a dedicated readable area on dark headers */
body.theme-newyear:not(.login-page) .logo {
  padding: 4px 10px 4px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(231, 189, 99, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.theme-newyear:not(.login-page) .logo::before {
  background-color: rgba(255, 255, 255, 0.92);
  border-color: rgba(247, 226, 170, 0.32);
  box-shadow:
    0 10px 22px rgba(3, 8, 19, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.theme-newyear .contact-bar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(231, 189, 99, 0.18);
}

body.theme-newyear .contact-bar-item,
body.theme-newyear .contact-bar a,
body.theme-newyear .contact-bar-content > .contact-bar-item:last-child,
body.theme-newyear .contact-items .contact-bar-item {
  color: #334155 !important;
}

body.theme-newyear .contact-bar-label {
  color: #0f172a !important;
}

body.theme-newyear .contact-bar-item i {
  color: #b98a2e !important;
}

body.theme-newyear .contact-bar-item:hover,
body.theme-newyear .contact-bar a:hover {
  color: #0b5ed7 !important;
}

body.theme-newyear .announcement-bar {
  background: linear-gradient(96deg, #071024 0%, #102653 54%, #18407d 100%);
  border-top: 1px solid rgba(247, 226, 170, 0.14);
  border-bottom: 1px solid rgba(247, 226, 170, 0.22);
  color: #f4f7ff;
}

body.theme-newyear .newyear-announcement-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px 12px;
  flex-wrap: wrap;
  text-align: center;
  padding: 8px 16px;
  font-family: "Manrope", "Poppins", "Segoe UI", Arial, sans-serif;
}

body.theme-newyear .newyear-announcement-title {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(247, 226, 170, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #f8db9b;
  text-transform: uppercase;
  font-family: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.14em;
}

body.theme-newyear .newyear-announcement-dot {
  color: rgba(247, 226, 170, 0.78);
}

body.theme-newyear .newyear-announcement-line {
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.4;
}

body.theme-newyear .badge,
body.theme-newyear .support-unread-pill {
  background: linear-gradient(145deg, #f3d489 0%, #c89533 100%);
  color: #201709;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 6px 12px rgba(14, 10, 4, 0.35);
}

body.theme-newyear .btn-primary,
body.theme-newyear .auth-link.signup,
body.theme-newyear .summary-btn.primary,
body.theme-newyear .wishlist-empty-btn,
body.theme-newyear .cart-empty-btn,
body.theme-newyear .search-btn,
body.theme-newyear .btn-view-full-cart,
body.theme-newyear .btn-view-full-wishlist {
  background: linear-gradient(140deg, #f9d784 0%, #dbaf4f 55%, #bd8a2f 100%);
  color: #241a0d;
  border: 1px solid rgba(255, 224, 152, 0.72);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    0 10px 18px rgba(20, 13, 5, 0.38),
    0 0 14px rgba(231, 189, 99, 0.38);
}

body.theme-newyear .btn-primary:hover,
body.theme-newyear .auth-link.signup:hover,
body.theme-newyear .summary-btn.primary:hover,
body.theme-newyear .wishlist-empty-btn:hover,
body.theme-newyear .cart-empty-btn:hover,
body.theme-newyear .search-btn:hover,
body.theme-newyear .btn-view-full-cart:hover,
body.theme-newyear .btn-view-full-wishlist:hover {
  background: linear-gradient(140deg, #ffe4a3 0%, #e6bb5f 56%, #cd9a3d 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.44),
    0 12px 22px rgba(20, 13, 5, 0.42),
    0 0 22px rgba(231, 189, 99, 0.48);
}

body.theme-newyear .wishlist-panel,
body.theme-newyear .cart-drawer,
body.theme-newyear .account-drawer,
body.theme-newyear .side-menu,
body.theme-newyear .left-drawer,
body.theme-newyear .admin-reauth-card,
body.theme-newyear .delete-confirmation-modal,
body.theme-newyear .account-level-card,
body.theme-newyear .auth-required-dialog {
  color: #eff5ff;
  background:
    linear-gradient(165deg, rgba(16, 30, 62, 0.94), rgba(8, 17, 36, 0.98)),
    radial-gradient(130% 120% at 100% 0%, rgba(247, 226, 170, 0.08), transparent 62%);
  border-color: rgba(147, 176, 232, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 34px rgba(2, 6, 16, 0.42);
}

body.theme-newyear .wishlist-item-card img {
  background:
    radial-gradient(120% 110% at 50% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, rgba(16, 28, 58, 0.98), rgba(10, 18, 37, 0.98));
  border-color: rgba(147, 176, 232, 0.2);
}

body.theme-newyear .panel-header,
body.theme-newyear .panel-footer,
body.theme-newyear .drawer-header,
body.theme-newyear .menu-header,
body.theme-newyear .user-greeting {
  background:
    linear-gradient(180deg, rgba(16, 31, 65, 0.96), rgba(11, 21, 45, 0.96)),
    radial-gradient(120% 130% at 100% 0%, rgba(247, 226, 170, 0.08), transparent 60%);
  border-color: rgba(147, 176, 232, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.theme-newyear .panel-content,
body.theme-newyear .drawer-content,
body.theme-newyear .menu-links,
body.theme-newyear .wishlist-empty,
body.theme-newyear .cart-drawer-empty,
body.theme-newyear .account-info-section,
body.theme-newyear .field-edit,
body.theme-newyear .admin-reauth-desc,
body.theme-newyear .admin-reauth-row label,
body.theme-newyear .account-field label,
body.theme-newyear .account-edit-hint,
body.theme-newyear .account-section-title,
body.theme-newyear .action-label,
body.theme-newyear .cart-price,
body.theme-newyear .greeting-text {
  color: #c7d6ec;
}

body.theme-newyear .wishlist-item-name,
body.theme-newyear .drawer-header h3,
body.theme-newyear .panel-header h3,
body.theme-newyear .menu-header h3,
body.theme-newyear .field-value,
body.theme-newyear .cart-drawer-empty h4,
body.theme-newyear .wishlist-empty h3,
body.theme-newyear .wishlist-empty h4,
body.theme-newyear .custom-select-label,
body.theme-newyear .custom-select-list li,
body.theme-newyear .menu-links a,
body.theme-newyear .search-bar,
body.theme-newyear .account-input,
body.theme-newyear .account-textarea,
body.theme-newyear .admin-reauth-row input,
body.theme-newyear .qty-input {
  color: #f5f9ff;
}

body.theme-newyear .wishlist-item-price,
body.theme-newyear .drawer-header h3 i,
body.theme-newyear .panel-header h3 i,
body.theme-newyear .account-field label i,
body.theme-newyear .wishlist-empty-icon,
body.theme-newyear .wishlist-empty-icon i,
body.theme-newyear .cart-drawer-empty-icon {
  color: #ffd98c;
}

body.theme-newyear .search-bar,
body.theme-newyear .custom-select-display,
body.theme-newyear .custom-select-list,
body.theme-newyear .account-input,
body.theme-newyear .account-textarea,
body.theme-newyear .admin-reauth-row input,
body.theme-newyear .qty-input {
  background:
    linear-gradient(180deg, rgba(12, 24, 50, 0.98), rgba(16, 29, 61, 0.92)),
    radial-gradient(120% 140% at 100% 0%, rgba(134, 200, 255, 0.08), transparent 60%);
  border-color: rgba(147, 176, 232, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(2, 6, 16, 0.26);
}

body.theme-newyear .search-bar::placeholder,
body.theme-newyear .account-input::placeholder,
body.theme-newyear .account-textarea::placeholder,
body.theme-newyear .admin-reauth-row input::placeholder {
  color: rgba(199, 214, 236, 0.76);
}

body.theme-newyear .search-bar:focus,
body.theme-newyear .custom-select-display:focus,
body.theme-newyear .account-input:focus,
body.theme-newyear .account-textarea:focus,
body.theme-newyear .admin-reauth-row input:focus,
body.theme-newyear .qty-input:focus {
  border-color: rgba(247, 226, 170, 0.48);
  box-shadow:
    0 0 0 3px rgba(247, 226, 170, 0.12),
    0 14px 28px rgba(2, 6, 16, 0.3);
}

body.theme-newyear .custom-select-list li:hover,
body.theme-newyear .custom-select-list li.selected,
body.theme-newyear .menu-links a:hover,
body.theme-newyear .auth-link.login:hover,
body.theme-newyear .menu-toggle:hover,
body.theme-newyear .search-scope:hover,
body.theme-newyear .close-menu:hover,
body.theme-newyear .account-quick-btn:hover,
body.theme-newyear .btn-cancel:hover,
body.theme-newyear .btn-account-action.logout:hover,
body.theme-newyear .btn-account-action.delete:hover,
body.theme-newyear .field-edit .account-field-cancel:hover,
body.theme-newyear .close-drawer:hover,
body.theme-newyear .close-panel:hover,
body.theme-newyear .account-edit-btn:hover {
  background: rgba(134, 200, 255, 0.12);
  border-color: rgba(134, 200, 255, 0.28);
  color: #ffffff;
}

body.theme-newyear .auth-link.login,
body.theme-newyear .menu-toggle,
body.theme-newyear .search-scope,
body.theme-newyear .close-menu,
body.theme-newyear .account-quick-btn,
body.theme-newyear .btn-cancel,
body.theme-newyear .btn-account-action.logout,
body.theme-newyear .btn-account-action.delete,
body.theme-newyear .close-drawer,
body.theme-newyear .close-panel,
body.theme-newyear .account-edit-btn,
body.theme-newyear .field-edit .account-field-cancel {
  background:
    linear-gradient(180deg, rgba(14, 26, 54, 0.96), rgba(10, 18, 38, 0.96)),
    radial-gradient(120% 130% at 100% 0%, rgba(134, 200, 255, 0.07), transparent 60%);
  color: #eef5ff;
  border-color: rgba(147, 176, 232, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 22px rgba(2, 6, 16, 0.24);
}

body.theme-newyear .btn-add-mini {
  background: linear-gradient(140deg, #89cbff 0%, #4f98f0 100%);
  color: #08101d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 20px rgba(23, 75, 145, 0.28);
}

body.theme-newyear .btn-add-mini:hover {
  background: linear-gradient(140deg, #a5d8ff 0%, #67acff 100%);
}

body.theme-newyear .btn-account-action.logout,
body.theme-newyear .btn-account-action.delete {
  background:
    linear-gradient(180deg, rgba(66, 18, 25, 0.92), rgba(41, 10, 15, 0.96)),
    radial-gradient(120% 130% at 100% 0%, rgba(248, 113, 113, 0.12), transparent 60%);
  border-color: rgba(248, 113, 113, 0.34);
  color: #ffd6d6;
}

body.theme-newyear .btn-account-action.logout:hover,
body.theme-newyear .btn-account-action.delete:hover {
  background:
    linear-gradient(180deg, rgba(86, 24, 32, 0.96), rgba(56, 14, 21, 0.98)),
    radial-gradient(120% 130% at 100% 0%, rgba(248, 113, 113, 0.18), transparent 60%);
  border-color: rgba(248, 113, 113, 0.46);
  color: #fff0f0;
}

body.theme-newyear .close-drawer,
body.theme-newyear .close-panel,
body.theme-newyear .close-menu {
  color: #d4dff4;
}

body.theme-newyear .product-card-name,
body.theme-newyear .wishlist-item-name,
body.theme-newyear .product-title,
body.theme-newyear .page-hero-title,
body.theme-newyear .support-hero-title,
body.theme-newyear .hero-title {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.theme-newyear .menu-links a::before {
  color: #ffd98c;
}

body.theme-newyear.login-page .cs-auth-isolated {
  background: #f8fafc !important;
}

body.theme-newyear.login-page .auth-hero,
body.theme-newyear.login-page .auth-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(231, 189, 99, 0.24) !important;
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(231, 189, 99, 0.06) !important;
}

/* Ensure the header greeting stays readable on the login page even under Newyear globals */
body.theme-newyear.login-page .user-greeting,
body.theme-newyear.login-page .greeting-text {
  color: #0f172a !important;
}

body.theme-newyear.login-page .greeting-text i {
  color: #16a34a !important;
}

body.theme-newyear.login-page .auth-hero *,
body.theme-newyear.login-page .auth-card * {
  /* Override legacy inline colors used in login.html (e.g. white text) */
  color: inherit !important;
}

body.theme-newyear.login-page .hero-sub,
body.theme-newyear.login-page .muted,
body.theme-newyear.login-page .message,
body.theme-newyear.login-page .auth-card small,
body.theme-newyear.login-page .addr-hint,
body.theme-newyear.login-page .addr-meta,
body.theme-newyear.login-page .addr-count,
body.theme-newyear.login-page .brand-row > div > div:last-child {
  color: #64748b !important;
}

body.theme-newyear.login-page .hero-title,
body.theme-newyear.login-page .form-label,
body.theme-newyear.login-page .auth-card label,
body.theme-newyear.login-page .brand-row > div > div:first-child {
  color: #0f172a !important;
}

body.theme-newyear.login-page .feature-card {
  background: rgba(22, 163, 74, 0.05) !important;
  border-color: rgba(22, 163, 74, 0.12) !important;
}

body.theme-newyear.login-page .form-input,
body.theme-newyear.login-page .textarea-autogrow {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 2px solid #e2e8f0 !important;
  box-shadow: none !important;
}

body.theme-newyear.login-page .form-input::placeholder,
body.theme-newyear.login-page .textarea-autogrow::placeholder {
  color: #64748b !important;
}

body.theme-newyear.login-page .form-input:focus,
body.theme-newyear.login-page .textarea-autogrow:focus {
  border-color: #16a34a !important;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12) !important;
}

/* Login page uses account-* inputs; keep them light/readable under Newyear theme */
body.theme-newyear.login-page .account-input,
body.theme-newyear.login-page .account-textarea,
body.theme-newyear.login-page .search-bar,
body.theme-newyear.login-page .custom-select-display,
body.theme-newyear.login-page .custom-select-list {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
  box-shadow: none !important;
}

body.theme-newyear.login-page .custom-select-list li {
  color: #0f172a !important;
}

body.theme-newyear.login-page .account-input::placeholder,
body.theme-newyear.login-page .account-textarea::placeholder,
body.theme-newyear.login-page .search-bar::placeholder {
  color: #64748b !important;
}

body.theme-newyear.login-page .account-input:focus,
body.theme-newyear.login-page .account-textarea:focus,
body.theme-newyear.login-page .search-bar:focus,
body.theme-newyear.login-page .custom-select-display:focus {
  border-color: #16a34a !important;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12) !important;
}

@media (max-width: 1024px) {
  #chefselectNewyearGreeting .newyear-greeting-inner {
    min-height: 80px;
    padding-right: clamp(92px, 14vw, 146px);
    gap: 14px;
  }

  #chefselectNewyearGreeting .newyear-greeting-yearwrap {
    min-width: 138px;
    padding-inline: 14px;
  }

  #chefselectNewyearGreeting .newyear-greeting-year {
    font-size: clamp(30px, 4.2vw, 48px);
  }

  #chefselectNewyearDecor {
    width: 92px;
    height: 68px;
    right: 10px;
  }
}

@media (max-width: 760px) {
  #chefselectNewyearGreeting .newyear-greeting-inner {
    min-height: auto;
    /* Slightly tighter on mobile to reduce sticky banner height */
    padding: 12px 78px 12px 12px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  #chefselectNewyearGreeting .newyear-greeting-title {
    padding: 5px 10px;
    font-size: 10px;
  }

  #chefselectNewyearGreeting .newyear-greeting-line {
    max-width: none;
    font-size: clamp(13px, 3.8vw, 15.5px);
  }

  #chefselectNewyearGreeting .newyear-greeting-yearwrap {
    justify-self: start;
    min-width: 0;
    padding: 9px 12px 8px;
    border-radius: 18px;
  }

  #chefselectNewyearGreeting .newyear-greeting-year-label {
    font-size: 10px;
  }

  #chefselectNewyearGreeting .newyear-greeting-year {
    font-size: clamp(26px, 10vw, 38px);
  }

  #chefselectNewyearDecor {
    width: 72px;
    height: 60px;
    right: 6px;
    opacity: 0.75;
  }

  #chefselectNewyearDecor .newyear-firework-3,
  #chefselectNewyearDecor .newyear-firework-5,
  #chefselectNewyearDecor .newyear-spark-2,
  #chefselectNewyearDecor .newyear-spark-5,
  #chefselectNewyearDecor .newyear-spark-8 {
    display: none;
  }

  body.theme-newyear .newyear-announcement-wrap {
    gap: 6px 10px;
    padding-inline: 12px;
  }

  body.theme-newyear .newyear-announcement-dot {
    display: none;
  }
}

@media (max-width: 520px) {
  #chefselectNewyearGreeting .newyear-greeting-inner {
    padding: 10px 12px 12px;
  }

  #chefselectNewyearGreeting::after {
    display: none;
  }

  #chefselectNewyearGreeting .newyear-greeting-title {
    letter-spacing: 0.14em;
  }

  #chefselectNewyearGreeting .newyear-greeting-line {
    font-size: clamp(12.5px, 4vw, 14px);
  }

  #chefselectNewyearGreeting .newyear-greeting-yearwrap {
    max-width: 164px;
  }

  #chefselectNewyearDecor {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #chefselectNewyearGreeting::before,
  #chefselectNewyearGreeting::after,
  #chefselectNewyearGreeting .newyear-greeting-year,
  #chefselectNewyearDecor .newyear-firework,
  #chefselectNewyearDecor .newyear-firework::before,
  #chefselectNewyearDecor .newyear-firework::after,
  #chefselectNewyearDecor .newyear-spark {
    animation: none !important;
  }

  body.theme-newyear .btn-primary,
  body.theme-newyear .auth-link.signup,
  body.theme-newyear .summary-btn.primary,
  body.theme-newyear .wishlist-empty-btn,
  body.theme-newyear .cart-empty-btn,
  body.theme-newyear .search-btn,
  body.theme-newyear .btn-view-full-cart,
  body.theme-newyear .btn-view-full-wishlist {
    transition: none;
  }
}

/* ------------------------------- Animations ------------------------------- */
@keyframes newyearBannerGlow {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.02);
  }
}

@keyframes newyearBannerSweep {
  0% {
    transform: translateX(-68%);
  }
  100% {
    transform: translateX(90%);
  }
}

@keyframes newyearYearGlow {
  0%,
  100% {
    text-shadow:
      0 0 10px rgba(231, 189, 99, 0.62),
      0 2px 6px rgba(0, 0, 0, 0.45);
  }
  50% {
    text-shadow:
      0 0 18px rgba(247, 226, 170, 0.88),
      0 0 26px rgba(231, 189, 99, 0.46),
      0 2px 7px rgba(0, 0, 0, 0.45);
  }
}

@keyframes newyearFireworkBurst {
  0%,
  100% {
    transform: scale(0.55);
    opacity: 0.35;
  }
  38% {
    transform: scale(1.28);
    opacity: 0.92;
  }
  70% {
    transform: scale(0.9);
    opacity: 0.48;
  }
}

@keyframes newyearFireworkRing {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.35);
  }
  35% {
    opacity: 0.74;
    transform: scale(2.4);
  }
  70% {
    opacity: 0;
    transform: scale(2.8);
  }
}

@keyframes newyearSparkFloat {
  0%,
  100% {
    transform: translateY(0) scale(0.85);
    opacity: 0.28;
  }
  50% {
    transform: translateY(-5px) scale(1.2);
    opacity: 0.95;
  }
}

@keyframes pkFlagClothWave {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) skewY(0deg) rotateY(0deg);
  }
  25% {
    transform: translate3d(1px, -0.5px, 0) rotate(-0.4deg) skewY(-0.8deg) rotateY(-4deg);
  }
  50% {
    transform: translate3d(2.2px, 0.4px, 0) rotate(0.45deg) skewY(0.85deg) rotateY(6deg);
  }
  75% {
    transform: translate3d(1.1px, -0.3px, 0) rotate(-0.25deg) skewY(-0.55deg) rotateY(-3deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) skewY(0deg) rotateY(0deg);
  }
}

@keyframes pkFlagStripeWave {
  0%,
  100% {
    opacity: 0.84;
    transform: translateY(0) scaleY(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-0.5px) scaleY(1.03);
  }
}

@keyframes pkFlagFoldWave {
  0%,
  100% {
    opacity: 0.52;
    transform: translateX(0) scaleY(1);
  }
  50% {
    opacity: 0.74;
    transform: translateX(0.9px) scaleY(1.02);
  }
}

@keyframes pkFlagShine {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-6%);
  }
  50% {
    opacity: 0.7;
    transform: translateX(4%);
  }
}

@keyframes pkSpark {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(0.65);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes pkNavFlagWave {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

@keyframes eidLightBlink {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
