/* ==========================================================================
   INDORIGEM - ASLI SWAD INDORE KA
   Dynamic Indian Festival Theme System: Creative Cultural Torans & Hanging Floating Card
   Authentic Cultural Design • Handwritten English Note • Center Mini Toran Card
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Kalam:wght@400;700&family=Outfit:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. SEAMLESS HEADER & ANNOUNCEMENT BAR (Zero Extra Lines)
   -------------------------------------------------------------------------- */
.custom-header {
  position: fixed;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: none !important;
}

.launch-announcement-bar {
  position: relative !important;
  overflow: visible !important;
  border-top: none !important;
  border-bottom: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. HIGHLY CREATIVE CULTURAL TORANS (Hanging directly below Announcement Bar)
   -------------------------------------------------------------------------- */
.header-festival-toran {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  height: 36px;
  pointer-events: none;
  z-index: 1045;
  display: none;
  background-repeat: repeat-x;
  background-position: center top;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.16));
}

/* 1. DIWALI: Traditional Marigold Flowers (गेंदे के फूल) & Mango Leaves & Diyas */
[data-festival="diwali"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='28' viewBox='0 0 64 28'%3E%3Cpath d='M0 2 Q32 8 64 2' fill='none' stroke='%23B45309' stroke-width='2'/%3E%3Cpath d='M10 3 Q16 16 20 23 Q24 16 30 3 Z' fill='%2315803D'/%3E%3Cpath d='M34 3 Q40 16 44 23 Q48 16 54 3 Z' fill='%23166534'/%3E%3Ccircle cx='32' cy='9' r='8' fill='%23F59E0B'/%3E%3Ccircle cx='32' cy='9' r='5.5' fill='%23EA580C'/%3E%3Ccircle cx='32' cy='9' r='3' fill='%23FEF08A'/%3E%3Ccircle cx='0' cy='6' r='5' fill='%23F59E0B'/%3E%3Ccircle cx='64' cy='6' r='5' fill='%23F59E0B'/%3E%3Cline x1='32' y1='17' x2='32' y2='23' stroke='%23D97706' stroke-width='1.5'/%3E%3Ccircle cx='32' cy='24' r='2.5' fill='%23FBBF24'/%3E%3C/svg%3E");
}

/* 2. HOLI: Vibrant Tesu/Palash Blossoms, Gulal Matkis & Colorful Splashes */
[data-festival="holi"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='28' viewBox='0 0 88 28'%3E%3Cpath d='M0 3 Q44 9 88 3' fill='none' stroke='%23E11D48' stroke-width='2' stroke-dasharray='6,2'/%3E%3Cpath d='M0 3 Q44 9 88 3' fill='none' stroke='%23F59E0B' stroke-width='1'/%3E%3Ccircle cx='18' cy='12' r='7' fill='%23EC4899'/%3E%3Ccircle cx='16' cy='10' r='2.5' fill='%23FCE7F3'/%3E%3Cpath d='M18 17 C18 21, 20 25, 23 26 C20 24, 17 22, 16 19 Z' fill='%23F43F5E'/%3E%3Ccircle cx='44' cy='13' r='8' fill='%23F59E0B'/%3E%3Ccircle cx='44' cy='13' r='5.5' fill='%23D97706'/%3E%3Ccircle cx='42' cy='11' r='2' fill='%23FEF3C7'/%3E%3Cpath d='M41 2 L47 2 L46 8 L42 8 Z' fill='%23B45309'/%3E%3Cline x1='44' y1='21' x2='44' y2='26' stroke='%23B45309' stroke-width='1.5'/%3E%3Ccircle cx='44' cy='26' r='2' fill='%23FBBF24'/%3E%3Ccircle cx='70' cy='12' r='7' fill='%238B5CF6'/%3E%3Ccircle cx='68' cy='10' r='2.5' fill='%23EDE9FE'/%3E%3Cpath d='M70 17 C70 21, 72 25, 75 26 C72 24, 69 22, 68 19 Z' fill='%2306B6D4'/%3E%3C/svg%3E");
}

/* 3. RAKSHA BANDHAN: Royal Silk Mouli Dhaaga, Hanging Rakhis on Silk Strings with Pearls & Ghungroos */
[data-festival="rakshabandhan"] .header-festival-toran,
[data-festival="rakhi"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='36' viewBox='0 0 96 36'%3E%3Cpath d='M0 4 Q48 11 96 4' fill='none' stroke='%23DC2626' stroke-width='2.2' stroke-dasharray='5,2'/%3E%3Cpath d='M0 4 Q48 11 96 4' fill='none' stroke='%23F59E0B' stroke-width='1.2'/%3E%3Cline x1='24' y1='6' x2='24' y2='14' stroke='%23DC2626' stroke-width='1.5'/%3E%3Ccircle cx='24' cy='10' r='2' fill='%23FBBF24'/%3E%3Ccircle cx='24' cy='18' r='6' fill='%23FBBF24' stroke='%23B45309' stroke-width='0.8'/%3E%3Ccircle cx='24' cy='18' r='4' fill='%23BE123C'/%3E%3Ccircle cx='24' cy='18' r='1.8' fill='%23FEF08A'/%3E%3Cpath d='M17 18 Q12 20 8 18' fill='none' stroke='%23DC2626' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='18' r='1.2' fill='%23FBBF24'/%3E%3Cpath d='M31 18 Q36 20 40 18' fill='none' stroke='%23DC2626' stroke-width='1.2'/%3E%3Ccircle cx='40' cy='18' r='1.2' fill='%23FBBF24'/%3E%3Cline x1='24' y1='24' x2='24' y2='34' stroke='%23B45309' stroke-width='1.4'/%3E%3Ccircle cx='24' cy='30' r='1.8' fill='%23FBBF24'/%3E%3Ccircle cx='24' cy='35' r='1.5' fill='%23DC2626'/%3E%3Cpath d='M21 23 Q19 28 18 33' fill='none' stroke='%23DC2626' stroke-width='1'/%3E%3Ccircle cx='18' cy='33' r='1.3' fill='%23F59E0B'/%3E%3Cpath d='M27 23 Q29 28 30 33' fill='none' stroke='%23DC2626' stroke-width='1'/%3E%3Ccircle cx='30' cy='33' r='1.3' fill='%23F59E0B'/%3E%3Cline x1='48' y1='11' x2='48' y2='22' stroke='%23D97706' stroke-width='1.5'/%3E%3Ccircle cx='48' cy='16' r='2.5' fill='%23FBBF24'/%3E%3Ccircle cx='48' cy='23' r='3.2' fill='%23B45309'/%3E%3Ccircle cx='48' cy='23' r='1.6' fill='%23FEF08A'/%3E%3Cline x1='48' y1='26' x2='48' y2='32' stroke='%23DC2626' stroke-width='1.2'/%3E%3Ccircle cx='48' cy='33' r='1.8' fill='%23DC2626'/%3E%3Cline x1='72' y1='6' x2='72' y2='14' stroke='%23DC2626' stroke-width='1.5'/%3E%3Ccircle cx='72' cy='10' r='2' fill='%23FBBF24'/%3E%3Ccircle cx='72' cy='18' r='6' fill='%23FBBF24' stroke='%23B45309' stroke-width='0.8'/%3E%3Ccircle cx='72' cy='18' r='4' fill='%23BE123C'/%3E%3Ccircle cx='72' cy='18' r='1.8' fill='%23FEF08A'/%3E%3Cpath d='M65 18 Q60 20 56 18' fill='none' stroke='%23DC2626' stroke-width='1.2'/%3E%3Ccircle cx='56' cy='18' r='1.2' fill='%23FBBF24'/%3E%3Cpath d='M79 18 Q84 20 88 18' fill='none' stroke='%23DC2626' stroke-width='1.2'/%3E%3Ccircle cx='88' cy='18' r='1.2' fill='%23FBBF24'/%3E%3Cline x1='72' y1='24' x2='72' y2='34' stroke='%23B45309' stroke-width='1.4'/%3E%3Ccircle cx='72' cy='30' r='1.8' fill='%23FBBF24'/%3E%3Ccircle cx='72' cy='35' r='1.5' fill='%23DC2626'/%3E%3Cpath d='M69 23 Q67 28 66 33' fill='none' stroke='%23DC2626' stroke-width='1'/%3E%3Ccircle cx='66' cy='33' r='1.3' fill='%23F59E0B'/%3E%3Cpath d='M75 23 Q77 28 78 33' fill='none' stroke='%23DC2626' stroke-width='1'/%3E%3Ccircle cx='78' cy='33' r='1.3' fill='%23F59E0B'/%3E%3C/svg%3E");
}

/* 4. NEW YEAR: Midnight Gold Party Streamers & Cascading Shimmering Stars (No Toran) */
[data-festival="newyear"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='36' viewBox='0 0 90 36'%3E%3Cpath d='M0 2 Q45 8 90 2' fill='none' stroke='%23F59E0B' stroke-width='1.8' stroke-dasharray='4,2'/%3E%3Cpath d='M18 3 Q24 8 19 13 Q14 18 21 22 Q27 26 20 32' fill='none' stroke='%23FBBF24' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M18 3 Q24 8 19 13 Q14 18 21 22 Q27 26 20 32' fill='none' stroke='%23FEF08A' stroke-width='0.8' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='33' r='2' fill='%23F59E0B'/%3E%3Cline x1='40' y1='5' x2='40' y2='17' stroke='%23D97706' stroke-width='1'/%3E%3Cpolygon points='40,15 42,20 47,20 43,23 45,28 40,25 35,28 37,23 33,20 38,20' fill='%23FBBF24' stroke='%23B45309' stroke-width='0.6'/%3E%3Ccircle cx='40' cy='22' r='1.5' fill='%23FFFFFF'/%3E%3Cline x1='40' y1='28' x2='40' y2='33' stroke='%23D97706' stroke-width='0.8'/%3E%3Ccircle cx='40' cy='34' r='1.8' fill='%23FDE047'/%3E%3Cpath d='M70 3 Q64 8 69 13 Q74 18 67 22 Q61 26 68 32' fill='none' stroke='%23F59E0B' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M70 3 Q64 8 69 13 Q74 18 67 22 Q61 26 68 32' fill='none' stroke='%23FEF08A' stroke-width='0.8' stroke-linecap='round'/%3E%3Ccircle cx='68' cy='33' r='2' fill='%23EA580C'/%3E%3Ccircle cx='8' cy='14' r='1.5' fill='%23FDE047'/%3E%3Ccircle cx='30' cy='12' r='1.2' fill='%23F59E0B'/%3E%3Ccircle cx='54' cy='14' r='1.8' fill='%23FDE047'/%3E%3Ccircle cx='82' cy='16' r='1.2' fill='%23FEF08A'/%3E%3C/svg%3E");
}

/* 5. MAKAR SANKRANTI: Diamond Colorful Flying Kites (पतंग), Manjha & Golden Sun */
[data-festival="makarsankranti"] .header-festival-toran,
[data-festival="makarsakranti"] .header-festival-toran,
[data-festival="sankranti"] .header-festival-toran,
[data-festival="sankrati"] .header-festival-toran,
[data-festival="sakranti"] .header-festival-toran,
[data-festival="sakrat"] .header-festival-toran,
[data-festival="lohri"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='34' viewBox='0 0 90 34'%3E%3Cpath d='M0 4 Q45 12 90 4' fill='none' stroke='%23D97706' stroke-width='2' stroke-dasharray='5,2'/%3E%3Ccircle cx='45' cy='12' r='6' fill='%23F59E0B'/%3E%3Ccircle cx='45' cy='12' r='3.5' fill='%23EA580C'/%3E%3Ccircle cx='45' cy='12' r='1.8' fill='%23FEF08A'/%3E%3Cline x1='45' y1='18' x2='45' y2='27' stroke='%23B45309' stroke-width='1.5'/%3E%3Ccircle cx='45' cy='28' r='2.5' fill='%23FBBF24'/%3E%3Cline x1='18' y1='4' x2='18' y2='10' stroke='%23D97706' stroke-width='1.2'/%3E%3Cpolygon points='18,7 27,15 18,23 9,15' fill='%23EA580C'/%3E%3Cline x1='18' y1='7' x2='18' y2='23' stroke='%2378350F' stroke-width='1'/%3E%3Cpath d='M9 15 Q18 10 27 15' fill='none' stroke='%2378350F' stroke-width='0.8'/%3E%3Cpolygon points='18,23 14,30 22,30' fill='%230284C7'/%3E%3Cline x1='72' y1='4' x2='72' y2='10' stroke='%23D97706' stroke-width='1.2'/%3E%3Cpolygon points='72,7 81,15 72,23 63,15' fill='%230284C7'/%3E%3Cline x1='72' y1='7' x2='72' y2='23' stroke='%23082F49' stroke-width='1'/%3E%3Cpath d='M63 15 Q72 10 81 15' fill='none' stroke='%23082F49' stroke-width='0.8'/%3E%3Cpolygon points='72,23 68,30 76,30' fill='%23EA580C'/%3E%3C/svg%3E");
}

/* 6. INDEPENDENCE / REPUBLIC DAY: Khadi Silk Tiranga Bunting with Ashoka Chakra */
[data-festival="independence"] .header-festival-toran,
[data-festival="republic"] .header-festival-toran,
[data-festival="tiranga"] .header-festival-toran,
[data-festival="15aug"] .header-festival-toran,
[data-festival="26jan"] .header-festival-toran,
[data-festival="bharat"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='28' viewBox='0 0 76 28'%3E%3Cpath d='M0 2 L76 2' stroke='%231E1B4B' stroke-width='2'/%3E%3Cpolygon points='4,2 20,2 12,20' fill='%23FF9933'/%3E%3Cpolygon points='29,2 47,2 38,23' fill='%23FFFFFF' stroke='%23CBD5E1' stroke-width='0.8'/%3E%3Ccircle cx='38' cy='11' r='4.5' fill='none' stroke='%23000080' stroke-width='1.2'/%3E%3Ccircle cx='38' cy='11' r='1' fill='%23000080'/%3E%3Cpolygon points='56,2 72,2 64,20' fill='%23138808'/%3E%3Ccircle cx='12' cy='23' r='2.5' fill='%23FF9933'/%3E%3Ccircle cx='64' cy='23' r='2.5' fill='%23138808'/%3E%3C/svg%3E");
}

/* 7. NAVRATRI & DUSSEHRA: Earthen Garbi Diya, Crossed Dandiya Sticks & Holy Mouli */
[data-festival="navratri"] .header-festival-toran,
[data-festival="dussehra"] .header-festival-toran,
[data-festival="vijayadashami"] .header-festival-toran,
[data-festival="garba"] .header-festival-toran,
[data-festival="durga"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='34' viewBox='0 0 84 34'%3E%3Cpath d='M0 4 Q42 11 84 4' fill='none' stroke='%23DC2626' stroke-width='2.2' stroke-dasharray='5,2'/%3E%3Cpath d='M0 4 Q42 11 84 4' fill='none' stroke='%23F59E0B' stroke-width='1.2'/%3E%3Cpath d='M36 12 Q42 8 48 12 L47 20 Q42 22 37 20 Z' fill='%23B45309'/%3E%3Cpath d='M42 5 Q40 8 42 11 Q44 8 42 5 Z' fill='%23FBBF24'/%3E%3Ccircle cx='42' cy='9' r='1.5' fill='%23EA580C'/%3E%3Cline x1='42' y1='21' x2='42' y2='28' stroke='%23B45309' stroke-width='1.4'/%3E%3Ccircle cx='42' cy='29' r='2.5' fill='%23FBBF24'/%3E%3Cline x1='10' y1='6' x2='22' y2='22' stroke='%23F43F5E' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='22' y1='6' x2='10' y2='22' stroke='%2306B6D4' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='14' r='2.5' fill='%23FBBF24'/%3E%3Cline x1='16' y1='16' x2='16' y2='27' stroke='%23DC2626' stroke-width='1.2'/%3E%3Ccircle cx='16' cy='28' r='2' fill='%23F59E0B'/%3E%3Cline x1='62' y1='6' x2='74' y2='22' stroke='%2310B981' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='74' y1='6' x2='62' y2='22' stroke='%23F59E0B' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='68' cy='14' r='2.5' fill='%23FBBF24'/%3E%3Cline x1='68' y1='16' x2='68' y2='27' stroke='%23DC2626' stroke-width='1.2'/%3E%3Ccircle cx='68' cy='28' r='2' fill='%23F59E0B'/%3E%3C/svg%3E");
}

/* 8. GANESH CHATURTHI: Sacred Golden Modak, Red Hibiscus (Jaswand) & Green Durva */
[data-festival="ganeshutsav"] .header-festival-toran,
[data-festival="ganeshchaturthi"] .header-festival-toran,
[data-festival="ganesh"] .header-festival-toran,
[data-festival="bappa"] .header-festival-toran,
[data-festival="vinayaka"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='34' viewBox='0 0 80 34'%3E%3Cpath d='M0 4 Q40 11 80 4' fill='none' stroke='%23B45309' stroke-width='2.2'/%3E%3Cline x1='40' y1='4' x2='40' y2='10' stroke='%23D97706' stroke-width='1.5'/%3E%3Cpath d='M40 9 C35 15, 33 22, 40 25 C47 22, 45 15, 40 9 Z' fill='%23FBBF24' stroke='%23D97706' stroke-width='1'/%3E%3Cpath d='M40 10 L40 24' stroke='%23D97706' stroke-width='0.8'/%3E%3Cpath d='M38 12 Q37 18 39 23' fill='none' stroke='%23D97706' stroke-width='0.7'/%3E%3Cpath d='M42 12 Q43 18 41 23' fill='none' stroke='%23D97706' stroke-width='0.7'/%3E%3Cline x1='40' y1='25' x2='40' y2='30' stroke='%23B45309' stroke-width='1.2'/%3E%3Ccircle cx='40' cy='31' r='2' fill='%23EA580C'/%3E%3Ccircle cx='16' cy='14' r='6.5' fill='%23DC2626'/%3E%3Ccircle cx='16' cy='14' r='4' fill='%23E11D48'/%3E%3Ccircle cx='16' cy='14' r='2' fill='%23FBBF24'/%3E%3Cline x1='16' y1='14' x2='16' y2='24' stroke='%23FBBF24' stroke-width='1.4'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23EA580C'/%3E%3Cpath d='M10 6 Q14 10 12 16' fill='none' stroke='%2315803D' stroke-width='1.5'/%3E%3Cpath d='M22 6 Q18 10 20 16' fill='none' stroke='%23166534' stroke-width='1.5'/%3E%3Ccircle cx='64' cy='14' r='6.5' fill='%23DC2626'/%3E%3Ccircle cx='64' cy='14' r='4' fill='%23E11D48'/%3E%3Ccircle cx='64' cy='14' r='2' fill='%23FBBF24'/%3E%3Cline x1='64' y1='14' x2='64' y2='24' stroke='%23FBBF24' stroke-width='1.4'/%3E%3Ccircle cx='64' cy='25' r='1.5' fill='%23EA580C'/%3E%3Cpath d='M58 6 Q62 10 60 16' fill='none' stroke='%2315803D' stroke-width='1.5'/%3E%3Cpath d='M70 6 Q66 10 68 16' fill='none' stroke='%23166534' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* 9. CHRISTMAS: Decorated Christmas Trees, Glowing Golden Stars & Holiday Baubles (No Toran) */
[data-festival="christmas"] .header-festival-toran,
[data-festival="xmas"] .header-festival-toran,
[data-festival="merrychristmas"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='36' viewBox='0 0 90 36'%3E%3Cpath d='M0 4 Q45 10 90 4' fill='none' stroke='%23166534' stroke-width='2' stroke-dasharray='4,2'/%3E%3Cpath d='M0 2 Q45 8 90 2' fill='none' stroke='%23F0FDF4' stroke-width='1.2'/%3E%3Cline x1='45' y1='4' x2='45' y2='8' stroke='%23DC2626' stroke-width='1.2'/%3E%3Cpolygon points='45,6 46.2,8.5 49,8.5 46.8,10 47.6,12.5 45,11 42.4,12.5 43.2,10 41,8.5 43.8,8.5' fill='%23FBBF24'/%3E%3Cpolygon points='45,10 39,16 51,16' fill='%2315803D'/%3E%3Cpolygon points='45,14 37,21 53,21' fill='%23166534'/%3E%3Cpolygon points='45,19 35,27 55,27' fill='%2314532D'/%3E%3Crect x='43.5' y='27' width='3' height='4' fill='%2378350F' rx='0.5'/%3E%3Ccircle cx='43' cy='14' r='1.2' fill='%23EF4444'/%3E%3Ccircle cx='48' cy='18' r='1.2' fill='%23FBBF24'/%3E%3Ccircle cx='40' cy='19' r='1.2' fill='%2338BDF8'/%3E%3Ccircle cx='46' cy='24' r='1.2' fill='%23FFFFFF'/%3E%3Ccircle cx='51' cy='25' r='1.2' fill='%23F43F5E'/%3E%3Ccircle cx='38' cy='25' r='1.2' fill='%23FACC15'/%3E%3Cline x1='45' y1='31' x2='45' y2='33' stroke='%23F59E0B' stroke-width='1'/%3E%3Ccircle cx='45' cy='34' r='1.4' fill='%23FBBF24'/%3E%3Cline x1='16' y1='4' x2='16' y2='11' stroke='%23F59E0B' stroke-width='1.2'/%3E%3Cpolygon points='16,9.5 17,11.2 19,11.2 17.4,12.3 18,14.1 16,13 14,14.1 14.6,12.3 13,11.2 15,11.2' fill='%23FBBF24'/%3E%3Cpolygon points='16,12 12,17 20,17' fill='%2315803D'/%3E%3Cpolygon points='16,16 10,22 22,22' fill='%23166534'/%3E%3Cpolygon points='16,21 9,28 23,28' fill='%2314532D'/%3E%3Crect x='15' y='28' width='2' height='3' fill='%2378350F'/%3E%3Ccircle cx='14' cy='16' r='1' fill='%23EF4444'/%3E%3Ccircle cx='18' cy='20' r='1' fill='%23FBBF24'/%3E%3Ccircle cx='13' cy='21' r='1' fill='%2338BDF8'/%3E%3Ccircle cx='16' cy='26' r='1.2' fill='%23DC2626'/%3E%3Cline x1='74' y1='4' x2='74' y2='11' stroke='%23F59E0B' stroke-width='1.2'/%3E%3Cpolygon points='74,9.5 75,11.2 77,11.2 75.4,12.3 76,14.1 74,13 72,14.1 72.6,12.3 71,11.2 73,11.2' fill='%23FBBF24'/%3E%3Cpolygon points='74,12 70,17 78,17' fill='%2315803D'/%3E%3Cpolygon points='74,16 68,22 80,22' fill='%23166534'/%3E%3Cpolygon points='74,21 67,28 81,28' fill='%2314532D'/%3E%3Crect x='73' y='28' width='2' height='3' fill='%2378350F'/%3E%3Ccircle cx='72' cy='16' r='1' fill='%2338BDF8'/%3E%3Ccircle cx='76' cy='20' r='1' fill='%23EF4444'/%3E%3Ccircle cx='71' cy='21' r='1' fill='%23FBBF24'/%3E%3Ccircle cx='74' cy='26' r='1.2' fill='%23DC2626'/%3E%3Ccircle cx='28' cy='8' r='1.2' fill='%23FFFFFF' opacity='0.9'/%3E%3Ccircle cx='62' cy='8' r='1.2' fill='%23FFFFFF' opacity='0.9'/%3E%3Ccircle cx='32' cy='20' r='1' fill='%23BAE6FD'/%3E%3Ccircle cx='58' cy='20' r='1' fill='%23BAE6FD'/%3E%3C/svg%3E");
}

/* 10. SPECIAL OFFER: Modern Hanging Price Tags, Discount Medals & % Vouchers (No Toran) */
[data-festival="specialoffer"] .header-festival-toran,
[data-festival="special"] .header-festival-toran,
[data-festival="offer"] .header-festival-toran,
[data-festival="deal"] .header-festival-toran,
[data-festival="sale"] .header-festival-toran {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='36' viewBox='0 0 96 36'%3E%3Cpath d='M0 3 L96 3' fill='none' stroke='%23EA580C' stroke-width='1.5'/%3E%3Cline x1='25' y1='3' x2='25' y2='10' stroke='%2378350F' stroke-width='1.2'/%3E%3Cpolygon points='22,10 28,10 31,14 31,27 19,27 19,14' fill='%23DC2626' stroke='%23991B1B' stroke-width='0.8'/%3E%3Ccircle cx='25' cy='13' r='1.5' fill='%23FEF3C7' stroke='%2378350F' stroke-width='0.6'/%3E%3Ctext x='25' y='24' font-family='sans-serif' font-size='9' font-weight='900' fill='%23FFFFFF' text-anchor='middle'%3E%25%3C/text%3E%3Cline x1='25' y1='27' x2='25' y2='34' stroke='%23F59E0B' stroke-width='1.2'/%3E%3Ccircle cx='25' cy='34' r='1.8' fill='%23FBBF24'/%3E%3Cline x1='48' y1='3' x2='48' y2='15' stroke='%23EA580C' stroke-width='1.5'/%3E%3Ccircle cx='48' cy='23' r='8' fill='%23F59E0B' stroke='%23B45309' stroke-width='1'/%3E%3Ccircle cx='48' cy='23' r='6.2' fill='%23FBBF24'/%3E%3Ctext x='48' y='27' font-family='sans-serif' font-size='10' font-weight='900' fill='%239A3412' text-anchor='middle'%3E%25%3C/text%3E%3Cline x1='48' y1='31' x2='48' y2='35' stroke='%23EA580C' stroke-width='1'/%3E%3Ccircle cx='48' cy='35' r='1.5' fill='%23DC2626'/%3E%3Cline x1='75' y1='3' x2='75' y2='12' stroke='%2378350F' stroke-width='1.2'/%3E%3Crect x='67' y='12' width='16' height='14' rx='2.5' fill='%23EA580C' stroke='%239A3412' stroke-width='0.8'/%3E%3Crect x='69' y='14' width='12' height='10' rx='1.5' fill='none' stroke='%23FED7AA' stroke-width='0.8' stroke-dasharray='2,1'/%3E%3Ccircle cx='75' cy='19' r='2.5' fill='%23FEF08A'/%3E%3Cline x1='75' y1='26' x2='75' y2='34' stroke='%23F59E0B' stroke-width='1'/%3E%3Ccircle cx='75' cy='34' r='1.8' fill='%23FBBF24'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. CENTER MINI TORAN CARD (Hanging in Center of Toran: Greeting + Coupon)
   -------------------------------------------------------------------------- */
.toran-center-card-wrap {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1055;
  display: none;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  transform-origin: 50% 0px;
  animation: toranMiniSway 4.5s ease-in-out infinite alternate;
  user-select: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18));
}

[data-festival] .toran-center-card-wrap {
  display: flex;
}
[data-festival="none"] .toran-center-card-wrap {
  display: none !important;
}

@keyframes toranMiniSway {
  0% {
    transform: translateX(-50%) rotate(-1.4deg);
  }
  50% {
    transform: translateX(-50%) rotate(1.2deg) translateY(2px);
  }
  100% {
    transform: translateX(-50%) rotate(-1.4deg);
  }
}

.toran-mini-cords {
  width: 36px;
  height: 232px;
  margin-bottom: -4px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

.toran-mini-cords-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.toran-mini-card {
  background: #FFFDF9;
  border: 1.4px solid rgba(245, 158, 11, 0.45);
  border-radius: 9px;
  padding: 0.28rem 0.65rem 0.3rem 0.65rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14), 0 0 10px rgba(245, 158, 11, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.toran-mini-card:hover {
  transform: scale(1.06);
  border-color: #EA580C;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.28);
}

.toran-mini-title {
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: 1.12rem;
  font-weight: 700;
  color: #7C2D12;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.toran-mini-coupon {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.1rem;
}

.toran-mini-code {
  font-family: monospace;
  font-size: 0.74rem;
  font-weight: 900;
  color: #EA580C;
  background: #FFF7ED;
  padding: 0.06rem 0.35rem;
  border-radius: 4px;
  border: 1px dashed #F97316;
  letter-spacing: 0.04em;
}

.toran-mini-copy-pill {
  font-size: 0.68rem;
  color: #78716C;
  padding: 0.06rem 0.18rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.toran-mini-copy-pill:hover {
  color: #EA580C;
}

/* --------------------------------------------------------------------------
   4. FESTIVE WELCOME CARD: HANGING BY VECTOR CORDS & FLOATING IN AIR
   Shorter • Handwritten Note • No Enter Button • Instant Close via (X)/Backdrop
   -------------------------------------------------------------------------- */
.festival-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 12, 8, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 1.25rem 2rem;
  padding-top: calc(env(safe-area-inset-top, 0px) + 38px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
  overflow-y: auto;
}

.festival-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.festival-modal-overlay.closing {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Hanging Container: Swaying & Floating in air */
.festival-hanging-container {
  position: relative;
  max-width: 390px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% -40px;
  animation: festivalAirFloat 4.8s ease-in-out infinite alternate;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.32s ease;
}

@keyframes festivalAirFloat {
  0% {
    transform: translateY(0px) rotate(-1.5deg);
  }
  50% {
    transform: translateY(10px) rotate(1.2deg);
  }
  100% {
    transform: translateY(-2px) rotate(-1.5deg);
  }
}

.festival-modal-overlay:not(.active) .festival-hanging-container {
  transform: translateY(-25px) scale(0.92);
  opacity: 0;
}

.festival-modal-overlay.closing .festival-hanging-container {
  transform: translateY(-15px) scale(0.95);
  opacity: 0;
}

/* Vector Art Cords dangling down from top announcement strip */
.hanging-cords-vector {
  width: 100%;
  height: 64px;
  margin-bottom: -12px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

.hanging-cords-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Handwritten Festive Card (Compact & Sweet) */
.handwritten-fest-card {
  position: relative;
  background: #FFFDF9;
  border-radius: 18px;
  width: 100%;
  padding: 1.4rem 1.45rem 1.25rem 1.45rem;
  text-align: center;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32), 0 0 30px rgba(245, 158, 11, 0.16);
  border: 1.5px solid rgba(245, 158, 11, 0.38);
  overflow: hidden;
  user-select: text;
}

/* Close Button (X) */
.festival-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F5F3EF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #78716C;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.festival-modal-close:hover {
  background: #EA580C;
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* Brand Logo at Top */
.handwritten-logo-wrap {
  margin-bottom: 0.55rem;
  display: flex;
  justify-content: center;
}

.handwritten-brand-logo {
  height: 32px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
}

/* Handwritten Greeting Heading */
.handwritten-heading {
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: 2.15rem;
  font-weight: 700;
  color: #7C2D12;
  line-height: 1.1;
  margin: 0 0 0.4rem 0;
  letter-spacing: 0.01em;
}

/* Handwritten English Sweet Note */
.handwritten-note-text {
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: 1.25rem;
  font-weight: 600;
  color: #431407;
  line-height: 1.35;
  margin: 0 0 0.8rem 0;
  padding: 0 0.2rem;
}

/* Clean Offer & Coupon Box */
.handwritten-offer-card {
  background: #FFF7ED;
  border: 1px dashed #F97316;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.handwritten-offer-desc {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.84rem;
  color: #9A3412;
  font-weight: 600;
}

.handwritten-offer-desc strong {
  color: #C2410C;
  font-weight: 800;
}

.handwritten-coupon-wrap {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #FED7AA;
  border-radius: 9999px;
  padding: 0.18rem 0.22rem 0.18rem 0.65rem;
  gap: 0.4rem;
}

.handwritten-coupon-code {
  font-family: monospace;
  font-size: 0.92rem;
  font-weight: 900;
  color: #EA580C;
  letter-spacing: 0.05em;
}

.btn-handwritten-copy {
  background: linear-gradient(135deg, #EA580C 0%, #D97706 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.btn-handwritten-copy:hover {
  transform: scale(1.05);
}

.btn-handwritten-copy.copied {
  background: #16A34A !important;
  color: #FFFFFF !important;
}

/* Handwritten Sign-off */
.handwritten-signoff {
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: 1.25rem;
  color: #78350F;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
  line-height: 1.2;
}

.handwritten-signoff strong {
  color: #431407;
  font-weight: 700;
}

@media (max-width: 480px) {
  .festival-modal-overlay {
    padding-top: calc(env(safe-area-inset-top, 0px) + 20px);
  }
  .handwritten-fest-card {
    padding: 1.25rem 1.15rem 1.1rem 1.15rem;
    border-radius: 16px;
  }
  .handwritten-heading {
    font-size: 1.95rem;
  }
  .handwritten-note-text {
    font-size: 1.15rem;
  }
  .handwritten-offer-card {
    justify-content: center;
    text-align: center;
  }
  .toran-center-card-wrap {
    top: calc(100% - 2px);
    z-index: 1055;
  }
  .toran-mini-cords {
    width: 36px;
    height: 154px;
    margin-bottom: -4px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
  }
  .toran-mini-cords-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .toran-mini-card {
    position: relative;
    z-index: 1055;
    padding: 0.24rem 0.68rem 0.28rem 0.68rem;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14), 0 0 12px rgba(245, 158, 11, 0.25);
    background: #FFFDF9;
    border: 1.5px solid rgba(245, 158, 11, 0.55);
  }
  .toran-mini-title {
    font-size: 0.98rem;
  }
  .toran-mini-code {
    font-size: 0.70rem;
    padding: 0.04rem 0.35rem;
  }
}

/* --------------------------------------------------------------------------
   SMART MOBILE TORAN CARD PLACEMENT (Hang below "We pick the gems", zero text changes)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .toran-center-card-wrap {
    top: calc(100% - 2px);
    z-index: 1055;
    pointer-events: auto;
  }
  .toran-mini-cords {
    width: 30px;
    height: 148px;
    margin-bottom: -4px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
  }
  .toran-mini-cords-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .toran-mini-card {
    position: relative;
    z-index: 1055;
    padding: 0.16rem 0.48rem 0.18rem 0.48rem;
    border-radius: 7px;
    border-width: 1.2px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12), 0 0 8px rgba(245, 158, 11, 0.12);
  }
  .toran-mini-title {
    font-size: 0.82rem;
    line-height: 1.05;
  }
  .toran-mini-coupon {
    gap: 0.22rem;
    margin-top: 0.05rem;
  }
  .toran-mini-code {
    font-size: 0.60rem;
    padding: 0.02rem 0.24rem;
    border-radius: 3px;
    border-width: 0.8px;
  }
  .toran-mini-copy-pill {
    font-size: 0.56rem;
    padding: 0.02rem 0.12rem;
  }
}

@media (max-width: 380px) {
  .toran-mini-cords {
    height: 154px;
  }
}

/* --------------------------------------------------------------------------
   5. LOCALHOST SCREEN-LEFT FESTIVAL TEST SWITCHER (HIDDEN)
   -------------------------------------------------------------------------- */
.localhost-fest-switch {
  display: none !important;
}

.localhost-fest-switch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
  border-color: #FBBF24;
}

.fest-switch-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.fest-switch-label {
  font-weight: 800;
  color: #FBBF24;
  letter-spacing: 0.02em;
}

.fest-switch-select {
  background: #292524;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0.25rem 0.55rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.fest-switch-select:focus {
  border-color: #F59E0B;
}

.btn-fest-pop-card {
  background: linear-gradient(135deg, #EA580C 0%, #D97706 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 0.28rem 0.75rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-fest-pop-card:hover {
  transform: scale(1.06);
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.5);
}

@media (max-width: 640px) {
  .localhost-fest-switch {
    bottom: 70px;
    left: 10px;
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
    gap: 0.4rem;
  }
  .fest-switch-label {
    display: none;
  }
}
