/*   1. CONFIGURACIÓN GENERAL */
:root {

    --primary: hsl(0, 0%, 0%);
    --primary-dark: hsl(48, 100%, 49%);
    --navy: lch(1.37% 0 296.81);
    --text: hwb(0 0% 100%);
    --muted: #0e0e0f;
    --background: hsl(0, 0%, 100%);
    --light: #f4f6fa;
    --border: #e7eaf0;
}

* {
    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: var(--background);
    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;
}

/* ==========================
   2. BARRA SUPERIOR
\========================== */
.top-bar {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 9px 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}
/* ==========================
   3. ENCABEZADO Y MENÚ
========================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 88px;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #000000;
    border-bottom: 2px solid #FAC800;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
}
.logo img {
    display: block;
    width: 175px;
    height: 64px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.logo span {
    color: #FAC800;
}
/* MENÚ DE NAVEGACIÓN */
.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: #ffffff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
}
.navbar a:hover,
.navbar a:focus-visible {
    color: #FAC800;
}
/* ICONOS DEL ENCABEZADO */
.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: #ffffff;
    font-size: 19px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.header-icons a:hover,
.header-icons button:hover {
    color: #FAC800;
}
/* TABLETAS */
@media (max-width: 950px) {
    .header {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px 20px;
        padding: 12px 5%;
    }

    .logo img {
        width: 155px;
        height: 58px;
    }

    .navbar {
        order: 3;
        flex: 1 0 100%;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 22px;
    }
}

/* CELULARES */
@media (max-width: 600px) {
    .header {
        gap: 10px;
        padding: 10px 4%;
    }
    .logo img {
        width: 130px;
        height: 50px;
    }
    .navbar {
        justify-content: center;
        gap: 12px 16px;
    }
    .navbar a {
        font-size: 11px;
    }
    .header-icons {
        gap: 8px;
    }
    .header-icons a,
    .header-icons button {
        font-size: 17px;
    }
}

/* ==========================
   BANNER PRINCIPAL ARCUEROS
========================== */
.hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 70px 8%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #ffffff;
    background: #101820;
}

/* CAPA DE FOTOGRAFÍAS */
.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;
    animation: heroFade 16s infinite;
}

/* Cambia estas rutas por las fotoss */

.slide-1 {
    background-image: url("../imagenes/pasillo.de3d36c9b1e1.jpeg");
    animation-delay: 0s;
}
.slide-2 {
    background-image: url("../imagenes/animados/portada.4d789bcc07cd.jpg");
    animation-delay: 4s;
}

.slide-3 {
    background-image: url("../imagenes/balones.da2ffc8360a0.png");
    animation-delay: 8s;
}

.slide-4 {
    background-image: url("../imagenes/futbol/portada_futbol.89fcd642f9e2.jpg");
    animation-delay: 12s;
}
/* DEGRADADO PARA QUE EL TEXTO SE LEA BIEN */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(10, 16, 24, 0.92) 0%,
        rgba(10, 16, 24, 0.72) 45%,
        rgba(10, 16, 24, 0.18) 100%
    );
}

/* CONTENIDO DEL BANNER */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero .eyebrow {
    color: #FAC800;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.08;
    margin: 18px 0;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.hero p {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 500px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* TRANSICIÓN AUTOMÁTICA: 4 SEGUNDOS POR FOTO */

@keyframes heroFade {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 768px) {
    .hero {
        min-height: 420px;
        padding: 55px 6%;
    }

    .hero::before {
        background: linear-gradient(
            90deg,
            rgba(10, 16, 24, 0.88),
            rgba(10, 16, 24, 0.48)
        );
    }

    .hero p {
        font-size: 0.98rem;
    }
}

/* RESPETAR LA PREFERENCIA DE MENOS MOVIMIENTO */

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        animation: none;
        opacity: 0;
    }

    .slide-1 {
        opacity: 1;
    }
}

.hero-content {

    max-width: 600px;

}
.hero h1 {

    color: #ffffff;

}
.hero p {

    color: #ffffff;

}

.btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 15px 23px;

    background: var(--primary);

    color: white;

    border: none;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.5px;

    transition: background 0.2s ease, transform 0.2s ease;

}

.btn-primary:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

}

.hero-image {

    width: 100%;

    height: 510px;

    min-width: 0;

    overflow: hidden;

    background: #e7eaf0;

}

.hero-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}

/* ==========================
   5. TÍTULOS DE SECCIÓN
\========================== */
.section-heading {

    display: flex;

    align-items: 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;

}
.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    transition: gap 0.2s ease;

}

.text-link:hover {

    gap: 15px;

}

/* ==========================
   6. MOSAICO DE CATEGORÍAS
\========================== */

.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;
}
/* Tres columnas y dos filas en computador */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Tarjetas cuadradas */

.category-card {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #e7eaf0;
    isolation: isolate;
}
/* Fotografías */
.category-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

/* Degradado para que el texto destaque */
.category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
    background: linear-gradient(
        to top,
        rgba(8, 18, 35, 0.90) 0%,
        rgba(8, 18, 35, 0.35) 42%,
        rgba(8, 18, 35, 0.00) 78%
    );
    transition: background 0.3s ease;
}
.category-overlay h3 {
    margin: 0;
    color: white;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.2;
}
.category-overlay span {
    margin-top: 9px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.95;
}
/* Efecto al pasar el cursor */
.category-card:hover img {
    transform: scale(1.06);
}

.category-card:hover .category-overlay {
    background: linear-gradient(
        to top,
        rgba(8, 18, 35, 0.96),
        rgba(8, 18, 35, 0.12) 80%
    );
}

/* ==========================
   7. TARJETAS DE 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 0.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: white;
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.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: white;
    color: var(--navy);
    border: 0;
    border-radius: 50%;
    font-size: 16px;
    box-shadow: 0 3px 12px #00000012;
    transition: background 0.2s ease, color 0.2s ease;
}
.quick-cart:hover {
    background: var(--primary);
    color: white;
}
.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
\========================== */
.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 {
    padding: 45px 5% 25px;
    text-align: center;
    background: var(--navy);
    color: white;
}
.footer .logo {
    color: white;
}

.footer > p {
    color: #c1c9d7;
    font-size: 12px;
    margin-top: 10px;
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 25px 0;
}
.footer-links a {
    font-size: 12px;
    transition: color 0.2s ease;
}
.footer .copyright {
    padding-top: 20px;
    border-top: 1px solid hsl(0, 0%, 0%);
    font-size: 11px;
}
/* ==========================
   10. DISEÑO RESPONSIVE
\========================== */

/* Tabletas y pantallas medianas */
@media (max-width: 950px) {

    .header {
        flex-wrap: wrap;
        padding: 18px 5%;
    }

    .navbar {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 22px;
    }
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-content {
        padding: 45px 8%;
    }
    .hero-image {
        height: 440px;
    }
    .category-overlay {
        padding: 18px;
    }
}

/* Celulares */

@media (max-width: 600px) {
    .section {
        width: 92%;
        padding: 45px 0;
    }
    .header {
        gap: 15px;
    }
    .logo {
        font-size: 24px;
    }
    .header-icons {
        gap: 14px;
    }
    .header-icons button {
        font-size: 16px;
    }

    .navbar {
        justify-content: flex-start;
        gap: 12px 18px;
    }

    .navbar a {
        font-size: 11px;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-content {
        padding: 45px 6%;
    }
    .hero h1 {
        font-size: 42px;
    }

    .hero-image {
        height: 300px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    /* Dos columnas: tres filas de categorías */

    .category-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .category-card {
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 9px;
    }
    .category-overlay {
        padding: 12px;
    }
    .category-overlay h3 {
        font-size: 15px;
    }
    .category-overlay span {
        font-size: 10px;
        margin-top: 5px;
    }

    .product-grid {
        gap: 12px;
    }

    .product-image {
        height: 200px;
    }

    .product-tag {
        top: 7px;
        left: 7px;
        font-size: 8px;
        padding: 5px;
    }

    .product-info h3 {
        font-size: 12px;
    }

    .price {
        font-size: 12px;
    }

    .quick-cart {
        width: 35px;
        height: 35px;
        bottom: 8px;
        right: 8px;
    }
    .about {
        padding: 55px 6%;
    }
    .footer-links {
        gap: 15px;
    }

}
/* Celulares muy estrechos */

@media (max-width: 360px) {
    .category-grid {
        gap: 8px;
    }

    .category-overlay {
        padding: 9px;
    }

    .category-overlay h3 {
        font-size: 13px;
    }

    .category-overlay span {
        font-size: 9px;
    }

}

/* ==========================
   DISEÑO DE FÚTBOL
\========================== */
.football-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 500px;
    padding: 70px 8%;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(10, 22, 43, 0.85),
            rgba(10, 22, 43, 0.20)
        ),

        url("../imagenes/pasillo.de3d36c9b1e1.jpeg") center / cover no-repeat;



    color: #ffffff;

}

.football-hero-content {
    padding: 50px 10% 50px 12%;
    color: #ffffff;
}

/* Enlace para volver */
.football-hero-content .back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 35px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.football-hero-content .back-link:hover {
    color: #FAC800;
}

/* Título principal */
.football-hero-content h1 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
}

/* Descripción */
.football-hero-content p {
    max-width: 420px;
    margin-bottom: 28px;
    color: #ffffff;
    font-size: 14px;
}
/* Imagen secundaria, si se utiliza en el HTML */
.football-hero-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #111111;
}

.football-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Líneas de productos de fútbol */
.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;
}

/* =================================
   CARRUSEL DEL BANNER DE FÚTBOL
================================= */

.football-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #101820;
}

/* Fotografías */

.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-slide-1 {
    background-image: url("../imagenes/futbol/portada_futbol.89fcd642f9e2.jpg");
    animation-delay: 0s;
}

.football-slide-2 {
    background-image: url("../imagenes/futbol/champiosportada.b094e7703a91.jpg");
    animation-delay: 4s;
}

.football-slide-3 {
    background-image: url("../imagenes/futbol/portadaprofesional.61f889f3b786.jpg");
    animation-delay: 8s;
}

.football-slide-4 {
    background-image: url("../imagenes/futbol/portadamundialtermosellado.ab99882237d6.jpg");
    animation-delay: 12s;
}

/* Oscurecer el fondo para facilitar la lectura */

.football-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(10, 16, 24, 0.92) 0%,
        rgba(10, 16, 24, 0.75) 45%,
        rgba(10, 16, 24, 0.25) 100%
    );
}

/* Mantener el texto por encima de las fotografías */

.football-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

/* Fundido de las imágenes */

@keyframes footballFade {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Adaptación para móviles */

@media (max-width: 768px) {
    .football-hero::before {
        background: linear-gradient(
            90deg,
            rgba(10, 16, 24, 0.91),
            rgba(10, 16, 24, 0.58)
        );
    }
}

/* Respetar la preferencia de menos movimiento */

@media (prefers-reduced-motion: reduce) {
    .football-hero-slide {
        animation: none;
        opacity: 0;
    }

    .football-slide-1 {
        opacity: 1;
    }
}


/* ==========================================
   CARRUSEL COMPARTIDO PARA OTRAS CATEGORÍAS
========================================== */

.football-hero-slides {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.football-hero-slide {
    position: absolute;
    inset: 0;

    /* Encuadre de la fotografía */
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    /* Transición suave */
    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;
}
/* Futsala */
.hero-futsala .football-slide-1 {
    background-image: url("../imagenes/futsala/portada_futsala.9e7453ebc1ce.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/microfutbol/colombia.8544d9df44c1.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/personalizados/personalizado1.bd77e7063b63.png");
}
.hero-personalizados .football-slide-2 {
    background-image: url("../imagenes/personalizados/personalizadoportada.6c185dd05dd3.jpg");
}
/* Voleibol */
.hero-voleibol .football-slide-1 {
    background-image: url("../imagenes/voleibol/arcueros_azul.3199dd59c0e0.jpg");
}
.hero-voleibol .football-slide-2 {
    background-image: url("../imagenes/voleibol/arcuerosnaranja.7035862a9367.jpg");
}
.hero-voleibol .football-slide-3 {
    background-image: url("../imagenes/voleibol/arcuerosmariposa.a8cfdd7dadba.jpg");
}
.hero-voleibol .football-slide-4 {
    background-image: url("../imagenes/voleibol/micky.3f9eaf71b9d5.jpg");
}
/* Baloncesto */
.hero-baloncesto .football-slide-1 {
    background-image: url("../imagenes/basquetball/neytak_aguamarina.89bcd8a11023.jpg");
}
.hero-baloncesto .football-slide-2 {
    background-image: url("../imagenes/basquetball/arcuerosblanco.36c075943dbb.jpg");
}
.hero-baloncesto .football-slide-3 {
    background-image: url("../imagenes/basquetball/arcuerosmicky.576f97053316.jpg");
}
.hero-baloncesto .football-slide-4 {
    background-image: url("../imagenes/basquetball/neytakrosado.61a94a2320b3.jpg");
}
/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .football-hero-slide {
        animation: none;
        opacity: 0;
    }
    .football-hero-slides .football-slide-1 {
        opacity: 1;
    }
}
/* =================
   SUBCATEGORÍAS DE ARCUEROS
\========================== */
.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;
}
.subcategory-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #e7eaf0;
    isolation: isolate;
}
.subcategory-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}
.subcategory-card .category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
    background: linear-gradient(
        to top,
        rgba(8, 18, 35, 0.92) 0%,
        rgba(8, 18, 35, 0.32) 48%,
        rgba(8, 18, 35, 0) 80%
    );
    transition: background 0.3s ease;
}
.subcategory-card .category-overlay h3 {
    color: white;
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 800;
    line-height: 1.25;
}

.subcategory-card .category-overlay span {
    margin-top: 9px;
    font-size: 12px;
    font-weight: 600;
}

.subcategory-card:hover img {

    transform: scale(1.06);

}
.subcategory-card:hover .category-overlay {

    background: linear-gradient(

        to top,

        rgba(8, 18, 35, 0.96),

        rgba(8, 18, 35, 0.12) 80%

    );

}

/* Tabletas */

@media (max-width: 950px) {

    .subcategory-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px;

    }

    .subcategory-card .category-overlay {

        padding: 18px;

    }

}

/* Celulares */

@media (max-width: 600px) {

    .subcategory-section {

        padding-top: 45px;

        padding-bottom: 50px;

    }

    .subcategory-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        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;

    }
}
/*aca se trabaja el diseño responsive de futbol*/
/* Tabletas */
@media (max-width: 950px) {

    .football-hero-content {

        padding: 40px 8%;

    }

    .football-hero-image {

        height: 400px;

    }
}
/* Celulares */

@media (max-width: 600px) {
    .football-hero {
        grid-template-columns: 1fr;
    }
    .football-hero-content {
        padding: 35px 6%;
    }
    .back-link {

        margin-bottom: 25px;

    }
    .football-hero-image {

        height: 280px;

    }
    .football-line-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .football-line-grid .category-card {
        aspect-ratio: 4 / 3;
    }
}
/* ==========================================
   PAGINAS INSTITUCIONALES
\========================================== */
.page-hero {
    min-height: 350px;
    display: flex;
    align-items: center;
    padding: 70px 8%;
    background:
        linear-gradient(90deg, rgba(10, 22, 43, 0.94), rgba(10, 22, 43, 0.45)),
        url("../imagenes/balones.da2ffc8360a0.png") center/cover no-repeat;
    color: #fff;
}
.page-hero-content {
    width: 100%;
    max-width: 720px;
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    margin: 15px 0;
}
.page-hero p {
    max-width: 570px;
    color: #edf1f7;
    line-height: 1.8;
    margin-bottom: 25px;
}
.page-hero .eyebrow {
    color: #a9c0ff;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 12px;
}
/* Contenido general */
.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 {
    font-size: clamp(28px, 3vw, 40px);
    margin: 12px 0 20px;
    color: #111111;
}
.about-text p,
.contact-information > p {
    line-height: 1.9;
    color: #111111;
    margin-bottom: 16px;
}
.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;
    display: block;
}
.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 {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 18px;
}
.info-card h3 {
    color: var(--navy);
    margin-bottom: 12px;
}
.info-card p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}
.about-cta {
    text-align: center;
}
.about-cta h2 {
    color: var(--navy);
    margin-bottom: 15px;
}
.about-cta p {
    color: var(--muted);
    margin-bottom: 25px;
}
/* Fundación */

.foundation-hero {
    background:
        linear-gradient(90deg, rgba(10, 22, 43, 0.92), rgba(10, 22, 43, 0.42)),
        url("../template/imagenes/") center/cover no-repeat;
}
/* Contacto */

.contact-hero {
    min-height: 290px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: start;
}
.contact-detail {
    display: flex;
    gap: 16px;
    margin-top: 25px;
    align-items: flex-start;
}

.contact-detail > i {
    color: var(--primary);
    font-size: 23px;
    width: 28px;
    padding-top: 3px;
}

.contact-detail h3 {
    color: var(--navy);
    margin-bottom: 7px;
}

.contact-detail p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(16, 28, 50, 0.06);
}

.contact-form h2 {
    color: var(--navy);
    margin-bottom: 12px;
}
.contact-form label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-top: 5px;
}
.contact-form input,

.contact-form select,

.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
}
.contact-form textarea {
    resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}
.contact-form .btn-primary {
    cursor: pointer;
    border: none;
    align-self: flex-start;
    margin-top: 8px;
}
.form-note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    margin-top: 8px;
}
/* Carrito */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: start;
}
.cart-items,
.cart-summary {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 25px;
}
.cart-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.cart-section-heading h2,
.cart-summary h2 {
    color: var(--navy);
    font-size: 20px;
}

.cart-section-heading span {
    color: var(--muted);
    font-size: 13px;
}
.cart-empty {
    text-align: center;
    padding: 45px 15px;
}
.cart-empty > i {
    color: var(--primary);
    font-size: 52px;
    margin-bottom: 22px;
}

.cart-empty h3 {
    color: var(--navy);
    margin-bottom: 12px;
}
.cart-empty p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 400px;
    margin: 0 auto 25px;
    font-size: 14px;
}

.cart-summary h2 {
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}
.summary-total {
    color: var(--navy);
    font-size: 17px;
    border-bottom: none;
    margin-bottom: 15px;
}

.checkout-button {
    width: 100%;
    justify-content: center;
    cursor: not-allowed;
    opacity: 0.55;
}
.continue-shopping {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.continue-shopping:hover {
    text-decoration: underline;
}
/* Responsive: tabletas y celulares */

@media (max-width: 900px) {
    .about-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .info-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 55px 6%;
    }

    .content-section {
        padding: 50px 6%;
    }
}
@media (max-width: 600px) {
    .info-card-grid {
        grid-template-columns: 1fr;
    }
    .page-hero {
        min-height: 300px;
        padding: 45px 22px;
    }
    .content-section {
        padding: 40px 20px;
    }

    .contact-form,
    .cart-items,
    .cart-summary,
    .info-card {
        padding: 20px;
    }

    .cart-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/*espacio para fundacion*/



.fundacion-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88),
            rgba(0, 0, 0, 0.25)
        ),
        url("../template/imagenes/")
        center / cover no-repeat;

    color: #ffffff;
}
.fundacion-hero-content {
    max-width: 680px;
}

.fundacion-hero .eyebrow {
    color: #FFD400;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 13px;
}
.fundacion-hero h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    margin: 20px 0;
}

.fundacion-hero p {
    color: #f1f1f1;
    font-size: 17px;
    line-height: 1.8;
    max-width: 570px;
}

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

.fundacion-botones .btn-primary {
    background: #FFD400;
    color: #111111;
    border: 2px solid #FFD400;
}

.fundacion-botones .btn-primary:hover {
    background: #e6bf00;
    border-color: #e6bf00;
}
.btn-secundario {
    display: inline-block;
    padding: 14px 24px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ase;
}
.btn-secundario:hover {
    background: #ffffff;
    color: #111111;
}

/* Adaptación para celulares */
@media (max-width: 600px) {
    .fundacion-hero {
        min-height: 500px;
        padding: 60px 6%;
    }
    .fundacion-botones {
        flex-direction: column;
        align-items: flex-start;
    }
    .fundacion-hero h1 {
        font-size: 36px;
    }
}

/*estilos de contacto*/

/* BANNER PRINCIPAL */
.contacto-hero {
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.90),
            rgba(0, 0, 0, 0.35)
        );
    color: #ffffff;
}
.contacto-hero-content {
    max-width: 700px;
}

.contacto-hero .eyebrow,
.contacto-info .eyebrow,
.contacto-form-text .eyebrow {
    display: inline-block;
    color: #FFD400;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.contacto-hero h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    margin-bottom: 22px;
}
.contacto-hero p {
    max-width: 560px;
    color: #eeeeee;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}
/* BOTÓN PRINCIPAL */
.contacto-page .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    background: #FFD400;
    color: #111111;
    border: 2px solid #FFD400;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}
.contacto-page .btn-primary:hover {
    background: #e6bf00;
    border-color: #e6bf00;
    transform: translateY(-2px);
}
/* INFORMACIÓN DE CONTACTO */
.contacto-info {
    padding: 85px 8%;
    background: #ffffff;
    color: #111111;
}
.contacto-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}
.contacto-heading h2,
.contacto-form-text h2 {
    color: #111111;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.2;
    margin-bottom: 18px;
}

.contacto-heading p {
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
}
/* TARJETAS */
.contacto-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}
.contacto-card {
    padding: 35px 25px;
    text-align: center;
    background: hsl(0, 0%, 3%);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;

}
.contacto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
    border-color: #FFD400;
}
.contacto-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: ceter;
    margin: 0 auto 22px;
    background: #FFD400;
    color: #111111;
    border-radius: 50%;
    font-size: 27px;
}
.contacto-card h3 {
    color: #111111;
    font-size: 20px;
    margin-bottom: 12px;
}
.contacto-card p {
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
}
.contacto-pendiente {
    display: inline-block;
    color: #555555;
    background: #f4f4f4;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
}
/* SECCIÓN DEL FORMULARIO */
.contacto-form-section {
    display: grid;
    grid-template-columns: 0.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: #666666;
    font-size: 16px;
    line-height: 1.9;
}
.contacto-nota {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding: 18px;
    background: #ffffff;
    border-left: 4px solid #FFD400;
    border-radius: 5px;
    color: #444444;
    line-height: 1.6;

}

.contacto-nota i {
    color: #111111;
    margin-top: 4px;
}
/* FORMULARIO */
.contacto-form {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}
.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: #222222;
    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: #ffffff;
    color: #222222;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease,
                box-shadow 0.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: #999999;
}

.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, 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: #111111;
    flex-shrink: 0;
}

.form-privacy label {
    color: #555555;
    font-size: 13px;
    line-height: 1.6;
}

.contacto-form .btn-primary {
    width: 100%;
}

.form-aviso {
    margin-top: 15px;
    color: #777777;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

/* FRANJA FINAL */
.contacto-cta {
    padding: 75px 8%;
    text-align: center;
    background: #111111;
    color: #111111;
}

.contacto-cta h2 {

    color: #FFD400;

    font-size: clamp(25px, 3vw, 38px);

    margin-bottom: 18px;

}



.contacto-cta p {

    max-width: 650px;

    margin: 0 auto 28px;

    color: #111111;

    font-size: 16px;

    line-height: 1.8;

}



/* ADAPTACIÓN PARA TABLETAS */

@media (max-width: 900px) {

    .contacto-cards {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }



    .contacto-form-section {

        grid-template-columns: 1fr;

        gap: 35px;

    }

}



/* ADAPTACIÓN PARA CELULARES */

@media (max-width: 600px) {

    .contacto-hero {

        min-height: 430px;

        padding: 60px 6%;

    }



    .contacto-hero h1 {

        font-size: 36px;

    }



    .contacto-hero p {

        font-size: 15px;

    }



    .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%;

    }

}





/* ==========================

   BANNER MUNDIAL

\========================== */



.mundial-hero {

    min-height: 440px;

    display: flex;

    align-items: center;

    padding: 65px 8%;



    background:

        linear-gradient(

            90deg,

            rgba(10, 22, 43, 0.88),

            rgba(10, 22, 43, 0.35)

        ),

        url("../imagenes/pasillo.de3d36c9b1e1.jpeg") center / cover no-repeat;



    color: #ffffff;

}



.mundial-hero-content {

    max-width: 620px;

}



.mundial-hero .back-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 30px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

}



.mundial-hero .back-link:hover {

    color: #FAC800;

}



.mundial-hero .eyebrow,

.mundial-hero h1,

.mundial-hero p {

    color: #ffffff;

}



.mundial-hero h1 {

    margin: 15px 0 20px;

    font-size: clamp(40px, 5vw, 64px);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -2px;

}



.mundial-hero p {

    max-width: 470px;

    margin-bottom: 28px;

    font-size: 14px;

    line-height: 1.8;

}



/* ==========================

   CATÁLOGO

\========================== */



.mundial-catalog {

    padding: 75px 8% 90px;

    background: #ffffff;

}



.mundial-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 20px;

    margin-bottom: 35px;

}



.mundial-heading h2 {

    margin: 10px 0;

    color: #111111;

    font-size: clamp(27px, 3vw, 38px);

    font-weight: 800;

}



.mundial-heading p {

    margin: 0;

    color: #666666;

    font-size: 14px;

    line-height: 1.7;

}



.mundial-heading .eyebrow {

    color: #8a6d00;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

}



.catalog-count {

    flex-shrink: 0;

    padding: 10px 14px;

    border-radius: 4px;

    background: #f5f5f5;

    color: #333333;

    font-size: 12px;

    font-weight: 600;

}



/* Cuadrícula de tarjetas */



.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 #eeeeee;

    border-radius: 8px;

    background: #ffffff;

    transition: transform 0.25s ease, box-shadow 0.25s ease;

}



.mundial-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);

}



/* Imagen del producto */



.mundial-card-image {

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #f5f5f5;

}



.mundial-card-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: transform 0.35s ease;

}



.mundial-card:hover .mundial-card-image img {

    transform: scale(1.04);

}



/* Nombre y descripción */



.mundial-card-info {

    padding: 20px;

}



.product-label {

    color: #8a6d00;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

}
/* ==============================
   ETIQUETA DE ENVÍO GRATIS
============================== */

.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: 0.4px;
    line-height: 1.5;
}

.product-free-shipping i {
    flex-shrink: 0;
    color: #16a34a;
    font-size: 18px;
}

.product-free-shipping span {
    overflow-wrap: anywhere;
}



.mundial-card-info h3 {

    margin: 10px 0;

    color: #111111;

    font-size: 17px;

    font-weight: 700;

}



.mundial-card-info p {

    margin: 0;

    color: #666666;

    font-size: 13px;

    line-height: 1.8;

}



/* ==========================

   RESPONSIVE

\========================== */



@media (max-width: 950px) {

    .mundial-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }



    .mundial-hero {

        min-height: 400px;

    }



    .mundial-catalog {

        padding: 60px 6%;

    }

}



@media (max-width: 600px) {

    .mundial-hero {

        min-height: 380px;

        padding: 45px 6%;

    }



    .mundial-hero h1 {

        letter-spacing: -1px;

    }



    .mundial-grid {

        grid-template-columns: 1fr;

        gap: 22px;

    }



    .mundial-heading {

        align-items: start;

    }



    .mundial-card-info {

        padding: 18px;

    }



    .mundial-catalog {

        padding: 45px 6% 60px;

    }

}

/* =========================================================
   AJUSTES FINALES DE COMPATIBILIDAD Y PRESENTACIÓN
   Se añaden al final para no sustituir las reglas existentes.
========================================================= */

/* Iconos del encabezado */
.header-icons a,
.header-icons button { color: #ffffff !important; text-decoration: none; }
.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: #FAC800 !important; }
.header-icons { flex-shrink: 0; }
.header-icons a { display: inline-flex; align-items: center; justify-content: center; }

/* Carrito: distribución clara y adaptable */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
    align-items: start; gap: 28px; width: 100%; max-width: 1450px; margin-inline: auto;
}
.cart-items, .cart-summary {
    min-width: 0; background: #ffffff; border-radius: 16px; padding: 26px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}
.cart-section-heading {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; margin-bottom: 22px;
}
.cart-section-heading h2, .cart-summary h2 {
    color: #111111; font-size: clamp(18px, 2vw, 23px); line-height: 1.3;
}
.cart-section-heading span { color: #555555; font-size: 13px; }
.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 {
    display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.cart-item-info { min-width: 0; }
.cart-item-info h3 {
    margin: 0 0 7px; color: #111111; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere;
}
.cart-item-info p { margin: 6px 0; color: #555555; 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: #222222; 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: #ffffff; color: #111111; font: inherit;
}
.cart-item-info button {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 12px; border: 1px solid #111111; border-radius: 7px;
    background: #111111; color: #ffffff; font-size: 12px; font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cart-item-info button:hover { background: #FAC800; border-color: #FAC800; color: #111111; }
.cart-item-total { align-self: start; padding-top: 4px; text-align: right; }
.cart-item-total strong { color: #111111; font-size: 14px; white-space: nowrap; }
.cart-summary { position: sticky; top: 24px; }
.cart-summary h2 { margin-bottom: 22px; }
.summary-row {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
    padding: 15px 0; border-bottom: 1px solid #e8e8e8; color: #333333; font-size: 14px;
}
.summary-row span:last-child { text-align: right; overflow-wrap: anywhere; }
.summary-total { color: #111111; font-size: 17px; border-bottom: 0; }
.checkout-button { width: 100%; margin-top: 18px; }
.checkout-button:disabled { opacity: 0.58; cursor: not-allowed; transform: none; }
.form-note { margin-top: 13px; color: #666666; font-size: 12px; line-height: 1.65; }
.continue-shopping {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
    color: #111111; font-size: 13px; font-weight: 700; transition: color 0.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: #111111; font-size: 22px; }
.cart-empty p { max-width: 500px; margin: 0 auto 22px; color: #555555; font-size: 14px; line-height: 1.7; }
.cart-layout *, .cart-item *, .cart-summary * { min-width: 0; }
.cart-item-info input[type="number"] { min-width: 0; }

@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-total { grid-column: 2; padding-top: 0; text-align: left; }
    .cart-item-total strong { white-space: normal; font-size: 13px; }
    .cart-item-info form { gap: 7px; }
    .cart-item-info button { padding: 8px 10px; font-size: 11px; }
    .cart-section-heading { align-items: flex-start; }
    .cart-section-heading h2, .cart-summary h2 { font-size: 18px; }
    .summary-row { font-size: 13px; }
    .cart-empty { padding: 32px 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}



/* =========================================
   CONTACTO - ARC​UEROS
========================================= */

.contact-page {
    --contact-yellow: #fac800;
    --contact-black: #080808;
    --contact-gray: #6b6b6b;
    font-family: 'Montserrat', sans-serif;
    color: var(--contact-black);
    overflow: hidden;
}

.contact-page * {
    box-sizing: border-box;
}

.contact-hero {
    min-height: 570px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 85px max(7%, calc((100% - 1200px) / 2));
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 50%, rgba(0,0,0,.35) 100%),
        url("/static/imagenes/pasillo.de3d36c9b1e1.jpeg") center/cover no-repeat,
        #101010;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.25), transparent 50%);
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--contact-yellow);
}

.contact-eyebrow > span {
    width: 27px;
    height: 3px;
    background: var(--contact-yellow);
    display: inline-block;
}

.contact-hero h1 {
    margin: 25px 0 20px;
    font-size: clamp(38px, 5.5vw, 70px);
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 800;
}

.contact-hero h1 span,
.contact-section-heading h2 span,
.contact-form-intro h2 span,
.contact-final-cta h2 span {
    color: var(--contact-yellow);
}

.contact-hero-content > p {
    max-width: 550px;
    margin: 0 0 30px;
    color: #dedede;
    font-size: 15px;
    line-height: 1.9;
}

.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);
    background: var(--contact-yellow);
    color: #080808;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.contact-button:hover {
    background: transparent;
    color: var(--contact-yellow);
    transform: translateY(-2px);
}

.contact-hero-note {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #cfcfcf;
    font-size: 11px;
    letter-spacing: .3px;
}

.contact-hero-note i {
    color: var(--contact-yellow);
    font-size: 17px;
}

.contact-hero-number {
    position: absolute;
    right: 7%;
    bottom: 35px;
    font-size: clamp(70px, 12vw, 150px);
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,.07);
}

/* CANALES */

.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);
}

/* FORMULARIO */

.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 > 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 {
    font-size: 11px;
    font-weight: 800;
    color: #292929;
}

.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 {
    resize: vertical;
    min-height: 125px;
    line-height: 1.7;
}

.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-field input::placeholder,
.contact-field textarea::placeholder {
    color: #9a9a9a;
}

.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;
}

/* CTA FINAL */

.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 {
    margin: 0 auto 28px;
    max-width: 550px;
    color: #c4c4c4;
    font-size: 12px;
    line-height: 1.9;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .contact-hero {
        min-height: 510px;
        padding: 75px 6%;
    }

    .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-hero {
        min-height: 490px;
        padding: 65px 23px;
        background-position: 58% center;
    }

    .contact-hero h1 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .contact-hero-content > p {
        font-size: 13px;
    }

    .contact-hero-number {
        right: 18px;
        bottom: 20px;
        font-size: 75px;
    }

    .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;
    }
}

/* =================================
   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%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.galeria-item:hover img {
    transform: scale(1.06);
}

.galeria-vacia {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 10px;
    color: #666;
}

/* Adaptación para tablets */
@media (max-width: 900px) {
    .galeria-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Adaptación para celulares */
@media (max-width: 550px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-item {
        height: 280px;
    }
}
/* BOTÓN DE PRECIOS DE PERSONALIZACIÓN */

.btn-precios-personalizacion {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 20px;
    background-color: #FAC800;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
}

.btn-precios-personalizacion:hover {
    background-color: #000;
    color: #FAC800;
    transform: translateY(-2px);
}