/* ============================================================
   FRØST · SHOP CINEMATOGRÁFICO
   Scoped a body.woocommerce-shop · Hello Elementor child theme
   Sube este archivo a /hello-elementor-child/frost-shop-archive.css
   (sobreescribe la versión anterior)
   ============================================================ */

body.woocommerce-shop {
    --fs-navy-900: #0F2640;
    --fs-navy-700: #1B3A5C;
    --fs-ice-50:   #F4F7FA;
    --fs-ice-100:  #E5EBF0;
    --fs-ice-200:  #D5DEE7;
    --fs-slate-400:#8E97A4;
    --fs-slate-500:#6B7785;
    --fs-slate-700:#3D4854;
    --fs-bone:     #FAFAF7;
    --fs-accent:   #7FA3C4;
    --fs-ease:     cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
}

/* Romper max-width del padre */
body.woocommerce-shop .site-main,
body.woocommerce-shop .page-content,
body.woocommerce-shop .woocommerce {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-shop .site-main {
    background: var(--fs-bone) !important;
}

/* Ocultar elementos default WC que reemplazamos */
body.woocommerce-shop .woocommerce-products-header,
body.woocommerce-shop .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,
body.woocommerce-shop .woocommerce-breadcrumb,
body.woocommerce-shop nav.woocommerce-pagination {
    display: none !important;
}

/* ============================================================
   STAGE: fondo dinámico fijo
   ============================================================ */
body.woocommerce-shop .fs-stage-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: var(--fs-bone);
    transition: background 0.8s var(--fs-ease);
    overflow: hidden;
    pointer-events: none;
}

body.woocommerce-shop .fs-stage-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s var(--fs-ease);
    background-size: cover;
    background-position: center;
}

body.woocommerce-shop .fs-stage-layer.active { opacity: 1; }

/* Mundo 1 · Producto disponible (default si no se asigna fondo) */
body.woocommerce-shop .fs-layer-glacial {
    background: linear-gradient(160deg, #DCE4EB 0%, #B9C7D5 50%, #8FA3B8 100%);
}

body.woocommerce-shop .fs-layer-glacial::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 60%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 65%);
    border-radius: 50%;
}

/* Si el layer tiene una imagen de fondo, oscurecerla un poco */
body.woocommerce-shop .fs-stage-layer.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 38, 64, 0.15) 0%, rgba(15, 38, 64, 0.45) 100%);
}

/* Cuando el layer glacial tiene imagen, ocultamos el halo radial blanco
   (porque crea el "círculo fantasma" sobre el paisaje) */
body.woocommerce-shop .fs-layer-glacial.has-image::before {
    display: none;
}

/* Hielos parallax (solo cuando NO hay imagen de fondo) */
body.woocommerce-shop .fs-shard {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    border: 1px solid rgba(255,255,255,0.3);
    will-change: transform;
}

body.woocommerce-shop .fs-shard-1 {
    width: 300px; height: 200px;
    bottom: 12%; left: -5%;
    transform: rotate(15deg) skew(-15deg);
    clip-path: polygon(0 100%, 30% 0, 100% 40%, 80% 100%);
    opacity: 0.6;
}

body.woocommerce-shop .fs-shard-2 {
    width: 260px; height: 220px;
    bottom: 8%; right: -3%;
    transform: rotate(-10deg);
    clip-path: polygon(20% 100%, 0 30%, 60% 0, 100% 60%, 80% 100%);
    opacity: 0.5;
}

/* Mundo 2 · Workshop (slot próximamente) */
body.woocommerce-shop .fs-layer-workshop {
    background: linear-gradient(180deg, #0F2640 0%, #142E4D 100%);
}

body.woocommerce-shop .fs-layer-workshop::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(127, 163, 196, 0.12) 0%, transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(127, 163, 196, 0.08) 0%, transparent 40%);
}

body.woocommerce-shop .fs-layer-workshop::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: overlay;
}

/* Mundo 3 · Blueprint (slot reservado) */
body.woocommerce-shop .fs-layer-blueprint {
    background: var(--fs-bone);
}

body.woocommerce-shop .fs-layer-blueprint::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(127, 163, 196, 0.10) 1px, transparent 1px),
      linear-gradient(90deg, rgba(127, 163, 196, 0.10) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: -1px -1px;
}

/* Mundo 4 · Outro */
body.woocommerce-shop .fs-layer-outro {
    background: var(--fs-bone);
}

/* ============================================================
   HERO INICIAL
   ============================================================ */
body.woocommerce-shop .fs-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-start;
    padding: 80px 56px 60px;
    z-index: 2;
}

body.woocommerce-shop .fs-hero-content {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 60px;
}

body.woocommerce-shop .fs-hero-left {
    max-width: 760px;
}

body.woocommerce-shop .fs-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--fs-slate-500);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

body.woocommerce-shop .fs-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--fs-slate-500);
}

body.woocommerce-shop .fs-h1 {
    font-size: clamp(36px, 5vw, 76px);
    font-weight: 600;
    color: var(--fs-navy-900);
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 24px;
    font-family: 'Montserrat', sans-serif;
}

body.woocommerce-shop .fs-h1 em {
    font-style: italic;
    font-weight: 200;
    color: var(--fs-accent);
    letter-spacing: -0.04em;
}

body.woocommerce-shop .fs-hero-subtitle {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--fs-slate-700);
    max-width: 540px;
    margin: 0;
}

body.woocommerce-shop .fs-hero-right {
    text-align: right;
    padding-bottom: 8px;
}

body.woocommerce-shop .fs-count-num {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 200;
    color: var(--fs-navy-900);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
}

body.woocommerce-shop .fs-count-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--fs-slate-500);
}

body.woocommerce-shop .fs-scroll-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--fs-slate-500);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: fsBob 2s var(--fs-ease) infinite;
}

body.woocommerce-shop .fs-scroll-cue::after {
    content: '';
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, var(--fs-slate-500), transparent);
}

@keyframes fsBob {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 6px); }
}

/* ============================================================
   CINEMATIC SECTIONS
   ============================================================ */
body.woocommerce-shop .fs-cinematic {
    position: relative;
    min-height: 200vh;
    z-index: 2;
}

body.woocommerce-shop .fs-cinematic-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 56px 60px;
    overflow: hidden;
}

body.woocommerce-shop .fs-cinematic-content {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Visual del producto */
body.woocommerce-shop .fs-cinematic-visual {
    position: relative;
    width: 100%;
    height: 75vh;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === CAMBIO 1: Termo MÁS GRANDE — height-based para llenar el espacio === */
body.woocommerce-shop .fs-product-img {
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    filter: drop-shadow(0 50px 60px rgba(15, 38, 64, 0.45));
    will-change: transform;
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-product-img {
    filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.6));
}

/* === CAMBIO 2: Slots con opacidad al 100% (antes 0.22 y 0.6) === */
body.woocommerce-shop .fs-product-silhouette {
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    opacity: 1;
    filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.5));
    will-change: transform;
}

body.woocommerce-shop .fs-product-wireframe {
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    opacity: 1;
    filter: drop-shadow(0 50px 60px rgba(15, 38, 64, 0.35));
    will-change: transform;
}

/* Línea técnica workshop */
body.woocommerce-shop .fs-tech-line {
    position: absolute;
    bottom: 18%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fs-accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 3;
}

/* Coordenadas técnicas */
body.woocommerce-shop .fs-tech-coords {
    position: absolute;
    top: 8%;
    left: 0;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fs-accent);
    opacity: 0.7;
    font-family: 'Courier New', monospace;
    z-index: 3;
}

body.woocommerce-shop .fs-tech-coords-2 {
    top: auto;
    bottom: 8%;
    left: auto;
    right: 0;
}

/* === CAMBIO 3: Card "frosted glass" alrededor del copy === */
body.woocommerce-shop .fs-cinematic-copy {
    position: relative;
    padding: 48px 44px;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    box-shadow:
      0 30px 60px -15px rgba(15, 38, 64, 0.25),
      0 8px 20px -5px rgba(15, 38, 64, 0.15);
    color: var(--fs-navy-900);
}

/* Card oscura para tema dark (workshop) */
body.woocommerce-shop .fs-cinematic.theme-dark .fs-cinematic-copy {
    background: rgba(15, 38, 64, 0.85);
    border: 1px solid rgba(127, 163, 196, 0.2);
    color: var(--fs-bone);
    box-shadow:
      0 30px 60px -15px rgba(0, 0, 0, 0.5),
      0 8px 20px -5px rgba(0, 0, 0, 0.3);
}

body.woocommerce-shop .fs-cinematic.theme-light .fs-cinematic-copy {
    color: var(--fs-navy-900);
}

body.woocommerce-shop .fs-cinematic-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--fs-slate-500);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

body.woocommerce-shop .fs-cinematic-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-cinematic-eyebrow {
    color: var(--fs-accent);
}

body.woocommerce-shop .fs-cinematic-h2 {
    font-size: clamp(34px, 4.2vw, 60px);
    font-weight: 200;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin: 0 0 24px;
    font-family: 'Montserrat', sans-serif;
}

body.woocommerce-shop .fs-cinematic-h2 strong {
    font-weight: 600;
    letter-spacing: -0.02em;
}

body.woocommerce-shop .fs-cinematic-h2 em {
    font-style: italic;
    font-weight: 200;
    color: var(--fs-accent);
}

body.woocommerce-shop .fs-cinematic-spec {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fs-slate-500);
    margin-bottom: 32px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

body.woocommerce-shop .fs-cinematic-spec .dot {
    color: rgba(127, 163, 196, 0.5);
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-cinematic-spec {
    color: var(--fs-ice-200);
}

body.woocommerce-shop .fs-cinematic-text {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 460px;
    color: var(--fs-slate-700);
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-cinematic-text {
    color: var(--fs-ice-200);
    opacity: 0.95;
}

body.woocommerce-shop .fs-cinematic-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

body.woocommerce-shop .fs-cinematic-price {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--fs-navy-900);
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-cinematic-price {
    color: var(--fs-bone);
}

body.woocommerce-shop .fs-cinematic-price-currency {
    font-size: 13px;
    color: var(--fs-slate-400);
    margin-left: 6px;
}

body.woocommerce-shop .fs-cinematic-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--fs-navy-900);
    color: var(--fs-bone);
    border: none;
    padding: 18px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s var(--fs-ease);
    cursor: pointer;
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-cinematic-cta {
    background: var(--fs-bone);
    color: var(--fs-navy-900);
}

body.woocommerce-shop .fs-cinematic-cta:hover {
    transform: translateY(-2px);
    background: var(--fs-accent);
    color: var(--fs-bone);
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-cinematic-cta:hover {
    background: var(--fs-accent);
    color: var(--fs-bone);
}

body.woocommerce-shop .fs-cinematic-cta svg {
    transition: transform 0.3s var(--fs-ease);
}

body.woocommerce-shop .fs-cinematic-cta:hover svg {
    transform: translateX(4px);
}

body.woocommerce-shop .fs-cinematic-cta-ghost {
    background: transparent;
    border: 1px solid var(--fs-navy-900);
    color: var(--fs-navy-900);
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-cinematic-cta-ghost {
    border: 1px solid rgba(250, 250, 247, 0.5);
    color: var(--fs-bone);
    background: transparent;
}

body.woocommerce-shop .fs-cinematic-cta-ghost:hover {
    background: var(--fs-navy-900);
    color: var(--fs-bone);
    border-color: var(--fs-navy-900);
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-cinematic-cta-ghost:hover {
    background: var(--fs-bone);
    color: var(--fs-navy-900);
    border-color: var(--fs-bone);
}

/* === CAMBIO 4: Chapter number gigante MÁS DISCRETO (6% → 3%) === */
body.woocommerce-shop .fs-chapter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(280px, 40vw, 600px);
    font-weight: 100;
    line-height: 1;
    color: rgba(15, 38, 64, 0.03);
    letter-spacing: -0.06em;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    will-change: transform;
    font-family: 'Montserrat', sans-serif;
}

body.woocommerce-shop .fs-cinematic.theme-dark .fs-chapter {
    color: rgba(250, 250, 247, 0.05);
}

/* ============================================================
   OUTRO · GRID FINAL + CTA
   ============================================================ */
body.woocommerce-shop .fs-outro {
    position: relative;
    z-index: 2;
    padding: 140px 56px 100px;
    background: var(--fs-bone);
}

body.woocommerce-shop .fs-outro-inner {
    max-width: 1600px;
    margin: 0 auto;
}

body.woocommerce-shop .fs-outro-divider {
    height: 1px;
    background: var(--fs-ice-100);
    margin-bottom: 64px;
    transform-origin: left center;
}

body.woocommerce-shop .fs-outro-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 60px;
}

body.woocommerce-shop .fs-outro-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 200;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--fs-navy-900);
    font-family: 'Montserrat', sans-serif;
}

body.woocommerce-shop .fs-outro-meta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--fs-slate-500);
}

body.woocommerce-shop .fs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 100px;
}

/* ============================================================
   CARDS UNIFICADAS CON --card-color (sistema dinámico)
   ============================================================ */
body.woocommerce-shop .fs-card {
    --card-color: #FAFAF7;
    --card-color-dark: #B9C7D5;

    border-radius: 6px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 0.78;
    cursor: pointer;
    transition: transform 0.5s var(--fs-ease);
    display: block;
    text-decoration: none;
    color: inherit;
}

body.woocommerce-shop .fs-card:hover {
    transform: translateY(-6px);
}

/* Variante "Próximamente" — sin link, leve transparencia, hover suave */
body.woocommerce-shop .fs-card--soon {
    cursor: default;
}

body.woocommerce-shop .fs-card--soon:hover {
    transform: translateY(-3px);
}

body.woocommerce-shop .fs-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--card-color) 0%, var(--card-color-dark) 100%);
}

/* Highlight radial encima del gradient */
body.woocommerce-shop .fs-card-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 75%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 60%);
    border-radius: 50%;
}

/* Cards "soon" reciben velo navy adicional */
body.woocommerce-shop .fs-card--soon .fs-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 38, 64, 0.18);
}

/* Imagen del termo */
body.woocommerce-shop .fs-card-product {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    width: 72%;
    max-width: 340px;
    height: auto;
    z-index: 2;
    object-fit: contain;
    filter: drop-shadow(0 30px 40px rgba(15, 38, 64, 0.4));
}

/* Badge de estado */
body.woocommerce-shop .fs-card-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(250, 250, 247, 0.95);
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fs-navy-900);
    z-index: 3;
}

body.woocommerce-shop .fs-card-badge--soon {
    background: rgba(15, 38, 64, 0.85);
    color: var(--fs-bone);
}

/* Overlay con texto · siempre dark gradient + texto bone (consistente) */
body.woocommerce-shop .fs-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 22px 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--fs-bone);
    z-index: 3;
}

body.woocommerce-shop .fs-card-name {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

body.woocommerce-shop .fs-card-cap {
    font-size: 11px;
    font-weight: 300;
    color: rgba(250, 250, 247, 0.7);
    margin-bottom: 4px;
}

body.woocommerce-shop .fs-card-price {
    font-size: 13px;
    font-weight: 400;
}

body.woocommerce-shop .fs-card-plus {
    position: absolute;
    bottom: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(250, 250, 247, 0.5);
    border-radius: 50%;
    background: transparent;
    color: var(--fs-bone);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: all 0.3s var(--fs-ease);
}

body.woocommerce-shop .fs-card-plus svg { transition: transform 0.3s var(--fs-ease); }

body.woocommerce-shop .fs-card:hover .fs-card-plus {
    background: var(--fs-bone);
    color: var(--fs-navy-900);
    border-color: var(--fs-bone);
}

body.woocommerce-shop .fs-card:hover .fs-card-plus svg {
    transform: rotate(90deg);
}

/* CTA final */
body.woocommerce-shop .fs-final-cta {
    background: var(--fs-navy-900);
    color: var(--fs-bone);
    padding: 120px 56px;
    margin: 0 -56px -100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.woocommerce-shop .fs-final-cta::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(127, 163, 196, 0.15), transparent 60%);
    pointer-events: none;
}

body.woocommerce-shop .fs-final-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--fs-accent);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

body.woocommerce-shop .fs-final-title {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 200;
    color: var(--fs-bone);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 auto 40px;
    max-width: 720px;
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
}

body.woocommerce-shop .fs-final-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--fs-accent);
}

body.woocommerce-shop .fs-final-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: transparent;
    color: var(--fs-bone);
    border: 1px solid rgba(250, 250, 247, 0.4);
    padding: 20px 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s var(--fs-ease);
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
}

body.woocommerce-shop .fs-final-button:hover {
    background: var(--fs-bone);
    color: var(--fs-navy-900);
    border-color: var(--fs-bone);
    transform: translateY(-2px);
}

body.woocommerce-shop .fs-final-button svg { transition: transform 0.3s var(--fs-ease); }
body.woocommerce-shop .fs-final-button:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER SE ADAPTA AL FONDO (dark mode automático)
   ============================================================ */
body.woocommerce-shop.fs-stage-dark header,
body.woocommerce-shop.fs-stage-dark .site-header {
    background: rgba(15, 38, 64, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.6s var(--fs-ease);
}

body.woocommerce-shop.fs-stage-dark header *,
body.woocommerce-shop.fs-stage-dark .site-header * {
    color: var(--fs-bone) !important;
    transition: color 0.6s var(--fs-ease);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    body.woocommerce-shop .fs-cinematic-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    body.woocommerce-shop .fs-cinematic-eyebrow,
    body.woocommerce-shop .fs-cinematic-spec,
    body.woocommerce-shop .fs-cinematic-meta {
        justify-content: center;
    }
    body.woocommerce-shop .fs-cinematic-eyebrow::before { display: none; }
    body.woocommerce-shop .fs-cinematic-text { margin-left: auto; margin-right: auto; }
    body.woocommerce-shop .fs-cinematic-visual {
        height: 50vh;
        max-height: 500px;
    }
    body.woocommerce-shop .fs-product-img,
    body.woocommerce-shop .fs-product-silhouette,
    body.woocommerce-shop .fs-product-wireframe {
        max-height: 50vh;
    }
    body.woocommerce-shop .fs-cinematic-h2 { font-size: clamp(28px, 4.5vw, 50px); }
    body.woocommerce-shop .fs-cinematic-copy { padding: 36px 32px; }
}

@media (max-width: 900px) {
    body.woocommerce-shop .fs-cinematic { display: none; }
    body.woocommerce-shop .fs-stage-bg { display: none; }
    body.woocommerce-shop .fs-hero {
        min-height: auto;
        padding: 110px 24px 60px;
    }
    body.woocommerce-shop .fs-hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    body.woocommerce-shop .fs-hero-right {
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 16px;
        padding-bottom: 0;
    }
    body.woocommerce-shop .fs-count-num { margin-bottom: 0; }
    body.woocommerce-shop .fs-h1 { font-size: 42px; }
    body.woocommerce-shop .fs-scroll-cue { display: none; }

    body.woocommerce-shop .fs-outro {
        padding: 60px 24px 80px;
    }
    body.woocommerce-shop .fs-outro-divider { margin-bottom: 40px; }
    body.woocommerce-shop .fs-outro-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 40px;
    }
    body.woocommerce-shop .fs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 70px;
    }
    body.woocommerce-shop .fs-final-cta {
        padding: 80px 24px;
        margin: 0 -24px -80px;
    }

    body.woocommerce-shop .fs-mobile-fadeup {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s var(--fs-ease), transform 0.7s var(--fs-ease);
    }
    body.woocommerce-shop .fs-mobile-fadeup.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 420px) {
    body.woocommerce-shop .fs-h1 { font-size: 32px; }
    body.woocommerce-shop .fs-cinematic-h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    body.woocommerce-shop .fs-cinematic { display: none; }
    body.woocommerce-shop .fs-stage-bg { display: none; }
    body.woocommerce-shop .fs-scroll-cue { display: none; }
    body.woocommerce-shop .fs-shard { display: none; }
    body.woocommerce-shop .fs-mobile-fadeup {
        opacity: 1;
        transform: none;
    }
    body.woocommerce-shop *,
    body.woocommerce-shop *::before,
    body.woocommerce-shop *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.2s !important;
    }
}
/* ============================================================
   SWATCHES DE COLOR EN CARDS · Opción A (indicador visual)
   Los colores se inyectan inline desde archive-product.php
   ============================================================ */
.fs-card-swatches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
    max-width: calc(100% - 52px); /* deja libre el botón "+" de la esquina */
}

.fs-card-swatch {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    display: inline-block;
}

.fs-card-swatch-count {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(250, 250, 247, 0.7);
    margin-left: 3px;
    white-space: nowrap;
}

/* En móvil las cards son más anchas · damos un pelín más de aire */
@media (max-width: 700px) {
    .fs-card-swatches {
        gap: 8px;
        margin-top: 14px;
    }
    .fs-card-swatch {
        width: 14px;
        height: 14px;
    }
}

/* ════════════════════════════════════════════════════════════
   FRØST · SHOP REBRAND (Dare to Differ · oscuro)
   Override aditivo al final de frost-shop-archive.css.
   Oscurece hero, stage, capítulo 01 (theme-light) y outro grid.
   ════════════════════════════════════════════════════════════ */

/* Fondo global del shop */
body.woocommerce-shop {
    background: #08090B !important;
}
body.woocommerce-shop .site-main,
body.woocommerce-shop main.site-main,
body.woocommerce-shop .page-content {
    background: #08090B !important;
}

/* Header transparente con texto claro sobre el shop oscuro */
body.woocommerce-shop .frost-header:not(.scrolled) {
    background: transparent;
}
body.woocommerce-shop .frost-header:not(.scrolled) .frost-header-logo,
body.woocommerce-shop .frost-header:not(.scrolled) .frost-header-nav a,
body.woocommerce-shop .frost-header:not(.scrolled) .frost-header-icon {
    color: #FAFAF7;
}
body.woocommerce-shop .frost-header:not(.scrolled) .frost-header-hamburger span {
    background: #FAFAF7;
}

/* STAGE BG · fondo fijo oscuro */
body.woocommerce-shop .fs-stage-bg {
    background: #08090B !important;
}
body.woocommerce-shop .fs-stage-layer.fs-layer-glacial:not(.has-image) {
    background: linear-gradient(160deg, #0B1B2E 0%, #08090B 100%) !important;
}
body.woocommerce-shop .fs-stage-layer.fs-layer-outro {
    background: #08090B !important;
}

/* Shards decorativos (si no hay imagen) · más sutiles */
body.woocommerce-shop .fs-shard-1,
body.woocommerce-shop .fs-shard-2 {
    background: rgba(127, 163, 196, 0.06) !important;
    border-color: rgba(127, 163, 196, 0.12) !important;
}

/* ═════ HERO ═════ */
body.woocommerce-shop .fs-hero {
    background: transparent !important;
}
body.woocommerce-shop .fs-eyebrow {
    color: #7FA3C4 !important;
    letter-spacing: 0.34em !important;
}
body.woocommerce-shop .fs-h1 {
    color: #FAFAF7 !important;
}
body.woocommerce-shop .fs-h1 em {
    color: #7FA3C4 !important;
    font-style: italic !important;
    font-weight: 300 !important;
}
body.woocommerce-shop .fs-hero-subtitle {
    color: #C7CDD4 !important;
}
body.woocommerce-shop .fs-count-num {
    color: #FAFAF7 !important;
}
body.woocommerce-shop .fs-count-label {
    color: #7FA3C4 !important;
    letter-spacing: 0.28em !important;
}
body.woocommerce-shop .fs-scroll-cue {
    color: rgba(250, 250, 247, 0.55) !important;
}

/* ═════ CINEMATIC CAPÍTULO 01 (theme-light → invertir a oscuro) ═════ */
body.woocommerce-shop .fs-cinematic.theme-light {
    background: transparent !important;
}
body.woocommerce-shop .fs-cinematic-eyebrow {
    color: #7FA3C4 !important;
    letter-spacing: 0.34em !important;
}
body.woocommerce-shop .fs-chapter {
    color: rgba(127, 163, 196, 0.18) !important;
}
body.woocommerce-shop .fs-cinematic-h2 {
    color: #FAFAF7 !important;
}
body.woocommerce-shop .fs-cinematic-h2 strong {
    color: #FAFAF7 !important;
    font-weight: 700 !important;
}
body.woocommerce-shop .fs-cinematic-spec {
    color: #8E97A4 !important;
}
body.woocommerce-shop .fs-cinematic-spec .dot {
    color: rgba(127, 163, 196, 0.4) !important;
}
body.woocommerce-shop .fs-cinematic-text {
    color: #C7CDD4 !important;
}
body.woocommerce-shop .fs-cinematic-price {
    color: #FAFAF7 !important;
}
body.woocommerce-shop .fs-cinematic-price .currency {
    color: #8E97A4 !important;
}

/* CTA "Ver producto" · blanco statement */
body.woocommerce-shop .fs-cinematic-cta {
    background: #FAFAF7 !important;
    color: #08090B !important;
    border: 1px solid #FAFAF7 !important;
}
body.woocommerce-shop .fs-cinematic-cta:hover {
    background: transparent !important;
    color: #FAFAF7 !important;
    transform: translateY(-2px);
}

/* Imagen del producto del capítulo 01 · gradiente glow para que destaque */
body.woocommerce-shop .fs-cinematic-visual {
    background: radial-gradient(circle at center, rgba(127, 163, 196, 0.08), transparent 70%) !important;
}

/* ═════ OUTRO · grid de 6 termos + CTA editorial ═════ */
body.woocommerce-shop .fs-outro {
    background: #08090B !important;
    border-top: 1px solid rgba(127, 163, 196, 0.08);
}
body.woocommerce-shop .fs-outro-divider {
    background: rgba(127, 163, 196, 0.15) !important;
}
body.woocommerce-shop .fs-outro-title {
    color: #FAFAF7 !important;
}
body.woocommerce-shop .fs-outro-meta {
    color: #7FA3C4 !important;
    letter-spacing: 0.34em !important;
}

/* CTA Editorial final */
body.woocommerce-shop .fs-final-cta {
    background: transparent !important;
    border-top: 1px solid rgba(127, 163, 196, 0.1) !important;
}
body.woocommerce-shop .fs-final-eyebrow {
    color: #7FA3C4 !important;
    letter-spacing: 0.34em !important;
}
body.woocommerce-shop .fs-final-title {
    color: #FAFAF7 !important;
}
body.woocommerce-shop .fs-final-title em {
    color: #7FA3C4 !important;
    font-style: italic !important;
    font-weight: 300 !important;
}
body.woocommerce-shop .fs-final-button {
    background: #FAFAF7 !important;
    color: #08090B !important;
    border: 1px solid #FAFAF7 !important;
}
body.woocommerce-shop .fs-final-button:hover {
    background: transparent !important;
    color: #FAFAF7 !important;
}


/* ════════════════════════════════════════════════════════════
   FIX · Capítulo 01 · cuadro de copy
   El selector .fs-cinematic-copy tenía fondo bone del CSS
   original. Lo cambiamos a navy oscuro translúcido con blur,
   así el texto blanco del rebrand se lee correctamente.
   ════════════════════════════════════════════════════════════ */
body.woocommerce-shop .fs-cinematic-copy {
    background: rgba(11, 27, 46, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(127, 163, 196, 0.18) !important;
    color: #FAFAF7 !important;
}
body.woocommerce-shop .fs-cinematic-price { color: #FAFAF7 !important; }
body.woocommerce-shop .fs-cinematic-price .currency { color: #8E97A4 !important; }


/* ════════════════════════════════════════════════════════════
   FRØST · CARRUSEL HOVER en cards del shop
   Stack de imágenes de galería con fade entre ellas.
   Desktop: hover activa el ciclo · Mobile: IntersectionObserver
   ════════════════════════════════════════════════════════════ */
body.woocommerce-shop .fs-card-gallery {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}
body.woocommerce-shop .fs-card-gallery .fs-card-product {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
body.woocommerce-shop .fs-card-gallery .fs-card-product.is-active {
    opacity: 1;
}

/* Dots indicadores · aparecen en hover */
body.woocommerce-shop .fs-card .fs-card-dots {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 6;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
body.woocommerce-shop .fs-card:hover .fs-card-dots {
    opacity: 1;
}
body.woocommerce-shop .fs-card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(250, 250, 247, 0.35);
    transition: all 0.3s ease;
}
body.woocommerce-shop .fs-card-dot.is-active {
    background: #FAFAF7;
    transform: scale(1.4);
}

/* Mobile: los dots siempre visibles (no hay hover) */
@media (max-width: 760px) {
    body.woocommerce-shop .fs-card .fs-card-dots {
        opacity: 1;
    }
}
