:root {
  --bg: #faf6f0;
  --bg-alt: #f1e9dd;
  --ink: #2a2320;
  --muted: #6f6258;
  --accent: #b5803f;
  --accent-dark: #8f6230;
  --dark: #2a2320;
  --line: #e4d9ca;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1815;
    --bg-alt: #261f1b;
    --ink: #f2e9dc;
    --muted: #b3a595;
    --accent: #d09a57;
    --accent-dark: #e0b077;
    --dark: #120e0c;
    --line: #3a2f28;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
}
body.noscroll { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; line-height: 1.15; margin: 0; }
a { color: var(--accent-dark); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.brand span { font-weight: 400; color: var(--accent-dark); font-size: 1.05rem; margin-left: 4px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .92rem; }
.nav a:hover { color: var(--accent-dark); }

.hero {
  background: radial-gradient(ellipse at 50% 120%, rgba(214,150,70,.35), transparent 60%), linear-gradient(180deg, #2a2320, #3a2b22);
  color: #f6ecdd;
  text-align: center;
  padding: 44px 24px 48px;
}
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: calc(100% - 28px); aspect-ratio: 1;
  background: #e0b077; opacity: .13;
  -webkit-mask: url(img/image.png) center / contain no-repeat;
  mask: url(img/image.png) center / contain no-repeat;
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-inner { max-width: 600px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--accent); margin: 0 0 8px; }
.hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 10px; }
.lead { font-size: .98rem; color: #e3d5c1; margin: 0 0 20px; }

.btn {
  display: inline-block; cursor: pointer; text-align: center; text-decoration: none;
  font: 500 .92rem 'Inter', sans-serif;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-light { background: #f6ecdd; color: #2a2320; }
.btn-light:hover { background: #fff; }
.btn-wide { display: block; width: 100%; padding: 14px; font-size: 1rem; }

.section { max-width: 1180px; margin: 0 auto; padding: 72px 24px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.card { background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.card-media { position: relative; padding: 0; border: 0; background: #fff; aspect-ratio: 1 / 1; cursor: pointer; overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.card-media .img-hover { opacity: 0; }
.card-media:hover .img-hover { opacity: 1; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.6rem; }
.card-tag { color: var(--muted); font-size: .88rem; margin: 6px 0 12px; flex: 1; }
.price { margin: 0 0 14px; display: flex; gap: 10px; align-items: baseline; }
.price-now { font-weight: 600; font-size: 1.1rem; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.card-actions { display: flex; gap: 10px; }
.card-actions .btn { flex: 1; padding: 10px 12px; }

.features { background: transparent; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.feature h3 { font-size: 1.35rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.gift { max-width: none; background: var(--dark); color: #f6ecdd; text-align: center; }
.gift-inner { max-width: 640px; margin: 0 auto; }
.gift h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 12px; }
.gift p { color: #e3d5c1; }
.gift ul { list-style: none; padding: 0; margin: 24px 0 30px; text-align: left; display: inline-block; }
.gift li { padding: 6px 0 6px 26px; position: relative; color: #e3d5c1; }
.gift li::before { content: '✦'; position: absolute; left: 0; color: var(--accent); }

.site-footer { text-align: center; padding: 40px 24px 48px; color: var(--muted); font-size: .92rem; }
.brand-foot { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; color: var(--ink); margin: 0 0 8px; }
.small { font-size: .8rem; color: var(--muted); }

.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,10,8,.6); }
.modal-panel { position: relative; background: var(--bg); width: min(980px, 100%); max-height: 92vh; overflow: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.modal-close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.gallery { background: #fff; padding: 18px; }
.gallery-main { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .7; }
.thumb.active { border-color: var(--accent); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.info { padding: 32px 28px 28px; }
.info-title { font-size: 2.4rem; }
.info-tag { color: var(--muted); margin: 6px 0 12px; }
.info-desc { margin: 0 0 16px; }
.notes { background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.notes-title { font-size: 1.15rem; margin-bottom: 8px; }
.note { display: flex; gap: 10px; font-size: .88rem; padding: 3px 0; }
.note-label { flex: 0 0 104px; color: var(--accent-dark); font-weight: 500; }
.note-text { color: var(--ink); }
.info-ideal { font-size: .9rem; color: var(--muted); }
.specs { margin: 0 0 20px; padding: 0 0 0 18px; font-size: .88rem; color: var(--muted); }
.info .small { text-align: center; margin: 10px 0 0; }

@media (max-width: 760px) {
  .site-header { padding: 12px 16px; }
  .brand { font-size: 1.25rem; }
  .brand span { display: none; }
  .nav { gap: 14px; }
  .section { padding: 52px 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: 1.3rem; }
  .card-tag { display: none; }
  .card-actions { flex-direction: column; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { max-height: 94vh; border-radius: 18px 18px 0 0; }
  .modal-body { grid-template-columns: 1fr; }
  .info { padding: 20px 18px 24px; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}

.foot-logo {
  width: 64px; height: 64px; margin: 0 auto 10px;
  background: var(--accent); opacity: .85;
  -webkit-mask: url(img/image.png) center / contain no-repeat;
  mask: url(img/image.png) center / contain no-repeat;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  display: block; flex: none; width: 40px; height: 40px;
  background: var(--accent);
  -webkit-mask: url(img/image.png) center / contain no-repeat;
  mask: url(img/image.png) center / contain no-repeat;
}
@media (max-width: 760px) { .brand-logo { width: 34px; height: 34px; } }

html { scroll-padding-top: 72px; }
@supports (height: 100dvh) {
  .modal { inset: auto; top: 0; left: 0; width: 100%; height: 100dvh; }
}
@media (max-width: 760px) {
  .modal-panel { max-height: 94dvh; }
  .brand { white-space: nowrap; font-size: 1.1rem; gap: 8px; }
  .brand-logo { width: 30px; height: 30px; }
  .nav { gap: 12px; }
  .nav a { font-size: .85rem; }
}
