:root {
  --bg: #fff7f3;
  --bg-soft: #fdeee8;
  --blush: #fbe3e6;
  --card: #ffffff;
  --line: #f1e0d8;
  --ink: #2c1f24;
  --muted: #927f82;
  --gold: #c79a4e;
  --gold-soft: #e7c982;
  --rose: #c14e63;
  --rose-deep: #9c3a52;
  --danger: #d05a4a;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(156, 58, 82, .14);
  --shadow-soft: 0 10px 30px rgba(44, 31, 36, .08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 520px at 82% -8%, var(--blush) 0%, rgba(251,227,230,0) 60%),
    radial-gradient(900px 500px at 0% 0%, #fff3ec 0%, rgba(255,243,236,0) 55%),
    var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.serif { font-family: var(--serif); }

/* ---------- Header ---------- */
header.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 56px);
  background: rgba(255,247,243,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .logo {
  font-family: var(--serif); font-size: 27px; font-weight: 600;
  letter-spacing: .5px; color: var(--ink);
}
.brand .logo b { color: var(--rose); font-weight: 600; }
.brand .sub { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .2s; font-weight: 500; }
.nav-links a:hover { color: var(--rose); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff; border: none; cursor: pointer;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 20px rgba(156,58,82,.25);
}
.cart-btn .count {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: #2c1f24; font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 4px;
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: clamp(36px, 6vw, 80px) clamp(18px, 5vw, 56px) 56px;
}
.hero .eyebrow { letter-spacing: 4px; text-transform: uppercase; font-size: 12px; color: var(--rose); font-weight: 600; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(42px, 6.2vw, 78px); line-height: 1.0; margin: 16px 0 18px;
}
.hero h1 em { color: var(--rose); font-style: italic; }
.hero p { color: var(--muted); font-size: 18px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; box-shadow: 0 12px 26px rgba(156,58,82,.28); }
.btn-gold:hover { box-shadow: 0 16px 34px rgba(156,58,82,.34); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.hero-stats { display: flex; gap: 30px; margin-top: 36px; }
.hero-stats div b { font-family: var(--serif); font-size: 30px; color: var(--rose); display: block; line-height: 1; }
.hero-stats div span { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

/* Hero editorial collage */
.hero-art { position: relative; aspect-ratio: 1/1.04; }
.ha-main {
  position: absolute; inset: 0 16% 12% 0; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow); border: 5px solid #fff;
}
.ha-main img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 38%; }
.ha-sub {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3/4;
  border-radius: 22px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow);
}
.ha-sub img { width: 100%; height: 100%; object-fit: cover; }
.ha-card {
  position: absolute; left: -4%; bottom: 16%; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-soft); max-width: 230px;
}
.ha-card img { width: 50px; height: 50px; object-fit: cover; border-radius: 10px; background: #fff; }
.ha-card .hc-brand { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.ha-card .hc-name { font-size: 13px; font-weight: 600; line-height: 1.2; display: block; }
.ha-card .hc-price { font-family: var(--serif); font-size: 17px; color: var(--rose); font-weight: 600; }
.ha-tag {
  position: absolute; top: 18px; left: 14px; z-index: 3;
  background: var(--gold); color: #2c1f24; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

/* ---------- Sections ---------- */
.section { padding: 24px clamp(18px, 5vw, 56px) 70px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); margin: 0; }
.section-head p { color: var(--muted); margin: 6px 0 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border-radius: 999px; font-size: 13px; cursor: pointer; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  transition: all .2s;
}
.chip:hover { color: var(--rose); border-color: var(--rose); }
.chip.active { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; border-color: transparent; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .18s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: var(--shadow); }
.card .imgwrap { position: relative; aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.card .imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .imgwrap img { transform: scale(1.05); }
.tag {
  position: absolute; top: 10px; left: 10px; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; font-weight: 700; background: var(--gold); color: #2c1f24;
  padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.tag.out { background: #fff; color: var(--danger); border: 1px solid var(--line); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .brand { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.card h3 { font-size: 16px; margin: 0; font-weight: 600; line-height: 1.25; }
.card .notes { font-size: 13px; color: var(--muted); }
.card .meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.card .price { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--rose); }
.card .add {
  background: var(--blush); border: 1px solid transparent; color: var(--rose);
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer; font-size: 21px;
  display: grid; place-items: center; transition: all .2s;
}
.card .add:hover { background: var(--rose); color: #fff; }
.card .add:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Lifestyle band ---------- */
.lifestyle {
  margin: 0 clamp(18px,5vw,56px) 64px; border-radius: 26px; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch;
  background: linear-gradient(135deg, #fff, var(--blush));
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.lifestyle .copy { padding: clamp(28px, 5vw, 56px); }
.lifestyle .copy span.eyebrow { letter-spacing: 4px; text-transform: uppercase; font-size: 12px; color: var(--rose); font-weight: 600; }
.lifestyle .copy h2 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 44px); margin: 12px 0 12px; }
.lifestyle .copy p { color: var(--muted); max-width: 420px; }
.lifestyle .pic { position: relative; min-height: 320px; }
.lifestyle .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 18px;
  padding: 0 clamp(18px,5vw,56px) 70px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); }
.value .ic { font-size: 22px; color: var(--rose); }
.value h4 { margin: 12px 0 6px; font-size: 16px; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(44,31,36,.4); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%);
  background: var(--bg); border-left: 1px solid var(--line); z-index: 60;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(44,31,36,.12);
}
.drawer.open { transform: translateX(0); }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 22px; border-bottom: 1px solid var(--line); }
.drawer header h3 { margin: 0; font-family: var(--serif); font-size: 28px; }
.drawer .close { background: none; border: none; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; }
.drawer .items { flex: 1; overflow-y: auto; padding: 14px 22px; }
.line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.line .info { flex: 1; min-width: 0; }
.line .info h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.line .info .p { color: var(--rose); font-size: 14px; font-weight: 600; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 15px; }
.qty button:hover { border-color: var(--rose); color: var(--rose); }
.qty span { min-width: 18px; text-align: center; }
.line .rm { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; align-self: flex-start; }
.line .rm:hover { color: var(--danger); }
.empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.drawer footer { padding: 20px 22px; border-top: 1px solid var(--line); background: #fff; }
.row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.row.total { color: var(--ink); font-size: 18px; font-weight: 600; margin: 12px 0 16px; }
.row.total b { font-family: var(--serif); font-size: 26px; color: var(--rose); }
.drawer footer .btn { width: 100%; }

/* ---------- Checkout / modal ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(44,31,36,.4); }
.modal.open { display: flex; }
.modal .box {
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px;
  width: min(560px, 100%); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow);
}
.modal .box header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.modal .box header h3 { margin: 0; font-family: var(--serif); font-size: 28px; }
.modal .box .pad { padding: 22px 24px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; font-weight: 500; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); color: var(--ink); font-family: inherit; font-size: 15px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(193,78,99,.12); }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-opts { display: grid; gap: 10px; margin-top: 8px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.pay-opt.sel { border-color: var(--rose); background: var(--blush); }
.pay-opt input { width: auto; margin-top: 3px; }

/* ---------- product quick-view ---------- */
.card .imgwrap { cursor: zoom-in; }
.card h3 { cursor: pointer; }
.modal .box.product-box { width: min(860px, 100%); position: relative; padding: 0; }
.pv-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); border: 1px solid var(--line); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.pv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pv .pv-img { background: #fff; aspect-ratio: 1/1; }
.pv .pv-img img { width: 100%; height: 100%; object-fit: cover; }
.pv .pv-info { padding: 34px 32px; display: flex; flex-direction: column; gap: 10px; }
.pv .pv-brand { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pv h3 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.15; }
.pv .pv-notes { font-size: 14px; color: var(--muted); }
.pv .pv-desc { font-size: 15px; line-height: 1.6; color: var(--ink); margin: 6px 0; }
.pv .pv-price { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--rose); margin-top: auto; }
.pv .pv-stock { font-size: 13px; color: var(--muted); }
.pv .pv-stock.out { color: var(--rose); }
.pv .btn { margin-top: 10px; }
@media (max-width: 640px) {
  .pv { grid-template-columns: 1fr; }
  .pv .pv-img { aspect-ratio: 4/3; }
}
.pay-opt b { font-size: 14px; }
.pay-opt small { color: var(--muted); display: block; }
.note { font-size: 13px; color: var(--ink); background: var(--blush); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 16px; }
.success { text-align: center; padding: 16px 0; }
.success .check { width: 66px; height: 66px; border-radius: 50%; background: var(--blush); border: 1px solid var(--rose); display: grid; place-items: center; margin: 0 auto 16px; font-size: 30px; color: var(--rose); }
.err { color: var(--danger); font-size: 14px; margin-top: 10px; min-height: 18px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 40px clamp(18px,5vw,56px); color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; background: #fff; }
footer.site a:hover { color: var(--rose); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--rose); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: 0; transition: all .3s; z-index: 90; pointer-events: none; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; margin: 8px auto 0; width: 100%; }
  .lifestyle { grid-template-columns: 1fr; }
  .lifestyle .pic { min-height: 240px; }
  .nav-links a:not(.cart-wrap) { display: none; }
}
