:root {
  --bg:#031d18;
  --bg2:#0b372e;
  --cream:#fff5dd;
  --cream2:#f7edcf;
  --gold:#d4aa4f;
  --gold2:#f4d98d;
  --text:#fff8ec;
  --dark:#06251f;
  --muted:rgba(255,248,236,.74);
  --mutedDark:rgba(6,37,31,.78);
  --line:rgba(212,170,79,.25);
  --shadow:0 26px 80px rgba(0,0,0,.30);
}

* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  min-height:100vh;
  font-family:'Manrope',system-ui,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 10% -8%,rgba(244,217,141,.14),transparent 28%),
    radial-gradient(circle at 90% 0,rgba(212,170,79,.10),transparent 26%),
    linear-gradient(180deg,var(--bg),var(--bg2) 56%,#031612);
}
a { color:inherit; }
.container { width:min(1680px,calc(100% - 72px)); margin:0 auto; }

.nav {
  position:sticky;
  top:14px;
  z-index:1000;
  width:min(1680px,calc(100% - 72px));
  margin:14px auto 0;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(3,22,18,.88);
  backdrop-filter:blur(18px);
  box-shadow:0 18px 55px rgba(0,0,0,.28);
}
.nav-inner {
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:28px;
  padding:10px 16px;
}
.brand {
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--gold2);
  min-width:0;
}
.brand img { width:56px; height:56px; object-fit:contain; }
.brand span {
  font-family:'Cormorant Garamond',serif;
  font-size:34px;
  font-weight:700;
  white-space:nowrap;
}
.nav-links {
  display:flex;
  justify-content:flex-end;
  gap:26px;
  list-style:none;
}
.nav-links a {
  text-decoration:none;
  color:rgba(255,248,236,.72);
  font-weight:900;
  font-size:14px;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a.scheme-link { color:var(--gold2); }

.btn,.buy,.ghost {
  min-height:54px;
  border:0;
  border-radius:999px;
  padding:0 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:950;
  font-size:15px;
  text-decoration:none;
  cursor:pointer;
  white-space:nowrap;
}
.btn,.buy {
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#031612;
  box-shadow:0 16px 40px rgba(212,170,79,.18);
}
.ghost {
  background:rgba(255,255,255,.035);
  border:1px solid var(--line);
  color:var(--gold2);
}
.buy.disabled {
  opacity:.55;
  pointer-events:none;
  filter:grayscale(.25);
}

.section { padding:82px 0; }
.hero {
  display:block;
}
.tag {
  display:inline-flex;
  align-items:center;
  gap:13px;
  color:var(--gold2);
  text-transform:uppercase;
  letter-spacing:.17em;
  font-size:12px;
  font-weight:950;
  margin-bottom:22px;
}
.tag:before {
  content:"";
  width:11px;
  height:11px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 8px rgba(212,170,79,.16);
}
h1,h2,h3 { font-family:'Cormorant Garamond',serif; }
h1 {
  font-size:clamp(56px,7vw,110px);
  line-height:.88;
  letter-spacing:-.055em;
  color:var(--gold2);
}
h2 {
  font-size:clamp(42px,4.2vw,74px);
  line-height:.95;
  letter-spacing:-.045em;
  color:var(--gold2);
}
.lead {
  margin-top:22px;
  max-width:900px;
  color:var(--muted);
  font-size:19px;
  line-height:1.65;
  font-weight:800;
}
.hero-note {
  border:1px solid var(--line);
  border-radius:32px;
  padding:26px;
  background:rgba(255,255,255,.045);
  box-shadow:var(--shadow);
  color:var(--muted);
  font-weight:850;
  line-height:1.65;
}

.product-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
}
.product-card {
  min-height:760px;
  display:grid;
  grid-template-rows:auto auto minmax(116px,auto) minmax(132px,auto) minmax(142px,auto) auto;
  align-content:start;
  border:1px solid var(--line);
  border-radius:42px;
  padding:24px;
  background:linear-gradient(180deg,rgba(255,248,231,.98),rgba(247,237,207,.96));
  color:var(--dark);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.product-photo,
.detail-photo {
  position:relative;
  border-radius:28px;
  border:1px solid rgba(212,170,79,.18);
  background:
    radial-gradient(circle at 22% 16%,rgba(244,217,141,.50),transparent 24%),
    linear-gradient(145deg,#f8efd0,#e6d4a2);
  overflow:hidden;
  display:grid;
  place-items:center;
  text-align:center;
  text-decoration:none;
  color:#684d1b;
}
.product-photo { aspect-ratio:4/3; margin-bottom:28px; }
.detail-photo { aspect-ratio:4/3; min-height:520px; }
.placeholder-mark {
  padding:24px;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#8a6723;
}
.placeholder-mark strong {
  display:block;
  margin-top:12px;
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(38px,4vw,62px);
  line-height:.92;
  letter-spacing:-.04em;
  text-transform:none;
  color:#06251f;
}
.stock-badge {
  position:absolute;
  top:16px;
  left:16px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding:9px 13px;
  background:#f1d98b;
  color:#06251f;
  font-size:12px;
  font-weight:950;
  box-shadow:0 10px 28px rgba(0,0,0,.16);
}
.stock-badge.sold {
  background:#e8d7d2;
  color:#7d2b22;
}
.product-label {
  display:block;
  color:#9b7328;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:12px;
  font-weight:950;
  margin-bottom:16px;
}
.product-title {
  font-size:54px;
  line-height:.92;
  letter-spacing:-.045em;
  color:inherit;
  margin-bottom:18px;
}
.title-link {
  display:block;
  text-decoration:none;
  min-height:116px;
}
.product-desc {
  font-size:17px;
  line-height:1.62;
  font-weight:850;
  color:var(--mutedDark);
  min-height:132px;
}
.product-meta {
  display:grid;
  gap:10px;
  margin:22px 0 26px;
  color:var(--mutedDark);
  font-weight:900;
  min-height:92px;
  align-content:start;
}
.product-meta span {
  display:inline-flex;
  width:max-content;
  max-width:100%;
  border:1px solid rgba(6,37,31,.10);
  border-radius:999px;
  padding:8px 13px;
  background:rgba(6,37,31,.045);
}
.product-bottom {
  margin-top:0;
  border-top:1px solid rgba(212,170,79,.22);
  padding-top:26px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:end;
}
.price-box { min-width:0; }
.price {
  font-family:'Cormorant Garamond',serif;
  font-size:54px;
  line-height:.9;
  font-weight:700;
  color:inherit;
}
.meta {
  display:inline-block;
  max-width:100%;
  margin-top:10px;
  color:rgba(6,37,31,.82);
  background:rgba(6,37,31,.06);
  border:1px solid rgba(6,37,31,.10);
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  line-height:1.2;
  font-weight:950;
}
.currency-switch {
  display:inline-flex;
  gap:4px;
  padding:5px;
  border:1px solid rgba(212,170,79,.24);
  border-radius:999px;
  background:rgba(6,37,31,.045);
  margin-top:14px;
}
.currency-switch button {
  border:0;
  border-radius:999px;
  padding:8px 13px;
  background:transparent;
  color:inherit;
  font-weight:950;
  cursor:pointer;
  opacity:.80;
}
.currency-switch button.active {
  background:var(--gold);
  color:#031612;
  opacity:1;
}
.currency-help {
  margin:12px 0 0;
  padding:14px 16px;
  min-height:108px;
  border:1px solid rgba(208,165,77,.34);
  border-radius:18px;
  background:rgba(255,248,235,.56);
  color:var(--mutedDark);
  font-size:15px;
  line-height:1.45;
  font-weight:850;
  display:grid;
  align-content:start;
  gap:6px;
}

.detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,.72fr);
  gap:44px;
  align-items:start;
}
.detail-gallery {
  border:1px solid var(--line);
  border-radius:42px;
  padding:18px;
  background:rgba(255,255,255,.045);
  box-shadow:var(--shadow);
}
.detail-info {
  position:sticky;
  top:118px;
  border:1px solid var(--line);
  border-radius:42px;
  padding:clamp(28px,5vw,52px);
  background:linear-gradient(180deg,rgba(255,248,231,.98),rgba(247,237,207,.96));
  color:var(--dark);
  box-shadow:var(--shadow);
}
.detail-info h1 {
  color:var(--dark);
  font-size:clamp(52px,4.5vw,86px);
  line-height:1;
}
.copy {
  font-size:18px;
  line-height:1.75;
  font-weight:820;
  color:var(--mutedDark);
  margin-top:18px;
}
.info-list {
  display:grid;
  gap:16px;
  margin-top:26px;
}
.info-item {
  padding:20px;
  border:1px solid rgba(212,170,79,.18);
  border-radius:22px;
  background:rgba(6,37,31,.045);
  font-weight:850;
  line-height:1.55;
  color:var(--mutedDark);
}
.detail-text {
  margin-top:38px;
  display:grid;
  gap:24px;
}
.detail-text article {
  border:1px solid var(--line);
  border-radius:34px;
  background:rgba(255,255,255,.045);
  padding:32px;
}
.detail-text h2 {
  font-size:46px;
  margin-bottom:14px;
}
.detail-text p,
.detail-text li {
  font-size:17px;
  line-height:1.75;
  font-weight:800;
  color:var(--muted);
}
.detail-text ul {
  margin-left:22px;
  display:grid;
  gap:10px;
}
.not-found {
  border:1px solid var(--line);
  border-radius:42px;
  padding:44px;
  background:rgba(255,255,255,.045);
}

.footer {
  padding:54px 0 74px;
  border-top:1px solid rgba(212,170,79,.16);
  margin-top:70px;
}
.footer-grid {
  display:grid;
  grid-template-columns:1fr auto;
  gap:30px;
  align-items:center;
}
.footer-links,.social {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  list-style:none;
}
.footer a {
  text-decoration:none;
  color:rgba(255,248,236,.72);
  font-weight:850;
}
.footer a:hover { color:var(--gold2); }
.small {
  color:rgba(255,248,236,.56);
  font-size:13px;
  font-weight:800;
  margin-top:16px;
  line-height:1.6;
}

body.modal-open { overflow:hidden; }
.modal {
  position:fixed;
  inset:0;
  z-index:3000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.68);
  backdrop-filter:blur(8px);
}
.modal.show { display:flex; }
.modal-card {
  position:relative;
  z-index:1;
  width:min(700px,100%);
  max-height:92vh;
  overflow:auto;
  overscroll-behavior:contain;
  border-radius:34px;
  background:linear-gradient(180deg,#fff9ea,#f4e6c0);
  color:var(--dark);
  box-shadow:0 28px 100px rgba(0,0,0,.45);
  padding:32px 32px 38px;
}
.modal-top {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}
.modal h2 {
  color:var(--dark);
  font-size:44px;
}
.close {
  border:1px solid rgba(6,37,31,.18);
  background:rgba(6,37,31,.075);
  width:44px;
  height:44px;
  border-radius:50%;
  font-size:24px;
  cursor:pointer;
  color:var(--dark);
}
.form {
  display:grid;
  gap:14px;
  margin-top:22px;
}
.payment-methods {
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin:18px 0;
}
.method {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(6,37,31,.14);
  background:rgba(255,255,255,.55);
  border-radius:18px;
  padding:16px 18px;
  cursor:pointer;
  font-weight:950;
  color:var(--dark);
}
.method.active {
  border-color:rgba(212,170,79,.75);
  background:rgba(212,170,79,.22);
}
.method small {
  display:block;
  color:var(--mutedDark);
  font-weight:850;
  margin-top:3px;
}
.field label {
  display:block;
  font-weight:950;
  margin-bottom:8px;
  color:rgba(6,37,31,.86);
}
.field input,
.field textarea {
  width:100%;
  border:1px solid rgba(6,37,31,.14);
  border-radius:18px;
  padding:16px 18px;
  font:inherit;
  font-weight:800;
  background:rgba(255,255,255,.76);
  color:var(--dark);
}
.field textarea {
  min-height:110px;
  resize:vertical;
}
.checks {
  display:grid;
  gap:12px;
  margin:10px 0;
}
.check {
  display:grid;
  grid-template-columns:22px 1fr;
  gap:12px;
  align-items:start;
  color:rgba(6,37,31,.86);
  font-weight:850;
  line-height:1.45;
}
.check input { width:20px; height:20px; }
.check a {
  color:#244d43;
  text-decoration:underline;
  text-underline-offset:4px;
}
.required-note,
.contact-hint {
  color:rgba(6,37,31,.72);
  font-weight:850;
  line-height:1.45;
  font-size:14px;
}
.error {
  display:none;
  padding:13px 16px;
  border-radius:16px;
  background:#fff0f0;
  color:#8b1d1d;
  font-weight:900;
}
.error.show { display:block; }
.modal-actions {
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:16px;
}
.selected-price {
  font-family:'Cormorant Garamond',serif;
  font-size:42px;
  font-weight:700;
  margin-top:10px;
  color:var(--dark);
}
#checkoutSubmit[disabled],
#checkoutSubmit.is-disabled {
  opacity:.45;
  cursor:not-allowed;
  filter:grayscale(.25);
  box-shadow:none;
}

@media(max-width:1180px) {
  .nav { border-radius:28px; }
  .nav-inner { grid-template-columns:1fr; }
  .brand { justify-content:center; }
  .nav-links {
    justify-content:center;
    gap:8px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    width:100%;
  }
  .nav-links a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 8px;
    border:1px solid rgba(212,170,79,.18);
    border-radius:16px;
    text-align:center;
  }
  .nav-cta { display:none; }
  .hero,
  .detail-layout { grid-template-columns:1fr; }
  .detail-info { position:static; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media(max-width:720px) {
  .container,.nav { width:calc(100% - 24px); }
  .nav {
    top:10px;
    margin-top:10px;
    border-radius:24px;
  }
  .nav-inner {
    gap:12px;
    padding:12px;
  }
  .brand span { font-size:24px; }
  .brand img { width:42px; height:42px; }
  .nav-links {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .nav-links a {
    font-size:13px;
    line-height:1.15;
  }
  .section { padding:50px 0; }
  .product-grid { grid-template-columns:1fr; }
  .product-card {
    min-height:auto;
    display:flex;
    flex-direction:column;
    border-radius:32px;
    padding:20px;
  }
  .product-title { font-size:48px; }
  .title-link,
  .product-title,
  .product-desc,
  .product-meta,
  .currency-help { min-height:0; }
  .product-bottom { grid-template-columns:1fr; }
  .buy,.btn,.ghost { width:100%; }
  .footer-grid { grid-template-columns:1fr; }
  .detail-photo { min-height:auto; }
  .price { font-size:50px; }
  .currency-switch {
    width:100%;
    justify-content:space-between;
  }
  .currency-switch button { flex:1; }
  .modal-card {
    padding:24px;
    border-radius:26px;
  }
}
