:root {
  --green: #1f4d3a;
  --green-soft: #2f6b52;
  --gold: #b8912f;
  --gold-soft: #d8b45a;
  --cream: #f7f3ea;
  --cream2: #efe8d8;
  --ink: #22271f;
  --muted: #6b7166;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34, 39, 31, 0.10);
  --shadow-lg: 0 24px 60px rgba(34, 39, 31, 0.18);
  font-size: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Georgia', 'Iowan Old Style', serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.script {
  font-family: 'Snell Roundhand', 'Brush Script MT', cursive;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34,39,31,0.08);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name { font-size: 1.35rem; color: var(--green); font-weight: 700; letter-spacing: 0.01em; }
.brand-text .tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.cart-btn {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--cream);
  border: none; border-radius: 999px; padding: 10px 20px;
  font-size: 0.95rem; box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.nav-link {
  flex: none;
  font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 0.9rem; font-weight: 600;
  color: var(--green); text-decoration: none; white-space: nowrap;
}
.nav-link:hover { color: var(--gold); }
/* Narrow screens have only room for the brand and cart — the footer and
   the e-card band still carry the link there. */
@media (max-width: 820px) { .nav-link { display: none; } }
.cart-count {
  background: var(--gold); color: var(--ink);
  border-radius: 999px; min-width: 20px; height: 20px; padding: 0 5px;
  font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) clamp(16px, 4vw, 48px) clamp(48px, 7vw, 90px);
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(184,145,47,0.10), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream2) 100%);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,77,58,0.08), transparent 70%);
}
.hero::before { top: -120px; left: -100px; }
.hero::after { bottom: -160px; right: -100px; background: radial-gradient(circle, rgba(184,145,47,0.12), transparent 70%); }
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero .eyebrow, .ecard-band .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem;
  color: var(--gold); font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 600; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--green); margin: 0 0 18px; line-height: 1.08;
}
.hero p.lede {
  font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 auto 34px; line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 13px 28px; font-size: 0.98rem; border: none;
  font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex; justify-content: center; gap: clamp(20px, 5vw, 56px); flex-wrap: wrap;
  padding: 22px 16px; background: var(--green); color: var(--cream);
  font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 0.82rem; letter-spacing: 0.02em;
}
.trust-strip span { display: flex; align-items: center; gap: 8px; opacity: 0.92; }

/* ---------- Catalog ---------- */
.catalog-section { padding: clamp(48px, 7vw, 90px) clamp(16px, 4vw, 48px); max-width: 1320px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { color: var(--green); font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 10px; }
.section-head p { color: var(--muted); font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 0.95rem; }

.filter-row {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 38px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.filter-chip {
  background: #fff; border: 1px solid rgba(34,39,31,0.14); color: var(--ink);
  padding: 8px 18px; border-radius: 999px; font-size: 0.85rem; transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--gold); }
.filter-chip.active { background: var(--green); color: var(--cream); border-color: var(--green); }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px;
}
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--cream2); cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(31,77,58,0.9); color: var(--cream);
  font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 1.02rem; line-height: 1.3; color: var(--ink); min-height: 2.6em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.card-price { font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 700; color: var(--green); font-size: 1.1rem; }
.card-add {
  background: var(--cream2); color: var(--green); border: none; border-radius: 999px;
  padding: 9px 16px; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 0.82rem; font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.card-add:hover { background: var(--green); color: var(--cream); }

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(34,39,31,0.45); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 60;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--cream); box-shadow: -20px 0 50px rgba(0,0,0,0.2);
  transform: translateX(100%); transition: transform 0.3s ease; z-index: 61;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid rgba(34,39,31,0.1);
}
.drawer-head h3 { margin: 0; color: var(--green); }
.drawer-close { background: none; border: none; font-size: 1.4rem; color: var(--muted); line-height: 1; }
.drawer-items { flex: 1; overflow-y: auto; padding: 14px 22px; display: flex; flex-direction: column; gap: 16px; }
.drawer-empty { color: var(--muted); text-align: center; padding: 60px 20px; font-family: 'Helvetica Neue', Arial, sans-serif; }
.drawer-item { display: flex; gap: 12px; align-items: center; }
.drawer-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-info .t { font-size: 0.88rem; line-height: 1.3; }
.drawer-item-info .p { color: var(--gold); font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: 0.85rem; margin-top: 4px; }
.drawer-item-remove { background: none; border: none; color: var(--muted); font-size: 0.78rem; text-decoration: underline; font-family: 'Helvetica Neue', Arial, sans-serif; }
.drawer-foot { padding: 20px 22px; border-top: 1px solid rgba(34,39,31,0.1); font-family: 'Helvetica Neue', Arial, sans-serif; }
.drawer-total { display: flex; justify-content: space-between; font-size: 1.05rem; margin-bottom: 14px; }
.drawer-total strong { color: var(--green); }
.drawer-foot .btn { width: 100%; justify-content: center; }
.drawer-note { font-size: 0.72rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(20,24,18,0.88); z-index: 70;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  background: var(--cream); border-radius: var(--radius); max-width: 920px; width: 100%;
  max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) { .lightbox-inner { grid-template-columns: 1fr; } }
.lightbox-media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-info { padding: 30px 30px 34px; display: flex; flex-direction: column; }
.lightbox-info h3 { color: var(--green); font-size: 1.35rem; margin: 0 0 14px; }
.lightbox-info p.desc { color: var(--muted); line-height: 1.65; font-size: 0.95rem; margin-bottom: 22px; }
.lightbox-close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  color: var(--cream); font-size: 1.8rem; line-height: 1;
}
.lightbox-price { font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 700; color: var(--green); font-size: 1.3rem; margin-bottom: 18px; }

/* ---------- Footer ---------- */
/* ---------- E-card cross-link band ---------- */
.ecard-band { padding: 0 clamp(16px,4vw,48px) clamp(48px,7vw,80px); }
.ecard-band-inner {
  max-width: 1100px; margin: 0 auto; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px,4vw,44px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.ecard-band-copy { max-width: 620px; }
.ecard-band h2 { color: var(--green); margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); }
.ecard-band p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.98rem; }

.site-footer {
  background: var(--green); color: rgba(247,243,234,0.85);
  padding: 46px clamp(16px,4vw,48px) 30px; font-family: 'Helvetica Neue', Arial, sans-serif;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .name { font-family: Georgia, serif; font-size: 1.2rem; color: var(--cream); margin-bottom: 8px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; opacity: 0.85; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-soft); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.85rem; margin-bottom: 8px; opacity: 0.85; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  max-width: 1100px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid rgba(247,243,234,0.15);
  font-size: 0.76rem; opacity: 0.65; text-align: center;
}

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--cream); padding: 12px 22px; border-radius: 999px;
  font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 0.85rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 80;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
