/**
* Scopione Shop Landing Page Styles
* 
* Extracted from shop-landing.php
* Enqueue with: wp_enqueue_style( 'scopione-shop-landing', ... )
* 
* @package Scopione
*/

/* ==========================================================================
CSS Custom Properties
   ========================================================================== */

body.woocommerce-shop,
body.post-type-archive-product {
    /* Brand colors */
    --scopione-yellow: #ffbe3d;
    --scopione-accent: var(--scopione-yellow);

    /* Typography scale — shop page only */
    --shop-h1: clamp(1.9rem, 4.5vw, 2.75rem);
    --shop-h2: clamp(1.55rem, 3.2vw, 2.1rem);
    --shop-h3: clamp(1.1rem, 2vw, 1.25rem);
    --shop-body: clamp(0.9rem, 1.5vw, 1rem);
    --shop-small: clamp(0.75rem, 1.2vw, 0.85rem);

    /* Improved contrast text colors */
    --shop-text-bright: rgba(255,255,255,0.92);
    --shop-text-medium: rgba(255,255,255,0.82);
    --shop-text-dim: rgba(255,255,255,0.65);

    /* Consistent section spacing — tightened for desktop */
    --shop-section-gap: clamp(1.5rem, 2.5vw, 2rem);
    --shop-section-gap-sm: clamp(1rem, 2vw, 1.5rem);
}


/* ==========================================================================
   Section 1 — Hero
   ========================================================================== */

/* Hero section base */
body.woocommerce-shop section.scopione-shop-hero,
body.woocommerce-shop section.scopione-shop-hero.scopione-shop-hero--sculpted {
    position: relative;
    background: url("/wp-content/themes/scopione/img/cat-bg-2.jpg") center / cover no-repeat;
    padding: 1.75rem 0 var(--shop-section-gap) 0; /* bottom-padding matches Section Spacing Rhythm */
    overflow: hidden;
    color: #fff;
    text-align: center;
    isolation: isolate;
}

/* Hero container */
body.woocommerce-shop .shop-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 3;
}

/* Breadcrumbs – softer, tighter (matched to About page) */
body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs {
    font-size: 0.7rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    color: rgba(255,255,255,0.52); /* raised to ~4.5:1 on #111 for WCAG AA */
    font-weight: 500;
}

body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs .yoast-breadcrumbs {
    display: inline-block;
}

body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs a,
body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs a:visited {
    color: rgba(255,255,255,0.55); /* raised for WCAG AA */
    text-decoration: none;
    transition: color 0.2s ease;
}

body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs a:hover {
    color: var(--scopione-yellow);
}

body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs a:focus-visible {
    color: var(--scopione-yellow);
    outline: 2px solid var(--scopione-yellow);
    outline-offset: 2px;
}

body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs .yoast-breadcrumbs span.separator {
    margin: 0 0.35em;
    color: rgba(255,255,255,0.50); /* ~5.3:1 on #111 — passes WCAG AA */
    transition: color 0.24s ease-in-out;
}

body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs .yoast-breadcrumbs a:hover + span.separator,
body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs .yoast-breadcrumbs a:focus-visible + span.separator {
    color: var(--scopione-yellow);
}

body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs span.current {
    color: rgba(255,255,255,0.62); /* raised for WCAG AA */
    font-weight: 600;
}

/* Gold accent HR — SHARED GRADIENT (also used in .shop-hero-headline::after)
   If you change this gradient, update both locations. */
body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    max-width: 280px;
    margin: 1rem auto 1.25rem;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,190,61,0.3) 30%,
        rgba(255,190,61,0.5) 50%,
        rgba(255,190,61,0.3) 70%,
        transparent
    );
}

@media (max-width: 768px) {
    body.woocommerce-shop section.scopione-shop-hero .scopione-breadcrumbs::after {
        max-width: 180px;
    }
}


/* ==========================================================================
   Section 2 — Hero Typography
   ========================================================================== */

/* Hero H1 */
body.woocommerce-shop section.scopione-shop-hero .shop-hero-headline {
    font-size: var(--shop-h1);
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.85rem 0;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* Gold underline accent — SHARED GRADIENT (also used in .scopione-breadcrumbs::after)
   If you change this gradient, update both locations. */
body.woocommerce-shop section.scopione-shop-hero .shop-hero-headline::after {
    content: "";
    display: block;
    height: 1px;
    max-width: 280px;
    width: 100%;
    margin: 0.75rem auto 0;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,190,61,0.3) 30%,
        rgba(255,190,61,0.5) 50%,
        rgba(255,190,61,0.3) 70%,
        transparent
    );
}

@media (max-width: 600px) {
    body.woocommerce-shop section.scopione-shop-hero .shop-hero-headline::after {
        max-width: 180px;
        margin: 0.6rem auto 0;
    }
}

/* Hero subtext */
body.woocommerce-shop section.scopione-shop-hero .shop-hero-subtext {
    font-size: var(--shop-body);
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
    margin: 0 auto 1.5rem;
    max-width: 780px;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

/* Gradient highlight text (1,000+ parts...) */
body.woocommerce-shop section.scopione-shop-hero .shop-hero-highlight {
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, var(--scopione-yellow) 0%, #fff 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Brand names in subtext */
body.woocommerce-shop section.scopione-shop-hero .shop-hero-subtext strong {
    font-weight: 500;
    color: #fff;
}

/* Yellow accent text (precision fitment, high-performance finish) */
body.woocommerce-shop section.scopione-shop-hero .shop-hero-accent {
    color: var(--scopione-yellow);
    font-weight: 600;
}

/* Section eyebrows/labels — consistent small caps */
body.woocommerce-shop section.scopione-shop-hero .shop-eyebrow,
body.woocommerce-shop .reviews-eyebrow,
body.woocommerce-shop .gallery-section-eyebrow {
    font-size: var(--shop-small);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--shop-text-dim);
    font-weight: 600;
}


/* ==========================================================================
   Section 3
   ========================================================================== */

/* ===== VEHICLE CHIPS (Scopione /shop/) ===== */

body.woocommerce-shop .scopione-vehicle-chips.scopione-vehicle-chips--elevated {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:.6rem .9rem;
    margin:0 auto 1.5rem;
    max-width:950px;

    font-size:.82rem;
    line-height:1.3;
    font-weight:500;
    letter-spacing:0.015em;
}

/* Each chip: forged / machined aesthetic */
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item {
    position:relative;
    background:linear-gradient(
    180deg,
    rgba(15,15,15,0.95) 0%,
    rgba(25,25,25,0.9) 100%
    );
    border:1px solid rgba(255,255,255,0.12);
    border-radius:6px;
    padding: 0.6rem 0.95rem;       /* ✅ Increased tap target */
    min-height: 44px;              /* ✅ Accessibility minimum */
    color:#fff;
    text-decoration:none;
    text-transform:capitalize;
    letter-spacing:0.015em;
    display: inline-flex;          /* ✅ Better vertical centering */
    align-items: center;
    justify-content: center;

    box-shadow:
    inset 0 0 10px rgba(255,190,61,0.06),
    0 4px 12px rgba(0,0,0,0.7);

    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    overflow:hidden;
}

/* Subtle carbon weave overlay (no .webp required) */
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item::after {
    content: "";
    position: absolute;
    inset: 0;

    /* simulated carbon fiber weave using layered gradients */
    background-image:
    repeating-linear-gradient(45deg,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 2px,
    transparent 2px,
    transparent 4px),
    repeating-linear-gradient(-45deg,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 2px,
    transparent 2px,
    transparent 4px);
    background-size: 6px 6px;
    opacity: 0.08;
    mix-blend-mode: overlay;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Moving highlight sweep (light streak) */
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item::before {
    content:"";
    position:absolute;
    top:0;
    left:-60%;
    width:50%;
    height:100%;
    background:linear-gradient(
    120deg,
    rgba(255,190,61,0.3) 0%,
    rgba(255,255,255,0) 70%
    );
    transform:skewX(-25deg);
    opacity:0;
    transition: left 0.3s ease, opacity 0.3s ease;
    pointer-events:none;
}

/* Hover / focus / tap interaction = premium reveal */
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:hover,
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:focus-visible,
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:active {
    transform: translateY(-2px) scale(1.02) translateZ(0);  /* ✅ Reduced scale + GPU layer preserved */
    color:var(--scopione-yellow);
    border-color:rgba(255,190,61,0.6);
    box-shadow:
    0 0 18px rgba(255,190,61,0.3),
    0 10px 24px rgba(0,0,0,0.9);
    text-shadow:0 0 6px rgba(255,190,61,0.5);
}

body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:hover::before,
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:focus-visible::before,
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:active::before {
    left:120%;
    opacity:1;
}

body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:hover::after,
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:focus-visible::after,
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:active::after {
    opacity:0.15;
}

/* ------- Mobile behavior (<600px) ------- */
/* Instead of downgrading visuals, we keep the same look,
just tighten spacing so it wraps clean and feels tappable/luxury. */

@media (max-width: 600px) {
    body.woocommerce-shop .scopione-vehicle-chips.scopione-vehicle-chips--elevated {
        gap: 0.5rem 0.6rem;
        margin: 0 auto 1.25rem;
        max-width: 100%;
        font-size: 0.8rem;
        line-height: 1.35;
    }

    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item {
        padding: 0.55rem 0.75rem;
        border-radius: 6px;
        box-shadow:
        inset 0 0 10px rgba(255,190,61,0.06),
        0 4px 12px rgba(0,0,0,0.7);
        transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    /* On tap, still get feedback. We KEEP the premium glow. */
    /* Using :not(:focus-visible) to exclude keyboard users */
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:active:not(:focus-visible) {
        transform: translateY(-1px) scale(1.02);  /* was 1.03 — match desktop */
        box-shadow:
        0 0 16px rgba(255,190,61,0.3),
        0 8px 20px rgba(0,0,0,0.9);
        color: var(--scopione-yellow);
        border-color: rgba(255,190,61,0.6);
        text-shadow: 0 0 6px rgba(255,190,61,0.5);
    }

    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:active:not(:focus-visible)::before {
        left: 120%;
        opacity: 1;
    }

    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:active:not(:focus-visible)::after {
        opacity: 0.15;
    }
}

/* Touch device hover reset (prevents sticky hover) */
@media (hover: none) {
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:hover:not(:focus-visible) {
        transform: none;
        color: #fff;
        border-color: rgba(255,255,255,0.12);
        box-shadow: inset 0 0 10px rgba(255,190,61,0.06), 0 4px 12px rgba(0,0,0,0.7);
        text-shadow: none;
    }
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:hover:not(:focus-visible)::before,
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:hover:not(:focus-visible)::after {
        opacity: 0.08;
        left: -60%;
    }

    /* Touch tap turns yellow (excludes keyboard users) */
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:active {
        color: var(--scopione-yellow) !important;
        border-color: rgba(255,190,61,0.6);
        text-shadow: 0 0 6px rgba(255,190,61,0.5);
    }
}


/* ==========================================================================
   Section 4
   ========================================================================== */

body.woocommerce-shop .scopione-trust-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem 1.2rem;
    margin: 0 auto 1.25rem;
    max-width: 1000px;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(255,190,61,0.4);
}

body.woocommerce-shop .trust-bullet {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--scopione-yellow);
    background: rgba(255,190,61,0.06);
    border: 1px solid rgba(255,190,61,0.12);
    border-radius: 6px;
    padding: 0.45rem 0.85rem;
    min-height: 44px;              /* match WCAG 2.5.8 tap target */
    box-shadow: 0 0 12px rgba(255,190,61,0.08) inset;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    opacity: 0;
    transform: translateY(5px);
    animation: scopione-trustFade 0.6s ease forwards;
}

body.woocommerce-shop .trust-bullet:nth-child(2) { animation-delay: 0.1s; }
body.woocommerce-shop .trust-bullet:nth-child(3) { animation-delay: 0.2s; }
body.woocommerce-shop .trust-bullet:nth-child(4) { animation-delay: 0.3s; }

body.woocommerce-shop .trust-bullet:hover {
    background: rgba(255,190,61,0.12);
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(255,190,61,0.35);
    color: #fff;
}

body.woocommerce-shop .trust-bullet:focus-visible {
    background: rgba(255,190,61,0.12);
    outline: 2px solid var(--scopione-yellow);
    outline-offset: 2px;
    box-shadow: 0 0 12px rgba(255,190,61,0.35);
    color: #fff;
}

body.woocommerce-shop .trust-icon {
    font-size: 0.85rem;
    color: var(--scopione-yellow) !important;
    font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", "DejaVu Sans", sans-serif;
    font-style: normal;
    font-variant-emoji: text;
    -webkit-text-stroke: 0;
    text-shadow:
    0 0 6px rgba(255,190,61,0.5),
    0 0 2px rgba(0,0,0,0.8);
}

/* Checkmark icons - ensure scopione yellow (covers all icon types) */
body.woocommerce-shop .trust-bullet .trust-icon,
body.woocommerce-shop .trust-bullet svg,
body.woocommerce-shop .trust-bullet .checkmark,
body.woocommerce-shop .trust-bullet [class*="check"],
body.woocommerce-shop .trust-bullet i {
    color: var(--scopione-yellow) !important;
    fill: var(--scopione-yellow) !important;
    font-variant-emoji: text;
}

/* SVG stroke for outlined checkmarks */
body.woocommerce-shop .trust-bullet svg path,
body.woocommerce-shop .trust-bullet svg circle {
    stroke: var(--scopione-yellow) !important;
    fill: var(--scopione-yellow) !important;
}

@keyframes scopione-trustFade {
    to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   Section 5 — Guarantee Bar
   ========================================================================== */

/* Base state for the guarantee bar */
body.woocommerce-shop .scopione-guarantee-bar {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 30px rgba(255,190,61,0.15) inset;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.75rem;
    line-height: 1.4;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    text-decoration: none;
    transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
    overflow: hidden;
    cursor: pointer;
}

/* Guarantee bar title (includes checkmark) */
body.woocommerce-shop .guarantee-bar-title {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #fff;
    font-size: 0.8rem;
}

/* Gold checkmark box */
body.woocommerce-shop .guarantee-bar-check {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(145deg, var(--scopione-yellow) 0%, #a86a00 100%);
    box-shadow: 0 0 10px rgba(255,190,61,0.6), 0 8px 16px rgba(0,0,0,0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #000;
    text-shadow: 0 0 2px rgba(255,255,255,0.4);
    margin-right: 0.5rem;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Supporting text */
body.woocommerce-shop .guarantee-bar-text {
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

/* Shimmer sweep element */
body.woocommerce-shop .scopione-guarantee-bar-sheen {
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,190,61,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: skewX(-25deg);
    opacity: 0;
    transition: left 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
    border-radius: 8px;
}

/* Hover state for the whole bar */
body.woocommerce-shop .scopione-guarantee-bar:hover {
    background: rgba(20,20,20,0.8);
    border-color: rgba(255,190,61,0.4);
    transform: translateY(-2px) scale(1.02) translateZ(0);
    box-shadow:
    0 0 25px rgba(255,190,61,0.35),
    0 10px 40px rgba(0,0,0,0.9),
    0 0 25px rgba(255,190,61,0.25) inset;
    color: #fff;
}

/* Badge glow on hover */
body.woocommerce-shop .scopione-guarantee-bar:hover .guarantee-bar-check {
    background: linear-gradient(145deg, var(--scopione-yellow) 0%, #ffcc5a 100%);
    box-shadow:
    0 0 12px rgba(255,190,61,0.8),
    0 0 25px rgba(255,190,61,0.45);
}

/* Supporting text brightens on hover */
body.woocommerce-shop .scopione-guarantee-bar:hover .guarantee-bar-text {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 0 6px rgba(255,190,61,0.3);
}

/* Shimmer sweep animation on hover */
body.woocommerce-shop .scopione-guarantee-bar:hover .scopione-guarantee-bar-sheen {
    left: 120%;
    opacity: 1;
}

/* Focus-visible state for keyboard accessibility */
body.woocommerce-shop .scopione-guarantee-bar:focus-visible {
    outline: 2px solid var(--scopione-yellow);
    outline-offset: 2px;
    border-color: rgba(255,190,61,0.4);
}

/* Ticker link/text focus-visible (keyboard accessibility) */
body.woocommerce-shop .sc-shop-ticker a:focus-visible,
body.woocommerce-shop .sc-shop-ticker__text:focus-visible {
    outline: 2px solid var(--scopione-yellow) !important;
    outline-offset: 2px;
}

/* Mobile fallback: remove motion/transform for stability on tap */
@media (max-width: 600px) {
    body.woocommerce-shop .scopione-guarantee-bar {
        font-size: 0.7rem;
        line-height: 1.4;
        text-align: center;
    }
    body.woocommerce-shop .guarantee-bar-title {
        flex-basis: 100%;
        justify-content: center;
        text-align: center;
    }
    /* Note: hover reset overlaps with @media (hover:none); kept for non-touch narrow viewports */
    body.woocommerce-shop .scopione-guarantee-bar:hover {
        transform: none;
        box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 30px rgba(255,190,61,0.15) inset;
        background: rgba(0,0,0,0.6);
        border-color: rgba(255,255,255,0.12);
    }
    body.woocommerce-shop .scopione-guarantee-bar-sheen {
        opacity: 0;
        transition: none;
    }
}


/* ==========================================================================
   Section 6
   ========================================================================== */

/* === Fallback shimmer layer when forged-noise.webp is missing === */
body.woocommerce-shop .scopione-forged-noise {
    position: absolute;
    inset: 0;
    background:
    radial-gradient(circle at 20% 30%, rgba(255, 190, 61, 0.05) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%),
    repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 2px,
    transparent 2px,
    transparent 4px
    );
    background-size: 600px 600px, 800px 800px, 20px 20px;
    mix-blend-mode: screen;
    opacity: 0.06;
    animation: scopione-noiseMove 6s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Animated subtle movement (for depth illusion) */
@keyframes scopione-noiseMove {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-25px, -20px, 0) scale(1.02); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* Angled flare simulating carbon panel catching light (left) */
body.woocommerce-shop .scopione-hero-flare {
    position: absolute;
    left: -20%;
    top: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at 20% 40%, rgba(255,190,61,0.28) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px); /* reduced from 60px — negligible visual diff, saves GPU (Finding 9) */
    opacity: 0.4;
    transform: rotate(-8deg);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* Secondary flare for right-side balance on ultrawide */
body.woocommerce-shop .scopione-hero-flare-right {
    position: absolute;
    right: -15%;
    bottom: -20%;
    width: 50%;
    height: 120%;
    background: radial-gradient(ellipse at 60% 60%, rgba(255,190,61,0.12) 0%, rgba(0,0,0,0) 70%);
    filter: blur(50px); /* reduced from 80px — negligible visual diff, saves GPU (Finding 9) */
    opacity: 0.25;
    transform: rotate(10deg);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* Reduce blur on mobile for performance */
@media (max-width: 768px) {
    body.woocommerce-shop .scopione-hero-flare,
    body.woocommerce-shop .scopione-hero-flare-right {
        filter: blur(30px);
        opacity: 0.15;
    }
}

/* Performance tweaks for small screens */
@media (max-width: 600px) {
    body.woocommerce-shop .scopione-forged-noise {
        opacity: 0.03;
        animation: none;
    }
    body.woocommerce-shop .scopione-trust-icons {
        font-size: 0.8rem;
        gap: 0.5rem 0.75rem;
        text-align: center;
    }
}


/* ==========================================================================
   Section 7
   ========================================================================== */

/* === GRID LAYOUT === */
body.woocommerce-shop .scopione-gallery-grid-light {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));
    gap:1rem;
    max-width:1200px;
    margin:0 auto;
}

@media (min-width: 768px) {
    body.woocommerce-shop .scopione-gallery-grid-light {
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:1.25rem 1rem;
    }
}
@media (min-width: 1100px) {
    body.woocommerce-shop .scopione-gallery-grid-light {
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:1.5rem 1rem;
    }
}

/* === CARD BASE === */
body.woocommerce-shop .gallery-card-light {
    position:relative;
    background:#fff;
    border:1px solid rgba(0,0,0,0.07);
    border-radius:10px;
    box-shadow:
    0 20px 30px rgba(0,0,0,0.08),
    0 2px 4px rgba(0,0,0,0.05);
    text-decoration:none;
    color:#111;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

/* hover / focus */
body.woocommerce-shop .gallery-card-light:hover,
body.woocommerce-shop .gallery-card-light:focus-visible {
    transform: translateY(-3px) scale(1.02) translateZ(0);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12),
    0 0 20px rgba(255, 190, 61, 0.25);
    border-color: rgba(255,190,61,0.6);
    color: #000;
}

/* === IMAGE WRAPPER === */
body.woocommerce-shop .gallery-card-light__imgwrap {
    position:relative;
    overflow: hidden;
    aspect-ratio:1.9/1;           /* matches your 1200x630 promo assets */
    background-color:#0a0a0a;
    background-size:cover;
    background-position:center top;
    transition: transform 0.3s ease;
}

/* (Removed: dead gallery-card-light__imgwrap::after — no content/background) */

/* Removed: hover state for dead ::after pseudo-element */

/* Gallery card image zoom on hover (matches knowledge card pattern) */
body.woocommerce-shop .gallery-card-light:hover .gallery-card-light__imgwrap,
body.woocommerce-shop .gallery-card-light:focus-visible .gallery-card-light__imgwrap {
    transform: scale(1.04);
}

/* === CHIPBAR OVERLAY ON IMAGE === */
body.woocommerce-shop .gallery-chipbar {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:0.45rem;
    text-align:center;
    pointer-events:none;
    padding:1rem;
    background:radial-gradient(
    circle at 50% 50%,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0) 70%
    );
    border-radius:10px;
    max-width:90%;
}

/* === MAKE (Brand) CHIP === */
/* stays 1 line, can ellipsis if it's truly too long */
body.woocommerce-shop .gallery-chip-make {
    background:rgba(255,190,61,0.25);
    color:var(--scopione-yellow);
    border:1px solid rgba(255,190,61,0.5);
    border-radius:8px;
    padding:.45rem .85rem;
    font-size:.95rem;
    line-height:1.3;
    font-weight:700;
    letter-spacing:.02em;
    box-shadow:0 0 12px rgba(255,190,61,0.45);
    text-shadow:0 0 8px rgba(255,190,61,0.7);

    white-space:nowrap;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* === MODEL / PLATFORM LABEL === */
/* can wrap to 2 lines max, centered, never overflows */
body.woocommerce-shop .gallery-chip-desc {
    color:#fff;
    background:rgba(0,0,0,0.5);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:6px;
    padding:.4rem .8rem;
    font-size:.9rem;
    font-weight:600;
    line-height:1.35;
    letter-spacing:.02em;
    text-shadow:0 0 10px rgba(0,0,0,0.8);

    max-width:100%;
    white-space:normal;        /* ✅ allow wrap */
    word-break:keep-all;       /* ✅ don't hyphenate mid-word */
    text-align:center;
    overflow:hidden;

    /* ✅ clamp to 2 lines so it never becomes 3+ */
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

/* === HOVER / FOCUS GLOW (combined for DRY) === */
body.woocommerce-shop .gallery-card-light:hover .gallery-chip-make,
body.woocommerce-shop .gallery-card-light:focus-visible .gallery-chip-make {
    background:rgba(255,190,61,0.3);
    color:#fff;
    box-shadow:0 0 20px rgba(255,190,61,0.75);
    border-color:rgba(255,190,61,0.7);
}

body.woocommerce-shop .gallery-card-light:hover .gallery-chip-desc,
body.woocommerce-shop .gallery-card-light:focus-visible .gallery-chip-desc {
    background:rgba(0,0,0,0.65);
    border-color:rgba(255,255,255,0.2);
}

/* === TEXT BLOCK UNDER IMAGE === */
body.woocommerce-shop .gallery-card-light__copy {
    padding: 0.85rem 1rem 1rem 1rem;
    text-align: center;
}

body.woocommerce-shop .gallery-card-light__title {
    font-size: var(--shop-h3);
    font-weight: 600;
    line-height: 1.35;
    color: #111;
    margin: 0 0 .4rem 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

body.woocommerce-shop .gallery-dot {
    flex-shrink: 0;
    min-width: 8px;
    min-height: 8px;
    border-radius: 2px;
    background: linear-gradient(145deg, var(--scopione-yellow) 0%, #a86a00 100%);
    box-shadow: 0 0 6px rgba(255,190,61,0.6), 0 0 16px rgba(0,0,0,0.6);
}

body.woocommerce-shop .gallery-card-light__meta {
    font-size: var(--shop-small);
    line-height: 1.45;
    color: rgba(0,0,0,0.6);
    font-weight: 500;
}

/* === RESPONSIVE TUNING === */
@media (max-width: 768px) {
    body.woocommerce-shop .gallery-chip-make{
        font-size:.85rem;
        padding:.4rem .7rem;
    }
    body.woocommerce-shop .gallery-chip-desc{
        font-size:.8rem;
        padding:.35rem .7rem;
        -webkit-line-clamp:2; /* still 2-line max on mobile */
    }
}


/* === GALLERY SECTION TEXT IMPROVEMENTS === */

/* Section titles — use type scale */
body.woocommerce-shop .gallery-section-title,
body.woocommerce-shop .scopione-gallery-heading {
    font-size: var(--shop-h2);
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--shop-text-bright);
    margin-bottom: 0.5rem;
}


/* ==========================================================================
   Section 8
   ========================================================================== */

body.woocommerce-shop .sc-shop-ticker,
body.post-type-archive-product .sc-shop-ticker{
    /* --sc-yellow removed — using global --scopione-yellow instead (Optional B) */
    --sc-speed: 20s;

    /* +30% presence */
    --sc-pad-y: 16px;
    --sc-font: 21px;

    /* Full-bleed breakout (reliable even inside centered containers) */
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    position: relative;
    display: block;
    overflow: hidden;
    z-index: 2;

    /* Flush between sections (no “new” white space) */
    margin-top: -1px !important;
    margin-bottom: 0 !important;
    /* Do NOT set margin shorthand — keeps calc() breakout intact */

    /* Carbon-lux twill background */
    background:
    radial-gradient(120% 180% at 50% 35%, rgba(255,190,61,.10) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(10,10,10,.985), rgba(20,20,20,.985)),
    repeating-linear-gradient(45deg,
    rgba(255,255,255,.030) 0px,
    rgba(255,255,255,.030) 2px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0) 9px
    ),
    repeating-linear-gradient(-45deg,
    rgba(0,0,0,.40) 0px,
    rgba(0,0,0,.40) 3px,
    rgba(0,0,0,0) 3px,
    rgba(0,0,0,0) 10px
    );

    /* Remove any theme borders that could read as “white lines” */
    border: 0 !important;
    outline: 0;    /* removed !important — allows :focus-visible to override */

    /* Luxury depth (no hard edges) */
    box-shadow:
    0 18px 52px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(0,0,0,.75);

    padding: var(--sc-pad-y) 0;
}

/* Overlays BEHIND content */
body.woocommerce-shop .sc-shop-ticker::before,
body.post-type-archive-product .sc-shop-ticker::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;
    background:
    /* top/bottom feather (blend into surrounding sections) */
    linear-gradient(180deg,
    rgba(0,0,0,.52) 0%,
    rgba(0,0,0,0) 42%,
    rgba(0,0,0,0) 58%,
    rgba(0,0,0,.52) 100%
    ),
    /* left/right cinematic fade (hides seam, looks luxe) */
    linear-gradient(90deg,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,0) 16%,
    rgba(0,0,0,0) 84%,
    rgba(0,0,0,.92) 100%
    );
}

/* Subtle runway sheen (soft, not a “line”) */
body.woocommerce-shop .sc-shop-ticker::after,
body.post-type-archive-product .sc-shop-ticker::after{
    content:"";
    position:absolute;
    left:-12%;
    right:-12%;
    top: 50%;
    height: 66%;
    transform: translateY(-50%);
    pointer-events:none;
    z-index:0;
    background: radial-gradient(60% 90% at 50% 45%, rgba(255,255,255,.06), rgba(255,255,255,0) 65%);
    opacity: .72;
}

/* Content wrapper above overlays */
body.woocommerce-shop .sc-shop-ticker__wrap,
body.post-type-archive-product .sc-shop-ticker__wrap{
    position: relative;
    z-index: 1;
    display:flex;
    align-items:center;
    width:100%;
    overflow:hidden;
}

body.woocommerce-shop .sc-shop-ticker__track,
body.post-type-archive-product .sc-shop-ticker__track{
    display:flex;
    width:max-content;
    will-change: transform;
    animation: scopione-tickerLux var(--sc-speed) linear infinite;
}

@keyframes scopione-tickerLux{
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* requires duplicated chunk */
}

/* Pause on hover (desktop) */
@media (hover:hover) and (pointer:fine){
    body.woocommerce-shop .sc-shop-ticker:hover .sc-shop-ticker__track,
    body.post-type-archive-product .sc-shop-ticker:hover .sc-shop-ticker__track{
        animation-play-state: paused;
    }
}



/* Ticker focus-visible (defensive — currently non-focusable) */
body.woocommerce-shop .sc-shop-ticker:focus-visible {
    outline: 2px solid var(--scopione-yellow);
    outline-offset: -2px;
}

body.woocommerce-shop .sc-shop-ticker__chunk,
body.post-type-archive-product .sc-shop-ticker__chunk{
    display:inline-flex;
    align-items:center;
    gap: 22px;
    padding: 0 26px;
}

body.woocommerce-shop .sc-shop-ticker__text,
body.post-type-archive-product .sc-shop-ticker__text{
    margin:0;
    font-weight: 900;
    font-size: var(--sc-font);
    line-height: 1;
    letter-spacing: 0.033em; /* ~0.7px at 21px — matches em convention */
    text-transform: uppercase;
    color: rgba(255,255,255,.88);
    text-shadow:
    0 14px 30px rgba(0,0,0,.55),
    0 1px 0 rgba(0,0,0,.55);
    white-space: nowrap;
}

body.woocommerce-shop .sc-shop-ticker__accent,
body.post-type-archive-product .sc-shop-ticker__accent{
    color: var(--scopione-yellow);
    text-shadow:
    0 14px 30px rgba(0,0,0,.60),
    0 0 22px rgba(255,190,61,.18);
}

/* Jewel dots */
body.woocommerce-shop .sc-shop-ticker__dot,
body.post-type-archive-product .sc-shop-ticker__dot{
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%),
    radial-gradient(circle at 50% 50%, rgba(255,190,61,.75), rgba(255,190,61,.20) 65%, rgba(255,190,61,0) 73%);
    box-shadow:
    0 0 0 2px rgba(255,190,61,.10),
    0 12px 26px rgba(0,0,0,.38);
    flex: 0 0 auto;
    opacity: .96;
}

/* Mobile tuning */
@media (max-width: 600px) {
    body.woocommerce-shop .sc-shop-ticker,
    body.post-type-archive-product .sc-shop-ticker{
        --sc-pad-y: 14px;
        --sc-font: 16px;
        --sc-speed: 18s;

        /* still flush */
        margin-top: -1px !important;
        margin-bottom: 0 !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    body.woocommerce-shop .sc-shop-ticker__track,
    body.post-type-archive-product .sc-shop-ticker__track{
        animation: none;
        transform: none;
    }
    body.woocommerce-shop .sc-shop-ticker__wrap,
    body.post-type-archive-product .sc-shop-ticker__wrap{
        justify-content: center;
    }
}


/* ==========================================================================
   Section 9
   ========================================================================== */

/* GRID LAYOUT */
body.woocommerce-shop .knowledge-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:22px;
}

/* phones / very narrow */
@media (max-width: 400px) {
    body.woocommerce-shop .knowledge-grid {
        grid-template-columns:1fr;
        gap:20px;
    }
}

/* CARD SHELL */
body.woocommerce-shop .knowledge-item {
    text-decoration:none;
    color:#fff;
}
body.woocommerce-shop .knowledge-card {
    background-color:#111;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 0 25px rgba(0,0,0,0.4);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    height:100%;
    display:flex;
    flex-direction:column;
}
body.woocommerce-shop .knowledge-item:hover .knowledge-card,
body.woocommerce-shop .knowledge-item:focus-visible .knowledge-card {
    transform: translateY(-4px) translateZ(0);  /* ✅ Reduced from -6px + GPU layer preserved */
    box-shadow: 0 0 30px rgba(255,190,61,0.3);
}
body.woocommerce-shop .knowledge-item:focus-visible .knowledge-card {
    outline: 2px solid var(--scopione-yellow);
    outline-offset: 2px;
}

/* IMAGE AREA */
body.woocommerce-shop .image-wrapper {
    overflow:hidden;
    position:relative;
}
body.woocommerce-shop .image-wrapper img {
    width:100%;
    height:auto;
    display:block;
    transition: transform 0.35s ease;
}
body.woocommerce-shop .knowledge-item:hover .image-wrapper img,
body.woocommerce-shop .knowledge-item:focus-visible .image-wrapper img {
    transform: scale(1.07);
}
body.woocommerce-shop .image-wrapper .overlay {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(
    180deg,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,0.7) 100%
    );
}

/* BODY */
body.woocommerce-shop .card-body {
    padding:20px 22px 24px 22px;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}
body.woocommerce-shop .card-body h3 {
    color:var(--scopione-yellow);
    font-weight:600;
    font-size: var(--shop-h3);
    margin:0 0 10px 0;
    text-align:center;
    line-height:1.4;
    transition:color .3s ease, text-shadow .3s ease;
}
body.woocommerce-shop .knowledge-item:hover h3,
body.woocommerce-shop .knowledge-item:focus-visible h3 {
    color:#fff !important;
    text-shadow:0 0 10px rgba(255,190,61,0.8);
}
body.woocommerce-shop .card-body p {
    font-size: var(--shop-body);
    line-height: 1.6;
    color: rgba(255,255,255,0.78);  /* ✅ Increased from #ccc for better contrast */
    text-align: center;
    margin: 0 0 20px 0;
}

/* CTA WRAP */
body.woocommerce-shop .cta-wrap {
    display:flex;
    justify-content:center;
    margin-top:auto;
}

/* CTA BUTTON */
body.woocommerce-shop a.scopione-cta-btn {
    display:inline-block;
    background:rgba(15,15,15,0.6);
    border:1px solid var(--scopione-yellow);
    border-radius:6px;
    padding:14px 30px;
    font-size:0.85rem;
    letter-spacing:0.06em;
    font-weight:600;
    color:#fff;
    text-decoration:none;
    text-align:center;
    text-transform:uppercase;
    line-height:1;
    min-width:280px;
    box-shadow:0 12px 30px rgba(0,0,0,0.8);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    white-space:normal;
    box-sizing:border-box;
}

/* Hover turns Scopione Yellow with bold black glowing text */
body.woocommerce-shop a.scopione-cta-btn:hover {
    background:var(--scopione-yellow);
    border-color:var(--scopione-yellow);
    color:#000;
    font-weight: 700;
    text-shadow: 
        0 0 8px rgba(0,0,0,0.4),
        0 0 16px rgba(0,0,0,0.2);
    box-shadow:
        0 0 25px rgba(255,190,61,0.6),
        0 10px 40px rgba(255,190,61,0.3);
    transform:translateY(-2px) translateZ(0);
}

/* Active (tap) */
body.woocommerce-shop a.scopione-cta-btn:active {
    transform:translateY(0);
    box-shadow:0 4px 10px rgba(255,190,61,0.3);
}

/* Focus-visible state for keyboard accessibility */
body.woocommerce-shop a.scopione-cta-btn:focus-visible {
    outline:2px solid var(--scopione-yellow);
    outline-offset:3px;
    background:var(--scopione-yellow);
    color:#000;
    font-weight: 700;
    text-shadow: 
        0 0 8px rgba(0,0,0,0.4),
        0 0 16px rgba(0,0,0,0.2);
}

/* MOBILE REFINEMENTS */
@media (max-width: 768px) {
    body.woocommerce-shop .knowledge-card {
        border-radius:12px;
    }
    body.woocommerce-shop a.scopione-cta-btn {
        min-width:200px;
        font-size:0.8rem;
        padding:12px 20px;
    }
}


/* ==========================================================================
   Section 10 — Badges & Animations
   ========================================================================== */

@keyframes scopione-carbonSlide {
    0%{background-position:0 0}
    50%{background-position:-80px -40px}
    100%{background-position:-160px -80px}
}

/* Shared badge base */
body.woocommerce-shop .scopione-badges .badge {
    background:rgba(0,0,0,0.7);
    border:1px solid rgba(255,255,255,0.18);
    color:#fff;
    font-weight:600;
    font-size: var(--shop-small);
    text-transform:uppercase;
    letter-spacing:0.04em;
    padding:7px 16px;
    border-radius:6px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    display:inline-block;
    cursor:default;
    animation:scopione-badgePop 0.5s ease forwards;
}

/* Gold variant */
body.woocommerce-shop .scopione-badges .badge.gold,
body.woocommerce-shop .scopione-badges .badge.gold:focus-visible {
    color:var(--scopione-yellow);
    border-color:rgba(255,190,61,0.3);
}

/* Hover effect */
body.woocommerce-shop .scopione-badges .badge:hover {
    transform:translateY(-2px) scale(1.02) translateZ(0);  /* ✅ Standardized + GPU layer preserved */
    border-color:rgba(255,190,61,0.5);
    box-shadow:0 0 18px rgba(255,190,61,0.35),0 0 45px rgba(255,190,61,0.2) inset;
    color:var(--scopione-yellow);
}

/* Focus-visible state for keyboard accessibility */
body.woocommerce-shop .scopione-badges .badge:focus-visible {
    outline: 2px solid var(--scopione-yellow);
    outline-offset: 2px;
    transform: translateY(-2px) scale(1.02) translateZ(0);
    border-color: rgba(255,190,61,0.5);
    box-shadow: 0 0 18px rgba(255,190,61,0.35), 0 0 45px rgba(255,190,61,0.2) inset;
}

/* Touch device hover reset (prevents sticky hover on badges) */
@media (hover: none) {
    body.woocommerce-shop .scopione-badges .badge:hover:not(:focus-visible) {
        transform: none;
        border-color: rgba(255,255,255,0.18);
        box-shadow: none;
        color: #fff;
    }
    body.woocommerce-shop .scopione-badges .badge.gold:hover:not(:focus-visible) {
        color: var(--scopione-yellow);
        border-color: rgba(255,190,61,0.3);
    }
}

/* Entrance pop animation */
@keyframes scopione-badgePop {
    0%{opacity:0;transform:translateY(12px) scale(0.95);}
    100%{opacity:1;transform:translateY(0) scale(1);}
}
body.woocommerce-shop .scopione-badges .badge:nth-child(2){animation-delay:0.05s;}
body.woocommerce-shop .scopione-badges .badge:nth-child(3){animation-delay:0.1s;}
body.woocommerce-shop .scopione-badges .badge:nth-child(4){animation-delay:0.15s;}


/* ==========================================================================
   Section 11
   ========================================================================== */

/* Gradient tuned to blend into the section below; bottom border removed to avoid a seam */
body.woocommerce-shop .reviews-section {
    background:
    radial-gradient(900px 600px at 50% 0%, rgba(255,190,61,0.07), transparent 70%),
    linear-gradient(180deg, #0c0c0c 0%, #1a1a1a 100%);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 0;
    padding: var(--shop-section-gap-sm) 0 var(--shop-section-gap) 0;
}

body.woocommerce-shop .reviews-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

body.woocommerce-shop .reviews-eyebrow {
    color: var(--shop-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: var(--shop-small);
    margin: 0 0 0.75rem;
}

body.woocommerce-shop .reviews-title {
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
    font-size: var(--shop-h2);
    font-weight: 800;
}

body.woocommerce-shop .reviews-sub {
    font-size: var(--shop-body);
    color: var(--shop-text-medium);
    max-width: 760px;
    margin: 0.25rem auto 2rem;
    line-height: 1.7;
}

body.woocommerce-shop .reviews-link {
    color: var(--scopione-accent);
    text-decoration: none;
    font-weight: 800;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

body.woocommerce-shop .reviews-link:hover {
    color: #ffd877;
    text-shadow: 0 0 6px rgba(255,190,61,0.25);
}

body.woocommerce-shop .reviews-link:focus-visible {
    outline: 2px solid var(--scopione-accent);
    outline-offset: 2px;
    text-decoration: underline;
}

body.woocommerce-shop .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

body.woocommerce-shop .review-card {
    position: relative;
    overflow: hidden;
    background: rgba(26,26,26,0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1.25rem;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* S logo watermark — top-right of each review card */
body.woocommerce-shop .review-card::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    background: url("/wp-content/themes/scopione/img/scopione-logo-150x150.png") center / contain no-repeat;
    opacity: 0.12;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

body.woocommerce-shop .review-card:hover::after {
    opacity: 0.22;
}

body.woocommerce-shop .review-card:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 0 14px rgba(255,190,61,0.18);
}

body.woocommerce-shop .review-card:focus-within {
    outline: 2px solid var(--scopione-yellow);
    outline-offset: 2px;
}

/* Watermark brightens on focus-within for keyboard parity */
body.woocommerce-shop .review-card:focus-within::after {
    opacity: 0.22;
}

body.woocommerce-shop .stars {
    color: var(--scopione-accent);
    letter-spacing: 0.06em;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

body.woocommerce-shop .review-copy {
    margin: 0.5rem 0 1rem;
    color: #eaeaea;
    line-height: 1.7;
}

body.woocommerce-shop .review-author {
    color: var(--scopione-accent);
    font-weight: 800;
}

@media (hover: none) {
    body.woocommerce-shop .review-card:hover:not(:focus-visible) {
        transform: none;
        box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    }
    body.woocommerce-shop .review-card:hover:not(:focus-visible)::after {
        opacity: 0.12;
    }
}

/* Touch device hover reset for knowledge cards */
@media (hover: none) {
    body.woocommerce-shop .knowledge-item:hover:not(:focus-visible) .knowledge-card {
        transform: none;
        box-shadow: 0 0 25px rgba(0,0,0,0.4);
    }
    body.woocommerce-shop .knowledge-item:hover:not(:focus-visible) .image-wrapper img {
        transform: none;
    }
    body.woocommerce-shop .knowledge-item:hover:not(:focus-visible) h3 {
        color: var(--scopione-yellow) !important;
        text-shadow: none;
    }
}

/* Touch device hover resets — trust bullet, guarantee bar, gallery card, CTA */
@media (hover: none) {
    body.woocommerce-shop .trust-bullet:hover:not(:focus-visible) {
        background: rgba(255,190,61,0.06);
        transform: none;
        box-shadow: 0 0 12px rgba(255,190,61,0.08) inset;
        color: var(--scopione-yellow);
    }
    body.woocommerce-shop .scopione-guarantee-bar:hover:not(:focus-visible) {
        transform: none;
        background: rgba(0,0,0,0.6);
        border-color: rgba(255,255,255,0.12);
        box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 30px rgba(255,190,61,0.15) inset;
        color: rgba(255,255,255,0.8);
    }
    body.woocommerce-shop .scopione-guarantee-bar:hover:not(:focus-visible) .guarantee-bar-check {
        background: linear-gradient(145deg, var(--scopione-yellow) 0%, #a86a00 100%);
        box-shadow: 0 0 10px rgba(255,190,61,0.6), 0 8px 16px rgba(0,0,0,0.8);
    }
    body.woocommerce-shop .scopione-guarantee-bar:hover:not(:focus-visible) .guarantee-bar-text {
        color: rgba(255,255,255,0.7);
        text-shadow: none;
    }
    body.woocommerce-shop .scopione-guarantee-bar:hover:not(:focus-visible) .scopione-guarantee-bar-sheen {
        opacity: 0;
    }
    body.woocommerce-shop .gallery-card-light:hover:not(:focus-visible) {
        transform: none;
        box-shadow: 0 20px 30px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
        border-color: rgba(0,0,0,0.07);
        color: #111;
    }
    body.woocommerce-shop .gallery-card-light:hover:not(:focus-visible) .gallery-card-light__imgwrap {
        transform: none;
    }
    body.woocommerce-shop .gallery-card-light:hover:not(:focus-visible) .gallery-chip-make {
        background: rgba(255,190,61,0.25);
        color: var(--scopione-yellow);
        box-shadow: 0 0 12px rgba(255,190,61,0.45);
        border-color: rgba(255,190,61,0.5);
    }
    body.woocommerce-shop .gallery-card-light:hover:not(:focus-visible) .gallery-chip-desc {
        background: rgba(0,0,0,0.5);
        border-color: rgba(255,255,255,0.15);
    }
    body.woocommerce-shop a.scopione-cta-btn:hover:not(:focus-visible) {
        background: rgba(15,15,15,0.6);
        border-color: var(--scopione-yellow);
        color: #fff;
        font-weight: 600;
        text-shadow: none;
        box-shadow: 0 12px 30px rgba(0,0,0,0.8);
        transform: none;
    }
}

/* (Reduced-motion block consolidated into comprehensive block below) */

@media (max-width: 768px) {
    body.woocommerce-shop .reviews-section {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
    /* reviews-title font-size override removed — var(--shop-h2) clamp handles it */
}

@media (max-width: 600px) {
    body.woocommerce-shop .reviews-grid {
        grid-template-columns: 1fr;
    }
    /* reviews-title font-size override removed — var(--shop-h2) clamp handles mobile */
}


/* ==========================================================================
Mobile Performance: Disable Blend Modes
   ========================================================================== */

@media (max-width: 600px) {
    body.woocommerce-shop .scopione-forged-noise,
    body.woocommerce-shop .scopione-hero-flare,
    body.woocommerce-shop .scopione-hero-flare-right {
        mix-blend-mode: normal;
    }
    
    /* Additional shadow simplification for mobile */
    body.woocommerce-shop .scopione-guarantee-bar {
        box-shadow: 0 8px 20px rgba(0,0,0,0.6), 0 0 15px rgba(255,190,61,0.1) inset;
    }
    
    body.woocommerce-shop .review-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
}


/* ==========================================================================
   Section Spacing Rhythm
   ========================================================================== */

/* Hero padding-bottom now set in base rule (line 47) — override removed */

body.woocommerce-shop .scopione-gallery-section {
    padding-top: var(--shop-section-gap);
    padding-bottom: var(--shop-section-gap);
}

body.woocommerce-shop .knowledge-section {
    padding-top: var(--shop-section-gap);
    padding-bottom: var(--shop-section-gap);
}

/* Mobile: tighter spacing */
@media (max-width: 768px) {
    body.woocommerce-shop .scopione-gallery-section,
    body.woocommerce-shop .knowledge-section,
    body.woocommerce-shop .reviews-section {
        padding-top: var(--shop-section-gap-sm);
        padding-bottom: var(--shop-section-gap-sm);
    }
}

/* Desktop: reduce gaps between adjacent dark sections */
@media (min-width: 769px) {
    /* When knowledge sections follow each other, reduce combined gap */
    body.woocommerce-shop .knowledge-section + .knowledge-section {
        padding-top: var(--shop-section-gap-sm);
    }
    
    /* Tighter gap before final CTA */
    body.woocommerce-shop .reviews-section {
        padding-bottom: var(--shop-section-gap-sm);
    }
    
    body.woocommerce-shop .final-cta-section {
        padding-top: var(--shop-section-gap-sm);
    }
}


/* ==========================================================================
Reduced Motion Support
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    /* Disable all animations */
    body.woocommerce-shop .trust-bullet,
    body.woocommerce-shop .scopione-badges .badge,
    body.woocommerce-shop .gallery-card-light,
    body.woocommerce-shop .knowledge-card,
    body.woocommerce-shop .review-card,
    body.woocommerce-shop .scopione-guarantee-bar,
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item,
    body.woocommerce-shop .sc-shop-ticker__track {
        animation: none !important;
        transition: none !important;
    }

    /* Fix 1: Trust bullets visible under reduced motion (animation: none kills forwards fill) */
    body.woocommerce-shop .trust-bullet {
        opacity: 1;
        transform: none;
    }

    /* Fix: Badges visible under reduced motion (badgePop starts opacity: 0) */
    body.woocommerce-shop .scopione-badges .badge {
        opacity: 1;
        transform: none;
    }

    /* Fix 4: Core banner weave animation stopped for reduced-motion */
    body.woocommerce-shop .core-banner-weave {
        animation: none !important;
    }

    body.woocommerce-shop .scopione-forged-noise {
        animation: none !important;
    }

    body.woocommerce-shop .scopione-hero-flare,
    body.woocommerce-shop .scopione-hero-flare-right {
        opacity: 0.1;
        filter: none;
    }

    /* ✅ NEW: Disable shimmer sweep on chips */
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item::before {
        display: none;
    }

    /* ✅ NEW: Remove hover transforms */
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:hover,
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:focus-visible {
        transform: none;
    }

    body.woocommerce-shop .scopione-guarantee-bar:hover {
        transform: none;
    }

    body.woocommerce-shop .gallery-card-light:hover,
    body.woocommerce-shop .knowledge-item:hover .knowledge-card,
    body.woocommerce-shop .review-card:hover {
        transform: none;
    }

    /* Disable image zoom under reduced motion */
    body.woocommerce-shop .gallery-card-light:hover .gallery-card-light__imgwrap,
    body.woocommerce-shop .knowledge-item:hover .image-wrapper img {
        transform: none;
    }
}


/* ==========================================================================
REFACTORED SECTIONS — Styles moved from inline PHP
   ========================================================================== */

/* --------------------------------------------------------------------------
Gallery Section (moved from PHP inline styles)
-------------------------------------------------------------------------- */
body.woocommerce-shop .scopione-gallery-section {
    position: relative;
    background:
    radial-gradient(circle at 20% 20%, rgba(255,190,61,0.12) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(circle at 80% 60%, rgba(0,0,0,0.05) 0%, rgba(255,255,255,0) 70%),
    #f5f5f5;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: var(--shop-section-gap) 0;
    color: #111;
    text-align: center;
    isolation: isolate;
}

body.woocommerce-shop .scopione-gallery-section .scopione-gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

body.woocommerce-shop .gallery-eyebrow {
    font-size: var(--shop-small);
    font-weight: 700;
    color: rgba(0,0,0,0.65);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 auto 0.6rem;
}

body.woocommerce-shop .gallery-title {
    font-size: var(--shop-h2);
    line-height: 1.15;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin: 0 auto 0.6rem;
    text-shadow: none;
    position: relative;
    display: inline-block;
}

body.woocommerce-shop .gallery-title-accent {
    display: block;
    height: 3px;
    width: 110px;
    margin: 0.6rem auto 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,190,61,1) 0%, rgba(255,190,61,0) 70%);
    box-shadow: 0 0 8px rgba(255,190,61,0.6), 0 0 20px rgba(255,190,61,0.25);
    border-radius: 999px;
}

body.woocommerce-shop .gallery-subtitle {
    color: rgba(0,0,0,0.7);
    max-width: 720px;
    font-size: var(--shop-body);
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: 0.005em;
    margin: 0.6rem auto 1.75rem;
}

body.woocommerce-shop .gallery-cta-footer {
    font-size: var(--shop-small);
    line-height: 1.5;
    font-weight: 400;
    color: rgba(0,0,0,0.65);
    margin: 1.75rem auto 0;
    max-width: 780px;
}


/* --------------------------------------------------------------------------
Knowledge Section (moved from PHP inline styles)
-------------------------------------------------------------------------- */
body.woocommerce-shop .knowledge-section {
    background-color: #0d0d0d;
    padding: var(--shop-section-gap-sm) 0;
    overflow-x: hidden;
    color: #f5f5f5;
}

body.woocommerce-shop .knowledge-section--no-top-padding {
    padding-top: 0;
    padding-bottom: var(--shop-section-gap);
}

body.woocommerce-shop .knowledge-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

body.woocommerce-shop .knowledge-title {
    color: var(--scopione-yellow);
    font-weight: 700;
    font-size: var(--shop-h2);
    letter-spacing: -0.01em;
    margin-top: 0;
    margin-bottom: var(--shop-section-gap);
    text-align: center;
    text-shadow: 0 0 30px rgba(255,190,61,0.2);
}

/* Knowledge card link styles */
body.woocommerce-shop .knowledge-card-image-link {
    text-decoration: none;
    color: #fff;
    display: block;
}

body.woocommerce-shop .knowledge-card-title-link {
    text-decoration: none;
    color: var(--scopione-yellow);
}

body.woocommerce-shop .knowledge-card-title-link:hover {
    color: #fff;
}

body.woocommerce-shop .knowledge-card-title-link:focus-visible {
    color: #fff;
    outline: 2px solid var(--scopione-yellow);
    outline-offset: 2px;
}


/* --------------------------------------------------------------------------
Core Banner Section (moved from PHP inline styles)
-------------------------------------------------------------------------- */
body.woocommerce-shop .scopione-core-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #0d0d0d 0%, #000 100%);
    color: #fff;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: var(--shop-section-gap) 16px;
}

body.woocommerce-shop .core-banner-weave {
    position: absolute;
    inset: 0;
    background-image: repeating-conic-gradient(from 0deg, rgba(15,15,15,0.9) 0deg 15deg, rgba(0,0,0,0.95) 15deg 30deg);
    background-size: 14px 14px;
    opacity: 0.25;
    animation: scopione-carbonSlide 16s linear infinite;
    z-index: 1;
}

body.woocommerce-shop .core-banner-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,190,61,0.15) 0%, rgba(0,0,0,0) 70%);
    opacity: 0.4;
    z-index: 2;
}

body.woocommerce-shop .core-banner-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 0 auto;
}

body.woocommerce-shop .core-banner-headline {
    font-size: var(--shop-h2); /* was custom clamp — consolidated into type scale */
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 0 24px rgba(255,190,61,0.25);
    margin: 0 0 12px;
}

body.woocommerce-shop .core-banner-subline {
    font-size: var(--shop-body);
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 28px;
}

body.woocommerce-shop .core-banner-subline strong {
    color: #fff;
}

/* Utility class for gold text */
body.woocommerce-shop .text-gold,
body.post-type-archive-product .text-gold {
    color: var(--scopione-yellow);
}

/* Badge container */
body.woocommerce-shop .scopione-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}


/* --------------------------------------------------------------------------
Final CTA Section (moved from PHP inline styles)
-------------------------------------------------------------------------- */
body.woocommerce-shop .final-cta-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    color: #f5f5f5;
    padding: var(--shop-section-gap) 0;
}

body.woocommerce-shop .final-cta-title {
    color: #fff;
    margin-bottom: 0.85rem;
    font-size: var(--shop-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.woocommerce-shop .final-cta-text {
    font-size: var(--shop-body);
    color: rgba(255,255,255,0.72);
    margin-bottom: 1.25rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}


/* ==========================================================================
   Performance: content-visibility for below-fold sections (Optional D)
   ========================================================================== */

body.woocommerce-shop .scopione-gallery-section,
body.woocommerce-shop .knowledge-section,
body.woocommerce-shop .reviews-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}


/* ==========================================================================
   Enhanced Accessibility: Focus Ring Visibility
   ========================================================================== */

/* Ensure all interactive elements have visible focus */
body.woocommerce-shop a:focus-visible,
body.woocommerce-shop button:focus-visible,
body.woocommerce-shop [tabindex="0"]:focus-visible {
    outline: 2px solid var(--scopione-yellow);
    outline-offset: 2px;
}


/* ==========================================================================
   Performance: GPU Acceleration Hints
   ========================================================================== */

/* Promote animated elements to GPU layer */
body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item,
body.woocommerce-shop .scopione-guarantee-bar,
body.woocommerce-shop .gallery-card-light,
body.woocommerce-shop .knowledge-card,
body.woocommerce-shop .review-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}


/* ==========================================================================
   Touch Device: Enhanced Active State Feedback
   ========================================================================== */

@media (hover: none) {
    /* Stronger visual feedback on tap for all cards */
    body.woocommerce-shop .gallery-card-light:active,
    body.woocommerce-shop .knowledge-card:active,
    body.woocommerce-shop .review-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
    }
}


/* ==========================================================================
   High Contrast Mode Support
   ========================================================================== */

@media (forced-colors: active) {
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item,
    body.woocommerce-shop .trust-bullet,
    body.woocommerce-shop .gallery-card-light,
    body.woocommerce-shop .review-card {
        border: 2px solid currentColor;
    }
    
    body.woocommerce-shop .scopione-vehicle-chips--elevated .chip-item:focus-visible,
    body.woocommerce-shop .trust-bullet:focus-visible {
        outline: 3px solid Highlight;
        outline-offset: 2px;
    }
}
