/* ==========================================================================
   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);
}

.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: 12px !important;
        font-weight: 900 !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) 240px !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;
    }
}


/* 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;
}

.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;
    transform: translate(-50%, -50%) !important;
    border: 2px solid #6e7881 !important;
    border-radius: 3px !important;
}

.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);
}

@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;
        opacity: 1 !important;
        visibility: visible !important;
    }
}


/* 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;
}

.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;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(4px) !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 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.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%) !important;
}

.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("../../images/round-navigate-next-c-os-200574.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;
    transform: translateY(-50%) rotate(180deg) !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 {
    opacity: 0 !important;
    visibility: hidden !important;
}

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

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 {
    opacity: 1 !important;
    visibility: visible !important;
}

body.single-product .rp-product-gallery-lightbox-prev {
    left: 18px !important;
    right: auto !important;
    transform: translateY(-50%) rotate(180deg) !important;
    background-image: url("../../images/round-navigate-next-c-os-200574.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;
    transform: translateY(-50%) !important;
    background-image: url("../../images/round-navigate-next-c-os-200574.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 {
    opacity: 0 !important;
    visibility: hidden !important;
}

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 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

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

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

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;
    opacity: .74 !important;
}

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

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 {
    opacity: 0 !important;
    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 {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}


/* 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 {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(.92) !important;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease !important;
}

.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 {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
}

.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) !important;
}

.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;
    transform: translate(-50%, -50%) !important;
    border: 2px solid #6e7881 !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
}

.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 .rp-product-buybox form.cart.is-rp-ajax-adding {
    opacity: .72 !important;
    pointer-events: none !important;
}

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

body.single-product .rp-product-buybox form.cart .single_add_to_cart_button.is-loading::after,
body.single-product .rp-product-buybox 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: #fff !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 !important;
}

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) !important;
}


/* 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 {
    width: 64px !important;
    min-height: 64px !important;
    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;
}

.rp-single-product-page .rp-product-brand-logo-img {
    width: 64px !important;
    max-width: 64px !important;
    height: auto !important;
    max-height: 64px !important;
    object-fit: contain !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-brand-logo,
    .rp-single-product-page .rp-product-brand-logo-img {
        width: 52px !important;
        max-width: 52px !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;
    width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    justify-self: end !important;
    align-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rp-single-product-page .rp-product-brand-logo-img {
    width: 64px !important;
    max-width: 64px !important;
    height: auto !important;
    max-height: 64px !important;
    object-fit: contain !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;
    }

    .rp-single-product-page .rp-product-brand-logo {
        width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
    }

    .rp-single-product-page .rp-product-brand-logo-img {
        width: 52px !important;
        max-width: 52px !important;
        max-height: 52px !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: 900 !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: 12px !important;
    font-weight: 600 !important;
    opacity: 1 !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: 13px !important;
    font-weight: 600 !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: 13px !important;
    font-weight: 600 !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: 13px !important;
    font-weight: 600 !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: 13px !important;
    font-weight: 600 !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: 20px !important;
    font-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: 20px !important;
    font-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: 13px !important;
    font-weight: 600 !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: 13px !important;
    font-weight: 600 !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: 30px !important;
    font-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: 30px !important;
    font-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:hover {
    color: #ff7b4a !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: 13px !important;
    font-weight: 600 !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: 13px !important;
    font-weight: 600 !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: 30px !important;
    font-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: 30px !important;
    font-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;
}

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 del,
body.single-product .rp-product-price-box.is-variable-awaiting-choice .rp-product-price-content bdi,
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: 0 !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 {
    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: 20px !important;
    font-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;
        scroll-snap-type: x mandatory !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 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: 250px !important;
}

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 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: 18px !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 0 8px !important;
    color: #f5a400 !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: 950 !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;
}

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 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: 12px !important;
    font-weight: 850 !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 {
    border: 1px solid #fecaca !important;
    background: #fef2f2 !important;
    color: #b91c1c !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;
    }

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

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

    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 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;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    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: 12px !important;
        font-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: 18px !important;
        font-weight: 900 !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;
    }

    body.single-product .rp-mobile-sticky-cart-spinner {
        display: none !important;
        width: 16px !important;
        height: 16px !important;
        border: 2px solid rgba(255,255,255,.45) !important;
        border-top-color: #fff !important;
        border-radius: 999px !important;
        animation: rp-mobile-sticky-spin .75s linear infinite !important;
    }

    body.single-product .rp-mobile-product-sticky-cart-btn.is-loading .rp-mobile-sticky-cart-spinner {
        display: inline-block !important;
    }

    body.single-product .rp-mobile-product-sticky-cart-btn.is-loading .rp-mobile-sticky-cart-text {
        opacity: .78 !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: 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: 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-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: 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-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: 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;
    scroll-snap-type: x mandatory !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-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: 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: 20px !important;
    font-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;
  }
}


/* 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 {
  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 {
  min-height: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #edf0f3;
  flex: 0 0 auto;
}

.rp-product-section-modal__tab {
  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: none;
}

.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%) !important;
  transition: transform .28s cubic-bezier(.2,.8,.2,1) !important;
}

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

.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%) !important;
    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;
  }

  .rp-single-product-page .rp-product-brand-logo {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    display: none !important;
  }
}


/* mobile product brand logo size restore */
@media (max-width: 900px) {
  .rp-single-product-page .rp-product-brand-logo {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    display: inline-flex !important;
  }
}


/* mobile product brand logo + SKU value only */
@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;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !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-brand-logo img,
  body.single-product .rp-single-product-page .rp-product-brand-logo-img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
    display: block !important;
  }

  body.single-product .rp-single-product-page .rp-product-sku-line {
    display: flex !important;
    align-items: center !important;
    gap: 0 !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: none !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;
  }

  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;
    opacity: 1 !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;
}

/* 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;
}

/* 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: #ff7531 !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: #ff7531 !important;
  background-color: #ff7531 !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-accent: #ff7531;
  --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: #ff7531 !important;
  background-color: #ff7531 !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: #ff7531 !important;
    background-color: #ff7531 !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: #00c99b !important;
    background-color: #00c99b !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;
}

.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(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;
    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;
}

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: 12px !important;
        font-weight: 500 !important;
        text-align: right !important;
    }
}
.rp-single-product-page .rp-product-brand-logo-img {
    width: 44px !important;
    max-width: 44px !important;
    height: auto !important;
    max-height: 64px !important;
    object-fit: contain !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;
    }
}

/* 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: #ef3340 !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-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;
    }
}
