:root {
    --azul-oscuro: #0b1d3a;
    --azul-cielo: #38b6ff;
    --azul-hover: #2da1e6;
    --blanco: #ffffff;
    --fondo-beige: #f2ede4;
    --texto-oscuro: #111827;
    --gris-suave: #e6dfd1;
    --borde-tarjeta: #d5ccbc;
    --sombra-elegante: 0 10px 30px -10px rgba(11, 29, 58, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
}

body {
    background-color: var(--fondo-beige);
    color: var(--texto-oscuro);
    overflow-x: hidden;
    position: relative;
}

/* MARCA DE AGUA DE FONDO ANIMADA */
.watermark-background {
    position: fixed;
    top: 0; left: 0; width: 200%; height: 100%;
    z-index: -1;
    pointer-events: none;
    display: flex;
    align-items: center;
    opacity: 0.04;
    font-family: 'Montserrat', sans-serif;
    font-size: 8rem;
    font-weight: 900;
    white-space: nowrap;
    animation: moveWatermark 40s linear infinite;
    color: var(--azul-oscuro);
}

@keyframes moveWatermark {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* TOP BAR */
.top-bar {
    background-color: var(--azul-oscuro);
    color: var(--blanco);
    overflow: hidden;
    height: 35px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-bottom: 1px solid rgba(56, 182, 255, 0.2);
}

.top-bar-track {
    display: inline-block;
    animation: scrollHorizontal 25s linear infinite;
    font-size: 0.8rem;
    font-weight: 700;
}

@keyframes scrollHorizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* HEADER */
.main-header {
    background-color: var(--blanco);
    border-bottom: 2px solid var(--borde-tarjeta);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    width: 100%;
}

.header-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    gap: 20px;
}

@media(max-width: 768px) {
    .header-container { padding: 12px 15px; flex-wrap: wrap; }
    .nav-menu { display: none; }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--azul-oscuro);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--azul-cielo);
    box-shadow: 0 4px 10px rgba(56, 182, 255, 0.3);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--azul-oscuro);
    letter-spacing: 1px;
    line-height: 1;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--azul-cielo);
    letter-spacing: 2px;
    margin-top: 2px;
}

.search-box-container {
    position: relative;
    flex: 1;
    max-width: 320px;
}

.search-box-container input {
    width: 100%;
    padding: 9px 15px 9px 38px;
    border-radius: 22px;
    border: 1px solid var(--borde-tarjeta);
    background: var(--gris-suave);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-box-container input:focus {
    border-color: var(--azul-cielo);
}

.search-box-container i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--texto-oscuro);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--azul-cielo);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--blanco);
    min-width: 190px;
    box-shadow: var(--sombra-elegante);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    border: 1px solid var(--borde-tarjeta);
    max-height: 250px;
    overflow-y: auto;
    z-index: 10;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content a {
    padding: 9px 18px;
    color: var(--texto-oscuro);
    font-size: 0.88rem;
    font-weight: 600;
}

.dropdown-content a:hover {
    background-color: var(--gris-suave);
    color: var(--azul-cielo);
}

.cart-btn {
    background: var(--azul-oscuro);
    color: var(--blanco);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.cart-btn:hover {
    transform: scale(1.08);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* QUALITY BANNER */
.quality-banner {
    background: linear-gradient(90deg, #0b1d3a, #1e3a8a, #38b6ff);
    color: white;
    text-align: center;
    padding: 8px 20px;
    font-size: 0.85rem;
}

.quality-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.badge-quality {
    background: var(--azul-cielo);
    color: var(--azul-oscuro);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 0.75rem;
}

.btn-size-guide {
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    color: white;
    padding: 4px 14px;
    border-radius: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-size-guide:hover {
    background: white;
    color: var(--azul-oscuro);
}

/* BANNERS */
.hero-slider {
    position: relative;
    background-color: var(--azul-oscuro);
    color: var(--blanco);
    height: 320px;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(11, 29, 58, 0.92) 0%, rgba(11, 29, 58, 0.35) 100%);
}

.hero-container-inner {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    width: 100%;
    padding: 0 60px;
}

.hero-text-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: white;
}

.hero-text-content p {
    font-size: 1.05rem;
    margin-bottom: 18px;
    color: #e2e8f0;
}

.btn-hero {
    background-color: var(--azul-cielo);
    color: var(--azul-oscuro);
    padding: 10px 26px;
    border-radius: 30px;
    font-weight: 800;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: none;
    cursor: pointer;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev-btn { left: 25px; }
.next-btn { right: 25px; }

/* CATÁLOGO */
.catalog-section {
    max-width: 1450px;
    margin: 50px auto;
    padding: 0 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--azul-oscuro);
    font-size: 2.2rem;
    font-weight: 900;
}

.section-title p {
    color: #4b5563;
    font-size: 1rem;
    margin-top: 5px;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--blanco);
    border: 1px solid var(--borde-tarjeta);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    color: var(--texto-oscuro);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.2s;
}

.tab-nuevo.active, .tab-nuevo:hover { background-color: #10b981 !important; color: white !important; border-color: #10b981 !important; }
.tab-mas-vendido.active, .tab-mas-vendido:hover { background-color: #f59e0b !important; color: white !important; border-color: #f59e0b !important; }
.tab-deportivo.active, .tab-deportivo:hover { background-color: #3b82f6 !important; color: white !important; border-color: #3b82f6 !important; }
.tab-urbano.active, .tab-urbano:hover { background-color: #8b5cf6 !important; color: white !important; border-color: #8b5cf6 !important; }

.tab-btn:hover, .tab-btn.active {
    transform: translateY(-2px);
}

.products-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media(max-width: 1200px) {
    .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 600px) {
    .products-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 5px; }
}

.product-card {
    background: var(--blanco);
    border-radius: 18px;
    border: 2px solid var(--borde-tarjeta);
    padding: 18px;
    box-shadow: var(--sombra-elegante);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--azul-cielo);
}

/* CINTA DIAGONAL DE AGOTADO PARA TODO EL PRODUCTO */
.card-agotado-banner {
    position: absolute;
    top: 25px;
    right: -35px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 5;
}
.badge-nuevo { background: #10b981; color: white; }
.badge-mas-vendido { background: #f59e0b; color: white; }
.badge-deportivo { background: #3b82f6; color: white; }
.badge-urbano { background: #8b5cf6; color: white; }

.product-image-box {
    width: 100%;
    height: 195px;
    background-color: #f9fafb;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-image-box:hover img {
    transform: scale(1.08);
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--azul-cielo);
    text-transform: uppercase;
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--azul-oscuro);
    margin: 4px 0 12px 0;
}

.card-selectors-box {
    background: var(--gris-suave);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid #d5ccbc;
}

.card-selector-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--azul-oscuro);
    margin-bottom: 5px;
    display: block;
}

.card-sizes-row {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.card-size-pill {
    padding: 4px 8px;
    font-size: 0.72rem;
    background: white;
    border: 1px solid var(--borde-tarjeta);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.card-size-pill:hover, .card-size-pill.selected {
    background: var(--azul-oscuro);
    color: white;
    border-color: var(--azul-oscuro);
}

/* ESTILO PARA TALLA AGOTADA EN ROJO Y TACHADA */
.card-size-pill.agotada {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border-color: #fca5a5 !important;
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.8;
}

.card-colors-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.card-color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
}

.card-color-dot:hover, .card-color-dot.selected {
    border-color: var(--azul-oscuro);
    transform: scale(1.2);
}

.price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--azul-oscuro);
}

.old-price {
    font-size: 0.9rem;
    color: #ef4444;
    text-decoration: line-through;
    font-weight: 700;
}

.btn-buy {
    width: 100%;
    background-color: var(--azul-oscuro);
    color: var(--blanco);
    border: none;
    padding: 11px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-buy:hover {
    background-color: var(--azul-cielo);
    color: var(--azul-oscuro);
}

.btn-buy:disabled, .btn-buy.agotado {
    background: #9ca3af !important;
    cursor: not-allowed;
    color: white !important;
}

.view-more-container {
    text-align: center;
    margin-top: 45px;
}

.btn-view-more {
    background: var(--azul-oscuro);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(11,29,58,0.2);
    transition: transform 0.2s;
}

.btn-view-more:hover {
    transform: scale(1.05);
}

/* BANNER PROMOCIONAL */
.bottom-catalog-promo-card {
    background: linear-gradient(135deg, #0b1d3a, #1a365d);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-top: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 12px 30px rgba(11,29,58,0.2);
    border: 2px solid var(--azul-cielo);
}

.promo-icon {
    font-size: 2.5rem;
    background: rgba(56, 182, 255, 0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--azul-cielo);
    margin-bottom: 6px;
}

.promo-text p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
}

.btn-promo-wa {
    background: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
    transition: transform 0.2s;
}

.btn-promo-wa:hover {
    transform: scale(1.05);
}

/* SECCIÓN CONFIANZA */
.trust-section {
    max-width: 1100px;
    margin: 60px auto 20px auto;
    padding: 0 20px;
}

.trust-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--azul-oscuro);
    margin-bottom: 25px;
}

.trust-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trust-card {
    background: white;
    border: 1px solid var(--borde-tarjeta);
    border-radius: 12px;
    padding: 18px 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: border-color 0.2s;
}

.trust-card:hover {
    border-color: var(--azul-cielo);
}

.trust-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--azul-oscuro);
    font-size: 1.05rem;
}

.trust-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.6;
}

.trust-card.active .trust-body {
    max-height: 150px;
    margin-top: 12px;
}

.trust-card.active i {
    transform: rotate(180deg);
}

/* VISTAS INTERNAS */
.main-view {
    max-width: 1050px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-content-box-styled {
    background: var(--fondo-beige);
    padding: 20px 0;
}

.about-hero-banner, .reviews-header-banner {
    background: linear-gradient(135deg, #0b1d3a, #1e3a8a);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 35px;
    box-shadow: var(--sombra-elegante);
    border: 2px solid var(--azul-cielo);
}

.about-badge, .reviews-badge {
    background: var(--azul-cielo);
    color: var(--azul-oscuro);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 12px;
}

.about-hero-banner h2, .reviews-header-banner h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: white;
}

.about-tagline, .reviews-header-banner p {
    font-size: 1rem;
    color: #cbd5e1;
}

.about-story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.story-card {
    background: white;
    padding: 30px 25px;
    border-radius: 18px;
    border: 2px solid var(--borde-tarjeta);
    box-shadow: var(--sombra-elegante);
    text-align: center;
}

.story-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.story-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--azul-oscuro);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.story-card p {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* SECCIÓN DE HISTORIAS / VIDEOS DIRECTOS EN TAMAÑO FIJO TIPO REEL */
.stories-section-container {
    margin: 45px 0 35px 0;
}

.stories-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stories-section-title .red-dot {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
}

.stories-section-title h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--azul-oscuro);
}

.stories-slider-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-behavior: smooth;
}

.story-item-card {
    min-width: 150px;
    max-width: 150px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 2px solid var(--borde-tarjeta);
    flex-shrink: 0;
    background: #000;
}

.story-item-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 12px 8px 6px 8px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 5;
}

.about-values-strip {
    background: white;
    border: 2px solid var(--borde-tarjeta);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    font-weight: 800;
    color: var(--azul-oscuro);
    font-size: 0.9rem;
}

.value-item i {
    color: var(--azul-cielo);
    margin-right: 8px;
}

/* RESEÑAS */
.review-form-box {
    background: white;
    padding: 30px;
    border-radius: 18px;
    border: 2px solid var(--borde-tarjeta);
    margin-bottom: 35px;
    box-shadow: var(--sombra-elegante);
}

.review-form-box h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--azul-oscuro);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

@media(max-width: 600px) {
    .form-row { flex-direction: column; }
}

.review-form-box input, .review-form-box textarea, .review-form-box select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--borde-tarjeta);
    background: var(--gris-suave);
    font-size: 0.9rem;
    outline: none;
    color: var(--texto-oscuro);
}

.review-form-box textarea {
    height: 100px;
    resize: none;
    margin-bottom: 15px;
}

.rating-select-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--azul-oscuro);
}

.btn-publish-review {
    background: var(--azul-oscuro);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-publish-review:hover {
    background: var(--azul-cielo);
    color: var(--azul-oscuro);
}

.reviews-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.user-review-card {
    background: white;
    border: 2px solid var(--borde-tarjeta);
    padding: 24px;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--sombra-elegante);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    background: var(--azul-oscuro);
    color: var(--azul-cielo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    border: 2px solid var(--azul-cielo);
}

.reviewer-info h5 {
    color: var(--azul-oscuro);
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
}

.reviewer-info span {
    font-size: 0.75rem;
    color: #6b7280;
}

.user-review-card .stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.user-review-card p {
    font-size: 0.9rem;
    color: #4b5563;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

.btn-delete-review {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.9rem;
}

/* FOOTER */
.main-footer {
    background-color: var(--azul-oscuro);
    color: var(--blanco);
    padding: 50px 20px 20px 20px;
    border-top: 3px solid var(--azul-cielo);
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--azul-cielo);
}

.footer-col p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 8px;
}

.footer-phones-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.footer-phones-list a {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.footer-phones-list a:hover {
    color: var(--azul-cielo);
}

.social-links-box {
    display: flex;
    gap: 15px;
    margin-top: 12px;
}

.social-icon {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* WHATSAPP FLOTANTE */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.whatsapp-tooltip {
    background: white;
    color: var(--azul-oscuro);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid var(--borde-tarjeta);
}

.whatsapp-float {
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* MODALES */
.custom-modal-overlay, .size-guide-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.65);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.custom-modal-overlay.open, .size-guide-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.custom-modal-content {
    background: white;
    width: 90%;
    max-width: 950px;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    border: 2px solid var(--borde-tarjeta);
}

.close-modal-btn, .close-guide {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

@media(max-width: 768px) {
    .product-detail-grid { grid-template-columns: 1fr; }
}

.product-gallery-viewer {
    position: relative;
    width: 100%;
    height: 360px;
    background: #f9fafb;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--borde-tarjeta);
}

.product-gallery-viewer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav-btns {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
}

.gallery-nav-btns button {
    pointer-events: auto;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.size-guide-content {
    background: white;
    padding: 35px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 2px solid var(--borde-tarjeta);
}

.size-guide-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--borde-tarjeta);
}

/* CARRITO LATERAL */
.cart-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #ffffff !important;
    color: #111827 !important;
    z-index: 3000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 2px solid var(--borde-tarjeta);
    opacity: 1 !important;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    background: var(--azul-oscuro);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.cart-drawer-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--azul-cielo);
}

.close-drawer {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #ffffff !important;
}

.empty-cart-container {
    text-align: center;
    color: #6b7280;
    margin-top: 60px;
}

.empty-cart-container i {
    font-size: 3.5rem;
    color: var(--azul-cielo);
    margin-bottom: 15px;
}

.empty-cart-container p {
    font-weight: 800;
    color: var(--azul-oscuro);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.cart-drawer-footer {
    padding: 20px;
    background: #ffffff !important;
    border-top: 1px solid var(--borde-tarjeta);
    max-height: 70vh;
    overflow-y: auto;
    flex-shrink: 0;
}

.checkout-form input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #d5ccbc !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    font-size: 0.9rem;
    outline: none;
    opacity: 1 !important;
}

.checkout-form input:focus {
    border-color: var(--azul-cielo) !important;
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.15);
}

.checkout-form input::placeholder {
    color: #9ca3af !important;
}

/* SELECTOR VISUAL DE MÉTODOS DE PAGO CON LOGOS */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.payment-option {
    background: #ffffff;
    border: 1px solid var(--borde-tarjeta);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}

.payment-option span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--azul-oscuro);
}

.payment-option:hover {
    border-color: var(--azul-cielo);
}

.payment-option.selected {
    border-color: var(--azul-oscuro);
    background: #f0f7ff;
    box-shadow: 0 0 0 2px rgba(11, 29, 58, 0.1);
}

/* UPSELL: COMPLETA TU COMPRA */
.cart-upsell-container {
    margin-bottom: 20px;
}

.cart-upsell-container h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--azul-oscuro);
    margin-bottom: 10px;
}

.upsell-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.upsell-card {
    background: #ffffff;
    border: 1px solid var(--borde-tarjeta);
    border-radius: 12px;
    padding: 10px;
    min-width: 170px;
    max-width: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.upsell-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
}

.upsell-card h5 {
    font-size: 0.8rem;
    color: var(--azul-oscuro);
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.upsell-card span {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--texto-oscuro);
    margin-bottom: 6px;
    display: block;
}

.btn-upsell-add {
    background: var(--azul-oscuro);
    color: white;
    border: none;
    padding: 6px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-upsell-add:hover {
    background: var(--azul-cielo);
    color: var(--azul-oscuro);
}

/* RESUMEN DE COMPRA */
.cart-summary-box {
    background: #f9fafb;
    border: 1px solid var(--borde-tarjeta);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #4b5563;
}

.summary-row.total-row {
    border-top: 1px solid var(--borde-tarjeta);
    padding-top: 8px;
    margin-top: 8px;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--azul-oscuro);
}

.text-green { color: #10b981; font-weight: 800; }
.text-red { color: #ef4444; font-weight: 800; }

.btn-checkout-wa {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
    margin-top: 5px;
}

/* ANIMACIÓN DE VUELO HACIA EL CARRITO */
.flying-product-clone {
    position: fixed;
    z-index: 9999;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--azul-cielo);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
/* ===================================================
   VISTA MÓVIL OPTIMIZADA Y PROFESIONAL (ZAPATIKA STORE)
   =================================================== */

@media (max-width: 768px) {
    /* Prevención global de desborde horizontal */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ENCABEZADO */
    .main-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        padding: 8px 10px !important;
        background: #ffffff !important;
    }

    .header-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .logo-and-cart-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .logo-circle {
        width: 38px !important;
        height: 38px !important;
    }

    .brand-name {
        font-size: 1rem !important;
    }

    .search-box-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .search-box-container input {
        width: 100% !important;
        padding: 7px 10px 7px 32px !important;
        font-size: 0.82rem !important;
        border-radius: 20px !important;
    }

    /* MENÚ DE NAVEGACIÓN EN SLIDER HORIZONTAL */
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        gap: 16px !important;
        padding: 6px 2px !important;
        border-top: 1px solid var(--borde-tarjeta);
        -webkit-overflow-scrolling: touch !important;
    }

    .nav-menu::-webkit-scrollbar {
        display: none !important;
    }

    .nav-link {
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        flex-shrink: 0 !important;
    }

    /* CATÁLOGO DE PRODUCTOS */
    .catalog-section {
        padding: 0 10px !important;
        margin: 20px auto !important;
        width: 100% !important;
    }

    .products-grid-4 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .product-card {
        padding: 10px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    .product-image-box {
        height: 130px !important;
        margin-bottom: 6px !important;
    }

    .product-title {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
        height: 2.5em !important;
        margin: 4px 0 6px 0 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }

    .card-sizes-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 4px !important;
        padding-bottom: 4px !important;
    }

    .card-size-pill {
        padding: 3px 6px !important;
        font-size: 0.65rem !important;
        flex-shrink: 0 !important;
    }

    /* MODAL DE DETALLE DE PRODUCTO CORREGIDO */
    .custom-modal-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.75) !important;
        z-index: 99999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px !important;
        overflow-y: auto !important;
    }

    .custom-modal-content {
        position: relative !important;
        width: 100% !important;
        max-width: 450px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        border-radius: 20px !important;
        padding: 20px 16px 24px 16px !important;
        box-sizing: border-box !important;
        margin: auto !important;
        box-shadow: 0 12px 35px rgba(0,0,0,0.4) !important;
    }

    /* BOTÓN "X" VISIBLE, FIJO Y DESTACADO */
    .close-modal-btn {
        position: sticky !important;
        top: 0 !important;
        float: right !important;
        z-index: 100 !important;
        background: #111827 !important;
        color: #ffffff !important;
        border: 2px solid #ffffff !important;
        border-radius: 50% !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1.1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
        margin-bottom: -34px !important;
    }

    .product-detail-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        clear: both !important;
        padding-top: 10px !important;
    }

    .product-gallery-viewer {
        height: 200px !important;
        width: 100% !important;
        border-radius: 12px !important;
    }

    .product-detail-info h2 {
        font-size: 1.1rem !important;
        margin: 6px 0 !important;
    }

    .product-desc-full {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
        color: #4b5563 !important;
        margin-bottom: 10px !important;
    }

    /* BOTÓN AÑADIR AL CARRITO VISIBLE EN EL MODAL */
    .product-detail-info .btn-buy {
        width: 100% !important;
        padding: 12px !important;
        font-size: 0.9rem !important;
        margin-top: 12px !important;
        background: var(--azul-oscuro) !important;
        color: #ffffff !important;
        border-radius: 12px !important;
        display: block !important;
    }

    /* BANNER PROMOCIONAL Y WHATSAPP FLOTANTE */
    .bottom-catalog-promo-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 18px 14px !important;
        margin: 25px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .btn-promo-wa {
        width: 100% !important;
        max-width: 260px !important;
        justify-content: center !important;
    }

    .whatsapp-float-container {
        bottom: 16px !important;
        right: 14px !important;
        z-index: 9999 !important;
    }

    .whatsapp-float {
        width: 48px !important;
        height: 48px !important;
        font-size: 24px !important;
    }

    .whatsapp-tooltip {
        display: none !important;
    }
}
/* ===================================================
   CORRECCIÓN Y ANIMACIÓN DE OFERTAS EN TARJETAS
   ================================================   */

.product-card .price-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-bottom: 14px !important;
}

.price-row-top {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

.current-price {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    color: var(--azul-oscuro) !important;
}

.old-price {
    font-size: 0.8rem !important;
    color: #ef4444 !important;
    text-decoration: line-through !important;
    font-weight: 700 !important;
}

/* Etiqueta animada en movimiento / pulso para la oferta */
.badge-oferta-animada {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white !important;
    font-size: 0.6rem !important;
    font-weight: 900 !important;
    padding: 2px 6px !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    animation: pulsoOferta 1s infinite ease-in-out !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5) !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

@keyframes pulsoOferta {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}
/* ===================================================
   ESTILOS URBANO GRAFFITI, ANIMACIONES Y FONDO BEIGE
   ================================================   */

/* 1. Importar fuente estilo Graffiti moderna (Permanent Marker) */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

/* 2. Fondo beige elegante y con textura sutil */
body {
    background-color: #f4efe6 !important;
    background-image: radial-gradient(#e5dbc8 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
}

/* 3. Subtítulo con fuente de GRAFITI y efecto brillante */
#subtituloCatalogo {
    font-family: 'Permanent Marker', cursive !important;
    font-size: 1.35rem !important;
    color: #0b1d3a !important;
    letter-spacing: 1.5px !important;
    margin-top: 8px !important;
    text-shadow: 2px 2px 0px #38b6ff, 4px 4px 0px rgba(11,29,58,0.15) !important;
    transform: rotate(-1deg);
    animation: flotarGraffiti 3s ease-in-out infinite alternate;
}

@keyframes flotarGraffiti {
    0% { transform: translateY(0) rotate(-1deg); }
    100% { transform: translateY(-4px) rotate(1deg); }
}

/* 4. Animaciones de entrada y movimiento para la página */
.product-card {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efecto de brillo y levitación suave al pasar el mouse por las tarjetas */
.product-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 15px 35px rgba(11, 29, 58, 0.18) !important;
    border-color: #38b6ff !important;
}

/* Animación fluida para los botones principales */
.btn-buy, .tab-btn, .btn-hero, .btn-view-more {
    transition: all 0.25s ease !important;
}

.btn-buy:hover, .btn-view-more:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(56, 182, 255, 0.35);
}