/**
 * WST WooCommerce Helper - standalone star rating + review count.
 *
 * Self-contained styles for the [wst_product_rating] shortcode and the
 * WST_WH_Product_Card::get_rating_html() helper, usable on any page
 * regardless of the catalog grid's body class.
 *
 * Override the custom properties on .wst-product-rating to match a
 * project's design system.
 */
.wst-product-rating {
    --wst-card-accent: #bf9a44;
    --wst-card-muted: #8b8f86;
}

.wst-product-rating .wst-card__rating {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    min-height: 16px;
}

.wst-product-rating .wst-card__review-count {
    color: var(--wst-card-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.wst-product-rating .wst-card__stars {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    line-height: 0;
    vertical-align: middle;
}

.wst-product-rating .wst-card__stars-base,
.wst-product-rating .wst-card__stars-fill-inner {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 2px;
}

.wst-product-rating .wst-card__stars svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.wst-product-rating .wst-card__stars-base svg {
    fill: var(--secondary);
}

.wst-product-rating .wst-card__stars-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.wst-product-rating .wst-card__stars-fill-inner svg {
    fill: var(--wst-card-accent, #d4a83a);
}


.wst-product-reviews {
  width: 100%;
  padding: 0;
  background: transparent;
  color: var(--neutral-dark);
}

.wst-product-reviews__inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.wst-product-reviews__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--base-dark-trans-10);
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.wst-product-reviews__native {
  width: 100%;
}
.woocommerce .wst-review-sort label {
  margin: 0;
}
.woocommerce .wst-review-sort select {
  padding: 0;
  border: none;
  background: transparent;
}
.wst-product-reviews__eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wst-product-reviews__title {
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 500;
}

.wst-product-reviews__summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 20px;
  border-right: 1px solid var(--base-dark-trans-10);
}

.wst-product-reviews__score {
  font-size: 46px;
  line-height: 1;
  font-weight: 400;
  color: var(--secondary);
}

.wst-product-reviews__rating {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.woocommerce .wst-product-reviews__rating .star-rating {
    float: none;
    margin: 0;
    color: var(--secondary);
}

.wst-product-reviews__count,
.wst-product-reviews__no-rating {
    font-size: 14px;
    opacity: 0.75;
}

.wst-product-reviews__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  border: none;
  color: var(--white);
  text-decoration: none;
  text-transform: capitalize;
  letter-spacing: 0;
  border-radius: var(--radius-circle);
  font-family: inherit;
  font-weight: 400;
  font-size: var(--text-s);
  background: var(--secondary);
  cursor: pointer;
}

.wst-product-reviews__button:hover {
    background: var(--neutral);
    color: #fff;
}

/* Hide the duplicate title from WooCommerce's native template. */
.wst-product-reviews__native .woocommerce-Reviews-title {
    display: none;
}

.wst-product-reviews__native #reviews {
    padding-top: 50px;
}

.wst-product-reviews__native #comments ol.commentlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wst-product-reviews__native #comments ol.commentlist li.review {
    padding: 32px 0;
    border-bottom: 1px solid rgba(23, 63, 53, 0.18);
}

.wst-product-reviews__native .comment_container {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
}

.wst-product-reviews__native .avatar {
    position: static !important;
    width: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
}

.wst-product-reviews__native .comment-text {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.wst-product-reviews__native .meta {
    color: #173f35 !important;
}

.wst-product-reviews__native .woocommerce-review__author {
    font-weight: 600;
}

.wst-product-reviews__native .woocommerce-review__verified {
    font-size: 12px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wst-product-reviews__native #review_form_wrapper {
    margin-top: 60px;
}

.wst-product-reviews__native input:not([type="submit"]),
.wst-product-reviews__native textarea {
    width: 100%;
    border: 1px solid rgba(23, 63, 53, 0.3);
    border-radius: 0;
    background: transparent;
}

.wst-product-reviews__native input[type="submit"] {
    padding: 15px 28px !important;
    border: 1px solid #173f35 !important;
    border-radius: 0 !important;
    background: #173f35 !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .wst-product-reviews {
        ;
    }

    .wst-product-reviews__header {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 28px;
    }

    .wst-product-reviews__score {
        font-size: 46px;
    }

    .wst-product-reviews__button {
        width: 100%;
    }

    .wst-product-reviews__native .comment_container {
        grid-template-columns: 46px 1fr;
        gap: 15px;
    }

    .wst-product-reviews__native .avatar {
        width: 46px !important;
        height: 46px !important;
    }
}


.wst-review-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wst-review-card {
  margin: 0;
  padding: 30px 0;
  border-bottom: 1px solid var(--base-dark-trans-10);
}

.wst-review-card__inner {
    display: grid;
    grid-template-columns: minmax(180px, 25%) 1fr auto;
    gap: 65px;
}

.wst-review-card__identity {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: var(--neutral);
    font-size: 16px;
    line-height: 1.4;
}

.wst-review-card__name {
    font-weight: 400;
}

.wst-review-card__country {
    font-weight: 400;
}

.wst-review-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #173f35;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wst-review-card__rating {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.woocommerce .wst-review-card__rating .star-rating {
    float: none;
    width: 5.4em;
    margin: 0;
    color: var(--secondary);
    font-size: 18px;
    height: 20px;
}

.wst-review-card__title {
  margin: 0;
  color: var(--neutral-dark);
  font-size: var(--text-m);
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.wst-review-card__text {
    color: var(--neutral);
    font-size: 16px;
    line-height: 1.7;
}

.wst-review-card__text p {
    margin: 0;
}

.wst-review-list__empty {
    padding: 35px 0;
    border-bottom: 1px solid rgba(23, 63, 53, 0.22);
}

@media (max-width: 767px) {
    .wst-review-card {
        padding: 28px 0;
    }

    .wst-review-card__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


.wst-product-reviews__native #review_form_wrapper {
    width: 100%;
    max-width: 760px;
    margin-top: 60px;
    padding-top: 45px;
    border-top: 1px solid rgba(23, 63, 53, 0.22);
}

.wst-product-reviews__native .comment-reply-title {
    display: block;
    margin: 0 0 30px;
    color: #173f35;
    font-size: 30px;
    font-weight: 500;
}

.wst-product-reviews__native .comment-form > p,
.wst-product-reviews__native .comment-form-rating {
    margin: 0 0 22px;
}

.wst-product-reviews__native .comment-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--neutral);
  font-size: 14px;
  font-weight: 500;
}

.wst-product-reviews__native .comment-form input:not([type="submit"]),
.wst-product-reviews__native .comment-form select,
.wst-product-reviews__native .comment-form textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid var(--base-dark-trans-10);
    border-radius: 0;
    background: transparent;
    color: var(--neutral-dark);
    margin: 0;
}

.wst-product-reviews__native .comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wst-product-reviews__native .form-submit .submit {
    min-height: 52px;
    padding: 12px 28px !important;
    border: 1px solid #173f35 !important;
    border-radius: 0 !important;
    background: #173f35 !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* =========================================
   REVIEW FORM — STANDALONE / MODAL
   Same look as the inline review form, without
   the divider spacing meant to follow a review list.
========================================= */

.wst-review-form-standalone {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 8px 4px 4px;
}

.wst-review-form-standalone .comment-reply-title {
    display: block;
    margin: 0 0 26px;
    color: #173f35;
    font-size: 24px;
    font-weight: 500;
}

.wst-review-form-standalone .comment-form > p,
.wst-review-form-standalone .comment-form-rating {
    margin: 0 0 20px;
}

.wst-review-form-standalone .comment-form label {
    display: block;
    margin-bottom: 6px;
    color: #555b58;
    font-size: 13px;
    font-weight: 500;
}

.wst-review-form-standalone .comment-form input:not([type="submit"]),
.wst-review-form-standalone .comment-form select,
.wst-review-form-standalone .comment-form textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid rgba(23, 63, 53, 0.2);
    border-radius: 8px;
    background: #fff;
    color: #173f35;
    font-family: inherit;
    font-size: 14px;
    margin: 0;
    box-sizing: border-box;
}

.wst-review-form-standalone .comment-form input:not([type="submit"]):focus,
.wst-review-form-standalone .comment-form select:focus,
.wst-review-form-standalone .comment-form textarea:focus {
    border-color: #0c6254;
    outline: none;
}

.wst-review-form-standalone .comment-form textarea {
    min-height: 130px;
    resize: vertical;
}

.wst-review-form-standalone .comment-form-rating .stars {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wst-review-form-standalone .comment-form-rating .stars a {
    color: #0c6254;
}

.wst-review-form-standalone .form-submit {
    margin: 8px 0 0;
}

.wst-review-form-standalone .form-submit .submit {
    min-height: 52px;
    padding: 12px 32px !important;
    border: 1px solid #0c6254 !important;
    border-radius: 999px !important;
    background: #0c6254 !important;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wst-review-form-standalone .form-submit .submit:hover,
.wst-review-form-standalone .form-submit .submit:focus {
    border-color: #173f35 !important;
    background: #173f35 !important;
}

@media (max-width: 480px) {
    .wst-review-form-standalone .comment-reply-title {
        font-size: 20px;
    }
}



/* =========================================
   BIO CEYLON – PURCHASE OPTIONS
   Exact WCSATT markup
========================================= */

/* Main purchase form */
.single-product form.cart {
    display: grid !important;
    grid-template-columns:
        minmax(190px, 1.25fr)
        110px
        minmax(210px, 1.5fr);
    align-items: center;
    gap: 14px;
    width: 100%;
    margin: 0;
}

/*
 * Remove the outer wrapper from the visual layout.
 * Its children can then align with quantity and button.
 */
.single-product form.cart > .wcsatt-options-wrapper {
    display: contents !important;
}

/* =========================================
   PURCHASE-TYPE RADIO PILLS
========================================= */

.single-product
form.cart
.wcsatt-options-product-prompt {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 0 14px;
}

.single-product
.wcsatt-options-prompt-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.single-product
.wcsatt-options-prompt-radios {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-product
.wcsatt-options-prompt-radio {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.single-product
.wcsatt-options-prompt-radio::before {
    display: none !important;
}

/* Individual purchase option */
.single-product
.wcsatt-options-prompt-radio
> .wcsatt-options-prompt-label {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 10px 18px 10px 48px;
    border: 1px solid transparent;
    border-radius: 30px;
    background: #e8e5de;
    color: #173f35;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.single-product
.wcsatt-options-prompt-radio
> .wcsatt-options-prompt-label:hover {
    border-color: #0c6254;
}

/* Native radio */
.single-product
.wcsatt-options-prompt-action-input {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 17px;
    height: 17px;
    margin: 0;
    transform: translateY(-50%);
    accent-color: #0c6254;
    cursor: pointer;
}

/* Selected purchase option */
.single-product
.wcsatt-options-prompt-label:has(
    .wcsatt-options-prompt-action-input:checked
) {
    border-color: #0c6254;
    background: #f3f0e9;
}

/* Purchase-option text */
.single-product
.wcsatt-options-prompt-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-width: 0;
    color: #073f37;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Plugin-generated details such as discount */
.single-product
.wcsatt-options-prompt-action
.subscription-option-details,
.single-product
.wcsatt-options-prompt-action
.one-time-option-details {
    margin-left: auto;
    padding-left: 10px;
    color: #173f35;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

/* Prevent theme/plugin padding from shifting label content */
.single-product
.wcsatt-options-product-prompt-radio
label
> span {
    padding-left: 0 !important;
}

/* =========================================
   DROPDOWN + QUANTITY + ADD TO CART ROW
========================================= */

/* Subscription-plan wrapper */
.single-product
form.cart
> .wcsatt-options-wrapper
> .wcsatt-options-product-wrapper {
    grid-column: 1;
    width: 100%;
    max-width: 376px;
    min-width: 0;
    margin: 0 !important;
}

/*
 * The plugin adds an inline display:none when One-Time
 * Purchase is selected. Do not override that inline state.
 */
.single-product
.wcsatt-options-product {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-product
.wcsatt-options-product
li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.single-product
.wcsatt-options-product
li::before {
    display: none !important;
}

/* Subscription-frequency dropdown */
.single-product
.wcsatt-options-product-wrapper
select,
.single-product
select.wcsatt-options-product-dropdown {
    display: block;
    width: 100%;
    height: 54px;
    min-height: 54px;
    margin: 0;
    padding: 10px 42px 10px 20px;
    border: 1px solid rgba(23, 63, 53, 0.3);
    border-radius: 28px;
    background-color: transparent;
    color: #173f35;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.3;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}
.single-product .wcsatt-options-product-wrapper select::picker-icon,
.single-product select.wcsatt-options-product-dropdown::picker-icon {
    margin-right: 10px !important;
    position: absolute !important;
    right: 10px !important;
    display: none !important;
}

/* Quantity */
.single-product
form.cart
> .quantity {
    grid-column: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 110px !important;
    min-width: 110px;
    height: 54px;
    margin: 0 !important;
    padding: 0;
    border: 1px solid rgba(23, 63, 53, 0.3);
    border-radius: 28px;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
}

.single-product
form.cart
> .quantity
.qty {
    width: 100% !important;
    height: 52px;
    margin: 0;
    padding: 8px;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    color: #173f35;
    font-family: inherit;
    font-size: 14px;
    text-align: center;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}

/* Add to Cart */
.single-product
form.cart
> .single_add_to_cart_button {
    grid-column: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    margin: 0 !important;
    padding: 12px 28px !important;
    border: 1px solid #0c6254 !important;
    border-radius: 28px !important;
    background: #0c6254 !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: none !important;
    box-sizing: border-box;
}

.single-product
form.cart
> .single_add_to_cart_button:hover,
.single-product
form.cart
> .single_add_to_cart_button:focus {
    border-color: #173f35 !important;
    background: #173f35 !important;
    color: #fff !important;
}

/* Plugin's secondary subscription wrapper */
.single-product
form.cart
> .wcsatt-add-to-subscription-wrapper {
    grid-column: 1 / -1;
    width: 100%;
}

/* =========================================
   ONE-TIME PURCHASE STATE
========================================= */

/*
 * When the dropdown is hidden, quantity and button
 * remain together on the right without an empty control.
 */
.single-product
form.cart:has(
    .wcsatt-options-product-wrapper[style*="display: none"]
)
> .quantity {
    grid-column: 2;
}

.single-product
form.cart:has(
    .wcsatt-options-product-wrapper[style*="display: none"]
)
> .single_add_to_cart_button {
    grid-column: 3;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {
    .single-product form.cart {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
    }

    .single-product
    .wcsatt-options-prompt-radios {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .single-product
    form.cart
    > .wcsatt-options-wrapper
    > .wcsatt-options-product-wrapper {
        grid-column: 1 / -1;
    }

    .single-product
    form.cart
    > .quantity {
        grid-column: 1;
        width: 105px !important;
        min-width: 105px;
    }

    .single-product
    form.cart
    > .single_add_to_cart_button {
        grid-column: 2;
    }

    .single-product
    form.cart:has(
        .wcsatt-options-product-wrapper[style*="display: none"]
    )
    > .quantity {
        grid-column: 1;
    }

    .single-product
    form.cart:has(
        .wcsatt-options-product-wrapper[style*="display: none"]
    )
    > .single_add_to_cart_button {
        grid-column: 2;
    }
}



.single-product form.cart .single_add_to_cart_button {
    white-space: normal;
    line-height: 1.3 !important;
}

@media (max-width: 420px) {
    .single-product form.cart .single_add_to_cart_button {
        padding-right: 12px !important;
        padding-left: 12px !important;
        font-size: 10px !important;
        letter-spacing: 0.05em;
    }
}

.woocommerce div.product form.cart .variations label, .woocommerce form label {
    display: none;
}


/* =========================================
   BIO CEYLON – REFERENCE PURCHASE DESIGN
========================================= */

/* Constrain the complete purchase section */
.single-product form.cart {
    grid-template-columns:
        minmax(230px, 1.4fr)
        86px
        minmax(210px, 1fr) !important;
    column-gap: 14px !important;
    row-gap: 18px !important;
    max-width: 780px;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Purchase options heading */
.single-product .wcsatt-options-product-prompt {
    margin-bottom: 0 !important;
}

/* Two equal option pills */
.single-product .wcsatt-options-prompt-radios {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
}

/* Option pill */
.single-product
.wcsatt-options-prompt-radio
> .wcsatt-options-prompt-label {
    min-height: 58px !important;
    padding: 9px 20px 9px 48px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: #dedbd4 !important;
}

/* Selected option */
.single-product
.wcsatt-options-prompt-label:has(
    .wcsatt-options-prompt-action-input:checked
) {
    border-color: #0c6254 !important;
    background: #f7f4ee !important;
}

/* Native radio position */
.single-product .wcsatt-options-prompt-action-input {
    left: 19px !important;
    width: 16px !important;
    height: 16px !important;
}

/* Complete custom content */
.single-product .wcsatt-options-prompt-action {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Left-hand copy */
.single-product .bio-option-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

/* Main label */
.single-product .bio-option-title {
    color: #555b58;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}

/* Supporting sentence */
.single-product .bio-option-subtitle {
    margin-top: 2px;
    overflow: hidden;
    color: #777b78;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

/* Price on right */
.single-product .bio-option-pill-price {
    flex: 0 0 auto;
    margin-left: auto;
    color: #555b58;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

/* Delivery dropdown */
.single-product
.wcsatt-options-product-wrapper select,
.single-product
select.wcsatt-options-product-dropdown {
    height: 56px !important;
    min-height: 56px !important;
    padding: 8px 42px 8px 20px !important;
    border-color: rgba(12, 98, 84, 0.55) !important;
    border-radius: 999px !important;
    font-size: 14px;
    font-weight: 400;
}

/* Quantity */
.single-product form.cart > .quantity {
    width: 88px !important;
    min-width: 88px !important;
    height: 56px !important;
    border-color: #ded8ca !important;
    border-radius: 999px !important;
}

.single-product form.cart > .quantity .qty {
    height: 54px !important;
    font-size: 12px !important;
}

/* Compact Add to Basket button */
.single-product form.cart > .single_add_to_cart_button {
    min-height: 56px !important;
    padding: 10px 20px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.03em !important;
    white-space: normal;
}

/* Secondary subscription checkbox */
.single-product .wcsatt-add-to-subscription-wrapper {
    margin-top: 4px !important;
    font-size: 12px;
}

/* Mobile */
@media (max-width: 700px) {
    .single-product form.cart {
        grid-template-columns: 88px minmax(0, 1fr) !important;
        max-width: 100%;
    }

    .single-product .wcsatt-options-prompt-radios {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .single-product
    form.cart
    > .wcsatt-options-wrapper
    > .wcsatt-options-product-wrapper {
        grid-column: 1 / -1 !important;
    }

    .single-product form.cart > .quantity {
        grid-column: 1 !important;
    }

    .single-product form.cart > .single_add_to_cart_button {
        grid-column: 2 !important;
    }
}

@media (max-width: 420px) {
    .single-product
    .wcsatt-options-prompt-radio
    > .wcsatt-options-prompt-label {
        padding-right: 16px !important;
    }

    .single-product .bio-option-pill-price {
        font-size: 14px;
    }
}


.woocommerce .oxy-product-cart-button, .woocommerce .oxy-woo-element div.product form.cart {
    max-width : 100% !important;
}



/* =========================================
   FIX: VISIBLE RADIO SELECTION
========================================= */

.single-product
.wcsatt-options-prompt-label {
    cursor: pointer;
}

/* Restore and style the real radio input */
.single-product
.wcsatt-options-prompt-action-input {
    position: absolute !important;
    top: 50% !important;
    left: 20px !important;
    z-index: 3;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #b9b9b4 !important;
    border-radius: 50% !important;
    background: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Green inner dot */
.single-product
.wcsatt-options-prompt-action-input:checked {
    border: 5px solid #0c6254 !important;
    background: #fff !important;
}

/* Selected purchase pill */
.single-product
.wcsatt-options-prompt-radio.bio-option-selected
> .wcsatt-options-prompt-label {
    border-color: #0c6254 !important;
    background: #f7f4ee !important;
}

/* Unselected purchase pill */
.single-product
.wcsatt-options-prompt-radio:not(.bio-option-selected)
> .wcsatt-options-prompt-label {
    border-color: transparent !important;
    background: #dedbd4 !important;
}

/* Keep custom copy clear of the radio */
.single-product .bio-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding-left: 0;
    pointer-events: none;
}


/* =========================================
   FIX: QUANTITY MINUS / PLUS
========================================= */

.single-product form.cart > .quantity {
    display: grid !important;
    grid-template-columns: 30px minmax(24px, 1fr) 30px;
    align-items: center;
    width: 110px !important;
    min-width: 110px !important;
    padding: 0 6px !important;
    overflow: hidden;
}

.single-product
form.cart
> .quantity
.qty {
    grid-column: 2;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    -moz-appearance: textfield;
}

/* Hide browser-native number arrows */
.single-product
form.cart
> .quantity
.qty::-webkit-inner-spin-button,
.single-product
form.cart
> .quantity
.qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.single-product .bio-qty-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0c6254;
    font-family: inherit;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
}

.single-product .bio-qty-minus {
    grid-column: 1;
}

.single-product .bio-qty-plus {
    grid-column: 3;
}

.single-product .bio-qty-button:hover,
.single-product .bio-qty-button:focus {
    border: 0;
    background: transparent;
    color: #173f35;
    box-shadow: none;
    outline: none;
}


/* =========================================
   FIX: BUTTON PRICE
========================================= */

.single-product
form.cart
> .single_add_to_cart_button {
    white-space: normal !important;
}


/* Space between quantity and Add to Basket */
.single-product form.cart > .quantity {
    margin-right: 12px !important;
}

.single-product form.cart {
    column-gap: 12px !important;
}




/* YITH wrapper positioned like the original product-card heart */
.woocommerce-loop-product__link,
.wst-card,
.product {
    position: relative;
}

.bio-loop-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    margin: 0 !important;
}

/* Remove YITH's surrounding spacing */
.bio-loop-wishlist,
.bio-loop-wishlist > div,
.bio-loop-wishlist .yith-wcwl-add-to-wishlist,
.bio-loop-wishlist .yith-wcwl-add-button,
.bio-loop-wishlist .yith-wcwl-wishlistaddedbrowse,
.bio-loop-wishlist .yith-wcwl-wishlistexistsbrowse {
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide YITH labels but retain the functional link */
.bio-loop-wishlist .feedback,
.bio-loop-wishlist .separator,
.bio-loop-wishlist .view-wishlist,
.bio-loop-wishlist a > span {
    display: none !important;
}

.bio-loop-wishlist .wst-card__wishlist {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;
    text-indent: 0 !important;
}

.bio-loop-wishlist .wst-card__wishlist svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    pointer-events: none;
}

.bio-loop-wishlist .wst-card__wishlist svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Product is already in the wishlist */
.bio-loop-wishlist .wst-card__wishlist.is-active svg path,
.bio-loop-wishlist
.yith-wcwl-wishlistaddedbrowse
.wst-card__wishlist svg path,
.bio-loop-wishlist
.yith-wcwl-wishlistexistsbrowse
.wst-card__wishlist svg path {
    fill: currentColor;
    stroke: currentColor;
}


/* =========================================
   REVIEW DATE AND SORTING
========================================= */

.wst-review-list__toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  width: 100%;
}

.wst-review-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wst-review-sort label {
    margin: 0;
    color: #555b58;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.wst-review-sort select {
    width: auto;
    min-width: 170px;
    height: 44px;
    margin: 0;
    padding: 8px 40px 8px 18px;
    border: 1px solid #d8d4ca;
    border-radius: 999px;
    background-color: #fff;
    color: #173f35;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.wst-review-card__reviewer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.wst-review-card__reviewer-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.wst-review-card__date {
    flex: 0 0 auto;
    color: #777b78;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .wst-review-list__toolbar {
        justify-content: flex-start;
    }

    .wst-review-sort {
        width: 100%;
    }

    .wst-review-sort select {
        flex: 1;
        min-width: 0;
    }

    .wst-review-card__reviewer {
        gap: 12px;
    }

    .wst-review-card__date {
        font-size: 11px;
    }
}


/* =========================================
   CART ACTIONS WRAPPER
========================================= */

/*
 * Let the subscription controls continue using the form grid,
 * while the new action wrapper occupies the complete second row.
 */
.single-product form.cart > .bio-cart-actions {
    grid-column: 2 / -1 !important;
    display: grid;
    grid-template-columns: 100px minmax(220px, 1fr);
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0;
}

/* Reset rules that expected direct children of form.cart */
.woocommerce.single-product .bio-cart-actions > .single_add_to_cart_button {
  grid-column: 2;
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 12px !important;
  border: none !important;
  align-content: center;
  justify-content: center;
  line-height: 20px !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  position: relative;
  overflow: hidden;
}
.woocommerce.single-product .bio-cart-actions > .single_add_to_cart_button::after {
  position: absolute;
  right: 12px;
}
.single-product form.cart > .bio-cart-actions .quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 1px solid #dedbd4;
  border-radius: var(--radius-circle);
}

.woocommerce.single-product .bio-cart-actions > .quantity .qty {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary);
  min-width: 40px;
  margin: 0;
  text-align: center;
}

.single-product
.bio-cart-actions
> .single_add_to_cart_button {
    grid-column: 2 !important;
    width: 100% !important;
    min-height: 56px !important;
    margin: 0 !important;
}

.single-product
.bio-cart-actions
> .bio-wishlist-button {
    grid-column: 3 !important;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    display: none;
}

/* Ensure YITH stays inside the circular control */
.single-product
.bio-cart-actions
.bio-wishlist-button
.yith-wcwl-add-to-wishlist {
    margin: 0 !important;
}

/* Mobile */
@media (max-width: 992px) {
    .single-product form.cart > .bio-cart-actions {
        grid-template-columns: 90px minmax(180px, 1fr);
    }

}
@media (max-width: 700px) {
    .single-product form.cart > .bio-cart-actions {
        grid-column: 1 / -1 !important;
        grid-template-columns:
            110px
            minmax(0, 1fr);
        gap: 10px;
    }
}

/* Narrow phones: button beneath quantity and heart */
@media (max-width: 480px) {
    .single-product form.cart > .bio-cart-actions {
        grid-template-columns: 1fr;
    }

    .single-product
    .bio-cart-actions
    > .quantity {
        grid-column: 1 !important;
        grid-row: 1;
    }

    .single-product
    .bio-cart-actions
    > .bio-wishlist-button {
        grid-column: 2 !important;
        grid-row: 1;
        justify-self: end;
    }

    .single-product
    .bio-cart-actions
    > .single_add_to_cart_button {
        grid-column: 1 / -1 !important;
        grid-row: 2;
    }
}


/* =========================================
   AJAX ADD TO CART
========================================= */

.single-product .single_add_to_cart_button.wst-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.single-product .single_add_to_cart_button.wst-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wst-ajc-spin 0.6s linear infinite;
}

@keyframes wst-ajc-spin {
    to {
        transform: rotate(360deg);
    }
}

.single-product .wst-ajc-notices {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 0 14px;
}

.single-product .wst-ajc-notices .woocommerce-error,
.single-product .wst-ajc-notices .woocommerce-message,
.single-product .wst-ajc-notices .woocommerce-info {
    margin: 0;
}


/* =========================
   CART RECOMMENDATIONS
========================= */

/* Keep the Oxygen shortcode wrapper inside the off-canvas width. */
.oxy-shortcode:has(.bio-cart-recommendations) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.bio-cart-recommendations {
    position: relative;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 28px 28px 20px !important;
    border-top: 1px solid #d8d2bd;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.bio-cart-recommendations__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.bio-cart-recommendations__header h3 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #004f45;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

/* arrows */
.bio-cart-slider-arrows {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin-left: auto;
}

.bio-cart-slider-prev,
.bio-cart-slider-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #004f45;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.bio-cart-slider-prev:hover,
.bio-cart-slider-next:hover {
    opacity: .6;
}

/* viewport */
.bio-cart-recommendations__viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.bio-cart-recommendations__products {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 16px;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    box-sizing: border-box;
}

.bio-cart-recommendations__products::-webkit-scrollbar {
    display: none;
}

/*
 * EXACTLY TWO PRODUCTS VISIBLE.
 * Do not use calc((100% - 16px) / 2): CSS division inside calc() is not
 * reliable enough for the browsers/builders this site needs to support.
 */
.bio-cart-recommendations__products > .bio-cart-recommendation {
    flex: 0 0 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    min-width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    margin: 0 !important;
    box-sizing: border-box;
    scroll-snap-align: start;
}

/* image */
.bio-cart-recommendation__image {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.bio-cart-recommendation__image img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 160px;
    margin: 0 auto;
    object-fit: contain;
}

/* product name */
.bio-cart-recommendation__title {
    display: block;
    margin-bottom: 8px;
    color: #3d3b35;
    font-size: 16px;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

/* price */
.bio-cart-recommendation__price {
    margin-bottom: 12px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
}

.bio-cart-recommendation__price del {
    margin-right: 4px;
    opacity: .6;
}

/* add button */
.bio-cart-recommendation__button {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: transparent;
    color: #006052;
    font-size: 14px;
    text-decoration: none;
}

.bio-cart-recommendation__button:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .bio-cart-recommendations__header h3 {
        font-size: 21px;
    }

    .bio-cart-slider-prev,
    .bio-cart-slider-next {
        width: 32px;
        height: 32px;
        font-size: 30px;
    }

    .bio-cart-recommendation__image img {
        height: 140px;
    }

    .bio-cart-recommendation__title,
    .bio-cart-recommendation__price {
        font-size: 14px;
    }
}


/* ===============================
   MINI CART QUANTITY
================================ */

.bio-mini-cart-quantity-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 8px;
}

.bio-mini-cart-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d8d2bd;
}

.bio-mini-cart-qty-minus,
.bio-mini-cart-qty-plus {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    background: transparent;

    color: #004f45;

    font-size: 18px;
    line-height: 1;

    cursor: pointer;
}

.bio-mini-cart-qty-value {
    min-width: 28px;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
}


/* Item price */

.bio-mini-cart-item-price {
    min-width: 62px;

    color: #111;

    font-weight: 600;
    font-size: 15px;

    text-align: right;
}


/* loading state */

.bio-mini-cart-quantity-row.is-loading {
    opacity: .5;
    pointer-events: none;
}

/* =========================================
   BIO CEYLON CUSTOM MINI CART DRAWER
   Restores the compact WooCommerce/Oxygen
   mini-cart layout after moving it to shortcode.
========================================= */

.bio-custom-mini-cart,
.bio-custom-mini-cart .widget_shopping_cart_content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Remove browser list bullets/indentation that appear without Oxygen's widget wrapper. */
.bio-custom-mini-cart ul.woocommerce-mini-cart,
.bio-custom-mini-cart ul.cart_list,
.bio-custom-mini-cart ul.product_list_widget {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bio-custom-mini-cart ul.woocommerce-mini-cart > li,
.bio-custom-mini-cart ul.cart_list > li,
.bio-custom-mini-cart ul.product_list_widget > li {
    list-style: none !important;
}

.bio-custom-mini-cart ul.woocommerce-mini-cart > li::before,
.bio-custom-mini-cart ul.woocommerce-mini-cart > li::marker,
.bio-custom-mini-cart ul.cart_list > li::before,
.bio-custom-mini-cart ul.product_list_widget > li::before {
    content: none !important;
    display: none !important;
}

/* Each cart line. */
.bio-custom-mini-cart .woocommerce-mini-cart-item,
.bio-custom-mini-cart .mini_cart_item {
    position: relative;
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #d8d2bd;
    box-sizing: border-box;
    overflow: visible;
}

/* Product link = thumbnail + title. */
.bio-custom-mini-cart .mini_cart_item > a:not(.remove),
.bio-custom-mini-cart .woocommerce-mini-cart-item > a:not(.remove) {
    display: flex !important;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 0 34px 0 0 !important;
    margin: 0 !important;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
}

/* Force native WooCommerce thumbnail back to mini-cart size. */
.bio-custom-mini-cart .mini_cart_item > a:not(.remove) img,
.bio-custom-mini-cart .woocommerce-mini-cart-item > a:not(.remove) img,
.bio-custom-mini-cart ul.cart_list li img,
.bio-custom-mini-cart ul.product_list_widget li img {
    float: none !important;
    flex: 0 0 54px;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    box-shadow: none !important;
}

/* Remove button. */
.bio-custom-mini-cart .mini_cart_item > a.remove,
.bio-custom-mini-cart .woocommerce-mini-cart-item > a.remove {
    position: absolute !important;
    top: 14px !important;
    right: 0 !important;
    left: auto !important;
    z-index: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #004f45 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

/* Variation / subscription metadata should remain compact under the title. */
.bio-custom-mini-cart .mini_cart_item dl.variation,
.bio-custom-mini-cart .woocommerce-mini-cart-item dl.variation {
    margin: 5px 34px 0 68px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 12px;
    line-height: 1.35;
}

/* Custom AJAX quantity + item price row. */
.bio-custom-mini-cart .bio-mini-cart-quantity-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: auto;
    min-width: 0;
    margin: 8px 0 0 68px !important;
}

.bio-custom-mini-cart .bio-mini-cart-quantity {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 36px;
    border: 1px solid #d8d2bd;
    background: transparent;
}

.bio-custom-mini-cart .bio-mini-cart-qty-minus,
.bio-custom-mini-cart .bio-mini-cart-qty-plus {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #004f45 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.bio-custom-mini-cart .bio-mini-cart-qty-value {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 34px;
    color: inherit;
    font-size: 14px;
    line-height: 1;
}

.bio-custom-mini-cart .bio-mini-cart-item-price {
    display: block !important;
    flex: 0 0 auto;
    min-width: 64px;
    margin-left: auto;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
}

/* Sold-individually fallback. */
.bio-custom-mini-cart .bio-mini-cart-single-qty {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 8px 0 0 68px;
}

/* Recommendations stay between items and footer. */
.bio-custom-mini-cart .bio-cart-recommendations {
    margin: 0 !important;
    padding: 24px 0 22px !important;
    border-top: 0;
    border-bottom: 1px solid #d8d2bd;
}

/* Footer: subtotal + native WooCommerce buttons. */
.bio-custom-mini-cart .woocommerce-mini-cart__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin: 0 !important;
    padding: 16px 0 !important;
    border-top: 0;
    border-bottom: 1px solid #d8d2bd;
    box-sizing: border-box;
}

.bio-custom-mini-cart .woocommerce-mini-cart__total strong {
    font-weight: 400;
}

.bio-custom-mini-cart .woocommerce-mini-cart__buttons {
    display: flex;
    gap: 12px;
    width: 100%;
    margin: 0 !important;
    padding: 16px 0 0 !important;
}

.bio-custom-mini-cart .woocommerce-mini-cart__buttons .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #005c50 !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
}

.bio-custom-mini-cart .woocommerce-mini-cart__empty-message {
    margin: 0;
    padding: 18px 0;
}

@media (max-width: 480px) {
    .bio-custom-mini-cart .mini_cart_item > a:not(.remove) img,
    .bio-custom-mini-cart .woocommerce-mini-cart-item > a:not(.remove) img,
    .bio-custom-mini-cart ul.cart_list li img,
    .bio-custom-mini-cart ul.product_list_widget li img {
        flex-basis: 48px;
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 48px !important;
    }

    .bio-custom-mini-cart .bio-mini-cart-quantity-row,
    .bio-custom-mini-cart .bio-mini-cart-single-qty,
    .bio-custom-mini-cart .mini_cart_item dl.variation,
    .bio-custom-mini-cart .woocommerce-mini-cart-item dl.variation {
        margin-left: 62px !important;
    }
}



body.toggled-off-canvas-219-29 {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.mini-cart-off-canvas {
    overflow-y: hidden;
}



/* Mobile category-tab navigation */
.bio-mobile-tab-nav {
    display: contents;
}

.bio-tab-arrow {
    display: none;
}

@media (max-width: 767px) {
    .bio-mobile-tab-nav {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    /* Existing Oxygen tabs */
    .bio-mobile-tab-nav > #_tabs-829-19 {
        min-width: 0;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bio-mobile-tab-nav > #_tabs-829-19::-webkit-scrollbar {
        display: none;
    }

    .bio-mobile-tab-nav > #_tabs-829-19 > .oxy-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .bio-tab-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 1px solid #006353;
        border-radius: 50%;
        background: #006353;
        color: #ffffff;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        position: relative;
        z-index: 2;
    }

    .bio-tab-arrow svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        pointer-events: none;
    }

    .bio-tab-arrow:disabled {
        opacity: 0.3;
        cursor: default;
    }


    .bio-mobile-tab-nav > #_tabs-829-19 {
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 10px;
    }

    .bio-mobile-tab-nav > #_tabs-829-19 > .oxy-tab {
        scroll-snap-align: center;
    }

}


.product-mobile-tab-nav {
    display: contents;
}

.product-tab-arrow {
    display: none;
}

@media (max-width: 767px) {
    .product-mobile-tab-nav {
        display: grid;
        grid-template-columns: 35px minmax(0, 1fr) 35px;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .product-mobile-tab-nav > #_tabs-67-171 {
        min-width: 0;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .product-mobile-tab-nav > #_tabs-67-171::-webkit-scrollbar {
        display: none;
    }

    .product-mobile-tab-nav > #_tabs-67-171 > .oxy-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        width: 100%;
    }

    .product-tab-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 1px solid #006353;
        border-radius: 50%;
        background: #006353;
        color: #ffffff;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        position: relative;
        z-index: 2;
    }

    .product-tab-arrow svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        pointer-events: none;
    }

    .product-tab-arrow:disabled {
        opacity: 0.3;
        cursor: default;
    }

    .product-mobile-tab-nav > #_tabs-67-171 {
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 10px;
    }

    .product-mobile-tab-nav > #_tabs-67-171 > .oxy-tab {
        scroll-snap-align: center;
    }
}


@media (max-width: 767px) {
    /* Remove the gray strip behind the selected tab */
    .product-mobile-tab-nav > #_tabs-67-171 {
        background: transparent !important;
        gap: 0 !important;
        column-gap: 0 !important;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
    }

    /* Display exactly one complete tab per view */
    .product-mobile-tab-nav > #_tabs-67-171 > .oxy-tab {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        justify-content: center;
        scroll-snap-align: center;
        -webkit-tap-highlight-color: transparent;
    }

    /* Prevent a browser focus background after clicking */
    .product-mobile-tab-nav > #_tabs-67-171 > .oxy-tab:focus,
    .product-mobile-tab-nav > #_tabs-67-171 > .oxy-tab:focus-visible {
        outline: none;
    }
}


@media (max-width: 767px) {
    /* Non-selected product-detail tab */
    .product-mobile-tab-nav
    > #_tabs-67-171
    > .tabs-6606-tab:not(.tabs-6606-tab-active) {
        background-color: #dedede !important;
        color: #005c50 !important;
        border-radius: 40px;
    }

    /* Selected product-detail tab */
    .product-mobile-tab-nav
    > #_tabs-67-171
    > .tabs-6606-tab.tabs-6606-tab-active {
        background-color: #005c50 !important;
        color: #ffffff !important;
        border-radius: 40px;
    }
}


/* Purchase-option subscription dropdown */
select.wcsatt-options-product-dropdown {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;

    width: 100%;
    box-sizing: border-box;
    padding-right: 55px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23005c50' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 16px 16px !important;

    cursor: pointer;
}

/* Remove the old arrow in legacy Microsoft browsers */
select.wcsatt-options-product-dropdown::-ms-expand {
    display: none;
}

/* Keep the custom arrow correctly positioned on mobile */
@media (max-width: 767px) {
    select.wcsatt-options-product-dropdown {
        padding-right: 48px !important;
        background-position: right 16px center !important;
        background-size: 15px 15px !important;
    }
}


/* Allow recommendation cards to shrink inside the slider */
.bio-cart-recommendation,
.bio-cart-recommendation__content {
    min-width: 0;
}

/* Keep related-product titles on one line */
.bio-cart-recommendation__title {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* Related-product content layout */
.bio-cart-recommendation__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

/* Keep the main price readable */
.bio-cart-recommendation__price {
    margin-top: 7px;
    color: #4f4f4f;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

/*
 * Hide the long:
 * "or subscribe to save up to"
 */
.bio-cart-recommendation__price .wcsatt-sub-options {
    display: none !important;
}

/* Convert the discount into a compact subscription badge */
.bio-cart-recommendation__price .wcsatt-sub-discount {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-top: 6px;
    padding: 4px 8px;
    border: 1px solid rgba(185, 135, 32, 0.35);
    border-radius: 20px;
    background-color: rgba(185, 135, 32, 0.1);
    color: #8c6514;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.bio-cart-recommendation__price
.wcsatt-sub-discount::before {
    content: "Subscribe & save ";
}

/* Decorated Add to Cart link */
.bio-cart-recommendation__button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin-top: 12px;
    padding: 8px 12px !important;
    border: 1px solid #005c50 !important;
    border-radius: 30px;
    background-color: #005c50 !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.bio-cart-recommendation__button:hover,
.bio-cart-recommendation__button:focus {
    border-color: #b98720 !important;
    background-color: #b98720 !important;
    color: #ffffff !important;
}

/* WooCommerce AJAX loading state */
.bio-cart-recommendation__button.loading {
    opacity: 0.55;
    pointer-events: none;
}

/* View-cart link WooCommerce may insert after adding */
.bio-cart-recommendation__content .added_to_cart {
    display: block;
    margin-top: 7px;
    color: #005c50;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    text-decoration: underline;
}

/* Products without subscription options */
.bio-cart-recommendation__price
> .woocommerce-Price-amount {
    display: inline-block;
}

@media (max-width: 480px) {
    .bio-cart-recommendation__price {
        font-size: 14px;
    }

    .bio-cart-recommendation__price
    .wcsatt-sub-discount {
        padding: 3px 6px;
        font-size: 9px;
    }

    .bio-cart-recommendation__button {
        min-height: 34px;
        padding: 7px 8px !important;
        font-size: 11px;
    }
}


/* Keep all recommendation cards at equal height */
.bio-cart-recommendations__products {
    align-items: stretch !important;
}

.bio-cart-recommendation {
    display: flex !important;
    flex-direction: column;
    align-self: stretch;
    height: auto !important;
    min-width: 0;
}

.bio-cart-recommendation__content {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

/*
 * Reserve sufficient space for prices with or without
 * the subscription badge.
 */
.bio-cart-recommendation__price {
    min-height: 62px;
}

/* Align every Add button at the bottom */
.bio-cart-recommendations__products
.bio-cart-recommendation
a.bio-cart-recommendation__button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 36px;
    margin: auto 0 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #005c50 !important;
    border-radius: 30px !important;
    background-color: #005c50 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
}

.bio-cart-recommendations__products
.bio-cart-recommendation
a.bio-cart-recommendation__button:hover {
    border-color: #b98720 !important;
    background-color: #b98720 !important;
    color: #ffffff !important;
}

@media (max-width: 480px) {
    .bio-cart-recommendation__price {
        min-height: 56px;
    }

    .bio-cart-recommendations__products
    .bio-cart-recommendation
    a.bio-cart-recommendation__button {
        min-height: 34px;
        padding: 7px 6px !important;
        font-size: 11px !important;
    }
}


