/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter', sans-serif;
}

body{
    background:#000;
    color:#fff;
    line-height:1.5;
    scroll-behavior:smooth;
}

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

/* =========================
   NAVBAR
========================= */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(10px);
}

.nav-container{
    width:100%;
    padding:15px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.nav-logo img{
    height:40px;
}

.nav-logo h2{
    font-size:18px;
    letter-spacing:2px;
}

.nav-menu{
    display:flex;
    gap:30px;
}

.nav-menu a{
    color:#ccc;
    text-decoration:none;
    font-size:14px;
    transition:0.3s;
}

.nav-menu a:hover{
    color:#D4AF37;
}

/* =========================
   PRODUCTS
========================= */
.products{
    padding:70px 30px;
}

.products h2{
    text-align:center;
    margin-bottom:50px;
    letter-spacing:2px;
    font-size:22px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
    gap:25px;
}

.product-card{
    background:#111;
    border-radius:12px;
    overflow:hidden;
    text-align:center;
    transition:0.35s ease;
    border:1px solid #111;
}

.product-card img{
    width:100%;
    height:auto;
    object-fit:contain;
    transition:0.4s ease;
    background:#111;
}

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

.product-card h3{
    margin:15px 0 5px;
    font-size:15px;
}

.product-card p{
    color:#888;
    margin-bottom:15px;
    font-size:13px;
}

.product-card:hover{
    transform:translateY(-6px);
    border:1px solid #D4AF37;
    box-shadow:0 0 25px rgba(212,175,55,0.2);
}
/* =========================
   PRODUCT CARD FIX
========================= */
.product-card{
    text-decoration:none;
    color:#fff;
}

.product-card h3{
    color:#fff;
    text-decoration:none;
    font-size:22px;
    font-weight:700;
    margin:22px 0 8px;
}

.product-card p{
    color:#999;
    text-decoration:none;
    margin-bottom:22px;
    font-size:14px;
    letter-spacing:1px;
}

/* =========================
   CATEGORY FILTER
========================= */
.category-filter{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:30px;
}

.category-filter a{
    padding:8px 16px;
    border:1px solid #222;
    color:#aaa;
    text-decoration:none;
    border-radius:20px;
    font-size:13px;
}

.category-filter a:hover{
    border:1px solid #D4AF37;
    color:#fff;
}

.category-filter a.active{
    background:#D4AF37;
    color:#000;
}

/* =========================
   LOOKBOOK
========================= */
.lookbook{
    padding:70px 30px;
}

.lookbook h2{
    text-align:center;
    margin-bottom:40px;
}

.lookbook-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:20px;
}

.lookbook-item{
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
}

.lookbook-item img{
    width:100%;
    height:auto;
    object-fit:contain;
    transition:0.5s ease;
    background:#111;
}

.lookbook-item:hover img{
    transform:scale(1.1);
}

/* =========================
   LIGHTBOX
========================= */
.lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.95);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
}

/* =========================
   FOOTER (NEW)
========================= */
.footer{
    background:#0a0a0a;
    padding:60px 30px 20px;
    border-top:1px solid #111;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:30px;
}

.footer-brand h2{
    font-size:20px;
    letter-spacing:2px;
}

.footer-brand p{
    color:#777;
    font-size:13px;
    margin-top:10px;
}

.footer-links,
.footer-contact{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer a{
    color:#aaa;
    text-decoration:none;
    font-size:13px;
    transition:0.3s;
}

.footer a:hover{
    color:#D4AF37;
}

.footer-bottom{
    margin-top:40px;
    text-align:center;
    border-top:1px solid #111;
    padding-top:15px;
}

.footer-bottom p{
    font-size:12px;
    color:#666;
}

/* =========================
   PRODUCT DETAIL
========================= */
.product-detail{
    padding:120px 30px 80px;
}

.detail-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.detail-image img{
    width:100%;
    border-radius:16px;
    object-fit:cover;
    border:1px solid #222;
}

.detail-info h1{
    font-size:42px;
    margin-bottom:15px;
    line-height:1.2;
}

.product-category{
    color:#D4AF37;
    margin-bottom:15px;
    font-size:14px;
    letter-spacing:2px;
    text-transform:uppercase;
}

.detail-info .desc{
    color:#aaa;
    line-height:1.8;
    margin-bottom:35px;
    font-size:15px;
}

.buy-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 30px;
    background:#D4AF37;
    color:#000;
    text-decoration:none;
    border-radius:999px;
    font-weight:600;
    transition:0.3s ease;
}

.buy-btn:hover{
    transform:translateY(-3px);
    background:#e5c04a;
    box-shadow:0 10px 30px rgba(212,175,55,0.3);
}

.back-btn{
    padding:30px;
}

.back-btn a{
    color:#999;
    text-decoration:none;
    transition:0.3s;
}

.back-btn a:hover{
    color:#D4AF37;
}

/* MOBILE */
@media(max-width:768px){

    .detail-container{
        grid-template-columns:1fr;
    }

    .detail-info h1{
        font-size:30px;
    }

    .product-detail{
        padding:100px 20px 50px;
    }

}
/* =========================
   MOBILE MENU
========================= */
.menu-toggle{
    display:none;
    font-size:28px;
    color:#fff;
    cursor:pointer;
    z-index:10001;
}

/* OVERLAY */
.menu-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    opacity:0;
    visibility:hidden;
    transition:0.3s;
    z-index:9997;
}

/* ACTIVE OVERLAY */
.menu-overlay.active{
    opacity:1;
    visibility:visible;
}

/* MOBILE */
@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-container{
        justify-content:space-between;
    }

    .nav-menu{
        position:fixed;
        top:0;
        right:-100%;
        width:260px;
        height:100vh;
        background:#0a0a0a;
        display:flex;
        flex-direction:column;
        padding:90px 30px;
        gap:25px;
        transition:0.4s ease;
        z-index:9999;
        border-left:1px solid #222;
    }

    .nav-menu.active{
        right:0;
    }

    .nav-menu a{
        font-size:18px;
    }
    /* =========================
       PRODUCT GALLERY MOBILE
    ========================= */
    .product-gallery{
        justify-content:center;
    }

    .gallery-thumb{
        width:70px;
        height:70px;
    }

}
/* =========================
   PRODUCT GALLERY
========================= */
.main-product-image{
    width:100%;
    border-radius:18px;
    object-fit:cover;
}

.product-gallery{
    display:flex;
    gap:12px;
    margin-top:18px;
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:5px;
}

.gallery-thumb{
    width:85px;
    height:85px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    border:2px solid transparent;
    transition:0.3s ease;
    opacity:0.7;
    overflow:hidden;
    flex-shrink:0;
    background:#111;
}

.gallery-thumb:hover{
    opacity:1;
    transform:scale(1.05);
}

.active-thumb{
    border:2px solid #D4AF37;
    opacity:1;
}
/* HIDE SCROLLBAR */
.product-gallery::-webkit-scrollbar{
    height:4px;
}

.product-gallery::-webkit-scrollbar-thumb{
    background:#222;
    border-radius:999px;
}
/* =========================
   PRODUCT SIZE
========================= */

.product-sizes{
    margin-top:35px;
}

.product-sizes h3{
    font-size:18px;
    margin-bottom:15px;
    color:#fff;
}

.size-list{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.size-btn{
    background:#111;
    border:1px solid #222;
    color:#fff;
    padding:12px 18px;
    border-radius:999px;
    cursor:pointer;
    transition:0.3s ease;
    font-size:14px;
}

.size-btn:hover{
    border-color:#D4AF37;
    color:#D4AF37;
    transform:translateY(-2px);
}

.size-btn span{
    opacity:0.7;
    margin-left:4px;
}

/* ADMIN SIZE */

.size-wrapper{
    margin-top:20px;
}

.size-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:10px;
}

.size-grid div{
    display:flex;
    align-items:center;
    gap:10px;
}

.size-grid input[type="number"]{
    flex:1;
}

@media(max-width:768px){

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

    .size-list{
        gap:10px;
    }

    .size-btn{
        padding:10px 16px;
        font-size:13px;
    }
}
/* =========================
   PRODUCT VARIANT SYSTEM
========================= */

.variant-group{
    margin-top:35px;
}

.variant-group h3{
    font-size:16px;
    margin-bottom:15px;
    color:#fff;
    letter-spacing:1px;
}

.color-list,
.size-list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.color-btn,
.size-btn{
    background:#111;
    border:1px solid #222;
    color:#fff;
    padding:12px 18px;
    border-radius:999px;
    cursor:pointer;
    transition:0.3s ease;
    font-size:14px;
    min-width:70px;
    text-align:center;
}

.color-btn:hover,
.size-btn:hover{
    border-color:#D4AF37;
    color:#D4AF37;
    transform:translateY(-2px);
}

.color-btn.active,
.size-btn.active{
    background:#D4AF37;
    color:#000;
    border-color:#D4AF37;
}

.size-btn.disabled{
    background:#2a0d0d;
    border:1px solid #ff3b3b;
    color:#ff6b6b;
    opacity:0.7;
    cursor:not-allowed;
    pointer-events:none;
}

.stock-info{
    margin-top:22px;
    font-size:15px;
    font-weight:600;
}

.stock-available{
    color:#4ade80;
}

.stock-empty{
    color:#ff4d4d;
}

.variant-warning{
    margin-top:12px;
    color:#888;
    font-size:13px;
    line-height:1.6;
}

/* MOBILE */
@media(max-width:768px){

    .color-btn,
    .size-btn{
        padding:10px 16px;
        font-size:13px;
    }

    .stock-info{
        font-size:14px;
    }

}
/* =========================
   DISABLED BUY BUTTON
========================= */

.disabled-buy-btn{
    opacity:0.5;
    pointer-events:none;
}
/* =========================
   HERO SLIDER SYSTEM
========================= */

.hero-slider{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
    background:#000;
}

/* SLIDE */
.hero-slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    visibility:hidden;
    transition:opacity 1.2s ease;
}

/* ACTIVE SLIDE */
.hero-slide.active-slide{
    opacity:1;
    visibility:visible;
    z-index:2;
}

/* HERO IMAGES */
.hero-desktop,
.hero-mobile{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

/* MOBILE IMAGE HIDDEN */
.hero-mobile{
    display:none;
}

/* OVERLAY */
.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:1;
}

/* CONTENT */
.hero-content{
    position:relative;
    z-index:2;
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    padding:20px;
}

.hero-content h1{
    font-size:72px;
    font-weight:700;
    letter-spacing:4px;
    margin-bottom:14px;
    line-height:1.1;
}

.hero-content p{
    font-size:22px;
    color:#ddd;
    line-height:1.6;
}

/* =========================
   MOBILE HERO
========================= */

@media(max-width:768px){

    .hero-slider{
        height:100vh;
    }

    /* SWITCH IMAGE */
    .hero-desktop{
        display:none;
    }

    .hero-mobile{
        display:block;
    }

    /* CONTENT */
    .hero-content{
        padding:20px;
    }

    .hero-content h1{
        font-size:52px;
        letter-spacing:2px;
    }

    .hero-content p{
        font-size:18px;
    }

}