* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.logo {
    margin-right: 10px;
}

.logo img {
    height: 35px;
    width: auto;
}

.cate-search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc; 
    border-radius: 4px;
    height: 40px;
}

.select-category {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.select-category select {
    border: none;
    outline: none;
    font-size: 16px;
    width: 230px;
    background: none;
}

.divider {
    width: 1px;
    background-color: #ccc;
    height: 100%;
}

.search {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 10px;
    width: 650px;
}

.search input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    padding: 0 10px;
}

.location {
   margin-left: 10px;
   margin-right: 110px;
}
.location span{
    padding-left: 10px;
}
.location button {
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    color: #5c6c75;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.location button:hover {
    background-color: #5c6c75;
    color: #4caf50; 
}
.three-icons{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.three-icons i{
  cursor: pointer;
  font-size: 20px;
}
nav {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
}

nav ul {
    list-style: none; 
    display: flex; 
    gap: 20px;
    margin: 0; 
    padding: 0;
}
.all-dep{
    font-size: 16px;
    height: auto;
    margin-left: 100px;
    background-color: #0aad0a;
    color: white;
    height: 45px;
    border-radius: 4px;
    margin-right: 50px;
    padding: 10px 10px 10px 10px;
    cursor: pointer;
    width: 200px;
    border: none;
}
.all-dep:hover{
    background-color: #088b08;
}

nav ul li {
    color: black;
    font-size: 16px; 
    font-family: Arial, sans-serif; 
    font-weight: 600; 
    cursor: pointer; 
    transition: color 0.3s ease; 
}

nav ul li:hover {
    color: #0aad0a;
}

.home{
    width: 80%;
    margin: 30px auto;
    margin-bottom: 110px;
    flex-wrap: wrap;
}
.home .layer1{
    width: 100%;
    background-color: #f0f3f2;
    min-height: 144px; /* Minimum height of 144px */
    height: auto; 
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    
}

.layer1 img{
    padding-left: 20px;
    height: auto;
}
.text{
    flex: 1;
}
.text h1{
    margin:40px 0 0 0 ;
}
.text p{
    margin: 0;
    padding: 0;
}
.layer1 button{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #001e2b;
    font-size: 15px;
    color: white;
    width: 200px;
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 40px;
    margin-right: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

}
.layer2 {
    display: flex;
    justify-content: space-between; 
    width: 100%;
    height: 254px;
    margin: 30px auto; 
}

.cot1, .cot2, .cot3 {
    width: 448px; 
    min-height: 254px; 
    height: auto; 
    position: relative;
    flex-wrap: wrap;
    display: flex;
}

.cot1 img, .cot2 img, .cot3 img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 4px; 
}

.promo-text {
    width: 60%;
    position: absolute;
    top: 20px;
    left: 20px;
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    z-index: 2;
}

.mini1, .mini2 {
    position: absolute;
    color: black;
    font-size: 1rem;
    z-index: 2;
    
}

.mini1 {
    top: 100px; 
    left: 20px;
    margin: 0;
}

.mini2 {
    top: 130px; 
    left: 20px;
    margin: 0;
}

.cot1 ,.cot2{
    margin-right: 20px; 
    display: flex;
    flex-wrap: wrap;
}
.promo-button {
    position: absolute;
    top: 170px; 
    left: 20px;
    background-color: #001e2b; 
    color: white; 
    border: none;
    padding: 10px 20px; 
    font-size: 1rem; 
    border-radius: 4px; 
    cursor: pointer; 
    z-index: 2;
    transition: background-color 0.3s ease;
}
.promo-button:hover {
    background-color: #26404b;
}
span{
    font-weight: bold;
}
.text span{
    color: #0aad0a;
}

.promo-text-2{
    width: 50%;
    position: absolute;
    left: 20px;
    z-index: 2;
}
.cot2-mini2{
    width: 40%;
    position: absolute;
    color: black;
    font-size: 1rem;
    z-index: 2;
    top: 80px; 
    left: 20px;

}
.cot-2-but{
    position: absolute;
    top: 170px; 
    left: 20px;
    background-color: #001e2b; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    font-size: 1rem; 
    border-radius: 4px; 
    cursor: pointer; 
    z-index: 2;
    transition: background-color 0.3s ease;

}

.promo-text-3{
    width: 60%;
    position: absolute;
    top: 20px;
    left: 20px;
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    z-index: 2;

}
.cot3-mini3{
    width: 40%;
    position: absolute;
    color: black;
    font-size: 1rem;
    z-index: 2;
    top: 80px; 
    left: 20px;

}

.cot-3-but{
    position: absolute;
    top: 170px; 
    left: 20px;
    background-color: #001e2b; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    font-size: 1rem;
    border-radius: 4px; 
    cursor: pointer; 
    z-index: 2;
    transition: background-color 0.3s ease;

}

.shop-category{
    width: 80%;
   height: auto;
   margin: 30px auto;
}
.shop-category h2{
    color: #001e2b;
}
.all-cat{
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}
.bread {
    width: 175px;
    border: #dfe2e1 solid 1px;
    box-sizing: border-box;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.bread img {
    width: 60%;
    display: block;
    margin-left: 20%;
    margin-top: 20%;

}

.bread p {
    text-align: center;
    font-size: 14px;
    margin: 10px 0;
    color: #333;
    margin-bottom: 20%;
}

.bread:hover {
    border-color: #0aad0a;
    transform: scale(1.05); 
    cursor: pointer; 
}

.Fruits-vegetables ,.breakfast-dairy{
    width: 80%;
    height: auto;
    margin: 60px auto;

}

.Fruits-vegetables h2,.breakfast-dairy h2 {
    color: #001e2b;
    padding: 0;
    margin: 0;
}

.Fruits-vegetables h6,.breakfast-dairy h6 {
    font-size: 16px;
    padding: 0;
    margin: 0;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    width: auto;
    height: auto;
}

.f-v-c,.b-d-c{
    box-sizing: border-box;
    width: 100%;
    display: flex;

    margin-top: 20px;
    gap: 10px;
}

.banana ,.cheese{
    border: #dfe2e1 solid 1px;
    padding: 10px;
    width: 20%;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    border-radius: 4px;

}

.banana:hover ,.cheese:hover{
    transform: scale(1.05); 
    border-color: #0aad0a;
}

.banana img,.cheese img {
    width: 100%; 
    margin-bottom: 10px;
}

.banana p ,.cheese p{
    font-size: 14px;
    color: #333;

}

.checked {
    color: #ffc107;
  }

  .uncheck{
    color: black;
  }
.banana del,.cheese del {
    color: #889397; 
    font-size: 14px;
    padding-left: 3px;
}

.price-but{
    display: flex;
    
}
.price-but button{
    margin-bottom: 5%;
    margin-left: 36%;
    height: 30px;
    width: 140px;
    background-color: #0aad0a;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
}

.rating{
    font-size: 100;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.rating-p{

    padding-left: 10px;
}

hr{
    border: none; 
    border-top: 2px solid #dfe2e1; 
    margin: 20px auto; 
    width: 80%; 
    opacity: 0.8; 
}

.iphone {
    width: 80%;
    margin: 30px auto;
    padding: 20px;
    margin-bottom: 50px;

}

.iphone-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; 
    gap: 20px; 
}

.iphone-container img {
    max-width: 100%; 
    width: 300px;
    height: auto;
}

.app-details {
    max-width: 400px;
    margin-left: 50px;
}

.app-details h3 {
    font-size: 24px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    letter-spacing: -0.03rem;
    margin-bottom: 10px;
    color: #333;
}

.app-details p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

label {
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
    color: #333;
}

label input {
    margin-right: 5px;
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.phone-input input {
    width: 220px;
    height: 36px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.phone-input input:focus {
    border-color: #0aad0a;
    box-shadow: 0 0 5px rgba(0, 170, 10, 0.5);
}

.phone-input .share-app {
    height: 36px;
    padding: 0 15px;
    background-color: #0aad0a;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.phone-input .share-app:hover {
    background-color: #088b08;
}

.download-btn {
    display: flex;
    margin-top: 10px;
    gap: 10px;
}

.download-btn img {
    position: left;
    width: 150px;
    height: auto;
}

.sec-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    width: 80%;
    margin: 30px auto;
}

.sec4 {
    width: 22%;
    padding: 15px; 
}


.sec4 img {
    width: 50px;
    margin-bottom: 10px;
}

.sec4 h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.sec4 p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

footer {
    background-color: #f9f9f9; 
    color: #555;
    text-align: center; 
    padding: 20px 10px; 
    font-size: 14px; 
    border-top: 1px solid #e0e0e0; 
}

footer p {
    margin: 0; 
    line-height: 1.6; 
}

footer a {
    color: #0aad0a; 
    text-decoration: none; 
    font-weight: 600; 
}

footer a:hover {
    text-decoration: underline; 
    color: #088b08; 
}