/* =========================================================================
   VANORIL — Draft Site Stylesheet
   -------------------------------------------------------------------------
   EXPLORATORY PALETTE NOTE (do not remove):
   The colors below (warm off-white / ivory background, charcoal/ink text,
   one muted clay/stone accent) are an EXPLORATORY design direction chosen
   to express "restrained, minimal, international-style" principles drawn
   from the brief's study references (Aesop, Le Labo, Byredo, Maison Louis
   Marie, Minimalist). They are NOT a confirmed VANORIL brand spec.
   Any "ivory / stone / charcoal / frosted-bottle" styling here or anywhere
   else in this draft is PROVISIONAL and has not been confirmed against
   the brand knowledge base. Swap freely once a real brand palette exists.
   ========================================================================= */

:root {
  --color-bg: #faf7f2;          /* warm off-white / ivory — PROVISIONAL */
  --color-bg-alt: #f1ece3;      /* stone — PROVISIONAL */
  --color-text: #262321;        /* charcoal / ink — PROVISIONAL */
  --color-text-muted: #6b6560;
  --color-accent: #9c6b4f;      /* muted clay accent — PROVISIONAL */
  --color-border: #ddd5c9;
  --color-placeholder-bg: #e8e2d6;
  --color-banner-bg: #262321;
  --color-banner-text: #faf7f2;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, .placeholder-block { max-width: 100%; display: block; }

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Draft banner (every page) ---------- */
.draft-banner {
  background: var(--color-banner-bg);
  color: var(--color-banner-text);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}
.draft-banner strong { font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 16px;
}
.wordmark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { text-decoration: none; opacity: 0.8; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--color-text);
}

.main-nav {
  display: flex;
}
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--color-text);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--color-accent);
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 12px 0 4px;
  }
  .site-header .container { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.hero-bottle {
  width: 180px;
  height: 260px;
  margin: 0 auto 32px;
  background: linear-gradient(180deg, var(--color-placeholder-bg), var(--color-bg-alt));
  border: 1px solid var(--color-border);
  border-radius: 18px 18px 28px 28px;
  position: relative;
}
.hero-bottle::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 28px;
  background: var(--color-border);
  border-radius: 6px 6px 2px 2px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.03em;
  margin: 0 0 16px;
}
.hero .tagline {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Generic sections ---------- */
section { padding: 56px 0; }
section.alt-bg { background: var(--color-bg-alt); }
h2.section-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  margin-top: 0;
  margin-bottom: 8px;
}
.section-intro {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 0 32px;
}

/* ---------- Placeholder blocks (images) ---------- */
.placeholder-block {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: repeating-linear-gradient(
    45deg,
    var(--color-placeholder-bg),
    var(--color-placeholder-bg) 10px,
    var(--color-bg-alt) 10px,
    var(--color-bg-alt) 20px
  );
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding: 16px;
}

/* ---------- Product / catalog grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px 10px;
  width: fit-content;
}
.price-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust-strip .item { padding: 12px; }
.trust-strip h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.trust-strip p { margin: 0; color: var(--color-text-muted); font-size: 0.9rem; }

/* ---------- Forms ---------- */
.form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}
form.static-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 480px;
}
form.static-form input,
form.static-form textarea,
form.static-form select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
  flex: 1 1 100%;
}
form.static-form button,
.btn {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 20px;
  border: 1px solid var(--color-text);
  border-radius: 6px;
  background: var(--color-text);
  color: var(--color-bg);
  cursor: pointer;
}
form.static-form button:hover,
.btn:hover { opacity: 0.88; }

/* ---------- Format/size selector (PDP) ---------- */
.format-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.format-options label {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  background: #fff;
}
.format-options input { margin-right: 6px; }

.callout {
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--color-text);
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
}
.callout.warn { border-left-color: #a66a3c; }

/* ---------- Lists / FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding: 40px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.footer-grid h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  color: var(--color-text-muted);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--color-text); font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.footer-bottom strong { color: var(--color-text); }

/* ---------- Product Detail Page layout ---------- */
@media (min-width: 760px) {
  .pdp-grid {
    grid-template-columns: 360px 1fr !important;
  }
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
