/*==================================
    Reset
==================================*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Jost",sans-serif;
    color:#2D2D2D;
    background:#fff;
    line-height:1.5;
}

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

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

ul{
    list-style:none;
}


/*==================================
    Variables
==================================*/

:root{

    --max-width:1280px;

    --text:#222;

    --gray:#999;

    --border:#d8d8d8;

    --transition:.3s;

}


/*==================================
    Common
==================================*/

.container{

    width:min(1280px,90%);

    margin:auto;

}

section{

    width:100%;

}

main{

    width:100%;

}

button{

    cursor:pointer;

    font-family:inherit;

}

h1,h2,h3,h4,h5,h6{

    font-weight:400;

}

p{

    font-weight:400;

}


/*==================================
    Header
==================================*/

.header{

    width:100%;

    background:#fff;

}

.logo{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:48px 0;

}

.logo img{

    width:140px;

    height:auto;

}


/*==================================
    Hero
==================================*/

.hero{

    display:flex;

    justify-content:center;

}

.hero-video{

    width:100%;

    max-width:1280px;

    height:auto;

    display:block;

}

/*==================================
    Navigation
==================================*/

nav{

    width:100%;

    margin:70px 0;

}

nav ul{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

}

nav li{

    font-size:22px;

    letter-spacing:.08em;

}

nav a{

    position:relative;

    transition:var(--transition);

}

nav a:hover{

    opacity:.6;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:1px;

    background:#222;

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}


/*==================================
    Products
==================================*/

.products{

    width:100%;

    padding-bottom:80px;

}

.product-grid{

    width:min(1280px,90%);

    margin:auto;

    display:grid;

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

    gap:50px 32px;

}
/*==================================
    Product Card
==================================*/

.product-card{

    width:100%;

}

.product-card a{

    display:block;

}

.product-card img{

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

    transition:transform .35s ease;

}

.product-card:hover img{

    transform:scale(1.03);

}

.product-name{

    margin-top:10px;

    font-size:12px;

    font-weight:400;

    letter-spacing:.04em;

    line-height:1.6;

}

.product-price{

    margin-top:8px;

    font-size:16px;

    font-weight:400;

    letter-spacing:.03em;

}

.product-detail-name{

    margin-top:6px;

    font-size:21px;

    font-weight:400;

    letter-spacing:.04em;

    line-height:1.6;

}

.product-detail-price{

    margin-top:6px;

    font-size:17px;

    font-weight:400;

    letter-spacing:.04em;

    line-height:1.6;

}

.product-detail-tax{

    margin-top:6px;

    font-size:10px;

    font-weight:400;

    letter-spacing:.04em;

    line-height:1.6;

}
/*==================================
    View Button
==================================*/

.view-more{

    display:flex;

    justify-content:center;

    align-items:center;

    margin:100px 0;

}

.view-btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    width:220px;

    height:56px;

    border:1px solid var(--border);

    font-size:15px;

    letter-spacing:.08em;

    transition:var(--transition);

}

.view-btn:hover{

    background:#222;

    color:#fff;

}


/*==================================
    Footer
==================================*/

footer{

    width:100%;

    padding:70px 0;

}

.sns{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:28px;

}

.sns a{

    width:24px;

    height:24px;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:var(--transition);

}

.sns a:hover{

    opacity:.6;

}

.sns img{

    width:22px;

    height:22px;

    object-fit:contain;

}


/*==================================
    Tablet
==================================*/

@media screen and (max-width:1024px){

.container{

    width:92%;

}

nav ul{

    gap:40px;

}

.product-grid{

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

    gap:40px 24px;

}

.logo{

    padding:40px 0;

}

.hero img{

    width:100%;

}

}
.underline{
    text-decoration: underline;
}

/*==================================
    Mobile
==================================*/

@media screen and (max-width:768px){

.logo img{

    width:110px;

}

nav{

    margin:50px 0;

}

nav ul{

    gap:24px;

    flex-wrap:wrap;

}

nav li{

    font-size:14px;

}

.product-grid{

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

    gap:36px 18px;

}



.view-btn{

    width:180px;

    height:50px;

    font-size:14px;

}

footer{

    padding:50px 0;

}

}
/* =====================================
   Product Detail
===================================== */

.product-detail{
    width:100%;
    padding:40px 0 120px;
}

.product-wrapper{
    width:min(1280px,90%);
    margin:auto;
    display:grid;
    grid-template-columns:90px 1fr 420px;
    gap:35px;
    align-items:start;
}

/* -----------------------
   Thumbnail
----------------------- */

.thumbnail-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.thumbnail-list img{
    width:70px;
    cursor:pointer;
    border:1px solid transparent;
    transition:.3s;
}

.thumbnail-list img:hover,
.thumbnail-list img.active{
    border:1px solid #222;
}

/* -----------------------
   Main Image
----------------------- */

.product-image{
    overflow:hidden;
}

.product-image img{
    width:100%;
    display:block;
    transition:.35s;
    cursor:zoom-in;
}

.product-image:hover img{
    transform:scale(1.03);
}



/* -----------------------
   Option
----------------------- */

.option{
    margin-bottom:24px;
}

.option h3{
    font-size:14px;
    margin-bottom:10px;
    font-weight:600;
}

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

.color-list button,
.size-list button{

    width:62px;
    height:42px;

    border:1px solid #bbb;
    background:#fff;

    cursor:pointer;

    transition:.25s;
}

.color-list button:hover,
.size-list button:hover{

    background:#222;
    color:#fff;
}

.color-list button.active,
.size-list button.active{

    background:#222;
    color:#fff;
}

/* -----------------------
Favorite
----------------------- */

.favorite{

    width:100%;

    height:48px;

    border:none;

    background:#111;

    color:#fff;

    margin-bottom:18px;

    transition:.3s;

    cursor:pointer;
}

.favorite:hover{

    opacity:.85;
}

/* -----------------------
Quantity
----------------------- */

.quantity{

    display:flex;

    margin-bottom:18px;
}

.quantity button{

    width:42px;

    height:42px;

    border:1px solid #ddd;

    background:#fff;

    cursor:pointer;
}

.quantity input{

    width:60px;

    border:1px solid #ddd;

    text-align:center;

    font-size:16px;
}

/* -----------------------
Cart
----------------------- */

.cart-btn{

    width:100%;

    height:50px;

    background:#222;

    color:#fff;

    border:none;

    cursor:pointer;

    margin-bottom:40px;

    transition:.3s;
}

.cart-btn:hover{

    background:#444;
}

/* -----------------------
Table
----------------------- */

.size-table{

    width:100%;

    border-collapse:collapse;

    margin-bottom:40px;
}

.size-table th,
.size-table td{

    border:1px solid #eee;

    padding:12px;

    text-align:center;

    font-size:13px;
}

.size-table th{

    background:#f7f7f7;
}

/* -----------------------
Description
----------------------- */

.description h2{

    font-size:18px;

    margin-bottom:15px;
}

.description p{

    line-height:2;

    margin-bottom:10px;

    color:#444;
}

/* -----------------------
Responsive
----------------------- */

@media(max-width:900px){

.product-wrapper{

grid-template-columns:1fr;

}

.thumbnail-list{

flex-direction:row;

order:2;

}

.product-image{

order:1;

}

.product-info{

order:3;

}

}
/*==================================
    ALL ITEM
==================================*/

.all-item{

    width:100%;

    padding:20px 0 100px;

}

.all-item-container{

    width:min(1280px,90%);

    margin:auto;

    display:grid;

    grid-template-columns:220px 1fr;

    gap:50px;

    align-items:start;

}

/*==================================
    Filter
==================================*/

.filter{

    width:100%;

    position:sticky;

    top:40px;

}

.filter-item{

    border-bottom:1px solid #ddd;

}

.accordion{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:none;

    border:none;

    padding:18px 0;

    font-size:14px;

    cursor:pointer;

}

.accordion:hover{

    opacity:.7;

}

.panel{

    display:none;

    padding-bottom:18px;

}

.panel label{

    display:block;

    margin-bottom:12px;

    font-size:13px;

    cursor:pointer;

}

.panel input{

    margin-right:8px;

}

/*==================================
    Product Grid
==================================*/

.products{

    width:100%;

}

.product-grid{

    display:grid;

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

    gap:42px 26px;

}

.product-card{

    width:100%;

}

.product-card a{

    display:block;

}

.product-image{

    width:100%;

    aspect-ratio:3/4;

    object-fit:cover;

    transition:.35s;

}

.product-card:hover .product-image{

    transform:scale(1.03);

}

.product-name{

    margin-top:12px;

    font-size:12px;

    font-weight:400;

    line-height:1.6;

    letter-spacing:.05em;

}



/*==================================
    Responsive
==================================*/

@media(max-width:1024px){

.all-item-container{

grid-template-columns:180px 1fr;

gap:30px;

}

.product-grid{

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

}

}

@media(max-width:768px){

.all-item-container{

grid-template-columns:1fr;

}

.filter{

position:static;

margin-bottom:40px;

}

.product-grid{

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

gap:30px 18px;

}

.accordion{

font-size:15px;

}

}

@media(max-width:480px){

.product-grid{

grid-template-columns:1fr;

}

}
.cart-sidebar{
    right:-420px;
}

.cart-sidebar.open{
    right:0;
}

.overlay{

opacity:0;

visibility:hidden;

}

.overlay.show{

opacity:1;

visibility:visible;

background:rgba(0,0,0,.45);

}
/*==================================
    Cart Drawer
==================================*/

.cart-overlay{

    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);

    opacity:0;
    visibility:hidden;

    transition:.35s;

    z-index:999;

}

.cart-overlay.show{

    opacity:1;
    visibility:visible;

}

.cart-drawer{

    position:fixed;

    top:0;
    right:-420px;

    width:420px;
    max-width:100%;

    height:100vh;

    background:#fff;

    display:flex;
    flex-direction:column;

    transition:.35s ease;

    z-index:1000;

    box-shadow:-10px 0 30px rgba(0,0,0,.12);

}

.cart-drawer.open{

    right:0;

}

/*=========================
Header
=========================*/

.cart-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:28px;

    border-bottom:1px solid #eee;

}

.cart-header h2{

    font-size:24px;

    font-weight:400;

    letter-spacing:.08em;

}

.cart-close{

    border:none;

    background:none;

    font-size:34px;

    cursor:pointer;

    transition:.25s;

}

.cart-close:hover{

    transform:rotate(90deg);

}

/*=========================
Body
=========================*/

.cart-body{

    flex:1;

    overflow-y:auto;

    padding:24px;

}

.empty-cart{

    text-align:center;

    color:#999;

    margin-top:100px;

}

/*=========================
Item
=========================*/

.cart-item{

    display:flex;

    gap:16px;

    margin-bottom:24px;

}

.cart-item img{

    width:90px;

    height:110px;

    object-fit:cover;

}

.cart-info{

    flex:1;

}

.cart-info h3{

    font-size:14px;

    font-weight:400;

    margin-bottom:8px;

}

.cart-info p{

    font-size:13px;

    color:#666;

    margin-bottom:4px;

}

/*=========================
Quantity
=========================*/

.cart-quantity{

    display:flex;

    align-items:center;

    gap:10px;

    margin-top:12px;

}

.cart-quantity button{

    width:28px;

    height:28px;

    border:1px solid #ddd;

    background:#fff;

    cursor:pointer;

}

.cart-quantity span{

    width:24px;

    text-align:center;

}

/*=========================
Remove
=========================*/

.remove-item{

    margin-top:10px;

    background:none;

    border:none;

    color:#999;

    cursor:pointer;

    font-size:12px;

}

.remove-item:hover{

    color:#222;

}

/*=========================
Footer
=========================*/

.cart-footer{

    padding:24px;

    border-top:1px solid #eee;

}

.cart-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.cart-total span{

    font-size:14px;

}

.cart-total strong{

    font-size:22px;

    font-weight:500;

}

.checkout-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:54px;

    background:#111;

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.checkout-btn:hover{

    background:#333;

}

/*=========================
Responsive
=========================*/

@media(max-width:768px){

.cart-drawer{

    width:100%;

}

}
#mini-cart{

position:fixed;
top:0;
right:-420px;
width:400px;
height:100vh;
background:#fff;
z-index:9999;
transition:.3s;
padding:30px;

}

#mini-cart.active{

right:0;

}


.mini-cart-header{

font-size:20px;
display:flex;
justify-content:space-between;

}