/* ==========================================================================
   Diwali Dhamaka – festival sections
   Everything is scoped under #dwFestival (or .dw-modal) so the April page
   styles are not touched. Rendered by js/diwali-festival.js
   ========================================================================== */

#dwFestival {
  --dw-theme: #98004C;           /* overridden from festivalData.dealCarousel.theme */
  --dw-cream: #FBF7F2;
  --dw-pink: #F9EEEB;
  --dw-line: #E8D9CF;
  --dw-gap: 20px;
  font-family: Poppins, sans-serif;
  color: #000;
  width: 100%;
  overflow: hidden;
}
#dwFestival *, .dw-modal * { box-sizing: border-box; }
#dwFestival h2, #dwFestival h3, #dwFestival p { margin: 0; padding: 0; }
#dwFestival img { max-width: 100%; }
#dwFestival [data-dw-lottie] svg { display: block; width: 100%; height: 100%; }
.dw-deco { position: absolute; pointer-events: none; z-index: 0; height: auto; }

/* ---------- buttons ---------- */
#dwFestival .dw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--dw-theme); border-radius: 999px;
  padding: .9em 1.9em; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 clamp(14px, 1.05vw, 20px)/1.2 Poppins, sans-serif; transition: background .2s, color .2s;
}
#dwFestival .dw-btn--primary { background: var(--dw-theme); color: #fff; }
#dwFestival .dw-btn--primary:hover { background: #000; border-color: #000; }
#dwFestival .dw-btn--ghost { background: #FBEFE3; color: var(--dw-theme); }
#dwFestival .dw-btn--ghost:hover { background: var(--dw-theme); color: #fff; }

/* ---------- hero (Lottie renders the full banner, only buttons are HTML) ---------- */
.dw-hero { position: relative; width: 100%; aspect-ratio: var(--dw-ratio, 2088 / 486); overflow: hidden; background: #F8ECDD; }
.dw-hero__anim { position: absolute; inset: 0; }
.dw-hero__btns { position: absolute; z-index: 2; left: 5.3%; bottom: 15%; display: flex; gap: 1.1vw; flex-wrap: wrap; }
.dw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- prizes + video ---------- */
.dw-prizes { position: relative; background: var(--dw-cream); padding: clamp(32px, 4vw, 80px) 5.3%; }
.dw-prizes__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 60px 1fr;
  gap: clamp(16px, 2vw, 40px); align-items: center; }
.dw-prizes__left { display: flex; flex-direction: column; }
.dw-prizes__right { align-self: start; }
.dw-prize { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5vw; align-items: center; padding: clamp(18px, 2vw, 40px) 0; }
.dw-prize + .dw-prize { border-top: 1px solid var(--dw-line); }
.dw-prize__title { font: 700 clamp(22px, 2.2vw, 44px)/1.2 Poppins, sans-serif; color: var(--dw-theme); margin-bottom: .5em !important; }
.dw-prize__sub { font: 400 clamp(13px, 1vw, 20px)/1.55 Poppins, sans-serif; margin-bottom: 1em !important; max-width: 22em; }
#dwFestival .dw-link { display: inline-flex; align-items: center; gap: .6em; color: var(--dw-theme);
  font: 600 clamp(15px, 1.15vw, 22px)/1 Poppins, sans-serif; text-decoration: underline; }
#dwFestival .dw-link svg { width: 1.6em; height: 1.6em; flex: none; color: #222; }
.dw-prize__media { position: relative; aspect-ratio: 1.45 / 1; }
.dw-prize__media [data-dw-lottie] { position: absolute; inset: 0; }
.dw-prize__badge { position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  background: var(--dw-theme); color: #fff; text-transform: uppercase; border-radius: 999px;
  padding: .55em 1.6em; font: 600 clamp(11px, .9vw, 17px)/1.2 Poppins, sans-serif; }
.dw-prizes__mid { align-self: stretch; position: relative; display: flex; align-items: center; justify-content: center; }
.dw-prizes__mid::before { content: ""; position: absolute; top: 4%; bottom: 4%; left: 50%; width: 1px; background: var(--dw-line); }
.dw-prizes__mid img { position: relative; width: 36px; height: auto; background: var(--dw-cream); padding: 6px 0; }

.dw-video__title { font: 700 clamp(22px, 2.1vw, 42px)/1.3 Poppins, sans-serif; color: var(--dw-theme); margin-bottom: .7em !important; }
.dw-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.dw-video__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dw-video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: clamp(48px, 4.6vw, 88px);
  height: clamp(48px, 4.6vw, 88px); border-radius: 50%; border: 3px solid #fff; background: rgba(0,0,0,.25); cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; }
.dw-video__play svg { width: 42%; height: 42%; margin-left: 8%; }
.dw-video__play.is-hidden { display: none; }
.dw-video-m { display: none; }

/* ---------- section heads ---------- */
.dw-sec-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 2vw, 40px); text-align: center; }
.dw-sec-head__diya { width: clamp(40px, 4vw, 80px); height: auto; flex: none; }
.dw-sec-sub { position: relative; z-index: 1; text-align: center; font: 400 clamp(14px, 1.05vw, 22px)/1.5 Poppins, sans-serif;
  margin: .7em auto 1.6em !important; max-width: 58%; }
.dw-top10 .dw-sec-sub { font-size: clamp(14px, 1.25vw, 26px); max-width: 100%; }

/* ---------- top 10 ---------- */
.dw-top10 { position: relative; background: var(--dw-theme); color: #fff; padding: clamp(28px, 3.2vw, 64px) 5% clamp(36px, 4vw, 76px); overflow: hidden; }
.dw-top10 .dw-sec-head h2 { font: 700 clamp(26px, 3vw, 60px)/1.15 "Times New Roman", Times, serif; color: #fff; }
.dw-top10 .dw-t1 { color: #F4C77D; }

/* ---------- scrollers (shared) ---------- */
.dw-slider-wrap { position: relative; z-index: 1; }
.dw-scroller { display: flex; gap: var(--dw-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px 2px 8px; --dw-cols: 5; }
.dw-scroller::-webkit-scrollbar { display: none; }
.dw-scroller--6 { --dw-cols: 6; }
.dw-card-wrap { flex: 0 0 calc((100% - var(--dw-gap) * (var(--dw-cols) - 1)) / var(--dw-cols)); min-width: 0; scroll-snap-align: start; }
@media (max-width: 1399px) { .dw-scroller--6 { --dw-cols: 5; } }
@media (max-width: 1199px) { .dw-scroller--5, .dw-scroller--6 { --dw-cols: 4; } }
@media (max-width: 991px)  { .dw-scroller--5, .dw-scroller--6 { --dw-cols: 3; } }

#dwFestival .dw-arrow { position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; padding: 0; border: 0; cursor: pointer;
  width: clamp(40px, 3.3vw, 64px); height: clamp(40px, 3.3vw, 64px); border-radius: 50%; background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.22); display: flex; align-items: center; justify-content: center; }
#dwFestival .dw-arrow svg { width: 42%; height: 42%; }
#dwFestival .dw-arrow--prev { left: calc(clamp(40px, 3.3vw, 64px) * -1.5); }
#dwFestival .dw-arrow--next { right: calc(clamp(40px, 3.3vw, 64px) * -1.5); }
#dwFestival .dw-arrow[disabled] { opacity: .35; cursor: default; }

/* ---------- product card (keeps ap-/clsaddbtn classes so cart.js + app.js work) ---------- */
#dwFestival .dw-card { position: relative; display: flex; flex-direction: column; height: 100%; color: #000; border-radius: 18px; overflow: visible; }
.dw-top10 .dw-card { background: #fff; padding: clamp(10px, .95vw, 20px); border-radius: clamp(16px, 1.3vw, 26px); }
.dw-top10 .dw-card .ap-product-size { display: none; }
.dw-card__media { position: relative; }
#dwFestival .dw-card .ap-product-card__img-area { position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: auto; padding: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; border: 1px solid #E4E4E4; border-radius: 14px; cursor: pointer; }
#dwFestival .dw-card .ap-product-card__img-area img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; padding: 0; margin: 0; border: 0; }
#dwFestival .dw-off { position: absolute; top: 0; left: 0; z-index: 4; background: #E0161C; color: #fff; text-transform: uppercase;
  padding: .55em .95em; border-radius: 14px 0 12px 0; font: 500 clamp(11px, .85vw, 15px)/1 Poppins, sans-serif; }
#dwFestival .dw-card .ap-product-card__btn { position: absolute !important; right: 10px !important; bottom: 10px !important; left: auto !important; top: auto !important;
  display: inline-flex !important; align-items: center; gap: .35em; width: auto !important; height: auto !important; margin: 0 !important;
  padding: .65em 1.1em !important; background: #fff !important; color: #000 !important; border: 0 !important; border-radius: 999px !important;
  box-shadow: 0 0 6px rgba(0,0,0,.22) !important; z-index: 5; cursor: pointer; text-transform: uppercase;
  font: 500 clamp(12px, .95vw, 16px)/1 Poppins, sans-serif !important; }
#dwFestival .dw-plus { font-size: 1.35em; line-height: 1; margin-top: -.08em; }
#dwFestival .dw-card .mainboxw { position: absolute !important; right: 10px !important; bottom: 10px !important; left: auto !important; top: auto !important;
  width: 104px !important; height: 36px !important; margin: 0 !important; padding: 0 4px !important; background: #fff !important;
  border-radius: 999px !important; box-shadow: 0 0 6px rgba(0,0,0,.22) !important; z-index: 6; }
#dwFestival .dw-card .clsQty { display: flex !important; align-items: center; justify-content: space-between; width: 100% !important; height: 100%; padding: 0 !important; }
#dwFestival .dw-card .clsQty .dw-q { cursor: pointer; user-select: none; color: #000 !important; font-size: 22px !important; font-weight: 500; line-height: 1; padding: 0 8px; }
#dwFestival .dw-card .clsQty input { width: 28px !important; padding: 0; background: transparent !important; border: 0 !important; color: #000 !important;
  text-align: center; font-size: 13px !important; font-weight: 500; pointer-events: none; }

#dwFestival .dw-card__info { padding-top: 12px; display: flex; flex-direction: column; flex: 1; }
#dwFestival .dw-card__price { display: flex; align-items: baseline; gap: .5em; margin-bottom: .45em; }
#dwFestival .dw-card .ap-product-card__price { font: 500 clamp(15px, 1.2vw, 22px)/1.2 Poppins, sans-serif !important; color: #000 !important; }
#dwFestival .dw-card .ap-product-card__price--old { font: 400 clamp(12px, .95vw, 17px)/1.2 Poppins, sans-serif !important; color: #606060 !important; text-decoration: line-through; }
#dwFestival .dw-card .ap-detail-btn { margin-left: auto; color: #111; text-decoration: none; cursor: pointer; font: 400 clamp(12px, .95vw, 17px)/1 Poppins, sans-serif; }
#dwFestival .dw-card .ap-detail-btn:hover { text-decoration: underline; }
#dwFestival .dw-card .ap-product-card__name { font: 500 clamp(13px, 1.05vw, 19px)/1.3 Poppins, sans-serif !important; color: #000 !important; margin: 0 !important;
  min-height: 2.6em; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; text-transform: none; }
#dwFestival .dw-card .ap-product-size { margin: .35em 0 0 !important; font: 400 clamp(12px, .95vw, 17px)/1.3 Poppins, sans-serif !important; color: #666; text-transform: uppercase; }

/* ---------- curated tiers ---------- */
.dw-curated { position: relative; background: var(--dw-pink); padding: clamp(30px, 3.5vw, 70px) 5%; overflow: hidden; }
.dw-curated .dw-sec-head h2, .dw-feat .dw-sec-head h2 { font: 600 clamp(26px, 2.5vw, 52px)/1.2 Poppins, sans-serif; color: var(--dw-theme); }
.dw-tiers { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 40px); margin-top: 2.2em; }
.dw-tier { text-align: center; cursor: pointer; }
.dw-tier img { display: block; width: 100%; height: auto; }
#dwFestival .dw-tier .dw-btn { margin-top: 1.4em; min-width: 86%; text-transform: uppercase; }

/* ---------- featured product sections ---------- */
.dw-feat { position: relative; background: var(--dw-cream); padding: clamp(30px, 3.5vw, 70px) 5%; overflow: hidden; }
.dw-feat .dw-sec-sub strong { font-weight: 600; display: block; margin-top: .3em; }
.dw-fsec { position: relative; z-index: 1; padding: clamp(18px, 2vw, 36px) 0; border-bottom: 1px solid var(--dw-line); }
.dw-fsec:last-child { border-bottom: 0; }
.dw-fsec__head { display: flex; align-items: center; gap: 1.2em; margin-bottom: 1.2em; }
.dw-fsec__img { width: clamp(48px, 4.5vw, 92px); height: clamp(48px, 4.5vw, 92px); border-radius: 10px; object-fit: cover; flex: none; }
.dw-fsec__titles { flex: 1; min-width: 0; }
.dw-fsec__titles h3 { font: 600 clamp(18px, 1.7vw, 34px)/1.2 Poppins, sans-serif; }
.dw-fsec__titles p { font: 400 clamp(13px, 1.05vw, 20px)/1.4 Poppins, sans-serif; margin-top: .2em !important; }
.dw-fsec__ctrl { display: flex; align-items: center; gap: .7em; flex: none; }
#dwFestival .dw-arrow--sm { position: static; transform: none; width: clamp(34px, 2.8vw, 52px); height: clamp(34px, 2.8vw, 52px); background: #E9E4E1; box-shadow: none; }
#dwFestival .dw-viewall { margin-left: 1em; color: #000; text-decoration: underline; font: 500 clamp(14px, 1.1vw, 22px)/1 Poppins, sans-serif; cursor: pointer; }
.dw-viewall__ico { display: none; }

/* ---------- closing quote banner ---------- */
.dw-quote { position: relative; margin: 0 5% clamp(24px, 3vw, 60px); border-radius: 20px; overflow: hidden; background: #F9E7C8;
  min-height: clamp(200px, 20vw, 400px); display: flex; align-items: center; justify-content: center; }
.dw-quote__anim { position: absolute; inset: 0; }
.dw-quote__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 58%; padding: 24px 0; }
.dw-quote__title { font: 700 clamp(22px, 2.7vw, 54px)/1.25 Poppins, sans-serif; color: var(--dw-theme); }
.dw-quote__orn { width: clamp(180px, 22vw, 420px); margin: .9em 0; color: #D9A441; }
.dw-quote__sub { font: 400 clamp(14px, 1.3vw, 26px)/1.5 Poppins, sans-serif; margin-bottom: 1.2em !important; }

/* ---------- terms ---------- */
.dw-terms { background: #FBF3E9; border-top: 1px solid #EAD9C5; padding: clamp(30px, 4vw, 80px) 5%; }
.dw-terms__in { max-width: 71%; margin: 0 auto; }
.dw-terms h2 { text-align: center; font: 600 clamp(22px, 2.1vw, 42px)/1.3 Poppins, sans-serif; margin-bottom: 1.5em !important; }
.dw-terms p { font: 400 clamp(13px, 1vw, 20px)/1.6 Poppins, sans-serif; margin-bottom: 1.2em !important; }
.dw-terms p strong { font-weight: 600; }

/* ---------- how-to-participate modal (lives in <body>) ---------- */
.dw-modal { position: fixed; inset: 0; z-index: 9999999999; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.5); font-family: Poppins, sans-serif; }
.dw-modal.is-open { display: flex; }
.dw-modal__box { position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow: auto; background: #FFFDFA; border-radius: 22px; padding: 30px 22px 22px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.dw-modal__x { position: absolute; top: 14px; right: 16px; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dw-modal__x svg { width: 100%; height: 100%; fill: none; stroke: #000; stroke-width: 2.6; stroke-linecap: round; }
.dw-modal__title { margin: 0 0 22px; text-align: center; font: 600 22px/1.3 Poppins, sans-serif; color: #000; }
.dw-modal__list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.dw-modal__item { display: flex; gap: 16px; align-items: center; }
.dw-modal__ico { flex: none; width: 58px; height: 58px; border-radius: 50%; background: #FBEFEC; display: flex; align-items: center; justify-content: center; color: var(--dw-theme, #98004C); }
.dw-modal__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dw-modal__ico img { width: 60%; height: 60%; object-fit: contain; }
.dw-modal__txt strong { display: block; margin-bottom: 3px; font: 600 16px/1.35 Poppins, sans-serif; color: #000; }
.dw-modal__txt p { margin: 0; font: 400 13.5px/1.5 Poppins, sans-serif; color: #000; }
.dw-modal__note { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 14px; border: 1px solid #C9758F; border-radius: 10px; background: #FCEFEE; font: 400 13.5px/1.4 Poppins, sans-serif; color: #000; }
.dw-modal__note b { font-weight: 600; color: var(--dw-theme, #98004C); }
.dw-modal__tag { flex: none; display: flex; color: var(--dw-theme, #98004C); }
.dw-modal__tag svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Fixes to match the design references
   ========================================================================== */
/* corner decorations (were unpositioned) */
.dw-tl { top: 0; left: 0; width: 7.6%; }
.dw-tr { top: 0; right: 0; width: 9.2%; }
.dw-bl { bottom: 0; left: 0; width: 6%; }
.dw-br { bottom: 0; right: 0; width: 8%; }
.dw-curated .dw-tl, .dw-feat .dw-tl { left: 1.7%; width: 5.9%; }
.dw-curated .dw-tr, .dw-feat .dw-tr { right: 1.7%; width: 5.9%; }
.dw-curated .dw-bl, .dw-curated .dw-br, .dw-feat .dw-bl, .dw-feat .dw-br { display: none; }

/* site-wide p/span/a colours were overriding ours */
#dwFestival .dw-sec-sub, #dwFestival .dw-prize__sub, #dwFestival .dw-fsec__titles p, #dwFestival .dw-fsec__titles h3,
#dwFestival .dw-terms p, #dwFestival .dw-terms p strong, #dwFestival .dw-feat .dw-sec-sub strong { color: #000 !important; }
#dwFestival .dw-top10 .dw-sec-sub, #dwFestival .dw-top10 .dw-sec-head h2 { color: #fff !important; }
#dwFestival .dw-top10 .dw-sec-head h2 .dw-t1 { color: #F4C77D !important; }
#dwFestival .dw-sec-head h2 span { font: inherit !important; }
#dwFestival .dw-curated .dw-sec-head h2, #dwFestival .dw-feat .dw-sec-head h2,
#dwFestival .dw-prize__title, #dwFestival .dw-video__title { color: var(--dw-theme) !important; }
#dwFestival .dw-link { color: var(--dw-theme) !important; font-size: clamp(15px, 1.5vw, 30px); }
#dwFestival .dw-link svg { color: var(--dw-theme); }
#dwFestival .dw-add-txt, #dwFestival .dw-plus { color: #000 !important; font-family: Poppins, sans-serif !important; }

/* prizes: sizes from the reference */
.dw-prize { grid-template-columns: 1.05fr 1fr; }
.dw-prize__title { font-size: clamp(22px, 1.86vw, 46px); }
.dw-prize__sub { font-size: clamp(13px, .9vw, 20px); }
.dw-prize__media { aspect-ratio: 1.75 / 1; }
.dw-video__title { font-size: clamp(22px, 1.95vw, 42px); }

/* top 10 + featured: inset like the design, wider gaps */
.dw-top10 { padding-left: 7.8%; padding-right: 7.8%; --dw-gap: 1.9vw; }
.dw-feat { padding-left: 5.3%; padding-right: 5.3%; --dw-gap: 1.7vw; }
#dwFestival .dw-card .ap-product-card__name { font-weight: 400 !important; }
#dwFestival .dw-card .ap-product-card__price { font-size: clamp(15px, 1.1vw, 22px) !important; }

/* closing banner = Lottie only */
.dw-quote { display: block; min-height: 0; aspect-ratio: var(--dw-ratio, 2000 / 390); }
.dw-quote__anim { position: absolute; inset: 0; }

.dw-hero__badge-m { display: none; }
.dw-hero__title-m { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#dwFestival .dw-btn span, #dwFestival .dw-link span { color: inherit !important; font: inherit !important; }
.dw-prize__media [data-dw-lottie] { mix-blend-mode: multiply; }   /* the coin/phone files carry a white backdrop */

/* ==========================================================================
   MOBILE  (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  #dwFestival { --dw-gap: 12px; }
  #dwFestival .dw-scroller--5, #dwFestival .dw-scroller--6 { --dw-cols: 2.15; }
  #dwFestival .dw-arrow--prev, #dwFestival .dw-arrow--next, #dwFestival .dw-arrow--sm { display: none; }

  /* hero: animation on top, buttons below */
  .dw-hero { aspect-ratio: auto; overflow: visible; background: #FBF7F2; }
  .dw-hero__anim { position: relative; inset: auto; aspect-ratio: var(--dw-ratio, 730 / 412); }
  .dw-hero__btns { position: static; justify-content: center; gap: 10px; flex-wrap: nowrap; padding: 14px 14px 20px; }
  #dwFestival .dw-btn { padding: .85em 1.1em; font-size: 14px; }
  #dwFestival .dw-btn--ghost { background: transparent; }

  /* prizes: two columns side by side */
  .dw-prizes { padding: 22px 12px; }
  .dw-prizes__grid { grid-template-columns: 1fr 30px 1fr; align-items: stretch; gap: 8px; }
  .dw-prizes__left { display: contents; }
  .dw-prize--daily { order: 1; } .dw-prizes__mid { order: 2; } .dw-prize--grand { order: 3; }
  .dw-prizes__right { display: none; }
  .dw-prize { display: flex; flex-direction: column; text-align: center; padding: 0; border: 0 !important; gap: 8px; }
  .dw-prize__media { order: -1; width: 100%; }
  .dw-prize__badge { display: none; }
  .dw-prize__title { font-size: 15px; margin-bottom: .3em !important; }
  .dw-prize__sub { font-size: 12px; max-width: none; margin-bottom: .8em !important; }
  #dwFestival .dw-link { background: var(--dw-theme); color: #fff; text-decoration: none; border-radius: 999px; padding: .8em 1.2em; justify-content: center; font-size: 13px; }
  #dwFestival .dw-link svg { display: none; }
  .dw-prizes__mid img { width: 24px; }
  .dw-video-m { display: block; background: var(--dw-cream); padding: 24px 14px; }
  .dw-video-m .dw-video__title { text-align: center; font-size: 20px; }
  .dw-video__frame { border-radius: 16px; }

  /* top 10 */
  .dw-top10 { padding: 24px 12px 28px; }
  .dw-sec-head { gap: 8px; }
  .dw-sec-head__diya { width: 34px; }
  .dw-top10 .dw-sec-head h2 { font-size: 24px; }
  .dw-sec-sub, .dw-top10 .dw-sec-sub { font-size: 13px; max-width: 100%; margin-bottom: 1.2em !important; }
  .dw-top10 .dw-card .ap-product-size { display: block; }
  .dw-top10 .dw-card .ap-product-card__img-area { border: 0; }
  #dwFestival .dw-plus { font-size: 26px; margin-top: -2px; }
  .dw-top10 .dw-card { padding: 10px; border-radius: 16px; }
  #dwFestival .dw-card .ap-product-card__btn { width: 36px !important; height: 36px !important; padding: 0 !important; justify-content: center; right: 8px !important; bottom: 8px !important; }
  #dwFestival .dw-add-txt { display: none; }
  #dwFestival .dw-card .mainboxw { right: 6px !important; bottom: 6px !important; width: 92px !important; height: 32px !important; }
  .dw-top10 .dw-card .ap-detail-btn { color: var(--dw-theme); }
  #dwFestival .dw-card .ap-product-card__name { font-size: 14px !important; }

  /* curated tiers: horizontal row */
  .dw-curated { padding: 24px 12px; }
  .dw-curated .dw-sec-head h2, .dw-feat .dw-sec-head h2 { font-size: 22px; }
  .dw-tiers { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 6px; scrollbar-width: none; }
  .dw-tiers::-webkit-scrollbar { display: none; }
  .dw-tier { flex: 0 0 52%; scroll-snap-align: start; }
  #dwFestival .dw-tier .dw-btn { min-width: 90%; font-size: 13px; padding: .8em 1em; }

  /* featured */
  .dw-feat { background: var(--dw-pink); padding: 24px 12px; }
  .dw-fsec__head { gap: .8em; }
  .dw-fsec__titles h3 { font-size: 17px; }
  .dw-fsec__titles p { font-size: 12px; }
  #dwFestival .dw-viewall { margin: 0; width: 42px; height: 42px; border-radius: 50%; background: #2b2b2b; display: flex; align-items: center; justify-content: center; }
  .dw-viewall__txt { display: none; }
  .dw-viewall__ico { display: flex; }
  .dw-viewall__ico svg { width: 20px; height: 20px; }

  /* closing banner */
  .dw-quote { margin: 0 12px 24px; min-height: 190px; justify-content: flex-start; border-radius: 16px; }
  .dw-quote__content { align-items: flex-start; text-align: left; max-width: 62%; padding: 18px; }
  .dw-quote__title { font-size: 17px; }
  .dw-quote__orn, .dw-quote__sub { display: none; }
  .dw-quote__content .dw-btn { margin-top: 12px; font-size: 12px; padding: .8em 1.1em; }

  .dw-terms { padding: 24px 16px 32px; }
  .dw-terms__in { max-width: 100%; }
  .dw-terms h2 { font-size: 20px; }
  .dw-terms p { font-size: 14px; }
}

@media (max-width: 768px) {
  #dwFestival .dw-top10, #dwFestival .dw-feat { --dw-gap: 12px; padding-left: 12px; padding-right: 12px; }
  #dwFestival .dw-link { color: #fff !important; }
  .dw-tl, .dw-tr { width: 14%; }
  .dw-curated .dw-tl, .dw-feat .dw-tl { left: 2%; width: 11%; }
  .dw-curated .dw-tr, .dw-feat .dw-tr { right: 2%; width: 11%; }
  #dwFestival .dw-card .ap-product-card__name { font-weight: 500 !important; }
  .dw-quote { min-height: 0; margin: 0 12px 24px; aspect-ratio: var(--dw-ratio, 670 / 240); }
}

/* ==========================================================================
   festival page: hide generic title + bottom "how it works" (backup to ap.js)
   ========================================================================== */
body.dw-on #apHeroTitleSection, body.dw-on #howcompaignrule { display: none !important; }

/* curated tiers: every tile the same height, buttons on one line */
.dw-tiers { align-items: stretch; }
.dw-tier { display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.dw-tier img { width: 100%; height: auto; aspect-ratio: 10 / 11; object-fit: contain; object-position: center top; }
#dwFestival .dw-tier .dw-btn { margin-top: 1.4em; }

/* ==========================================================================
   MOBILE – matched to the reference screens (<= 768px). Keep this block last.
   ========================================================================== */
@media (max-width: 768px) {
  /* hero: artwork Lottie, gold badge overlapping its bottom edge, title, buttons */
  .dw-hero { background: linear-gradient(#F6EBDD, #FAF4EC 55%, #FBF7F2); overflow: visible; }
  .dw-hero__anim { position: relative; inset: auto; aspect-ratio: var(--dw-ratio, 730 / 412); overflow: hidden; }
  .dw-hero__badge-m { display: block; position: relative; z-index: 2; width: max-content; margin: -18px auto 0; padding: 7px 24px; border-radius: 999px;
    background: linear-gradient(#F3D78F, #DDB25C); color: #2b1a00; text-transform: uppercase; font: 600 13.5px/1.3 Poppins, sans-serif; }
  .dw-hero__title-m { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; text-align: center;
    margin: 16px 12px 0; padding: 0; font: 700 18px/1.5 Poppins, sans-serif; color: var(--dw-theme); }
  .dw-hero__title-m span { font: inherit; color: inherit; }
  .dw-hero__btns { position: static; display: flex; flex-wrap: nowrap; justify-content: center; gap: 14px; padding: 16px 14px 22px; }
  #dwFestival .dw-hero__btns .dw-btn { flex: 0 1 auto; padding: .8em 1.1em; font: 500 14px/1.2 Poppins, sans-serif; }
  #dwFestival .dw-btn--ghost { background: transparent; }

  /* daily win + grand prize */
  .dw-prizes { padding: 28px 10px 30px; }
  .dw-prizes__grid { grid-template-columns: 1fr 26px 1fr; gap: 6px; }
  .dw-prize { gap: 14px; }
  .dw-prize__title { font-size: 15px; line-height: 1.25; margin-bottom: .45em !important; }
  .dw-prize__sub { font-size: 12.5px; line-height: 1.55; margin: 0 auto .9em !important; }
  #dwFestival .dw-link { width: 88%; margin: 0 auto; padding: .85em 0; font-size: 13px; font-weight: 600; }
  .dw-prizes__mid img { width: 22px; }
  .dw-prizes .dw-deco { display: none; }

  /* top 10 */
  #dwFestival .dw-top10 { padding: 22px 16px 26px; }
  .dw-top10 .dw-sec-head { gap: 10px; }
  .dw-top10 .dw-sec-head__diya { width: 24px; }
  .dw-top10 .dw-sec-head h2 { font-size: 24px; line-height: 1.2; white-space: nowrap; }
  .dw-top10 .dw-sec-sub { font-size: 14px; margin: .5em 0 1.1em !important; }
  .dw-top10 .dw-card { padding: 12px; border-radius: 16px; }
  .dw-top10 .dw-card .ap-product-card__img-area { border: 0; border-radius: 12px; }
  #dwFestival .dw-top10 .dw-card .ap-product-card__name { font-size: 12.5px !important; line-height: 1.5 !important; font-weight: 400 !important; min-height: 3em; }
  #dwFestival .dw-top10 .dw-card .ap-product-size { font-size: 11px !important; margin-top: .5em !important; }

  /* shared card bits */
  #dwFestival .dw-card .ap-product-card__price { font-size: 13.5px !important; }
  #dwFestival .dw-card .ap-product-card__price--old { font-size: 12.5px !important; }
  #dwFestival .dw-card .ap-detail-btn { font-size: 12.5px; }
  #dwFestival .dw-card .ap-product-card__btn { width: 32px !important; height: 32px !important; right: 6px !important; bottom: 6px !important; }
  #dwFestival .dw-plus { font-size: 24px; font-weight: 300; margin-top: -1px; }
  #dwFestival .dw-off { font-size: 12px; padding: .5em .85em; border-radius: 10px 0 10px 0; }

  /* curated: title only (no diyas, no subtitle), tiles 52% wide */
  #dwFestival .dw-curated { padding: 30px 16px 32px; }
  .dw-curated .dw-sec-head__diya, .dw-curated .dw-sec-sub, .dw-feat .dw-sec-head__diya, .dw-feat .dw-sec-sub { display: none; }
  .dw-curated .dw-sec-head h2, .dw-feat .dw-sec-head h2 { font-size: 22px; line-height: 1.25; max-width: 11em; margin: 0 auto; }
  .dw-tiers { margin-top: 1.3em; gap: 16px; }
  .dw-tier { flex: 0 0 52%; }
  #dwFestival .dw-tier .dw-btn { min-width: 90%; padding: .85em 0; font-size: 14px; margin-top: 1.1em; }

  /* featured */
  #dwFestival .dw-feat { padding: 30px 16px 8px; }
  .dw-fsec { padding: 22px 0 26px; border-bottom: 2px solid #EBD9D5; }
  .dw-fsec__head { margin-bottom: 14px; gap: 12px; }
  .dw-fsec__img { width: 56px; height: 56px; border-radius: 8px; }
  .dw-fsec__titles h3 { font-size: 17px; font-weight: 600; color: #333 !important; }
  .dw-fsec__titles p { font-size: 13px; line-height: 1.4; }
  #dwFestival .dw-viewall { width: 34px; height: 34px; }
  .dw-viewall__ico svg { width: 16px; height: 16px; }
  #dwFestival .dw-feat .dw-card .ap-product-card__name { font-size: 15px !important; line-height: 1.35 !important; font-weight: 400 !important; }
  #dwFestival .dw-feat .dw-card .ap-product-size { font-size: 12.5px !important; }
  #dwFestival .dw-feat .dw-card .ap-product-card__btn { width: 37px !important; height: 37px !important; right: 9px !important; bottom: 9px !important; box-shadow: 0 2px 8px rgba(0,0,0,.2) !important; }
  #dwFestival .dw-feat .dw-plus { font-size: 28px; }

  /* video block (after the curated tiles) */
  .dw-video-m { padding: 26px 18px 30px; }
  .dw-video-m .dw-video__title { font-size: 20px; line-height: 1.35; margin-bottom: .8em !important; }

  /* closing banner + terms */
  .dw-quote { margin: 16px 20px 22px; }
  .dw-terms { padding: 26px 20px 34px; }
  .dw-terms h2 { font-size: 18px; max-width: 100%; margin: 0 auto 1.2em !important; }
  .dw-terms p { font-size: 14px; line-height: 1.5; margin-bottom: 1.1em !important; }
}

/* Lottie artwork never paints outside its own box */
#dwFestival [data-dw-lottie], #dwFestival [data-dw-lottie] svg { overflow: hidden; }

/* ==========================================================================
   hero buttons + wrapper colour on small screens (keep last)
   ========================================================================== */
@media (max-width: 768px) {
  /* wrapper continues the beige of the artwork, fading to the cream prizes section */
  .dw-hero { background: linear-gradient(#EEE2D1 0, #F4EBDF 45%, #F8F2EA 100%); }
  .dw-hero__btns { gap: 10px; padding: 16px 12px 24px; flex-wrap: nowrap; }
  /* buttons shrink with the screen instead of overflowing */
  #dwFestival .dw-hero__btns .dw-btn { flex: 0 1 auto; min-width: 0; max-width: calc(50% - 5px); padding: .75em .9em;
    font-size: clamp(11px, 3.4vw, 14px); line-height: 1.25; white-space: normal; text-align: center; }
  .dw-hero__title-m { font-size: clamp(15px, 4.4vw, 18px); }
}
/* tablets / small laptops: the absolutely-positioned buttons scale down with the banner */
@media (min-width: 769px) and (max-width: 1100px) {
  .dw-hero__btns { gap: .9vw; }
  #dwFestival .dw-hero__btns .dw-btn { padding: .75em 1.3em; font-size: clamp(10px, 1.45vw, 14px); }
}

/* ---------- Lottie placeholder image: visible until the animation has rendered, then fades out ---------- */
.dw-ph::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--ph-web) center / cover no-repeat; opacity: 1; transition: opacity .4s ease; }
.dw-ph svg { position: relative; z-index: 1; }
.dw-ph.dw-lottie--ready::before { opacity: 0; }
@media (max-width: 768px) { .dw-ph::before { background-image: var(--ph-mob); } }

/* ==========================================================================
   mobile v3: curated 2x2 grid, purple CTAs, video flush with the closing strip
   ========================================================================== */
@media (max-width: 768px) {
  #dwFestival { --dw-purple: #744079; }
  #dwFestival .dw-curated { background: var(--dw-pink); padding: 34px 14px 26px; }
  .dw-tiers { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; scroll-snap-type: none; gap: 22px 8px; margin-top: 1.1em; padding: 0; }
  .dw-tier { flex: none; width: auto; min-width: 0; align-items: center; }
  .dw-tier img { width: 92%; }
  #dwFestival .dw-tier .dw-btn { color: #fff; min-width: 0; width: 92%; padding: .9em .4em;
    font-size: clamp(11.5px, 3.3vw, 14px); font-weight: 600; margin-top: .6em; white-space: nowrap; }
  #dwFestival .dw-prize--grand .dw-link { background: var(--dw-purple); }
  #dwFestival .dw-btn--ghost { border-color: var(--dw-purple); color: var(--dw-purple); }
  /* video + closing strip read as one block */
  .dw-video-m { padding: 26px 18px 14px; }
  #dwFestival .dw-quote { margin: 0 18px 22px; box-shadow: none; border-radius: 16px; }
  .dw-terms { padding-top: 26px; }
}

/* mobile v3 hardening: beat any earlier flex/scroll rules on the curated tiles */
@media (max-width: 768px) {
  #dwFestival .dw-curated .dw-tiers { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; overflow: visible !important;
    scroll-snap-type: none !important; gap: 20px 8px !important; padding: 0 !important; margin-top: 1.1em; }
  #dwFestival .dw-curated .dw-tier { flex: none !important; width: auto !important; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
  #dwFestival .dw-curated .dw-tier img { width: 100% !important; max-width: none; height: auto; aspect-ratio: auto; object-fit: contain; }
  #dwFestival .dw-curated .dw-tier .dw-btn { width: 92% !important; min-width: 0 !important; margin-top: .4em !important; padding: .95em .3em !important;
    background: var(--dw-theme) !important; border-color: var(--dw-theme) !important; color: #fff !important; font-size: clamp(11.5px, 3.3vw, 14px); white-space: nowrap; }
}

/* ==========================================================================
   mobile v4 – matched to the Adobe XD mobile screen (<= 768px). Keep last.
   All CTAs use the theme crimson (no purple); sizes scale with the screen width (design = 375px).
   ========================================================================== */
@media (max-width: 768px) {
  /* hero wrapper: light marble beige, continues the artwork */
  .dw-hero { background: linear-gradient(#F3EADD 0%, #F5EEE5 100%); }
  .dw-hero__title-m { margin: 30px 12px 0; font-size: clamp(15px, 4.8vw, 22px); line-height: 1.5; }
  /* two buttons fill the row (16px sides, 12px gap) */
  .dw-hero__btns { gap: 12px; padding: 22px 16px 26px; justify-content: stretch; }
  #dwFestival .dw-hero__btns .dw-btn { flex: 1 1 auto; min-width: 0; max-width: none; padding: .75em .5em;
    font-size: clamp(12px, 3vw, 14px); font-weight: 500; line-height: 1.25; white-space: normal; text-align: center; }
  #dwFestival .dw-hero__btns .dw-btn--primary { background: var(--dw-theme); border-color: var(--dw-theme); color: #fff; }
  #dwFestival .dw-hero__btns .dw-btn--ghost { background: transparent; border-color: var(--dw-theme); color: var(--dw-theme); }

  /* Daily Diwali Wins / Grand Prize */
  .dw-prize__title { font-size: clamp(15px, 4.1vw, 19px); }
  #dwFestival .dw-link { width: 80%; padding: .9em 0; font-size: clamp(12px, 3.4vw, 15px); font-weight: 600; background: var(--dw-theme); }
  #dwFestival .dw-prize--grand .dw-link { background: var(--dw-theme); }   /* XD: both prize buttons crimson */
  .dw-prizes__mid img { width: 18px; padding: 18px 0; }
}
