/* ==========================================================================
   CSS صفحه محصول
   --------------------------------------------------------------------------
   01. ساختار صفحه
   02. گالری
   03. اطلاعات و خرید
   04. تب‌ها
   05. نقد و بررسی
   06. موبایل
   07. کارت/کروسل محصول در product-card-component.css
   ========================================================================== */

/* ==========================================================================
   کامپوننت‌های محصول در صفحه محصول
   استایل کارت و کروسل‌های محصول در فایل جدا کنترل می‌شود:
   assets/css/woocommerce/product-card-component.css
   این فایل فقط استایل‌های اختصاصی صفحه محصول را نگه می‌دارد.
   ========================================================================== */

/* Single Product Page CSS
 * راهکارپویش v0.1.154
 * This file is loaded only on WooCommerce single product pages.
 */

.rp-single-product-page {
    direction: rtl;
    background: #fff;
    color: var(--rp-text);
}

/* The gallery keeps its missing-image square asset at its native opacity. */
body.single-product .rp-single-product-page .rp-product-gallery-placeholder-stage .rp-product-gallery-slide img.rp-theme-placeholder-image {
    object-fit: contain !important;
    opacity: 1 !important;
    filter: none !important;
    padding: 10% !important;
    box-sizing: border-box !important;
}

/* Timed sale indicator: desktop shares the discount meta row; mobile sits on
   the upper-right edge of the fixed purchase bar. */
body.single-product .rp-product-price-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    direction: rtl;
}

body.single-product :is(.rp-product-buybox-countdown, .rp-mobile-product-sticky-countdown) {
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid color-mix(in srgb, var(--rp-theme-forms-focus, var(--rp-theme-general-accent, var(--rp-accent, #fd314a))) 32%, transparent);
    border-radius: 999px;
    background: var(--rp-theme-general-background, #fff);
    color: var(--rp-theme-general-text, #343a40);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--rp-font, inherit);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

body.single-product :is(.rp-product-buybox-countdown, .rp-mobile-product-sticky-countdown) .rp-card-sale-countdown__value {
    color: var(--rp-theme-forms-focus, var(--rp-theme-general-accent, var(--rp-accent, #fd314a)));
    font-weight: 800;
}

body.single-product :is(.rp-product-buybox-countdown, .rp-mobile-product-sticky-countdown)[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    body.single-product .rp-mobile-product-sticky-countdown {
        position: absolute;
        top: -29px;
        right: 16px;
        left: auto;
        z-index: 2;
        border: 0 !important;
        border-radius: 12px 12px 0 0 !important;
        background: #fff !important;
        border-bottom-right-radius: 0;
    }
}

/* Keep product-review fields compact and aligned with the blog comment form. */
body.single-product .rp-product-review-form .comment-form {
    display: grid !important;
    gap: 6px !important;
}

body.single-product .rp-product-review-form .comment-form > p,
body.single-product .rp-product-review-form .comment-form-author,
body.single-product .rp-product-review-form .comment-form-phone,
body.single-product .rp-product-review-form .comment-form-comment,
body.single-product .rp-product-review-form .comment-form-rating,
body.single-product .rp-product-review-form .form-submit {
    margin: 0 !important;
}

body.single-product .rp-product-review-form .comment-form-author,
body.single-product .rp-product-review-form .comment-form-phone,
body.single-product .rp-product-review-form .comment-form-comment,
body.single-product .rp-product-review-form .comment-form-rating {
    display: grid !important;
    gap: 4px !important;
}

body.single-product .rp-product-review-form input[type="text"],
body.single-product .rp-product-review-form input[type="tel"] {
    min-height: 42px !important;
}

/* Product content breathing room requested for the voting and specifications surfaces. */
body.single-product form.rp-grouped-product-form {
    margin: 0;
}

body.single-product .rp-grouped-product-form .rp-product-buybox .single_add_to_cart_button {
    width: 100%;
    min-height: 48px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    background: #00c777 !important;
    color: #fff !important;
    font-family: var(--rp-font);
    font-size: 14px;
    font-weight: 900;
}

body.single-product .rp-grouped-product-form .rp-product-buybox .single_add_to_cart_button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

body.single-product .rp-grouped-product-choices {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

body.single-product .rp-grouped-product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    background: #fff;
}

body.single-product .rp-grouped-product-row.is-variable {
    grid-template-columns: minmax(0, 1fr) minmax(84px, 110px) auto auto;
}

body.single-product .rp-grouped-product-variation-choice {
    display: grid;
    gap: 4px;
    min-width: 0;
    font-size: 9px;
    font-weight: 700;
}

body.single-product .rp-grouped-product-variation-choice select {
    width: 100%;
    min-width: 0;
    min-height: 28px;
    padding: 2px 5px;
    font-size: 10px;
    border: 1px solid #dfe4e9;
    border-radius: 8px;
    background: #fff;
    color: #18212a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.single-product .rp-grouped-product-variation-choice select option {
    font-size: 10px;
}

body.single-product .rp-grouped-product-fixed-variation {
    color: #d92d20;
    font-size: 9px;
    font-weight: 700;
}

body.single-product .rp-grouped-product-row.is-unavailable {
    opacity: .62;
}

/* An incomplete group with required unavailable children is a status, not a
   purchasable price. Keep only the unavailable child visually subdued. */
body.single-product .rp-product-price-box.is-grouped-unsellable .rp-product-price-meta {
    display: none !important;
}

body.single-product .rp-product-price-box.is-grouped-unsellable [data-rp-grouped-total-output] {
    color: #d92d20 !important;
    font-weight: 700 !important;
}

body.single-product .rp-grouped-product-row.is-grouped-blocked,
body.single-product .rp-grouped-product-row.is-variable.is-grouped-blocked {
    grid-template-columns: minmax(0, 1fr);
}

html[data-rp-user-theme="dark"] body.single-product .rp-product-price-box.is-grouped-unsellable [data-rp-grouped-total-output],
body.rp-theme-color-preset-dark.single-product .rp-product-price-box.is-grouped-unsellable [data-rp-grouped-total-output] {
    color: #ff6b6b !important;
}

body.single-product .rp-product-buybox .rp-product-price-box.is-grouped-out-of-stock {
    padding-left: 0 !important;
}

body.single-product .rp-product-buybox .rp-product-price-box.is-grouped-out-of-stock .rp-product-price-content {
    justify-content: center !important;
    text-align: center !important;
}

body.single-product .rp-product-buybox .rp-product-price-box.is-grouped-out-of-stock [data-rp-grouped-total-output] {
    width: 100% !important;
    color: #000 !important;
    font-size: 16px !important;
    text-align: center !important;
}

html[data-rp-user-theme="dark"] body.single-product .rp-product-buybox .rp-product-price-box.is-grouped-out-of-stock [data-rp-grouped-total-output],
html[data-rp-theme-mode="dark"] body.single-product .rp-product-buybox .rp-product-price-box.is-grouped-out-of-stock [data-rp-grouped-total-output],
body.rp-theme-color-preset-dark.single-product .rp-product-buybox .rp-product-price-box.is-grouped-out-of-stock [data-rp-grouped-total-output] {
    color: #fff !important;
}

body.single-product .rp-grouped-product-info {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

body.single-product .rp-grouped-product-image {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 8px;
    object-fit: cover;
}

body.single-product .rp-grouped-product-name {
    overflow: hidden;
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.single-product .rp-grouped-product-price {
    min-width: 0;
    white-space: nowrap;
}

body.single-product .rp-grouped-product-price .rp-buybox-selected-price-row {
    display: flex;
    flex-direction: row;
    direction: rtl;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px;
    white-space: nowrap;
    font-family: var(--rp-font);
    line-height: 1.25;
}

body.single-product .rp-grouped-product-price .rp-buybox-price-before,
body.single-product .rp-grouped-product-price .rp-buybox-price-before .amount {
    order: 0;
    color: #ff4d4f;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: line-through;
}

body.single-product .rp-grouped-product-price .rp-buybox-price-final,
body.single-product .rp-grouped-product-price .rp-buybox-price-final .amount {
    order: 1;
    color: #111820;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
}

body.single-product .rp-grouped-product-price .rp-buybox-price-currency {
    order: 2;
    color: #111820;
    font-size: 9px;
    font-weight: 400;
    line-height: 1;
}

body.single-product .rp-grouped-product-quantity {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    overflow: hidden;
    border: 1px solid #dfe4e9;
    border-radius: 8px;
}

body.single-product .rp-grouped-product-quantity.is-fixed {
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.single-product .rp-grouped-product-fixed-select {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-inline: 4px;
    font-size: 12px;
    cursor: pointer;
}

body.single-product .rp-grouped-product-fixed-select input {
    margin: 0;
    accent-color: var(--rp-theme-general-accent, #fd314a);
    cursor: pointer;
}

body.single-product .rp-grouped-product-quantity .qty {
    width: 22px;
    min-width: 0;
    min-height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
    appearance: textfield;
}

body.single-product .rp-grouped-product-fixed-count {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 5px;
    color: #18212a;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

body.single-product .rp-grouped-product-quantity .qty::-webkit-inner-spin-button,
body.single-product .rp-grouped-product-quantity .qty::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

body.single-product .rp-grouped-quantity-button {
    width: 18px;
    min-width: 18px;
    min-height: 26px;
    padding: 0;
    border: 0;
    background: #f4f6f8;
    color: #18212a;
    font-family: var(--rp-font);
    font-size: 16px;
    cursor: pointer;
}

/* The grouped form wraps the product columns, so its rows need their own Dark surfaces. */
:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
).single-product .rp-grouped-product-form .rp-grouped-product-row {
    background: var(--rp-theme-general-surface, #1b2027) !important;
    border-color: var(--rp-theme-general-border, #303640) !important;
    color: var(--rp-theme-general-text, #d7dbe2) !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
).single-product .rp-grouped-product-form .rp-grouped-product-row :is(
    .rp-grouped-product-info,
    .rp-grouped-product-name,
    .rp-buybox-price-final,
    .rp-buybox-price-final .amount,
    .rp-buybox-price-currency
) {
    color: var(--rp-theme-general-heading, #f8fafc) !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
).single-product .rp-grouped-product-form .rp-grouped-product-row :is(
    .rp-buybox-price-before,
    .rp-buybox-price-before .amount
) {
    color: #ff4d4f !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
).single-product .rp-grouped-product-form .rp-grouped-product-quantity {
    background: var(--rp-theme-general-background, #14181d) !important;
    border-color: var(--rp-theme-general-border, #303640) !important;
}

:is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-grouped-product-form .rp-grouped-product-quantity.is-fixed {
    border: 0 !important;
    background: transparent !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
).single-product .rp-grouped-product-form .rp-grouped-product-quantity .qty {
    background: transparent !important;
    color: var(--rp-theme-general-heading, #f8fafc) !important;
    -webkit-text-fill-color: var(--rp-theme-general-heading, #f8fafc) !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
).single-product .rp-grouped-product-form .rp-grouped-product-fixed-count {
    color: var(--rp-theme-general-heading, #f8fafc) !important;
}

:is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-grouped-product-form .rp-grouped-product-variation-choice select {
    color: var(--rp-theme-general-heading, #f8fafc) !important;
}

:is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-grouped-product-form .rp-grouped-product-fixed-variation {
    color: #ff6b6b !important;
}

:is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-grouped-product-form .rp-grouped-product-variation-choice select {
    background: var(--rp-theme-general-background, #14181d) !important;
    border-color: var(--rp-theme-general-border, #303640) !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
).single-product .rp-grouped-product-form .rp-grouped-quantity-button {
    background: var(--rp-theme-general-surface, #252b33) !important;
    color: var(--rp-theme-general-heading, #f8fafc) !important;
}

@media (max-width: 900px) {
    body.single-product .rp-grouped-product-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body.single-product .rp-grouped-product-row.is-variable {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body.single-product .rp-grouped-product-row.is-variable :is(.rp-grouped-product-variation-choice, .rp-grouped-product-fixed-variation) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    body.single-product .rp-grouped-product-price {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    body.single-product .rp-grouped-product-row.is-variable .rp-grouped-product-price {
        grid-row: 3;
    }
}

.rp-product-votes-grid {
    padding: 10px;
}

section#rp-product-specs {
    padding: 10px !important;
}

.rp-single-product-inner {
    max-width: var(--rp-max-width);
    margin: 0 auto;
    padding: 34px 36px 58px;
}

.rp-single-product-page .rp-product-breadcrumb {
    margin: 0 0 16px;
    color: #8c9196;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
}

.rp-single-product-page .rp-product-breadcrumb a {
    color: #777d83;
    text-decoration: none;
}

.rp-single-product-page .rp-product-breadcrumb a:hover {
    color: var(--rp-accent);
}

.rp-single-product-page .rp-product-gallery-col,
.rp-single-product-page .rp-product-summary-col,
.rp-single-product-page .rp-product-buybox,
.rp-single-product-page .rp-product-info-tabs {
    border: 1px solid #e4e8ec;
    border-radius: 14px;
    background: #fff;
}

.rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
}

.rp-single-product-page .rp-product-title {
    margin: 0 0 12px;
    color: #1f2429;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.75;
}

.rp-single-product-page .rp-product-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #7a8188;
    font-size: 12px;
    margin-bottom: 22px;
}

.rp-single-product-page .rp-product-quick-attrs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.rp-single-product-page .rp-product-quick-attrs div {
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f6f7f8;
    display: grid;
    gap: 6px;
}

.rp-single-product-page .rp-product-quick-attrs b {
    font-size: 11px;
    color: #7a8188;
}

.rp-single-product-page .rp-product-quick-attrs span {
    font-size: 12px;
    color: #202428;
}

.rp-single-product-page .rp-product-buybox {
    padding: 20px;
    position: sticky;
    top: 90px;
}

.rp-single-product-page .rp-product-price-box .price {
    color: #202428 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
}

.rp-single-product-page .rp-product-buybox form.cart .button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: #00c777 !important;
    color: #fff !important;
    font-family: var(--rp-font);
    font-weight: 800;
}

.rp-single-product-page .rp-product-info-tabs {
    margin-top: 34px;
    padding: 28px;
}

.rp-single-product-page .rp-product-info-tabs h2,
.rp-single-product-page .rp-product-related h2 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 800;
}

.rp-single-product-page .rp-product-info-tabs table.shop_attributes {
    width: 100%;
    border: 0;
}

.rp-single-product-page .rp-product-info-tabs table.shop_attributes th,
.rp-single-product-page .rp-product-info-tabs table.shop_attributes td {
    padding: 15px 18px;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    background: #fff !important;
    font-size: 13px;
}

.rp-single-product-page .rp-product-info-tabs table.shop_attributes th {
    color: #7a8188;
    font-weight: 500;
}

.rp-single-product-page .rp-product-description {
    color: #343a40;
    font-size: 14px;
    line-height: 2.1;
}

.rp-single-product-page .rp-product-related {
    margin-top: 40px;
}

/* desktop single product first layout pass */
@media (min-width: 901px) {
    .rp-single-product-page {
        background: #fff !important;
    }

    .rp-single-product-inner {
        max-width: var(--rp-max-width) !important;
        padding: 34px 36px 58px !important;
    }

    .rp-single-product-page .rp-product-breadcrumb {
        margin: 0 0 18px !important;
        color: #a2a9b1 !important;
        font-size: 11px !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-top {
        direction: ltr !important;
        display: grid !important;
        grid-template-columns: minmax(280px, .72fr) minmax(0, 1.18fr) minmax(430px, 1fr) !important;
        grid-template-areas: "buy summary gallery" !important;
        gap: 28px !important;
        align-items: start !important;
        min-height: 445px !important;
    }

    .rp-single-product-page .rp-product-buybox {
        grid-area: buy !important;
        direction: rtl !important;
        position: sticky !important;
        top: 92px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .rp-single-product-page .rp-product-buybox-card {
        padding: 24px 22px !important;
        border: 1px solid #e5e9ee !important;
        border-radius: 12px !important;
        background: #f7f8fb !important;
        box-shadow: 0 10px 28px rgba(17, 24, 32, .035) !important;
    }

    .rp-single-product-page .rp-product-summary-col {
        grid-area: summary !important;
        direction: rtl !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-gallery-col {
        grid-area: gallery !important;
        direction: rtl !important;
        position: relative !important;
        min-width: 0 !important;
        padding: 0 52px 0 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery {
        width: 100% !important;
        max-width: 430px !important;
        float: none !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__wrapper {
        width: 100% !important;
        margin: 0 !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image {
        text-align: center !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image img {
        width: 100% !important;
        max-width: 390px !important;
        height: 390px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        background: #fff !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs {
        width: auto !important;
        margin: 18px auto 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs li {
        width: 54px !important;
        height: 54px !important;
        padding: 4px !important;
        border: 1px solid #e6eaee !important;
        border-radius: 9px !important;
        background: #fff !important;
        overflow: hidden !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        opacity: .72 !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs img.flex-active,
    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs li:hover img {
        opacity: 1 !important;
    }

    .rp-single-product-page .rp-product-gallery-actions {
        position: absolute !important;
        top: 54px !important;
        right: 0 !important;
        z-index: 2 !important;
        display: grid !important;
        gap: 24px !important;
    }

    .rp-single-product-page .rp-product-gallery-actions button,
    .rp-single-product-page .rp-product-gallery-actions a {
        width: 34px !important;
        height: 34px !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: transparent !important;
        color: #25313d !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 21px !important;
        line-height: 1 !important;
        text-decoration: none !important;
        cursor: pointer !important;
    }

    .rp-single-product-page .rp-product-status-row {
        min-height: 26px !important;
        margin: 0 0 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .rp-single-product-page .rp-product-available-badge {
        min-height: 24px !important;
        padding: 0 10px !important;
        border-radius: 6px !important;
        background: #00c777 !important;
        color: #fff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 11px !important;
        font-weight: 800 !important;
    }

    .rp-single-product-page .rp-product-title {
        margin: 0 0 4px !important;
        color: #101820 !important;
        font-size: 22px !important;
        font-weight: 900 !important;
        line-height: 1.7 !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-subtitle {
        margin: 0 0 14px !important;
        color: #8c95a0 !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
        text-transform: uppercase !important;
        direction: ltr !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-meta-line {
        margin: 0 0 18px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px 16px !important;
        color: #7d8791 !important;
        font-size: 12px !important;
        line-height: 1.9 !important;
    }

    .rp-single-product-page .rp-product-meta-line a {
        color: #2e8fdc !important;
        text-decoration: none !important;
    }

    .rp-single-product-page .rp-product-section-title {
        margin: 0 0 10px !important;
        color: #1a222b !important;
        font-size: var(--rp-type-heading-size, 16px) !important;
        font-weight: var(--rp-type-heading-weight, 700) !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-quick-attrs-wrap {
        margin-top: 22px !important;
    }

    .rp-single-product-page .rp-product-quick-attrs {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .rp-single-product-page .rp-product-quick-attrs div {
        min-height: 58px !important;
        padding: 9px 12px !important;
        border: 1px solid #edf0f4 !important;
        border-radius: 8px !important;
        background: #f6f8fb !important;
        display: grid !important;
        align-content: center !important;
        gap: 5px !important;
    }

    .rp-single-product-page .rp-product-quick-attrs b {
        color: #8b95a0 !important;
        font-size: 10.5px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
    }

    .rp-single-product-page .rp-product-quick-attrs span {
        color: #1b2430 !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.5 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .rp-single-product-page .rp-product-show-more {
        margin-top: 12px !important;
        color: #2e8fdc !important;
        display: inline-flex !important;
        align-items: center !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    .rp-single-product-page .rp-product-guarantee-box {
        margin-top: 18px !important;
        display: inline-flex !important;
        min-height: 44px !important;
        padding: 0 16px !important;
        border: 1px solid #ff7b4a !important;
        border-radius: 8px !important;
        color: #1b2430 !important;
        background: #fff !important;
        align-items: center !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    .rp-single-product-page .rp-product-price-box {
        margin: 0 0 18px !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-price-box .price {
        margin: 0 !important;
        color: #111820 !important;
        font-size: 20px !important;
        font-weight: 900 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .rp-single-product-page .rp-product-price-box del {
        order: 1 !important;
        color: #ff4d4f !important;
        opacity: 1 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        text-decoration-thickness: 1px !important;
    }

    .rp-single-product-page .rp-product-price-box ins {
        order: 0 !important;
        color: #111820 !important;
        text-decoration: none !important;
        font-size: 20px !important;
        font-weight: 900 !important;
    }

    .rp-single-product-page .rp-product-sale-note {
        display: none !important;
    }

    .rp-single-product-page .rp-product-buybox form.cart {
        margin: 0 !important;
        display: grid !important;
        gap: 12px !important;
    }

    .rp-single-product-page .rp-product-buybox form.cart .quantity {
        display: none !important;
    }

    .rp-single-product-page .rp-product-buybox form.cart .button {
        width: 100% !important;
        min-height: 48px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: #00c777 !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 900 !important;
    }

    .rp-single-product-page .rp-product-buybox .variations {
        margin: 0 0 12px !important;
    }

    .rp-single-product-page .rp-product-buybox .variations th,
    .rp-single-product-page .rp-product-buybox .variations td {
        display: block !important;
        padding: 0 0 8px !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-buybox .variations label {
        color: #1c2630 !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    .rp-single-product-page .rp-product-buybox .variations select {
        width: 100% !important;
        min-height: 40px !important;
        border: 1px solid #e2e7ec !important;
        border-radius: 8px !important;
        background: #fff !important;
        padding: 0 10px !important;
        font-family: var(--rp-font) !important;
        font-size: 12px !important;
    }

    .rp-single-product-page .rp-product-stock-line {
        margin-top: 12px !important;
        color: #7d8791 !important;
        font-size: 11px !important;
        line-height: 1.8 !important;
    }

    .rp-single-product-page .rp-product-service-strip {
        margin: 64px 0 44px !important;
        padding: 0 60px !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 28px !important;
        align-items: start !important;
        border-bottom: 1px solid #eef1f4 !important;
        padding-bottom: 34px !important;
    }

    .rp-single-product-page .rp-product-service-strip div {
        min-width: 0 !important;
        display: grid !important;
        justify-items: center !important;
        gap: 8px !important;
        text-align: center !important;
        color: #55606b !important;
    }

    .rp-single-product-page .rp-product-service-strip span {
        font-size: 24px !important;
        line-height: 1 !important;
    }

    .rp-single-product-page .rp-product-service-strip b {
        color: #56606a !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.7 !important;
    }

    .rp-single-product-page .rp-product-lower-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, var(--rp-product-need-column-width, 330px)) !important;
        gap: 38px !important;
        align-items: start !important;
    }

    .rp-single-product-page .rp-product-side-recommend {
        direction: rtl !important;
        padding-top: 0 !important;
    }

    .rp-single-product-page .rp-product-side-recommend h2 {
        margin: 0 0 18px !important;
        color: #1a222b !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-side-card {
        display: grid !important;
        gap: 10px !important;
        color: #1a222b !important;
        text-decoration: none !important;
    }

    .rp-single-product-page .rp-product-side-card img {
        width: 116px !important;
        height: 116px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        background: #fff !important;
    }

    .rp-single-product-page .rp-product-side-card strong {
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.7 !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-side-card span {
        color: #111820 !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-main-details {
        min-width: 0 !important;
    }

    .rp-single-product-page .rp-product-tabs-nav {
        margin: 0 0 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 22px !important;
    }

    .rp-single-product-page .rp-product-tabs-nav a {
        min-height: 38px !important;
        padding: 0 18px !important;
        border-radius: 8px !important;
        color: #7d8791 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    .rp-single-product-page .rp-product-tabs-nav a.is-active {
        background: #303942 !important;
        color: #fff !important;
    }

    .rp-single-product-page .rp-product-info-tabs {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .rp-single-product-page .rp-product-info-tabs h2 {
        margin: 0 0 12px !important;
        color: #1a222b !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-info-tabs table.shop_attributes {
        width: 100% !important;
        border: 0 !important;
        border-collapse: collapse !important;
    }

    .rp-single-product-page .rp-product-info-tabs table.shop_attributes th,
    .rp-single-product-page .rp-product-info-tabs table.shop_attributes td {
        min-height: 54px !important;
        padding: 17px 12px !important;
        border: 0 !important;
        border-bottom: 1px solid #f0f2f4 !important;
        background: #fff !important;
        font-size: 12px !important;
        line-height: 1.9 !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-info-tabs table.shop_attributes th {
        width: 190px !important;
        color: #9099a3 !important;
        font-weight: 600 !important;
    }

    .rp-single-product-page .rp-product-info-tabs table.shop_attributes td {
        color: #1a222b !important;
        font-weight: 800 !important;
    }

    .rp-single-product-page .rp-product-reviews-panel {
        margin-top: 34px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 260px !important;
        gap: 24px !important;
        align-items: stretch !important;
    }

    .rp-single-product-page .rp-product-reviews-empty {
        min-height: 128px !important;
        border: 1px solid #eef1f4 !important;
        border-radius: 10px !important;
        background: #f6f7fb !important;
        display: grid !important;
        place-items: center !important;
        align-content: center !important;
        gap: 10px !important;
        color: #1a222b !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        text-align: center !important;
    }

    .rp-single-product-page .rp-product-reviews-empty span {
        font-size: 38px !important;
        opacity: .62 !important;
    }

    .rp-single-product-page .rp-product-review-form {
        display: grid !important;
        align-content: start !important;
        gap: 10px !important;
        text-align: right !important;
    }

    .rp-single-product-page .rp-product-review-form h2 {
        margin: 0 !important;
        color: #1a222b !important;
        font-size: 13px !important;
        font-weight: 900 !important;
    }

    .rp-single-product-page .rp-product-review-form p {
        margin: 0 !important;
        color: #7d8791 !important;
        font-size: 11px !important;
        line-height: 1.9 !important;
    }

    .rp-single-product-page .rp-product-review-submit {
        min-height: 42px !important;
        border-radius: 8px !important;
        background: #303942 !important;
        color: #fff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        text-decoration: none !important;
    }

    .rp-single-product-page .rp-product-related {
        display: none !important;
    }
}

@media (min-width: 901px) {
    body.single-product .rp-single-product-page .rp-product-reviews-panel.has-rp-comments .rp-product-review-form {
        position: sticky !important;
        top: 100px !important;
        align-self: start !important;
    }
}

@media (max-width: 900px) {
    body.single-product .rp-product-reviews-panel.has-rp-comments .rp-product-reviews-list,
    body.single-product .rp-product-section-modal__content .rp-product-reviews-panel.has-rp-comments .rp-product-reviews-list {
        height: auto !important;
        min-height: 0 !important;
        align-self: stretch !important;
        width: 100% !important;
    }

    body.single-product .rp-product-reviews-panel.has-rp-comments .rp-product-review-items,
    body.single-product .rp-product-reviews-panel.has-rp-comments .rp-product-review-items.commentlist {
        height: auto !important;
        min-height: 0 !important;
    }
}


/* match single product container to shop page exactly */
.rp-single-product-inner,
.rp-single-product-page .rp-single-product-inner {
    max-width: var(--rp-max-width) !important;
    margin: 0 auto !important;
    padding: 34px 36px 58px !important;
}

@media (max-width: 768px) {
    .rp-single-product-inner,
    .rp-single-product-page .rp-single-product-inner {
        padding: 12px 10px 90px !important;
    }
}


/* single product gallery cleanup based on latest brief */
.rp-single-product-page .rp-product-gallery-actions,
.rp-single-product-page .rp-product-status-row,
.rp-single-product-page .rp-product-available-badge,
.rp-single-product-page .woocommerce-product-gallery__trigger {
    display: none !important;
}

.rp-single-product-page .rp-product-gallery-col {
    position: relative !important;
}

.rp-single-product-page .rp-product-gallery-discount {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 6 !important;
    min-width: 52px !important;
    min-height: 30px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: #ff5a36 !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 10px 20px rgba(255,90,54,.16) !important;
}

@media (min-width: 901px) {
    .rp-single-product-page .rp-product-gallery-col {
        padding: 0 !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery {
        width: 100% !important;
        max-width: 430px !important;
        float: none !important;
        margin: 0 auto !important;
        position: relative !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-viewport {
        width: 100% !important;
        min-height: 470px !important;
        border-radius: 0 !important;
        background: #f3f6f7 !important;
        overflow: hidden !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__wrapper,
    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image {
        height: 100% !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 470px !important;
        background: #f3f6f7 !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 470px !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image img {
        width: 100% !important;
        max-width: 100% !important;
        height: 430px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        background: transparent !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-direction-nav {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-direction-nav a {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 5 !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: rgba(255,255,255,.0) !important;
        box-shadow: none !important;
        opacity: 1 !important;
        overflow: hidden !important;
        font-size: 0 !important;
        text-indent: -9999px !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-direction-nav .flex-prev {
        left: 10px !important;
        right: auto !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-direction-nav .flex-next {
        right: 10px !important;
        left: auto !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-direction-nav .flex-prev::before,
    .rp-single-product-page .rp-product-gallery-col .flex-direction-nav .flex-next::before {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #81878d !important;
        font-size: 44px !important;
        line-height: 1 !important;
        font-weight: 300 !important;
        text-indent: 0 !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-direction-nav .flex-prev::before {
        content: '‹' !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-direction-nav .flex-next::before {
        content: '›' !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs {
        width: 100% !important;
        margin: 14px 0 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 10px !important;
        list-style: none !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs li {
        width: 66px !important;
        height: 66px !important;
        padding: 0 !important;
        border: 1px solid #edf1f4 !important;
        border-radius: 0 !important;
        background: #f3f6f7 !important;
        overflow: hidden !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        opacity: 1 !important;
        background: #f3f6f7 !important;
    }
}


/* woodmart-like gallery interactions */
.rp-single-product-page .rp-product-gallery-discount {
    min-width: 42px !important;
    min-height: 24px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn {
    position: absolute !important;
    right: 16px !important;
    bottom: 90px !important;
    z-index: 7 !important;
    width: 56px !important;
    height: 56px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 10px 24px rgba(28,39,49,.12) !important;
    cursor: pointer !important;

 opacity: 1;

 transform: scale(1);
}

.rp-single-product-page .rp-product-gallery-lightbox-btn > span,
.rp-single-product-page .rp-product-gallery-lightbox-btn > span::before,
.rp-single-product-page .rp-product-gallery-lightbox-btn > span::after {
    box-sizing: border-box !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn > span {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 18px !important;
    height: 18px !important;
    ;
    border: 2px solid #6e7881 !important;
    border-radius: 3px !important;

 transform: translate(-50%, -50%);
}

.rp-single-product-page .rp-product-gallery-lightbox-btn > span::before,
.rp-single-product-page .rp-product-gallery-lightbox-btn > span::after {
    content: '' !important;
    position: absolute !important;
    display: block !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn > span::before {
    width: 6px !important;
    height: 6px !important;
    top: -3px !important;
    right: -3px !important;
    border-top: 2px solid #6e7881 !important;
    border-right: 2px solid #6e7881 !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn > span::after {
    width: 7px !important;
    height: 7px !important;
    right: 2px !important;
    top: 2px !important;
    border-right: 2px solid #6e7881 !important;
    border-top: 2px solid #6e7881 !important;
}

.rp-single-product-page .rp-product-gallery-col .flex-control-thumbs li,
.rp-single-product-page .rp-product-gallery-col .flex-control-thumbs img,
.rp-single-product-page .rp-product-gallery-col .flex-control-thumbs li * {
    cursor: pointer !important;
}

.rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image a,
.rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image img {
    cursor: zoom-in !important;
}

@media (min-width: 901px) {
    .rp-single-product-page .rp-product-gallery-col .flex-viewport {
        min-height: 520px !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image,
    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image a {
        min-height: 520px !important;
        overflow: hidden !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: 520px !important;
        object-fit: cover !important;
        object-position: center center !important;
        transition: transform .16s ease-out !important;
        transform: scale(1) !important;
        will-change: transform, transform-origin !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image.is-rp-zooming img,
    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image:hover img {
        transform: scale(1.75) !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs li {
        width: 72px !important;
        height: 72px !important;
        overflow: hidden !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs img {
        object-fit: cover !important;
    }
}


/* WoodMart-like gallery refinement */
.rp-single-product-page .rp-product-guarantee-box {
    display: none !important;
}

.rp-single-product-page .rp-product-gallery-discount {
    min-width: 36px !important;
    min-height: 22px !important;
    padding: 0 8px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn {
    title: attr(title);

 opacity: 1;

 transform: scale(1);
}

@media (min-width: 901px) {
    .rp-single-product-page .rp-product-gallery-col .flex-viewport {
        min-height: 520px !important;
        height: 520px !important;
        padding: 0 !important;
        background: #f3f6f7 !important;
        overflow: hidden !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image {
        min-height: 520px !important;
        height: 520px !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: #f3f6f7 !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image a {
        width: 100% !important;
        height: 520px !important;
        min-height: 520px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        overflow: hidden !important;
        cursor: zoom-in !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image img {
        width: 100% !important;
        max-width: none !important;
        height: 520px !important;
        min-height: 520px !important;
        padding: 0 !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
        background: #f3f6f7 !important;
        cursor: zoom-in !important;
        transition: transform .18s ease-out !important;
        transform: scale(1) !important;
        will-change: transform, transform-origin !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__image.is-rp-zooming img {
        transform: scale(2.05) !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-direction-nav a {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity .18s ease, visibility .18s ease !important;
    }

    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery:hover .flex-direction-nav a,
    .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery:focus-within .flex-direction-nav a {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs li,
    .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs img {
        cursor: pointer !important;
    }

    .rp-single-product-page .rp-product-gallery-lightbox-btn {
        width: 52px !important;
        height: 52px !important;
        right: 16px !important;
        bottom: 92px !important;
        ;
        visibility: visible !important;

 opacity: 1;

 transform: scale(1);
}
}


/* deterministic custom square gallery */
.rp-single-product-page .woocommerce-product-gallery,
.rp-single-product-page .flex-viewport,
.rp-single-product-page .flex-control-thumbs,
.rp-single-product-page .woocommerce-product-gallery__trigger {
    display: none !important;
}

.rp-single-product-page .rp-product-custom-gallery {
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    direction: rtl !important;
}

.rp-single-product-page .rp-product-gallery-stage {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #f3f6f7 !important;
}

.rp-single-product-page .rp-product-gallery-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
    background: #f3f6f7 !important;
    transition: opacity .18s ease, visibility .18s ease !important;
    cursor: zoom-in !important;
}

.rp-single-product-page .rp-product-gallery-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2 !important;
}

.rp-single-product-page .rp-product-gallery-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    background: #f3f6f7 !important;
    transform: scale(1) !important;
    transform-origin: 50% 50% !important;
    transition: transform .18s ease-out !important;
    will-change: transform, transform-origin !important;
    cursor: zoom-in !important;
}

.rp-single-product-page .rp-product-gallery-slide.is-rp-zooming img {
    transform: scale(2.05) !important;
}

.rp-single-product-page .rp-product-gallery-nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 5 !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #7e878f !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 48px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-50%) !important;
    transition: opacity .18s ease, visibility .18s ease !important;
    cursor: pointer !important;
}

.rp-single-product-page .rp-product-gallery-stage:hover .rp-product-gallery-nav,
.rp-single-product-page .rp-product-gallery-stage:focus-within .rp-product-gallery-nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.rp-single-product-page .rp-product-gallery-prev {
    left: 10px !important;
    right: auto !important;
}

.rp-single-product-page .rp-product-gallery-next {
    right: 10px !important;
    left: auto !important;
}

.rp-single-product-page .rp-product-gallery-thumbs {
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
    direction: ltr !important;
}

.rp-single-product-page .rp-product-gallery-thumb {
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 72px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #edf1f4 !important;
    border-radius: 0 !important;
    background: #f3f6f7 !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.rp-single-product-page .rp-product-gallery-thumb.is-active {
    border-color: #c8d0d8 !important;
}

.rp-single-product-page .rp-product-gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    cursor: pointer !important;
}

.rp-single-product-page .rp-product-gallery-discount {
    top: 12px !important;
    left: 12px !important;
    z-index: 8 !important;
    min-width: 36px !important;
    min-height: 22px !important;
    padding: 0 8px !important;
    font-size: 10px !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn {
    position: absolute !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 7 !important;
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 10px 24px rgba(28,39,49,.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;

 opacity: 1;

 transform: scale(1);
}

.rp-single-product-page .rp-product-gallery-lightbox-text {
    position: absolute !important;
    right: 0 !important;
    bottom: calc(100% + 8px) !important;
    min-width: max-content !important;
    padding: 5px 8px !important;
    border-radius: 5px !important;
    background: #20272d !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    ;
    visibility: hidden !important;
    ;
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn:hover .rp-product-gallery-lightbox-text,
.rp-single-product-page .rp-product-gallery-lightbox-btn:focus-visible .rp-product-gallery-lightbox-text {
    ;
    visibility: visible !important;
    ;

 opacity: 1;

 transform: translateY(0);
}

.rp-product-lightbox-open {
    overflow: hidden !important;
}

.rp-product-gallery-lightbox-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
}

.rp-product-gallery-lightbox-overlay.is-open {
    display: flex !important;
}

.rp-product-gallery-lightbox-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0,0,0,.82) !important;
}

.rp-product-gallery-lightbox-panel {
    position: relative !important;
    z-index: 2 !important;
    width: min(92vw, 980px) !important;
    height: min(88vh, 820px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rp-product-gallery-lightbox-image {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.rp-product-gallery-lightbox-close,
.rp-product-gallery-lightbox-nav {
    position: absolute !important;
    z-index: 3 !important;
    border: 0 !important;
    background: rgba(255,255,255,.92) !important;
    color: #20272d !important;
    cursor: pointer !important;
}

.rp-product-gallery-lightbox-close {
    top: 0 !important;
    left: 0 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    font-size: 26px !important;
}

.rp-product-gallery-lightbox-nav {
    top: 50% !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    font-size: 42px !important;
    line-height: 1 !important;
    ;

 transform: translateY(-50%);
}

.rp-product-gallery-lightbox-prev {
    left: 16px !important;
}

.rp-product-gallery-lightbox-next {
    right: 16px !important;
}


/* authoritative square product gallery fix */
body.single-product .rp-single-product-page .rp-product-gallery-col {
    min-width: 0 !important;
}

body.single-product .rp-single-product-page .rp-product-custom-gallery {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery,
body.single-product .rp-single-product-page .rp-product-gallery-col .flex-viewport,
body.single-product .rp-single-product-page .rp-product-gallery-col .flex-control-thumbs,
body.single-product .rp-single-product-page .rp-product-gallery-col .woocommerce-product-gallery__trigger {
    display: none !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-stage {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #f3f6f7 !important;
    border: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
}

@supports not (aspect-ratio: 1 / 1) {
    body.single-product .rp-single-product-page .rp-product-gallery-stage::before {
        content: '' !important;
        display: block !important;
        padding-top: 100% !important;
    }
}

body.single-product .rp-single-product-page .rp-product-gallery-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
    background: #f3f6f7 !important;
    transform: none !important;
    transition: opacity .18s ease, visibility .18s ease !important;
    cursor: zoom-in !important;
    box-sizing: border-box !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2 !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-slide img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    background: #f3f6f7 !important;
    cursor: zoom-in !important;
    transform: scale(1) !important;
    transform-origin: 50% 50% !important;
    transition: transform .16s ease-out !important;
    will-change: transform, transform-origin !important;
    box-sizing: border-box !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-slide.is-rp-zooming img {
    transform: scale(2.15) !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 9 !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: rgba(255,255,255,.92) !important;
    background-image: url("../../icons/arrow-right.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 28px 28px !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px rgba(28,39,49,.14) !important;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-stage:hover .rp-product-gallery-nav,
body.single-product .rp-single-product-page .rp-product-gallery-stage:focus-within .rp-product-gallery-nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-prev {
    left: 14px !important;
    right: auto !important;
    background-image: url("../../icons/arrow-left.svg") !important;
    transform: translateY(-50%) !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-next {
    right: 14px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-thumbs {
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
    direction: ltr !important;
    overflow: visible !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-thumb {
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #edf1f4 !important;
    border-radius: 0 !important;
    background: #f3f6f7 !important;
    overflow: hidden !important;
    cursor: pointer !important;
    display: block !important;
    box-sizing: border-box !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-thumb.is-active {
    border-color: #aeb9c2 !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    cursor: pointer !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-lightbox-text {
    ;
    visibility: hidden !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-stage:hover .rp-product-gallery-lightbox-text {
    ;
    visibility: hidden !important;

 opacity: 0;
}

body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn:hover .rp-product-gallery-lightbox-text,
body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn:focus-visible .rp-product-gallery-lightbox-text {
    ;
    visibility: visible !important;

 opacity: 1;

 transform: translateY(0);
}

body.single-product .rp-product-gallery-lightbox-prev {
    left: 18px !important;
    right: auto !important;
    ;
    background-image: url("../../icons/arrow-left.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 30px 30px !important;
    color: transparent !important;
    font-size: 0 !important;
}

body.single-product .rp-product-gallery-lightbox-next {
    right: 18px !important;
    left: auto !important;
    ;
    background-image: url("../../icons/arrow-right.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 30px 30px !important;
    color: transparent !important;
    font-size: 0 !important;
}


/* gallery no-zoom, 5 thumbs + all-images modal, lightbox thumb strip */
body.single-product .rp-single-product-page .rp-product-gallery-slide img,
body.single-product .rp-single-product-page .rp-product-gallery-slide.is-rp-zooming img,
body.single-product .rp-single-product-page .rp-product-gallery-slide:hover img {
    transform: none !important;
    cursor: default !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-slide {
    cursor: default !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-thumbs {
    justify-content: flex-end !important;
    gap: 8px !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-all-btn {
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    padding: 6px 4px !important;
    margin: 0 !important;
    border: 1px solid #d9dee4 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #111820 !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
    text-align: center !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-all-icon {
    width: 22px !important;
    height: 22px !important;
    display: grid !important;
    grid-template-columns: repeat(2, 7px) !important;
    grid-template-rows: repeat(2, 7px) !important;
    gap: 4px !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-all-icon::before,
body.single-product .rp-single-product-page .rp-product-gallery-all-icon::after {
    content: '' !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-all-icon,
body.single-product .rp-single-product-page .rp-product-gallery-all-icon::before,
body.single-product .rp-single-product-page .rp-product-gallery-all-icon::after {
    background:
        linear-gradient(#111820 0 0) 0 0 / 7px 7px no-repeat,
        linear-gradient(#111820 0 0) 100% 0 / 7px 7px no-repeat,
        linear-gradient(#111820 0 0) 0 100% / 7px 7px no-repeat,
        linear-gradient(#111820 0 0) 100% 100% / 7px 7px no-repeat !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-lightbox-text {
    pointer-events: none !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-stage:hover .rp-product-gallery-lightbox-text {
    ;
    visibility: hidden !important;

 opacity: 0;
}

body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn:hover .rp-product-gallery-lightbox-text,
body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn:focus-visible .rp-product-gallery-lightbox-text {
    ;
    visibility: visible !important;
    ;

 opacity: 1;

 transform: translateY(0);
}

body.single-product .rp-product-gallery-lightbox-panel {
    width: min(94vw, 1180px) !important;
    height: min(90vh, 860px) !important;
    padding-bottom: 86px !important;

 opacity: .2;

 transform: translateY(8px) scale(.97);
}

body.single-product .rp-product-gallery-lightbox-image {
    max-width: 100% !important;
    max-height: calc(100% - 12px) !important;
    object-fit: contain !important;

 transform: translate3d(var(--rp-lightbox-pan-x, 0px), var(--rp-lightbox-pan-y, 0px), 0) scale(var(--rp-lightbox-scale, 1));
}

body.single-product .rp-product-gallery-lightbox-thumbs {
    position: absolute !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 74px !important;
    padding: 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    direction: ltr !important;
    z-index: 5 !important;
}

body.single-product .rp-product-gallery-lightbox-thumb {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.25) !important;
    border-radius: 3px !important;
    background: #fff !important;
    overflow: hidden !important;
    cursor: pointer !important;
    ;
}

body.single-product .rp-product-gallery-lightbox-thumb.is-active {
    border-color: #fff !important;
    ;

 opacity: 1;
}

body.single-product .rp-product-gallery-lightbox-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

body.single-product .rp-product-gallery-lightbox-nav {
    ;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .18s ease, visibility .18s ease !important;
}

body.single-product .rp-product-gallery-lightbox-panel:hover .rp-product-gallery-lightbox-nav,
body.single-product .rp-product-gallery-lightbox-panel:focus-within .rp-product-gallery-lightbox-nav {
    ;
    visibility: visible !important;
    pointer-events: auto !important;

 opacity: 1;
}


/* smaller thumbs, left-side all-images button, hover-only magnify icon */
.rp-single-product-page .rp-product-gallery-thumbs {
    gap: 8px !important;
}

.rp-single-product-page .rp-product-gallery-thumb {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
}

.rp-single-product-page .rp-product-gallery-all-btn {
    order: -1 !important;
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    padding: 5px 3px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    margin-inline-end: 0 !important;
}

.rp-single-product-page .rp-product-gallery-all-icon {
    width: 18px !important;
    height: 18px !important;
    grid-template-columns: repeat(2, 6px) !important;
    grid-template-rows: repeat(2, 6px) !important;
    gap: 3px !important;
}

.rp-single-product-page .rp-product-gallery-all-icon,
.rp-single-product-page .rp-product-gallery-all-icon::before,
.rp-single-product-page .rp-product-gallery-all-icon::after {
    background:
        linear-gradient(#111820 0 0) 0 0 / 6px 6px no-repeat,
        linear-gradient(#111820 0 0) 100% 0 / 6px 6px no-repeat,
        linear-gradient(#111820 0 0) 0 100% / 6px 6px no-repeat,
        linear-gradient(#111820 0 0) 100% 100% / 6px 6px no-repeat !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn {
    ;
    visibility: visible !important;
    pointer-events: auto !important;
    ;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease !important;

 opacity: 1;

 transform: scale(1);
}

.rp-single-product-page .rp-product-gallery-stage:hover .rp-product-gallery-lightbox-btn,
.rp-single-product-page .rp-product-gallery-stage:focus-within .rp-product-gallery-lightbox-btn {
    ;
    visibility: visible !important;
    pointer-events: auto !important;
    ;

 opacity: 1;

 transform: scale(1);
}

.rp-single-product-page .rp-product-gallery-lightbox-btn:hover,
.rp-single-product-page .rp-product-gallery-lightbox-btn:focus-visible {
    ;

 transform: scale(1.07);
}

.rp-single-product-page .rp-product-gallery-lightbox-text {
    display: none !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn .rp-product-gallery-lightbox-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 18px !important;
    height: 18px !important;
    ;
    border: 2px solid #6e7881 !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;

 transform: translate(-50%, -50%);
}

.rp-single-product-page .rp-product-gallery-lightbox-btn .rp-product-gallery-lightbox-icon::before,
.rp-single-product-page .rp-product-gallery-lightbox-btn .rp-product-gallery-lightbox-icon::after {
    content: '' !important;
    position: absolute !important;
    box-sizing: border-box !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn .rp-product-gallery-lightbox-icon::before {
    top: 4px !important;
    left: 4px !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 2px solid #6e7881 !important;
    border-right: 2px solid #6e7881 !important;
}

.rp-single-product-page .rp-product-gallery-lightbox-btn .rp-product-gallery-lightbox-icon::after {
    right: 4px !important;
    bottom: 4px !important;
    width: 8px !important;
    height: 8px !important;
    border-bottom: 2px solid #6e7881 !important;
    border-left: 2px solid #6e7881 !important;
}

body.single-product .rp-product-gallery-lightbox-thumbs {
    height: 62px !important;
    padding: 7px 0 !important;
    gap: 6px !important;
}

body.single-product .rp-product-gallery-lightbox-thumb {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
}


/* use provided icon for all-images button */
body.single-product .rp-single-product-page .rp-product-gallery-all-btn {
    justify-items: center !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-all-icon {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    object-fit: contain !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-all-icon::before,
body.single-product .rp-single-product-page .rp-product-gallery-all-icon::after {
    content: none !important;
}


/* gallery all-images button and thumbnail borders */
body.single-product .rp-single-product-page .rp-product-gallery-all-icon,
body.single-product .rp-single-product-page .rp-product-gallery-all-icon::before,
body.single-product .rp-single-product-page .rp-product-gallery-all-icon::after {
    background: white !important;
    margin-bottom: 4px !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-all-btn {
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    padding: 6px 4px !important;
    margin: 0 !important;
    border: 1px solid #d9dee4 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #111820 !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 4px !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
    text-align: center !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-thumb,
body.single-product .rp-single-product-page .rp-product-gallery-lightbox-thumb,
body.single-product .rp-product-gallery-lightbox-thumb {
    border: 1px solid #d9dee4 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-thumb.is-active,
body.single-product .rp-single-product-page .rp-product-gallery-lightbox-thumb.is-active,
body.single-product .rp-product-gallery-lightbox-thumb.is-active {
    border-color: #bfc8d0 !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-thumb img,
body.single-product .rp-single-product-page .rp-product-gallery-lightbox-thumb img,
body.single-product .rp-product-gallery-lightbox-thumb img {
    border-radius: 10px !important;
}


/* ajax add to cart loading state */
body.single-product form.cart.is-rp-ajax-adding .single_add_to_cart_button {
    pointer-events: none !important;
}

body.single-product form.cart .single_add_to_cart_button.is-loading,
body.single-product form.cart .single_add_to_cart_button[aria-busy="true"] {
    position: relative !important;
    color: transparent !important;
}

body.single-product form.cart .single_add_to_cart_button.is-loading::after,
body.single-product form.cart .single_add_to_cart_button[aria-busy="true"]::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 18px !important;
    height: 18px !important;
    margin: -9px 0 0 -9px !important;
    border: 2px solid rgba(255,255,255,.55) !important;
    border-top-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
    border-radius: 50% !important;
    animation: rp-single-add-spin .75s linear infinite !important;
}

@keyframes rp-single-add-spin {
    to {
        transform: rotate(360deg);
    }
}


/* uploaded zoom icon for product gallery */
body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn .rp-product-gallery-lightbox-icon {
    position: static !important;
    inset: auto !important;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: block !important;
    object-fit: contain !important;
    ;

 transform: none;
}

body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn .rp-product-gallery-lightbox-icon::before,
body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn .rp-product-gallery-lightbox-icon::after {
    content: none !important;
    display: none !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn:hover .rp-product-gallery-lightbox-icon,
body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn:focus-visible .rp-product-gallery-lightbox-icon {
    ;

 transform: scale(1.08);
}


/* single product quick attributes: exactly 3 non-color items */
@media (min-width: 901px) {
    .rp-single-product-page .rp-product-quick-attrs {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}


/* product under-title meta and brand logo */
.rp-single-product-page .rp-product-under-title {
    margin: 0 0 22px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid #e6eaee !important;
    display: grid !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
    direction: rtl !important;
}

.rp-single-product-page .rp-product-under-title-info {
    min-width: 0 !important;
}

.rp-single-product-page .rp-product-sku-line {
    margin: 0 0 14px !important;
    color: #7b8490 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
}

.rp-single-product-page .rp-product-sku-line b {
    color: #1b242d !important;
    font-weight: 800 !important;
}

.rp-single-product-page .rp-product-meta-line {
    margin: 0 !important;
    color: #8a929b !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.9 !important;
}

.rp-single-product-page .rp-product-meta-line > span {
    position: relative !important;
    padding-left: 14px !important;
    margin-left: 14px !important;
}

.rp-single-product-page .rp-product-meta-line > span:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 1px !important;
    height: 16px !important;
    transform: translateY(-50%) !important;
    background: #d9dee3 !important;
}

.rp-single-product-page .rp-product-meta-line a {
    color: #4e5965 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.rp-single-product-page .rp-product-brand-logo {
    justify-self: start !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1f2429 !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

@media (max-width: 900px) {
    .rp-single-product-page .rp-product-under-title {
        grid-template-columns: 56px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .rp-single-product-page .rp-product-meta-line > span {
        padding-left: 10px !important;
        margin-left: 10px !important;
    }
}


/* product under-title layout correction */
.rp-single-product-page .rp-product-under-title {
    margin: 0 0 22px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid #e6eaee !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px !important;
    grid-template-areas:
        "sku brand"
        "meta meta" !important;
    gap: 8px 14px !important;
    align-items: center !important;
    direction: ltr !important;
}

.rp-single-product-page .rp-product-under-title-info {
    display: contents !important;
}

.rp-single-product-page .rp-product-sku-line {
    grid-area: sku !important;
    direction: rtl !important;
    margin: 0 !important;
    color: #7b8490 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    text-align: right !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    min-width: 0 !important;
}

.rp-single-product-page .rp-product-sku-line b {
    color: #1b242d !important;
    font-weight: 800 !important;
}

.rp-single-product-page .rp-product-meta-line {
    grid-area: meta !important;
    direction: rtl !important;
    margin: 2px 0 0 !important;
    color: #8a929b !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px 0 !important;
    text-align: right !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.9 !important;
    min-width: 0 !important;
}

.rp-single-product-page .rp-product-brand-logo {
    grid-area: brand !important;
    justify-self: end !important;
    align-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 900px) {
    .rp-single-product-page .rp-product-under-title {
        grid-template-columns: minmax(0, 1fr) 52px !important;
        gap: 7px 10px !important;
    }

}


/* smooth anchors and selectable color choices */
html {
    scroll-behavior: smooth;
}

body.single-product .rp-product-buybox .variations select[data-rp-color-variation-select] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.single-product .rp-single-color-choices {
    margin-top: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    direction: rtl !important;
}

body.single-product .rp-single-color-choice {
    min-height: 38px !important;
    padding: 5px 9px !important;
    border: 1px solid #e0e5ea !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #202832 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    font-family: var(--rp-font) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

body.single-product .rp-single-color-choice:hover {
    border-color: #b9c3cc !important;
    transform: translateY(-1px) !important;
}

body.single-product .rp-single-color-choice.is-active {
    border-color: #ff7b4a !important;
    background: #fff8f4 !important;
    box-shadow: 0 0 0 1px rgba(255, 123, 74, .18) !important;
}

body.single-product .rp-single-color-choice-visual {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border: 1px solid #d7dde3 !important;
    border-radius: 6px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: inline-block !important;
}

body.single-product .rp-single-color-choice.has-image .rp-single-color-choice-visual {
    background-color: #fff !important;
}

body.single-product .rp-single-color-choice-label {
    display: inline-flex !important;
    align-items: center !important;
}


/* move selectable variation attributes to center summary */
body.single-product .rp-product-buybox form.variations_form table.variations {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.single-product .rp-product-buybox form.variations_form .reset_variations {
    display: none !important;
}

body.single-product .rp-product-summary-variation-choices {
    margin: 18px 0 22px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid #edf1f4 !important;
    display: grid !important;
    gap: 14px !important;
    direction: rtl !important;
}

body.single-product .rp-product-summary-variation-choices[hidden] {
    display: none !important;
}

body.single-product .rp-single-variation-choice-row {
    display: grid !important;
    gap: 8px !important;
}

body.single-product .rp-single-variation-choice-title {
    color: #1c2630 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
    text-align: right !important;
}

body.single-product .rp-single-variation-choice-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

body.single-product .rp-single-variation-choice {
    min-height: 40px !important;
    padding: 6px 10px !important;
    border: 1px solid #e0e5ea !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #202832 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-family: var(--rp-font) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

body.single-product .rp-single-variation-choice:hover {
    border-color: #b9c3cc !important;
    transform: translateY(-1px) !important;
}

body.single-product .rp-single-variation-choice.is-active {
    border-color: #ff7b4a !important;
    background: #fff8f4 !important;
    box-shadow: 0 0 0 1px rgba(255, 123, 74, .18) !important;
}

body.single-product .rp-single-variation-choice-visual {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border: 1px solid #d7dde3 !important;
    border-radius: 7px !important;
    background-color: #fff !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: inline-block !important;
}

body.single-product .rp-single-variation-choice.is-text-only .rp-single-variation-choice-visual {
    display: none !important;
}

body.single-product .rp-single-variation-choice-label {
    display: inline-flex !important;
    align-items: center !important;
}

/* keep old v0.1.171 color-choice output disabled if cached markup exists */
body.single-product .rp-product-buybox .rp-single-color-choices {
    display: none !important;
}


/* fix selected attribute color visual in single product */
body.single-product .rp-single-variation-choice.has-color .rp-single-variation-choice-visual,
body.single-product .rp-single-color-choice:not(.has-image) .rp-single-color-choice-visual {
    background-color: var(--rp-single-variation-color, #d6dadd) !important;
    background-image: none !important;
}

body.single-product .rp-single-variation-choice.has-image .rp-single-variation-choice-visual {
    background-color: #fff !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

body.single-product .rp-single-variation-choice-visual[style*="background-color"] {
    border-color: #cfd6de !important;
}


/* variable product initial price range in buybox */
body.single-product .rp-product-price-box {
    position: relative !important;
    margin: 0 0 18px !important;
    padding-left: 48px !important;
}

body.single-product .rp-product-price-content {
    color: #111820 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    direction: rtl !important;
    text-align: right !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.8 !important;
}

body.single-product .rp-product-price-content .price,
body.single-product .rp-product-price-content ins,
body.single-product .rp-product-price-content bdi {
    color: #111820 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.single-product .rp-product-price-content del,
body.single-product .rp-product-price-content del bdi {
    color: #ff4d4f !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

body.single-product .rp-product-price-content del .woocommerce-Price-currencySymbol,
body.single-product .rp-buybox-price-before .woocommerce-Price-currencySymbol,
body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-before .woocommerce-Price-currencySymbol,
body.single-product .rp-product-buybox .rp-buybox-price-before .woocommerce-Price-currencySymbol {
    display: none !important;
}

body.single-product .rp-product-price-range-prefix,
body.single-product .rp-product-price-range-sep {
    color: #707985 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

body.single-product .rp-product-price-range-min,
body.single-product .rp-product-price-range-max {
    color: #111820 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

body.single-product .rp-product-price-range-min .woocommerce-Price-currencySymbol,
body.single-product .rp-product-price-range-max .woocommerce-Price-currencySymbol,
body.single-product .rp-product-price-content .woocommerce-Price-currencySymbol {
    font-size: 9px !important;
    font-weight: 400 !important;
    margin-inline-start: 3px !important;
}

body.single-product .rp-product-price-choice-note {
    margin: 6px 0 0 !important;
    color: #7b8490 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.9 !important;
    text-align: right !important;
}

body.single-product .rp-product-buybox-discount {
    position: absolute !important;
    top: 4px !important;
    left: 0 !important;
    z-index: 2 !important;
    min-width: 32px !important;
    height: 22px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #ff5a4f !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}


/* selected variation price: top row only + mobile-card typography */
body.single-product .rp-product-buybox .single_variation .woocommerce-variation-price,
body.single-product .rp-product-buybox .woocommerce-variation .woocommerce-variation-price,
body.single-product .rp-product-buybox .single_variation_wrap .woocommerce-variation-price {
    display: none !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    text-align: right !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content .price {
    width: 100% !important;
    display: inline-flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    text-align: right !important;
    color: #111820 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content ins {
    order: 0 !important;
    display: inline-flex !important;
    direction: rtl !important;
    align-items: baseline !important;
    color: #111820 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content ins bdi,
body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content > .price > bdi,
body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content bdi {
    color: #111820 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content del {
    order: 1 !important;
    display: inline-flex !important;
    direction: rtl !important;
    align-items: baseline !important;
    color: #ff4d4f !important;
    opacity: 1 !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content del bdi {
    color: #ff4d4f !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content .woocommerce-Price-currencySymbol {
    color: inherit !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin-inline-start: 3px !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content .amount {
    display: inline-flex !important;
    direction: rtl !important;
    align-items: baseline !important;
    gap: 3px !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-buybox-discount,
body.single-product .rp-product-price-box.has-selected-variation [data-rp-price-discount] {
    min-width: 32px !important;
    height: 22px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}


/* buybox selected variation price order and product-card typography */
body.single-product .rp-product-buybox .single_variation .woocommerce-variation-price,
body.single-product .rp-product-buybox .woocommerce-variation .woocommerce-variation-price,
body.single-product .rp-product-buybox .single_variation_wrap .woocommerce-variation-price {
    display: none !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content {
    width: 100% !important;
    display: block !important;
    direction: rtl !important;
    text-align: right !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-selected-price-row {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    text-align: right !important;
    line-height: 1.4 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-before {
    order: 0 !important;
    color: #ff4d4f !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px !important;
    opacity: 1 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-before .amount,
body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-before bdi {
    color: #ff4d4f !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-final {
    order: 1 !important;
    color: #111820 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: var(--rp-type-price-size, 30px) !important;
    font-weight: var(--rp-type-price-weight, 800) !important;
    line-height: 1.4 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-final .amount,
body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-final bdi {
    color: #111820 !important;
    font-size: var(--rp-type-price-size, 30px) !important;
    font-weight: var(--rp-type-price-weight, 800) !important;
    line-height: 1.4 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-currency {
    order: 2 !important;
    color: #111820 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin-inline-start: 1px !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content .price,
body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content ins,
body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content del {
    display: none !important;
}


/* buybox selected price font sizes and discount badge above row */
body.single-product .rp-product-price-box.has-selected-variation {
    padding-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-buybox-discount,
body.single-product .rp-product-price-box.has-selected-variation [data-rp-price-discount] {
    position: static !important;
    inset: auto !important;
    order: 0 !important;
    align-self: flex-start !important;
    margin: 0 0 8px 0 !important;
    min-width: 32px !important;
    width: max-content !important;
    height: 22px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #ff5a4f !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content {
    order: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    direction: rtl !important;
    text-align: right !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-selected-price-row {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    text-align: right !important;
    line-height: 1.25 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-before {
    order: 0 !important;
    color: #ff4d4f !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px !important;
    opacity: 1 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-before .amount,
body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-before bdi {
    color: #ff4d4f !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-final {
    order: 1 !important;
    color: #111820 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: var(--rp-type-price-size, 30px) !important;
    font-weight: var(--rp-type-price-weight, 800) !important;
    line-height: 1.15 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-final .amount,
body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-final bdi {
    color: #111820 !important;
    font-size: var(--rp-type-price-size, 30px) !important;
    font-weight: var(--rp-type-price-weight, 800) !important;
    line-height: 1.15 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-price-currency {
    order: 2 !important;
    color: #111820 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin-inline-start: 1px !important;
}


/* buybox price and discount badge left aligned */
body.single-product .rp-product-price-box.has-selected-variation {
    width: 100% !important;
    align-items: stretch !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-buybox-discount,
body.single-product .rp-product-price-box.has-selected-variation [data-rp-price-discount] {
    align-self: flex-end !important;
    margin-right: auto !important;
    margin-left: 0 !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content {
    width: 100% !important;
    text-align: left !important;
}

body.single-product .rp-product-price-box.has-selected-variation .rp-buybox-selected-price-row {
    width: 100% !important;
    justify-content: flex-end !important;
    text-align: left !important;
}

/* also keep initial variable discount badge on the visual left */
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-buybox-discount,
body.single-product .rp-product-price-box.is-variable-awaiting-choice [data-rp-price-discount] {
    left: 0 !important;
    right: auto !important;
}


/* normal product buybox price + explicit breadcrumb order */
body.single-product .rp-single-breadcrumb-custom {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    text-align: right !important;
    unicode-bidi: isolate !important;
}

body.single-product .rp-single-breadcrumb-custom a,
body.single-product .rp-single-breadcrumb-custom span {
    font-size: 13px !important;
    line-height: 1.9 !important;
}

body.single-product .rp-single-breadcrumb-custom a {
    color: #8a929b !important;
    text-decoration: none !important;
}

body.single-product .rp-single-breadcrumb-custom a:is(:hover, :focus-visible) {
    color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
}

body.single-product .rp-single-breadcrumb-custom .breadcrumb_last {
    color: #111820 !important;
    font-weight: 500 !important;
}

body.single-product .rp-single-breadcrumb-custom .rp-breadcrumb-separator {
    color: #c2c8cf !important;
    padding: 0 6px !important;
}

/* make simple/normal product price use the same controlled layout as selected variation */
body.single-product .rp-product-price-box.is-static-price {
    width: 100% !important;
    padding-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

body.single-product .rp-product-price-box.is-static-price .rp-product-buybox-discount,
body.single-product .rp-product-price-box.is-static-price [data-rp-price-discount] {
    position: static !important;
    inset: auto !important;
    order: 0 !important;
    align-self: flex-end !important;
    margin: 0 0 8px auto !important;
    min-width: 32px !important;
    width: max-content !important;
    height: 22px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #ff5a4f !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.single-product .rp-product-price-box.is-static-price .rp-product-price-content {
    order: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    direction: rtl !important;
    text-align: left !important;
}

body.single-product .rp-product-price-box.is-static-price .rp-buybox-selected-price-row {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    text-align: left !important;
    line-height: 1.25 !important;
}

body.single-product .rp-product-price-box.is-static-price .rp-buybox-price-before {
    order: 0 !important;
    color: #ff4d4f !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px !important;
    opacity: 1 !important;
}

body.single-product .rp-product-price-box.is-static-price .rp-buybox-price-before .amount,
body.single-product .rp-product-price-box.is-static-price .rp-buybox-price-before bdi {
    color: #ff4d4f !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

body.single-product .rp-product-price-box.is-static-price .rp-buybox-price-final {
    order: 1 !important;
    color: #111820 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: var(--rp-type-price-size, 30px) !important;
    font-weight: var(--rp-type-price-weight, 800) !important;
    line-height: 1.15 !important;
}

body.single-product .rp-product-price-box.is-static-price .rp-buybox-price-final .amount,
body.single-product .rp-product-price-box.is-static-price .rp-buybox-price-final bdi {
    color: #111820 !important;
    font-size: var(--rp-type-price-size, 30px) !important;
    font-weight: var(--rp-type-price-weight, 800) !important;
    line-height: 1.15 !important;
}

body.single-product .rp-product-price-box.is-static-price .rp-buybox-price-currency {
    order: 2 !important;
    color: #111820 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin-inline-start: 1px !important;
}


/* remove duplicate stock and align variable discount badge right */
body.single-product .rp-product-buybox form.cart + .rp-product-stock-line,
body.single-product .rp-product-buybox .single_variation .woocommerce-variation-availability,
body.single-product .rp-product-buybox .woocommerce-variation .woocommerce-variation-availability,
body.single-product .rp-product-buybox .single_variation_wrap .woocommerce-variation-availability {
    display: none !important;
}

/* keep only the main stock text above the add-to-cart button */
body.single-product .rp-product-buybox form.cart .woocommerce-variation-availability {
    display: block !important;
}

/* Out-of-stock / backorder copy in the buybox shares the helper typography role. */
body.single-product .rp-product-buybox :is(
    .stock.out-of-stock,
    p.stock.out-of-stock,
    .woocommerce-variation-availability .stock.out-of-stock,
    .stock.available-on-backorder,
    p.stock.available-on-backorder,
    .woocommerce-variation-availability .stock.available-on-backorder
) {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-size: var(--rp-type-helper-size, 13px) !important;
    line-height: 1.7 !important;
    margin-inline: auto !important;
}

/* The single stock line rendered inside WooCommerce's add-to-cart section. */
body.single-product .rp-product-buybox .stock.in-stock,
body.single-product .rp-product-buybox form.cart .stock.in-stock,
body.single-product .rp-product-buybox .woocommerce-variation-availability .stock.in-stock {
    font-size: var(--rp-type-helper-size, 13px) !important;
    line-height: 1.7 !important;
}

body.single-product .rp-product-buybox .rp-product-buybox-card .rp-grouped-stock-notice.stock.out-of-stock {
    color: #000 !important;
    font-size: var(--rp-type-helper-size, 13px) !important;
    text-align: center !important;
}

html[data-rp-user-theme="dark"] body.single-product .rp-product-buybox .rp-product-buybox-card .rp-grouped-stock-notice.stock.out-of-stock,
html[data-rp-theme-mode="dark"] body.single-product .rp-product-buybox .rp-product-buybox-card .rp-grouped-stock-notice.stock.out-of-stock,
body.rp-theme-color-preset-dark.single-product .rp-product-buybox .rp-product-buybox-card .rp-grouped-stock-notice.stock.out-of-stock {
    color: #fff !important;
}

body.single-product .rp-product-buybox :is(
    .stock.available-on-backorder,
    p.stock.available-on-backorder,
    .woocommerce-variation-availability .stock.available-on-backorder
) {
    color: #15803d !important;
}

body.single-product .rp-product-stock-line :is(.stock.out-of-stock, .out-of-stock) {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: var(--rp-type-helper-size, 13px) !important;
    line-height: 1.7 !important;
}

body.single-product .rp-product-stock-line :is(.stock.available-on-backorder, .available-on-backorder) {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: var(--rp-type-helper-size, 13px) !important;
    line-height: 1.7 !important;
    color: #15803d !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-buybox-discount,
body.single-product .rp-product-price-box.is-variable-awaiting-choice [data-rp-price-discount],
body.single-product .rp-product-price-box.has-selected-variation:not(.is-static-price) .rp-product-buybox-discount,
body.single-product .rp-product-price-box.has-selected-variation:not(.is-static-price) [data-rp-price-discount] {
    align-self: flex-start !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    left: auto !important;
    right: 0 !important;
}


/* variable initial price row left aligned, discount badge stays right */
body.single-product .rp-product-price-box.is-variable-awaiting-choice {
    width: 100% !important;
    padding-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-buybox-discount,
body.single-product .rp-product-price-box.is-variable-awaiting-choice [data-rp-price-discount] {
    position: static !important;
    inset: auto !important;
    order: 0 !important;
    align-self: flex-end !important;
    margin: 0 0 8px auto !important;
    min-width: 32px !important;
    width: max-content !important;
    left: auto !important;
    right: 0 !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content {
    order: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    direction: rtl !important;
    text-align: left !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content .price,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content ins,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content bdi {
    text-align: left !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content ins,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content ins .amount,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content ins bdi,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content .rp-buybox-price-final,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content .rp-buybox-price-final .amount,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content .rp-buybox-price-final bdi {
    font-size: var(--rp-type-price-size, 30px) !important;
    font-weight: var(--rp-type-price-weight, 800) !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-buybox-price-final .amount bdi {
    font-size: var(--rp-type-price-size, 30px) !important;
    font-weight: var(--rp-type-price-weight, 800) !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content del,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content del .amount,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content del bdi {
    font-size: 20px !important;
    font-weight: 400 !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content del .woocommerce-Price-currencySymbol {
    display: none !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content .price,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content .woocommerce-Price-currencySymbol,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-range-min,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-range-max,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-range-prefix,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-range-sep {
    text-align: left !important;
}


/* variable choice note below price row */
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-choice-note {
    order: 2 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 0 8px !important;
    display: block !important;
    color: #7b8490 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
    text-align: center !important;
    clear: both !important;
}

body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content {
    order: 1 !important;
    margin-bottom: 0 !important;
}


/* product page stock visibility option */
body.single-product.rp-product-stock-hidden .rp-product-buybox .rp-product-stock-line,
body.single-product.rp-product-stock-hidden .rp-product-buybox .stock,
body.single-product.rp-product-stock-hidden .rp-product-buybox .woocommerce-variation-availability {
    display: none !important;
}


/* product buybox note and quantity controls */
body.single-product .rp-product-buybox form.cart .quantity {
    display: inline-flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    flex: 0 0 88px !important;
    width: 88px !important;
    min-width: 88px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    border: 1px solid #d5dae0 !important;
    border-radius: 16px !important;
    background: #f6f7f8 !important;
    overflow: hidden !important;
    direction: ltr !important;
}

body.single-product .rp-product-buybox form.cart .quantity .qty {
    order: 2 !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #6b7280 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
}
body.single-product .rp-product-buybox form.cart .quantity .qty::-webkit-outer-spin-button,
body.single-product .rp-product-buybox form.cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

body.single-product .rp-product-buybox form.cart .quantity .rp-buybox-qty-btn {
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #7b8189 !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color .2s ease, background-color .2s ease !important;
}
body.single-product .rp-product-buybox form.cart .quantity .rp-buybox-qty-btn:hover {
    color: #111820 !important;
    background: rgba(17,24,32,.04) !important;
}
body.single-product .rp-product-buybox form.cart .quantity .rp-buybox-qty-btn.is-plus { order: 1 !important; }
body.single-product .rp-product-buybox form.cart .quantity .rp-buybox-qty-btn.is-minus { order: 3 !important; }

body.single-product .rp-product-buybox form.cart:not(.variations_form),
body.single-product .rp-product-buybox .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart,
body.single-product .rp-product-buybox .variations_form .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    flex-direction: row-reverse !important;
}

body.single-product .rp-product-buybox form.cart:not(.variations_form) .single_add_to_cart_button,
body.single-product .rp-product-buybox .variations_form .single_variation_wrap .single_add_to_cart_button,
body.single-product .rp-product-buybox .variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 175px !important;
}

body.single-product .rp-product-buybox form.cart .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button,
body.single-product .rp-product-buybox form.cart .single_add_to_cart_button.disabled,
body.single-product .rp-product-buybox form.cart .single_add_to_cart_button:disabled {
    opacity: .65 !important;
}

body.single-product .rp-product-buybox-note {
    margin-top: 14px !important;
    min-height: 52px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    background: #f3f5f6 !important;
    color: #1d252d !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}
body.single-product .rp-product-buybox-note-text {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
}
body.single-product .rp-product-buybox-note-icon {
    flex: 0 0 auto !important;
    color: #2e3740 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 820px) {
    body.single-product .rp-product-buybox form.cart:not(.variations_form),
    body.single-product .rp-product-buybox .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart,
    body.single-product .rp-product-buybox .variations_form .woocommerce-variation-add-to-cart {
        gap: 8px !important;
    }
    body.single-product .rp-product-buybox form.cart .quantity {
        flex-basis: 82px !important;
        width: 82px !important;
        min-width: 82px !important;
        height: 42px !important;
        border-radius: 14px !important;
    }
    body.single-product .rp-product-buybox form.cart .quantity .rp-buybox-qty-btn {
        flex-basis: 26px !important;
        width: 26px !important;
        min-width: 26px !important;
        font-size: 18px !important;
    }
    body.single-product .rp-product-buybox-note {
        margin-top: 12px !important;
        padding: 10px 14px !important;
        border-radius: 10px !important;
    }
    body.single-product .rp-product-buybox-note-text {
        font-size: 13px !important;
    }
}


/* buybox note icon right + quantity right of add button */
body.single-product .rp-product-buybox-note {
    direction: rtl !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

body.single-product .rp-product-buybox-note-icon {
    order: 0 !important;
    margin-left: 6px !important;
    margin-right: 0 !important;
}

body.single-product .rp-product-buybox-note-text {
    order: 1 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    text-align: right !important;
}

body.single-product .rp-product-buybox form.cart:not(.variations_form),
body.single-product .rp-product-buybox .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart,
body.single-product .rp-product-buybox .variations_form .woocommerce-variation-add-to-cart {
    direction: rtl !important;
    flex-direction: row !important;
}

body.single-product .rp-product-buybox form.cart .quantity {
    order: 0 !important;
}

body.single-product .rp-product-buybox form.cart .single_add_to_cart_button,
body.single-product .rp-product-buybox .variations_form .single_variation_wrap .single_add_to_cart_button,
body.single-product .rp-product-buybox .variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    order: 1 !important;
}


/* buybox layout refinements */
body.single-product .rp-product-buybox-card.rp-buybox-is-loading {
    position: relative !important;
    min-height: 220px;
}

body.single-product .rp-product-buybox-card.rp-buybox-is-loading > :not(.rp-buybox-skeleton) {
    visibility: hidden !important;
}

body.single-product .rp-buybox-skeleton {
    position: absolute;
    z-index: 2;
    inset: 20px;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    color: var(--rp-theme-general-text, #29313a);
}

body.single-product .rp-buybox-skeleton :is(.rp-buybox-skeleton__price, .rp-buybox-skeleton__stock, .rp-buybox-skeleton__actions > span) {
    display: block;
    border-radius: 8px;
    background: color-mix(in srgb, currentColor 12%, transparent);
}

body.single-product .rp-buybox-skeleton__price { width: 42%; height: 27px; margin: 22px 0 0 auto; }
body.single-product .rp-buybox-skeleton__stock { width: 30%; height: 13px; margin: auto 0 14px auto; }
body.single-product .rp-buybox-skeleton__actions { display: flex; gap: 10px; height: 48px; }
body.single-product .rp-buybox-skeleton__actions > span:first-child { flex: 1; }
body.single-product .rp-buybox-skeleton__actions > span:last-child { flex: 0 0 90px; }
body.single-product .rp-product-buybox-card:not(.rp-buybox-is-loading) > .rp-buybox-skeleton { display: none; }

body.single-product .rp-product-buybox-card {
    display: flex !important;
    flex-direction: column !important;
}

body.single-product .rp-product-buybox form.cart,
body.single-product .rp-product-buybox .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart,
body.single-product .rp-product-buybox .variations_form .woocommerce-variation-add-to-cart {
    min-height: 48px !important;
}

body.single-product .rp-product-buybox form.cart .quantity {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    height: 48px !important;
    min-height: 48px !important;
}

body.single-product .rp-product-buybox form.cart .single_add_to_cart_button,
body.single-product .rp-product-buybox .variations_form .single_variation_wrap .single_add_to_cart_button,
body.single-product .rp-product-buybox .variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    min-height: 48px !important;
    height: 48px !important;
}

body.single-product .rp-product-price-choice-note {
    order: 3 !important;
    margin: 12px 0 0 !important;
    padding: 6px 0 !important;
    text-align: center !important;
    font-weight: 400 !important;
}

body.single-product .rp-product-buybox-note {
    margin-top: 12px !important;
}

@media (max-width: 820px) {
    body.single-product .rp-product-buybox form.cart .quantity {
        flex-basis: 90px !important;
        width: 90px !important;
        min-width: 90px !important;
        height: 48px !important;
        min-height: 48px !important;
    }

    body.single-product .rp-product-buybox form.cart .single_add_to_cart_button,
    body.single-product .rp-product-buybox .variations_form .single_variation_wrap .single_add_to_cart_button,
    body.single-product .rp-product-buybox .variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
        min-height: 48px !important;
        height: 48px !important;
    }
}


/* buybox before-discount price typography */
body.single-product .rp-product-buybox .rp-buybox-price-before,
body.single-product .rp-product-buybox .rp-buybox-price-before .amount,
body.single-product .rp-product-buybox .rp-buybox-price-before bdi,
body.single-product .rp-product-buybox .rp-product-price-content del,
body.single-product .rp-product-buybox .rp-product-price-content del .amount,
body.single-product .rp-product-buybox .rp-product-price-content del bdi {
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}


/* stronger before-discount price override in product buybox */
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-box.has-selected-variation .rp-buybox-selected-price-row > .rp-buybox-price-before,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-box.has-selected-variation .rp-buybox-selected-price-row > .rp-buybox-price-before *,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-box.has-selected-variation .rp-buybox-selected-price-row > .rp-buybox-price-before .amount,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-box.has-selected-variation .rp-buybox-selected-price-row > .rp-buybox-price-before bdi,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-box.is-static-price .rp-buybox-selected-price-row > .rp-buybox-price-before,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-box.is-static-price .rp-buybox-selected-price-row > .rp-buybox-price-before *,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-box.is-static-price .rp-buybox-selected-price-row > .rp-buybox-price-before .amount,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-box.is-static-price .rp-buybox-selected-price-row > .rp-buybox-price-before bdi {
    font-size: var(--rp-type-price_before_discount-size, 12px) !important;
    font-weight: var(--rp-type-price_before_discount-weight, 400) !important;
    line-height: 1.2 !important;
}

body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-content del,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-content del *,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-content del .amount,
body.single-product .rp-single-product-page .rp-product-buybox .rp-product-buybox-card .rp-product-price-content del bdi {
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

/* Top middle product variation color boxes */
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-color,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-image {
    border-color: rgba(17,24,32,.16) !important;
    background: #fff !important;
}

body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-color .rp-single-variation-choice-visual,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-image .rp-single-variation-choice-visual {
    position: relative !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    border-width: 2px !important;
    border-style: solid !important;
    border-color: var(--rp-single-variation-color, rgba(17,24,32,.22)) !important;
    box-shadow: 0 0 0 2px #fff, 0 2px 7px rgba(17,24,32,.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-color.is-active,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-image.is-active,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-color[aria-pressed="true"],
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-image[aria-pressed="true"] {
    border-color: #111820 !important;
    background: #fff !important;
    box-shadow: 0 0 0 1px rgba(17,24,32,.12) !important;
}

body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-color.is-active .rp-single-variation-choice-visual,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-image.is-active .rp-single-variation-choice-visual,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-color[aria-pressed="true"] .rp-single-variation-choice-visual,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-image[aria-pressed="true"] .rp-single-variation-choice-visual {
    border-color: var(--rp-single-variation-color, #111820) !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(17,24,32,.18) !important;
}

body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-color.is-active .rp-single-variation-choice-visual::after,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-image.is-active .rp-single-variation-choice-visual::after,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-color[aria-pressed="true"] .rp-single-variation-choice-visual::after,
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice.has-image[aria-pressed="true"] .rp-single-variation-choice-visual::after {
    content: "✓" !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.7) !important;
    border-radius: inherit !important;
}


/* dynamic product service strip */
body.single-product .rp-product-service-strip {
    --rp-service-mobile-count: 3;
}

body.single-product .rp-product-service-strip .rp-product-service-item,
body.single-product .rp-product-service-strip a.rp-product-service-item {
    min-width: 0 !important;
    display: grid !important;
    justify-items: center !important;
    gap: 8px !important;
    text-align: center !important;
    color: #55606b !important;
    text-decoration: none !important;
}

body.single-product .rp-product-service-strip .rp-product-service-icon {
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

body.single-product .rp-product-service-strip .rp-product-service-icon img {
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: contain !important;
    display: block !important;
}

body.single-product .rp-product-service-strip .rp-product-service-item:hover b,
body.single-product .rp-product-service-strip a.rp-product-service-item:hover b {
    color: #111820 !important;
}

@media (min-width: 1025px) {
    body.single-product .rp-product-service-strip.rp-service-hide-desktop {
        display: none !important;
    }
}

@media (min-width: 701px) and (max-width: 1024px) {
    body.single-product .rp-product-service-strip.rp-service-hide-tablet {
        display: none !important;
    }

    body.single-product .rp-product-service-strip {
        padding-left: 24px !important;
        padding-right: 24px !important;
        gap: 18px !important;
    }
}

@media (max-width: 700px) {
    body.single-product .rp-product-service-strip.rp-service-hide-mobile {
        display: none !important;
    }

    body.single-product .rp-product-service-strip {
        margin: 28px 0 30px !important;
        padding: 0 0 18px !important;
        display: flex !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        border-bottom: 1px solid #eef1f4 !important;
        scrollbar-width: none !important;
    }

    body.single-product .rp-product-service-strip::-webkit-scrollbar {
        display: none !important;
    }

    body.single-product .rp-product-service-strip .rp-product-service-item,
    body.single-product .rp-product-service-strip a.rp-product-service-item {
        flex: 0 0 calc((100% - ((var(--rp-service-mobile-count, 3) - 1) * 12px)) / var(--rp-service-mobile-count, 3)) !important;
        min-width: calc((100% - ((var(--rp-service-mobile-count, 3) - 1) * 12px)) / var(--rp-service-mobile-count, 3)) !important;
        scroll-snap-align: start !important;
    }

    body.single-product .rp-product-service-strip .rp-product-service-icon {
        width: 26px !important;
        height: 26px !important;
        font-size: 23px !important;
    }

    body.single-product .rp-product-service-strip .rp-product-service-icon img {
        max-width: 26px !important;
        max-height: 26px !important;
    }
}

/* related carousel: keep the fractional card on the left side in RTL layout. */
body.single-product .rp-single-related-viewport,
body.single-product .rp-single-related-track {
    direction: rtl !important;
}

body.single-product .rp-single-related-track > li.product {
    scroll-snap-align: end !important;
}


/* product reviews form and list */
body.single-product .rp-product-reviews-list {
    min-width: 0 !important;
}

body.single-product .rp-product-review-items,
body.single-product .rp-product-review-items.commentlist {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid !important;
    gap: 12px !important;
}

body.single-product .rp-product-review-items .review,
body.single-product .rp-product-review-items .comment {
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid #eef1f4 !important;
    border-radius: 12px !important;
    background: #fff !important;
}

body.single-product .rp-product-review-items .comment_container {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
}

body.single-product .rp-product-review-items .avatar {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    margin: 0 !important;
}

body.single-product .rp-product-review-items .comment-text {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.single-product .rp-product-review-items .meta,
body.single-product .rp-product-review-items .description {
    margin: 0 0 8px !important;
    color: #59636e !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
}

body.single-product .rp-product-review-form #respond {
    margin-top: 12px !important;
}

body.single-product .rp-product-review-form .comment-reply-title {
    display: block !important;
    margin: 0 0 12px !important;
    color: #1a222b !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body.single-product .rp-product-review-form form {
    display: grid !important;
    gap: 12px !important;
}

body.single-product .rp-product-review-form label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #303942 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

body.single-product .rp-product-review-form textarea,
body.single-product .rp-product-review-form input[type="text"],
body.single-product .rp-product-review-form input[type="email"],
body.single-product .rp-product-review-form input[type="url"],
body.single-product .rp-product-review-form input[type="tel"],
body.single-product .rp-product-review-form select {
    width: 100% !important;
    min-height: 42px !important;
    border: 1px solid #e2e7ec !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #1a222b !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
}

body.single-product .rp-product-review-form textarea {
    min-height: 126px !important;
    padding: 12px !important;
    resize: vertical !important;
}

body.single-product .rp-product-review-form input[type="text"],
body.single-product .rp-product-review-form input[type="email"],
body.single-product .rp-product-review-form input[type="url"],
body.single-product .rp-product-review-form select {
    padding: 0 12px !important;
}

body.single-product .rp-product-review-form .form-submit .submit {
    min-height: 42px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #303942 !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

body.single-product .rp-product-review-form .rp-product-review-closed {
    padding: 12px !important;
    border-radius: 10px !important;
    background: #fff5f2 !important;
    color: #c64822 !important;
    font-weight: 800 !important;
}

@media (max-width: 900px) {
    body.single-product .rp-product-reviews-panel {
        grid-template-columns: 1fr !important;
    }
}

/* polished product reviews + Ajax states */
body.single-product .rp-product-reviews-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr) !important;
    gap: 20px !important;
    align-items: start !important;
    padding: 22px !important;
    border: 1px solid #edf1f5 !important;
    border-radius: 20px !important;
    background: #fbfcfd !important;
}

body.single-product .rp-product-reviews-list,
body.single-product .rp-product-review-form {
    min-width: 0 !important;
    border: 1px solid #e8edf2 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 32px rgba(18, 35, 52, 0.04) !important;
}

body.single-product .rp-product-reviews-list {
    padding: 16px !important;
    min-height: 0 !important;
}

body.single-product .rp-product-reviews-list.has-review-overflow .rp-product-review-items {
    position: relative !important;
    max-height: var(--rp-review-preview-height) !important;
    overflow: hidden !important;
    mask-image: linear-gradient(to bottom, #000 calc(100% - 70px), transparent 100%);
    transition: max-height .45s ease, mask-image .45s ease;
}

body.single-product .rp-product-reviews-list.has-review-overflow .rp-product-review-items.is-review-preview-expanded {
    max-height: var(--rp-review-full-height) !important;
    mask-image: none;
}

body.single-product .rp-product-reviews-list.has-review-overflow .rp-product-review-items:not(.is-review-preview-expanded) > li:nth-child(n+3) {
    pointer-events: none;
}

body.single-product .rp-product-reviews-more {
    display: block !important;
    width: max-content !important;
    margin: 12px auto 0 0 !important;
    padding: 6px 10px !important;
    border: 1px solid var(--rp-theme-general-border, #e8edf2) !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--rp-theme-general-heading, #1f2933) !important;
    cursor: pointer !important;
}

body.single-product .rp-product-reviews-more[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    body.single-product .rp-product-reviews-list.has-review-overflow .rp-product-review-items {
        transition: none;
    }
}

body.single-product .rp-product-review-form {
    padding: 18px !important;
}

body.single-product .rp-product-review-form > h2 {
    margin: 0 0 8px !important;
    color: #141b24 !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    line-height: 1.8 !important;
}

body.single-product .rp-product-review-form > p {
    margin: 0 0 14px !important;
    color: #687381 !important;
    font-size: 12px !important;
    line-height: 2 !important;
}

body.single-product .rp-product-reviews-empty {
    height: 100% !important;
    min-height: 214px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 28px !important;
    border: 1px dashed #dfe6ed !important;
    border-radius: 16px !important;
    color: #647080 !important;
    text-align: center !important;
    background: linear-gradient(180deg, #fff, #fbfcfd) !important;
}

body.single-product .rp-product-reviews-empty span {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    background: #fff7e6 !important;
    color: #f2a900 !important;
    font-size: 20px !important;
}

body.single-product .rp-product-reviews-empty-icon::before {
    content: "";
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    background: currentColor;
    -webkit-mask: url("../../icons/chat-icon.svg") center / contain no-repeat;
    mask: url("../../icons/chat-icon.svg") center / contain no-repeat;
}

body.single-product .rp-product-reviews-empty strong {
    color: #1f2933 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body.single-product .rp-product-review-items .review,
body.single-product .rp-product-review-items .comment {
    padding: 12px !important;
    border-color: #e8edf2 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(18, 35, 52, 0.035) !important;
}

body.single-product .rp-product-review-items .comment-text .star-rating,
body.single-product .rp-product-review-items .star-rating {
    float: none !important;
    margin: 0 !important;
    color: #f5a400 !important;
}

body.single-product .rp-product-review-items .comment-text {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-areas:
        "meta meta"
        "rating description" !important;
    align-items: center !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
}

body.single-product .rp-product-review-items .comment-text > .meta {
    grid-area: meta !important;
    margin: 0 !important;
}

body.single-product .rp-product-review-items .comment-text > .star-rating {
    grid-area: rating !important;
    justify-self: start !important;
}

body.single-product .rp-product-review-items .comment-text > .description {
    grid-area: description !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: right !important;
}

body.single-product .rp-product-review-items .comment-text .star-rating::before,
body.single-product .rp-product-review-items .comment-text .star-rating span::before,
body.single-product .rp-product-review-items .star-rating::before,
body.single-product .rp-product-review-items .star-rating span::before {
    color: #f5a400 !important;
}

body.single-product .rp-product-review-items .woocommerce-review__author {
    color: #111827 !important;
    font-weight: 500 !important;
}

body.single-product .rp-product-review-items .woocommerce-review__dash,
body.single-product .rp-product-review-items .woocommerce-review__published-date {
    color: #8792a0 !important;
}

body.single-product .rp-product-review-items .description p {
    margin: 0 !important;
    color: #334155 !important;
    font-size: 13px !important;
    line-height: 2 !important;
}

body.single-product .rp-product-review-form .comment-reply-title {
    margin: 0 0 10px !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

body.single-product .rp-product-review-form form {
    gap: 14px !important;
}

body.single-product .rp-product-review-form .comment-form-rating {
    margin: 0 !important;
}

/* WooCommerce replaces this select with stars after its frontend script runs.
   Keep the raw option label from flashing before that enhancement. */
body.single-product .rp-product-review-form select#rating {
    display: none !important;
}

body.single-product .rp-product-review-form p.stars {
    margin: 4px 0 0 !important;
    line-height: 1 !important;
}

body.single-product .rp-product-review-form p.stars a {
    color: #f5a400 !important;
    font-size: 25px !important;
    margin-left: 4px !important;
    text-decoration: none !important;
}

body.single-product .rp-product-review-form p.stars a::before,
body.single-product .rp-product-review-form p.stars:hover a::before,
body.single-product .rp-product-review-form p.stars.selected a.active::before,
body.single-product .rp-product-review-form p.stars.selected a:not(.active)::before,
body.single-product .rp-product-review-form p.stars.selected a.active ~ a::before {
    color: #f5a400 !important;
}

body.single-product .rp-product-review-form textarea,
body.single-product .rp-product-review-form input[type="text"],
body.single-product .rp-product-review-form input[type="email"],
body.single-product .rp-product-review-form input[type="url"],
body.single-product .rp-product-review-form select {
    border-color: #dfe6ee !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.single-product .rp-product-review-form textarea:focus,
body.single-product .rp-product-review-form input[type="text"]:focus,
body.single-product .rp-product-review-form input[type="email"]:focus,
body.single-product .rp-product-review-form input[type="url"]:focus,
body.single-product .rp-product-review-form input[type="tel"]:focus,
body.single-product .rp-product-review-form select:focus {
    outline: 0 !important;
    border-color: #f5a400 !important;
    box-shadow: 0 0 0 4px rgba(245, 164, 0, 0.13) !important;
}

body.single-product .rp-product-review-form textarea {
    min-height: 148px !important;
}

body.single-product .rp-product-review-form .form-submit {
    margin: 0 !important;
}

body.single-product .rp-product-review-form .form-submit .submit {
    min-height: 46px !important;
    min-width: 126px !important;
    padding: 0 22px !important;
    border-radius: 13px !important;
    background: #25313d !important;
    box-shadow: 0 8px 20px rgba(37, 49, 61, 0.16) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
}

body.single-product .rp-product-review-form .form-submit .submit:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 24px rgba(37, 49, 61, 0.2) !important;
}

body.single-product .rp-product-review-form form.is-submitting .form-submit .submit {
    cursor: wait !important;
    opacity: 0.78 !important;
}

body.single-product .rp-product-review-message {
    margin: 0 0 14px !important;
    padding: 11px 13px !important;
    border-radius: 13px !important;
    font-size: var(--rp-type-helper-size, 12px) !important;
    font-weight: var(--rp-type-helper-weight, 300) !important;
    line-height: 1.9 !important;
}

body.single-product .rp-product-review-message.is-success {
    border: 1px solid #bbf7d0 !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
}

body.single-product .rp-product-review-message.is-error {
    font-size: var(--rp-type-helper-size, 12px) !important;
    font-weight: var(--rp-type-helper-weight, 300) !important;
    border: 1px solid #fecaca !important;
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

@media (min-width: 901px) {
    body.single-product .rp-single-product-page .rp-product-quick-attrs-wrap .rp-product-show-more {
        display: flex !important;
        width: max-content !important;
        margin-inline-start: auto !important;
        margin-inline-end: 0 !important;
    }
}

@media (max-width: 900px) {
    body.single-product .rp-product-reviews-panel {
        grid-template-columns: 1fr !important;
        padding: 14px !important;
        gap: 14px !important;
    }

    body.single-product .rp-product-review-form {
        order: -1 !important;
    }
}

/* mobile/responsive product page optimization */
@media (max-width: 900px) {
    html,
    body.single-product {
        overflow-x: hidden !important;
    }

    body.single-product *,
    body.single-product *::before,
    body.single-product *::after {
        box-sizing: border-box !important;
    }

    body.single-product .rp-single-product-page {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: clip !important;
        background: #fff !important;
    }

    body.single-product .rp-single-product-inner,
    body.single-product .rp-single-product-page .rp-single-product-inner {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        padding: 14px 20px 86px !important;
        overflow-x: clip !important;
    }

    body.single-product .rp-single-product-page .rp-product-breadcrumb {
        max-width: 100% !important;
        margin: 0 0 12px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 11px !important;
    }

    body.single-product .rp-single-product-page .rp-product-top,
    body.single-product .rp-single-product-page .rp-single-desktop-layout {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        padding: 0 !important;
        margin: 0 !important;
        direction: rtl !important;
        overflow: visible !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-col,
    body.single-product .rp-single-product-page .rp-product-summary-col,
    body.single-product .rp-single-product-page .rp-product-buybox,
    body.single-product .rp-single-product-page .rp-product-info-tabs,
    body.single-product .rp-single-product-page .rp-product-related-smart,
    body.single-product .rp-single-product-page .rp-product-related {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        overflow-x: clip !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-col {
        order: 1 !important;
    }

    body.single-product .rp-single-product-page .rp-product-summary-col {
        order: 2 !important;
    }

    body.single-product .rp-single-product-page .rp-product-buybox {
        order: 3 !important;
        position: static !important;
        top: auto !important;
    }

    body.single-product .rp-single-product-page .rp-product-custom-gallery {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-stage {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-slide,
    body.single-product .rp-single-product-page .rp-product-gallery-slide img {
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-nav {
        width: 38px !important;
        height: 38px !important;
        background-size: 24px 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-prev {
        left: 10px !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-next {
        right: 10px !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-thumbs {
        width: 100% !important;
        max-width: 100% !important;
        margin: 12px 0 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        direction: rtl !important;
        justify-content: stretch !important;
        align-items: stretch !important;
        overflow: hidden !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-thumb,
    body.single-product .rp-single-product-page .rp-product-gallery-all-btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
        flex: none !important;
        margin: 0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-thumb:nth-of-type(n+4) {
        display: none !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-all-btn {
        display: inline-flex !important;
        grid-column: auto !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-thumb img,
    body.single-product .rp-single-product-page .rp-product-gallery-all-btn img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-lightbox-btn {
        right: 12px !important;
        bottom: 12px !important;
        width: 44px !important;
        height: 44px !important;
    }

    body.single-product .rp-single-product-page .rp-product-title {
        font-size: 20px !important;
        line-height: 1.75 !important;
        margin-bottom: 12px !important;
    }

    body.single-product .rp-single-product-page .rp-product-under-title,
    body.single-product .rp-single-product-page .rp-product-quick-attrs-wrap,
    body.single-product .rp-single-product-page .rp-product-guarantee-box,
    body.single-product .rp-single-product-page .rp-product-buybox-card,
    body.single-product .rp-single-product-page .rp-product-buybox-note,
    body.single-product .rp-single-product-page .rp-product-info-tabs,
    body.single-product .rp-single-product-page .rp-product-reviews-panel {
        max-width: 100% !important;
        overflow-x: clip !important;
        border-radius: 16px !important;
    }

    body.single-product .rp-single-product-page .rp-product-buybox-card {
        padding: 16px !important;
    }

    body.single-product .rp-single-product-page .rp-product-buybox form.cart,
    body.single-product .rp-single-product-page .rp-product-buybox .variations,
    body.single-product .rp-single-product-page .rp-product-buybox .woocommerce-variation-add-to-cart {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.single-product .rp-single-product-page .rp-product-buybox form.cart .single_add_to_cart_button {
        width: 100% !important;
        min-height: 50px !important;
    }

    body.single-product .rp-single-product-page .rp-product-quick-attrs {
        grid-template-columns: 1fr !important;
    }

    body.single-product .rp-single-product-page .rp-single-color-choices,
    body.single-product .rp-single-product-page .rp-product-summary-variation-choices,
    body.single-product .rp-single-product-page .rp-product-meta-line {
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    body.single-product .rp-single-product-page .rp-product-info-tabs {
        padding: 16px !important;
    }

    body.single-product .rp-single-product-page .rp-product-info-tabs table,
    body.single-product .rp-single-product-page .rp-product-info-tabs tbody,
    body.single-product .rp-single-product-page .rp-product-info-tabs tr,
    body.single-product .rp-single-product-page .rp-product-info-tabs th,
    body.single-product .rp-single-product-page .rp-product-info-tabs td {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    body.single-product .rp-single-product-page .rp-product-info-tabs th,
    body.single-product .rp-single-product-page .rp-product-info-tabs td {
        padding: 10px 0 !important;
    }

    body.single-product .rp-single-product-page .rp-product-reviews-panel {
        padding: 14px !important;
    }

    body.single-product .rp-product-gallery-lightbox-panel {
        width: calc(100vw - 28px) !important;
        height: calc(100vh - 92px) !important;

 opacity: .2;

 transform: translateY(8px) scale(.97);
}

    body.single-product .rp-product-gallery-lightbox-nav {
        width: 42px !important;
        height: 42px !important;
    }
}

@media (max-width: 767px) {
    body.single-product .rp-single-product-inner,
    body.single-product .rp-single-product-page .rp-single-product-inner {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 480px) {
    body.single-product .rp-single-product-page .rp-product-title {
        font-size: 18px !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-thumbs {
        gap: 7px !important;
    }
}

/* mobile summary border removal and CTA-style product detail links. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-product-summary-col {
        order: 2 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    body.single-product .rp-single-product-page .rp-product-under-title {
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    body.single-product .rp-single-product-page .rp-product-tabs-nav {
        width: 100% !important;
        margin: 0 0 16px !important;
        padding: 4px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        border: 1px solid #e7ebef !important;
        border-radius: 16px !important;
        background: #f7f9fb !important;
        box-shadow: 0 10px 28px rgba(17, 24, 32, .045) !important;
    }

    body.single-product .rp-single-product-page .rp-product-tabs-nav a {
        width: 100% !important;
        min-height: 44px !important;
        padding: 0 12px !important;
        justify-content: center !important;
        border: 1px solid transparent !important;
        border-radius: 13px !important;
        background: #fff !important;
        color: #1d2730 !important;
        box-shadow: 0 6px 16px rgba(17, 24, 32, .045) !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 1.4 !important;
    }

    body.single-product .rp-single-product-page .rp-product-tabs-nav a.is-active {
        border-color: rgba(255, 122, 54, .28) !important;
        background: linear-gradient(135deg, #ff8a3d 0%, #ff6d2d 100%) !important;
        color: #fff !important;
        box-shadow: 0 10px 22px rgba(255, 122, 54, .22) !important;
    }

    body.single-product .rp-single-product-page .rp-product-show-more {
        width: 100% !important;
        min-height: 42px !important;
        margin-top: 12px !important;
        padding: 0 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border: 1px solid rgba(255, 122, 54, .24) !important;
        border-radius: 13px !important;
        background: #fff6ef !important;
        color: #e85f21 !important;
        box-shadow: 0 8px 18px rgba(255, 122, 54, .12) !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        text-decoration: none !important;
    }

    body.single-product .rp-single-product-page .rp-product-show-more::after {
        content: '';
        width: 7px;
        height: 7px;
        border-left: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(-45deg);
        margin-top: -4px;
    }

    body.single-product .rp-single-product-page .rp-product-show-more:hover,
    body.single-product .rp-single-product-page .rp-product-show-more:focus-visible {
        background: #ffefe4 !important;
        color: #d94d15 !important;
        outline: none !important;
    }
}

/* mobile related carousel arrow icon direction and centered tab buttons. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-single-related-arrow-prev span {
        transform: rotate(0deg) !important;
    }

    body.single-product .rp-single-product-page .rp-single-related-arrow-next span {
        transform: rotate(180deg) !important;
    }

    body.single-product .rp-single-product-page .rp-product-tabs-nav {
        width: auto !important;
        max-width: 100% !important;
        margin: 0 auto 16px !important;
        padding: 5px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border: 1px solid #e7ebef !important;
        border-radius: 16px !important;
        background: #f7f9fb !important;
        box-shadow: 0 10px 28px rgba(17, 24, 32, .045) !important;
    }

    body.single-product .rp-single-product-page .rp-product-info-tabs {
        text-align: center !important;
    }

    body.single-product .rp-single-product-page .rp-product-tabs-nav a {
        width: auto !important;
        min-width: 118px !important;
        min-height: 44px !important;
        padding: 0 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border: 1px solid transparent !important;
        border-radius: 13px !important;
        background: #fff !important;
        color: #1d2730 !important;
        box-shadow: 0 6px 16px rgba(17, 24, 32, .045) !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 1.4 !important;
    }

    body.single-product .rp-single-product-page .rp-product-tabs-nav a.is-active {
        border-color: rgba(0, 0, 0, .28) !important;
        background: linear-gradient(135deg, #707070 0%, #000 100%) !important;
        color: #fff !important;
        box-shadow: 0 10px 22px rgba(0, 0, 0, .22) !important;
    }
}

@media (max-width: 380px) {
    body.single-product .rp-single-product-page .rp-product-tabs-nav {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.single-product .rp-single-product-page .rp-product-tabs-nav a {
        min-width: 0 !important;
        width: 100% !important;
        padding: 0 10px !important;
    }
}


/* PATCH v0.1.221-mobile-fix */
@media (max-width: 900px) {

  /* tabs buttons 48% */
  body.single-product .rp-product-info-tabs .rp-product-tabs-nav a {
    width: 48% !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  body.single-product .rp-product-info-tabs {
    text-align: right;
  }

  /* hide show all button in description */
  body.single-product .rp-show-all,
  body.single-product .rp-show-more,
  body.single-product .rp-product-show-all {
    display: none !important;
  }

  /* hide 3-box specs */
  body.single-product .rp-product-quick-attrs {
    display: none !important;
  }
}

/* Mobile product-detail headings share one compact type scale. */
@media (max-width: 900px) {
  html body.single-product .rp-single-product-page #rp-product-specs > h2#rp-product-description {
    margin: 24px 0 0 !important;
    line-height: 1.7 !important;
  }
}


/* === Mobile UX Fix v0.1.224 === */
@media (max-width: 900px) {
  /* hide specs block */
  body.single-product .rp-single-product-page .rp-product-quick-attrs {
    display: none !important;
  }

  /* hide show more / show all controls */
  body.single-product .rp-show-all,
  body.single-product .rp-show-more,
  body.single-product .rp-product-show-all {
    display: none !important;
  }

  /* ensure tabs remain clean */
  body.single-product .rp-product-info-tabs {
    text-align: right;
  }
}


/* final mobile cleanup for short specs and show-all button. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-product-under-title .rp-product-quick-attrs-wrap,
    body.single-product .rp-single-product-page .rp-product-under-title .rp-product-quick-attrs,
    body.single-product .rp-single-product-page .rp-product-under-title .rp-product-show-more,
    body.single-product .rp-single-product-page .rp-product-quick-attrs-wrap,
    body.single-product .rp-single-product-page a.rp-product-show-more {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        max-height: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    body.single-product .rp-single-product-page .rp-product-tabs-nav {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4% !important;
        text-align: center !important;
    }

    body.single-product .rp-single-product-page .rp-product-tabs-nav a {
        width: 48% !important;
        min-width: 0 !important;
        flex: 0 0 48% !important;
    }

    body.single-product .rp-single-product-page .rp-product-info-tabs {
        text-align: right !important;
    }
}


/* mobile product page carousels use touch swipe only, no arrow buttons. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-product-gallery-nav,
    body.single-product .rp-single-product-page .rp-single-related-arrow,
    body.single-product .rp-product-gallery-lightbox-nav {
        display: none !important;
        visibility: hidden !important;
        ;
        pointer-events: none !important;

 opacity: 0;
}

    body.single-product .rp-single-product-page .rp-product-gallery-stage,
    body.single-product .rp-single-product-page .rp-single-related-viewport,
    body.single-product .rp-product-gallery-lightbox-panel {
        touch-action: pan-y !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    body.single-product .rp-single-product-page .rp-single-related-viewport {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x proximity !important;
        scrollbar-width: none !important;
    }

    body.single-product .rp-single-product-page .rp-single-related-viewport::-webkit-scrollbar {
        display: none !important;
    }

    body.single-product .rp-single-product-page .rp-single-related-track > li.product {
        scroll-snap-align: start !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-all-btn .rp-product-gallery-all-icon,
    body.single-product .rp-single-product-page .rp-product-gallery-all-btn img.rp-product-gallery-all-icon {
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        object-fit: contain !important;
        margin: auto !important;
    }
}

@media (max-width: 480px) {
    body.single-product .rp-single-product-page .rp-product-gallery-all-btn .rp-product-gallery-all-icon,
    body.single-product .rp-single-product-page .rp-product-gallery-all-btn img.rp-product-gallery-all-icon {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
    }
}

/* respect admin mobile visible count for related carousel. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-single-related-track > li.product {
        flex: 0 0 var(--rp-related-mobile-basis) !important;
        width: var(--rp-related-mobile-basis) !important;
        min-width: var(--rp-related-mobile-basis) !important;
        max-width: none !important;
    }
}

/* keep the related mobile track at viewport width so percentage basis from admin setting is honored. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-single-related-track {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    body.single-product .rp-single-product-page .rp-single-related-track > li.product {
        flex: 0 0 var(--rp-related-mobile-basis) !important;
        width: var(--rp-related-mobile-basis) !important;
        min-width: var(--rp-related-mobile-basis) !important;
        max-width: none !important;
    }
}


@media (max-width:900px){
  .rp-product-service-strip{
    font-size:13px !important;
    font-weight:300 !important;
  }
}


/* mobile tabs font fix */
@media (max-width:900px){
  body.single-product .rp-product-tabs-nav a{
    font-size:15px !important;
    font-weight:300 !important;
    text-decoration:none !important;
    border-bottom:none !important;
  }
}


/* tabs style update */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-product-tabs-nav a {
    width: auto !important;
    min-width: 118px !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border: 1px solid transparent !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: #1d2730 !important;
    box-shadow: 0 6px 16px rgba(17, 24, 32, .045) !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
  }
}

/* MOBILE FIX: sticky gallery + overlay scroll */
@media (max-width: 900px) {

  .rp-product-gallery {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
    background: #fff !important;
  }

  .rp-product-gallery-thumbs {
    display: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-summary-col {
    position: relative;
    z-index: 2;
    margin-top: 10px;
  }

  /* sticky add to cart bar */
  .rp-mobile-sticky-atc {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -6px 18px rgba(0,0,0,0.08);
  }

  .rp-buybox-add-to-cart {
    display: none !important;
  }

}


/* desktop-only buybox note spacing */
@media (min-width: 901px) {
  body.single-product .rp-product-buybox-note {
    margin: 10px 0px !important;
  }
}


/* mobile sticky gallery and bottom add-to-cart bar */
.rp-mobile-product-sticky-buy {
    display: none;
}

@media (max-width: 900px) {
    body.single-product {
        padding-bottom: calc(178px + env(safe-area-inset-bottom)) !important;
    }

    body.single-product .rp-single-product-page .rp-product-top,
    body.single-product .rp-single-product-page .rp-single-desktop-layout {
        position: relative !important;
        overflow: visible !important;
        gap: 0 !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-col {
        position: sticky !important;
        top: var(--rp-mobile-header-height, 66px) !important;
        z-index: 1 !important;
        order: 1 !important;
        background: #fff !important;
        padding-bottom: 0 !important;
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        overflow: visible !important;
    }

    body.single-product .rp-single-product-page .rp-product-custom-gallery {
        background: #fff !important;
        border-radius: 18px !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-stage {
        margin-bottom: 0 !important;
        background: #fff !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-thumbs {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    body.single-product .rp-single-product-page .rp-product-summary-col,
    body.single-product .rp-single-product-page .rp-product-service-strip,
    body.single-product .rp-single-product-page .rp-product-lower-grid,
    body.single-product .rp-single-product-page .rp-product-main-details,
    body.single-product .rp-single-product-page .rp-product-info-tabs,
    body.single-product .rp-single-product-page .rp-product-reviews-panel,
    body.single-product .rp-single-product-page .rp-product-side-recommend,
    body.single-product .rp-single-product-page .rp-single-related-carousel {
        position: relative !important;
        z-index: 5 !important;
        background: #fff !important;
    }

    body.single-product .rp-single-product-page .rp-product-summary-col {
        margin-top: 14px !important;
        padding-top: 14px !important;
        border-radius: 18px 18px 0 0 !important;
    }

    body.single-product .rp-single-product-page .rp-product-buybox {
        position: static !important;
        z-index: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: 0 !important;
        overflow: visible !important;
    }

    body.single-product .rp-single-product-page .rp-product-buybox-card {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        min-width: 1px !important;
        min-height: 1px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0) !important;
        clip-path: inset(50%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.single-product .rp-single-product-page .rp-product-buybox-note,
    body.single-product .rp-single-product-page .rp-product-stock-line {
        display: none !important;
    }

    body.single-product .rp-mobile-product-sticky-buy {
        position: fixed !important;
        right: 0 !important;
        bottom: calc(78px + env(safe-area-inset-bottom)) !important;
        left: 0 !important;
        z-index: 2795 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        min-height: 94px !important;
        padding: 9px 16px 11px !important;
        background: rgba(255, 255, 255, .98) !important;
        border-top: 1px solid rgba(17, 24, 32, .08) !important;
        box-shadow: 0 -10px 30px rgba(17, 24, 32, .10) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        direction: rtl !important;
    }

    body.single-product .rp-mobile-product-sticky-price {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
        min-height: 28px !important;
        color: #111820 !important;
        direction: rtl !important;
    }

    body.single-product .rp-mobile-product-sticky-price-content,
    body.single-product .rp-mobile-product-sticky-price-content * {
        font-family: var(--rp-font) !important;
    }

    body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-selected-price-row {
        display: inline-flex !important;
        align-items: baseline !important;
        gap: 7px !important;
        flex-wrap: wrap !important;
        direction: rtl !important;
    }

    body.single-product .rp-mobile-product-sticky-discount,
    body.single-product .rp-mobile-product-sticky-price-content .rp-product-buybox-discount {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 34px !important;
        height: 22px !important;
        padding: 0 6px !important;
        border-radius: 999px !important;
        background: #ff4d4f !important;
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        order: 1 !important;
    }

    body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-before,
    body.single-product .rp-mobile-product-sticky-price-content del,
    body.single-product .rp-mobile-product-sticky-price-content del .amount,
    body.single-product .rp-mobile-product-sticky-price-content del bdi {
        color: #ff4d4f !important;
        font-size: var(--rp-type-price-size, 12px) !important;
        font-weight: var(--rp-type-price-weight, 300) !important;
        line-height: 1.2 !important;
        text-decoration: line-through !important;
        order: 2 !important;
    }

body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-final,
    body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-final .amount,
    body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-final bdi,
    body.single-product .rp-mobile-product-sticky-price-content ins,
    body.single-product .rp-mobile-product-sticky-price-content ins .amount,
    body.single-product .rp-mobile-product-sticky-price-content ins bdi,
    body.single-product .rp-mobile-product-sticky-price-content > .amount,
    body.single-product .rp-mobile-product-sticky-price-content > .amount bdi {
        color: #111820 !important;
        font-size: var(--rp-type-price-size, 18px) !important;
        font-weight: var(--rp-type-price-weight, 800) !important;
        line-height: 1.15 !important;
        text-decoration: none !important;
        order: 3 !important;
    }

    body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-currency,
    body.single-product .rp-mobile-product-sticky-price-content .woocommerce-Price-currencySymbol {
        color: #111820 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;
        order: 4 !important;
    }

    body.single-product .rp-mobile-product-sticky-price-content .rp-product-price-range-prefix,
    body.single-product .rp-mobile-product-sticky-price-content .rp-product-price-range-sep {
        color: #59636e !important;
        font-size: 12px !important;
        font-weight: 300 !important;
    }

    body.single-product .rp-mobile-product-sticky-cart-btn {
        position: relative !important;
        width: 100% !important;
        min-height: 46px !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: #08c977 !important;
        color: #fff !important;
        font-family: var(--rp-font) !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        cursor: pointer !important;
        box-shadow: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    body.single-product .rp-mobile-product-sticky-cart-btn:disabled {
        opacity: .65 !important;
        cursor: not-allowed !important;
        background: #b8c0c8 !important;
    }

    html body.single-product .rp-mobile-product-sticky-cart-btn .rp-mobile-sticky-cart-spinner {
        display: none !important;
        position: absolute !important;
        inset: 0 !important;
        margin: auto !important;
        width: 16px !important;
        height: 16px !important;
        flex: 0 0 16px !important;
        border: 2px solid #fff !important;
        border-top-color: transparent !important;
        border-radius: 999px !important;
        animation: rp-mobile-sticky-spin .75s linear infinite !important;
    }

    html body.single-product .rp-mobile-product-sticky-cart-btn:is(.is-loading, [aria-busy="true"]) .rp-mobile-sticky-cart-spinner {
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    html body.single-product .rp-mobile-product-sticky-cart-btn:is(.is-loading, [aria-busy="true"]) .rp-mobile-sticky-cart-text {
        opacity: 0 !important;
    }
}

@keyframes rp-mobile-sticky-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    body.single-product .rp-mobile-product-sticky-buy {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-final,
    body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-final .amount,
    body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-final bdi,
    body.single-product .rp-mobile-product-sticky-price-content ins,
    body.single-product .rp-mobile-product-sticky-price-content ins .amount,
    body.single-product .rp-mobile-product-sticky-price-content ins bdi,
    body.single-product .rp-mobile-product-sticky-price-content > .amount,
    body.single-product .rp-mobile-product-sticky-price-content > .amount bdi {
        font-size: var(--rp-type-price-size, 16px) !important;
    }
}


/* mobile sticky buy bar final layout */
@media (max-width: 900px) {
  body.single-product .rp-mobile-product-sticky-buy {
    position: fixed !important;
    right: 0 !important;
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    left: 0 !important;
    z-index: 2795 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 94px !important;
    padding: 9px 16px 11px !important;
    background: #fff !important;
    border-top: 1px solid rgba(17, 24, 32, .08) !important;
    box-shadow: 0 -10px 30px rgba(17, 24, 32, .10) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    direction: rtl !important;
  }

  body.single-product .rp-mobile-product-sticky-cart-btn {
    position: relative !important;
    width: 80% !important;
    min-height: 46px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #08c977 !important;
    color: #fff !important;
    font-family: var(--rp-font) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }
}

/* mobile sticky buy price + back-to-top aware width */
@media (max-width: 900px) {
  body.single-product .rp-mobile-product-sticky-buy {
    position: fixed !important;
    right: 0 !important;
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    left: 0 !important;
    z-index: 2795 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 15px !important;
    width: 100% !important;
    min-height: 94px !important;
    padding: 20px 16px 15px !important;
    background: #fff !important;
    border-top: 1px solid rgba(17, 24, 32, .08) !important;
    box-shadow: 0 -10px 30px rgba(17, 24, 32, .10) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    direction: rtl !important;
  }

  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-currency,
  body.single-product .rp-mobile-product-sticky-price-content .woocommerce-Price-currencySymbol {
    color: #6b6b6b !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    order: 4 !important;
  }

  body.single-product .rp-mobile-product-sticky-price-content ins,
  body.single-product .rp-mobile-product-sticky-price-content ins .amount,
  body.single-product .rp-mobile-product-sticky-price-content > .amount,
  body.single-product .rp-mobile-product-sticky-price-content .price > .amount,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-sale,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-final-price {
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #111820 !important;
    text-decoration: none !important;
  }

  body.single-product .rp-mobile-product-sticky-price-content del,
  body.single-product .rp-mobile-product-sticky-price-content del .amount,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-regular,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-regular-price {
    color: #ff4b55 !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px !important;
    opacity: 1 !important;
  }

  body.single-product .rp-mobile-product-sticky-cart-btn {
    width: 100% !important;
  }

  body.single-product.rp-has-visible-back-to-top .rp-mobile-product-sticky-cart-btn {
    width: 80% !important;
  }
}

@media (max-width: 768px) {
  .rp-back-to-top {
    right: 18px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }
}

/* mobile sticky add-to-cart price typography override */
@media (max-width: 900px) {
  body.single-product .rp-mobile-product-sticky-price-content ins,
  body.single-product .rp-mobile-product-sticky-price-content ins .amount,
  body.single-product .rp-mobile-product-sticky-price-content > .amount,
  body.single-product .rp-mobile-product-sticky-price-content .price > .amount,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-sale,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-final-price,
  body.single-product .rp-mobile-product-sticky-price-content .woocommerce-Price-amount:not(del .woocommerce-Price-amount) {
    font-size: var(--rp-type-price-size, 22px) !important;
    line-height: 1.15 !important;
  }

  body.single-product .rp-mobile-product-sticky-price-content del,
  body.single-product .rp-mobile-product-sticky-price-content del .amount,
  body.single-product .rp-mobile-product-sticky-price-content del .woocommerce-Price-amount,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-regular,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-regular-price {
    font-size: 20px !important;
    font-weight: 300 !important;
    color: #ff3535 !important;
    line-height: 1.2 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px !important;
    opacity: 1 !important;
  }
}


/* mobile service strip + variation choices */
@media (max-width: 700px) {
  body.single-product .rp-product-service-strip {
    margin: 28px 0 30px !important;
    padding: 0 0 18px !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    border-bottom: 0 !important;
    scrollbar-width: none !important;
  }

  body.single-product .rp-product-service-strip::-webkit-scrollbar {
    display: none !important;
  }

  body.single-product .rp-product-service-strip.rp-product-carousel-behavior-snap {
    scroll-snap-type: x mandatory !important;
  }

  body.single-product .rp-product-service-strip:is(
    .rp-product-carousel-behavior-momentum,
    .rp-product-carousel-behavior-free
  ) {
    scroll-snap-type: none !important;
  }

  body.single-product .rp-product-summary-variation-choices {
    border-bottom: 0 !important;
  }
}

/* hide sticky mobile price label */
@media (max-width: 900px) {
  body.single-product .rp-mobile-product-sticky-price-label,
  body.single-product .rp-mobile-product-sticky-buy .rp-price-label,
  body.single-product .rp-mobile-product-sticky-buy [data-label="price"] {
    display: none !important;
  }
}


/* mobile sticky add-to-cart actual price classes */
@media (max-width: 900px) {
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-final,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-final .amount,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-final bdi,
  body.single-product .rp-mobile-product-sticky-price-content .rp-product-price-range-min,
  body.single-product .rp-mobile-product-sticky-price-content .rp-product-price-range-min .amount,
  body.single-product .rp-mobile-product-sticky-price-content .rp-product-price-range-min bdi,
  body.single-product .rp-mobile-product-sticky-price-content .rp-product-price-range-max,
  body.single-product .rp-mobile-product-sticky-price-content .rp-product-price-range-max .amount,
  body.single-product .rp-mobile-product-sticky-price-content .rp-product-price-range-max bdi {
    font-size: var(--rp-type-price-size, 22px) !important;
    line-height: 1.15 !important;
  }

  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-before,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-before .amount,
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-before bdi,
  body.single-product .rp-mobile-product-sticky-price-content del,
  body.single-product .rp-mobile-product-sticky-price-content del .amount,
  body.single-product .rp-mobile-product-sticky-price-content del bdi {
    font-size: var(--rp-type-price-size, 20px) !important;
    font-weight: var(--rp-type-price-weight, 300) !important;
    color: #ff3535 !important;
    line-height: 1.2 !important;
  }

  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-before {
    text-decoration: line-through !important;
    text-decoration-thickness: 1px !important;
    opacity: 1 !important;
  }

  /* The amount bdi is inline-flex on mobile, so the parent's text decoration
     does not reliably paint across its digits. Strike only the old amount. */
  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-before .amount bdi {
    position: relative !important;
  }

  body.single-product .rp-mobile-product-sticky-price-content .rp-buybox-price-before .amount bdi::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 50%;
    height: 1px;
    background: currentColor;
    pointer-events: none;
  }
}


/* mobile product anchor rail + sticky gallery fixes */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page,
  body.single-product .rp-single-product-inner {
    overflow: visible !important;
  }

  body.single-product .rp-single-product-page {
    overflow-x: clip !important;
  }

  body.single-product .rp-single-product-inner {
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  body.single-product .rp-single-product-page .rp-product-top,
  body.single-product .rp-single-product-page .rp-single-desktop-layout {
    overflow: visible !important;
    align-items: stretch !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-col {
    position: sticky !important;
    top: 0 !important;
    z-index: 1 !important;
    order: 1 !important;
    align-self: flex-start !important;
    width: 100% !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: transform !important;
    overflow: visible !important;
  }

  body.single-product .rp-single-product-page .rp-product-custom-gallery {
    position: relative !important;
    z-index: 1 !important;
    background: #fff !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-thumbs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.single-product .rp-single-product-page .rp-product-summary-col,
  body.single-product .rp-single-product-page .rp-product-service-strip,
  body.single-product .rp-single-product-page .rp-product-lower-grid,
  body.single-product .rp-single-product-page .rp-product-main-details,
  body.single-product .rp-single-product-page .rp-product-info-tabs,
  body.single-product .rp-single-product-page .rp-product-reviews-panel,
  body.single-product .rp-single-product-page .rp-product-side-recommend,
  body.single-product .rp-single-product-page .rp-single-related-carousel {
    position: relative !important;
    z-index: 6 !important;
    background: #fff !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 2805 !important;
    width: calc(100% + 40px) !important;
    margin: 0 -20px 18px !important;
    padding: 0 8px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    direction: rtl !important;
    background: rgba(255, 255, 255, .98) !important;
    border-top: 1px solid rgba(17, 24, 32, .06) !important;
    border-bottom: 1px solid rgba(17, 24, 32, .09) !important;
    box-shadow: 0 6px 18px rgba(17, 24, 32, .045) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    scrollbar-width: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav a,
  body.single-product .rp-single-product-page .rp-product-tabs-nav a.is-active {
    width: auto !important;
    min-width: auto !important;
    min-height: 42px !important;
    padding: 0 13px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #1d2730 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav a.is-active {
    color: #000 !important;
    font-weight: 700 !important;
  }

  body.single-product .rp-product-side-recommend.is-mobile-before-reviews {
    order: 2 !important;
    margin: 20px 0 22px !important;
  }

  body.single-product .rp-product-reviews-panel {
    order: 3 !important;
  }
}


/* mobile modal sections + fixed gallery + related carousel RTL */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-product-tabs-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 2805 !important;
    width: calc(100% + 40px) !important;
    margin: 0 -20px 0 !important;
    padding: 0 8px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    direction: rtl !important;
    background: rgba(255, 255, 255, .98) !important;
    border-top: 1px solid rgba(17, 24, 32, .06) !important;
    border-bottom: 1px solid rgba(17, 24, 32, .09) !important;
    box-shadow: 0 6px 18px rgba(17, 24, 32, .045) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    scrollbar-width: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav a,
  body.single-product .rp-single-product-page .rp-product-tabs-nav a.is-active {
    min-width: auto !important;
    min-height: 42px !important;
    padding: 0 13px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #1d2730 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav a.is-active {
    color: #000 !important;
    font-weight: 700 !important;
  }

  body.single-product .rp-single-product-page .rp-product-info-tabs,
  body.single-product .rp-single-product-page .rp-product-reviews-panel {
    display: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-service-strip {
    order: 1 !important;
    margin-top: 14px !important;
  }

  body.single-product .rp-product-side-recommend.is-mobile-before-reviews {
    display: block !important;
    order: 2 !important;
    margin: 18px 0 22px !important;
  }

  body.single-product .rp-single-product-page,
  body.single-product .rp-single-product-inner,
  body.single-product .rp-single-product-page .rp-product-top,
  body.single-product .rp-single-product-page .rp-single-desktop-layout {
    overflow: visible !important;
  }

  body.single-product .rp-single-product-page,
  body.single-product .rp-single-product-inner {
    overflow-x: clip !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-col {
    --rp-mobile-fixed-gallery-height: min(calc(100vw - 40px), 430px);
    height: var(--rp-mobile-fixed-gallery-height) !important;
    min-height: var(--rp-mobile-fixed-gallery-height) !important;
    order: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.single-product .rp-single-product-page .rp-product-custom-gallery {
    position: fixed !important;
    top: 0 !important;
    right: 20px !important;
    left: 20px !important;
    z-index: 1 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 auto !important;
    background: #fff !important;
    border-radius: 18px !important;
    pointer-events: auto !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-thumbs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.single-product .rp-single-product-page .rp-product-summary-col,
  body.single-product .rp-single-product-page .rp-product-service-strip,
  body.single-product .rp-single-product-page .rp-product-lower-grid,
  body.single-product .rp-single-product-page .rp-product-main-details,
  body.single-product .rp-single-product-page .rp-product-side-recommend,
  body.single-product .rp-single-product-page .rp-single-related-carousel {
    position: relative !important;
    z-index: 7 !important;
    background: #fff !important;
  }

  body.single-product .rp-single-related-carousel,
  body.single-product .rp-single-related-shell,
  body.single-product .rp-single-related-viewport,
  body.single-product .rp-single-related-track {
    direction: rtl !important;
  }

  body.single-product .rp-single-related-track {
    justify-content: flex-start !important;
  }

  body.single-product .rp-single-related-track > li,
  body.single-product .rp-single-related-track .product,
  body.single-product .rp-single-related-track .rp-product-card {
    direction: rtl !important;
  }
}

body.rp-product-modal-open {
  overflow: hidden !important;
}

.rp-product-section-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 44px 6px 20px;
  background: rgba(17, 24, 32, .26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  direction: rtl;
}

.rp-product-section-modal.is-open {
  display: flex;
}

.rp-product-section-modal__sheet {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100vh - 64px);
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #fff;
  box-shadow: 0 20px 50px rgba(17, 24, 32, .18);
  display: flex;
  flex-direction: column;
}

.rp-product-section-modal__handle {
  width: 74px;
  height: 4px;
  margin: 8px auto 2px;
  border-radius: 999px;
  background: #e8ebef;
  flex: 0 0 auto;
}

.rp-product-section-modal__tabs {
  justify-content: safe center;
  min-height: 48px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid #edf0f3;
  flex: 0 0 auto;
}

.rp-product-section-modal__tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 14px;
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: #5f6872;
  font-family: var(--rp-font);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  position: relative;
}

.rp-product-section-modal__tab.is-active {
  color: #111820;
  font-weight: 800;
}

.rp-product-section-modal__tab.is-active::after {
  content: "";
  position: absolute;
  right: 16px;
  left: 16px;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: #111820;
}

.rp-product-section-modal__close {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #111820;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rp-product-section-modal__tabs::-webkit-scrollbar { display: none; }
html.rp-product-section-modal-open,
html.rp-product-section-modal-open body.single-product { overflow: hidden !important; }
body.single-product .rp-product-section-modal[aria-hidden="true"] { display: none !important; }
html body.single-product .rp-product-section-modal { opacity: 1 !important; transition: none !important; }
html body.single-product .rp-product-section-modal__sheet { transition: none !important; animation: none !important; }
html body.single-product .rp-product-section-modal #reviews > .rp-product-reviews-mobile-toggle {
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.single-product .rp-product-section-modal #rp-content-faq .rp-content-faq__header,
html body.single-product .rp-product-section-modal #rp-content-faq summary > i {
  display: none !important;
}
html body.single-product .rp-product-section-modal #rp-content-faq summary {
  cursor: default !important;
}
html body.single-product .rp-product-section-modal .rp-product-section-modal__tab {
  font-weight: var(--rp-type-navigation-weight, 500) !important;
  transform: none !important;
  scale: none !important;
  transition: color .18s ease, background-color .18s ease !important;
}
html body.single-product .rp-product-section-modal .rp-product-section-modal__tab.is-active {
  font-weight: var(--rp-type-navigation-weight, 500) !important;
  transform: none !important;
}
html body.single-product .rp-product-section-modal #reviews {
  border: 0 !important;
  box-shadow: none !important;
}
html :is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product #reviews .rp-product-review-items ol.children li,
html :is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product #reviews .rp-product-review-items ol.children li > .comment_container {
  background: transparent !important;
}
html body.single-product .rp-product-section-modal .rp-product-section-modal__content {
  padding-top: 20px !important;
}
html body.single-product .rp-product-section-modal .rp-product-section-modal__content > * {
  margin-top: 0 !important;
}
html body.single-product .rp-product-section-modal .rp-product-section-modal__tabs > .rp-product-section-modal__tab.is-active {
  color: var(--rp-theme-general-accent, #347ff4) !important;
}
body.single-product .rp-product-section-modal__handle { margin-bottom: 32px; }
body.single-product .rp-product-section-modal__close { display: inline-flex !important; color: var(--rp-theme-general-text, #111820); background: var(--rp-theme-general-surface, #fff); }
body.single-product .rp-product-section-modal .rp-product-reviews-empty {
  background: var(--rp-theme-general-surface, #fff) !important;
  color: var(--rp-theme-general-text, #111820) !important;
}

/* Compact touch navigation and contained mobile modal tables. */
@media (max-width: 900px) {
  html body.single-product .rp-single-product-page .rp-product-tabs-nav {
    margin-block: 40px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    touch-action: pan-x !important;
    scroll-snap-type: none !important;
    gap: 8px !important;
    padding: 8px 6px !important;
    min-height: 48px !important;
    height: auto !important;
    scrollbar-width: none !important;
  }
  html body.single-product .rp-single-product-page .rp-product-tabs-nav.has-overflow {
    mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }
  html body.single-product .rp-single-product-page .rp-product-tabs-nav > a:is(.is-active, :not(.is-active)),
  html body.single-product .rp-product-section-modal__tab {
    flex: 0 0 auto !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
  html body.single-product .rp-product-section-modal__tabs { min-height: 48px !important; align-items: center !important; gap: 4px; }
  html body.single-product .rp-product-section-modal__content,
  html body.single-product .rp-product-section-modal__content.is-rp-tab-switching {
    animation: none !important;
    opacity: 1 !important;
  }
  html body.single-product .rp-product-section-modal .shop_attributes { display: table !important; table-layout: fixed !important; }
  html body.single-product .rp-product-section-modal .shop_attributes tbody { display: table-row-group !important; }
  html body.single-product .rp-product-section-modal .shop_attributes tr { display: table-row !important; }
  html body.single-product .rp-product-section-modal .shop_attributes :is(th, td) {
    display: table-cell !important;
    padding: 12px 8px !important;
    vertical-align: top !important;
    overflow-wrap: anywhere !important;
    text-align: start !important;
    border-bottom: 1px solid var(--rp-theme-general-border, #d7dde4) !important;
  }
  html body.single-product .rp-product-section-modal .shop_attributes th { width: 38% !important; }
  html body.single-product .rp-product-section-modal .shop_attributes td { width: 62% !important; }
  body.single-product { --rp-product-section-overlay-layer: 1000000; }
  body.single-product .rp-product-section-modal { z-index: var(--rp-product-section-overlay-layer) !important; }
  body.single-product .rp-product-review-overlay { z-index: calc(var(--rp-product-section-overlay-layer) + 2) !important; }
  body.single-product .rp-product-review-overlay::before,
  body.single-product .rp-product-review-overlay.is-closing::before { animation: none !important; opacity: 1 !important; }
  html body.single-product .rp-single-product-page[data-rp-mobile-sections-mode="modal"] #rp-content-faq { display: none !important; }
  html body.single-product .rp-product-section-modal #rp-content-faq { display: block !important; }
}

.rp-product-section-modal__content {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 18px 22px;
  color: #111820;
}

.rp-product-section-modal__content .shop_attributes {
  width: 100% !important;
  border-collapse: collapse !important;
}

.rp-product-section-modal__content .shop_attributes th,
.rp-product-section-modal__content .shop_attributes td {
  padding: 15px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1f4 !important;
  background: #fff !important;
  vertical-align: top !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

.rp-product-section-modal__content .shop_attributes th {
  width: 42% !important;
  color: #9aa3ad !important;
  font-weight: 400 !important;
}

.rp-product-section-modal__content .shop_attributes td {
  color: #111820 !important;
  font-weight: 400 !important;
}

.rp-product-section-modal__content .rp-product-description {
  font-size: 13px;
  line-height: 2;
  color: #1d2730;
}

.rp-product-section-modal__content .rp-product-reviews-panel {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
}

.rp-product-section-modal__content .rp-product-reviews-list,
.rp-product-section-modal__content .rp-product-review-form {
  width: 100% !important;
  max-width: 100% !important;
}


/* mobile modal bottom sheet + anchor nav + related carousel direction */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-product-tabs-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 2805 !important;
    width: calc(100% + 40px) !important;
    margin: 10px 0 10px !important;
    padding: 0 8px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    direction: rtl !important;
    background: rgba(255, 255, 255, .98) !important;
    border-top: 1px solid rgba(17, 24, 32, .06) !important;
    border-bottom: 1px solid rgba(17, 24, 32, .09) !important;
    box-shadow: 0 6px 18px rgba(17, 24, 32, .045) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    scrollbar-width: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-info-tabs,
  body.single-product .rp-single-product-page .rp-product-reviews-panel {
    display: none !important;
  }

  body.single-product .rp-product-section-modal .rp-product-reviews-panel {
    display: block !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-col {
    --rp-mobile-fixed-gallery-height: min(calc(100vw - 40px), 430px);
    height: var(--rp-mobile-fixed-gallery-height) !important;
    min-height: var(--rp-mobile-fixed-gallery-height) !important;
    order: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.single-product .rp-single-product-page .rp-product-custom-gallery {
    position: fixed !important;
    top: 0 !important;
    right: 20px !important;
    left: 20px !important;
    z-index: 1 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 auto !important;
    background: #fff !important;
    border-radius: 18px !important;
    pointer-events: auto !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
  }

  body.single-product .rp-single-product-page .rp-product-summary-col,
  body.single-product .rp-single-product-page .rp-product-service-strip,
  body.single-product .rp-single-product-page .rp-product-lower-grid,
  body.single-product .rp-single-product-page .rp-product-main-details,
  body.single-product .rp-single-product-page .rp-product-side-recommend,
  body.single-product .rp-single-product-page .rp-single-related-carousel {
    position: relative !important;
    z-index: 7 !important;
    background: #fff !important;
  }

  body.single-product .rp-product-side-recommend.is-mobile-before-reviews {
    display: block !important;
    order: 2 !important;
    margin: 18px 0 22px !important;
  }

  body.single-product .rp-single-related-carousel,
  body.single-product .rp-single-related-shell,
  body.single-product .rp-single-related-viewport {
    direction: rtl !important;
  }

  body.single-product .rp-single-related-track {
    direction: ltr !important;
    justify-content: flex-end !important;
  }

  body.single-product .rp-single-related-track > li,
  body.single-product .rp-single-related-track .product,
  body.single-product .rp-single-related-track .rp-product-card {
    direction: rtl !important;
  }
}

.rp-product-section-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000000 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(17, 24, 32, .28) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  direction: rtl !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .22s ease, visibility .22s ease !important;
}

.rp-product-section-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.rp-product-section-modal__sheet {
  width: min(100%, 430px) !important;
  min-height: min(78vh, calc(100dvh - 44px)) !important;
  max-height: calc(100dvh - env(safe-area-inset-top)) !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 14px 14px 0 0 !important;
  background: #fff !important;
  box-shadow: 0 -18px 48px rgba(17, 24, 32, .20) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateY(105%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1) !important;
}

.rp-product-section-modal.is-open .rp-product-section-modal__sheet {
  transform: translateY(0);
}

.rp-product-section-modal__content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 18px 18px calc(24px + env(safe-area-inset-bottom)) !important;
}

.rp-product-section-modal__content .rp-product-description {
  min-height: 100% !important;
  font-size: 13px !important;
  line-height: 2 !important;
}

.rp-product-section-modal__content .rp-product-side-recommend,
.rp-product-section-modal__content .is-mobile-before-reviews {
  display: none !important;
}


/* mobile modal height, scroll lock, carousel drag spacing, sticky button animation */
@media (max-width: 900px) {
  .rp-product-section-modal__sheet {
    width: min(100%, 430px) !important;
    min-height: min(90vh, calc(100dvh - 44px)) !important;
    max-height: calc(90dvh - env(safe-area-inset-top)) !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 14px 14px 0 0 !important;
    background: #fff !important;
    box-shadow: 0 -18px 48px rgba(17, 24, 32, .20) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateY(105%);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1) !important;
  }

  body.rp-product-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    touch-action: none !important;
  }

  body.rp-product-modal-open .rp-product-section-modal__sheet,
  body.rp-product-modal-open .rp-product-section-modal__content {
    touch-action: pan-y !important;
  }

  body.single-product .rp-product-section-modal {
    transition: opacity .24s ease, visibility .24s ease !important;
  }

  body.single-product .rp-product-section-modal__sheet {
    transition: transform .28s cubic-bezier(.2, .8, .2, 1) !important;
  }

  body.single-product .rp-product-side-recommend.is-mobile-before-reviews {
    margin: 22px 0 34px !important;
  }

  body.single-product .rp-single-related-carousel {
    margin-top: 34px !important;
    padding-top: 4px !important;
  }

  body.single-product .rp-single-related-viewport {
    cursor: grab !important;
    touch-action: pan-x pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    user-select: none !important;
  }

  body.single-product .rp-single-related-viewport.is-rp-dragging {
    cursor: grabbing !important;
    scroll-snap-type: none !important;
  }

  body.single-product .rp-single-related-viewport.is-rp-dragging * {
    pointer-events: none !important;
  }

  body.single-product .rp-mobile-product-sticky-cart-btn {
    transition:
      width .24s cubic-bezier(.2,.8,.2,1),
      max-width .24s cubic-bezier(.2,.8,.2,1),
      flex-basis .24s cubic-bezier(.2,.8,.2,1),
      background-color .18s ease,
      transform .18s ease !important;
    will-change: width !important;
  }
}

/* mobile bottom bar compact spacing */
@media (max-width: 768px) {
  .rp-footer-mobile-links.rp-mobile-bottom-bar {
    min-height: calc(56px + env(safe-area-inset-bottom)) !important;
    padding: 5px 8px calc(4px + env(safe-area-inset-bottom)) !important;
    align-items: center !important;
    box-shadow: 0 -6px 22px rgba(0, 0, 0, .06) !important;
  }
}


/* mobile "need it" section spacing */
@media (max-width: 900px) {
  body.single-product .rp-product-side-recommend.is-mobile-before-reviews,
  body.single-product .rp-single-product-page .rp-product-side-recommend {
    order: 3 !important;
    margin-top: -70px !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
  }
}

/* mobile product sticky gallery + sticky service icons */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page,
  body.single-product .rp-single-product-inner,
  body.single-product .rp-single-product-page .rp-product-top,
  body.single-product .rp-single-product-page .rp-single-desktop-layout {
    overflow: visible !important;
  }

  body.single-product .rp-single-product-page,
  body.single-product .rp-single-product-inner {
    overflow-x: clip !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-col {
    --rp-mobile-fixed-gallery-height: min(calc(100vw - 40px), 430px);
    position: relative !important;
    top: auto !important;
    order: 1 !important;
    z-index: 2800 !important;
    width: 100% !important;
    height: var(--rp-mobile-fixed-gallery-height) !important;
    min-height: var(--rp-mobile-fixed-gallery-height) !important;
    max-height: var(--rp-mobile-fixed-gallery-height) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.single-product .rp-single-product-page .rp-product-custom-gallery {
    position: fixed !important;
    top: 0 !important;
    right: 20px !important;
    left: 20px !important;
    z-index: 2800 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 auto !important;
    background: #fff !important;
    border-radius: 18px !important;
    pointer-events: auto !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: transform !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-stage {
    width: 100% !important;
    height: var(--rp-mobile-fixed-gallery-height) !important;
    min-height: var(--rp-mobile-fixed-gallery-height) !important;
    max-height: var(--rp-mobile-fixed-gallery-height) !important;
    aspect-ratio: auto !important;
    background: #fff !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-thumbs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.single-product .rp-single-product-page .rp-product-summary-col {
    position: relative !important;
    z-index: 20 !important;
    order: 2 !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    background: #fff !important;
    border-radius: 18px 18px 0 0 !important;
  }

  body.single-product .rp-single-product-page .rp-product-service-strip {
    position: sticky !important;
    top: 0 !important;
    z-index: 2810 !important;
    order: 1 !important;
    margin: 14px 0 8px !important;
    padding: 8px 0 12px !important;
    background: rgba(255, 255, 255, .98) !important;
    border-bottom: 1px solid #eef1f4 !important;
    box-shadow: 0 6px 18px rgba(17, 24, 32, .045) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav {
    position: sticky !important;
    top: var(--rp-mobile-service-strip-height, 58px) !important;
    z-index: 2811 !important;
  }

  body.single-product .rp-single-product-page .rp-product-lower-grid,
  body.single-product .rp-single-product-page .rp-product-main-details,
  body.single-product .rp-single-product-page .rp-product-side-recommend,
  body.single-product .rp-single-product-page .rp-single-related-carousel {
    position: relative !important;
    z-index: 25 !important;
    background: #fff !important;
  }
}

/* mobile product service strip replacement */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-product-service-strip {
    position: sticky !important;
    top: 0 !important;
    z-index: 2810 !important;
    order: 1 !important;
    margin: 14px 0 8px !important;
    padding: 8px 0 12px !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }
}


/* mobile product summary spacing/meta cleanup */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-product-under-title {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-top: 20px !important;
  }

  body.single-product .rp-single-product-page .rp-single-color-choices,
  body.single-product .rp-single-product-page .rp-product-summary-variation-choices,
  body.single-product .rp-single-product-page .rp-product-meta-line {
    max-width: 100% !important;
    overflow-x: clip !important;
    margin-top: 20px !important;
    border-bottom: 1px solid #dfe1e3 !important;
    padding-bottom: 20px !important;
  }

}

/* Mobile product brand logo + compact labeled SKU. */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-product-under-title {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  body.single-product .rp-single-product-page .rp-product-under-title-info {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
  }

  body.single-product .rp-single-product-page .rp-product-brand-logo {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product .rp-single-product-page .rp-product-sku-line {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #6b6b6b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  body.single-product .rp-single-product-page .rp-product-sku-label {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    color: #7b8490 !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
  }

  body.single-product .rp-single-product-page .rp-product-sku-value {
    display: inline-flex !important;
    color: #111820 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
  }

  body.single-product .rp-single-product-page .rp-product-meta-line {
    display: none !important;
  }
}


/* mobile section modal tab transition */
@media (max-width: 900px) {
  body.single-product .rp-product-section-modal__tab {
    transition:
      color .18s ease,
      background-color .18s ease,
      border-color .18s ease,
      transform .18s ease,
      box-shadow .18s ease !important;
  }

  body.single-product .rp-product-section-modal__tab.is-active {
    transform: translateY(-1px) !important;
  }

  body.single-product .rp-product-section-modal__content {
    will-change: opacity, transform !important;
  }

  body.single-product .rp-product-section-modal__content.is-rp-tab-switching {
    animation: rpProductModalTabSwitch .22s ease both !important;
  }
}

@keyframes rpProductModalTabSwitch {
  from {
    opacity: .28;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* desktop need sticky offset + robust mobile sticky tabs */
@media (min-width: 901px) {
  body.single-product .rp-product-side-recommend {
    position: sticky !important;
    top: 118px !important;
    align-self: flex-start !important;
    z-index: 20 !important;
  }
}

@media (max-width: 900px) {
  body.single-product .rp-single-product-page,
  body.single-product .rp-single-product-inner,
  body.single-product .rp-single-product-page .rp-product-lower-grid,
  body.single-product .rp-single-product-page .rp-product-main-details,
  body.single-product .rp-single-product-page .rp-product-tabs-wrap {
    overflow: visible !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav {
    position: sticky !important;
    top: var(--rp-mobile-service-strip-height, 0px) !important;
    z-index: 2825 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, .98) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid #eef1f4 !important;
    box-shadow: 0 8px 20px rgba(17, 24, 32, .04) !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav.is-rp-mobile-fixed-tabs {
    position: fixed !important;
    top: var(--rp-mobile-service-strip-height, 0px) !important;
    right: var(--rp-mobile-tabs-right, 0px) !important;
    left: auto !important;
    width: var(--rp-mobile-tabs-width, 100%) !important;
    max-width: var(--rp-mobile-tabs-width, 100%) !important;
    z-index: 2825 !important;
    margin: 0 !important;
  }

  body.single-product .rp-product-tabs-nav-placeholder {
    display: none !important;
    height: var(--rp-mobile-tabs-height, 48px) !important;
    min-height: var(--rp-mobile-tabs-height, 48px) !important;
  }

  body.single-product .rp-product-tabs-nav-placeholder.is-active {
    display: block !important;
  }
}


/* mobile sticky buy replacement + restore visible sticky product tabs */
@media (max-width: 900px) {
  body.single-product .rp-mobile-product-sticky-buy {
    position: fixed !important;
    right: 0 !important;
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    left: 0 !important;
    z-index: 1990 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 15px !important;
    width: 100% !important;
    min-height: 94px !important;
    padding: 20px 16px 15px !important;
    background: rgba(255, 255, 255, .98) !important;
    border-top: 1px solid rgba(17, 24, 32, .08) !important;
    box-shadow: 0 -10px 30px rgba(17, 24, 32, .10) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    direction: rtl !important;
  }

  body.single-product .rp-product-tabs-nav-placeholder,
  body.single-product .rp-product-tabs-nav-placeholder.is-active {
    display: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: sticky !important;
    top: var(--rp-mobile-service-strip-height, 0px) !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 2825 !important;
    margin: 0 !important;
    transform: none !important;
    background: rgba(255, 255, 255, .98) !important;
    border-bottom: 1px solid #eef1f4 !important;
    box-shadow: 0 8px 20px rgba(17, 24, 32, .04) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav.is-rp-mobile-fixed-tabs {
    position: sticky !important;
    top: var(--rp-mobile-service-strip-height, 0px) !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* mobile gallery no border + remove percent discount boxes everywhere on single product cards */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-product-gallery-col,
  body.single-product .rp-single-product-page .rp-product-custom-gallery,
  body.single-product .rp-single-product-page .rp-product-gallery-stage,
  body.single-product .rp-single-product-page .rp-product-gallery-slide {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
  }
}

body.single-product .rp-shop-card-discount-wrap,
body.single-product .rp-card-discount-wrap {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* gallery modal scroll-lock, gallery discount removal, mobile choices cleanup, 4 thumbnails + all */
body.single-product .rp-product-gallery-discount {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.rp-modal-scroll-locked,
html.rp-modal-scroll-locked body,
body.rp-modal-scroll-locked,
body.rp-product-lightbox-open,
body.rp-product-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

body.rp-modal-scroll-locked {
  position: fixed !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
}

body.single-product .rp-product-gallery-lightbox-overlay,
body.single-product .rp-product-section-modal {
  overscroll-behavior: contain !important;
  touch-action: none !important;
}

body.single-product .rp-product-gallery-lightbox-panel,
body.single-product .rp-product-section-modal__sheet,
body.single-product .rp-product-section-modal__content {
  overscroll-behavior: contain !important;
  touch-action: auto !important;
}

@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-single-color-choices,
  body.single-product .rp-single-product-page .rp-product-summary-variation-choices,
  body.single-product .rp-single-product-page .rp-product-meta-line {
    max-width: 100% !important;
    overflow-x: clip !important;
    margin-top: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 0 !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-thumbs {
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-thumbs::-webkit-scrollbar {
    display: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-thumb,
  body.single-product .rp-single-product-page .rp-product-gallery-all-btn {
    flex: 0 0 72px !important;
    width: 72px !important;
    min-width: 72px !important;
  }
}


/* mobile review modal cleanup + gallery progress/swipe UX */
body.single-product .rp-product-review-form .comment-reply-title,
body.single-product .rp-product-review-form #reply-title {
  display: none !important;
}

@media (max-width: 900px) {
  body.single-product .rp-product-section-modal__content #reviews,
  body.single-product .rp-product-section-modal__content .rp-product-reviews-panel {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product .rp-product-section-modal__content .rp-product-review-form {
    order: 1 !important;
    display: grid !important;
    gap: 9px !important;
    padding: 18px 16px !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(17, 24, 32, .035) !important;
  }

  body.single-product .rp-product-section-modal__content .rp-product-reviews-list {
    order: 2 !important;
    display: grid !important;
    gap: 12px !important;
  }

  body.single-product .rp-product-section-modal__content .rp-product-review-form h2 {
    margin: 0 !important;
    color: #111820 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
    text-align: right !important;
  }

  body.single-product .rp-product-section-modal__content .rp-product-review-form > p {
    margin: 0 !important;
    color: #7b8490 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
    text-align: right !important;
  }

  body.single-product .rp-product-section-modal__content .rp-ajax-review-form {
    display: grid !important;
    gap: 12px !important;
    margin: 4px 0 0 !important;
  }

  body.single-product .rp-product-section-modal__content .comment-form-rating,
  body.single-product .rp-product-section-modal__content .comment-form-comment,
  body.single-product .rp-product-section-modal__content .form-submit {
    margin: 0 !important;
  }

  body.single-product .rp-product-section-modal__content .comment-form-rating label,
  body.single-product .rp-product-section-modal__content .comment-form-comment label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #111820 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.7 !important;
  }

  body.single-product .rp-product-section-modal__content textarea,
  body.single-product .rp-product-section-modal__content select,
  body.single-product .rp-product-section-modal__content input[type="text"],
  body.single-product .rp-product-section-modal__content input[type="email"] {
    width: 100% !important;
    border: 1px solid #e4e8ed !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #111820 !important;
    font-family: var(--rp-font) !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    box-shadow: none !important;
  }

  body.single-product .rp-product-section-modal__content textarea {
    min-height: 110px !important;
    padding: 10px 12px !important;
    resize: vertical !important;
  }

  body.single-product .rp-product-section-modal__content .form-submit input[type="submit"],
  body.single-product .rp-product-section-modal__content .form-submit button {
    min-height: 42px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #111820 !important;
    color: #fff !important;
    font-family: var(--rp-font) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  body.single-product .rp-product-section-modal__content .commentlist,
  body.single-product .rp-product-section-modal__content .rp-product-review-items {
    display: grid !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.single-product .rp-product-section-modal__content .commentlist > li,
  body.single-product .rp-product-section-modal__content .rp-product-review-items > li {
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(17, 24, 32, .035) !important;
    color: #1b2430 !important;
    font-size: 13px !important;
    line-height: 2 !important;
  }

  body.single-product .rp-product-section-modal__content .comment-text,
  body.single-product .rp-product-section-modal__content .description {
    color: #1b2430 !important;
    font-size: 13px !important;
    line-height: 2 !important;
  }

  body.single-product .rp-product-section-modal__content .meta,
  body.single-product .rp-product-section-modal__content .woocommerce-review__published-date {
    color: #8b95a1 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-stage {
    cursor: grab !important;
    touch-action: pan-y !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-stage:active {
    cursor: grabbing !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-slide {
    cursor: zoom-in !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-progress {
    width: min(120px, 44vw) !important;
    height: 4px !important;
    margin: 9px auto 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    direction: ltr !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-progress-item {
    flex: 1 1 0 !important;
    height: 4px !important;
    min-width: 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #dfe4e9 !important;
    opacity: .9 !important;
    cursor: pointer !important;
    transition: flex .2s ease, background-color .2s ease, opacity .2s ease !important;
  }

  body.single-product .rp-single-product-page .rp-product-gallery-progress-item.is-active {
    flex: 2.6 1 0 !important;
    background: #111820 !important;
    opacity: 1 !important;
  }

  body.single-product .rp-product-gallery-lightbox-panel {
    touch-action: pan-y !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: grab !important;

 opacity: .2;

 transform: translateY(8px) scale(.97);
}

  body.single-product .rp-product-gallery-lightbox-panel:active {
    cursor: grabbing !important;
  }

  body.single-product .rp-product-gallery-lightbox-thumbs {
    display: flex !important;
    visibility: visible !important;
    ;
  }
}


/* desktop hide gallery pagination + variation-required modal/disabled buttons */
body.single-product .rp-single-product-page .rp-product-gallery-progress {
  display: none !important;
}

@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-product-gallery-progress {
    display: flex !important;
  }
}
body.single-product .single_add_to_cart_button.is-rp-needs-options,
body.single-product .rp-mobile-product-sticky-cart-btn.is-rp-needs-options {
  background: #9be7be !important;
  border-color: #9be7be !important;
  color: #fff !important;
  opacity: .78 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

body.single-product .single_add_to_cart_button.is-rp-needs-options::before,
body.single-product .rp-mobile-product-sticky-cart-btn.is-rp-needs-options::before {
  display: none !important;
}

.rp-product-option-required-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000002 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  background: rgba(17, 24, 32, .34) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  direction: rtl !important;
}

.rp-product-option-required-modal.is-open {
  display: flex !important;
}

.rp-product-option-required-modal__box {
  width: min(100%, 390px) !important;
  padding: 22px 18px 18px !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 24px 60px rgba(17, 24, 32, .22) !important;
  text-align: center !important;
}

.rp-product-option-required-modal__message {
  margin: 0 0 18px !important;
  color: #111820 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 2 !important;
}

.rp-product-option-required-modal__close {
  min-width: 132px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #111820 !important;
  color: #fff !important;
  font-family: var(--rp-font) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}


/* single product option-required message + cart button colors */
body.single-product .single_add_to_cart_button.is-rp-needs-options,
body.single-product .rp-mobile-product-sticky-cart-btn.is-rp-needs-options {
  background: var(--rp-cart-action-disabled-bg, #9aa1a9) !important;
  background-color: var(--rp-cart-action-disabled-bg, #9aa1a9) !important;
  border-color: var(--rp-cart-action-disabled-bg, #9aa1a9) !important;
  color: #fff !important;
  opacity: 1 !important;
}

body.single-product .single_add_to_cart_button:not(.is-rp-needs-options):not(:disabled):not([disabled]),
body.single-product .rp-mobile-product-sticky-cart-btn:not(.is-rp-needs-options):not(:disabled):not([disabled]) {
  background: var(--rp-cart-action-bg, #111820) !important;
  background-color: var(--rp-cart-action-bg, #111820) !important;
  border-color: var(--rp-cart-action-bg, #111820) !important;
  color: #fff !important;
}


/* final cart/action black override + account pill */
.rp-account-wrap .rp-account-pill {
  min-width: 164px !important;
  height: 38px !important;
  padding: 0 11px !important;
  border: 1px solid #dfe2e5 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  gap: 9px !important;
  direction: rtl !important;
}

/* The cart drawer already provides this destination after an AJAX add. */
body.single-product .rp-product-buybox form.cart > a.added_to_cart.wc-forward {
  display: none !important;
}

/* Force every add-to-cart / cart action button to stay black after scripts/classes update it */
html body .woocommerce a.button.add_to_cart_button,
html body .woocommerce button.button.add_to_cart_button,
html body .woocommerce .button.add_to_cart_button,
html body .woocommerce .button.product_type_simple,
html body .woocommerce .button.product_type_variable,
html body .woocommerce .single_add_to_cart_button,
html body .single_add_to_cart_button,
html body button.single_add_to_cart_button,
html body .add_to_cart_button,
html body .product_type_simple,
html body .product_type_variable,
html body .rp-mobile-product-sticky-cart-btn,
html body .rp-product-buybox form.cart .button,
html body .rp-product-buybox-card form.cart .button,
html body .rp-product-quick-add,
html body .rp-card-add,
html body .rp-shop-card-add,
html body .rp-mini-cart-checkout,
html body .rp-mini-cart-cart-link,
html body .rp-mini-cart a.button,
html body .rp-mini-cart button.button,
html body .rp-side-cart a.button,
html body .rp-side-cart button.button,
html body .rp-cart-drawer a.button,
html body .rp-cart-drawer button.button,
html body .rp-header-mini-cart a.button,
html body .rp-header-mini-cart button.button,
html body .wc-forward,
html body .checkout-button,
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
html body.woocommerce-checkout #place_order {
  background: #111820 !important;
  background-color: #111820 !important;
  border-color: #111820 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html body .woocommerce a.button.add_to_cart_button:hover,
html body .woocommerce button.button.add_to_cart_button:hover,
html body .woocommerce .button.add_to_cart_button:hover,
html body .woocommerce .button.product_type_simple:hover,
html body .woocommerce .button.product_type_variable:hover,
html body .woocommerce .single_add_to_cart_button:hover,
html body .single_add_to_cart_button:hover,
html body button.single_add_to_cart_button:hover,
html body .add_to_cart_button:hover,
html body .product_type_simple:hover,
html body .product_type_variable:hover,
html body .rp-mobile-product-sticky-cart-btn:hover,
html body .rp-product-buybox form.cart .button:hover,
html body .rp-product-buybox-card form.cart .button:hover,
html body .rp-product-quick-add:hover,
html body .rp-card-add:hover,
html body .rp-shop-card-add:hover,
html body .rp-mini-cart-checkout:hover,
html body .rp-mini-cart-cart-link:hover,
html body .rp-mini-cart a.button:hover,
html body .rp-mini-cart button.button:hover,
html body .rp-side-cart a.button:hover,
html body .rp-side-cart button.button:hover,
html body .rp-cart-drawer a.button:hover,
html body .rp-cart-drawer button.button:hover,
html body .rp-header-mini-cart a.button:hover,
html body .rp-header-mini-cart button.button:hover,
html body .wc-forward:hover,
html body .checkout-button:hover,
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
html body.woocommerce-checkout #place_order:hover {
  background: #111820 !important;
  background-color: #111820 !important;
  border-color: #111820 !important;
  color: #ffffff !important;
}

/* Final AJAX loading contract for every single-product purchase form.
   This intentionally follows the global black-button overrides above. */
html body.single-product form.cart .single_add_to_cart_button:is(.is-loading, [aria-busy="true"]) {
  position: relative !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  pointer-events: none !important;
}

html body.single-product form.cart .single_add_to_cart_button:is(.is-loading, [aria-busy="true"]) > * {
  visibility: hidden !important;
  opacity: 0 !important;
}

html body.single-product form.cart .single_add_to_cart_button:is(.is-loading, [aria-busy="true"])::after {
  content: "" !important;
  position: absolute !important;
  z-index: 2 !important;
  top: 50% !important;
  left: 50% !important;
  width: 18px !important;
  height: 18px !important;
  margin: -9px 0 0 -9px !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: 2px solid rgba(255, 255, 255, .48) !important;
  border-top-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-sizing: border-box !important;
  -webkit-text-fill-color: initial !important;
  animation: rp-single-add-spin .75s linear infinite !important;
  pointer-events: none !important;
}

/* Disabled/cart-action inactive state: medium gray */
html body .woocommerce a.button.add_to_cart_button.disabled,
html body .woocommerce button.button.add_to_cart_button.disabled,
html body .woocommerce .button.add_to_cart_button.disabled,
html body .woocommerce .single_add_to_cart_button.disabled,
html body .woocommerce .single_add_to_cart_button:disabled,
html body .woocommerce .single_add_to_cart_button[disabled],
html body .single_add_to_cart_button.disabled,
html body .single_add_to_cart_button:disabled,
html body .single_add_to_cart_button[disabled],
html body .add_to_cart_button.disabled,
html body .add_to_cart_button:disabled,
html body .add_to_cart_button[disabled],
html body .rp-mobile-product-sticky-cart-btn.disabled,
html body .rp-mobile-product-sticky-cart-btn:disabled,
html body .rp-mobile-product-sticky-cart-btn[disabled],
html body .rp-mobile-product-sticky-cart-btn.is-rp-needs-options,
html body .rp-product-quick-add.disabled,
html body .rp-product-quick-add.is-disabled,
html body .rp-product-quick-add:disabled,
html body .rp-card-add.disabled,
html body .rp-card-add.is-disabled,
html body .rp-card-add:disabled,
html body .rp-shop-card-add.disabled,
html body .rp-shop-card-add.is-disabled,
html body .rp-shop-card-add:disabled,
html body.woocommerce-checkout #place_order:disabled {
  background: #9aa1a9 !important;
  background-color: #9aa1a9 !important;
  border-color: #9aa1a9 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Header/footer/cart badge count must be black */
html body .rp-header-cart-count,
html body .rp-cart-count,
html body .rp-cart-counter,
html body .rp-mini-cart-count,
html body .rp-mobile-cart-count,
html body .rp-footer-cart-count,
html body .rp-mobile-bottom-cart-count,
html body .rp-mobile-bottom-bar .rp-cart-count,
html body .rp-footer-mobile-links .rp-cart-count,
html body .rp-header-actions .rp-cart-count,
html body .rp-header-cart .count,
html body .rp-header-cart-count-badge,
html body .rp-cart-icon .count,
html body .rp-cart-icon-badge,
html body .rp-mobile-bottom-bar .count,
html body .rp-footer-mobile-links .count,
html body .menu-item-cart .count,
html body .wc-block-mini-cart__badge,
html body .header-cart-count,
html body .cart-count,
html body .cart-contents-count,
html body [data-rp-cart-count],
html body [data-cart-count],
html body .rp-bottom-cart-count,
html body .rp-mobile-nav-cart-count {
  background: #111820 !important;
  background-color: #111820 !important;
  border-color: #111820 !important;
  color: #ffffff !important;
}


/* requested desktop buybox/account/cart badge adjustments */
@media (min-width: 901px) {
  .rp-single-product-page .rp-product-buybox form.cart .button {
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #9aa1a9 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }
}

.rp-cart-dot {
  min-width: 16px !important;
  width: auto !important;
  height: 16px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: -7px !important;
  right: -9px !important;
  left: auto !important;
}

.rp-account-wrap .rp-account-pill {
  min-width: 164px !important;
  height: 38px !important;
  padding: 0 12px !important;
  border: 1px solid #dfe2e5 !important;
  border-radius: 6px !important;
  background: #ffffff00 !important;
  box-shadow: none !important;
  gap: 9px !important;
  direction: rtl !important;
}

.rp-account-wrap .rp-account-pill-text {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #202428 !important;
}

span.rp-mobile-bottom-count,
.rp-mobile-bottom-count {
  background: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
  background-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
}


/* cart dot/accent/mobile bottom cart badge final override */
:root {
  --rp-bg: #f7f7f6;
  --rp-surface: #f1f0ef;
  --rp-text: #343a40;
  --rp-text-strong: #111111;
  --rp-muted: #74777a;
  --rp-line: #e6e6e3;
  --rp-max-width: 1568px;
  --rp-radius-pill: 999px;
  --rp-font: "IRANSansX", "Vazirmatn", "Yekan Bakh", Tahoma, Arial, sans-serif;
}

.rp-cart-dot {
  min-width: 16px !important;
  width: auto !important;
  height: 16px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
  background-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: -7px !important;
  right: -9px !important;
  left: auto !important;
}

@media (max-width: 768px) {
  .rp-mobile-bottom-link.is-cart .rp-mobile-bottom-icon {
    position: relative !important;
  }

  .rp-mobile-bottom-link.is-cart .rp-mobile-bottom-icon::before {
    content: '' !important;
    position: absolute !important;
    top: -7px !important;
    right: -9px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    background: var(--rp-accent) !important;
    background-color: var(--rp-accent) !important;
    box-shadow: 0 8px 18px rgb(255 193 7 / 53%) !important;
  }

  span.rp-mobile-bottom-count,
  .rp-mobile-bottom-count {
    background: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
    background-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
    color: #ffffff !important;
    z-index: 2 !important;
  }
}


/* single product price range typography */
body.single-product .rp-product-price-range-min,
body.single-product .rp-product-price-range-max {
  color: #111820 !important;
  font-size: 30px !important;
  font-weight: 700 !important;
}

/* restore mobile card layout after interaction fix + sticky z-index requested */
@media (max-width: 900px) {
  body.single-product .rp-mobile-product-sticky-buy {
    position: fixed !important;
    right: 0 !important;
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    left: 0 !important;
    z-index: 2800 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 15px !important;
    width: 100% !important;
    min-height: 94px !important;
    padding: 20px 16px 15px !important;
    background: rgba(255, 255, 255, .98) !important;
    border-top: 1px solid rgba(17, 24, 32, .08) !important;
    box-shadow: 0 -10px 30px rgba(17, 24, 32, .10) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    direction: rtl !important;
  }
}

/* option-required modal message typography */
body.single-product .rp-product-option-required-modal__message,
.rp-product-option-required-modal__message {
  font-weight: 400 !important;
}

/* show mobile footer cart orange circle only when cart has items */
@media (max-width: 768px) {
    .rp-mobile-bottom-link.is-cart .rp-mobile-bottom-icon {
        position: relative !important;
    }

    .rp-mobile-bottom-link.is-cart .rp-mobile-bottom-icon::before {
        content: none !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .rp-mobile-bottom-link.is-cart.has-cart .rp-mobile-bottom-icon::before,
    .rp-mobile-bottom-link.is-cart:has(.rp-mobile-bottom-count:not([hidden])) .rp-mobile-bottom-icon::before {
        content: '' !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: absolute !important;
        top: -7px !important;
        right: -9px !important;
        width: 22px !important;
        height: 22px !important;
        border-radius: 999px !important;
        background: #FF5722 !important;
        background-color: #FF5722 !important;
        box-shadow: 0 8px 18px rgb(201 106 0 / 53%) !important;
    }

    .rp-mobile-bottom-link.is-cart.is-empty-cart .rp-mobile-bottom-icon::before {
        content: none !important;
        display: none !important;
    }
}

/* option-required notice as green toast, not modal overlay */
body.rp-product-modal-open,
body.rp-product-option-toast-open,
body.woocommerce-shop.rp-product-modal-open,
body.post-type-archive-product.rp-product-modal-open,
body.tax-product_cat.rp-product-modal-open,
body.tax-product_tag.rp-product-modal-open,
body.single-product.rp-product-modal-open,
body.woocommerce-cart.rp-product-modal-open {
    overflow: auto !important;
    overflow-y: auto !important;
}

.rp-product-option-required-modal.rp-product-option-required-toast,
body.woocommerce-shop .rp-product-option-required-modal.rp-product-option-required-toast,
body.post-type-archive-product .rp-product-option-required-modal.rp-product-option-required-toast,
body.tax-product_cat .rp-product-option-required-modal.rp-product-option-required-toast,
body.tax-product_tag .rp-product-option-required-modal.rp-product-option-required-toast,
body.single-product .rp-product-option-required-modal.rp-product-option-required-toast,
body.woocommerce-cart .rp-product-option-required-modal.rp-product-option-required-toast,
.rp-shop-archive .rp-product-option-required-modal.rp-product-option-required-toast {
    position: fixed !important;
    top: calc(14px + env(safe-area-inset-top, 0px)) !important;
    right: 16px !important;
    left: 16px !important;
    bottom: auto !important;
    inset: auto 16px auto 16px !important;
    z-index: 1000003 !important;
    width: auto !important;
    max-width: 760px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    direction: rtl !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-12px) scale(.98) !important;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease !important;
    box-sizing: border-box !important;
}

.rp-product-option-required-modal.rp-product-option-required-toast.is-open,
body.woocommerce-shop .rp-product-option-required-modal.rp-product-option-required-toast.is-open,
body.post-type-archive-product .rp-product-option-required-modal.rp-product-option-required-toast.is-open,
body.tax-product_cat .rp-product-option-required-modal.rp-product-option-required-toast.is-open,
body.tax-product_tag .rp-product-option-required-modal.rp-product-option-required-toast.is-open,
body.single-product .rp-product-option-required-modal.rp-product-option-required-toast.is-open,
body.woocommerce-cart .rp-product-option-required-modal.rp-product-option-required-toast.is-open,
.rp-shop-archive .rp-product-option-required-modal.rp-product-option-required-toast.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    transform: translateY(0) scale(1) !important;
}

.rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__box,
.rp-product-option-required-toast__box,
body.woocommerce-shop .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__box,
body.post-type-archive-product .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__box,
body.tax-product_cat .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__box,
body.tax-product_tag .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__box,
body.single-product .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__box,
body.woocommerce-cart .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__box,
.rp-shop-archive .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__box {
    width: min(100%, 760px) !important;
    min-height: 52px !important;
    padding: 10px 12px 10px 14px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 16px !important;
    background: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
    background-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
    color: #fff !important;
    box-shadow: 0 18px 42px rgba(0, 126, 96, .26) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: right !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

.rp-product-option-required-toast__icon {
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .22) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__message,
.rp-product-option-required-toast__message,
body.woocommerce-shop .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__message,
body.post-type-archive-product .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__message,
body.tax-product_cat .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__message,
body.tax-product_tag .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__message,
body.single-product .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__message,
body.woocommerce-cart .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__message,
.rp-shop-archive .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__message {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.9 !important;
    text-align: right !important;
}

.rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close,
.rp-product-option-required-toast__close,
body.woocommerce-shop .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close,
body.post-type-archive-product .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close,
body.tax-product_cat .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close,
body.tax-product_tag .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close,
body.single-product .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close,
body.woocommerce-cart .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close,
.rp-shop-archive .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #009874 !important;
    font-family: var(--rp-font) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 34px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close:hover,
.rp-product-option-required-toast__close:hover {
    background: rgba(255, 255, 255, .92) !important;
    color: #007f62 !important;
}

@media (max-width: 768px) {
    .rp-product-option-required-modal.rp-product-option-required-toast,
    body.woocommerce-shop .rp-product-option-required-modal.rp-product-option-required-toast,
    body.post-type-archive-product .rp-product-option-required-modal.rp-product-option-required-toast,
    body.tax-product_cat .rp-product-option-required-modal.rp-product-option-required-toast,
    body.tax-product_tag .rp-product-option-required-modal.rp-product-option-required-toast,
    body.single-product .rp-product-option-required-modal.rp-product-option-required-toast,
    body.woocommerce-cart .rp-product-option-required-modal.rp-product-option-required-toast,
    .rp-shop-archive .rp-product-option-required-modal.rp-product-option-required-toast {
        right: 12px !important;
        left: 12px !important;
        inset: auto 12px auto 12px !important;
        max-width: none !important;
    }

    .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__box,
    .rp-product-option-required-toast__box {
        width: 100% !important;
        padding: 10px 10px 10px 12px !important;
        gap: 8px !important;
    }

    .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__message,
    .rp-product-option-required-toast__message {
        font-size: 12.5px !important;
        line-height: 1.8 !important;
    }

    .rp-product-option-required-modal.rp-product-option-required-toast .rp-product-option-required-modal__close,
    .rp-product-option-required-toast__close {
        min-height: 32px !important;
        padding: 0 11px !important;
        font-size: 11.5px !important;
        line-height: 32px !important;
    }
}

/* v0.1.406 mobile stacking: tabs behind sticky buy, back-to-top above it */
@media (max-width: 900px) {
  body.single-product .rp-mobile-product-sticky-buy {
    z-index: 2860 !important;
    isolation: isolate !important;
  }

  body.single-product .rp-mobile-product-sticky-buy .rp-mobile-product-sticky-cart-btn {
    position: relative !important;
    z-index: 1 !important;
    font-weight: 600 !important;
  }

  body.single-product .rp-back-to-top,
  body.single-product .rp-back-to-top.is-visible {
    z-index: 2885 !important;
  }

  body.single-product .rp-single-product-page .rp-product-tabs-nav,
  body.single-product .rp-single-product-page .rp-product-tabs-nav.is-rp-mobile-fixed-tabs {
    z-index: 1800 !important;
  }

  body.single-product .rp-product-tabs-nav-placeholder,
  body.single-product .rp-product-tabs-nav-placeholder.is-active {
    z-index: 0 !important;
  }
}


/* v0.1.670 - single product review, buybox quantity and no-brand meta layout. */
body.single-product .rp-product-buybox form.cart .quantity {
  flex: 0 0 75px !important;
  width: 75px !important;
  min-width: 75px !important;
  height: 48px !important;
  min-height: 48px !important;
}

body.single-product .rp-product-review-form > h2 {
  margin: 0 0 8px !important;
  color: #141b24 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

body.single-product .rp-product-review-form p.stars a {
  color: #f5a400 !important;
  font-size: 15px !important;
  margin-left: 4px !important;
  text-decoration: none !important;
}

body.single-product .rp-product-reviews-empty strong {
  color: #797979 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

@media (min-width: 901px) {
  .rp-single-product-page .rp-product-info-tabs h2 {
    margin: 0 0 12px !important;
    color: #1a222b !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: right !important;
  }
}

body.single-product .rp-product-review-form .form-submit .submit {
  min-height: 35px !important;
  min-width: 100px !important;
  padding: 0 21px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #25313d !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
}

/* Keep the product-review action visually identical to the Blog comment action. */
body.single-product .rp-product-review-form .form-submit .submit {
  min-height: 32px !important;
  min-width: 96px !important;
  padding: 0 14px !important;
  border: 1px solid #9ca3af !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #25313d !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

body.single-product .rp-product-review-form .form-submit .submit:is(:hover, :focus-visible) {
  background: #f3f4f6 !important;
  border-color: #6b7280 !important;
  box-shadow: none !important;
  transform: none !important;
}

:is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-product-review-form .form-submit .submit {
  background: transparent !important;
  border-color: #515b68 !important;
  color: #e5e7eb !important;
}

:is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-product-review-form .form-submit .submit:is(:hover, :focus-visible) {
  background: #202731 !important;
  border-color: #778392 !important;
  color: #fff !important;
}

.rp-single-product-page .rp-product-under-title.has-no-brand {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "sku"
    "meta" !important;
  direction: rtl !important;
}

.rp-single-product-page .rp-product-under-title.has-no-brand .rp-product-sku-line {
  justify-content: flex-start !important;
  justify-self: stretch !important;
  text-align: right !important;
}

.rp-single-product-page .rp-product-under-title.has-no-brand .rp-product-meta-line {
  justify-content: flex-start !important;
  text-align: right !important;
}


/* v0.1.671 - desktop single product top grid spacing. */
@media (min-width: 901px) {
  body.single-product .rp-single-product-page .rp-product-top,
  .rp-single-product-page .rp-product-top {
    direction: ltr !important;
    display: grid !important;
    grid-template-columns: minmax(310px, .82fr) minmax(0, 1.08fr) minmax(430px, 1fr) !important;
    grid-template-areas: "buy summary gallery" !important;
    gap: 28px !important;
    align-items: start !important;
    min-height: 445px !important;
    margin-bottom: 20px !important;
  }
}

/* v0.1.672 - single product service strip and last category link. */
@media (min-width: 901px) {
  .rp-single-product-page .rp-product-service-strip b {
    color: #56606a !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 1.7 !important;
  }
}

body.single-product .rp-product-service-strip .rp-product-service-item,
body.single-product .rp-product-service-strip a.rp-product-service-item {
  min-width: 0 !important;
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
  text-align: center !important;
  color: #55606b !important;
  text-decoration: none !important;
  font-size: 11px !important;
}

/* Mobile commerce layer contract. Page chrome remains below persistent
   navigation; drawers and dialogs own the top layer. */
@media (max-width: 900px) {
  body.single-product .rp-single-product-page .rp-product-service-strip {
    z-index: 1600 !important;
  }

  body.single-product .rp-mobile-product-sticky-buy {
    z-index: 2400 !important;
  }

  body.single-product :is(.rp-mobile-product-sticky-countdown, .rp-product-buybox-countdown) .rp-card-sale-countdown__value {
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
  }

  body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content {
    width: 100% !important;
    margin-top: 20px !important;
    text-align: left !important;
  }

  body:is(.rp-mobile-menu-open, .rp-shop-filters-open, .rp-cart-sidebar-open, .rp-product-modal-open, .rp-product-option-toast-open)
  .rp-single-product-page .rp-product-service-strip {
    z-index: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

body.single-product .rp-product-meta-line .rp-product-category-line a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body.single-product .rp-product-meta-line .rp-product-category-line a:hover,
body.single-product .rp-product-meta-line .rp-product-category-line a:focus-visible {
  color: #ff5400 !important;
}

/* v0.1.696 - requested single product refinements */
@media (min-width: 901px) {
    .rp-single-product-page .rp-product-title {
        margin: 0 0 15px !important;
        color: #101820 !important;
        font-size: 21px !important;
        font-weight: 700 !important;
        line-height: 1.7 !important;
        text-align: right !important;
    }
    .rp-single-product-page .rp-product-info-tabs table.shop_attributes td {
        color: #1a222b !important;
        font-weight: 500 !important;
    }
    .rp-single-product-page .rp-product-buybox form.cart .button {
        width: 100% !important;
        min-height: 48px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 12px !important;
        background: #9aa1a9 !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 900 !important;
    }
    .rp-single-product-page .rp-product-section-title {
        margin: 0 0 10px !important;
        color: #1a222b !important;
        font-size: var(--rp-type-heading-size, 16px) !important;
        font-weight: var(--rp-type-heading-weight, 700) !important;
        text-align: right !important;
    }
}
/*
 * Single-product brand logo sizing authority.
 * Component-owned variables intentionally keep this outside Theme Colors and
 * Product Card layouts. The image is never stretched or cropped.
 */
@media (min-width: 1025px) {
    .rp-single-product-page .rp-product-under-title.has-brand-image {
        grid-template-columns: minmax(0, 1fr) var(--rp-product-brand-logo-desktop-max-width, 44px) !important;
    }
}

@media (min-width: 901px) and (max-width: 1024px) {
    .rp-single-product-page .rp-product-under-title.has-brand-image {
        grid-template-columns: minmax(0, 1fr) var(--rp-product-brand-logo-tablet-max-width, 32px) !important;
    }
}

.rp-single-product-page .rp-product-brand-logo--has-image {
    width: var(--rp-product-brand-logo-desktop-max-width, 44px) !important;
    max-width: min(100%, var(--rp-product-brand-logo-desktop-max-width, 44px)) !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.rp-single-product-page .rp-product-brand-logo--has-image .rp-product-brand-logo-img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 1024px) {
    .rp-single-product-page .rp-product-brand-logo--has-image {
        width: var(--rp-product-brand-logo-tablet-max-width, 32px) !important;
        max-width: min(100%, var(--rp-product-brand-logo-tablet-max-width, 32px)) !important;
    }
}

@media (max-width: 768px) {
    .rp-single-product-page .rp-product-brand-logo--has-image {
        width: var(--rp-product-brand-logo-mobile-max-width, 32px) !important;
        max-width: min(100%, var(--rp-product-brand-logo-mobile-max-width, 32px)) !important;
    }
}
.rp-single-product-page .rp-product-meta-line {
    grid-area: meta !important;
    direction: rtl !important;
    margin: 2px 0 0 !important;
    color: #8a929b !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px 0 !important;
    text-align: right !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 1.9 !important;
    min-width: 0 !important;
}
.rp-single-product-page .rp-product-meta-line a {
    color: inherit !important;
    transition: color .2s ease !important;
}
.rp-single-product-page .rp-product-meta-line a:hover,
.rp-single-product-page .rp-product-meta-line a:focus-visible {
    color: #ff5400 !important;
}
body.single-product .rp-product-buybox form.cart .quantity {
    display: inline-flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    flex: 0 0 88px !important;
    width: 88px !important;
    min-width: 88px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    border: 1px solid #d5dae0 !important;
    border-radius: 12px !important;
    background: #f6f7f8 !important;
    overflow: hidden !important;
    direction: ltr !important;
}
.rp-single-product-page .rp-product-sku-line {
    grid-area: sku !important;
    direction: rtl !important;
    margin: 0 !important;
    color: #7b8490 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    text-align: right !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    min-width: 0 !important;
}
body.single-product .rp-single-variation-choice-title {
    color: #1c2630 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    text-align: right !important;
}
body.single-product .rp-single-variation-choice[hidden] {
    display: none !important;
}
body.single-product .rp-single-variation-choice.is-unavailable,
body.single-product .rp-single-variation-choice:disabled {
    opacity: .42 !important;
    cursor: not-allowed !important;
    filter: grayscale(.45);
}
body.single-product .rp-mobile-product-sticky-discount[hidden],
body.single-product .rp-mobile-product-sticky-discount:empty {
    display: none !important;
}


/* v0.1.740: favorite button opposite the product SKU row */
.rp-single-product-page .rp-product-sku-line {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 42px;
}
.rp-single-product-page .rp-single-product-favorite {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background: #fff;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.rp-single-product-page .rp-single-product-favorite .rp-favorite-icon {
    width: 19px;
    height: 19px;
    background: currentColor;
    -webkit-mask: url("../../icons/account/favorite.svg") center / contain no-repeat;
    mask: url("../../icons/account/favorite.svg") center / contain no-repeat;
}
.rp-single-product-page .rp-single-product-favorite.is-active { color: #ef3f4c; }

/* v0.1.742: favorite AJAX spinner on the single-product button. */
.rp-single-product-page .rp-single-product-favorite.is-loading .rp-favorite-icon { display: none !important; }
.rp-single-product-page .rp-single-product-favorite.is-loading::after {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    border: 2px solid rgba(34,34,34,.25);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: rpFavoriteSpin .72s linear infinite;
}


/* v0.1.743: dedicated mobile favorite position below the short description. */
.rp-single-product-mobile-favorite-wrap {
    display: none;
}
@media (max-width: 767px) {
    .rp-single-product-page .rp-product-sku-line .rp-single-product-favorite:not(.rp-single-product-favorite-mobile) {
        display: none !important;
    }
    .rp-single-product-page .rp-single-product-mobile-favorite-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-height: 34px !important;
        margin: 8px 0 4px !important;
        direction: ltr !important;
    }
    .rp-single-product-page .rp-single-product-favorite-mobile {
        position: static !important;
        transform: none !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        border: 1px solid #e7e7e7 !important;
        border-radius: 8px !important;
        background: #fff !important;
        color: #222;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 4 !important;
    }
    .rp-single-product-page .rp-single-product-favorite-mobile.is-active {
        color: #ef3340 !important;
    }
}

/* Mobile purchase CTA and currency are governed by the active Theme color and
   currency systems. This final scope intentionally leaves Desktop untouched. */
@media (max-width: 900px) {
    html body.single-product .rp-mobile-product-sticky-cart-btn:not(:disabled):not(.disabled):not(.is-rp-needs-options) {
        background: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
        background-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
        border-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
        color: var(--rp-theme-general-on-accent, #fff) !important;
        -webkit-text-fill-color: var(--rp-theme-general-on-accent, #fff) !important;
    }

    html body.single-product .rp-mobile-product-sticky-cart-btn:not(:disabled):not(.disabled):not(.is-rp-needs-options):is(:hover, :focus-visible) {
        background: var(--rp-theme-general-accent-hover, var(--rp-theme-general-accent, var(--rp-accent, #fd314a))) !important;
        background-color: var(--rp-theme-general-accent-hover, var(--rp-theme-general-accent, var(--rp-accent, #fd314a))) !important;
        border-color: var(--rp-theme-general-accent-hover, var(--rp-theme-general-accent, var(--rp-accent, #fd314a))) !important;
    }

    body.single-product .rp-mobile-product-sticky-price-content .woocommerce-Price-amount > bdi,
    body.single-product .rp-mobile-product-sticky-price-content .amount > bdi {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 4px !important;
        direction: rtl !important;
    }

    body.single-product .rp-mobile-product-sticky-price-content :is(.woocommerce-Price-currencySymbol, .rp-buybox-price-currency) {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }
}

/* v0.1.744: keep the mobile favorite inside the SKU row and use a red spinner. */
.rp-single-product-page .rp-single-product-favorite.is-loading,
.rp-single-product-page .rp-single-product-favorite.is-active {
    color: #ef3340 !important;
}
.rp-single-product-page .rp-single-product-favorite.is-active .rp-favorite-icon {
    background: #ef3340 !important;
}
.rp-single-product-page .rp-single-product-favorite.is-loading::after {
    border-color: rgba(239, 51, 64, .25) !important;
    border-top-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
}
@media (max-width: 767px) {
    .rp-single-product-mobile-favorite-wrap {
        display: none !important;
    }
    .rp-single-product-page .rp-product-sku-line .rp-single-product-favorite:not(.rp-single-product-favorite-mobile) {
        display: inline-flex !important;
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        z-index: 4 !important;
    }
    .rp-single-product-page .rp-product-sku-line {
        min-height: 34px !important;
        padding-left: 42px !important;
    }
}


/* v0.1.747: favorite button over the upper-left corner of the product gallery. */
.rp-single-product-page .rp-product-gallery-stage {
    position: relative !important;
}
.rp-single-product-page .rp-single-product-gallery-favorite {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    transform: none !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.94) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 20 !important;
}
.rp-single-product-page .rp-single-product-gallery-compare {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.94) !important;
    color: #222 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 20 !important;
}
.rp-single-product-page .rp-single-product-gallery-compare .rp-compare-icon {
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("../../icons/rp-compare-icon.svg") center / contain no-repeat;
    mask: url("../../icons/rp-compare-icon.svg") center / contain no-repeat;
}
.rp-single-product-page .rp-single-product-gallery-compare:hover,
.rp-single-product-page .rp-single-product-gallery-compare.is-active {
    color: #007c68 !important;
    border-color: #007c68 !important;
}
.rp-single-product-page .rp-product-sku-line {
    padding-left: 0 !important;
}
@media (max-width: 767px) {
    .rp-single-product-page .rp-single-product-gallery-favorite {
        top: 10px !important;
        left: 10px !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
    }
    .rp-single-product-page .rp-single-product-gallery-compare {
        top: 10px !important;
        right: 10px !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
    }
}

/* Keep the gallery frame transparent in the persisted dark modes. */
html :is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-single-product-page :is(.rp-product-custom-gallery, .rp-product-gallery-stage, .rp-product-gallery-progress) {
    background: transparent !important;
}

/* v0.1.776 - Robust product review layout with or without avatars. */
body.single-product .rp-product-review-items .comment_container {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.single-product .rp-product-review-items .comment_container > .avatar {
    flex: 0 0 52px !important;
    width: 52px !important;
    max-width: 52px !important;
}

body.single-product .rp-product-review-items .comment_container > .comment-text {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
}

body.single-product .rp-product-review-items .comment_container > .comment-text:only-child {
    flex-basis: 100% !important;
    width: 100% !important;
}

body.single-product .rp-product-review-items .comment-text > .meta,
body.single-product .rp-product-review-items .comment-text > .description,
body.single-product .rp-product-review-items .comment-text > .description > p {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}


/* v0.1.851 — no-price buybox controls */
button.single_add_to_cart_button.button.alt.disabled.rp-no-price-cart-button {
    padding: 15px;
    border-radius: 10px;
}

body.single-product .rp-product-buybox form.cart .quantity {
    display: inline-flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    flex: 0 0 88px !important;
    width: 88px !important;
    min-width: 88px !important;
    height: 48px !important;
    min-height: 42px !important;
    margin: 0 !important;
    border: 1px solid #d5dae0 !important;
    border-radius: 12px !important;
    background: #f6f7f8 !important;
    overflow: hidden !important;
    direction: ltr !important;
}

body.single-product .rp-product-price-content .rp-product-contact-price {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1.6 !important;
}

body.single-product .rp-product-price-content .rp-product-contact-price.is-align-right {
    justify-content: flex-start !important;
    text-align: right !important;
}

body.single-product .rp-product-price-content .rp-product-contact-price.is-align-center {
    justify-content: center !important;
    text-align: center !important;
}

body.single-product .rp-product-price-content .rp-product-contact-price.is-align-left {
    justify-content: flex-end !important;
    text-align: left !important;
}


/* v0.1.851 — dynamic product renderers */
.rp-dynamic-chart {
    margin: 18px 0 20px;
}
.rp-dynamic-chart h3,
.rp-dynamic-fields h3,
.rp-term-visual-group h3 {
    margin: 0 0 12px;
    color: #202428;
    font-size: 14px;
    font-weight: 800;
}
.rp-dynamic-chart-bars {
    display: grid;
    gap: 7px;
}
.rp-dynamic-chart-row {
    width: 100%;
    min-height: 30px;
}
.rp-dynamic-chart-bar {
    min-width: 18%;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #1f2429;
    overflow: hidden;
}
.rp-dynamic-chart-label {
    position: relative;
    z-index: 2;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.rp-dynamic-chart-percent {
    position: relative;
    z-index: 1;
    font-size: 10px;
    font-weight: 600;
    opacity: .42;
    white-space: nowrap;
}
.rp-dynamic-fields {
    margin: 0 0 22px;
}
.rp-dynamic-fields dl {
    margin: 0;
    display: grid;
}
.rp-dynamic-field-row {
    display: grid;
    grid-template-columns: minmax(120px, 28%) minmax(0, 1fr);
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f2;
}
.rp-dynamic-field-row dt {
    color: #7a8188;
    font-weight: 600;
}
.rp-dynamic-field-row dd {
    margin: 0;
    color: #202428;
}
.rp-term-visuals {
    margin-top: 28px;
}
.rp-term-visual-group + .rp-term-visual-group {
    margin-top: 24px;
}
.rp-term-visual-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.rp-term-visual-item {
    width: 92px;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: #202428;
    text-align: center;
    text-decoration: none;
}
.rp-term-visual-image {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border-radius: 12px;
    background: #f7f8fa;
}
.rp-term-visual-name {
    font-size: 11px;
    line-height: 1.6;
}
@media (max-width: 700px) {
    .rp-dynamic-chart-bar { min-width: 24%; }
    .rp-term-visual-items { gap: 12px; }
    .rp-term-visual-item { width: 78px; }
    .rp-term-visual-image { width: 64px; height: 64px; }
}


/* v0.1.851 — dynamic product vote UI */
.rp-product-votes-panel {
    margin: 34px 0 28px;
    padding: 26px;
    border: 1px solid #edf0f2;
    border-radius: 16px;
    background: #fff;
}
.rp-product-votes-panel > h2 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 800;
    color: #202428;
}
.rp-product-votes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.rp-product-vote-block {
    padding: 18px;
    border: 1px solid #e7ebef;
    border-radius: 14px;
    background: #fafbfc;
}
.rp-product-vote-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.rp-product-vote-block-head h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #202428;
}
.rp-product-vote-total {
    color: #8a939d;
    font-size: 11px;
}
.rp-product-vote-options {
    display: grid;
    gap: 10px;
}
.rp-product-vote-option {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: right;
}
.rp-product-vote-option.is-votable {
    cursor: pointer;
}
.rp-product-vote-option.is-readonly {
    cursor: default;
    opacity: 1;
}
.rp-product-vote-option-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}
.rp-product-vote-label {
    color: #30363d;
    font-size: 12px;
    font-weight: 600;
}
.rp-product-vote-stats {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #69727d;
}
.rp-product-vote-stats b {
    font-size: 11px;
    font-weight: 700;
}
.rp-product-vote-stats small {
    font-size: 10px;
    opacity: .75;
}
.rp-product-vote-track {
    display: block;
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7ebef;
}
.rp-product-vote-track > span {
    display: block;
    height: 100%;
    min-width: 0;
    border-radius: inherit;
    background: #8b949e;
    transition: width .22s ease;
}
.rp-product-vote-option.is-votable:hover .rp-product-vote-track > span {
    background: #4b5563;
}
.rp-product-vote-option.is-loading {
    opacity: .55;
    pointer-events: none;
}
.rp-product-vote-backend-note,
.rp-product-vote-message {
    margin: 12px 0 0;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.8;
}
.rp-product-vote-backend-note {
    background: #fff8e7;
    color: #8a6416;
}
.rp-product-vote-message.is-success {
    background: #ecfdf3;
    color: #137a43;
}
.rp-product-vote-message.is-error {
    background: #fff1f1;
    color: #b42318;
}
@media (max-width: 820px) {
    .rp-product-votes-panel {
        padding: 18px;
    }
    .rp-product-votes-grid {
        grid-template-columns: 1fr;
    }
}


/* v0.1.851 — Fragrantica-inspired vote cards */
.rp-product-votes-panel{
    margin:36px 0 30px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}
.rp-product-votes-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
}
@media (min-width: 821px) and (max-width: 1100px) {
    .rp-product-votes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.rp-product-vote-block{
    padding:18px 16px 20px!important;
    border:1px solid #eceff2!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 2px 8px rgba(15,23,42,.035)!important;
}
.rp-product-vote-header{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:12px!important;
    direction:rtl!important;
}
.rp-product-vote-header-meta{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    direction:rtl!important;
    flex:none!important;
}
.rp-product-vote-identity{
    min-height:0!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    direction:rtl!important;
    text-align:right!important;
}
.rp-product-vote-header .rp-product-vote-total{
    flex:none!important;
    align-self:center!important;
    padding-top:0!important;
    color:#8a929c!important;
    white-space:nowrap!important;
}
.rp-product-vote-icon{
    position:relative!important;
    display:block!important;
    width:34px!important;
    height:34px!important;
    overflow:hidden!important;
    color:#7b7f88!important;
    opacity:.78!important;
}
.rp-product-vote-icon::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    display:none!important;
    width:34px!important;
    height:34px!important;
    background:var(--rp-product-vote-icon-committed-color,#7b7f88)!important;
    -webkit-mask:var(--rp-product-vote-icon-mask) center/contain no-repeat!important;
    mask:var(--rp-product-vote-icon-mask) center/contain no-repeat!important;
}
.rp-product-vote-icon__image{
    display:block!important;
    width:34px!important;
    height:34px!important;
    object-fit:contain!important;
    transform:translateX(0)!important;
    transition:transform .16s ease,filter .16s ease!important;
}
.rp-product-vote-icon.has-committed-color{
    opacity:1!important;
}
.rp-product-vote-icon.has-committed-color .rp-product-vote-icon__image{
    /* A translated drop-shadow is clipped by Safari/WebKit after submission. */
    transform:none!important;
    filter:none!important;
    opacity:0!important;
}
.rp-product-vote-icon.has-committed-color::before{
    display:block!important;
}
.rp-product-vote-identity h3{
    margin:0!important;
    color:#30343a!important;
    font-size:12px!important;
    font-weight:700!important;
    letter-spacing:.02em!important;
}
.rp-product-vote-selector{
    margin:20px 0 12px!important;
}
.rp-product-vote-selector-track{
    position:relative!important;
    height:6px!important;
    border-radius:999px!important;
    background:#e5e7eb!important;
}
.rp-product-vote-selector-track:before{
    content:""!important;
    position:absolute!important;
    top:50%!important;
    right:auto!important;
    left:0!important;
    width:16px!important;
    height:16px!important;
    transform:translate(-1px,-50%)!important;
    border:2px solid #10bfae!important;
    border-radius:50%!important;
    background:#fff!important;
    z-index:2!important;
}
.rp-product-vote-selector-dot{
    position:absolute!important;
    top:50%!important;
    width:5px!important;
    height:5px!important;
    border-radius:50%!important;
    transform:translate(-50%,-50%)!important;
    z-index:1!important;
}
.rp-product-vote-options{
    display:grid!important;
    gap:5px!important;
}
.rp-product-vote-option{
    width:100%!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    text-align:right!important;
}
.rp-product-vote-option-top{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
    margin-bottom:3px!important;
}
.rp-product-vote-label{
    color:#394150!important;
    font-size:11px!important;
    font-weight:500!important;
}
.rp-product-vote-stats{
    min-width:64px!important;
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:6px!important;
    color:#667085!important;
}
.rp-product-vote-stats b{
    font-size:10px!important;
    font-weight:600!important;
}
.rp-product-vote-stats small{
    font-size:9px!important;
    opacity:.72!important;
}
.rp-product-vote-track{
    display:block!important;
    width:100%!important;
    height:10px!important;
    overflow:hidden!important;
    border-radius:999px!important;
    background:#e5e7eb!important;
}
.rp-product-vote-track>span{
    display:block!important;
    height:100%!important;
    border-radius:inherit!important;
    transition:width .22s ease!important;
}
.rp-product-vote-option.is-votable{
    cursor:pointer!important;
}
.rp-product-vote-option.is-votable:hover{
    opacity:.88!important;
}
@media(max-width:820px){
    .rp-product-votes-grid{grid-template-columns:1fr!important;}
    .rp-product-vote-block{padding:16px 14px 18px!important;}
}

/* v0.1.851 — editable stepped vote slider */
.rp-product-vote-selector-track{
    position:relative!important;
    touch-action:none!important;
    cursor:pointer!important;
    overflow:visible!important;
    margin-inline:var(--rp-vote-selector-rail-inset,10%)!important;
}
.rp-product-vote-selector-track:before{display:none!important}
.rp-product-vote-selector-fill{
    position:absolute!important;
    inset:0!important;
    display:grid!important;
    grid-template-columns:repeat(var(--rp-vote-selector-segment-count,1),minmax(0,1fr))!important;
    direction:ltr!important;
    overflow:hidden!important;
    border-radius:inherit!important;
    pointer-events:none!important;
}
.rp-product-vote-selector-segment{
    display:block!important;
    min-width:0!important;
    background:var(--rp-vote-selector-segment-color,#8b949e)!important;
    opacity:0!important;
    transition:opacity .14s ease!important;
}
.rp-product-vote-selector-segment.is-filled{opacity:1!important}
.rp-product-vote-selector-step{
    position:absolute!important;
    top:50%!important;
    width:12px!important;
    height:12px!important;
    min-width:12px!important;
    min-height:12px!important;
    padding:0!important;
    margin:0!important;
    transform:translate(-50%,-50%)!important;
    border:2px solid var(--rp-vote-selector-step-color,#b9c0c7)!important;
    border-radius:50%!important;
    background:var(--rp-vote-selector-step-color,#b9c0c7)!important;
    z-index:3!important;
    cursor:pointer!important;
    transition:background-color .12s ease,border-color .12s ease,transform .12s ease!important;
}
.rp-product-vote-selector-step.is-selected{transform:translate(-50%,-50%) scale(1.16)!important}
.rp-product-vote-selector-step:disabled{cursor:default!important}
.rp-product-vote-selector-captions{
    display:grid!important;
    grid-template-columns:repeat(var(--rp-vote-selector-step-count,2),minmax(0,1fr))!important;
    align-items:start!important;
    margin-top:8px!important;
    direction:ltr!important;
}
.rp-product-vote-selector-step-caption{
    display:block!important;
    min-width:0!important;
    padding-inline:2px!important;
    color:#4b5563!important;
    font-size:9px!important;
    font-weight:500!important;
    line-height:1.4!important;
    text-align:center!important;
    direction:rtl!important;
    overflow-wrap:anywhere!important;
    pointer-events:none!important;
    user-select:none!important;
}
.rp-product-vote-selector-handle{
    position:absolute!important;
    top:50%!important;
    left:0;
    width:18px!important;
    height:18px!important;
    transform:translate(-50%,-50%)!important;
    border:2px solid #fff!important;
    border-radius:50%!important;
    background:var(--rp-vote-selector-handle-color,#10bfae)!important;
    box-shadow:0 0 0 2px var(--rp-vote-selector-handle-color,#10bfae)!important;
    z-index:4!important;
    pointer-events:none!important;
    transition:left .14s ease,background-color .14s ease,box-shadow .14s ease!important;
}
[data-rp-slider-track]:active .rp-product-vote-selector-handle{transform:translate(-50%,-50%) scale(1.08)!important}
.rp-product-vote-stats{min-width:34px!important}


/* Manual vote submission: inline state on the right, compact action on the left. */
[data-rp-vote-block][data-rp-vote-busy="1"] :is(
    [data-rp-vote-slider],
    [data-rp-vote-option]
) {
    pointer-events: none !important;
    user-select: none !important;
    opacity: .72 !important;
}

.rp-product-vote-actions {
    width: 100% !important;
    min-height: 34px !important;
    margin-top: 12px !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f2f4 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    direction: rtl !important;
    box-sizing: border-box !important;
}

@media (min-width: 901px) {
    .rp-product-vote-block--header-submit .rp-product-vote-actions:not(:has(.rp-product-vote-message:not([hidden]))) {
        display: none !important;
    }

    .rp-product-vote-block--header-submit .rp-product-vote-actions:has(.rp-product-vote-message:not([hidden])) {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.rp-product-vote-actions .rp-product-vote-message {
    grid-column: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #667085 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    text-align: right !important;
    overflow-wrap: anywhere !important;
}

.rp-product-vote-actions .rp-product-vote-message[hidden] {
    display: none !important;
}

.rp-product-vote-actions .rp-product-vote-message.is-success {
    color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
}

.rp-product-vote-actions .rp-product-vote-message.is-error {
    color: #b42318 !important;
}

.rp-product-vote-submit {
    grid-column: 2 !important;
    justify-self: end !important;
    min-width: 68px !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 9px !important;
    border: 1px solid var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
    border-radius: 10px !important;
    background: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
    color: var(--rp-theme-general-on-accent, #fff) !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) 18%, transparent) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-family: var(--rp-font, inherit) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, opacity .16s ease !important;
}

.rp-product-vote-submit:hover:not(:disabled),
.rp-product-vote-submit:focus-visible {
    border-color: var(--rp-theme-general-accent-hover, var(--rp-theme-general-accent, var(--rp-accent, #fd314a))) !important;
    background: var(--rp-theme-general-accent-hover, var(--rp-theme-general-accent, var(--rp-accent, #fd314a))) !important;
    box-shadow: 0 5px 16px color-mix(in srgb, var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) 24%, transparent) !important;
}

.rp-product-vote-submit:focus-visible {
    outline: 2px solid var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
    outline-offset: 2px !important;
}

.rp-product-vote-submit:disabled:not(.is-loading) {
    opacity: 1 !important;
    background: #f1f3f5 !important;
    color: #58616b !important;
    border-color: #aeb5bd !important;
    box-shadow: none !important;
    cursor: default !important;
}

body.rp-theme-color-preset-dark .rp-product-vote-submit:disabled:not(.is-loading),
body.rp-theme-dark .rp-product-vote-submit:disabled:not(.is-loading),
html[data-rp-user-theme="dark"] .rp-product-vote-submit:disabled:not(.is-loading) {
    background: #252a31 !important;
    color: #c5cbd1 !important;
    border-color: #747d88 !important;
}

.rp-product-vote-submit.is-loading {
    opacity: 1 !important;
    cursor: wait !important;
}

.rp-product-vote-submit__spinner {
    display: none !important;
    width: 13px !important;
    height: 13px !important;
    flex: 0 0 13px !important;
    border: 2px solid rgba(255, 255, 255, .42) !important;
    border-top-color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) !important;
    border-radius: 999px !important;
    animation: rp-product-vote-submit-spin .7s linear infinite !important;
    box-sizing: border-box !important;
}

.rp-product-vote-submit.is-loading .rp-product-vote-submit__spinner {
    display: inline-block !important;
}

@keyframes rp-product-vote-submit-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .rp-product-vote-actions {
        gap: 8px !important;
    }

    .rp-product-vote-submit {
        min-width: 64px !important;
        padding-inline: 8px !important;
    }

    .rp-product-vote-actions .rp-product-vote-message {
        font-size: 9.5px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rp-product-vote-submit {
        transition: none !important;
    }

    .rp-product-vote-submit__spinner {
        animation: none !important;
    }
}


/* v0.1.851 — original/English product name below title */
body.single-product .rp-product-original-name {
    margin: 4px 0 8px;
    color: var(--rp-theme-general-muted, #8a8f98) !important;
    direction: ltr;
    text-align: left;
    line-height: 1.55;
    letter-spacing: .01em;
    unicode-bidi: plaintext;
}


/* v0.1.851 — bilingual product title row + short-description controls */
body.single-product .rp-single-product-page .rp-product-title-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    margin: 0 0 6px;
}

body.single-product .rp-single-product-page .rp-product-title-row .rp-product-title {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0 !important;
}

body.single-product .rp-single-product-page .rp-product-title-row .rp-product-original-name {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    direction: ltr !important;
    text-align: right !important;
    line-height: 1.55 !important;
    letter-spacing: .01em !important;
    unicode-bidi: plaintext;
}

@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-product-title-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        margin-bottom: 8px;
    }

    body.single-product .rp-single-product-page .rp-product-title-row .rp-product-title {
        width: 100%;
        margin-bottom: 0 !important;
    }

    body.single-product .rp-single-product-page .rp-product-title-row .rp-product-original-name {
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        text-align: right !important;
    }
}


/* v0.1.851 — Perfume-Pyramid-style generic term visual card */
body.single-product .rp-single-product-page .rp-product-lower-grid.rp-product-lower-grid--no-recommendations {
    grid-template-columns: minmax(0, 1fr) !important;
}

/* Specifications and description use the same framed header/body rhythm as the brand card. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page #rp-product-specs.rp-product-info-tabs {
        margin: 0 0 24px !important;
        padding: 0 !important;
    }
}

body.single-product .rp-single-product-page #rp-product-specs.rp-product-info-tabs {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.single-product .rp-single-product-page #rp-product-specs > .rp-product-detail-card-head {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid var(--rp-theme-general-border, #edf0f2) !important;
    border-bottom: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    background: transparent !important;
    color: var(--rp-theme-general-heading, #28313a) !important;
    text-align: right !important;
}

body.single-product .rp-single-product-page #rp-product-specs > .rp-product-detail-card-head#rp-product-description {
    margin-top: 24px !important;
}

body.single-product .rp-single-product-page #rp-product-specs > .rp-product-detail-card-body {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 24px !important;
    border: 1px solid var(--rp-theme-general-border, #edf0f2) !important;
    border-radius: 0 0 16px 16px !important;
    background: transparent !important;
    box-shadow: 0 2px 9px rgba(15, 23, 42, .035) !important;
    overflow: hidden !important;
}

@media (max-width: 700px) {
    body.single-product .rp-single-product-page #rp-product-specs > .rp-product-detail-card-head {
        padding-inline: 14px !important;
        border-radius: 13px 13px 0 0 !important;
    }

    body.single-product .rp-single-product-page #rp-product-specs > .rp-product-detail-card-body {
        padding: 20px 12px !important;
        border-radius: 0 0 13px 13px !important;
    }
}

/* Product specifications and description: ten visible rows/lines when collapsed. */
body.single-product .rp-single-product-page #rp-product-specs .rp-product-description:not([data-rp-detail-clamp-ready]) {
    max-height: 20em;
    max-height: calc(10 * 1lh);
    overflow: hidden;
}

body.single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__content.is-collapsed {
    max-height: var(--rp-product-detail-clamp-height);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - var(--rp-product-detail-fade-height, 48px)), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - var(--rp-product-detail-fade-height, 48px)), transparent 100%);
}

body.single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__action {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

body.single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__action[hidden] {
    display: none;
}

body.single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__toggle {
    padding: 7px 16px;
    min-height: 36px;
    border: 1px solid #9ca3af;
    border-radius: 8px;
    background: transparent;
    color: var(--rp-theme-general-accent, var(--rp-accent, #fd314a));
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    cursor: pointer;
}

body.single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__toggle:hover,
body.single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__toggle:focus-visible {
    text-decoration: none;
    background: color-mix(in srgb, var(--rp-theme-general-accent, var(--rp-accent, #fd314a)) 8%, transparent);
}

:is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body).single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__toggle {
    border-color: #515b68;
}

body.single-product .rp-term-visual-card {
    margin: 30px 0 0;
    border: 1px solid #edf0f2;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 9px rgba(15, 23, 42, .035);
}

body.single-product .rp-term-visual-card-head {
    min-height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #edf0f2;
    border-bottom-color: inherit !important;
    color: #28313a;
    font-size: 12px;
    font-weight: 700;
}

body.single-product .rp-term-visual-card-icon {
    color: #7f8790;
    font-size: 16px;
    line-height: 1;
}

body.single-product .rp-term-visual-card-body {
    padding: 34px 24px 38px;
}

body.single-product .rp-term-visual-card .rp-term-visual-group {
    margin: 0;
}

body.single-product .rp-term-visual-card .rp-term-visual-group + .rp-term-visual-group {
    margin-top: 34px;
}

body.single-product .rp-term-visual-group-title {
    width: min(100%, 520px);
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
    align-items: center;
    gap: 12px;
}

body.single-product .rp-term-visual-group-title > span {
    display: block;
    height: 1px;
    background: #edf0f2;
}

body.single-product .rp-term-visual-group-title h3 {
    margin: 0 !important;
    color: #303842;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

body.single-product .rp-term-visual-card .rp-term-visual-items {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 14px 12px;
}

body.single-product .rp-term-visual-card .rp-term-visual-item {
    width: 78px;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 7px;
    color: #454d57;
    text-align: center;
    text-decoration: none;
}

body.single-product .rp-term-visual-card .rp-term-visual-image {
    width: 68px;
    height: 68px;
    display: block;
    object-fit: cover;
    border: 1px solid #edf0f2;
    border-radius: 9px;
    background: #f8f9fa;
}

body.single-product .rp-term-visual-card .rp-term-visual-name {
    max-width: 78px;
    color: #515862;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

body.single-product .rp-term-visual-card .rp-term-visual-item:hover .rp-term-visual-name {
    color: #20262d;
}

/* Short-description color and layout; typography comes from the global body role. */
body.single-product .rp-single-product-page .rp-product-subtitle {
    color: var(--rp-theme-general-muted, #636363) !important;
    direction: rtl !important;
    text-transform: none !important;
    text-align: right !important;
}

@media (max-width: 700px) {
    body.single-product .rp-term-visual-card {
        border-radius: 13px;
    }

    body.single-product .rp-term-visual-card-head {
        padding: 0 14px;
    }

    body.single-product .rp-term-visual-card-body {
        padding: 26px 12px 30px;
    }

    body.single-product .rp-term-visual-card .rp-term-visual-group + .rp-term-visual-group {
        margin-top: 28px;
    }

    body.single-product .rp-term-visual-group-title {
        width: 100%;
        gap: 9px;
        margin-bottom: 16px;
    }

    body.single-product .rp-term-visual-card .rp-term-visual-items {
        gap: 13px 8px;
    }

    body.single-product .rp-term-visual-card .rp-term-visual-item {
        width: 70px;
    }

    body.single-product .rp-term-visual-card .rp-term-visual-image {
        width: 62px;
        height: 62px;
    }

    body.single-product .rp-term-visual-card .rp-term-visual-name {
        max-width: 70px;
        font-size: 10px;
    }
}

/* Single-mode Product gallery: fill the configured frame without distortion. */
body.single-product .rp-single-product-page .rp-product-gallery-stage {
    aspect-ratio: auto !important;
    height: var(--rp-gallery-desktop, 500px) !important;
    padding: var(--rp-gallery-padding, 0px) !important;
    background: var(--rp-gallery-bg, #fcfcfc) !important;
    border: var(--rp-gallery-border-width, 1px) var(--rp-gallery-border-style, solid) var(--rp-gallery-border-color, #dfe3e7) !important;
    box-sizing: border-box !important;
}
body.single-product .rp-single-product-page .rp-product-gallery-slide,
body.single-product .rp-single-product-page .rp-product-gallery-slide img {
    background: var(--rp-gallery-bg, #fcfcfc) !important;
}
body.single-product .rp-single-product-page .rp-product-gallery-stage .rp-product-gallery-slide img {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 1024px) {
    body.single-product .rp-single-product-page .rp-product-gallery-stage {
        height: var(--rp-gallery-tablet, 320px) !important;
    }
}

@media (max-width: 768px) {
    body.single-product .rp-single-product-page .rp-product-gallery-stage {
        height: var(--rp-gallery-mobile, 260px) !important;
    }
}


/* v0.1.851 — Main Accords per-item configurable gradient */
.rp-dynamic-chart-bar.rp-main-accord-gradient-bar {
    background-color: var(--rp-accord-color-end, #7f8c99) !important;
    background-image: linear-gradient(
        to left,
        var(--rp-accord-color-start, #eef1f3) 0%,
        var(--rp-accord-color-end, #7f8c99) 100%
    ) !important;
}
html[dir="ltr"] .rp-dynamic-chart-bar.rp-main-accord-gradient-bar,
body.rp-ltr .rp-dynamic-chart-bar.rp-main-accord-gradient-bar {
    background-image: linear-gradient(
        to right,
        var(--rp-accord-color-start, #eef1f3) 0%,
        var(--rp-accord-color-end, #7f8c99) 100%
    ) !important;
}

/* Mobile product identity: keep SKU, Category, and Brand together as on Desktop. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-product-under-title-info {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px 12px !important;
    }

    body.single-product .rp-single-product-page .rp-product-sku-line {
        flex: 0 0 auto !important;
        width: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    body.single-product .rp-single-product-page .rp-product-meta-line {
        display: flex !important;
        flex: 1 1 auto !important;
        align-items: center !important;
        gap: 6px 0 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: visible !important;
    }

    body.single-product .rp-single-product-page .rp-product-meta-line .rp-product-tag-line {
        display: none !important;
    }
}

/* Mobile-only product section sheet: retain a generous tappable backdrop above it. */
@media (max-width: 900px) {
    body.single-product .rp-product-section-modal__sheet {
        height: min(82dvh, calc(100dvh - 88px - env(safe-area-inset-top))) !important;
        min-height: 0 !important;
        max-height: min(82dvh, calc(100dvh - 88px - env(safe-area-inset-top))) !important;
    }

    body.single-product .rp-product-section-modal__content {
        min-height: 0 !important;
        overflow-y: auto !important;
        overscroll-behavior-y: contain !important;
    }
}

/* Single-product runtime contracts: contained brand art and readable details. */
body.single-product .rp-single-product-page .rp-product-brand-logo--has-image,
body.single-product .rp-single-product-page .rp-product-brand-logo--has-image .rp-product-brand-logo-img {
    border-radius: 5px !important;
}

body.single-product .rp-single-product-page .rp-product-info-tabs {
    padding-inline-start: 16px !important;
    box-sizing: border-box !important;
}

/* A selected color keeps its semantic border, without the extra pointer-focus ring. */
body.single-product .rp-single-color-choice.is-active:not(:focus-visible) {
    outline: 0 !important;
    box-shadow: none !important;
}

body.single-product .rp-single-color-choice:focus-visible {
    outline: 2px solid var(--rp-theme-general-focus, var(--rp-theme-general-accent, var(--rp-accent, #fd314a))) !important;
    outline-offset: 2px !important;
}

.rp-product-vote-disclosure {
    display: none;
}

@media (max-width: 900px) {
    /* Inline is the safe default: content stays in flow and the modal launcher is absent. */
    body.single-product .rp-single-product-page[data-rp-mobile-sections-mode="inline"] .rp-product-tabs-nav,
    body.single-product .rp-single-product-page[data-rp-mobile-sections-mode="inline"] .rp-product-tabs-nav-placeholder {
        display: none !important;
    }

    body.single-product .rp-single-product-page[data-rp-mobile-sections-mode="inline"] :is(
        .rp-product-info-tabs,
        .rp-product-reviews-panel
    ) {
        display: block !important;
    }

    body.single-product .rp-single-product-page[data-rp-mobile-sections-mode="inline"] .rp-product-reviews-panel {
        display: grid !important;
    }

    /* The outer Need carousel must not inherit the legacy 10px mobile gutter. */
    body.single-product .rp-single-product-page .rp-product-side-recommend,
    body.single-product .rp-single-product-page .rp-product-side-recommend > .rp-product-carousel-settings--single-need {
        padding: 0 !important;
    }

    /* Mobile vote cards expose the interactive slider/action first; results expand on demand. */
    body.single-product .rp-product-vote-disclosure {
        width: 100% !important;
        min-height: 38px !important;
        margin: 2px 0 0 !important;
        padding: 7px 0 !important;
        border: 0 !important;
        border-top: 1px solid #f0f2f4 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #4b5563 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        font-family: var(--rp-font, inherit) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
    }

    body.single-product .rp-product-vote-disclosure-icon {
        width: 12px !important;
        height: 12px !important;
        border: 0 !important;
        background: currentColor !important;
        -webkit-mask: url('../../icons/arrow-down.svg') center / contain no-repeat !important;
        mask: url('../../icons/arrow-down.svg') center / contain no-repeat !important;
        transform: none !important;
    }

    body.single-product [data-rp-vote-expanded="1"] .rp-product-vote-disclosure-icon {
        -webkit-mask-image: url('../../icons/arrow-up.svg') !important;
        mask-image: url('../../icons/arrow-up.svg') !important;
    }

    body.single-product [data-rp-vote-expanded="0"] > .rp-product-vote-results {
        display: none !important;
    }

    body.single-product [data-rp-vote-expanded="1"] > .rp-product-vote-results {
        display: block !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rp-product-vote-disclosure-icon {
        transition: none !important;
    }
}

/* Product Page interaction contracts. */
.rp-product-vote-mobile-controls {
    display: contents;
}

.rp-product-vote-submit--mobile,
.rp-product-reviews-mobile-toggle {
    display: none !important;
}

.rp-product-reviews-mobile-content {
    display: contents;
}

/* Selection is conveyed by the border/checkmark; no second shadow ring. */
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice:is(
    .is-active,
    [aria-pressed="true"]
),
body.single-product .rp-product-summary-variation-choices .rp-single-variation-choice:is(
    .is-active,
    [aria-pressed="true"]
) .rp-single-variation-choice-visual {
    box-shadow: none !important;
}

/* Keep every selected Product-page swatch free of both legacy shadow rings. */
body.single-product .rp-single-product-page .rp-product-summary-variation-choices .rp-single-variation-choice.is-active,
body.single-product .rp-single-product-page .rp-product-summary-variation-choices .rp-single-variation-choice[aria-pressed="true"],
body.single-product .rp-single-product-page .rp-product-summary-variation-choices .rp-single-variation-choice.is-active .rp-single-variation-choice-visual,
body.single-product .rp-single-product-page .rp-product-summary-variation-choices .rp-single-variation-choice[aria-pressed="true"] .rp-single-variation-choice-visual {
    box-shadow: none !important;
}

@media (max-width: 900px) {
    body.single-product .rp-product-vote-mobile-controls {
        width: 100% !important;
        min-height: 42px !important;
        margin-top: 2px !important;
        padding-top: 4px !important;
        border-top: 1px solid #f0f2f4 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    body.single-product .rp-product-vote-mobile-controls .rp-product-vote-disclosure {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 7px 0 !important;
        border-top: 0 !important;
        justify-content: flex-start !important;
        order: 1 !important;
    }

    body.single-product .rp-product-vote-submit--mobile {
        min-width: 78px !important;
        display: inline-flex !important;
        order: 2 !important;
    }

    body.single-product .rp-product-vote-submit--desktop {
        display: none !important;
    }

    body.single-product .rp-product-vote-actions {
        min-height: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
    }

    body.single-product .rp-product-side-recommend.is-mobile-before-reviews,
    body.single-product .rp-single-product-page .rp-product-side-recommend {
        margin-top: 28px !important;
    }

    body.single-product .rp-product-reviews-panel {
        display: flex !important;
        flex-direction: column !important;
    }

    body.single-product .rp-product-reviews-mobile-toggle {
        grid-column: 1 / -1 !important;
        direction: rtl !important;
        width: 100% !important;
        min-height: 48px !important;
        padding: 10px 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #111820 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        font-family: var(--rp-font, inherit) !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        text-align: right !important;
        cursor: pointer !important;
        order: 0 !important;
    }

    body.single-product .rp-product-reviews-mobile-toggle i {
        width: 18px !important;
        height: 18px !important;
        flex: 0 0 18px !important;
        border-radius: 50% !important;
        border: 0 !important;
        background: color-mix(in srgb, var(--rp-theme-general-heading, #111820) 8%, var(--rp-theme-general-surface, #fff)) !important;
        position: relative !important;
        transform: none !important;
    }

    body.single-product .rp-product-reviews-mobile-toggle i::before {
        position: absolute;
        inset: 3px;
        background: var(--rp-theme-general-heading, #111820);
        content: '';
        -webkit-mask: url('../../icons/arrow-down.svg') center / contain no-repeat;
        mask: url('../../icons/arrow-down.svg') center / contain no-repeat;
    }

    body.single-product [data-rp-review-expanded="1"] > .rp-product-reviews-mobile-toggle i::before {
        -webkit-mask-image: url('../../icons/arrow-up.svg');
        mask-image: url('../../icons/arrow-up.svg');
    }

    body.single-product [data-rp-review-expanded="0"] > .rp-product-reviews-mobile-content {
        display: none !important;
    }

    body.single-product [data-rp-review-expanded="1"] > .rp-product-reviews-mobile-content,
    body.single-product .rp-product-section-modal [data-rp-review-expanded="1"] > .rp-product-reviews-mobile-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        order: 1 !important;
        width: 100% !important;
    }

    body.single-product .rp-product-reviews-mobile-content > .rp-product-review-form {
        order: 1 !important;
        margin-top: 0 !important;
    }

    body.single-product .rp-product-reviews-mobile-content > .rp-product-review-form #respond {
        margin-top: 4px !important;
    }

    body.single-product .rp-product-reviews-mobile-content > .rp-product-reviews-list {
        order: 2 !important;
    }
}

/* Final mobile stacking authority. The service strip may remain sticky while
   browsing, but it never competes with navigation, drawers or purchase UI. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-product-service-strip {
        z-index: 100 !important;
    }

    body.single-product :is(.rp-mobile-product-sticky-countdown, .rp-product-buybox-countdown) .rp-card-sale-countdown__value {
        margin: 0 !important;
        padding: 0 !important;
        letter-spacing: 0 !important;
        word-spacing: 0 !important;
        font-kerning: none !important;
        font-variant-numeric: tabular-nums !important;
    }

    body.single-product .rp-mobile-product-sticky-countdown {
        top: auto !important;
        bottom: 100% !important;
        margin: 0 !important;
        gap: 0 !important;
    }

    body.single-product .rp-product-price-box.has-selected-variation .rp-product-price-content {
        width: 100% !important;
        margin-top: 20px !important;
        text-align: left !important;
    }

    html body.single-product:is(.rp-search-open, .rp-mobile-menu-open, .rp-shop-filters-open, .rp-cart-sidebar-open, .rp-product-lightbox-open, .rp-product-modal-open, .rp-product-option-toast-open) .rp-single-product-page .rp-product-service-strip {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    html body.single-product:is(.rp-mobile-menu-open, .rp-search-open.rp-search-panel-visible, .rp-shop-filters-open, .rp-cart-sidebar-open, .rp-product-lightbox-open, .rp-product-modal-open) .rp-mobile-product-sticky-buy {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(100%) !important;
    }
}

@media (min-width: 768px) {
    body.single-product .rp-product-buybox-card:has(.rp-product-buybox-countdown:not([hidden])) .rp-product-price-content {
        margin-top: 25px !important;
        margin-bottom: 10px !important;
    }
}

/* Fullscreen product media viewer. This final block deliberately owns the
   complete lightbox surface so older gallery rules cannot split its layout. */
body.single-product .rp-product-gallery-lightbox-overlay {
    --rp-lightbox-canvas: #ffffff;
    --rp-lightbox-surface: rgba(255, 255, 255, .94);
    --rp-lightbox-ink: #314155;
    --rp-lightbox-border: #e2e7ed;
    --rp-lightbox-control-hover: #eef2f6;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999999 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow: hidden !important;
    background: var(--rp-lightbox-canvas) !important;
    color: var(--rp-lightbox-ink) !important;
    ;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .28s ease, visibility 0s linear .28s !important;

 opacity: 0;
}

body.single-product .rp-product-gallery-lightbox-overlay:is(.is-open, .is-closing) {
    visibility: visible !important;
    transition-delay: 0s !important;
}

body.single-product .rp-product-gallery-lightbox-overlay.is-open {
    ;
    pointer-events: auto !important;

 opacity: 1;
}

body.single-product .rp-product-gallery-lightbox-overlay.is-closing {
    ;
    pointer-events: none !important;

 opacity: 0;
}

body.single-product .rp-product-gallery-lightbox-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: var(--rp-lightbox-canvas) !important;
}

body.single-product .rp-product-gallery-lightbox-panel {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--rp-lightbox-canvas) !important;
    ;
    ;
    transition: opacity .28s ease, transform .34s cubic-bezier(.2, .8, .2, 1) !important;

 opacity: .2;

 transform: translateY(8px) scale(.97);
}

body.single-product .rp-product-gallery-lightbox-overlay.is-open .rp-product-gallery-lightbox-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

body.single-product .rp-product-gallery-lightbox-overlay.is-closing .rp-product-gallery-lightbox-panel {
    opacity: 0;
    transform: translateY(5px) scale(.985);
}

body.single-product .rp-product-gallery-lightbox-toolbar {
    position: absolute !important;
    inset: 0 0 auto !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 0 8px !important;
    border-bottom: 1px solid var(--rp-lightbox-border) !important;
    background: var(--rp-lightbox-surface) !important;
    color: var(--rp-lightbox-ink) !important;
    direction: ltr !important;
    backdrop-filter: blur(12px) !important;
}

body.single-product .rp-product-gallery-lightbox-actions {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    margin-left: auto !important;
}

body.single-product .rp-product-gallery-lightbox-counter-nav {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    gap: 8px !important;
    ;
    direction: ltr !important;
}

body.single-product .rp-product-gallery-lightbox-counter {
    min-width: 58px !important;
    color: var(--rp-lightbox-ink) !important;
    font-variant-numeric: tabular-nums !important;
    text-align: center !important;
}

body.single-product .rp-product-gallery-lightbox-tool {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--rp-lightbox-ink) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: color .18s ease, background-color .18s ease, transform .18s ease !important;
}

body.single-product .rp-product-gallery-lightbox-tool:is(:hover, :focus-visible) {
    background: var(--rp-lightbox-control-hover) !important;
    color: var(--rp-theme-general-accent, #ff5722) !important;
    outline: none !important;
    ;

 transform: translateY(-1px);
}

body.single-product .rp-product-gallery-lightbox-tool:disabled {
    ;
    pointer-events: none !important;

 opacity: .35;
}

body.single-product .rp-product-gallery-lightbox-tool[hidden] {
    display: none !important;
}

body.single-product .rp-product-gallery-lightbox-tool svg,
body.single-product .rp-product-gallery-lightbox-nav svg {
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.single-product .rp-product-gallery-lightbox-autoplay .is-pause,
body.single-product .rp-product-gallery-lightbox-overlay.is-autoplaying .rp-product-gallery-lightbox-autoplay .is-play {
    display: none !important;
}

body.single-product .rp-product-gallery-lightbox-overlay.is-autoplaying .rp-product-gallery-lightbox-autoplay .is-pause {
    display: inline-flex !important;
}

body.single-product .rp-product-gallery-lightbox-counter-next svg,
body.single-product .rp-product-gallery-lightbox-next svg {
    ;

 transform: rotate(180deg);
}

body.single-product .rp-product-gallery-lightbox-viewport {
    position: absolute !important;
    inset: 46px 0 82px !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

body.single-product .rp-product-gallery-lightbox-stage {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 150px) !important;
    height: 100% !important;
    overflow: hidden !important;
    touch-action: none;
}

body.single-product .rp-product-gallery-lightbox-image,
body.single-product .rp-product-gallery-lightbox-image-clone {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: auto !important;
    object-fit: contain !important;
    transform-origin: center !important;
    will-change: transform, opacity !important;
}

body.single-product .rp-product-gallery-lightbox-image {
    z-index: 2 !important;
    cursor: zoom-in !important;
    ;
    transition: transform .18s cubic-bezier(.2, .8, .2, 1) !important;

 transform: translate3d(var(--rp-lightbox-pan-x, 0px), var(--rp-lightbox-pan-y, 0px), 0) scale(var(--rp-lightbox-scale, 1));
}

body.single-product .rp-product-gallery-lightbox-overlay.is-zoomed .rp-product-gallery-lightbox-image {
    cursor: grab !important;
}

body.single-product .rp-product-gallery-lightbox-overlay.is-zoomed .rp-product-gallery-lightbox-stage:active .rp-product-gallery-lightbox-image {
    cursor: grabbing !important;
}

body.single-product .rp-product-gallery-lightbox-image-clone {
    z-index: 3 !important;
    pointer-events: none !important;
}

body.single-product .rp-product-gallery-lightbox-image.is-entering-next {
    animation: rp-lightbox-enter-next .4s cubic-bezier(.2, .8, .2, 1) both !important;
}

body.single-product .rp-product-gallery-lightbox-image.is-entering-previous {
    animation: rp-lightbox-enter-previous .4s cubic-bezier(.2, .8, .2, 1) both !important;
}

body.single-product .rp-product-gallery-lightbox-image-clone.is-leaving-next {
    animation: rp-lightbox-leave-next .4s cubic-bezier(.2, .8, .2, 1) both !important;
}

body.single-product .rp-product-gallery-lightbox-image-clone.is-leaving-previous {
    animation: rp-lightbox-leave-previous .4s cubic-bezier(.2, .8, .2, 1) both !important;
}

@keyframes rp-lightbox-enter-next {
    from { opacity: 0; transform: translateX(7%) scale(.985); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes rp-lightbox-leave-next {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(-7%) scale(.985); }
}

@keyframes rp-lightbox-enter-previous {
    from { opacity: 0; transform: translateX(-7%) scale(.985); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes rp-lightbox-leave-previous {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(7%) scale(.985); }
}

body.single-product .rp-product-gallery-lightbox-nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 12 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--rp-lightbox-control-hover) !important;
    background-image: none !important;
    color: var(--rp-lightbox-ink) !important;
    font-size: 0 !important;
    ;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: color .18s ease, background-color .18s ease, transform .18s ease !important;
}

body.single-product .rp-product-gallery-lightbox-nav:is(:hover, :focus-visible) {
    color: var(--rp-theme-general-accent, #ff5722) !important;
    outline: none !important;
}

body.single-product .rp-product-gallery-lightbox-prev {
    right: auto !important;
    left: 26px !important;
    ;
}

body.single-product .rp-product-gallery-lightbox-next {
    right: 26px !important;
    left: auto !important;
    ;
}

body.single-product .rp-product-gallery-lightbox-thumbs {
    position: absolute !important;
    inset: auto 0 0 !important;
    z-index: 8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 82px !important;
    padding: 8px 20px !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: var(--rp-lightbox-surface) !important;
    border-top: 1px solid var(--rp-lightbox-border) !important;
    direction: ltr !important;
    scroll-behavior: smooth !important;
}

body.single-product .rp-product-gallery-lightbox-thumb {
    flex: 0 0 60px !important;
    width: 60px !important;
    height: 60px !important;
    padding: 3px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--rp-lightbox-border) !important;
    border-radius: 7px !important;
    background: var(--rp-lightbox-canvas) !important;
    ;
    cursor: pointer !important;
    transition: opacity .18s ease, border-color .18s ease, transform .18s ease !important;
}

body.single-product .rp-product-gallery-lightbox-thumb:is(.is-active, :hover, :focus-visible) {
    border-color: var(--rp-theme-general-accent, #ff5722) !important;
    ;
    ;
    outline: none !important;

 opacity: 1;

 transform: translateY(-2px);
}

body.single-product .rp-product-gallery-lightbox-thumb img,
body.single-product .rp-product-gallery-lightbox-grid-item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

body.single-product .rp-product-gallery-lightbox-grid[hidden] {
    display: none !important;
}

body.single-product .rp-product-gallery-lightbox-grid {
    position: absolute !important;
    inset: 46px 0 0 !important;
    z-index: 16 !important;
    display: block !important;
    overflow: auto !important;
    padding: 32px !important;
    background: var(--rp-lightbox-canvas) !important;
    animation: rp-lightbox-grid-in .22s ease both !important;
}

body.single-product .rp-product-gallery-lightbox-grid-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 18px !important;
    width: min(100%, 1180px) !important;
    margin: 0 auto !important;
}

body.single-product .rp-product-gallery-lightbox-grid-item {
    aspect-ratio: 1 / 1 !important;
    padding: 8px !important;
    border: 1px solid var(--rp-lightbox-border) !important;
    border-radius: 12px !important;
    background: var(--rp-lightbox-surface) !important;
    cursor: pointer !important;
    transition: border-color .18s ease, transform .18s ease !important;
}

body.single-product .rp-product-gallery-lightbox-grid-item:is(.is-active, :hover, :focus-visible) {
    border-color: var(--rp-theme-general-accent, #ff5722) !important;
    ;
    outline: none !important;

 transform: translateY(-3px);
}

@keyframes rp-lightbox-grid-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
) .rp-product-gallery-lightbox-overlay {
    --rp-lightbox-canvas: var(--rp-theme-general-background, #0f1115);
    --rp-lightbox-surface: var(--rp-theme-general-surface, #171b21);
    --rp-lightbox-ink: var(--rp-theme-general-heading, #f8fafc);
    --rp-lightbox-border: var(--rp-theme-general-border, #303640);
    --rp-lightbox-control-hover: var(--rp-theme-general-surface, #20262e);
}

@media (max-width: 600px) {
    body.single-product .rp-product-gallery-lightbox-tool[data-rp-lightbox-zoom] {
        display: none !important;
    }

    body.single-product .rp-product-gallery-lightbox-toolbar {
        min-height: 92px !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 3px 4px !important;
    }

    body.single-product .rp-product-gallery-lightbox-actions {
        width: 100% !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    body.single-product .rp-product-gallery-lightbox-counter-nav {
        top: 44px !important;
        height: 44px !important;
    }

    body.single-product .rp-product-gallery-lightbox-viewport {
        inset: 92px 0 72px !important;
    }

    body.single-product .rp-product-gallery-lightbox-stage {
        width: calc(100% - 76px) !important;
    }

    body.single-product .rp-product-gallery-lightbox-nav {
        width: 38px !important;
        height: 38px !important;
    }

    body.single-product .rp-product-gallery-lightbox-prev {
        left: 4px !important;
    }

    body.single-product .rp-product-gallery-lightbox-next {
        right: 4px !important;
    }

    body.single-product .rp-product-gallery-lightbox-thumbs {
        justify-content: flex-start !important;
        height: 72px !important;
        padding: 7px 10px !important;
    }

    body.single-product .rp-product-gallery-lightbox-thumb {
        flex-basis: 54px !important;
        width: 54px !important;
        height: 54px !important;
    }

    body.single-product .rp-product-gallery-lightbox-grid {
        inset: 92px 0 0 !important;
        padding: 16px !important;
    }

    body.single-product .rp-product-gallery-lightbox-grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product .rp-product-gallery-lightbox-overlay,
    body.single-product .rp-product-gallery-lightbox-panel,
    body.single-product .rp-product-gallery-lightbox-image,
    body.single-product .rp-product-gallery-lightbox-image-clone,
    body.single-product .rp-product-gallery-lightbox-grid {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

/* Final purchase-column rhythm. Keep simple, variable and grouped products
   aligned by applying the spacing to the rendered price content only. */
@media (min-width: 768px) {
    body.single-product .rp-product-buybox [data-rp-price-content] {
        margin-top: 25px !important;
        margin-bottom: 10px !important;
    }
}

/* Preserve every product type's button geometry while making the primary
   add-to-cart label consistently 700. */
body.single-product .rp-product-buybox .single_add_to_cart_button {
    font-weight: 700 !important;
}

/* Shared unavailable/contact state: label first, then a separated callable phone. */
body.single-product .rp-product-price-content .rp-wct-contact-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    color: #64748b !important;
}

body.single-product .rp-product-price-content .rp-wct-contact-price__label {
    color: inherit !important;
    font-weight: 500 !important;
}

body.single-product .rp-product-price-content .rp-wct-contact-price__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    color: inherit !important;
    text-align: inherit !important;
    text-decoration: none !important;
    transition: color 180ms ease !important;
}

body.single-product .rp-product-price-content .rp-wct-contact-price__link:is(:hover, :focus-visible) :is(.rp-wct-contact-price__label, .rp-wct-contact-price__phone) {
    color: var(--rp-contact-price-accent, #fd314a) !important;
}

body.single-product .rp-product-price-content .rp-wct-contact-price__link:is(:hover, :focus-visible) .rp-wct-contact-price__phone {
    border-top-color: var(--rp-contact-price-accent, #fd314a) !important;
}

body.single-product .rp-product-price-content .rp-wct-contact-price__phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-width: 150px !important;
    margin-top: 12px !important;
    padding-top: 10px !important;
    border-top: 1px solid #cbd5e1 !important;
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

body.single-product .rp-product-price-content .rp-wct-contact-price__phone-icon {
    width: 16px !important;
    height: 16px !important;
    background: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
).single-product .rp-product-price-content .rp-wct-contact-price {
    color: #94a3b8 !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
).single-product .rp-product-price-content .rp-wct-contact-price__phone {
    border-top-color: #475569 !important;
}

body.single-product .rp-product-price-content .rp-wct-contact-price__link:is(:hover, :focus-visible) .rp-wct-contact-price__phone {
    border-top-color: var(--rp-contact-price-accent, #fd314a) !important;
}

/* Match the percentage badge's red and lift the timer for optical alignment. */
body.single-product .rp-product-buybox .rp-product-buybox-countdown {
    border-color: #ff5a4f !important;
    color: #ff5a4f !important;
    transform: translateY(-3px);
}

body.single-product .rp-product-buybox .rp-product-buybox-countdown .rp-card-sale-countdown__value {
    color: #ff5a4f !important;
}

body.single-product .rp-product-buybox .rp-product-buybox-countdown > span {
    color: #111820 !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body
) .rp-product-buybox .rp-product-buybox-countdown > span {
    color: #f8fafc !important;
}

/* Mobile purchase bar: make a timed sale unmistakable without recoloring its label. */
@media (max-width: 900px) {
    body.single-product .rp-mobile-product-sticky-countdown {
        gap: 6px !important;
        direction: rtl !important;
        /* This timer belongs to the persistent mobile purchase panel, not to
           the selected Product Card Layout. Keep its complete shell local so
           card radius/border/background variables cannot leak into it. */
        min-height: 32px !important;
        padding: 5px 12px !important;
        border: 0 !important;
        border-radius: 14px 14px 0 0 !important;
        background: var(--rp-theme-general-surface, #fff) !important;
        color: var(--rp-theme-general-text, #111820) !important;
        box-shadow: 0 -15px 18px rgba(17, 24, 32, .10) !important;
        font-family: var(--rp-font, inherit) !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
    }

    body.single-product .rp-mobile-product-sticky-countdown__icon {
        display: block;
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        object-fit: contain;
    }

    body.single-product .rp-mobile-product-sticky-buy {
        background: #fff !important;
        border-top-color: transparent !important;
    }

    body.single-product .rp-mobile-product-sticky-countdown .rp-card-sale-countdown__value {
        color: #ff5a4f !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 900px) {
    :is(
        body.rp-theme-color-preset-dark,
        body.rp-theme-dark,
        body.is-dark,
        html[data-rp-user-theme="dark"] body,
        html[data-rp-theme-mode="dark"] body,
        html[data-theme="dark"] body
    ).single-product .rp-mobile-product-sticky-countdown {
        background: inherit !important;
        color: var(--rp-theme-general-text, #f8fafc) !important;
        box-shadow: 0 -15px 18px rgba(17, 24, 32, .10) !important;
    }
}

/* Deferred related-products shell must not flash a light block in dark mode. */
.rp-single-related-carousel--deferred {
    background: transparent !important;
}

:is(
    body.rp-theme-color-preset-dark,
    body.rp-theme-dark,
    body.is-dark,
    html[data-rp-user-theme="dark"] body,
    html[data-rp-theme-mode="dark"] body,
    html[data-theme="dark"] body
).single-product .rp-single-product-page .rp-single-related-carousel--deferred {
    background: transparent !important;
    color: #fff !important;
}

/* Final compact rhythm for the review composer, including its mobile panel. */
@media (max-width: 900px) {
    html body.single-product .rp-single-product-page .rp-product-review-form,
    html body.single-product .rp-single-product-page .rp-product-reviews-list {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

body.single-product .rp-product-review-form,
body.single-product .rp-product-section-modal__content .rp-product-review-form {
    gap: 6px !important;
}

body.single-product .rp-product-review-form > h2,
body.single-product .rp-product-review-form > p {
    margin-block: 0 !important;
}

body.single-product .rp-product-review-form form.comment-form {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px !important;
}

body.single-product .rp-product-review-form form.comment-form > * {
    grid-column: 1 / -1;
}

body.single-product .rp-product-review-form form.comment-form .form-submit {
    grid-column: 1 !important;
    grid-row: auto !important;
    order: 20;
    justify-self: start;
    align-self: center;
}

body.single-product .rp-product-review-form form.comment-form .comment-form-rating {
    grid-column: 2 !important;
    grid-row: auto !important;
    order: 20;
    justify-self: end;
    align-self: center;
}

body.single-product .rp-product-review-form p.stars {
    margin-block: 0 !important;
}

body.single-product .rp-product-reviews-empty > p {
    max-width: 520px !important;
    margin: 4px auto 0 !important;
    color: #7d8791 !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
    text-align: center !important;
}

@media (min-width: 901px) {
    body.single-product .rp-product-reviews-panel.has-no-rp-comments {
        align-items: stretch !important;
    }

    body.single-product .rp-product-reviews-panel.has-no-rp-comments .rp-product-reviews-list,
    body.single-product .rp-product-reviews-panel.has-no-rp-comments .rp-product-review-form {
        height: 100% !important;
        box-sizing: border-box !important;
    }

    body.single-product .rp-product-reviews-panel.has-no-rp-comments .comment-form-comment textarea {
        height: 150px !important;
        min-height: 150px !important;
    }

    body.single-product .rp-product-reviews-panel.has-rp-comments .comment-form-comment textarea {
        height: 150px !important;
        min-height: 150px !important;
    }
}

/* Responsive width owned by the Need carousel Layout settings. */
@media (min-width: 600px) and (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-product-side-recommend {
        width: min(100%, var(--rp-product-need-column-width-tablet, var(--rp-product-need-column-width, 330px))) !important;
        max-width: var(--rp-product-need-column-width-tablet, var(--rp-product-need-column-width, 330px)) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

@media (max-width: 599px) {
    body.single-product .rp-single-product-page .rp-product-side-recommend {
        width: min(100%, var(--rp-product-need-column-width-mobile, var(--rp-product-need-column-width-tablet, 330px))) !important;
        max-width: var(--rp-product-need-column-width-mobile, var(--rp-product-need-column-width-tablet, 330px)) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

/* iOS zooms focused form controls below 16px. Keep the mobile review composer
   at the platform-safe size without changing its desktop typography. */
@media (max-width: 767px) {
    body.single-product .rp-product-review-form :is(
        textarea,
        input[type="text"],
        input[type="tel"]
    ) {
        font-size: 16px !important;
    }
}

/* Mobile review cards: avatar, identity and rating share the header row. The
   review copy then spans the full card from the avatar-side right edge. */
@media (max-width: 767px) {
    body.single-product #reviews .rp-product-review-items li.review,
    body.single-product #reviews .rp-product-review-items li.comment {
        padding: 10px !important;
    }
    body.single-product #reviews .rp-product-review-items ol.children {
        display: grid !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-block-start: 14px !important;
        padding: 0 !important;
        border: 0 !important;
        box-sizing: border-box !important;
    }
    body.single-product .rp-product-review-items .comment_container {
        display: grid !important;
        direction: rtl !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        column-gap: 9px !important;
        row-gap: 5px !important;
        align-items: center !important;
    }

    body.single-product .rp-product-review-items .comment_container > .comment-text {
        display: contents !important;
    }

    body.single-product .rp-product-review-items .comment_container > .avatar {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        align-self: center !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
    }

    body.single-product .rp-product-review-items .rp-product-review-heading {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        justify-items: start !important;
        align-self: center !important;
        gap: 3px !important;
        min-width: 0 !important;
        margin: 0 !important;
        text-align: right !important;
    }

    body.single-product .rp-product-review-items .rp-product-review-heading > .star-rating {
        grid-row: 1 !important;
        justify-self: start !important;
        float: none !important;
        margin: 0 !important;
    }

    body.single-product .rp-product-review-items .rp-product-review-heading > .meta {
        grid-row: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        text-align: right !important;
    }

    body.single-product .rp-product-review-items .comment-text > .description {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        margin: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        text-align: right !important;
    }

    body.single-product .rp-product-review-items .comment-text > .meta {
        grid-column: 2 !important;
        grid-row: 2 !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow-wrap: anywhere;
    }
    body.single-product .rp-product-review-items .comment-text > .star-rating {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        float: none !important;
        margin: 0 !important;
    }
    body.single-product .rp-product-review-items .comment-text > .meta ~ .description {
        grid-row: 3 !important;
    }
    body.single-product .rp-product-review-items .comment-text > .rp-comment-reactions {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        min-width: 0 !important;
    }
    body.single-product .rp-product-review-items .comment-text > .rp-product-review-reply {
        grid-column: 1 / -1 !important;
        grid-row: 5 !important;
        justify-self: end;
    }

    body.single-product .rp-product-review-items .description > :first-child {
        margin-top: 0 !important;
    }

    body.single-product .rp-product-review-items .description > :last-child {
        margin-bottom: 0 !important;
    }

    body.single-product .rp-product-review-form .comment-form-comment textarea {
        height: 74px;
        min-height: 44px !important;
        resize: vertical !important;
        overflow-y: auto;
    }
}

/* Keep the LTR original name on the exact same right-hand edge as the Persian
   product title on phones. Explicit logical sizing avoids inherited heading
   margins or direction-sensitive intrinsic sizing shifting either heading. */
@media (max-width: 767px) {
    body.single-product .rp-single-product-page .rp-product-title-row {
        width: 100% !important;
        align-items: stretch !important;
    }

    body.single-product .rp-single-product-page .rp-product-title-row > :is(
        .rp-product-title,
        .rp-product-original-name
    ) {
        display: block !important;
        align-self: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        box-sizing: border-box !important;
        text-align: right !important;
    }

    body.single-product .rp-single-product-page .rp-product-title-row > .rp-product-original-name {
        display: flex !important;
        direction: rtl !important;
        justify-content: flex-start !important;
        unicode-bidi: isolate !important;
    }

    body.single-product .rp-single-product-page .rp-product-title-row > .rp-product-original-name > span {
        display: inline-block !important;
        direction: ltr !important;
        unicode-bidi: isolate !important;
        text-align: left !important;
    }
}

/* The Desktop buybox collapses to zero height on Mobile. Its two 1px borders
   must collapse with it, otherwise they appear as a stray rule after grouped
   product choices while the actual final card border is still intact. */
@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-product-buybox {
        border: 0 !important;
        box-shadow: none !important;
    }
}

/* Mobile identity geometry: SKU owns a full-width first row so its right edge
   matches the product heading; Brand and metadata remain on the row below. */
@media (max-width: 767px) {
    body.single-product .rp-single-product-page .rp-product-under-title {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 32px !important;
        grid-template-areas:
            "sku sku"
            "meta brand" !important;
        align-items: center !important;
        gap: 6px 10px !important;
        direction: ltr !important;
    }

    body.single-product .rp-single-product-page .rp-product-under-title-info {
        display: contents !important;
    }

    body.single-product .rp-single-product-page .rp-product-sku-line {
        grid-area: sku !important;
        width: 100% !important;
        justify-self: stretch !important;
        justify-content: flex-start !important;
        direction: rtl !important;
    }

    body.single-product .rp-single-product-page .rp-product-sku-value {
        font-size: 10px !important;
        line-height: 1.4 !important;
    }

    body.single-product .rp-single-product-page .rp-product-meta-line {
        grid-area: meta !important;
        min-width: 0 !important;
        direction: rtl !important;
    }

    body.single-product .rp-single-product-page .rp-product-brand-logo {
        grid-area: brand !important;
    }
}

/* Dedicated Tablet layout. Desktop's three fixed columns leave the summary
   unusably narrow near 1024px, while the Mobile stack is too sparse near
   768px. Tablet therefore owns a stable two-column top and full-width lower
   sections without changing either neighboring breakpoint. */
@media (min-width: 768px) and (max-width: 1100px) {
    body.single-product .rp-single-product-inner,
    body.single-product .rp-single-product-page .rp-single-product-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 28px 96px !important;
        box-sizing: border-box !important;
        overflow-x: clip !important;
    }

}

/* Product top only: two columns through 1269px; the existing desktop
   three-column layout resumes at 1270px. Lower sections keep their ranges. */
@media (min-width: 768px) and (max-width: 1269px) {
    body.single-product .rp-single-product-page .rp-product-top,
    body.single-product .rp-single-product-page .rp-single-desktop-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) !important;
        grid-template-areas:
            "summary gallery"
            "buy buy" !important;
        gap: 24px !important;
        align-items: start !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        direction: ltr !important;
        overflow: visible !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-col {
        grid-area: gallery !important;
        position: relative !important;
        inset: auto !important;
        border: 0 !important;
        top: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        order: initial !important;
        transform: none !important;
        overflow: visible !important;
    }

    body.single-product .rp-single-product-page .rp-product-custom-gallery {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        transform: none !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-stage {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: var(--rp-gallery-tablet-ratio, 1 / 1) !important;
        border: 0 !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    body.single-product .rp-single-product-page .rp-product-summary-col {
        grid-area: summary !important;
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 18px !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-sizing: border-box !important;
        order: initial !important;
        overflow: visible !important;
        direction: rtl !important;
    }

    body.single-product .rp-single-product-page .rp-product-buybox {
        grid-area: buy !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: visible !important;
        order: initial !important;
    }

    body.single-product .rp-single-product-page .rp-product-buybox-card {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 18px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        clip: auto !important;
        clip-path: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        background-color: var(--rp-theme-general-surface, #f7f8fb) !important;
        border: 1px solid var(--rp-theme-general-border, #e5e9ee) !important;
        border-radius: 12px !important;
    }

    body.single-product .rp-mobile-product-sticky-buy {
        display: none !important;
    }

}

/* Mobile product reviews share the blog comment composer pattern. */
.rp-product-review-open { display: none; }
@media (max-width: 767px) {
    body.single-product.rp-product-review-ready #reviews .rp-product-review-form > #respond { display: none !important; }
    body.single-product.rp-product-review-ready #reviews .rp-product-review-open {
        display: block !important;
        width: 100%;
        min-height: 44px;
        border: 1px solid var(--rp-theme-general-border-strong, #a7b2bf);
        border-radius: 10px;
        background: var(--rp-theme-general-surface, #fff);
        color: var(--rp-theme-general-text, #25303b);
        font: inherit;
        font-size: var(--rp-type-button-size, 13px) !important;
        font-weight: var(--rp-type-button-weight, 500) !important;
        cursor: pointer;
    }
    body.single-product.rp-product-review-ready #reviews .rp-product-review-open:hover { background: var(--rp-theme-general-surface-alt, #f1f3f5); }
    body.single-product.rp-product-review-ready #reviews.has-no-rp-comments .rp-product-review-form:has(> .rp-product-review-message[hidden]) { display: none !important; }
    body.single-product #reviews .rp-product-reviews-empty { gap: 12px !important; }
    body.single-product #reviews .rp-product-reviews-empty-icon {
        background: var(--rp-theme-general-surface-alt, #f1f3f5) !important;
        color: var(--rp-theme-general-text, #25303b) !important;
    }
    body.single-product #reviews .rp-product-reviews-empty strong { color: var(--rp-theme-general-text, #25303b) !important; }
    body.single-product #reviews .rp-product-reviews-empty > p { color: var(--rp-theme-general-text-muted, #7d8791) !important; }
    body.single-product .rp-product-reviews-mobile-toggle i {
        width: 30px !important;
        height: 30px !important;
        flex: 0 0 30px !important;
        border-radius: 50% !important;
        background: var(--rp-theme-general-surface-alt, #f1f3f5) !important;
        color: var(--rp-theme-general-text, #25303b) !important;
    }
    .rp-product-review-overlay[hidden] { display: none !important; }
    .rp-product-review-overlay { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: flex-end; background: transparent; }
    .rp-product-review-overlay::before { content: ''; position: absolute; inset: 0; background: rgba(15,23,42,.46); animation: rp-blog-reply-backdrop-in .22s ease-out both; }
    .rp-product-review-sheet {
        position: relative;
        width: 100%;
        max-height: calc(100dvh - 16px);
        overflow-y: auto;
        padding: 34px 18px max(20px, env(safe-area-inset-bottom));
        box-sizing: border-box;
        border-radius: 16px 16px 0 0;
        background: var(--rp-theme-general-surface, #fff);
        color: var(--rp-theme-general-text, #25303b);
        box-shadow: 0 -12px 34px rgba(0,0,0,.12);
        animation: rp-blog-reply-in .22s cubic-bezier(.2,.7,.2,1) both;
    }
    .rp-product-review-overlay.is-closing { pointer-events: none; }
    .rp-product-review-overlay.is-closing::before { animation: rp-blog-reply-backdrop-out .2s ease-in both; }
    .rp-product-review-overlay.is-closing .rp-product-review-sheet { animation: rp-blog-reply-out .2s ease-in both; }
    @keyframes rp-blog-reply-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
    @keyframes rp-blog-reply-out { from { transform: translateY(0); } to { transform: translateY(100%); } }
    @keyframes rp-blog-reply-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
    @keyframes rp-blog-reply-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
    .rp-product-review-sheet::before { content: ''; position: absolute; top: 7px; left: 50%; width: 38px; height: 4px; border-radius: 9px; background: var(--rp-theme-general-border-strong, #d7dde4); transform: translateX(-50%); }
    .rp-product-review-close { position: absolute; top: 13px; left: 18px; z-index: 2; width: 30px; height: 30px; border: 1px solid var(--rp-theme-general-border, #d7dde4); border-radius: 8px; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
    .rp-product-review-sheet-heading { margin: 0 0 16px; text-align: center; font-size: var(--rp-type-form_label-size, 13px); font-weight: var(--rp-type-form_label-weight, 500); }
    body.single-product .rp-product-review-sheet #respond { position: static !important; margin: 0 !important; display: block !important; }
    body.single-product .rp-product-review-sheet #reply-title { display: none !important; }
    body.single-product .rp-product-review-sheet form.comment-form { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
    body.single-product .rp-product-review-sheet form.comment-form > * { grid-column: 1 / -1 !important; }
    body.single-product .rp-product-review-sheet .comment-form-rating,
    body.single-product .rp-product-review-sheet .form-submit { grid-column: 1 / -1 !important; order: 0 !important; justify-self: stretch !important; }
    body.single-product .rp-product-review-sheet textarea#comment {
        display: block;
        width: 100% !important;
        height: 232px !important;
        min-height: 232px !important;
        padding: 10px 12px !important;
        resize: none !important;
        overflow-y: auto !important;
        border: 1px solid var(--rp-theme-general-border, #d7dde4) !important;
        border-radius: 12px !important;
        background: var(--rp-theme-general-surface, #fff) !important;
        color: var(--rp-theme-general-text, #25303b) !important;
        box-shadow: none !important;
    }
    body.single-product .rp-product-review-sheet textarea#comment:focus { border-color: var(--rp-theme-general-border-strong, #a7b2bf) !important; box-shadow: 0 0 0 3px rgba(156,163,175,.22) !important; }
    body.single-product .rp-product-review-sheet .form-submit .submit {
        display: block !important;
        width: 100% !important;
        min-height: 52px !important;
        padding: 9px 12px !important;
        box-sizing: border-box !important;
        border: 1px solid var(--rp-theme-general-border, #d7dde4) !important;
        border-radius: 10px !important;
        background: var(--rp-theme-general-surface-alt, #f7f8fa) !important;
        color: var(--rp-theme-general-text, #25303b) !important;
        font-size: var(--rp-type-custom_astfiffoc89j-size, 18px) !important;
        font-weight: var(--rp-type-custom_astfiffoc89j-weight, 400) !important;
        box-shadow: none !important;
        transition: background-color .28s ease, border-color .28s ease, color .28s ease, opacity .28s ease !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .rp-product-review-sheet, .rp-product-review-overlay::before, .rp-product-review-overlay.is-closing .rp-product-review-sheet { animation: none !important; }
}

@media (min-width: 768px) and (max-width: 1100px) {
    body.single-product .rp-single-product-page .rp-product-service-strip {
        position: static !important;
        width: 100% !important;
        margin: 28px 0 !important;
        padding: 18px 12px 22px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        gap: 12px !important;
        border-bottom: 1px solid var(--rp-theme-general-border, #eef1f4) !important;
        box-shadow: none !important;
    }

    body.single-product .rp-single-product-page .rp-product-service-strip > .rp-product-service-item {
        flex: 0 0 160px !important;
        min-width: 160px !important;
        scroll-snap-align: start;
    }

    body.single-product .rp-single-product-page .rp-product-lower-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.single-product .rp-single-product-page :is(
        .rp-product-main-details,
        .rp-product-info-tabs,
        .rp-product-reviews-panel,
        .rp-product-side-recommend,
        .rp-single-related-carousel
    ) {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.single-product .rp-single-product-page .rp-product-reviews-panel {
        grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr) !important;
    }

    body.single-product .rp-grouped-product-row,
    body.single-product .rp-grouped-product-row.is-variable {
        grid-template-columns: minmax(0, 1fr) auto auto !important;
    }
}

/* Keep the review list wide enough for nested replies on intermediate screens. */
@media (min-width: 1101px) and (max-width: 1400px) {
    body.single-product .rp-single-product-page .rp-product-lower-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    body.single-product .rp-single-product-page .rp-product-side-recommend {
        width: min(100%, var(--rp-product-need-column-width, 330px)) !important;
        max-width: var(--rp-product-need-column-width, 330px) !important;
        margin-inline: auto !important;
    }
}

@media (min-width: 901px) and (max-width: 1050px) {
    body.single-product .rp-single-product-page .rp-product-reviews-panel {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.single-product .rp-single-product-page .rp-product-reviews-panel.has-rp-comments .rp-product-review-form {
        position: static !important;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    body.single-product .rp-single-product-page .rp-product-side-recommend {
        width: min(100%, var(--rp-product-need-column-width-tablet, var(--rp-product-need-column-width, 330px))) !important;
        max-width: var(--rp-product-need-column-width-tablet, var(--rp-product-need-column-width, 330px)) !important;
        margin-inline: auto !important;
    }
}

/* Anchor the configurable Need width to the RTL content edge. */
body.single-product .rp-single-product-page .rp-product-side-recommend {
    justify-self: start !important;
    margin-right: 0 !important;
    margin-left: auto !important;
}

@media (min-width: 1101px) {
    body.single-product .rp-single-product-page .rp-product-side-recommend {
        width: min(100%, var(--rp-product-need-column-width, 330px)) !important;
        max-width: var(--rp-product-need-column-width, 330px) !important;
        min-width: 0 !important;
    }
}

/* Saved typography tokens must win over this page's legacy declarations. */
@media (min-width: 901px) {
    html body.single-product .rp-single-product-page .rp-single-product-inner > .rp-mobile-product-sticky-buy {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        animation: none !important;
    }
}

/* The intermediate layout needs complete tab controls, not inline links. */
@media (min-width: 768px) and (max-width: 1100px) {
    html body.single-product .rp-single-product-page .rp-product-tabs-nav {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 6px !important;
        box-sizing: border-box !important;
        direction: rtl !important;
    }
    html body.single-product .rp-single-product-page .rp-product-tabs-nav > a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-height: 44px !important;
        padding: 8px 14px !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }
}

body.single-product .rp-single-product-page .rp-product-buybox .single_add_to_cart_button {
    font-size: var(--rp-type-button-size, 14px) !important;
    font-weight: var(--rp-type-button-weight, 500) !important;
}

body.single-product .rp-single-product-page .rp-product-meta-line a {
    font-size: var(--rp-type-meta-size, 12px) !important;
    font-weight: var(--rp-type-meta-weight, 400) !important;
}

body.single-product .rp-single-product-page .rp-product-tabs-nav a {
    font-size: var(--rp-type-navigation-size, 15px) !important;
    font-weight: var(--rp-type-navigation-weight, 500) !important;
}

body.single-product .rp-single-product-page .rp-product-buybox .rp-buybox-price-final .amount {
    font-size: var(--rp-type-price-size, 16px) !important;
    font-weight: var(--rp-type-price-weight, 700) !important;
}

body.single-product .rp-single-product-page .rp-product-description :is(h2, h3) {
    font-size: var(--rp-type-heading-size, 20px) !important;
    font-weight: var(--rp-type-heading-weight, 700) !important;
}

html body.single-product .rp-single-product-page .rp-product-tabs-nav a:is(.is-active, :not(.is-active)) {
    font-size: var(--rp-type-navigation-size, 15px) !important;
    font-weight: var(--rp-type-navigation-weight, 500) !important;
}

html body.single-product .rp-single-product-page .rp-product-tabs-nav a.is-active:is(.is-active) {
    font-weight: var(--rp-type-navigation-weight, 500) !important;
}

html body.single-product .rp-single-product-page .rp-product-buybox-card p.stock {
    font-size: var(--rp-type-helper-size, 12px) !important;
    font-weight: var(--rp-type-helper-weight, 300) !important;
}

html body.single-product .rp-single-product-page .rp-product-buybox-card p.stock.out-of-stock {
    font-size: var(--rp-type-helper-size, 12px) !important;
    font-weight: var(--rp-type-helper-weight, 300) !important;
}

body.single-product .rp-single-product-page .rp-product-buybox-discount > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center;
    font-size: var(--rp-type-meta-size, 12px) !important;
    font-weight: var(--rp-type-meta-weight, 400) !important;
}

body.single-product .rp-single-product-page .rp-buybox-price-before .amount {
    font-size: var(--rp-type-price_before_discount-size, 12px) !important;
    font-weight: var(--rp-type-price_before_discount-weight, 400) !important;
}

body.single-product .rp-product-price-content .rp-wct-contact-price__label {
    font-size: var(--rp-type-empty_price-size, 14px) !important;
    font-weight: var(--rp-type-empty_price-weight, 400) !important;
}

body.single-product .rp-product-price-content .rp-wct-contact-price__phone > span:last-child {
    font-size: var(--rp-type-meta-size, 12px) !important;
    font-weight: var(--rp-type-meta-weight, 400) !important;
}

/* Keep the configured gallery frame intact; place tools in its outside gutter. */
body.single-product .rp-single-product-page .rp-product-custom-gallery {
    position: relative !important;
    display: block !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-action-rail {
    position: absolute !important;
    top: 0 !important;
    right: -50px !important;
    left: auto !important;
    width: 40px !important;
    z-index: 8 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    padding-top: 14px !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-action-rail :is(.rp-single-product-gallery-favorite, .rp-product-gallery-share, .rp-product-gallery-reviews-link) {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 6px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--rp-theme-general-text, var(--rp-text)) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-action-rail .rp-single-product-gallery-favorite.is-active {
    color: var(--rp-theme-general-accent, var(--rp-accent)) !important;
}

body.single-product .rp-single-product-page .rp-product-gallery-reviews-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.single-product .rp-single-product-page .rp-product-gallery-action-rail :is(button, a):focus-visible {
    outline: 2px solid var(--rp-theme-general-accent, var(--rp-accent));
    outline-offset: 2px;
}

@media (max-width: 900px) {
    body.single-product .rp-single-product-page .rp-product-gallery-action-rail {
        gap: 8px !important;
        padding-top: 8px !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-progress {
        grid-row: 2 !important;
        justify-self: center !important;
        width: max-content !important;
        max-width: calc(100% - 16px) !important;
        height: 20px !important;
        padding: 0 8px !important;
        margin: 8px 0 10px !important;
        gap: 5px !important;
        border-radius: 999px !important;
        background: var(--rp-theme-general-heading, #1b2430) !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-progress-item,
    body.single-product .rp-single-product-page .rp-product-gallery-progress-item.is-active {
        flex: 0 0 6px !important;
        width: 6px !important;
        min-width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        background: var(--rp-theme-general-surface, #fff) !important;
        opacity: .8 !important;
    }

    body.single-product .rp-single-product-page .rp-product-gallery-progress-item.is-active {
        opacity: 1 !important;
        transform: scale(1.15) !important;
    }
}

/* Wide purchase box keeps the discount at the upper-left of its meta row. */
@media (min-width: 1101px) {
    html body.single-product .rp-product-buybox .rp-product-price-meta {
        direction: ltr !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box [data-rp-price-discount] {
        position: static !important;
        inset: auto !important;
        margin: 0 !important;
        order: 0 !important;
        align-self: flex-start !important;
    }
    html body.single-product .rp-product-buybox .rp-product-buybox-countdown {
        direction: rtl;
        order: 1;
    }
}

/* Tablet purchase badge sits beside the currency, not in the top corner. */
@media (min-width: 769px) and (max-width: 1100px) {
    html body.single-product .rp-product-buybox .rp-product-price-box:has([data-rp-price-discount]:not([hidden])) {
        display: grid !important;
        grid-template-columns: max-content minmax(0, 1fr) !important;
        column-gap: 8px !important;
        align-items: center !important;
        direction: ltr !important;
        padding-left: 0 !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:has([data-rp-price-discount]:not([hidden])) .rp-product-price-meta {
        display: contents !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:has([data-rp-price-discount]:not([hidden])) .rp-product-buybox-discount {
        position: static !important;
        inset: auto !important;
        margin: 0 !important;
        grid-column: 1 !important;
        grid-row: 2 !important;
        align-self: center !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:has([data-rp-price-discount]:not([hidden])) .rp-product-price-content {
        grid-column: 2 !important;
        grid-row: 2 !important;
        min-width: 0 !important;
        direction: rtl !important;
        /* Symmetric spacing keeps the badge centered on the actual price,
           rather than on an asymmetrically margined grid item. */
        margin-block: 18px !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:has([data-rp-price-discount]:not([hidden])) .rp-product-buybox-countdown {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        justify-self: end;
    }
}

/* Keep the discount beside the old price and above the currency. */
@media (min-width: 1270px) {
    html body.single-product .rp-product-buybox .rp-product-price-box:is(.is-static-price, .has-selected-variation):has(.rp-buybox-price-before):has([data-rp-price-discount]:not([hidden])) {
        display: grid !important;
        grid-template-columns: max-content max-content minmax(0, 1fr) !important;
        direction: ltr !important;
        column-gap: 6px !important;
        row-gap: 8px !important;
        align-items: center !important;
        padding-left: 0 !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:is(.is-static-price, .has-selected-variation):has(.rp-buybox-price-before):has([data-rp-price-discount]:not([hidden])) :is(.rp-product-price-meta, .rp-product-price-content, .rp-buybox-selected-price-row) {
        display: contents !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:is(.is-static-price, .has-selected-variation):has(.rp-buybox-price-before):has([data-rp-price-discount]:not([hidden])) .rp-product-buybox-discount {
        grid-area: 2 / 1 !important;
        justify-self: end !important;
        align-self: center !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:is(.is-static-price, .has-selected-variation):has(.rp-buybox-price-before):has([data-rp-price-discount]:not([hidden])) .rp-buybox-price-before {
        grid-area: 2 / 2 !important;
        justify-self: start !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:is(.is-static-price, .has-selected-variation):has(.rp-buybox-price-before):has([data-rp-price-discount]:not([hidden])) .rp-buybox-price-final {
        grid-area: 3 / 2 !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:is(.is-static-price, .has-selected-variation):has(.rp-buybox-price-before):has([data-rp-price-discount]:not([hidden])) .rp-buybox-price-currency {
        grid-area: 3 / 1 !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:is(.is-static-price, .has-selected-variation):has(.rp-buybox-price-before):has([data-rp-price-discount]:not([hidden])) .rp-product-buybox-countdown {
        grid-area: 1 / 3 !important;
        justify-self: end !important;
    }
}

/* Separate the first question from the product FAQ heading. */
body.single-product .rp-product-content-faq .rp-content-faq__items {
    margin-top: 18px;
}

/* Give both disclosure headers the same edge inset and icon axis. */
@media (max-width: 900px) {
    html body.single-product .rp-single-product-page :is(.rp-product-reviews-panel, .rp-product-content-faq) {
        padding-inline: 16px !important;
    }
}

/* Keep the reviews and FAQ aligned with the product cards above them. */
@media (max-width: 767px) {
    body.single-product .rp-single-product-page .rp-product-reviews-panel[data-rp-review-expanded="0"] {
        padding: 0 16px !important;
        gap: 0 !important;
    }

    body.single-product .rp-product-reviews-panel[data-rp-review-expanded="0"] > .rp-product-reviews-mobile-toggle {
        min-height: 48px !important;
        padding-block: 0 !important;
    }
}

@media (min-width: 901px) {
    body.single-product .rp-single-product-page .rp-product-reviews-panel,
    body.single-product .rp-single-product-page .rp-product-content-faq {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        margin-inline: auto !important;
        box-sizing: border-box !important;
    }
}
/* Selected attributes already identify the variation; omit its redundant buybox description. */
body.single-product .rp-product-buybox form.cart.variations_form .woocommerce-variation-description {
    display: none !important;
}

/* Stock failure has a semantic red color independent of the configurable accent. */
html body.single-product .rp-single-product-page .rp-product-buybox-card.has-backorder-label {
    position: relative !important;
    padding-top: 44px !important;
}
body.single-product .rp-product-buybox .rp-product-backorder-label {
    position: absolute;
    top: 10px;
    right: 12px;
    padding: 2px 9px;
    border-radius: 6px;
    color: var(--rp-backorder-label-text, #fff) !important;
    background: var(--rp-backorder-label-background, #ff8c00);
}
body.single-product .rp-product-buybox .rp-product-backorder-label[hidden] {
    display: none !important;
}
body.single-product .rp-product-buybox .rp-product-low-stock-warning {
    color: var(--rp-theme-general-text, var(--rp-text)) !important;
    flex-basis: 100%;
    width: 100%;
}
body.single-product .rp-product-buybox [data-rp-variation-low-stock-warning][hidden] {
    display: none !important;
}
body.single-product .rp-product-buybox .rp-product-purchase-status[data-purchase-state="stock"],
body.single-product .rp-product-buybox .rp-variation-purchase-status[data-purchase-state="stock"] {
    color: var(--rp-stock-unavailable-color, var(--wc-red, #dc2626)) !important;
}

/* Contact-only variations retain selectors but expose no purchase controls. */
body.single-product .rp-product-buybox .rp-variation-purchase-status[hidden],
body.single-product .rp-product-buybox form.cart.variations_form.rp-variation-unavailable .single_variation_wrap .woocommerce-variation-add-to-cart,
body.single-product .rp-product-buybox form.cart.variations_form.rp-variation-unavailable .woocommerce-variation-add-to-cart,
body.single-product [data-rp-mobile-sticky-buy].rp-variation-unavailable,
body.single-product .rp-product-buybox form.cart.variations_form.rp-variation-contact-only .single_variation_wrap .woocommerce-variation-add-to-cart,
body.single-product .rp-product-buybox form.cart.variations_form.rp-variation-contact-only .woocommerce-variation-add-to-cart,
body.single-product [data-rp-mobile-sticky-buy].rp-variation-contact-only {
    display: none !important;
}
/* Stack the old price according to the buybox width, not the viewport width. */
@media (min-width: 901px) {
    body.single-product .rp-product-price-box {
        container-type: inline-size;
        container-name: rp-buybox-price;
    }
    @container rp-buybox-price (max-width: 360px) {
        html body.single-product .rp-product-price-box:is(.is-static-price, .has-selected-variation) .rp-buybox-selected-price-row {
            display: grid !important;
            grid-template-columns: max-content max-content !important;
            grid-template-areas: 'before .' 'final currency' !important;
            row-gap: 4px !important;
            min-width: 0 !important;
        }
        html body.single-product .rp-product-price-box:is(.is-static-price, .has-selected-variation) .rp-buybox-selected-price-row > .rp-buybox-price-before {
            grid-area: before !important;
            justify-content: flex-end !important;
            text-align: left !important;
        }
        html body.single-product .rp-product-price-box:is(.is-static-price, .has-selected-variation) .rp-buybox-selected-price-row > .rp-buybox-price-final {
            grid-area: final !important;
        }
        html body.single-product .rp-product-price-box:is(.is-static-price, .has-selected-variation) .rp-buybox-selected-price-row > .rp-buybox-price-currency {
            grid-area: currency !important;
        }
    }
}
/* The custom buybox separates the number and symbol into grid items. Match
   their visual side to WooCommerce's currency-position option. */
html body.single-product .rp-product-price-box:is(.is-static-price, .has-selected-variation) .rp-buybox-selected-price-row.rp-currency-pos-right {
    direction: ltr !important;
}
@media (min-width: 901px) {
    html body.single-product .rp-product-buybox .rp-product-price-box:is(.is-static-price, .has-selected-variation):has(.rp-buybox-price-before):has([data-rp-price-discount]:not([hidden])) .rp-buybox-selected-price-row.rp-currency-pos-right .rp-buybox-price-final {
        grid-area: 3 / 1 !important;
    }
    html body.single-product .rp-product-buybox .rp-product-price-box:is(.is-static-price, .has-selected-variation):has(.rp-buybox-price-before):has([data-rp-price-discount]:not([hidden])) .rp-buybox-selected-price-row.rp-currency-pos-right .rp-buybox-price-currency {
        grid-area: 3 / 2 !important;
    }
}

/* No logo image: collapse the reserved brand column, retaining text metadata. */
@keyframes rp-mobile-buy-enter {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    html body.single-product .rp-mobile-product-sticky-buy {
        /* Share the Mobile purchase panel at the inclusive 768px boundary. */
        display: flex !important;
        animation: rp-mobile-buy-enter 420ms cubic-bezier(.22, .61, .36, 1);
        transition: transform 420ms cubic-bezier(.22, .61, .36, 1), visibility 0s;
        border-radius: 14px 14px 0 0 !important;
    }
    html body.single-product .rp-mobile-product-sticky-buy::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: -2px;
        left: 0;
        height: 3px;
        background-color: inherit;
        pointer-events: none;
    }
    html body.single-product .rp-single-product-page .rp-product-buybox {
        display: none !important;
    }
    html body.single-product.rp-search-open.rp-search-panel-visible .rp-single-product-inner .rp-mobile-product-sticky-buy {
        opacity: 1 !important;
        /* Travel past the bottom navigation and shadow before becoming hidden. */
        transform: translateY(calc(100% + 100px + env(safe-area-inset-bottom))) !important;
        transition: transform 420ms cubic-bezier(.22, .61, .36, 1), visibility 0s 420ms;
    }
    html body.single-product .rp-footer-mobile-links.rp-mobile-bottom-bar {
        box-shadow: none !important;
        border-top: 0 !important;
    }
    html body.single-product:is(.rp-theme-color-preset-dark, .rp-theme-dark, .is-dark) .rp-mobile-product-sticky-buy,
    html:is([data-rp-user-theme="dark"], [data-rp-theme-mode="dark"], [data-theme="dark"]) body.single-product .rp-mobile-product-sticky-buy {
        box-shadow: 0 8px 38px 6px rgb(0 0 0 / 65%) !important;
    }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    html body.single-product .rp-mobile-product-sticky-buy,
    html body.single-product.rp-search-open.rp-search-panel-visible .rp-single-product-inner .rp-mobile-product-sticky-buy { animation: none; transition: none; }
}
/* Shared service carousel geometry at every viewport width. */
html body.single-product .rp-single-product-page .rp-product-service-strip {
    scrollbar-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: safe center !important;
    align-items: stretch !important;
    gap: 12px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    direction: rtl;
}
html body.single-product .rp-single-product-page .rp-product-service-strip > .rp-product-service-item {
    flex: 0 0 160px !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: none !important;
    scroll-snap-align: start;
}
@media (min-width: 1025px) {
    html body.single-product .rp-single-product-page .rp-product-service-strip {
        justify-content: flex-start !important;
    }
}
html body.single-product .rp-single-product-page .rp-product-service-strip::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
@media (max-width: 700px) {
    html body.single-product .rp-single-product-page .rp-product-service-strip > .rp-product-service-item {
        flex: 0 0 calc((100% - ((var(--rp-service-mobile-count, 3) - 1) * 12px)) / var(--rp-service-mobile-count, 3)) !important;
        width: calc((100% - ((var(--rp-service-mobile-count, 3) - 1) * 12px)) / var(--rp-service-mobile-count, 3)) !important;
        min-width: 0 !important;
    }
}
html body.single-product .rp-single-product-page .rp-product-under-title:not(:has(.rp-product-brand-logo--has-image)) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "sku" "meta" !important;
    column-gap: 0 !important;
}

/* The inclusive two-column boundary owns purchase visibility as well. */
@media (min-width: 768px) and (max-width: 1269px) {
    html body.single-product .rp-single-product-page .rp-product-buybox {
        display: block !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    html body.single-product .rp-single-product-page .rp-single-product-inner > .rp-mobile-product-sticky-buy {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        animation: none !important;
    }
}

@media (max-width: 767px) {
    html body.single-product .rp-product-review-sheet-body.rp-product-review-form {
        width: 100% !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    html body.single-product .rp-product-review-sheet-body.rp-product-review-form form.comment-form {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    html body.single-product .rp-product-review-sheet-body.rp-product-review-form form.comment-form .form-submit,
    html body.single-product .rp-product-review-sheet-body.rp-product-review-form form.comment-form .comment-form-rating {
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
    }
    html body.single-product .rp-product-review-sheet-body.rp-product-review-form .form-submit .submit { width: 100% !important; }
}

.rp-product-review-reply { display: none !important; }
@media (max-width: 767px) {
    body.single-product #reviews .rp-product-review-reply {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: auto !important;
        min-width: 0 !important;
        min-height: 22px !important;
        margin-top: 8px;
        padding: 0 10px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #f6f8fa !important;
        color: #168a50 !important;
        font-size: 9px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
        cursor: pointer;
    }
    :is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product #reviews .rp-product-review-reply {
        background: #292e36 !important;
        color: #4cda9b !important;
    }
    body.single-product #reviews .rp-mobile-comment-copy__actions > .rp-product-review-reply {
        order: 4;
        flex: 0 0 auto;
        margin: 0 !important;
    }
    body.single-product #reviews .rp-mobile-comment-copy__actions {
        justify-content: flex-end !important;
    }
    body.single-product #reviews .rp-mobile-comment-copy__actions > .rp-mobile-comment-copy__toggle {
        margin-inline-start: 0;
    }
}
@media (max-width: 767px) {
    body.single-product .rp-product-review-overlay.is-reply .comment-form-rating { display: none !important; }
}

@media (max-width: 767px) {
    html body.single-product .rp-single-product-page[data-rp-mobile-sections-mode="inline"] #rp-product-specs,
    html body.single-product .rp-single-product-page[data-rp-mobile-sections-mode="inline"] #reviews.rp-product-reviews-panel {
        margin-top: 30px !important;
    }
}

@media (max-width: 767px) {
    html body.single-product .rp-product-review-sheet .comment-form-rating p.stars {
        text-align: center !important;
    }
}

@media (max-width: 767px) {
    html body.single-product .rp-product-review-sheet-body.rp-product-review-form .form-submit .submit:disabled,
    html body.single-product .rp-product-review-sheet-body.rp-product-review-form .form-submit .submit:disabled:is(:hover, :focus-visible) {
        border-color: var(--rp-theme-general-border, #d7dde4) !important;
        background: var(--rp-theme-general-surface-alt, #f7f8fa) !important;
        color: #929daa !important;
        cursor: not-allowed !important;
        opacity: .72 !important;
        transform: none !important;
        box-shadow: none !important;
    }
    html :is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-product-review-sheet-body.rp-product-review-form .form-submit .submit:disabled {
        color: #87919e !important;
    }
    html body.single-product .rp-product-review-sheet-body.rp-product-review-form .form-submit .submit:not(:disabled),
    html body.single-product .rp-product-review-sheet-body.rp-product-review-form .form-submit .submit:not(:disabled):is(:hover, :focus-visible) {
        border-color: var(--rp-comment-like-color, #168a50) !important;
        background: var(--rp-comment-like-color, #168a50) !important;
        color: #fff !important;
        cursor: pointer !important;
        opacity: 1 !important;
        transform: none !important;
        box-shadow: none !important;
    }
    html :is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-product-review-sheet-body.rp-product-review-form .form-submit .submit:not(:disabled):not(:hover):not(:focus-visible) {
        border-color: var(--rp-theme-general-border, #515b68) !important;
        background: var(--rp-theme-general-surface-alt, #202731) !important;
        color: var(--rp-theme-general-text, #e5e7eb) !important;
    }
    html :is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme="dark"] body, html[data-rp-theme-mode="dark"] body).single-product .rp-product-review-sheet-body.rp-product-review-form .form-submit .submit:not(:disabled):is(:hover, :focus-visible) {
        border-color: var(--rp-comment-like-color, #168a50) !important;
        background: var(--rp-comment-like-color, #168a50) !important;
        color: #fff !important;
    }
}
/* Keep the landscape-iPad Need width independent from the narrower tablet. */
@media (min-width: 1024px) and (max-width: 1100px) {
    body.single-product .rp-single-product-page .rp-product-side-recommend {
        width: min(100%, var(--rp-product-need-column-width-landscape, var(--rp-product-need-column-width-tablet, 330px))) !important;
        max-width: var(--rp-product-need-column-width-landscape, var(--rp-product-need-column-width-tablet, 330px)) !important;
    }
}

/* Detail expansion actions match the desktop review submit button. */
html body.single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__toggle {
  min-height: 32px !important;
  min-width: 96px !important;
  padding: 0 14px !important;
  border: 1px solid #9ca3af !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #25313d !important;
  font-size: var(--rp-type-button-size, 13.5px) !important;
  font-weight: var(--rp-type-button-weight, 400) !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
html body.single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__toggle:is(:hover, :focus-visible) {
  background: #f3f4f6 !important;
  border-color: #6b7280 !important;
  box-shadow: none !important;
  transform: none !important;
}
html :is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme=dark] body, html[data-rp-theme-mode=dark] body).single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__toggle {
  background: transparent !important;
  border-color: #515b68 !important;
  color: #e5e7eb !important;
}

html :is(body.rp-theme-color-preset-dark, body.rp-theme-dark, body.is-dark, html[data-rp-user-theme=dark] body, html[data-rp-theme-mode=dark] body).single-product .rp-single-product-page #rp-product-specs .rp-product-detail-clamp__toggle:is(:hover, :focus-visible) {
  background: #202731 !important;
  border-color: #778392 !important;
  color: #fff !important;
}
@media (max-width:767px) {
    body.single-product .rp-single-product-inner { display:flex;flex-direction:column; }
    body.single-product .rp-single-product-inner > .rp-product-service-strip { order:10; }
    body.single-product .rp-single-product-inner > * { min-width:0; }
}
