/* ===========================================================================
   Herboholics — site-wide design system v2 (Claude Design tokens)
   Loaded on every page EXCEPT pure ad-LPs (template-funnel-lp.php).
   Palette: cream + dusty rose + sage. Type: Cormorant + Inter + Caveat + JetBrains Mono.
   =========================================================================== */

:root {
    /* Surfaces */
    --cream: #fdf6f0;
    --cream-alt: #fffaf5;
    --blush: #f4b5c1;
    --rose-tint: #f9e6e9;
    --sage-tint: #e7ece2;

    /* Brand */
    --rose: #d97a8c;
    --rose-deep: #c2546b;
    --sage: #8a9e7d;

    /* Ink */
    --plum: #3a1f24;
    --plum-muted: #7a5a60;

    /* Hairlines */
    --hairline: rgba(58, 31, 36, 0.10);
    --hairline-strong: rgba(58, 31, 36, 0.18);

    /* Typography */
    --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    --script: 'Caveat', 'Brush Script MT', cursive;

    /* Spacing */
    --space-1: 0.5rem; --space-2: 1rem; --space-3: 1.5rem;
    --space-4: 2rem; --space-6: 3rem; --space-8: 4rem; --space-12: 6rem;

    /* Radii — design uses near-flat 2px corners */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    /* Legacy aliases for previously-coded sections */
    --herbo-bg: var(--cream);
    --herbo-bg-alt: var(--cream-alt);
    --herbo-primary: var(--rose);
    --herbo-accent: var(--blush);
    --herbo-cta-bg: var(--plum);
    --herbo-cta-text: var(--cream);
    --herbo-text: var(--plum);
    --herbo-text-muted: var(--plum-muted);
    --herbo-leaf: var(--sage);
    --herbo-border: var(--hairline-strong);
    --herbo-shadow: rgba(58, 31, 36, 0.08);
}

/* ─── Resets ─────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
body {
    font-family: var(--sans);
    color: var(--plum);
    background: var(--cream);
    line-height: 1.55;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--plum);
}
h1 em, h2 em, h3 em { color: var(--rose-deep); font-style: italic; font-weight: 400; }

a { color: var(--plum); text-decoration: none; transition: color 0.15s ease; }

/* ─── Eyebrow ───────────────────────────────────────────── */
.hb-eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--plum-muted);
    font-weight: 500;
}

/* ─── Buttons ───────────────────────────────────────────── */
.hb-btn,
.button,
.single_add_to_cart_button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
    line-height: 1;
}
.hb-btn-primary,
.button.alt,
.single_add_to_cart_button,
.wp-block-button__link {
    background: var(--plum) !important;
    color: var(--cream) !important;
    border-color: var(--plum) !important;
}
.hb-btn-primary:hover,
.button.alt:hover,
.single_add_to_cart_button:hover,
.wp-block-button__link:hover {
    background: var(--rose-deep) !important;
    border-color: var(--rose-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(58, 31, 36, 0.15);
}
.hb-btn-secondary {
    background: transparent;
    color: var(--plum);
    border-color: var(--hairline-strong);
}
.hb-btn-secondary:hover { border-color: var(--plum); }

/* ─── Apothecary metadata card ──────────────────────────── */
.hb-metacard {
    background: var(--cream-alt);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(58, 31, 36, 0.10);
    border: 1px solid var(--hairline);
    font-size: 11px;
    color: var(--plum-muted);
    max-width: 200px;
    line-height: 1.6;
}
.hb-metacard .batch {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--rose-deep);
    margin-bottom: 4px;
    letter-spacing: 0.08em;
}
.hb-metacard .title {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--plum);
    margin-bottom: 4px;
}

/* ─── Rating chip ──────────────────────────────────────── */
.hb-rating-chip {
    background: var(--plum);
    color: var(--cream);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(58, 31, 36, 0.18);
    max-width: 180px;
}
.hb-rating-chip .score {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1;
    margin-bottom: 6px;
}
.hb-rating-chip .score span { font-size: 14px; color: var(--rose); }
.hb-rating-chip .label {
    font-size: 10px;
    opacity: 0.7;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ─── Product card ─────────────────────────────────────── */
.hb-product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hb-product-card .imagewrap {
    aspect-ratio: 1 / 1;
    background: var(--rose-tint);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    display: block;
}
.hb-product-card .imagewrap.tone-sage { background: var(--sage-tint); }
.hb-product-card .imagewrap.tone-cream { background: var(--cream-alt); border: 1px solid var(--hairline); }
.hb-product-card .imagewrap img { width: 100%; height: 100%; object-fit: cover; }
.hb-product-card .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--rose-deep);
    color: var(--cream);
    border-radius: var(--radius-sm);
}
.hb-product-card .badge.sage { background: var(--sage); }
.hb-product-card .tag {
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-muted);
}
.hb-product-card .name {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.2;
    color: var(--plum);
}
.hb-product-card .price {
    font-family: var(--sans);
    font-size: 15px;
    color: var(--plum);
    font-weight: 500;
}
.hb-product-card .price .old {
    color: var(--plum-muted);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

/* ─── Filter pills ─────────────────────────────────────── */
.hb-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.hb-filter-pill {
    font-size: 11px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    color: var(--plum);
    border: 1px solid var(--hairline-strong);
    cursor: pointer;
    font-family: var(--sans);
    font-weight: 500;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.hb-filter-pill:hover { border-color: var(--plum); }
.hb-filter-pill.active {
    background: var(--plum);
    color: var(--cream);
    border-color: var(--plum);
}

/* ─── Sections ─────────────────────────────────────────── */
.hb-section { padding: 96px 64px; }
.hb-section-narrow { padding: 64px 64px; }
@media (max-width: 768px) {
    .hb-section, .hb-section-narrow { padding: 64px 22px; }
}

/* ─── Stars ───────────────────────────────────────────── */
.hb-stars { display: inline-flex; gap: 2px; color: var(--rose-deep); font-size: 14px; }

/* ─── Announcement bar ────────────────────────────────── */
.hb-announcement-bar {
    background: var(--plum);
    color: var(--cream);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 48px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .hb-announcement-bar { gap: 0; overflow: hidden; }
    .hb-announcement-bar span:not(:first-child) { display: none; }
}

/* ─── Header ──────────────────────────────────────────── */
.hb-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 22px 48px;
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
}
.hb-wordmark {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--plum);
    text-decoration: none;
    text-align: center;
}
.hb-wordmark span { color: var(--rose-deep); font-style: italic; }
.hb-nav-left, .hb-nav-right { display: flex; gap: 28px; align-items: center; }
.hb-nav-right { justify-content: flex-end; }
.hb-nav-left a, .hb-nav-right a {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum);
    text-decoration: none;
    transition: color 0.15s;
}
.hb-nav-left a:hover, .hb-nav-right a:hover { color: var(--rose-deep); }
.hb-cart-count {
    display: inline-block;
    background: var(--rose-deep);
    color: var(--cream);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
    margin-left: 4px;
}
@media (max-width: 768px) {
    .hb-header { grid-template-columns: auto 1fr auto; padding: 16px 22px; }
    .hb-nav-left { display: none; }
    .hb-nav-left.mobile-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 22px; border-bottom: 1px solid var(--hairline); }
}

/* ─── Hero ────────────────────────────────────────────── */
.hb-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 720px;
    background: var(--cream);
}
.hb-hero-content { padding: 100px 64px 100px 96px; display: flex; flex-direction: column; justify-content: center; }
.hb-hero-content .hb-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.hb-hero-content .line { width: 32px; height: 1px; background: var(--rose-deep); display: inline-block; }
.hb-hero h1 { font-size: 84px; line-height: 1.04; margin-bottom: 32px; letter-spacing: -0.02em; }
.hb-hero-sub { font-size: 18px; color: var(--plum-muted); max-width: 460px; line-height: 1.65; margin-bottom: 40px; }
.hb-hero-ctas { display: flex; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.hb-hero-trust { display: flex; gap: 24px; font-size: 12px; color: var(--plum-muted); letter-spacing: 0.04em; flex-wrap: wrap; }
.hb-hero-visual { position: relative; background: linear-gradient(180deg, #fdf6f0 0%, #f5e1d8 100%); }
.hb-hero-image { position: absolute; inset: 32px; border-radius: var(--radius-sm); background: var(--rose-tint); }
.hb-metacard-tr { position: absolute; top: 80px; right: -40px; }
.hb-rating-chip-bl { position: absolute; bottom: 80px; left: -40px; }
@media (max-width: 768px) {
    .hb-hero { grid-template-columns: 1fr; min-height: auto; }
    .hb-hero-content { padding: 64px 22px 32px; }
    .hb-hero h1 { font-size: 52px; }
    .hb-hero-sub { font-size: 16px; }
    .hb-hero-ctas { flex-direction: column; align-items: flex-start; }
    .hb-metacard-tr, .hb-rating-chip-bl { display: none; }
    .hb-hero-visual { height: 460px; }
    .hb-hero-image { inset: 22px; }
}

/* ─── Section head ────────────────────────────────────── */
.hb-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 32px;
    flex-wrap: wrap;
}
.hb-section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.hb-section-link {
    font-size: 13px;
    color: var(--plum);
    border-bottom: 1px solid var(--plum);
    padding-bottom: 4px;
    letter-spacing: 0.06em;
    text-decoration: none;
}
.hb-section-link:hover { color: var(--rose-deep); border-color: var(--rose-deep); }

/* ─── Grids ───────────────────────────────────────────── */
.hb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hb-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
@media (max-width: 1024px) { .hb-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .hb-grid-3 { grid-template-columns: 1fr; }
    .hb-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}
.hb-product-card[hidden] { display: none; }

/* ─── Trust grid ──────────────────────────────────────── */
.hb-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.hb-trust-item { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hb-trust-item .hb-trust-icon { color: var(--sage); width: 28px; height: 28px; }
.hb-trust-item .hb-trust-title { font-family: var(--serif); font-size: 22px; color: var(--plum); }
.hb-trust-item .hb-trust-sub { font-size: 12px; color: var(--plum-muted); line-height: 1.5; }
@media (max-width: 768px) {
    .hb-trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Review card ─────────────────────────────────────── */
.hb-review-card {
    background: var(--cream);
    padding: 36px 32px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.hb-review-card .quote-mark { font-family: var(--serif); font-size: 64px; line-height: 0.6; color: var(--rose); height: 24px; }
.hb-review-card .quote { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--plum); font-style: italic; }
.hb-review-card .meta {
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.hb-review-card .initial {
    width: 40px; height: 40px;
    border-radius: 20px;
    background: var(--rose-deep);
    color: var(--cream);
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 18px;
}
.hb-review-card .name { font-size: 14px; color: var(--plum); font-weight: 500; }
.hb-review-card .verified { font-size: 11px; color: var(--sage); letter-spacing: 0.04em; margin-top: 2px; }
.hb-carousel-controls { display: flex; gap: 8px; }
.hb-carousel-controls button {
    width: 40px; height: 40px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--plum);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.hb-carousel-controls button.active,
.hb-carousel-controls button:hover { background: var(--plum); color: var(--cream); border-color: var(--plum); }

/* ─── Reels ───────────────────────────────────────────── */
.hb-reels-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hb-reel-tile {
    aspect-ratio: 9 / 16;
    background: linear-gradient(135deg, var(--rose-tint), var(--sage-tint));
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.hb-reel-tile::after {
    content: '▶';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--cream);
    font-size: 32px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .hb-reels-row { grid-template-columns: repeat(2, 1fr); }
}

/* ─── UGC ─────────────────────────────────────────────── */
.hb-ugc-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.hb-ugc-tile { aspect-ratio: 1 / 1; background: var(--rose-tint); border-radius: var(--radius-sm); }
.hb-ugc-tile:nth-child(2n) { background: var(--sage-tint); }
.hb-ugc-tile:nth-child(3n) { background: var(--cream-alt); border: 1px solid var(--hairline); }
@media (max-width: 768px) {
    .hb-ugc-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Founder ─────────────────────────────────────────── */
.hb-founder-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 768px) {
    .hb-founder-section { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── Newsletter ──────────────────────────────────────── */
.hb-newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 540px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.hb-newsletter-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cream);
    padding: 14px 18px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    flex: 1 1 200px;
    font-family: var(--sans);
}
.hb-newsletter-form input::placeholder { color: rgba(255, 250, 245, 0.5); }

/* ─── Footer ──────────────────────────────────────────── */
.hb-footer {
    background: var(--cream-alt);
    padding: 80px 64px 24px;
    border-top: 1px solid var(--hairline);
}
.hb-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 24px;
}
.hb-footer-title { font-family: var(--serif); font-size: 18px; color: var(--plum); margin-bottom: 16px; }
.hb-footer-grid a {
    display: block;
    font-size: 13px;
    color: var(--plum-muted);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.15s;
}
.hb-footer-grid a:hover { color: var(--plum); }
.hb-footer-strip {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--plum-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .hb-footer { padding: 48px 22px 24px; }
    .hb-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hb-footer-strip { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ─── PDP-specific ───────────────────────────────────── */
.hb-pdp .hb-breadcrumb {
    padding: 16px 64px;
    border-bottom: 1px solid var(--hairline);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--plum-muted);
    text-transform: uppercase;
}
.hb-pdp .hb-breadcrumb a { color: var(--plum-muted); }
.hb-pdp .hb-breadcrumb a:hover { color: var(--plum); }

/* WC product page restyle */
.single-product div.product {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 64px;
    padding: 64px 64px;
    background: var(--cream);
}
.single-product div.product .woocommerce-product-gallery { background: var(--rose-tint); padding: 24px; border-radius: var(--radius-sm); }
.single-product div.product .product_title {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    line-height: 1.1;
}
.single-product div.product .price {
    font-family: var(--sans);
    font-size: 1.8rem;
    color: var(--plum);
    font-weight: 500;
    margin: 16px 0 24px;
}
.single-product div.product .price del { color: var(--plum-muted); margin-right: 8px; }
.single-product div.product .price ins { text-decoration: none; }
.single-product div.product form.cart { display: flex; gap: 12px; align-items: center; margin: 24px 0; }
@media (max-width: 768px) {
    .single-product div.product { grid-template-columns: 1fr; gap: 32px; padding: 32px 22px; }
}

.hb-pdp-trust {
    color: var(--plum-muted);
    font-size: 0.88rem;
    margin-top: 16px;
    letter-spacing: 0.04em;
}

/* Sticky CTA on mobile PDP */
.hb-pdp-sticky-cta {
    display: none;
}
@media (max-width: 768px) {
    .hb-pdp-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--cream);
        padding: 12px 22px;
        box-shadow: 0 -4px 16px rgba(58, 31, 36, 0.12);
        z-index: 90;
        gap: 8px;
    }
    .hb-pdp-sticky-cta a { flex: 1; justify-content: center; }
    body.single-product { padding-bottom: 80px; }
}

/* ─── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================================
   ITERATION #2 — UX UPGRADES
   ===================================================================== */

/* ── Tabbed summary block ────────────────────────────────────── */
.hb-tabs { max-width: 1100px; margin: 0 auto; }
.hb-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--hairline-strong);
    margin-bottom: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.hb-tab-btn {
    background: transparent;
    border: none;
    padding: 18px 32px;
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--plum-muted);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s ease, border-color 0.15s ease;
    font-weight: 500;
}
.hb-tab-btn:hover { color: var(--plum); }
.hb-tab-btn.active {
    color: var(--plum);
    border-bottom-color: var(--rose-deep);
}
.hb-tab-panel {
    display: none;
    padding: 8px 4px 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--plum);
}
.hb-tab-panel.active { display: block; }
.hb-tab-panel p { margin-bottom: 16px; }
.hb-benefits-list, .hb-shipping-list { list-style: none; padding: 0; margin: 0; }
.hb-benefits-list li, .hb-shipping-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 15px;
}
.hb-benefits-list li:last-child, .hb-shipping-list li:last-child { border-bottom: none; }
.hb-benefits-icon { color: var(--sage); flex-shrink: 0; margin-top: 2px; display: inline-flex; }
.hb-shipping-list li strong { color: var(--plum); font-weight: 500; margin-right: 6px; }
.hb-todo-note { color: var(--plum-muted); font-style: italic; font-size: 14px; }
@media (max-width: 768px) {
    .hb-tab-btn { padding: 14px 18px; font-size: 11px; }
}

/* ── Urgency line under price ───────────────────────────────── */
.hb-urgency-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--rose-tint);
    color: var(--rose-deep);
    font-size: 12px;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    margin: 8px 0 16px;
    font-weight: 500;
}
.hb-urgency-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rose-deep);
    animation: hb-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes hb-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.3); }
}

/* ── Trust microcopy under add-to-cart ──────────────────────── */
.hb-trust-microcopy {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    font-size: 12px;
    color: var(--plum-muted);
    letter-spacing: 0.02em;
}
.hb-trust-microcopy span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hb-trust-microcopy svg {
    color: var(--sage);
    flex-shrink: 0;
}

/* ── Announcement bar coupon variant ─────────────────────────── */
.hb-announcement-coupon {
    color: var(--rose);
    font-weight: 600;
}

/* ── WhatsApp floating CTA ───────────────────────────────────── */
.hb-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: #25D366;
    color: #fff !important;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.2s ease, width 0.25s ease, box-shadow 0.2s ease;
    overflow: hidden;
    white-space: nowrap;
    border: none;
}
.hb-whatsapp-float:hover {
    width: 180px;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
    color: #fff !important;
}
.hb-whatsapp-label {
    max-width: 0;
    opacity: 0;
    font-size: 14px;
    font-weight: 500;
    transition: max-width 0.25s ease, opacity 0.2s ease 0.05s, margin-left 0.25s ease;
}
.hb-whatsapp-float:hover .hb-whatsapp-label {
    max-width: 120px;
    opacity: 1;
    margin-left: 8px;
}
@media (max-width: 768px) {
    .hb-whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
    .hb-whatsapp-float:hover { width: 52px; }
    .hb-whatsapp-label { display: none; }
    /* avoid overlap with mobile PDP sticky CTA bar */
    body.single-product .hb-whatsapp-float { bottom: 84px; }
}
