/* ============================================
   VERDANT NEST — GLOBAL STYLESHEET
   v2 — Mobile Visual Refinement
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--sans); }
ul { list-style: none; }
input, textarea, select { font-family: var(--sans); }

/* ── CSS VARIABLES ── */
:root {
  --bg:       #F9F7F4;
  --bg2:      #EEF0EB;
  --bg3:      #E8E4DD;
  --ink:      #1A1A1A;
  --ink2:     #5A5A5A;
  --ink3:     #8A8A8A;
  --stone:    #B5A898;
  --olive:    #7A7A5A;
  --coal:     #2C2C2C;
  --border:   #E0DCD6;
  --white:    #F0EDE8;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --max-w: 1320px;
  --pad-x: 60px;
  --pad-section: 100px;

  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --ease-out: cubic-bezier(0, .55, .45, 1);

  --radius: 0px;
  --shadow: none;

  /* Chrome height tokens */
  --ann-h: 36px;
  --nav-h: 70px;
}

/* ── TYPOGRAPHY ── */
.serif   { font-family: var(--serif); }
.sans    { font-family: var(--sans); }
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.08; color: var(--coal); }
h1 { font-size: clamp(48px, 6vw, 90px); }
h2 { font-size: clamp(36px, 4vw, 62px); }
h3 { font-size: clamp(24px, 2.5vw, 36px); }
p  { font-size: 14px; line-height: 1.85; color: var(--ink2); font-weight: 300; }

/* ── LAYOUT ── */
.wrap    { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--pad-section) var(--pad-x); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

/* ── SECTION HEADER ── */
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-head .label { margin-bottom: 16px; display: block; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head p { max-width: 540px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 36px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .2s var(--ease), border-color .3s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--coal); color: var(--white); border: 1.5px solid var(--coal); }
.btn-primary:hover { background: var(--olive); border-color: var(--olive); }

.btn-secondary { background: transparent; color: var(--coal); border: 1.5px solid var(--coal); }
.btn-secondary:hover { background: var(--coal); color: var(--white); }

.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(240,237,232,.45); }
.btn-ghost:hover { border-color: var(--white); }

.btn-ghost-dark { background: transparent; color: rgba(240,237,232,.8); border: 1.5px solid rgba(240,237,232,.3); }
.btn-ghost-dark:hover { border-color: rgba(240,237,232,.75); }

.btn-white { background: var(--white); color: var(--coal); border: 1.5px solid var(--white); }
.btn-white:hover { background: #fff; border-color: #fff; }

.link-arrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--coal);
  border-bottom: 1px solid var(--coal);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.link-arrow:hover { color: var(--olive); border-color: var(--olive); }
.link-arrow-light { color: rgba(240,237,232,.75); border-color: rgba(240,237,232,.4); }
.link-arrow-light:hover { color: var(--white); border-color: var(--white); }

/* ══════════════════════════════════════════
   ANNOUNCEMENT BAR
   ══════════════════════════════════════════ */
.ann-bar {
  background: var(--coal);
  color: rgba(240,237,232,.80);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-align: center;
  height: var(--ann-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ann-bar a {
  color: rgba(240,237,232,.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(240,237,232,.28);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.ann-bar a:hover { color: #fff; border-color: rgba(240,237,232,.65); }
.ann-sep { margin: 0 10px; opacity: .38; }

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.nav {
  background: rgba(249,247,244,.97);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 28px rgba(0,0,0,.07); }

/* Brand lockup */
.nav-logo, .footer-logo { text-decoration: none; }
.brand-lockup { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: auto; height: auto; display: block; flex-shrink: 0; }
.nav-logo.brand-lockup .brand-mark { height: 40px; }
.footer-logo.brand-lockup .brand-mark { height: 50px; }
.brand-wordmark {
  font-family: var(--serif);
  color: var(--coal);
  line-height: .92;
  letter-spacing: .16em;
  font-weight: 300;
  white-space: nowrap;
  display: inline-block;
}
.nav-logo .brand-wordmark { font-size: 20px; }
.footer-logo .brand-wordmark { font-size: 24px; color: rgba(240,237,232,.82); }

/* Desktop links */
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink2); text-decoration: none; transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--olive); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--coal); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-actions a, .nav-actions button {
  font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink2); text-decoration: none; transition: color .2s; background: none; border: none;
}
.nav-actions a:hover, .nav-actions button:hover { color: var(--coal); }
.nav-cart { position: relative; }
.nav-cart-count {
  position: absolute; top: -6px; right: -10px;
  background: var(--coal); color: var(--white);
  font-size: 9px; width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 500;
}

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 24px; cursor: pointer; padding: 4px 0; }
.nav-toggle span { display: block; height: 1.5px; background: var(--coal); transition: all .3s var(--ease); }

/* Full-screen mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 300;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mobile-nav-brand .brand-mark { height: 30px; }
.mobile-nav-brand .brand-wordmark {
  font-family: var(--serif); font-size: 17px; letter-spacing: .13em; font-weight: 300; color: var(--coal);
}
.mobile-nav-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  font-size: 22px; font-weight: 300; color: var(--coal);
  cursor: pointer; background: none; border: none; line-height: 1;
}

.mobile-nav ul {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x); gap: 0; overflow-y: auto;
}
.mobile-nav ul li a {
  font-family: var(--serif);
  font-size: clamp(26px, 7.5vw, 38px);
  font-weight: 300;
  color: var(--coal);
  text-decoration: none;
  display: block;
  padding: 12px 0;
  line-height: 1.1;
  border-bottom: 1px solid var(--border);
  transition: color .2s, transform .25s var(--ease);
}
.mobile-nav ul li:first-child a { border-top: 1px solid var(--border); }
.mobile-nav ul li a:hover { color: var(--olive); transform: translateX(5px); }

.mobile-nav-foot {
  padding: 20px var(--pad-x) 32px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stone); display: flex; gap: 24px; flex-shrink: 0;
}
.mobile-nav-foot a { color: inherit; text-decoration: none; transition: color .2s; }
.mobile-nav-foot a:hover { color: var(--coal); }


/* ══════════════════════════════════════════
   MOBILE HEADER BAR
   Only active below 860px.
   Desktop: completely absent (display:none + no body padding).
   ══════════════════════════════════════════ */

/* Default: hidden on desktop — no height, no space */
.mob-header {
  display: none;
}

/* ── All mobile-header rules strictly inside this media query ── */
@media (max-width: 860px) {

  :root { --nav-h: 60px; }

  /* 1. Hide the desktop nav bar entirely */
  .nav-desktop {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
  }

  /* 2. Body offset — only on mobile */
  body {
    padding-top: var(--nav-h);
  }
  body.has-ann-bar {
    padding-top: calc(var(--nav-h) + var(--ann-h));
  }

  /* 3. Announcement bar: fixed on mobile */
  .ann-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 401;
  }

  /* 4. Mobile header bar */
  .mob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;           /* will be overridden to ann-h when ann-bar present */
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(249,247,244,.97);
    border-bottom: 1px solid var(--border);
    padding: 0 14px;
    z-index: 400;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow .3s;
  }
  body.has-ann-bar .mob-header {
    top: var(--ann-h);
  }
  .mob-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

  /* Hamburger */
  .mob-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
    flex-shrink: 0;
  }
  .mob-hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--coal);
    transition: all .28s var(--ease);
  }

  /* Logo — absolutely centered */
  .mob-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    pointer-events: auto;
  }
  .mob-logo .brand-mark   { height: 26px; width: auto; display: block; }
  .mob-logo .brand-wordmark {
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: .13em;
    font-weight: 300;
    color: var(--coal);
    white-space: nowrap;
  }

  /* Cart */
  .mob-cart {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 40px;
    height: 40px;
    position: relative;
    color: var(--coal);
    text-decoration: none;
    flex-shrink: 0;
  }
  .mob-cart svg { width: 19px; height: 19px; }
  .mob-cart .nav-cart-count { top: 2px; right: 0; }

}

/* ── Ensure mobile nav overlay is also hidden on desktop ── */
@media (min-width: 861px) {
  .mob-header   { display: none !important; }
  .mobile-nav   { display: none !important; }
}


/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer { background: #181816; padding: 72px var(--pad-x) 36px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }

/* Brand block */
.footer-brand { margin-bottom: 56px; }
.footer-logo { text-decoration: none; display: inline-block; margin-bottom: 16px; }
.footer-logo .brand-wordmark { font-size: 24px; color: rgba(240,237,232,.82); }
.footer-logo.brand-lockup .brand-mark { height: 50px; }
.footer-tagline { font-size: 13px; line-height: 1.8; color: rgba(240,237,232,.38); font-weight: 300; margin-bottom: 24px; max-width: 320px; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(240,237,232,.4); text-decoration: none; transition: color .2s; }
.footer-social a:hover { color: rgba(240,237,232,.8); }

/* Desktop: 3-column grid */
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }

/* Desktop col: button hidden, body always visible */
.footer-col-toggle { display: none; }
.footer-col-body { display: block; }

.footer-col h4,
.footer-col-toggle {
  font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(240,237,232,.3); margin-bottom: 20px;
}
.footer-col-body a {
  display: block; font-size: 13px; color: rgba(240,237,232,.48); text-decoration: none;
  margin-bottom: 10px; font-weight: 300; transition: color .2s;
}
.footer-col-body a:hover { color: rgba(240,237,232,.85); }

/* Desktop fallback h4 (in case WP nav menu renders it) */
.footer-col h4 { display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(240,237,232,.22); letter-spacing: .05em;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: rgba(240,237,232,.55); }

/* ── PRODUCT CARDS ── */
.prod-card { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.prod-card-img { overflow: hidden; margin-bottom: 18px; position: relative; }
.prod-card-img-inner { width: 100%; height: 100%; object-fit: cover; transition: transform .85s var(--ease); }
.prod-card:hover .prod-card-img-inner { transform: scale(1.04); }
.prod-tag { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 7px; }
.prod-name { font-family: var(--serif); font-size: 21px; font-weight: 400; color: var(--coal); line-height: 1.2; margin-bottom: 7px; }
.prod-price { font-size: 14px; color: var(--ink2); font-weight: 300; }

/* ── FORMS ── */
.form-group { margin-bottom: 28px; }
.form-group label { display: block; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink2); margin-bottom: 10px; font-weight: 500; }
.form-control { width: 100%; background: transparent; border: none; border-bottom: 1.5px solid var(--border); padding: 12px 0; font-family: var(--sans); font-size: 14px; color: var(--ink); outline: none; transition: border-color .3s; }
.form-control:focus { border-color: var(--coal); }
.form-control::placeholder { color: var(--stone); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B5A898' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }

/* ── PAGE HERO ── */
.page-hero { padding: 88px var(--pad-x) 72px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero .label { margin-bottom: 20px; display: block; }
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 20px; }
.page-hero p { font-size: 15px; max-width: 560px; }

/* ── FAQ ACCORDION ── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:first-child { border-top: 1px solid var(--border); }
.accordion-btn { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 15px; color: var(--coal); background: none; border: none; cursor: pointer; font-family: var(--sans); font-weight: 400; transition: color .2s; gap: 20px; }
.accordion-btn:hover { color: var(--olive); }
.accordion-icon { font-size: 24px; font-weight: 300; color: var(--stone); transition: transform .35s var(--ease); flex-shrink: 0; line-height: 1; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { font-size: 14px; line-height: 1.85; color: var(--ink2); font-weight: 300; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease); }
.accordion-item.open .accordion-body { max-height: 300px; padding-bottom: 22px; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ══════════════════════════════════════════
   RESPONSIVE — DESKTOP TWEAKS
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --pad-x: 40px; --pad-section: 80px; }
  .nav-links { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .brand-lockup { gap: 11px; }
  .nav-logo .brand-wordmark { font-size: 17px; letter-spacing: .13em; }
  .nav-logo.brand-lockup .brand-mark { height: 36px; }
}

@media (max-width: 860px) {
  :root { --pad-x: 24px; --pad-section: 64px; --ann-h: 34px; }
  /* Desktop nav hidden — mob-header takes over (see mob-header section) */
  .nav-links { display: none; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE FOOTER + GLOBAL
   ══════════════════════════════════════════ */
@media (max-width: 768px) {

  :root { --pad-x: 22px; --pad-section: 52px; --ann-h: 34px; }

  /* Typography */
  h2 { font-size: clamp(28px, 8vw, 42px); }
  p  { font-size: 13.5px; }

  /* Buttons */
  .btn { padding: 16px 28px; font-size: 11.5px; letter-spacing: .16em; }

  /* ── FOOTER MOBILE ── */
  .footer { padding: 40px var(--pad-x) 24px; }
  .footer-brand { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-logo .brand-wordmark { font-size: 19px; }
  .footer-logo.brand-lockup .brand-mark { height: 34px; }
  .footer-tagline { font-size: 12.5px; margin-bottom: 16px; max-width: 100%; }
  .footer-social { gap: 18px; }
  .footer-social a { font-size: 10.5px; }

  /* Footer cols: stack as accordion, remove grid */
  .footer-cols { display: block; margin-bottom: 28px; }

  /* Show toggle button, hide static h4 */
  .footer-col-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 14px 0;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(240,237,232,.42);
    cursor: pointer;
    font-family: var(--sans);
    transition: color .2s;
    margin-bottom: 0;
  }
  .footer-col-toggle:hover { color: rgba(240,237,232,.7); }
  .footer-col[data-accordion]:first-child .footer-col-toggle {
    border-top: 1px solid rgba(255,255,255,.07);
  }
  .footer-col-icon {
    font-size: 16px;
    font-weight: 300;
    color: rgba(240,237,232,.3);
    transition: transform .3s var(--ease);
    line-height: 1;
  }
  .footer-col.open .footer-col-icon { transform: rotate(45deg); }
  .footer-col h4 { display: none; } /* desktop h4 hidden on mobile */

  /* Accordion body */
  .footer-col-body {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), padding .3s;
    padding: 0;
  }
  .footer-col.open .footer-col-body {
    max-height: 320px;
    padding: 12px 0 8px;
  }
  .footer-col-body a {
    font-size: 13.5px;
    color: rgba(240,237,232,.52);
    margin-bottom: 12px;
    display: block;
  }

  /* Bottom bar */
  .footer-bottom {
    padding-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 10.5px;
    color: rgba(240,237,232,.22);
    border-top-color: rgba(255,255,255,.06);
  }
}
@media (max-width: 560px) {
  :root { --pad-x: 20px; --ann-h: 32px; --nav-h: 60px; }
  .ann-bar { font-size: 10px; letter-spacing: .10em; }
  /* mob-logo sizing on small phones */
  .mob-logo .brand-mark { height: 24px; }
  .mob-logo .brand-wordmark { font-size: 13px; }
}

@media (max-width: 400px) {
  .ann-bar .ann-link { display: none; }
  .ann-bar .ann-sep  { display: none; }
}
