@import "tailwindcss";

:root {
  --paper: #f7f3ec;
  --cream: #fffdf8;
  --ink: #17372d;
  --muted: #6d746e;
  --sage: #a9b8a3;
  --sage-light: #dbe3d6;
  --clay: #c98463;
  --honey: #d9a84d;
  --line: rgba(23, 55, 45, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.announcement {
  min-height: 34px;
  padding: 7px 24px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.announcement p { margin: 0; }

.site-header {
  height: 88px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: grid; grid-template-columns: 38px auto; align-items: center; width: max-content; }
.brand > span:not(.leaf-mark) { font-family: Georgia, serif; font-size: 22px; letter-spacing: .22em; line-height: 1; }
.brand small { grid-column: 2; margin-top: 4px; font-size: 7px; letter-spacing: .25em; color: var(--muted); }
.leaf-mark { position: relative; width: 30px; height: 36px; display: block; }
.leaf-mark span { position: absolute; width: 16px; height: 26px; border: 1.5px solid var(--ink); border-radius: 100% 0 100% 0; transform: rotate(-18deg); }
.leaf-mark span:first-child { left: 2px; top: 7px; }
.leaf-mark span:last-child { left: 13px; top: 1px; transform: rotate(38deg) scale(.82); }
.site-header nav { display: flex; gap: 34px; font-size: 13px; }
.site-header nav a { position: relative; padding: 8px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--ink); transition: right .2s; }
.site-header nav a:hover::after { right: 0; }
.bag-button { justify-self: end; display: flex; align-items: center; gap: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.bag-count { width: 28px; height: 28px; display: grid; place-items: center; background: var(--clay); color: white; border-radius: 50%; }

.hero {
  max-width: 1440px;
  min-height: 670px;
  margin: 0 auto;
  padding: 68px 5vw 80px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 6vw;
  overflow: hidden;
}
.kicker { margin: 0 0 18px; font-size: 10px; font-weight: 700; letter-spacing: .2em; color: #667c6c; }
.hero h1, .section-heading h2, .brand-story h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
.hero h1 { max-width: 610px; font-size: clamp(50px, 5.3vw, 82px); line-height: .98; }
.hero-subtitle { max-width: 540px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.button-primary { background: var(--ink); color: #fff; transition: transform .2s, background .2s; }
.button-primary:hover { transform: translateY(-2px); background: #245343; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.hero-proof { margin-top: 48px; display: flex; gap: 26px; color: var(--muted); font-size: 10px; }
.hero-proof span { display: flex; flex-direction: column; gap: 4px; padding-right: 24px; border-right: 1px solid var(--line); }
.hero-proof span:last-child { border: 0; }
.hero-proof b { color: var(--ink); font-family: Georgia, serif; font-size: 18px; font-weight: 400; }

.hero-gallery { position: relative; height: 520px; }
.hero-gallery::before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: var(--sage-light); left: 9%; top: 12%; }
.hero-photo { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 22px 50px rgba(23,55,45,.13); background: #ddd4c6; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-photo:hover img { transform: scale(1.035); }
.hero-photo figcaption { position: absolute; left: 18px; bottom: 16px; padding: 8px 12px; background: rgba(255,253,248,.9); backdrop-filter: blur(8px); font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.hero-photo-main { left: 0; top: 35px; width: 57%; height: 430px; z-index: 2; }
.hero-photo-top { right: 0; top: 0; width: 39%; height: 230px; z-index: 3; }
.hero-photo-bottom { right: 5%; bottom: 0; width: 42%; height: 248px; z-index: 4; }
.hero-seal { position: absolute; left: 48%; top: 44%; z-index: 6; width: 92px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--clay); color: white; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-align: center; line-height: 1.5; transform: rotate(-8deg); border: 5px solid var(--paper); }

.benefit-strip { padding: 22px 5vw; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: white; }
.benefit-strip > div { display: flex; align-items: center; justify-content: center; gap: 15px; border-right: 1px solid rgba(255,255,255,.16); }
.benefit-strip > div:last-child { border: 0; }
.benefit-strip > div > span { font-size: 23px; color: #d8c18b; }
.benefit-strip p { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.benefit-strip b { font-family: Georgia, serif; font-size: 13px; font-weight: 400; }
.benefit-strip small { color: rgba(255,255,255,.64); font-size: 10px; }

.section { max-width: 1440px; margin: 0 auto; padding: 110px 5vw; }
.section-heading { margin-bottom: 38px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading h2 { font-size: clamp(38px, 4vw, 60px); }
.section-heading > p { max-width: 420px; margin: 0 0 5px; color: var(--muted); line-height: 1.7; }
.section-heading.compact { align-items: center; }
.category-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 18px; }
.category-card { position: relative; height: 440px; overflow: hidden; background: var(--sage-light); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.category-card:hover img { transform: scale(1.04); }
.category-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12,31,25,.72)); }
.category-copy { position: absolute; inset: auto 28px 28px; color: white; display: grid; gap: 7px; }
.category-copy small { max-width: 220px; font-size: 10px; opacity: .8; }
.category-copy strong { font-family: Georgia, serif; font-size: 38px; font-weight: 400; }
.category-copy > span { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.featured-section { padding-top: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-image { position: relative; height: 430px; overflow: hidden; background: #e4ded3; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.crop-1 img { object-position: 42% center; }
.crop-2 img { object-position: center; }
.crop-3 img { object-position: 52% center; }
.product-badge { position: absolute; top: 15px; left: 15px; padding: 7px 10px; background: var(--cream); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.product-image button { position: absolute; right: 15px; top: 15px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,253,248,.92); cursor: pointer; color: var(--ink); font-size: 18px; }
.product-info { padding: 18px 2px; display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.product-info small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.product-info h3 { margin: 6px 0 0; font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.product-info > strong { margin-top: 20px; white-space: nowrap; font-size: 13px; }

.brand-story { margin-top: 40px; padding: 110px 5vw; text-align: center; background: #dfe6db; }
.brand-story h2 { max-width: 820px; margin: 0 auto; font-size: clamp(42px, 5vw, 70px); }
.brand-story > p:last-child { max-width: 620px; margin: 25px auto 0; color: var(--muted); line-height: 1.8; }
.site-footer { padding: 44px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #102a22; color: white; font-size: 11px; }
.footer-brand .leaf-mark span { border-color: white; }
.footer-brand > span:not(.leaf-mark) { color: white; }
.site-footer p { margin: 0; color: rgba(255,255,255,.62); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 24px; }
  .site-header nav { display: none; }
  .hero { min-height: auto; padding: 50px 24px 70px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-gallery { height: 560px; }
  .hero-photo-main { width: 64%; }
  .hero-photo-top { width: 38%; }
  .hero-photo-bottom { width: 43%; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card:first-child { grid-column: span 2; }
  .category-card { height: 400px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 90px 24px; }
}

@media (max-width: 600px) {
  .announcement { padding: 8px 12px; gap: 7px; font-size: 8px; }
  .site-header { height: 76px; }
  .brand { grid-template-columns: 32px auto; }
  .brand > span:not(.leaf-mark) { font-size: 18px; }
  .bag-button > span:first-child { display: none; }
  .hero { gap: 40px; }
  .hero h1 { font-size: 49px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 18px; }
  .hero-proof { gap: 10px; justify-content: space-between; }
  .hero-proof span { padding-right: 10px; }
  .hero-gallery { height: 410px; }
  .hero-photo-main { height: 340px; width: 67%; }
  .hero-photo-top { height: 170px; width: 39%; }
  .hero-photo-bottom { height: 188px; width: 46%; }
  .hero-seal { width: 72px; font-size: 7px; left: 47%; }
  .benefit-strip { grid-template-columns: 1fr; gap: 0; padding: 10px 24px; }
  .benefit-strip > div { min-height: 65px; justify-content: start; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .benefit-strip > div:last-child { border-bottom: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2 { font-size: 42px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card:first-child { grid-column: auto; }
  .category-card { height: 400px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 420px; }
  .site-footer { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Complete shop experience */
button { color: inherit; }
button, select { font: inherit; }
button, summary, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}
.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;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  max-width: none;
  background: rgba(247, 243, 236, .94);
  backdrop-filter: blur(18px);
}
.site-header > *:first-child { margin-left: max(0px, calc((100vw - 1440px) / 2)); }
.site-header .header-actions { margin-right: max(0px, calc((100vw - 1440px) / 2)); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.bag-button { border: 0; background: transparent; padding: 0; }
.menu-button { display: none; width: 40px; height: 40px; border: 0; background: transparent; font-size: 20px; }

.category-card {
  padding: 0;
  border: 0;
  text-align: left;
  font: inherit;
}
.category-count {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 11px;
  background: rgba(255, 253, 248, .92);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-section {
  max-width: none;
  padding-left: max(5vw, calc((100vw - 1296px) / 2));
  padding-right: max(5vw, calc((100vw - 1296px) / 2));
  background: var(--cream);
}
.catalog-heading { margin-bottom: 28px; }
.catalog-heading > p { font-size: 12px; }
.catalog-toolbar {
  position: sticky;
  top: 88px;
  z-index: 20;
  margin-bottom: 34px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, .95);
  backdrop-filter: blur(16px);
}
.category-tabs { display: flex; align-items: center; gap: 7px; }
.category-tabs button {
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.category-tabs button:hover { border-color: var(--line); }
.category-tabs button.active { background: var(--ink); color: white; }
.catalog-controls { display: flex; align-items: center; gap: 10px; }
.search-field {
  width: min(240px, 20vw);
  min-height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
}
.search-field > span { font-size: 20px; line-height: 1; transform: rotate(-18deg); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; color: var(--ink); }
.search-field input::placeholder { color: #9b9f9a; }
.sort-field { min-height: 40px; padding: 0 10px 0 14px; display: flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: white; font-size: 10px; color: var(--muted); }
.sort-field select { max-width: 120px; border: 0; outline: 0; background: white; color: var(--ink); font-size: 10px; font-weight: 700; }

.catalog-section .product-grid { grid-template-columns: repeat(4, 1fr); gap: 42px 18px; }
.catalog-section .product-card { min-width: 0; transition: transform .25s ease; }
.catalog-section .product-card:hover { transform: translateY(-4px); }
.catalog-section .product-image { height: clamp(300px, 27vw, 410px); }
.favorite {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 248, .94);
  color: var(--ink);
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(20, 45, 37, .08);
}
.favorite.active { color: #b55e55; }
.product-image .quick-add {
  position: absolute;
  left: 14px;
  right: 14px;
  top: auto;
  bottom: 14px;
  z-index: 2;
  width: auto;
  min-height: 44px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: rgba(23, 55, 45, .96);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transform: translateY(calc(100% + 18px));
  transition: transform .25s ease;
}
.product-card:hover .quick-add, .product-image .quick-add:focus { transform: translateY(0); }
.catalog-section .product-info { padding: 15px 2px 0; display: block; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-meta > small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.product-meta > span { color: var(--muted); font-size: 9px; white-space: nowrap; }
.stars { color: #c18d31; letter-spacing: .08em; }
.catalog-section .product-info h3 { margin: 8px 0 0; font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.catalog-section .product-info > p { min-height: 35px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.product-price { margin-top: 12px; display: flex; align-items: center; gap: 9px; }
.product-price strong { font-size: 13px; }
.product-price del { color: #9ba09b; font-size: 10px; }
.mobile-add { display: none; }
.empty-state { padding: 80px 20px; text-align: center; border: 1px dashed var(--line); background: var(--paper); }
.empty-state > span { display: block; font-size: 42px; transform: rotate(-18deg); }
.empty-state h3 { margin: 15px 0 8px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.empty-state p { margin: 0 0 24px; color: var(--muted); }

.editorial-banner {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  background: #dfe6db;
}
.editorial-images { position: relative; min-height: 640px; overflow: hidden; }
.editorial-images img:first-child { width: 72%; height: 100%; object-fit: cover; }
.editorial-images img:last-child {
  position: absolute;
  right: 4%;
  bottom: 9%;
  width: 43%;
  height: 47%;
  object-fit: cover;
  border: 10px solid #dfe6db;
  box-shadow: 0 20px 45px rgba(23, 55, 45, .15);
}
.editorial-copy { padding: 80px 7vw; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.editorial-copy h2, .faq-intro h2, .newsletter h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(42px, 4.8vw, 70px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.editorial-copy > p:not(.kicker) { max-width: 520px; margin: 25px 0 28px; color: var(--muted); line-height: 1.8; }

.reviews-section { background: var(--paper); }
.rating-summary { min-width: 180px; padding-left: 25px; display: flex; align-items: center; gap: 15px; border-left: 1px solid var(--line); }
.rating-summary strong { font-family: Georgia, serif; font-size: 42px; font-weight: 400; }
.rating-summary span { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 10px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { min-height: 330px; margin: 0; padding: 34px; display: flex; flex-direction: column; background: var(--cream); border: 1px solid rgba(23,55,45,.08); }
.testimonial blockquote { flex: 1; margin: 26px 0 30px; font-family: Georgia, serif; font-size: 21px; line-height: 1.5; }
.testimonial figcaption { padding-top: 20px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-light); font-family: Georgia, serif; }
.testimonial figcaption > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.testimonial figcaption b { font-size: 11px; }
.testimonial figcaption small { color: var(--muted); font-size: 9px; }

.faq-section { max-width: 1260px; margin: 0 auto; padding: 110px 5vw; display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; }
.faq-intro h2 { font-size: clamp(42px, 4.5vw, 62px); }
.faq-intro > p:last-child { margin: 22px 0 0; color: var(--muted); line-height: 1.7; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 23px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; font-family: Georgia, serif; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-family: Arial, sans-serif; font-size: 23px; font-weight: 300; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 670px; margin: -5px 40px 24px 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.newsletter { padding: 80px max(5vw, calc((100vw - 1296px) / 2)); display: grid; grid-template-columns: 1fr .9fr; align-items: end; gap: 8vw; background: var(--clay); color: white; }
.newsletter .kicker { color: rgba(255,255,255,.7); }
.newsletter h2 { max-width: 680px; font-size: clamp(38px, 4vw, 58px); }
.newsletter > div > p:last-child { max-width: 560px; margin: 18px 0 0; color: rgba(255,255,255,.74); font-size: 12px; line-height: 1.7; }
.newsletter form { min-height: 54px; display: flex; border-bottom: 1px solid rgba(255,255,255,.75); }
.newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: white; }
.newsletter input::placeholder { color: rgba(255,255,255,.66); }
.newsletter form button { border: 0; background: transparent; color: white; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.newsletter-success { min-height: 85px; padding: 20px 24px; display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,.14); }
.newsletter-success > span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; }
.newsletter-success p { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.newsletter-success small { color: rgba(255,255,255,.7); }

.site-footer { padding: 0; display: block; background: #102a22; }
.footer-main { padding: 70px max(5vw, calc((100vw - 1296px) / 2)); display: grid; grid-template-columns: 1.7fr .7fr .7fr 1fr; gap: 5vw; }
.footer-main > div:first-child > p { max-width: 260px; margin: 22px 0 0; line-height: 1.7; }
.footer-brand { color: white; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links b, .footer-contact b { margin-bottom: 6px; color: white; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a, .footer-links button { padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.62); font-size: 11px; }
.footer-links a:hover, .footer-links button:hover { color: white; }
.footer-contact p { max-width: 230px; line-height: 1.7; }
.footer-contact button { margin-top: 16px; padding: 0 0 5px; border: 0; border-bottom: 1px solid rgba(255,255,255,.65); background: transparent; color: white; font-size: 10px; font-weight: 700; }
.footer-bottom { padding: 20px max(5vw, calc((100vw - 1296px) / 2)); display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); }

.cart-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(8, 24, 19, .48); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(480px, 100vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  box-shadow: -20px 0 50px rgba(10,30,23,.2);
  transform: translateX(105%);
  transition: transform .35s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 28px 30px 22px; display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid var(--line); }
.cart-header .kicker { margin-bottom: 7px; }
.cart-header h2 { margin: 0; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.cart-header h2 span { color: var(--muted); font-size: 16px; }
.cart-header > button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 28px; font-weight: 200; }
.shipping-progress { padding: 18px 30px; background: var(--paper); }
.shipping-progress p { margin: 0 0 10px; font-size: 10px; color: var(--muted); }
.shipping-progress > span { height: 4px; display: block; overflow: hidden; background: #d7d9d5; }
.shipping-progress i { height: 100%; display: block; background: var(--clay); transition: width .3s; }
.cart-items { flex: 1; overflow-y: auto; padding: 6px 30px; }
.cart-item { position: relative; padding: 20px 28px 20px 0; display: grid; grid-template-columns: 92px 1fr; gap: 15px; border-bottom: 1px solid var(--line); }
.cart-item > img { width: 92px; height: 116px; object-fit: cover; }
.cart-item small { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cart-item h3 { margin: 6px 0 8px; font-family: Georgia, serif; font-size: 16px; font-weight: 400; }
.cart-item strong { font-size: 11px; }
.remove-item { position: absolute; right: 0; top: 15px; border: 0; background: transparent; color: var(--muted); font-size: 20px; }
.quantity { width: max-content; margin-top: 13px; display: grid; grid-template-columns: 30px 34px 30px; border: 1px solid var(--line); }
.quantity button { height: 28px; border: 0; background: transparent; }
.quantity span { display: grid; place-items: center; font-size: 10px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.cart-footer { padding: 24px 30px 28px; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(23,55,45,.04); }
.cart-footer > p { margin: 0; display: flex; justify-content: space-between; font-size: 13px; }
.cart-footer > p strong { font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.cart-footer > small { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; }
.checkout-button { width: 100%; margin-top: 18px; border: 0; }
.continue-shopping { width: 100%; margin-top: 14px; border: 0; background: transparent; font-size: 10px; font-weight: 700; text-decoration: underline; }
.empty-cart { flex: 1; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-cart > span { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 30px; color: var(--clay); }
.empty-cart h3 { margin: 24px 0 8px; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.empty-cart p { max-width: 280px; margin: 0 0 25px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.empty-cart .button { border: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  min-width: 320px;
  max-width: calc(100vw - 32px);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: white;
  font-size: 10px;
  box-shadow: 0 14px 40px rgba(6,25,19,.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.toast > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--clay); }
.toast button { margin-left: auto; padding: 0 0 3px; border: 0; border-bottom: 1px solid rgba(255,255,255,.7); background: transparent; color: white; font-size: 9px; font-weight: 700; }

@media (max-width: 1100px) {
  .catalog-section .product-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-section .product-image { height: 390px; }
  .footer-main { grid-template-columns: 1.5fr .8fr .8fr; }
  .footer-contact { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 900px) {
  .site-header > *:first-child, .site-header .header-actions { margin: 0; }
  .menu-button { display: block; }
  .site-header nav.nav-open {
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 25px rgba(20,45,37,.08);
  }
  .site-header nav.nav-open a { padding: 10px 0; }
  .catalog-toolbar { position: static; align-items: stretch; flex-direction: column; }
  .category-tabs { overflow-x: auto; padding-bottom: 2px; }
  .catalog-controls { width: 100%; }
  .search-field { flex: 1; width: auto; }
  .catalog-section .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-section .product-image { height: 440px; }
  .editorial-banner { grid-template-columns: 1fr; }
  .editorial-images { min-height: 560px; }
  .editorial-copy { padding: 70px 24px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial { min-height: 270px; }
  .faq-section { padding: 90px 24px; grid-template-columns: 1fr; gap: 45px; }
  .newsletter { padding: 70px 24px; grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .site-header { top: 0; }
  .site-header nav.nav-open { top: 76px; }
  .header-actions { gap: 3px; }
  .bag-button > span:first-child { display: none; }
  .category-tabs button { padding: 0 14px; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .search-field, .sort-field { width: 100%; min-height: 46px; }
  .sort-field { justify-content: space-between; }
  .catalog-section { padding-left: 20px; padding-right: 20px; }
  .catalog-section .product-grid { grid-template-columns: 1fr; gap: 44px; }
  .catalog-section .product-image { height: 430px; }
  .product-image .quick-add { display: none; }
  .mobile-add { width: 100%; min-height: 44px; margin-top: 15px; display: block; border: 1px solid var(--ink); background: transparent; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .catalog-section .product-info > p { min-height: 0; }
  .editorial-images { min-height: 430px; }
  .editorial-images img:first-child { width: 80%; }
  .editorial-images img:last-child { width: 49%; height: 45%; }
  .editorial-copy h2 { font-size: 43px; }
  .rating-summary { padding: 15px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .testimonial { padding: 27px; }
  .testimonial blockquote { font-size: 19px; }
  .faq-list summary { font-size: 16px; }
  .newsletter form { align-items: stretch; flex-direction: column; border: 0; }
  .newsletter input { min-height: 50px; padding: 0 14px; border: 1px solid rgba(255,255,255,.6); }
  .newsletter form button { min-height: 48px; margin-top: 10px; background: white; color: var(--clay); }
  .footer-main { padding: 55px 24px; grid-template-columns: 1fr 1fr; gap: 42px 25px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { padding: 20px 24px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .cart-header, .shipping-progress, .cart-items, .cart-footer { padding-left: 20px; padding-right: 20px; }
  .toast { min-width: 0; width: calc(100vw - 32px); }
}
