/* ==========================================================
   Her Essential - site styles
   Palette: plum #51243A, blush #F8E8EC, cream #FFF9F4,
            charcoal #292529, muted gold #C5A36A (accent lines only)
   Type: Playfair Display (headings), Poppins (body)
   Mobile-first: base styles are for phones, min-width queries add layout.
   ========================================================== */
:root {
  --plum: #51243A;
  --plum-deep: #3D1A2C;
  --blush: #F8E8EC;
  --blush-deep: #EFD3DB;
  --cream: #FFF9F4;
  --charcoal: #292529;
  --gold: #C5A36A;
  --wa: #0E7C46;
  --wa-hover: #0A6538;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 1.25rem;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--plum);
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.25rem, 8vw, 3.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 62ch; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--cream); color: var(--plum); padding: .6rem 1rem; z-index: 50; }

/* ---------- Header ---------- */
.site-header { background: var(--cream); border-bottom: 1px solid var(--blush-deep); position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: .75rem; padding-bottom: .75rem; }

/* Wordmark: text only, with a fine gold rule beneath */
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--plum);
  text-decoration: none;
  letter-spacing: .01em;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--gold);
  line-height: 1.2;
}
.brand:hover { color: var(--plum-deep); }

.nav-toggle {
  font: 500 .9rem var(--sans);
  color: var(--plum);
  background: transparent;
  border: 1px solid var(--plum);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  cursor: pointer;
}
.site-nav { display: none; width: 100%; padding-top: .5rem; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .8rem .25rem; color: var(--charcoal); text-decoration: none;
  border-bottom: 1px solid var(--blush); font-weight: 500;
}
.site-nav a:hover { color: var(--plum); }
.site-nav a[aria-current="page"] { color: var(--plum); font-weight: 600; border-bottom-color: var(--gold); }

/* ---------- Sections ---------- */
main section { padding: 3rem 0; }
.band { background: var(--blush); }

/* ---------- Hero ---------- */
.hero { padding: 2.5rem 0 3rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero p.lead { font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* The arch: used as the frame for photos, a nod to boutique shop windows */
.arch {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 12px 12px;
  background: var(--blush);
  border: 1px solid var(--blush-deep);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--plum); font-size: .9rem; padding: 1.5rem;
  overflow: hidden;
}
.hero .arch { max-width: 340px; width: 100%; margin: 0 auto; border: 2px solid var(--gold); outline: 8px solid var(--blush); }

.arch.has-photo { padding: 0; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

/* ---------- Shop filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; padding-bottom: 1rem; }
.filters[hidden] { display: none; }
.chip {
  font: 500 .85rem var(--sans); color: var(--plum); background: transparent;
  border: 1px solid var(--plum); border-radius: 999px; padding: .4rem 1rem; cursor: pointer;
}
.chip:hover { background: var(--blush); }
.chip[aria-pressed="true"] { background: var(--plum); color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: 500 .95rem var(--sans); text-decoration: none; text-align: center;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--plum);
  color: var(--plum); background: transparent; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--plum); color: var(--cream); }
.btn-primary { background: var(--plum); color: var(--cream); }
.btn-primary:hover { background: var(--plum-deep); border-color: var(--plum-deep); color: var(--cream); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); color: #fff; }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--blush-deep); border-top: 3px solid var(--gold); border-radius: 4px 4px 14px 14px; padding: 1.5rem; }
.card h3, .card h2 { font-size: 1.3rem; margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.product-card { padding: 0; overflow: hidden; border-top-width: 1px; }
.product-card .body { padding: 1.25rem 1.5rem 1.5rem; }
.product-card .img-placeholder { border-radius: 0; aspect-ratio: 4/3; }
.product-card .btn { width: 100%; margin-top: .5rem; }

/* Product photos: transparent cut-outs sit on blush; full photos fill the frame (.cover) */
.photo { aspect-ratio: 4 / 3; background: var(--blush); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; }
.photo.cover img { object-fit: cover; object-position: 50% 62%; padding: 0; }
.section-cta { margin: 1.75rem 0 0; }

.img-placeholder {
  background: var(--blush); color: var(--plum); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .85rem; padding: 1rem;
}
.gallery .img-placeholder { border-radius: 4px; border: 1px solid var(--blush-deep); }

.section-head { margin-bottom: 1.75rem; }
.section-head p { color: #5b4f56; }

/* Unconfirmed information stays visibly marked */
.placeholder { background: #FFF3CD; outline: 1px dashed #B58900; outline-offset: 1px; padding: 0 .3rem; border-radius: 2px; color: #4a3a00; }

/* ---------- FAQ and text pages ---------- */
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose h2:first-of-type { margin-top: 0; }
.page-title { padding: 2.5rem 0 1rem; }
.page-title h1 { margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: .75rem 0; border-bottom: 1px solid var(--blush-deep); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list a { display: inline-block; padding: .2rem 0; }

/* ---------- Floating WhatsApp button (every page) ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  background: var(--wa); color: #fff; font: 600 .95rem var(--sans); text-decoration: none;
  padding: .85rem 1.25rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(41, 37, 41, .3);
}
.wa-float:hover { background: var(--wa-hover); color: #fff; }
.wa-float:focus-visible { outline-color: var(--charcoal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: var(--blush); padding: 3rem 0 6rem; font-size: .92rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 1.75rem; }
.site-footer :focus-visible { outline-color: var(--cream); }
.footer-heading { font-family: var(--serif); font-weight: 600; color: var(--cream); font-size: 1.05rem; margin: 0 0 .4rem; }
.footer-links a, .social-links a { display: inline-block; padding: .3rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer-brand { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--cream); margin: 0 0 .25rem; }
.footer-links, .social-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-note { font-size: .8rem; opacity: .8; margin-top: 1.5rem; border-top: 1px solid rgba(248, 232, 236, .25); padding-top: 1rem; max-width: none; }

/* ---------- Tablet and up ---------- */
@media (min-width: 768px) {
  :root { --gutter: 2rem; }
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; padding: 0; }
  .site-nav ul { display: flex; gap: 1.75rem; }
  .site-nav a { border-bottom: 2px solid transparent; padding: .35rem 0; }
  .site-nav a:hover { border-bottom-color: var(--blush-deep); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  main section { padding: 4.5rem 0; }
  .hero { padding: 4rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
