:root {
  --pink: #ffd7d8;
  --pink-soft: #ffe7e8;
  --wine: #470f0c;
  --wine-soft: #6b2420;
  --surface: #ffffff;
  --muted: #8a5a54;
  --hairline: #f3c4c6;
  --ink: #2a100e;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --shadow: 0 10px 40px rgba(71, 15, 12, 0.10);
  --shadow-sm: 0 4px 18px rgba(71, 15, 12, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--pink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--wine); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine-soft);
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 215, 216, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 46px; width: auto; }
.logo .wordmark { font-family: var(--serif); font-size: 26px; color: var(--wine); letter-spacing: 0.01em; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wine-soft); font-weight: 500; }
.nav a:hover { color: var(--wine); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--wine); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.06em; font-weight: 500;
}
.cart-btn:hover { background: var(--wine-soft); }
.cart-count {
  background: #fff; color: var(--wine); font-size: 11px; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); margin: 14px 0 18px; font-style: italic; }
.hero p.lead { font-size: 18px; color: var(--wine-soft); max-width: 460px; margin-bottom: 28px; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wine); color: #fff; padding: 15px 30px; border-radius: 999px;
  font-size: 14px; letter-spacing: 0.06em; font-weight: 500; transition: transform .15s, background .15s;
}
.btn:hover { background: var(--wine-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--wine); border: 1.5px solid var(--wine); }
.btn-ghost:hover { background: var(--wine); color: #fff; }

/* ---------- Values strip ---------- */
.values { background: var(--wine); color: var(--pink); }
.values .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding: 18px 22px; }
.values span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.92; }
.values span::before { content: "✦"; margin-right: 10px; opacity: 0.6; }

/* ---------- Shop ---------- */
.shop { padding: 64px 0 80px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); }
.section-head p { color: var(--muted); margin-top: 6px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip {
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--hairline);
  background: var(--surface); color: var(--wine-soft); font-size: 13px; letter-spacing: 0.05em;
  font-weight: 500; transition: all .15s;
}
.chip:hover { border-color: var(--wine); }
.chip.active { background: var(--wine); color: #fff; border-color: var(--wine); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; cursor: pointer;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 1; overflow: hidden; background: var(--pink-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--serif); font-size: 22px; color: var(--wine); line-height: 1.1; }
.card-price { font-size: 15px; color: var(--wine-soft); font-weight: 600; margin-top: auto; }
.card-add {
  margin-top: 12px; width: 100%; background: var(--pink); color: var(--wine);
  padding: 11px; border-radius: 999px; font-size: 13px; letter-spacing: 0.06em; font-weight: 600;
  border: 1.5px solid transparent; transition: all .15s;
}
.card-add:hover { background: var(--wine); color: #fff; }

/* ---------- About ---------- */
.about { background: var(--pink-soft); padding: 76px 0; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(30px, 4vw, 44px); margin: 12px 0 16px; font-style: italic; }
.about p { color: var(--wine-soft); margin-bottom: 14px; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine); color: var(--pink); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-logo { font-family: var(--serif); font-size: 30px; color: #fff; }
.site-footer p { font-size: 14px; opacity: 0.82; margin-top: 10px; max-width: 320px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; color: var(--pink); opacity: 0.7; }
.footer-col a { display: block; font-size: 14px; opacity: 0.9; margin-bottom: 9px; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,215,216,0.2); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; opacity: 0.75; }

/* ---------- Modal (quick view) ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(42,16,14,0.55); backdrop-filter: blur(4px);
  z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px;
}
.overlay.open { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--radius); max-width: 880px; width: 100%;
  max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px;
  border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--wine); font-size: 20px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.modal-gallery { background: var(--pink-soft); }
.modal-gallery .main-img { aspect-ratio: 1; overflow: hidden; }
.modal-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs { display: flex; gap: 8px; padding: 10px; flex-wrap: wrap; }
.modal-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.modal-thumbs img.active { border-color: var(--wine); }
.modal-info { padding: 32px 30px; display: flex; flex-direction: column; }
.modal-info .card-cat { margin-bottom: 6px; }
.modal-info h3 { font-size: 32px; margin-bottom: 8px; }
.modal-info .price { font-size: 20px; color: var(--wine-soft); font-weight: 600; margin-bottom: 18px; }
.desc-lead { color: var(--ink); margin-bottom: 16px; font-size: 15px; }
.desc-section { margin-bottom: 14px; }
.desc-section h5 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.desc-section ul { list-style: none; }
.desc-section li { font-size: 14px; color: var(--wine-soft); padding-left: 16px; position: relative; margin-bottom: 3px; }
.desc-section li::before { content: "•"; position: absolute; left: 0; color: var(--hairline); }
.desc-section p { font-size: 14px; color: var(--wine-soft); }
.qty-row { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--hairline); border-radius: 999px; overflow: hidden; }
.stepper button { width: 38px; height: 38px; font-size: 18px; color: var(--wine); }
.stepper button:hover { background: var(--pink-soft); }
.stepper span { min-width: 34px; text-align: center; font-weight: 600; }
.modal-info .btn { justify-content: center; margin-top: auto; }

/* ---------- Cart drawer ---------- */
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 90vw;
  background: var(--surface); z-index: 110; box-shadow: -10px 0 50px rgba(71,15,12,0.2);
  transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--hairline); }
.drawer-head h3 { font-size: 24px; }
.drawer-close { font-size: 24px; color: var(--wine); width: 34px; height: 34px; }
.drawer-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 0; }
.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--pink-soft); }
.cart-line img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; }
.cart-line-info { flex: 1; }
.cart-line-info .t { font-family: var(--serif); font-size: 18px; color: var(--wine); }
.cart-line-info .p { font-size: 14px; color: var(--wine-soft); }
.cart-line .stepper { margin-top: 8px; transform: scale(0.85); transform-origin: left; }
.cart-remove { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 6px; display: inline-block; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--hairline); }
.subtotal { display: flex; justify-content: space-between; font-size: 17px; color: var(--wine); font-weight: 600; margin-bottom: 14px; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.drawer-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- Banners ---------- */
.banner { padding: 14px 22px; text-align: center; font-size: 14px; font-weight: 500; }
.banner.success { background: #e8f5e9; color: #1b5e20; }
.banner.cancel { background: var(--pink-soft); color: var(--wine); }

/* ---------- Policy pages ---------- */
.policy { padding: 60px 0 80px; max-width: 760px; }
.policy h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; font-style: italic; }
.policy .updated { color: var(--muted); font-size: 13px; margin-bottom: 36px; }
.policy h2 { font-size: 24px; margin: 32px 0 10px; }
.policy p, .policy li { color: var(--wine-soft); margin-bottom: 10px; font-size: 16px; }
.policy ul { padding-left: 22px; margin-bottom: 14px; }
.back-link { display: inline-block; margin-top: 30px; color: var(--wine); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 40px 0 20px; }
  .hero-img { order: -1; aspect-ratio: 16/11; }
  .modal { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav { display: none; }
}
@media (max-width: 520px) {
  .card-title { font-size: 19px; }
  .logo .wordmark { display: none; }
}
