/*==================================
RESET
===================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Poppins",sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#222;
    overflow-x:hidden;
    padding-top:130px;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    display:block;
    max-width:100%;
}

/*==================================
TOP BAR
===================================*/

.top-bar{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:40px;

    background:#111;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 5%;

    z-index:10000;

}

.left-top,
.center-top,
.right-top{

    display:flex;
    align-items:center;
    gap:20px;

}

.top-bar a{

    color:#fff;
    font-size:13px;

}

.center-top{

    flex:1;
    justify-content:center;

}

.center-top marquee{

    width:100%;

}

/*==================================
HEADER
===================================*/

.header{

    position:fixed;

    top:40px;
    left:0;

    width:100%;
    height:85px;

    background:#fff;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 5%;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    z-index:9999;

}

.logo h1{

    color:#ff6b00;
    font-size:32px;
    font-weight:800;

}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo picture {
    display: block;
    width: 140px;
    height: 70px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-icons{

    display:flex;
    align-items:center;
    gap:18px;

}

.header-icons a{

    font-size:22px;
    color:#222;
    transition:.3s;

}

.header-icons a:hover{

    color:#ff6b00;

}

/*==================================
SEARCH BOX
===================================*/
.search-box{

    position:relative;
    width:360px;

}

.search-box i{

    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    color:#ff6b00;
    font-size:20px;
    z-index:2;

}

.search-box input{

    width:100%;
    height:48px;

    padding-left:52px;

    border:none;
    outline:none;

    background:#f5f5f5;

    border-radius:50px;

    font-size:15px;

    box-shadow:none;

}

.search-box input:focus{

    outline:none;
    border:none;
    box-shadow:none;

}

.search-results{

    position:absolute;

    top:55px;

    left:0;

    width:100%;

    background:#fff;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

    display:none;

    max-height:350px;

    overflow-y:auto;

    z-index:99999;

}

.search-item{

    display:flex;

    align-items:center;

    gap:12px;

    padding:12px 15px;

    cursor:pointer;

    transition:.3s;

}

.search-item:hover{

    background:#f8f8f8;

}

.search-item img{

    width:50px;

    height:50px;

    object-fit:cover;

    border-radius:10px;

}

.search-item span{

    font-size:14px;

    font-weight:600;

}

/*==================================
NAVBAR
===================================*/

.navbar{

    position:fixed;

    top:125px;

    left:0;

    width:100%;

    background:#fff;

    border-top:1px solid #eee;

    border-bottom:1px solid #eee;

    z-index:9998;

}

.navbar ul{

    display:flex;

    justify-content:center;

    align-items:center;

    list-style:none;

    gap:35px;

    height:55px;

}

.navbar ul li a{

    font-size:15px;

    font-weight:600;

    transition:.3s;

}

.navbar ul li a:hover{

    color:#ff6b00;

}

.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 36px;
    margin: 0 !important;
}
#cartCount {
    position: absolute;
    top: -5px;
    right: -9px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff3b30;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
#cartCount[hidden] { display: none !important; }

/*==================================
FOOTER
===================================*/

.footer{

    background:#111;

    color:#ddd;

    margin-top:80px;

}

.footer-container{

    max-width:1400px;

    margin:auto;

    padding:60px 40px;

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr 2fr;

    gap:40px;

}

.footer h2{

    color:#fff;

    font-size:32px;

    margin-bottom:20px;

}

.footer h3{

    color:#fff;

    margin-bottom:20px;

    font-size:18px;

}

.footer p{

    line-height:1.8;

    font-size:15px;

    color:#bbb;

}

.footer-links{

    display:flex;

    flex-direction:column;

}

.footer-links a{

    color:#bbb;

    margin-bottom:12px;

    transition:.3s;

}

.footer-links a:hover{

    color:#ff6b00;

    padding-left:6px;

}

.footer-newsletter p{

    margin-bottom:20px;

}

.footer-newsletter form{

    display:flex;

    margin-bottom:25px;

}

.footer-newsletter input{

    flex:1;

    height:48px;

    border:none;

    outline:none;

    padding:0 15px;

    border-radius:50px 0 0 50px;

}

.footer-newsletter button{

    border:none;

    padding:0 25px;

    background:#ff6b00;

    color:#fff;

    cursor:pointer;

    border-radius:0 50px 50px 0;

    font-weight:600;

    transition:.3s;

}

.footer-newsletter button:hover{

    background:#ff8124;

}

.social-icons{

    display:flex;

    gap:15px;

}

.social-icons a{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#222;

    color:#fff;

    transition:.3s;

}

.social-icons a:hover{

    background:#ff6b00;

}

/*==================================
FOOTER INFO
===================================*/

.footer-info{

    max-width:1400px;

    margin:auto;

    padding:50px 40px;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-info h3{

    color:#fff;

    margin-bottom:18px;

    margin-top:25px;

    font-size:22px;

}

.footer-info p{

    color:#bfbfbf;

    font-size:15px;

    line-height:1.9;

    margin-bottom:25px;

}

/*==================================
PAYMENT & DELIVERY
===================================*/

.footer-extra{

    max-width:1400px;

    margin:auto;

    padding:30px 40px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:30px;

    border-top:1px solid rgba(255,255,255,.08);

}

.payment-icons,

.delivery-icons{

    display:flex;

    align-items:center;

    gap:15px;

}

.payment-icons img,

.delivery-icons img{

    height:35px;

    background:#fff;

    padding:5px;

    border-radius:8px;

}

/*==================================
FOOTER BOTTOM
===================================*/

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    padding:25px 40px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

}

.footer-bottom p{

    color:#aaa;

    font-size:14px;

}

.footer-bottom a{

    color:#aaa;

    margin:0 10px;

    transition:.3s;

}

.footer-bottom a:hover{

    color:#ff6b00;

}

/*==================================
RESPONSIVE
===================================*/

@media(max-width:1200px){

    .footer-container{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-newsletter form{

        flex-direction:column;

        gap:12px;

    }

    .footer-newsletter input{

        border-radius:50px;

    }

    .footer-newsletter button{

        border-radius:50px;

        height:48px;

    }

    .social-icons{

        justify-content:center;

    }

    .footer-bottom{

        flex-direction:column;

        text-align:center;

    }

    .footer-extra{

        flex-direction:column;

        text-align:center;

    }

}