/* =====================================================================
   RAFFAELE LIKEBUD — badson.us-inspired skin
   ---------------------------------------------------------------------
   Whole-site restyle of the RAS storefront in the glossy / "bubbly"
   language of badson.us:
     · animated light-blue gradient world (home / shop / cart / checkout)
     · dark charcoal-blue animated gradient on the product page
     · 3D white-enamel sphere dots, glassy translucent pills & buttons
     · Helvetica/Inter type with white outline-stroke accents
   All rules are scoped under body.rbc-likebud so nothing leaks into
   wp-admin or a different active theme/plugin.
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Tokens
   ------------------------------------------------------------------- */
body.rbc-likebud {
    --rbc-ink: #15181b;
    --rbc-ink-soft: #3f474d;
    --rbc-line: rgba(21, 24, 27, 0.18);
    --rbc-line-strong: rgba(21, 24, 27, 0.34);

    --rbc-paper-1: #dbedf7;
    --rbc-paper-2: #ffffff;
    --rbc-paper-3: #e8e8e8;
    --rbc-paper-4: #c8dff0;

    --rbc-glass: rgba(255, 255, 255, 0.55);
    --rbc-glass-strong: rgba(255, 255, 255, 0.78);
    --rbc-glass-border: rgba(255, 255, 255, 0.85);

    --rbc-accent: #2e9535;       /* enamel green */
    --rbc-accent-bright: #39ff14;
    --rbc-red: #e11d2a;          /* selection / cart badge red */
    --rbc-red-bright: #ff2233;

    --rbc-radius: 14px;
    --rbc-radius-sm: 9px;
    --rbc-pill: 999px;

    --rbc-topbar-h: 30px;
    --rbc-header-h: 66px;

    --rbc-font: "Helvetica Neue", Helvetica, Arial, "Inter", sans-serif;
    --rbc-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    --rbc-shadow-soft: 0 18px 50px -28px rgba(28, 56, 84, 0.55);
    --rbc-shadow-card: 0 26px 60px -34px rgba(28, 56, 84, 0.6);
}

/* ---------------------------------------------------------------------
   1. Base + animated background
   ------------------------------------------------------------------- */
@keyframes rbc-gradient-flow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes rbc-gradient-vert {
    0%   { background-position: 50% 0%; }
    100% { background-position: 50% 100%; }
}

/* overflow-x: clip (NOT hidden) — hidden forces overflow-y:auto which makes
   the body a scroll container and breaks position:sticky on the product panel. */
html:has(body.rbc-likebud) { background: var(--rbc-paper-1); overflow-x: clip; }

body.rbc-likebud {
    font-family: var(--rbc-font);
    color: var(--rbc-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background: linear-gradient(-45deg, var(--rbc-paper-1), var(--rbc-paper-2), var(--rbc-paper-3), var(--rbc-paper-4));
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: rbc-gradient-flow 20s ease infinite;
    overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
    body.rbc-likebud { animation: none; }
}

/* Fixed topbar + header stack: push every page down to clear them … */
body.rbc-likebud { padding-top: calc(var(--rbc-topbar-h) + var(--rbc-header-h)); }
/* … except the front page, where the hero runs full-bleed under the
   transparent header (badson behaviour). */
body.rbc-front-page.rbc-likebud { padding-top: 0; }

/* Neutralise common (block) theme wrappers so the gradient shows through. */
body.rbc-likebud .wp-site-blocks,
body.rbc-likebud .wp-site-blocks > main,
body.rbc-likebud .is-layout-constrained,
body.rbc-likebud .is-layout-flow,
body.rbc-likebud .entry-content,
body.rbc-likebud .wp-block-post-content,
body.rbc-likebud .woocommerce,
body.rbc-likebud .woocommerce-page {
    background: transparent;
}

/* ── Lock the storefront edge-to-edge WITHOUT 100vw (no horizontal scroll).
   On the front page and on shop/category pages we strip the block theme's
   max-width + horizontal padding from the content wrappers so our sections
   fill the screen using width:100% (which never overflows the viewport). ── */
body.rbc-front-page :where(.wp-site-blocks, .wp-site-blocks > main, main, .entry-content, .wp-block-post-content, .is-layout-constrained, .is-layout-flow, .has-global-padding, .alignfull, .wp-block-group),
body.rbc-shop-surface :where(.wp-site-blocks, .wp-site-blocks > main, main, .entry-content, .wp-block-post-content, .is-layout-constrained, .is-layout-flow, .has-global-padding, .woocommerce, .woocommerce-page) {
    max-width: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Hide the WordPress/theme page title ("Home", "Coordinati", …) — our
   sections carry their own headings. */
body.rbc-front-page :where(.wp-block-post-title, .entry-title, .wp-block-query-title, .page-title),
body.rbc-shop-surface :where(.wp-block-post-title, .entry-title, .wp-block-query-title, .page-title) {
    display: none !important;
}

/* Front page: kill the wrapper's TOP spacing so the hero starts at the very
   top of the viewport, with the fixed transparent header overlaying it
   (badson-style hero overlay — no empty band above the video). */
body.rbc-front-page :where(.wp-site-blocks, .wp-site-blocks > main, main, .entry-content, .wp-block-post-content, .is-layout-constrained, .is-layout-flow, .has-global-padding) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.rbc-front-page .rbc-home { margin-top: 0; }

/* Hide the BLOCK THEME's own footer template part (we render our own footer
   via wp_footer, which lives outside .wp-site-blocks). Kills the duplicate. */
body.rbc-likebud .wp-site-blocks > footer,
body.rbc-likebud .wp-site-blocks footer.wp-block-template-part,
body.rbc-likebud .wp-block-template-part[data-area="footer"],
body.rbc-likebud footer.wp-block-template-part:not(.rbc-footer) {
    display: none !important;
}

body.rbc-likebud a { color: inherit; text-decoration: none; }
body.rbc-likebud img { max-width: 100%; height: auto; }
body.rbc-likebud *::selection { background: var(--rbc-paper-4); color: var(--rbc-ink); }

.rbc-container {
    width: min(1280px, 100% - 8vw);
    margin-inline: auto;
}

/* ---------------------------------------------------------------------
   2. Typography helpers
   ------------------------------------------------------------------- */
.rbc-eyebrow {
    font-family: var(--rbc-mono);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--rbc-ink-soft);
    margin: 0 0 0.9rem;
}
.rbc-mono-mini {
    font-family: var(--rbc-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rbc-ink-soft);
}
.rbc-kicker {
    font-family: var(--rbc-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rbc-ink-soft);
    margin: 0;
}
.rbc-h-xl {
    font-weight: 800;
    font-size: clamp(2.6rem, 7vw, 6rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    margin: 0;
}
.rbc-h-sec {
    font-weight: 800;
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin: 0;
}
.rbc-display {
    font-weight: 800;
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin: 0;
}
.rbc-lead {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.55;
    color: var(--rbc-ink-soft);
    max-width: 52ch;
    margin: 0;
}
.rbc-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--rbc-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rbc-ink-soft);
}
.rbc-note__arrow { font-size: 1.1rem; line-height: 1; }

/* Outline-stroke display accent (the signature badson cue). */
.rbc-outline {
    color: #fff;
    -webkit-text-stroke: 1.4px var(--rbc-ink);
    paint-order: stroke fill;
}

/* ---------------------------------------------------------------------
   3. Glossy buttons
   ------------------------------------------------------------------- */
.rbc-button {
    --btn-bg: var(--rbc-glass-strong);
    --btn-fg: var(--rbc-ink);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--rbc-pill);
    border: 1px solid var(--rbc-glass-border);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--rbc-font);
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    line-height: 1;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 6px rgba(40, 70, 100, 0.08),
        0 14px 30px -16px rgba(28, 56, 84, 0.6);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.rbc-button::after {
    content: "";
    position: absolute;
    inset: 1px 1px 50% 1px;
    border-radius: var(--rbc-pill) var(--rbc-pill) 40% 40% / var(--rbc-pill) var(--rbc-pill) 100% 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    pointer-events: none;
}
.rbc-button:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 6px rgba(40, 70, 100, 0.1),
        0 20px 38px -16px rgba(28, 56, 84, 0.7);
}
.rbc-button:active { transform: translateY(0); }
.rbc-button__icon { transition: transform 0.18s ease; }
.rbc-button:hover .rbc-button__icon { transform: translateX(3px); }

.rbc-button--acc {
    --btn-fg: #0c2a12;
    background:
        radial-gradient(120% 140% at 28% 18%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #6fe07a 0%, #45c050 40%, #2e9535 100%);
    border-color: rgba(255, 255, 255, 0.6);
    color: #08240e;
}
.rbc-button--acc:hover { color: #08240e; }
.rbc-button--lg { padding: 1.05rem 2rem; font-size: 0.92rem; }
.rbc-button--ghost {
    background: rgba(255, 255, 255, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.rbc-button--invert {
    --btn-fg: #fff;
    background:
        radial-gradient(120% 140% at 28% 18%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #3a4146 0%, #232629 100%);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

/* ---------------------------------------------------------------------
   4. Enamel sphere dots (reusable look)
   ------------------------------------------------------------------- */
.rbc-sphere {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 28% 22%,
        #ffffff 0%, #fafafa 25%, #ececec 55%, #d8d8d8 85%, #c4c4c4 100%);
    box-shadow:
        inset 0.5px 0.5px 0.5px rgba(255, 255, 255, 1),
        inset -0.6px -0.6px 0.8px rgba(0, 0, 0, 0.35),
        0 2px 5px -1px rgba(20, 40, 60, 0.4);
}
.rbc-sphere::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(ellipse 22% 30% at 26% 22%, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,0.45) 70%, rgba(255,255,255,0) 95%),
        radial-gradient(ellipse 45% 55% at 28% 24%, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 80%);
}
.rbc-sphere--green {
    background: radial-gradient(circle at 28% 22%,
        #a4dca5 0%, #87d78b 25%, #69c96f 55%, #48ae50 88%, #2e9535 100%);
}

/* ---------------------------------------------------------------------
   5. Topbar + Header
   ------------------------------------------------------------------- */
.rbc-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 121;
    height: var(--rbc-topbar-h);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--rbc-mono);
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #eaf4fb;
    padding: 0 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background:
        radial-gradient(120% 200% at 30% -40%, rgba(255,255,255,0.18), rgba(255,255,255,0) 40%),
        linear-gradient(180deg, #2f3b44 0%, #232629 100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.rbc-header {
    position: fixed;
    top: var(--rbc-topbar-h);
    left: 0;
    right: 0;
    z-index: 120;
    background: var(--rbc-glass-strong);
    -webkit-backdrop-filter: saturate(1.4) blur(18px);
    backdrop-filter: saturate(1.4) blur(18px);
    border-bottom: 1px solid var(--rbc-line);
    box-shadow: 0 12px 30px -24px rgba(28, 56, 84, 0.7);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}
.rbc-header__inner {
    width: min(1400px, 100% - 5vw);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: var(--rbc-header-h);
}
.rbc-header__logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 34px;
    transition: filter 0.3s ease;
}
body.rbc-likebud .rbc-header__logo-img {
    height: 34px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain;
    display: block;
}

.rbc-header__nav { margin-inline: auto; }
.rbc-header__menu {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 3.2vw, 3rem);
    list-style: none;
    margin: 0;
    padding: 0;
}
.rbc-header__menu a {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rbc-ink);
    position: relative;
    padding: 0.4rem 0;
    transition: opacity 0.2s ease, color 0.3s ease;
}
.rbc-header__menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--rbc-accent);
    transition: right 0.25s ease;
}
.rbc-header__menu a:hover::after { right: 0; }

/* ── Front page: transparent header overlaying the hero video (badson),
   white outline-stroke nav. Turns frosted once scrolled. ── */
body.rbc-front-page:not(.rbc-scrolled) .rbc-topbar {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
}
body.rbc-front-page:not(.rbc-scrolled) .rbc-header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}
body.rbc-front-page:not(.rbc-scrolled) .rbc-header__logo-img {
    filter: brightness(0) invert(1);
}
body.rbc-front-page:not(.rbc-scrolled) .rbc-topbar { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
body.rbc-front-page:not(.rbc-scrolled) .rbc-header__menu a {
    color: #fff;
    -webkit-text-stroke: 0.4px rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 2px 18px rgba(0, 0, 0, 0.5);
}
body.rbc-front-page:not(.rbc-scrolled) .rbc-header__logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
body.rbc-front-page:not(.rbc-scrolled) .rbc-header__icon,
body.rbc-front-page:not(.rbc-scrolled) .rbc-header__toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
}

.rbc-header__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.rbc-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--rbc-ink);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--rbc-glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.18s ease, background 0.18s ease;
}
.rbc-header__icon:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.78); }
.rbc-header__cart { position: relative; }
.rbc-header__badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--rbc-font);
    font-weight: 700;
    font-size: 0.64rem;
    color: #fff;
    border-radius: 50%;
    overflow: hidden;
    /* red enamel sphere — the badge only renders when the cart has items */
    background: radial-gradient(circle at 28% 22%,
        #ff9a9a 0%, #f56b6b 25%, #ec4444 55%, #d21f2b 88%, #a5121b 100%);
    box-shadow:
        inset 0.5px 0.5px 0.5px rgba(255, 255, 255, 0.9),
        inset -0.6px -0.6px 0.8px rgba(0, 0, 0, 0.3),
        0 2px 5px -1px rgba(80, 15, 20, 0.5);
}
.rbc-header__badge[hidden] { display: none; }

.rbc-header__toggle {
    display: none;
    width: 42px; height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--rbc-ink);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--rbc-glass-border);
    cursor: pointer;
}

/* Mobile drawer */
.rbc-header__drawer {
    display: none;
    border-top: 1px solid var(--rbc-line);
    background: var(--rbc-glass-strong);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
.rbc-header__drawer.is-open { display: block; }
.rbc-header__drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0.5rem 5vw 1.2rem;
}
.rbc-header__drawer-menu a {
    display: block;
    padding: 0.9rem 0;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--rbc-line);
}

/* ---------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------- */
.rbc-storefront { display: block; }

.rbc-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    /* full-bleed: pad the bottom for content, top clears the fixed header */
    padding: calc(var(--rbc-topbar-h) + var(--rbc-header-h) + 2rem) clamp(1.5rem, 6vw, 6rem) clamp(2.5rem, 6vh, 5rem);
    overflow: hidden;
    color: #fff;
    margin: 0;
    border-radius: 0;
    isolation: isolate;
}
/* Non-front-page heroes (rare) keep the fixed-stack already cleared by body padding */
body:not(.rbc-front-page) .rbc-hero {
    padding-top: clamp(2.5rem, 6vh, 5rem);
}
.rbc-hero--plain {
    color: var(--rbc-ink);
    background:
        radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,0.7), rgba(255,255,255,0) 50%),
        linear-gradient(160deg, var(--rbc-paper-4), var(--rbc-paper-2));
}
.rbc-hero__bg { position: absolute; inset: 0; z-index: -2; }
.rbc-hero__bg img,
.rbc-hero__video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.rbc-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(15, 28, 40, 0.05) 0%, rgba(15, 28, 40, 0.55) 78%, rgba(15, 28, 40, 0.78) 100%),
        radial-gradient(120% 90% at 80% 0%, rgba(40, 90, 140, 0.25), rgba(0,0,0,0) 60%);
}
.rbc-hero__content {
    position: relative;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}
.rbc-hero--has-media .rbc-eyebrow,
.rbc-hero--has-media .rbc-mono-mini { color: rgba(255, 255, 255, 0.82); }
.rbc-hero__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.rbc-hero__head .rbc-eyebrow { margin: 0; }
.rbc-hero__meta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.rbc-hero--has-media .rbc-h-xl {
    color: #fff;
    text-shadow: 0 8px 40px rgba(0, 20, 40, 0.5);
}
.rbc-hero__lead { color: rgba(255, 255, 255, 0.9); max-width: 46ch; }
.rbc-hero--plain .rbc-hero__lead { color: var(--rbc-ink-soft); }
.rbc-hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.4rem; }
.rbc-hero__scroll {
    margin-top: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
}
.rbc-hero--plain .rbc-hero__scroll { color: var(--rbc-ink-soft); }

/* ---------------------------------------------------------------------
   7. Drop strip
   ------------------------------------------------------------------- */
.rbc-drop-strip {
    width: min(1280px, 100% - 8vw);
    margin: clamp(2.5rem, 6vw, 4.5rem) auto;
}
.rbc-drop-strip__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--rbc-line);
    border: 1px solid var(--rbc-line);
    border-radius: var(--rbc-radius);
    overflow: hidden;
}
.rbc-drop-strip__cell {
    background: var(--rbc-glass);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 1.8rem;
}
.rbc-drop-strip__cell h5 {
    margin: 0 0 0.6rem;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.rbc-drop-strip__cell p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--rbc-ink-soft);
}

/* ---------------------------------------------------------------------
   8. Section heading + product grid + cards
   ------------------------------------------------------------------- */
.rbc-products,
.rbc-editorial,
.rbc-category-strip,
.rbc-service-band,
.rbc-complete-outfit {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}
.rbc-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.rbc-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: clamp(1rem, 2vw, 1.8rem);
}
.rbc-product-card {
    display: flex;
    flex-direction: column;
    background: var(--rbc-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--rbc-glass-border);
    border-radius: var(--rbc-radius);
    overflow: hidden;
    box-shadow: var(--rbc-shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.rbc-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rbc-shadow-card);
}
.rbc-product-card__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eef4f9;
}
.rbc-product-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.rbc-product-card:hover .rbc-product-card__image img { transform: scale(1.04); }
.rbc-product-card__tag {
    position: absolute;
    top: 0.8rem; left: 0.8rem;
    font-family: var(--rbc-mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rbc-ink);
    padding: 0.35rem 0.6rem;
    border-radius: var(--rbc-pill);
    background: var(--rbc-glass-strong);
    border: 1px solid var(--rbc-glass-border);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.rbc-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.1rem 1.2rem 1.3rem;
    flex: 1;
}
.rbc-product-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.rbc-product-card__meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}
.rbc-product-card__price { font-weight: 700; font-size: 1rem; }
.rbc-product-card__price del { color: var(--rbc-ink-soft); font-weight: 400; margin-right: 0.4rem; }

/* Loop CTA pill (cards + woo loop) */
.rbc-loop-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--rbc-mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rbc-ink);
    padding: 0.5rem 0.85rem;
    border-radius: var(--rbc-pill);
    border: 1px solid var(--rbc-line-strong);
    background: rgba(255, 255, 255, 0.45);
    transition: background 0.18s ease, transform 0.18s ease;
}
.rbc-loop-cta:hover { background: #fff; transform: translateX(2px); }

/* ---------------------------------------------------------------------
   9. Editorial / category / service / closing
   ------------------------------------------------------------------- */
.rbc-editorial__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}
.rbc-editorial__body p {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.6;
    color: var(--rbc-ink-soft);
    margin: 0;
}

.rbc-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
}
.rbc-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    padding: 1.6rem;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    box-shadow: var(--rbc-shadow-card);
    isolation: isolate;
}
.rbc-category-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.5s ease;
}
.rbc-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15,28,40,0) 35%, rgba(15,28,40,0.72) 100%);
}
.rbc-category-card:hover img { transform: scale(1.05); }
.rbc-category-card__label {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.rbc-category-card__desc {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
}

.rbc-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
}
.rbc-service-card {
    position: relative;
    padding: 2rem 1.8rem;
    border-radius: var(--rbc-radius);
    background: var(--rbc-glass);
    border: 1px solid var(--rbc-glass-border);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--rbc-shadow-soft);
}
.rbc-service-card__num {
    font-family: var(--rbc-mono);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--rbc-accent);
}
.rbc-service-card__title { margin: 0.8rem 0 0.6rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.rbc-service-card__text { margin: 0; color: var(--rbc-ink-soft); line-height: 1.55; }

.rbc-closing-note {
    margin: clamp(2rem, 5vw, 4rem) 1.1rem;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(120% 160% at 20% 0%, rgba(255,255,255,0.18), rgba(255,255,255,0) 50%),
        linear-gradient(160deg, #2f3b44 0%, #232629 100%);
    color: #fff;
    box-shadow: var(--rbc-shadow-card);
}
.rbc-closing-note__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: clamp(2.5rem, 6vw, 5rem);
}
.rbc-closing-note__text {
    margin: 0;
    font-size: clamp(1.6rem, 3.4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    max-width: 18ch;
}

/* ---------------------------------------------------------------------
   10. Shop / archive (WooCommerce loop)
   ------------------------------------------------------------------- */
.rbc-shop-intro { padding: clamp(2rem, 5vw, 4rem) 0 1.5rem; width: min(1280px, 100% - 8vw); margin-inline: auto; }
.rbc-shop-intro .rbc-display { margin-bottom: 0.8rem; }
.rbc-shop-intro .rbc-container { width: 100%; padding: 0; }

body.rbc-shop-surface .woocommerce,
body.rbc-shop-surface .woocommerce-page {
    width: min(1280px, 100% - 8vw);
    margin-inline: auto;
}
body.rbc-shop-surface ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: clamp(1rem, 2vw, 1.8rem);
    margin: 0 0 3rem;
    padding: 0;
    list-style: none;
}
body.rbc-shop-surface ul.products::before,
body.rbc-shop-surface ul.products::after { content: none; display: none; }
body.rbc-shop-surface ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    background: var(--rbc-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--rbc-glass-border);
    border-radius: var(--rbc-radius);
    overflow: hidden;
    box-shadow: var(--rbc-shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    padding: 0;
}
body.rbc-shop-surface ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--rbc-shadow-card);
}
body.rbc-shop-surface ul.products li.product > a img,
body.rbc-shop-surface ul.products li.product a.woocommerce-LoopProduct-link img {
    margin: 0 0 0.2rem;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
}
body.rbc-shop-surface ul.products li.product .woocommerce-loop-product__title {
    padding: 1rem 1.2rem 0.2rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}
body.rbc-shop-surface ul.products li.product .price {
    display: block;
    padding: 0 1.2rem;
    color: var(--rbc-ink);
    font-weight: 700;
    font-size: 1rem;
}
body.rbc-shop-surface ul.products li.product .price del { color: var(--rbc-ink-soft); font-weight: 400; }
body.rbc-shop-surface ul.products li.product .rbc-loop-cta { margin: 0.9rem 1.2rem 1.3rem; align-self: flex-start; }
body.rbc-shop-surface .woocommerce-breadcrumb {
    width: min(1280px, 100% - 8vw);
    margin: 1.2rem auto;
    font-family: var(--rbc-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rbc-ink-soft);
}

/* ---------------------------------------------------------------------
   11. PRODUCT PAGE — dark charcoal-blue world
   ------------------------------------------------------------------- */
body.single-product.rbc-likebud {
    background: linear-gradient(to top, #6f828c 0%, #8fa3ad 25%, #95adb5 50%, #82959f 75%, #6f828c 100%);
    background-size: 100% 280%;
    background-attachment: fixed;
    animation: rbc-gradient-vert 24s linear infinite;
    color: #fff;
}
@media (prefers-reduced-motion: reduce) {
    body.single-product.rbc-likebud { animation: none; }
}
/* Header turns translucent-dark with white text on the product page. */
body.single-product.rbc-likebud .rbc-header {
    background: rgba(35, 38, 41, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.16);
}
body.single-product.rbc-likebud .rbc-header__menu a { color: #fff; }
body.single-product.rbc-likebud .rbc-header__logo-img { filter: brightness(0) invert(1); }
body.single-product.rbc-likebud .rbc-header__icon,
body.single-product.rbc-likebud .rbc-header__toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.rbc-product-page {
    width: min(1500px, 100% - 5vw);
    margin: 1.5rem auto 4rem;
}
.rbc-product-breadcrumb-wrap {
    font-family: var(--rbc-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.2rem;
}
.rbc-product-breadcrumb-wrap a { color: #fff; }

/* product layout: gallery left, sticky summary right */
body.single-product.rbc-likebud div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
    gap: clamp(1.5rem, 3vw, 3.5rem);
    align-items: start;
}
body.single-product.rbc-likebud .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    opacity: 1 !important;
}
body.single-product.rbc-likebud .woocommerce-product-gallery__wrapper {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    transform: none !important;
    width: 100% !important;
}
body.single-product.rbc-likebud .woocommerce-product-gallery__image {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 26px 60px -34px rgba(0, 20, 40, 0.7);
}
body.single-product.rbc-likebud .woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; }
body.single-product.rbc-likebud .woocommerce-product-gallery__image img { display: block; width: 100%; }
/* hide the WC zoom/lightbox trigger chrome */
body.single-product.rbc-likebud .woocommerce-product-gallery__trigger { display: none; }

body.single-product.rbc-likebud .summary.entry-summary {
    position: sticky;
    top: 90px;
    align-self: start;
    background: rgba(40, 52, 60, 0.32);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: clamp(1.5rem, 2.2vw, 2.4rem);
    box-shadow: 0 30px 70px -40px rgba(0, 20, 40, 0.8);
}

.rbc-product-brand a {
    font-family: var(--rbc-mono);
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}
.rbc-product-title {
    margin: 0.6rem 0 0.3rem;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
}
.rbc-product-subtitle {
    margin: 0 0 0.8rem;
    font-family: var(--rbc-mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.82);
}
.rbc-product-price,
body.single-product.rbc-likebud .summary .price {
    margin: 0 0 1.4rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}
body.single-product.rbc-likebud .summary .price del { color: rgba(255,255,255,0.6); font-weight: 400; margin-right: 0.5rem; }
body.single-product.rbc-likebud .summary .price ins { text-decoration: none; }

/* Size selector chips */
.rbc-size-field { margin: 0 0 1.2rem; }
.rbc-size-field__label {
    display: block;
    font-family: var(--rbc-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.6rem;
}
.rbc-size-field__label em { font-style: normal; color: rgba(255, 255, 255, 0.6); }
.rbc-size-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rbc-size-input { position: absolute; opacity: 0; pointer-events: none; }
.rbc-size-options { gap: 0.7rem; }
.rbc-size-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    cursor: pointer;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.rbc-size-chip:hover { border-color: #fff; }
/* selected: bright red ring */
.rbc-size-input:checked + .rbc-size-chip {
    color: #fff;
    border-color: var(--rbc-red-bright);
    box-shadow: 0 0 0 1.5px var(--rbc-red-bright);
}
.rbc-size-input:focus-visible + .rbc-size-chip { outline: 2px solid var(--rbc-red-bright); outline-offset: 2px; }

/* Add to cart form */
.rbc-cart-form-wrapper { margin: 0 0 1.4rem; }
body.single-product.rbc-likebud form.cart {
    display: flex;
    align-items: stretch;
    gap: 0.7rem;
    flex-wrap: wrap;
}
body.single-product.rbc-likebud form.cart .quantity {
    display: inline-flex;
    align-items: center;
    border-radius: var(--rbc-pill);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    overflow: hidden;
}
body.single-product.rbc-likebud form.cart .quantity input.qty {
    width: 60px;
    min-height: 48px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}
/* badson: no quantity stepper on the product page (defaults to 1) */
body.single-product.rbc-likebud form.cart .quantity { display: none; }
body.single-product.rbc-likebud form.cart .single_add_to_cart_button {
    flex: 1 1 100%;
    width: 100%;
    min-height: 56px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    font-family: var(--rbc-font);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    background: transparent;
    box-shadow: none;
    transition: background 0.18s ease, color 0.18s ease;
}
body.single-product.rbc-likebud form.cart .single_add_to_cart_button:hover { background: #fff; color: #232629; }
body.single-product.rbc-likebud form.cart .single_add_to_cart_button.is-loading { opacity: 0.6; pointer-events: none; }

/* Info blocks (quality / shipping) */
.rbc-product-blocks { display: grid; gap: 0.8rem; margin: 1.4rem 0; }
.rbc-product-block {
    display: flex;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.rbc-product-block svg { flex-shrink: 0; color: #fff; }
.rbc-product-block > div { min-width: 0; }
.rbc-product-block strong { display: block; font-size: 0.92rem; overflow-wrap: anywhere; }
.rbc-product-block p { margin: 0.2rem 0 0; font-size: 0.82rem; color: rgba(255,255,255,0.8); line-height: 1.45; }
.rbc-product-block--shipping { flex-direction: column; gap: 0.9rem; min-width: 0; }
.rbc-shipping-row { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.rbc-shipping-row > div { flex: 1; min-width: 0; }
.rbc-shipping-row > div p { overflow-wrap: anywhere; }
.rbc-shipping-price { flex-shrink: 0; font-weight: 700; font-size: 0.92rem; white-space: nowrap; }

/* Accordion */
.rbc-accordion { margin: 1.4rem 0 0; border-top: 1px solid rgba(255,255,255,0.2); }
.rbc-accordion__item { border-bottom: 1px solid rgba(255,255,255,0.2); }
.rbc-accordion__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 0.2rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}
.rbc-accordion__head::-webkit-details-marker { display: none; }
/* badson: a "+" toggle on the right that rotates to "×" when open */
.rbc-accordion__chevron { display: none; }
.rbc-accordion__head::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    color: #fff;
    transition: transform 0.25s ease;
}
.rbc-accordion__item[open] .rbc-accordion__head::after { transform: rotate(45deg); }
.rbc-accordion__body {
    padding: 0 0.2rem 1.2rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}
.rbc-accordion__body p { margin: 0 0 0.7rem; }
.rbc-accordion__body table { width: 100%; border-collapse: collapse; margin: 0.6rem 0; font-size: 0.82rem; }
.rbc-accordion__body th,
.rbc-accordion__body td {
    text-align: left;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.rbc-accordion__body th { background: rgba(255, 255, 255, 0.08); font-weight: 700; }

/* Size guide tables */
.rbc-sizeguide { color: rgba(255,255,255,0.9); }
.rbc-size-table__title { margin: 1rem 0 0.4rem; font-size: 0.86rem; font-weight: 700; color: #fff; }
.rbc-size-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; margin-bottom: 0.8rem; }
.rbc-size-table th,
.rbc-size-table td { border: 1px solid rgba(255,255,255,0.18); padding: 0.4rem 0.55rem; text-align: left; }
.rbc-size-table th { background: rgba(255,255,255,0.08); font-weight: 700; }
.rbc-size-note { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-top: 0.5rem; }

/* Complete the outfit — light cards on the dark page */
.rbc-complete-outfit { color: #fff; }
.rbc-complete-outfit .rbc-section-heading .rbc-eyebrow { color: rgba(255,255,255,0.75); }
.rbc-complete-outfit .rbc-section-heading .rbc-h-sec { color: #fff; }
.rbc-complete-outfit .rbc-product-card { background: rgba(255,255,255,0.92); }
.rbc-complete-outfit .rbc-product-card__title a,
.rbc-complete-outfit .rbc-product-card__price { color: var(--rbc-ink); }
/* Solid dark CTA so it stands out on the light related-items card
   (the faint outline pill had almost no contrast). */
.rbc-complete-outfit .rbc-loop-cta {
    background: #232629; color: #fff; border-color: #232629;
}
.rbc-complete-outfit .rbc-loop-cta:hover { background: #000; color: #fff; }

/* ---------------------------------------------------------------------
   12. Side cart drawer
   ------------------------------------------------------------------- */
.rbc-side-cart {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
}
.rbc-side-cart.is-open { visibility: visible; pointer-events: auto; }
.rbc-side-cart__overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 32, 46, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.rbc-side-cart.is-open .rbc-side-cart__overlay { opacity: 1; }
/* High-contrast solid drawer (charcoal), matching the product page world. */
.rbc-side-cart__panel {
    position: absolute;
    top: 0; right: 0;
    height: 100%;
    width: min(440px, 100%);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #2c3239 0%, #1f2327 100%);
    color: #fff;
    border-left: 1px solid rgba(255,255,255,0.14);
    box-shadow: -40px 0 80px -30px rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.rbc-side-cart.is-open .rbc-side-cart__panel { transform: translateX(0); }
.rbc-side-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.16);
}
.rbc-side-cart__kicker {
    margin: 0; color: #fff; font-family: var(--rbc-mono);
    font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.rbc-side-cart__close {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.18s ease;
}
.rbc-side-cart__close:hover { background: rgba(255,255,255,0.2); }
.rbc-side-cart__body { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.rbc-side-cart__footer {
    padding: 1.3rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.16);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
body.rbc-cart-open { overflow: hidden; }

/* Drawer buttons mirror the product-page add-to-cart (square, uppercase). */
.rbc-side-cart__footer .rbc-button {
    --btn-bg: transparent; --btn-fg: #fff;
    box-sizing: border-box;   /* the <a> checkout button is content-box by default:
                                 without this, width:100% + padding overflowed the
                                 panel and made it taller than the <button>. */
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%;
    height: 54px; min-height: 54px;
    padding: 0 1.25rem;
    border-radius: 6px;
    line-height: 1;
    font-family: var(--rbc-font);
    font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: none;
}
.rbc-side-cart__footer .rbc-button::after { content: none; }
.rbc-side-cart__footer .rbc-button:hover { transform: translateY(-1px); box-shadow: none; }
/* Primary = solid white (highest contrast), Continue = white outline. */
.rbc-side-cart__checkout {
    background: #fff !important; color: #1f2327 !important; border: 1.5px solid #fff !important;
}
.rbc-side-cart__checkout:hover { background: #e9eef2 !important; }
.rbc-side-cart__continue {
    background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,0.75) !important;
}
.rbc-side-cart__continue:hover { background: rgba(255,255,255,0.12) !important; }

.rbc-cart-empty { color: rgba(255,255,255,0.8); text-align: center; padding: 2.5rem 1rem; }
.rbc-cart-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.rbc-cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; align-items: start; }
.rbc-cart-line__media img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; width: 64px; }
.rbc-cart-line__name { margin: 0; font-weight: 700; font-size: 0.88rem; line-height: 1.25; color: #fff; }
.rbc-cart-line__name a { color: #fff; }
.rbc-cart-line__meta { margin: 0.25rem 0 0; font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.rbc-cart-line__controls { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.55rem; }
.rbc-cart-line__price { font-weight: 700; font-size: 0.88rem; white-space: nowrap; color: #fff; }
.rbc-cart-line__remove {
    background: none; border: none; cursor: pointer;
    font-size: 0.74rem; color: rgba(255,255,255,0.65);
    text-decoration: underline; padding: 0;
}
.rbc-cart-line__remove:hover { color: #fff; }
.rbc-qty-stepper {
    display: inline-flex;
    align-items: center;
    border-radius: var(--rbc-pill);
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}
.rbc-qty-btn {
    width: 30px; height: 30px;
    background: none; border: none; cursor: pointer;
    font-size: 1rem; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.rbc-qty-btn:hover { background: rgba(255,255,255,0.16); }
.rbc-qty-val { min-width: 26px; text-align: center; font-weight: 700; font-size: 0.84rem; color: #fff; }
.rbc-cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.16);
    font-size: 1rem; color: #fff;
}
.rbc-cart-subtotal strong { font-size: 1.18rem; color: #fff; }

/* ---------------------------------------------------------------------
   13. Cart / Checkout / Account (WooCommerce surface)
   ------------------------------------------------------------------- */
body.rbc-woo-surface .woocommerce,
body.rbc-woo-surface .woocommerce-page,
body.rbc-woo-surface.woocommerce-cart .entry-content,
body.rbc-woo-surface.woocommerce-checkout .entry-content {
    width: min(1180px, 100% - 8vw);
    margin-inline: auto;
}
body.rbc-woo-surface { color: var(--rbc-ink); }

.rbc-checkout-note {
    width: min(1180px, 100% - 8vw);
    margin: 1.4rem auto;
    padding: 0.9rem 1.2rem;
    border-radius: var(--rbc-radius-sm);
    background: var(--rbc-glass);
    border: 1px solid var(--rbc-glass-border);
    font-size: 0.86rem;
    color: var(--rbc-ink-soft);
}
.rbc-checkout-note strong { color: var(--rbc-ink); }

.rbc-checkout-summary {
    margin: 0 0 2rem;
    padding: 1.4rem 1.5rem;
    border-radius: var(--rbc-radius);
    background: var(--rbc-glass);
    border: 1px solid var(--rbc-glass-border);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--rbc-shadow-soft);
}
.rbc-checkout-summary__title { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800; }
.rbc-checkout-summary__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.rbc-checkout-summary__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 0.8rem; align-items: center; }
.rbc-checkout-summary__media { position: relative; display: block; width: 52px; }
.rbc-checkout-summary__media img { border-radius: 8px; width: 52px; aspect-ratio: 4/5; object-fit: cover; display: block; }
.rbc-checkout-summary__qty {
    position: absolute; top: -8px; right: -8px;
    min-width: 20px; height: 20px; padding: 0 5px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: #6b7783; color: #fff;
    font-size: 0.68rem; font-weight: 700; line-height: 1;
    box-shadow: 0 0 0 2px #fff;
}
.rbc-checkout-summary__name { display: block; font-weight: 700; font-size: 0.86rem; }
.rbc-checkout-summary__meta { display: block; font-size: 0.74rem; color: var(--rbc-ink-soft); }
.rbc-checkout-summary__price { font-weight: 700; font-size: 0.88rem; }
.rbc-checkout-summary__subtotal {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 1rem; padding-top: 0.9rem;
    border-top: 1px solid var(--rbc-line);
}

/* Generic WC notices, tables, forms, buttons in the light world */
body.rbc-woo-surface .woocommerce-message,
body.rbc-woo-surface .woocommerce-info,
body.rbc-woo-surface .woocommerce-error,
body.rbc-woo-surface .woocommerce-noreviews {
    border-radius: var(--rbc-radius-sm);
    border: 1px solid var(--rbc-glass-border);
    background: var(--rbc-glass-strong);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--rbc-ink);
    box-shadow: var(--rbc-shadow-soft);
}
body.rbc-woo-surface .woocommerce-message::before,
body.rbc-woo-surface .woocommerce-info::before { color: var(--rbc-accent); }

body.rbc-woo-surface table.shop_table,
body.rbc-woo-surface .cart_totals table {
    border-radius: var(--rbc-radius);
    overflow: hidden;
    border: 1px solid var(--rbc-glass-border);
    background: var(--rbc-glass);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
body.rbc-woo-surface table.shop_table th,
body.rbc-woo-surface table.shop_table td { border-top-color: var(--rbc-line); }

body.rbc-woo-surface .woocommerce form .form-row input.input-text,
body.rbc-woo-surface .woocommerce form .form-row textarea,
body.rbc-woo-surface .woocommerce form .form-row select,
body.rbc-woo-surface .select2-container--default .select2-selection--single {
    border-radius: var(--rbc-radius-sm);
    border: 1px solid var(--rbc-line-strong);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.7rem 0.85rem;
    min-height: 46px;
    color: var(--rbc-ink);
}

/* Primary WooCommerce buttons → glossy pill (light world) */
body.rbc-woo-surface .woocommerce a.button,
body.rbc-woo-surface .woocommerce button.button,
body.rbc-woo-surface .woocommerce input.button,
body.rbc-woo-surface .woocommerce .button.alt,
body.rbc-woo-surface #place_order {
    border-radius: var(--rbc-pill);
    border: 1px solid var(--rbc-glass-border);
    background: var(--rbc-glass-strong);
    color: var(--rbc-ink);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.8rem 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 14px 30px -16px rgba(28,56,84,0.6);
    transition: transform 0.18s ease;
}
body.rbc-woo-surface .woocommerce .button.alt,
body.rbc-woo-surface #place_order {
    color: #08240e;
    border-color: rgba(255,255,255,0.6);
    background:
        radial-gradient(120% 140% at 28% 18%, rgba(255,255,255,0.55), rgba(255,255,255,0) 45%),
        linear-gradient(180deg, #6fe07a 0%, #45c050 40%, #2e9535 100%);
}
body.rbc-woo-surface .woocommerce a.button:hover,
body.rbc-woo-surface .woocommerce button.button:hover,
body.rbc-woo-surface #place_order:hover { transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   13c. Legal / institutional pages (About, Terms, Privacy & Cookie)
   ------------------------------------------------------------------- */
/* Bilingual EN/IT sections are separated by a small labelled divider so the
   two language blocks read as distinct without a multilingual plugin. */
body.rbc-likebud .rbc-legal__lang {
    margin: 2.4rem 0 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rbc-line, rgba(20,40,60,0.12));
    font-family: var(--rbc-mono, monospace);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rbc-ink-soft, #5b6b78);
}
body.rbc-likebud .rbc-legal__lang:first-child { margin-top: 0.5rem; border-top: none; padding-top: 0; }

/* ---------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------- */
.rbc-footer {
    position: relative;
    margin-top: clamp(3rem, 7vw, 6rem);
    color: #eaf2f8;
    background:
        radial-gradient(140% 120% at 15% -10%, rgba(120, 175, 220, 0.3), rgba(0,0,0,0) 45%),
        linear-gradient(180deg, #2c3942 0%, #232629 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.rbc-footer__inner {
    width: min(1280px, 100% - 8vw);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}
body.rbc-likebud .rbc-footer__logo {
    height: 30px !important;
    width: auto !important;
    max-width: 132px !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}
.rbc-footer__wordmark { font-size: 1.6rem; font-weight: 800; letter-spacing: 0.05em; margin: 0; }
.rbc-footer__tagline { margin: 0.9rem 0 0; max-width: 32ch; color: rgba(234, 242, 248, 0.7); font-size: 0.88rem; line-height: 1.5; }
.rbc-footer__heading {
    font-family: var(--rbc-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(234, 242, 248, 0.55);
    margin: 0 0 1rem;
}
.rbc-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.rbc-footer__col a { color: rgba(234, 242, 248, 0.85); font-size: 0.9rem; transition: color 0.18s ease; }
.rbc-footer__col a:hover { color: #fff; }
.rbc-footer__instagram {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: rgba(234, 242, 248, 0.85);
    font-size: 0.9rem;
}
.rbc-footer__instagram:hover { color: #fff; }
.rbc-footer__company {
    width: min(1280px, 100% - 8vw);
    margin-inline: auto;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.rbc-footer__company-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.78rem; color: rgba(234, 242, 248, 0.6); }
.rbc-footer__company-list a { color: rgba(234, 242, 248, 0.78); }
.rbc-footer__company-note { margin: 0.8rem 0 0; font-size: 0.72rem; color: rgba(234, 242, 248, 0.4); }
.rbc-footer__bottom {
    width: min(1280px, 100% - 8vw);
    margin-inline: auto;
    padding: 1.4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(234, 242, 248, 0.55);
}
.rbc-footer__bottom p { margin: 0; }

/* ---------------------------------------------------------------------
   15. Responsive
   ------------------------------------------------------------------- */
@media (max-width: 980px) {
    .rbc-editorial__inner { grid-template-columns: 1fr; }
    .rbc-footer__inner { grid-template-columns: 1fr 1fr; }
    body.single-product.rbc-likebud div.product { grid-template-columns: 1fr; }
    body.single-product.rbc-likebud .summary.entry-summary { position: static; }
}

@media (max-width: 768px) {
    /* Drop the announcement bar on phones; header sits flush at the top. */
    body.rbc-likebud { --rbc-topbar-h: 0px; --rbc-header-h: 58px; }
    .rbc-topbar { display: none; }
    .rbc-header__nav { display: none; }
    .rbc-header__toggle { display: inline-flex; }
    .rbc-header__logo, .rbc-header__logo-img,
    body.rbc-likebud .rbc-header__logo-img { height: 28px !important; }
    .rbc-hero { min-height: 86vh; min-height: 86svh; }
    .rbc-section-heading { align-items: flex-start; }
    .rbc-closing-note__inner { flex-direction: column; align-items: flex-start; }
    .rbc-footer__inner { grid-template-columns: 1fr; }
    body.single-product.rbc-likebud .woocommerce-product-gallery__wrapper { grid-template-columns: 1fr; }
    body.single-product.rbc-likebud .woocommerce-product-gallery__image:first-child { grid-column: auto; }
}

@media (max-width: 480px) {
    .rbc-h-xl { font-size: clamp(2.1rem, 11vw, 3.2rem); }
    .rbc-cart-line { grid-template-columns: 56px 1fr; }
    .rbc-cart-line__price { grid-column: 2; }
}

/* ---------------------------------------------------------------------
   16. Hide leftover block-theme header chrome on storefront pages
   ------------------------------------------------------------------- */
body.rbc-likebud .wp-block-template-part[data-area="header"]:not(.rbc-header),
body.rbc-likebud > .wp-site-blocks > header:not(.rbc-header) { display: none; }

/* =====================================================================
   17. BADSON STRUCTURE — homepage (hero45 / collections / spotlight)
   ===================================================================== */
.rbc-home { display: block; width: 100%; }

/* ── hero_top: full-bleed banner (video) ── */
.rbc-hero45 {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #0a0d10;
    line-height: 0;
}
.rbc-hero45__link,
.rbc-hero45__frame { display: block; width: 100%; height: 100%; }
.rbc-hero45__frame { position: relative; background-size: cover; background-position: center; }
.rbc-hero45__media { width: 100%; height: 100%; object-fit: cover; display: block; }
.rbc-hero45__scrim {
    position: absolute; inset: 0;
    /* Darker at the very top so the transparent header's white nav/logo
       always has enough contrast, then dark again at the bottom for the title. */
    background: linear-gradient(180deg,
        rgba(10,16,22,0.58) 0%,
        rgba(10,16,22,0.18) 14%,
        rgba(10,16,22,0) 34%,
        rgba(10,16,22,0.12) 58%,
        rgba(10,16,22,0.8) 100%);
}
.rbc-hero45__overlay {
    position: absolute; left: 0; right: 0; bottom: clamp(2rem, 6vh, 5rem);
    padding: 0 clamp(1.5rem, 6vw, 6rem);
    z-index: 2; color: #fff; pointer-events: none; line-height: 1.1;
}
.rbc-hero45__overlay .rbc-eyebrow { color: rgba(255,255,255,0.85); margin: 0; }
.rbc-hero45__title {
    margin: 0.5rem 0 0; font-weight: 800;
    font-size: clamp(2.6rem, 7vw, 6rem); line-height: 0.96; letter-spacing: -0.03em;
    text-shadow: 0 8px 40px rgba(0,20,40,0.5);
}
.rbc-hero45__scroll { display: inline-block; margin-top: 0.9rem; color: rgba(255,255,255,0.8); }

/* ── collections: full-width 4-col product grid ── */
.rbc-collections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 0;
    background: #0a0d10;
    /* Breathing room between the hero video and the product grid. */
    margin-top: clamp(2rem, 5vw, 4.5rem);
}
.rbc-collections__cell {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 4 / 5; background: #0a0d10; line-height: 0;
}
.rbc-collections__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.rbc-collections__cell:hover .rbc-collections__img { transform: scale(1.04); }
.rbc-collections__overlay { position: absolute; inset: 0; background: rgba(10,16,22,0.58); opacity: 0; transition: opacity 0.35s ease; z-index: 1; }
.rbc-collections__cell:hover .rbc-collections__overlay { opacity: 1; }
.rbc-collections__info {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
    text-align: center; padding: 1rem; opacity: 0; transition: opacity 0.35s ease; line-height: 1.2;
}
.rbc-collections__cell:hover .rbc-collections__info { opacity: 1; }
.rbc-collections__name {
    color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
    font-size: clamp(0.78rem, 1.05vw, 1.05rem); line-height: 1.18; max-width: 22ch;
    -webkit-text-stroke: 0.3px #fff;
}
.rbc-collections__price { color: #fff; font-family: var(--rbc-mono); font-size: 0.8rem; }
.rbc-collections__price del { opacity: 0.6; margin-right: 0.3rem; font-weight: 400; }
.rbc-collections__price ins { text-decoration: none; }

/* ── horizontal slider: scroll-snap panels (badson .hero) ── */
.rbc-hslider {
    position: relative; width: 100%;
    height: 90vh; height: 90svh;
    overflow: hidden; background: #0a0d10;
    /* Breathing room between the product grid and the outfit carousel. */
    margin-top: clamp(2rem, 5vw, 4.5rem);
}
.rbc-hslider__track {
    display: flex; height: 100%; width: 100%;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.rbc-hslider__track::-webkit-scrollbar { display: none; }
.rbc-hslider__slide {
    position: relative; flex: 0 0 50%; width: 50%; height: 100%;
    scroll-snap-align: start; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    isolation: isolate;
}
.rbc-hslider__link { position: absolute; inset: 0; display: block; z-index: 0; }
.rbc-hslider__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.rbc-hslider__slide:hover .rbc-hslider__img { transform: scale(1.04); }
.rbc-hslider__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,22,0.08) 40%, rgba(10,16,22,0.66) 100%); }
.rbc-hslider__content {
    position: relative; z-index: 2; pointer-events: none;
    padding: clamp(1.5rem, 4vw, 3rem);
}
.rbc-hslider__title {
    margin: 0; color: #fff; font-weight: 800; text-transform: uppercase;
    font-size: clamp(1.5rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -0.02em;
    -webkit-text-stroke: 1px rgba(255,255,255,0.85);
}
.rbc-hslider__desc {
    margin: 0.7rem 0 0; color: rgba(255,255,255,0.85);
    font-family: var(--rbc-mono); font-size: 0.82rem; letter-spacing: 0.04em;
}
.rbc-hslider__desc del { opacity: 0.6; margin-right: 0.3rem; }
.rbc-hslider__desc ins { text-decoration: none; }
.rbc-hslider__header {
    position: absolute; top: clamp(1rem, 3vh, 2rem); left: clamp(1.2rem, 4vw, 3rem); z-index: 3; margin: 0;
    font-family: var(--rbc-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
}
.rbc-hslider__dots {
    position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
    z-index: 4; display: flex; gap: 0.5rem;
}
.rbc-hslider__dot {
    width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.4); padding: 0; transition: background 0.2s ease, transform 0.2s ease;
}
.rbc-hslider__dot.is-active { background: #fff; transform: scale(1.15); }

/* =====================================================================
   18. BADSON STRUCTURE — product page (.pp scrolling gallery + sticky)
   ===================================================================== */
.rbc-pp-notices { width: min(1100px, 100% - 8vw); margin: 0 auto; }
.rbc-pp-notices:empty { display: none; }
/* override the legacy 2-col product grid */
body.single-product.rbc-likebud div.product.rbc-pp-product { display: block; }

/* The theme does not force border-box on these nodes, so `width:100%` + padding
   made the summary column wider than the screen and clipped the title / price
   on the right. Force border-box across the whole product layout. */
body.single-product.rbc-likebud div.product,
body.single-product.rbc-likebud div.product *,
body.single-product.rbc-likebud div.product *::before,
body.single-product.rbc-likebud div.product *::after {
    box-sizing: border-box;
}

.pp { position: relative; width: 100%; }
.pp__layout { display: flex; align-items: flex-start; width: 100%; }

.pp__gallery { width: 58%; flex-shrink: 0; }
.pp__scrollcol { display: flex; flex-direction: column; }
.pp__slide { width: 100%; line-height: 0; }
.pp__slide-img, .pp__slide img { width: 100%; height: auto; display: block; }

/* Mobile pagination dots (hidden on desktop) */
.pp__dots { display: none; justify-content: center; gap: 0.5rem; padding: 0.9rem 0 0.2rem; }
.pp__dot {
    width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
    background: rgba(255,255,255,0.45); transition: background 0.2s ease, transform 0.2s ease;
}
.pp__dot.is-active { background: #fff; transform: scale(1.2); }

/* The whole summary column floats (sticky) and stays in view while you scroll
   the photos. It is a SINGLE scroll container (max-height + overflow-y): if the
   content is taller than the viewport it scrolls inside; otherwise the wheel
   chains to the page. No nested scroll = no "stops scrolling" trap. */
.pp__stickyright {
    flex: 1; min-width: 0;
    position: sticky;
    top: calc(var(--rbc-topbar-h) + var(--rbc-header-h));
    align-self: flex-start;
    max-height: calc(100vh - var(--rbc-topbar-h) - var(--rbc-header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    display: flex; gap: 1rem;
    padding: 1.4rem clamp(1rem, 2.5vw, 2.6rem) 1.4rem 1.2rem;
}
.pp__stickyright::-webkit-scrollbar { display: none; }
.pp__thumbs {
    width: 62px; flex-shrink: 0;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.pp__thumbs::-webkit-scrollbar { display: none; }
.pp__thumb {
    flex-shrink: 0; padding: 0; border: 1px solid transparent; border-radius: 8px;
    overflow: hidden; cursor: pointer; background: none; opacity: 0.5;
    aspect-ratio: 4 / 5; transition: opacity 0.2s ease, border-color 0.2s ease;
}
.pp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp__thumb.is-active, .pp__thumb:hover { opacity: 1; border-color: rgba(255,255,255,0.85); }

.pp__panel {
    flex: 1; min-width: 0;
    overflow-x: hidden; scrollbar-width: none;
    padding-right: 0.4rem; color: #fff;
}
.pp__panel::-webkit-scrollbar { display: none; }
.pp__brand a { font-family: var(--rbc-mono); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.pp__title { margin: 0.5rem 0 0.2rem; font-weight: 800; font-size: clamp(1.4rem, 2vw, 2.1rem); line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase; color: #fff; }
.pp__subtitle { margin: 0 0 0.7rem; font-family: var(--rbc-mono); font-size: 0.74rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.8); }
.pp__price { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 1.1rem; }
.pp__price del { color: rgba(255,255,255,0.6); font-weight: 400; margin-right: 0.4rem; }
.pp__price ins { text-decoration: none; }
.pp__desc { font-size: 0.9rem; line-height: 1.55; color: rgba(255,255,255,0.82); margin-bottom: 1.2rem; }
.pp__desc p { margin: 0 0 0.5rem; }

.rbc-pp-after { width: 100%; }

@media (max-width: 980px) {
    .rbc-collections { grid-template-columns: repeat(2, 1fr); }
    .rbc-hslider { height: 78vh; height: 78svh; }
    .rbc-hslider__slide { flex: 0 0 100%; width: 100%; }
    /* Title sits close to the bottom of the photo; dots get clear breathing
       room below it (and away from the photo edge). */
    .rbc-hslider__content { padding: clamp(1.2rem, 4vw, 2rem) clamp(1.2rem, 5vw, 2rem) 3.2rem; }
    .rbc-hslider__title { margin: 0; }
    .rbc-hslider__dots { bottom: 1.2rem; }
    /* Mobile homepage first section: show ONLY the product photos. */
    .rbc-collections__info { display: none; }
    .rbc-collections__overlay { opacity: 0; }
    .rbc-collections__cell::after { content: none; }
    /* Featured slider keeps the name but never the price on mobile. */
    .rbc-hslider__desc { display: none; }

    .pp__layout { flex-direction: column; }
    .pp__gallery { width: 100%; }
    /* Mobile: product photos become a horizontal swipe carousel (badson PP) */
    .pp__scrollcol {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .pp__scrollcol::-webkit-scrollbar { display: none; }
    .pp__slide { flex: 0 0 100%; scroll-snap-align: start; }
    .pp__slide-img, .pp__slide img { aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
    .pp__stickyright {
        position: static; height: auto; width: 100%; max-width: 100%;
        max-height: none; /* reset the desktop sticky cap so the box matches its
                             content height and the next section can't overlap it */
        flex-direction: column; gap: 0.8rem; padding: 1.2rem clamp(1rem, 5vw, 2rem) 2rem; overflow: visible;
    }
    /* extra clearance so "Related items" never collides with the summary */
    .rbc-pp-after { clear: both; margin-top: 1.5rem; }
    /* badson mobile: dots under the carousel instead of the thumbnail rail */
    .pp__thumbs { display: none; }
    .pp__dots { display: flex; }
    .pp__panel { height: auto; overflow: visible; overflow-wrap: anywhere; padding-right: 0; }
    /* Keep every part of the product layout inside the viewport on phones:
       nothing may push past the right margin. Clamp at the scroll root (html)
       AND every layout container so a stray wide child can't widen the page. */
    html, body.single-product.rbc-likebud { overflow-x: hidden; max-width: 100%; }
    body.single-product.rbc-likebud div.product.rbc-pp-product,
    .rbc-pp-notices, .pp, .pp__layout, .pp__gallery, .pp__scrollcol,
    .pp__stickyright, .pp__panel, .rbc-pp-after {
        width: 100%; max-width: 100%; min-width: 0;
    }
    .pp__slide, .pp__slide-img, .pp__slide img { max-width: 100%; }
    body.single-product.rbc-likebud form.cart,
    body.single-product.rbc-likebud form.cart .single_add_to_cart_button {
        max-width: 100%;
    }
    /* Wide tables (size guide / attributes) scroll inside the panel instead
       of stretching it off-screen. */
    .pp__panel table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
}

@media (max-width: 560px) {
    .rbc-collections { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   19. ARCHIVE (shop / category) — full-bleed badson collections grid
   ===================================================================== */
/* Hide the default WooCommerce / block-theme archive chrome so only our
   own intro remains (kills the duplicate title + result count + sorting). */
body.rbc-shop-surface .woocommerce-products-header,
body.rbc-shop-surface .woocommerce-result-count,
body.rbc-shop-surface .woocommerce-ordering,
body.rbc-shop-surface .wp-block-woocommerce-catalog-sorting,
body.rbc-shop-surface .wp-block-woocommerce-product-results-count,
body.rbc-shop-surface .wp-block-query-title,
body.rbc-shop-surface .wp-block-term-description,
body.rbc-shop-surface .term-description,
body.rbc-shop-surface .woocommerce-no-products-found > .woocommerce-info { display: none !important; }

/* Break the archive out of the theme's constrained wrapper. */
body.rbc-shop-surface .woocommerce,
body.rbc-shop-surface .woocommerce-page,
body.rbc-shop-surface main .is-layout-constrained,
body.rbc-shop-surface main .wp-block-group {
    max-width: none !important;
    width: 100% !important;
}

/* Category pages: drop our big heading too — keep ONLY the breadcrumb
   before the product grid (per request). */
body.rbc-shop-surface .rbc-shop-intro { display: none !important; }

/* Breadcrumb: a slim band above the grid. */
body.rbc-shop-surface .woocommerce-breadcrumb {
    width: 100%;
    margin: 0 auto;
    padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1.2rem, 5vw, 3rem);
    font-family: var(--rbc-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rbc-ink-soft);
}

/* Product grid → full-bleed 4-col image grid with name/price caption. */
body.rbc-shop-surface ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    background: #0a0d10;
}
body.rbc-shop-surface ul.products li.product {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden;
    background: #0a0d10; border: none !important; border-radius: 0 !important;
    box-shadow: none !important; padding: 0 !important; margin: 0 !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.rbc-shop-surface ul.products li.product:hover { transform: none; box-shadow: none !important; }
body.rbc-shop-surface ul.products li.product a.woocommerce-LoopProduct-link { position: static; display: block; }
body.rbc-shop-surface ul.products li.product img,
body.rbc-shop-surface ul.products li.product a img {
    position: absolute; inset: 0; width: 100% !important; height: 100% !important;
    object-fit: cover; aspect-ratio: auto; margin: 0; transition: transform 0.6s ease;
}
body.rbc-shop-surface ul.products li.product:hover img { transform: scale(1.04); }
body.rbc-shop-surface ul.products li.product::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(10,16,22,0) 42%, rgba(10,16,22,0.74) 100%);
}
body.rbc-shop-surface ul.products li.product .woocommerce-loop-product__title {
    position: absolute; left: 0; right: 0; bottom: 3.6rem; z-index: 2;
    padding: 0 clamp(0.8rem, 1.4vw, 1.3rem); margin: 0; text-align: left;
    color: #fff; font-weight: 800; text-transform: uppercase;
    font-size: clamp(0.75rem, 0.95vw, 1rem); line-height: 1.15; letter-spacing: 0.02em;
    -webkit-text-stroke: 0.3px #fff;
}
/* Category/shop cards show ONLY the name + CTA — never the price. */
body.rbc-shop-surface ul.products li.product .price { display: none !important; }
/* Bring back the loop CTA ("Scopri") as a pill on the image overlay. */
body.rbc-shop-surface ul.products li.product .rbc-loop-cta {
    display: inline-flex !important; align-items: center; gap: 0.4rem;
    position: absolute; left: clamp(0.8rem, 1.4vw, 1.3rem); bottom: 1rem; z-index: 2;
    margin: 0; padding: 0.5rem 0.85rem;
    color: #fff; background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7); border-radius: var(--rbc-pill);
    font-family: var(--rbc-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
    -webkit-text-stroke: 0;
}
body.rbc-shop-surface ul.products li.product .rbc-loop-cta:hover {
    background: #fff; color: #0a0d10; transform: none;
}
/* drop the native add-to-cart / sale badge — the CTA links to the product */
body.rbc-shop-surface ul.products li.product .button,
body.rbc-shop-surface ul.products li.product .added_to_cart,
body.rbc-shop-surface ul.products li.product .onsale { display: none !important; }

@media (max-width: 980px) {
    body.rbc-shop-surface ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
    body.rbc-shop-surface ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    body.rbc-shop-surface ul.products li.product .woocommerce-loop-product__title { font-size: 0.7rem; bottom: 3.2rem; }
}

/* =====================================================================
   20. ARCHIVE v2 — custom template grid (name + CTA, no price)
   ===================================================================== */
.rbc-archive { display: block; width: 100%; }
.rbc-archive__breadcrumb {
    padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1.2rem, 5vw, 3rem) 0;
    font-family: var(--rbc-mono); font-size: 0.7rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--rbc-ink-soft);
}
.rbc-archive__breadcrumb a { color: var(--rbc-ink-soft); }
.rbc-archive__breadcrumb a:hover { color: var(--rbc-ink); }
.rbc-archive__breadcrumb span { color: var(--rbc-ink); }
.rbc-archive__intro { padding: clamp(1rem, 3vw, 2rem) clamp(1.2rem, 5vw, 3rem) clamp(1.4rem, 3vw, 2.2rem); }
.rbc-archive__title { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
.rbc-archive__subtitle { margin: 0.6rem 0 0; max-width: 60ch; color: var(--rbc-ink-soft); font-size: clamp(0.95rem, 1.2vw, 1.1rem); line-height: 1.5; }

.rbc-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    background: #0a0d10;
}
.rbc-archive__cell {
    position: relative; overflow: hidden; isolation: isolate;
    aspect-ratio: 4 / 5; background: #0a0d10; line-height: 0;
}
.rbc-archive__link { position: absolute; inset: 0; display: block; }
.rbc-archive__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.rbc-archive__cell:hover .rbc-archive__img { transform: scale(1.04); }
.rbc-archive__shade {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(10,16,22,0) 38%, rgba(10,16,22,0.82) 100%);
}
.rbc-archive__info {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem;
    padding: clamp(1rem, 1.8vw, 1.6rem); line-height: 1.15;
}
.rbc-archive__name {
    margin: 0; color: #fff; font-weight: 800; text-transform: uppercase;
    font-size: clamp(0.85rem, 1vw, 1.1rem); line-height: 1.18; letter-spacing: 0.01em;
    -webkit-text-stroke: 0.3px #fff;
}
.rbc-archive__name a { color: #fff; }
/* Solid pill so the CTA reads clearly over any product photo (the old white
   outline + white text disappeared on light areas of the image). */
.rbc-archive__cta {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.6rem 1.05rem; border-radius: var(--rbc-pill);
    color: #0a0d10; background: #fff; border: 1px solid #fff;
    font-family: var(--rbc-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 6px 18px -8px rgba(0,0,0,0.55);
    transition: background 0.18s ease, color 0.18s ease;
}
.rbc-archive__cta:hover { background: #0a0d10; color: #fff; border-color: #0a0d10; }

.rbc-archive__pagination { padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 5vw, 3rem); }
.rbc-archive__pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rbc-archive__pagination a, .rbc-archive__pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 0.6rem; border-radius: var(--rbc-pill);
    border: 1px solid var(--rbc-line-strong); color: var(--rbc-ink);
    font-family: var(--rbc-mono); font-size: 0.8rem;
}
.rbc-archive__pagination .current { background: var(--rbc-ink); color: #fff; border-color: var(--rbc-ink); }
.rbc-archive__pagination a:hover { background: var(--rbc-ink); color: #fff; border-color: var(--rbc-ink); }
.rbc-archive__empty { padding: clamp(2rem, 6vw, 5rem) clamp(1.2rem, 5vw, 3rem); color: var(--rbc-ink-soft); }

@media (max-width: 980px) {
    .rbc-archive__grid { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile: one product per scroll (single column, full-width cells). */
@media (max-width: 600px) {
    .rbc-archive__grid { grid-template-columns: 1fr; gap: 0; }
    .rbc-archive__cell { aspect-ratio: 4 / 5; }
    .rbc-archive__name { font-size: 1.05rem; }
    .rbc-archive__cta { font-size: 0.7rem; }
}
