*{
    margin:0;
    font-family: Arial;
    border:border-box;
}

 .navbar{
    height:60px;
    justify-content: space-evenly;
    background-color:#0f1111;
    color: white;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-logo{
    height:50px ;
    width: 100px;

}

.logo{
    background-image: var(--logo-image);
    background-size: cover;
    height: 50px;
    width:100px;
   
}
.border{
    border:1.5px solid transparent;

}
.border:hover{
    border:1.5px solid white;
}

/* box 2 */
.add-first{
    color: #cccccc;
    font-size:0.85rem ;
    margin-left: 15px;
    margin-right: 15px;
}

.add-second {
    font-size:1rem ;
    margin-left: 3px;
    
    
    /* address a link add kardiya hy */
}
.nav-address {
    text-decoration: none;
    color: white;
}

.nav-address:hover {
    border: 1px solid white;
}
/* yaha thak */

.add-icon{
    display: flex;
    align-items: center;
}


 .nav-search{
    display:flex;
    width:620px;
    height:40px;
    border-radius:4px;
    overflow:hidden;
} 
.nav-search:hover{
    border: 2px solid orange

}

.search-select{
    background-color:#f3f3f3;
    width:50px;
    text-align:center;
    border:none;
}

.search-input{
    flex:1;
    font-size:1rem;
    border:none;
    outline:none;
    padding-left:10px;
}

.search-icon{
    width:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    background-color:#febd68;
    color:black;
}

/* Return */
span{
    font-size: 0.7rem;
}
.nav-second{
    font-size:0.85;
}

/* Cart */

.nav-cart i {

    font-size: 30px;
}

.nav-cart  {

    font-size: 0.85rem;
    font-weight: 700;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: #febd68;
    color: #111;
    font-size: 0.75rem;
    font-weight: 700;
}


.panel{
    height:40px;
    background-color:#222f3d;
    display:flex;
    color:white;
    align-items:center;
    justify-content:flex-start;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 1500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
 .panel-option p:hover{
    text-decoration: underline;
}


 .panel-icon{
    display:flex;
    align-items:center;
    gap:3px; /* space between icon and text */
}

/* remove default paragraph margin */
.panel-icon p{
    margin:0;
}
.panel-icon i:hover{
    border:1.5px solid white;
}

.all:hover{
    text-decoration: underline;
}


.panel-deals:hover{
    text-decoration: underline;
    text-underline-offset:3px;
}

.panel-option{
    display:flex;
    margin-left:15px;
}

.panel-option p{
    margin-left:15px;
    font-size:0.85rem;
}

.panel-deals{
    font-size:0.9rem;
    font-weight:700;
    margin-left:auto; /* pushes this to right side */
    margin-right:20px;
}

.panel-all{
    display:flex;
    align-items:center;
}

/* hero section  */
 /* hero section ko limit karo */
.hero-section{
    background-image: var(--hero-section-image);
        background-size: cover;
        background-position: center center;
        height: 800px;
        width: 100vw;
        max-width: 100%;
        margin-left: calc(-50vw + 50%);
        left: 0;
        right: 0;
    position: relative;
    /* margin-bottom: 20px; */
    z-index: 1;
    overflow: hidden;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

/* clickable area strictly hero-section ke andar rahe */
.hero-link{
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    z-index: 2;
}

/* side menu ko hero-link se upar lao */
#overlay{
    z-index: 2000;
}

#sideMenu{
    z-index: 3000;
}

.deals-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    margin: 18px 20px 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #131921, #1f3a5f 55%, #febd68);
    color: white;
}

.deals-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffd9a1;
}

.deals-text {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.88);
}

.deal-timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    gap: 12px;
    min-width: 320px;
}

.deal-timer div {
    padding: 14px 10px;
    border-radius: 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
}

.deal-timer strong {
    display: block;
    font-size: 1.5rem;
}

.deal-timer span {
    font-size: 0.8rem;
}

.deal-ended {
    font-size: 0.95rem;
    color: white;
}

/* Shop section  */
.shop-section{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #f3f3f3;
}

 /* for box 1 */

.box{
    border: 2px solid #ddd;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* .shop-section{
    background-color: gray;
} */

.box-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.item img{
    width: 155px;
    height: 116px;
    object-fit: cover;
}

.item p{
    font-size: 14px;
    margin-top: 5px;
}

.box a{
    display: block;
    margin-top: 15px;
    color: #007185;
    text-decoration: none;
}

 /* For box 2  And 3 */

.box{
    background-color: white;
    height: auto;
    padding: 15px;
}

/* Box title */
.box h2{
    font-size: 21px;
    margin-bottom: 10px;
}

/* 4 images grid */
.box-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Each item image */
.item img{
    width: 100%;
    height: 110px;
    object-fit: cover;
    cursor: pointer;
}

/* Text under image */
.item p{
    font-size: 13px;
    margin-top: 4px;
}

/* Bottom link */
.box a{
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #007185;
    text-decoration: none;
}

.box a:hover{
    color: #c7511f;
    text-decoration: underline;
}

.feature-section {
    margin: 0 20px 20px;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 18px 40px rgba(15, 17, 17, 0.08);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.section-kicker {
    margin-bottom: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #007185;
}

.feature-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-stats span {
    padding: 10px 14px;
    border-radius: 999px;
    background: #eaf3fc;
    color: #1f3a5f;
    font-size: 0.9rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.product-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px rgba(15, 17, 17, 0.1);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
}

.wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 17, 17, 0.14);
}

.wishlist-btn.active {
    color: #c7511f;
}

.product-category {
    color: #007185;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #5f6b7a;
    font-size: 0.88rem;
}

.shop-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    background: #ffd814;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

.shop-btn:hover {
    background: #f7ca00;
}

.search-feedback {
    margin-top: 18px;
    color: #4b5563;
    font-size: 0.95rem;
}
 /* all menu  */
 /* overlay background */
#overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
}

/* side menu panel */
#sideMenu{
    position: fixed;
    top: 0;
    left: -300px; /* hidden */
    width: 300px;
    height: 100%;
    background: white;
    transition: 0.3s;
    overflow-y: auto;
}

/* header */
.menu-header{
    background: #232f3e;
    color: white;
    padding: 15px;
    font-size: 18px;
}

/* close button */
.close-btn{
    float: right;
    font-size: 25px;
    cursor: pointer;
}

/* menu content */
.menu-content{
    padding: 15px;
}

.menu-content p{
    padding: 8px;
    cursor: pointer;
}

.menu-content p:hover{
    background: #f3f3f3;
}
  /* yaha thak  */


/* Related items section  */
.related-section{
    background-color: white;
    margin: 20px;
    padding: 20px;
    border:2px solid gray;
    border-radius: 8px;
    margin-top: 20px; /* Added margin to prevent overlap with navbar */
    margin-bottom: 20px; /* Added margin to prevent overlap with navbar */
}

.related-header{
    display: flex;
    align-items: center;
    gap: 15px;
}

.related-header h2{
    font-size: 22px;
}

.related-header a{
    color: #007185;
    text-decoration: none;
    font-size: 14px;
}

.related-products{
    display: flex;
    overflow-x: auto;
    gap: 20px;
    margin-top: 15px;
}

.related-item{
    min-width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Footer */
footer {
    background-color: #232f3e;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 5px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #3a4553;
    padding-top: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    margin: 0 10px;
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    font-size: 12px;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
    }

    .nav-search {
        width: 100%;
        order: 3;
        margin-top: 10px;
    }

    .nav-address, .nav-sign, .nav-return, .nav-cart {
        display: none;
    }

    .panel {
        height: auto;
        flex-wrap: wrap;
    }

    .panel-option {
        display: none;
    }

    .shop-section {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .deals-banner {
        flex-direction: column;
        align-items: flex-start;
        margin: 16px 10px 0;
        padding: 20px;
    }

    .deal-timer {
        min-width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section {
        height: 300px;
    }

    .feature-section {
        margin: 0 10px 16px;
        padding: 20px;
    }

    .feature-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-container {
        flex-direction: column;
    }

    .related-products {
        flex-wrap: wrap;
    }

    .related-item {
        min-width: 150px;
        height: 150px;
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #232f3e;
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

#back-to-top:hover {
    background-color: #37475a;
}




