.product-section-1 {
    background-size: cover;
    background-repeat: no-repeat;
    height: 80vh;
    background-position: center;
    position: relative;
}

    .product-section-1 .container, .product-section-1 .title-and-subtitle {
        height: inherit !important;
    }

    .product-section-1 .title {
        font-size: 55px;
    }

.rectangle-text h5 {
    font-size: 32px;
}

.font-weight-300 {
    font-weight: 300 !important;
}

.font-weight-600 {
    font-weight: 600 !important;
}

#product-section-2, #product-section-4 {
    padding: 50px;
}

#product-section-2 h6, #product-section-4 h6 {
    font-size: 18px;
}

.title-and-subtitle {
    height: inherit !important;
}

.section-2-illustration {
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 200px;
}

/* Center image */
.lightbox .lb-image {
    max-width: -webkit-fill-available;
    max-height: -webkit-fill-available;
    object-fit: cover;
}

/* Hover effect on images */
/* Set the container to relative positioning so the overlay can be absolutely positioned inside it */
#lightbox-gallery-section a {
    display: block;
    position: relative;
    overflow: hidden; /* This will ensure that the zoomed image does not spill outside its container */
}

/* Hover */
#lightbox-gallery-section img {
    width: 100%; /* Cover the full width of the anchor container */
    transition: transform 0.3s ease, opacity 0.7s ease; /* Added opacity to transition */
}

/* On hover, scale the image */
#lightbox-gallery-section a:hover img {
    transform: scale(1.1) !important; /* Zoom in the image by 10% */
    opacity: 0.3;
}

#lightbox-gallery-section a {
    border: 1px solid rgb(0, 148, 255, 0.1);
}

#lightbox-gallery-section .justify-content-space-between {
    justify-content: space-evenly;
}

    #lightbox-gallery-section .col-md-12 {
        width: 100% !important;
    }


.img-overlay {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-left: calc(var(--bs-gutter-x) * .5);
    margin-right: calc(var(--bs-gutter-x) * .5);
}

    .img-overlay.col-md-4 {
        width: 29.333333%;
    }

    .photo-description {
        padding: 20px;
        text-align: center;
    }

    .photo-description p {
        margin-bottom: 0;
    }


.small-icon-overlay {
    display: none;
    height: 60px !important;
    width: 60px !important;
    position:absolute;
}

.product-title {
    margin-bottom: 30px;
}

#lightbox-gallery-section a:hover {
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-gallery-section a:hover .small-icon-overlay {
    position: absolute;
    display: flex;
    opacity: 1;
    z-index: 100;
}

.product-section-4 h4 {
    margin-bottom: 40px;
    margin: auto auto;
}

.product-section-4 figure {
    margin: auto;
}

.product-section-4 {
    display: flex;
    justify-content: center;
    margin: auto;
    font-size: 14px;
}

.product-section-4 {
    padding: 40px;
    padding-top: 20px;
}

.img-over-img-block img {
    object-fit: contain;
    position: absolute;
    max-height: -webkit-fill-available;
    max-width: 60%;
    border-radius: 5px;
}

.img-over-img-block .back-img {
    top: 0;
    left: 0;
}

.img-over-img-block .front-img {
    bottom: 0;
    right: 0;
}

.product-section-5 {
    display: flex;
    flex-direction: row;
    padding: 80px 0px;
    background: rgb(240,230,218, 0.5);
}

.product-section-5 .container {
    display: flex;
    flex-direction: row;
}

.product-section-5 .img-over-img-block {
    width: 50%;
    position: relative;
    margin: 20px 30px;
    margin-left: 0;
}

.product-section-5 .content-block {
    margin: 30px;
    width: 50%;
}

.product-section-6 {
    display: flex;
    flex-direction: row;
    padding: 80px 0px;
    background-size: cover;
    background-image: url('/icons/section-bg.svg');
}

    .product-section-6 .container {
        display: flex;
        flex-direction: row;
    }

    .product-section-6 .img-over-img-block {
        width: 50%;
        position: relative;
        margin: 20px 30px;
        margin-right: 0;
    }

    .product-section-6 .content-block {
        margin: 30px;
        width: 50%;
    }

.content-block .subtitle {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-color: #772f1a;
    background-image: linear-gradient(315deg, #f2a65a 0%, #772f1a 74%);
}

.content-block .title {
    margin-bottom: 30px;
    margin-top: 10px;
}

#product-section-4 {
    background: #F9F6F3;
}

.photo-description {
    display: flex;
    align-items: center;
}

.photo-description p {
    margin: auto;
}

#product-section-4.missing-parts h6 {
    font-size: 100px;
}

#product-section-4 .img-container {
    width: 70%;
}

#product-section-4 .text-container {
    width: 30%;
    text-align: center;
    font-family: 'Bangers', sans-serif;
    font-size: 100px;
    color: #BF8C4C;
}

.full-width-img {
    width: 100%;
    max-width: 80% !important;
}

/* Responsivity */
@media (max-width: 1219.98px) {
    .content-block .text {
        font-size: 14px;
    }
}

@media (max-width: 1119.98px) {
    .product-section-5 .text, .product-section-6 .text,
    .product-section-5 .subtitle, .product-section-6 .subtitle
    .product-section-5 p, .product-section-6 p {
        font-size: 14px;
    }

    .product-section-5 .title, .product-section-6 .title {
        font-size: 22px;
    }

    .product-section-5 .container, .product-section-6 .container {
        max-width: unset !important;
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 919.98px) {
    .product-section-5 .container, .product-section-6 .container {
        flex-direction: column;
    }

    .product-section-5 .content-block,
    .product-section-6 .content-block {
        padding: 30px !important;
        width: 100%;
        margin: 0px !important;
    }

    .product-section-5 .img-over-img-block,
    .product-section-6 .img-over-img-block {
        margin: auto;
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .img-over-img-block img {
        position: relative;
        margin: 20px;
        max-width: -webkit-fill-available;
        width: 40%;
    }

    #product-section-4.missing-parts h6 {
        font-size: 80px;
    }
}

@media (max-width: 767.98px) {
    #product-section-2 .section-2-illustration,
    #product-section-4 .section-2-illustration {
        height: 150px !important;
        background-position: center;
    }

    #product-section-2, #product-section-4 {
        padding: 20px;
    }

    .product-section-4 {
        max-width: 100%;
    }

        .product-section-4 img {
            padding: 20px;
            max-width: -webkit-fill-available;
            margin: 40px auto;
        }

    #product-section-4 h6,
    #product-section-2 h6 {
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 20px;
    }

    #product-section-4 .row {
        flex-direction: column-reverse;
    }

    .w-750px {
        width: 100%;
    }

    .rectangle-text h5 {
        font-size: 20px;
    }

    .rectangle-text {
        padding: 25px 10px;
    }

        .rectangle-text p {
            margin-bottom: 0;
        }

    .product-section-5 .container, .product-section-6 .container {
        flex-direction: column;
        max-width: unset !important;
    }

    .img-overlay.col-md-4 {
        width: 45%;
    }

    .product-section-5 .content-block,
    .product-section-6 .content-block {
        padding: 30px 10px !important;
    }

    .img-overlay.col-md-4 {
        width: 90%;
    }

    .product-section-5,
    .product-section-6 {
        padding: 40px 0;
    }

    #product-section-4 .img-container {
        width: 100%;
    }

    #product-section-4 .text-container {
        width: 100%;
    }

    #product-section-2, #product-section-4 {
        padding-bottom: 50px;
    }
}

@media (max-width: 565.98px) {

    #product-section-2, #product-section-4 {
        padding: 25px;
    }

    .product-section-5 .img-over-img-block,
    .product-section-6 .img-over-img-block {
        flex-direction: column;
    }

    .img-over-img-block img {
        width: 100%;
    }
}