.top-bar.food {
    background-image: url('../imgs/images/foodproductoverviewdogimage.png');
    background-position: right 47px;
    background-size: 380px 200px;
    background-repeat: no-repeat;
    background-color: #FEF7E7;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    margin-top: 20px;
    margin-left: 5px;
    margin-right: 5px;
    justify-content: space-between;
    align-items: center;
}

.left-section {
    margin-left: 20px;
}

.title {
    font-size: 23px;
    font-family: Legwork Demo;
    color: #1C1C42;
}

.categories {
    text-decoration: none;
    display: flex;
    margin-top: 16pt;
    color: #5C4F66;
    font-size: 18pt;
    font-family: Oliver Regular;
    gap: 90px;
}

.categories a:hover {
    text-decoration: underline;
}

.filterbuttons-container {
    display: flex;
    /* Ensures child elements align horizontally */
    justify-content: flex-start;
    /* Align items to the left (adjust as needed) */
    align-items: center;
    /* Vertically align items */
    gap: 20px;
    /* Space between buttons */
}

.filterbutton {
    margin-top: 20px;
    border: 1px solid black;
    align-items: center;
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 10px;
    color: #000000;
    width: 125px;

}

.filterbutton-photo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.filterbutton-text {
    font-size: 17px;
    color: #000000
}

.categories .row {
    display: flex;
    gap: 15px;
}

.differentfilterbuttons {
    margin-top: 20px;
    border: 1px solid black;
    align-items: center;
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 10px;
    color: #000000;
    width: 110px;
    display: inline-flex;
    /* Ensures items are aligned horizontally */
}

.differentfilterbuttons .photo {
    width: 30px;
    height: 30px;
    margin-left: 10px;
}

.differentfilterbuttons .text {
    margin-left: 10px;
    font-size: 17px;
    color: #000000;
}


.product {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px;
    margin: 20px auto;
    margin-top: 20px;
    max-width: 1000px;
    border-radius: 8px;

}

/* Product Photo Styling */
.product-photo {
    flex-shrink: 0;
    width: 500px;
    height: 500px;
    margin-left: 10pt;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.product-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product Info Styling */
.product-info {
    justify-content: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #333;
    font-family: Nunito Sans, sans-serif;
}

.product-info .brand {
    font-size: 24px;
}

.product-info .name {
    font-size: 30px;
    font-weight: bolder;
    margin: 0;
    line-height: 1.2;
    color: #5C4F66;
}

.product-info .rating {
    display: inline-flex;
    align-items: center;
    margin-top: 2pt;
}

.product-info .stars {
    display: inline-flex;
    color: gold;
    font-size: 30px;
    line-height: 1;
    margin-right: 10px;

}

.product-info .reviewnumbers {
    align-items: center;
    font-size: 13pt;
    color: #4A4A4A;
    font-family: "Nunito Sans", sans-serif;
    line-height: 1;
    justify-content: center;
}

.product-price {
    margin-top: 5pt;
    font-size: 32px;
    font-weight: bold;
    color: #5C4F66;
    font-style: italic;
}

.product-info .size {
    margin-top: -20pt;
    font-size: 24px;
}

.sizebuttons-container {
    margin-top: -8pt;
    display: flex;
}

.product-info .sizebuttons {
    margin-top: 3px;
    margin-right: 5px;
    border: 0.5px solid black;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 5px;
    background-color: white;
    color: #4A4A4A;
    width: 100px;
    display: inline-flex;
    font-size: 16px;
    text-align: center;
}

.product-info .sizebuttons:hover {
    background-color: #FEF7E7;
}

.quantitybutton-container {
    margin-top: 10pt;
    display: flex;
    align-items: center;
}

.product-info .quantity {
    margin-top: -2pt;
    font-size: 24px;
}

.product-info .quantitybutton {
    margin-top: 3px;
    margin-left: 15px;
    border: 0.5px solid black;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 5px;
    background-color: white;
    color: #4A4A4A;
    width: 100px;
    display: inline-flex;
    font-size: 16px;
    text-align: center;
    display: flex;
}

.quantity-icon {
    width: 10px;
    height: 10px;
    object-fit: contain;
}

.quantity-number {
    font-size: 18px;
    margin: 0 20px;

}

.addtocartbutton {
    margin-top: 3px;
    margin-right: 5px;
    border: 0.5px solid black;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 5px;
    background-color: white;
    color: #4A4A4A;
    width: 210px;
    display: inline-flex;
    font-size: 16px;
    text-align: center;
    gap: 8px;
    display: inline-flex;
}

.addtocartbutton:hover {
    background-color: #E4F0D0;
}

.addtocartbutton .icon {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.modal {
    display: none;
    /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fffcf7;
    padding: 20px;
    /* Increase padding for more space inside the modal */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 50%;
    /* Adjust the width to make the modal bigger */
    max-width: 600px;
    /* Set a max-width to avoid it getting too large */
    margin: 0 auto;
    font-family: "Olivia Regular";
    font-size: 20px;
}

.close {
    position: absolute;
    top: -12.5px;
    right: -12.5px;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../imgs/imageshp/cancel.png);
    cursor: pointer;
}


.productoverview {
    align-items: center;
    justify-content: center;
    margin-right: 90px;
    margin-left: 90px;
    margin-top: 90px;
}

.productoverview .title {
    font-size: 28pt;
    font-family: Legwork Demo;
    color: #5C4F66;
}

.productoverview .smalltitles {
    color: #5C4F66;
    font-family: Oliver Regular;
    font-size: 16pt;
    margin-right: -5px;
    /* Adds some space between title and description */
}

.productoverview .description {
    color: #4A4A4A;
    font-family: Nunito Sans, sans-serif;
    font-size: 12pt;
    line-height: 1.5;
}

.smalltitles-description-container {
    margin-top: -10px;
    align-items: center;
    /* Align items vertically centered */
    gap: 10px;
    display: flex;
}

.review-info {
    margin-top: 20pt;
    display: flex;
    align-items: center;
    gap: 20pt;
}

.review-info .overallrating {
    font-family: Nunito Sans, sans-serif;
    color: #5C4F66;
    font-size: 40pt;
    font-weight: bold;
}

.review-info .numbersofrating {
    font-family: Nunito Sans, sans-serif;
    color: #5C4F66;
    font-size: 13pt;
}

.stars {
    display: inline-flex;
    color: gold;
    font-size: 30px;
    margin-top: 5pt;
    line-height: 1;
}

.review-comments {
    font-family: Nunito Sans, sans-serif;
    margin-top: 20pt;
    margin-right: 20pt;
    display: flex;
    align-items: center;
    gap: 20pt;
}

.review-comments .usercircle {
    font-family: Nunito Sans, sans-serif;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #D9D9D9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.review-summary-container .commentitle {
    font-size: 13pt;
    color: #5C4F66;
}

.review-summary-container .commenttime {
    font-size: 11pt;
    color: #A49F9F;
}

.commentdescription {
    margin-top: 15pt;
    font-family: Nunito Sans, sans-serif;
    font-size: 13pt;
    color: #4A4A4A;
}

.viewmorereviews {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Nunito Sans, sans-serif;
    font-size: 13pt;
    color: black;
    margin-top: 40px;
}

.viewmorereviews:hover {
    text-decoration: underline;
}

.irregularshapesphotogallery.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.irregularshapesphotogallery .image-and-description-container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.irregularshapesphotogallery .image-and-description-container1 .image {
    display: flex;
    justify-content: center;
    /* Center the image inside its container */
}

.irregularshapesphotogallery .image-and-description-container1 .image img {
    width: auto;
    height: 330px;
    transition: transform 0.3s ease;
}

.irregularshapesphotogallery .image-and-description-container1 .image img:hover {
    transform: scale(1.1);
    /* Zoom in the image */
}

.irregularshapesphotogallery .image-and-description-container1 .description {
    text-align: center;
    letter-spacing: 1px;
    font-size: 22px;
    font-family: Oliver Regular;
    line-height: 1.5;
    color: #5C4F66;

}

.irregularshapesphotogallery .image-and-description-container2-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    gap: 60px;

}

.irregularshapesphotogallery .image-and-description-container2-4 .image {
    display: flex;
    justify-content: center;
    /* Center the image inside its container */
}

.irregularshapesphotogallery .image-and-description-container2-4 .image img {
    height: 330px;
    transition: transform 0.3s ease;
}

.irregularshapesphotogallery .image-and-description-container2-4 .image img:hover {
    transform: scale(1.1);
    /* Zoom in the image */
}

.irregularshapesphotogallery .image-and-description-container2-4 .description {
    text-align: left;
    letter-spacing: 1px;
    font-size: 22px;
    font-family: Oliver Regular;
    line-height: 1.5;
    color: #5C4F66;

}


.irregularshapesphotogallery .image-and-description-container3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.irregularshapesphotogallery .image-and-description-container3 .image {
    display: flex;
    justify-content: center;
    /* Center the image inside its container */
}

.irregularshapesphotogallery .image-and-description-container3 .image img {
    width: auto;
    height: 330px;
    transition: transform 0.3s ease;
}

.irregularshapesphotogallery .image-and-description-container3 .image img:hover {
    transform: scale(1.1);
    /* Zoom in the image */
}

.irregularshapesphotogallery .image-and-description-container3 .description {
    text-align: center;
    letter-spacing: 1px;
    font-size: 22px;
    font-family: Oliver Regular;
    line-height: 1.5;
    color: #5C4F66;

}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .top-bar.food {
        background-size: 300px 150px;
        padding: 40px;
        background-position: right 30px;
    }


    .filterbuttons-container {
        display: none;
    }


    .product {
        flex-direction: column;
    }

    .product-info {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        /* Center the blocks horizontally within their parent */
        width: 100%;
        max-width: 80%;
    }

    .productoverview {
        margin-top: 50px;
    }

    .product-info .name {
        font-size: 27px;
    }

    .irregularshapesphotogallery.container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }

    .irregularshapesphotogallery .image-and-description-container1 {
        display: flex;
        flex-direction: column;
    }

    .irregularshapesphotogallery .image-and-description-container2-4 {
        display: flex;
        flex-direction: column-reverse;
        margin-bottom: 30px;
    }

    .irregularshapesphotogallery .image-and-description-container3 {
        display: flex;
        flex-direction: column;
    }
}


@media screen and (max-width: 600px) {

    body,
    html {
        flex-direction: column;
        background-size: contain;
        background-repeat: repeat;
        background-position: center;
        margin: 0%;
        padding: 0%;
        overflow-x: hidden;
    }

    #nav {
        flex-direction: column;
        justify-content: space-between;
        display: none;
    }

    header {
        background-size: cover;
        align-items: center;
        justify-content: space-between;
    }

    .top-bar.food {
        padding: 40px;
        background-position: right 25px;
        background-size: 280px 140px;
    }

    .left-section {
        margin-left: 5px;
    }

    .title {
        font-size: 20px;
    }

    .categories {
        display: none;
    }

    .filterbutton {
        display: none;
    }

    .differentfilterbuttons {
        display: none;
    }

    .right-section {
        width: auto;
        height: 150px;
    }

    .product {
        flex-direction: column;
    }

    .product-photo {
        height: 400px;
    }

    .product-info.name {
        font-size: 20px;
    }

    .product-info .stars {
        font-size: 40px;
    }

    .productoverview {
        justify-content: center;
        margin-left: 30px;
    }

    .viewmorereviews {
        margin-top: 80px;
    }

    .irregularshapesphotogallery .container {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        padding: 20px;


    }

    .irregularshapesphotogallery .image-and-description-container1 {
        display: flex;
        flex-direction: column;
        /* Stack image and description vertically */
        gap: 10px;
        margin-bottom: 50px;
    }

    .irregularshapesphotogallery .image-and-description-container1 .image img {
        height: 250px;
    }

    .irregularshapesphotogallery .image-and-description-container1 .description {
        text-align: right;
        font-size: 18px;
        width: 80%;
    }

    .irregularshapesphotogallery .image-and-description-container2-4 {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
        margin-bottom: 30px;
    }

    .irregularshapesphotogallery .image-and-description-container2-4 .image img {
        height: 280px;
        margin-bottom: 20px;
    }

    .irregularshapesphotogallery .image-and-description-container2-4 .description {
        text-align: left;
        font-size: 18px;
        width: 80%;
    }

    .irregularshapesphotogallery .image-and-description-container3 {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
        margin-bottom: 50px;
    }

    .irregularshapesphotogallery .image-and-description-container3 .image img {
        height: 280px;
        margin-bottom: 30px;
    }

    .irregularshapesphotogallery .image-and-description-container3 .description {
        text-align: right;
        font-size: 18px;
        width: 80%;
    }
}