/* =========================================================================
   SR Docharkh — Design Refresh (2026-11)

   Loaded after style.css (see hello_elementor_child_scripts in functions.php).
   style.css has grown by many layered overrides, a lot of them with
   !important, so the rules here use higher-specificity selectors and
   !important on purpose. Every section is self-contained: deleting this
   file restores the previous look.

    1. Tokens          5. Product page          9. Cart, checkout, account,
    2. Header badges   6. Homepage                 page titles, 404
    3. Product cards   7. Shop toolbar         10. Readability and tap areas
    4. Mobile list     8. Contact page         11. Focus and small fixes
   12. Store polish   13. Brand palette unification
   ========================================================================= */

/* 1. Tokens --------------------------------------------------------------- */
:root {
    --srr-navy: #0f172a;
    --srr-ink: #1e293b;
    --srr-text: #334155;
    --srr-muted: #475569;
    --srr-subtle: #64748b;
    --srr-line: #e2e8f0;
    --srr-soft: #f1f5f9;
    --srr-bg: #f8fafc;
    --srr-gold: #c9a46b;
    --srr-gold-ink: #8a6a3a;
    --srr-gold-soft: #fbf6ec;
    --srr-gold-line: #f0e2c6;
    --srr-green: #047857;
    --srr-red: #b91c1c;
    --srr-radius: 16px;
    --srr-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 20px rgba(15, 23, 42, .06);
    --srr-shadow-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 14px 32px rgba(15, 23, 42, .10);

    /* Keep canonical --sr-* tokens synchronized with the refresh palette */
    --sr-bg: #f8fafc;
    --sr-border: #e2e8f0;
    --sr-gold: #c9a46b;
    --sr-gold-dark: #8a6a3a;
    --sr-gold-light: #fbf6ec;
    --sr-success: #047857;
    --sr-danger: #b91c1c;
}

/* 2. Header and bottom-nav cart badges ------------------------------------
   Hidden while the cart is empty; the bottom-nav badge sits on the icon's
   corner instead of covering it. */
html body .sr-cart-badge.is-empty,
html body .sr-mbn-badge.is-empty {
    display: none !important;
}

html body .sr-mbn-cart-wrap {
    position: relative !important;
}

html body .sr-mbn-badge {
    position: absolute !important;
    top: -7px !important;
    left: -11px !important;
    right: auto !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    border: 2px solid #fff !important;
    background: var(--srr-gold) !important;
    color: var(--srr-navy) !important;
    font-style: normal !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 14px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* 3. Product cards (shop, categories, related products, home carousel) ---- */
html body ul.products li.product.pcard {
    background: #fff !important;
    border: 1px solid var(--srr-line) !important;
    border-radius: var(--srr-radius) !important;
    box-shadow: var(--srr-shadow) !important;
    overflow: hidden !important;
    transition: box-shadow .2s ease, transform .2s ease !important;
}

@media (hover: hover) {
    html body ul.products li.product.pcard:hover {
        box-shadow: var(--srr-shadow-hover) !important;
        transform: translateY(-2px) !important;
    }
}

html body ul.products li.product.pcard .pcard-media {
    background: var(--srr-bg) !important;
}

html body ul.products li.product.pcard .pcard-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 14px 16px 16px !important;
}

html body ul.products li.product.pcard .pcard-badges .badge {
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    padding: 3px 10px !important;
    white-space: nowrap !important;
}

html body ul.products li.product.pcard .pcard-brand {
    margin: 0 !important;
    font-size: 12.5px !important;
    color: var(--srr-subtle) !important;
}

html body ul.products li.product.pcard .pcard-brand .pcard-class.nick {
    font-size: 12.5px !important;
    color: var(--srr-gold-ink) !important;
}

html body ul.products li.product.pcard .pcard-title {
    margin: 0 !important;
    height: auto !important;
    min-height: 3.3em !important;
    max-height: none !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

html body ul.products li.product.pcard .pcard-title a {
    display: inline !important;
    height: auto !important;
    max-height: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.65 !important;
    color: var(--srr-navy) !important;
    -webkit-line-clamp: unset !important;
}

html body ul.products li.product.pcard .pcard-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 6px !important;
    margin: 0 !important;
}

html body ul.products li.product.pcard .pcard-chips span {
    padding: 3px 10px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--srr-soft) !important;
    color: var(--srr-text) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Prices: one row per price (label right, amount left) so long amounts
   never overflow the card, on any screen width. */
html body ul.products li.product.pcard .pcard-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px dashed var(--srr-line) !important;
}

html body ul.products li.product.pcard .pcard-price-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
}

html body ul.products li.product.pcard .pcard-price-col,
html body ul.products li.product.pcard .pcard-price:not(.has-sale) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 2px 8px !important;
    width: 100% !important;
    min-width: 0 !important;
}

html body ul.products li.product.pcard .pcard-price-label {
    margin: 0 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--srr-subtle) !important;
    white-space: nowrap !important;
}

html body ul.products li.product.pcard .pcard-price-label.pcard-sale-label {
    color: var(--srr-green) !important;
    font-weight: 700 !important;
}

html body ul.products li.product.pcard .pcard-price-values {
    margin: 0 !important;
    min-width: 0 !important;
    text-align: left !important;
}

html body ul.products li.product.pcard .pcard-price-values del,
html body ul.products li.product.pcard .pcard-price-values del .woocommerce-Price-amount {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: var(--srr-subtle) !important;
}

html body ul.products li.product.pcard .pcard-price-values ins,
html body ul.products li.product.pcard .pcard-price-values ins .woocommerce-Price-amount,
html body ul.products li.product.pcard .pcard-price:not(.has-sale) .pcard-price-values .woocommerce-Price-amount {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--srr-navy) !important;
    text-decoration: none !important;
    background: none !important;
}

html body ul.products li.product.pcard .pcard-price-values ins .woocommerce-Price-amount {
    color: var(--srr-green) !important;
}

html body ul.products li.product.pcard .pcard-price-values .woocommerce-Price-currencySymbol {
    margin-inline-start: 3px !important;
    font-size: max(12px, .72em) !important;
    font-weight: 600 !important;
    color: inherit !important;
}

html body ul.products li.product.pcard .pcard-price-values.font-outofstock .sr-badge-out-text {
    font-size: 13px !important;
    color: var(--srr-red) !important;
}

html body ul.products li.product.pcard .pcard-inst {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    white-space: normal !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid var(--srr-gold-line) !important;
    border-radius: 12px !important;
    background: var(--srr-gold-soft) !important;
    color: #6b4f24 !important;
}

html body ul.products li.product.pcard .pcard-inst-top {
    font-size: 13px !important;
    color: #6b4f24 !important;
}

html body ul.products li.product.pcard .pcard-inst-top b {
    font-weight: 800 !important;
    color: #5a3f17 !important;
}

html body ul.products li.product.pcard .pcard-inst-note {
    font-size: 12px !important;
    color: #7a5c2e !important;
}

html body ul.products li.product.pcard .pcard-action {
    margin-top: auto !important;
}

html body ul.products li.product.pcard .pcard-btn {
    min-height: 44px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* 4. Phones: compact list cards in grids (not the homepage carousel) -------
   Image beside the details instead of a 530px-tall card per product. */
@media (max-width: 600px) {
    html body ul.products:not(.sr-garage-track) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard {
        position: relative !important;
        width: auto !important;
        margin: 0 !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-inner {
        display: grid !important;
        grid-template-columns: 106px minmax(0, 1fr) !important;
        align-items: stretch !important;
        height: 100% !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-media {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        padding: 30px 8px 8px !important;
        border-left: 1px solid var(--srr-line) !important;
        display: flex !important;
        align-items: center !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-img-link,
    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-media .sr-moto-img-wrap {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        padding: 0 !important;
        position: static !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-media .sr-moto-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        position: static !important;
        transform: none !important;
    }

    /* Narrow insets and padding so the longest badge ("٪۲۰٫۵ تخفیف نقدی")
       fits inside the 106px photo column instead of poking out of it. */
    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-badges {
        top: 6px !important;
        right: 4px !important;
        left: 4px !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-badges .badge {
        font-size: 11px !important;
        padding: 2px 5px !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-quick-btn,
    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-action,
    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-inst-note,
    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-chips span:nth-child(n+3) {
        display: none !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-body {
        gap: 7px !important;
        padding: 12px 12px 12px 14px !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-title {
        display: block !important;
        min-height: 0 !important;
        overflow: visible !important;
        -webkit-line-clamp: unset !important;
        font-size: 14.5px !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-title a {
        font-size: 14.5px !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-badges .badge {
        white-space: nowrap !important;
    }

    /* The whole card opens the product (the hidden button did the same). */
    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-title a::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-price {
        padding-top: 8px !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-price-values ins .woocommerce-Price-amount,
    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-price:not(.has-sale) .pcard-price-values .woocommerce-Price-amount {
        font-size: 15.5px !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-inst {
        padding: 6px 10px !important;
    }

    html body ul.products:not(.sr-garage-track) li.product.pcard .pcard-inst-top {
        font-size: 12.5px !important;
        white-space: nowrap !important;
    }
}

/* 5. Product page --------------------------------------------------------- */
/* WooCommerce's own "ناموجود" line repeats the badge right above it. */
html body.single-product .sr-prod-buy-box p.stock.out-of-stock {
    display: none !important;
}

html body.single-product .sr-buy-price-label {
    white-space: nowrap !important;
}

@media (max-width: 600px) {
    /* Price box: label on its own line, then the old and the cash price. */
    html body.single-product .sr-buy-price-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }

    html body.single-product .sr-buy-price-val {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
        width: 100% !important;
    }

    /* Installment plans as compact rows (term right, monthly amount left)
       instead of three tall cards. */
    html body.single-product .sr-buy-plans-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    html body.single-product .sr-buy-plans-grid .sr-plan-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        min-height: 0 !important;
        padding: 12px 14px !important;
        text-align: right !important;
    }

    html body.single-product .sr-buy-plans-grid .sr-plan-header,
    html body.single-product .sr-buy-plans-grid .sr-plan-amount {
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.single-product .sr-buy-plans-grid .sr-plan-term {
        font-size: 14px !important;
        font-weight: 800 !important;
    }

    html body.single-product .sr-buy-plans-grid .sr-plan-amount,
    html body.single-product .sr-buy-plans-grid .sr-plan-amount * {
        font-size: 13.5px !important;
        white-space: nowrap !important;
    }
}

/* Gallery thumbnails: up to four per row, each at most 84px and evenly
   spaced. (The base styles fix each item at 80px, which left 80px images
   floating in wide grid cells.) */
html body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 84px)) !important;
    justify-content: start !important;
    gap: 10px !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

html body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs li {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    float: none !important;
}

html body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs li img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    border: 1px solid var(--srr-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
}

/* Description tab: one centred reading column. Text sections were capped at
   700px and pushed to the right while photo and stat blocks used the full
   1144px, which left a wide empty band beside every text section. */
html body.single-product .sr-product-custom-desc > * {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 880px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Phones: the tab panels had 32px inner padding on top of the page gutter,
   which left the description only 281px of a 375px screen. */
@media (max-width: 600px) {
    html body.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel {
        padding: 20px 14px !important;
    }
}

/* WordPress turns the line breaks in the description HTML into <br> tags,
   which added an empty line above and below every photo caption. */
html body.single-product .sr-product-custom-desc .sr-showcase-media > br,
html body.single-product .sr-product-custom-desc .sr-img-caption br {
    display: none !important;
}

html body.single-product .sr-product-custom-desc .sr-showcase-media img {
    display: block !important;
    max-width: 100% !important;
    max-height: 560px !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain !important;
}

/* Desktop product layout (961px and wider): a larger gallery that stays in
   view while the details column scrolls, a tighter vertical rhythm in the
   details column, and the price, old price and discount kept together
   instead of spread across the whole box. */
@media (min-width: 961px) {
    html body.single-product .sr-product-main-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) !important;
        column-gap: 40px !important;
        align-items: stretch !important;
    }

    /* The sticky gallery box needs a column as tall as the details column. */
    html body.single-product .sr-product-gallery-col {
        align-self: stretch !important;
        height: auto !important;
    }

    html body.single-product .sr-gallery-sticky-box {
        position: sticky !important;
        /* Below the sticky site header, whose visible height changes as it
           compacts (sr-ui.js publishes it as --sr-hdr-offset). */
        top: calc(var(--sr-hdr-offset, 164px) + 20px) !important;
        transition: top .3s ease !important;
    }

    html body.single-product .sr-prod-meta-top {
        margin-bottom: 8px !important;
    }

    html body.single-product .sr-product-main-title {
        margin-bottom: 8px !important;
    }

    html body.single-product .sr-prod-meta-bar {
        margin-bottom: 0 !important;
    }

    html body.single-product .sr-product-summary-col > .sr-prod-divider {
        margin: 14px 0 !important;
    }

    /* Colour: label and swatches on one row. */
    html body.single-product .sr-product-colors-box {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 10px 16px !important;
        margin: 0 !important;
    }

    html body.single-product .sr-product-colors-box .sr-colors-heading {
        margin: 0 !important;
    }

    html body.single-product .sr-prod-buy-box {
        padding: 18px 20px !important;
    }

    html body.single-product .sr-buy-price-row {
        justify-content: flex-start !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px 16px !important;
        margin-bottom: 14px !important;
    }

    html body.single-product .sr-buy-price-val {
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px 14px !important;
        width: auto !important;
    }

    html body.single-product .sr-buy-price-val .sr-single-discount-tag {
        margin: 0 !important;
    }

    html body.single-product .sr-buy-plans-grid .sr-plan-card {
        min-width: 0 !important;
    }

    html body.single-product .sr-buy-plans-grid .sr-plan-amount {
        white-space: normal !important;
    }
}

/* Phones: on product pages the buy bar replaces the bottom navigation,
   so two fixed bars no longer take a quarter of the screen. */
@media (max-width: 1024px) {
    html body.single-product .sr-mobile-bottom-nav {
        display: none !important;
    }

    html body.single-product .sr-mobile-sticky-buy-bar {
        bottom: 0 !important;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    }

    html body .sr-mobile-sticky-buy-bar .sr-msbb-price del,
    html body .sr-mobile-sticky-buy-bar .sr-msbb-price del .woocommerce-Price-amount {
        font-size: 11.5px !important;
        font-weight: 500 !important;
        color: var(--srr-subtle) !important;
    }

    html body .sr-mobile-sticky-buy-bar .sr-msbb-price ins,
    html body .sr-mobile-sticky-buy-bar .sr-msbb-price ins .woocommerce-Price-amount {
        font-size: 13.5px !important;
        font-weight: 800 !important;
        color: var(--srr-green) !important;
        text-decoration: none !important;
        background: transparent !important;
    }

    html body .sr-mobile-sticky-buy-bar .sr-msbb-price:not(:has(ins)) .woocommerce-Price-amount {
        font-size: 13.5px !important;
        font-weight: 800 !important;
        color: var(--srr-navy) !important;
    }

    html body .sr-mobile-sticky-buy-bar .sr-msbb-oos-label {
        display: inline-block !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: var(--srr-red) !important;
    }
}

/* 6. Homepage ------------------------------------------------------------- */
/* Remove the empty grey band between the hero and the quick links. */
html body .sr-hero-cinematic-section {
    margin-bottom: 0 !important;
}

/* Brand names: an even grid instead of uneven wrapped pills. */
html body .sr-home-wrapper .brands {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

html body .sr-home-wrapper .brands > * {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
    text-align: center !important;
}

@media (min-width: 769px) {
    html body .sr-home-wrapper .brands {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}

/* "Garage" deals: one frame instead of a frame inside a frame on phones;
   keep nav buttons in side gutters on desktops so they never cover titles. */
@media (min-width: 769px) {
    html body .sr-garage-carousel-wrap {
        padding-inline: 24px !important;
    }

    html body .sr-garage-carousel-wrap .sr-garage-nav-btn {
        top: 132px !important;
        background: #ffffff !important;
        border: 1px solid var(--srr-line) !important;
        color: var(--srr-navy) !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, .18) !important;
    }

    html body .sr-garage-carousel-wrap .sr-garage-nav-btn:hover {
        background: var(--srr-gold) !important;
        border-color: var(--srr-gold) !important;
        color: var(--srr-navy) !important;
    }

    html body .sr-garage-carousel-wrap .sr-garage-nav-btn.prev {
        right: 2px !important;
    }

    html body .sr-garage-carousel-wrap .sr-garage-nav-btn.next {
        left: 2px !important;
    }
}

@media (max-width: 768px) {
    html body .sr-garage-container {
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* 7. Shop toolbar (phones) -------------------------------------------------
   One way to sort: the scrollable sort chips. The extra sort button goes. */
@media (max-width: 960px) {
    html body .mob-filterbar #mobSortBtn {
        display: none !important;
    }

    html body .mob-filterbar {
        display: flex !important;
    }

    html body .mob-filterbar #mobFilterBtn {
        flex: 1 1 100% !important;
        width: 100% !important;
        justify-content: center !important;
    }

    html body .shop-main-col .toolbar {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    html body .shop-main-col .toolbar::-webkit-scrollbar {
        display: none !important;
    }

    html body .shop-main-col .toolbar > * {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }
}

/* 8. Contact page: keep phone numbers in one piece ------------------------- */
html body .srr-nowrap {
    white-space: nowrap !important;
}

/* 9. Cart, checkout, account, page titles, 404 ------------------------------
   Page title for the cart, checkout, account and text pages (page.php).
   These pages had no heading at all, only empty space under the header. */
html body .sr-page-wrapper .sr-page-head {
    margin: 0 0 20px !important;
}

html body .sr-page-wrapper .sr-page-title {
    margin: 0 !important;
    font-size: clamp(21px, 2.2vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    color: var(--srr-navy) !important;
}

html body .sr-page-wrapper .sr-page-head + .woocommerce {
    margin-top: 0 !important;
}

/* The login card and the empty-cart card are centred: so is their title. */
html body.woocommerce-account:not(.logged-in) .sr-page-head,
html body .sr-container:has(.sr-empty-cart-card) > .sr-page-head {
    text-align: center !important;
}

@media (max-width: 600px) {
    html body .sr-page-wrapper {
        padding-top: 14px !important;
    }

    html body .sr-page-wrapper .sr-page-head {
        margin-bottom: 14px !important;
        padding: 0 4px !important;
    }
}

/* Phones: these pages nest two .sr-container blocks plus a padded
   .woocommerce box, which left the empty-cart card at about half the screen
   width. */
@media (max-width: 600px) {
    html body .sr-page-wrapper > .sr-container {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    html body .sr-page-wrapper .woocommerce {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body .sr-empty-cart-wrapper .sr-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body .sr-empty-cart-card {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }
}

/* Cart items on phones: one tidy card per product (thumbnail, name, price,
   quantity, subtotal) instead of WooCommerce's stacked table cells with
   mixed backgrounds. */
@media (max-width: 768px) {
    html body.woocommerce-cart table.shop_table.cart,
    html body.woocommerce-cart table.shop_table.cart tbody {
        display: block !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html body.woocommerce-cart table.shop_table.cart thead {
        display: none !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 84px minmax(0, 1fr) !important;
        column-gap: 12px !important;
        row-gap: 2px !important;
        margin: 0 0 12px !important;
        padding: 14px 14px 12px !important;
        border: 1px solid var(--srr-line) !important;
        border-radius: var(--srr-radius) !important;
        background: #fff !important;
        box-shadow: var(--srr-shadow) !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td {
        grid-column: 2 !important;
        width: auto !important;
        max-width: none !important;
        flex-wrap: wrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        min-width: 0 !important;
        padding: 5px 0 !important;
        border: 0 !important;
        background: transparent !important;
        text-align: right !important;
        font-size: 13.5px !important;
        color: var(--srr-ink) !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td::before {
        float: none !important;
        margin: 0 !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: var(--srr-subtle) !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail {
        grid-column: 1 !important;
        grid-row: 1 / span 4 !important;
        display: block !important;
        align-self: start !important;
        padding: 0 !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail::before,
    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name::before,
    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove::before {
        display: none !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img {
        width: 84px !important;
        height: 84px !important;
        max-width: none !important;
        object-fit: contain !important;
        border: 1px solid var(--srr-line) !important;
        border-radius: 12px !important;
        background: var(--srr-bg) !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove {
        position: absolute !important;
        top: 8px !important;
        left: 8px !important;
        width: auto !important;
        padding: 0 !important;
        z-index: 2 !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name {
        display: block !important;
        padding: 0 0 4px 38px !important;
        font-size: 14.5px !important;
        font-weight: 800 !important;
        line-height: 1.7 !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name a {
        color: var(--srr-navy) !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal {
        margin-top: 4px !important;
        padding-top: 8px !important;
        border-top: 1px dashed var(--srr-line) !important;
        font-weight: 800 !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity .quantity {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    html body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
    html body.woocommerce-cart .cart_totals .woocommerce-shipping-contents {
        font-size: 12.5px !important;
        font-weight: 500 !important;
        line-height: 1.8 !important;
        color: var(--srr-subtle) !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr:not(.cart_item) {
        display: block !important;
    }

    html body.woocommerce-cart table.shop_table.cart tr:not(.cart_item) td.actions {
        display: block !important;
        padding: 14px !important;
        border: 1px solid var(--srr-line) !important;
        border-radius: var(--srr-radius) !important;
        background: #fff !important;
    }
}

/* Cart on phones: a bigger "remove item" button, and the coupon field and
   its button on one row (the field was fixed at 200px, so the button
   dropped to a second line). */
@media (max-width: 768px) {
    html body.woocommerce-cart table.shop_table.cart a.remove {
        width: 34px !important;
        height: 34px !important;
        font-size: 19px !important;
    }

    html body.woocommerce-cart table.shop_table.cart td.actions .coupon {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    html body.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        float: none !important;
    }

    html body.woocommerce-cart table.shop_table.cart td.actions .coupon .button {
        flex: 0 0 auto !important;
        float: none !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Empty cart on desktops: the cart page grid (items | totals) kept its empty
   totals column, which pushed the "cart is empty" card off-centre. */
html body .sr-page-wrapper .woocommerce > .sr-empty-cart-wrapper {
    grid-column: 1 / -1 !important;
}

html body .sr-empty-cart-card {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 404 page on phones: the search field was squeezed to 135px next to its
   button, so its hint text was cut after two words. */
@media (max-width: 480px) {
    html body .sr-404-search-form {
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    html body .sr-404-search-form input[name="s"],
    html body .sr-404-search-form .btn {
        flex: 1 1 100% !important;
        justify-content: center !important;
    }
}

/* Title lines up with the page content, which has 20px side padding on
   tablets and desktops. */
@media (min-width: 601px) {
    html body .sr-page-wrapper .sr-page-head {
        padding: 0 20px !important;
    }
}

/* Right-to-left order for WooCommerce's two-column blocks: the first column
   (billing details on checkout, billing address in the account) belongs on
   the right. It was floated left, so the form started on the wrong side. */
html body .col2-set .col-1 {
    float: right !important;
}

html body .col2-set .col-2 {
    float: left !important;
}

/* Checkout on desktops: the form on the right and the order summary with the
   pay button beside it on the left, instead of one 1150px-wide column that
   was almost four screens tall. */
@media (min-width: 1025px) {
    html body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
        grid-template-rows: auto 1fr !important;
        column-gap: 32px !important;
        align-items: start !important;
    }

    html body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        width: auto !important;
        margin: 0 !important;
    }

    html body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details .col-1,
    html body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details .col-2 {
        float: none !important;
        width: 100% !important;
    }

    html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin-top: 0 !important;
    }

    html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: auto !important;
        min-width: 0 !important;
    }
}

/* 10. Readability floor and touch targets ----------------------------------
   Labels and badges that were drawn at 9–11.5px (found by an automatic check
   of every page) are raised to 12px; bottom-nav labels to 11.5px. */
html body small,
html body .logo small,
html body .range-labels,
html body .range-labels span,
html body .sr-cat-tile-count,
html body .sr-garage-badge,
html body .sr-badge-percent,
html body .sr-qf-label,
html body .sr-group-badge,
html body .sr-receipt-badge,
html body .sr-monthly-sub,
html body .sr-tstep-year,
html body .sr-btn-card-change,
html body .sr-empty-sub,
html body .sr-badge-pill,
html body .sr-pfn-chip-label,
html body .sr-co-vbadge {
    font-size: 12px !important;
}

html body .sr-plan-badge {
    font-size: 11.5px !important;
}

/* Full sentences that were set at 11.5px. */
html body .sr-p-inst-info > span,
html body .sr-contact-badge > span {
    font-size: 12.5px !important;
}

html body .sr-mbn-item span {
    font-size: 11.5px !important;
}

/* Small text links get a bigger tap area on phones and tablets. The negative
   margin cancels the padding, so nothing on the page moves. */
@media (max-width: 960px) {
    html body footer li > a,
    html body footer a[href^="tel:"],
    html body .ftr-bottom nav a,
    html body a.link-more,
    html body a.sr-reviews-jump-btn,
    html body a.sr-cchannel-link,
    html body a.sr-cphone-link,
    html body a.sr-phone-link,
    html body .crumbs a,
    html body .sr-breadcrumb a {
        display: inline-block !important;
        padding: 8px 6px !important;
        margin: -8px -6px !important;
    }
}

/* 11. Focus and small fixes ----------------------------------------------- */
/* My account (logged out): the theme hides WooCommerce's login form behind
   its own login card, but the form's "ورود" heading was left on the page. */
html body.woocommerce-account .sr-myaccount-otp-wrapper ~ h2 {
    display: none !important;
}

html body a:focus-visible,
html body button:focus-visible,
html body input:focus-visible,
html body select:focus-visible,
html body textarea:focus-visible {
    outline: 2px solid var(--srr-gold) !important;
    outline-offset: 2px !important;
}

/* 12. Store polish (second pass) -------------------------------------------
   Compact header, anchor offsets, trust badges, compare button and tray,
   purchase steps, brand grid, hero second button, branch cards. The markup
   comes from inc/sr-ux-extras.php, the behaviour from assets/js/sr-ui.js. */

/* Anchor jumps (#branches, #tab-reviews...) stop below the sticky header. */
html {
    scroll-padding-top: calc(var(--sr-hdr-offset, 164px) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

::selection {
    background: var(--srr-gold-line);
    color: var(--srr-navy);
}

/* Compact header on desktops: the top bar slides out, the menu row tucks
   under the main row and comes back when scrolling up. */
@media (min-width: 1025px) {
    html body header.hdr {
        transition: transform .3s ease !important;
    }

    html body header.hdr.sr-hdr-compact {
        /* Move up by the top bar, but stay below WordPress's toolbar when a
           staff member is logged in (--sr-adminbar-h, set by sr-ui.js). */
        transform: translateY(calc(var(--sr-adminbar-h, 0px) - var(--sr-hdr-top-h, 37px))) !important;
        background: transparent !important;
        border-bottom-color: transparent !important;
        box-shadow: none !important;
        pointer-events: none !important;
    }

    html body header.hdr.sr-hdr-compact .hdr-main {
        position: relative !important;
        z-index: 95 !important;
        pointer-events: auto !important;
        box-shadow: 0 1px 0 var(--srr-line), 0 10px 28px rgba(15, 23, 42, .08) !important;
    }

    html body header.hdr .hdr-nav {
        transition: transform .3s ease, opacity .2s ease !important;
    }

    html body header.hdr.sr-hdr-compact .hdr-nav {
        pointer-events: auto !important;
        box-shadow: 0 10px 28px rgba(15, 23, 42, .08) !important;
    }

    html body header.hdr.sr-hdr-compact:not(.sr-hdr-reveal) .hdr-nav {
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: transform .3s ease, opacity .2s ease, visibility 0s linear .3s !important;
    }

    /* Shop filters stay just below the visible header and scroll internally. */
    html body .filters {
        position: sticky !important;
        top: calc(var(--sr-hdr-offset, 164px) + 16px) !important;
        max-height: calc(100vh - var(--sr-hdr-offset, 164px) - 32px) !important;
        max-height: calc(100dvh - var(--sr-hdr-offset, 164px) - 32px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
        transition: top .3s ease, max-height .3s ease !important;
    }
}

@media (min-width: 961px) and (max-width: 1024px) {
    html body .filters {
        position: sticky !important;
        top: calc(var(--sr-hdr-offset, 112px) + 16px) !important;
        max-height: calc(100vh - var(--sr-hdr-offset, 112px) - 32px) !important;
        max-height: calc(100dvh - var(--sr-hdr-offset, 112px) - 32px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body header.hdr,
    html body header.hdr .hdr-nav,
    html body .filters,
    html body.single-product .sr-gallery-sticky-box {
        transition: none !important;
    }
}

/* Product page: trust badges under the buy buttons. */
html body .sr-trust-badges {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html body .sr-trust-badges li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid var(--srr-line) !important;
    border-radius: 12px !important;
    background: var(--srr-bg) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: var(--srr-ink) !important;
}

html body .sr-trust-badges li .ic {
    flex: 0 0 auto !important;
    color: var(--srr-gold-ink) !important;
}

/* Phones: tighter badges so each label stays on one line. */
@media (max-width: 600px) {
    html body .sr-trust-badges {
        gap: 6px !important;
    }

    html body .sr-trust-badges li {
        gap: 6px !important;
        padding: 8px 9px !important;
        font-size: 12px !important;
    }

    html body .sr-trust-badges li .ic {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Product page: compare toggle in the line under the title. */
html body .sr-compare-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 5px 12px !important;
    border: 1px solid var(--srr-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--srr-ink) !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease !important;
}

html body .sr-compare-btn:hover {
    border-color: var(--srr-gold) !important;
    color: var(--srr-gold-ink) !important;
}

html body .sr-compare-btn.is-on {
    border-color: var(--srr-gold) !important;
    background: var(--srr-gold-soft) !important;
    color: var(--srr-gold-ink) !important;
}

/* Floating compare tray. */
html body .sr-compare-tray {
    position: fixed !important;
    left: 20px !important;
    bottom: 20px !important;
    z-index: 9980 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 7px !important;
    padding-inline-start: 16px !important;
    border-radius: 999px !important;
    background: var(--srr-navy) !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .28) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    animation: sr-tray-in .3s ease both;
}

html body .sr-compare-tray[hidden] {
    display: none !important;
}

html body .sr-compare-tray-icon {
    display: inline-flex !important;
    color: var(--srr-gold) !important;
}

html body .sr-compare-tray-text {
    white-space: nowrap !important;
}

html body .sr-compare-tray-count {
    color: var(--srr-gold) !important;
    font-weight: 900 !important;
}

html body .sr-compare-tray-go {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: var(--srr-gold) !important;
    color: var(--srr-navy) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

html body .sr-compare-tray-go:hover {
    background: #d8b77f !important;
}

html body .sr-compare-tray-clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .1) !important;
    color: #cbd5e1 !important;
    cursor: pointer !important;
}

html body .sr-compare-tray-clear:hover {
    background: rgba(255, 255, 255, .18) !important;
    color: #fff !important;
}

html body .sr-compare-tray-note {
    display: none !important;
}

html body .sr-compare-tray.has-note .sr-compare-tray-note {
    position: absolute !important;
    left: 0 !important;
    bottom: calc(100% + 8px) !important;
    display: block !important;
    width: max-content !important;
    max-width: calc(100vw - 32px) !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--srr-ink) !important;
    box-shadow: var(--srr-shadow) !important;
    font-size: 12.5px !important;
}

@keyframes sr-tray-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Phones and tablets: above the bottom navigation and the product buy bar. */
@media (max-width: 1024px) {
    html body .sr-compare-tray {
        left: 12px !important;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Phones: a compact pill (icon, count, button) that covers less content;
   the words stay available to screen readers. */
@media (max-width: 600px) {
    html body .sr-compare-tray {
        gap: 8px !important;
        padding-inline-start: 12px !important;
    }

    html body .sr-compare-tray-text {
        font-size: 0 !important;
    }

    html body .sr-compare-tray-count {
        font-size: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .sr-compare-tray {
        animation: none !important;
    }
}

/* Purchase steps on the cart, checkout and order-received pages. */
html body .sr-steps {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    list-style: none !important;
}

/* The cart page lays .woocommerce out as a grid (items | totals): the steps
   and the notices span both columns instead of sharing the first row. */
html body .sr-page-wrapper .woocommerce > .sr-steps,
html body .sr-page-wrapper .woocommerce > .woocommerce-notices-wrapper {
    grid-column: 1 / -1 !important;
}

html body .sr-steps li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--srr-subtle) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

html body .sr-steps li + li::before {
    content: "" !important;
    display: block !important;
    width: 56px !important;
    height: 2px !important;
    margin: 0 12px !important;
    border-radius: 2px !important;
    background: var(--srr-line) !important;
}

html body .sr-steps li.is-done + li::before {
    background: var(--srr-gold) !important;
}

html body .sr-steps li > a {
    display: flex !important;
    align-items: center !important;
    color: inherit !important;
    text-decoration: none !important;
}

html body .sr-steps .sr-step-dot {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 30px !important;
    height: 30px !important;
    margin-inline-end: 8px !important;
    border: 2px solid var(--srr-line) !important;
    border-radius: 50% !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

html body .sr-steps li.is-current {
    color: var(--srr-navy) !important;
}

html body .sr-steps li.is-current .sr-step-dot {
    border-color: var(--srr-navy) !important;
    background: var(--srr-navy) !important;
    color: #fff !important;
}

html body .sr-steps li.is-done {
    color: var(--srr-gold-ink) !important;
}

html body .sr-steps li.is-done .sr-step-dot {
    border-color: var(--srr-gold) !important;
    background: var(--srr-gold-soft) !important;
    color: var(--srr-gold-ink) !important;
}

@media (max-width: 600px) {
    html body .sr-steps {
        margin-bottom: 16px !important;
    }

    html body .sr-steps li + li::before {
        width: 22px !important;
        margin: 0 6px !important;
    }

    /* Bigger tap area for the "back to cart" step without moving it. */
    html body .sr-steps li > a {
        padding: 7px !important;
        margin: -7px !important;
    }

    /* Only the current step keeps its label on narrow screens. */
    html body .sr-steps li:not(.is-current) .sr-step-label {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0) !important;
        white-space: nowrap !important;
    }
}

/* Homepage brand grid: letter badge (or logo), name, model count. */
html body .sr-brand-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

html body .sr-brand-tile {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid var(--srr-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--srr-ink) !important;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

html body .sr-brand-tile:hover {
    border-color: var(--srr-gold) !important;
    box-shadow: var(--srr-shadow) !important;
    transform: translateY(-2px) !important;
}

html body .sr-brand-mono {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: var(--srr-navy) !important;
    color: var(--srr-gold) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

html body .sr-brand-logo-img {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    object-fit: contain !important;
}

html body .sr-brand-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
}

html body .sr-brand-meta strong {
    overflow: hidden !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: var(--srr-navy) !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

html body .sr-brand-meta small {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--srr-subtle) !important;
    white-space: nowrap !important;
}

@media (max-width: 1200px) {
    html body .sr-brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* Phones: two rows that scroll sideways instead of six rows. */
@media (max-width: 768px) {
    html body .sr-brand-grid {
        grid-template-columns: none !important;
        grid-template-rows: repeat(2, auto) !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 62% !important;
        overflow-x: auto !important;
        padding-bottom: 6px !important;
        scroll-snap-type: x proximity !important;
        scrollbar-width: thin !important;
    }

    html body .sr-brand-tile {
        scroll-snap-align: start !important;
    }
}

/* Hero: second button next to the main one. */
html body .sr-hero-cinematic-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}

html body .sr-hero-btn-ghost-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 13px 26px !important;
    border: 1.5px solid rgba(255, 255, 255, .6) !important;
    border-radius: 30px !important;
    background: rgba(15, 23, 42, .28) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background-color .25s ease, border-color .25s ease !important;
}

html body .sr-hero-btn-ghost-pill:hover {
    border-color: #fff !important;
    background: rgba(15, 23, 42, .5) !important;
    color: #fff !important;
}

html body .sr-hero-btn-ghost-pill .ic {
    color: var(--srr-gold) !important;
}

/* Phones: the main hero button is full width, so is the second one. */
@media (max-width: 600px) {
    html body .sr-hero-btn-ghost-pill {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Text pages (terms, privacy, returns, instalment terms): the content sits
   in a white card with a comfortable reading width. */
html body .sr-page-wrapper.sr-text-page > .sr-container {
    box-sizing: border-box !important;
    max-width: 880px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 36px 44px 28px !important;
    border: 1px solid var(--srr-line) !important;
    border-radius: var(--srr-radius) !important;
    background: #fff !important;
    box-shadow: var(--srr-shadow) !important;
}

html body .sr-text-page .sr-page-head {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

html body .sr-text-page .sr-legal-updated {
    display: inline-block !important;
    margin: 0 0 18px !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    background: var(--srr-soft) !important;
    color: var(--srr-subtle) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
}

html body .sr-text-page .sr-container h2 {
    margin: 30px 0 12px !important;
    padding-inline-start: 12px !important;
    border-inline-start: 3px solid var(--srr-gold) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
    color: var(--srr-navy) !important;
}

html body .sr-text-page .sr-container h3 {
    margin: 22px 0 10px !important;
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: var(--srr-navy) !important;
}

html body .sr-text-page .sr-container p,
html body .sr-text-page .sr-container li {
    font-size: 15px !important;
    line-height: 2.05 !important;
    color: var(--srr-text) !important;
}

html body .sr-text-page .sr-container p {
    margin: 0 0 14px !important;
}

html body .sr-text-page .sr-container ul,
html body .sr-text-page .sr-container ol {
    margin: 0 0 16px !important;
    padding-inline-start: 22px !important;
}

html body .sr-text-page .sr-container ul {
    list-style: disc !important;
}

html body .sr-text-page .sr-container ol {
    list-style-type: persian !important;
}

html body .sr-text-page .sr-container li {
    margin: 6px 0 !important;
}

html body .sr-text-page .sr-container li::marker {
    color: var(--srr-gold-ink);
}

html body .sr-text-page .sr-container a {
    color: var(--srr-gold-ink) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

/* Review notes in the drafts: shown in yellow until the owner confirms. */
html body mark.sr-confirm {
    padding: 1px 6px !important;
    border: 1px dashed #f59e0b !important;
    border-radius: 6px !important;
    background: #fef3c7 !important;
    color: #92400e !important;
    font-size: .92em !important;
}

@media (max-width: 600px) {
    html body .sr-page-wrapper.sr-text-page > .sr-container {
        width: auto !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
        padding: 22px 18px 16px !important;
    }

    html body .sr-text-page .sr-container h2 {
        font-size: 17.5px !important;
    }

    html body .sr-text-page .sr-container p,
    html body .sr-text-page .sr-container li {
        font-size: 14.5px !important;
    }
}

/* Checkout: "I accept the terms" checkbox (inc/sr-legal-pages.php), and the
   terms text WooCommerce opens under it when the link is clicked. */
html body .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 6px 0 4px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.9 !important;
    color: var(--srr-ink) !important;
    cursor: pointer !important;
}

html body .woocommerce-terms-and-conditions-wrapper input#terms {
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    margin: 4px 0 0 !important;
    accent-color: var(--srr-navy);
    cursor: pointer !important;
}

html body .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-link {
    color: var(--srr-gold-ink) !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

html body .woocommerce-checkout .woocommerce-terms-and-conditions {
    margin: 0 0 12px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--srr-line) !important;
    border-radius: 12px !important;
    background: var(--srr-bg) !important;
}

html body .woocommerce-checkout .woocommerce-terms-and-conditions h2 {
    margin: 14px 0 6px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--srr-navy) !important;
}

html body .woocommerce-checkout .woocommerce-terms-and-conditions p,
html body .woocommerce-checkout .woocommerce-terms-and-conditions li {
    font-size: 12.5px !important;
    line-height: 1.9 !important;
}

/* Footer bottom links wrap once the policy links are added. */
html body .ftr-bottom nav {
    flex-wrap: wrap !important;
    row-gap: 8px !important;
}

/* Footer: row of store promises above the link columns (not on the
   homepage, which has its own trust section). */
html body footer.ftr:has(> .ftr-promises) {
    padding-top: 12px !important;
}

html body .ftr-promises {
    margin: 0 0 40px !important;
    padding: 28px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

html body .ftr-promises ul {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    list-style: none !important;
}

html body .ftr-promises li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .ftr-promise-ic {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(201, 164, 107, .45) !important;
    border-radius: 50% !important;
    background: rgba(201, 164, 107, .1) !important;
    color: var(--srr-gold) !important;
}

html body .ftr-promises li b {
    display: block !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #fff !important;
}

html body .ftr-promises li small {
    display: block !important;
    margin-top: 2px !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
}

@media (max-width: 900px) {
    html body .ftr-promises ul {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        row-gap: 20px !important;
    }
}

@media (max-width: 600px) {
    html body .ftr-promises {
        margin-bottom: 28px !important;
        padding: 22px 0 !important;
    }

    html body .ftr-promises li {
        gap: 10px !important;
    }

    html body .ftr-promise-ic {
        flex-basis: 38px !important;
        width: 38px !important;
        height: 38px !important;
    }

    html body .ftr-promises li b {
        font-size: 13px !important;
    }
}

/* Homepage branches: until showroom photos arrive, the empty dark photo
   boxes are hidden and the two branches sit side by side as cards. A photo
   (an <img> inside .branch-ph) brings the box back automatically. */
html body #branches .branch-ph:not(:has(img)) {
    display: none !important;
}

html body #branches .branch:not(:has(.branch-ph img)) {
    display: block !important;
    margin: 0 0 20px !important;
    border-color: var(--srr-line) !important;
    border-radius: var(--srr-radius) !important;
    box-shadow: var(--srr-shadow) !important;
}

html body #branches .branch:not(:has(.branch-ph img)) .branch-txt {
    height: 100% !important;
    padding: 26px 28px !important;
    justify-content: flex-start !important;
}

html body #branches .branch-txt .acts {
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 6px !important;
}

@media (min-width: 900px) {
    html body #branches > .wrap {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
        align-items: stretch !important;
    }

    html body #branches > .wrap > .sec-head {
        grid-column: 1 / -1 !important;
    }

    html body #branches > .wrap > .branch {
        margin: 0 !important;
    }
}

@media (max-width: 600px) {
    html body #branches .branch:not(:has(.branch-ph img)) .branch-txt {
        padding: 20px 18px !important;
    }
}

/* Installment calculator receipt: keep Persian/BiDi strings in RTL order,
   while numbers remain cleanly left-aligned in the column. */
html body .sr-receipt-table .sr-r-val {
    direction: rtl !important;
    text-align: left !important;
    unicode-bidi: isolate !important;
}

/* =========================================================================
   13. Brand palette unification (Package 2)
   ========================================================================= */

/* 13.1 Eliminate parent Hello Elementor #c36 magenta leaks on unstyled buttons */
html body .sr-drawer-search button {
    background: transparent !important;
    border: 0 !important;
    color: var(--srr-subtle) !important;
    box-shadow: none !important;
}

html body .sr-drawer-search button:hover,
html body .sr-drawer-search button:focus {
    background: transparent !important;
    color: var(--srr-navy) !important;
}

html body .mob-filterbar button:hover,
html body .mob-filterbar button:focus,
html body .mob-filterbar button:active {
    background: var(--srr-gold-soft) !important;
    border-color: var(--srr-gold) !important;
    color: var(--srr-navy) !important;
}

html body #sr_search_clear_btn:hover,
html body #sr_search_clear_btn:focus,
html body #closeFilterMob:hover,
html body #closeFilterMob:focus,
html body .sr-drawer-close:hover,
html body .sr-drawer-close:focus,
html body .sr-drawer-toggle-sub:hover,
html body .sr-drawer-toggle-sub:focus {
    background: var(--srr-soft) !important;
    color: var(--srr-navy) !important;
    border-color: transparent !important;
}

/* 13.2 About Us & story timeline: replace off-palette #ef4444 / #e11d48 with Navy & Gold */
html body .sr-highlight-red {
    color: var(--srr-gold) !important;
    text-shadow: 0 0 24px rgba(201, 164, 107, .35) !important;
}

html body .sr-tstep-year {
    color: #f0e2c6 !important;
    background: rgba(201, 164, 107, .16) !important;
    border: 1px solid rgba(201, 164, 107, .34) !important;
    border-radius: 6px !important;
    padding: 2px 9px !important;
}

html body .sr-timeline-step.active .sr-tstep-node {
    border-color: var(--srr-gold) !important;
    background: rgba(201, 164, 107, .22) !important;
    box-shadow: 0 0 12px rgba(201, 164, 107, .5) !important;
}

html body .sr-timeline-step.active .sr-node-dot {
    background: var(--srr-gold) !important;
}

html body .sr-value-card:hover,
html body .sr-about-branch-card.sr-branch-highlight:hover,
html body .sr-stat-card:hover {
    border-color: var(--srr-gold) !important;
    box-shadow: var(--srr-shadow-hover) !important;
}

html body .sr-value-card:hover .sr-value-icon-box {
    background: var(--srr-gold-soft) !important;
    border-color: var(--srr-gold) !important;
    color: var(--srr-gold-ink) !important;
}

html body .sr-phone-link:hover,
html body .sr-stat-sub {
    color: var(--srr-gold-ink) !important;
}

html body .sr-con-items li::before {
    color: var(--srr-red) !important;
}

/* 13.3 Mobile drawer calmness & admin-bar clearance */
html body .sr-mobile-drawer {
    z-index: 100001 !important;
}

html body .sr-drawer-user-card {
    background: var(--srr-gold-soft) !important;
    border-bottom: 1px solid var(--srr-gold-line) !important;
}

html body .sr-drawer-user-avatar {
    background: var(--srr-navy) !important;
    color: var(--srr-gold) !important;
}

html body .sr-drawer-user-link {
    color: var(--srr-gold-ink) !important;
}

html body .sr-drawer-login-btn {
    background: var(--srr-navy) !important;
    color: #ffffff !important;
}

html body .sr-drawer-login-btn:hover {
    background: var(--srr-ink) !important;
    color: #ffffff !important;
}

html body .sr-mobile-drawer .sr-badge-pill {
    background: var(--srr-gold-soft) !important;
    border: 1px solid var(--srr-gold-line) !important;
    color: #6b4f24 !important;
    border-radius: 999px !important;
    padding: 2px 9px !important;
}

html body .sr-drawer-logout,
html body .sr-drawer-logout .sr-dnav-icon {
    color: var(--srr-muted) !important;
}

html body .sr-drawer-logout:hover,
html body .sr-drawer-logout:hover .sr-dnav-icon {
    background: #fef2f2 !important;
    color: var(--srr-red) !important;
}

html body .sr-user-dropdown-list li.sr-logout-item a {
    color: var(--srr-red) !important;
}

html body .sr-user-dropdown-list li.sr-logout-item a:hover,
html body .sr-nav-logout .sr-account-nav-link:hover {
    background: #fef2f2 !important;
    color: var(--srr-red) !important;
}

html body .sr-drawer-wa-btn {
    background: var(--srr-green) !important;
    color: #ffffff !important;
}

html body .sr-drawer-wa-btn:hover {
    background: #065f46 !important;
    color: #ffffff !important;
}

/* 13.4 High-contrast Gold buttons & badges (#0f172a navy text on #c9a46b gold) */
html body .sr-btn-about-primary,
html body .sr-reset-btn,
html body .sr-btn-do-verify,
html body .sr-btn-support-call {
    background: var(--srr-gold) !important;
    border-color: var(--srr-gold) !important;
    color: var(--srr-navy) !important;
    font-weight: 800 !important;
}

html body .sr-btn-about-primary:hover,
html body .sr-reset-btn:hover,
html body .sr-btn-do-verify:hover,
html body .sr-btn-support-call:hover {
    background: #b89155 !important;
    border-color: #b89155 !important;
    color: var(--srr-navy) !important;
}

html body .btn-gold:hover,
html body .sr-btn-highlight:hover,
html body .sr-btn-empty-shop:hover,
html body .sr-btn-cta-white:hover,
html body .sr-404-cat-chips a:hover,
html body .sr-btn-address-edit:hover,
html body .wc-block-components-address-card__edit:hover {
    background: var(--srr-gold) !important;
    border-color: var(--srr-gold) !important;
    color: var(--srr-navy) !important;
}

html body .sr-cart-badge,
html body .sr-active-filter-badge,
html body .sr-plan-card .sr-plan-badge {
    background: var(--srr-gold) !important;
    color: var(--srr-navy) !important;
    font-weight: 800 !important;
}

/* 13.5 Unify Cash Discount Badges to Emerald Green across Archive Cards & Single Product */
html body ul.products li.product.pcard .pcard-badges .badge.sale,
html body .sr-moto-badge.sale,
html body .sr-single-discount-tag {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: var(--srr-green) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06) !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

/* 13.6 Product Color Swatch Active State & Two-Tone Checkmark Contrast */
html body .sr-color-swatch-btn.active {
    border-color: var(--srr-gold) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(201, 164, 107, .22) !important;
    color: var(--srr-navy) !important;
}

html body .sr-swatch-check.sr-check-light {
    color: #ffffff !important;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, .75));
}

/* 13.7 Homepage Trust Strip separation above dark Installment Promo block */
html body .sr-home-wrapper section.sec.dark:has(> .trust) {
    background: var(--srr-gold-soft) !important;
    border-top: 1px solid var(--srr-gold-line) !important;
    border-bottom: 1px solid var(--srr-gold-line) !important;
    color: var(--srr-navy) !important;
}

html body .sr-home-wrapper section.sec.dark:has(> .trust) .trust > div {
    background: #ffffff !important;
    border: 1px solid var(--srr-gold-line) !important;
    box-shadow: var(--srr-shadow) !important;
}

html body .sr-home-wrapper section.sec.dark:has(> .trust) .trust .trust-emoji {
    color: var(--srr-gold-ink) !important;
}

html body .sr-home-wrapper section.sec.dark:has(> .trust) .trust b {
    color: var(--srr-navy) !important;
}

html body .sr-home-wrapper section.sec.dark:has(> .trust) .trust small {
    color: var(--srr-muted) !important;
}

/* ==========================================================================
   14. Typography, Single Product Micro-UI & Showcase Polish (Package 3)
   ========================================================================== */

/* 14.1 Preserve natural Persian glyph connections (zero letter-spacing) */
html body .sr-hero-brand-tag,
html body .pcard-badges .badge.year,
html body .sr-stepper-num,
html body .sr-monthly-val,
html body .sr-about-hero-title,
html body .sr-contact-hero-title,
html body .sr-single-discount-tag,
html body .sr-moto-badge {
    letter-spacing: 0 !important;
}

/* 14.2 Single Product quantity input box & Add-to-Cart hover harmony */
html body.single-product .sr-buy-actions-wrap .quantity:not(.sr-stepper-ready) input.qty {
    width: 64px !important;
    height: 48px !important;
    padding: 0 6px !important;
    border: 1.5px solid var(--srr-line) !important;
    border-radius: 12px !important;
    background: var(--srr-bg) !important;
    color: var(--srr-navy) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

html body.single-product .sr-buy-actions-wrap .quantity:not(.sr-stepper-ready) input.qty:focus {
    border-color: var(--srr-gold) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(201, 164, 107, .18) !important;
    outline: none !important;
}

html body .sr-buy-actions-wrap .single_add_to_cart_button:hover {
    background: var(--srr-gold) !important;
    color: var(--srr-navy) !important;
    box-shadow: 0 6px 20px rgba(201, 164, 107, .28) !important;
}

/* 14.3 Cohesive typography for out-of-stock last price note on Single Product */
html body.single-product .sr-out-last-price,
html body.single-product .sr-out-last-price .woocommerce-Price-amount,
html body.single-product .sr-out-last-price .woocommerce-Price-currencySymbol {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--srr-muted) !important;
    line-height: 1.5 !important;
}

/* 14.4 Crisp year badge edge on dark photos & clean brand card subtitle */
html body ul.products li.product.pcard .pcard-badges .badge.year {
    border: 1px solid rgba(255, 255, 255, .28) !important;
}

html body .sr-brand-meta small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ==========================================================================
   15. Installment Plan Subnote & Content Consistency Refinements
   ========================================================================== */

html body.single-product .sr-plan-card .sr-plan-subnote {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--srr-muted);
    line-height: 1.45;
}

/* ==========================================================================
   16. UI, Layout, Forms & Mobile Polish (Audit Items #1–#13)
   ========================================================================== */

/* 16.1 My Account forms & notice stacking (#2 & #11) */
html body .sr-edit-acc-grid .form-row-first,
html body .sr-edit-acc-grid .form-row-last {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

html body .sr-account-user-meta {
    font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

html body .sr-verify-badge,
html body .sr-btn-send-code {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

html body .sr-dash-shortcut-card .sr-shortcut-arrow {
    top: 20px !important;
    left: 20px !important;
    bottom: auto !important;
}

html body.woocommerce-account .woocommerce-info {
    position: relative !important;
    padding: 14px 46px 14px 18px !important;
}

html body.woocommerce-account .woocommerce-info::before {
    right: 18px !important;
    left: auto !important;
    top: 15px !important;
    color: var(--srr-gold-ink) !important;
}

html body.woocommerce-account .woocommerce-info a.button {
    float: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 640px) {
    html body.woocommerce-account .woocommerce-info {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 14px 44px 14px 16px !important;
        line-height: 1.75 !important;
    }

    html body.woocommerce-account .woocommerce-info a.button {
        margin-right: 0 !important;
        align-self: flex-end !important;
        padding: 8px 14px !important;
    }

    html body .sr-empty-orders-card .sr-btn-empty-orders {
        display: inline-flex !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 12px 22px !important;
        white-space: nowrap !important;
    }
}

/* 16.2 Installment calculator: single-line <select> with custom SVG chevron & mobile receipt wrapping (#3 & #12) */
html body .sr-form-select {
    display: inline-block !important;
    width: 100% !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 45px !important;
    padding: 0 16px 0 42px !important;
    text-align: right !important;
    text-align-last: right !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background-color: #f8fafc !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 14px center !important;
    background-size: 18px 18px !important;
    cursor: pointer !important;
}

html body .sr-form-select::picker-icon {
    display: none !important;
}

html body .sr-form-select:focus {
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}

html body .sr-select-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 48px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: var(--sr-r-input, 8px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

html body .sr-select-wrap:focus-within {
    background: #ffffff !important;
    border-color: #A9844E !important;
    box-shadow: 0 0 0 3px rgba(169, 132, 78, 0.15) !important;
}

html body .sr-select-wrap .sr-form-select,
html body .sr-select-wrap .sr-form-select:focus {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 0 !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    line-height: 45px !important;
    margin: 0 !important;
    padding: 0 14px 0 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none !important;
}

html body .sr-select-chevron {
    position: static !important;
    flex: 0 0 38px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #0f172a !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
}

@media (max-width: 600px) {
    html body .sr-form-select {
        font-size: 13px !important;
    }

    html body .sr-select-wrap .sr-form-select,
    html body .sr-select-wrap .sr-form-select:focus {
        font-size: 13px !important;
        padding: 0 12px 0 6px !important;
    }
}

html body .sr-calc-form-box .sr-input-wrap .sr-form-input {
    min-height: 48px !important;
}

html body .sr-calc-form-box .sr-calc-trust-box {
    margin-top: auto !important;
}

html body .sr-receipt-table .sr-receipt-row {
    gap: 12px !important;
    align-items: flex-start !important;
}

html body .sr-receipt-table .sr-r-val:not(#sr_res_cat_name) {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

@media (max-width: 600px) {
    html body .sr-receipt-table .sr-receipt-row:first-child {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
    }

    html body #sr_res_cat_name {
        text-align: right !important;
    }

    html body .sr-row-total .sr-r-val {
        font-size: 15px !important;
    }
}

/* 16.3 Shop & Brand Archive: desktop multi-row category chips & mobile filter drawer above adminbar (#4 & #5) */
@media (min-width: 961px) {
    html body .cat-chips {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
    }
}

@media (max-width: 960px) {
    html body .filters {
        z-index: 100005 !important;
        padding: 20px 20px calc(108px + env(safe-area-inset-bottom, 0px)) !important;
    }

    html body .filters-mob-apply {
        z-index: 100006 !important;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* 16.4 Product card desktop flex alignment (#7) */
@media (min-width: 601px) {
    html body ul.products li.product.pcard .pcard-body {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
    }

    html body ul.products li.product.pcard .pcard-price {
        margin-top: auto !important;
    }
}

/* 16.5 Floating compare tray sleeker proportions & footer safe bottom space (#8) */
html body .sr-compare-tray {
    padding: 5px !important;
    padding-inline-start: 14px !important;
    font-size: 12.5px !important;
}

html body .sr-compare-tray-go {
    min-height: 32px !important;
    padding: 0 14px !important;
}

html body .sr-compare-tray-clear {
    width: 32px !important;
    height: 32px !important;
}

html body footer.ftr {
    padding-bottom: 72px !important;
}

@media (max-width: 1024px) {
    html body.single-product .sr-compare-tray {
        bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    }

    html body footer.ftr {
        padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* 16.6 Single Product stepper sizing, out-of-stock spacing & mobile tabs (#9) */
html body.single-product .sr-buy-actions-wrap .quantity.sr-stepper-ready {
    height: 48px !important;
    flex-shrink: 0 !important;
}

html body.single-product .sr-buy-actions-wrap .quantity.sr-stepper-ready .sr-qty-btn {
    width: 38px !important;
    height: 45px !important;
}

html body.single-product .sr-buy-actions-wrap .quantity.sr-stepper-ready input.qty {
    width: 42px !important;
    height: 45px !important;
}

html body.single-product .sr-out-last-price .woocommerce-Price-amount {
    margin: 0 !important;
}

@media (max-width: 768px) {
    html body.single-product .woocommerce-tabs ul.tabs {
        scrollbar-width: none !important;
        padding-inline: 4px !important;
    }

    html body.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
        display: none !important;
    }
}

/* 16.7 Header carets, Mega-menu alignment & Footer hours / tap targets (#11, #12, #13) */
html body .acc-caret,
html body .nav-caret {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    color: var(--srr-subtle) !important;
}

html body .mega-cats a {
    min-height: 44px !important;
    white-space: nowrap !important;
}

html body .ftr-contact-list li {
    align-items: flex-start !important;
}

html body .ftr-contact-list li > span:first-child {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

@media (max-width: 960px) {
    html body .ftr-bottom nav {
        gap: 6px 14px !important;
    }

    html body .ftr-bottom nav a {
        min-height: 40px !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 6px 8px !important;
        margin: 0 !important;
    }
}

/* 16.8 Branch map tap targets & anchor scroll offset (#13) */
html body .sr-cnav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 6px 12px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    html body .sr-cnav-btn {
        min-height: 40px !important;
        min-width: 60px !important;
        padding: 8px 14px !important;
    }
}

html body #branches,
html body section[id],
html body .sr-contact-branches-section[id] {
    scroll-margin-top: calc(var(--sr-hdr-offset, 120px) + 18px) !important;
}

/* ==========================================================================
   15. SR Docharkh Bespoke Hero Section & 3-Column Quick Strip Balance
   ========================================================================== */

html body .sr-home-wrapper .srd-hero {
    position: relative;
    width: 100%;
    min-height: clamp(500px, 70svh, 660px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #09101d;
    color: #f8fafc;
    isolation: isolate;
    margin: 0;
    padding: 0;
}

html body .sr-home-wrapper .srd-hero-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

html body .sr-home-wrapper .srd-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: left center;
}

html body .sr-home-wrapper .srd-hero-scrim {
    position: absolute;
    inset: 0;
    display: block;
    background:
        linear-gradient(270deg, rgba(9, 16, 29, 0.96) 0%, rgba(9, 16, 29, 0.84) 36%, rgba(9, 16, 29, 0.34) 58%, rgba(9, 16, 29, 0.04) 84%),
        linear-gradient(180deg, rgba(9, 16, 29, 0.28) 0%, transparent 18%);
    pointer-events: none;
}

html body .sr-home-wrapper .srd-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: clamp(44px, 6vh, 72px);
    padding-bottom: clamp(48px, 6.5vh, 76px);
}

html body .sr-home-wrapper .srd-hero-content {
    max-width: 560px;
    margin-inline-end: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    animation: srdHeroRise 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html body .sr-home-wrapper .srd-hero-title {
    margin: 0;
    font-size: clamp(2.2rem, 4.1vw, 3.55rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    color: #ffffff;
    text-wrap: balance;
}

html body .sr-home-wrapper .srd-hero-desc {
    margin: 0;
    max-width: 46ch;
    font-size: clamp(0.975rem, 1.15vw, 1.075rem);
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0;
    color: #cbd5e1;
}

html body .sr-home-wrapper .srd-hero-finder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 520px;
    margin-top: 2px;
}

html body .sr-home-wrapper .srd-hero-finder-label {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
    color: #94a3b8;
}

html body .sr-home-wrapper .srd-hero-sizes {
    display: inline-flex;
    align-items: stretch;
    width: fit-content;
    max-width: 100%;
    padding: 4px;
    gap: 2px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.16);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

html body .sr-home-wrapper .srd-size-seg {
    appearance: none;
    border: 0;
    margin: 0;
    background: transparent;
    color: #cbd5e1;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
    letter-spacing: 0;
    padding: 9px 14px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

html body .sr-home-wrapper .srd-size-seg:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

html body .sr-home-wrapper .srd-size-seg.is-active {
    background: #f8fafc;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

html body .sr-home-wrapper .srd-size-seg:focus-visible,
html body .sr-home-wrapper .srd-hero-cta:focus-visible {
    outline: 2px solid var(--srr-gold);
    outline-offset: 2px;
}

html body .sr-home-wrapper .srd-hero-finder-note {
    margin: 0;
    min-height: 1.5em;
    font-size: 0.875rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.6;
    letter-spacing: 0;
    color: #e2e8f0;
}

html body .sr-home-wrapper .srd-hero-action {
    margin-top: 2px;
}

html body .sr-home-wrapper .srd-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 12px;
    background: var(--srr-gold);
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(201, 164, 107, 0.28);
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

html body .sr-home-wrapper .srd-hero-cta:hover {
    background: #d8b57d;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(201, 164, 107, 0.38);
}

html body .sr-home-wrapper .srd-hero-cta svg {
    flex-shrink: 0;
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

html body .sr-home-wrapper .srd-hero-cta:hover svg {
    transform: translateX(-4px);
}

@keyframes srdHeroRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Balanced 3-column quick-strip when installments are off */
@media (min-width: 768px) {
    html body .sr-home-wrapper .sr-quick-grid.srd-quick-3col {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

html body .sr-home-wrapper .srd-hero,
html body .sr-home-wrapper .srd-hero * {
    box-sizing: border-box;
}

@media (max-width: 767px) {
    html body .sr-home-wrapper .srd-hero {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        background-color: #09101d;
    }

    html body .sr-home-wrapper .srd-hero-media {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        max-height: 270px;
        z-index: 0;
    }

    html body .sr-home-wrapper .srd-hero-img {
        object-position: center center;
    }

    html body .sr-home-wrapper .srd-hero-scrim {
        background: linear-gradient(180deg, rgba(9, 16, 29, 0.14) 0%, rgba(9, 16, 29, 0.18) 54%, #09101d 100%);
    }

    html body .sr-home-wrapper .srd-hero-inner {
        margin-top: -22px;
        width: 100%;
        max-width: 100%;
        padding: 0 16px 28px;
        min-width: 0;
    }

    html body .sr-home-wrapper .srd-hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 14px;
    }

    html body .sr-home-wrapper .srd-hero-title {
        font-size: clamp(1.65rem, 6.8vw, 2.15rem);
        line-height: 1.24;
    }

    html body .sr-home-wrapper .srd-hero-desc {
        font-size: 0.9375rem;
        line-height: 1.8;
    }

    html body .sr-home-wrapper .srd-hero-finder {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    html body .sr-home-wrapper .srd-hero-sizes {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        padding: 4px;
        gap: 2px;
    }

    html body .sr-home-wrapper .srd-size-seg {
        width: 100%;
        min-width: 0;
        min-height: 40px;
        padding: 8px 2px;
        text-align: center;
        font-size: 0.85rem;
    }

    html body .sr-home-wrapper .srd-hero-action {
        width: 100%;
    }

    html body .sr-home-wrapper .srd-hero-cta {
        width: 100%;
    }

    html body .sr-home-wrapper .sr-quick-grid.srd-quick-3col {
        grid-template-columns: 1fr !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .sr-home-wrapper .srd-hero-content {
        animation: none;
    }
    html body .sr-home-wrapper .srd-size-seg,
    html body .sr-home-wrapper .srd-hero-cta,
    html body .sr-home-wrapper .srd-hero-cta svg {
        transition: none;
    }
}

/* === SR DOCHARKH FULL DESIGN POLISH OVERRIDES === */

/* 1. About hero: gold-navy depth (remove leftover red gradient) */
html body .sr-about-hero-overlay {
    background: linear-gradient(135deg, rgba(11, 19, 32, 0.96) 0%, rgba(15, 23, 42, 0.88) 58%, rgba(201, 164, 107, 0.22) 100%) !important;
}

/* 2. Contact hero hours badge: refined gold-glass on dark navy */
html body .sr-contact-badge {
    background: rgba(201, 164, 107, 0.14) !important;
    border: 1px solid rgba(201, 164, 107, 0.38) !important;
    color: #F5E6C8 !important;
}

/* 3. Showcase circular 3D emblem sizing (keep 'سایز ۱۲ تا ۲۷.۵' comfortably inside ring) */
html body .sr-garage-badge-3d {
    width: 96px !important;
    height: 96px !important;
    padding: 10px !important;
    gap: 4px;
}
html body .sr-garage-badge-3d .sr-badge-percent {
    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: center;
}

/* 4. Archive category pills: single-row desktop layout & dark stroke on active gold pill */
@media (min-width: 1024px) {
    html body .cat-chips {
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    html body .cat-chips::-webkit-scrollbar {
        display: none;
    }
    html body .cat-chips button {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 13px;
        font-size: 13px;
    }
}
html body .cat-chips button.on,
html body .cat-chips button.on svg {
    color: #0F172A !important;
    stroke: #0F172A !important;
}

/* 5. Sidebar bicycle filters divider */
html body .filters .sr-opt-divider {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

/* 6. Inquiry-mode product cards: calm, confident typography & action button */
html body .pcard.is-inquiry .pcard-inquiry-val .sr-inquiry-text {
    color: #0F172A;
    font-weight: 800;
    font-size: 13.5px;
}
html body .pcard.is-inquiry .pcard-btn.btn-inquiry {
    background: #ffffff;
    color: #0F172A;
    border: 1.5px solid #cbd5e1;
    font-weight: 700;
    transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
                color 180ms cubic-bezier(0.22, 1, 0.36, 1),
                border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
html body .pcard.is-inquiry .pcard-btn.btn-inquiry:hover {
    background: #0F172A;
    color: #ffffff;
    border-color: #0F172A;
    transform: translateY(-1px);
}

/* 7. Single-product inquiry badge & symmetric 2x2 trust grid */
html body .sr-stock-status-badge.is-inquiry {
    background: rgba(201, 164, 107, 0.14);
    border: 1px solid rgba(201, 164, 107, 0.4);
    color: #7c5c2b;
}
html body .sr-buy-inquiry-val {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
html body .sr-single-inquiry-badge {
    display: inline-block;
    background: #fbf6ec;
    border: 1px solid rgba(201, 164, 107, 0.45);
    color: #7c5c2b;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 999px;
}
html body .sr-single-inquiry-note {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.7;
}
html body .sr-prod-buy-box .sr-trust-badges {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}
html body .sr-mobile-sticky-buy-bar .sr-msbb-oos-label.is-inquiry {
    color: #b45309;
    background: #fef3c7;
    border-radius: 6px;
    padding: 2px 8px;
}

/* 8. Footer eNamad clean white badge card (only visible when image loads) */
html body .ftr-enamad a {
    display: inline-block;
    line-height: 0;
}
html body .ftr-enamad img {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    max-width: 112px;
    height: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* 9. Mobile bottom bar clearance so copyright & footer links are never covered */
@media (max-width: 960px) {
    html body footer.ftr,
    html body .sr-footer-outer {
        padding-bottom: 84px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .pcard.is-inquiry .pcard-btn.btn-inquiry {
        transition: none;
    }
    html body .pcard.is-inquiry .pcard-btn.btn-inquiry:hover {
        transform: none;
    }
}
