#product-image-collection .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 0.5rem;
    margin-left: 15%;
    overflow: hidden;
}

.product-thumbnail {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    object-fit: contain;
}

#product-image-collection .carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 60px !important;
    height: 80px !important;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

#product-image-collection .carousel-indicators .active {
    opacity: 1 !important;
}

.product-description h2,
.product-description h3 {
    font-family: "cardo";
}

.product-description h2 {
    font-size: calc(1.325rem + 0.7vw) !important;
}

.product-description h3 {
    font-size: calc(1.3rem + 0.4vw) !important;
}

.product-details {
    padding-top: 60px;
    font-size: var(--text-size);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}

.product-image-gallery {
    width: 60%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
}

.product-image-gallery .product-thumbnail,
.product-image-gallery .product-thumbnail.active {
    position: relative;
    width: calc(50% - 16px);
    padding-top: 50%;
    margin: 4px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.product-image-gallery .product-thumbnail img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-wrapper {
    display: flex;
    flex-direction: column;
    bottom: 16px;
    width: 40%;
    padding: 12px;
    z-index: 1;
}

.product-wrapper .product-name {
    font-size: 120%;
    font-weight: 400;
    text-align: left;
}

.product-wrapper .product-price-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
}

.product-wrapper .product-price-wrapper .product-price {
    margin-right: 8px;
}

.product-wrapper .product-price-wrapper .product-price-slashed {
    color: var(--gray);
    text-decoration: line-through;
}

.product-features-wrapper {
    position: relative;
    width: 100%;
}

.product-feature {
    float: left;
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.product-feature img {
    width: 36px;
    height: 36px;
    margin: 8px;
}

.product-feature span {
    flex: 1;
    font-weight: 500;
    font-size: 80%;
    text-align: left;
}

.product-description {
    margin-top: var(--heading-size);
}

.product-image {
    width: 100%;
    object-fit: contain;
}

#product-image-collection .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 0.5rem;
    margin-left: 15%;
    overflow: hidden;
}

.product-thumbnail {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    object-fit: contain;
}

#product-image-collection .carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 60px !important;
    height: 80px !important;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

#product-image-collection .carousel-indicators .active {
    opacity: 1 !important;
}

@media screen and (max-width: 1366px) {
    .product-image-gallery {
        width: 60%;
    }

    .product-wrapper {
        width: 40%;
    }
}

@media screen and (max-width: 1100px) {
    .product-image-gallery {
        width: 50%;
    }
    .product-image-gallery .product-thumbnail,
    .product-image-gallery .product-thumbnail.active {
        width: calc(100% - 16px);
        padding-top: 100%;
    }
    .product-wrapper {
        width: 50%;
    }
}

@media screen and (max-width: 640px) {
    .product-details {
        flex-direction: column;
    }

    .product-image-gallery {
        width: 100%;
        padding-top: calc(100% + 8px);
        flex-wrap: nowrap;
    }

    .product-image-gallery .product-thumbnail {
        padding-top: 60px;
        width: 60px;
        height: 60px;
    }

    .product-image-gallery .product-thumbnail.active {
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 100%;
        width: calc(100% - 16px);
        animation: animate-flash 0.2s linear;
    }

    .product-wrapper {
        width: 100%;
        position: relative;
        padding-top: 60px;
    }
}

@keyframes animate-flash {
    from {
        opacity: 0;
    }
    to {
        opacity: 100%;
    }
}
