/* ============================================================
   Red Bird Creations — Stylesheet
   Rustic • Handmade • Natural • Warm
   ============================================================ */

:root {
  /* Primary */
  --forest-black: #1C1C1C;
  --warm-cream: #FBFAF7;
  --natural-linen: #F1EDE6;
  /* Accent */
  --deep-red: #B63A32;
  --olive-green: #56684D;
  --warm-brown: #82634B;
  /* Support */
  --line: #ded3c1;
  --muted: #6f665a;

  --heading: "Gasoline Alley", "Fraunces", "Georgia", serif;
  --body: "Lora", "Georgia", serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;

  /* Product photo frame — every card image on the site renders through these
     three values, so a grid of mismatched source photos still reads as one set.
     The source photos vary from 0.67 to 1.11 in aspect ratio; the fixed square
     frame plus object-fit: cover is what evens them out. */
  --card-img-bg: #FAF8F3;      /* soft off-white behind the photo */
  --card-img-pad: 12px;        /* inner padding, identical on every card */
  --card-img-radius: 10px;     /* rounding on the photo itself */
  --shadow: 0 8px 30px rgba(28, 28, 28, 0.08);
  --shadow-hover: 0 14px 40px rgba(28, 28, 28, 0.14);
  --wrap: 1160px;
}

/* Cards get small on phones (two per row), so the frame inset tightens with
   them — still one value shared by every card image. */
@media (max-width: 560px) {
  :root { --card-img-pad: 8px; }
}

/* Brand heading font: "Gasoline Alley".
   It is NOT a Google/web font, so to use it for every visitor you must
   supply the font file. Drop GasolineAlley.woff2 (and/or .ttf) into a
   /fonts folder in this project and it will be picked up automatically.
   Until then, headings use the "Fraunces" fallback defined in --heading. */
@font-face {
  font-family: "Gasoline Alley";
  src: local("Gasoline Alley"),
       url("../fonts/GasolineAlley.woff2") format("woff2"),
       url("../fonts/GasolineAlley.ttf") format("truetype");
  font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--forest-black);
  background: var(--warm-cream);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--linen { background: var(--natural-linen); }
.section--dark { background: var(--forest-black); color: var(--warm-cream); }

.center { text-align: center; }
.eyebrow {
  font-family: var(--ui);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--deep-red);
  margin-bottom: 10px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid var(--forest-black);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  background: var(--forest-black);
  color: var(--warm-cream);
  text-align: center;
}
.btn:hover { background: var(--deep-red); border-color: var(--deep-red); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--secondary { background: var(--warm-cream); color: var(--forest-black); }
.btn--secondary:hover { background: var(--deep-red); color: var(--warm-cream); border-color: var(--deep-red); }
.btn--small { padding: 10px 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 46px; width: auto; }
.nav__brand-name {
  font-family: var(--heading);
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ui);
  font-weight: 600;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.98rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__links a:hover,
.nav__links a.active { background: var(--natural-linen); color: var(--deep-red); }
.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--forest-black);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav__cart:hover { background: var(--forest-black); color: var(--warm-cream); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--deep-red); color: #fff;
  border-radius: 999px; font-size: 0.8rem; line-height: 1;
}
.nav__toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 10px;
}
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--forest-black); margin: 5px 0; }

@media (max-width: 900px) {
  .nav__inner { gap: 12px; padding: 10px 16px; }
  .nav__toggle { display: block; margin-left: auto; }  /* group menu + cart on the right */
  .nav__brand img { height: 40px; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--warm-cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 12px; font-size: 1.1rem; border-radius: 10px; }
  .nav__brand-name { font-size: 1.15rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--warm-cream); overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 80px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.hero h1 { margin-bottom: 0.25em; }
.hero__lines { display: block; }
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero__art { display: flex; justify-content: center; align-items: center; }
.hero__art img { max-height: 440px; width: auto; filter: drop-shadow(0 20px 30px rgba(28,28,28,0.12)); }
/* Transparent tree logo — floats flat on the cream, no frame */
.hero__logo { max-height: 480px; border-radius: 0; box-shadow: none; filter: none; }

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding: 48px 24px 56px; }
  .hero__buttons { justify-content: center; }
  .hero__art { order: -1; }
  .hero__art img { max-height: 260px; }
  .lead { margin-left: auto; margin-right: auto; }
}

/* ---------- Section heading with bird ---------- */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .bird { width: 34px; margin: 0 auto 8px; }

/* branch divider */
.divider { display: flex; align-items: center; gap: 16px; color: var(--line); max-width: 460px; margin: 0 auto; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.divider .bird { width: 26px; }

/* ---------- Category cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.cat-card {
  background: var(--warm-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cat-card__img { aspect-ratio: 4/3; background: #fff; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cat-card__body { padding: 18px 20px 24px; text-align: center; }
.cat-card__body h3 { margin-bottom: 4px; }
.cat-card__body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }

/* ---------- Why choose us ---------- */
.feature { text-align: center; padding: 10px; }
.feature__icon { font-size: 2.6rem; line-height: 1; margin-bottom: 12px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); }
.section--dark .feature p { color: #d9cfbe; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
/* Same frame as the shop grid's cards — one product-photo treatment sitewide. */
.product-card__img {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--card-img-bg);
  padding: var(--card-img-pad);
  overflow: hidden;
}
.product-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--card-img-radius);
  background: var(--card-img-bg);
  display: block;
}

/* Photos whose subject sits high in the frame (the shirts' ruffle collars).
   Same square frame, same padding and rounding — only the crop window shifts
   up, so the collar survives instead of being sliced off the top.
   Applied by cardImgClass() in js/browse.js. */
.card-img--top img { object-position: center 15%; }
.product-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-family: var(--ui); text-transform: uppercase; letter-spacing: 2px; font-size: 0.68rem; color: var(--olive-green); font-weight: 600; margin-bottom: 6px; }
.product-card__title { font-family: var(--heading); font-size: 1.25rem; margin-bottom: 6px; line-height: 1.15; }
.product-card__title a:hover { color: var(--deep-red); }
.product-card__price { font-weight: 600; color: var(--forest-black); margin-bottom: 14px; }
.product-card__size { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.product-card__actions { margin-top: auto; display: flex; gap: 8px; }
.product-card__actions .btn { flex: 1; }
.product-card__actions .btn:disabled { background: #cfc7b6; color: #fff; cursor: not-allowed; opacity: 1; }

/* ---- Sold-out badge (shop cards + product cards) ---- */
.product-card__img, .shopcard__img { position: relative; }
.card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--deep-red); color: #fff;
  font-family: var(--ui); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(28, 28, 28, 0.18);
}
.is-soldout .product-card__img img,
.is-soldout .shopcard__img img { opacity: 0.55; filter: grayscale(0.25); }

/* Featured Products: single row of 5 (homepage) */
.product-grid.product-grid--5 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1024px) { .product-grid.product-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .product-grid.product-grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .product-grid.product-grid--5 { grid-template-columns: 1fr; } }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  /* Featured Categories stay 2-per-row on phone so the images aren't huge */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .product-grid { grid-template-columns: 1fr; }
}

/* ---------- Shop layout ---------- */
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: start; }
.filters {
  position: sticky; top: 92px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.filters h4 { font-family: var(--ui); text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; color: var(--muted); margin: 0 0 12px; }
.filter-group { margin-bottom: 24px; }
.filter-btn {
  display: block; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--body); font-size: 1rem; color: var(--forest-black);
  padding: 9px 12px; border-radius: 10px; transition: background 0.15s ease, color 0.15s ease;
}
.filter-btn:hover { background: var(--natural-linen); }
.filter-btn.active { background: var(--forest-black); color: var(--warm-cream); }
.shop__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.shop__count { color: var(--muted); font-size: 0.95rem; }
.select {
  font-family: var(--ui); font-size: 0.95rem; padding: 10px 14px;
  border: 2px solid var(--forest-black); border-radius: 999px; background: var(--warm-cream); cursor: pointer;
}
@media (max-width: 820px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; }
}

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp__gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px; display: flex; align-items: center; justify-content: center; position: sticky; top: 92px; }
.pdp__gallery img { max-height: 560px; max-width: 100%; object-fit: contain; }
/* Apparel: portrait shirt photos display a touch larger */
.pdp__gallery--full { padding: 4px; }
.pdp__gallery--full img { max-height: 640px; }

/* Hover-to-zoom on the product image */
.zoomable { position: relative; overflow: hidden; border-radius: 12px; cursor: zoom-in; line-height: 0; max-width: 100%; }
.zoomable img { transition: transform 0.12s ease-out; will-change: transform; }
.zoom-badge {
  position: absolute; bottom: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(28, 28, 28, 0.72); color: #fff;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0.9; transition: opacity 0.15s ease;
}
.zoomable:hover .zoom-badge { opacity: 0; }

/* Full-screen lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 20, 20, 0.92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 92vw; max-height: 92vh; object-fit: contain;
  border-radius: 8px; cursor: zoom-in; will-change: transform;
  transition: transform 0.15s ease-out;
}
.lightbox__img.zoomed { cursor: zoom-out; }
.lightbox__close {
  position: absolute; top: 16px; right: 24px;
  background: none; border: none; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 6px 12px;
}
.lightbox__close:hover { color: var(--deep-red); }
.pdp__cat { font-family: var(--ui); text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; color: var(--olive-green); font-weight: 600; }
.pdp__price { font-size: 1.6rem; font-weight: 600; color: var(--forest-black); margin: 8px 0 6px; }
.pdp__sizeline { font-family: var(--ui); color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.pdp__buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 8px 0 28px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--forest-black); border-radius: 999px; overflow: hidden; }
.qty button { background: none; border: none; width: 42px; height: 46px; font-size: 1.3rem; cursor: pointer; font-family: var(--ui); }
.qty button:hover { background: var(--natural-linen); }
.qty input { width: 44px; text-align: center; border: none; background: none; font-family: var(--ui); font-size: 1.05rem; }
.size-options { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 22px; }
.size-btn {
  font-family: var(--ui); font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff;
  transition: all 0.15s ease;
}
.size-btn:hover { border-color: var(--forest-black); }
.size-btn.active { background: var(--forest-black); color: var(--warm-cream); border-color: var(--forest-black); }
.pdp__meta { margin-top: 10px; }
.pdp__meta details {
  border-top: 1px solid var(--line); padding: 14px 0;
}
.pdp__meta summary { font-family: var(--ui); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pdp__meta summary::-webkit-details-marker { display: none; }
.pdp__meta summary::after { content: "+"; font-size: 1.3rem; color: var(--deep-red); }
.pdp__meta details[open] summary::after { content: "–"; }
.pdp__meta details p { margin: 12px 0 4px; color: var(--muted); }
@media (max-width: 820px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp__gallery { position: static; padding: 8px; }
}

/* ---------- Story / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-photo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 30px;
}
.story-photo img { max-height: 100%; }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item .bird { width: 22px; flex-shrink: 0; margin-top: 4px; }
.value-item h4 { font-family: var(--ui); font-size: 1.02rem; margin: 0 0 2px; }
.value-item p { font-size: 0.95rem; color: var(--muted); margin: 0; }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.timeline { max-width: 720px; margin: 0 auto; }
.timeline__row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline__year { font-family: var(--heading); font-size: 1.5rem; color: var(--deep-red); }
@media (max-width: 560px) { .timeline__row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Video embeds (YouTube) ---------- */
.video-grid { display: grid; gap: 26px; grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
.video-grid--2 { max-width: var(--wrap); grid-template-columns: 1fr 1fr; }
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--forest-black); box-shadow: var(--shadow);
}
.video-embed iframe,
.video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* The "how it's made" clip was filmed on a phone, so it's taller than it is
   wide. Matching the frame to the footage avoids huge black bars down each
   side, and the max-width keeps a portrait video from dominating the page. */
.video-embed--portrait {
  aspect-ratio: 608 / 1080;
  max-width: 420px;
  margin-inline: auto;
}
.video-embed video { object-fit: contain; background: var(--forest-black); }
.video-embed__fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 24px; text-align: center; color: #cabfac;
  font-family: var(--ui); font-size: 0.95rem;
}
.video-embed__fallback a { color: #fff; text-decoration: underline; }
.video-embed--placeholder { display: flex; align-items: center; justify-content: center; text-align: center; border: 1px dashed #4a4a4a; }
.video-embed--placeholder .vp-inner {
  font-family: var(--ui); font-weight: 600; color: #cabfac; padding: 20px; display: flex; flex-direction: column; gap: 6px;
}
.video-embed--placeholder .vp-inner span { font-weight: 400; font-size: 0.85rem; color: #8f8676; }
@media (max-width: 720px) { .video-grid--2 { grid-template-columns: 1fr; } }

/* ---------- About Me page ---------- */
.about-hero {
  position: relative;
  overflow: hidden;
  background: var(--warm-cream);
  border-bottom: 1px solid var(--line);
}
/* faint tree-inspired watermark accents that tie into the logo */
.about-hero__leaf {
  position: absolute;
  top: 50%;
  opacity: 0.05;
  pointer-events: none;
  height: 130%;
  width: auto;
  transform: translateY(-50%);
  filter: none;
}
.about-hero__leaf--left { left: -8%; transform: translateY(-50%) scaleX(-1); }
.about-hero__leaf--right { right: -8%; }
.about-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 84px 24px;
}
.about-hero__text h1 { margin: 4px 0 0.3em; }
.about-hero__divider {
  width: 90px; height: 3px; margin-top: 26px;
  background: var(--deep-red); border-radius: 3px;
}
.about-hero__photo { display: flex; justify-content: center; }
.about-hero__photo img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  border: 6px solid #fff;
}
@media (max-width: 820px) {
  .about-hero__inner { grid-template-columns: 1fr; text-align: center; padding: 48px 24px 54px; }
  .about-hero__photo { order: -1; }
  .about-hero__photo img { max-width: 300px; }
  .about-hero__divider { margin-left: auto; margin-right: auto; }
  .about-hero__leaf { opacity: 0.04; height: 90%; }
}

.about-story { max-width: 720px; margin: 0 auto; font-size: 1.12rem; }
.about-story p { margin-bottom: 1.3rem; }
.about-story__opening { font-size: 1.4rem; line-height: 1.5; color: var(--forest-black); font-family: var(--body); font-style: italic; }
.about-story__accent {
  font-family: var(--heading);
  font-size: 1.9rem;
  color: var(--deep-red);
  text-align: center;
  margin: 2rem 0 1.6rem;
}
.about-story__mission {
  margin: 2.4rem 0 0;
  padding: 26px 30px;
  background: var(--natural-linen);
  border-left: 4px solid var(--olive-green);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.6;
}
@media (max-width: 560px) {
  .about-story { font-size: 1.05rem; }
  .about-story__opening { font-size: 1.22rem; }
  .about-story__accent { font-size: 1.6rem; }
}

/* ---------- Testimonials ---------- */
.testimonial { background: var(--warm-cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stars { color: var(--deep-red); letter-spacing: 3px; margin-bottom: 10px; }
.testimonial p { font-style: italic; }
.testimonial cite { font-family: var(--ui); font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter form { display: flex; gap: 12px; max-width: 480px; margin: 18px auto 0; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 200px; padding: 15px 18px; border-radius: 999px; border: 2px solid var(--forest-black); font-family: var(--ui); font-size: 1rem; background: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; padding: 4px 24px; }
.faq summary { font-family: var(--ui); font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--deep-red); font-size: 1.5rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.field { margin-bottom: 18px; }
.field label { font-family: var(--ui); font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line);
  font-family: var(--body); font-size: 1rem; background: #fff; resize: vertical;
}
.field input:focus, .field textarea:focus, .newsletter input:focus { outline: none; border-color: var(--forest-black); }
.info-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.info-line .bird { width: 22px; margin-top: 4px; }
@media (max-width: 780px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 92px; height: 92px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.cart-item__title { font-family: var(--heading); font-size: 1.15rem; }
.cart-item__size { font-family: var(--ui); font-size: 0.85rem; color: var(--muted); }
.cart-item__remove { background: none; border: none; color: var(--deep-red); font-family: var(--ui); font-size: 0.85rem; cursor: pointer; padding: 4px 0; }
.cart-item__remove:hover { text-decoration: underline; }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 92px; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.cart-summary__total { display: flex; justify-content: space-between; font-family: var(--heading); font-size: 1.5rem; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty .bird { width: 50px; margin: 0 auto 18px; }
.note { font-family: var(--ui); font-size: 0.85rem; color: var(--muted); }

/* Ship-or-pickup chooser. Whole row is the target, not just the dot —
   44px min height keeps it thumb-sized on a phone. */
.fulfillment { border: 0; padding: 0; margin: 0 0 20px; }
.fulfillment legend { font-family: var(--ui); font-size: 0.85rem; color: var(--muted); padding: 0; margin-bottom: 10px; }
.fulfillment__opt {
  display: flex; align-items: flex-start; gap: 10px;
  min-height: 44px; padding: 11px 13px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: var(--radius-sm, 10px);
  font-family: var(--ui); font-size: 0.92rem; line-height: 1.35;
  cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.fulfillment__opt:hover { border-color: var(--warm-brown, #82634B); }
.fulfillment__opt:has(input:checked) { border-color: var(--deep-red, #B63A32); background: var(--natural-linen, #EEE6D8); }
.fulfillment__opt:has(input:focus-visible) { outline: 2px solid var(--deep-red, #B63A32); outline-offset: 2px; }
.fulfillment__opt input { margin-top: 3px; accent-color: var(--deep-red, #B63A32); flex: none; }
.fulfillment__opt .muted { font-size: 0.84rem; }
@media (max-width: 780px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }

/* ---------- Footer ---------- */
.footer { background: var(--forest-black); color: var(--warm-cream); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { height: 54px; filter: invert(1) brightness(1.4); }
.footer__brand span { font-family: var(--heading); font-size: 1.4rem; }
.footer p { color: #cabfac; }
.footer h4 { font-family: var(--ui); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 14px; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: #cabfac; transition: color 0.15s; }
.footer ul a:hover { color: var(--deep-red); }
.footer__bottom { border-top: 1px solid #333; margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #9c917f; font-family: var(--ui); font-size: 0.85rem; }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--forest-black); color: var(--warm-cream);
  padding: 14px 24px; border-radius: 999px; font-family: var(--ui); font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-hover); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Page header ---------- */
.page-head { background: var(--natural-linen); text-align: center; padding: 60px 24px 54px; border-bottom: 1px solid var(--line); }
.page-head .bird { width: 40px; margin: 0 auto 10px; }
.page-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- Fade-in animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }

/* ============================================================
   PHONE SIMPLIFICATION (iPhone-sized screens, ≤600px)
   Smaller type, tighter spacing, calmer hero — desktop untouched.
   ============================================================ */
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  .lead { font-size: 1.02rem; }

  .section { padding: 52px 0; }
  .section--tight { padding: 38px 0; }
  .wrap { padding: 0 18px; }
  .sec-head { margin-bottom: 30px; }
  .page-head { padding: 42px 20px 38px; }

  /* Top bar: compact, menu + cart grouped on the right */
  .nav__inner { gap: 10px; padding: 9px 14px; }
  .nav__brand img { height: 36px; }
  .nav__brand-name { font-size: 1rem; }
  .nav__cart { padding: 8px 13px; font-size: 0.86rem; }
  .nav__toggle { padding: 6px; }

  /* Buttons a touch smaller */
  .btn { padding: 12px 22px; font-size: 0.95rem; }

  /* Hero: smaller logo + calmer spacing */
  .hero__inner { padding: 34px 20px 42px; gap: 20px; }
  .hero__art img, .hero__logo { max-height: 190px; }
  .hero__buttons { gap: 10px; }

  /* Give stacked cards comfortable breathing room */
  .grid-4, .grid-3, .product-grid { gap: 18px; }

  /* Product-page image: keep it a sensible height on phones (not full screen) */
  .pdp__gallery img { max-height: 360px; }
  .pdp__gallery--full img { max-height: 330px; }
}
