/* SHOP PRODUCT IMAGES */
.shop-grid .prod-img {
    width: 100%;
    height: 180px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.shop-grid .prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Cards del roster: tamaño uniforme */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.player-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.2rem 1rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 370px;
    max-width: 260px;
    margin: 0 auto;
}

.player-card .card-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: #f3f3f3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.player-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.player-card .card-info {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.98rem;
    width: 100%;
}

.player-card .card-info li {
    margin-bottom: 0.2rem;
    text-align: left;
}

/* RESET + BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
    background: #111;
    color: #f5f5f5;
    line-height: 1.55;
}

.container {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 40px;
}

h1,
h2,
h3 {
    margin-bottom: 12px;
}

h1 {
    text-align: center;
    font-size: 4rem;
    color: #ce1141;
    font-weight: 800;
    margin-bottom: 0;
}

/* HEADER */
.site-header {
    background: #ce1141;
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.site-header .logo img {
    height: 34px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.primary-nav a {
    color: #fff;
    font-weight: 700;
}

.primary-nav a:hover {
    text-decoration: underline;
}

/* Cart counter */
.cart-counter {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
    user-select: none;
}

.cart-counter:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Menu hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* HERO */
#home-hero {
    margin-bottom: 40px;
}

/* NOTICIAS */
.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

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

.news-card {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 14px;
    padding: 14px;
}

.news-card h3 {
    margin-bottom: 6px;
}

/* PROXIMO PARTIDO */
.next-game-card {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.next-game-card .teams {
    display: flex;
    align-items: center;
    gap: 18px;
}

.next-game-card .team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.next-game-card .badge {
    background: #ce1141;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 1.1rem;
}

.next-game-card .badge.alt {
    background: #6c6d7e;
}

.next-game-card .vs {
    font-weight: 700;
    color: #fff;
    margin: 0 10px;
}

.next-game-card .meta {
    min-width: 180px;
}

.next-game-card .date {
    font-weight: 700;
    font-size: 1.1rem;
}

.next-game-card .venue {
    color: #ccc;
    font-size: 1rem;
}

.next-game-card .btn {
    margin-left: auto;
}

/* BOTONERA */
.actions-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.btn.primary {
    background: #ce1141;
    color: #fff;
    border-radius: 14px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 1.15rem;
    border: none;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
    transition: filter 0.2s;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.btn.primary:hover {
    filter: brightness(1.08);
}

/* SPONSORS */
.sponsors {
    margin: 40px 0;
}

.sponsors h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
    margin-top: 0;
}

.sponsor {
    border: 1px solid #262626;
    border-radius: 18px;
    padding: 20px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 17, 65, 0.15);
}

.sponsor img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.2s ease;
}

.sponsor:hover img {
    filter: grayscale(0);
}

/* Responsive sponsors */
@media (max-width: 768px) {
    /* Título responsive para tablets */
    h1 {
        font-size: 3.5rem;
    }

    /* Header para tablets */
    .site-header {
        padding: 14px 20px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }

    .sponsor {
        height: 120px;
        padding: 15px;
    }

    /* Botones en tablets */
    .actions-row {
        flex-direction: column;
        gap: 20px;
        max-width: 280px;
    }

    .btn.primary {
        width: 100%;
    }

    /* Roster responsive en tablets */
    .roster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .card {
        max-width: 100%;
        padding: 16px;
    }

    .card-img {
        width: 100px;
        height: 100px;
    }

    .card-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    /* Título para móviles pequeños */
    h1 {
        font-size: 2.5rem;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sponsor {
        height: 100px;
        padding: 12px;
    }

    /* Botones en móviles pequeños */
    .actions-row {
        flex-direction: column;
        gap: 16px;
        max-width: 240px;
        padding: 0 10px;
    }

    .btn.primary {
        padding: 10px 16px;
        font-size: 0.9rem;
        font-weight: 600;
        width: 100%;
    }

    /* Roster responsive en móviles pequeños */
    .roster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .card {
        max-width: 100%;
        padding: 12px;
    }

    .card-img {
        width: 70px;
        height: 70px;
        margin-bottom: 8px;
    }

    .card-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .card-info li {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }
}

/* FOOTER */
.site-footer.wireframe {
    background: #ce1141;
    color: #fff;
    width: 100%;
}

.site-footer.wireframe .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-logo {
    height: 44px;
    width: auto;
    display: block;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-right a {
    color: #fff;
    font-weight: 700;
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer-right .dot {
    opacity: 0.7;
}

/* Responsive: redes centradas solo en mobile */
@media (max-width: 640px) {
    .site-footer.wireframe .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

    /* Botones responsive */
    .actions-row {
        flex-direction: column;
        gap: 18px;
        max-width: 260px;
        padding: 0 15px;
    }

    .btn.primary {
        padding: 10px 16px;
        font-size: 0.95rem;
        width: 100%;
    }

    /* Roster responsive en móviles medianos */
    .roster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .card {
        max-width: 100%;
        padding: 14px;
    }

    .card-img {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    .card-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .card-info li {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
}

/* ==========================
   ROSTER (tabla + filtros)
   ========================== */
.roster-legend {
    color: #d0d0d0;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.roster-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.roster-filters label {
    color: #d7d7d7;
}

.roster-filters select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
    background: #141414;
    color: #f5f5f5;
}

.tabla-roster th,
.tabla-roster td {
    white-space: nowrap;
}

.tabla-roster thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.tabla-roster tbody tr:nth-child(even) {
    background: #181818;
}

.tabla-roster td:focus-within,
.tabla-roster th:focus-within {
    outline: 2px solid #ce1141;
    outline-offset: -2px;
}

@media (max-width: 640px) {
    .roster-filters {
        flex-wrap: wrap;
    }
}

/* ROSTER CARDS */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.card {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 18px;
    color: #f5f5f5;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 14px;
    background: #fff;
    border: 2px solid #ce1141;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #ce1141;
}

.card-info {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.card-info li {
    font-size: 1rem;
    margin-bottom: 6px;
    text-align: left;
}

/* ==========================
   CALENDARIO – Lista y filtros
   ========================== */
.cal-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cal-filters label {
    color: #d7d7d7;
}

.cal-filters select,
.cal-filters input[type="search"] {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
    background: #141414;
    color: #f5f5f5;
}

.cal-count {
    color: #cfcfcf;
    margin-bottom: 8px;
}

.games-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.game-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 12px 14px;
}

.game-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.game-date {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #191919;
    border: 1px solid #262626;
    text-align: center;
    line-height: 1;
}

.game-date .day {
    display: block;
    font-weight: 800;
    font-size: 18px;
}

.game-date .mon {
    display: block;
    font-size: 12px;
    color: #cfcfcf;
}

.game-vs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.game-vs .opp {
    font-weight: 700;
}

.game-vs .meta {
    color: #cfcfcf;
    font-size: 0.95rem;
}

.game-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row-reverse;
}

.game-right .time {
    color: #ddd;
}

.game-right .time::before {
    content: "- ";
    color: #999;
}

.cal-empty {
    color: #cfcfcf;
    margin-top: 8px;
}

@media (max-width: 640px) {
    .cal-filters {
        flex-wrap: wrap;
    }

    .game-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        align-items: start;
        gap: 8px;
        padding: 10px 8px;
    }

    .game-left {
        grid-row: 1;
    }

    .game-right {
        grid-row: 2;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        padding-top: 8px;
        border-top: 1px solid #333;
        font-size: 0.85rem;
        gap: 8px;
        flex-direction: row;
    }

    .game-right .meta {
        text-align: left;
    }

    .game-right .meta::before {
        content: "- ";
        color: #999;
    }

    .game-right .time::before {
        content: none;
    }
}

.game-vs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.team-names {
    display: block;
    margin-left: 0;
    font-size: 0.98rem;
    color: #ccc;
    font-weight: 400;
    margin-bottom: 2px;
}

/* ==========================
   HISTORIA – Sub-landing
   ========================== */
.historia .page-header {
    margin-bottom: 16px;
}

.historia .lead {
    color: #d0d0d0;
}

/* Timeline */
.timeline {
    margin-top: 10px;
}

.timeline h2 {
    margin-bottom: 12px;
}

.t-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.t-year {
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #191919;
    border: 1px solid #262626;
    border-radius: 10px;
}

.t-card h3 {
    margin-bottom: 6px;
}

.t-card p {
    color: #d2d2d2;
}

/* Figuras */
.figuras {
    margin-top: 24px;
}

.figuras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fig-card {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 12px;
    overflow: hidden;
}

.fig-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: #222;
    border-radius: 50%;
    margin: 18px auto 10px auto;
}

.fig-card figcaption {
    padding: 12px;
}

.fig-card h3 {
    margin-bottom: 6px;
    color: #ce1141;
    font-weight: 700;
}

.fig-card p {
    color: #d2d2d2;
}

/* Trophies */
.trophies {
    margin-top: 24px;
}

.trophies-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 12px 0;
}

.trophy {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-num {
    font-size: 28px;
    font-weight: 800;
}

.t-label {
    color: #d0d0d0;
}


/* Quote */
.quote {
    margin-top: 24px;
    background: linear-gradient(135deg, #1b1b1b, #24161a);
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 18px;
}

.quote blockquote {
    margin: 0;
}

.quote p {
    font-size: 1.1rem;
}

.quote footer {
    color: #cfcfcf;
    margin-top: 6px;
}

/* FAQ (sin JS) */
.faq {
    margin-top: 24px;
}

.faq-item {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-item p {
    margin-top: 8px;
    color: #d2d2d2;
}

/* Sub-nav */


/* Responsive */
@media (max-width: 980px) {
    .figuras-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .t-item {
        grid-template-columns: 1fr;
    }

    .figuras-grid {
        grid-template-columns: 1fr;
    }

    .trophies-list {
        grid-template-columns: 1fr;
    }

}

/* ==========================
   NOSOTROS — estética mejorada
   ========================== */
.nosotros .n-head {
    text-align: center;
    margin-bottom: 18px;
}

.nosotros .lead {
    max-width: 900px; /* ancho controlado */
    margin: 8px auto 0; /* centrado dentro del contenedor */
    color: #d0d0d0;
    text-align: left; /* alineación izquierda */
    padding: 0 12px; /* mismo espacio en izq/der */
}

/* Paneles suaves */
.nosotros .panel {
    background: #151515;
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 18px 24px; /* padding simétrico izquierda/derecha */
    margin: 20px auto;
    max-width: 1000px; /* ancho máximo consistente */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Títulos con subrayado acento */
.nosotros .section-title {
    text-align: center; /* títulos centrados */
    position: relative;
    margin-bottom: 14px;
}

/* Párrafos más legibles */
.nosotros .text,
.nosotros p {
    color: #d6d6d6;
    max-width: 900px;
    margin: 0 auto 16px;
    text-align: left; /* todos los textos alineados izq */
    padding: 0 12px; /* simetría en márgenes laterales */
}

/* Imagen destacada */
.nosotros .hero-figure {
    margin: 16px auto 0;
    max-width: 560px;
}

.nosotros .hero-figure img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease;
}

.nosotros .hero-figure img:hover {
    transform: scale(1.015);
}

.nosotros .hero-figure figcaption {
    color: #bdbdbd;
    font-size: 0.95rem;
    margin-top: 6px;
    text-align: left; /* caption alineado izq */
    padding: 0 12px;
}

/* Galería 3 columnas */
.nosotros .gallery-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.nosotros .foto-card {
    background: #1a1a1a;
    border: 1px solid #2b2b2b;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nosotros .foto-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.nosotros .foto-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.nosotros .foto-card figcaption {
    padding: 10px 12px;
    color: #d2d2d2;
    font-size: 0.95rem;
    text-align: left; /* captions alineados izq */
}

/* Responsive */
@media (max-width: 980px) {
    .nosotros .gallery-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nosotros .panel {
        padding: 14px;
    }

    .nosotros .gallery-3 {
        grid-template-columns: 1fr;
    }

    .nosotros .hero-figure {
        max-width: 100%;
    }
}

/* ==========================
   SHOP – según wireframe
   ========================== */
.shop-page h1 {
    text-align: center;
    margin-bottom: 10px;
}


/* Barra de filtros */
.shop-filters {
    display: grid;
    grid-template-columns: 1fr repeat(4, max-content);
    gap: 10px;
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 12px;
    margin: 0 auto 18px;
}

.shop-filters input[type="search"],
.shop-filters select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #2d2d2d;
    background: #141414;
    color: #f5f5f5;
}

.shop-filters input[type="search"] {
    min-width: 200px;
}

/* Grilla de productos */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.prod-card {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 12px;
}

.prod-img {
    height: 160px;
    border-radius: 10px;
    background: linear-gradient(135deg, #242424, #333);
    margin-bottom: 10px;
}

.prod-title {
    margin-bottom: 6px;
}

.prod-desc {
    color: #d2d2d2;
    margin-bottom: 10px;
}

.prod-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.prod-price {
    font-weight: 800;
}

/* Responsive */
@media (max-width: 980px) {
    .shop-filters {
        grid-template-columns: 1fr 1fr;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .shop-filters {
        grid-template-columns: 1fr;
    }

    .shop-filters input[type="search"] {
        min-width: 0;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================
   CARRITO LATERAL
   ========================== */
.cart-counter {
    background: #fff;
    color: #ce1141;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: #1b1b1b;
    border-left: 1px solid #262626;
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    background: #ce1141;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cart-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-content {
    flex: 1;
    padding: 20px 20px 0 20px;
    overflow-y: auto;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #262626;
    background: #1b1b1b;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #262626;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-left {
    flex: 1;
}

.item-name {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-price {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
}

.item-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #262626;
    border-radius: 6px;
    padding: 4px;
}

.qty-btn {
    background: #ce1141;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    filter: brightness(1.1);
}

.quantity {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    background: #ce1141;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-weight: bold;
}

.remove-btn:hover {
    filter: brightness(1.1);
}

.cart-total {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #ce1141;
    padding: 12px;
    background: #262626;
    border-radius: 8px;
}

.cart-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.cart-actions .btn {
    flex: 1;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    min-height: 52px;
    border-radius: 8px;
    transition: all 0.2s;
}

.cart-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(206, 17, 65, 0.3);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}


@media (max-width: 640px) {
    .cart-sidebar {
        width: 350px;
        max-width: 90vw;
    }

    .cart-actions {
        flex-direction: column;
        gap: 12px;
    }

    .cart-actions .btn {
        padding: 18px;
        font-size: 1.2rem;
        min-height: 56px;
    }
}

/* ==========================
   CHECKOUT PAGE
   ========================== */
.checkout-page h1 {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.checkout-form {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: #ce1141;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #f5f5f5;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #262626;
    border-radius: 8px;
    background: #111;
    color: #f5f5f5;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #ce1141;
    box-shadow: 0 0 0 2px rgba(206, 17, 65, 0.2);
}

.checkout-summary-section {
    align-self: start;
}

.checkout-summary {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    color: #ce1141;
    margin-bottom: 16px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #262626;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-total {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 20px;
    padding: 16px;
    background: #262626;
    border-radius: 8px;
    color: #ce1141;
}

.checkout-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.checkout-actions .btn {
    flex: 1;
    padding: 16px 24px;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn.secondary {
    background: #262626;
    color: #f5f5f5;
    border: 1px solid #404040;
}

.btn.secondary:hover {
    background: #404040;
}

.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-modal.open {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: #1b1b1b;
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 20px;
}

.success-content h2 {
    color: #ce1141;
    margin-bottom: 16px;
}

.success-content p {
    margin-bottom: 24px;
    color: #ccc;
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }
}

/* ===============================
   RESPONSIVE MEJORADO (básico)
   =============================== */

/* Tablets */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .primary-nav ul {
        gap: 20px;
    }

    .cart-sidebar {
        width: 320px;
    }

    .next-game-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 16px;
    }

    .next-game-card .teams {
        gap: 12px;
    }

    .next-game-card .meta {
        min-width: auto;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 3rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Header responsive */
    .site-header {
        position: relative;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .cart-counter {
        order: 2;
        margin-right: 10px;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ce1141;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .primary-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .primary-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .primary-nav li:last-child {
        border-bottom: none;
    }

    .primary-nav a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        transition: color 0.2s ease;
    }

    .primary-nav a:hover {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
    }

    /* Resto de estilos móvil */
    .next-game-card {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 16px;
        gap: 16px;
    }

    .next-game-card .teams {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .next-game-card .team {
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .next-game-card .badge {
        padding: 8px 12px;
        font-size: 1rem;
        min-width: 50px;
        text-align: center;
    }

    .next-game-card .vs {
        margin: 8px 0;
        font-size: 1.2rem;
        text-align: center;
        width: 100%;
    }

    .next-game-card .meta {
        min-width: auto;
        text-align: center;
    }

    .next-game-card .btn {
        margin: 0;
        align-self: center;
        padding: 12px 24px;
    }

    .shop-filters {
        flex-direction: column;
        gap: 12px;
    }
}