/* Diwali festive layer. Loaded only while ht_is_diwali() is true. All motion respects reduced-motion. */
:root { --gold-1: #f6d27a; --gold-2: #d9a441; --gold-3: #a8741f; --night: #0a1433; --night-2: #13204a; }
.ht-btn--gold { background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 60%, #c38a2c); color: #1d1405; box-shadow: 0 6px 18px rgba(217, 164, 65, .35); }
.ht-btn--gold:hover { color: #1d1405; filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(217, 164, 65, .45); }
.ht-eyebrow--gold { color: var(--gold-1); }
.ht-eyebrow--gold::before { background: var(--gold-1); }

/* Diya */
.ht-diya { display: block; overflow: visible; }
.ht-diya__flame { transform-box: fill-box; transform-origin: 50% 100%; animation: ht-flicker 1.6s ease-in-out infinite alternate; }
.ht-diya__glow { animation: ht-glow 2.2s ease-in-out infinite alternate; }
@keyframes ht-flicker { 0% { transform: scale(1, 1) skewX(0); } 35% { transform: scale(.94, 1.07) skewX(3deg); } 70% { transform: scale(1.04, .94) skewX(-3deg); } 100% { transform: scale(.97, 1.03) skewX(1deg); } }
@keyframes ht-glow { from { opacity: .6; } to { opacity: 1; } }

/* Announcement bar */
.ht-dbar { position: relative; z-index: 51; background: linear-gradient(90deg, var(--night), #1a2a63 50%, var(--night)); color: #fff; font-size: 14px; border-bottom: 1px solid rgba(246, 210, 122, .35); }
.ht-dbar.is-hidden { display: none; }
.ht-dbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-right: 48px; position: relative; }
.ht-dbar p { margin: 0; text-align: center; line-height: 1.4; padding: 6px 0; }
.ht-dbar a { color: var(--gold-1); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; white-space: nowrap; }
.ht-dbar a:hover { color: #fff; }
.ht-dbar a .ht-icon { width: 15px; height: 15px; }
.ht-dbar__diya { width: 30px; height: 30px; flex: none; margin-top: -6px; }
.ht-dbar__close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; justify-content: center; }
.ht-dbar__close:hover { background: rgba(255, 255, 255, .2); }
.ht-dbar__close .ht-icon { width: 16px; height: 16px; }

/* Toran (marigold garland) hanging under the sticky header */
.ht-toran { position: absolute; left: 0; right: 0; top: 100%; height: 40px; background-repeat: repeat-x; background-size: 128px 40px; pointer-events: none; transform-origin: top center; animation: ht-sway 6s ease-in-out infinite alternate; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .12)); }
.ht-header.is-stuck .ht-toran { height: 30px; background-size: 96px 30px; }
@keyframes ht-sway { from { transform: skewX(-1.2deg); } to { transform: skewX(1.2deg); } }

/* Sparkle / firework canvas */
.ht-sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* Hanging diyas */
.ht-hang { position: absolute; top: 0; right: 4%; z-index: 2; display: flex; gap: 42px; pointer-events: none; }
.ht-hang__item { position: relative; display: block; width: 46px; padding-top: 70px; transform-origin: top center; animation: ht-swing 3.4s ease-in-out infinite alternate; }
.ht-hang__item:nth-child(2) { padding-top: 110px; animation-delay: -1.2s; }
.ht-hang__item:nth-child(3) { padding-top: 40px; animation-delay: -2.1s; }
.ht-hang__item:nth-child(4) { padding-top: 90px; animation-delay: -.6s; }
.ht-hang__item::before { content: ""; position: absolute; top: 0; left: 50%; width: 1.5px; height: calc(100% - 38px); background: linear-gradient(var(--gold-3), var(--gold-1)); }
.ht-hang__item .ht-diya { width: 46px; height: 46px; }
@keyframes ht-swing { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

/* Hero: dark Diwali slide */
.ht-slide--dark { background: radial-gradient(120% 90% at 75% 40%, #1d2c66 0%, var(--night) 60%, #060c22 100%); }
.ht-slide--dark .ht-slide__media { width: 62%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
.ht-slide--dark .ht-slide__media img { filter: saturate(1.1) brightness(.9); }
.ht-slide--dark .ht-hero__title { color: var(--gold-1); }
.ht-slide--dark .ht-hero__lead { color: rgba(255, 255, 255, .88); }
.ht-slide--dark .ht-slide__text { z-index: 2; }
.ht-hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: -20px 0 14px; padding: 6px 16px 6px 8px; border: 1px solid rgba(246, 210, 122, .45); border-radius: 999px; background: rgba(246, 210, 122, .1); color: var(--gold-1); font: 600 14px var(--head); letter-spacing: .04em; }
.ht-hero__kicker span { color: #fff; font-weight: 500; }
.ht-hero__kdiya { width: 30px; height: 30px; margin-top: -8px; }
.ht-slide.is-active .ht-hero__kicker { animation: ht-rise .8s both; }
.ht-hero[data-theme="dark"] .ht-hero__points li { color: rgba(255, 255, 255, .9); }
.ht-hero[data-theme="dark"] .ht-hero__points li + li { border-color: rgba(246, 210, 122, .3); }
.ht-hero[data-theme="dark"] .ht-hero__points .ht-icon { color: var(--gold-1); }
.ht-hero[data-theme="dark"] .ht-dot span { background: rgba(255, 255, 255, .25); }
.ht-hero[data-theme="dark"] .ht-dot span::after { background: var(--gold-1); }
.ht-hero__points li, .ht-hero__points .ht-icon { transition: color .6s; }

/* Diwali collection band */
.ht-diwali { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 50% 0%, #1b2a62 0%, var(--night) 55%, #070e26 100%); color: #fff; padding-top: 104px; }
.ht-diwali .ht-wrap { position: relative; z-index: 2; }
.ht-diwali .ht-title { color: #fff; }
.ht-diwali .ht-lead { color: rgba(255, 255, 255, .78); }
.ht-rangoli { display: block; }
.ht-rangoli .f { fill: currentColor; stroke: none; }
.ht-diwali__rang { position: absolute; width: 420px; height: 420px; color: var(--gold-2); opacity: .16; z-index: 0; animation: ht-spin 120s linear infinite; }
.ht-diwali__rang--l { left: -150px; bottom: -150px; }
.ht-diwali__rang--r { right: -170px; top: -170px; animation-direction: reverse; }
@keyframes ht-spin { to { transform: rotate(360deg); } }
.ht-hang--sec { left: 0; right: 0; justify-content: space-between; padding: 0 3%; gap: 0; }
.ht-hang--sec .ht-hang__item { padding-top: 40px; }
.ht-hang--sec .ht-hang__item:nth-child(2) { padding-top: 64px; }
.ht-hang--sec .ht-hang__item:nth-child(3) { padding-top: 52px; }
.ht-hang--sec .ht-hang__item:nth-child(4) { padding-top: 30px; }
.ht-cards--festive .ht-card { border-color: rgba(246, 210, 122, .45); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.ht-cards--festive .ht-card:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .45), 0 0 0 1px var(--gold-1); }
.ht-cards--festive .ht-card__body { border-top: 3px solid var(--gold-2); }
.ht-diwali__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin-top: 34px; color: rgba(255, 255, 255, .88); font-size: 15px; }
.ht-diwali__perks li { display: flex; align-items: center; gap: 10px; }
.ht-diwali__perks .ht-icon { width: 24px; height: 24px; color: var(--gold-1); }

/* Diwali CTA */
.ht-cta--diwali { background: radial-gradient(100% 140% at 20% 50%, #1b2a62 0%, var(--night) 60%, #060c22 100%); }
.ht-cta--diwali .ht-cta__media { width: 60%; }
.ht-cta--diwali .ht-cta__media img { object-position: center; }
.ht-cta--diwali .ht-cta__inner { z-index: 2; padding-bottom: 96px; }
.ht-cta--diwali .ht-cta__eyebrow::before { background: var(--gold-1); }
.ht-cta--diwali .ht-cta__eyebrow { color: var(--gold-1); }
.ht-diyarow { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: clamp(10px, 4vw, 54px); pointer-events: none; }
.ht-diyarow .ht-diya { width: 44px; height: 44px; }
.ht-diyarow .ht-diya:nth-child(even) .ht-diya__flame { animation-delay: -.8s; }

/* Inner page banner during Diwali */
.ht-banner--diwali { background: radial-gradient(110% 140% at 15% 50%, #1b2a62 0%, var(--night) 60%, #060c22 100%); border-bottom: 0; color: #fff; padding: 64px 0 70px; }
.ht-banner--diwali::after { display: none; }
.ht-banner__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.ht-banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.ht-banner__rang { position: absolute; left: -120px; top: 50%; width: 320px; height: 320px; margin-top: -160px; color: var(--gold-2); opacity: .14; animation: ht-spin 120s linear infinite; }
.ht-banner--diwali .ht-wrap { position: relative; z-index: 2; }
.ht-banner--diwali .ht-banner__title { color: #fff; }
.ht-banner--diwali .ht-banner__lead { color: rgba(255, 255, 255, .85); }
.ht-banner--diwali .ht-crumbs, .ht-banner--diwali .ht-crumbs a { color: rgba(255, 255, 255, .72); }
.ht-banner--diwali .ht-crumbs a:hover, .ht-banner--diwali .ht-crumbs [aria-current] { color: var(--gold-1); }

/* Festive touches on regular sections */
.is-diwali .ht-strip { background: linear-gradient(90deg, #fff8ea, #fdf2dc 50%, #fff8ea); border-color: #f1dfb8; }
.is-diwali .ht-strip__list li + li { border-color: #ecd6a6; }
.is-diwali .ht-strip__list .ht-icon { color: #9a6a16; }
.is-diwali .ht-why { background: linear-gradient(180deg, #fffaf0 0%, var(--soft-2) 100%); }

@media (max-width: 1080px) {
	.ht-hang { right: 2%; gap: 26px; }
	.ht-diwali__rang { width: 300px; height: 300px; }
}
@media (max-width: 900px) {
	.ht-slide--dark .ht-slide__media { width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%); mask-image: linear-gradient(180deg, transparent 0, #000 25%); }
	.ht-hero__kicker { margin-top: 0; }
	/* Stacked hero: the points sit on the section background, so it follows the active slide's theme. */
	.ht-hero { transition: background .9s; }
	.ht-hero[data-theme="dark"] { background: var(--night); }
	.is-diwali .ht-slide__text { padding-top: 58px; }
	.ht-hang { display: none; }
	.ht-diwali .ht-hang--sec { display: flex; }
	.ht-banner__media { width: 100%; opacity: .3; -webkit-mask-image: none; mask-image: none; }
	.ht-cta--diwali { flex-direction: column; }
	.ht-cta--diwali .ht-cta__inner { order: 1; }
	.ht-cta--diwali .ht-diyarow { order: 2; }
	.ht-cta--diwali .ht-cta__media { order: 3; width: 100%; }
	.ht-cta--diwali .ht-cta__inner { padding-bottom: 16px; }
	.ht-diyarow { position: relative; bottom: auto; padding: 4px 0 20px; }
}
@media (max-width: 640px) {
	.ht-dbar { font-size: 13px; }
	.ht-dbar__diya--r { display: none; }
	.ht-dbar__inner { justify-content: flex-start; padding-right: 40px; }
	.ht-dbar__close { right: 4px; }
	.ht-dbar p { text-align: left; }
	.ht-toran { height: 28px; background-size: 90px 28px; }
	.ht-hang--sec .ht-hang__item:nth-child(n+3) { display: none; }
	.ht-hang--sec .ht-hang__item { padding-top: 24px !important; }
	.ht-hang--sec .ht-hang__item .ht-diya { width: 36px; height: 36px; }
	.ht-diwali { padding-top: 84px; }
	.ht-diyarow .ht-diya:nth-child(n+6) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ht-toran, .ht-hang__item, .ht-diwali__rang, .ht-banner__rang, .ht-diya__flame, .ht-diya__glow { animation: none !important; }
	.ht-sparks { display: none; }
}
