/* Vitrina del catálogo general — tienda interactiva */

:root {
    --ink: #1c100c;
    --chocolate: #3e2723;
    --gold: #c9a24a;
    --gold-bright: #e4c36a;
    --cream: #f7f1e6;
    --paper: #fffdf8;
    --stage: #efe6d4;
    --muted: #7a6558;
    --whatsapp: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.vitrina {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: clip;
    max-width: 100%;
}

/* --- NAV --- */
.vitrina-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 12px 6%;
    background: rgba(28, 16, 12, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}

.vitrina-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    text-decoration: none;
    color: var(--gold-bright);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.vitrina-brand img {
    height: 40px;
    width: auto;
}

.vitrina-nav nav {
    display: flex;
    gap: 28px;
}

.vitrina-nav nav a {
    color: #f3e8d8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    opacity: 0.75;
    transition: opacity 0.2s, color 0.2s;
}

.vitrina-nav nav a:hover,
.vitrina-nav nav a.activo {
    opacity: 1;
    color: var(--gold-bright);
}

.vitrina-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--whatsapp);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 999px;
    transition: transform 0.2s, filter 0.2s;
}

.vitrina-wa:hover { transform: translateY(-1px); filter: brightness(1.05); }

.vitrina-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(228, 195, 106, 0.35);
    border-radius: 12px;
    background: transparent;
    color: var(--gold-bright);
    font-size: 1.1rem;
    cursor: pointer;
}

/* --- HERO --- */
.vitrina-hero {
    text-align: center;
    padding: 64px 6% 36px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 162, 74, 0.28), transparent 55%),
        linear-gradient(180deg, #2a1810 0%, #3e2723 55%, #f7f1e6 100%);
    color: #fffdf8;
}

.vitrina-eyebrow {
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--gold-bright);
    margin-bottom: 14px;
}

.vitrina-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.12;
    font-style: italic;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

.vitrina-lead {
    max-width: 520px;
    margin: 18px auto 0;
    color: #ead9c2;
    font-weight: 400;
    font-size: 1.02rem;
    padding: 0 4px;
    overflow-wrap: anywhere;
}

.vitrina-orbes {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.vitrina-orbes span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.45);
    box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.15);
    animation: orbe 2.4s ease-in-out infinite;
}

.vitrina-orbes span:nth-child(2) { animation-delay: 0.15s; }
.vitrina-orbes span:nth-child(3) { animation-delay: 0.3s; }
.vitrina-orbes span:nth-child(4) { animation-delay: 0.45s; }
.vitrina-orbes span:nth-child(5) { animation-delay: 0.6s; }
.vitrina-orbes span:nth-child(6) { animation-delay: 0.75s; }
.vitrina-orbes span:nth-child(7) { animation-delay: 0.9s; }

@keyframes orbe {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-7px) scale(1.12); }
}

/* --- FILTROS --- */
.vitrina-filtros-wrap {
    position: sticky;
    top: 64px;
    z-index: 30;
    background: rgba(247, 241, 230, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(62, 39, 35, 0.08);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.vitrina-filtro-select-wrap {
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 4%;
}

.vitrina-filtro-select-wrap span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--chocolate);
}

.vitrina-filtro-select-wrap select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid rgba(62, 39, 35, 0.22);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233e2723' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 40px 12px 14px;
    border-radius: 14px;
    min-height: 46px;
}

.vitrina-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 6%;
    scrollbar-width: thin;
}

.filtro-pill {
    flex: 0 0 auto;
    border: 1.5px solid rgba(62, 39, 35, 0.18);
    background: transparent;
    color: var(--chocolate);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.2s;
}

.filtro-pill:hover {
    border-color: var(--gold);
    color: var(--ink);
}

.filtro-pill.activo {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--gold-bright);
}

.filtro-pill small {
    font-weight: 500;
    opacity: 0.7;
    margin-left: 4px;
}

/* --- SECCIONES --- */
.vitrina-main {
    padding: 12px 0 80px;
}

.vitrina-loading {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
}

.linea-seccion {
    padding: 36px 0 10px;
    scroll-margin-top: 140px;
}

.linea-seccion.oculta { display: none; }

.linea-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 0 6% 18px;
}

.linea-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--chocolate);
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

.linea-head span {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* --- GRILLA --- */
.vitrina-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 24px;
    padding: 0 6%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* --- TARJETA --- */
.vitrina-card {
    --acento: var(--gold);
    background: var(--paper);
    border-radius: 22px;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    border: 1px solid rgba(62, 39, 35, 0.06);
    box-shadow:
        0 10px 28px rgba(62, 39, 35, 0.06),
        0 0 0 2px color-mix(in srgb, var(--acento) 40%, transparent);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vitrina-stage {
    position: relative;
    aspect-ratio: 4 / 5;
    height: auto;
    background:
        radial-gradient(ellipse at 50% 80%, #fff 0%, var(--stage) 70%);
    cursor: pointer;
    overflow: hidden;
}

.vitrina-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%);
    transform: translateX(-120%);
    pointer-events: none;
    z-index: 1;
}

.vitrina-stage img.vitrina-foto,
.ficha-escenario img.vitrina-foto {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 8px 10px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center center;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.38s ease;
}

.vitrina-stage img.vitrina-foto.adelante,
.ficha-escenario img.vitrina-foto.adelante {
    opacity: 1;
    pointer-events: auto;
}

.vitrina-ref {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(28, 16, 12, 0.78);
    color: var(--gold-bright);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border-radius: 999px;
    z-index: 2;
}

.vitrina-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,0.9);
    color: var(--chocolate);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(6px);
    transition: 0.25s;
    z-index: 2;
}

.vitrina-card:hover .vitrina-hint { opacity: 1; transform: none; }

@media (hover: none) {
    .vitrina-hint { display: none; }
}

.vitrina-info {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.vitrina-info h3 {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.5em;
}

.vitrina-precio,
.ficha-precio {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}

.vitrina-precio .precio-antes,
.ficha-precio .precio-antes {
    font-size: 0.78em;
    font-weight: 500;
    color: var(--muted);
    text-decoration: line-through;
}

.vitrina-precio .precio-ahora,
.ficha-precio .precio-ahora {
    color: var(--gold);
}

.vitrina-precio .precio-promo-tag,
.ficha-precio .precio-promo-tag,
.ficha-rel-precio .precio-promo-tag {
    display: inline-block;
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5a7a3a;
    background: rgba(90, 122, 58, 0.12);
    padding: 2px 7px;
    border-radius: 999px;
}

.vitrina-precio .promo-ahorro,
.ficha-precio .promo-ahorro,
.ficha-rel-precio .promo-ahorro {
    flex-basis: 100%;
    font-size: 0.72em;
    font-weight: 600;
    color: #6b8f3a;
    margin: 0;
}

.ficha-rel-precio {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}
.ficha-rel-precio .precio-antes {
    font-size: 0.85em;
    color: var(--muted);
    text-decoration: line-through;
    font-weight: 500;
}

.vitrina-tallas {
    margin: 0 0 10px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted, #7a6558);
    line-height: 1.4;
}

.vitrina-tallas-wrap:empty,
.ficha-tallas-wrap:empty {
    display: none;
}

.ficha-tallas-bloque {
    margin: 4px 0 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(201, 162, 74, 0.08);
    border: 1px solid rgba(201, 162, 74, 0.28);
}

.ficha-tallas-head h2 {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold, #c9a24a);
}

.ficha-tallas-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.talla-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(62, 39, 35, 0.16);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink, #3e2723);
}

.vitrina-colores {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px rgba(62, 39, 35, 0.22);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.color-swatch.activo {
    box-shadow: 0 0 0 3px var(--gold);
    transform: scale(1.14);
}

@keyframes swatch-pulse {
    0%, 100% { box-shadow: 0 0 0 1.5px rgba(62, 39, 35, 0.22); }
    50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 55%, transparent); }
}

.color-nombre {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-left: 4px;
}

.vitrina-acciones {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-ver,
.btn-wa-mini {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 8px;
    border-radius: 12px;
    transition: 0.2s;
}

.btn-ver {
    background: var(--ink);
    color: #fff;
}

.btn-ver:hover { background: var(--chocolate); }

.btn-wa-mini {
    background: #e9f8ee;
    color: #128c3e;
}

.btn-wa-mini:hover { background: var(--whatsapp); color: #fff; }

.vitrina-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 28px 6%;
    background: var(--ink);
    color: #cbb9a8;
    font-size: 0.85rem;
}

.vitrina-footer a {
    color: var(--gold-bright);
    text-decoration: none;
}

/* --- FICHA DE PRODUCTO --- */
.ficha-volver {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 5% 0;
    color: var(--chocolate);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.ficha-volver:hover { color: var(--gold); }

.ficha-layout {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr);
    gap: 36px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 5% 48px;
    align-items: start;
}

.ficha-galeria {
    width: min(500px, calc((100vh - 220px) * 0.8));
}

.ficha-escenario {
    --acento: var(--gold);
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    height: auto;
    min-height: 0;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 80%, #fff 0%, var(--stage) 70%);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--acento) 45%, transparent);
}

.ficha-escenario img.vitrina-foto {
    cursor: zoom-in;
    padding: 12px 14px;
}

.ficha-contador {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(28, 16, 12, 0.78);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
}

.ficha-flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--ink);
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.ficha-flecha.prev { left: 14px; }
.ficha-flecha.next { right: 14px; }
.ficha-flecha:hover { background: var(--ink); color: var(--gold-bright); }

.ficha-lupa {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 2;
    border: 0;
    border-radius: 999px;
    background: rgba(28, 16, 12, 0.78);
    color: #fff;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.ficha-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.ficha-thumb {
    flex: 0 0 68px;
    height: 68px;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: var(--paper);
}

.ficha-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ficha-thumb.activo {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 162, 74, 0.25);
}

.ficha-info {
    position: sticky;
    top: 80px;
    background: var(--paper);
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 16px 40px rgba(62, 39, 35, 0.08);
}

.ficha-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    line-height: 1.15;
    margin: 6px 0 10px;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

.ficha-precio {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
}

.ficha-desc {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 22px;
}

.ficha-color-bloque {
    padding: 18px 0 8px;
    border-top: 1px solid rgba(62, 39, 35, 0.08);
}

.ficha-color-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.ficha-color-head h2 {
    font-size: 1rem;
    margin: 0;
}

.ficha-color-head span {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.ficha-hint {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 8px 0 14px;
}

.ficha-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ficha-swatches .color-swatch {
    width: 38px;
    height: 38px;
}

.ficha-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    background: var(--whatsapp);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 16px;
    border-radius: 16px;
    transition: transform 0.2s, filter 0.2s;
}

.ficha-wa:hover { transform: translateY(-2px); filter: brightness(1.05); }

.ficha-vacio {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.ficha-relacionados {
    padding: 10px 0 70px;
}

.ficha-rel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 0 6%;
}

.ficha-rel-card {
    background: var(--paper);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 20px rgba(62, 39, 35, 0.06);
    transition: transform 0.25s;
}

.ficha-rel-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    padding: 12px 14px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: var(--stage);
}

.ficha-rel-card strong,
.ficha-rel-card span {
    display: block;
    padding: 0 12px;
}

.ficha-rel-card strong {
    margin-top: 10px;
    font-size: 0.85rem;
}

.ficha-rel-card span {
    color: var(--gold);
    font-weight: 700;
    padding-bottom: 12px;
    margin-top: 4px;
}

.ficha-zoom {
    position: fixed;
    inset: 0;
    background: rgba(12, 6, 4, 0.92);
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.ficha-zoom[hidden] { display: none; }

.ficha-zoom img {
    max-width: min(1100px, 100%);
    max-height: 90vh;
    border-radius: 16px;
    object-fit: contain;
}

.ficha-zoom-cerrar {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
}

@media (hover: hover) and (pointer: fine) {
    .vitrina-card:hover {
        transform: translateY(-8px);
        box-shadow:
            0 22px 40px rgba(62, 39, 35, 0.14),
            0 0 0 3px var(--acento);
    }

    .vitrina-card:hover .vitrina-stage::after {
        transform: translateX(120%);
        transition: transform 0.7s ease;
    }

    .color-swatch:hover { transform: scale(1.18); }

    .vitrina-card.multicolor .color-swatch:not(.activo) {
        animation: swatch-pulse 1.8s ease-in-out infinite;
    }

    .ficha-rel-card:hover { transform: translateY(-6px); }
}

@media (pointer: coarse) {
    .color-swatch {
        width: 40px;
        height: 40px;
    }

    .ficha-swatches .color-swatch {
        width: 44px;
        height: 44px;
    }

    .btn-ver,
    .btn-wa-mini {
        min-height: 44px;
        padding: 12px 8px;
    }
}

@media (max-width: 1100px) {
    .vitrina-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 980px) {
    .ficha-layout {
        grid-template-columns: minmax(0, 440px);
        justify-content: center;
        gap: 24px;
        padding: 16px 5% 60px;
    }
    .ficha-galeria { width: 100%; }
    .ficha-escenario { max-height: none; }
    .ficha-info { position: static; }
}

@media (max-width: 900px) {
    .vitrina-menu-btn { display: inline-flex; }

    .vitrina-nav nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
        padding: 4px 0 8px;
    }

    .vitrina-nav.abierto nav { display: flex; }

    .vitrina-nav nav a {
        padding: 12px 2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        opacity: 1;
    }

    .vitrina-brand span { font-size: 1.15rem; }

    .vitrina-filtros-wrap { top: 66px; }

    /* En móvil: selector completo (no se pierde a la derecha) */
    .vitrina-filtro-select-wrap { display: flex; }
    .vitrina-filtros { display: none; }

    .vitrina-stage {
        /* Mismo formato que las fotos WebP (1080x1350) para no recortar el zapato */
        aspect-ratio: 4 / 5;
    }
    .vitrina-stage img.vitrina-foto {
        padding: 6px 8px;
        object-position: center center;
    }

    .color-swatch { width: 40px; height: 40px; }
    .ficha-swatches .color-swatch { width: 44px; height: 44px; }
}

@media (max-width: 800px) {
    .vitrina-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0 4%;
    }

    .linea-head {
        padding: 0 4% 14px;
        gap: 8px;
    }
    .linea-head h2 {
        font-size: clamp(1.35rem, 5vw, 1.8rem);
        min-width: 0;
    }
}

@media (max-width: 720px) {
    .vitrina-hero { padding: 42px 5% 28px; }
    .vitrina-info { padding: 12px; gap: 8px; }
    .vitrina-info h3 { font-size: 0.86rem; min-height: 0; }
    .vitrina-precio { font-size: 1.05rem; }
    .vitrina-hint { display: none; }
    .color-swatch { width: 40px; height: 40px; }
    .ficha-swatches .color-swatch { width: 44px; height: 44px; }
    .ficha-layout {
        grid-template-columns: 1fr;
        padding: 16px 4% 50px;
        gap: 22px;
        max-width: none;
    }
    .ficha-galeria { width: 100%; }
    .ficha-escenario {
        aspect-ratio: 4 / 5;
        max-height: none;
        border-radius: 18px;
    }
    .ficha-escenario img.vitrina-foto {
        padding: 10px 12px;
        object-position: center center;
    }
    .ficha-info { position: static; padding: 22px 18px; }
    .ficha-thumb { flex-basis: 72px; height: 72px; }
    .ficha-flecha {
        width: 40px;
        height: 40px;
    }
    .ficha-relacionados .linea-head { padding: 0 4% 14px; }
    .ficha-rel-grid { padding: 0 4%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .vitrina-nav { padding: 10px 4%; }
    .vitrina-brand span { display: none; }
    .vitrina-wa span { display: none; }
    .vitrina-wa { padding: 10px 12px; }
    .color-nombre {
        flex-basis: 100%;
        margin-left: 0;
        font-size: 0.68rem;
    }
    .btn-wa-mini span { display: none; }
    .vitrina-hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}

@media (max-width: 380px) {
    .vitrina-grid { gap: 10px; }
    .vitrina-card { border-radius: 16px; }
    .color-swatch { width: 36px; height: 36px; }
}
