/* ============================================
   STONECRUMB — Premium Utilitarian Minimalism
   The Long Proof
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Sora:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --canvas: #F7F6F3;
  --surface: #FFFFFF;
  --surface-alt: #F9F9F8;
  --text-primary: #2F3437;
  --text-secondary: #787774;
  --text-muted: #A9A9A6;
  --border: #EAEAEA;
  --border-hover: #D4D4D4;
  --accent-dark: #111111;
  --accent-hover: #333333;
  --white: #FFFFFF;

  --pastel-green-bg: #EDF3EC;
  --pastel-green-text: #346538;
  --pastel-yellow-bg: #FBF3DB;
  --pastel-yellow-text: #956400;
  --pastel-blue-bg: #E1F3FE;
  --pastel-blue-text: #1F6C9F;
  --pastel-red-bg: #FDEBEC;
  --pastel-red-text: #9F2F2D;

  --font-serif: 'Instrument Serif', 'Lyon Text', 'Newsreader', Georgia, serif;
  --font-sans: 'Sora', 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --container: 1120px;
  --container-narrow: 720px;
  --radius: 8px;
  --radius-sm: 4px;
  --transition: 200ms ease;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--canvas);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ---- Ambient Background ---- */
.ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.03;
  animation: drift 25s ease-in-out infinite alternate;
}

.ambient__blob--1 {
  width: 600px;
  height: 600px;
  background: #C4A882;
  top: -200px;
  right: -100px;
}

.ambient__blob--2 {
  width: 500px;
  height: 500px;
  background: #A8B09A;
  bottom: -150px;
  left: -100px;
  animation-delay: -12s;
}

@keyframes drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 30px); }
}

/* ---- Layout ---- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 128px 0;
}

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--dark {
  background: var(--accent-dark);
  color: var(--white);
}

/* ---- Typography ---- */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  text-wrap: balance;
}

h3, h4 {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(48px, 7vw, 76px);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(32px, 4.5vw, 48px);
}

h3 { font-size: 20px; }
h4 { font-size: 16px; }

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

/* ---- Scroll Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header__link {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  padding: 12px 0;
}

.header__link:hover,
.header__link--active {
  color: var(--text-primary);
}

.header__cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--accent-dark);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.header__cta:hover {
  background: var(--accent-hover);
}

.header__cta:active {
  transform: scale(0.98);
}

.header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.header__menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 350ms var(--ease-out), opacity 250ms ease;
  position: absolute;
}

.header__menu-btn span:nth-child(1) { transform: translateY(-5px); }
.header__menu-btn span:nth-child(2) { transform: translateY(0); }
.header__menu-btn span:nth-child(3) { transform: translateY(5px); }

.header__menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
}

.header__menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  padding: 160px 0 128px;
  min-height: 90dvh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  max-width: 640px;
}

.hero__visual {
  aspect-ratio: 3 / 4;
  background: var(--accent-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__visual-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.15);
  text-align: center;
  line-height: 1.6;
}

.hero__label {
  margin-bottom: 28px;
  display: block;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero__desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent-dark);
  color: var(--white);
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--text-primary);
}

.btn--ghost {
  background: var(--canvas);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--border-hover);
}

.btn--whatsapp {
  background: var(--accent-dark);
  color: var(--white);
}
.btn--whatsapp:hover { background: var(--accent-hover); }

.btn--white {
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--white:hover { border-color: var(--border-hover); }

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}
.btn--outline:hover {
  background: var(--text-primary);
  color: var(--white);
}

/* ---- Section Header ---- */
.section-header {
  margin-bottom: 56px;
}

.section-header .label {
  margin-bottom: 20px;
  display: block;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

.section-header--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-header__link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color var(--transition);
  flex-shrink: 0;
}

.section-header__link:hover {
  color: var(--text-primary);
}

/* ---- Product Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-card {
  background: var(--surface);
  transition: box-shadow 200ms ease;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  z-index: 1;
}

.product-card__img {
  aspect-ratio: 4 / 3;
  background: var(--canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}

.product-card:hover .product-card__img img {
  transform: scale(1.03);
}

.product-card__img-placeholder {
  font-family: var(--font-mono);
  font-size: 9px;
  color: transparent;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card__img:has(.product-card__img-placeholder) {
  background: var(--canvas);
  position: relative;
}

.product-card__img:has(.product-card__img-placeholder)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80' fill='none'%3E%3Cpath d='M60 18c-18 0-34 6-34 14v4c0 2 1.5 4 4 5.5V56c0 4 13.5 8 30 8s30-4 30-8V41.5c2.5-1.5 4-3.5 4-5.5v-4c0-8-16-14-34-14z' fill='%23EAEAE8'/%3E%3Cpath d='M38 28c0 0 6-6 22-6s22 6 22 6' stroke='%23D8D8D5' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M42 34c0 0 5-3 18-3s18 3 18 3' stroke='%23D8D8D5' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  opacity: 0.5;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  background: var(--pastel-green-bg);
  color: var(--pastel-green-text);
}

.product-card__body {
  padding: 24px;
}

.product-card__category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-card__price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.product-card__order {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 12px 0;
}

.product-card__order:hover {
  color: var(--text-primary);
}

/* ---- Category Tabs ---- */
.category-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition);
}

.category-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.category-tab.active {
  background: var(--accent-dark);
  color: var(--white);
  border-color: var(--accent-dark);
}

/* ---- Story / Two Column ---- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story__label {
  margin-bottom: 24px;
  display: block;
}

.story h2 {
  margin-bottom: 24px;
}

.story__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.story__image {
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__image-placeholder {
  font-family: var(--font-mono);
  font-size: 10px;
  color: transparent;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Bento Grid (Delivery / Values) ---- */
.bento-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.bento-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.bento-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.bento-card {
  background: var(--surface);
  padding: 36px 32px;
}

.bento-card__number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: block;
  letter-spacing: 0.04em;
}

.bento-card h3 {
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.testimonial {
  background: var(--surface);
  padding: 40px;
}

.testimonial__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.testimonial__author {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---- CTA Banner ---- */
.cta-banner {
  text-align: center;
  padding: 128px 0;
}

.cta-banner h2 {
  margin-bottom: 16px;
  color: var(--white);
}

.cta-banner p {
  color: #777;
  font-size: 15px;
  margin-bottom: 36px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-banner__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.footer__brand {
  max-width: 260px;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.footer__social a:hover {
  color: var(--text-primary);
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  padding: 140px 0 64px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}

.page-header .label {
  margin-bottom: 20px;
  display: block;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 460px;
  line-height: 1.7;
}

/* ---- Delivery Note ---- */
.delivery-note {
  text-align: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.delivery-note .label {
  margin-bottom: 16px;
  display: block;
}

.delivery-note p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 8px;
}

.contact-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ---- Cart ---- */
.header__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header__cart-icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header__cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent-dark);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  border-radius: 9999px;
  display: none;
}

.header__cart-count.has-items {
  display: block;
  animation: cartPop 300ms var(--ease-out);
}

@keyframes cartPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.product-card__add {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--accent-dark);
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.product-card__add:hover {
  background: var(--accent-hover);
}

.product-card__add:active {
  transform: scale(0.96);
}

.product-card__add--sold-out {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

.product-card.sold-out .product-card__img {
  opacity: 0.5;
}

.product-card__add.added {
  background: var(--pastel-green-bg);
  color: var(--pastel-green-text);
  pointer-events: none;
}

/* Product card inline stepper (replaces Add button when in cart) */
.product-card__stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-card__stepper-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: none;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.product-card__stepper-btn:hover {
  background: var(--canvas);
}

.product-card__stepper-btn:active {
  transform: scale(0.94);
}

.product-card__stepper-qty {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0 2px;
  line-height: 32px;
}

/* Cart Drawer */
.cart-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 200;
  animation: fadeIn 200ms ease;
}

.cart-backdrop.visible {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: var(--surface);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 350ms var(--ease-out);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cart-drawer__close:hover {
  background: var(--canvas);
}

.cart-drawer__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 2;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  overscroll-behavior: contain;
}

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 24px;
  text-align: center;
}

.cart-drawer__empty-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-drawer__empty-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-item__thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item__thumb--empty {
  background: var(--canvas);
  border: 1px solid var(--border);
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.cart-item__qty-btn:hover {
  border-color: var(--text-primary);
}

.cart-item__qty-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  min-width: 16px;
  text-align: center;
}

.cart-drawer__footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.cart-drawer__delivery {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__delivery-free {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pastel-green-text);
}

.cart-drawer__delivery-fee {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.cart-drawer__delivery-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-drawer__total-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-drawer__total-amount {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
}

.cart-drawer__checkout {
  width: 100%;
  padding: 14px;
  background: var(--accent-dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.cart-drawer__checkout:hover {
  background: var(--accent-hover);
}

.cart-drawer__checkout:active {
  transform: scale(0.98);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .header__nav {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }

  .nav-backdrop {
    display: none;
  }

  .nav-backdrop.visible {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.12);
    z-index: 98;
    animation: fadeIn 250ms ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 8px 0;
    gap: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  }

  .header__nav.open .header__link {
    font-size: 15px;
    font-weight: 400;
    padding: 16px 24px;
    border-bottom: none;
    color: var(--text-secondary);
    transition: color 150ms ease, background 150ms ease;
    opacity: 0;
    animation: slideIn 300ms var(--ease-out) forwards;
  }

  .header__nav.open .header__link:nth-child(1) { animation-delay: 0ms; }
  .header__nav.open .header__link:nth-child(2) { animation-delay: 50ms; }
  .header__nav.open .header__link:nth-child(3) { animation-delay: 100ms; }

  @keyframes slideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .header__nav.open .header__link:active {
    background: var(--canvas);
  }

  .header__nav.open .header__link--active {
    color: var(--text-primary);
    font-weight: 500;
  }

  .header__nav.open .header__cta {
    margin: 8px 16px 8px;
    text-align: center;
    padding: 14px 20px;
    opacity: 0;
    animation: slideIn 300ms var(--ease-out) 150ms forwards;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    aspect-ratio: 4 / 3;
    order: -1;
  }

  .story__image {
    order: -1;
    aspect-ratio: 4 / 3;
  }

  .bento-grid--3 {
    grid-template-columns: 1fr;
  }

  .bento-grid--2,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section-header--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 110px 0 40px;
  }

  .cta-banner {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .category-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .category-tab {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
  }
}
