/* RESET Y BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* LOADER */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-text {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: #222;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: #fff;
    animation: loading 1s infinite;
}

@keyframes loading {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #777;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.btn-whatsapp-header {
    background: #25D366;
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-whatsapp-header:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

/* CART ICON */
.cart-icon-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    transition: transform 0.2s;
}

.cart-icon-btn:hover {
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #25D366;
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CART SIDEBAR */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #0a0a0a;
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    border-left: 1px solid #222;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.3rem;
}

.cart-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.cart-close:hover {
    transform: scale(1.1);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #111;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #222;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: #25D366;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cart-item-qty {
    background: #1a1a1a;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.cart-item-actions button {
    background: #222;
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.2s;
}

.cart-item-actions button:hover {
    background: #25D366;
    color: #000;
}

.cart-item-remove {
    background: #222;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: auto;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #222;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-checkout {
    width: 100%;
    background: #25D366;
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-checkout:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-bg-text {
    position: absolute;
    font-size: 20vw;
    font-weight: 800;
    color: rgba(255,255,255,0.02);
    bottom: 0;
    right: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaa;
    border-left: 3px solid #25D366;
    padding-left: 1rem;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 1.5rem 0;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, #fff, #25D366);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.9rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: #25D366;
    color: #000;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #333;
    color: #fff;
    background: transparent;
}

.btn-secondary:hover {
    border-color: #fff;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    font-size: 0.8rem;
    color: #777;
}

.stat span {
    font-weight: 700;
    color: #fff;
    display: block;
    font-size: 1rem;
}

.hero-image {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    border: 1px solid #222;
}

.image-placeholder i {
    font-size: 5rem;
    color: #333;
    margin-bottom: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #555;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* PRODUCTOS */
.products {
    padding: 6rem 0;
    background: #050505;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #25D366;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.section-subtitle {
    color: #777;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #111;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s;
    border: 1px solid #1f1f1f;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.5);
    border-color: #333;
}

.product-img {
    background: #1a1a1a;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-img i {
    font-size: 5rem;
    color: #2a2a2a;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #25D366;
    color: #000;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-product {
    background: transparent;
    border: 1px solid #333;
    padding: 0.6rem 1rem;
    border-radius: 40px;
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.btn-product:hover {
    background: #25D366;
    border-color: #25D366;
    color: #000;
}

.loading-products {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* FILTROS Y BUSCADOR (para catálogo) */
.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #0c0c0c;
    border-radius: 60px;
    border: 1px solid #222;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #333;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
    background: #25D366;
    border-color: #25D366;
    color: #000;
}

.search-box {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 0.3rem 1rem;
    border: 1px solid #333;
}

.search-box i {
    color: #666;
}

.search-box input {
    background: transparent;
    border: none;
    padding: 0.5rem;
    color: #fff;
    outline: none;
}

.search-box input::placeholder {
    color: #555;
}

/* TALLES SELECTOR */
.talle-selector {
    margin: 0.5rem 0;
}

.talle-select {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 0.3rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    cursor: pointer;
}

/* COLECCIONES */
.collections {
    padding: 4rem 0;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.collection-item {
    background: #111;
    height: 200px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #222;
}

.collection-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    z-index: 2;
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.collection-item:hover .collection-overlay {
    opacity: 1;
}

/* BENEFICIOS */
.benefits {
    padding: 4rem 0;
    background: linear-gradient(145deg, #0c0c0c, #000);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
}

.benefit-card i {
    font-size: 2rem;
    color: #25D366;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.8rem;
    color: #888;
}

/* ABOUT */
.about {
    padding: 6rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    color: #aaa;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.social-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #d62976);
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.about-image {
    background: #111;
    border-radius: 32px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222;
}

/* FAQ */
.faq {
    padding: 6rem 0;
    background: #050505;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #111;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid #222;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0.5rem;
    color: #aaa;
    font-size: 0.9rem;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    padding: 1rem 0.5rem;
}

/* CTA FINAL */
.cta-final {
    padding: 4rem 0;
}

.cta-card {
    background: linear-gradient(135deg, #121212, #050505);
    border-radius: 40px;
    padding: 4rem;
    text-align: center;
    border: 1px solid #222;
}

.cta-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* FOOTER */
.footer {
    background: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid #111;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #888;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: #aaa;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.85rem;
}

.footer-contact p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #111;
    font-size: 0.7rem;
    color: #555;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.text-center {
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-description {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .collection-grid {
        grid-template-columns: 1fr;
    }
    .filters-bar {
        flex-direction: column;
        border-radius: 20px;
        align-items: stretch;
    }
    .filter-buttons {
        justify-content: center;
    }
    .search-box {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        padding: 1rem;
        border-bottom: 1px solid #222;
    }
    .nav.active {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .btn-whatsapp-header span {
        display: none;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
    .cart-sidebar {
        max-width: 100%;
    }
    .cta-card {
        padding: 2rem;
    }
    .cta-card h3 {
        font-size: 1.5rem;
    }
}