/* ==========================================================================
   Gamosa — Core stylesheet
   1.  Design tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Gamosa-inspired decorative elements
   5.  Buttons & form controls
   6.  Header / navigation
   7.  Hero
   8.  Sections (featured, vision, why-us, categories, CTA)
   9.  Product cards & grid
   10. Products page toolbar
   11. Product detail page
   12. Contact page
   13. Footer
   14. Floating WhatsApp button
   15. Utilities
   ========================================================================== */

/* ---------------------------------------------- 1. Design tokens --------- */
:root {
  /* Ivory, charcoal, muted Assamese red */
  --bg:            #FAF7F0;
  --bg-alt:        #F2EDE2;
  --surface:       #FFFFFF;
  --surface-sunk:  #F6F2E9;
  --text:          #1A1815;
  --text-soft:     #55504A;
  --text-faint:    #837C72;
  --line:          #E2DACB;
  --line-strong:   #CFC5B2;

  --accent:        #9E2B26;   /* muted Assamese red */
  --accent-hover:  #7E211D;
  --accent-soft:   rgba(158, 43, 38, 0.08);
  --accent-ring:   rgba(158, 43, 38, 0.32);
  --gold:          #A98A50;
  --earth:         #8C7A61;

  --whatsapp:      #1EA952;
  --whatsapp-hover:#178B43;

  --shadow-sm: 0 1px 2px rgba(26, 24, 21, 0.05), 0 2px 8px rgba(26, 24, 21, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 24, 21, 0.06), 0 12px 32px rgba(26, 24, 21, 0.07);
  --shadow-lg: 0 8px 24px rgba(26, 24, 21, 0.08), 0 24px 60px rgba(26, 24, 21, 0.10);

  --header-bg: rgba(250, 247, 240, 0.72);

  /* Typography */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --pad-x: clamp(1rem, 4vw, 4.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --maxw: 1280px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.45s;

  color-scheme: light;
}

/* ---------------------------------------------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  /* Base type scale. Everything below is in rem, so this one value sets the
     overall text size — and using a percentage keeps the visitor's own browser
     font-size setting intact. */
  font-size: 110%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

img {
  max-width: 100%;
  display: block;
}

ul { margin: 0; padding: 0; list-style: none; }

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Focus — always visible, never removed */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.9rem;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------------------------------------------- 3. Layout ---------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--sunk { background: var(--surface-sunk); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
}

.section-head p {
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 56ch;
}
.section-head--center p { margin-inline: auto; }

.section-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
}

/* ------------------------- 4. Gamosa-inspired decorative elements -------- */
/* A thin woven red/white band — used sparingly as a divider or top rule. */
.weave {
  height: 6px;
  width: 100%;
  background-image:
    repeating-linear-gradient(90deg,
      var(--accent) 0 10px,
      transparent 10px 20px);
  opacity: 0.55;
  border-radius: 3px;
}
.weave--thin { height: 3px; opacity: 0.4; }

.weave-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
}
.weave-rule::before,
.weave-rule::after {
  content: "";
  flex: 1;
  height: 2px;
  background-image: repeating-linear-gradient(90deg,
    currentColor 0 8px, transparent 8px 16px);
  opacity: 0.45;
}
.weave-rule .diamond {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: currentColor;
  opacity: 0.7;
  flex: none;
}

/* Small geometric motif borrowed from gamosa end-panels */
.motif {
  display: block;
  width: 64px;
  height: 14px;
  background-image:
    linear-gradient(45deg, var(--accent) 25%, transparent 25%),
    linear-gradient(-45deg, var(--accent) 25%, transparent 25%);
  background-size: 14px 14px;
  opacity: 0.5;
}

/* ---------------------------------------------- 5. Buttons --------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease);
}
.btn:hover {
  --btn-bg: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  --btn-bg: var(--accent-soft);
  --btn-fg: var(--accent);
  border-color: var(--accent);
}

.btn--wa {
  --btn-bg: var(--whatsapp);
  --btn-fg: #fff;
}
.btn--wa:hover { --btn-bg: var(--whatsapp-hover); }

.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: 1rem 2rem; font-size: 1rem; }

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn-row--center { justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--accent); }
.text-link .arrow { transition: transform 0.25s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------------------------------------------- 6. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-stuck {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
}
.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  /* The logo ships on its own dark ground, so round it into a badge that sits
     on the ivory page the way the favicon does. */
  border-radius: 10px;
  object-fit: cover;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand__name em {
  font-style: normal;
  color: var(--accent);
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.95rem;
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--text-soft);
  border-radius: 999px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.25rem;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
              background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.icon-btn svg { width: 19px; height: 19px; }


/* Hamburger */
.nav__burger { display: none; }
.burger-bars {
  position: relative;
  width: 20px;
  height: 14px;
}
.burger-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.burger-bars span:nth-child(1) { top: 0; }
.burger-bars span:nth-child(2) { top: 6.2px; }
.burger-bars span:nth-child(3) { top: 12.4px; }
[aria-expanded="true"] .burger-bars span:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
[aria-expanded="true"] .burger-bars span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .burger-bars span:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.45);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 340px);
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu.is-open .mobile-menu__scrim { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
  padding: 0.95rem 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
}
.mobile-menu.is-open .mobile-menu__links a {
  animation: menuItemIn 0.45s var(--ease) forwards;
}
.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { animation-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { animation-delay: 0.20s; }
.mobile-menu__links a[aria-current="page"] { color: var(--accent); }

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 2rem;
  display: grid;
  gap: 0.75rem;
}
.mobile-menu__foot .muted {
  font-size: 0.82rem;
  color: var(--text-faint);
}

body.no-scroll { overflow: hidden; }

/* ---------------------------------------------- 7. Hero ------------------ */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
}
.hero::before {
  /* very soft warm glow, no pattern */
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  margin-bottom: 1.25rem;
}
.hero__title .line { display: block; }
.hero__title .accent {
  color: var(--accent);
  font-style: italic;
}
.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--text-soft);
  max-width: 48ch;
  margin-bottom: 1.1rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero__meta div { min-width: 96px; }
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.1;
}
.hero__meta span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero__media {
  position: relative;
}
.hero__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}
.hero__collage figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.hero__collage figure:nth-child(1) { grid-row: span 2; }
.hero__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.hero__collage figure:nth-child(1) img { aspect-ratio: 3 / 4; }

.hero__badge {
  position: absolute;
  left: -14px;
  bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 260px;
}
.hero__badge .motif { width: 26px; height: 26px; background-size: 13px 13px; flex: none; }
.hero__badge p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-soft);
}

/* ---------------------------------------------- 8. Sections -------------- */
/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  min-height: 170px;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background-image: repeating-linear-gradient(90deg,
    var(--accent) 0 8px, transparent 8px 16px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.cat-card:hover::after { opacity: 0.7; }
.cat-card__icon {
  width: 38px;
  height: 38px;
  color: var(--accent);
}
.cat-card h3 {
  margin: 0;
  font-size: 1.32rem;
}
.cat-card__count {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Vision / founder note */
.vision {
  position: relative;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.vision__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.vision__portrait {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-sunk);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.vision__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform 0.9s var(--ease);
}
.vision__portrait:hover img { transform: scale(1.03); }
/* thin woven band along the foot of the portrait */
.vision__portrait::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg,
    var(--accent) 0 10px, transparent 10px 20px);
  opacity: 0.75;
}

.vision__quote {
  position: relative;
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}
.vision__quote::before {
  /* subtle gamosa-style woven vertical border */
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-image: repeating-linear-gradient(180deg,
    var(--accent) 0 10px, transparent 10px 20px);
  opacity: 0.5;
}
.vision__quote blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  font-style: italic;
  color: var(--text);
}
.vision__quote p {
  color: var(--text-soft);
  max-width: 62ch;
}
.vision__sign {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.vision__sign strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}
.vision__sign span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}


/* Why choose us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.why-card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.why-card__icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.why-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* CTA band */
.cta {
  position: relative;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg,
    var(--accent) 0 10px, transparent 10px 20px);
  opacity: 0.45;
}
.cta::before { top: 0; }
.cta::after { bottom: 0; }
.cta h2 { margin-bottom: 0.75rem; }
.cta p {
  color: var(--text-soft);
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* ---------------------------------------------- 9. Product cards --------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.product-card:focus-within {
  border-color: var(--accent);
}

.product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface-sunk);
}
.product-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }

.product-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 0.71rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.25rem;
  gap: 0.55rem;
}
.product-card__title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.product-card__title h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.22;
}
.product-card__title a:hover { color: var(--accent); }

.price {
  flex: none;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  white-space: nowrap;
}
.price small {
  display: block;
  font-size: 0.71rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.product-card__desc {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__actions {
  margin-top: auto;
  padding-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

/* ---------------------------------------------- 10. Products toolbar ----- */
.page-head {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-bottom: 0.5rem; }
.page-head p { color: var(--text-soft); max-width: 60ch; margin: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }

.toolbar {
  position: sticky;
  top: 74px;
  z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-block: 0.9rem;
}
.toolbar__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
}
.search svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-faint);
  pointer-events: none;
}
.search input {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 2.6rem 0.7rem 2.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search input::placeholder { color: var(--text-faint); }
.search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.search__clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.search__clear.is-visible { display: flex; }
.search__clear:hover { color: var(--accent); background: var(--accent-soft); }

.select {
  position: relative;
  flex: none;
}
.select select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 46px;
  padding: 0.7rem 2.6rem 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.select select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.select svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  pointer-events: none;
  color: var(--text-faint);
}

.chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.chips::-webkit-scrollbar { height: 4px; }
.chips::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 2px; }
.chip {
  flex: none;
  min-height: 38px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.88rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.86rem;
  color: var(--text-faint);
}

.empty-state {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-state h3 { margin-bottom: 0.4rem; }
.empty-state p { color: var(--text-soft); margin-bottom: 1.5rem; }

/* ---------------------------------------------- 11. Product detail ------- */
.detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.gallery { position: sticky; top: 100px; }
.gallery__main {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-sunk);
}
.gallery__main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__main:hover img { transform: scale(1.03); }
.gallery__thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.7rem;
  flex-wrap: wrap;
}
.gallery__thumbs button {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-sunk);
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.gallery__thumbs button.is-active { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail__info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
}
.detail__price {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.detail__price .unit {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-left: 0.5rem;
}
.detail__desc {
  font-size: 1.02rem;
  color: var(--text-soft);
  margin-block: 1.25rem;
}
.detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block: 1.75rem;
}

.spec-block { margin-top: 1.75rem; }
.spec-block h2 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.9rem;
}
.spec-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--text-soft);
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--accent);
  opacity: 0.7;
}
.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.variant-list li {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-soft);
  background: var(--surface);
}

.note-line {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-faint);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* ---------------------------------------------- 12. Contact -------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-list { display: grid; gap: 0.75rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.contact-item__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}
.contact-item p { margin: 0; font-size: 0.98rem; }
.contact-item a:hover { color: var(--accent); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 1.85rem; margin-bottom: 0.4rem; }
.form-card > p { color: var(--text-soft); font-size: 0.92rem; }

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.field .error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--accent);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--accent); }
.field.has-error .error { display: block; }

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-faint);
  line-height: 1.55;
}

.wa-panel {
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.wa-panel h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.wa-panel p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 1.25rem; }

/* ---------------------------------------------- 13. Footer --------------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  margin-top: var(--section-y);
}
.site-footer .weave { border-radius: 0; height: 5px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer__about p {
  color: var(--text-soft);
  font-size: 0.9rem;
  max-width: 34ch;
  margin-top: 1rem;
}
.footer__gst {
  font-size: 0.76rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  margin-top: 0.75rem;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.footer__links li { margin-bottom: 0.55rem; }
.footer__links a {
  font-size: 0.96rem;
  color: var(--text-soft);
}
.footer__links a:hover { color: var(--accent); }
.footer__address {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-faint);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer__bottom a:hover { color: var(--accent); }

/* Keeps the developer credit on one line when the footer row wraps. */
.footer__credit { white-space: nowrap; }

/* ---------------------------------------------- 14. Floating WhatsApp ---- */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background: var(--whatsapp-hover); }
.wa-float svg { width: 20px; height: 20px; flex: none; }

/* ---------------------------------------------- 15. Utilities ------------ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.muted { color: var(--text-faint); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
