/* Birdie's Choice — Playful Premium Storefront */
:root {
  --charcoal: #1A1F2E;
  --ink: #0F1219;
  --cream: #F7F3EB;
  --amber: #D4A017;
  --amber-soft: #E8B84A;
  --stone: #EDE7DB;
  --muted: #6B7280;
  --white: #FFFFFF;
  --shadow: 0 8px 28px rgba(26, 31, 46, 0.08);
  --shadow-hover: 0 14px 40px rgba(26, 31, 46, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 31, 46, 0.06);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover,
.nav a.active { color: var(--charcoal); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--charcoal);
  transition: background 0.2s;
}
.cart-btn:hover { background: var(--amber-soft); }
.cart-count[hidden] { display: none !important; }
.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--stone);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
  transition: 0.2s;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
  box-shadow: 0 4px 16px rgba(26, 31, 46, 0.2);
}
.btn-primary:hover { background: var(--ink); box-shadow: var(--shadow-hover); }

.btn-amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.35);
}
.btn-amber:hover { background: var(--amber-soft); }

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid rgba(26, 31, 46, 0.15);
}
.btn-ghost:hover { border-color: var(--charcoal); background: rgba(26, 31, 46, 0.04); }

.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.8rem; }

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  background: var(--charcoal);
  color: var(--cream);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(212, 160, 23, 0.18), transparent),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(232, 184, 74, 0.08), transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--amber-soft); }
.hero-lead {
  font-size: 1.1rem;
  color: rgba(247, 243, 235, 0.75);
  max-width: 36ch;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mark-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
  transition: transform 0.3s;
}
.hero-mark-card:hover { transform: rotate(0deg) scale(1.02); }
.hero-mark-card img { width: 220px; height: auto; }

/* ——— Sections ——— */
.section { padding: 4.5rem 0; }
.section-stone { background: var(--stone); }
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ——— Product cards ——— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.product-card-media {
  aspect-ratio: 4 / 3;
  background: var(--stone);
  overflow: hidden;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.product-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}
.product-card p {
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  gap: 0.75rem;
}
.price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--charcoal);
}
.price-note {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  display: block;
}

/* ——— Features / Why ——— */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--charcoal);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.feature p { font-size: 0.9rem; color: var(--muted); }

/* ——— CTA band ——— */
.cta-band {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 20ch;
  line-height: 1.2;
}
.cta-band p { color: rgba(247, 243, 235, 0.7); margin-top: 0.5rem; }

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(26, 31, 46, 0.06);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-hero p { color: var(--muted); max-width: 48ch; }

/* ——— Product detail ——— */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0 4rem;
}
.product-gallery {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info .breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.product-info .breadcrumb a:hover { color: var(--amber); }
.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.product-info .price-lg {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.product-info .desc {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.product-bullets {
  margin-bottom: 2rem;
}
.product-bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}
.product-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.cart-note {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--stone);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

/* ——— About ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 4rem;
}
.about-visual {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.about-visual img { width: 200px; margin: 0 auto 1.5rem; }
.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.value {
  background: var(--stone);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}
.value strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}
.value span { font-size: 0.85rem; color: var(--muted); }

/* ——— Footer ——— */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(247, 243, 235, 0.65);
  max-width: 32ch;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(247, 243, 235, 0.7);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(247, 243, 235, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(247, 243, 235, 0.45);
}

/* ——— Cart drawer stub ——— */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100%);
  height: 100%;
  background: var(--cream);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}
.cart-drawer.open { transform: translateX(0); }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 25, 0.45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.cart-drawer .cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  gap: 0.75rem;
}
.cart-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--stone);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ——— Toast ——— */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 300;
  transition: transform 0.3s;
  box-shadow: var(--shadow-hover);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-eyebrow::before { display: none; }
  .features { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(26, 31, 46, 0.08);
    display: none;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(26, 31, 46, 0.06);
  }
  .logo img { height: 36px; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-mark-card { padding: 1.75rem; transform: none; }
  .hero-mark-card img { width: 160px; }
  .section { padding: 3rem 0; }
  .cta-band { padding: 2rem 1.5rem; text-align: center; justify-content: center; }
  .cta-band .btn { width: 100%; }
}

body.nav-open { overflow: hidden; }
