:root {
    --bg-color: #ffffff;
    --bg-secondary: #f5f5f5;
    --primary-color: #ffffff; 
    --accent-color: #F9FF20;  
    --primary-hover: #f4f4f4;
    --text-color: #111111;
    --text-muted: #666666;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    color-scheme: light;
}

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

body {
    background-color: var(--bg-color);
    background-image: var(--mesh-gradient);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .sport-font {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Navigation (Black Theme) --- */
nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 5%;
    background: #000000 !important;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    justify-self: start;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
}

.cart-icon {
    justify-self: end;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 2500;
    padding: 0.5rem;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--accent-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff !important; /* WHITE LOGO ON BLACK NAV */
    text-decoration: none;
}

.logo i {
    color: var(--accent-color); /* Yellow icon detail */
}

.nav-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #ffffff; /* WHITE LINKS ON BLACK NAV */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    color: #ffffff;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--accent-color);
    color: #000000;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/* --- Hero Section (Professional Upgrade) --- */
.pro-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding-top: 110px; /* Reduced to bring content closer to nav */
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.urgency-badge {
    display: inline-block;
    background: rgba(249, 255, 32, 0.1);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    border: 1px solid rgba(249, 255, 32, 0.3);
    animation: pulse-glow 2s infinite;
}

/* Button Base Upgrades */
.btn-primary {
    border: none;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    transition: var(--transition);
}

.checkout-btn {
    background: var(--primary-color) !important;
    color: #000 !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(249, 255, 32, 0.25);
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(249, 255, 32, 0.4);
    background: #e6ff00 !important;
}

.checkout-btn i {
    font-size: 1.4rem;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(249, 255, 32, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(249, 255, 32, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 255, 32, 0); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.size-select-pro:focus {
    outline: none;
    border-color: var(--accent-color) !important;
}

.shake {
    animation: shake 0.4s ease-in-out;
    border-color: #ff3e3e !important;
}

.size-chip:hover {
    border-color: var(--accent-color) !important;
    transform: scale(1.05);
}

.size-chip.active {
    background: var(--accent-color) !important;
    color: #000 !important;
    border-color: var(--accent-color) !important;
}

.hero-tagline.boxed {
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    color: #111111;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.pro-hero .elite-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 0.85;
    margin-bottom: 2rem;
    font-weight: 900;
    font-style: italic;
    color: var(--accent-color); /* Use accent yellow */
    text-transform: uppercase;
    text-shadow: none;
}

.pro-hero .elite-title span {
    color: #111111;
    display: block;
}

.hero-subtext {
    font-size: 1.25rem;
    color: #444444;
    margin-bottom: 0;
    max-width: 600px;
    line-height: 1.4;
}

.hero-actions-container {
    width: 100%;
    background: transparent; /* Removed yellow strip as requested */
    padding: 0;
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

/* --- Hero Actions Elite Redesign (FORCED VISIBILITY) --- */
.pro-hero .hero-btns .btn-primary.main-cta {
    padding: 1.5rem 4rem !important;
    background: #F9FF20 !important; /* FORCED NEON YELLOW */
    color: #000000 !important;
    font-size: 1.2rem !important;
    font-weight: 950 !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 40px rgba(249, 255, 32, 0.4) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none !important;
    transition: all 0.4s ease;
}

.pro-hero .hero-btns .btn-primary.main-cta:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(249, 255, 32, 0.6) !important;
    filter: brightness(1.1);
}

.pro-hero .hero-btns .btn-secondary.ghost-cta {
    padding: 1.5rem 4rem !important;
    background: #ffffff !important; /* FORCED SOLID WHITE */
    color: #000000 !important;
    font-size: 1.2rem !important;
    font-weight: 950 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none !important;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pro-hero .hero-btns .btn-secondary.ghost-cta:hover {
    background: #f0f0f0 !important;
    transform: translateY(-5px);
}

/* Primary Button Upgrade */
/* REMOVED DUPLICATE */

/* Secondary Button Upgrade */
/* REMOVED DUPLICATE */

.hero-social-proof {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.7;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-social-proof::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: rgba(0,0,0,0.1);
}


/* Responsive Overrides */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5rem;
    }
    .hero-text-side {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-social-proof::before {
        display: none;
    }
}

/* --- Identity Section (White Theme) --- */
.section-identity {
    padding: 12rem 10%;
    text-align: center;
    position: relative;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.identity-container {
    max-width: 1000px;
    margin: 0 auto;
    z-index: 5;
}

.identity-container h2 {
    font-size: 3.5rem;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #111111; /* DARK TITLE ON WHITE BG */
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.identity-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent-color); /* Yellow underline pops here! */
}

.identity-text {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #111111; /* DARK TEXT */
    font-weight: 400;
}

/* --- Categories Section (White Theme) --- */
.section-categories {
    background: #f5f5f5;
    border-top: 1px solid rgba(0,0,0,0.05);
    position: relative;
    padding: 8rem 10%;
}

.section-categories .section-title h2 {
    color: #111111; /* Dark title for contrast */
}

.section-categories .section-title h2 span {
    color: var(--accent-color); /* Neon yellow details */
}

/* --- Reusable Dark Footer (REVERTED TO WHITE) --- */
.dark-footer {
    padding: 5rem 5% !important;
    background: #111111 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    text-align: center;
    color: #888888 !important;
    font-size: 0.9rem;
}

.dark-footer p {
    margin-bottom: 10px;
}

.dark-footer a {
    color: var(--accent-color) !important;
    text-decoration: none;
    font-weight: 700;
}

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

/* --- Featured Section (White Theme) --- */
.section-featured {
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.section-featured .section-title h2 {
    color: #111111;
}

/* --- Categories --- */
.section {
    padding: 7rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

.section-title h2 span {
    color: var(--accent-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.category-card {
    height: 380px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    background: #111; /* Fondo oscuro por si falla la imagen */
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover img {
    transform: scale(1.1) rotate(1deg);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: white;
    backdrop-filter: blur(2px);
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient(transparent, rgba(249, 255, 32, 0.1) 20%, rgba(0,0,0,0.7));
}

.category-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* --- Whatsapp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.2);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.instagram-float {
    position: fixed;
    bottom: 95px;
    right: 25px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
    z-index: 2000;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.2);
}

.instagram-float:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

/* --- Admin Dashboard Redesign (Dark Mode) --- */
.admin-section {
    padding: 2rem;
    min-height: 100%;
}

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

.admin-section-header h2 {
    font-size: 2rem;
    color: #fff;
}

.product-cards-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-bottom: 30px;
}

@media (max-width: 1200px) {
    .product-cards-grid, .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Common Product Card Styles (Enhanced) */
.product-card, .admin-product-card {
    background: #ffffff; 
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 1.25rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-card:hover, .admin-product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px -10px rgba(249, 255, 32, 0.2);
    z-index: 10;
}

.product-img, .card-img-container {
    width: 100%;
    height: 190px; /* SHRUNK AS REQUESTED */
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05); /* TRANSPARENT AS REQUESTED */
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Section Dividers --- */
.section {
    padding: 8rem 10%;
    position: relative;
}

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    font-style: italic;
}

.product-img img, .card-img-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.15);
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge-featured, .badge-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #000;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.badge-urgency {
    background: #ff3e3e !important;
    color: #fff !important;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 62, 62, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 62, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 62, 62, 0); }
}

.card-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: block;
    letter-spacing: 1px;
}

.card-id {
    position: absolute;
    right: 1.2rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color); /* Visible on light backgrounds */
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

/* Specific overrides for dark sections where white text is needed */
.section-featured .card-title,
.section-categories .card-title,
.section-identity .card-title,
.admin-section .card-title {
    color: #111111 !important; /* DARK ON WHITE BG */
}

.section-featured .card-category {
    color: rgba(255,255,255,0.7);
}

.card-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 1.5rem;
    display: block;
}

.card-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-editor {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 0.8rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-editor:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.card-btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    transition: var(--transition);
}

.btn-star.active { background: var(--primary-color); color: #000; border-color: var(--primary-color); }
.btn-view:hover { color: #00d4ff; border-color: #00d4ff; }
.btn-delete:hover { color: #f56565; border-color: #f56565; }

.card-btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Buy Button (Premium Upgrade) --- */
.btn-buy {
    width: 100%;
    background: #F9FF20; /* NEON YELLOW */
    color: #000;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(249, 255, 32, 0.2);
}

.btn-buy:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 255, 32, 0.4);
}

.btn-buy:active {
    transform: translateY(1px);
    filter: brightness(0.9);
}

/* --- WhatsApp Sale Button --- */
.btn-whatsapp {
    width: 100%;
    margin: 0.8rem 0 0;
    background: transparent;
    color: #25d366;
    border: 1px solid #25d366;
    padding: 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:active {
    transform: translateY(1px);
}


/* --- Testimonials Grid --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.testimonial-card .stars {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-card cite {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Purchase Info --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
}

.info-item i {
    font-size: 3rem;
    color: #000000; /* Changed to Black for visibility */
    margin-bottom: 1.5rem;
    display: block;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 850px) {
    .testimonials-grid, .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pro-hero {
        text-align: center;
        padding: 0 5%;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-bg-overlay {
        background: #000000; /* Solid black for Elite theme */
    }
    
    .identity-text {
        font-size: 1.3rem;
    }
}

/* --- Toast Notification System --- */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    background: #ffffff;
    border-left: 5px solid var(--primary-color);
    color: #000;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.toast.success { border-left-color: #00ff64; }
.toast.error { border-left-color: #ff3e3e; }
.toast.info { border-left-color: #00d4ff; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- Analytics Charts (CSS-Based) --- */
.chart-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--glass-border);
}

.bar-row {
    margin-bottom: 1.5rem;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.bar-bg {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #00ff64);
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 15px rgba(249, 255, 32, 0.3);
}


@media (max-width: 850px) {
    .testimonials-grid, .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pro-hero {
        text-align: center;
        padding: 0 5%;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-bg-overlay {
        background: #000000; /* Solid black for Elite theme */
    }
    
    .identity-text {
        font-size: 1.3rem;
    }
}

/* --- Toast Notification System --- */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    background: #ffffff;
    border-left: 5px solid var(--primary-color);
    color: #000;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.toast.success { border-left-color: #00ff64; }
.toast.error { border-left-color: #ff3e3e; }
.toast.info { border-left-color: #00d4ff; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- Analytics Charts (CSS-Based) --- */
.chart-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--glass-border);
}

.bar-row {
    margin-bottom: 1.5rem;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.bar-bg {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #00ff64);
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 15px rgba(249, 255, 32, 0.3);
}


/* Utils */
.menu-toggle {
    display: none;
}

#admin-user-info {
    display: none !important;
}



/* Size Selector Enhancements */
.size-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.size-btn {
    min-width: 50px;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #eee;
    background: #fff;
    color: #000;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Oswald', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.size-btn:hover {
    border-color: var(--accent-color);
    background: #f9f9f9;
    transform: translateY(-2px);
}

.size-btn.active {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #000 !important;
    box-shadow: 0 8px 20px rgba(249, 255, 32, 0.4);
    transform: scale(1.05);
}

/* --- Product Detail Page --- */
.product-detail-page {
    padding-top: 100px;
    min-height: 100vh;
    background: #fff; /* White background as requested */
    color: var(--text-color);
}

.pd-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.pd-image-section {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pd-main-img-wrap {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    height: 500px; /* ENFORCED: Fix height to prevent oversized images */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    scroll-behavior: smooth;
}

.slider-item {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.pd-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pd-nav-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.pd-nav-btn.prev { left: 15px; }
.pd-nav-btn.next { right: 15px; }

.pd-main-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pd-info-section {
    padding-bottom: 5rem;
}

.pd-badge-list {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 50px; /* Increased significantly for mobile spacing */
    position: relative;
    z-index: 5;
}

.pd-thumbnails {
    position: relative;
    z-index: 10;
    margin-bottom: 10px;
}

.pd-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #f4f4f4; /* Light bg for badges */
    color: var(--text-color);
    border: 1px solid rgba(0,0,0,0.05);
}

.pd-badge.urgency {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.2);
    animation: flash-badge 2s infinite;
}

@keyframes flash-badge {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.pd-main-title {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
    color: #000;
    letter-spacing: -1px;
}

.pd-price {
    font-size: 2.2rem; /* Impactful size */
    color: #000; /* Solid Black for visibility */
    font-weight: 950; /* Extra bold */
    margin-bottom: 2.5rem;
    display: inline-block;
    padding: 0.5rem 0;
    border-bottom: 4px solid var(--accent-color); /* Strong yellow accent underline */
}

.pd-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.pd-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

.pd-btn-cart {
    padding: 1.4rem;
    font-size: 1.2rem;
    background: #F9FF20; /* FORCED NEON YELLOW */
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 950;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(249, 255, 32, 0.3);
}

.pd-btn-cart:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 255, 32, 0.4);
}

.pd-btn-wa {
    padding: 1.4rem;
    font-size: 1.2rem;
    background: #000000; /* SOLID BLACK for high contrast */
    color: #ffffff; /* WHITE TEXT */
    border: none;
    border-radius: 8px;
    font-weight: 950;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pd-btn-wa:hover {
    background: #25d366;
    color: white;
}

.pd-features {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.05); /* Soft border for light theme */
}

.pd-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pd-feature-item i {
    color: var(--primary-color);
}

.pd-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.trust-item {
    background: #f9f9f9; /* Light background for trust boxes */
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.trust-item i {
    font-size: 1.5rem;
    color: #000000; /* Changed to Black for visibility */
    margin-bottom: 1rem;
}

.trust-item h5 {
    font-size: 0.8rem;
    margin: 0;
    text-transform: uppercase;
    color: #333; /* Darker heading */
}

@media (max-width: 1000px) {
    .pd-container {
        grid-template-columns: 1fr !important;
        gap: 4.5rem;
        margin: 2rem auto;
    }
    .pd-image-section {
        position: static;
    }
    .pd-main-title {
        font-size: 2.5rem;
    }
    .pd-trust {
        grid-template-columns: 1fr;
    }
}

/* Size Selector Light Theme */
.pd-size-selector {
    margin-bottom: 2.5rem;
}

.pd-size-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.pd-size-selector select {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fdfdfd;
    color: #000;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.pd-size-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(249, 255, 32, 0.15);
}

#size-error {
    color: #ff3e3e;
    display: none;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- About Section (White Theme) --- */
.section-about {
    background: #000000;
    color: #ffffff;
    padding: 8rem 10%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
}

/* Decorative Divider (BLACK FOR WHITE THEME) */
.about-container h2::before {
    content: '\25c6'; /* Diamond symbol */
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--accent-color); /* Keep diamond yellow as detail */
    opacity: 1;
}

.about-container h2::after {
    content: '';
    position: absolute;
    top: -35px;
    left: -80%;
    right: -80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #000000, transparent);
    opacity: 0.2;
}

.about-content {
    font-size: 1.2rem;
    line-height: 1.9;
    text-align: center;
    color: #ffffff;
}

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

.about-content strong {
    font-weight: 950;
    color: #ffffff; 
    text-decoration: underline;
    text-decoration-color: var(--accent-color); /* Yellow underline as detail */
    text-underline-offset: 4px;
}




/* Admin Preview Fixes - Prevent Overflow and Improve UX */
.image-preview-large, .image-preview {
 cursor: pointer;
 position: relative;
 overflow: hidden;
 display: flex;
 align-items: center;
 justify-content: center;
 border: 2px dashed rgba(0,0,0,0.1);
 border-radius: 12px;
 background: #fdfdfd;
 transition: var(--transition);
 min-height: 200px;
}

.image-preview-large img, .image-preview img {
 max-width: 100%;
 max-height: 40vh; /* Better responsive height */
 object-fit: contain;
 pointer-events: none;
}

.modern:hover .image-preview-large,
.modern:hover .image-preview {
 border-color: #F9FF20;
 background: rgba(249, 255, 32, 0.05);
}

/* --- FAQ Accordion (Redesigned Dark Impact) --- */
#faq.section {
    background: #ffffff !important; /* Force white background */
    padding: 8rem 5% !important;
}

.faq-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 800px;
    margin: 0 auto;
}

#faq .faq-item {
    background: #fdfdfd !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
}

#faq .faq-item:hover {
    border-color: #F9FF20 !important;
}

.faq-header {
    padding: 16px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none !important;
}

.faq-question {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    font-family: 'Inter', sans-serif !important;
    line-height: 1.2 !important;
}

.faq-icon {
    font-size: 20px !important;
    color: #F9FF20 !important;
    font-weight: 400 !important;
}

.faq-body {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1) !important;
}

.faq-item.active .faq-body {
    max-height: 1000px !important;
    padding-bottom: 0 !important;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0) !important;
}

.faq-content {
    padding: 0 20px 16px !important;
    color: #666666 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    font-family: 'Inter', sans-serif !important;
}

.faq-item.active {
    border-color: #F5C518 !important;
}

/* Category Filter Active Fix */
.filter-btn.active, .category-filter.active {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

@media (max-width: 600px) {
    .faq-header {
        padding: 14px 16px !important;
    }
    .faq-question {
        font-size: 15px !important;
    }
}

/* --- Títulos amarillos a negro con subrayado (Global para Desktop y Mobile) --- */
.section-title h2 span,
.pro-hero .elite-title {
    color: #111111 !important;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-underline-offset: 4px;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

/* --- Mejoras UI en Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Base Overflow Fix */
    body, html {
        width: 100% !important;
        overflow-x: hidden !important;
        position: relative;
        background-attachment: scroll !important;
    }

    /* Navigation Mobile (Main Site Only) */
    nav {
        display: grid !important;
        grid-template-columns: 44px 1fr 44px !important;
        align-items: center !important;
        padding: 0 16px !important;
        height: 60px !important;
        background: #000000 !important;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }

    nav .logo {
        grid-column: 2 !important;
        text-align: center !important;
        font-size: 1rem !important;
        justify-content: center !important;
        display: flex !important;
    }

    nav .menu-toggle {
        display: block !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start;
        margin: 0 !important;
        z-index: 2500;
        color: #ffffff !important;
    }

    nav .cart-icon {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end;
        margin: 0 !important;
        position: relative !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: #000000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 10px 0 40px rgba(0,0,0,0.1);
        border-right: 1px solid rgba(255,255,255,0.1);
        display: flex !important;
    }

    .nav-links.active {
        left: 0 !important;
    }

    .nav-links li {
        margin: 1.5rem 0;
        list-style: none;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: #ffffff;
        font-weight: 800;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .nav-links a:hover {
        color: var(--accent-color);
    }

    /* Admin Sidebar Fix (Crucial for Dashboard) */
    aside.sidebar {
        width: 0 !important;
        padding: 0 !important;
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        z-index: 4000;
        overflow: hidden;
    }

    aside.sidebar.active {
        width: 260px !important;
        padding: 2rem 1.5rem !important;
        box-shadow: 30px 0 60px rgba(0,0,0,0.2);
    }

    main.main-content {
        padding: 1.2rem !important;
        width: 100% !important;
        overflow-x: hidden;
    }

    .admin-section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    .admin-section-header h2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }

    #mobile-sidebar-toggle {
        display: flex !important;
        background: var(--primary-color) !important;
        color: #000 !important;
        box-shadow: 0 0 15px var(--accent-glow);
    }

    .analytics-grid, .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .card-pro {
        padding: 1rem !important;
        gap: 1rem !important;
    }

    /* Modal Admin Mobile */
    .modal-content {
        width: 95% !important;
        margin: 1rem !important;
        max-height: 90vh;
    }

    .modal-form-grid {
        grid-template-columns: 1fr !important;
    }

    /* Admin Product Card Mobile Optimization */
    .admin-product-card {
        text-align: center;
        padding: 1.5rem !important;
    }

    .admin-product-card .card-actions {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }

    .admin-product-card .btn-editor {
        width: 100%;
        flex: none !important;
        margin-bottom: 0.5rem;
    }

    /* Hero Tuning */
    .pro-hero {
        padding: 0 5%;
        padding-top: 100px !important;
        min-height: 85vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .pro-hero .elite-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem) !important;
        margin-bottom: 1.5rem;
        line-height: 1.05;
    }

    /* Grids to 1 Column */
    .categories-grid, .products-grid, .product-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .category-card {
        height: 350px;
    }

    .section {
        padding: 4rem 5% !important;
    }

    .section-title h2 {
        font-size: 1.8rem !important;
    }

    .section-about {
        padding: 4rem 8%;
    }

    /* Cart Sidebar Mobile Fix */
    #cart-sidebar {
        width: 100% !important;
        right: -100% !important;
        border-left: none !important;
    }
    
    #cart-sidebar[style*="right: 0"] {
        right: 0 !important;
    }

    /* Tienda Filters Tuning */
    .filters {
        padding: 12px !important;
    }
    .filters h4 {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
    .filter-btn {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }
}
