/* =========================================================
   ARCUEROS · HOJA DE ESTILOS (reescrita y unificada)
   Índice
   1. Variables y base
   2. Barra superior y encabezado
   3. Botones y textos comunes
   4. BANNERS (todos comparten el mismo diseño)
   5. Carruseles de banner
   6. Títulos de sección y tarjetas de categoría
   7. Productos
   8. Sección institucional del inicio
   9. Pie de página
   10. Páginas institucionales (sobre nosotros, fundación)
   11. Contacto
   12. Catálogo (mundial) y envío gratis
   13. Carrito
   14. Galería de personalizados
   15. Búsqueda
   16. Guía de tallas
   17. Movimiento reducido
========================================================= */


/* =========================================================
   1. VARIABLES Y BASE
========================================================= */
:root {
    --yellow: #FAC800;
    --primary: #000000;
    --primary-dark: var(--yellow);   /* nombre antiguo, se conserva */
    --navy: #040405;
    --text: #000000;
    --muted: #0e0e0f;
    --background: #ffffff;
    --light: #f4f6fa;
    --border: #e7eaf0;
    --cream: #F4EDDE;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.section { width: min(1200px, 90%); margin: 0 auto; padding: 75px 0; }

/* Etiqueta pequeña sobre los títulos */
.eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #5c5c5c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* =========================================================
   2. BARRA SUPERIOR Y ENCABEZADO
========================================================= */
.top-bar {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 9px 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.header {
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    width: 100%;
    min-height: 60px;
    padding: 3px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #000;
    border-bottom: 1px solid #808080;
    transition: transform .3s ease-in-out;
}
.header.header-oculto { transform: translateY(-100%); }

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    white-space: nowrap;
}
.logo img { height: 90px; width: auto; max-width: 100%; object-fit: contain; object-position: center; }
.logo span { color: var(--yellow); }

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: clamp(12px, 2vw, 28px);
    min-width: 0;
}
.navbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease;
}
.navbar a:hover,
.navbar a:focus-visible { color: var(--yellow); }

.header-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 18px;
}
.header-icons a,
.header-icons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 0;
    background: transparent;
    color: #fff !important;
    font-size: 19px;
    transition: color .2s ease;
}
.header-icons a i,
.header-icons button i { color: inherit; }
.header-icons a:hover,
.header-icons button:hover,
.header-icons a:hover i,
.header-icons button:hover i { color: var(--yellow) !important; }

@media (max-width: 950px) {
    .header { flex-wrap: wrap; gap: 12px 20px; padding: 12px 5%; }
    .logo img { width: 155px; height: 58px; }
    .navbar { order: 3; flex: 1 0 100%; width: 100%; flex-wrap: wrap; gap: 14px 22px; }
}
@media (max-width: 600px) {
    .header { gap: 10px; padding: 10px 4%; }
    .logo img { width: 130px; height: 50px; }
    .navbar { gap: 12px 16px; }
    .navbar a { font-size: 11px; }
    .header-icons { gap: 8px; }
    .header-icons a,
    .header-icons button { font-size: 17px; }
}


/* =========================================================
   3. BOTONES Y TEXTOS COMUNES
========================================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 23px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-primary:hover { background: var(--yellow); color: #000; transform: translateY(-2px); }

.btn-secundario {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all .3s ease;
}
.btn-secundario:hover { background: #fff; color: #111; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: gap .2s ease;
}
.text-link:hover { gap: 15px; }

.back-link {
    display: flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-bottom: 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.back-link:hover { color: var(--yellow); }


/* =========================================================
   4. BANNERS
   Un solo diseño para: inicio (.hero), fútbol y demás deportes
   (.football-hero), sobre nosotros (.page-hero), fundación,
   contacto (.contacto-hero y .contact-hero) y mundial.

   - Altura mínima 520px, pero crece si el texto es largo
     (así nunca se corta el botón ni el párrafo).
   - Para cambiar la foto de una página sin tocar el CSS, en el
========================================================= */
.hero,
.football-hero,
.page-hero,
.fundacion-hero,
.foundation-hero,
.contacto-hero,
.contact-hero,
.mundial-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 520px;
    padding: 70px 9%;
    color: #fff;
    background: #101010 var(--banner-img, none) center / cover no-repeat;
}

/* Foto por defecto de cada banner */
.football-hero,
.contacto-hero,
.mundial-hero { --banner-img: url("../imagenes/pasillo.8518c2c0df7b.jpeg"); }
.page-hero { --banner-img: url("../imagenes/pared_balones_mejorada.5d2e0eef8f0f.jpg"); }
/* TODO: pon aquí la foto real de la fundación (antes la ruta estaba vacía) */
.fundacion-hero,
.foundation-hero { --banner-img: url("../imagenes/arcueros_hecho_en_mongui.f73cea3b8bff.jpg"); }
.contact-hero { --banner-img: url("/static/imagenes/pasillo.8518c2c0df7b.jpeg"); }

/* Capa oscura de izquierda a derecha */
.hero::before,
.football-hero::before,
.page-hero::before,
.fundacion-hero::before,
.foundation-hero::before,
.contacto-hero::before,
.contact-hero::before,
.mundial-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.65) 45%, rgba(0,0,0,.20) 100%);
}
.contact-hero-overlay,
.contact-hero-number { display: none; }

/* Bloque de texto */
.hero-content,
.football-hero-content,
.page-hero-content,
.fundacion-hero-content,
.contacto-hero-content,
.contact-hero-content,
.mundial-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
}

:is(.hero, .football-hero, .page-hero, .fundacion-hero, .foundation-hero,
    .contacto-hero, .contact-hero, .mundial-hero) .eyebrow {
    margin-bottom: 14px;
    color: #d0d0d0;
}

:is(.hero, .football-hero, .page-hero, .fundacion-hero, .foundation-hero,
    .contacto-hero, .contact-hero, .mundial-hero) h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(2.3rem, 4.4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: 0 3px 15px rgba(0,0,0,.4);
}

:is(.hero, .football-hero, .page-hero, .fundacion-hero, .foundation-hero,
    .contacto-hero, .contact-hero, .mundial-hero) p {
    max-width: 480px;
    margin: 0 0 28px;
    color: #eee;
    font-size: 1rem;
    line-height: 1.7;
}

/* Botón blanco que se vuelve transparente al pasar el mouse */
:is(.hero, .football-hero, .page-hero, .fundacion-hero, .foundation-hero,
    .contacto-hero, .contact-hero, .mundial-hero) :is(.btn-primary, .contact-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 0;
    padding: 15px 23px;
    background: #fff;
    color: #111;
    border: 1px solid #fff;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all .3s ease;
}
:is(.hero, .football-hero, .page-hero, .fundacion-hero, .foundation-hero,
    .contacto-hero, .contact-hero, .mundial-hero) :is(.btn-primary, .contact-button):hover {
    background: transparent;
    color: #fff;
    transform: none;
}

.fundacion-botones { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px; }

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--yellow);
}
.contact-eyebrow > span { width: 27px; height: 3px; background: var(--yellow); display: inline-block; }
.contact-hero h1 span { color: var(--yellow); }
.contact-hero-note {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #cfcfcf;
    font-size: 11px;
    letter-spacing: .3px;
}
.contact-hero-note i { color: var(--yellow); font-size: 17px; }

/* Flechas y puntos del carrusel del inicio */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.45);
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);
    transition: background .3s ease, color .3s ease;
}
.hero-arrow:hover { background: #fff; color: #111; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}
.hero-dots button {
    width: 10px; height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    transition: all .3s ease;
}
.hero-dots button.active { background: #fff; width: 26px; border-radius: 6px; }

/* Imagen secundaria (si algún HTML la usa) */
.hero-image,
.football-hero-image { width: 100%; height: 450px; overflow: hidden; background: #111; }
.hero-image img,
.football-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Tablets y celulares */
@media (max-width: 768px) {
    .hero,
    .football-hero,
    .page-hero,
    .fundacion-hero,
    .foundation-hero,
    .contacto-hero,
    .contact-hero,
    .mundial-hero {
        min-height: 480px;
        padding: 140px 7% 70px;   /* espacio para el encabezado de 2 filas */
    }
    .hero::before,
    .football-hero::before,
    .page-hero::before,
    .fundacion-hero::before,
    .foundation-hero::before,
    .contacto-hero::before,
    .contact-hero::before,
    .mundial-hero::before {
        background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.58));
    }
    :is(.hero, .football-hero, .page-hero, .fundacion-hero, .foundation-hero,
        .contacto-hero, .contact-hero, .mundial-hero) h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
    :is(.hero, .football-hero, .page-hero, .fundacion-hero, .foundation-hero,
        .contacto-hero, .contact-hero, .mundial-hero) p { max-width: 100%; font-size: .9rem; }

    .hero-arrow { top: auto; bottom: 12px; transform: none; width: 36px; height: 36px; }
    .hero-prev { left: auto; right: 62px; }
    .hero-next { right: 18px; }
    .hero-dots { left: 7%; transform: none; bottom: 25px; }
}
@media (max-width: 480px) {
    .hero,
    .football-hero,
    .page-hero,
    .fundacion-hero,
    .foundation-hero,
    .contacto-hero,
    .contact-hero,
    .mundial-hero { min-height: 460px; padding-top: 130px; }

    :is(.hero, .football-hero, .page-hero, .fundacion-hero, .foundation-hero,
        .contacto-hero, .contact-hero, .mundial-hero) .eyebrow { font-size: 10px; letter-spacing: 2px; }
    :is(.hero, .football-hero, .page-hero, .fundacion-hero, .foundation-hero,
        .contacto-hero, .contact-hero, .mundial-hero) :is(.btn-primary, .contact-button) {
        padding: 13px 17px;
        font-size: 10px;
    }
    .fundacion-botones { flex-direction: column; align-items: flex-start; }
}


/* =========================================================
   5. CARRUSELES DE BANNER
========================================================= */
/* Inicio */
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.slide-1 { background-image: url("../imagenes/arcueros_balones.09fcc68e8f96.jpg"); }
.slide-2 { background-image: url("../imagenes/pared_balones_mejorada.5d2e0eef8f0f.jpg"); }
.slide-3 { background-image: url("../imagenes/trabajadores.73066769cd6b.jpg"); }
.slide-4 { background-image: url("../imagenes/futbol/portada_futbol.89fcd642f9e2.jpg"); }

/* Fútbol y demás deportes (fundido automático) */
.football-hero-slides { position: absolute; inset: 0; z-index: -2; }
.football-hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    animation: footballFade 16s infinite;
}
.football-hero-slide:nth-child(1) { animation-delay: 0s; }
.football-hero-slide:nth-child(2) { animation-delay: 4s; }
.football-hero-slide:nth-child(3) { animation-delay: 8s; }
.football-hero-slide:nth-child(4) { animation-delay: 12s; }

@keyframes footballFade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    25%  { opacity: 1; }
    30%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Fútbol (por defecto) */
.football-slide-1 { background-image: url("../imagenes/futbol/portada_futbol.89fcd642f9e2.jpg"); }
.football-slide-2 { background-image: url("../imagenes/futbol/champiosportada.b094e7703a91.jpg"); }

/* Futsala */
.hero-futsala .football-slide-1 { background-image: url("../imagenes/arcueros_balones.09fcc68e8f96.jpg"); }
.hero-futsala .football-slide-2 { background-image: url("../imagenes/futsala/futsalacarrusel.7f117f2bcd45.jpg"); }
.hero-futsala .football-slide-3 { background-image: url("../imagenes/futsala/6062carrusel.c55dd5b81ffe.jpg"); }
.hero-futsala .football-slide-4 { background-image: url("../imagenes/futsala/portada_futsala.9e7453ebc1ce.jpg"); }
/* Microfútbol */
.hero-micro .football-slide-1 { background-image: url("../imagenes/arcueros_balones.09fcc68e8f96.jpg"); }
.hero-micro .football-slide-2 { background-image: url("../imagenes/microfutbol/microverde.cdbb1df7e08f.jpg"); }
.hero-micro .football-slide-3 { background-image: url("../imagenes/microfutbol/mircorosa.6dbc7fc4d2c2.jpg"); }
.hero-micro .football-slide-4 { background-image: url("../imagenes/microfutbol/strikeazul.6dd63e90c117.jpg"); }
/* Personalizados */
.hero-personalizados .football-slide-1 { background-image: url("../imagenes/arcueros_balones.09fcc68e8f96.jpg"); }
.hero-personalizados .football-slide-2 { background-image: url("../imagenes/personalizados/personalizadoportada.6c185dd05dd3.jpg"); }
/* Voleibol */
.hero-voleibol .football-slide-1 { background-image: url("../imagenes/arcueros_balones.09fcc68e8f96.jpg"); }
.hero-voleibol .football-slide-2 { background-image: url("../imagenes/portada_voleibol_arcueros.aea22cfa6481.jpg"); }
/* Baloncesto */
.hero-baloncesto .football-slide-1 { background-image: url("../imagenes/arcueros_balones.09fcc68e8f96.jpg"); }
.hero-baloncesto .football-slide-2 { background-image: url("../imagenes/portadabaloncesto.1d6c11912717.jpg"); }


/* =========================================================
   6. TÍTULOS DE SECCIÓN Y TARJETAS DE CATEGORÍA
========================================================= */
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.section-heading .eyebrow { margin-bottom: 6px; }
.section-heading h2,
.about h2 {
    color: var(--navy);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.categories { padding-top: 70px; padding-bottom: 70px; }
.categories .section-heading { margin-bottom: 32px; }
.categories .section-heading h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.category-card,
.subcategory-card {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--border);
    isolation: isolate;
}
.category-card { aspect-ratio: 1 / 1; }
.subcategory-card { aspect-ratio: 4 / 3; }

.category-card img,
.subcategory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}
.category-card:hover img,
.subcategory-card:hover img { transform: scale(1.06); }

.category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
    background: linear-gradient(to top, rgba(8,18,35,.90) 0%, rgba(8,18,35,.35) 42%, rgba(8,18,35,0) 78%);
    transition: background .3s ease;
}
.category-overlay h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(17px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.2;
}
.category-overlay span { margin-top: 9px; font-size: 12px; font-weight: 600; opacity: .95; }
.category-card:hover .category-overlay,
.subcategory-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(8,18,35,.96), rgba(8,18,35,.12) 80%);
}

/* Líneas de fútbol y subcategorías */
.football-lines { padding-top: 65px; padding-bottom: 80px; }
.football-line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.football-line-grid .category-card { aspect-ratio: 4 / 3; }

.subcategory-section { padding-top: 65px; padding-bottom: 80px; }
.subcategory-section .section-heading { margin-bottom: 30px; }
.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 950px) {
    .subcategory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .subcategory-card .category-overlay { padding: 18px; }
}
@media (max-width: 600px) {
    .subcategory-section { padding-top: 45px; padding-bottom: 50px; }
    .subcategory-grid { gap: 12px; }
    .subcategory-card { aspect-ratio: 1 / 1; border-radius: 9px; }
    .subcategory-card .category-overlay { padding: 12px; }
    .subcategory-card .category-overlay h3 { font-size: 14px; }
    .subcategory-card .category-overlay span { font-size: 10px; margin-top: 5px; }
    .football-line-grid { grid-template-columns: 1fr; gap: 18px; }
}


/* =========================================================
   7. PRODUCTOS
========================================================= */
.products { padding-top: 35px; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.product-card { min-width: 0; }
.product-image { position: relative; height: 280px; overflow: hidden; background: var(--light); }
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}
.product-card:hover .product-image img { transform: scale(1.04); }

.product-tag {
    position: absolute;
    z-index: 1;
    top: 12px; left: 12px;
    background: var(--navy);
    color: #fff;
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .4px;
}
.product-tag.new { background: var(--primary); }
.product-tag.custom { background: #268354; }

.quick-cart {
    position: absolute;
    bottom: 12px; right: 12px;
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--navy);
    border: 0;
    border-radius: 50%;
    font-size: 16px;
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
    transition: background .2s ease, color .2s ease;
}
.quick-cart:hover { background: var(--primary); color: #fff; }

.product-info { padding: 15px 2px; }
.product-category { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.product-info h3 { color: var(--navy); font-size: 14px; font-weight: 700; margin: 5px 0; }
.price { color: var(--primary); font-size: 14px; font-weight: 800; }


/* =========================================================
   8. SECCIÓN INSTITUCIONAL DEL INICIO
========================================================= */
.about { padding: 85px 10%; text-align: center; background: var(--light); }
.about-content { max-width: 650px; margin: 0 auto; }
.about h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.about p { color: var(--muted); font-size: 14px; margin-bottom: 28px; }


/* =========================================================
   9. PIE DE PÁGINA
========================================================= */
.footer { background: #080808; color: #fff; padding: 65px 6% 25px; text-align: left; }

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr repeat(5, 1fr);
    gap: 35px;
    max-width: 1500px;
    margin: 0 auto;
}
.footer-brand { max-width: 230px; }
.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
}
.footer-logo span { color: #999; }
.footer-brand p { color: #aaa; font-size: 13px; line-height: 1.7; }

.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-column h3 { margin-bottom: 8px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.footer-column a,
.footer-column .footer-pending { color: #aaa; font-size: 12px; transition: color .2s ease; }
.footer-column a:hover { color: #fff; }
.footer-column .footer-subtitle { margin-top: 20px; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { font-size: 18px; }
.footer-pending { opacity: .6; cursor: default; }

.footer-bottom {
    max-width: 1500px;
    margin: 55px auto 0;
    padding-top: 22px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.footer-bottom p,
.footer-bottom a { color: #888; font-size: 11px; transition: color .2s ease; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 1100px) {
    .footer-main { grid-template-columns: repeat(3, 1fr); gap: 40px 25px; }
}
@media (max-width: 600px) {
    .footer { padding: 45px 6% 22px; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 20px; }
    .footer-brand { grid-column: 1 / -1; max-width: 100%; }
    .footer-logo { font-size: 25px; }
    .footer-column h3 { font-size: 11px; }
    .footer-column a,
    .footer-column .footer-pending { font-size: 11px; }
    .footer-bottom { margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 360px) {
    .footer-main { gap: 30px 14px; }
}


/* =========================================================
   10. PÁGINAS INSTITUCIONALES
========================================================= */
.content-section { padding: 70px 8%; }

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
}
.about-text h2,
.contact-information h2 {
    margin: 12px 0 20px;
    color: #111;
    font-size: clamp(28px, 3vw, 40px);
}
.about-text p,
.contact-information > p { margin-bottom: 16px; color: #111; line-height: 1.9; }

.about-image { min-height: 300px; overflow: hidden; border-radius: 16px; background: var(--light); }
.about-image img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

.values-section { background: var(--light); }
.info-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.info-card > i { margin-bottom: 18px; color: var(--primary); font-size: 30px; }
.info-card h3 { margin-bottom: 12px; color: var(--navy); }
.info-card p { color: var(--muted); line-height: 1.8; font-size: 14px; }

.about-cta { text-align: center; }
.about-cta h2 { margin-bottom: 15px; color: var(--navy); }
.about-cta p { margin-bottom: 25px; color: var(--muted); }

@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; }
    .info-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-section { padding: 50px 6%; }
}
@media (max-width: 600px) {
    .info-card-grid { grid-template-columns: 1fr; }
    .content-section { padding: 40px 20px; }
    .info-card { padding: 20px; }
}


/* =========================================================
   11. CONTACTO
   Hay dos versiones de la página: .contacto-* y .contact-*.
   Si solo usas una, puedes borrar la otra.
========================================================= */

/* ---------- Versión A: .contacto-* ---------- */
.contacto-info { padding: 85px 8%; background: #fff; color: #111; }
.contacto-info .eyebrow,
.contacto-form-text .eyebrow { color: #8a6d00; }

.contacto-heading { max-width: 700px; margin: 0 auto 45px; text-align: center; }
.contacto-heading h2,
.contacto-form-text h2 {
    margin-bottom: 18px;
    color: #111;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.2;
}
.contacto-heading p { color: #666; font-size: 16px; line-height: 1.7; }

.contacto-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.contacto-card {
    padding: 35px 25px;
    text-align: center;
    background: #fff;                 /* antes era casi negro con texto negro */
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contacto-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,.10); border-color: #FFD400; }
.contacto-icon {
    width: 65px; height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;          /* antes decía "ceter" */
    margin: 0 auto 22px;
    background: #FFD400;
    color: #111;
    border-radius: 50%;
    font-size: 27px;
}
.contacto-card h3 { margin-bottom: 12px; color: #111; font-size: 20px; }
.contacto-card p { margin-bottom: 18px; color: #666; font-size: 15px; line-height: 1.7; }
.contacto-pendiente { display: inline-block; padding: 8px 12px; border-radius: 5px; background: #f4f4f4; color: #555; font-size: 12px; }

.contacto-form-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 60px;
    align-items: start;
    padding: 90px 8%;
    background: #f5f5f5;
}
.contacto-form-text { padding-top: 15px; }
.contacto-form-text h2 { margin-top: 8px; }
.contacto-form-text > p { color: #666; font-size: 16px; line-height: 1.9; }
.contacto-nota {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding: 18px;
    background: #fff;
    border-left: 4px solid #FFD400;
    border-radius: 5px;
    color: #444;
    line-height: 1.6;
}
.contacto-nota i { margin-top: 4px; color: #111; }

.contacto-form {
    padding: 35px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
}
.contacto-page :is(.contacto-form, .contacto-cta) .btn-primary {
    background: #FFD400;
    color: #111;
    border: 2px solid #FFD400;
    border-radius: 6px;
    font-size: 14px;
}
.contacto-page :is(.contacto-form, .contacto-cta) .btn-primary:hover { background: #e6bf00; border-color: #e6bf00; }
.contacto-form .btn-primary { width: 100%; }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.form-group label { color: #222; font-size: 14px; font-weight: 700; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input,
.form-group select { min-height: 49px; }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #999; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #d6b400; box-shadow: 0 0 0 3px rgba(255,212,0,.20); }

.form-privacy { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.form-privacy input { width: 17px; height: 17px; margin-top: 3px; accent-color: #111; flex-shrink: 0; }
.form-privacy label { color: #555; font-size: 13px; line-height: 1.6; }
.form-aviso { margin-top: 15px; color: #777; font-size: 12px; line-height: 1.6; text-align: center; }
.form-note { margin-top: 13px; color: #666; font-size: 12px; line-height: 1.65; }

.contacto-cta { padding: 75px 8%; text-align: center; background: #111; }
.contacto-cta h2 { margin-bottom: 18px; color: #FFD400; font-size: clamp(25px, 3vw, 38px); }
.contacto-cta p { max-width: 650px; margin: 0 auto 28px; color: #d6d6d6; font-size: 16px; line-height: 1.8; }  /* antes: texto negro sobre fondo negro */

@media (max-width: 900px) {
    .contacto-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contacto-form-section { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 600px) {
    .contacto-info { padding: 60px 6%; }
    .contacto-cards { grid-template-columns: 1fr; gap: 18px; }
    .contacto-form-section { padding: 60px 6%; }
    .contacto-form { padding: 23px 18px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contacto-cta { padding: 60px 6%; }
}

/* ---------- Versión B: .contact-* ---------- */
.contact-page {
    --contact-yellow: #fac800;
    --contact-black: #080808;
    --contact-gray: #6b6b6b;
    color: var(--contact-black);
    overflow: hidden;
}

.contact-button {
    min-height: 51px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px solid var(--contact-yellow, var(--yellow));
    background: var(--contact-yellow, var(--yellow));
    color: #080808;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.contact-button:hover { background: transparent; color: var(--contact-yellow, var(--yellow)); transform: translateY(-2px); }

.contact-channels { padding: 100px 7%; max-width: 1440px; margin: auto; }
.contact-section-heading { max-width: 760px; margin: 0 auto 45px; text-align: center; }
.dark-eyebrow { color: #555; }
.contact-section-heading h2 {
    margin: 18px 0;
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}
.contact-section-heading h2 span { color: #b58f00; }
.contact-section-heading > p { color: var(--contact-gray); font-size: 14px; line-height: 1.8; }

.contact-channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.contact-channel-card {
    position: relative;
    min-width: 0;
    padding: 30px 27px;
    background: #fff;
    border: 1px solid #e8e8e8;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-channel-card:hover { transform: translateY(-6px); border-color: var(--contact-yellow); box-shadow: 0 18px 40px rgba(0,0,0,.07); }
.featured-channel { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }

.contact-channel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.contact-channel-icon {
    width: 55px; height: 55px;
    display: grid;
    place-items: center;
    background: var(--contact-yellow);
    color: #080808;
    font-size: 24px;
}
.contact-channel-index { color: #b9b9b9; font-size: 12px; font-weight: 800; }
.featured-channel .contact-channel-index { color: #777; }
.contact-channel-card h3 { margin: 0 0 13px; font-size: 19px; font-weight: 800; }
.contact-channel-card > p { min-height: 78px; margin: 0 0 23px; color: #747474; font-size: 12px; line-height: 1.9; }
.featured-channel > p { color: #c5c5c5; }

.contact-status { display: inline-flex; align-items: center; gap: 8px; color: #6f6f6f; font-size: 10px; font-weight: 700; line-height: 1.7; }
.featured-channel .contact-status { color: #d3d3d3; }
.contact-status > span { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--contact-yellow); }

.contact-form-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); background: #f5f5f3; }
.contact-form-intro {
    position: relative;
    overflow: hidden;
    padding: 85px max(35px, calc((100vw - 1200px) / 2));
    padding-right: 55px;
    background: #090909;
    color: #fff;
}
.contact-form-intro h2 {
    position: relative;
    z-index: 1;
    margin: 25px 0 20px;
    font-size: clamp(30px, 3.6vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}
.contact-form-intro h2 span,
.contact-final-cta h2 span { color: var(--contact-yellow); }
.contact-form-intro > p { position: relative; z-index: 1; max-width: 430px; color: #c8c8c8; font-size: 13px; line-height: 2; }

.contact-promise {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 430px;
    margin-top: 42px;
    padding-top: 25px;
    border-top: 1px solid #303030;
}
.contact-promise-icon {
    width: 45px; height: 45px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--contact-yellow);
    color: #000;
    font-size: 20px;
}
.contact-promise h3 { margin: 2px 0 9px; font-size: 14px; }
.contact-promise p { margin: 0; color: #bdbdbd; font-size: 11px; line-height: 1.9; }
.contact-form-decoration {
    position: absolute;
    right: -35px; bottom: -55px;
    color: rgba(250,200,0,.07);
    font-size: 240px;
    transform: rotate(-18deg);
    pointer-events: none;
}

.contact-form-wrapper { padding: 75px clamp(25px, 6vw, 85px); background: #f5f5f3; }
.contact-form-heading { margin-bottom: 35px; }
.contact-form-heading > span { color: #8b6d00; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.contact-form-heading h3 { margin: 13px 0 10px; font-size: clamp(23px, 3vw, 32px); font-weight: 800; letter-spacing: -.7px; }
.contact-form-heading p { margin: 0; color: #737373; font-size: 12px; line-height: 1.8; }

.contact-form { display: flex; flex-direction: column; gap: 21px; }
.contact-input-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.contact-field { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.contact-field label { color: #292929; font-size: 11px; font-weight: 800; }
.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-width: 0;
    padding: 14px 13px;
    border: 1px solid #dededb;
    border-radius: 0;
    outline: none;
    background: #fff;
    color: #171717;
    font-family: inherit;
    font-size: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-field input,
.contact-field select { min-height: 47px; }
.contact-field textarea { min-height: 125px; resize: vertical; line-height: 1.7; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #9a9a9a; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: #c6a000; box-shadow: 0 0 0 3px rgba(250,200,0,.13); }

.contact-privacy { display: flex; align-items: flex-start; gap: 10px; }
.contact-privacy input { margin-top: 3px; accent-color: #b18d00; flex-shrink: 0; }
.contact-privacy label { color: #666; font-size: 10px; line-height: 1.8; }
.contact-submit { width: fit-content; font-family: inherit; }
.contact-form-notice { margin: -7px 0 0; color: #777; font-size: 10px; line-height: 1.8; }
.contact-form-notice i { margin-right: 5px; color: #8b6d00; }

.contact-final-cta {
    padding: 90px 25px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(250,200,0,.09), transparent 65%), #080808;
    color: #fff;
}
.contact-final-icon {
    width: 60px; height: 60px;
    margin: 0 auto 23px;
    display: grid;
    place-items: center;
    background: var(--contact-yellow);
    color: #080808;
    font-size: 25px;
}
.contact-final-cta > span { color: var(--contact-yellow); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.contact-final-cta h2 { margin: 22px 0 15px; font-size: clamp(29px, 4.5vw, 49px); font-weight: 800; line-height: 1.2; letter-spacing: -1px; }
.contact-final-cta > p { max-width: 550px; margin: 0 auto 28px; color: #c4c4c4; font-size: 12px; line-height: 1.9; }

@media (max-width: 900px) {
    .contact-channels { padding: 75px 5%; }
    .contact-channel-grid { grid-template-columns: 1fr 1fr; }
    .contact-channel-card:last-child { grid-column: 1 / -1; }
    .contact-form-section { grid-template-columns: 1fr; }
    .contact-form-intro { padding: 65px 7%; }
    .contact-form-wrapper { padding: 60px 7%; }
}
@media (max-width: 560px) {
    .contact-channels { padding: 60px 20px; }
    .contact-section-heading { margin-bottom: 30px; }
    .contact-section-heading h2 { font-size: 28px; }
    .contact-channel-grid { grid-template-columns: 1fr; gap: 15px; }
    .contact-channel-card:last-child { grid-column: auto; }
    .contact-channel-card > p { min-height: 0; }
    .contact-form-intro { padding: 60px 24px; }
    .contact-form-wrapper { padding: 48px 22px; }
    .contact-input-row { grid-template-columns: 1fr; gap: 20px; }
    .contact-submit { width: 100%; }
    .contact-final-cta { padding: 70px 22px; }
}


/* =========================================================
   12. CATÁLOGO (MUNDIAL) Y ENVÍO GRATIS
========================================================= */
.mundial-catalog { padding: 75px 8% 90px; background: #fff; }

.mundial-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 35px; }
.mundial-heading h2 { margin: 10px 0; color: #111; font-size: clamp(27px, 3vw, 38px); font-weight: 800; }
.mundial-heading p { margin: 0; color: #666; font-size: 14px; line-height: 1.7; }
.mundial-heading .eyebrow { color: #8a6d00; letter-spacing: 1.5px; }

.catalog-count { flex-shrink: 0; padding: 10px 14px; border-radius: 4px; background: #f5f5f5; color: #333; font-size: 12px; font-weight: 600; }

.mundial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.mundial-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}
.mundial-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.09); }
.mundial-card-image { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #f5f5f5; }
.mundial-card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.mundial-card:hover .mundial-card-image img { transform: scale(1.04); }

.mundial-card-info { padding: 20px; }
.mundial-card-info h3 { margin: 10px 0; color: #111; font-size: 17px; font-weight: 700; }
.mundial-card-info p { margin: 0; color: #666; font-size: 13px; line-height: 1.8; }
.product-label { color: #8a6d00; font-size: 10px; font-weight: 700; letter-spacing: 1px; }

.product-free-shipping {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 12px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .4px;
    line-height: 1.5;
}
.product-free-shipping i { flex-shrink: 0; color: #16a34a; font-size: 18px; }
.product-free-shipping span { overflow-wrap: anywhere; }

@media (max-width: 950px) {
    .mundial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mundial-catalog { padding: 60px 6%; }
}
@media (max-width: 600px) {
    .mundial-grid { grid-template-columns: 1fr; gap: 22px; }
    .mundial-heading { align-items: flex-start; }
    .mundial-card-info { padding: 18px; }
    .mundial-catalog { padding: 45px 6% 60px; }
}


/* =========================================================
   13. CARRITO
========================================================= */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, .9fr);
    align-items: start;
    gap: 28px;
    width: 100%;
    max-width: 1450px;
    margin-inline: auto;
}
.cart-layout * { min-width: 0; }

.cart-items,
.cart-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.cart-summary { position: sticky; top: 24px; }

.cart-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.cart-section-heading h2,
.cart-summary h2 { color: #111; font-size: clamp(18px, 2vw, 23px); line-height: 1.3; }
.cart-section-heading span { color: #555; font-size: 13px; }
.cart-summary h2 { margin-bottom: 22px; }

.cart-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid #e8e8e8;
}
.cart-item-image { width: 112px; height: 112px; overflow: hidden; border-radius: 10px; background: #f5f5f5; }
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.cart-item-info h3 { margin: 0 0 7px; color: #111; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.cart-item-info p { margin: 6px 0; color: #555; font-size: 13px; line-height: 1.5; }
.cart-item-info form { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.cart-item-info label { color: #222; font-size: 13px; font-weight: 600; }
.cart-item-info input[type="number"] {
    width: 68px;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid #d7d7d7;
    border-radius: 7px;
    background: #fff;
    color: #111;
    font: inherit;
}
.cart-item-info button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid #111;
    border-radius: 7px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cart-item-info button:hover { background: var(--yellow); border-color: var(--yellow); color: #111; }
.cart-item-total { align-self: start; padding-top: 4px; text-align: right; }
.cart-item-total strong { color: #111; font-size: 14px; white-space: nowrap; }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
    color: #333;
    font-size: 14px;
}
.summary-row span:last-child { text-align: right; overflow-wrap: anywhere; }
.summary-total { color: #111; font-size: 17px; border-bottom: 0; margin-bottom: 15px; }

.checkout-button { width: 100%; margin-top: 18px; }
.checkout-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }   /* ya no se ve apagado cuando sí funciona */

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease;
}
.continue-shopping:hover { color: #8a6d00; }

.cart-empty { padding: 42px 20px; text-align: center; }
.cart-empty > i { margin-bottom: 15px; color: #b28d00; font-size: 42px; }
.cart-empty h3 { margin-bottom: 10px; color: #111; font-size: 22px; }
.cart-empty p { max-width: 500px; margin: 0 auto 22px; color: #555; font-size: 14px; line-height: 1.7; }

@media (max-width: 950px) {
    .cart-layout { grid-template-columns: minmax(0, 1fr); }
    .cart-summary { position: static; }
    .cart-item { grid-template-columns: 105px minmax(0, 1fr) auto; }
    .cart-item-image { width: 105px; height: 105px; }
}
@media (max-width: 600px) {
    .cart-layout { gap: 18px; }
    .cart-items,
    .cart-summary { padding: 18px 15px; border-radius: 12px; }
    .cart-item { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 18px 0; }
    .cart-item-image { width: 82px; height: 90px; }
    .cart-item-info h3 { font-size: 14px; }
    .cart-item-info p { font-size: 12px; }
    .cart-item-info form { gap: 7px; }
    .cart-item-info button { padding: 8px 10px; font-size: 11px; }
    .cart-item-total { grid-column: 2; padding-top: 0; text-align: left; }
    .cart-item-total strong { white-space: normal; font-size: 13px; }
    .cart-section-heading { flex-direction: column; align-items: flex-start; }
    .cart-section-heading h2,
    .cart-summary h2 { font-size: 18px; }
    .summary-row { font-size: 13px; }
    .cart-empty { padding: 32px 8px; }
}


/* =========================================================
   14. GALERÍA DE PERSONALIZADOS
========================================================= */
.galeria-personalizados { padding: 80px 7%; }
.galeria-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 35px; }
.galeria-item { width: 100%; height: 320px; overflow: hidden; border-radius: 12px; background: #f2f2f2; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.galeria-item:hover img { transform: scale(1.06); }
.galeria-vacia { grid-column: 1 / -1; text-align: center; padding: 40px 10px; color: #666; }

.btn-precios-personalizacion {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 20px;
    background: var(--yellow);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    transition: .3s ease;
}
.btn-precios-personalizacion:hover { background: #000; color: var(--yellow); transform: translateY(-2px); }

@media (max-width: 900px) { .galeria-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 550px) {
    .galeria-grid { grid-template-columns: 1fr; }
    .galeria-item { height: 280px; }
}


/* =========================================================
   15. BÚSQUEDA
========================================================= */
.search-section { width: 100%; padding: 45px 7%; display: flex; justify-content: center; background: #fff; }

.search-form {
    width: 100%;
    max-width: 850px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 10px 8px 22px;
    background: #f5f5f5;
    border: 1px solid #e2e2e2;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
}
.search-form > i { color: #777; font-size: 17px; }
.search-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: #111;
}
.search-form input::placeholder { color: #888; }
.search-form button {
    border: none;
    border-radius: 40px;
    padding: 14px 28px;
    background: #080808;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: background .3s ease;
}
.search-form button:hover { background: #444; }

.search-results { min-height: 65vh; padding: 60px 7%; }
.search-results .section-heading { margin-bottom: 25px; }
.search-results .section-heading h1 { color: #080808; font-size: 32px; font-weight: 800; }
.search-results .search-form { max-width: 750px; margin: 0 auto 25px; }
.search-summary { margin: 25px 0; color: #555; font-size: 14px; }
.search-summary strong { color: #080808; }
.search-results .product-grid { margin-top: 30px; }

.search-results .empty-message { grid-column: 1 / -1; width: 100%; padding: 60px 20px; text-align: center; color: #555; }
.search-results .empty-message i { margin-bottom: 20px; color: #888; font-size: 35px; }
.search-results .empty-message h2 { margin-bottom: 10px; color: #080808; }
.search-results .empty-message p { margin-bottom: 25px; }
.search-results .empty-message .btn-primary { display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 600px) {
    .search-section { padding: 30px 5%; }
    .search-form { gap: 10px; padding-left: 16px; }
    .search-form button { padding: 12px 18px; }
    .search-results { padding: 40px 5%; }
    .search-results .section-heading h1 { font-size: 25px; }
}


/* =========================================================
   16. GUÍA DE TALLAS
========================================================= */
.size-guide-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 25px;
    background: rgba(0,0,0,.75);
    align-items: center;
    justify-content: center;
}
.size-guide-content { width: 100%; max-width: 750px; max-height: 90vh; overflow: hidden; background: #fff; border-radius: 12px; padding: 20px; }
.size-guide-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.size-guide-header h2 { color: #111; font-size: 18px; }
.size-guide-header button { width: 35px; height: 35px; border: none; border-radius: 50%; background: #111; color: #fff; font-size: 16px; }
.size-guide-image { display: flex; justify-content: center; max-height: calc(90vh - 100px); overflow: auto; }
.size-guide-image img { max-width: 100%; max-height: calc(90vh - 110px); width: auto; height: auto; object-fit: contain; }

.size-guide-button {
    position: fixed;
    right: 25px; bottom: 110px;
    z-index: 10000;
    width: 75px; height: 75px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #111;
    color: #fff;
    border: 3px solid #fff;
    outline: 2px solid #111;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 5px 18px rgba(0,0,0,.25);
    transition: transform .3s ease, background .3s ease;
}
.size-guide-button i { font-size: 25px; }
.size-guide-button:hover { background: #444; transform: scale(1.08); }

@media (max-width: 600px) {
    .size-guide-modal { padding: 12px; }
    .size-guide-content { padding: 14px; }
    .size-guide-header h2 { font-size: 15px; }
    .size-guide-button { width: 65px; height: 65px; right: 15px; bottom: 90px; font-size: 9px; }
    .size-guide-button i { font-size: 22px; }
}


/* =========================================================
   17. MOVIMIENTO REDUCIDO
========================================================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
    .football-hero-slide { animation: none; opacity: 0; }
    .football-hero-slides .football-slide-1 { opacity: 1; }
}   
/*nuevos cambios */

/* =========================================================
   AJUSTES PARA CELULAR Y TABLET
   Pegar AL FINAL del CSS (después de todo lo demás).
========================================================= */
/* =========================================================
   AJUSTES PARA CELULAR Y TABLET
   Pegar AL FINAL del CSS (después de todo lo demás).
========================================================= */

/* A. Etiquetas de los productos (PROFESIONAL · ANIMADO):
      no deben heredar el estilo grande de .eyebrow */
.product-category,
.product-info .eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
}
.product-category .eyebrow,
.product-info .eyebrow {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: 10px;
    letter-spacing: 1px;
}

/* B. Foto del producto: cuadrada y completa (sin recortar el balón) */
.product-image {
    height: auto;
    aspect-ratio: 1 / 1;
    background: #fff;
}
.product-image img { object-fit: contain; }

/* C. Cuadrícula de productos: 4 → 3 → 2 columnas */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .product-info h3 { font-size: 13px; }
    .price { font-size: 13px; }
    .quick-cart { width: 36px; height: 36px; font-size: 14px; bottom: 8px; right: 8px; }
}

/* D. Categorías: 3 → 2 columnas, con texto legible */
@media (max-width: 900px) {
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 600px) {
    .category-grid { gap: 12px; }
    .category-card { border-radius: 10px; }
    .category-overlay {
        padding: 14px;
        background: linear-gradient(to top, rgba(8,18,35,.92) 0%, rgba(8,18,35,.55) 55%, rgba(8,18,35,.12) 100%);
    }
    .category-overlay h3 { font-size: 17px; }
    .category-overlay span {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 6px;
        font-size: 11px;
        white-space: nowrap;
    }
}

/* E. Banner del inicio y de los deportes en celular:
      las fotos anchas (con el logo a la derecha) se enfocan en la foto
      de la izquierda, así se ve llena y sin el logo partido.
      (Las fotos que usan este recorte) */
@media (max-width: 768px) {
 
    /* en celular, estas capas usan la imagen vertical (foto + logo) */
    .slide-1,
    .hero-futsala .football-slide-1,
    .hero-micro .football-slide-1,
    .hero-personalizados .football-slide-1,
    .hero-voleibol .football-slide-1 {
        background-image: url("../imagenes/arcueros_balones_movil.22d606478b3c.jpg");
        background-size: cover;
        background-position: top center;
    }
 
    /* el texto empieza debajo del logo que va dentro de la imagen */
    .hero,
    .football-hero {
        min-height: 0;
        align-items: flex-start;
        padding: calc(40vw + 6px) 7% 60px;
    }
 
    /* capa oscura suave, la imagen ya viene oscurecida */
    .hero::before,
    .football-hero::before {
        background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.25) 100%);
    }
 
    /* texto compacto */
    :is(.hero, .football-hero) .eyebrow { margin-bottom: 6px; }
    :is(.hero, .football-hero) h1 {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }
    :is(.hero, .football-hero) p { font-size: .85rem; margin-bottom: 16px; }
    :is(.hero, .football-hero) .btn-primary { padding: 12px 18px; }
}
 