﻿/* product gallery */

.product-details-page .gallery {
    position: sticky;
    position: -webkit-sticky;
    top: 7.125rem;
    overflow: hidden;
}

.gallery-slider {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
    height: 33rem;
}

.gallery-slider img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
    border-radius: 0.5rem;
    margin: auto;
}

.gallery-top {
    height: 100%;
    flex: 1;
}

.gallery-thumbs {
    flex: 0 0 6.5rem;
    height: 100%;
    box-sizing: border-box;
}

.gallery-thumbs .swiper-slide {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}

.gallery-thumbs .swiper-slide:hover {
    box-shadow: 0 0.375rem 0.625rem rgba(0, 0, 0, 0.3), 0 0.25rem 0.25rem rgba(0, 0, 0, 0.22);
}

.gallery-top .swiper-button-prev::after {
    border-left: 0;
}

.gallery-top .swiper-button-next::after {
    border-right: 0;
}

.product-details-page .product-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-details-page .product-image img,
.product-details-page .product-image {
    background-color: #f8f9fb;
}

.product-details-page .product-image:hover .zoom-button {
    opacity: 1;
    visibility: visible;
}

/* tier prices */

.product-details-page .tier-prices {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-details-page .tier-prices .tier-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    align-items: center;
}

.product-details-page .tier-prices .tier-price-wrapper .item-quantity {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
    white-space: nowrap;
}

.product-details-page .tier-prices .tier-price-wrapper .item-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tertiary-color);
}

.product-details-page .tier-prices .tier-price-divider {
    width: 0.0625rem;
    height: 1.25rem;
    margin: auto 0;
    background-color: var(--border-light-grey);
}

.s4d-mobile .product-details-page .tier-prices .tier-price-divider {
    opacity: 0;
}

/* gallery zoom */
.medium-zoom-overlay {
    z-index: 1100;
}

.medium-zoom-image--opened {
    z-index: 1101;
}

.medium-zoom-image {
    background-color: #f8f9fb;
}

.gallery-top .medium-zoom-image {
    background-color: transparent;
}

.zoom-button {
    position: absolute;
    top: 0.9375rem;
    left: 0.9375rem;
    width: 3.125rem;
    height: 2.75rem;
    background: var(--purple);
    border-radius: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.swiper-slide:hover .zoom-button {
    opacity: 1;
    visibility: visible;
}

/* product overview */

.product-details-page .product-label {
    display: flex;
    gap: 0.5rem;
}

.product-details-page .product-label span {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.375rem 0.5rem;
    line-height: 1;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-details-page .product-label + .generalTitle {
    max-width: calc(100% - 2.6875rem);
}

.product-details-page .product-label .badge {
    padding: 0.375rem 0.5rem;
}

.product-details-page .overview .short-description {
    color: #777;
    font-size: 0.875rem;
}

.product-details-page .overview .label {
    color: #000;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-details-page .overview .value {
    margin: 0 0 0 0.3125rem;
    color: var(--purple);
    font-size: 1rem;
    font-weight: 700;
}

/* spec */

.product-attributes-heading {
    padding: 1.5rem 0;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--grey-90);
}

.product-specifications-table {
    border: none;
    table-layout: fixed;
    width: 100%;
}

.product-specifications-table tr {
    border-bottom: 0.063rem dotted var(--grey-20);
}

.product-specifications-table tr:last-child {
    border-bottom: none;
}

.product-specifications-table td,
.product-specifications-table th {
    padding: 0 0.75rem;
    vertical-align: top;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
}

.product-specifications-table td:nth-child(2) {
    border-right: 0.063rem dotted var(--grey-20);
}

.spec-container .spec-name {
    overflow: hidden;
    color: var(--grey-90);
    font-family: Poppins;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 0.75rem 0;
    word-wrap: break-word;
    word-break: break-word;
}

.spec-container .spec-value {
    overflow: hidden;
    color: var(--grey-60);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 0.75rem 0;
    word-wrap: break-word;
    word-break: break-word;
    display: block !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
}

.spec-container .spec-value > div {
    display: inline !important;
    margin-bottom: 0 !important;
    margin-right: 0.5rem !important;
}

/* product attributes */

.attributes {
    margin: 0 0 0.9375rem 0;
    padding: 1.5rem;
    border: 0;
    background-color: var(--background);
    border-radius: 0.5rem;
    max-height: 20rem;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.s4d-mobile .attributes {
    max-height: 20rem;
}

.attributes .attributes-container {
    display: flex;
    flex-flow: column;
    gap: 1.5rem;
}

.attributes::-webkit-scrollbar {
    width: 0.375rem;
}

.attributes::-webkit-scrollbar-track {
    background: var(--bg-input);
    border-radius: 0.1875rem;
}

.attributes::-webkit-scrollbar-thumb {
    background: var(--grey-60);
    border-radius: 0.1875rem;
}

.attributes::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
}

.attributes .attributes-container .attribute-row {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.attributes .attributes-container .attribute-row .attribute-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray);
}

.attributes .attributes-container .attribute-row .attribute-options .attribute-option-container {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.attributes .attributes-container .attribute-row .attribute-options .attribute-option-container .attribute-option-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.attributes .attributes-container .attribute-row .attribute-options .attribute-option-container .attribute-option-wrapper .attribute-option-title {
    flex: 1 0 0;
    width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    color: var(--tertiary-color);
}

.attribute-option-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 3rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 0.0625rem solid var(--border-light-grey);
    background: var(--background);
    color: var(--tertiary-color);
}

.attribute-option-counter .attribute-option-counter-action {
    font-size: 0.875rem;
    color: var(--gray);
    cursor: pointer;
    display: flex;
}

.attribute-option-counter .attribute-option-counter-action.disabled {
    pointer-events: none;
    opacity: 0.4;
    cursor: not-allowed;
}

.attribute-option-counter .attribute-option-counter-input {
    appearance: none;
    font-size: 1rem;
    color: inherit;
    border: 0;
    background: transparent;
    text-align: center;
    width: 100%;
}

.attribute-option-counter .attribute-option-counter-input::-webkit-inner-spin-button {
    appearance: none;
}

.attribute-option-wrapper.disabled .attribute-option-counter {
    pointer-events: none;
    opacity: 0.4;
}

.image-square-tooltip {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.image-square-tooltip img {
    max-width: 10.3125rem;
}

.attributes .color-container .color {
    width: 2rem;
    height: 2rem;
}

.attributes input:checked ~ .color-container .color::before {
    top: -0.25rem;
    left: 0.9375rem;
}

.attributes .option-list {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.attributes .option-list li {
    margin: 0 0.625rem 0.1875rem 0;
}

.attributes .option-list .custom-radio {
    font-family: "Poppins", sans-serif;
    font-size: 0.875rem;
    color: var(--grey-90);
}

.attributes .option-list .custom-control-description {
    display: inline-block;
    font-size: 0.875rem;
    font-family: "Poppins", sans-serif;
    color: var(--grey-90);
    line-height: 1.4;
}

.attributes .option-list .custom-radio .custom-control-label::before {
    border-color: var(--grey-20) !important;
    background-color: #F8F9FB !important;
}

.attributes .option-list .custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--dark-purple) !important;
    border-width: 0.0625rem !important;
    background-color: var(--color-white) !important;
}

.attributes .option-list .custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: none !important;
}

.attributes .option-list .custom-radio .custom-control-input:disabled ~ .custom-control-label::before {
    border-color: var(--grey-20) !important;
    background-color: var(--card-total-bg) !important;
}

.attributes .option-list .custom-radio .custom-control-input:disabled ~ .custom-control-description {
    color: var(--grey-20) !important;
}

.attributes .option-list .custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::after {
    background-color: var(--grey-20) !important;
}

/* product price */

.product-details-page .overview .actual-price {
    color: var(--purple);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
}

.product-details-page .overview .actual-price label {
    color: #aaa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 500;
}

.product-details-page .overview .old-price {
    padding: 0 0 0.6875rem 0;
    color: #999;
    font-family: "Poppins", sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: line-through;
}

/* product add to cart */

.product-details-page .qty-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 3.75rem;
    background: #eaf0fa;
}

.product-details-page .qty-controls div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 1.875rem;
    height: 1.875rem;
    border: 0.0625rem solid rgba(0, 0, 0, 0.2);
    border-right: 0;
    cursor: pointer;
}

.product-details-page .qty-controls div.plus::before,
.product-details-page .qty-controls div.plus::after,
.product-details-page .qty-controls div.minus::before {
    content: "";
    position: absolute;
    top: 0.8125rem;
    left: 0.5625rem;
    width: 0.75rem;
    height: 0.125rem;
    display: flex;
    justify-content: center;
    background: #000;
}

.product-details-page .qty-controls div.plus:hover::before,
.product-details-page .qty-controls div.plus:hover::after,
.product-details-page .qty-controls div.minus:hover::before {
    background: var(--purple);
}

.product-details-page .qty-controls div.plus::after {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

.product-details-page .qty-controls div:last-child {
    border-top: 0;
}

.product-add-to-cart .qty-input,
.product-add-to-cart .qty-dropdown {
    width: 100%;
    max-width: 4.0625rem;
    height: 3.75rem;
    color: #000;
    font-size: 1.125rem;
    font-weight: 700;
    background-color: #eaf0fa;
    border-color: rgba(0, 0, 0, 0.2);
}

.product-add-to-cart .qty-input::-webkit-inner-spin-button,
.product-add-to-cart .qty-dropdown::-webkit-inner-spin-button {
    appearance: none;
}

.product-details-page .add-to-cart-button.btn-info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.875rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--purple);
    border: 0;
}

.product-details-page .add-to-cart-button.btn-info:focus,
.product-details-page .add-to-cart-button.btn-info:active,
.product-details-page .add-to-cart-button.btn-info:not(:disabled):not(.disabled):active:focus {
    background-color: #dda128;
    box-shadow: 0 0 0 0.2rem rgba(181, 126, 16, 0.5);
}

.product-other-buttons {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0.9375rem 0;
}

.product-other-buttons .btn.btn-outline-secondary,
.product-other-buttons .btn.btn-outline-secondary:active,
.product-other-buttons .btn.btn-outline-secondary:active:focus {
    display: flex;
    align-items: center;
    padding: 0.3125rem 0;
    font-family: Poppins, sans-serif;
    border: 0;
    background-color: transparent;
    color: #aaa;
    box-shadow: none;
}

.product-other-buttons .btn.btn-outline-secondary:hover {
    color: #25b232;
}

.product-other-buttons .btn.btn-outline-secondary .text {
    margin: 0 0 0 0.625rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
}

/* product tabs */

.product-details-page .nav-tabs {
    position: relative;
    justify-content: center;
    border: 0;
}

.product-details-page .nav-tabs li:first-child::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 0.0625rem;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.product-details-page .nav-tabs li:first-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 0.0625rem;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.product-details-page .nav-tabs .nav-link {
    position: relative;
    margin: 0 -0.0625rem 0.0625rem 0;
    padding: 1rem 1.625rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #000;
    background-color: transparent;
    border: 0.0625rem solid rgba(0, 0, 0, 0.1);
    outline: none;
    border-radius: 0;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.product-details-page .nav-tabs .nav-link.active {
    color: #fff;
    background-color: var(--purple);
}

.product-details-page .nav-tabs .nav-link:hover:not(.active) {
    color: #fff;
    background-color: #000;
}

.product-details-page .nav-tabs .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0rem;
    left: 50%;
    right: 50%;
    width: 0;
    height: 100%;
    background: #333;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    z-index: -1;
}

.product-details-page .nav-tabs .nav-link:hover::before {
    left: 0;
    right: 0;
    width: 100%;
}

.product-details-page .nav-tabs .nav-link.active::before {
    background: #25b232;
    left: 0;
    right: 0;
    width: 100%;
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper .products-tab {
    height: 2.5rem;
    padding: 0 1rem;
    border-radius: 0.375rem;
    color: var(--tertiary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper .products-tab.active {
    background-color: var(--tertiary-color);
    color: var(--color-white);
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper .products-tab:not(.active):hover {
    background-color: var(--tertiary-hover);
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper .products-tab .b-icon {
    margin-right: 0.25rem;
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper .products-tab .review-star-icon {
    font-size: 0.875rem;
}

/* product collateral */

.product-collateral .add-to-cart-button {
    max-width: 10rem;
}

.product-collateral .add-to-wishlist-button {
    width: 14.6875rem;
}

/* quick view */

.modal-content .gallery-top {
    width: 100%;
}

@media (max-width: 61.9375rem) {
    .attribute-option-counter .attribute-option-counter-input {
        font-size: 0.875rem;
    }
}

@media (max-width: 47.9375rem) {
    .product-details-page .gallery {
        margin: 0 0 0.9375rem 0;
    }

    .product-details-page .generalTitle {
        font-size: 1.75rem;
    }


    .attribute-option-counter .attribute-option-counter-input {
        font-size: 0.75rem;
    }
}

@media (max-width: 35.9375rem) {
    .product-details-page .gallery-slider {
        height: 25rem;
    }

    .attribute-option-counter .attribute-option-counter-input {
        font-size: 0.625rem;
    }

    .product-details-page .generalTitle {
        font-size: 1.5rem;
    }

    .product-details-page .nav-tabs .nav-item {
        width: 100%;
        margin-bottom: 0.0625rem;
    }
}

@media (max-width: 23.75rem) {
    .product-details-page .generalTitle {
        font-size: 1.375rem;
        margin: 0 0 0.625rem 0;
    }

    .product-details-page .overview .short-description {
        font-size: 0.875rem;
    }

    .product-details-page .gallery-slider {
        height: 20rem;
    }
}

.product-left-side-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-left-side-wrapper .product-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-left-side-wrapper .product-info-wrapper .product-title {
    font-size: 1.3125rem;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-left-side-wrapper .product-info-wrapper .product-title.generalTitle {
    -webkit-line-clamp: 3;
}

.product-details-page .products-info-sidebar-wrapper .products-info-sidebar-sticky {
    position: sticky;
    position: -webkit-sticky;
    top: 7.125rem;
    overflow: hidden;
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper,
.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: var(--background);
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper .products-tab {
    height: 2.5rem;
    padding: 0 1rem;
    border-radius: 0.375rem;
    color: var(--tertiary-color);
    display: flex;
    align-items: center;
    justify-content: normal;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper .products-tab.active {
    background-color: var(--tertiary-color);
    color: var(--color-white);
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper .products-tab:not(.active):hover {
    background-color: var(--tertiary-hover);
}

.product-details-page .products-info-sidebar-wrapper .product-tabs-wrapper .products-tab .b-icon {
    margin-right: 0.10rem;
    margin-left: 0.5rem;
    margin-bottom: 0.2rem;
}

.product-details-page .products-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-details-page .products-info-wrapper > div[id] {
    scroll-margin-top: 9em;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .product-supplier-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--tertiary-color);
    margin-bottom: 0;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info.supplier-score {
    margin-bottom: 0.5rem;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info:last-child {
    margin-bottom: 0;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info .supplier-info-label {
    flex: 1 0 0%;
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--tertiary-color);
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info .supplier-info-value {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--tertiary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info .supplier-info-value.supplier-info-trading-medal-wrapper {
    gap: 0.25rem;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info .supplier-info-value .supplier-info-trading-medal {
    height: 1.25rem;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info .supplier-info-value .supplier-info-value-progress {
    max-width: 4.375rem;
    height: 0.375rem;
    -webkit-appearance: none;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info .supplier-info-value .supplier-info-value-progress::-webkit-progress-inner-element {
    height: 0.375rem;
    padding: 0.0625rem;
    border-radius: 4rem;
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info .supplier-info-value .supplier-info-value-progress::-webkit-progress-bar {
    border-radius: 4rem;
    background-color: var(--light-grey);
}

.product-details-page .products-info-sidebar-wrapper .product-supplier-info-wrapper .supplier-info .supplier-info-value .supplier-info-value-progress::-webkit-progress-value {
    border-radius: 4rem;
    background: var(--background-gradient);
}

.product-details-page .sourcing-features-wrapper {
    align-items: flex-start;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--background);
    margin: 0 -0.5rem;
}

.s4d-mobile .product-details-page .sourcing-features-wrapper {
    padding: 1rem;
}

.product-details-page .sourcing-features-wrapper .sourcing-feature {
    padding: 0 0.5rem;
}

.s4d-mobile .product-details-page .sourcing-features-wrapper .sourcing-feature {
    display: flex;
    gap: 0.5rem;
}

.product-details-page .sourcing-features-wrapper .sourcing-feature-icon .s4d-icon {
    font-size: 2rem;
    color: var(--gray);
}

.s4d-mobile .product-details-page .sourcing-features-wrapper .sourcing-feature-icon .s4d-icon {
    font-size: 1.3125rem;
}

.product-details-page .sourcing-features-wrapper .sourcing-feature-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
    color: var(--tertiary-color);
}

.s4d-mobile .product-details-page .sourcing-features-wrapper .sourcing-feature-title {
    margin-bottom: 0.25rem;
}

.s4d-mobile .product-details-page .sourcing-features-wrapper .sourcing-feature-content {
    display: flex;
    align-items: flex-start;
    flex-flow: column;
}

.product-details-page .sourcing-features-wrapper .sourcing-feature-description {
    align-self: stretch;
    font-size: 0.75rem;
    color: var(--gray);
    transition: all 0.3s ease;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 48rem) and (max-width: 64rem) {
    .product-details-page .sourcing-features-wrapper {
        gap: 1rem;
        width: 100%;
        margin: 0;
        padding: 0 0.5rem;
        display: flex;
        flex-wrap: wrap;
    }

    .product-details-page .sourcing-features-wrapper .sourcing-feature {
        padding: 0.75rem;
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }

    .product-details-page .sourcing-features-wrapper .sourcing-feature.col-md-4 {
        flex: 1 1 50%;
        max-width: 50%;
    }

    .product-details-page .sourcing-features-wrapper .sourcing-feature.col-lg-6 {
        flex: 1 1 50%;
        max-width: 50%;
    }

    .product-details-page .sourcing-features-wrapper .sourcing-feature-description {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .product-details-page .sourcing-features-wrapper .sourcing-feature-title {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 48rem) and (max-width: 56.25rem) {
    .product-details-page .sourcing-features-wrapper .sourcing-feature-description {
        font-size: 0.75rem;
        line-height: 1.35;
    }
}

@media (min-width: 56.25rem) and (max-width: 64rem) {
    .product-details-page .sourcing-features-wrapper .sourcing-feature-description {
        font-size: 0.875rem;
        line-height: 1.45;
    }
}

.product-details-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-details-breadcrumbs .breadcrumbs {
    flex: 1 0 0;
    width: 0;
}

.product-details-breadcrumbs .breadcrumbs .breadcrumb-item .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-details-breadcrumbs .product-details-breadcrumbs-actions {
    display: flex;
    gap: 0.5rem;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-left: 1rem;
}

.product-details-breadcrumbs .product-details-breadcrumbs-actions button {
    padding: 0;
    color: var(--primary);
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    align-items: center;
    transition: all 0.3s ease;
    min-width: auto;
}

.s4d-mobile .product-details-breadcrumbs .product-details-breadcrumbs-actions {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    margin-left: 0.5rem;
}

.s4d-mobile .product-details-breadcrumbs .product-details-breadcrumbs-actions button {
    font-size: 0.75rem;
    gap: 0.375rem;
    width: auto;
}

@media (max-width: 36rem) {
    .product-details-breadcrumbs .product-details-breadcrumbs-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }

    .product-details-breadcrumbs .product-details-breadcrumbs-actions button {
        font-size: 0.75rem;
        gap: 0.375rem;
        width: auto;
        justify-content: flex-start;
        min-width: fit-content;
    }
}

@media (max-width: 48rem) and (min-width: 36.0625rem) {
    .product-details-breadcrumbs .product-details-breadcrumbs-actions {
        flex-direction: row;
    }

    .product-details-breadcrumbs .product-details-breadcrumbs-actions button {
        font-size: 0.8rem;
        gap: 0.375rem;
    }
}


.product-details-breadcrumbs .product-details-breadcrumbs-actions button .button-text-short {
    display: none;
}

@media (max-width: 48rem) {
    .product-details-breadcrumbs .product-details-breadcrumbs-actions button .button-text-full {
        display: none;
    }

    .product-details-breadcrumbs .product-details-breadcrumbs-actions button .button-text-short {
        display: inline;
    }
}

@media (max-width: 24rem) {
    .product-details-breadcrumbs .product-details-breadcrumbs-actions button .button-text,
    .product-details-breadcrumbs .product-details-breadcrumbs-actions button .button-text-full,
    .product-details-breadcrumbs .product-details-breadcrumbs-actions button .button-text-short {
        display: none;
    }

    .product-details-breadcrumbs .product-details-breadcrumbs-actions button {
        min-width: 2rem;
        justify-content: center;
        padding: 0.25rem;
    }

    .product-details-breadcrumbs .product-details-breadcrumbs-actions button .s4d-icon,
    .product-details-breadcrumbs .product-details-breadcrumbs-actions button .lnr {
        font-size: 1.125rem;
        margin: 0;
    }
}

@media (max-width: 20rem) {
    .product-details-breadcrumbs .product-details-breadcrumbs-actions {
        gap: 0.25rem;
        margin-left: 0.5rem;
    }

    .product-details-breadcrumbs .product-details-breadcrumbs-actions button {
        min-width: 1.75rem;
        padding: 0.125rem;
    }
}

.product-details-breadcrumbs .product-details-breadcrumbs-actions .share-button .dropdown-item:active {
    background-color: var(--primary-hover);
}

.product-details-breadcrumbs .product-details-breadcrumbs-actions .share-button .dropdown-item:active .dropdown-item-wrapper {
    color: var(--primary-color);
}

.product-details-breadcrumbs .product-details-breadcrumbs-actions .share-button .dropdown-item-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--tertiary-color);
}

.product-action-buttons-wrapper {
    margin: auto 0;
    gap: 1rem;
    display: flex;
    width: 100%;
    height: 3rem;
}

.product-action-buttons-wrapper button {
    border-radius: 0.5rem;
    justify-content: center;
    align-items: center;
}

.prices {
    gap: 1rem;
}

.prices .price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--tertiary-color);
    font-weight: 500;
    font-size: 0.875rem;
}

.shipping-calculation-price-based-on {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--tertiary-color);
    font-weight: 600;
    font-size: 0.875rem;
    width: 100%;
}

.total-price-section {
    font-weight: 600;
}

.availability-section {
    margin: 0.9375rem 0;
}

.availability-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-info,
.stock-info {
    color: var(--grey-60) !important;
    display: flex;
    align-items: center;
    font-size: 1rem;
    gap: 0.5rem;
}

.quantity-info .label,
.stock-info .label {
    white-space: nowrap;
}

@media (max-width: 47.9375rem) {
    .availability-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 35.9375rem) {

    .quantity-info,
    .stock-info {
        width: 100%;
    }
}

.supplier-info-modal-content {
    display: flex;
    flex-flow: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.supplier-info-modal-content .supplier-info-detail h5 {
    font-size: 0.875rem;
    color: var(--tertiary-color);
    margin-bottom: 0.25rem;
}

.supplier-info-modal-content .supplier-info-detail p {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 0;
}

.product-details-page .product-description img {
    width: 100%;
    height: auto;
}

.landed-cost-estimation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    height: 3rem;
    padding: .75rem 1rem;
    margin: 1rem 0;
    border-radius: .5rem;
    border: .0625rem solid var(--grey-20);
    color: var(--grey-90);
    font-size: .75rem;
    font-weight: 400;

    .amount-text {
        font-weight: 500;
    }

    .unit-text {
        color: var(--grey-60);
    }

    .calculate-delivery-btn {
        font-size: .75rem;
        font-weight: 400;
        color: var(--grey-90);
    }
}

.product-review-box .rating-text {
    font-size: 0.875em;
    font-weight: 600;
    line-height: 1;
}

.product-review-box .clean-rating {
    background-color: transparent !important;
    border: none !important;
    height: auto;
    box-shadow: none;
    gap: 0;
    width: auto;
    display: inline-flex;
}

.product-review-box .b-rating-star .b-rating-icon {
    color: var(--black);
}

.product-review-box .b-rating-star {
    padding: 0 .1em;
}

.review-item .circle-name {
    width: 3rem;
    height: 3rem;
    background: transparent;
}

.review-item .classic-rating {
    background-color: transparent !important;
    border: none !important;
    height: auto;
    box-shadow: none;
    gap: 0;
    width: auto;
}

.review-item .b-rating-star {
    padding: 0 .1em;
}

.review-item .review-header-right {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
}

.review-item .review-header-right .text-muted {
    white-space: nowrap;
    font-size: 0.75rem;
}

.review-item .review-header-right .vote-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.75rem;
}

.review-item .review-header-right .vote-btn .b-icon {
    font-size: 0.875rem;
}

.review-item h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@media (max-width: 47.9375rem) {
    .review-item .review-header-right {
        gap: 0.375rem;
    }

    .review-item .review-header-right .text-muted {
        font-size: 0.625rem;
    }

    .review-item .review-header-right .vote-btn {
        font-size: 0.625rem;
    }

    .review-item .review-header-right .vote-btn .b-icon {
        font-size: 0.75rem;
    }
}

.review-text {
    line-height: 1.6;
}

.review-text.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.review-text.is-expanded {
    display: block;
    overflow: visible;
}

.vote-btn {
    cursor: pointer;
}

.vote-btn .b-icon,
.vote-btn .b-icon svg {
    pointer-events: none;
}

.variations-badge .badge {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--Grey-60, #697077);
    font-family: Poppins;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    margin: 0.25rem 0;
}

.review-thumbs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.review-thumb {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    display: inline-block;
}

.review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-content .text-expanded-link {
    font-size: 0.9em;
}

.review-image-section {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    background: var(--black);
    display: block;
}