@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root{
    --black:#000;
    --white:#fff;
    --cream:#f8f5f0;
    --gray:#777;
    --light:#f5f5f5;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Montserrat',sans-serif;
}

body{
    background:#fff;
    color:#000;
}

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

.container{
    width:95%;
    max-width:1400px;
    margin:auto;
}

.header{

    height:80px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 40px;

    background:#fff;

    border-bottom:1px solid #eee;

}

.header-left{

    width:220px;

}

.logo img{

    height:24px;

}

.header-center{

    flex:1;

    padding:0 40px;

}

.search-box{

    width:100%;

    height:50px;

    border:none;

    background:#f5f5f5;

    border-radius:8px;

    padding:0 20px;

    font-size:15px;

    outline:none;

}

.header-right{

    display:flex;

    gap:30px;

    align-items:center;

}

.header-right a{

    text-align:center;

    font-size:13px;

    font-weight:600;

}

.header-right span{

    font-size:12px;

}

.nav{
    display:flex;
    gap:30px;
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
}

.hero{

    height:93vh;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    overflow:hidden;

    background:

    url('/assets/images/hero-bg.png');

    background-size:cover;

    background-position:center;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(255,255,255,.35);

    backdrop-filter:blur(3px);

    -webkit-backdrop-filter:blur(12px);

    z-index:1;

}

.hero-inner{

    position:relative;

    z-index:2;

    text-align:center;

}

#hero-title{

    font-size:clamp(80px,14vw,140px);

    font-weight:900;

    letter-spacing:0.01em;

    line-height:1;

    opacity:0;

    transform:translateY(80px);

}

#hero-title span{

    display:inline-block;

    transition:transform .25s ease;

    will-change:transform;

}

#hero-subtitle{

    margin-top:20px;

    color:#111;

    font-size:20px;

    letter-spacing:8px;

    font-weight:500;
    
    opacity:1;

}

#particleCanvas{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    z-index:1;

}

.btn{

    display:inline-block;

    margin-top:30px;

    background:#fff;

    color:#000;

    padding:16px 40px;

    border-radius:50px;

    font-weight:700;

    letter-spacing:1px;

}

.category-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-bottom:60px;

}

.category-grid a{

    background:#f7f7f7;

    height:120px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

    border-radius:12px;

}

.section-title{
    text-align:center;
    padding:80px 0 40px;
    font-size:32px;
    font-weight:700;
}

.products{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:30px;
}

.product-card{
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-image{

    aspect-ratio:4/5;

    overflow:hidden;

    border-radius:14px;

}

.product-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.4s;

}

.product-card:hover img{

    transform:scale(1.05);

}

.product-info{
    padding-top:15px;
}

.product-title{
    font-size:15px;
    font-weight:600;
}

.product-price{
    margin-top:10px;
    font-weight:700;
}

.old-price{
    color:#999;
    text-decoration:line-through;
    margin-left:10px;
}

.product-page{

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:

    1.2fr .8fr;

    gap:60px;

    padding:60px;

}

.product-gallery{

    display:grid;

    grid-template-columns:

    100px 1fr;

    gap:20px;

}

.thumbs{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.thumb{

    width:100%;

    border-radius:12px;

    cursor:pointer;

}

.main-image{

    overflow:hidden;

    border-radius:16px;

}

.product-detail-image{

    transition:.4s;

}

.main-image:hover

.product-detail-image{

    transform:scale(1.08);

}

.product-details{

    position:sticky;

    top:120px;

    align-self:start;

}

.product-details h1{

    font-size:42px;

    margin-bottom:20px;

}

.detail-price{

    font-size:32px;

    font-weight:700;

}

.detail-price span{

    margin-left:15px;

    color:#999;

    text-decoration:line-through;

    font-size:22px;

}

.size-section{

    margin-top:40px;

}

.size-grid{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

    margin-top:15px;

}

.size-btn{

    width:60px;

    height:60px;

    border:1px solid #ddd;

    background:#fff;

    border-radius:50%;

    cursor:pointer;

    font-weight:700;

    transition:.2s;

}

.size-btn:hover{

    border-color:#000;

    transform:

    translateY(-3px)

    scale(1.05);

    box-shadow:

    0 10px 25px rgba(0,0,0,.10);

}

.size-btn.active{

    background:#000;

    color:#fff;

    border-color:#000;

}

.add-cart-btn{

    margin-top:40px;

    width:100%;

    height:60px;

    border:none;

    background:#000;

    color:#fff;

    font-size:15px;

    font-weight:700;

    border-radius:12px;

    cursor:pointer;

}

.active-size{

    background:#000;

    color:#fff;

    border-color:#000;

}

.cart-total{

    margin-top:40px;

    font-size:28px;

    font-weight:700;

}

.checkout-btn{

    display:inline-block;

    margin-top:30px;

    background:#000;

    color:#fff;

    padding:18px 40px;

    border-radius:12px;

    font-weight:700;

}


.cart-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 0;

    border-bottom:1px solid #eee;

}

.cart-left{

    display:flex;

    gap:20px;

    align-items:center;

}

.cart-image{

    width:120px;

    height:150px;

    object-fit:cover;

    border-radius:12px;

}

.cart-right{

    font-size:20px;

    font-weight:700;

}

.cart-container{

    max-width:1400px;

    margin:60px auto;

    display:grid;

    grid-template-columns:2fr 420px;

    gap:60px;

    padding:0 40px;

}

.cart-list{

    background:#fff;

}

.cart-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:30px 0;

    border-bottom:1px solid #eee;
    
    transition:.3s;

}

.cart-item:hover{

    transform:translateY(-2px);

}

.cart-left{

    display:flex;

    gap:25px;

    align-items:center;

}

.cart-image{

    width:120px;

    height:150px;

    object-fit:cover;

    border-radius:16px;

}

.cart-info h3{

    font-size:22px;

    margin-bottom:10px;

}

.cart-info p{

    color:#666;

    margin-bottom:6px;

}

.cart-price{

    font-size:26px;

    font-weight:700;

}

.cart-heading{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:40px;

}

.cart-heading h1{

    font-size:42px;

    font-weight:800;

}

.cart-heading span{

    color:#666;

    font-size:15px;

    letter-spacing:1px;

}

.summary{

    position:sticky;

    top:120px;

    background:#fafafa;

    border-radius:20px;

    padding:30px;

    height:fit-content;

}

.summary h2{

    margin-bottom:25px;

}

.summary-row{

    display:flex;

    justify-content:space-between;

    margin-bottom:15px;

}

.summary-total{

    border-top:1px solid #ddd;

    margin-top:20px;

    padding-top:20px;

    font-size:24px;

    font-weight:700;

}

.checkout-btn{

    width:100%;

    height:60px;

    border:none;

    border-radius:12px;

    background:#000;

    color:#fff;

    font-weight:700;

    margin-top:25px;

    cursor:pointer;

}

.remove-item{

    color:#888;

    text-decoration:none;

    font-size:14px;

    margin-top:10px;

    display:inline-block;

    transition:.3s;

}

.remove-item:hover{

    color:red;

}

.qty-box{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:12px;

}

.qty-box a{

    width:34px;

    height:34px;

    border:1px solid #ddd;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#000;

    transition:.3s;

}

.qty-box a:hover{

    background:#000;

    color:#fff;

    border-color:#000;

}

.qty-box span{

    min-width:20px;

    text-align:center;

}



.summary{

    position:sticky;

    top:120px;

}

.wishlist-btn{

    display:block;

    width:100%;

    text-align:center;

    padding:16px;

    border:1px solid #ddd;

    border-radius:12px;

    margin-bottom:15px;

    transition:.3s;

}

.wishlist-btn:hover{

    background:#000;

    color:#fff;

}
