/* Skin Harmonics — public site theme. Calm, beauty-brand palette: warm
   off-white, soft sage neutrals, brown accent — close in feel to the
   live site without copying its proprietary assets. */
:root {
  --ink: #2a2a2a;
  --paper: #fbf8f3;
  --paper-alt: #f3ede0;
  --accent: #b58a5a;        /* warm tan — matches skinharmonics.com headings */
  --accent-dark: #8a6a3e;
  --accent-soft: #e9dfc9;
  --muted: #6b6b6b;
  --border: #e6e0d3;
  --warn-bg: #fbf3e7; --warn-bd: #ecd9b0;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --heading-font: "Cormorant Garamond", "Playfair Display", Georgia, "Iowan Old Style", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px;
}
img { max-width: 100%; height: auto; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.site-header { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 100; }
.site-header .nav { display: flex; align-items: center; padding: 14px 24px; gap: 24px; flex-wrap: nowrap; max-width: 1380px; margin: 0 auto; min-width: 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand img { display: block; height: 42px; width: auto; max-width: 200px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }
nav.primary { display: flex; gap: 22px; flex: 1 1 auto; justify-content: center; align-items: center; }
nav.primary > a, nav.primary .has-sub > a { color: var(--ink); text-decoration: none; font-size: 12px; padding: 6px 0; letter-spacing: .12em; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
nav.primary > a:hover, nav.primary .has-sub > a:hover { color: var(--accent-dark); }
nav.primary .caret { font-size: 10px; opacity: .7; margin-left: 2px; display: inline-block; transition: transform .2s; }
nav.primary .sub-toggle { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px 4px; line-height: 1; display: inline-flex; align-items: center; }
nav.primary .has-sub.open > .sub-toggle .caret { transform: rotate(180deg); }
nav.primary .has-sub { position: relative; }
nav.primary .submenu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--border); padding: 10px 0; border-radius: 4px; min-width: 240px; box-shadow: 0 6px 24px rgba(0,0,0,.08); z-index: 60; }
nav.primary .submenu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
nav.primary .submenu a { display: block; padding: 9px 20px; font-size: 13px; text-transform: none; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
nav.primary .submenu a:hover { background: var(--paper); color: var(--accent-dark); }
nav.primary .has-sub:hover .submenu, nav.primary .has-sub:focus-within .submenu { display: block; }
nav.account { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
nav.account a { color: var(--ink); text-decoration: none; font-size: 14px; }
nav.account a:hover { color: var(--accent-dark); }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); transition: background .15s, color .15s; position: relative; }
.icon-link:hover { background: var(--paper); color: var(--accent-dark); }
.icon-link svg { display: block; }
.btn-shopnow { padding: 9px 22px; font-size: 12px; letter-spacing: .14em; margin-right: 4px; }
.cart-link .cart-count { position: absolute; top: -2px; right: -4px; background: var(--accent); color: #fff; border-radius: 999px; font-size: 10px; padding: 1px 6px; min-width: 18px; text-align: center; line-height: 1.4; }
button.linklike { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 0 0 0 4px; font: inherit; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
button.linklike:hover { color: var(--accent-dark); }
@media (max-width: 1100px) { nav.primary { gap: 14px; } nav.primary > a, nav.primary .has-sub > a { font-size: 11px; letter-spacing: .08em; } }

/* ---- Buttons ---- */
.btn { display: inline-block; padding: 11px 22px; border-radius: 999px; text-decoration: none;
  font-size: 14px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; border: 1px solid transparent; font-family: inherit; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
nav.account a.btn-primary:hover, nav.account a.btn-shopnow:hover { color: #fff; }
.btn-primary[disabled] { background: #b9aa8e; cursor: not-allowed; }
.btn-ghost { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-small { padding: 7px 16px; font-size: 12px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-danger { background: #a23939; color: #fff; }

/* ---- Page head ---- */
.page-head { padding: 40px 0 24px; text-align: center; }
.page-head h1 { font-size: 38px; font-weight: 400; margin: 0 0 8px; letter-spacing: .01em; }
.page-head p { margin: 0; }

/* ---- Hero ---- */
.hero { padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: 48px; margin: 0 0 16px; font-weight: normal; letter-spacing: .01em; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 12px; justify-content: center; }

/* ---- Product grid + cards ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; margin: 24px 0 48px; }
.product-card { text-decoration: none; color: var(--ink); display: block; position: relative; }
.product-card img, .img-placeholder { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--accent-soft); border-radius: 6px; margin-bottom: 12px; }
.img-placeholder.small { width: 64px; height: 64px; }
.product-card h3 { font-size: 16px; margin: 0 0 4px; font-weight: 400; }
.product-card .price { color: var(--accent-dark); margin: 0; font-size: 15px; }
.product-card-cat { margin: 6px 0 0; font-size: 14px; color: var(--muted, #8a8275); }
.shop-page .product-card { text-align: center; }
.shop-page .product-card h3 { font-size: 17px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
.badge-muted { background: #b9aa8e; }
.badge-accent { background: var(--accent-dark); }

/* ---- Shop toolbar ---- */
.shop-toolbar { display: flex; gap: 16px; align-items: end; margin: 16px 0 24px; flex-wrap: wrap; }
.shop-toolbar label { font-size: 13px; color: var(--muted); }
.shop-toolbar select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; font: inherit; min-width: 200px; }

/* ---- Product detail ---- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 32px 0; }
.product-detail .gallery-main { width: 100%; border-radius: 8px; background: var(--accent-soft); }
.product-detail .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.product-detail .thumbs img { border-radius: 4px; cursor: pointer; }
.product-detail h1 { font-size: 34px; font-weight: 400; margin: 0 0 8px; }
.price-large { font-size: 28px; color: var(--accent-dark); margin: 8px 0 24px; }
.price-strike { color: var(--muted); text-decoration: line-through; font-size: 18px; margin-left: 8px; }
.product-detail .short { font-size: 17px; margin-bottom: 16px; }
.product-detail .description { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 24px; line-height: 1.7; }
.gate-notice { background: var(--warn-bg); border: 1px solid var(--warn-bd); padding: 12px 14px; border-radius: 6px; margin: 12px 0; font-size: 14px; }
.add-form { display: flex; gap: 12px; align-items: end; margin: 16px 0; }
.add-form label { font-size: 13px; color: var(--muted); display: block; }
.add-form input { padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; width: 80px; font: inherit; }
.related { margin: 48px 0; }

/* ---- Forms ---- */
.form label, fieldset label { display: block; margin: 12px 0 6px; font-size: 13px; color: var(--muted); }
.form input, fieldset input, fieldset select, fieldset textarea { display: block; width: 100%; padding: 10px 12px; font: inherit; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.form .row, fieldset .row { display: flex; gap: 12px; }
.form .row label, fieldset .row label { flex: 1; }
.form .hint, .hint { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.form button { margin-top: 16px; }
fieldset { border: 1px solid var(--border); border-radius: 8px; padding: 16px 20px; margin: 16px 0; background: #fff; }
fieldset legend { padding: 0 8px; color: var(--muted); font-size: 13px; }

.auth-page { max-width: 460px; margin: 60px auto; padding: 36px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.auth-page h1 { margin-top: 0; font-weight: 400; }

/* ---- Cart ---- */
.cart-page { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; margin: 40px 0; }
.cart-page > h1 { grid-column: 1 / -1; font-weight: 400; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.cart-table th, .cart-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.cart-table th { background: var(--paper-alt); text-align: left; font-weight: 500; }
.cart-table .thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.cart-table input[type=number] { width: 72px; padding: 7px 8px; border: 1px solid var(--border); border-radius: 6px; }
.cart-table .num, td.num, th.num { text-align: right; }
.cart-table tr.line-warn { background: var(--warn-bg); }
.cart-actions { margin: 12px 0; }
.cart-totals { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; box-shadow: var(--shadow); }
.cart-totals div { display: flex; justify-content: space-between; margin: 8px 0; }
.cart-totals .grand { font-size: 18px; font-weight: 500; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.cart-totals .btn { margin: 12px 0; }

/* ---- Checkout ---- */
.checkout-page { margin: 32px 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-summary { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.summary-items { list-style: none; padding: 0; margin: 0 0 12px; }
.summary-items li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.summary-line { display: flex; justify-content: space-between; margin: 8px 0; }
.summary-line.grand { border-top: 1px solid var(--border); padding-top: 10px; font-weight: 500; font-size: 17px; }
.stripe-placeholder { padding: 24px; border: 1px dashed var(--border); border-radius: 8px; text-align: center; background: var(--paper-alt); }

/* ---- Account ---- */
.account-page { padding: 24px 0; }
.tier-badge { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tier-1 { background: var(--accent-soft); color: var(--accent-dark); }
.tier-2 { background: var(--accent-dark); color: #fff; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 16px 0 32px; }
.dashboard-grid .card { background: #fff; padding: 20px; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.dashboard-grid .card h2 { margin: 0 0 8px; font-size: 16px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
table.orders { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
table.orders th, table.orders td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
table.orders th { background: var(--paper-alt); font-weight: 500; }

/* ---- Order confirmation ---- */
.order-confirmation { margin: 32px 0; }
.order-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }

/* ---- Blog ---- */
.blog-index { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.blog-index .post-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.blog-sidebar h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 8px; }
.blog-sidebar .taxlist { list-style: none; padding: 0; margin: 0 0 24px; }
.blog-sidebar .taxlist li { padding: 4px 0; }
.blog-sidebar a { color: var(--ink); text-decoration: none; }
.blog-sidebar a:hover { color: var(--accent-dark); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a { background: var(--paper-alt); padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 0 0 24px; }
.post-card { text-decoration: none; color: var(--ink); background: #fff; padding: 16px; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 4px; margin-bottom: 12px; }
.post-card h3 { margin: 4px 0 6px; font-size: 17px; font-weight: 400; }
.post-card .post-meta { font-size: 12px; margin: 0 0 8px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 48px 0 16px; font-family: 'Poppins', sans-serif; }
.pagination a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: transparent; border: 1.5px solid #c1995c; color: #c1995c; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.pagination a:hover { background: #c1995c; color: #fff; transform: translateY(-1px); }
.pagination .muted { color: #6b5e4d; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 480px) { .pagination { gap: 10px; flex-wrap: wrap; } .pagination a { padding: 10px 18px; font-size: 12px; } }

.blog-post { max-width: 720px; margin: 32px auto; }
.blog-post h1 { font-weight: 400; }
.blog-post .hero-img { width: 100%; border-radius: 8px; margin: 16px 0; }
.blog-post .content { line-height: 1.7; font-size: 17px; }
.blog-post .content img { max-width: 100%; height: auto; }

/* ---- Flash ---- */
.flash { padding: 12px 16px; border-radius: 6px; margin: 16px 0; }
.flash-success { background: #e6f3ea; color: #1f5132; border: 1px solid #b6dcc1; }
.flash-error { background: #fbe7e7; color: #7a1f1f; border: 1px solid #ecbaba; }
.flash ul { margin: 6px 0 0 18px; }

/* ---- Footer ---- */
.site-footer { margin-top: 80px; background: #1f1a14; color: #e8ddc8; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 0.9fr 1.4fr;
  gap: 48px;
  padding: 72px 20px 56px;
}
.footer-col h3.footer-h {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; font-weight: 500; letter-spacing: .01em;
  color: #d4b07a; margin: 0 0 16px;
}
.footer-col h3.footer-h-social { margin-top: 28px; }
.footer-sub { color: #c9bfa8; font-size: 14px; margin: 0 0 12px; }
.footer-tag { color: #c9bfa8; font-size: 14px; line-height: 1.65; margin: 14px 0 20px; max-width: 320px; }
.footer-logo img { display: block; filter: brightness(0) invert(1); opacity: .95; }
.footer-seal { display: block; margin-top: 8px; height: 42px; width: auto; }
.footer-form { display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.footer-form input[type=email] {
  background: #2b241b; border: 1px solid #3d3326; color: #f3ecd9;
  padding: 12px 14px; border-radius: 999px; font: inherit; outline: none;
}
.footer-form input[type=email]::placeholder { color: #8a7f6a; }
.footer-form input[type=email]:focus { border-color: #d4b07a; }
.footer-form .btn { align-self: flex-start; padding: 10px 26px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #1f1a14; background: #d4b07a; transition: background .2s;
}
.footer-social a:hover { background: #e8c896; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-menu a { color: #e8ddc8; text-decoration: none; font-size: 15px; }
.footer-menu a:hover { color: #d4b07a; }
.footer-post { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #2e2820; color: #e8ddc8; text-decoration: none; }
.footer-post:first-of-type { border-top: none; padding-top: 0; }
.footer-post img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex: 0 0 64px; }
.footer-post-body { display: flex; flex-direction: column; gap: 4px; }
.footer-post-title { font-size: 14px; line-height: 1.4; color: #f3ecd9; }
.footer-post-date { font-size: 12px; color: #8a7f6a; }
.footer-post:hover .footer-post-title { color: #d4b07a; }
.footer-viewall { display: inline-block; margin-top: 14px; color: #d4b07a; text-decoration: none; font-size: 14px; border-bottom: 1px solid #d4b07a; padding-bottom: 2px; }
.footer-viewall:hover { color: #e8c896; border-color: #e8c896; }
.footer-bottom { border-top: 1px solid #2e2820; background: #18140f; padding: 18px 20px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .copyright { margin: 0; color: #8a7f6a; font-size: 13px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: #8a7f6a; text-decoration: none; font-size: 13px; }
.footer-legal a:hover { color: #d4b07a; }
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 20px 40px; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}
.copyright { font-size: 14px; margin: 0; color: var(--muted); }

.muted { color: var(--muted); font-size: 14px; }

/* ---- Page-builder public widget classes ---- */
.pb-hero { padding: 60px 24px; text-align: center; background: var(--paper-alt); border-radius: 8px; margin: 24px 0; }
.pb-hero h1 { font-size: 42px; font-weight: 400; margin: 0 0 12px; }
.pb-hero p { font-size: 18px; color: var(--muted); margin: 0 auto 20px; max-width: 600px; }
.pb-section { margin: 32px 0; }
.pb-section .pb-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.pb-col { grid-column: span var(--pb-col-width, 12); }
.pb-text { line-height: 1.7; }
.pb-text :first-child { margin-top: 0; }
.pb-image img { border-radius: 6px; }
.pb-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pb-button { display: inline-block; }
.pb-cta { background: var(--accent-soft); padding: 40px 24px; text-align: center; border-radius: 8px; margin: 24px 0; }
.pb-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 24px 0; }
.pb-pricing .tier { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; text-align: center; box-shadow: var(--shadow); }
.pb-pricing .tier h3 { margin: 0 0 8px; font-weight: 400; }
.pb-pricing .tier .price { font-size: 28px; color: var(--accent-dark); margin: 8px 0 16px; }
.pb-testimonial { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; text-align: center; box-shadow: var(--shadow); }
.pb-testimonial blockquote { font-style: italic; margin: 0 0 12px; font-size: 18px; }
.pb-testimonial cite { color: var(--muted); font-style: normal; font-size: 14px; }
.pb-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; }
.pb-spacer { height: 40px; }
.pb-divider { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.pb-product-grid, .pb-blog-grid { /* reuse .product-grid / .post-grid styles */ }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .nav-toggle { display: block; order: 4; margin-left: 0; flex: 0 0 auto; }
  nav.account { order: 3; flex: 0 0 auto; margin-left: auto; }
  .brand { order: 1; }
  nav.primary {
    display: none; order: 5; flex: 1 0 100%; flex-direction: column;
    gap: 0; align-items: stretch; padding: 8px 0 12px;
  }
  nav.primary.open { display: flex; }
  nav.primary a, nav.primary .has-sub > a { padding: 10px 4px; border-bottom: 1px solid var(--border); }
  /* Accordion: label + caret share one row; the submenu stays collapsed until
     the caret toggle is tapped (adds .open to the .has-sub group). */
  nav.primary .has-sub { position: static; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--border); }
  nav.primary .has-sub > a { flex: 1 1 auto; border-bottom: 0; }
  nav.primary .has-sub > .sub-toggle { flex: 0 0 auto; padding: 10px 10px; }
  nav.primary .submenu {
    flex: 0 0 100%; width: 100%; position: static; display: none; border: 0; box-shadow: none;
    padding: 0 0 6px 14px; background: transparent; min-width: 0; left: auto; transform: none;
  }
  nav.primary .has-sub.open .submenu { display: block; }
  nav.primary .submenu a { padding: 8px 4px; font-size: 13px; border-bottom: 1px dashed var(--border); }
  .site-header .nav { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  /* Header is not sticky on mobile: it scrolls away with the page. */
  .site-header { position: static; top: auto; }
  .brand img { height: 36px; }
}
@media (max-width: 640px) {
  .site-header .nav { gap: 6px; padding: 8px 10px; }
  .brand img { height: 28px; max-width: 120px; }
  .btn-shopnow { padding: 7px 12px; font-size: 10px; letter-spacing: .06em; margin-right: 0; }
  nav.account { gap: 4px; }
  .icon-link { width: 30px; height: 30px; }
  .icon-link svg { width: 18px; height: 18px; }
  .nav-toggle { padding: 4px; }
  .nav-toggle span { width: 20px; }
}
@media (max-width: 380px) {
  .brand img { max-width: 96px; height: 24px; }
  .btn-shopnow { padding: 6px 9px; font-size: 9.5px; letter-spacing: .04em; }
  .icon-link { width: 26px; height: 26px; }
  .icon-link svg { width: 16px; height: 16px; }
}
/* Account + cart must always be visible regardless of viewport. */
nav.account, .icon-link, .btn-shopnow { display: inline-flex !important; }

@media (max-width: 900px) {
  .product-detail, .cart-page, .checkout-grid, .order-grid, .blog-layout {
    grid-template-columns: 1fr;
  }
  .page-head h1, .hero h1 { font-size: 32px; }
  .page-head { padding: 20px 0 12px; }
  .hero { padding: 28px 0 24px; }
  .site-footer { margin-top: 32px; }
  .footer-grid { padding: 36px 16px 28px !important; gap: 28px !important; }
  .footer-seal { max-width: 100%; height: auto; }
  .footer-tag { max-width: 100%; }
  .footer-form { max-width: 100%; }
  .auth-page { margin: 24px 12px; padding: 24px 18px; }
  .product-detail h1 { font-size: 26px; }
  .price-large { font-size: 22px; }
  .pb-section { padding: 28px 0 !important; }
  .pb-section:first-of-type { padding-top: 12px !important; }
  .static-page { padding: 12px 0; }
}

/* ---- Mobile: collapse builder layouts and unconstrain widget wrappers ---- */
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .pb-row { padding: 0 16px; gap: 24px; grid-template-columns: 1fr !important; }
  .pb-col,
  .pb-col-1,.pb-col-2,.pb-col-3,.pb-col-4,.pb-col-5,.pb-col-6,
  .pb-col-7,.pb-col-8,.pb-col-9,.pb-col-10,.pb-col-11,.pb-col-12 {
    grid-column: 1 !important; width: 100% !important;
  }
  /* Per-widget max-widths set in the editor are desktop-only — let mobile use full column width. */
  .pb-col > .pb-w { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
  .pb-section { padding: 28px 0 !important; }
  .pb-hero { min-height: 360px; padding: 40px 16px; }
  .pb-hero h1, .pb-hero h2 { font-size: 30px !important; line-height: 1.15; }
  .pb-hero p { font-size: 16px; }
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 28px; }
  .pb-section h1, .pb-section h2 { font-size: 26px !important; line-height: 1.2; word-break: normal; overflow-wrap: break-word; }
  .pb-section h3 { font-size: 20px !important; }
  .pb-w img { max-width: 100%; height: auto; }
}

/* ──────────────── Page builder rendered blocks ──────────────── */
.static-page > .content { max-width: none; }
.pb-section { padding: 48px 0; }
.pb-section + .pb-section { padding-top: 0; }
.pb-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; max-width: 1180px; margin: 0 auto; padding: 0 24px; align-items: center; }
.pb-col { min-width: 0; grid-column: span 12; }
.pb-col-1{grid-column:span 1}.pb-col-2{grid-column:span 2}.pb-col-3{grid-column:span 3}.pb-col-4{grid-column:span 4}
.pb-col-5{grid-column:span 5}.pb-col-6{grid-column:span 6}.pb-col-7{grid-column:span 7}.pb-col-8{grid-column:span 8}
.pb-col-9{grid-column:span 9}.pb-col-10{grid-column:span 10}.pb-col-11{grid-column:span 11}.pb-col-12{grid-column:span 12}
.pb-col > * + * { margin-top: 18px; }
@media (max-width: 900px) {
  .pb-row { grid-template-columns: 1fr !important; gap: 32px !important; }
  .pb-col, .pb-col-1,.pb-col-2,.pb-col-3,.pb-col-4,.pb-col-5,.pb-col-6,
  .pb-col-7,.pb-col-8,.pb-col-9,.pb-col-10,.pb-col-11,.pb-col-12 { grid-column: 1 !important; width: 100% !important; }
  .pb-section { padding: 32px 0; }
  .pb-col > .pb-w { max-width: 100% !important; }
  .pb-col img, .pb-w img { max-width: 100%; height: auto; }
}

/* Hero block (legacy single-column hero widget) */
.pb-hero { position: relative; min-height: 540px; display: flex; align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center; color: #2a2a2a; }
.pb-hero::before { content:""; position:absolute; inset:0; background: rgba(251,248,243,.72); }
.pb-hero-inner { position: relative; z-index: 1; max-width: 820px; padding: 80px 32px; }
.pb-hero h1 { font-family: var(--heading-font); font-size: clamp(34px, 5vw, 56px); margin: 0 0 18px; font-weight: 400; line-height: 1.15; letter-spacing: .01em; color: var(--accent); }
.pb-hero .lead { font-size: 19px; color: #4a4a4a; margin: 0 0 28px; }

/* Side-by-side hero (image + text in pb-col-6 each) — used on home */
.pb-text .hero-title { font-family: var(--heading-font); color: var(--accent); font-weight: 400; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.05; margin: 0 0 22px; letter-spacing: .005em; }
.pb-text .hero-lead { font-size: 13px; line-height: 1.8; letter-spacing: .12em; text-transform: uppercase; color: #555; margin: 0 0 28px; font-family: Georgia, serif; }

/* Text block */
.pb-text h1 { font-family: var(--heading-font); font-size: clamp(36px, 4.4vw, 56px); font-weight: 400; margin: 0 0 18px; letter-spacing: .005em; color: var(--accent); line-height: 1.1; }
.pb-text h2 { font-family: var(--heading-font); font-size: clamp(30px, 3.8vw, 44px); font-weight: 400; margin: 8px 0 18px; letter-spacing: .005em; color: var(--accent); line-height: 1.15; }
.pb-text h3 { font-family: var(--heading-font); font-size: 24px; font-weight: 500; margin: 28px 0 10px; color: var(--accent-dark); letter-spacing: .005em; }
.pb-text h4 { font-size: 18px; font-weight: 500; margin: 20px 0 8px; color: var(--accent-dark); }
.pb-text p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; }
.pb-text ul, .pb-text ol { margin: 8px 0 16px; padding-left: 24px; }
.pb-text li { margin: 6px 0; line-height: 1.6; }
.pb-text a { color: var(--accent-dark); }
.pb-text blockquote { margin: 24px auto; padding: 16px 24px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.5); font-size: 18px; }
/* Danny quote section — headshot column on left, dark gradient with white quote on right (og parity) */
.pb-text .danny-quote-row { display: flex; align-items: stretch; gap: 0; min-height: 560px; margin: 0 calc(50% - 50vw); background: linear-gradient(180deg, #4a4f56 0%, #2f3338 100%); }
.pb-text .danny-quote-photo {
    flex: 0 0 38%;
    background-image: url('/uploads/products/danny-quote-headshot.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #1f2227;
}
.pb-text .danny-quote-text { flex: 1; padding: 70px clamp(40px, 6vw, 100px); display: flex; flex-direction: column; justify-content: center; text-align: left; color: #fff; }
.pb-text h3.danny-quote { font-family: var(--heading-font); font-weight: 400; color: #fff; font-style: normal; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.35; margin: 0 0 22px; letter-spacing: .005em; }
.pb-text p.danny-attribution { font-size: 16px; color: rgba(255,255,255,.85); margin: 0 0 18px; font-style: normal; }
.pb-text img.danny-sig { display: block; max-width: 280px; height: auto; margin: 0; filter: brightness(0) invert(1); }
@media (max-width: 768px) {
    .pb-text .danny-quote-row { flex-direction: column; min-height: 0; }
    .pb-text .danny-quote-photo { flex: 0 0 360px; }
    .pb-text .danny-quote-text { padding: 40px 24px; }
}

/* Full-bleed bg-photo section (consult CTA, etc.) */
.pb-section-bgphoto { position: relative; overflow: hidden; }
.pb-section-bgphoto > .pb-row, .pb-section-bgphoto > .pb-section-overlay { position: relative; z-index: 1; }
.pb-section-bgphoto > .pb-section-overlay { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Consult/Discovery Call CTA — og parity: dark photo bg, gold "UNLOCK YOUR BEST SKIN" label, big white headline, white button */
.consult-cta { text-align: center; max-width: 640px; margin: 0 0 0 auto; padding: 30px 20px; color: #fff; }
@media (max-width: 900px) { .consult-cta { margin: 0 auto; } }
.consult-cta .unlock-label {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    margin: 0 auto 22px; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
    color: #fff; font-weight: 500;
}
.consult-cta .unlock-label::before,
.consult-cta .unlock-label::after { content: ''; flex: 1; min-width: 80px; height: 1px; background: rgba(255,255,255,.4); }
.consult-cta .unlock-label .unlock-word { color: var(--accent); padding: 4px 10px; border: 1px solid var(--accent); border-radius: 2px; letter-spacing: .14em; }
.consult-cta h2 { font-family: var(--heading-font); color: #fff; font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.18; margin: 0 0 22px; }
.consult-cta p { color: rgba(255,255,255,.92); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; max-width: 760px; margin: 0 auto 30px; }
.consult-cta p a { color: #fff; text-decoration: underline; }
.consult-cta .btn-consult {
    display: inline-block; background: #fff; color: #1a1a1a; padding: 14px 32px;
    border-radius: 4px; font-weight: 500; text-decoration: none; font-size: 16px;
    transition: background .15s ease, color .15s ease;
}
.consult-cta .btn-consult:hover { background: var(--accent); color: #fff; }

/* Contact page — info column + form (og parity) */
.contact-page .static-page-title, .contact-page h1.page-title { display: none; }
.contact-info { padding: 8px 0; }
.contact-info-title { font-family: var(--heading-font); font-size: clamp(28px, 2.6vw, 38px); color: var(--accent-dark); margin: 0 0 22px; font-weight: 500; }
.contact-info-list { list-style: none; padding: 0; margin: 0 0 26px; }
.contact-info-list li { font-size: 17px; color: #2d2d2d; margin: 0 0 12px; line-height: 1.5; }
.contact-info-list li a { color: inherit; text-decoration: none; }
.contact-info-list li a:hover { color: var(--accent-dark); }
.contact-info-list .ci-ico { display: inline-block; width: 22px; color: var(--accent-dark); margin-right: 6px; }
.contact-info-byappt { font-size: 16px; color: #2d2d2d; margin: 0 0 18px; }
.contact-info-photo { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; margin: 0 0 22px; }
.contact-info-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-info-follow { font-size: 15px; color: #2d2d2d; margin: 0 0 10px; font-weight: 500; }
.contact-info-social { display: flex; gap: 10px; }
.contact-info-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 6px;
    background: var(--accent-dark); color: #fff; text-decoration: none;
    transition: opacity .15s ease;
}
.contact-info-social a:hover { opacity: .85; }
/* The stored contact Instagram icon is a malformed filled path that renders
   as a solid block. Hide it and draw the same clean stroke-based glyph the
   footer uses, via a CSS background — no DB/content change required. */
.contact-info-social a[aria-label="Instagram"] svg { display: none; }
.contact-info-social a[aria-label="Instagram"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.2' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

/* Contact form */
.pb-contact-form { background: #fff; padding: clamp(24px, 3vw, 40px); border-radius: 8px; box-shadow: var(--shadow); max-width: 560px; margin-left: auto; }
.pb-contact-form .ff-label { display: block; margin: 0 0 14px; font-size: 15px; font-weight: 500; color: #2d2d2d; }
.pb-contact-form .ff-label .req { color: #c0392b; margin-left: 2px; }
.pb-contact-form input[type=text],
.pb-contact-form input[type=email],
.pb-contact-form input[type=tel],
.pb-contact-form textarea {
    display: block; width: 100%; margin-top: 6px;
    padding: 11px 14px; font-size: 15px; font-family: inherit;
    border: 1px solid #d4cfc4; border-radius: 4px; background: #fff;
    color: #1a1a1a; transition: border-color .15s ease;
    box-sizing: border-box;
}
.pb-contact-form input:focus, .pb-contact-form textarea:focus { outline: none; border-color: var(--accent-dark); }
.pb-contact-form textarea { resize: vertical; min-height: 110px; }
.pb-contact-form button[type=submit] { margin-top: 4px; }
.contact-success { background: #e8f3ec; border: 1px solid #b6d8c2; color: #1f6f3d; padding: 12px 14px; border-radius: 4px; margin: 0 0 18px; font-size: 15px; }
.contact-error   { background: #fbeaea; border: 1px solid #e2b9b9; color: #8b2424; padding: 12px 14px; border-radius: 4px; margin: 0 0 18px; font-size: 15px; }

/* Image block */
.pb-image { margin: 8px 0; text-align: center; }
.pb-image img { border-radius: 6px; max-width: 100%; height: auto; box-shadow: var(--shadow); }

/* Gallery */
.pb-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pb-gallery figure { margin: 0; }
.pb-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }

/* CTA block */
.pb-cta { max-width: 820px; margin: 0 auto; text-align: center; padding: 32px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.pb-cta h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 400; margin: 0 0 14px; }
.pb-cta p { font-size: 17px; margin: 0 0 22px; color: var(--muted); }

/* Pricing tiers */
.pb-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pb-tier { background: #fff; padding: 28px; border-radius: 8px; border: 1px solid var(--border); text-align: center; }
.pb-tier h3 { margin: 0 0 8px; }
.pb-tier .price { font-size: 28px; color: var(--accent-dark); margin: 6px 0 14px; }
.pb-tier ul { list-style: none; padding: 0; margin: 0 0 18px; }
.pb-tier li { padding: 6px 0; border-bottom: 1px dashed var(--border); }

/* Testimonial */
.pb-testimonial { background: #fff; padding: 24px; border-radius: 8px; border-left: 4px solid var(--accent); margin: 16px 0; }
.pb-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; float: left; margin: 0 14px 0 0; }
.pb-testimonial p { margin: 0 0 8px; font-size: 17px; font-style: italic; }
.pb-testimonial cite { font-style: normal; color: var(--muted); font-size: 14px; }

/* Video */
.pb-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 6px; }
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Spacer / divider */
.pb-divider { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }

/* Page-builder driven product / post grids — share core .product-grid / .post-grid look */
.pb-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.pb-post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pb-post-grid .post-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: block; }
.pb-post-grid .post-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.pb-post-grid .post-card h3 { padding: 14px 16px 4px; margin: 0; font-size: 18px; font-weight: 500; }
.pb-post-grid .post-card p { padding: 0 16px 16px; margin: 0; color: var(--muted); font-size: 14px; }

/* Button widget */
.pb-button { text-align: center; margin: 8px 0; }
.pb-empty { padding: 16px; background: var(--paper-alt); border: 1px dashed var(--border); border-radius: 6px; color: var(--muted); text-align: center; }

/* About page hero — warm gold/champagne bg with title left + portrait right (og parity) */
.about-hero { position: relative; background: radial-gradient(ellipse at 30% 40%, #e9c98a 0%, #c89d5c 45%, #8a6536 100%); }
.about-hero .pb-row { align-items: center; min-height: 520px; }
.about-hero .about-hero-text { color: #fff; padding: 40px 20px; }
.about-hero .about-hero-text h1 {
    font-family: var(--heading-font); font-weight: 400; color: #fff;
    font-size: clamp(40px, 5.4vw, 78px); line-height: 1.05; margin: 0 0 22px;
}
.about-hero .about-hero-text h4 {
    color: #fff; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    font-size: clamp(13px, 1.05vw, 16px); margin: 0;
}
.about-hero .pb-image { margin: 0; }
.about-hero .pb-image img { width: 100%; max-width: 540px; display: block; margin: 0 auto; border-radius: 4px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
@media (max-width: 768px) {
    .about-hero .pb-row { min-height: 0; }
    .about-hero .about-hero-text { padding: 30px 16px 10px; text-align: center; }
}
.about-bio p { max-width: 880px; margin-left: auto; margin-right: auto; }
.about-bio .pb-row { align-items: center; }
.about-bio .pb-image img { width: 100%; max-width: 460px; display: block; margin: 0 auto; border-radius: 8px; }

/* Single-column centered section (e.g., About → Our Mission) */
.pb-section.is-centered .pb-row { max-width: 880px; }
.pb-section.is-centered .pb-col { text-align: center; }
.pb-section.is-centered .pb-text { text-align: center; }
.pb-section.is-centered .pb-text > * { margin-left: auto; margin-right: auto; }
.pb-section.is-centered .pb-button { text-align: center; }

/* Uniform section rhythm — collapse first/last child margins inside text widgets so
   sections with explicit padding (60px 0) yield consistent 60px gaps regardless of
   whether the widget content starts with an <h2> or a <p>. */
.pb-section .pb-text > :first-child { margin-top: 0; }
.pb-section .pb-text > :last-child { margin-bottom: 0; }
.pb-section .pb-image { margin: 0; }
.pb-section .pb-button { margin: 16px 0 0; }
.pb-row { row-gap: 32px; }

/* Default fallback for any section that ships without inline padding. */
.pb-section:not([style*="padding"]) { padding: 60px 0; }

/* Section-level heading rendered inside a section, above the row. */
.pb-section-heading { margin: 0 auto 32px; max-width: 1100px; padding: 0 20px; }
.pb-section-heading > :first-child { margin-top: 0; }
.pb-section-heading > :last-child { margin-bottom: 0; }
.pb-section-heading h1,
.pb-section-heading h2,
.pb-section-heading h3,
.pb-section-heading h4 {
  font-family: var(--heading-font);
  color: var(--accent);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.15;
  text-align: center;
}
.pb-section-heading h1 { font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 16px; }
.pb-section-heading h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 0 0 14px; }
.pb-section-heading h3 { font-size: clamp(22px, 2.6vw, 30px); color: var(--accent-dark); font-weight: 500; margin: 0 0 12px; }
.pb-section-heading h4 { font-size: clamp(18px, 2vw, 22px); color: var(--accent-dark); font-weight: 500; margin: 0 0 10px; }

/* Equal-size tiles: pb-section with class "is-tiles" — used for "Take Skin Harmonics Anywhere" */
/* Only force equal heights when the section has images/buttons that need bottom alignment.
   Text-only tile sections (e.g., "What Makes Skin Harmonics Different") size to natural content
   so shorter tiles don't get unwanted padding below their copy. */
.pb-section.is-tiles .pb-row { align-items: start; }
.pb-section.is-tiles:has(.pb-image) .pb-row,
.pb-section.is-tiles:has(.pb-button) .pb-row { align-items: stretch; grid-auto-rows: 1fr; }
.pb-section.is-tiles .pb-col { display: flex; flex-direction: column; height: 100%; }
.pb-section.is-tiles .pb-col > .pb-w { margin-top: 0; }
.pb-section.is-tiles .pb-col > .pb-w + .pb-w { margin-top: 18px; }
.pb-section.is-tiles .pb-col > .pb-w:has(.pb-text) { flex: 1 1 auto; }
.pb-section.is-tiles .pb-image { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #faf6f1; display: flex; align-items: center; justify-content: center; }
.pb-section.is-tiles .pb-image img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
.pb-section.is-tiles .pb-col { text-align: center; }
.pb-section.is-tiles .pb-text { text-align: center; }
.pb-section.is-tiles .pb-w:has(.pb-button) { margin-top: auto !important; text-align: center; }
.pb-section.is-tiles .pb-button { display: block !important; text-align: center !important; margin-left: auto; margin-right: auto; }
.pb-section.is-tiles .pb-button a { display: inline-block; }

/* Side-by-side action buttons (e.g., "View Testimonials" / "View Results") — 2-col on desktop, stack on mobile */
.pb-section.is-actions .pb-row { grid-template-columns: 1fr 1fr !important; gap: 16px !important; max-width: 720px; justify-items: center; align-items: center; }
.pb-section.is-actions .pb-col { grid-column: auto !important; width: 100% !important; text-align: center; }
.pb-section.is-actions .pb-button { display: block !important; text-align: center !important; margin: 0 !important; }
.pb-section.is-actions .pb-button a { display: inline-block; }
@media (max-width: 640px) {
  .pb-section.is-actions .pb-row { grid-template-columns: 1fr !important; gap: 12px !important; }
  .pb-section.is-actions .pb-button a { display: block; width: 100%; max-width: 320px; margin: 0 auto; }
}

/* Blog post body — match og skinharmonics.com heading color (gold) */
.blog-post .content h1,
.blog-post .content h2,
.blog-post .content h3,
.blog-post .content h4,
.blog-post .content h5,
.blog-post .content h6 { color: #c1995c; font-family: 'Poppins', sans-serif; font-weight: 500; }
.blog-post .content h1 { font-size: 30px; line-height: 1.4em; }
.blog-post .content h2 { font-size: 25px; line-height: 1.3em; }
.blog-post .content h3 { font-size: 20px; line-height: 1.3em; }
.blog-post .content h1, .blog-post .content h2, .blog-post .content h3,
.blog-post .content h4, .blog-post .content h5, .blog-post .content h6 { margin-top: 1.5em; margin-bottom: calc(0.3em + 10px); }
.blog-post > h1 { color: #c1995c; font-family: 'Poppins', sans-serif; font-weight: 500; line-height: 1.23em; }
.blog-hero { position: relative; width: 100%; min-height: 520px; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('/uploads/products/header-blog-page.jpg') center/cover no-repeat; color: #fff; margin-bottom: 0; padding: 80px 0 0; }
.blog-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; min-height: 460px; }
.blog-hero-text h1 { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: clamp(36px, 5vw, 60px); line-height: 1.15; margin: 0 0 16px; color: #fff; }
.blog-hero-text h2 { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 80px; }
.blog-hero-photo { display: flex; justify-content: center; align-items: flex-end; }
.blog-hero-photo img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 1/1; object-fit: cover; margin-bottom: -100px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.blog-index { padding-top: 140px; }
@media (max-width: 768px) {
  .blog-hero { min-height: 0; padding: 60px 0 0; }
  .blog-hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .blog-hero-text h2 { margin-bottom: 24px; }
  .blog-hero-photo img { max-width: 320px; margin-bottom: -60px; }
  .blog-index { padding-top: 100px; }
}

/* ── Generic page hero (secondary pages: testimonials, media, contact, courses, memberships, legal) ── */
.pb-section.page-hero { position: relative; text-align: center; padding: 120px 24px; }
.pb-section.page-hero > .pb-row { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.pb-section.page-hero .pb-text { text-align: center; }
.pb-section.page-hero .pb-text h1 { font-family: var(--heading-font); color: #fff; font-weight: 400; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; margin: 0 0 16px; letter-spacing: .01em; }
.pb-section.page-hero .pb-text p { color: rgba(255,255,255,.92); font-size: 14px; line-height: 1.7; letter-spacing: .16em; text-transform: uppercase; margin: 0 auto; max-width: 660px; font-family: Georgia, serif; }
.pb-section.page-hero.page-hero--plain { background: linear-gradient(135deg, #2c2620 0%, #6b5435 55%, #a07d44 100%); }
@media (max-width: 768px) {
  .pb-section.page-hero { padding: 76px 18px; }
  .pb-section.page-hero .pb-text h1 { font-size: 32px; }
  .pb-section.page-hero .pb-text p { font-size: 12px; letter-spacing: .12em; }
}

/* Feature product row — 2 larger cards spanning the page width */
.pb-product-grid--feature { grid-template-columns: repeat(2, 1fr); gap: 40px; }
.pb-product-grid--feature .product-card h3 { font-size: 22px; }
.pb-product-grid--feature .product-card .price { font-size: 17px; }
@media (max-width: 640px) { .pb-product-grid--feature { grid-template-columns: 1fr; } }

/* Provider logo grid — keep both columns top-aligned and images uniform */
.provider-grid .pb-row { align-items: start; }
.provider-grid .pb-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }

/* Align dropdown nav items with plain nav items (match box height + caret).
   Desktop-only: on mobile the menu is a stacked column, so forcing the
   .has-sub group to flex-row makes the top-level label overlap its own
   submenu items. Scope to the desktop breakpoint (mobile nav is <=1024px). */
@media (min-width: 1025px) {
  nav.primary .has-sub { display: flex; align-items: center; }
  nav.primary .has-sub > a { display: inline-flex; align-items: center; gap: 3px; }
}

/* Written Testimonials — subtle divider between each testimonial */
.testimonial-divider { border: 0; border-top: 1px solid var(--border); max-width: 120px; margin: 40px auto; }

/* ---- Site announcement marquee + auth note ---------------------------- */
.site-marquee { background: var(--accent-dark); color: #fff; overflow: hidden; position: relative; }
.site-marquee .marquee-track { display: flex; width: max-content; flex-wrap: nowrap; will-change: transform; animation: sh-marquee 40s linear infinite; }
.site-marquee:hover .marquee-track { animation-play-state: paused; }
.site-marquee .marquee-item { white-space: nowrap; padding: 9px 3rem; font-size: 13px; letter-spacing: .02em; }
.site-marquee .marquee-item a { color: #fff; text-decoration: underline; font-weight: 600; }
.site-marquee .marquee-item a:hover { color: var(--accent-soft); }
@keyframes sh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .site-marquee .marquee-track { animation: none; width: auto; }
  .site-marquee .marquee-item { white-space: normal; text-align: center; padding: 9px 1rem; }
  .site-marquee .marquee-item[aria-hidden="true"] { display: none; }
}

.auth-note { background: var(--warn-bg); border: 1px solid var(--warn-bd); color: var(--ink); border-radius: 8px; padding: 14px 16px; margin: 0 0 22px; font-size: 14px; line-height: 1.55; }
.auth-note a { color: var(--accent-dark); font-weight: 600; }
