:root {
  --brand: #176bfa;
  --brand-2: #e7dcff;
  --navy: #091c55;
  --ink: #14234a;
  --muted: #63718e;
  --line: #e7eafa;
  --canvas: #f7f9ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  font: 15px/1.6 "DM Sans", "Noto Sans Tamil", sans-serif;
}
main { flex: 1; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Manrope, "Noto Sans Tamil", "DM Sans", sans-serif; letter-spacing: -0.04em; color: var(--navy); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid #4e49f8; outline-offset: 2px; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { width: auto; height: auto; clip: auto; left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.banner { margin: 0; padding: 10px 24px; background: #fff7e8; color: #6b4b12; font-weight: 700; text-align: center; }
.shop-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #ecedfa;
}
.nav-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-family: Manrope, sans-serif; font-size: 20px; letter-spacing: -0.04em; color: var(--navy); }
.brand small { color: var(--muted); font-weight: 700; font-size: 12px; }
.shop-nav nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shop-nav nav a { color: #44506e; font-weight: 700; font-size: 13.5px; min-height: 40px; display: inline-flex; align-items: center; }
.shop-nav nav a[aria-current="page"] { color: var(--brand); }
.cart-link {
  color: #fff !important;
  background: var(--brand);
  border-radius: 11px;
  padding: 0 14px;
  min-height: 40px !important;
}
.lang { display: flex; gap: 4px; }
.lang button {
  border: 0;
  background: transparent;
  color: #44506e;
  font-weight: 800;
  font-size: 12px;
  min-height: 44px;
  padding: 0 6px;
}
.lang button[aria-current="true"] { color: var(--brand); }
.menu {
  display: none;
  border: 1px solid #e1e5f6;
  background: #fff;
  color: var(--navy);
  border-radius: 9px;
  min-height: 40px;
  padding: 0 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 18px;
  background:
    radial-gradient(ellipse at 88% 0%, var(--brand-2) 0, transparent 46%),
    var(--canvas);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: center; }
.hero-copy { max-width: 640px; text-align: left; }
.hero-actions { justify-content: flex-start; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #dde4ff;
  border-radius: 99px;
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
}
.dot { width: 7px; height: 7px; border-radius: 100%; background: var(--brand); }
.hero h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; margin: 10px 0 8px; }
.hero p { color: var(--muted); font-size: 16px; max-width: 520px; }
.hero-actions, .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}
.btn.primary { color: #fff; background: var(--brand); box-shadow: 0 12px 25px color-mix(in srgb, var(--brand) 28%, transparent); }
.btn.outline { background: #fff; border-color: #dce2fb; color: var(--navy); }
.btn.light { background: #fff; color: var(--navy); }

.block { padding: 18px 0; }
.section-head { margin-bottom: 12px; }
.section-head h2, .card h2, .sheet h1, .product-page h1 { font-size: clamp(24px, 3vw, 32px); }
.search { max-width: 360px; margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.card, .sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.card h3 { font-size: 16px; margin: 8px 0 4px; }
.card p, .prose p, .sheet p { color: var(--muted); margin-top: 6px; }
.desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prose h2 { margin-bottom: 8px; }
.price { font-weight: 800; color: var(--brand) !important; }
.pic {
  display: grid;
  place-items: center;
  height: 148px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-2) 70%, white);
  color: var(--brand);
  font-family: Manrope, sans-serif;
  font-size: 36px;
  font-weight: 800;
  overflow: hidden;
}
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic-card { padding: 0; overflow: hidden; }
.pic-card img { width: 100%; height: 220px; object-fit: cover; }
.buy { display: flex; gap: 8px; align-items: end; margin-top: 12px; }
.buy input { width: 72px; }
.empty { color: var(--muted); padding: 8px 0 16px; }

.cta { background: linear-gradient(115deg, var(--brand), color-mix(in srgb, var(--brand) 45%, #081843)); color: #fff; padding: 22px 0; }
.cta h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.cta p { color: rgba(255, 255, 255, 0.86); max-width: 640px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.sheet { margin: 16px auto 28px; }
.product-page { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 18px; align-items: start; margin: 16px auto 8px; }
.product-page .pic { height: 280px; }
.lines { display: grid; gap: 12px; margin: 16px 0; }
.line { display: grid; grid-template-columns: 1fr auto 90px; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
label { display: block; font-size: 12px; font-weight: 800; margin: 12px 0 6px; color: #344466; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dce2f1;
  border-radius: 9px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 96px; }
.flash { padding: 12px 14px; border-radius: 10px; margin: 16px 0; }
.flash.ok { background: #eefbf3; }
.flash.error { background: #fff1f1; }
.note { color: var(--muted); font-size: 13px; margin-top: 14px; }

.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: #128c7e;
  color: #fff;
  display: flex;
  align-items: center;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(18, 140, 126, 0.28);
}
.shop-foot { background: #081843; color: #d5def5; padding: 24px 0 16px; margin-top: 8px; }
.shop-foot strong { color: #fff; font-size: 18px; }
.shop-foot p, .shop-foot a { color: #aeb9d7; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; }
.shop-foot nav { display: flex; gap: 18px; font-weight: 800; font-size: 13px; }
.foot-bottom { margin-top: 14px; padding-top: 12px; border-top: 1px solid #26355e; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #98a7cc; }

.pitch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 24px; background: #091c55; color: #fff; }
.pitch p { margin: 0; font-size: 13.5px; }
.pitch a { color: #fff; background: var(--brand); border-radius: 9px; padding: 7px 12px; font-weight: 800; white-space: nowrap; }
.hero-aside { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.aside-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mini { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-weight: 700; }
.mini strong { color: var(--brand); white-space: nowrap; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.info-grid .span { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-grid .full { grid-column: 1 / -1; }
.book-layout { display: grid; grid-template-columns: 1.45fr 0.7fr; gap: 16px; align-items: start; margin: 16px auto 28px; }
.book-main h1 { font-size: clamp(28px, 3vw, 36px); }
.lead { color: var(--muted); margin: 4px 0 12px; }
.service-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; min-width: 140px; }
.pick span { color: var(--muted); font-size: 12px; font-weight: 700; }
.pick input { position: absolute; opacity: 0; width: 1px; min-height: 0; }
.pick:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, white); }
.day-label { margin: 12px 0 6px; font-size: 12px; font-weight: 800; color: var(--muted); }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { position: relative; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 13px; }
.slot input { position: absolute; opacity: 0; width: 1px; min-height: 0; }
.slot:has(input:checked) { background: var(--brand); color: #fff; border-color: var(--brand); }
.book-side { position: sticky; top: 76px; }
.book-side h2 { font-size: 20px; }
.book-side .btn { width: 100%; margin-top: 12px; }
.mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.shot { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--brand-2); }
.shot img { width: 100%; height: 150px; object-fit: cover; }
.shot span { position: absolute; left: 8px; bottom: 8px; background: #fff; border-radius: 8px; padding: 3px 8px; font-size: 12px; font-weight: 800; }
.product-card { display: flex; flex-direction: column; }
.product-card .buy { margin-top: auto; }
html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3, html[lang="ta"] .eyebrow, html[lang="ta"] .aside-kicker { letter-spacing: 0; text-transform: none; }
@media (max-width: 800px) {
  .menu { display: inline-flex; }
  .shop-nav nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 12px 20px 20px;
    border-bottom: 1px solid #ecedfa;
    box-shadow: 0 15px 25px rgba(24, 45, 87, 0.1);
  }
  .shop-nav nav.open { display: flex; }
  .cart-link { justify-content: center; }
  .product-page, .cta-inner, .foot-grid, .line { grid-template-columns: 1fr; display: grid; }
  .cta-inner, .foot-grid { display: flex; flex-direction: column; align-items: flex-start; }
  .hero { padding: 20px 0 8px; }
  .hero h1 { font-size: 34px; }
  .hero-grid, .book-layout, .form-grid, .pitch { grid-template-columns: 1fr; display: grid; }
  .pitch { align-items: start; }
  .book-side { position: static; }
  .product-page .pic { height: 200px; }
  .block { padding: 14px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
