/* Tholath Stores – Christmas sale page */
:root {
  --night: #0B2A1F;
  --green: #11402F;
  --green-2: #185A42;
  --red: #C41E2A;
  --red-dark: #9E1620;
  --gold: #F5C24C;
  --gold-ink: #2A1A0C;
  --cream: #FFF8EC;
  --cream-2: #FBEBD3;
  --ink: #23170F;
  --muted: #65554A;
  --radius: 22px;
  --font-head: 'Baloo Chettan 2', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}
html[lang="ml"] { --font-body: 'Noto Sans Malayalam', 'Nunito', sans-serif; }
html[lang="ml"] h1 { line-height: 1.2; }
html[lang="ml"] h2, html[lang="ml"] h3 { line-height: 1.3; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: 1; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.muted { color: var(--muted); }

/* String lights */
.string-lights {
  height: 26px; background: var(--night);
  background-image:
    radial-gradient(circle at 12px 16px, #ff4d4d 0 5px, transparent 6px),
    radial-gradient(circle at 36px 16px, #ffd84d 0 5px, transparent 6px),
    radial-gradient(circle at 60px 16px, #4dff88 0 5px, transparent 6px),
    radial-gradient(circle at 84px 16px, #4dc3ff 0 5px, transparent 6px),
    linear-gradient(transparent 9px, #233 9px, #233 10px, transparent 10px);
  background-size: 96px 26px;
  animation: twinkle 1.6s steps(2) infinite;
}
@keyframes twinkle { 50% { filter: brightness(.55) saturate(.7); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font: 800 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--red { background: var(--red); color: #fff; }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn--outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand__mark { width: 44px; height: 44px; border-radius: 12px; background: #960E1A; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font: 800 1.25rem/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .01em; }
.brand__alt { font-size: .82rem; color: #CFE3D8; font-family: 'Noto Sans Malayalam', sans-serif; }
html[lang="ml"] .brand__alt { font-family: 'Nunito', sans-serif; }
.topbar__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.link-home { color: #fff; font-weight: 700; text-decoration: none; padding: 10px 6px; }
.link-home:hover { color: var(--gold); }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: 700 .95rem/1 var(--font-body); cursor: pointer; }
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
#langToggleLabel { font-family: 'Noto Sans Malayalam', 'Nunito', sans-serif; }
@media (max-width: 640px) { .link-home { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,28,20,.92) 0%, rgba(8,28,20,.7) 45%, rgba(8,28,20,.15) 100%), linear-gradient(0deg, rgba(8,28,20,.75) 0%, transparent 45%); }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 96px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__copy { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.badge { align-self: flex-start; background: var(--red); color: #fff; font: 800 1.05rem/1 var(--font-head); padding: 12px 18px 9px; border-radius: 999px; transform: rotate(-3deg); box-shadow: 0 6px 20px rgba(196,30,42,.45); }
.hero h1 { text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.lead { font-size: 1.2rem; color: #EAF3EE; max-width: 540px; }
.countdown { background: var(--gold); color: var(--gold-ink); border-radius: var(--radius); padding: 18px 26px; text-align: center; min-width: 170px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.countdown__num { display: block; font: 800 3.6rem/1 var(--font-head); }
.countdown__label { display: block; font-weight: 800; font-size: .95rem; }

/* Sections */
.section { padding: 88px 0; }
.section--green { background: var(--green); color: #fff; }
.section__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 36px; max-width: 760px; }
.eyebrow { font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.eyebrow--gold { color: var(--gold); }
html[lang="ml"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 1rem; }

/* Products */
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(60,20,10,.08); display: flex; flex-direction: column; transition: transform .2s ease; }
.product:hover { transform: translateY(-4px); }
.product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cream-2); }
.product__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__body p { color: var(--muted); font-size: .98rem; flex: 1; }
.price { align-self: flex-start; margin-top: 6px; background: var(--cream-2); color: var(--red-dark); font-weight: 800; padding: 6px 14px; border-radius: 999px; }

/* Lights banner */
.banner { position: relative; color: #fff; overflow: hidden; background: var(--red-dark); }
.banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(110,10,18,.9) 0%, rgba(110,10,18,.65) 55%, rgba(110,10,18,.25) 100%); }
.banner__inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; max-width: 1200px; }
.banner__inner > * { max-width: 620px; }
.banner p { font-size: 1.15rem; color: #FFE9E0; }
.tags { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.5); padding: 6px 14px; border-radius: 999px; font-weight: 700; }

/* Split */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px; align-items: center; }
.split__img { width: 100%; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(60,20,10,.15); }
.split__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; }
.ticks li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--red); font-size: 1.1rem; }

/* Strip */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 640px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Shops */
.shops { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.shops > div { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.shops__sub { color: #CFE3D8; font-size: 1.1rem; }
.shops__sub strong { color: var(--gold); }

/* Visit */
.visit { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.facts { margin: 24px 0 0; display: grid; grid-template-columns: 110px 1fr; gap: 12px 20px; font-size: 1.05rem; }
.facts dt { font-weight: 800; color: var(--muted); }
.facts dd { margin: 0; }
.facts a { font-weight: 800; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

/* Footer */
.footer { background: var(--night); color: #CFE3D8; padding: 36px 0 96px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.footer__brand { font: 800 1.4rem/1.2 var(--font-head); color: var(--gold); margin-bottom: 6px; }
.footer__small { font-size: .9rem; }
.footer a { color: #fff; }
@media (min-width: 900px) { .footer { padding-bottom: 36px; } }

/* Floating WhatsApp (phones) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
@media (min-width: 900px) { .fab { display: none; } }

@media (max-width: 600px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product__body { padding: 14px; }
  .product__body h3 { font-size: 1.1rem; }
  .product__body p { font-size: .88rem; }
  .price { font-size: .85rem; padding: 4px 10px; }
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 64px; padding-bottom: 48px; }
  .countdown { padding: 12px 20px; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
  .countdown__num { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .string-lights { animation: none; }
  .btn, .product { transition: none; }
}

/* ---------- Mobile fixes ---------- */
.lang-short { display: none; }
@media (max-width: 600px) {
  .topbar__inner { flex-wrap: nowrap; gap: 8px; }
  .brand { min-width: 0; gap: 10px; }
  .brand__mark { width: 40px; height: 40px; flex: none; }
  .brand__text { min-width: 0; }
  .brand__name { font-size: 1rem; white-space: nowrap; }
  .brand__alt { font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar__actions { flex: none; gap: 6px; flex-wrap: nowrap; }
  .lang-toggle { padding: 0 12px; gap: 6px; }
  .lang-full { display: none; }
  .lang-short { display: inline; font-family: 'Nunito', 'Inter', sans-serif; }
  .btn--call { width: 44px; padding: 0; }
  .btn--call span { display: none; }
  h1, h2, h3 { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  .product__body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: none; }
  .product__body { gap: 6px; }
  .product__body .price { margin-top: auto; }
  .hero__copy .btn { width: 100%; }
  .countdown { width: 100%; justify-content: center; }
  .split { gap: 28px; }
  .shops .btn, .visit .btn { width: 100%; }
}
