body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(27, 99, 27);
    padding: 14px 25px;
    border-radius: 10px;
    margin-top: 20px;
    width: 94%;
    margin-left: 1.2%;
    height: 30px;
}

.search{
    width: 600px;
    border-radius: 20px;
    height: 34px;
    margin-left: -30px;
  
}
input[type="search"] {
    width: 80%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="search"]:focus {
    border-color: #111f0c;
    box-shadow: 0 0 8px rgba(250, 15, 15, 0.3);
    outline: none;
}
.logo>img{
    width: 130px;
    height: 50px;
    margin-top: 6px;
    border-radius: 5px;
    background: transparent;
}



.navbar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-links li {
    margin: 0 10px;
    margin-right: 50px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    display: block;
}

.navbar-links a:hover {
    background-color: rgb(89, 161, 40);
    border-radius: 4px;
}
#cart-icon{
    font-size: 25px;
}
.cart-icon{
    font-size: 25px;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #971808;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(228, 12, 174, 0.2);
    z-index: 1;
    right: 0;
    font-weight: bold;
    text-align: center;
  border-radius: 8px;
}

.dropdown-content a {
    color: rgb(131, 6, 6);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgb(9, 141, 9);
}

.dropdown:hover .dropdown-content {
    display: block;
    color: blue;
}

.dropbtn::after {
    content: ' ▼';
}
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(136, 133, 133);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.cartcon{
    width: 40%;
    height: auto;
    background-color: #971808;
    color: #333;
}
.sub-navbar {
    background-color: #969090;
    padding: 10px 20px;
    box-shadow: 0px 2px 4px rgba(238, 231, 231, 0.1);
    font-size: 16px;
    font-weight: bold;
    margin-top: 2px;
    width: 94.3%;
    margin-left: 1.3%;
    border-radius: 10px;
}
.sub-navbar>img{
    height: 60px;
    width: 60px;
    position: absolute;
    padding: 0;
} 
.sub-navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.sub-navbar ul li {
    position: relative;
}
.sub-navbar ul li>img {
    height: 100px;
    width: 100px;
    margin-left: 10px;
}
.sub-navbar ul li a {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

.sub-navbar ul li a:hover {
    background-color: #726f6f;
    border-radius: 4px;
}

.sub-navbar .dropdown-content {
    background-color: white;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 0;
    top: 100%;
}

.sub-navbar .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.sub-navbar .dropdown-content a:hover {
    background-color: #6b6464;
}

.sub-navbar .dropdown:hover .dropdown-content {
    display: block;
}

.shop{
    margin-top: rem;
    text-align: center;
}
.shop-content{
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 2rem;
    padding: 3rem;
}
.product-box{
    position: relative;
    display: flexbox;
    border: solid rgb(119, 118, 118)  2px;
}
.product-box:hover{
     padding: 2px;
     border: 1px solid var(--text-color);
     transition: 10sec;
}
.product-img{
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    border-style: solid rgb(68, 15, 15);
}
.product-title{
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
    color: rgb(15, 15, 14);
    margin-left: 5px;
}
.price{
    font-weight: 800;
    margin-top: -8px;
    text-transform: uppercase;
    position: absolute;
  color: #971808;
  margin-left: 7px;
}

.add-cart{
    position: relative;
    bottom: 0;
    right: 0;
    background-color: orange;
    color: var(--text-color);
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 800;
    border:2px solid black ;
    height: 15px;
    width: 5.6rem;
    font-size: 14px;
    margin-top: 5px;
}
.add-cart:hover{
    background-color: rgb(209, 88, 8);
    color: #f1f1f1;
}
.add-cart{
    position: relative;
    bottom: 0;
    right: 0;
    background-color: orange;
    color: var(--text-color);
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 800;
    border:2px solid black ;
    height: 15px;
    width: 5.6rem;
    font-size: 14px;
    margin-top: 5px;
}
#buy{
    position: relative;
    bottom: 0;
    left: 0;
    background-color: orange;
    color: var(--text-color);
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 800;
    width: 6rem;
    height: 38px;
    text-align: center;
    font-size: 12px;
    margin-left: -00.0px;
    margin-top: 20px;
}

#buy:hover{
    background-color: rgb(209, 88, 8);
    color: #f1f1f1;
}
.footer{
    position: relative;
    height: 19rem;
    width: 98%;
    background-color: #333;
    margin-left: 1%;
    border-radius: 10px;
    margin-bottom: 50px;
    display: flex;
    align-items: center; 
    justify-content: flex-start; 
    padding-left: rem; 
    color: rgb(162, 173, 173);
    border: 3px solid rgb(47, 33, 59);
}
.about-us{
    height: 14rem;
    width: 11rem;
    border: solid rgb(190, 174, 174) 0.4px;
    margin-left:2rem;
    text-align: center;
    border-radius: 8px;
    list-style: none;
    margin-top: -20px ;

}
.about-us li a {
    text-decoration: none;
    
}
.about-us h6{
    padding: 0;
}
.locat{
    height:10px;
    width: 10px;
    margin-right:;
    color: rgb(44, 33, 33);
}

#vertical {
    width: 0; 
    height: 17rem; 
    border-left: solid rgb(190, 183, 183) 0.4px;
    margin-left: 2rem; 
}


.contact-form h3 {
    margin-bottom: 12px;
    font-size: 1.5em;
    color: white;
    margin-left: 2rem; 
}

.contact-form label {
    display: block;
    margin-bottom: 3px;
    font-size: 1em;
    color: white;
    margin-left: 3rem; 
}

.contact-form input {
    width: 15rem;
    height: 2.3rem;
    margin-bottom: 15px;
    margin-left: 3rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
.contact-form textarea {
    width: 15rem;
    height: 3.8rem;
    margin-bottom: 15px;
    margin-top: -2px;
    margin-left: 3rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
input[type="text"] {
    width: 80%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus {
    border-color: #ff9800;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
    outline: none;
}
textarea[type="text"] {
    width: 80%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

textarea[type="text"]:focus {
    border-color: #ff9800;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
    outline: none;
}
.submit{
    background-color: #164d6d;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
    height: 42px;
    width: 100px;
   margin-top: 14.5rem;
    margin-left: 1rem;
}

.submit.button:hover {
    background-color: #2980b9;
}
.socil{
    background-color: #313131;
    height: 50px;
    width: 98%;
    margin-left: 1%;
    border-radius: 6px;
    margin-bottom: 20px;
    margin-top: -48px;
    border: 3px solid rgb(11, 10, 12);
}
.socialapk img{
    height: 40px;
    width: 40px;
    margin-left: 20px;
    margin-top: 5px;
align-items: center;
}
h6{
    font-size: 12px;
    text-align: left;
    margin-left: 25px;
    color: #ddd;
    margin-bottom:10px;
}
p{
    font-size: 20px;
    color: white;
}
.ycart{
    text-align: center;
}

.cart-container {
    width: 300px;
    height: 1500rem;
    background: rgb(133, 128, 128);
    position: fixed;
    top: 20px;
    right: -345px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(14, 3, 3, 0.5);
    z-index: 1000;
    padding: 20px;
    border-radius: 10px;
    scroll-behavior: smooth;
}

.cart-container.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-cart {
    cursor: pointer;
    font-size: 24px;
}
.cart-box {
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 2rem;
}
.cart-img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    padding: 10px;
}
.detail-box{
    display: grid;
    row-gap: 0.5rem;
}
.cart-product-title{
    font-size: 14px;
    font-weight: bold;
    margin-top: -10px;
}
.cart-quantity{
    border: 1px solid black;
    outline-color: #971808;
    width: 2.4rem;
    text-align: center;
    font-size: 1rem;
}
.cart-price{
    font-size: 18px;
    font-weight: 500;
}
.cart-remove{
    cursor: pointer;
    margin-left: -28px;
    font-size: 2rem;
    font-weight: bold;
    color: #971808;
}
.cart-remove:hover{
    color: crimson;
}

.total{
    display: flex;
    margin-top: 1rem;
    border-top: 2px solid brown;
}
.total-title{
    font-size: 1rem;
    font-weight: bold;
}
.total-price{
    font-size: 1rem;
    font-weight: bold;
    margin-left: 0.5rem;
    color: #2c054d;
}
.btn-buy{
    margin-top: 2rem;
    margin-left: 50px;
    height: 40px;
    width: 100px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #971808;
    background-color: chartreuse;
}
.btn-buy:hover{
    background-color: #971808;
    color: #f1f1f1;
}

@media (max-width: 1080px ){
    .navbar{
        padding: 15px;

    }
    section{
        padding: 3rem 0 2rem;

    }
    .container{
        margin: 0 auto;
        width: 90%;
    }
    .shop{
        margin-top: 2rem !important;
    }

}
