*{
    margin: 0;
    font-family: Arial;
   box-sizing: border-box;

}
.navbar{
    height: 60px;
    background-color: #0f1111;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly ;
}
.navbar-logo{
    height: 50px;
    width: 125px;
}
.logo{
    background-image: url("amazon_logo.png");
height: 50px;
width:100%;
background-size: cover;
}
.border{
    border: 2px solid transparent;
}
.border:hover{
   border:2px solid white;
}
.navbar-logo,
.nav-addreaa,
.search-icon,
.nav-signin,
.nav-return,
.nav-cart,
.panel-All,
.panel-ops p,
.box {
    cursor: pointer;
}
.add-icon{
    display: flex;
    align-items: center;
}
.address{
    color: #CCCCCC;
    font-size: .85rem ;
    margin-left: 15px;
}
.location{
   font-size: 1rem;
   margin-left: 3px;
}
.nav-search{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(255, 222, 6);
    width: 620px;
    height: 40px;
    border-radius: 4px;
}
.nav-search:focus-within {
    outline: 3px solid #f08804;
}
.seacrh-select{
    background-color: #f3f3f3;
    width: 50px;
    height: 40px;
    text-align: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border: none;
}
.search-input{
    height: 40px; ;
    width: 100%;
    font-size: 1rem;
    border: none;
}
.search-icon{
width: 45px;
display: flex;
height:45px ;
justify-content: center;
align-items: center;
font-size: 1.25rem;
background-color: rgb(255, 191, 0);
}

span{
    font-size: 0.75rem;
}
.nav-signin a {
    color: white;
    text-decoration: none;
}
.nav-acc{
    font-size: .85rem;
    font-weight: 700;
}
.nav-cart i {
    font-size: 30px;

}
.nav-cart{
    font-size: 0.85rem;
font-weight: 700;
    position: relative;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background-color: #f08804;
    color: #0f1111;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.panel  {
    height: 39px;
    color: white;
    background-color: #222f3d;
    display: flex;
    align-items: center;
    justify-content:space-evenly;
    
    
}
.panel-ops p  {
 margin-left: 20px;
    display: inline;
}
.panel-ops{
    width: 95%;
    font-size: .85rem;
}
.main{
    background-image: url("hero_image.jpg");
    min-height: 380px;
    background-size:cover;
    background-position: center;
}
.shop-section{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-evenly;
    background-color: #e2e7e6;
    padding: 15px 0 24px;
}
.box{
    height: 400px;
    
   width: 23%;
background-color: white;
   padding: 20px 0px 15px ;
   margin-top: 0;
}
.box-img{
    height: 350px;
background-size: cover;
margin-top: 1rem;
margin-bottom: 1rem;

}
.box-content{
    margin-left: 16px;
    margin-right: 16px;
}
.box-content p {
    color: #007185;
    font-weight: 700;
}
.box-content p:hover {
    color: #c7511f;
    text-decoration: underline;
}
.app-message {
    padding: 12px 24px;
    background-color: #fff3cd;
    color: #3b2d00;
    text-align: center;
    font-size: 0.95rem;
    border-bottom: 1px solid #f3d177;
}
.hide-box {
    display: none;
}
.selected-menu {
    color: #f08804;
    font-weight: 700;
}
.cart-panel {
    display: none;
    padding: 20px 24px;
    background-color: white;
    border-top: 1px solid #ddd;
}
.cart-panel.show-cart {
    display: block;
}
.cart-panel h3 {
    margin-bottom: 8px;
}
.cart-text {
    color: #333;
    margin-bottom: 12px;
}
.checkout-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    background-color: #ffd814;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}
.checkout-btn:hover {
    background-color: #f7ca00;
}

@media (max-width: 900px) {
    .navbar {
        height: auto;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px;
    }

    .nav-search {
        order: 5;
        width: 100%;
    }

    .panel {
        height: auto;
        padding: 8px;
        align-items: flex-start;
    }

    .panel-ops {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .panel-ops p {
        margin-left: 0;
    }

    .box {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .navbar-logo {
        width: 110px;
    }

    .nav-addreaa {
        display: none;
    }

    .main {
        min-height: 260px;
    }

    .box {
        width: 92%;
    }
}
