:root {
    --primary: #4a3728;
    --secondary: #cda434;
    --light: #f4f4f4;
    --dark: #222;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light);
    color: var(--dark);
}

header {
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    padding: 0;
    margin: 0;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        gap: 3rem;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    /* Animación del botón hamburguesa */
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hero-wrapper {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
}

.hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    animation: slideUp 15s infinite linear;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.hero.active {
    opacity: 1;
    z-index: 2;
}

@keyframes slideUp {
    0% { background-position: center bottom; }
    50% { background-position: center top; }
    100% { background-position: center bottom; }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    margin-bottom: 2rem;
}

.btn-main {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-main:hover {
    transform: scale(1.05);
}

.products {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
    color: var(--primary);
}

.btn-buy {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}

.admin-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.btn-add-prod {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-prod:hover {
    background: #b58f2d;
}

.admin-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.admin-card {
    background: white;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.admin-inputs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
    align-items: center;
}

.admin-card input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1;
    min-width: 120px;
}

.img-upload-wrapper input {
    flex: 2;
    border-color: var(--secondary);
    font-weight: bold;
}

.btn-delete {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.btn-delete:hover {
    background: #cc0000;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
    z-index: 10;
}

.close:hover {
    color: var(--dark);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.product-detail .modal-content {
    max-width: 800px;
}

.detail-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    text-align: left;
}

.zoom-container {
    position: relative;
    width: 60%;
    display: inline-block;
    overflow: hidden;
}

#zoom-lens {
    position: absolute;
    border: 1px solid #d4d4d4;
    width: 150px;
    height: 150px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    cursor: crosshair;
    pointer-events: none;
    z-index: 10;
    display: none;
    background-repeat: no-repeat;
    background-color: white;
}

.detail-container img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: block;
}

.detail-info {
    width: 40%;
}

.detail-info h2 {
    margin-top: 0;
    font-size: 2.5rem;
}

.detail-info p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.fullscreen-modal img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-fs {
    position: absolute;
    right: 30px;
    top: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
}

.close-fs:hover {
    color: var(--secondary);
}

.cart-total {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

@media (max-width: 992px) {
    .admin-card {
        flex-direction: column;
        text-align: center;
    }

    .admin-inputs {
        flex-direction: column;
        width: 100%;
    }

    .admin-card input {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .detail-container {
        flex-direction: column;
    }
    .detail-container img, .detail-info {
        width: 100%;
    }
}
/* ===================== v2: carrito, WhatsApp y avisos ===================== */

.logo a { display: inline-block; line-height: 0; }

.cart-empty { color: #777; margin: 1.5rem 0; }

#cart-modal .modal-content { max-width: 560px; text-align: left; }
#cart-modal h2 { text-align: center; }

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}
.cart-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
}
.cart-item-info { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.95rem; }
.cart-item-info span { color: #666; font-size: 0.85rem; }
.talla-label { font-size: 0.85rem; color: var(--dark); display: flex; align-items: center; gap: 0.4rem; }
.talla-input {
    width: 4.5rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.talla-input:focus, .checkout-input:focus { outline: 2px solid var(--secondary); border-color: var(--secondary); }

.qty { display: flex; align-items: center; gap: 0.4rem; }
.qty button {
    width: 30px; height: 30px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}
.qty span { min-width: 1.2rem; text-align: center; font-weight: bold; }
.cart-remove {
    border: none; background: none; color: #999; cursor: pointer; font-size: 1.1rem; padding: 0.25rem;
}
.cart-remove:hover { color: #cc0000; }

.cart-total { text-align: right; }

.checkout-label { display: block; font-weight: bold; margin-bottom: 0.35rem; }
.checkout-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.checkout-error { color: #c0392b; min-height: 1.2em; margin: 0.5rem 0; font-size: 0.9rem; }
.checkout-note { color: #666; font-size: 0.85rem; text-align: center; margin: 0.75rem 0 0; }

.btn-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 0.95rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}
.btn-whatsapp:hover { background: #1ebe5a; }

.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 1500;
    transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

footer { text-align: center; padding: 1.5rem 1rem 5rem; color: #666; font-size: 0.9rem; }
.footer-wa { color: var(--primary); font-weight: bold; }

#toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 20px);
    background: var(--dark);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 3000;
    max-width: 85vw;
    text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 480px) {
    .cart-item { grid-template-columns: 52px 1fr auto; }
    .cart-item img { width: 52px; height: 52px; }
    .cart-remove { grid-column: 3; grid-row: 1; align-self: start; }
    .qty { grid-column: 2 / 4; }
    .hero h1 { font-size: 2.2rem; }
}

/* Catálogo en 2 columnas en celular */
@media (max-width: 600px) {
    .products { padding: 0 1rem; margin: 2.5rem auto; }
    .products h2 { font-size: 1.9rem; margin-bottom: 1.5rem; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
    .card { padding: 0.8rem; }
    .card:hover { transform: none; }
    .card img { max-height: 130px; margin-bottom: 0.5rem; }
    .card h3 { font-size: 0.95rem; margin: 0.3rem 0; }
    .card p { font-size: 0.8rem; margin: 0.2rem 0; color: #666; }
    .price { font-size: 1.2rem; margin: 0.5rem 0; }
    .btn-buy { padding: 0.65rem 0.4rem; font-size: 0.8rem; }
}

/* v3: color */
.card-colors { font-size: 0.85rem; color: #777; margin: 0.3rem 0 0; }
.color-input {
    padding: 0.35rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    background: #fff;
    max-width: 10rem;
}
.cart-item-info .talla-label { margin-top: 0.15rem; }
.detail-color { margin: 0 0 1rem; }
.detail-color .color-input { font-size: 1rem; padding: 0.5rem; }
@media (max-width: 600px) { .card-colors { font-size: 0.72rem; } }

/* v4: número de pedido */
.btn-whatsapp { box-sizing: border-box; }
.btn-whatsapp.loading { opacity: 0.6; cursor: wait; }
.order-done { text-align: center; padding: 1rem 0; }
.order-done-title { font-size: 1.4rem; margin: 0 0 0.5rem; }
.order-done-title strong { color: var(--primary); }
.order-done .btn-whatsapp { text-decoration: none; margin: 1.25rem 0 0.75rem; }
.btn-new-order {
    width: 100%;
    background: none;
    border: 1px solid #ccc;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* v5: datos del cliente */
.checkout-section { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin: 1.25rem 0 0.5rem; }
#checkout-box .checkout-label { margin-top: 0.85rem; font-size: 0.9rem; }
#checkout-box textarea.checkout-input { resize: vertical; font-family: inherit; }
.doc-row { display: flex; gap: 0.5rem; }
.doc-row .doc-tipo { width: 4.5rem; flex: none; background: #fff; }
.checkout-hint { font-size: 0.82rem; color: #666; margin: 0.6rem 0 0; }

/* v7: confirmación por correo */
.btn-send {
    width: 100%;
    box-sizing: border-box;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.95rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}
.btn-send:hover { background: #3a2b1f; }
.btn-send.loading { opacity: 0.6; cursor: wait; }
.order-done-icon { font-size: 2.5rem; line-height: 1; margin-bottom: 0.5rem; }
.order-done p { margin: 0.5rem 0; }
.order-done-small { font-size: 0.85rem; color: #666; }
.order-done .btn-new-order { margin-top: 1rem; }

/* v9: beneficios (envío, retiro, devoluciones, ayuda) */
.beneficios { max-width: 1200px; margin: 2.5rem auto 0; padding: 0 2rem; }
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem 2rem;
    background: var(--white);
    border: 1px solid #e6e0d8;
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
}
.beneficio { display: flex; gap: 1rem; align-items: flex-start; }
.beneficio-icono { flex: none; width: 44px; height: 44px; color: var(--primary); }
.beneficio-icono svg { width: 100%; height: 100%; display: block; }
.beneficio h3 {
    margin: 0.15rem 0 0.35rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
}
.beneficio p { margin: 0; font-size: 0.9rem; color: #555; line-height: 1.45; }
.beneficio a { color: var(--primary); font-weight: 600; white-space: nowrap; }

.zonas-content { max-width: 560px; text-align: left; }
.zonas-content h2 { text-align: center; }
.zonas-tabla { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 0.5rem 0 1rem; }
.zonas-tabla th, .zonas-tabla td { padding: 0.4rem 0.5rem; border-bottom: 1px solid #eee; text-align: left; }
.zonas-tabla th { background: #f4f1ec; }
.zonas-tabla .c { text-align: center; }
.zonas-content p { font-size: 0.9rem; line-height: 1.5; }

select.checkout-input { background: #fff; }
.aviso-zona { margin: 0.5rem 0 0; font-size: 0.88rem; color: #6b5a48; background: #f7f3ee; border-radius: 6px; padding: 0.5rem 0.7rem; }
.aviso-zona.ok { color: #1e6b3a; background: #e7f6ec; }

@media (max-width: 600px) {
    .beneficios { padding: 0 1rem; margin-top: 1.5rem; }
    .beneficios-grid { grid-template-columns: 1fr 1fr; padding: 1rem; gap: 1rem; }
    .beneficio { flex-direction: column; gap: 0.4rem; }
    .beneficio-icono { width: 36px; height: 36px; }
    .beneficio p { font-size: 0.8rem; }
}
.zonas-tabla .si { color: #1e6b3a; font-weight: 700; }
.zonas-tabla .no { color: #bbb; }


/* v10: portada estilo editorial (cabecera oscura, bloques de foto, banda naranja, pie con columnas) */
:root { --tinta: #2e2725; --naranja: #e57c0b; }
header.topbar { background: var(--tinta); padding: 0.7rem 2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
header.topbar .logo img { height: 46px; width: auto; display: block; }
header.topbar nav ul li a { color: #fff; font-size: 0.95rem; letter-spacing: 1.5px; }
header.topbar nav ul li a:hover { color: var(--naranja); }
header.topbar nav ul li a::after { background-color: var(--naranja); }
header.topbar .menu-toggle span { background-color: #fff; }
.nav-iconos { display: flex; align-items: center; gap: 1.4rem; }
.nav-carrito, .nav-social { color: #fff; position: relative; display: flex; text-decoration: none; transition: color .2s; }
.nav-carrito:hover, .nav-social:hover { color: var(--naranja); }
.nav-contador { position: absolute; top: -6px; right: -10px; background: var(--naranja); color: #fff; font: 700 0.7rem/1 'Montserrat', sans-serif; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; box-sizing: border-box; }

.editorial { max-width: 1200px; margin: 2.5rem auto 0; padding: 0 2rem; display: grid; gap: 1rem; }
.ed-bloque { display: grid; gap: 1rem; min-height: 460px; }
.ed-uno { grid-template-columns: 1fr 1fr; }
.ed-foto { background: #ddd center/cover no-repeat; position: relative; min-height: 320px; }
.ed-etiqueta { position: absolute; left: 50%; top: 58%; transform: translate(-50%,-50%); background: #fff; color: var(--naranja); padding: 0.9rem 1.8rem; border-radius: 18px; font: 500 1.4rem 'Montserrat', sans-serif; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,0.18); transition: transform .2s; }
.ed-etiqueta:hover { transform: translate(-50%,-50%) scale(1.04); }
.ed-producto { background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--tinta); padding: 1.5rem; }
.ed-producto img { width: 100%; max-width: 520px; max-height: 340px; object-fit: contain; transition: transform .35s ease; }
.ed-producto:hover img { transform: scale(1.05) rotate(-2deg); }
.ed-info { margin-top: 0.8rem; font-family: 'Montserrat', sans-serif; font-size: 1rem; text-align: center; }
.ed-info span { color: var(--naranja); font-weight: 700; margin-left: 0.4rem; }
.ed-dos { grid-template-columns: 2fr 5fr; gap: 0; }
.ed-dos .ed-foto { min-height: 480px; }
.ed-naranja { background: var(--naranja); display: grid; grid-template-columns: 3fr 2fr; align-items: center; gap: 1.5rem; padding: 2rem; }
.ed-tarjeta { box-shadow: 0 10px 30px rgba(0,0,0,0.15); min-height: 380px; margin-left: -4rem; }
.ed-cta { text-align: center; color: #fff; }
.ed-titulo { font: 600 1.9rem/1.15 'Oswald', sans-serif; text-transform: uppercase; margin: 0 0 1.2rem; }
.btn-blanco { display: inline-block; background: #fff; color: var(--tinta); font: 500 0.85rem 'Montserrat', sans-serif; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; padding: 0.75rem 1.4rem; transition: background .2s, color .2s; }
.btn-blanco:hover { background: var(--tinta); color: #fff; }

.banda { max-width: 1200px; margin: 0 auto 3rem; padding: 0 2rem; display: grid; grid-template-columns: 2fr 1fr; min-height: 420px; }
.banda-foto { background: #333 center/cover no-repeat; position: relative; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.banda-foto::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.38); }
.banda-marco { position: absolute; inset: 1.8rem; border: 1px solid var(--naranja); display: flex; align-items: center; justify-content: center; }
.banda-marco p, .banda-naranja p { font: 600 3rem/1.05 'Oswald', sans-serif; text-transform: uppercase; color: #fff; text-align: center; margin: 0; position: relative; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.banda-naranja { background: var(--naranja); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: 2rem; }
.banda-naranja p { font-size: 2.3rem; text-shadow: none; }

footer.pie { background: var(--tinta); color: #fff; text-align: left; padding: 3rem 2rem 5.5rem; font-family: 'Montserrat', sans-serif; }
.pie-logo { display: block; height: 52px; width: auto; margin: 0 auto 2.2rem; }
.pie-columnas { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pie-columnas a { display: block; color: #ddd; text-decoration: none; font-size: 0.9rem; margin: 0.55rem 0; }
.pie-columnas a:hover { color: var(--naranja); }
.pie-titulo { font-size: 1rem; margin: 0 0 1rem; color: #fff; }
.pie-copy { text-align: center; color: #999; font-size: 0.8rem; margin: 2.5rem 0 0; }

@media (max-width: 768px) {
    header.topbar { padding: 0.6rem 1rem; }
    header.topbar .logo img { height: 34px; }
    header.topbar nav ul { background: var(--tinta); }
    header.topbar .menu-toggle { order: 3; margin-left: 1rem; }
    header.topbar .logo { margin-right: auto; }
    .nav-iconos { gap: 1rem; }
    .editorial, .banda { padding: 0 1rem; }
    .editorial { margin-top: 1.5rem; }
    .ed-bloque { min-height: 0; }
    .ed-uno, .ed-dos, .ed-naranja, .banda { grid-template-columns: 1fr; }
    .ed-foto { min-height: 280px; }
    .ed-dos .ed-foto { min-height: 300px; background-position: center 85%; }
    .ed-tarjeta { margin-left: 0; min-height: 0; }
    .ed-etiqueta { font-size: 1.05rem; padding: 0.7rem 1.3rem; }
    .ed-titulo { font-size: 1.5rem; }
    .banda-foto { min-height: 300px; }
    .banda-marco { inset: 1rem; }
    .banda-marco p { font-size: 2.1rem; }
    .banda-naranja { padding: 2.2rem 1rem; }
    .banda-naranja p { font-size: 1.8rem; }
    footer.pie { padding: 2.5rem 1.5rem 5.5rem; }
    .pie-columnas { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}


/* v11: banner con 6 fotos, puntos y botón de música */
.hero .hero-titulo { font-size: 3.5rem; margin: 0 0 1rem; font-family: inherit; }
.hero-puntos { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); display: flex; gap: 0.55rem; z-index: 5; }
.hero-puntos button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; opacity: .8; transition: background .2s, transform .2s; }
.hero-puntos button.act { background: var(--naranja, #e57c0b); border-color: var(--naranja, #e57c0b); transform: scale(1.2); opacity: 1; }
.hero-musica { position: absolute; right: 1.2rem; bottom: 0.9rem; z-index: 5; display: flex; align-items: center; gap: .4rem; background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 20px; padding: .4rem .85rem; font: 500 .8rem 'Montserrat', sans-serif; cursor: pointer; transition: background .2s; }
.hero-musica:hover { background: rgba(0,0,0,.7); }
.hero-musica .ico-on { display: none; }
.hero-musica[aria-pressed="true"] { background: var(--naranja, #e57c0b); border-color: var(--naranja, #e57c0b); }
.hero-musica[aria-pressed="true"] .ico-on { display: block; }
.hero-musica[aria-pressed="true"] .ico-off { display: none; }
@media (max-width: 768px) {
    .hero .hero-titulo { font-size: 2.2rem; }
    .hero-musica span { display: none; }
    .hero-musica { padding: .45rem; right: .8rem; }
}
/* el texto sale rápido y el nuevo entra cuando la foto ya cambió (evita textos superpuestos) */
.hero .hero-content { opacity: 0; transition: opacity .5s ease; }
.hero.active .hero-content { opacity: 1; transition: opacity .8s ease 1.1s; }


/* v13: promoción configurable desde el panel */
.editorial[hidden] { display: none; }
.ed-vence { color: #fff; font: 500 .95rem 'Montserrat', sans-serif; margin: -.6rem 0 1.1rem; opacity: .95; }
.precio-antes { color: #999; font-weight: 400; text-decoration: line-through; margin-right: .2rem; font-size: .85em; }
.ed-info .precio-antes { color: #999; }
.precio-promo { color: var(--naranja, #e57c0b); font-weight: 700; }
.card { position: relative; }
.badge-promo { position: absolute; top: .7rem; left: .7rem; background: var(--naranja, #e57c0b); color: #fff; font: 700 .7rem 'Montserrat', sans-serif; letter-spacing: .5px; text-transform: uppercase; padding: .3rem .55rem; border-radius: 4px; }
