
*{
box-sizing:border-box;
}

.shop-header{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
width:100%;
text-align:center;
margin-bottom: 50px;
margin-top: 100px;
}

.shop-header img{
width:150px;
height:150px;
object-fit:cover;
border-radius:20px;
margin-top: 25px;
}

.shop-text{
margin-top: 20px;
display:flex;
flex-direction:column;
align-items:flex-start;
}

.shop-name{
font-family:'Poppins', sans-serif;
font-weight:700;
font-size:4rem;
line-height:1;
margin: 0px;
}

.shop-subtitle{
font-family:'Poppins', sans-serif;
font-weight:400;
font-size:1rem;
letter-spacing:0.2em;
text-transform:uppercase;
opacity:0.7;
margin-top:0px;
}

/*Tablet landscape*/
@media (max-width: 1920px){
.shop-header img{
transform:translateY(-16px);
}
}

/*Tablet portrait*/
@media (max-width:1024px){
.shop-header img{
transform:translateY(-20px);
}
}

.shop-header,
.shop-header *{
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;

-webkit-tap-highlight-color:transparent;
}

.shop-header img{
-webkit-user-drag:none;


-webkit-touch-callout:none;
}

.shop-grid{
font-family:"Poppins",sans-serif;
display:grid;

grid-template-columns:repeat(4,1fr);

width:min(800px,90%);

gap:14px;

margin:0 auto;

}

.product-card{
font-family:"Poppins",sans-serif;

background:white;

border-radius:14px;

overflow:hidden;

box-shadow:
0 6px 20px rgba(0,0,0,.08);

transition:.25s;

}

.product-card:hover{

transform:translateY(-4px);

}

.product-image{

aspect-ratio:1;

overflow:hidden;

background:#f3f3f3;

}

.product-image img{

width:100%;

height:100%;

object-fit:cover;

display:block;

transition:.35s;

}

.product-card:hover img{

transform:scale(1.05);

}

.product-info{

padding:12px;

display:flex;

flex-direction:column;

gap:7px;

}

.product-info h3{

margin:0;

font-size:16px;

font-weight:700;

}

.price{

margin:0;

color:#777;

font-size:14px;

}

.details-btn{
font-family:"Poppins",sans-serif;

margin-top:auto;

border:none;

background:#111;

color:white;

padding:10px;

border-radius:10px;

cursor:pointer;

font-weight:600;

font-size:14px;

transition:.25s;

}

.details-btn:hover{

background:#333;

}

@media(max-width:900px){

.shop-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:500px){

.shop-grid{

grid-template-columns:1fr;

}

}


.modal{
font-family:"Poppins",sans-serif;

position:fixed;

inset:0;

background:rgba(0,0,0,.55);

display:none;

align-items:center;

justify-content:center;

z-index:9999;

padding:20px;

}

.modal-content{
font-family:"Poppins",sans-serif;

width:min(850px,95%);

background:white;

border-radius:22px;

padding:25px;

position:relative;

animation:modalPop .25s ease;

}

.modal-product{
font-family:"Poppins",sans-serif;

display:grid;

grid-template-columns:1fr 1fr;

gap:30px;

align-items:center;

}

.modal-image{

aspect-ratio:1;

border-radius:18px;

overflow:hidden;

background:#f2f2f2;

}

.modal-image img{

width:100%;

height:100%;

object-fit:cover;

}

.modal-details h2{
font-weight: 600;
margin:0 0 4px;

font-size:32px;

}

.modaldescription {
font-weight: 500;
margin:0 0 10px;

font-size:22px;

}

#modalPrice{

font-size:22px;

font-weight:600;

margin-bottom:5px;

}

#modalDescription{
font-size: 0.72rem;
color:#666;
margin-bottom: 20px;
line-height:1.3;

}

.variant-box,
.quantity-box{

margin-top:20px;

}

.variant-box h4,
.quantity-box h4{

margin:0 0 10px;

}

.variant-box h4{
font-weight: 600;
font-size: 22px;
}

#modalVariants{

display:flex;

gap:10px;

flex-wrap:wrap;
font-weight: 600;
font-size: 22px;

}

.variant-button{

padding:10px 15px;

border-radius:12px;

border:1px solid #ddd;

background:white;

cursor:pointer;

}

.variant-button.selected{

background:#111;

color:white;

}

.quantity-control{

display:flex;

align-items:center;

gap:15px;

}

.quantity-control button{

width:38px;

height:38px;

border-radius:12px;

border:1px solid #ddd;

background:white;

font-size:20px;

cursor:pointer;

}

#qtyValue{

font-weight:700;

font-size:18px;

}

.cart-btn{

width:100%;

margin-top:25px;

padding:15px;

border:none;

border-radius:14px;

background:#111;

color:white;

font-size:16px;

font-weight:700;

cursor:pointer;

}

.cart-btn:hover{

background:#333;

}

.close-modal{

position:absolute;

right:18px;

top:12px;

border:none;

background:none;

font-size:32px;

cursor:pointer;

}

@keyframes modalPop{

from{

transform:scale(.9);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}

@media(max-width:700px){

.modal-product{

grid-template-columns:1fr;

}

}



*{
font-family:"Poppins", sans-serif;
box-sizing:border-box;
}

/* CART BUTTON */

.cart-button{

position:fixed;
right:25px;
bottom:25px;

display:flex;
align-items:center;
gap:10px;

background:#1C1C1C;
color:#fff;

padding:14px 18px;
border-radius:50px;

cursor:pointer;
z-index:999;

font-weight:700;

}

.cart-icon{

width:22px;
height:22px;

object-fit:contain;

filter:invert(1);

pointer-events:none;

}

#cartCount{

font-size:15px;
font-weight:700;

}

/* CART DRAWER */

.cart-drawer{
font-family:"Poppins", sans-serif;
position:fixed;

top:0;

right:-450px;

width:450px;

height:100%;

background:#1C1C1C;

color:white;

box-shadow:-10px 0 30px rgba(0,0,0,.25);

padding:25px;

transition:.35s ease;

z-index:10000;

overflow:auto;

}

.cart-drawer.active{

right:0;

}

/* HEADER */

.cart-header{
font-family:"Poppins", sans-serif;
display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:20px;

}

.cart-header h2{
font-family:"Poppins", sans-serif;
color:white;

font-size:28px;

font-weight:800;

margin:0;

}

.cart-header button{
font-family:"Poppins", sans-serif;
border:none;

background:none;

color:white;

font-size:30px;

cursor:pointer;

}

/* =========================
CART ITEM
========================= */

.cart-item{
font-family:"Poppins", sans-serif;
display:grid;

grid-template-columns:80px 1fr;

gap:16px;

padding:18px 0;

border-bottom:1px solid rgba(255,255,255,.12);

align-items:start;

}

.cart-item img{

width:80px;

height:80px;

border-radius:12px;

object-fit:cover;

}

.cart-product{
font-family:"Poppins", sans-serif;
display:flex;

flex-direction:column;

gap:4px;

}

.cart-title{
font-family:"Poppins", sans-serif;
display:flex;

align-items:center;

gap:8px;

}

.cart-number{
font-family:"Poppins", sans-serif;
font-size:12px;

font-weight:600;

color:#888;

}

.cart-product h4{

margin:0;

font-size:16px;

font-weight:700;

line-height:1.3;

}

.cart-product p{

margin:0;

font-size:13px;

color:#bdbdbd;

}

.cart-price{

margin-top:8px;

font-size:15px;

font-weight:700;

color:white;

}

.cart-bottom{

display:flex;

justify-content:space-between;

align-items:center;

margin-top:10px;

}

.cart-controls{

display:flex;

align-items:center;

gap:8px;

}

.cart-qty{

font-size:13px;

color:#aaa;

}

.cart-controls button{

width:28px;

height:28px;

border:none;

border-radius:8px;

background:#2b2b2b;

color:white;

cursor:pointer;

font-weight:700;

transition:.2s;

}

.cart-controls button:hover{

background:#3a3a3a;

}

.remove-btn{

border:none;

background:none;

padding:0;

color:#888;

font-size:12px;

cursor:pointer;

transition:.2s;

}

.remove-btn:hover{

color:#ff6b6b;

}

/* TOTAL */

.cart-total{

border-top:1px solid rgba(255,255,255,.15);

padding-top:20px;

margin-top:20px;

font-size:20px;

font-weight:700;

color:white;

}

/* CHECKOUT */

.checkout-btn{

width:100%;

margin-top:20px;

padding:15px;

border:none;

border-radius:14px;

background:white;

color:#111;

font-size:16px;

font-weight:700;

cursor:pointer;

transition:.25s;

}

.checkout-btn:hover{

background:#ddd;

}

/* =========================
SUCCESS MODAL
========================= */

.success-modal{
font-family:"Poppins",sans-serif;
position:fixed;
inset:0;

display:none;
justify-content:center;
align-items:center;

background:rgba(0,0,0,.6);

z-index:30000;

padding:20px;

}

.success-modal.show{
font-family:"Poppins",sans-serif;
display:flex;

}

.success-box{
font-family:"Poppins",sans-serif;
width:min(600px,95%);

background:#fff;

border-radius:24px;

padding:35px;

text-align:center;

animation:popup .25s ease;

}

.success-image{

width:150px;
height:150px;

object-fit:cover;

margin-bottom:18px;

border-radius:18px;

}

.success-box h2{
font-family:"Poppins",sans-serif;
margin:0;

font-size:32px;

font-weight:800;

}

.success-box p{
font-family:"Poppins",sans-serif;
margin:18px 0 28px;
font-size: 0.72rem;
color:#666;

line-height:1.7;

}

.success-box button{
font-family:"Poppins",sans-serif;
width:100%;

padding:15px;

border:none;

border-radius:14px;

background:#111;

color:white;

font-size:16px;

font-weight:700;

cursor:pointer;

transition:.25s;

}

.success-box button:hover{
font-family:"Poppins",sans-serif;
background:#333;

}

/* =========================
CHECKOUT FORM
========================= */

.checkout-form{

margin-top:28px;

}

.checkout-form h3{

margin:0 0 18px;

font-size:18px;
font-weight:700;

color:white;

}

.input-group{

margin-bottom:18px;

}

.input-group label{

display:block;

margin-bottom:8px;

font-size:14px;

font-weight:600;

color:#fff;

}

.input-group input{

width:100%;

padding:13px 16px;

border:none;

border-radius:12px;

background:#2B2B2B;

color:white;

font-size:14px;

transition:.25s;

}

.input-group input::placeholder{

color:#888;

}

.input-group input:focus{

outline:none;

background:#333;

box-shadow:0 0 0 2px rgba(255,255,255,.08);

}

.radio-group{

display:flex;

gap:10px;

flex-wrap:wrap;

}

.radio-card{

position:relative;

flex:1;

min-width:90px;

}

.radio-card input{

display:none;

}

.radio-card span{

display:flex;

justify-content:center;

align-items:center;

padding:12px;

border-radius:12px;

background:#2B2B2B;

color:white;

cursor:pointer;

transition:.25s;

border:2px solid transparent;

font-size:14px;

font-weight:600;

}

.radio-card input:checked + span{

background:white;

color:#111;

}

/* TOAST */

.toast{
font-family:"Poppins",sans-serif;
position:fixed;

left:50%;

bottom:30px;

transform:translateX(-50%) translateY(120px);

background:#111;

color:white;

padding:14px 24px;

border-radius:14px;

font-weight:600;

box-shadow:0 10px 30px rgba(0,0,0,.25);

opacity:0;

transition:.35s;

pointer-events:none;

z-index:20000;

}

.toast.show{
font-family:"Poppins",sans-serif;
opacity:1;

transform:translateX(-50%) translateY(0);

}

/* MOBILE */

@media(max-width:500px){

.cart-drawer{

width:100%;

right:-100%;

}

.cart-drawer.active{

right:0;

}

.cart-item{

grid-template-columns:70px 1fr auto;

}

.cart-item img{

width:70px;

height:70px;

}

}
