/* ========== Collection Themes ========== */
/* Default "classic" — inherits the site's purple palette, no overrides needed */

/* ===== Theme Decor Container ===== */
.theme-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Header must clip all decor inside */
[data-theme="summer"] .page-header {
  overflow: hidden;
}

/* ───────────────────────────────────
   SUMMER THEME
   ─────────────────────────────────── */
/* Colors */
[data-theme="summer"] .page-header__bg {
  background: linear-gradient(135deg, #C8940F 0%, #D4A04A 20%, #E8B85C 40%, #F0C87A 60%, #F5D89A 80%, #FCE8B2 100%);
}
[data-theme="summer"] .page-header__bg::after {
  background: rgba(0,0,0,0.03);
}
[data-theme="summer"] .page-header__label {
  color: rgba(120, 70, 10, 0.7);
}
[data-theme="summer"] .page-header__title {
  color: #3E2210;
  text-shadow: 0 2px 16px rgba(255,200,80,0.3);
}
[data-theme="summer"] .page-header__breadcrumb {
  color: rgba(90, 55, 15, 0.6);
}
[data-theme="summer"] .page-header__breadcrumb a {
  color: rgba(90, 55, 15, 0.8);
}
[data-theme="summer"] .page-header__breadcrumb a:hover {
  color: #3E2210;
}
[data-theme="summer"] .page-header__wave svg path {
  fill: var(--clr-bg);
}
[data-theme="summer"] .collection__sort select {
  border-color: #D4A04A;
}
[data-theme="summer"] .product-card:hover {
  box-shadow: 0 8px 30px rgba(184, 134, 11, 0.15);
}
[data-theme="summer"] .product-card__badge {
  background: linear-gradient(135deg, #D4A04A, #E8B85C);
  color: #3E2210;
}

/* Summer theme decor positions */
/* Header width: 1411px */

.theme-decor__sun {
  position: absolute;
  left: 85.9%;
  top: -3.2%;
  width: 15.7%;
  height: auto;
  opacity: 0.505563;
}

.theme-decor__leaf-shadow--1 {
  position: absolute;
  left: 59.7%;
  top: -36.5%;
  width: 36.2%;
  height: auto;
  opacity: 0.18;
  transform: scale(0.94, 0.94) rotate(-16deg);
}

.theme-decor__leaf-shadow--2 {
  position: absolute;
  left: 16.2%;
  top: -24.1%;
  width: 22.2%;
  height: auto;
  opacity: 0.18;
  transform: scale(1.08, 1.08) rotate(-126deg);
}

/* Summer ocean water at bottom of header */
.theme-decor__ocean {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  height: 35px;
  background: linear-gradient(180deg, rgba(0,180,210,0.4) 0%, rgba(0,150,190,0.5) 50%, rgba(0,120,170,0.45) 100%);
  pointer-events: none;
}
.theme-decor__ocean::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 18px;
  background: 
    radial-gradient(ellipse 60px 14px at 8% 100%, rgba(0,180,210,0.4) 50%, transparent 50%),
    radial-gradient(ellipse 80px 12px at 22% 100%, rgba(0,170,200,0.35) 50%, transparent 50%),
    radial-gradient(ellipse 70px 14px at 40% 100%, rgba(0,180,210,0.4) 50%, transparent 50%),
    radial-gradient(ellipse 90px 12px at 58% 100%, rgba(0,160,200,0.35) 50%, transparent 50%),
    radial-gradient(ellipse 65px 14px at 75% 100%, rgba(0,180,210,0.4) 50%, transparent 50%),
    radial-gradient(ellipse 85px 12px at 92% 100%, rgba(0,170,200,0.35) 50%, transparent 50%);
}
.theme-decor__ocean::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 20%, transparent 40%, rgba(255,255,255,0.06) 60%, transparent 80%);
  animation: waveShimmer 4s ease-in-out infinite;
}
@keyframes waveShimmer {
  0%, 100% { transform: translateX(-5%); }
  50% { transform: translateX(5%); }
}

/* Summer beach sand at bottom of header */
.theme-decor__sand-bank {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
  z-index: 1;
}
.theme-decor__sand-bank::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -2%;
  width: 40%;
  height: 40px;
  background: #f5deb3;
  border-radius: 50% 60% 0 0;
}
.theme-decor__sand-bank::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 35%;
  height: 30px;
  background: #edd9a3;
  border-radius: 60% 50% 0 0;
}
.theme-decor__sand-mound-1 {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 30%;
  height: 38px;
  background: #f0d8a8;
  border-radius: 50% 55% 0 0;
  z-index: 1;
}
.theme-decor__sand-mound-2 {
  position: absolute;
  bottom: 0;
  left: 72%;
  width: 33%;
  height: 28px;
  background: #f5deb3;
  border-radius: 55% 50% 0 0;
  z-index: 1;
}

/* Falling flower petals */
.theme-decor__petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.theme-decor__petals span {
  position: absolute;
  top: -8%;
  display: inline-block;
  width: 10px;
  height: 14px;
  border-radius: 50% 0 50% 50%;
  opacity: 0;
  animation: petalFall linear infinite;
}
.theme-decor__petals span:nth-child(1)  { left: 5%;  background: rgba(255,150,150,0.6); width: 8px;  height: 12px; animation-duration: 9s;  animation-delay: 0s; }
.theme-decor__petals span:nth-child(2)  { left: 15%; background: rgba(255,180,160,0.5); width: 12px; height: 16px; animation-duration: 11s; animation-delay: 1.5s; }
.theme-decor__petals span:nth-child(3)  { left: 28%; background: rgba(255,140,140,0.55); width: 9px;  height: 13px; animation-duration: 8s;  animation-delay: 3s; }
.theme-decor__petals span:nth-child(4)  { left: 38%; background: rgba(255,170,150,0.5); width: 11px; height: 15px; animation-duration: 10s; animation-delay: 0.8s; }
.theme-decor__petals span:nth-child(5)  { left: 50%; background: rgba(255,130,130,0.6); width: 8px;  height: 11px; animation-duration: 9s;  animation-delay: 4s; }
.theme-decor__petals span:nth-child(6)  { left: 62%; background: rgba(255,190,170,0.45); width: 13px; height: 17px; animation-duration: 12s; animation-delay: 2s; }
.theme-decor__petals span:nth-child(7)  { left: 73%; background: rgba(255,150,140,0.55); width: 10px; height: 14px; animation-duration: 8s;  animation-delay: 1s; }
.theme-decor__petals span:nth-child(8)  { left: 88%; background: rgba(255,160,150,0.5); width: 9px;  height: 12px; animation-duration: 10s; animation-delay: 3.5s; }

@keyframes petalFall {
  0%   { top: -8%; transform: translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translateX(25px) rotate(180deg); }
  90%  { opacity: 0.8; }
  100% { top: 100%; transform: translateX(-15px) rotate(360deg); opacity: 0; }
}

/* Mobile: bring decor into visible area (header is shorter) */
@media (max-width: 768px) {
  .theme-decor__sun {
    width: 22%;
    left: 78%;
    top: -2%;
  }
  .theme-decor__leaf-shadow--1 {
    top: -10%;
    left: 55%;
    width: 45%;
  }
  .theme-decor__leaf-shadow--2 {
    top: -5%;
    left: 5%;
    width: 30%;
  }
  .theme-decor__ocean { height: 22px; bottom: 12px; }
  .theme-decor__ocean::before { height: 10px; top: -8px; }
  .theme-decor__sand-bank { height: 30px; }
  .theme-decor__sand-bank::before { height: 25px; }
  .theme-decor__sand-bank::after { height: 20px; }
  .theme-decor__sand-mound-1 { height: 22px; }
  .theme-decor__sand-mound-2 { height: 18px; }
  .theme-decor__petals span:nth-child(n+6) { display: none; }
}



/* ───────────────────────────────────
   WINTER THEME
   ─────────────────────────────────── */
[data-theme="winter"] .page-header {
  overflow: hidden;
}
[data-theme="winter"] .page-header__bg {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 20%, #4a7ab0 40%, #6a9ad0 60%, #8abae8 80%, #b0d4f1 100%);
}
[data-theme="winter"] .page-header__bg::after {
  background: rgba(255,255,255,0.05);
}
[data-theme="winter"] .page-header__label {
  color: rgba(200, 220, 240, 0.7);
}
[data-theme="winter"] .page-header__title {
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(100,180,255,0.3);
}
[data-theme="winter"] .page-header__breadcrumb {
  color: rgba(200, 220, 240, 0.6);
}
[data-theme="winter"] .page-header__breadcrumb a {
  color: rgba(220, 235, 250, 0.8);
}
[data-theme="winter"] .page-header__breadcrumb a:hover {
  color: #ffffff;
}
[data-theme="winter"] .page-header__wave svg path {
  fill: var(--clr-bg);
}
[data-theme="winter"] .collection__sort select {
  border-color: #6a9ad0;
}
[data-theme="winter"] .product-card:hover {
  box-shadow: 0 8px 30px rgba(100, 160, 220, 0.15);
}
[data-theme="winter"] .product-card__badge {
  background: linear-gradient(135deg, #4a7ab0, #8abae8);
  color: #ffffff;
}

/* Winter snowflake decorations */
.theme-decor__snowflake {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  font-size: 80px;
  line-height: 1;
  user-select: none;
}
.theme-decor__snowflake--1 {
  left: 5%;
  top: 10%;
  font-size: 60px;
  opacity: 0.2;
  transform: rotate(15deg);
}
.theme-decor__snowflake--2 {
  left: 85%;
  top: 5%;
  font-size: 90px;
  opacity: 0.12;
  transform: rotate(-20deg);
}
.theme-decor__snowflake--3 {
  left: 45%;
  top: -5%;
  font-size: 50px;
  opacity: 0.18;
  transform: rotate(45deg);
}
.theme-decor__snowflake--4 {
  left: 20%;
  top: 55%;
  font-size: 40px;
  opacity: 0.1;
  transform: rotate(-30deg);
}
.theme-decor__snowflake--5 {
  left: 70%;
  top: 50%;
  font-size: 70px;
  opacity: 0.08;
  transform: rotate(60deg);
}
.theme-decor__snowflake--6 {
  left: 92%;
  top: 60%;
  font-size: 35px;
  opacity: 0.15;
}
.theme-decor__frost {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

/* Snow bank at the bottom of header */
.theme-decor__snow-bank {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
}
.theme-decor__snow-bank::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -2%;
  width: 35%;
  height: 45px;
  background: white;
  border-radius: 50% 60% 0 0;
}
.theme-decor__snow-bank::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 40%;
  height: 35px;
  background: white;
  border-radius: 60% 50% 0 0;
}
.theme-decor__snow-mound-1 {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 30%;
  height: 40px;
  background: white;
  border-radius: 50% 60% 0 0;
}
.theme-decor__snow-mound-2 {
  position: absolute;
  bottom: 0;
  left: 70%;
  width: 35%;
  height: 30px;
  background: white;
  border-radius: 60% 50% 0 0;
}

/* Falling snowflakes animation */
.theme-decor__falling-snow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.theme-decor__falling-snow span {
  position: absolute;
  top: -10%;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  animation: snowfall linear infinite;
}
.theme-decor__falling-snow span:nth-child(1)  { left: 3%;  font-size: 12px; animation-duration: 8s;  animation-delay: 0s;   opacity: 0.7; }
.theme-decor__falling-snow span:nth-child(2)  { left: 12%; font-size: 16px; animation-duration: 10s; animation-delay: 1s;   opacity: 0.5; }
.theme-decor__falling-snow span:nth-child(3)  { left: 22%; font-size: 10px; animation-duration: 7s;  animation-delay: 3s;   opacity: 0.6; }
.theme-decor__falling-snow span:nth-child(4)  { left: 33%; font-size: 18px; animation-duration: 11s; animation-delay: 0.5s; opacity: 0.4; }
.theme-decor__falling-snow span:nth-child(5)  { left: 42%; font-size: 14px; animation-duration: 9s;  animation-delay: 2s;   opacity: 0.6; }
.theme-decor__falling-snow span:nth-child(6)  { left: 55%; font-size: 12px; animation-duration: 8s;  animation-delay: 4s;   opacity: 0.5; }
.theme-decor__falling-snow span:nth-child(7)  { left: 63%; font-size: 20px; animation-duration: 12s; animation-delay: 1.5s; opacity: 0.3; }
.theme-decor__falling-snow span:nth-child(8)  { left: 74%; font-size: 10px; animation-duration: 7s;  animation-delay: 3.5s; opacity: 0.7; }
.theme-decor__falling-snow span:nth-child(9)  { left: 83%; font-size: 16px; animation-duration: 9s;  animation-delay: 0.8s; opacity: 0.5; }
.theme-decor__falling-snow span:nth-child(10) { left: 93%; font-size: 14px; animation-duration: 10s; animation-delay: 2.5s; opacity: 0.4; }

@keyframes snowfall {
  0%   { top: -10%; transform: translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; transform: translateX(30px) rotate(360deg); opacity: 0; }
}

@media (max-width: 768px) {
  .theme-decor__snowflake { font-size: 40px; }
  .theme-decor__snowflake--2 { font-size: 55px; }
  .theme-decor__snowflake--3 { font-size: 30px; }
  .theme-decor__snowflake--5 { display: none; }
  .theme-decor__snow-bank { height: 30px; }
  .theme-decor__snow-bank::before { height: 28px; }
  .theme-decor__snow-bank::after { height: 22px; }
  .theme-decor__snow-mound-1 { height: 25px; }
  .theme-decor__snow-mound-2 { height: 20px; }
  .theme-decor__falling-snow span:nth-child(n+7) { display: none; }
}

/* ───────────────────────────────────
   ETHNIC THEME
   ─────────────────────────────────── */
[data-theme="ethnic"] .page-header {
  overflow: hidden;
}
[data-theme="ethnic"] .page-header__bg {
  background: linear-gradient(135deg, #8B2500 0%, #A0522D 20%, #C17744 40%, #D4956A 60%, #E8B88A 80%, #F0CCA0 100%);
}
[data-theme="ethnic"] .page-header__bg::after {
  background: rgba(0,0,0,0.04);
}
[data-theme="ethnic"] .page-header__label {
  color: rgba(255, 220, 180, 0.7);
}
[data-theme="ethnic"] .page-header__title {
  color: #FFF5E6;
  text-shadow: 0 2px 16px rgba(139, 37, 0, 0.3);
}
[data-theme="ethnic"] .page-header__breadcrumb {
  color: rgba(255, 220, 180, 0.6);
}
[data-theme="ethnic"] .page-header__breadcrumb a {
  color: rgba(255, 230, 200, 0.8);
}
[data-theme="ethnic"] .page-header__breadcrumb a:hover {
  color: #FFF5E6;
}
[data-theme="ethnic"] .page-header__wave svg path {
  fill: var(--clr-bg);
}
[data-theme="ethnic"] .collection__sort select {
  border-color: #C17744;
}
[data-theme="ethnic"] .product-card:hover {
  box-shadow: 0 8px 30px rgba(160, 82, 45, 0.15);
}
[data-theme="ethnic"] .product-card__badge {
  background: linear-gradient(135deg, #8B2500, #C17744);
  color: #FFF5E6;
}

/* Ethnic theme — Indian decorations */

/* Paisley motifs in corners */
.theme-decor__paisley {
  position: absolute;
  width: 80px;
  height: 120px;
  border: 2px solid rgba(255, 200, 50, 0.25);
  border-radius: 50% 50% 50% 0;
  pointer-events: none;
}
.theme-decor__paisley::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 200, 50, 0.15);
  border-radius: 50% 50% 50% 0;
}
.theme-decor__paisley::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 200, 50, 0.1);
  border-radius: 50% 50% 50% 0;
}
.theme-decor__paisley--1 {
  top: 5%;
  left: 2%;
  width: 55px;
  height: 85px;
  transform: rotate(-30deg);
  opacity: 0.6;
}
.theme-decor__paisley--2 {
  top: 2%;
  right: 4%;
  width: 45px;
  height: 70px;
  transform: rotate(150deg);
  opacity: 0.5;
}
.theme-decor__paisley--3 {
  bottom: 30%;
  left: 15%;
  width: 35px;
  height: 55px;
  transform: rotate(-60deg);
  opacity: 0.4;
}

/* Rangoli dot pattern at bottom (above 60px wave) */
.theme-decor__rangoli {
  position: absolute;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 30px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: flex-end;
}
.theme-decor__rangoli span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 200, 50, 0.4);
  display: inline-block;
}
.theme-decor__rangoli span:nth-child(odd) {
  width: 8px;
  height: 8px;
  background: rgba(255, 100, 30, 0.35);
  margin-bottom: 4px;
}
.theme-decor__rangoli span:nth-child(3n) {
  width: 5px;
  height: 5px;
  background: rgba(200, 50, 20, 0.3);
  margin-bottom: 8px;
}

/* Diya lamps */
.theme-decor__diya {
  position: absolute;
  font-size: 28px;
  opacity: 0.35;
  filter: drop-shadow(0 0 6px rgba(255,150,0,0.4));
  animation: diyaGlow 3s ease-in-out infinite alternate;
}
.theme-decor__diya--1 {
  bottom: 25%;
  left: 5%;
}
.theme-decor__diya--2 {
  bottom: 25%;
  right: 6%;
  font-size: 24px;
  animation-delay: 1.5s;
}

@keyframes diyaGlow {
  0%   { opacity: 0.25; filter: drop-shadow(0 0 4px rgba(255,150,0,0.3)); }
  100% { opacity: 0.45; filter: drop-shadow(0 0 10px rgba(255,150,0,0.6)); }
}

/* Mehndi-style corner borders */
.theme-decor__mehndi-corner {
  position: absolute;
  width: 100px;
  height: 100px;
  pointer-events: none;
}
.theme-decor__mehndi-corner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,180,50,0.3), transparent);
}
.theme-decor__mehndi-corner::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,180,50,0.3), transparent);
}
.theme-decor__mehndi-corner--tl {
  top: 8%;
  left: 0;
}
.theme-decor__mehndi-corner--tr {
  top: 8%;
  right: 0;
  transform: scaleX(-1);
}

/* Marigold garland border at bottom (above 60px wave) */
.theme-decor__garland {
  position: absolute;
  bottom: 55px;
  left: 0;
  right: 0;
  height: 24px;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(circle 10px at 12px 20px, rgba(255,140,0,0.7) 8px, transparent 8px),
    radial-gradient(circle 10px at 32px 20px, rgba(255,180,0,0.65) 8px, transparent 8px),
    radial-gradient(circle 10px at 52px 20px, rgba(200,80,0,0.6) 8px, transparent 8px);
  background-size: 60px 24px;
}
.theme-decor__garland::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(139,37,0,0.25);
}
.theme-decor__garland::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: 
    radial-gradient(circle 4px at 12px 6px, rgba(255,200,50,0.4) 3px, transparent 3px),
    radial-gradient(circle 4px at 32px 6px, rgba(255,200,50,0.35) 3px, transparent 3px),
    radial-gradient(circle 4px at 52px 6px, rgba(255,200,50,0.4) 3px, transparent 3px);
  background-size: 60px 8px;
}

/* Falling marigold petals */
.theme-decor__marigolds {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.theme-decor__marigolds span {
  position: absolute;
  top: -8%;
  display: inline-block;
  border-radius: 50% 0 50% 50%;
  opacity: 0;
  animation: marigoldFall linear infinite;
}
.theme-decor__marigolds span:nth-child(1)  { left: 6%;  background: rgba(255,165,0,0.8);  width: 10px; height: 12px; animation-duration: 9s;  animation-delay: 0s; }
.theme-decor__marigolds span:nth-child(2)  { left: 18%; background: rgba(255,100,0,0.7);  width: 12px; height: 14px; animation-duration: 11s; animation-delay: 1.5s; }
.theme-decor__marigolds span:nth-child(3)  { left: 30%; background: rgba(255,200,50,0.75); width: 9px;  height: 11px; animation-duration: 8s;  animation-delay: 3s; }
.theme-decor__marigolds span:nth-child(4)  { left: 42%; background: rgba(200,80,20,0.7);  width: 11px; height: 13px; animation-duration: 10s; animation-delay: 0.8s; }
.theme-decor__marigolds span:nth-child(5)  { left: 55%; background: rgba(255,165,0,0.8);  width: 9px;  height: 11px; animation-duration: 9s;  animation-delay: 4s; }
.theme-decor__marigolds span:nth-child(6)  { left: 68%; background: rgba(255,100,0,0.65); width: 13px; height: 15px; animation-duration: 12s; animation-delay: 2s; }
.theme-decor__marigolds span:nth-child(7)  { left: 80%; background: rgba(255,200,50,0.7); width: 8px;  height: 10px; animation-duration: 8s;  animation-delay: 1s; }
.theme-decor__marigolds span:nth-child(8)  { left: 92%; background: rgba(200,80,20,0.75); width: 10px; height: 12px; animation-duration: 10s; animation-delay: 3.5s; }

@keyframes marigoldFall {
  0%   { top: -8%; transform: translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translateX(20px) rotate(180deg); }
  90%  { opacity: 0.7; }
  100% { top: 100%; transform: translateX(-10px) rotate(360deg); opacity: 0; }
}

@media (max-width: 768px) {
  .theme-decor__paisley { width: 50px; height: 75px; }
  .theme-decor__paisley--2 { width: 40px; height: 60px; }
  .theme-decor__paisley--3 { display: none; }
  .theme-decor__rangoli { width: 200px; gap: 12px; }
  .theme-decor__diya { font-size: 22px; }
  .theme-decor__mehndi-corner { width: 60px; height: 60px; }
  .theme-decor__marigolds span:nth-child(n+6) { display: none; }
}


/* ========================================================================
   BOHEMIAN THEME
   ======================================================================== */

/* --- Bohemian Colours --- */
[data-theme="bohemian"] .page-header {
  overflow: hidden;
}
[data-theme="bohemian"] .page-header__bg {
  background: linear-gradient(135deg, #5C3D2E 0%, #7B4F3A 20%, #A0694D 40%, #C4956C 60%, #D4A97A 80%, #E6C9A8 100%);
}
[data-theme="bohemian"] .page-header__bg::after {
  background: rgba(0,0,0,0.03);
}
[data-theme="bohemian"] .page-header__label {
  color: rgba(230, 200, 168, 0.7);
}
[data-theme="bohemian"] .page-header__title {
  color: #FFF5E6;
  text-shadow: 0 2px 16px rgba(92, 61, 46, 0.35);
}
[data-theme="bohemian"] .page-header__breadcrumb {
  color: rgba(230, 210, 180, 0.6);
}
[data-theme="bohemian"] .page-header__breadcrumb a {
  color: rgba(240, 220, 200, 0.8);
}
[data-theme="bohemian"] .page-header__breadcrumb a:hover {
  color: #FFF5E6;
}
[data-theme="bohemian"] .page-header__wave svg path {
  fill: var(--clr-bg);
}

/* --- Dreamcatcher (PNG image) --- */
.theme-decor__dreamcatcher {
  position: absolute;
  top: 12%;
  right: 3%;
  width: 190px;
  height: auto;
  opacity: 0.35;
  filter: invert(1);
  pointer-events: none;
}

/* --- Crescent Moon --- */
.theme-decor__moon {
  position: absolute;
  top: 5%;
  left: 5%;
  font-size: 42px;
  opacity: 0.7;
  filter: drop-shadow(0 0 8px rgba(255,220,180,0.3));
}

/* --- Stars --- */
.theme-decor__stars span {
  position: absolute;
  color: rgba(255,235,200,0.85);
  animation: bohoTwinkle 3s ease-in-out infinite alternate;
}
.theme-decor__stars span:nth-child(1) { top: 4%;  left: 18%; font-size: 16px; animation-delay: 0s; }
.theme-decor__stars span:nth-child(2) { top: 14%; left: 28%; font-size: 12px; animation-delay: 0.8s; }
.theme-decor__stars span:nth-child(3) { top: 6%;  left: 45%; font-size: 18px; animation-delay: 1.5s; }
.theme-decor__stars span:nth-child(4) { top: 18%; left: 58%; font-size: 14px; animation-delay: 0.4s; }
.theme-decor__stars span:nth-child(5) { top: 3%;  left: 72%; font-size: 15px; animation-delay: 2s; }
.theme-decor__stars span:nth-child(6) { top: 22%; left: 40%; font-size: 11px; animation-delay: 1.2s; }

@keyframes bohoTwinkle {
  0%   { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* --- Macramé fringe at bottom (above 60px wave) --- */
.theme-decor__macrame {
  position: absolute;
  bottom: 55px;
  left: 0;
  right: 0;
  height: 35px;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 6px,
      rgba(255,230,200,0.55) 6px,
      rgba(255,230,200,0.55) 8px,
      transparent 8px,
      transparent 11px,
      rgba(210,180,140,0.45) 11px,
      rgba(210,180,140,0.45) 12px,
      transparent 12px,
      transparent 16px
    );
}
.theme-decor__macrame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,230,200,0.5);
  border-bottom: 1px solid rgba(255,220,180,0.3);
}
.theme-decor__macrame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background:
    repeating-radial-gradient(
      circle 4px at 8px 0px,
      rgba(255,230,200,0.35) 0px, rgba(255,230,200,0.35) 3px,
      transparent 3px, transparent 4px
    );
  background-size: 16px 12px;
}

/* --- Falling feather animation --- */
.theme-decor__falling-feathers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.theme-decor__falling-feathers span {
  position: absolute;
  top: -10%;
  display: inline-block;
  font-size: 22px;
  opacity: 0;
  animation: featherFall linear infinite;
}
.theme-decor__falling-feathers span::before {
  content: none;
}
.theme-decor__falling-feathers span:nth-child(1) { left: 5%;  font-size: 20px; animation-duration: 10s; animation-delay: 0s; }
.theme-decor__falling-feathers span:nth-child(2) { left: 15%; font-size: 24px; animation-duration: 12s; animation-delay: 2s; }
.theme-decor__falling-feathers span:nth-child(3) { left: 30%; font-size: 18px; animation-duration: 9s;  animation-delay: 4s; }
.theme-decor__falling-feathers span:nth-child(4) { left: 50%; font-size: 22px; animation-duration: 11s; animation-delay: 1s; }
.theme-decor__falling-feathers span:nth-child(5) { left: 70%; font-size: 20px; animation-duration: 10s; animation-delay: 3s; }
.theme-decor__falling-feathers span:nth-child(6) { left: 88%; font-size: 24px; animation-duration: 13s; animation-delay: 5s; }

@keyframes featherFall {
  0%   { top: -10%; transform: translateX(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.9; }
  25%  { transform: translateX(15px) rotate(40deg); }
  50%  { transform: translateX(-10px) rotate(-20deg); }
  75%  { transform: translateX(12px) rotate(30deg); }
  92%  { opacity: 0.7; }
  100% { top: 100%; transform: translateX(-5px) rotate(10deg); opacity: 0; }
}

/* --- Bohemian mobile --- */
@media (max-width: 768px) {
  .theme-decor__dreamcatcher { width: 100px; right: 3%; }
  .theme-decor__moon { font-size: 30px; }
  .theme-decor__stars span { font-size: 10px !important; }
  .theme-decor__falling-feathers span:nth-child(n+5) { display: none; }
}

/* --- Bohemian mobile --- */
@media (max-width: 768px) {
  .theme-decor__dreamcatcher { width: 100px; right: 3%; }
  .theme-decor__moon { font-size: 30px; }
  .theme-decor__stars span { font-size: 10px !important; }
  .theme-decor__falling-feathers span:nth-child(n+5) { display: none; }
}


/* ========================================================================
   FESTIVE THEME
   ======================================================================== */

/* --- Festive Colours --- */
[data-theme="festive"] .page-header {
  overflow: hidden;
}
[data-theme="festive"] .page-header__bg {
  background: linear-gradient(135deg, #8B0020 0%, #B30030 20%, #CC1144 40%, #D4294F 55%, #E0556B 75%, #F0A0B0 100%);
}
[data-theme="festive"] .page-header__bg::after {
  background: rgba(0,0,0,0.03);
}
[data-theme="festive"] .page-header__label {
  color: rgba(255, 210, 220, 0.75);
}
[data-theme="festive"] .page-header__title {
  color: #FFF5F7;
  text-shadow: 0 2px 16px rgba(139, 0, 32, 0.35);
}
[data-theme="festive"] .page-header__breadcrumb {
  color: rgba(255, 210, 220, 0.6);
}
[data-theme="festive"] .page-header__breadcrumb a {
  color: rgba(255, 220, 230, 0.8);
}
[data-theme="festive"] .page-header__breadcrumb a:hover {
  color: #FFF5F7;
}
[data-theme="festive"] .page-header__wave svg path {
  fill: var(--clr-bg);
}

/* --- Gold sparkle dots --- */
.theme-decor__sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,215,0,0.8);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,215,0,0.5), 0 0 16px rgba(255,215,0,0.2);
  animation: festiveSparkle 2.5s ease-in-out infinite alternate;
}
.theme-decor__sparkle--1  { top: 8%;  left: 8%;  width: 5px; height: 5px; animation-delay: 0s; }
.theme-decor__sparkle--2  { top: 4%;  left: 20%; width: 4px; height: 4px; animation-delay: 0.5s; }
.theme-decor__sparkle--3  { top: 15%; left: 32%; width: 7px; height: 7px; animation-delay: 1.1s; }
.theme-decor__sparkle--4  { top: 6%;  left: 45%; width: 5px; height: 5px; animation-delay: 0.3s; }
.theme-decor__sparkle--5  { top: 12%; left: 58%; width: 4px; height: 4px; animation-delay: 0.8s; }
.theme-decor__sparkle--6  { top: 20%; left: 10%; width: 3px; height: 3px; animation-delay: 1.4s; }
.theme-decor__sparkle--7  { top: 18%; left: 48%; width: 5px; height: 5px; animation-delay: 0.6s; }
.theme-decor__sparkle--8  { top: 3%;  left: 72%; width: 4px; height: 4px; animation-delay: 1.8s; }
.theme-decor__sparkle--9  { top: 25%; left: 25%; width: 6px; height: 6px; animation-delay: 0.2s; }
.theme-decor__sparkle--10 { top: 10%; left: 85%; width: 5px; height: 5px; animation-delay: 1.0s; }
.theme-decor__sparkle--11 { top: 22%; left: 65%; width: 4px; height: 4px; animation-delay: 1.6s; }
.theme-decor__sparkle--12 { top: 28%; left: 40%; width: 3px; height: 3px; animation-delay: 0.7s; }
.theme-decor__sparkle--13 { top: 30%; left: 75%; width: 5px; height: 5px; animation-delay: 1.3s; }
.theme-decor__sparkle--14 { top: 5%;  left: 92%; width: 6px; height: 6px; animation-delay: 0.4s; }
.theme-decor__sparkle--15 { top: 16%; left: 5%;  width: 4px; height: 4px; animation-delay: 2.0s; }
.theme-decor__sparkle--16 { top: 26%; left: 88%; width: 3px; height: 3px; animation-delay: 0.9s; }

@keyframes festiveSparkle {
  0%   { opacity: 0.3; transform: scale(0.6); }
  100% { opacity: 1;   transform: scale(1.3); }
}

/* --- String lights across top --- */
.theme-decor__string-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45px;
  pointer-events: none;
}
/* The wire */
.theme-decor__string-lights::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0,0,0,0.15);
}
/* Bulb styling */
.theme-decor__bulb {
  position: absolute;
  top: 10px;
  width: 10px;
  height: 14px;
  border-radius: 0 0 50% 50%;
  animation: bulbGlow 2s ease-in-out infinite alternate;
  box-shadow: 0 2px 8px currentColor;
}
.theme-decor__bulb::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 5px;
  background: rgba(0,0,0,0.2);
  border-radius: 2px 2px 0 0;
}
.theme-decor__bulb--1  { left: 5%;  background: rgba(255,215,0,0.85);  color: rgba(255,215,0,0.4); animation-delay: 0s; }
.theme-decor__bulb--2  { left: 12%; background: rgba(255,80,80,0.85);  color: rgba(255,80,80,0.4); animation-delay: 0.3s; }
.theme-decor__bulb--3  { left: 19%; background: rgba(80,200,120,0.85); color: rgba(80,200,120,0.4); animation-delay: 0.6s; }
.theme-decor__bulb--4  { left: 26%; background: rgba(100,150,255,0.8); color: rgba(100,150,255,0.4); animation-delay: 0.9s; }
.theme-decor__bulb--5  { left: 33%; background: rgba(255,165,0,0.85);  color: rgba(255,165,0,0.4); animation-delay: 1.2s; }
.theme-decor__bulb--6  { left: 40%; background: rgba(200,80,200,0.8);  color: rgba(200,80,200,0.4); animation-delay: 0.2s; }
.theme-decor__bulb--7  { left: 47%; background: rgba(255,215,0,0.85);  color: rgba(255,215,0,0.4); animation-delay: 0.7s; }
.theme-decor__bulb--8  { left: 54%; background: rgba(255,80,80,0.85);  color: rgba(255,80,80,0.4); animation-delay: 1s; }
.theme-decor__bulb--9  { left: 61%; background: rgba(80,200,120,0.85); color: rgba(80,200,120,0.4); animation-delay: 0.4s; }
.theme-decor__bulb--10 { left: 68%; background: rgba(100,150,255,0.8); color: rgba(100,150,255,0.4); animation-delay: 1.3s; }
.theme-decor__bulb--11 { left: 75%; background: rgba(255,165,0,0.85);  color: rgba(255,165,0,0.4); animation-delay: 0.5s; }
.theme-decor__bulb--12 { left: 82%; background: rgba(200,80,200,0.8);  color: rgba(200,80,200,0.4); animation-delay: 0.8s; }
.theme-decor__bulb--13 { left: 89%; background: rgba(255,215,0,0.85);  color: rgba(255,215,0,0.4); animation-delay: 1.1s; }
.theme-decor__bulb--14 { left: 96%; background: rgba(255,80,80,0.85);  color: rgba(255,80,80,0.4); animation-delay: 0.1s; }

@keyframes bulbGlow {
  0%   { opacity: 0.6; box-shadow: 0 2px 4px currentColor; }
  100% { opacity: 1;   box-shadow: 0 2px 12px currentColor, 0 0 20px currentColor; }
}

/* --- Gold shimmer line at bottom (above 60px wave) --- */
.theme-decor__gold-border {
  position: absolute;
  bottom: 57px;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,215,0,0.3) 10%,
    rgba(255,215,0,0.6) 30%,
    rgba(255,200,50,0.7) 50%,
    rgba(255,215,0,0.6) 70%,
    rgba(255,215,0,0.3) 90%,
    transparent
  );
  box-shadow: 0 0 8px rgba(255,215,0,0.3);
}

/* --- Falling confetti (refined) --- */
.theme-decor__confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.theme-decor__confetti span {
  position: absolute;
  top: -8%;
  display: inline-block;
  opacity: 0;
  animation: confettiFall linear infinite;
}
.theme-decor__confetti span:nth-child(1)  { left: 4%;  background: rgba(255,215,0,0.8);   width: 6px; height: 6px; border-radius: 50%; animation-duration: 7s;  animation-delay: 0s; }
.theme-decor__confetti span:nth-child(2)  { left: 12%; background: rgba(255,80,80,0.75);  width: 8px; height: 4px; border-radius: 1px; animation-duration: 9s;  animation-delay: 1s; }
.theme-decor__confetti span:nth-child(3)  { left: 20%; background: rgba(255,215,0,0.7);   width: 5px; height: 8px; border-radius: 1px; animation-duration: 8s;  animation-delay: 2.5s; }
.theme-decor__confetti span:nth-child(4)  { left: 28%; background: rgba(255,180,200,0.75); width: 7px; height: 7px; border-radius: 50%; animation-duration: 10s; animation-delay: 0.5s; }
.theme-decor__confetti span:nth-child(5)  { left: 36%; background: rgba(100,200,255,0.7); width: 6px; height: 4px; border-radius: 1px; animation-duration: 8s;  animation-delay: 3.5s; }
.theme-decor__confetti span:nth-child(6)  { left: 44%; background: rgba(255,215,0,0.75);  width: 4px; height: 6px; border-radius: 1px; animation-duration: 11s; animation-delay: 1.8s; }
.theme-decor__confetti span:nth-child(7)  { left: 52%; background: rgba(255,100,100,0.7); width: 7px; height: 5px; border-radius: 1px; animation-duration: 9s;  animation-delay: 4s; }
.theme-decor__confetti span:nth-child(8)  { left: 60%; background: rgba(255,200,50,0.8);  width: 5px; height: 5px; border-radius: 50%; animation-duration: 7s;  animation-delay: 0.8s; }
.theme-decor__confetti span:nth-child(9)  { left: 68%; background: rgba(200,100,255,0.65); width: 8px; height: 3px; border-radius: 1px; animation-duration: 10s; animation-delay: 2s; }
.theme-decor__confetti span:nth-child(10) { left: 76%; background: rgba(255,215,0,0.7);   width: 6px; height: 7px; border-radius: 1px; animation-duration: 8s;  animation-delay: 3s; }
.theme-decor__confetti span:nth-child(11) { left: 84%; background: rgba(255,80,80,0.7);   width: 5px; height: 5px; border-radius: 50%; animation-duration: 9s;  animation-delay: 5s; }
.theme-decor__confetti span:nth-child(12) { left: 92%; background: rgba(80,200,120,0.7);  width: 7px; height: 4px; border-radius: 1px; animation-duration: 11s; animation-delay: 1.2s; }
.theme-decor__confetti span:nth-child(13) { left: 16%; background: rgba(255,200,50,0.75); width: 4px; height: 7px; border-radius: 1px; animation-duration: 8s;  animation-delay: 4.5s; }
.theme-decor__confetti span:nth-child(14) { left: 55%; background: rgba(255,150,200,0.7); width: 6px; height: 6px; border-radius: 50%; animation-duration: 10s; animation-delay: 2.8s; }

@keyframes confettiFall {
  0%   { top: -8%; transform: translateX(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.8; }
  25%  { transform: translateX(12px) rotate(90deg); }
  50%  { transform: translateX(-8px) rotate(200deg); }
  75%  { transform: translateX(6px) rotate(300deg); }
  92%  { opacity: 0.5; }
  100% { top: 100%; transform: translateX(-3px) rotate(380deg); opacity: 0; }
}

/* --- Festive mobile --- */
@media (max-width: 768px) {
  .theme-decor__sparkle { width: 3px !important; height: 3px !important; }
  .theme-decor__sparkle--9, .theme-decor__sparkle--10, .theme-decor__sparkle--11,
  .theme-decor__sparkle--12, .theme-decor__sparkle--13, .theme-decor__sparkle--14,
  .theme-decor__sparkle--15, .theme-decor__sparkle--16 { display: none; }
  .theme-decor__bulb { width: 7px; height: 10px; }
  .theme-decor__bulb--13, .theme-decor__bulb--14 { display: none; }
  .theme-decor__confetti span:nth-child(n+9) { display: none; }
}


/* ===============  MINIMAL THEME  =============== */

/* --- Minimal colour overrides --- */
[data-theme="minimal"] .page-header {
  background: linear-gradient(135deg, #0a0a0a 0%, #141414 40%, #1a1a1a 100%) !important;
}
[data-theme="minimal"] .page-header__title {
  color: #f0ece6;
  letter-spacing: 0.18em;
  font-weight: 300;
}
[data-theme="minimal"] .page-header__wave path {
  fill: var(--clr-bg, #1a1a2e);
}

/* --- Slow-spin keyframes --- */
@keyframes minSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes minSpinReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}
@keyframes minPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.6; }
}

/* --- Thin centre line with spinning diamond --- */
.theme-decor__min-line {
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  z-index: 1;
}
.theme-decor__min-diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  animation: minSpin 12s linear infinite;
  transform-origin: center center;
  margin-top: -6px;
  margin-left: -6px;
  z-index: 2;
}

/* --- Floating geometric shapes with rotation --- */
.theme-decor__min-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.theme-decor__min-circle--1 {
  top: 18%; left: 8%; width: 50px; height: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  animation: minPulse 5s ease-in-out infinite;
}
.theme-decor__min-circle--2 {
  top: 20%; right: 10%; width: 60px; height: 60px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  animation: minPulse 7s ease-in-out infinite 1s;
}

.theme-decor__min-square {
  position: absolute;
  z-index: 1;
}
.theme-decor__min-square--1 {
  top: 28%; left: 18%; width: 24px; height: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  animation: minSpin 20s linear infinite;
}
.theme-decor__min-square--2 {
  bottom: 85px; right: 12%; width: 20px; height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  animation: minSpinReverse 25s linear infinite;
}
.theme-decor__min-square--3 {
  top: 20%; right: 28%; width: 16px; height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: minSpin 18s linear infinite;
}

/* --- Corner accents --- */
.theme-decor__min-corner {
  position: absolute;
  width: 35px;
  height: 35px;
  z-index: 1;
}
.theme-decor__min-corner--tl {
  top: 10%; left: 4%;
  border-top: 1.5px solid rgba(255, 255, 255, 0.3);
  border-left: 1.5px solid rgba(255, 255, 255, 0.3);
}
.theme-decor__min-corner--tr {
  top: 10%; right: 4%;
  border-top: 1.5px solid rgba(255, 255, 255, 0.3);
  border-right: 1.5px solid rgba(255, 255, 255, 0.3);
}
.theme-decor__min-corner--bl {
  bottom: 70px; left: 4%;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  border-left: 1.5px solid rgba(255, 255, 255, 0.3);
}
.theme-decor__min-corner--br {
  bottom: 70px; right: 4%;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  border-right: 1.5px solid rgba(255, 255, 255, 0.3);
}

/* --- Dots row --- */
.theme-decor__min-dots {
  position: absolute;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 1;
}
.theme-decor__min-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

/* --- Subtle crosses with pulse --- */
.theme-decor__min-cross {
  position: absolute;
  z-index: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 100;
  line-height: 1;
  animation: minPulse 6s ease-in-out infinite;
}
.theme-decor__min-cross--1 { top: 40%; left: 6%; }
.theme-decor__min-cross--2 { top: 16%; left: 35%; font-size: 10px; animation-delay: 2s; }
.theme-decor__min-cross--3 { bottom: 100px; right: 8%; font-size: 12px; animation-delay: 4s; }
.theme-decor__min-cross--4 { top: 30%; right: 20%; font-size: 10px; animation-delay: 3s; }

/* --- Minimal mobile --- */
@media (max-width: 768px) {
  .theme-decor__min-circle--2,
  .theme-decor__min-square--2, .theme-decor__min-square--3,
  .theme-decor__min-cross--2, .theme-decor__min-cross--4 { display: none; }
  .theme-decor__min-corner { width: 22px; height: 22px; }
  .theme-decor__min-dots { gap: 8px; }
}


/* ===============  ROYAL THEME  =============== */

/* --- Royal colour overrides --- */
[data-theme="royal"] .page-header {
  background: linear-gradient(135deg, #0a1a0f 0%, #0f2818 35%, #163d20 70%, #1a4a28 100%) !important;
}
[data-theme="royal"] .page-header__title {
  color: #f5e6c8;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4), 0 0 30px rgba(212, 175, 55, 0.15);
}
[data-theme="royal"] .page-header__wave path {
  fill: var(--clr-bg, #1a1a2e);
}

/* --- Royal keyframes --- */
@keyframes royalShimmer {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}

/* --- Damask pattern overlay (SVG tile) --- */
.theme-decor__royal-damask {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url('/assets/decor/royal-damask.svg');
  background-size: 100px 100px;
  background-repeat: repeat;
}

/* --- Gold vignette glow edges --- */
.theme-decor__royal-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    inset 0   6px 40px rgba(212, 175, 55, 0.15),
    inset 0  -6px 40px rgba(212, 175, 55, 0.10),
    inset  6px 0  35px rgba(212, 175, 55, 0.08),
    inset -6px 0  35px rgba(212, 175, 55, 0.08);
}

/* --- Scrollwork top border (SVG repeating strip) --- */
.theme-decor__royal-top-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 42px;
  z-index: 3;
  pointer-events: none;
  background-image: url('/assets/decor/royal-border-h.svg');
  background-size: 200px 42px;
  background-repeat: repeat-x;
  opacity: 0.85;
}

/* --- Scrollwork bottom border (flipped) --- */
.theme-decor__royal-bottom-border {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
  height: 42px;
  z-index: 3;
  pointer-events: none;
  background-image: url('/assets/decor/royal-border-h.svg');
  background-size: 200px 42px;
  background-repeat: repeat-x;
  transform: scaleY(-1);
  opacity: 0.85;
}

/* --- Corner flourishes (SVG images) --- */
.theme-decor__royal-corner {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  line-height: 0;
}
.theme-decor__royal-corner img {
  width: 100%;
  height: 100%;
  display: block;
}
.theme-decor__royal-corner--tl {
  top: 38px;
  left: 2%;
  width: 120px;
  height: 120px;
}
.theme-decor__royal-corner--tr {
  top: 38px;
  right: 2%;
  width: 120px;
  height: 120px;
  transform: scaleX(-1);
}
.theme-decor__royal-corner--bl {
  bottom: 92px;
  left: 2%;
  width: 120px;
  height: 120px;
  transform: scaleY(-1);
}
.theme-decor__royal-corner--br {
  bottom: 92px;
  right: 2%;
  width: 120px;
  height: 120px;
  transform: scale(-1, -1);
}

/* --- Gold filigree (horizontal centre dividers) --- */
.theme-decor__royal-filigree {
  position: absolute;
  top: 50%;
  height: 1.5px;
  z-index: 1;
}
.theme-decor__royal-filigree--left {
  left: 12%;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55));
}
.theme-decor__royal-filigree--right {
  right: 12%;
  width: 22%;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.55), transparent);
}
.theme-decor__royal-filigree::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  border-radius: 50%;
  top: -4px;
}
.theme-decor__royal-filigree--left::before  { right: -4px; }
.theme-decor__royal-filigree--right::before { left: -4px; }

/* Centre diamond between filigree */
.theme-decor__royal-centre-diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 12px;
  height: 12px;
  border: 2px solid rgba(212, 175, 55, 0.55);
  z-index: 2;
}
.theme-decor__royal-centre-diamond::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: rgba(212, 175, 55, 0.3);
}

/* --- Shimmering gems --- */
.theme-decor__royal-gem {
  position: absolute;
  z-index: 1;
  animation: royalShimmer 3s ease-in-out infinite;
}
.theme-decor__royal-gem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(212, 175, 55, 0.65);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}
.theme-decor__royal-gem--1  { top: 28%; left: 18%; width: 7px; height: 7px; animation-delay: 0s; }
.theme-decor__royal-gem--2  { top: 28%; right: 18%; width: 7px; height: 7px; animation-delay: 0.7s; }
.theme-decor__royal-gem--3  { top: 62%; left: 18%; width: 6px; height: 6px; animation-delay: 1.4s; }
.theme-decor__royal-gem--4  { top: 62%; right: 18%; width: 6px; height: 6px; animation-delay: 2s; }
.theme-decor__royal-gem--5  { top: 45%; left: 40%; width: 5px; height: 5px; animation-delay: 0.4s; }
.theme-decor__royal-gem--6  { top: 45%; right: 40%; width: 5px; height: 5px; animation-delay: 1.1s; }

/* --- Royal mobile --- */
@media (max-width: 768px) {
  .theme-decor__royal-top-border,
  .theme-decor__royal-bottom-border { height: 30px; background-size: 150px 30px; }
  .theme-decor__royal-corner { width: 80px !important; height: 80px !important; }
  .theme-decor__royal-corner--bl,
  .theme-decor__royal-corner--br { display: none; }
  .theme-decor__royal-filigree { width: 16% !important; }
  .theme-decor__royal-gem--3, .theme-decor__royal-gem--4,
  .theme-decor__royal-gem--5, .theme-decor__royal-gem--6 { display: none; }
  .theme-decor__royal-damask { opacity: 0.08; background-size: 80px 80px; }
}


/* ===============  DIWALI THEME  =============== */

/* --- Diwali colour overrides --- */
[data-theme="diwali"] .page-header {
  background: linear-gradient(160deg, #0a0510 0%, #140a28 25%, #1c0e30 50%, #0f0820 75%, #0a0510 100%) !important;
  overflow: hidden;
}
[data-theme="diwali"] .page-header__title {
  color: #fff;
  text-shadow:
    0 0 20px rgba(255, 180, 50, 0.6),
    0 0 60px rgba(255, 140, 0, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 5;
}
[data-theme="diwali"] .page-header__subtitle,
[data-theme="diwali"] .page-header__breadcrumb,
[data-theme="diwali"] .page-header__breadcrumb a {
  color: rgba(255, 230, 180, 0.85);
  position: relative;
  z-index: 5;
}
[data-theme="diwali"] .page-header__wave path {
  fill: var(--clr-bg, #1a1a2e);
}

/* --- Diwali keyframes --- */
@keyframes diwaliFlicker {
  0%, 100% { opacity: 0.75; transform: scaleY(1) scaleX(1); }
  10%      { opacity: 1;    transform: scaleY(1.1) scaleX(0.9); }
  30%      { opacity: 0.85; transform: scaleY(0.95) scaleX(1.05); }
  50%      { opacity: 1;    transform: scaleY(1.08) scaleX(0.92); }
  70%      { opacity: 0.9;  transform: scaleY(0.97) scaleX(1.03); }
  90%      { opacity: 0.95; transform: scaleY(1.05) scaleX(0.95); }
}
@keyframes diwaliPulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.15); }
}
@keyframes diwaliFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes diwaliSparkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(180deg); }
}
@keyframes diwaliBokeh {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(1.1); }
}

/* firework trail rise */
@keyframes fwRise {
  0%   { height: 0; opacity: 0; }
  20%  { opacity: 1; }
  100% { height: 1px; opacity: 0; }
}
/* string-light twinkle */
@keyframes stringTwinkle {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* --- Warm ambient lighting (realistic bokeh) --- */
.theme-decor__diwali-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 25% 40% at 15% 75%, rgba(255, 140, 20, 0.12), transparent),
    radial-gradient(ellipse 25% 40% at 85% 75%, rgba(255, 140, 20, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 50% 90%, rgba(255, 120, 0, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 180, 50, 0.04), transparent);
}

/* --- Bokeh light circles (realistic out-of-focus lights) --- */
.theme-decor__diwali-bokeh {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: diwaliBokeh 4s ease-in-out infinite;
}
.theme-decor__diwali-bokeh--1  { width: 60px; height: 60px; top: 8%; left: 5%; background: radial-gradient(circle, rgba(255, 180, 50, 0.25), transparent 70%); animation-delay: 0s; }
.theme-decor__diwali-bokeh--2  { width: 45px; height: 45px; top: 15%; right: 10%; background: radial-gradient(circle, rgba(255, 140, 0, 0.2), transparent 70%); animation-delay: 1s; }
.theme-decor__diwali-bokeh--3  { width: 70px; height: 70px; top: 25%; left: 20%; background: radial-gradient(circle, rgba(255, 200, 80, 0.18), transparent 70%); animation-delay: 2s; }
.theme-decor__diwali-bokeh--4  { width: 35px; height: 35px; top: 12%; left: 45%; background: radial-gradient(circle, rgba(255, 160, 30, 0.22), transparent 70%); animation-delay: 0.5s; }
.theme-decor__diwali-bokeh--5  { width: 50px; height: 50px; top: 30%; right: 5%; background: radial-gradient(circle, rgba(255, 200, 100, 0.2), transparent 70%); animation-delay: 1.5s; }
.theme-decor__diwali-bokeh--6  { width: 40px; height: 40px; top: 5%; right: 30%; background: radial-gradient(circle, rgba(255, 150, 40, 0.18), transparent 70%); animation-delay: 2.5s; }
.theme-decor__diwali-bokeh--7  { width: 55px; height: 55px; top: 40%; left: 8%; background: radial-gradient(circle, rgba(255, 170, 60, 0.15), transparent 70%); animation-delay: 3s; }
.theme-decor__diwali-bokeh--8  { width: 30px; height: 30px; top: 35%; right: 22%; background: radial-gradient(circle, rgba(255, 190, 70, 0.2), transparent 70%); animation-delay: 0.8s; }

/* --- Diya (oil lamp) — realistic --- */
.theme-decor__diwali-diya {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
/* Lamp body — terracotta bowl */
.theme-decor__diwali-diya::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 12px;
  background: linear-gradient(to bottom, #d4920e, #b07008, #8a5506);
  border-radius: 3px 3px 50% 50%;
  box-shadow:
    0 2px 8px rgba(200, 134, 10, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}
/* Flame — realistic shape */
.theme-decor__diwali-diya::after {
  content: '';
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 18px;
  background:
    radial-gradient(ellipse at 50% 90%, #fff8e0 0%, #ffcc33 25%, #ff8800 50%, #ff4400 70%, transparent 100%);
  border-radius: 50% 50% 20% 20%;
  animation: diwaliFlicker 1.5s ease-in-out infinite;
  filter: blur(0.5px);
}
/* Warm light pool under diya */
.theme-decor__diwali-diya-halo {
  position: absolute;
  width: 80px;
  height: 40px;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 150, 30, 0.25), rgba(255, 120, 0, 0.08) 50%, transparent 80%);
  animation: diwaliPulseGlow 3s ease-in-out infinite;
  pointer-events: none;
}

.theme-decor__diwali-diya--1 { bottom: 60px; left: 5%; }
.theme-decor__diwali-diya--1::after { animation-delay: 0s; }
.theme-decor__diwali-diya--1 .theme-decor__diwali-diya-halo { animation-delay: 0s; }

.theme-decor__diwali-diya--2 { bottom: 60px; right: 5%; }
.theme-decor__diwali-diya--2::after { animation-delay: 0.4s; }
.theme-decor__diwali-diya--2 .theme-decor__diwali-diya-halo { animation-delay: 0.4s; }

.theme-decor__diwali-diya--3 { bottom: 60px; left: 22%; }
.theme-decor__diwali-diya--3::after { animation-delay: 0.8s; }
.theme-decor__diwali-diya--3 .theme-decor__diwali-diya-halo { animation-delay: 0.8s; }

.theme-decor__diwali-diya--4 { bottom: 60px; right: 22%; }
.theme-decor__diwali-diya--4::after { animation-delay: 1.2s; }
.theme-decor__diwali-diya--4 .theme-decor__diwali-diya-halo { animation-delay: 1.2s; }

.theme-decor__diwali-diya--5 { bottom: 60px; left: 50%; transform: translateX(-50%); }
.theme-decor__diwali-diya--5::after { animation-delay: 0.6s; }
.theme-decor__diwali-diya--5 .theme-decor__diwali-diya-halo { animation-delay: 0.6s; }

.theme-decor__diwali-diya--6 { bottom: 60px; left: 12%; }
.theme-decor__diwali-diya--6::after { animation-delay: 0.3s; }
.theme-decor__diwali-diya--6 .theme-decor__diwali-diya-halo { animation-delay: 0.3s; }

.theme-decor__diwali-diya--7 { bottom: 60px; right: 12%; }
.theme-decor__diwali-diya--7::after { animation-delay: 0.9s; }
.theme-decor__diwali-diya--7 .theme-decor__diwali-diya-halo { animation-delay: 0.9s; }

.theme-decor__diwali-diya--8 { bottom: 60px; left: 36%; }
.theme-decor__diwali-diya--8::after { animation-delay: 1.4s; }
.theme-decor__diwali-diya--8 .theme-decor__diwali-diya-halo { animation-delay: 1.4s; }

.theme-decor__diwali-diya--9 { bottom: 60px; right: 36%; }
.theme-decor__diwali-diya--9::after { animation-delay: 1.0s; }
.theme-decor__diwali-diya--9 .theme-decor__diwali-diya-halo { animation-delay: 1.0s; }

/* --- String lights (fairy lights across top) --- */
.theme-decor__diwali-string {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 2;
  pointer-events: none;
}
.theme-decor__diwali-string-wire {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 200, 100, 0.1);
  border-radius: 50%;
}
.theme-decor__diwali-string-bulb {
  position: absolute;
  width: 8px;
  height: 10px;
  top: 16px;
  border-radius: 50% 50% 45% 45%;
  animation: stringTwinkle 2s ease-in-out infinite;
}
.theme-decor__diwali-string-bulb::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: -5px;
  left: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor, transparent 70%);
  opacity: 0.3;
}
.theme-decor__diwali-string-bulb--1  { left: 6%;  background: #ffcc00; color: rgba(255, 204, 0, 0.4); animation-delay: 0s; }
.theme-decor__diwali-string-bulb--2  { left: 14%; background: #ff6600; color: rgba(255, 102, 0, 0.4); animation-delay: 0.3s; }
.theme-decor__diwali-string-bulb--3  { left: 22%; background: #ff3366; color: rgba(255, 51, 102, 0.4); animation-delay: 0.6s; }
.theme-decor__diwali-string-bulb--4  { left: 30%; background: #00cc66; color: rgba(0, 204, 102, 0.4); animation-delay: 0.9s; }
.theme-decor__diwali-string-bulb--5  { left: 38%; background: #ffcc00; color: rgba(255, 204, 0, 0.4); animation-delay: 1.2s; }
.theme-decor__diwali-string-bulb--6  { left: 46%; background: #ff6600; color: rgba(255, 102, 0, 0.4); animation-delay: 0.2s; }
.theme-decor__diwali-string-bulb--7  { left: 54%; background: #ff3366; color: rgba(255, 51, 102, 0.4); animation-delay: 0.5s; }
.theme-decor__diwali-string-bulb--8  { left: 62%; background: #00cc66; color: rgba(0, 204, 102, 0.4); animation-delay: 0.8s; }
.theme-decor__diwali-string-bulb--9  { left: 70%; background: #ffcc00; color: rgba(255, 204, 0, 0.4); animation-delay: 1.1s; }
.theme-decor__diwali-string-bulb--10 { left: 78%; background: #ff6600; color: rgba(255, 102, 0, 0.4); animation-delay: 0.4s; }
.theme-decor__diwali-string-bulb--11 { left: 86%; background: #ff3366; color: rgba(255, 51, 102, 0.4); animation-delay: 0.7s; }
.theme-decor__diwali-string-bulb--12 { left: 94%; background: #00cc66; color: rgba(0, 204, 102, 0.4); animation-delay: 1.0s; }

/* --- Fireworks (JS-driven, styles only) --- */
.theme-decor__diwali-fw-trail {
  position: absolute;
  width: 2px;
  z-index: 3;
  pointer-events: none;
  border-radius: 1px;
  opacity: 0;
}
.theme-decor__diwali-fw-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
}
.theme-decor__diwali-fw-glow {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

/* --- Gold ornamental borders --- */
.theme-decor__diwali-border-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 4;
  background: linear-gradient(90deg,
    transparent 2%, rgba(255, 180, 50, 0.6) 20%, rgba(255, 200, 80, 1) 50%, rgba(255, 180, 50, 0.6) 80%, transparent 98%);
  box-shadow: 0 2px 12px rgba(255, 160, 30, 0.3);
}
.theme-decor__diwali-border-bottom {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 4;
  background: linear-gradient(90deg,
    transparent 5%, rgba(255, 170, 50, 0.4) 20%, rgba(255, 180, 60, 0.7) 50%, rgba(255, 170, 50, 0.4) 80%, transparent 95%);
  box-shadow: 0 -2px 10px rgba(255, 140, 0, 0.15);
}

/* --- Sparkle stars (twinkling) --- */
.theme-decor__diwali-sparkle {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.theme-decor__diwali-sparkle::before,
.theme-decor__diwali-sparkle::after {
  content: '';
  position: absolute;
  background: #fff5d0;
  border-radius: 50%;
}
/* Horizontal bar of cross */
.theme-decor__diwali-sparkle::before {
  width: 8px; height: 2px;
  top: 3px; left: 0;
  box-shadow: 0 0 8px rgba(255, 230, 150, 0.8);
  animation: diwaliSparkle 2.5s ease-in-out infinite;
}
/* Vertical bar of cross */
.theme-decor__diwali-sparkle::after {
  width: 2px; height: 8px;
  top: 0; left: 3px;
  box-shadow: 0 0 8px rgba(255, 230, 150, 0.8);
  animation: diwaliSparkle 2.5s ease-in-out infinite;
}
.theme-decor__diwali-sparkle--1  { top: 20%; left: 18%; }
.theme-decor__diwali-sparkle--1::before, .theme-decor__diwali-sparkle--1::after  { animation-delay: 0s; }
.theme-decor__diwali-sparkle--2  { top: 10%; right: 20%; }
.theme-decor__diwali-sparkle--2::before, .theme-decor__diwali-sparkle--2::after  { animation-delay: 0.4s; }
.theme-decor__diwali-sparkle--3  { top: 35%; left: 4%; }
.theme-decor__diwali-sparkle--3::before, .theme-decor__diwali-sparkle--3::after  { animation-delay: 0.8s; }
.theme-decor__diwali-sparkle--4  { top: 28%; right: 6%; }
.theme-decor__diwali-sparkle--4::before, .theme-decor__diwali-sparkle--4::after  { animation-delay: 1.2s; }
.theme-decor__diwali-sparkle--5  { top: 50%; left: 12%; }
.theme-decor__diwali-sparkle--5::before, .theme-decor__diwali-sparkle--5::after  { animation-delay: 0.2s; }
.theme-decor__diwali-sparkle--6  { top: 45%; right: 10%; }
.theme-decor__diwali-sparkle--6::before, .theme-decor__diwali-sparkle--6::after  { animation-delay: 0.6s; }
.theme-decor__diwali-sparkle--7  { top: 15%; left: 55%; }
.theme-decor__diwali-sparkle--7::before, .theme-decor__diwali-sparkle--7::after  { animation-delay: 1.0s; }
.theme-decor__diwali-sparkle--8  { top: 38%; right: 35%; }
.theme-decor__diwali-sparkle--8::before, .theme-decor__diwali-sparkle--8::after  { animation-delay: 1.4s; }

/* --- Diwali mobile --- */
@media (max-width: 768px) {
  .theme-decor__diwali-diya--3, .theme-decor__diwali-diya--4,
  .theme-decor__diwali-diya--5, .theme-decor__diwali-diya--6,
  .theme-decor__diwali-diya--7, .theme-decor__diwali-diya--8,
  .theme-decor__diwali-diya--9 { display: none; }
  .theme-decor__diwali-bokeh--5, .theme-decor__diwali-bokeh--6,
  .theme-decor__diwali-bokeh--7, .theme-decor__diwali-bokeh--8 { display: none; }
  .theme-decor__diwali-sparkle--5, .theme-decor__diwali-sparkle--6,
  .theme-decor__diwali-sparkle--7, .theme-decor__diwali-sparkle--8 { display: none; }
  .theme-decor__diwali-string-bulb--5, .theme-decor__diwali-string-bulb--6,
  .theme-decor__diwali-string-bulb--7, .theme-decor__diwali-string-bulb--8,
  .theme-decor__diwali-string-bulb--9, .theme-decor__diwali-string-bulb--10,
  .theme-decor__diwali-string-bulb--11, .theme-decor__diwali-string-bulb--12 { display: none; }
}


/* ===============  HOLI THEME  =============== */

/* --- Holi colour overrides --- */
[data-theme="holi"] .page-header {
  background: linear-gradient(160deg, #1a0a2e 0%, #0d0d2b 40%, #1a1a3e 100%) !important;
  overflow: hidden;
}
[data-theme="holi"] .page-header__title {
  color: #fff;
  text-shadow:
    0 0 30px rgba(255, 50, 150, 0.5),
    0 0 60px rgba(255, 200, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 5;
}
[data-theme="holi"] .page-header__subtitle,
[data-theme="holi"] .page-header__breadcrumb,
[data-theme="holi"] .page-header__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 5;
}
[data-theme="holi"] .page-header__wave path {
  fill: var(--clr-bg, #1a1a2e);
}

/* --- Holi keyframes --- */
@keyframes holiDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(6px, -8px) scale(1.03); }
  50%      { transform: translate(-4px, -12px) scale(0.97); }
  75%      { transform: translate(8px, -5px) scale(1.02); }
}
@keyframes holiBurst {
  0%   { transform: scale(0.2); opacity: 0; }
  30%  { opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes holiFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50%      { transform: translateY(-15px) rotate(180deg); opacity: 1; }
}
@keyframes holiPulse {
  0%, 100% { opacity: 0.5; filter: blur(30px); }
  50%      { opacity: 0.8; filter: blur(40px); }
}
@keyframes holiStreak {
  0%   { transform: translateX(-100%) rotate(-15deg); opacity: 0; }
  15%  { opacity: 0.6; }
  100% { transform: translateX(200%) rotate(-15deg); opacity: 0; }
}

/* --- Big colour splashes (paint throws) --- */
.theme-decor__holi-splash {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: blur(25px);
  animation: holiDrift 8s ease-in-out infinite;
}

/* Magenta/pink */
.theme-decor__holi-splash--1 {
  width: 280px; height: 250px;
  top: -10%; left: -5%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 0, 128, 0.6), rgba(255, 50, 150, 0.2) 60%, transparent 80%);
  border-radius: 38% 62% 50% 50% / 55% 40% 60% 45%;
  animation-delay: 0s;
}
.theme-decor__holi-splash--2 {
  width: 200px; height: 180px;
  bottom: 60px; right: 8%;
  background: radial-gradient(ellipse at 55% 50%, rgba(230, 30, 120, 0.5), rgba(230, 30, 120, 0.15) 65%, transparent 80%);
  border-radius: 55% 45% 48% 52% / 42% 58% 42% 58%;
  animation-delay: -3s;
}

/* Bright yellow */
.theme-decor__holi-splash--3 {
  width: 260px; height: 230px;
  top: -5%; right: 5%;
  background: radial-gradient(ellipse at 45% 55%, rgba(255, 220, 0, 0.55), rgba(255, 180, 0, 0.15) 60%, transparent 80%);
  border-radius: 50% 50% 42% 58% / 58% 42% 55% 45%;
  animation-delay: -1s;
}
.theme-decor__holi-splash--4 {
  width: 160px; height: 140px;
  bottom: 70px; left: 18%;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 160, 0, 0.45), rgba(255, 160, 0, 0.1) 65%, transparent 80%);
  border-radius: 45% 55% 52% 48% / 50% 50% 50% 50%;
  animation-delay: -5s;
}

/* Vivid green */
.theme-decor__holi-splash--5 {
  width: 220px; height: 200px;
  top: 25%; left: 3%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 230, 120, 0.5), rgba(0, 200, 100, 0.15) 60%, transparent 80%);
  border-radius: 52% 48% 45% 55% / 45% 55% 48% 52%;
  animation-delay: -2s;
}
.theme-decor__holi-splash--6 {
  width: 180px; height: 160px;
  top: 10%; left: 40%;
  background: radial-gradient(ellipse at 45% 50%, rgba(50, 220, 100, 0.4), rgba(50, 180, 80, 0.1) 65%, transparent 80%);
  border-radius: 48% 52% 55% 45% / 52% 48% 45% 55%;
  animation-delay: -4s;
}

/* Electric blue/purple */
.theme-decor__holi-splash--7 {
  width: 250px; height: 220px;
  top: 20%; right: -2%;
  background: radial-gradient(ellipse at 55% 45%, rgba(100, 50, 255, 0.55), rgba(80, 50, 220, 0.15) 60%, transparent 80%);
  border-radius: 42% 58% 48% 52% / 55% 45% 52% 48%;
  animation-delay: -6s;
}
.theme-decor__holi-splash--8 {
  width: 190px; height: 170px;
  bottom: 50px; right: 25%;
  background: radial-gradient(ellipse at 50% 55%, rgba(0, 150, 255, 0.45), rgba(0, 130, 255, 0.1) 65%, transparent 80%);
  border-radius: 55% 45% 50% 50% / 48% 52% 48% 52%;
  animation-delay: -7s;
}

/* --- Paint streaks (diagonal colour streaks) --- */
.theme-decor__holi-streak {
  position: absolute;
  height: 6px;
  z-index: 2;
  pointer-events: none;
  border-radius: 4px;
  opacity: 0;
  animation: holiStreak 6s ease-in-out infinite;
}
.theme-decor__holi-streak--1 { top: 20%; left: 0; width: 180px; background: linear-gradient(90deg, transparent, #ff3282, transparent); animation-delay: 0s; }
.theme-decor__holi-streak--2 { top: 40%; left: 0; width: 220px; background: linear-gradient(90deg, transparent, #ffc800, transparent); animation-delay: 2s; height: 4px; }
.theme-decor__holi-streak--3 { top: 60%; left: 0; width: 160px; background: linear-gradient(90deg, transparent, #00e878, transparent); animation-delay: 4s; height: 5px; }
.theme-decor__holi-streak--4 { top: 35%; left: 0; width: 200px; background: linear-gradient(90deg, transparent, #6432ff, transparent); animation-delay: 1s; height: 3px; }

/* --- Powder burst particles --- */
.theme-decor__holi-burst {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
  animation: holiBurst 3s ease-out infinite;
}
.theme-decor__holi-burst--1  { top: 20%; left: 18%; width: 24px; height: 24px; background: rgba(255, 50, 130, 0.7); animation-delay: 0s; }
.theme-decor__holi-burst--2  { top: 12%; right: 22%; width: 20px; height: 20px; background: rgba(255, 200, 0, 0.7); animation-delay: 0.8s; }
.theme-decor__holi-burst--3  { top: 48%; left: 25%; width: 22px; height: 22px; background: rgba(0, 230, 120, 0.7); animation-delay: 1.6s; }
.theme-decor__holi-burst--4  { top: 30%; right: 15%; width: 18px; height: 18px; background: rgba(100, 50, 255, 0.7); animation-delay: 0.4s; }
.theme-decor__holi-burst--5  { bottom: 100px; left: 40%; width: 20px; height: 20px; background: rgba(0, 150, 255, 0.6); animation-delay: 1.2s; }
.theme-decor__holi-burst--6  { top: 55%; right: 38%; width: 16px; height: 16px; background: rgba(255, 100, 0, 0.6); animation-delay: 2s; }
.theme-decor__holi-burst--7  { top: 15%; left: 50%; width: 14px; height: 14px; background: rgba(255, 0, 200, 0.6); animation-delay: 2.4s; }
.theme-decor__holi-burst--8  { top: 65%; right: 12%; width: 18px; height: 18px; background: rgba(0, 255, 180, 0.6); animation-delay: 0.6s; }

/* --- Floating colour dots (powder in air) --- */
.theme-decor__holi-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  animation: holiFloat 4s ease-in-out infinite;
}
.theme-decor__holi-dot--1  { top: 10%; left: 30%; width: 8px; height: 8px; background: #ff3282; animation-delay: 0s; }
.theme-decor__holi-dot--2  { top: 25%; left: 52%; width: 7px; height: 7px; background: #ffc800; animation-delay: 0.5s; }
.theme-decor__holi-dot--3  { top: 15%; right: 35%; width: 6px; height: 6px; background: #00e878; animation-delay: 1s; }
.theme-decor__holi-dot--4  { top: 60%; left: 10%; width: 7px; height: 7px; background: #6432ff; animation-delay: 1.5s; }
.theme-decor__holi-dot--5  { top: 65%; right: 15%; width: 8px; height: 8px; background: #ff6400; animation-delay: 2s; }
.theme-decor__holi-dot--6  { top: 38%; left: 60%; width: 6px; height: 6px; background: #0096ff; animation-delay: 2.5s; }
.theme-decor__holi-dot--7  { bottom: 80px; left: 55%; width: 7px; height: 7px; background: #ff00c8; animation-delay: 3s; }
.theme-decor__holi-dot--8  { top: 42%; right: 45%; width: 5px; height: 5px; background: #00ffb4; animation-delay: 3.5s; }

/* --- Holi mobile --- */
@media (max-width: 768px) {
  .theme-decor__holi-splash { transform: scale(0.6); }
  .theme-decor__holi-splash--5, .theme-decor__holi-splash--6,
  .theme-decor__holi-splash--7, .theme-decor__holi-splash--8 { display: none; }
  .theme-decor__holi-streak--3, .theme-decor__holi-streak--4 { display: none; }
  .theme-decor__holi-burst--5, .theme-decor__holi-burst--6,
  .theme-decor__holi-burst--7, .theme-decor__holi-burst--8 { display: none; }
  .theme-decor__holi-dot--5, .theme-decor__holi-dot--6,
  .theme-decor__holi-dot--7, .theme-decor__holi-dot--8 { display: none; }
}


/* ========== Collection Detail Page ========== */

.collection__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
  gap: 12px;
}

.collection__count {
  font-size: 14px;
  color: var(--clr-text-muted);
  font-weight: 500;
}

.collection__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.collection__sort label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  font-weight: 600;
}

.collection__sort select {
  padding: 6px 12px;
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  background: var(--clr-surface);
  cursor: pointer;
}

.collection__empty {
  text-align: center;
  padding: var(--sp-3xl) var(--sp-lg);
  color: var(--clr-text-muted);
}

.collection__empty svg {
  margin-bottom: var(--sp-md);
  opacity: 0.3;
}

.collection__empty h3 {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  margin-bottom: var(--sp-sm);
  color: var(--clr-text);
}

.collection__empty p {
  font-size: 14px;
}

.collection__empty a {
  color: var(--clr-primary);
  text-decoration: underline;
}
