/* ==========================================================================
   gifts.do — design system (Diwali edition, v2 "spark")
   Light, festive, product-forward. Distinctive — not templated.
   Type:  Bricolage Grotesque (display) + Hanken Grotesk (body/UI)
   Feel:  warm porcelain paper · magenta-rose + marigold-gold spark
   ========================================================================== */

:root {
  --paper: #fdf9f3;          /* warm porcelain */
  --paper-2: #fff3e8;        /* soft marigold wash for alt sections */
  --card: #ffffff;
  --ink: #1a1520;            /* rich near-black plum */
  --ink-soft: #5a5262;
  --muted: #948d9c;
  --line: #efe4d5;           /* warm sand hairline */
  --line-2: #f6eee2;

  --accent: #e11d5a;         /* vibrant Diwali magenta-rose */
  --accent-ink: #b0114a;
  --accent-soft: #fbe5ec;
  --gold: #e6a208;           /* marigold */
  --gold-soft: #fdf0d2;
  --spark: linear-gradient(120deg, #e11d5a 0%, #f0651e 60%, #e6a208 120%);
  --spark-2: linear-gradient(135deg, #e11d5a, #b0114a);

  --shadow-sm: 0 1px 2px rgba(26,21,32,.05), 0 4px 12px -8px rgba(120,20,60,.18);
  --shadow: 0 2px 4px rgba(26,21,32,.04), 0 18px 40px -22px rgba(120,20,60,.30);
  --shadow-lg: 0 30px 70px -34px rgba(120,20,60,.42);

  --wrap: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 9px;

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 5px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

/* ---- festival urgency bar --------------------------------------------- */
.fest-bar {
  background: var(--spark-2); color: #fff; font-size: 0.86rem;
  text-align: center; padding: 9px 18px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 500; letter-spacing: 0.01em;
}
.fest-bar strong { font-weight: 800; }
.fest-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(230,162,8,.4); flex: none; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(230,162,8,.4);} 50% { box-shadow: 0 0 0 6px rgba(230,162,8,.12);} }
@media (max-width: 560px) { .fest-bar { font-size: 0.74rem; text-align: left; } }

/* ---- header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253,249,243,.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.04em; display: inline-flex; align-items: baseline; }
.brand:hover { color: var(--ink); }
.brand .dot { color: var(--accent); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; padding: 8px 13px; border-radius: 22px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--accent-soft); color: var(--accent-ink); }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  background: var(--spark-2); color: #fff; border: none; border-radius: 40px;
  padding: 14px 26px; cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 8px 20px -10px rgba(225,29,90,.6); text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(225,29,90,.7); filter: saturate(1.08); }
.btn .arr { transition: transform .16s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { background: #fff; color: var(--accent-ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: #fff; color: var(--accent-ink); border-color: var(--accent); box-shadow: var(--shadow-sm); }

/* ---- hero -------------------------------------------------------------- */
.hero { position: relative; padding: 76px 0 34px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 620px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 22% 40%, rgba(225,29,90,.16), transparent 70%),
    radial-gradient(closest-side at 78% 30%, rgba(230,162,8,.20), transparent 72%),
    radial-gradient(closest-side at 55% 65%, rgba(240,101,30,.10), transparent 70%);
  filter: blur(8px);
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  color: var(--accent-ink); background: var(--accent-soft); padding: 7px 14px; border-radius: 30px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -0.035em; max-width: 17ch; font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--spark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 22px; max-width: 56ch; font-size: 1.16rem; color: var(--ink-soft); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ---- quick category pills (product-forward nav) ----------------------- */
.cat-pills { display: flex; gap: 9px; flex-wrap: wrap; margin: 30px 0 6px; }
.cat-pills a {
  font-size: 0.9rem; font-weight: 600; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 30px; padding: 8px 16px; transition: all .15s;
}
.cat-pills a:hover { border-color: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

/* ---- section row heads (with diya divider) ---------------------------- */
.row-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 62px 0 22px; position: relative; }
.row-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.row-head h2::before {
  content: ""; display: inline-block; width: 22px; height: 22px; margin-right: 10px; vertical-align: -3px;
  background: var(--spark); -webkit-mask: radial-gradient(circle at 50% 62%, #000 42%, transparent 43%) bottom/100% 55% no-repeat, linear-gradient(#000,#000) top/8px 40% no-repeat;
  mask: radial-gradient(circle at 50% 62%, #000 42%, transparent 43%) bottom/100% 55% no-repeat;
  border-radius: 3px;
}
.row-head p { color: var(--ink-soft); font-size: 1rem; }

/* ---- navigational tiles ------------------------------------------------ */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.tile {
  display: flex; flex-direction: column; gap: 6px; height: 100%; position: relative; overflow: hidden;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 20px 18px; color: inherit; transition: border-color .16s, transform .16s, box-shadow .16s;
}
.tile::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--spark); transform: scaleY(0); transform-origin: bottom; transition: transform .2s; }
.tile:hover { color: inherit; border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow); }
.tile:hover::after { transform: scaleY(1); }
.tile-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); }
.tile-desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.tile-go { position: absolute; top: 18px; right: 18px; color: var(--accent); font-weight: 800; opacity: 0; transform: translateX(-4px); transition: all .16s; }
.tile:hover .tile-go { opacity: 1; transform: translateX(0); }

/* ---- gift cards (the star) -------------------------------------------- */
.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin: 26px 0 8px; list-style: none; padding: 0; }
.card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card a.card-link { color: inherit; display: flex; flex-direction: column; height: 100%; }
.card a.card-link:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--spark-2); color: #fff; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.02em; padding: 5px 11px; border-radius: 30px; box-shadow: 0 6px 14px -6px rgba(225,29,90,.55);
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-ink); }
.card h3 { font-size: 1.32rem; line-height: 1.15; font-weight: 700; }
.card .card-tagline { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.price { font-weight: 800; font-size: 1.16rem; color: var(--ink); font-family: var(--font-display); letter-spacing: -0.02em; }
.price .cur { color: var(--muted); font-weight: 600; font-size: 0.82em; }
.card-cta { font-size: 0.9rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.card:hover .card-cta { gap: 8px; }
.rating { font-size: 0.86rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 4px; }
.rating .star { color: var(--gold); }
.empty { text-align: center; color: var(--muted); padding: 60px 0; grid-column: 1 / -1; }

/* ---- guides teaser + hub ---------------------------------------------- */
.guide-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 11px; }
.guide-list a { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.guide-list a:hover { border-color: var(--accent); color: inherit; transform: translateX(3px); box-shadow: var(--shadow-sm); }
.guide-title { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -0.015em; color: var(--ink); }
.guide-meta { font-size: 0.8rem; color: var(--muted); white-space: nowrap; font-weight: 600; }
.guide-cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.guide-card a { display: block; height: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; color: inherit; transition: border-color .16s, transform .16s, box-shadow .16s; }
.guide-card a:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.guide-card h2 { font-size: 1.34rem; line-height: 1.18; }
.guide-card p { color: var(--ink-soft); margin: 10px 0 14px; font-size: 0.97rem; }

/* ---- cross-links strip ------------------------------------------------- */
.crosslinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 4px; font-size: 0.9rem; }
.crosslinks-label { color: var(--muted); font-weight: 700; }
.crosslinks a { border: 1.5px solid var(--line); border-radius: 30px; padding: 7px 14px; color: var(--ink-soft); background:#fff; transition: all .15s; }
.crosslinks a:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }

/* ---- gift-tag chip ----------------------------------------------------- */
.tag { --tag-bg: var(--accent-soft); --tag-ink: var(--accent-ink); display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 700; padding: 6px 13px 6px 22px; position: relative; background: var(--tag-bg); color: var(--tag-ink); border-radius: 5px 15px 15px 5px; white-space: nowrap; }
.tag::before { content: ""; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px currentColor; }
.tag.tag-coral { --tag-bg: var(--gold-soft); --tag-ink: #9a6a05; }

/* ---- breadcrumb -------------------------------------------------------- */
.breadcrumb { font-size: 0.86rem; color: var(--muted); padding: 28px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb span[aria-current] { color: var(--ink); }

/* ---- section intro ----------------------------------------------------- */
.section-intro { margin: 30px 0 6px; max-width: 62ch; }
.section-intro h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); letter-spacing: -0.03em; }
.section-intro p { color: var(--ink-soft); margin-top: 12px; font-size: 1.06rem; }
.intro-extra { margin-top: 12px; }

/* ---- product page ------------------------------------------------------ */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; padding: 30px 0 20px; align-items: start; }
.product-media { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line); background: #fff; position: sticky; top: 92px; box-shadow: var(--shadow); }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-info { padding-top: 4px; }
.product-info .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.product-info h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); letter-spacing: -0.035em; }
.product-info .tagline { font-size: 1.2rem; color: var(--ink-soft); margin-top: 12px; }
.product-info .brand-line { margin-top: 16px; font-size: 0.94rem; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-info .brand-line strong { color: var(--ink-soft); font-weight: 700; }
.buy-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 26px 0 8px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.buy-price .cur { color: var(--muted); font-size: 1.1rem; font-weight: 600; }
.ship-note { font-size: 0.88rem; color: var(--ink-soft); margin: 12px 0 20px; }
.trust-note { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: #2f7d4f; background: #e9f6ee; border-radius: 30px; padding: 6px 13px; margin-bottom: 18px; }
.prose { font-size: 1.06rem; color: var(--ink-soft); }
.prose p + p { margin-top: 16px; }
.why-block { background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 20px 22px; margin: 24px 0; }
.why-block .why-label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 800; margin-bottom: 8px; }
.why-block p { color: var(--ink); font-size: 1.08rem; line-height: 1.5; }
.best-for { font-size: 0.94rem; color: var(--ink-soft); margin: 18px 0; }
.best-for a { border-bottom: 1.5px solid var(--accent-soft); font-weight: 600; }
.best-for a:not(:last-child) { margin-right: 4px; }
.specs { margin: 28px 0; }
.specs h2 { font-size: 1.34rem; margin-bottom: 12px; }
.specs dl { display: grid; grid-template-columns: max-content 1fr; border-top: 1px solid var(--line); }
.specs dt { font-weight: 700; color: var(--ink-soft); padding: 13px 24px 13px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.specs dd { color: var(--ink); padding: 13px 0; border-bottom: 1px solid var(--line); text-align: right; font-size: 0.95rem; }
.disclosure { font-size: 0.84rem; color: var(--muted); margin-top: 18px; }
.related { margin-top: 68px; }
.related h2 { font-size: 1.7rem; margin-bottom: 6px; }

/* ---- article (guides) -------------------------------------------------- */
.wrap-article { max-width: 760px; }
.article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); letter-spacing: -0.035em; }
.article-meta { color: var(--muted); font-size: 0.86rem; margin-top: 12px; font-weight: 600; }
.article-intro { font-size: 1.2rem; color: var(--ink-soft); margin-top: 18px; line-height: 1.55; }
.article-body { margin-top: 8px; }
.article-body h2 { font-size: 1.6rem; margin: 36px 0 12px; }
.article-body p { margin-bottom: 15px; }
.guide-shop { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0; }
.guide-shop h2 { font-size: 1.2rem; margin-bottom: 12px; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-chips a { background: #fff; border: 1.5px solid var(--line); color: var(--accent-ink); font-size: 0.88rem; font-weight: 600; padding: 8px 15px; border-radius: 30px; transition: all .15s; }
.shop-chips a:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* ---- FAQ --------------------------------------------------------------- */
.faq { margin: 44px 0 10px; }
.faq h2 { font-size: 1.6rem; margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 30px 16px 0; position: relative; list-style: none; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); }

/* ---- footer ------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); margin-top: 90px; padding: 52px 0 36px; background: var(--paper-2); }
.foot-grid { display: grid; gap: 30px; grid-template-columns: 1.5fr repeat(4, 1fr); }
.foot-col h3 { font-family: var(--font-body); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 13px; font-weight: 800; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--ink-soft); font-size: 0.92rem; }
.foot-col a:hover { color: var(--accent-ink); }
.foot-brand { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.4rem; letter-spacing: -0.04em; margin-bottom: 8px; }
.foot-about p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 10px; max-width: 32ch; }
.foot-fest { color: var(--accent-ink) !important; font-weight: 700 !important; }
.foot-parent { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-weight: 700; color: var(--ink) !important; }
.foot-parent a { color: var(--accent-ink); font-weight: 800; border-bottom: 2px solid var(--accent-soft); }
.foot-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.foot-legal a { color: var(--ink-soft); text-decoration: underline; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 30px; }
  .product-media { position: static; }
  .hero { padding: 54px 0 26px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .site-header .wrap { min-height: 60px; }
  .nav a { padding: 6px 9px; font-size: 0.9rem; }
  .btn { width: 100%; justify-content: center; }
  .buy-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
