


hero
/* ==========================
   GLOBAL SETTINGS
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}


body{

    background:#000;

    color:#735C06;

}


/* container */

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}


/* links */

a{

    text-decoration:none;
    color:#735C06;

}



/* ==========================
   BUTTONS
========================== */


.main-btn,
button{

    display:inline-block;

    background-color:hsl(51, 89%, 42%);

    color:#000;

    padding:12px 25px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-weight:bold;

    transition:0.3s;

}



.main-btn:hover,
button:hover{

    opacity:0.8;

    transform:translateY(-3px);

}




/* ==========================
   HERO SECTION
========================== */


.hero{

    min-height:40vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    background:

    linear-gradient(
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.7)
    ),

    url("../images/hero.jpg");

    background-size:cover;

    background-position:center;


}



.hero-content h1{


    font-size:50px;

    margin-bottom:20px;

     color: hsl(51, 89%, 42%) !important;


}



.hero-content p{


    font-size:20px;

    margin-bottom:30px;
     color: hsl(51, 87%, 37%)!important; 

}



/* ==========================
 SEARCH
========================== */


.search-section{

    padding:50px 0;

}



.search-section form{


    display:flex;

    gap:10px;

}



.search-section input{


    flex:1;

    padding:15px;

    background:#111;

    border:1px solid #735C06;

    color: hsl(51, 89%, 42%) !important;

    border-radius:8px;


}
.search-section input::placeholder{
    color: hsl(51, 89%, 42%);
    opacity: 1; /* kugira ngo ibara rigaragare neza */
}



/* ==========================
 TITLES
========================== */


.section-title{


    text-align:center;

    font-size:32px;

    margin:40px 0;

    color: hsl(51, 87%, 37%)!important; 


}




/* ==========================
 CATEGORIES
========================== */


.category-grid{


    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));

    gap:25px;


}



.category-card{


    background:#111;

    padding:30px;

    text-align:center;

    border-radius:10px;

    border:1px solid #735C06;

    transition:.3s;


}



.category-card i{


    font-size:40px;

    color:hsl(51,89%,42%);

}


.category-card h3{



    color:hsl(51,89%,42%);

}



.category-card:hover{


    transform:translateY(-5px);

}



/* ==========================
 PRODUCTS
========================== */


.products-section{


    padding:40px 0;


}

.category_name{
    color:hsl(51,89%,42%);  
}

.product-grid{


    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;


}



.product-card{


    background:#111;

    border-radius:10px;

    overflow:hidden;

    border:1px solid #735C06;


}



.product-image img{


    width:100%;

    height:250px;

    object-fit:cover;


}



.product-info{


    padding:20px;


}



.product-info h3{


    margin-bottom:15px;
    color:hsl(51,89%,42%);

}
.description{
   color:hsl(51,89%,42%); 
}


.price{


    font-size:25px;

    color:hsl(51,89%,42%);

    margin-bottom:15px;


}





/* ==========================
 NEWSLETTER
========================== */


.newsletter{


    background:#111;

    padding:60px 0;

    text-align:center;

    margin-top:50px;


}



.newsletter input{


    padding:15px;

    width:300px;

    max-width:90%;

    background:#000;

    border:1px solid #735C06;

    color:white;

    border-radius:8px;


}




/* ==========================
 ABOUT
========================== */


.about-section{


    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

    padding:50px 0;


}



.about-box{


    background:#111;

    padding:30px;

    border-radius:10px;

    border:1px solid #735C06;


}



/* ==========================
 FOOTER
========================== */


footer{


    background:#050505;

    padding:30px;

    text-align:center;

    margin-top:50px;


}



/* ==========================
 RESPONSIVE
========================== */


@media(max-width:768px){


.hero-content h1{

    font-size:35px;

}


.search-section form{

    flex-direction:column;

}


}
/* PRODUCT DETAILS */

.product-details{

display:flex;

gap:40px;

align-items:flex-start;

margin:50px 0;

flex-wrap:wrap;

}

.product-image-large{

flex:1;

min-width:300px;

}

.product-image-large img{

width:100%;

border-radius:12px;

}

.product-content{

flex:1;

min-width:300px;

}

.product-content h1{

margin-bottom:15px;

}

.product-content p{

margin:10px 0;

}

.product-content .price{

font-size:30px;

color:hsl(51,89%,42%);

margin:20px 0;

}

@media(max-width:768px){

.product-details{

flex-direction:column;

}

}

/* ==========================
 NAVBAR MARKET
========================== */


.navbar-market{

    background:#050505;

    border-bottom:1px solid hsl(51,89%,42%);

    padding:15px 5%;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

}



.menu-market{

    display:flex;

    align-items:center;

    gap:30px;

}



.menu-market a{


    color:hsl(51,89%,42%);

    font-size:17px;

    font-weight:bold;

    display:flex;

    align-items:center;

    gap:8px;

    transition:0.3s;


}



.menu-market a i{


    font-size:22px;

    color:hsl(51,89%,42%);


}



.menu-market a:hover{


    color:white;

    transform:translateY(-3px);


}



.menu-market a:hover i{


    color:white;


}



/* mobile button */


.menu-btn{


    display:none;

    background:hsl(51,89%,42%);

    color:#000;

    font-size:25px;

    padding:8px 15px;

    border-radius:8px;

}




/* ==========================
 MOBILE NAVBAR
========================== */


@media(max-width:768px){



.navbar-market{


    justify-content:flex-end;


}



.menu-market{


    display:none;

    position:absolute;

    top:70px;

    left:0;

    width:100%;

    background:#050505;

    border-top:1px solid hsl(51,89%,42%);

    flex-direction:column;

    padding:20px;

    z-index:999;


}



.menu-market.active{


    display:flex;


}



.menu-market a{


    width:100%;

    justify-content:center;

    padding:12px;

    border-bottom:1px solid #222;


}



.menu-btn{


    display:block;


}



}


.cart-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.cart-card{
    border:1px solid #ddd;
    border-radius:10px;
    padding:20px;
    background:#fff;
}
@media (max-width:768px){

    .cart-grid{
        grid-template-columns:1fr;
    }

}
.checkout-box{

max-width:600px;

margin:30px auto;

background:#111;

padding:30px;

border:1px solid hsl(51,89%,42%);

border-radius:10px;

}

.checkout-box h2,
.checkout-box h3{

text-align:center;

margin-bottom:20px;

color:hsl(51,89%,42%);

}

.checkout-box p{

display:flex;

justify-content:space-between;

margin:10px 0;

}

.checkout-box select{

width:100%;

padding:12px;

margin-top:10px;

background:#000;

color:hsl(51,89%,42%);

border:1px solid hsl(51,89%,42%);

border-radius:8px;

}
.checkout-btn{

    display:block;

    width:max-content;

    margin:20px auto;

    background:hsl(51,89%,42%);

    color:#000;

    padding:12px 30px;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

}


.checkout-btn:hover{

    opacity:.8;

    transform:translateY(-3px);

}
.orders-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}


.order-card{

    background:#111;

    border:1px solid hsl(51,89%,42%);

    padding:20px;

    border-radius:10px;

    text-align:center;

}


.order-card h3{

    color:hsl(51,89%,42%);

    margin-bottom:15px;

}


.order-card p{

    margin:10px 0;

}


.status{

    color:hsl(51,89%,42%);

    font-weight:bold;

}



@media(max-width:768px){

    .orders-grid{

        grid-template-columns:1fr;

    }

}
.order-details{

    background:#111;

    border:1px solid hsl(51,89%,42%);

    padding:30px;

    border-radius:10px;

}


.order-product{

    text-align:center;

    border-bottom:1px solid #333;

    padding:20px;

}


.order-product img{

    width:100px;

    height:100px;

    object-fit:cover;

    border-radius:8px;

}


.order-details h2{

    text-align:center;

    color:hsl(51,89%,42%);

    margin-top:20px;

}
.admin-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-top:40px;

}


.admin-card{

    background:#111;

    border:1px solid hsl(51,89%,42%);

    padding:30px;

    border-radius:10px;

    text-align:center;

}


.admin-card h2{

    color:hsl(51,89%,42%);

    margin-bottom:15px;

}


.admin-card:hover{

    transform:translateY(-5px);

}



@media(max-width:768px){

    .admin-grid{

        grid-template-columns:1fr;

    }

}
/* ==========================
   ADMIN NAVBAR
========================== */

/* ==========================
   AUTH FORMS
========================== */


form{

    margin-top:20px;

}


form label{

    color:hsl(51,89%,42%);

    font-weight:bold;

    display:block;

    margin-bottom:8px;

}



.form-control{

    background:#111 !important;

    color:white !important;

    border:1px solid hsl(51,89%,42%) !important;

    border-radius:8px !important;

    padding:12px !important;

}



.form-control:focus{

    background:#000 !important;

    color:white !important;

    border-color:hsl(51,89%,42%) !important;

    box-shadow:0 0 8px hsl(51,89%,42%) !important;

}



.alert{

    border-radius:8px;

    margin-bottom:20px;

}


.alert-danger{

    background:#200;

    color:#ff9999;

    border:1px solid #900;

}



.alert-success{

    background:#021;

    color:#b6ffb6;

    border:1px solid hsl(51,89%,42%);

}
@media(max-width:768px){

    .menu-market{
        display:none;
    }

    .menu-market.active{
        display:flex;
        flex-direction:column;
    }

    .menu-btn{
        display:block;
    }

}



.admin-stats{
    display:grid;
    grid-template-columns:repeat(20,1fr);
    gap:20px;
    margin-bottom:30px;
}

.stat-card{
    background:#111;
    border:1px solid hsl(51,89%,42%);
    border-radius:10px;
    padding:20px;
    text-align:center;
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-5px);
    box-shadow:0 5px 15px rgba(0,0,0,.4);
}

.stat-card h2{
    margin:0;
    font-size:32px;
    color:hsl(51,89%,42%);
    font-weight:bold;
}

.stat-card p{
    margin-top:10px;
    color:hsl(51,89%,42%);
    font-size:16px;
    font-weight:600;
}

/* Row 1 */
.admin-stats .stat-card:nth-child(1),
.admin-stats .stat-card:nth-child(2),
.admin-stats .stat-card:nth-child(3),
.admin-stats .stat-card:nth-child(4){
    grid-column:span 5;
}

/* Row 2 */
.admin-stats .stat-card:nth-child(5),
.admin-stats .stat-card:nth-child(6),
.admin-stats .stat-card:nth-child(7),
.admin-stats .stat-card:nth-child(8),
.admin-stats .stat-card:nth-child(9){
    grid-column:span 4;
}

/* Row 3 */
.admin-stats .stat-card:nth-child(10){
    grid-column:7 / span 8;
}

/* Tablet */
@media(max-width:992px){
    .admin-stats{
        grid-template-columns:repeat(2,1fr);
    }

    .admin-stats .stat-card{
        grid-column:auto !important;
    }
}

/* Phone */
@media(max-width:768px){
    .admin-stats{
        grid-template-columns:1fr;
    }

    .admin-stats .stat-card{
        grid-column:auto !important;
    }
}


.user-welcome{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    text-align:center;
    margin:20px 0;

    color:hsl(51,89%,42%);
    font-size:28px;
    font-weight:bold;
}

.user-welcome i{
    color:hsl(51,89%,42%);
    font-size:34px;
}

.user-welcome span{
    color:hsl(51,89%,42%);
}
.notification-toast-container{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:9999;
}


.notification-toast{

    background:white;
    width:320px;
    padding:15px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.25);

    display:flex;
    gap:15px;
    align-items:center;

    animation:slideIn .4s ease;

    margin-top:10px;
}


.notification-toast i{

    font-size:30px;
    color:#f1c40f;

}


.notification-toast h5{

    margin:0;
    font-size:17px;

}


.notification-toast p{

    margin:5px 0 0;

    font-size:14px;

}


@keyframes slideIn{

from{

transform:translateX(400px);

opacity:0;

}

to{

transform:translateX(0);

opacity:1;

}

}