/* ================================================================
   MINIMAL — Premium / Luxury (layout-minimal)
   ================================================================ */
body.layout-minimal { background: #fafafa; }

/* Header blanco ultradelgado */
body.layout-minimal header { background: #ffffff !important; box-shadow: none !important; border-bottom: 1px solid #e5e7eb; }
body.layout-minimal #category-buttons { background: #ffffff !important; border-top: 1px solid #f3f4f6; }
body.layout-minimal .header-logo-text strong { color: #111 !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; }
body.layout-minimal .nav-link-btn, body.layout-minimal .quick-pill, body.layout-minimal .dropdown-btn { color: #374151 !important; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; }
body.layout-minimal .nav-link-btn:hover, body.layout-minimal .quick-pill:hover { color: #111 !important; opacity: 1; }
body.layout-minimal .header-search-wrap { background: #f9fafb; border-color: #e5e7eb; }
body.layout-minimal .header-search-wrap input { color: #111; background: transparent; }
body.layout-minimal .header-search-wrap input::placeholder { color: #9ca3af; }

/* ── Catálogo: GRID HAIRLINE — celdas de museo con bordes finos ── */
body.layout-minimal .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0;
    max-width: 1080px; margin: 0 auto;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
}
body.layout-minimal .product {
    background: #fafafa; border: none;
    border-right: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;
    box-shadow: none; padding: 1.4rem 1.4rem 1.8rem; border-radius: 0; overflow: visible;
    transition: background 0.2s;
}
body.layout-minimal .product:hover { transform: none; box-shadow: none; background: #fff; }
body.layout-minimal .prod-img-wrap { aspect-ratio: 1/1; border-radius: 0; overflow: hidden; margin-bottom: 1rem; background: #f3f4f6; }
body.layout-minimal .prod-img-wrap img { filter: contrast(1.08) brightness(1.02); transition: filter 0.3s, transform 0.4s; }
body.layout-minimal .product:hover .prod-img-wrap img { filter: contrast(1) brightness(1); transform: scale(1.04); }
body.layout-minimal .product:hover .prod-img-wrap img { transform: scale(1.04); }
body.layout-minimal .product h3 {
    padding: 0; margin: 0 0 0.25rem;
    font-size: 0.65rem; font-weight: 500; color: #374151 !important;
    letter-spacing: 0.14em; text-transform: uppercase;
}
body.layout-minimal .product p {
    padding: 0; margin-bottom: 1.2rem;
    font-size: 1.05rem; font-weight: 300; color: #111 !important;
    letter-spacing: 0.02em;
}
/* Ghost button — aparece con fade en hover */
body.layout-minimal .product > button:not(.quantity-controls button) {
    background: transparent; color: #111; border: 1px solid #d1d5db; border-radius: 0;
    font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    padding: 0.75rem 1rem; margin: 0; width: 100%;
    opacity: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.25s;
}
body.layout-minimal .product:hover > button:not(.quantity-controls button) { opacity: 1; }
body.layout-minimal .product > button:not(.quantity-controls button):hover {
    background: var(--color-primario); color: #fff; border-color: var(--color-primario); opacity: 1;
}
body.layout-minimal .product .quantity-controls {
    background: #f3f4f6; border-radius: 0; border: 1px solid #e5e7eb;
    margin: 0 0 0.3rem; width: 100%;
}
body.layout-minimal .product .quantity-controls button { color: #111; border-radius: 0; }

/* Titulos: oscuros para contraste, minimalismo viene del espaciado no del color */
body.layout-minimal .seccion-titulo { font-weight: 400; font-size: 0.58rem; color: #374151; text-transform: uppercase; letter-spacing: 0.28em; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.6rem; margin-bottom: 3rem; }
body.layout-minimal .category-title { font-family: var(--font-body); font-weight: 400; font-size: 0.65rem; color: #1f2937; text-transform: uppercase; letter-spacing: 0.25em; border-bottom: 1px solid #e5e7eb; }
body.layout-minimal .strip-info { background: var(--color-primario); color: #fff; font-size: 0.65rem; letter-spacing: 0.12em; }
body.layout-minimal .strip-item strong, body.layout-minimal .strip-item span, body.layout-minimal .strip-item { color: #fff !important; border-color: rgba(255,255,255,.12) !important; }
body.layout-minimal .precio-actual { color: #111 !important; font-weight: 300; }
body.layout-minimal .cart-checkout-btn { background: var(--color-primario); border-radius: 0; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem; font-weight: 500; }
body.layout-minimal .cart-checkout-btn:hover { background: var(--color-primario-hover); }

/* ── PRODUCTO DETALLE: info IZQUIERDA, imagen DERECHA (inverso al estándar) ── */
body.layout-minimal .pd-ab-hero {
    grid-template-columns: 38fr 62fr;
    max-width: 1140px;
    margin: 0 auto;
    min-height: 80vh;
}
body.layout-minimal .pd-ab-images {
    grid-column: 2; grid-row: 1;
    position: relative; top: 0;
    max-height: unset;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: 0;
    margin: 0;
}
body.layout-minimal .pd-carousel-frame { min-height: 80vh; max-height: 85vh; border-radius: 0; }
body.layout-minimal .pd-ab-main-img    { min-height: 80vh; max-height: 85vh; border-radius: 0; }
body.layout-minimal .pd-ab-panel {
    grid-column: 1; grid-row: 1;
    border-left: none;
    border-right: 1px solid #e5e7eb;
    border-top: none;
    padding: 4rem 3rem 5rem;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 820px) {
    body.layout-minimal .pd-ab-hero { grid-template-columns: 1fr; min-height: unset; }
    body.layout-minimal .pd-ab-images { grid-column: 1; grid-row: 1; }
    body.layout-minimal .pd-carousel-frame { min-height: 50vw; max-height: 60vh; }
    body.layout-minimal .pd-ab-main-img { min-height: 50vw; max-height: 60vh; }
    body.layout-minimal .pd-ab-panel { grid-column: 1; grid-row: 2; border-right: none; }
    /* Botón siempre visible en touch */
    body.layout-minimal .product > button:not(.quantity-controls button) { opacity: 1; }
}
body.layout-minimal .pd-ab-title {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    line-height: 1.2;
    margin-bottom: 1.4rem;
}
body.layout-minimal .pd-price { font-size: 2.4rem; font-weight: 300; color: #111 !important; letter-spacing: -0.01em; }
body.layout-minimal .pd-ab-rule { background: #e5e7eb; }
body.layout-minimal .pd-ab-btn-main {
    background: var(--color-primario); border-radius: 0;
    font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
    height: 52px;
}
body.layout-minimal .pd-ab-btn-main:hover:not(:disabled) { background: var(--color-primario-hover); opacity: 1; }
body.layout-minimal .pd-ab-btn-main.agregado { background: #15803d; }
body.layout-minimal .pd-variante-pill { border-radius: 0; }
body.layout-minimal .pd-ab-qty { border-radius: 0; }
body.layout-minimal .pd-ab-wsp-link { letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.68rem; }
body.layout-minimal .pd-ab-editorial { background: #fafafa; }
body.layout-minimal .pd-ab-editorial-body {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.9;
    color: rgba(0,0,0,.5);
    font-weight: 300;
}
body.layout-minimal .pd-ab-related-section,
body.layout-minimal .pd-ab-reviews-section,
body.layout-minimal .pd-ab-cta { background: #fafafa; }
body.layout-minimal .pd-car-thumbs {
    position: relative; bottom: unset; left: unset; transform: none;
    border-radius: 0; border: none; border-top: 1px solid #e5e7eb;
    background: rgba(243,244,246,0.9);
    justify-content: center;
    width: 100%; box-sizing: border-box;
    backdrop-filter: none;
}

/* ── HERO: editorial negro, left-aligned ── */
body.layout-minimal .hero-section {
    min-height: 440px;
    background: var(--color-primario);
    text-align: left;
}
body.layout-minimal .hero-content {
    max-width: 760px;
    padding: 5rem 3rem;
    margin: 0;
}
body.layout-minimal .hero-tag {
    background: transparent;
    border: none;
    padding: 0;
    color: rgba(255,255,255,.3);
    font-size: 0.56rem;
    letter-spacing: 0.36em;
    margin-bottom: 1.6rem;
    border-radius: 0;
    backdrop-filter: none;
}
body.layout-minimal .hero-titulo {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.4rem;
}
body.layout-minimal .hero-sub {
    color: rgba(255,255,255,.42);
    font-size: 0.88rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    max-width: 440px;
    margin-bottom: 2.4rem;
}
body.layout-minimal .hero-cta {
    background: transparent;
    border: 1px solid rgba(255,255,255,.28);
    color: rgba(255,255,255,.75);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 0.85rem 2.4rem;
}
body.layout-minimal .hero-cta:hover { background: rgba(255,255,255,.07); filter: none; }
body.layout-minimal .hero-section.has-hero-bg .hero-overlay {
    background: rgba(0,0,0,.62) !important;
}

/* ── CATEGORÍAS: grid hairline, sans serif uppercase ── */
body.layout-minimal .cat-visual-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 1rem 0.6rem;
}
body.layout-minimal .cat-visual-card:hover {
    border-color: var(--color-primario);
    box-shadow: none;
    background: #f9fafb;
}
body.layout-minimal .cat-visual-nombre {
    color: #111 !important;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
body.layout-minimal .cat-visual-count { color: #9ca3af; font-size: 0.64rem; }

/* ── Carrito acorde al tema ── */
body.layout-minimal .header-cart-btn { background: var(--color-primario) !important; color: #fff !important; border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 500; box-shadow: none; }
body.layout-minimal .header-cart-btn:hover { background: var(--color-primario-hover) !important; border-radius: 0; }
body.layout-minimal #cart-count { background: #fff; color: #111; border-radius: 0; }
body.layout-minimal .cart-header { background: var(--color-primario); }
body.layout-minimal .quantity-controls { border-radius: 0; }
body.layout-minimal .quantity-controls button { border-radius: 0; }
