/* ==========================================================
   GLOBAL STYLES
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f5f5;
    overflow-x:hidden;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* ==========================================================
   HEADER
========================================================== */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    padding:18px 40px;
    background:#ffffff;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

nav a{
    color:#ff6b00;
    text-decoration:none;
    margin-left:20px;
    transition:.3s;
}

nav a:hover{
    color:#e63946;
}

/* ==========================================================
   ADMIN PANEL
========================================================== */

.admin-container{
    display:flex;
    min-height:100vh;
    background:#f5f5f5;
}

.sidebar{
    width:260px;
    background:#ff6b00;
    color:white;
    padding:25px;
    flex-shrink:0;
}

.logo-area{
    text-align:center;
    margin-bottom:30px;
}

.logo-area h2{
    margin-top:10px;
    margin-bottom:5px;
}

.logo-area p{
    font-size:14px;
    opacity:.9;
}

.sidebar ul{
    list-style:none;
    padding:0;
    margin:0;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px){

header{
    padding:18px 20px;
}

}

@media (max-width:768px){

header{
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:15px;
    gap:15px;
}

.sidebar{
    width:220px;
}

}

@media (max-width:576px){

header{
    padding:12px;
}

.sidebar{
    width:200px;
    padding:18px;
}

.logo-area h2{
    font-size:20px;
}

.logo-area p{
    font-size:12px;
}

}
/* ==========================================================
   SIDEBAR LINKS
========================================================== */

.sidebar li{
    margin:18px 0;
}

.sidebar a{
    color:#ffffff;
    text-decoration:none;
    font-size:18px;
    display:block;
    padding:10px 15px;
    border-radius:8px;
    transition:.3s;
}

.sidebar a:hover{
    background:#ffffff;
    color:#ff6b00;
}


/* ==========================================================
   HERO SECTION
========================================================== */

.hero{
    position:relative;
    min-height:520px;
    background:#ffffff;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    overflow:hidden;
    padding:60px 20px;
}

.hero::before{

    content:"";

    position:absolute;

    width:700px;
    height:700px;

    background:url("images/logo.png") no-repeat center;
    background-size:contain;

    opacity:.07;
    filter:blur(2px);

    z-index:0;

}

.hero-content{

    position:relative;
    z-index:2;
    max-width:900px;

}

.hero h1{

    font-size:60px;
    color:#222;
    margin-bottom:20px;
    line-height:1.2;

}

.hero p{

    font-size:24px;
    color:#e63946;
    font-weight:bold;
    margin-bottom:15px;

}

.hero-text{

    display:block;
    color:#555;
    font-size:18px;
    line-height:1.8;
    margin-bottom:40px;

}

.hero-buttons{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;

}

.shop-btn{

    background:#e63946;
    color:#ffffff;
    text-decoration:none;
    padding:15px 35px;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;

}

.shop-btn:hover{

    background:#222;

}


/* ==========================================================
   RESPONSIVE HERO
========================================================== */

@media (max-width:992px){

.hero{

    min-height:450px;

}

.hero h1{

    font-size:48px;

}

.hero p{

    font-size:22px;

}

.hero-text{

    font-size:17px;

}

}

@media (max-width:768px){

.hero{

    min-height:auto;
    padding:50px 20px;

}

.hero::before{

    width:450px;
    height:450px;

}

.hero h1{

    font-size:36px;

}

.hero p{

    font-size:18px;

}

.hero-text{

    font-size:15px;
    margin-bottom:30px;

}

.hero-buttons{

    flex-direction:column;
    gap:15px;

}

.shop-btn{

    width:100%;
    max-width:280px;

}

}

@media (max-width:480px){

.hero{

    padding:40px 15px;

}

.hero h1{

    font-size:30px;

}

.hero p{

    font-size:16px;

}

.hero-text{

    font-size:14px;

}

.hero::before{

    width:320px;
    height:320px;

}

.shop-btn{

    padding:14px 20px;

}

}
/* ==========================================================
   HERO BUTTONS
========================================================== */

.shop-btn:hover{
    background:#222;
}

.view-btn{
    background:#ffffff;
    color:#222;
    border:2px solid #e63946;
    text-decoration:none;
    padding:15px 35px;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.view-btn:hover{
    background:#e63946;
    color:#ffffff;
}


/* ==========================================================
   PRODUCTS SECTION
========================================================== */

.products{
    padding:50px 20px;
}

.products h2{
    text-align:center;
    margin-bottom:40px;
    color:#222;
}

.product-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.product-card{
    width:100%;
    background:#ffffff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
    display:flex;
    flex-direction:column;
    text-align:center;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card img{
    width:100%;
    height:230px;
    object-fit:contain;
    padding:15px;
}

.product-card h3{
    color:#222;
    font-size:20px;
    margin:10px 15px;
}

.price{
    color:#ff6b00;
    font-size:22px;
    font-weight:bold;
    margin-bottom:15px;
}

.product-card button{
    background:#ff6b00;
    color:#ffffff;
    border:none;
    padding:12px 20px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.product-card button:hover{
    background:#222;
}


/* ==========================================================
   OLD CARD STYLE
========================================================== */

.card img{
    width:100%;
}

.card h3{
    margin:15px 0;
}

.card p{
    font-size:20px;
    color:#ff6b00;
    margin-bottom:15px;
}

.card button{
    padding:12px 25px;
    background:#2563eb;
    color:#ffffff;
    border:none;
    cursor:pointer;
    border-radius:5px;
}


/* ==========================================================
   FOOTER
========================================================== */

footer{
    background:#0f172a;
    color:#ffffff;
    text-align:center;
    padding:35px 20px;
    margin-top:50px;
}


/* ==========================================================
   SEARCH BOX
========================================================== */

.search-box{
    display:flex;
    align-items:center;
    width:100%;
    max-width:500px;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px){

.product-container{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

}

@media (max-width:768px){

.products{
    padding:35px 15px;
}

.product-container{
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.product-card img{
    height:180px;
}

.product-card h3{
    font-size:16px;
}

.price{
    font-size:18px;
}

.product-card button{
    padding:10px;
    font-size:14px;
}

}

@media (max-width:480px){

.product-container{
    grid-template-columns:1fr;
}

.product-card img{
    height:200px;
}

}
/* ==========================================================
   SEARCH BAR
========================================================== */

.search-box{
    display:flex;
    align-items:center;
    width:100%;
    max-width:500px;
}

.search-box input{
    flex:1;
    min-width:0;
    padding:12px 18px;
    border:2px solid #e63946;
    border-right:none;
    border-radius:30px 0 0 30px;
    outline:none;
    font-size:15px;
}

.search-box button{
    padding:12px 20px;
    background:#e63946;
    color:#fff;
    border:none;
    border-radius:0 30px 30px 0;
    cursor:pointer;
    font-weight:bold;
    white-space:nowrap;
    transition:.3s;
}

.search-box button:hover{
    background:#222;
}


/* ==========================================================
   LOGO
========================================================== */

.logo p{
    margin-top:6px;
    color:#777;
    font-size:13px;
    font-weight:600;
}


/* ==========================================================
   MENU
========================================================== */

.menu{
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:30px;
    padding:15px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    position:sticky;
    top:88px;
    z-index:999;
}

.menu a{
    text-decoration:none;
    color:#222;
    font-weight:bold;
    transition:.3s;
    padding:6px 0;
}

.menu a:hover{
    color:#e63946;
    border-bottom:3px solid #e63946;
}


/* ==========================================================
   RIGHT HEADER
========================================================== */

.right-header{
    display:flex;
    align-items:center;
    gap:25px;
}

.contact{
    text-align:right;
    font-size:13px;
    line-height:1.8;
    color:#555;
}

.header-icons{
    display:flex;
    align-items:center;
    gap:18px;
}

.header-icons a{
    text-decoration:none;
    color:#222;
    font-weight:bold;
    padding:8px 12px;
    border-radius:8px;
    transition:.3s;
}

.header-icons a:hover{
    background:#e63946;
    color:#fff;
}


/* ==========================================================
   LOGIN
========================================================== */

.login-container{
    width:400px;
    max-width:95%;
    margin:50px auto;
    background:#fff;
    padding:35px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
    text-align:center;
}

.login-container img{
    margin-bottom:15px;
}

.login-container h2{
    color:#ff6b00;
    margin-bottom:25px;
}

.login-container input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
}

.login-container input:focus{
    border:2px solid #ff6b00;
    outline:none;
}

.login-container button{
    width:100%;
    padding:13px;
    margin-top:15px;
    background:#ff6b00;
    color:#fff;
    border:none;
    border-radius:8px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.login-container button:hover{
    background:#222;
}

.login-container a{
    color:#ff6b00;
    text-decoration:none;
    font-weight:bold;
}

.login-container a:hover{
    text-decoration:underline;
}


/* ==========================================================
   PRODUCT CONTENT
========================================================== */

.category-title{
    text-align:center;
    font-size:32px;
    color:#ff6b00;
    margin:40px 0 30px;
    font-weight:bold;
}

.description{
    font-size:14px;
    color:#555;
    line-height:1.6;
    padding:0 15px;
    margin:10px 0;
    text-align:center;
    min-height:50px;
}

.product-buttons{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:auto;
    padding:15px;
}


/* ==========================================================
   BUTTONS
========================================================== */

.wishlist-btn{
    background:#fff;
    color:#ff6b00;
    border:2px solid #ff6b00;
    padding:10px 15px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.cart-btn{
    background:#ff6b00;
    color:#fff;
    border:none;
    padding:10px 15px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.wishlist-btn:hover{
    background:#ff6b00;
    color:#fff;
}

.cart-btn:hover{
    background:#222;
}


/* ==========================================================
   BADGES
========================================================== */

.new-badge{
    background:#ff6b00;
    color:#fff;
    padding:5px 10px;
    border-radius:5px;
    font-size:12px;
    font-weight:bold;
    display:inline-block;
    margin:10px;
}

.out-stock-badge{
    position:absolute;
    top:10px;
    left:10px;
    background:red;
    color:#fff;
    padding:5px 10px;
    border-radius:5px;
    font-size:12px;
    font-weight:bold;
}


/* ==========================================================
   PRODUCT DETAILS
========================================================== */

.back-btn{
    display:inline-block;
    margin:30px;
    padding:12px 25px;
    background:#ff6b00;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}

.back-btn:hover{
    background:#222;
}

.product-details{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:60px;
    padding:60px;
    background:#fff;
    margin:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.product-image img{
    width:320px;
    max-width:100%;
    height:auto;
}

.product-info{
    max-width:500px;
}

.product-info h1{
    color:#222;
    margin-bottom:15px;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:768px){

.menu{
    position:relative;
    top:0;
    gap:15px;
}

.right-header{
    flex-direction:column;
    gap:15px;
}

.contact{
    text-align:center;
}

.header-icons{
    justify-content:center;
    flex-wrap:wrap;
}

.search-box{
    max-width:100%;
}

.product-details{
    flex-direction:column;
    gap:30px;
    margin:20px;
    padding:30px 20px;
}

.product-buttons{
    flex-direction:column;
}

.wishlist-btn,
.cart-btn{
    width:100%;
}

.category-title{
    font-size:26px;
}

.login-container{
    padding:25px;
}

}
/* ==========================================================
   PRODUCT DETAILS
========================================================== */

.product-info h3{
    margin-top:25px;
    color:#ff6b00;
}

.back-btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 25px;
    background:#ff6b00;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.back-btn:hover{
    background:#222;
}

.product-image{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
}

.product-image img{
    width:320px;
    max-width:100%;
    height:auto;
    border-radius:10px;
}

.second-image{
    width:220px;
    max-width:100%;
    border:2px solid #ddd;
    padding:10px;
    border-radius:10px;
    transition:.3s;
}

.second-image:hover{
    transform:scale(1.05);
    border-color:#ff6b00;
}

.specifications{
    margin-top:20px;
    list-style:none;
    padding:0;
    line-height:2;
}

.specifications li{
    font-size:16px;
    color:#333;
}


/* ==========================================================
   PRODUCT CARDS
========================================================== */

.product-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    align-items:stretch;
}

.product-card{
    width:100%;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
    display:flex;
    flex-direction:column;
    text-align:center;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.product-card h3{
    margin:15px 10px;
    color:#222;
    font-size:20px;
}


/* ==========================================================
   WHY CHOOSE INTER MART
========================================================== */

.why-us{
    background:#f8f9fa;
    padding:70px 20px;
    text-align:center;
}

.why-us h2{
    font-size:38px;
    color:#222;
    margin-bottom:50px;
}

.why-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.why-card{
    background:#fff;
    padding:30px 20px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.why-card:hover{
    transform:translateY(-8px);
}

.icon{
    font-size:50px;
    margin-bottom:15px;
}

.why-card h3{
    color:#e63946;
    margin-bottom:10px;
}

.why-card p{
    color:#666;
    line-height:1.7;
}


/* ==========================================================
   FOOTER
========================================================== */

.footer{
    background:#222;
    color:#fff;
    padding:50px 20px 20px;
    margin-top:60px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:35px;
}

.footer-section h3{
    color:#e63946;
    margin-bottom:20px;
}

.footer-section p{
    margin:10px 0;
    color:#ddd;
    line-height:1.7;
}

.footer-section a{
    color:#ddd;
    text-decoration:none;
    transition:.3s;
}

.footer-section a:hover{
    color:#ff6b00;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:768px){

.product-container{
    grid-template-columns:repeat(2,1fr);
}

.product-card img{
    height:180px;
}

.product-card h3{
    font-size:17px;
}

.product-image img{
    width:250px;
}

.second-image{
    width:180px;
}

.why-us h2{
    font-size:30px;
}

.footer{
    text-align:center;
}

.footer-container{
    grid-template-columns:1fr;
}

}

@media (max-width:480px){

.product-container{
    grid-template-columns:1fr;
}

.product-card img{
    height:200px;
}

.product-image img{
    width:220px;
}

.second-image{
    width:160px;
}

.why-us{
    padding:50px 15px;
}

.why-us h2{
    font-size:26px;
}

}
/* ==========================================================
   FOOTER LINKS
========================================================== */

.footer-section a:hover{
    color:#e63946;
}

.footer hr{
    margin:35px 0 20px;
    border:1px solid #444;
}

.copyright{
    text-align:center;
    color:#aaa;
    font-size:14px;
    line-height:1.6;
}


/* ==========================================================
   SHOP BY CATEGORIES
========================================================== */

.categories{
    padding:70px 20px;
    background:#fff;
    text-align:center;
}

.categories h2{
    font-size:38px;
    color:#222;
    margin-bottom:50px;
}

.category-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.category-card{
    background:#f8f9fa;
    padding:35px 20px;
    border-radius:15px;
    text-decoration:none;
    color:#222;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.category-card:hover{
    background:#e63946;
    color:#fff;
    transform:translateY(-8px);
}

.category-card i,
.category-card svg{
    font-size:50px;
}

.category-card h3{
    margin-top:20px;
    font-size:22px;
}


/* ==========================================================
   ANNOUNCEMENT BAR
========================================================== */

.announcement{
    background:#f8f9fa;
    border-top:1px solid #ddd;
    border-bottom:1px solid #ddd;
    padding:10px;
    color:#222;
    font-weight:bold;
    font-size:14px;
    text-align:center;
}


/* ==========================================================
   PRODUCT BADGE
========================================================== */

.product-card{
    position:relative;
}

.new-badge{
    position:absolute;
    top:12px;
    left:12px;
    background:linear-gradient(135deg,#ff6b00,#ff3b30);
    color:#fff;
    font-size:11px;
    font-weight:700;
    padding:6px 12px;
    border-radius:20px;
    text-transform:uppercase;
    letter-spacing:1px;
    box-shadow:0 4px 10px rgba(0,0,0,.2);
    z-index:10;
}


/* ==========================================================
   SHOPPING CART
========================================================== */

.cart-page{
    width:95%;
    max-width:1100px;
    margin:50px auto;
}

#cart-items{
    background:#fff;
    border-radius:15px;
    padding:30px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    min-height:200px;
}

.cart-total{
    margin-top:30px;
    text-align:right;
}

.cart-total h3{
    font-size:30px;
    color:#ff6b00;
}

.checkout-btn{
    margin-top:25px;
    text-align:right;
}

.checkout-btn button{
    background:#25D366;
    color:#fff;
    border:none;
    padding:15px 35px;
    font-size:18px;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.checkout-btn button:hover{
    background:#128C7E;
}


/* ==========================================================
   FORMS
========================================================== */

textarea{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
    resize:vertical;
    font-family:Arial,sans-serif;
}

.login-container{
    max-width:420px;
    width:95%;
    margin:50px auto;
    padding:30px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 0 15px rgba(0,0,0,.15);
    text-align:center;
}

.login-container input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
}

.login-container button{
    width:100%;
    padding:12px;
    margin-top:10px;
    background:#ff6600;
    color:#fff;
    border:none;
    border-radius:6px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.login-container button:hover{
    background:#e65c00;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:768px){

.categories h2{
    font-size:30px;
}

.category-container{
    grid-template-columns:repeat(2,1fr);
}

.category-card{
    padding:25px 15px;
}

.category-card h3{
    font-size:18px;
}

.cart-total,
.checkout-btn{
    text-align:center;
}

.checkout-btn button{
    width:100%;
}

}

@media (max-width:480px){

.category-container{
    grid-template-columns:1fr;
}

.categories{
    padding:50px 15px;
}

.categories h2{
    font-size:26px;
}

.cart-page{
    width:100%;
    padding:10px;
}

#cart-items{
    padding:20px;
}

.cart-total h3{
    font-size:24px;
}

.checkout-btn button{
    font-size:16px;
    padding:14px;
}

}
/* ==========================================================
   CUSTOMER DASHBOARD
========================================================== */

.dashboard-container{
    width:95%;
    max-width:500px;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 0 15px rgba(0,0,0,.15);
    text-align:center;
}

.dashboard-menu{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:30px;
}

.dashboard-menu a{
    background:#ff6600;
    color:#fff;
    padding:15px;
    text-decoration:none;
    border-radius:8px;
    font-size:18px;
    font-weight:bold;
    transition:.3s;
}

.dashboard-menu a:hover{
    background:#e65c00;
}

.profile-card{
    text-align:left;
    background:#f8f8f8;
    padding:20px;
    border-radius:10px;
    margin-top:20px;
}

.profile-card p{
    margin:8px 0;
    font-size:17px;
    line-height:1.6;
}


/* ==========================================================
   SHOPPING CART
========================================================== */

.cart-product{
    display:flex;
    align-items:center;
    gap:20px;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    margin-bottom:15px;
    background:#fff;
}

.cart-image{
    width:90px;
    height:90px;
    object-fit:contain;
    border-radius:8px;
    flex-shrink:0;
}

.cart-details{
    flex:1;
}

.cart-details h3{
    margin-bottom:8px;
    font-size:20px;
    color:#222;
}

.cart-details p{
    margin:5px 0;
    color:#555;
}

.cart-total{
    text-align:right;
    margin-top:20px;
    font-size:22px;
    font-weight:bold;
    color:#ff6600;
}

.checkout-btn{
    text-align:right;
    margin-top:20px;
}

.checkout-btn button{
    padding:12px 25px;
    font-size:18px;
    background:#ff6600;
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.checkout-btn button:hover{
    background:#e65c00;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:768px){

.dashboard-container{
    padding:20px;
}

.dashboard-menu a{
    font-size:16px;
    padding:14px;
}

.profile-card p{
    font-size:15px;
}

.cart-product{
    flex-direction:column;
    text-align:center;
}

.cart-image{
    width:120px;
    height:120px;
}

.cart-details h3{
    font-size:18px;
}

.cart-total{
    text-align:center;
    font-size:20px;
}

.checkout-btn{
    text-align:center;
}

.checkout-btn button{
    width:100%;
}

}

@media (max-width:480px){

.dashboard-container{
    margin:20px auto;
    padding:15px;
}

.dashboard-menu a{
    font-size:15px;
}

.cart-image{
    width:100px;
    height:100px;
}

.cart-details h3{
    font-size:16px;
}

.cart-total{
    font-size:18px;
}

.checkout-btn button{
    font-size:16px;
    padding:12px;
}

}
/* ==========================================================
   CHECKOUT PAGE
========================================================== */

.checkout-container{
    width:95%;
    max-width:500px;
    margin:40px auto;
    padding:30px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.12);
}

.checkout-container input,
.checkout-container textarea{
    width:100%;
    padding:12px;
    margin:10px 0;
    font-size:16px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
    transition:.3s;
}

.checkout-container input:focus,
.checkout-container textarea:focus{
    border:2px solid #ff6600;
}

.checkout-container button{
    width:100%;
    padding:15px;
    margin-top:15px;
    font-size:18px;
    font-weight:bold;
    background:#ff6600;
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.checkout-container button:hover{
    background:#e65c00;
}


/* ==========================================================
   ADMIN MAIN CONTENT
========================================================== */

.main-content{
    flex:1;
    padding:40px;
}

.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:35px;
}

.top-bar h1{
    font-size:32px;
    color:#333;
}

.admin-profile{
    background:#fff;
    padding:12px 20px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
    font-weight:bold;
}


/* ==========================================================
   DASHBOARD CARDS
========================================================== */

.dashboard-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:35px;
}

.dashboard-card{
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
    text-align:center;
    transition:.3s;
}

.dashboard-card:hover{
    transform:translateY(-5px);
}

.dashboard-card h3{
    color:#666;
    margin-bottom:15px;
    font-size:18px;
}

.dashboard-card h2{
    color:#ff6600;
    font-size:34px;
}


/* ==========================================================
   WELCOME BOX
========================================================== */

.welcome-box{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
    margin-bottom:30px;
}

.welcome-box h2{
    color:#ff6600;
    margin-bottom:15px;
}

.quick-actions{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px){

.dashboard-cards{
    grid-template-columns:repeat(2,1fr);
}

.main-content{
    padding:25px;
}

}

@media (max-width:768px){

.checkout-container{
    padding:20px;
}

.top-bar{
    flex-direction:column;
    align-items:flex-start;
}

.top-bar h1{
    font-size:28px;
}

.dashboard-cards{
    grid-template-columns:1fr;
}

.dashboard-card{
    padding:20px;
}

.dashboard-card h2{
    font-size:30px;
}

.welcome-box,
.quick-actions{
    padding:20px;
}

}

@media (max-width:480px){

.checkout-container{
    width:100%;
    margin:20px auto;
    padding:15px;
}

.checkout-container button{
    font-size:16px;
}

.main-content{
    padding:15px;
}

.top-bar h1{
    font-size:24px;
}

.dashboard-card h3{
    font-size:16px;
}

.dashboard-card h2{
    font-size:26px;
}

}
.quick-actions{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    margin-top:20px;
}

.action-btn{
    background:#ff6b00;
    color:#fff;
    padding:15px 25px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.action-btn:hover{
    background:#e65c00;
    transform:translateY(-3px);
}

.status-badge{
    background:#ffc107;
    color:#000;
    padding:6px 12px;
    border-radius:20px;
    font-weight:bold;
}

.deliver-btn,
.accept-btn,
.delete-btn{
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.deliver-btn{
    background:#28a745;
}

.deliver-btn:hover{
    background:#218838;
}

.accept-btn{
    background:#007bff;
}

.accept-btn:hover{
    background:#0056b3;
}

.delete-btn{
    background:#dc3545;
}

.delete-btn:hover{
    background:#c82333;
}

/* Review */

.review-form{
    margin:20px 0;
}

.review-form input,
.review-form select,
.review-form textarea{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border:1px solid #ddd;
    border-radius:8px;
}

.review-form button{
    background:#ff7a00;
    color:#fff;
    border:none;
    padding:12px 20px;
    border-radius:8px;
    cursor:pointer;
}

/* Categories */

.categories-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    padding:30px;
}

.category-card{
    background:#fff;
    border-radius:12px;
    padding:30px;
    text-align:center;
    text-decoration:none;
    color:#000;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
    transition:.3s;
    font-size:40px;
}

.category-card:hover{
    transform:translateY(-5px);
    background:#fff7e6;
}

.category-card h3{
    margin-top:15px;
    font-size:20px;
}

/* Deals */

.deals-section{
    text-align:center;
    padding:50px 20px;
}

.deals-section h1{
    color:#ff6600;
    font-size:40px;
    margin-bottom:30px;
}

.no-deals-box{
    max-width:700px;
    margin:auto;
    background:#fff;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
}

.no-deals-box h2{
    font-size:32px;
    margin-bottom:15px;
}

.no-deals-box p{
    font-size:18px;
    color:#666;
    margin-bottom:30px;
}

.continue-shopping-btn{
    display:inline-block;
    background:#ff6600;
    color:#fff;
    padding:12px 25px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
}

.continue-shopping-btn:hover{
    background:#e65c00;
}

/* Contact */

.contact-section{
    text-align:center;
    padding:50px 20px;
}

.contact-section h1{
    color:#ff6600;
    font-size:40px;
    margin-bottom:30px;
}

.contact-box,
.contact-form{
    max-width:700px;
    margin:30px auto;
    background:#fff;
    padding:35px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
}

.contact-box p{
    font-size:18px;
    margin:10px 0;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:8px;
}

.contact-form h2{
    margin-bottom:20px;
}

.whatsapp-btn{
    display:inline-block;
    margin-top:20px;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    padding:15px 30px;
    border-radius:8px;
    font-weight:bold;
}

.whatsapp-btn:hover{
    background:#1ebc59;
}

/* Social */

.social-links{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:15px;
}

.social-links a{
    display:flex;
    align-items:center;
    gap:12px;
    color:#ddd;
    text-decoration:none;
    transition:.3s;
}

.social-links a i{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    color:#fff;
}

.social-links a:nth-child(1) i{
    background:#E4405F;
}

.social-links a:nth-child(2) i{
    background:#1877F2;
}

.social-links a:nth-child(3) i{
    background:#25D366;
}

/* Mobile */

@media (max-width:768px){

.categories-grid{
    grid-template-columns:1fr;
}

.category-card{
    font-size:32px;
}

.deals-section h1,
.contact-section h1{
    font-size:30px;
}

.contact-box,
.contact-form,
.no-deals-box{
    padding:20px;
}

.quick-actions{
    flex-direction:column;
}

.action-btn{
    width:100%;
    text-align:center;
}

}
.social-links a:nth-child(2) i{
    background:#1877F2;
}

.social-links a:nth-child(3) i{
    background:#25D366;
}

.social-links a:hover{
    color:#ff9800;
    transform:translateX(6px);
}

/* Coupon */

.cart-summary{
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.coupon-input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
}

.apply-coupon-btn{
    width:100%;
    padding:12px;
    background:#ff6600;
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
}

.apply-coupon-btn:hover{
    background:#e65c00;
}

#couponMessage{
    margin-top:10px;
    font-weight:bold;
}

#discountRow{
    color:green;
}

/* Invoice */

.invoice-container{
    max-width:850px;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 0 15px rgba(0,0,0,.15);
}

.invoice-header{
    text-align:center;
}

.invoice-header h2{
    color:#ff6600;
}

.invoice-table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

.invoice-table th,
.invoice-table td{
    border:1px solid #ddd;
    padding:10px;
    text-align:center;
}

.invoice-table th{
    background:#ff6600;
    color:#fff;
}

.invoice-buttons{
    text-align:center;
    margin-top:25px;
}

.invoice-buttons button{
    padding:12px 25px;
    margin:10px;
    background:#ff6600;
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

.invoice-buttons button:hover{
    background:#e65c00;
}

/* ===============================
   FINAL MOBILE RESPONSIVE
================================*/

@media (max-width:768px){

/* Header */

header{
    flex-direction:column;
    padding:15px;
    gap:15px;
}

/* Logo */
.logo{
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.logo img{
    width:140px;
    height:auto;
    display:block;
    margin:0 auto;
}

.logo p{
    margin-top:8px;
    font-size:12px;
    text-align:center;
}

.search-box{
    width:100%;
    max-width:100%;
}

.search-box input{
    font-size:14px;
}

.search-box button{
    padding:10px 15px;
}

.right-header{
    width:100%;
    flex-direction:column;
    gap:10px;
}

.contact{
    text-align:center;
}

.header-icons{
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
}

.header-icons a{
    font-size:13px;
    padding:8px 10px;
}

/* Menu */

.menu{
    position:relative;
    top:auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    padding:10px;
}

.menu a{
    margin:0;
    font-size:14px;
}

/* Hero */

.hero{
    height:auto;
    padding:60px 20px;
}

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:18px;
}

.hero-text{
    font-size:15px;
}

/* Products */

.product-container{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.product-card{
    width:100%;
}

.product-card img{
    height:140px;
}

.product-card h3{
    font-size:14px;
}

.price{
    font-size:16px;
}

.description{
    font-size:12px;
    min-height:auto;
}

.product-buttons{
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:10px;
}

.product-buttons button{
    width:100%;
    font-size:12px;
    padding:8px;
}

/* Why Choose Inter Mart */

.why-container{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.why-card{
    width:100%;
    padding:20px 12px;
}

.icon{
    font-size:36px;
}

.why-card h3{
    font-size:16px;
}

.why-card p{
    font-size:13px;
}

/* Categories */

.category-container{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.category-card{
    width:100%;
}

/* Product Details */

.product-details{
    flex-direction:column;
    margin:15px;
    padding:20px;
}

.product-image img{
    width:100%;
    max-width:280px;
}

/* Dashboard */

.dashboard-cards{
    grid-template-columns:1fr;
}

/* Footer */

.footer-container{
    flex-direction:column;
    text-align:center;
}

/* Forms */

.invoice-container,
.checkout-container,
.login-container,
.contact-form,
.contact-box{
    width:95%;
    margin:20px auto;
    padding:20px;
}

.invoice-table{
    display:block;
    overflow-x:auto;
}

}