/* ===========================
RESET
=========================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:"Montserrat",sans-serif;
background:#f8f8f8;
color:#111;
line-height:1.6;
}

a{
text-decoration:none;
color:inherit;
}

button,
input{
font-family:inherit;
}

/* ===========================
HEADER
=========================== */

header{
height:80px;
background:#fff;
display:flex;
justify-content:center;
align-items:center;
border-bottom:1px solid #e5e5e5;
position:sticky;
top:0;
z-index:1000;
}

header h1{
font-size:30px;
letter-spacing:5px;
font-weight:800;
}

/* ===========================
HERO
=========================== */

.hero{
padding:90px 20px;
text-align:center;
background:#111;
color:#fff;
}

.hero small{
display:block;
letter-spacing:4px;
font-size:12px;
margin-bottom:15px;
}

.hero h2{
font-size:52px;
margin-bottom:20px;
}

.hero p{
max-width:700px;
margin:auto;
color:#ddd;
font-size:17px;
}

/* ===========================
SEARCH
=========================== */

.search-box{
max-width:700px;
margin:-45px auto 60px;
background:#fff;
padding:35px;
border-radius:18px;
box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.search-box form{
display:flex;
gap:15px;
}

.search-box input{
flex:1;
height:60px;
padding:0 20px;
border:1px solid #ddd;
border-radius:12px;
font-size:16px;
}

.search-box input:focus{
outline:none;
border-color:#111;
}

.search-box button{
height:60px;
padding:0 30px;
border:none;
border-radius:12px;
background:#111;
color:#fff;
font-weight:700;
cursor:pointer;
transition:.3s;
}

.search-box button:hover{
background:#000;
}

/* ===========================
CUSTOMER DASHBOARD
=========================== */

.customer-dashboard{
max-width:1200px;
margin:0 auto 50px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
padding:0 20px;
}

.card{
background:#fff;
padding:35px;
border-radius:18px;
box-shadow:0 5px 18px rgba(0,0,0,.05);
}

.card span{
display:block;
font-size:13px;
letter-spacing:2px;
text-transform:uppercase;
color:#777;
margin-bottom:12px;
}

.card h2{
font-size:32px;
}

/* ===========================
SECTION TITLE
=========================== */

.section-title{
text-align:center;
margin-bottom:40px;
}

.section-title h2{
font-size:40px;
margin-bottom:10px;
}

.section-title p{
color:#666;
}

/* ===========================
ORDER LIST
=========================== */

#ordersList{
max-width:1200px;
margin:auto;
padding:0 20px 80px;
display:grid;
gap:20px;
}

.order-card{
background:#fff;
padding:25px;
border-radius:18px;
box-shadow:0 5px 15px rgba(0,0,0,.05);
display:flex;
justify-content:space-between;
align-items:center;
transition:.3s;
}

.order-card:hover{
transform:translateY(-3px);
}

.order-left h3{
font-size:22px;
margin-bottom:10px;
}

.order-left p{
color:#666;
margin:4px 0;
}

.order-right{
text-align:right;
}

.order-total{
font-size:28px;
font-weight:800;
margin-bottom:15px;
}

.view-btn{
padding:12px 22px;
border:none;
border-radius:10px;
background:#111;
color:#fff;
cursor:pointer;
font-weight:700;
transition:.3s;
}

.view-btn:hover{
background:#000;
}

/* ===========================
STATUS BADGES
=========================== */

.badge{
display:inline-block;
padding:8px 16px;
border-radius:40px;
font-size:13px;
font-weight:700;
margin-top:10px;
}

.processing{
background:#fff4d6;
color:#b77900;
}

.packed{
background:#e7f0ff;
color:#1d4ed8;
}

.shipped{
background:#ececec;
color:#444;
}

.delivered{
background:#dcfce7;
color:#15803d;
}

/* ===========================
ORDER DETAILS
=========================== */

#orderDetails{
max-width:1200px;
margin:0 auto 100px;
padding:35px;
background:#fff;
border-radius:20px;
box-shadow:0 8px 25px rgba(0,0,0,.05);
display:none;
}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:900px){

.customer-dashboard{
grid-template-columns:1fr;
}

.search-box form{
flex-direction:column;
}

.order-card{
flex-direction:column;
align-items:flex-start;
gap:20px;
}

.order-right{
text-align:left;
}

.hero h2{
font-size:40px;
}

}

@media(max-width:600px){

.hero{
padding:70px 20px;
}

.hero h2{
font-size:30px;
}

header h1{
font-size:24px;
letter-spacing:3px;
}

.card h2{
font-size:26px;
}

.section-title h2{
font-size:28px;
}

}.archive-btn{

margin-top:10px;
width:100%;
height:45px;
border:none;
border-radius:10px;
background:#e5e5e5;
color:#111;
font-weight:600;
cursor:pointer;
transition:.3s;

}

.archive-btn:hover{

background:#111;
color:#fff;

}/* ===========================
ORDER TABS
=========================== */

.order-tabs{

display:flex;
justify-content:center;
gap:20px;
margin-bottom:35px;
flex-wrap:wrap;

}

.tab-btn{

padding:14px 28px;
border:none;
border-radius:50px;
background:#ececec;
cursor:pointer;
font-weight:700;
transition:.3s;

}

.tab-btn.active{

background:#111;
color:#fff;

}

.tab-btn:hover{

background:#222;
color:#fff;

}/* ===========================
ORDER DETAILS
=========================== */

.order-details{

max-width:1400px;
margin:80px auto;
padding:40px;

}

.order-header{

display:flex;
justify-content:space-between;
align-items:center;
gap:30px;
margin-bottom:40px;
flex-wrap:wrap;

}

.order-header small{

color:#888;
letter-spacing:3px;
font-size:12px;

}

.order-header h2{

font-size:38px;
margin:8px 0;
color:#16a34a;

}

.order-total-box{

background:#111;
color:#fff;
padding:25px 35px;
border-radius:18px;
text-align:center;
min-width:220px;

}

.order-total-box span{

display:block;
font-size:14px;
opacity:.7;
margin-bottom:8px;

}

.order-total-box h2{

font-size:36px;
margin:0;

}

/* ===========================
TRACKING BAR
=========================== */

.tracking-progress{

position:relative;
display:flex;
justify-content:space-between;
margin:60px 0;
padding:0 10px;

}

.progress-line{

position:absolute;
top:25px;
left:0;
width:100%;
height:4px;
background:#ddd;
z-index:1;

}

.step{

position:relative;
z-index:2;
display:flex;
flex-direction:column;
align-items:center;
flex:1;

}

.circle{

width:50px;
height:50px;
border-radius:50%;
background:#ddd;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
transition:.4s;

}

.step.active .circle{

background:#16a34a;
color:white;
transform:scale(1.1);

}

.step span{

margin-top:15px;
font-size:13px;
font-weight:600;

}

/* ===========================
DETAIL CARDS
=========================== */

.details-card{

background:white;
border-radius:25px;
padding:35px;
margin-top:40px;
box-shadow:0 10px 40px rgba(0,0,0,.08);

}

.details-card h3{

margin-bottom:30px;
font-size:28px;

}

.details-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;

}

.details-grid small{

display:block;
color:#888;
margin-bottom:8px;

}

.details-grid p{

font-size:18px;
font-weight:600;

}

/* ===========================
PRODUCT GRID
=========================== */

.products-grid{

display:grid;
grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
gap:30px;

}

.product-card{

background:white;
border-radius:25px;
overflow:hidden;
box-shadow:0 15px 35px rgba(0,0,0,.1);
transition:.35s;

}

.product-card:hover{

transform:translateY(-10px);

}

.product-image{

width:100%;
height:280px;
background:#f5f5f5;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;

}

.product-image img{

width:100%;
height:100%;
object-fit:cover;
transition:.5s;

}

.product-card:hover img{

transform:scale(1.08);

}

.product-info{

padding:25px;

}

.product-info h3{

font-size:22px;
margin-bottom:10px;

}

.product-info p{

margin:8px 0;
color:#555;

}

.product-price{

margin-top:20px;
font-size:28px;
font-weight:700;
color:#16a34a;

}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:768px){

.order-header{

flex-direction:column;
align-items:flex-start;

}

.tracking-progress{

overflow-x:auto;
gap:30px;

}

.progress-line{

display:none;

}

.step{

min-width:90px;

}

.products-grid{

grid-template-columns:1fr;

}

}
.buy-again-btn{

display:block;
width:100%;
margin-top:20px;
padding:15px;
background:black;
color:white;
text-align:center;
text-decoration:none;
border-radius:12px;
font-size:16px;
font-weight:600;
transition:.3s;

}

.buy-again-btn:hover{

background:#16a34a;

}

.buy-again-btn:hover{

background:#16a34a;

}

.product-image img{

cursor:pointer;

}/*=========================
HEADER
=========================*/
.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;
    background:#fff;
    border-bottom:1px solid #eee;
    z-index:9999;
}

.header-container{
    max-width:1400px;
    height:100%;
    margin:auto;
    padding:0 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    text-decoration:none;
    color:#111;
    font-size:30px;
    font-weight:800;
    letter-spacing:4px;
}

.desktop-nav{
    display:flex;
    gap:40px;
}

.desktop-nav a{
    text-decoration:none;
    color:#111;
    font-weight:600;
}

.desktop-nav a:hover{
    color:#666;
}

.header-icons{
    display:flex;
    gap:25px;
}

.header-icons a{
    color:#111;
    text-decoration:none;
    font-size:20px;
    position:relative;
}

.icon-badge span{
    position:absolute;
    top:-8px;
    right:-10px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#111;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:700;
}

.mobile-bottom-nav{
    display:none;
}

@media(max-width:768px){

body{
    padding-bottom:80px;
}

.desktop-nav{
    display:none;
}

.header-container{
    padding:0 20px;
}

.logo{
    font-size:24px;
}

.mobile-bottom-nav{

    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:65px;
    background:#fff;

    display:flex;
    justify-content:space-around;
    align-items:center;

    border-top:1px solid #eee;

    box-shadow:0 -4px 18px rgba(0,0,0,.08);

    z-index:9999;

}

.mobile-bottom-nav a{

    width:45px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;
    color:#666;

    font-size:20px;

    border-radius:50%;

    transition:.3s;

    position:relative;

}

.mobile-bottom-nav a.active{

    background:#111;
    color:#fff;

}

.mobile-bottom-nav span{

    position:absolute;

    top:-6px;
    right:-6px;

    width:18px;
    height:18px;

    background:#111;
    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:10px;

}
}/* ===========================
IMAGE POPUP
=========================== */

.image-popup{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.9);
display:none;
justify-content:center;
align-items:center;
z-index:99999;
padding:20px;

}

.image-popup.active{

display:flex;

}

.image-popup img{

max-width:90%;
max-height:90%;
border-radius:20px;
animation:zoomIn .3s ease;

}

.close-popup{

position:absolute;
top:25px;
right:35px;
font-size:45px;
color:white;
cursor:pointer;
font-weight:bold;
transition:.3s;
line-height:1;

}

.close-popup:hover{

transform:rotate(90deg);
color:#16a34a;

}

@keyframes zoomIn{

from{

transform:scale(.7);
opacity:0;

}

to{

transform:scale(1);
opacity:1;

}

}