/* ============================================================
   Esthemax theme: a single rose-based colour system.
   Loaded after each page's own styles, so it wins the cascade.

   Idea: pink lives in the base as tints, glows and hairlines,
   and only becomes saturated in a few deliberate places
   (buttons, the footer, the why-us cards, the contact panel).
   Every colour on the site resolves to one of these tokens.
   ============================================================ */
:root {
  /* base surfaces, lightest to deepest */
  --paper:  #FDFAFB;   /* page canvas: near-white with a whisper of rose */
  --cream:  #FAF3F6;   /* secondary canvas */
  --band:   #F6E9EE;   /* alternating section bands */
  --panel:  #F2E2E8;   /* product panels and cards */
  --line:   #EBD7DE;   /* hairlines and borders */

  /* text */
  --ink:    #2A2226;
  --soft:   #7A6A71;
  --muted:  #A8969E;

  /* brand */
  --pink:       #D6247A;   /* accent: buttons, active states, labels */
  --pink-deep:  #A61E60;   /* the one deep surface: footer, why-us, form */
  --pink-glow:  rgba(214, 36, 122, 0.10);

  /* aliases so every page's own variables map onto the system */
  --cream-2:      var(--band);
  --cream-deep:   var(--band);
  --ink-soft:     var(--soft);
  --gold:         var(--pink);
  --gold-2:       #E27AAB;
  --blush-band:   var(--band);
  --pink-premium: var(--pink-deep);
}

/* ============================================================
   CANVAS: soft pink glows bleeding in from the corners
   ============================================================ */
body,
.sheet {
  background:
    radial-gradient(70% 55% at 100% 0%,  var(--pink-glow) 0%, rgba(214,36,122,0) 65%),
    radial-gradient(60% 50% at 0% 100%,  rgba(214,36,122,0.07) 0%, rgba(214,36,122,0) 65%),
    var(--paper);
}
.sheet { box-shadow: 0 -20px 44px rgba(166, 30, 96, 0.06); }

/* alternating bands: every strip and tinted block sits on the blush band */
.strip,
.newsletter,
.specs,
.panel.tint,
.a-pdf,
.contact-card,
.post-card,
.cta-band,
.mobile-facts {
  background: var(--band);
}
.strip, .cta-band, .mobile-facts { border-color: var(--line); }

/* remove the old plaster texture: one clean tinted system instead */
.sheet:has(#shop),
#categories,
.page-hero {
  background-image: none;
}
.sheet:has(#shop)::before,
#categories::before,
.page-hero::before { display: none; }
#categories, .page-hero { background: transparent; }
.page-hero { border-bottom-color: var(--line); }

/* the one texture moment: the hydrojelly jar strip on the pink jelly */
.strip:has(.jelly-grid) {
  position: relative;
  background-image: url('banners/collection-story.jpg');
  background-size: cover;
  background-position: center;
}
.strip:has(.jelly-grid)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(253, 250, 251, 0.84);
  pointer-events: none;
}
.strip:has(.jelly-grid) > * { position: relative; z-index: 1; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header,
.site-head {
  background: rgba(253, 250, 251, 0.9);
  border-bottom: 1px solid var(--line);
}
.main-nav a:hover, .main-nav a.on { border-color: var(--pink); }
.hicon svg, .head-utils svg { stroke: var(--ink); }

/* ============================================================
   TYPE
   ============================================================ */
.sec-title,
.collection-hero h1,
.hh-copy h1,
h1.title,
.about-hero h1,
.contact-hero h1,
.info h1 {
  font-weight: 400;
  letter-spacing: 0.07em;
}
.eyebrow, .hh-eyebrow, .pc-tag, .code, .concerns { color: var(--pink); }

/* small, letterspaced product names */
.jelly-card h3, .pcard h3, .pcard h3 a, .rel-card h3,
.prod-meta h3, .prod-meta h3 a, .cat-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ============================================================
   PRODUCTS: rose panels, blended photos, quiet cards
   ============================================================ */
.jelly-media,
.prod-media,
.prod-media.is-pack,
.pcard .media,
.rel-card .rc-media,
.gallery {
  background: #fff;          /* white panels so the jars keep their true colour, no pink tint */
  border: none;
  border-radius: 12px;
}

.pcard { background: transparent; border: none; border-radius: 0; overflow: visible; }
.pcard:hover { transform: none; box-shadow: none; }
.pcard .media { transition: transform 0.35s ease; }
.pcard:hover .media { transform: translateY(-5px); }
.pcard .body { border-top: none; padding: 20px 4px 6px; }
.pcard .meta { border-top-color: var(--line); }

.rel-card { background: transparent; border: none; border-radius: 0; }
.rel-card:hover { transform: none; box-shadow: none; }
.rel-card .rc-media { margin: 0 0 6px; transition: transform 0.35s ease; }
.rel-card:hover .rc-media { transform: translateY(-5px); }
.rel-card span { border-color: var(--line); }
.rel-card:hover span { border-color: var(--pink); color: var(--pink); }

.cat-card {
  background: var(--panel);
  border: none;
  border-radius: 12px;
  backdrop-filter: none;
}
.cat-card:hover { box-shadow: 0 18px 34px rgba(166, 30, 96, 0.10); }
.cat-card span { border-bottom-color: var(--pink); }

.quick-add { border-color: var(--line); color: var(--soft); }
.quick-add:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.pill { border-color: transparent; }
.pill:hover { border-color: var(--pink); }
.pill.is-active, .pill.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.toolbar { border-bottom-color: var(--line); }

/* ============================================================
   BUTTONS AND LINKS
   ============================================================ */
.btn-dark, .news-form button, .btn-pink, .cat-card.feature .go {
  background: var(--pink);
  color: #fff;
}
.btn-dark:hover, .btn-pink:hover { box-shadow: 0 12px 26px rgba(214, 36, 122, 0.32); }
.text-link:hover, .dark-link:hover, .map-head a:hover { opacity: 1; color: var(--pink); border-color: var(--pink); }
.hh-link:hover { color: #fff; }
.btn-pink {
  display: inline-block;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-pink:hover { transform: translateY(-2px); }

/* ============================================================
   HERO FALLBACKS AND VEILS (rose-tinted, not beige)
   ============================================================ */
.home-hero, .shop-hero, .hero-stage { background: var(--band); }
.ritual .r-veil {
  background: linear-gradient(90deg, rgba(253,250,251,0.2) 0%, rgba(253,250,251,0.88) 55%, rgba(253,250,251,0.96) 100%);
}

.banner-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 46vh, 440px);
  display: flex;
  align-items: center;
  background: var(--band);
}
.banner-hero .bh-bg { position: absolute; inset: 0; }
.banner-hero .bh-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.banner-hero .bh-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(253,250,251,0.94) 0%, rgba(253,250,251,0.84) 36%, rgba(253,250,251,0.3) 66%, rgba(253,250,251,0) 100%);
}
.banner-hero .bh-in { position: relative; z-index: 2; max-width: 1560px; margin: 0 auto; width: 100%; padding: clamp(46px, 7vh, 78px) 40px; }
.banner-hero .bh-copy { max-width: 620px; }
.banner-hero h1 { margin-bottom: 18px; }
.banner-hero p { font-size: 16px; line-height: 1.75; color: var(--soft); max-width: 540px; }
@media (max-width: 820px) {
  .banner-hero { min-height: 0; }
  .banner-hero .bh-veil { background: linear-gradient(180deg, rgba(253,250,251,0.95) 0%, rgba(253,250,251,0.88) 60%, rgba(253,250,251,0.66) 100%); }
  .banner-hero .bh-in { padding: 46px 20px; }
}

/* ============================================================
   FAQ: blush band with rose rules
   ============================================================ */
.strip:has(#faq) { background: var(--band); }
section.faq {
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
}
.faq-item, .faq-q { border-color: var(--line); }
.faq-q .icon, .faq-q .icon::before, .faq-q .icon::after { background-color: var(--pink); }

/* ============================================================
   DEEP PINK SURFACES: why-us cards, contact form, footer
   ============================================================ */
.why-card {
  background: linear-gradient(160deg, #B5236A 0%, var(--pink-deep) 100%);
  border: none;
  border-radius: 14px;
}
.why-card svg { stroke: #fff; }
.why-card h3 { color: #fff; }
.why-card p { color: rgba(255, 255, 255, 0.82); }

.form-side {
  background: linear-gradient(160deg, #B5236A 0%, var(--pink-deep) 100%);
  border-radius: 16px;
  padding: clamp(30px, 4vw, 48px);
}
.form-side h2 { color: #fff; }
.form-side .form-note { color: rgba(255, 255, 255, 0.75); }
.form-side .field { margin-bottom: 20px; }
.form-side .field label { color: rgba(255, 255, 255, 0.72); font-size: 10px; letter-spacing: 0.2em; margin-bottom: 8px; }
.form-side .field input,
.form-side .field textarea,
.form-side #f-cc {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  padding: 13px 15px !important;
  outline: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.form-side .field textarea { min-height: 118px; resize: vertical; }
.form-side .field input::placeholder,
.form-side .field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.form-side .field input:focus,
.form-side .field textarea:focus,
.form-side #f-cc:focus { background: rgba(255, 255, 255, 0.18) !important; border-color: rgba(255, 255, 255, 0.7) !important; }
.form-side #f-cc { flex: 0 0 132px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-side #f-cc option { color: var(--ink); background: #fff; }
.form-side .btn-dark { background: #fff; color: var(--pink-deep); border-radius: 8px; padding: 15px 38px; margin-top: 6px; }
.form-side .btn-dark:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2); }
.form-side .sent-note { color: #fff; }

.site-footer, footer.footer { background: var(--pink-deep); border-top: none; }
.site-footer h5, footer.footer h6,
.site-footer a, footer.footer a,
.site-footer p, footer.footer p,
.site-footer li, footer.footer li,
.site-footer span, footer.footer span { color: #fff; }
.site-footer .footer-grid h5, footer.footer .footer-grid h6 { color: rgba(255, 255, 255, 0.6); }
.site-footer .footer-contact p,
.site-footer .footer-base p,
footer.footer .footer-bottom span,
footer.footer .footer-bottom a { color: #fff; }
.site-footer .footer-base, footer.footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.22); }
.site-footer img[src*="logo-esthemax"], footer.footer img[src*="logo-esthemax"] { filter: brightness(0) invert(1); }
@media (min-width: 901px) {
  .footer-grid { grid-template-columns: 1fr max-content max-content; column-gap: 68px; }
}

/* ============================================================
   CONTACT DETAILS + MAP
   ============================================================ */
.details .d-row { border-color: var(--line); }
.c-row svg { stroke: var(--pink); }
.map-wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px 110px; }
.map-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.map-head h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: 0.05em; }
.map-head a { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; white-space: nowrap; }
.map-frame { border-radius: 16px; overflow: hidden; line-height: 0; box-shadow: 0 14px 34px rgba(166, 30, 96, 0.10); }
.map-frame iframe { width: 100%; height: clamp(300px, 42vh, 420px); border: 0; display: block; }
@media (max-width: 900px) { .map-wrap { padding: 0 20px 80px; } }

/* ============================================================
   BLOG
   ============================================================ */
.post-card:hover { box-shadow: 0 22px 40px rgba(166, 30, 96, 0.12); }
.pc-tag { background: #fff; }
.a-pdf iframe { border-color: var(--line); }
.more-wrap { border-top-color: var(--line); }

/* ============================================================
   LEGACY COMPONENTS (kept for pages that still use them)
   ============================================================ */
.marquee { overflow: hidden; background: var(--pink); color: #fff; padding: 13px 0; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marq 30s linear infinite; }
.marquee-track span { font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; padding-right: 54px; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.cat-card.feature {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(150px, 240px) 1fr auto;
  align-items: center; text-align: left; gap: clamp(18px, 3.5vw, 44px);
  padding: clamp(20px, 3vw, 34px) clamp(22px, 3.5vw, 46px);
}
.cat-card.feature img { height: clamp(150px, 16vw, 210px); margin: 0; }
.cat-card.feature h3 { font-size: 15px; letter-spacing: 0.16em; }
.cat-card.feature p { font-size: 14px; max-width: 520px; }
.cat-card.feature .go { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; padding: 15px 30px; border-radius: 3px; border-bottom: none; white-space: nowrap; }
@media (max-width: 820px) {
  .cat-card.feature { grid-template-columns: 1fr; text-align: center; }
  .cat-card.feature img { margin: 0 auto; }
  .cat-card.feature p { max-width: none; }
  .cat-card.feature .go { justify-self: center; }
}

/* hero eyebrow sits on the dark video veil on desktop: use a light rose for contrast */
@media (min-width: 821px) { .hh-eyebrow { color: #F3A9C9; } }


/* ============================================================
   TYPOGRAPHY: Plus Jakarta Sans headings, Inter text, sentence case
   ============================================================ */
body, button, input, select, textarea { font-family: 'Inter', sans-serif; }

/* display: headings and big words (sentence case is applied by reveal.js) */
h1, h2, h3, h4, h5, h6,
.sec-title, .hero-h1, .pdrn-word {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500;
  text-transform: none !important;
  letter-spacing: -0.025em !important;
}
h1, h2, .sec-title { line-height: 1.08; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--pink); }
h3, h4, h5, h6, .fact h4, .pdrn-pt h4, .pdrn-chip.note h4 { font-weight: 600; letter-spacing: -0.01em !important; }
.fact h4, .pdrn-pt h4, .footer h6, .footer-grid h5 { font-size: 15px; }

/* small labels: tiny, tracked, uppercase, like the reference eyebrows */
.eyebrow, .hh-eyebrow, .lh-eyebrow, .k-eyebrow, .pc-tag, .pc-kind, .prod-type, .pcard .code, .cat-card span,
.spec .s-label, .details .d-label, .c-row .c-label, .field label, .panel .chip, .pdrn-cap span, .pdrn-chip.round span, .marquee-track span, .count-note {
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  font-size: 11px;
  font-weight: 500;
}
.eyebrow, .hh-eyebrow, .lh-eyebrow, .k-eyebrow { font-size: 11.5px; }

/* nav, buttons and links: sentence case, normal tracking */
.main-nav a, .region, .crumbs, .back-link,
.btn-dark, .btn-light, .btn-pink, .cat-card.feature .go, .newsletter-form button,
.text-link, .dark-link, .hh-link, .lh-link, .prod-link, .map-head a, .head-utils a, .pc-more, .pcard .view,
.pill, .toolbar-count, .toolbar-utils span,
.pcard .concerns, .jelly-card p, .rel-card p, .rel-card span,
.info .subtitle, .spec .s-val, .b-row p, .acc-q {
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.main-nav a { font-size: 14.5px; font-weight: 500; }
.region { font-size: 12.5px; }
.btn-dark, .btn-light, .btn-pink, .cat-card.feature .go { font-size: 14px !important; font-weight: 500; border-radius: 999px; padding: 15px 30px; }
.text-link, .dark-link, .hh-link, .lh-link, .prod-link, .map-head a, .pc-more, .pcard .view { font-size: 14px; font-weight: 500; }
.pill { font-size: 13.5px; }
.pcard .concerns, .jelly-card p, .rel-card p, .rel-card span { font-size: 13px; }

/* product names stay as written on the jar */
.jelly-card h3, .prod-meta h3, .prod-meta h3 a, .pcard h3, .pcard h3 a, .rel-card h3, .cat-card h3,
.panel .k-name, .info h1 {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}
.jelly-card h3, .prod-meta h3, .prod-meta h3 a, .pcard h3, .pcard h3 a, .rel-card h3, .cat-card h3 { font-size: 15.5px; font-weight: 600; }

/* category cards: whitish, turning Esthemax pink on hover */
.cat-card:not(.feature) {
  background: #FFFCFD !important;
  border: 1px solid var(--line) !important;
  color: var(--ink);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.cat-card:not(.feature) h3 { color: var(--ink); transition: color 0.35s ease; }
.cat-card:not(.feature) p { color: var(--soft); transition: color 0.35s ease; }
.cat-card:not(.feature) span { color: #E2007E; border-bottom-color: #E2007E; transition: color 0.35s ease, border-color 0.35s ease; }
.cat-card:not(.feature):hover { background: #E2007E !important; border-color: #E2007E !important; box-shadow: 0 18px 34px rgba(166, 30, 96, 0.22); }
.cat-card:not(.feature):hover h3, .cat-card:not(.feature):hover p { color: #fff; }
.cat-card:not(.feature):hover span { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.7); }


/* ============================================================
   ALL CARDS: whitish with a thin rose border, Esthemax pink on hover
   (same treatment as the category cards)
   ============================================================ */
.jelly-card, .pcard, .prod, .rel-card, .why-card, .post-card {
  background: #FFFCFD !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  overflow: hidden;
  text-align: center;
  color: var(--ink);
  box-shadow: none;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.jelly-card, .pcard, .prod, .rel-card { padding: 22px 22px 26px; }
.why-card { padding: 44px 34px; background: #FFFCFD !important; }
.why-card svg { stroke: #E2007E; }
.why-card h3 { color: var(--ink); }
.why-card p { color: var(--soft); }
.post-card { padding: 0; text-align: left; }
.post-card .pc-body, .post-card .pc-in { padding: 22px; }

/* photo panels inside stay white */
.jelly-media, .prod-media, .prod-media.is-pack, .pcard .media, .rel-card .rc-media { background: #fff; border-radius: 12px; }
.pcard .media { margin: 0; }
.pcard .body { padding: 20px 0 0; text-align: center; }
.pcard .meta { justify-content: center; }
.pcard:hover .media, .rel-card:hover .rc-media { transform: none; }
.prod-meta { text-align: center; }
.rel-card .rc-media { margin: 0 0 18px; }

/* text and links */
.jelly-card h3, .pcard h3, .pcard h3 a, .prod-meta h3, .prod-meta h3 a, .rel-card h3, .post-card h3 { color: var(--ink); transition: color 0.35s ease; }
.jelly-card p, .pcard .desc, .pcard .concerns, .pcard .code, .pcard .meta, .prod-tags, .rel-card p, .post-card p, .post-card .pc-date { color: var(--soft); transition: color 0.35s ease; }
.pcard .view, .prod-link, .rel-card span, .pc-more { color: #E2007E; border-color: #E2007E; transition: color 0.35s ease, border-color 0.35s ease; }

/* hover: fills Esthemax pink */
.jelly-card:hover, .pcard:hover, .prod:hover, .rel-card:hover, .why-card:hover, .post-card:hover {
  background: #E2007E !important;
  border-color: #E2007E !important;
  transform: none;
  box-shadow: 0 18px 34px rgba(166, 30, 96, 0.22);
}
.jelly-card:hover h3, .pcard:hover h3, .pcard:hover h3 a, .prod:hover .prod-meta h3, .prod:hover .prod-meta h3 a, .rel-card:hover h3, .why-card:hover h3, .post-card:hover h3,
.jelly-card:hover p, .pcard:hover .desc, .pcard:hover .concerns, .pcard:hover .code, .pcard:hover .meta, .pcard:hover .meta *, .prod:hover .prod-tags, .rel-card:hover p, .why-card:hover p, .post-card:hover p, .post-card:hover .pc-date, .post-card:hover .pc-tag, .post-card:hover .pc-kind {
  color: #fff;
}
.why-card:hover svg { stroke: #fff; }
.pcard:hover .view, .prod:hover .prod-link, .rel-card:hover span, .post-card:hover .pc-more { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.pcard .view { display: inline-block; margin: 14px auto 0; }


/* floating WhatsApp button: a round green badge, bottom right */
.wa-btn { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 64px; height: 64px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.wa-btn svg { width: 36px; height: 36px; }
.wa-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25); color: #fff; }
@media (max-width: 820px) { .wa-btn { right: 18px; bottom: 18px; width: 58px; height: 58px; } .wa-btn svg { width: 32px; height: 32px; } }

/* page headers: the first line in Esthemax pink, like the PDRN words */
h1 em { font-style: normal; color: #E2007E; }
