:root {
  --cream: #fff8ef;
  --paper: #ffffff;
  --pink: #d6246e;
  --pink-deep: #a8154f;
  --mango: #ffa62b;
  --mango-soft: #ffe7c2;
  --ink: #2b1420;
  --muted: #6e5562;
  --line: rgba(43, 20, 32, 0.12);
  --display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.02rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.has-order { padding-bottom: 92px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mango); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 800 0.98rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform 0.2s, background-color 0.2s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 6px 0 var(--pink-deep); }
.btn-pink:hover { background: #e23179; }
.btn-pink:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--pink-deep); }
.btn-line { background: var(--paper); border-color: var(--ink); color: var(--ink); }

.strip { background: var(--ink); color: var(--mango-soft); text-align: center; font-size: 0.85rem; font-weight: 700; padding: 8px 16px; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 248, 239, 0.96); border-bottom: 2px dashed var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.35rem/1 var(--display); color: var(--pink); text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo.small { font-size: 1.1rem; color: var(--mango); }
.nav { display: flex; gap: 26px; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--pink); }

/* Hero with a kolam dot grid */
.hero { padding: 56px 0 72px; background-image: radial-gradient(circle, rgba(214, 36, 110, 0.18) 1.6px, transparent 2px); background-size: 26px 26px; background-position: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; background: var(--cream); padding: 8px 16px 8px 0; border-radius: 24px; }
.hi { font: 600 1.15rem/1 var(--display); color: var(--muted); }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 700; }
.pink { color: var(--pink); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 42ch; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.chips-row { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips-row li { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 2px solid var(--line); font-weight: 700; font-size: 0.9rem; }
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); }
.frame { aspect-ratio: 1; border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%; overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 0 0 3px var(--pink), 0 30px 60px -30px rgba(43, 20, 32, 0.6); background: var(--mango-soft); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.sticker { position: absolute; right: -6px; top: 6%; width: 118px; height: 118px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--mango); color: var(--ink); font: 600 0.92rem/1.15 var(--display); transform: rotate(10deg); border: 3px dashed var(--ink); animation: wobble 5s ease-in-out infinite; }
.sticker b { font-size: 1.05rem; }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.04); } }

/* Shop */
.shop { padding: 72px 0 88px; background: var(--paper); border-block: 2px dashed var(--line); }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-bottom: 28px; }
.shop h2, .how h2, .love h2, .faq h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cats button { padding: 9px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); font: 800 0.9rem/1 var(--body); cursor: pointer; color: var(--ink); }
.cats button[aria-pressed="true"] { background: var(--ink); color: var(--mango-soft); }
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 24px; background: var(--cream); border: 2px solid var(--line); transition: transform 0.25s, border-color 0.25s; }
.product:hover { transform: translateY(-4px); border-color: var(--pink); }
.pic { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--mango-soft); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.note { position: absolute; top: 20px; left: 20px; padding: 5px 10px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 0.75rem; font-weight: 800; }
.p-info h3 { font-size: 1.25rem; }
.p-info p { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.p-buy { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.p-buy strong { font: 700 1.2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.add { padding: 9px 16px; border-radius: 999px; border: 2px solid var(--pink); background: var(--paper); color: var(--pink); font: 800 0.9rem/1 var(--body); cursor: pointer; }
.add:hover { background: var(--pink); color: #fff; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--pink); color: #fff; }
.stepper button { width: 36px; height: 36px; border: 0; background: transparent; color: #fff; font: 800 1.2rem/1 var(--body); cursor: pointer; border-radius: 50%; }
.stepper button:hover { background: var(--pink-deep); }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* How */
.how { padding: 88px 0; }
.how-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-steps li { padding: 26px; border-radius: 24px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--mango); display: flex; flex-direction: column; gap: 8px; }
.how-steps span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--pink); color: #fff; font: 700 1.3rem/1 var(--display); }
.how-steps h3 { font-size: 1.4rem; margin-top: 6px; }
.how-steps p { color: var(--muted); }

/* Love */
.love { padding: 0 0 88px; }
.love-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.love blockquote { margin: 0; padding: 24px; border-radius: 24px; background: var(--mango-soft); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.love blockquote:nth-child(2) { background: #ffd9e7; }
.love p { font: 600 1.15rem/1.4 var(--display); }
.love cite { font-style: normal; font-weight: 700; color: var(--muted); font-size: 0.9rem; }

/* FAQ */
.faq { padding: 0 0 88px; }
.faq-wrap { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 40px; align-items: start; }
.qa details { border-radius: 18px; background: var(--paper); border: 2px solid var(--line); margin-bottom: 12px; }
.qa summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; position: relative; font: 600 1.15rem/1.3 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mango-soft); display: grid; place-items: center; font-weight: 700; transition: transform 0.25s; }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { padding: 0 20px 18px; color: var(--muted); }

.foot { background: var(--ink); color: #e9d6df; padding-block: 26px; font-size: 0.9rem; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

/* Order bar */
.order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); color: #fff; box-shadow: 0 -16px 40px -20px rgba(43, 20, 32, 0.7); animation: up 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes up { from { transform: translateY(100%); } }
.order-row { display: flex; align-items: center; gap: 14px; padding-block: 14px; }
.order-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; flex: 1; min-width: 0; }
.order-sum strong { font: 600 1.1rem/1.2 var(--display); }
.order-sum span { font: 700 1.3rem/1.2 var(--display); color: var(--mango); font-variant-numeric: tabular-nums; }
.order-sum small { width: 100%; color: #d9c2cd; font-size: 0.82rem; }
.link-btn { border: 0; background: none; color: #d9c2cd; font: 700 0.9rem var(--body); text-decoration: underline; cursor: pointer; }

@media (max-width: 960px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .faq-wrap { grid-template-columns: 1fr; }
  .hero-art { width: min(84%, 400px); }
  .how-steps, .love-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { padding: 10px; border-radius: 20px; }
  .p-buy { flex-direction: column; align-items: stretch; gap: 10px; }
  .p-buy strong { font-size: 1.1rem; }
  .add { width: 100%; }
  .stepper { justify-content: space-between; }
}
@media (max-width: 520px) {
  .hero { padding-top: 32px; }
  .cta .btn-lg { width: 100%; }
  .sticker { width: 96px; height: 96px; font-size: 0.8rem; right: -4px; }
  .order-row { gap: 10px; }
  .order-bar .btn { padding: 12px 16px; font-size: 0.92rem; }
  .link-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sticker, .order-bar { animation: none; } .btn, .product { transition: none; } }
