body{
font-family: Arial, sans-serif;
background:rgb(255, 255, 255);
background-size:cover;
background-position:center;
margin:0;
padding:0;
min-height:100vh;
display:flex;
flex-direction:column;
}

/* Headings */
h1{
text-align:center;
}

/* Navbar */
.navbar{
padding:10px 0;
display:flex;
justify-content:center;
align-items:center;
}

.logo{
display:flex;
justify-content:center;
align-items:center;
gap:5px;
}

.emblem{
height:105px;
width:auto;
}

.store-logo{
height:105px;
width:auto;
}

/* Hero Section */
.hero{
min-height:70vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:40px;
}

.hero h1{
font-size:50px;
}

.hero p{
font-size:20px;
color:#555;
}

.hero-btn{
display:inline-block;
margin-top:20px;
padding:14px 30px;
background:#222;
color:white;
text-decoration:none;
border-radius:8px;
font-weight:bold;
}

/* Product Cards */
.container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
    width:90%;
    margin:40px auto;
}

.card{
    width:320px;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.35s ease;

    display:flex;
    flex-direction:column;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}


.card img{
    width:100%;
    height:420px;
    object-fit:FILL;
    display:block;
}

.card-content{
    display:flex;
    flex-direction:column;
    flex:1;

    padding:22px;
}
.card-content p{
    margin:8px 0;
}

.card-content button{
    margin-top:auto;
    width:100%;
    padding:12px;
    background:#222;
    color:white;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
    transition:0.3s;
}

.card-content button:hover{
    background:#eaff01;
    color:black;
}

.price{
    font-size:30px;
    font-weight:bold;
    color:#111;
    margin-bottom:15px;
}   
.card-content h3{
    font-size:28px;
    margin:0 0 15px;
    color:#222;
    min-height:70px;
}

.card-content p{
    margin:6px 0;
    color:#666;
    line-height:1.6;
}

.card-content b{
    color:#222;
}
.card button{
width:100%;
margin-top:15px;
padding:12px;


background:#222;
color:white;

border:none;
border-radius:8px;

font-size:16px;
font-weight:bold;

cursor:pointer;
transition:0.3s;


}

.card button:hover




.btn{
display:inline-block;
margin-top:10px;
padding:10px 15px;
background:#25D366;
color:white;
text-decoration:none;
border-radius:5px;
}

/* Search & Filters */
.filters{
text-align:center;
margin:20px 0;
}

.filters a{
text-decoration:none;
padding:8px 15px;
background:#333;
color:white;
border-radius:5px;
margin-right:8px;
}

form{
text-align:center;
margin-bottom:20px;
}

input[type="text"]{
padding:10px;
width:300px;
}

button{
padding:10px 15px;
cursor:pointer;
}

/* Dashboard */
.dashboard-container{
width:90%;
margin:40px auto;
}

.dashboard-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:30px;
}

.dashboard-header h1{
margin:0;
}

.add-btn{
background:#28a745;
color:white;
text-decoration:none;
padding:12px 20px;
border-radius:8px;
font-weight:bold;
}

.dashboard-table{
width:100%;
border-collapse:collapse;
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-table th{
background:#222;
color:white;
padding:15px;
}

.dashboard-table td{
padding:15px;
border-bottom:1px solid #ddd;
}

.dashboard-table tr:hover{
    background:#f5f5f5;
}

.edit-btn{
background:#007bff;
color:white;
text-decoration:none;
padding:8px 12px;
border-radius:5px;
margin-right:5px;
}

.delete-btn{
background:#dc3545;
color:white;
text-decoration:none;
padding:8px 12px;
border-radius:5px;
}

/* Forms */
.form-container{
width:600px;
margin:40px auto;
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.form-container h1{
margin-bottom:25px;
}

.form-container label{
display:block;
margin-top:15px;
margin-bottom:5px;
font-weight:bold;
}

.form-container input,
.form-container textarea{
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:5px;
box-sizing:border-box;
}

.form-container button{
width:100%;
margin-top:20px;
padding:12px;
background:#28a745;
color:white;
border:none;
border-radius:5px;
cursor:pointer;
}

.back-btn{
text-decoration:none;
color:#007bff;
}

.preview-image{
width:180px;
height:180px;
object-fit:contain;
border-radius:8px;
border:1px solid #ddd;
}

textarea{
resize:none;
}

/* Contact */
.contact-container{
flex:1;
width:80%;
margin:40px auto;
}

.contact-card{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.contact-card h3{
margin-top:20px;
}

/* Login */
.login-container{
display:flex;
justify-content:center;
align-items:center;
min-height:100vh;
}

.login-box{
width:400px;
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 2px 15px rgba(0,0,0,0.1);
}

.login-box h1{
margin-bottom:25px;
}

.login-box label{
display:block;
margin-top:15px;
margin-bottom:5px;
font-weight:bold;
}

.login-box input{
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:5px;
box-sizing:border-box;
}

.login-box button{
width:100%;
margin-top:20px;
padding:12px;
background:#222;
color:white;
border:none;
border-radius:5px;
cursor:pointer;
}

.login-box button:hover{
opacity:0.9;
}

.footer{
    margin-top:50px;
    padding:20px;
    background:#222;
    color:white;
    text-align:center;
}

.footer-links a{
    color:white;
    text-decoration:none;
    margin:0 10px;
}

.footer-links a:hover{
    text-decoration:underline;
}
.categories{
    padding:60px 20px;
    text-align:center;
}

.categories h2{
    font-size:36px;
    margin-bottom:30px;
}

.category-boxes{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

.category-boxes a{
    width:220px;
    padding:30px 20px;
    
    background:white;
    text-decoration:none;
    color:#222;

    font-weight:bold;
    font-size:18px;

    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    transition:0.3s;
}

.category-boxes a:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}
.featured-collection{
width:90%;
margin:80px auto;


display:flex;
align-items:center;
justify-content:space-between;
gap:50px;

background:white;
padding:40px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);


}

.collection-image{
flex:1;
}

.collection-image img{
width:100%;
height:550px;
object-fit:fill;
border-radius:15px;
transition:opacity .8s ease;
}


.collection-content{
flex:1;
}

.collection-content h2{
font-size:42px;
margin-bottom:20px;
}

.collection-content p{
  font-size:18px;
  line-height:1.8;
  color:#555;
  margin-bottom:30px;
}

.collection-btn{
display:inline-block;
padding:14px 30px;
background:#222;
color:white;
text-decoration:none;
border-radius:8px;
font-weight:bold;
transition:0.3s;
}

/* product added page */

.success-container{
display:flex;
justify-content:center;
align-items:center;
min-height:100vh;
background:#f5f5f5;
}

.success-box{
width:450px;
background:white;
padding:40px;
border-radius:15px;
text-align:center;
box-shadow:0 8px 25px rgba(0,0,0,0.12);
}

.success-icon{
width:80px;
height:80px;
margin:0 auto 20px;
border-radius:50%;
background:#28a745;
color:white;
font-size:45px;
display:flex;
justify-content:center;
align-items:center;
}

.success-box h1{
color:#28a745;
margin-bottom:15px;
}

.success-box p{
color:#666;
margin-bottom:30px;
}

.success-btn{
display:inline-block;
padding:12px 25px;
margin:8px;
background:#28a745;
color:white;
text-decoration:none;
border-radius:8px;
font-weight:bold;
transition:.3s;
}

.success-btn:hover

.success-btn.secondary{
background:#007bff;
}

/*footer*/
.admin-footer{
margin-top:20px;
}

.admin-btn{
display:inline-block;
padding:10px 22px;
background:#444;
color:white;
text-decoration:none;
border-radius:8px;
font-size:14px;
transition:0.3s;
}

/* invalid login */
.error-message{
background:#fdecea;
color:#d32f2f;
border:1px solid #f5c2c7;
padding:12px;
border-radius:6px;
margin-top:15px;
margin-bottom:15px;
text-align:center;
font-weight:bold;
}

/*detailpage*/

.product-page{
width:90%;
max-width:1200px;
margin:50px auto;
background:white;
border-radius:20px;
display:flex;
gap:50px;
padding:40px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.product-image{
flex:1;
}

.product-image img{
width:100%;
height:600px;
object-fit:contain;
border-radius:15px;
transition:0.4s;
cursor:pointer;
}

.product-image img:hover{
transform:scale(1.05);
}

.product-info{
flex:1;
display:flex;
flex-direction:column;
justify-content:center;
}

.category-badge{
display:inline-block;
width:max-content;
background:#f4bf00;
color:white;
padding:8px 18px;
border-radius:30px;
font-size:14px;
font-weight:bold;
margin-bottom:15px;
}

.product-info h1{
font-size:42px;
margin:10px 0;
color:#222;
}

.product-price{
font-size:36px;
color:#28a745;
font-weight:bold;
margin:20px 0;
}

.product-description{
color:#555;
line-height:1.8;
font-size:17px;
}

.whatsapp-btn{
display:inline-block;
margin-top:30px;
width:fit-content;
padding:15px 30px;
background:#25D366;
color:white;
text-decoration:none;
border-radius:10px;
font-size:18px;
font-weight:bold;
transition:0.3s;
}

.whatsapp-btn:hover{
background:#1da851;
transform:translateY(-3px);
}

.back-btn{
margin-top:20px;
display:inline-block;
color:#333;
text-decoration:none;
font-weight:bold;
}

.back-btn{
    margin-top:20px;
    display:inline-block;
    color:#333;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.back-btn:hover{
    color:#f4bf00;
}

@media (max-width:768px){

    .product-page{
        flex-direction:column;
        padding:25px;
    }

    .product-image img{
        height:400px;
    }

    .product-info h1{
        font-size:32px;
    }

    .product-price{
        font-size:30px;
    }

}

.search-form{
width:100%;
display:flex;
justify-content:center;
align-items:center;
gap:12px;
margin:35px auto;
}

.search-form input{
width:420px;
max-width:80%;
padding:14px 20px;
font-size:16px;
border:2px solid #ddd;
border-radius:40px;
outline:none;
transition:0.3s;
background:white;
}

.search-form input:focus{
border-color:#f4bf00;
box-shadow:0 0 10px rgba(244,191,0,0.3);
}

.search-form button{
padding:14px 28px;
background:#f4bf00;
color:white;
border:none;
border-radius:40px;
font-size:16px;
font-weight:bold;
cursor:pointer;
transition:0.3s;
}

.search-form button:hover{
background:#d9a700;
transform:translateY(-2px);
box-shadow:0 6px 15px rgba(0,0,0,0.15);
}

.image-zoom{
    width:100%;
    height:600px;
    overflow:hidden;
    border-radius:15px;
    cursor:zoom-in;
}

.image-zoom img{
    width:100%;
    height:100%;
    object-fit:contain;

    transform-origin:center center;
    transition:transform .15s ease-out;
}

/* Full Screen Image Preview */

.image-modal{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.9);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.image-modal img{
    max-width:100vw;
    max-height:100vh;
    object-fit:contain;
}

.close-preview{
    position:absolute;
    top:25px;
    right:40px;
    color:white;
    font-size:45px;
    cursor:pointer;
    font-weight:bold;
}

.image-modal.show{
    display:flex;
}