* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: cairo , system-ui ,sans-serif;
    background-color: #f2f2f2;
    color: #333;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: transparent;
  width: 100%;
  z-index: 1;
  position: absolute;
}

.navbar .nav-left{
  display: flex;
  justify-content: space-around;
  align-items: center;
  
}

.navbar .logo {
   font-size: 20px;
  color: rgba(0, 121, 94, 1);
  font-weight: 700;
}

.navbar a {
   color: rgba(0, 0, 0, 1);
  text-decoration: none;
  margin: 0 15px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease 0s;
}

.navbar a:not(:last-child) {
    margin-left: 7px;
}

.navbar a:hover {
    color: #f0ad4e; 
}

.search {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.search form:first-child {
    position: relative; 
    display: inline-block;
    margin-left: 10px;
}

.search form:first-child input {
    padding-right: 30px; 
    width: 150px;
    padding: 10px 15px;
    border-radius: 26px;
    border: none;
    background: #fff;
    outline: none;
    color: #222;
}

.search-form button {
    position: absolute;
    top: 50%;
    left: 10px; 
    color: #333;
    transform: translateY(-50%); 
    background: none; 
    border: none;
    padding: 0; 
    cursor: pointer; 
}

.search-form button i {
    font-size: 25px; 
    color: #333; 
}

.search form:last-child {
    margin-right: 10px;
}

.search form:last-child select {
    padding: 10px 15px;
    border-radius: 26px;
    border: none;
    background: rgba(247, 247, 247, 1);
    outline: none;
    color: #222;
}

.search form:last-child select option {
    padding: 10px;
    border-radius: 26px;
    border: none;
    background: rgba(247, 247, 247, 1);
    outline: none;
    color: #222;
}

.icons {
    display: flex;
    align-items: center;
}

.icons a {
    color: #fff;
    margin-left: 15px;
    position: relative;
    font-size: 7px;
}

.icons .badge {
    background: red;
    color: #fff;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 10px;
    position: absolute;
    top: -5px;
    right: -10px;
}

.hamburger {
    display: none; 
    cursor: pointer;
    font-size: 20px;
    color: #333;
}

.nav-links.active {
    display: flex;
    flex-direction: column; 
    position: absolute;
    top: 60px; 
    left: 0;
    width: 100%;
    background: rgb(0 93 72 / 29%);
    text-align: center;
    z-index: 10; 
}

.nav-links {
    display: flex;
    transition: all 0.3s ease 0s;
    color: #fff;
}

.nav-links a {
    margin: 10px 0; 
    padding: 10px; 
    display: block; 
}

.container {
    display: flex;
     height: 95vh;
    overflow: hidden; 
}

.nav-logo {
    width: 53px;
    height: auto;
    max-width: 100%;
}

.content-section {
    flex: 0 0 50%;
   
    display: block;
    align-items: center;
    justify-content: right;
    overflow-y: auto;
    max-height: 100vh; 
    margin-top: 70px;
}


.product-info {
    display: flex;
    align-items: right;
    flex-direction: column;
    padding: 1rem;
    gap: 4px;
    text-align: right;
    
}

.product-info h1 {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
}

.price {
    font-size: 17px;
    color: #333;
}

.price del {
    color: #999;
    margin-left: 10px;
}

.box-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.box-1 h2 {
    font-size: 23px;
    font-weight: 400;
}

.rating {
    display: flex;
    align-items: center;
    width: fit-content;
    text-align: center;
    column-gap: 4px;
    background: rgba(255, 193, 8, 0.1);
    padding: 4px 10px;
    border-radius: 39px;
    margin-right: 15px;
}

.rating .fa-star  {
    color: rgba(255, 193, 8, 1);
    font-size: 20px;
}

.rating span {
    color: rgba(255, 193, 8, 1);
    font-size: 17px;
}

.product-info .h3 {
    margin-top: 10px;
    font-weight: 400;
    font-size: 19px;
}

.description {
    font-size: 18px;
    color: #555;
}

.description span  {
    color: rgba(188, 151, 44, 1);
    font-weight: bold;
    font-size: 19px;
}

.product-info label {
    margin-top: 10px;
    font-weight: 400;
    font-size: 18px;
}

.product-info select {
    padding: 15px 15px;
    border-radius: 26px;
    border: none;
    border: 1.5px solid rgba(238, 238, 238, 1);
    background: rgba(247, 247, 247, 1);
    outline: none;
    color: #222;
}

.quantity {
    display: flex;
    align-items: center;
}

.quantity button {
    padding: 10px 20px;
    margin: 10px;
    background: rgb(255, 255, 255);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    outline: none;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .quantity button:hover {
    background-color: #ccc;
    }

    .quantity span {
        border: 2px solid rgba(238, 238, 238, 1);
        background: rgba(255, 255, 255, 1);
        padding: 10px 20px;
        margin: 0 10px;
        font-size: 20px;
        font-weight: bold;
        width: 20%;
        text-align: center;
        /* height: 35%; */
        border-radius: 27px;
        color: #333;
    }

    .add-to-cart, .buy-now {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 10px;
    border-radius: 4px;
    /* margin-bottom: 10px; */
    width: 100%;
    max-width: 350px;
    transition: background-color 0.3s;
    }

    .add-to-cart {
        text-decoration: none;
        padding: 15px 15px;
        border-radius: 39px;
        background: #177963;
        font-size: 14px;
        color: #fff;
        font-weight: 500;
        margin-left: 7px;
        text-align: center;
    }

    .buy-now {
        text-decoration: none; 
        margin-right: 7px;
        padding: 15px 15px;
        border-radius: 39px;
        font-size: 14px;
        background: #bad8d170;
        color: #177963;
        font-weight: 500;
        text-align: center;
    }

    
    .image-section {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    }


    .image-section .main-image {
    width: 100%;
  
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease-in-out;
    }
    .bg-switcher {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 2;
    transition: transform 0.5s ease;

    }

    .bg-switcher img {
    width: 90px;
    height: 90px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 7px;
    transition: transform 0.5s ease;

    /* background-color: #fff; */
    /* padding: 5px; */
    }

    .bg-switcher img:hover {
        transition: transform 0.5s ease;

        border: 2px solid #fff;
        transform:  scale(1.1);
    }


    /* Footer */

    footer {
        position: relative; 
        /* background-color: #333;  */
        color: #fff;
        padding: 20px;

        overflow: hidden; 
    }
    
    .footer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*z-index: 5; */
    }
    
    .footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    }
    
    footer .overlays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 93, 72, 0.95);
}
    
    .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative; 
    z-index: 1;
    }


    .footer-section {
    width: 200px; 
    margin-bottom: 20px;
    }
    
    .footer-section h3 {
    margin-bottom: 10px;
    }
    
    .footer-section p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    align-items:Right;
    }
    
    .social-icons a {
    margin-right: 10px;
    color: #fff;
    font-size: 20px;
    }
    
    .footer-section ul {
    list-style: none;
    padding: 0;
    }
    
    .footer-section li {
    margin-bottom: 5px;
    }
    
    .footer-section a {
    color: #fff;
    text-decoration: none;
    }
    /* .contact-info  {
        display: flex;
        align-items: center;
        flex-direction: column;
        
    }
    .contact-info p {
        display: flex;
        align-items: center;
    } */
    .contact-info span {
        margin-right: 10px;
    }
    /* .contact-info .back {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #177963;
        padding: 8px;
        font-size: 12px;
        margin-left: 10px;
    } */
    .footer-bottom {
    text-align: center;
    font-weight: 200;
    padding-top: 20px;
    border-top: 1px solid #fff;
            position: relative;
        z-index:1000;
    }
    
    
/* Hide the menu by default on larger screens */

.menu-links {
    display: none;
    position: absolute;
    top: 120px;
    right: 0;
    left: 0;
    background-color: #5d9440;
    width: 200px;
    padding: 10px;
    border-radius: 5px;
    flex-direction: column;
}

.menu-links a {
  color: white;
  text-decoration: none;
  margin: 10 15px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease 0s;
  padding: 10px;
}

/* Show menu when active */
.menu-links.active {
    display: flex;
}

/* Show the hamburger icon only on mobile */
.hamburger {
    display: none;
    cursor: pointer;
}


    @media (max-width:939px) {

        .footer-section {
            width: 100%;
            margin-bottom: 20px;
        }
        footer {
            text-align: center;
        }
    .container {
        flex-direction: column;
        height: auto;
    }
    .image-section {
            flex: none;
        width: 100%;
        height: 100%;
    }
    .content-section {
        flex: none;
        width: 100%;
        height: 100vh;
    }
    .content-section {
        display: block;
        padding: 15px;
    }
    .product-info {
        position: static;
        max-width: 100%;
        margin-top: 15px;
        text-align: center;
    }
    .navbar a , .hamburger {
        color: #fff;
    }
    .navbar ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    .navbar ul li {
        margin: 5px 10px;
    }
    .nav-links {
        display: none; 
    }

    .hamburger {
        display: block;
    }

    .search {
        display: none;
    }
    }


    
    @media (max-width: 769px) {

        .footer-section {
            width: 100%;
            margin-bottom: 20px;
        }
        footer {
            text-align: center;
        }
    .container {
        flex-direction: column;
        height: auto;
    }
        .image-section {
            flex: none;
        width: 100%;
       height: 100%;
    }
    .content-section {
        flex: none;
        width: 100%;
        /*height: 100vh;*/
    }
    .content-section {
        display: block;
        padding: 15px;
    }
    .product-info {
        position: static;
        max-width: 100%;
        margin-top: 15px;
        text-align: center;
    }
    .navbar ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    .navbar ul li {
        margin: 5px 10px;
    }
    .nav-links {
        display: none; 
    }

    .hamburger {
        display: block; 
    }

    .search {
        display: none; 
    }
    
        .nav-desktop{
     display: none;
  }

    .hamburger {
        display: block;
    }
    
    .menu-links {
        display: none;
        width: 100%;
        text-align: center;
    }

    .menu-links.active {
        display: flex;
    }
    
     .currency {
    display: block;
  }

    }


    @media (max-width:560px) {
        .order-text p {
            font-size: 17px;
        }
        .order-text a{
            font-size: 15px;
        }
        footer {
            text-align: center;
        }
        .video-content  {
            flex-direction: column;
            align-items: normal;
        }
        .offer-card {
        width: 100%;
    }

    .hamburger {
        display: block; 
    }

    .search {
        display: none;
    }
    
        .nav-desktop{
     display: none;
  }

    
    .menu-links {
        display: none;
        width: 100%;
        text-align: center;
    }

    .menu-links.active {
        display: flex;
    }
 .currency {
    display: block;
  }

}