.bd-product-detail-page {
    background: #f8f8f4;
    color: #17382b;
    min-height: 70vh;
}

.bd-product-detail-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    margin-top: 70px;
}

.bd-product-detail-hero {
    padding: 34px 0 90px;
}

.bd-product-detail-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;
    font-size: 12px;
    color: #7b847e;
}

.bd-product-detail-breadcrumbs a {
    color: #53645b;
    text-decoration: none;
    transition: color .2s ease;
}

.bd-product-detail-breadcrumbs a:hover {
    color: #17382b;
}

.bd-product-detail-breadcrumbs i {
    font-size: 8px;
    color: #a6aea9;
}

.bd-product-detail-breadcrumbs span {
    color: #17382b;
}

.bd-product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 76px;
    align-items: start;
}

.bd-product-detail-image-wrap {
    position: relative;
    min-height: 430px;
    border-radius: 26px;
    overflow: hidden;
    background: #e9eee8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bd-product-detail-image-wrap::before {
    content: "";
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}

.bd-product-detail-image-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 480px;
    object-fit: contain;
    padding: 10px;
}

.bd-product-detail-image-label {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #52635a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}

.bd-product-detail-category,
.bd-product-detail-eyebrow,
.bd-product-detail-bottom-card span {
    display: block;
    margin-bottom: 18px;
    color: #658070;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bd-product-detail-content h1 {
    max-width: 620px;
    margin: 0;
    color: #17382b;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 600;
}

.bd-product-detail-short {
    max-width: 620px;
    margin: 28px 0 0;
    color: #59675f;
    font-size: 17px;
    line-height: 1.7;
}

.bd-product-detail-line {
    width: 100%;
    height: 1px;
    margin: 32px 0;
    background: #dce1dc;
}

.bd-product-detail-description {
    max-width: 650px;
    color: #4f5e56;
    font-size: 15px;
    line-height: 1.8;
}

.bd-product-detail-description p {
    margin: 0 0 16px;
}

.bd-product-detail-description p:last-child {
    margin-bottom: 0;
}

.bd-product-detail-description h2,
.bd-product-detail-description h3,
.bd-product-detail-description h4 {
    margin: 24px 0 10px;
    color: #17382b;
    line-height: 1.2;
}

.bd-product-detail-description ul,
.bd-product-detail-description ol {
    padding-left: 22px;
}

.bd-product-detail-description img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.bd-product-detail-empty-copy {
    color: #69756e;
}

.bd-product-detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 38px;
}

.bd-product-detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 21px;
    border-radius: 999px;
    background: #17382b;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease;
}

.bd-product-detail-button:hover {
    transform: translateY(-2px);
    background: #28533f;
}

.bd-product-detail-button i {
    font-size: 11px;
}

.bd-product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #53645b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.bd-product-detail-back:hover {
    color: #17382b;
}

.bd-product-detail-bottom {
    padding: 0 0 80px;
}

.bd-product-detail-bottom-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 46px 50px;
    border-radius: 26px;
    background: #dfeadd;
}

.bd-product-detail-bottom-card::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -70px;
    top: -80px;
    border: 1px solid rgba(23,56,43,.16);
    border-radius: 50%;
}

.bd-product-detail-bottom-card h2 {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0;
    color: #17382b;
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 600;
}

.bd-product-detail-bottom-card a {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 999px;
    background: #fff;
    color: #17382b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.bd-product-detail-bottom-card a i {
    font-size: 11px;
}

.bd-product-detail-not-found {
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding: 90px 0;
}

.bd-product-detail-not-found h1 {
    margin: 0;
    color: #17382b;
    font-size: clamp(48px, 7vw, 88px);
    line-height: .95;
    letter-spacing: -.05em;
}

.bd-product-detail-not-found p {
    max-width: 540px;
    margin: 24px 0 30px;
    color: #617068;
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .bd-product-detail-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .bd-product-detail-image-wrap,
    .bd-product-detail-image-wrap img {
        height: 480px;
        min-height: 480px;
    }

    .bd-product-detail-bottom-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .bd-product-detail-container {
        width: min(100% - 30px, 1180px);
    }

    .bd-product-detail-hero {
        padding: 24px 0 62px;
    }

    .bd-product-detail-breadcrumbs {
        gap: 7px;
        margin-bottom: 28px;
        font-size: 10px;
    }

    .bd-product-detail-grid {
        gap: 36px;
    }

    .bd-product-detail-image-wrap,
    .bd-product-detail-image-wrap img {
        height: 350px;
        min-height: 350px;
    }

    .bd-product-detail-image-wrap {
        border-radius: 20px;
    }

    .bd-product-detail-image-wrap img {
        padding: 25px;
    }

    .bd-product-detail-content h1 {
        font-size: 43px;
    }

    .bd-product-detail-short {
        margin-top: 20px;
        font-size: 15px;
    }

    .bd-product-detail-line {
        margin: 25px 0;
    }

    .bd-product-detail-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 17px;
        margin-top: 30px;
    }

    .bd-product-detail-button {
        width: 100%;
    }

    .bd-product-detail-back {
        justify-content: center;
    }

    .bd-product-detail-bottom {
        padding-bottom: 55px;
    }

    .bd-product-detail-bottom-card {
        padding: 32px 25px;
        border-radius: 20px;
    }

    .bd-product-detail-bottom-card h2 {
        font-size: 31px;
    }

    .bd-product-detail-bottom-card a {
        width: 100%;
        justify-content: center;
    }
}


/* =====================================================
   PRODUCT NAME + WHATSAPP ORDER
===================================================== */

.bd-product-detail-content h1 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.bd-product-detail-order {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.bd-product-detail-quantity {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.bd-product-detail-quantity label {
    color: #658070;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bd-product-detail-quantity-control {
    display: flex;
    align-items: center;
    height: 50px;
    border: 1px solid #d7ded8;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.bd-quantity-btn {
    width: 42px;
    height: 50px;
    border: 0;
    background: transparent;
    color: #17382b;
    font-size: 20px;
    cursor: pointer;
}

.bd-quantity-btn:hover {
    background: #eef3ee;
}

.bd-product-detail-quantity-control input {
    width: 54px;
    height: 50px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #17382b;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    appearance: textfield;
    -moz-appearance: textfield;
}

.bd-product-detail-quantity-control input::-webkit-outer-spin-button,
.bd-product-detail-quantity-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bd-product-detail-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    background: #20c76a;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

.bd-product-detail-whatsapp:hover {
    transform: translateY(-2px);
    background: #18ae5b;
}

.bd-product-detail-whatsapp i {
    font-size: 18px;
}


/* =====================================================
   RELATED PRODUCTS
===================================================== */

.bd-product-detail-related {
    padding: 0 0 90px;
}

.bd-product-detail-related-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.bd-product-detail-related-heading span {
    display: block;
    margin-bottom: 12px;
    color: #658070;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.bd-product-detail-related-heading h2 {
    margin: 0;
    color: #17382b;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -.04em;
}

.bd-product-detail-related-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #17382b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.bd-product-detail-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bd-product-detail-related-card {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e2e7e2;
    transition: transform .25s ease, box-shadow .25s ease;
}

.bd-product-detail-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(23, 56, 43, .08);
}

.bd-product-detail-related-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #e9eee8;
}

.bd-product-detail-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .45s ease;
}

.bd-product-detail-related-card:hover .bd-product-detail-related-image img {
    transform: scale(1.03);
}

.bd-product-detail-related-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #658070;
    font-size: 28px;
}

.bd-product-detail-related-content {
    padding: 22px;
}

.bd-product-detail-related-content > span {
    display: block;
    margin-bottom: 10px;
    color: #658070;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bd-product-detail-related-content h3 {
    margin: 0;
    color: #17382b;
    font-size: 21px;
    line-height: 1.15;
}

.bd-product-detail-related-content h3 a {
    color: inherit;
    text-decoration: none;
}

.bd-product-detail-related-content p {
    margin: 10px 0 0;
    color: #68766e;
    font-size: 13px;
    line-height: 1.6;
}

.bd-product-detail-related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #17382b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .bd-product-detail-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bd-product-detail-order {
        align-items: stretch;
        flex-direction: column;
    }

    .bd-product-detail-whatsapp {
        width: 100%;
    }

    .bd-product-detail-related {
        padding-bottom: 62px;
    }

    .bd-product-detail-related-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .bd-product-detail-related-grid {
        grid-template-columns: 1fr;
    }

    .bd-product-detail-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {

    .bd-product-detail-order {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 10px;
        width: 100%;
    }

    .bd-product-detail-quantity {
        flex: 0 0 auto;
    }

    .bd-product-detail-quantity-control {
        height: 44px;
    }

    .bd-quantity-btn {
        width: 34px;
        height: 44px;
    }

    .bd-product-detail-quantity-control input {
        width: 38px;
        height: 44px;
    }

    .bd-product-detail-whatsapp {
        flex: 1;
        min-height: 44px;
        padding: 0 12px;
        white-space: nowrap;
        font-size: 11px;
    }

}


/* Order controls sit directly below the product name. */
.bd-product-detail-content h1 + .bd-product-detail-order {
    margin-top: 24px;
}

.bd-product-detail-content h1 + .bd-product-detail-order + .bd-product-detail-line {
    margin-top: 30px;
}

@media (max-width: 640px) {
    .bd-product-detail-content h1 + .bd-product-detail-order {
        margin-top: 22px;
    }
}


/* =====================================================
   DESCRIPTION + REVIEWS ACCORDIONS
===================================================== */

.bd-product-detail-accordions {
    margin-top: 30px;
    border-top: 1px solid #dce1dc;
}

.bd-product-detail-accordion {
    border-bottom: 1px solid #dce1dc;
}

.bd-product-detail-accordion-trigger {
    width: 100%;
    min-height: 64px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #17382b;
    cursor: pointer;
    text-align: left;
}

.bd-product-detail-accordion-title {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 700;
}

.bd-product-detail-accordion-title > i {
    width: 14px;
    font-size: 11px;
    transition: transform .25s ease;
}

.bd-product-detail-accordion.is-open .bd-product-detail-accordion-title > i {
    transform: rotate(45deg);
}

.bd-accordion-chevron {
    font-size: 10px;
    color: #8a958e;
    transition: transform .25s ease;
}

.bd-product-detail-accordion.is-open .bd-accordion-chevron {
    transform: rotate(180deg);
}

.bd-product-detail-accordion-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition:
        max-height .35s ease,
        opacity .2s ease,
        visibility 0s linear .35s;
}

.bd-product-detail-accordion.is-open .bd-product-detail-accordion-panel {
    max-height: 5000px;
    visibility: visible;
    opacity: 1;
    transition:
        max-height .35s ease,
        opacity .2s ease,
        visibility 0s linear 0s;
}

.bd-product-detail-accordion-panel > div {
    min-height: 0;
}

.bd-product-detail-description {
    padding: 0 36px 28px;
    max-width: 720px;
}

.bd-product-detail-description p {
    margin: 0 0 14px;
}

.bd-product-detail-description p:last-child {
    margin-bottom: 0;
}


/* =====================================================
   REVIEW SUMMARY
===================================================== */

.bd-review-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 0 0 28px;
}

.bd-review-score {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

.bd-review-score strong {
    color: #17382b;
    font-size: 30px;
    line-height: 1;
}

.bd-review-score > span {
    color: #718078;
    font-size: 12px;
}

.bd-review-stars,
.bd-review-item-stars {
    display: inline-flex;
    gap: 3px;
}

.bd-review-stars i,
.bd-review-item-stars i {
    color: #d5dcd7;
    font-size: 12px;
}

.bd-review-stars i.is-filled,
.bd-review-item-stars i.is-filled {
    color: #d39a35;
}

.bd-review-write-button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #cfd8d1;
    border-radius: 999px;
    background: #fff;
    color: #17382b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.bd-review-write-button:hover {
    background: #eef3ee;
    transform: translateY(-1px);
}


/* =====================================================
   REVIEW FORM
===================================================== */

.bd-review-form-wrap {
    margin-bottom: 30px;
    padding: 24px;
    border-radius: 18px;
    background: #eef3ee;
}

.bd-review-form-heading h3 {
    margin: 0;
    color: #17382b;
    font-size: 20px;
}

.bd-review-form-heading p {
    margin: 7px 0 20px;
    color: #68766e;
    font-size: 12px;
}

.bd-review-form {
    display: grid;
    gap: 17px;
}

.bd-review-form-field {
    display: grid;
    gap: 7px;
}

.bd-review-form-field > label {
    color: #52635a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bd-review-form input[type="text"],
.bd-review-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d4ddd6;
    border-radius: 12px;
    background: #fff;
    color: #17382b;
    padding: 12px 13px;
    outline: none;
    font: inherit;
    font-size: 13px;
}

.bd-review-form textarea {
    resize: vertical;
}

.bd-review-form input[type="text"]:focus,
.bd-review-form textarea:focus {
    border-color: #71907f;
}

.bd-review-rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    width: fit-content;
    gap: 4px;
}

.bd-review-rating-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bd-review-rating-input label {
    color: #cbd4ce;
    font-size: 22px;
    cursor: pointer;
    transition: color .15s ease;
}

.bd-review-rating-input label:hover,
.bd-review-rating-input label:hover ~ label,
.bd-review-rating-input input:checked ~ label {
    color: #d39a35;
}

.bd-review-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bd-review-submit,
.bd-review-cancel {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.bd-review-submit {
    border: 0;
    background: #17382b;
    color: #fff;
}

.bd-review-cancel {
    border: 1px solid #cfd8d1;
    background: #fff;
    color: #17382b;
}


/* =====================================================
   REVIEW MESSAGE + LIST
===================================================== */

.bd-review-message {
    margin-bottom: 22px;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
}

.bd-review-message.is-success {
    background: #e3f2e5;
    color: #23613b;
}

.bd-review-message.is-error {
    background: #f7e5e2;
    color: #8b3b2e;
}

.bd-review-list {
    border-top: 1px solid #e2e7e2;
}

.bd-review-item {
    padding: 24px 0;
    border-bottom: 1px solid #e2e7e2;
}

.bd-review-item-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.bd-review-item-top h4 {
    margin: 8px 0 0;
    color: #17382b;
    font-size: 14px;
}

.bd-review-item-top time {
    color: #89938d;
    font-size: 11px;
}

.bd-review-item > p {
    margin: 12px 0 0;
    color: #59675f;
    font-size: 13px;
    line-height: 1.7;
}

.bd-review-empty {
    padding: 30px 0 8px;
    text-align: center;
}

.bd-review-empty-stars {
    color: #cdd6d0;
    font-size: 21px;
    letter-spacing: 2px;
}

.bd-review-empty h4 {
    margin: 10px 0 5px;
    color: #17382b;
    font-size: 15px;
}

.bd-review-empty p {
    margin: 0;
    color: #718078;
    font-size: 12px;
}

@media (max-width: 640px) {
    .bd-review-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .bd-review-write-button {
        width: 100%;
    }

    .bd-product-detail-description {
        padding: 0 0 24px;
    }

    .bd-review-form-wrap {
        padding: 18px;
    }

    .bd-review-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bd-review-submit,
    .bd-review-cancel {
        width: 100%;
    }
}


/* Review form hidden state */
.bd-review-form-wrap[hidden] {
    display: none !important;
}

/* =====================================================
   PRODUCT IMAGE GALLERY
===================================================== */

.bd-product-detail-media {
    min-width: 0;
}

.bd-product-detail-image-wrap {
    position: relative;
}

.bd-product-gallery-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(23,56,43,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #17382b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 8px 20px rgba(23,56,43,.08);
    transition: transform .2s ease, background .2s ease;
}

.bd-product-gallery-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.bd-product-gallery-prev {
    left: 18px;
}

.bd-product-gallery-next {
    right: 18px;
}

.bd-product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 2px 2px 5px;
    scrollbar-width: thin;
}

.bd-product-gallery-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 68px;
    padding: 0;
    border: 1px solid #dbe2dc;
    border-radius: 12px;
    background: #e9eee8;
    overflow: hidden;
    cursor: pointer;
    opacity: .72;
    transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.bd-product-gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.bd-product-gallery-thumb.is-active {
    border: 2px solid #17382b;
    opacity: 1;
}

.bd-product-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =====================================================
   PRODUCT SIZE / OPTION SELECTOR
===================================================== */

.bd-product-detail-variants {
    margin-top: 24px;
}

.bd-product-detail-variants-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 11px;
}

.bd-product-detail-variants-heading span:first-child {
    color: #658070;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bd-product-detail-variants-heading span:last-child {
    color: #17382b;
    font-size: 12px;
    font-weight: 700;
}

.bd-product-detail-variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.bd-product-variant {
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid #d2dbd4;
    border-radius: 999px;
    background: #fff;
    color: #53645b;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.bd-product-variant:hover {
    border-color: #71907f;
    color: #17382b;
    transform: translateY(-1px);
}

.bd-product-variant.is-selected {
    border-color: #17382b;
    background: #17382b;
    color: #fff;
}

/* Keep the order controls comfortably below the optional selector. */
.bd-product-detail-variants + .bd-product-detail-order {
    margin-top: 22px;
}

@media (max-width: 640px) {
    .bd-product-gallery-arrow {
        width: 36px;
        height: 36px;
    }

    .bd-product-gallery-prev {
        left: 12px;
    }

    .bd-product-gallery-next {
        right: 12px;
    }

    .bd-product-gallery-thumb {
        flex-basis: 68px;
        width: 68px;
        height: 60px;
    }

    .bd-product-detail-variants {
        margin-top: 20px;
    }

    .bd-product-detail-variant-list {
        gap: 7px;
    }

    .bd-product-variant {
        min-height: 38px;
        padding: 0 13px;
        font-size: 11px;
    }
}


/* =====================================================
   REVIEW LIST — CONTAINED SCROLL AREA
   Keeps a long list from making the product page extremely tall.
===================================================== */

.bd-review-list {
    max-height: 390px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: #b9c7bf transparent;
    overscroll-behavior: contain;
}

.bd-review-list::-webkit-scrollbar {
    width: 6px;
}

.bd-review-list::-webkit-scrollbar-track {
    background: transparent;
}

.bd-review-list::-webkit-scrollbar-thumb {
    background: #b9c7bf;
    border-radius: 20px;
}

.bd-review-list::-webkit-scrollbar-thumb:hover {
    background: #8ea397;
}

.bd-review-item {
    padding: 20px 4px 20px 0;
}

.bd-review-item:first-child {
    padding-top: 18px;
}

.bd-review-item:last-child {
    border-bottom: 0;
    padding-bottom: 18px;
}

/* Keep the review summary visible while the review list itself scrolls. */
.bd-review-summary {
    position: relative;
    z-index: 2;
    background: #f9faf7;
}

@media (max-width: 640px) {
    .bd-review-list {
        max-height: 430px;
        padding-right: 7px;
    }
}
