body {
    font-family: Arial, sans-serif;
    position: relative;
    overflow-x: hidden;
}

.containerx {

        margin: 0 auto;
        /* display: flex; */
 flex-wrap: wrap;
       
     
}


.container {

        margin: 0 auto;
        display: flex; 
 flex-wrap: wrap;
       
     
}

.product-section {
    flex: 1;
    min-width: 300px;
}

.product-image {
    float: left;
    width: 100%;
}

.product-details {
    float: left;
        width: 100%;
        /* padding-left: 0px; */
        padding: 0px;
}

@media (min-width: 768px) {
    .product-image {
        width: 94%;
    }

    .product-details {
        width: 94%;
    }
}

.product-details h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-details p {
    font-size: 20px;
    color: #333;
}

.product-details .price {
    color: #f00;
    font-size: 24px;
    margin-bottom: 20px;
}

.quantity {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity input {
    width: 50px;
    text-align: center;
    margin: 0 10px;
}

.buttons {
    margin-bottom: 20px;
}

.buttons button {
    
    
    
    background: rgb(255, 164, 28);
        /* inset: 0px; */
        cursor: pointer;
        position: relative;
        /* z-index: 1000; */
        /* display: grid; */
        justify-content: center;
        /* align-items: center; */
        text-decoration: none;
        color: rgb(15, 17, 17);
        box-sizing: border-box;
        border: 1px solid rgb(255, 143, 0);
        box-shadow: rgba(213, 217, 217, 0.5) 0px 2px 5px 0px;
        /* border-radius: 16px; */
        /* min-height: 22px; */
        /* padding: 1px 11px; */
        /* gap: 10px; */
        color: white;
        padding: 10px 20px;
        /* margin-right: 10px; */
        font-size: 16px;
        cursor: pointer;
        margin-bottom: 20px;
        border-radius: var(--btn-border-radius, calc(30px / 2));
        /* font-size: var(--font-size-medium); */
        /* min-height: 48px; */
        /* padding: 13px 20px; */
        /* background-color: #f1f1f1; */
        /* border-color: var(--btn-primary-border-color, var(--color-stroke-accent)); */
        /* color: var(--btn-primary-foreground-color, var(--color-foreground-on-accent)); */
        font-weight: bold;
    
    
    
}

.buttons button:last-child {
    margin-right: 0;
}

.description, .shipping {
    margin-top: 20px;
}

.description h2, .shipping h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.description p, .shipping p {
    font-size: 16px;
    line-height: 1.6;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Styles for the menu */
.menu-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
}

.menu {
    position: fixed;
    top: 0;
    left: -300px; /* Initially hidden */
    width: 300px;
    height: 100%;
    background: #FFFFFF;
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.menu ul {
    list-style: none;
    padding: 20px;
}

.menu ul li {
    margin-bottom: 10px;
}

.menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #f00;
}

.basket {
    position: absolute;
    top: 20px;
    right: 70px;
    background-color: #f00;
    color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    font-size: 14px;
    z-index: 1000;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    //align-items: center;
    z-index: 999;
}

.popup {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
    overflow-y: scroll;
}

.popup form {
    margin-top: 20px;
}

.popup form input,
.popup form select {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    box-sizing: border-box;
}

.popup form button {
   
   
   background: rgb(255, 164, 28);
   cursor: pointer;
   position: relative;
   justify-content: center;
   text-decoration: none;
   color: rgb(15, 17, 17);
   box-sizing: border-box;
   border: 1px solid rgb(255, 143, 0);
   box-shadow: rgba(213, 217, 217, 0.5) 0px 2px 5px 0px;
   border-radius: 5px;
   color: white;
   padding: 5px 11px;
   margin-right: 10px;
   font-size: 18px;
   cursor: pointer;
}

/* Styles for the ads */
.ads-section {
    width: 100%;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .ads-section {
        width: 30%;
        margin-left: 20px;
    }
}


.image-containerv {
    max-width: 100%; /* Ensures image doesn't exceed its container */
    height: auto; /* Maintains image aspect ratio */
    display: block; /* Ensures the container behaves like a block element */
    margin: 0 auto; /* Centers the container */
}

.image-containerv img {
    max-width: 96%; /* Ensures the image itself doesn't exceed its container */
    height: auto; /* Ensures the image maintains its aspect ratio */
    display: block; /* Ensures the image behaves like a block element */
}
