:root {
  --bg: #F4F3DE;
  --surface: #FFFDF0;
  --ink: #573A2C;
  --muted: #806A5B;
  --accent: #B45D37;
  --accent-on-dark: #D99570;
  --border: #D9D1B8;
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 60; padding: .7rem; background: var(--ink); color: var(--bg); }
.topbar { display: flex; align-items: center; justify-content: center; min-height: 32px; padding: .15rem 1rem; background: var(--ink); text-align: center; }
.topbarLogo { width: min(210px, 48vw); height: 30px; object-fit: contain; }
.nav { position: sticky; top: 0; z-index: 19; display: flex; align-items: center; gap: 2rem; padding: 1rem 5vw; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); }
.logo { width: 150px; height: auto; }
.navlinks { display: flex; align-items: center; gap: 1.3rem; margin-left: auto; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.navlinks a { text-decoration: none; }
.cartbutton { border: 1px solid var(--ink); padding: .7rem 1rem; background: transparent; color: var(--ink); font: inherit; font-size: .74rem; cursor: pointer; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 5vw; min-height: 55svh; padding: 4rem 7vw; background: var(--bg); }
.hero h1 { margin: .5rem 0 1rem; font: 600 clamp(3.6rem, 7vw, 7.2rem)/.82 'Cormorant Garamond', Georgia, serif; letter-spacing: -.04em; }
.hero h1 span { display: block; color: var(--accent); }
.eyebrow { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.lede { max-width: 34rem; color: var(--muted); font-size: 1.05rem; }
.hero img { width: 100%; max-height: 320px; object-fit: contain; }
.section { max-width: 1400px; margin: auto; padding: 4.5rem 7vw; }
.section h2 { margin: .4rem 0 1.2rem; font: 600 clamp(2.9rem, 5vw, 5.8rem)/.9 'Cormorant Garamond', Georgia, serif; }
.sectionintro { max-width: 42rem; color: var(--muted); }
.shophead { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { border: 1px solid var(--border); padding: .6rem .8rem; background: transparent; color: var(--ink); font: inherit; font-size: .75rem; cursor: pointer; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--border); background: var(--surface); }
.cardimg { width: 100%; aspect-ratio: 4 / 4.5; background: var(--bg); object-fit: cover; }
.cardbody { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.brand { color: var(--muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.card h4 { margin: .35rem 0; font: 600 1.55rem/1 'Cormorant Garamond', Georgia, serif; }
.cardTitleButton { display: flex; width: 100%; min-height: 44px; align-items: center; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cardTitleButton:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.productCategoryGroup { grid-column: 1 / -1; min-width: 0; }
.productCategoryHeading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 1rem; border-bottom: 1px solid var(--border); padding-bottom: .65rem; }
.productCategoryGroup:first-child .productCategoryHeading { margin-top: 0; }
.productCategoryHeading h3 { margin: 0; font: 600 clamp(2rem, 3vw, 3rem)/1 'Cormorant Garamond', Georgia, serif; }
.productCategoryCount { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.productCategoryGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.format { color: var(--muted); font-size: .75rem; }
.desc { display: -webkit-box; min-height: 2.5rem; margin: .7rem 0; overflow: hidden; color: var(--muted); font-size: .78rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.price { margin-top: auto; font-size: 1.05rem; font-weight: 700; }
.addrow { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; }
.qty { width: 50px; border: 1px solid var(--border); padding: .7rem; background: var(--bg); font: inherit; }
.add { flex: 1; border: 0; padding: .75rem .5rem; background: var(--ink); color: var(--bg); font: inherit; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.story { max-width: none; background: var(--ink); color: var(--bg); }
.story p { max-width: 40rem; color: #F4E7D8; }
.storygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2rem; background: #7A4C38; }
.storygrid div { padding: 1rem 0; background: var(--ink); }
.storygrid b { color: var(--accent-on-dark); font: 600 2.8rem 'Cormorant Garamond', Georgia, serif; }
.faq details { border-top: 1px solid var(--border); padding: 1rem 0; }
.faq summary { display: flex; min-height: 44px; align-items: center; font-weight: 700; cursor: pointer; }
.faq p { max-width: 44rem; color: var(--muted); font-size: .88rem; }
.footer { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding: 2rem 7vw; color: var(--muted); font-size: .75rem; }
.drawer { position: fixed; z-index: 30; top: 0; right: 0; display: flex; width: min(440px, 100%); height: 100%; flex-direction: column; padding: 1.5rem; background: var(--surface); box-shadow: -10px 0 30px rgb(87 58 44 / 12%); transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility 0s linear .25s; }
.drawer.open { transform: translateX(0); visibility: visible; transition: transform .25s, visibility 0s; }
.drawerhead { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.close { border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.cartitems { overflow: auto; flex: 1; }
.cartitem { display: grid; grid-template-columns: 1fr auto; gap: .5rem; border-bottom: 1px solid var(--border); padding: 1rem 0; }
.cartitem small { color: var(--muted); }
.remove { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.total { display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding: 1rem 0; font-weight: 700; }
.whatsapp { display: block; padding: 1rem; background: #573a2c; color: #f4f3de; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-align: center; text-decoration: none; text-transform: uppercase; }
.empty { padding: 2rem 0; color: var(--muted); font-size: .9rem; }
.toast { position: fixed; z-index: 40; bottom: 1rem; left: 50%; padding: .8rem 1rem; background: var(--ink); color: var(--bg); font-size: .75rem; opacity: 0; pointer-events: none; transform: translateX(-50%); }
.toast.show { opacity: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 900px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; padding-inline: 5vw; }
  .navlinks { display: none; }
  .nav { justify-content: space-between; }
  .section { padding-inline: 5vw; }
  .storygrid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .products { grid-template-columns: 1fr; }
  .shophead { display: block; }
  .filters { margin-top: 1rem; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .footer { display: block; }
  .logo { width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
