/* REEH PARFUMS — site styles (colours & fonts copied from the original WordPress site) */
:root {
  --brown: #331514;      /* top bar, buttons, footer */
  --brown-2: #5d2d2c;    /* section labels */
  --gold: #b8945a;
  --gold-light: #d9bf8c;
  --ink: #1d1d1d;
  --text: #363636;
  --muted: #6e6862;
  --line: #e7e1d8;
  --cream: #f6f4f1;
  --white: #ffffff;
  --sale: #c62828;
  --ok: #2e7d32;
  --serif: "Cormorant", Georgia, serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --btn: "Montserrat", var(--sans);
  --label: "Lexend Exa", var(--sans);
  --wrap: 1180px;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brown); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--brown); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 12px; }
.social { display: flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; width: 20px; height: 20px; }
.social svg { width: 100%; height: 100%; fill: currentColor; }

.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { width: 112px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font: 500 14px/1 var(--btn); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--gold); }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--ink); }
.cart-link svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brown); color: #fff; font: 700 11px/18px var(--sans); text-align: center; }
.cart-count[data-n="0"] { display: none; }
.menu-btn { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border: 1px solid var(--brown); border-radius: var(--radius);
  background: var(--brown); color: #fff; font: 500 14px/1 var(--btn); letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: #4a2221; }
.btn.ghost { background: transparent; color: var(--brown); }
.btn.ghost:hover { background: var(--brown); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #1a0d0c; }
.btn.gold:hover { background: var(--gold-light); }
.btn.wa { background: #1f8f4e; border-color: #1f8f4e; }
.btn.wa:hover { background: #18773f; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* ---------- Hero ---------- */
.hero { background: #0d0907; }
.hero img { width: 100%; max-height: 720px; object-fit: cover; object-position: left center; }
.intro { text-align: center; padding: 56px 0 8px; }
.intro p { max-width: 640px; margin: 0 auto 1em; color: var(--muted); }
.label { font: 600 clamp(15px, 2vw, 20px)/1.3 var(--label); letter-spacing: 3px; text-transform: uppercase; color: var(--brown-2); text-align: center; margin: 0 0 28px; }

/* ---------- Product grid ---------- */
.section { padding: 56px 0; }
.section.cream { background: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { text-align: center; }
.card a.media { display: block; overflow: hidden; background: var(--cream); aspect-ratio: 4 / 5; }
.card a.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover a.media img { transform: scale(1.04); }
.card h3 { margin: 18px 0 4px; font-size: 1.6rem; letter-spacing: 1px; }
.card h3 a { text-decoration: none; }
.card .tag { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.price { display: flex; gap: 10px; justify-content: center; align-items: baseline; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.price del { color: var(--sale); font-weight: 400; }
.price .save { font: 700 11px/1 var(--sans); letter-spacing: 1px; background: var(--sale); color: #fff; padding: 4px 6px; border-radius: 2px; align-self: center; }

/* ---------- Features strip ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.features div { padding: 8px; }
.features svg { width: 34px; height: 34px; stroke: var(--gold); fill: none; stroke-width: 1.4; margin: 0 auto 10px; }
.features strong { display: block; font: 500 13px/1.4 var(--btn); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); }
.features span { font-size: 14px; color: var(--muted); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.eyebrow { font: 600 12px/1.3 var(--label); letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; position: relative; font: 600 1.25rem/1.3 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 300 26px/1 var(--sans); color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); }

/* ---------- Product page ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 24px 0 56px; align-items: start; }
.gallery .main { background: var(--cream); aspect-ratio: 4/5; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--line); background: var(--cream); cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--brown); outline: 1px solid var(--brown); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info h1 { letter-spacing: 1px; margin-bottom: 4px; }
.info .size { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.info .price { justify-content: flex-start; font-size: 1.4rem; }
.notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; padding: 0; list-style: none; }
.notes li { border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: 13px; color: var(--text); background: var(--cream); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 20px 0 12px; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); height: 48px; }
.qty button { width: 40px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty input { width: 44px; border: 0; text-align: center; font: 700 16px var(--sans); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.perks { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.perks li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.perks li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }
.out { color: var(--sale); font-weight: 700; }

/* ---------- Cart ---------- */
.cart-page { padding: 32px 0 64px; }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cart-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-items li { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-items img { width: 88px; height: 110px; object-fit: cover; background: var(--cream); }
.cart-items h3 { font-size: 1.3rem; margin: 0 0 2px; }
.cart-items h3 a { text-decoration: none; }
.cart-items .meta { font-size: 14px; color: var(--muted); }
.cart-items .qty { height: 38px; margin-top: 8px; }
.cart-items .qty button { width: 34px; }
.cart-items .qty input { width: 36px; }
.line-total { font-weight: 700; color: var(--ink); text-align: right; }
.remove { display: block; background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; margin-top: 6px; padding: 0; }
.summary { background: var(--cream); padding: 24px; border-radius: var(--radius); position: sticky; top: 96px; }
.summary h2 { font-size: 1.6rem; }
.summary .row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.summary .small { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.summary .or { text-align: center; font-size: 13px; color: var(--muted); margin: 12px 0; }
.pay-icons { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pay-icons span { border: 1px solid var(--line); background: #fff; border-radius: 3px; font: 700 11px/1 var(--sans); padding: 5px 7px; color: var(--muted); }
.details { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.details h2 { grid-column: 1 / -1; font-size: 1.6rem; }
.field { margin-bottom: 14px; }
.field:nth-of-type(4) { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfc6ba; border-radius: var(--radius); padding: 11px 12px; font: 16px var(--sans); color: var(--ink); background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field .invalid { border-color: var(--sale); background: #fff6f6; }
@media (max-width: 520px) { .details { grid-template-columns: 1fr; } }
.empty { text-align: center; padding: 48px 0; }
.alert { background: #fff4e5; border: 1px solid #f0c27b; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; margin-top: 12px; }

/* ---------- Content pages ---------- */
.page { padding: 48px 0 72px; }
.page .narrow { max-width: 780px; margin: 0 auto; }
.page h2 { font-size: 1.6rem; margin-top: 1.4em; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.contact-cards a { display: block; text-decoration: none; border: 1px solid var(--line); padding: 24px; text-align: center; border-radius: var(--radius); transition: border-color .2s; }
.contact-cards a:hover { border-color: var(--gold); }
.contact-cards strong { display: block; font: 600 1.3rem var(--serif); color: var(--ink); margin-bottom: 4px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.mv div { background: var(--cream); padding: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--brown); color: #e9dfd6; padding: 56px 0 24px; font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer img { width: 96px; margin-bottom: 14px; }
.footer h2 { font: 600 12px/1.3 var(--label); letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-light); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .social { margin-top: 16px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- WhatsApp float & toast ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 60; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 6px; display: flex; gap: 16px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .3s; max-width: calc(100% - 32px); font-size: 15px; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--gold-light); font-weight: 700; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .product, .split, .cart-layout { grid-template-columns: 1fr; gap: 28px; }
  .summary { position: static; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; order: -1; margin-left: -8px; }
  .header .wrap { gap: 8px; min-height: 64px; }
  .logo { margin: 0 auto; }
  .logo img { width: 96px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; gap: 0; padding: 4px 16px 12px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.06); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header .btn { display: none; }
  .contact-cards, .mv { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .topbar .msg { font-size: 12px; }
  .footer .cols { grid-template-columns: 1fr; }
  .cart-items li { grid-template-columns: 72px 1fr; }
  .cart-items img { width: 72px; height: 90px; }
  .line-total { grid-column: 2; text-align: left; }
}
