body {
    font-family:
        "SF Pro AR", "SF Pro Gulf", "SF Pro Display", "SF Pro Icons",
        "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.two-line-truncate {
    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.bidi-plain {
    unicode-bidi: plaintext;
}
#cke_1_contents {
    height: 600px !important;
}
.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    padding: 1px 12px;
    height: 30px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 10px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    height: auto;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #444;
    line-height: 28px;
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    padding: 1px 12px;
    height: 30px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 19px;
    position: absolute;
    top: 6px !important;
    right: 1px;
    width: 20px;
}

.select2-container--default[dir="rtl"]
    .select2-selection--single
    .select2-selection__clear {
    float: right;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    cursor: pointer;
    font-weight: bold;
    height: 1px;
    margin-right: 0;
    padding-right: 0;
    margin-left: 10px;
    padding-left: 0;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__clear
    span {
    position: absolute;
    top: 4px;
}

.select2-search--dropdown .select2-search__field {
    height: 33px;
}

.select2-results__option,
.select2-selection__rendered {
    unicode-bidi: plaintext;
}

.select2-results__group {
    padding-top: 0 !important;
}

.select2-results__option--group:not(:first-child):before {
    content: "";
    margin: 0;
    display: inline-block;
    width: 90%;
    border-top: 1px solid #a9a9a9;
}

.select2-results__options--nested .select2-results__option {
    padding-right: 1.5em;
}

.select2-container--default .select2-results__option[aria-disabled="true"] {
    color: #aaaaaa;
}
.select2-container--default
    .select2-results__option--highlighted[aria-disabled="true"] {
    color: #aaaaaa;
}

.select2-results__option[aria-disabled="true"] {
    color: #999 !important; /* keep it visible but dimmed */
    background-color: #f9f9f9 !important; /* light background */
    cursor: not-allowed;
}

.select2-results__option[aria-disabled="true"]:hover {
    color: #aaaaaa !important;
    background-color: #f9f9f9 !important; /* prevent hover color from hiding text */
}

.select2-results__option[aria-disabled="true"] .price-value {
    color: #aaaaaa !important; /* ensure price remains visible */
}

.select2-results__option[aria-disabled="true"] .price-value {
    opacity: 0.6;
}

/* Fallbacks only — layout.app sets these from admin “Top Bar” settings after custom_style loads */
:root {
    --ih-topbar-height: 38px;
    --ih-topbar-logo-max-height: 24px;
    --ih-topbar-text-color: #ffffff;
    --ih-topbar-bg-color: #232323;
}

.main-container {
    padding-top: var(--ih-topbar-height);
    /* clip prevents horizontal scroll without breaking position:sticky (unlike hidden) */
    overflow-x: clip;
}

/* Keep fixed nav visible and clickable above modals; start modal below the top bar */
.nav-ihouse.navbar.fixed-top {
    z-index: 1060;
}

body.modal-open .modal-backdrop {
    z-index: 1040;
    top: var(--ih-topbar-height, 38px);
    height: calc(100vh - var(--ih-topbar-height, 38px));
}

body.modal-open .modal {
    z-index: 1050;
    padding-top: var(--ih-topbar-height, 38px);
}

body.modal-open .modal .modal-dialog {
    margin-top: 0.5rem;
    max-height: calc(100vh - var(--ih-topbar-height, 38px) - 1rem);
}

body.modal-open .modal .modal-content {
    max-height: inherit;
}

body.modal-open .modal .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-sidebar-column-toggle {
    top: 7% !important;
    z-index: 1029;
}

.nav-sidebar-column-toggle.toggled-class {
    z-index: 1041;
}

/* Full viewport width on desktop: no max-width cap so zoom-out / wide screens use side space for categories */
@media (min-width: 992px) {
    /*
     * Side gutters come from segment widths (--ih-nav-w-1 / --ih-nav-w-9) in nav.blade.php,
     * not from large horizontal padding (3.5rem used to inset the whole bar and looked like empty ends).
     */
    .nav-ihouse > .ih-nav-bar-inner.container-fluid {
        max-width: 100%;
        width: 100%;
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
    }

    .nav-ihouse .ih-nav-desktop-row {
        --ih-nav-group-x: clamp(12px, 1.25vw, 22px);
        gap: 0;
    }

    /* Segmented desktop bar: spacing comes from segment widths, not inter-group margins */
    .nav-ihouse .ih-nav-desktop-row .ih-nav-group-logo {
        margin-left: 0;
    }

    .nav-ihouse .ih-nav-desktop-row .ih-nav-group-main {
        margin-inline-start: 0;
    }

    .nav-ihouse .ih-nav-desktop-row .ih-nav-group-utility {
        margin-inline-start: 0;
    }

    .nav-ihouse .ih-nav-desktop-row .ih-nav-group-reseller {
        margin-inline-start: 0;
    }

    .nav-ihouse .ih-nav-group-logo,
    .nav-ihouse .ih-nav-group-main,
    .nav-ihouse .ih-nav-group-utility,
    .nav-ihouse .ih-nav-group-reseller {
        padding-inline: 0;
    }

    .nav-ihouse .ih-nav-group-logo .navbar-brand {
        margin: 0;
        padding: 0;
    }

    .nav-ihouse .ih-nav-main-wrap {
        flex-grow: 0;
        min-width: 0;
        width: auto;
    }

    .nav-ihouse .ih-nav-bar-inner--segments .ih-nav-seg .ih-nav-main-wrap {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    /* Fixed spacing between bar links; extra width shows more items (JS promotes from المزيد) */
    .nav-ihouse .ih-desktop-nav-row {
        justify-content: center;
        gap: 1.3rem;
        flex-wrap: nowrap;
        margin: 0;
        padding: 0;
    }

    /* Category strip (segment 4): use full column width and keep spacing inside it */
    .nav-ihouse
        .ih-nav-desktop-row.ih-nav-bar-inner--segments
        > .ih-nav-seg-4
        #ih-desktop-nav.ih-desktop-nav-row {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        gap: 1.5rem;
    }

    .nav-ihouse .ih-desktop-nav-row > .nav-item {
        flex-shrink: 0;
    }

    .nav-ihouse .ih-desktop-nav-row > .nav-item .nav-link {
        white-space: nowrap;
    }

    /* Prevent long labels from breaking desktop header layout. */
    .nav-ihouse #ih-desktop-nav > .ih-priority-item {
        min-width: 0;
        flex-shrink: 0;
    }

    .nav-ihouse #ih-desktop-nav > .ih-priority-item > .nav-link {
        display: block;
        max-width: 100%;
        white-space: nowrap;
    }

    .nav-ihouse .ih-nav-utility-wrap {
        flex-shrink: 0;
    }

    .nav-ihouse .ih-nav-utility-list {
        gap: 0.5rem;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
    }

    .nav-ihouse .ih-nav-utility-list > .nav-item {
        flex-shrink: 0;
    }

    .nav-ihouse .ih-nav-utility-list > .nav-item > .nav-link {
        padding-inline: 0.35rem;
    }

    /*
     * Segment 6 uses a % width (--ih-nav-w-6). Contact + search + cart need a minimum width;
     * utility items had flex-shrink: 0, so they overflowed the segment. Keep everything inside
     * the column: shrinkable items where needed; full-width inner flex.
     */
    .nav-ihouse
        .ih-nav-desktop-row.ih-nav-bar-inner--segments
        > .ih-nav-seg-6
        .ih-nav-utility-wrap {
        flex-shrink: 1;
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .nav-ihouse
        .ih-nav-desktop-row.ih-nav-bar-inner--segments
        > .ih-nav-seg-6
        .ih-nav-utility-list {
        justify-content: flex-start;
        max-width: 100%;
        min-width: 0;
    }

    .nav-ihouse
        .ih-nav-desktop-row.ih-nav-bar-inner--segments
        > .ih-nav-seg-6
        .ih-nav-utility-list
        > .nav-item {
        flex-shrink: 1;
        min-width: 0;
    }

    .nav-ihouse
        .ih-nav-desktop-row.ih-nav-bar-inner--segments
        > .ih-nav-seg-6
        .ih-nav-utility-list
        > .nav-item.ih-desktop-nav-contact {
        flex-shrink: 0;
        min-width: 0;
    }

    .nav-ihouse
        .ih-nav-desktop-row.ih-nav-bar-inner--segments
        > .ih-nav-seg-6
        .ih-nav-utility-list
        > .nav-item.ih-desktop-nav-contact
        > .nav-link {
        display: inline-flex;
        align-items: center;
    }

    .nav-ihouse
        .ih-nav-desktop-row.ih-nav-bar-inner--segments
        > .ih-nav-seg-6
        .ih-nav-utility-list
        > .nav-item.ih-desktop-nav-contact
        .fa-phone {
        font-size: 1.1em;
        line-height: 1;
    }

    .nav-ihouse
        .ih-nav-desktop-row.ih-nav-bar-inner--segments
        > .ih-nav-seg-6
        .ih-nav-utility-list
        > .nav-item.ih-desktop-nav-search,
    .nav-ihouse
        .ih-nav-desktop-row.ih-nav-bar-inner--segments
        > .ih-nav-seg-6
        .ih-nav-utility-list
        > .nav-item.ih-desktop-cart-wrap {
        flex-shrink: 0;
    }

    /* Measure inter-group spacing from visible content edges, not link padding boxes */
    .nav-ihouse
        .ih-nav-group-main
        .ih-desktop-nav-row
        > .nav-item:last-child
        > .nav-link {
        padding-inline-end: 0;
    }

    .nav-ihouse
        .ih-nav-group-main
        .ih-desktop-nav-row
        > .nav-item:first-child
        > .nav-link {
        padding-inline-start: 0;
    }

    .nav-ihouse .ih-nav-group-main .ih-desktop-nav-row > .nav-item:first-child {
        margin-inline-start: 0 !important;
        padding-inline-start: 0;
    }

    .nav-ihouse .ih-nav-group-main .ih-desktop-nav-row > .nav-item:last-child {
        margin-inline-end: 0 !important;
        padding-inline-end: 0;
    }

    .nav-ihouse
        .ih-nav-group-utility
        .ih-nav-utility-list
        > .nav-item:first-child
        > .nav-link {
        padding-inline-start: 0;
    }

    .nav-ihouse
        .ih-nav-group-utility
        .ih-nav-utility-list
        > .nav-item:first-child {
        margin-inline-start: 0 !important;
        padding-inline-start: 0;
    }

    .nav-ihouse
        .ih-nav-group-utility
        .ih-nav-utility-list
        > .nav-item:last-child
        > .nav-link {
        padding-inline-end: 0;
    }
}

/* Only top-level bar links — not .nav-link inside المزيد / cart dropdowns */
.nav-ihouse.navbar-dark .navbar-nav > .nav-item > .nav-link {
    color: var(--ih-topbar-text-color);
    font-size: 0.957142857142857em;
    font-weight: 600;
}

.nav-ihouse.navbar-dark .navbar-nav > .nav-item.active > .nav-link,
.nav-ihouse.navbar-dark .navbar-nav > .nav-item > .nav-link.active,
.nav-ihouse.navbar-dark .navbar-nav > .nav-item > .nav-link.show,
.nav-ihouse.navbar-dark .navbar-nav > .nav-item.show > .nav-link {
    color: var(--ih-topbar-text-color);
}

.nav-ihouse.navbar-dark .navbar-nav > .nav-item > .nav-link:focus,
.nav-ihouse.navbar-dark .navbar-nav > .nav-item > .nav-link:hover {
    color: var(--ih-topbar-text-color);
}

.nav-ihouse .logo {
    max-height: 24px;
}

.nav-ihouse {
    background: var(--ih-topbar-bg-color) !important;
    min-height: var(--ih-topbar-height);
}

.nav-ihouse .dropdown-toggle::after {
    display: none;
}

.nav-ihouse .dropdown-menu {
    left: unset;
    background: #fff;
    color: #666;
    border-radius: 6px;
    padding: 1em;
    margin: 0;
    font-size: inherit;
    width: 80%;
}

.nav-ihouse .dropdown-menu.ih-more-dropdown {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 0.5rem 1em 0.85rem;
    /* Darker and closer to the top-bar color */
    background: rgba(30, 30, 30, 0.95);
    background: color-mix(in srgb, var(--ih-topbar-bg-color) 94%, transparent);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    color: var(--ih-topbar-text-color);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 35px 40px rgba(0, 0, 0, 0.12);
}

@media (min-width: 992px) {
    /* Visible by default; hide only while applying a cached layout (head script sets pending). */
    .nav-ihouse .ih-nav-group-main {
        visibility: visible;
    }

    html.ih-nav-overflow-pending .nav-ihouse .ih-nav-group-main {
        visibility: hidden;
    }

    html.ih-nav-overflow-ready .nav-ihouse .ih-nav-group-main {
        visibility: visible;
    }

    /* Legacy Safari (<16): never hide the whole category strip — only per-item .is-hidden */
    html.ih-legacy-safari .nav-ihouse .ih-nav-group-main {
        visibility: visible !important;
    }

    .nav-ihouse #nav-more-dropdown-desktop {
        display: none !important;
        position: static;
    }

    .nav-ihouse #nav-more-dropdown-desktop.ih-nav-show-more {
        display: list-item !important;
    }

    .nav-ihouse #nav-more-dropdown-desktop.ih-nav-measure-more {
        display: list-item !important;
        visibility: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
        height: 0;
        overflow: hidden;
    }

    .nav-ihouse #nav-more-dropdown-desktop .ih-more-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--ih-cart-panel-top, 52px);
        transform: none !important;
        margin: 0;
        border-radius: 0;
        border-inline: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 1110;
        max-height: min(88vh, 760px);
        overflow-y: auto;
        padding: 0.75rem max(3.5rem, env(safe-area-inset-left, 0px)) 1.25rem
            max(3.5rem, env(safe-area-inset-right, 0px));
        text-align: right;
        direction: rtl;
    }

    .nav-ihouse #nav-more-dropdown-desktop .ih-overflow-pool {
        margin: 0;
        padding: 0;
    }

    .nav-ihouse
        #nav-more-dropdown-desktop
        .ih-overflow-pool
        > .ih-overflow-menu-item {
        display: block;
        width: 100%;
        margin: 0;
        border-radius: 10px;
        transition: background-color 0.18s ease;
        font-size: 12.328px;
    }

    .nav-ihouse
        #nav-more-dropdown-desktop
        .ih-overflow-pool
        > .ih-overflow-menu-item
        > .nav-link {
        display: block;
        width: 100%;
        text-align: right;
        border-radius: inherit;
        padding: 0.62rem 1rem;
        color: var(--ih-topbar-text-color);
        transition:
            background-color 0.18s ease,
            color 0.18s ease;
    }

    /* Hover/focus should highlight the full row, not only text glyph area. */
    /* .nav-ihouse
        #nav-more-dropdown-desktop
        .ih-overflow-pool
        > .ih-overflow-menu-item:hover,
    .nav-ihouse
        #nav-more-dropdown-desktop
        .ih-overflow-pool
        > .ih-overflow-menu-item:focus-within {
        background-color: rgba(255, 255, 255, 0.12);
    } */

    .nav-ihouse #ih-desktop-nav > .ih-priority-item {
        display: list-item;
    }

    .nav-ihouse
        #nav-more-dropdown-desktop
        .ih-overflow-pool
        > .ih-overflow-menu-item:not(.is-hidden) {
        display: block;
    }

    /* Mega columns inside المزيد drill-down (not a flat mobile list) */
    .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .ih-mega-menu-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        width: 100%;
    }

    .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .ih-mega-menu-col {
        flex: 1 1 0;
        min-width: 0;
    }

    .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .ih-mega-menu-row--2 .ih-mega-menu-col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .ih-mega-menu-row--3 .ih-mega-menu-col {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .ih-mega-menu-row--4 .ih-mega-menu-col {
        flex: 0 0 25%;
        max-width: 25%;
    }

    /* iPad / tablet: المزيد mega drill-down stacks like mobile (single column) */
    @media (max-width: 1199px) {
        .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .ih-mega-menu-row {
            display: block;
            flex-wrap: wrap;
        }

        .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .ih-mega-menu-col,
        .nav-ihouse
            #nav-more-dropdown-desktop
            .ih-more-sub-level
            .ih-mega-menu-row--2
            .ih-mega-menu-col,
        .nav-ihouse
            #nav-more-dropdown-desktop
            .ih-more-sub-level
            .ih-mega-menu-row--3
            .ih-mega-menu-col,
        .nav-ihouse
            #nav-more-dropdown-desktop
            .ih-more-sub-level
            .ih-mega-menu-row--4
            .ih-mega-menu-col {
            flex: none;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            border-inline-start: none;
            padding-inline: 0;
            margin-bottom: 1.25rem;
        }

        .nav-ihouse
            #nav-more-dropdown-desktop
            .ih-more-sub-level
            .ih-mega-menu-col:last-child {
            margin-bottom: 0;
        }

        .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .mega-menu-title {
            font-size: 12px;
            font-weight: 400;
            letter-spacing: -0.01em;
            opacity: 0.8;
            margin: 0 0 0.5rem;
            padding: 0.75rem 0 0;
        }

        .nav-ihouse
            #nav-more-dropdown-desktop
            .ih-more-sub-level
            .ih-mega-menu-col:first-child
            .mega-menu-title {
            padding-top: 0;
        }

        .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .mega-main-link {
            font-size: 1.35rem;
            font-weight: 600;
            line-height: 1.35;
            padding: 0.35rem 0;
        }

        .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .mega-sub-link {
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.45;
            padding: 0.25rem 0;
        }

        .nav-ihouse #nav-more-dropdown-desktop .ih-more-sub-level .ih-mega-link-item {
            margin-bottom: 0;
        }
    }
}

/* Dynamic JS-controlled overflow classes */
.nav-ihouse #ih-desktop-nav > .ih-priority-item.is-hidden {
    display: none !important;
}

.nav-ihouse
    #nav-more-dropdown-desktop
    .ih-overflow-pool
    > .ih-overflow-menu-item.is-hidden {
    display: none !important;
}

/* Measurement utility to avoid layout flicker */
.ih-priority-item.ih-measuring {
    display: list-item !important;
    visibility: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

.nav-ihouse .dropdown-menu .menu-vertical a {
    color: #666;
    font-weight: normal;
}

.ih-cart-inner .ih-cart-inner-menu a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.45;
}

/* Mobile/dropdown checkout button width */
.ih-cart-inner--dropdown .ih-cart-checkout-btn {
    min-width: 50%;
}

.ih-cart-color-label {
    padding-right: 5px;
}

.ih-cart-more-items a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: normal;
}

.ih-cart-inner--dropdown .ih-cart-dropdown-top-row {
    text-align: right;
}

.ih-cart-inner--dropdown .ih-cart-dropdown-top-row .ih-cart-checkout-wrap-left {
    width: auto;
    margin-bottom: 0;
}

/* Ensure cart header texts don't get any unexpected fixed colors */
.ih-cart-inner .ih-cart-slide-title,
.ih-cart-inner .ih-cart-welcome {
    color: #666 !important;
}

.ih-cart-inner .ih-cart-checkout-btn {
    color: #fff !important;
}

.ih-cart-inner .ih-cart-inner-menu a:hover,
.ih-cart-inner .ih-cart-inner-menu a:focus {
    color: #444;
    text-decoration: underline;
}

.ih-cart-more-items a:hover,
.ih-cart-more-items a:focus {
    color: #444;
    text-decoration: underline;
}

.nav-ihouse .cart-dropdown {
    min-width: 280px;
    left: -140px;
    padding: 0.5rem 1em 0.85rem;
    background: #1d1d1f;
}

/* Desktop cart: full-width slide-down panel (Apple-style), see https://www.apple.com/ae/ */
@media (min-width: 992px) {
    .ih-cart-slide-backdrop {
        position: fixed;
        inset: var(--ih-cart-panel-top, 52px) 0 0 0;
        z-index: 1028;
        background: rgba(0, 0, 0, 0.38);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.35s ease,
            visibility 0.35s ease;
        pointer-events: none;
    }

    .ih-cart-slide-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .ih-cart-slide-panel {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--ih-cart-panel-top, 52px);
        z-index: 1029;
        max-height: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.93);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        color: #666;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        opacity: 0;
        transition:
            max-height 0.48s cubic-bezier(0.32, 0.72, 0, 1),
            opacity 0.32s ease;
    }

    .ih-cart-slide-panel.is-open {
        max-height: min(88vh, 760px);
        opacity: 1;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ih-cart-slide-panel-head {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0.03rem max(3.5rem, env(safe-area-inset-left, 0px)) 0.03rem
            max(3.5rem, env(safe-area-inset-right, 0px));
        border-bottom: 0;
        min-height: 12px;
    }

    .ih-cart-inner--slide .ih-cart-slide-title {
        font-size: 1.125rem;
        font-weight: 600;
        line-height: 1.2;
        margin: 0 0 0.15rem 0;
        padding: 0;
    }

    .ih-cart-inner--slide .ih-cart-slide-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        flex-wrap: nowrap;
        margin-bottom: 0.35rem;
    }

    .ih-cart-inner--slide .ih-cart-slide-title-row .ih-cart-slide-title {
        flex: 1 1 auto;
        min-width: 0;
        margin-bottom: 0;
    }

    .ih-cart-slide-close {
        flex-shrink: 0;
        background: transparent;
        border: none;
        opacity: 0.75;
        font-size: 1.2rem;
        line-height: 1;
        padding: 0 0.2rem;
        margin: 0;
        cursor: pointer;
        border-radius: 4px;
    }

    .ih-cart-slide-close:hover,
    .ih-cart-slide-close:focus {
        opacity: 1;
        outline: none;
    }

    .ih-cart-slide-panel-inner {
        padding-top: 0;
        padding-bottom: 1.25rem;
        margin-top: 2rem;
    }

    .ih-cart-inner--slide {
        display: grid;
        /* Narrow column = account menu, wide = cart (swapped vs DOM order) */
        grid-template-columns: min(300px, 30vw) minmax(0, 1fr);
        gap: 1rem 2.5rem;
        align-items: start;
        padding: 0 max(3.5rem, env(safe-area-inset-left, 0px)) 0
            max(3.5rem, env(safe-area-inset-right, 0px));
    }

    .ih-cart-inner--slide .ih-cart-inner-preview {
        order: 2;
    }

    .ih-cart-inner--slide .ih-cart-welcome {
        margin-top: 0;
        margin-bottom: 0.25rem;
        font-size: 0.9375rem;
        line-height: 1.3;
    }

    .ih-cart-inner--slide hr {
        margin-top: 0.35rem;
        margin-bottom: 0.35rem;
    }

    .ih-cart-inner--slide .ih-cart-inner-menu {
        order: 1;
        list-style: none;
        margin: 0;
        padding-inline-end: 6rem;
        padding-inline-start: 0;
        border-inline-end: 1px solid rgba(0, 0, 0, 0.1);
    }

    .ih-cart-inner--slide .menu-vertical a:hover,
    .ih-cart-inner--slide .menu-vertical a:focus {
        text-decoration: underline;
    }

    .ih-cart-inner--slide .ih-cart-line-row span {
        color: inherit;
    }

    .ih-cart-inner--slide hr {
        border-color: rgba(0, 0, 0, 0.08);
    }

    .ih-cart-inner--slide .ih-cart-checkout-btn {
        max-width: 300px;
    }

    .ih-cart-checkout-wrap-left {
        width: 100%;
        text-align: left;
    }

    .ih-cart-inner--slide .ih-cart-checkout-wrap-left {
        flex: 0 0 auto;
        width: auto;
        margin-bottom: 0;
    }

    .ih-cart-checkout-wrap-left .ih-cart-checkout-btn {
        min-width: 50%;
    }

    .nav-ihouse .ih-cart-desktop-trigger[aria-expanded="true"] {
        color: #d6d6d6;
    }

    body.ih-cart-panel-open {
        overflow: hidden;
    }
}

@media (max-width: 991.98px) {
    .ih-cart-slide-backdrop,
    .ih-cart-slide-panel {
        display: none !important;
    }
}

.border-none {
    border: unset;
}

.nav-ihouse .navbar-toggler {
    height: 100%;
}

.nav-sidebar-column {
    padding-top: 58px;
}

a[aria-expanded="false"] .stack-menu {
    display: inline;
}

a[aria-expanded="true"] .stack-up-open-big {
    display: inline;
}

a[aria-expanded="false"] .stack-up-open-big,
a[aria-expanded="true"] .stack-menu {
    display: none;
}

@media (max-width: 991px) {
    /* Mobile top bar: horizontal sizing in % (viewport-relative where needed) */
    .nav-ihouse.navbar {
        width: 100%;
        max-width: 100%;
    }

    .nav-ihouse > .ih-nav-bar-inner.container-fluid {
        width: 100%;
        max-width: 100%;
    }

    .nav-ihouse .collapse-menu {
        width: 100%;
        max-width: 100%;
    }

    .nav-ihouse .ih-nav-mobile-row .navbar-brand {
        min-width: 0;
    }

    .nav-ihouse .ih-nav-mobile-row .navbar-brand .logo {
        /* Avoid stretching: when max-height clamps but width stays fixed,
           some logos/svgs get squished. Keep aspect ratio by letting width auto. */
        width: auto;
        max-width: 60%;
        height: 24px;
        max-height: 24px;
        object-fit: contain;
    }

    .nav-ihouse .container-fluid {
        background: var(--ih-topbar-bg-color);
    }

    .nav-ihouse .stack-menu,
    .nav-ihouse .stack-search,
    .nav-ihouse .stack-up-open-big {
        color: var(--ih-topbar-text-color);
        font-size: 2em;
    }

    .nav-ihouse #mobile-cart > a .fa-shopping-cart,
    .nav-ihouse .ih-cart-desktop-trigger .fa-shopping-cart {
        color: var(--ih-topbar-text-color);
        font-size: 1.2em;
        line-height: inherit;
    }

    /* Mobile bar: grid centers the logo with identical 1fr gutters on each side (RTL + LTR) */
    .nav-ihouse .ih-nav-mobile-row {
        display: grid;
        grid-template-columns: 40% 20% 40%;
        align-items: center;
        width: 100%;
    }

    .nav-ihouse .ih-nav-mobile-row > .ih-nav-mobile-tools {
        grid-column: 1;
    }

    .nav-ihouse .ih-nav-mobile-row > .navbar-brand {
        grid-column: 2;
        justify-self: center;
        margin-inline: auto;
        display: flex;
        justify-content: center;
        /* transform: translateX(20px); */
    }

    .nav-ihouse .ih-nav-mobile-row > #mobile-cart {
        grid-column: 3;
    }

    .nav-ihouse .ih-nav-mobile-row > .ih-nav-mobile-tools,
    .nav-ihouse .ih-nav-mobile-row > .navbar-brand,
    .nav-ihouse .ih-nav-mobile-row > #mobile-cart {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .nav-ihouse .ih-nav-mobile-row > .ih-nav-mobile-tools {
        justify-content: flex-start;
    }

    .nav-ihouse #mobile-cart {
        position: static;
        display: flex;
        align-items: center;
        /* In RTL flex-end places cart on physical left */
        justify-content: flex-end;
        padding: 0;
        margin: 0;
    }

    .nav-ihouse #mobile-cart > a.nav-link.dropdown-toggle {
        padding-inline-start: 0;
        padding-inline-end: 0;
    }

    .nav-ihouse #mobile-cart > a#cartNavbarDropdown.nav-link.dropdown-toggle {
        padding-left: 2.5rem;
    }

    .nav-ihouse #mobile-cart .cart-dropdown {
        position: fixed;
        inset-inline: 0;
        top: var(--ih-topbar-height, 38px);
        left: 0 !important;
        right: 0 !important;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        z-index: 1031;
        background: rgba(255, 255, 255, 0.93);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        color: #666;
        max-height: calc(100vh - var(--ih-topbar-height, 38px));
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 0.5rem 1em 0.85rem;
    }

    /* While mobile cart panel is open: stop the page behind from scrolling (see custom.js) */
    html.ih-mobile-cart-open,
    body.ih-mobile-cart-open {
        overflow: hidden;
    }

    body.ih-mobile-cart-open {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
    }

    .nav-sidebar-column {
        padding-top: 38px;
        z-index: 1040;
    }

    .nav-ihouse #ih-mobile-nav.navbar-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-ihouse #ih-mobile-nav > .nav-item > .nav-link {
        padding-block: 0.75rem;
    }

    .navbar-collapse .navbar-nav:not(.sub-nav) {
        height: 91vh;
        overflow: auto;
    }

    /* .navbar-collapse .navbar-nav li:not(:last-child) {
        border-bottom: 1px solid #848484;
    } */

    .nav-item .navbar-nav li {
        padding-right: 2em;
    }

    .nav-ihouse .dropdown-menu {
        width: 100%;
        max-width: 100%;
        max-height: 330px;
        overflow-y: scroll;
        overflow-x: hidden;
        padding-bottom: 1rem;
        margin: 0;
    }

    .nav-ihouse .navbar-brand {
        margin: 0;
    }
}

.text-passed {
    color: #3c763d;
}

.opacity-0 {
    opacity: 0;
}

.d-block {
    display: block;
}

.d-inline-block {
    display: inline-block;
}

.line-height-18px {
    line-height: 18px;
}

.m-zero-important {
    margin: 0 !important;
}

.m-10px {
    margin: 10px !important;
}

.my-10px {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.my-20px {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.my-4px {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

.mt-10px {
    margin-top: 10px !important;
}

.w-auto {
    width: auto;
}

.mx-10px {
    margin-left: 10px;
    margin-right: 10px;
}

.mt-20px {
    margin-top: 20px;
}

.mt-50px {
    margin-top: 50px;
}

.px-15px {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.px-10px {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.py-10px {
    padding-bottom: 10px;
    padding-top: 10px;
}

.px-30px {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.p-20px {
    padding: 20px !important;
}

img.lazy {
    width: 100%;
    height: auto;
    display: block;
}

.select2.select2-container {
    width: 100% !important;
}

.select2-container[dir="rtl"]
    .select2-selection--single
    .select2-selection__rendered {
    /*padding: 1 !important;*/
}

.w-md-20-sm-50 {
    width: 20%;
}

.w-50 {
    width: 50%;
}

.w-100 {
    width: 100%;
}

.accessory-items-specs h4 {
    margin-bottom: 10px !important;
}

@media only screen and (max-width: 720px) {
    .w-md-20-sm-50 {
        width: 50%;
    }

    .border-sm-none {
        border: none !important;
    }
}

.text-4-rows {
    line-height: 1.4em;
    height: 5.6em;
    margin-bottom: 0;
    overflow: hidden;
}

.text-3-rows {
    line-height: 1.4em;
    height: 4.2em;
    margin-bottom: 0;
    overflow: hidden;
}

.text-2-rows {
    line-height: 1.4em;
    height: 2.8em;
    margin-bottom: 0;
    overflow: hidden;
}

.text-1-rows {
    line-height: 1.4em;
    height: 1.4em;
    margin-bottom: 0;
    overflow: hidden;
}

.color-choose input[type="radio"]:checked,
.color-selected {
    background-size: 50%;
    box-shadow: 0 0 0 2px #009300 !important;
}

input.disabled[type="radio"]:checked,
.red-outline {
    box-shadow: 0 0 0 2px #d8534e !important;
}

.color-sm input[type="radio"] {
    margin: 0 5px 5px;
    height: 10px !important;
    width: 10px !important;
}

.checkbox-group {
    display: flex;
    gap: 5px;
}

.accessory-item h5 {
    margin-bottom: 0;
}

.accessory-item .thumbnail {
    height: 230px;
}

.accessory-item img {
    max-height: 230px;
    width: auto !important;
}

img.is_sale_water_mark {
    position: absolute !important;
    top: -10px;
    right: -15px;
    z-index: 10 !important;
    width: 48px !important;
}

img.top_left_tag {
    position: absolute !important;
    top: -10px;
    left: 15px;
    right: auto;
    z-index: 10 !important;
    width: 48px !important;
}

.make-relative {
    position: relative;
}

.tabs {
    border: 0px solid #ececec;
}

.tabs li {
    border: 1px solid #ececec;
}

.sticky-tabs-top {
    position: -webkit-sticky;
    position: sticky;
    top: var(--ih-topbar-height, 38px);
    z-index: 1020;
    background: white;
    width: 100%;
    border-bottom: 1px solid #ececec;
    padding-bottom: 5px;
    padding-top: 5px;
}
.product-footer {
    /*position: sticky!important;*/
    height: auto !important;
}
section {
    padding-top: 1.42857143em !important;
    padding-bottom: 1.42857143em !important;
}

@media (max-width: 767px) {
    .sticky-tabs-top.tabs li {
        display: table-cell;
        width: auto;
        vertical-align: middle;
    }

    .sticky-tabs-top.tabs {
        width: 100%;
        display: table;
    }
}

.sticky-tabs-top.tabs li:not(:last-child) {
    border-right: 2px solid #ececec !important;
}

.sticky-tabs-top.tabs li {
    border: 2px solid #ececec !important;
}

.sticky-tabs-top.tabs li.active {
    border: 2px solid #141414 !important;
}

img.top_right_tag {
    position: absolute !important;
    top: -10px;
    right: -15px;
    z-index: 10 !important;
    width: 48px !important;
}

.bottom_tag {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(104 104 104 / 59%);
    width: 85%;
    padding: 0 5px;
    text-align: center;
}

.bottom_tag_used {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 30%);
    background: rgb(104 104 104 / 59%);
    width: 100%;
    padding: 0 5px;
    text-align: center;
}

.bottom_tag span {
    color: #fff;
}
.d-flex {
    display: flex;
}

.border-none {
    border: none !important;
}

.color-box {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .accessory-item .thumbnail {
        height: 165px;
    }

    .accessory-item img {
        max-height: 165px;
    }
}

/*@media (max-width: 770px) {*/
/*    .accessory-item .thumbnail {*/
/*        height: 130px;*/
/*    }*/

/*    .accessory-item img {*/
/*        max-height: 130px;*/
/*    }*/
/*}*/

.quantity-btn {
    padding: 0 10px !important;
    height: 33px;
    border: none;
    margin: 0;
}

.quantity-btn.minus-btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.quantity-btn.plus-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.item-quantity {
    height: 33px;
    border-radius: 0 !important;
}

.max-with-100px {
    max-width: 100px !important;
}

@media (max-width: 767px) {
    .modal-container .modal-content > .modal-close-cross {
        top: 1em !important;
    }
}

.item-bg-image {
    background-position: initial !important;
    background-size: contain;
    background-repeat: no-repeat;
}

.mx-auto {
    margin: 0 auto;
}

.c-pointer {
    cursor: pointer !important;
}

.select-has-placeholder {
    color: #000;
    width: 100%;
    height: 32px;
    border: 1px solid #c2cad8;
}

.select-has-placeholder.select-placeholder {
    color: #b3b3b3;
}

.select-has-placeholder option {
    color: #000;
}

.accessory-box {
    background-color: #f2f2f2;
    border: 5px solid #fff;
    border-radius: 20px;
    overflow: hidden;
}

.accessory-box .accessory-section .accessory-tile {
    background-color: #f2f2f2;
    padding: 63px 40px;
    border: none;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.accessory-relatedlink {
    cursor: pointer;
}

.accessory-tilehero {
    text-align: center;
    padding: 0;
    line-height: 0;
}

.accessory-section .accessory-tileheroimage {
    width: 266px;
    height: 291px;
    margin-bottom: 14px;
}

.accessory-colorsection,
.accessory-infosection {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.accessory-section .accessory-tileheader {
    min-height: 26px;
}
.accessory-section .accessory-tileheader {
    position: relative;
    bottom: 0;
    top: 0;
}
.accessory-tileheader {
    bottom: 72px;
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    text-align: center;
}

.accessory-tiletitle {
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    margin: 0;
    padding-bottom: 9px;
    min-height: 41px;
    color: #1d1d1f;
}

.accessory-tilelink {
    font-size: 14px;
    line-height: 1.42859;
    font-weight: 400;
    letter-spacing: -0.016em;
    font-family:
        SF Pro Text,
        SF Pro Icons,
        AOS Icons,
        Helvetica Neue,
        Helvetica,
        Arial,
        sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    color: #1d1d1f;
    display: inline-block;
    cursor: pointer;
}

.accessory-section .accessory-tilelink {
    font-size: 14px;
    line-height: 1.42859;
    font-family:
        SF Pro Text,
        SF Pro Icons,
        AOS Icons,
        Helvetica Neue,
        Helvetica,
        Arial,
        sans-serif;
    font-weight: 600;
    width: 267px;
}
.accessory-section .accessory-tilelink {
    white-space: normal;
    text-overflow: clip;
}
.link:link,
.link:visited,
a:link,
a:visited {
    text-decoration: none;
}
.accessory-tilelink {
    font-size: 14px;
    line-height: 1.42859;
    font-weight: 400;
    letter-spacing: -0.016em;
    font-family:
        SF Pro Text,
        SF Pro Icons,
        AOS Icons,
        Helvetica Neue,
        Helvetica,
        Arial,
        sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    color: #1d1d1f;
    display: inline-block;
    cursor: pointer;
}
.accessory-tiletitle a {
    color: #1d1d1f;
}

.accessory-section .accessory-info {
    margin: 7px 0 0;
}
.accessory-info {
    text-align: center;
}

.accessory-price {
    display: inline;
}
.accessory-info {
    text-align: center;
}

.accessory-info .accessory-pricecurrent {
    font-size: 14px;
    line-height: 1.42859;
    font-weight: 400;
    letter-spacing: -0.016em;
    font-family:
        "SF Pro AR",
        SF Pro Icons,
        AOS Icons,
        Helvetica Neue,
        Helvetica,
        Arial,
        sans-serif;
}

.accessory-colorsection,
.accessory-infosection {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    min-height: 129px;
}

.accessory-colorsection {
    min-height: 28px;
}

.accessory-section .accessory-colorgallery {
    padding-top: 10px;
    max-height: 17px;
}

.a11y {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0 0 99.9% 99.9%);
    clip-path: inset(0 0 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
}

.accessory-colorsection ul {
    margin-left: 0;
}
.accessory-colorsection ul {
    margin-left: 0;
}

.accessory-section .accessory-colorimage {
    margin-left: 3px;
    display: inline-block;
}

.accessory-section .accessory-colorimage > img {
    vertical-align: bottom;
    height: 14px;
    width: 14px;
}

.accessory-section .accessory-colorgallery {
    max-height: 2rem;
}

.slick-prev {
    right: 3% !important;
    left: auto;
    z-index: 1;
}
.slick-next {
    left: 3% !important;
    right: auto;
    z-index: 1;
}
.slick-prev,
.slick-next {
    width: 60px;
    height: 60px;
}
.slick-prev:before,
.slick-next:before {
    font-size: 40px;
    color: rgba(0, 0, 0, 0.56);
}

.slick-dots li button {
    width: 20px;
    height: 20px;
}
.slick-dots li {
    margin: 0px;
}

.slick-dots li button:before {
    width: 20px;
    height: 20px;
    font-size: 10px;
}

.accessory-producttile-moretext {
    display: inline-block;
    font-size: 20px;
}

.space--small {
    padding: 4px 0 !important;
}

section.border--bottom:not([data-gradient-bg]) {
    border-bottom: 0px solid #ececec !important;
}
.send-notification {
    width: 329px;
}

.container-owl {
    width: 100%;
    max-width: 900px;
    display: inline-block;
}

.cke_notifications_area {
    display: none !important;
}
.notification-close-cross {
    right: 1% !important;
    top: 35% !important;
    font-size: 22px !important;
}
@media (max-width: 576px) {
    .container-owl {
        max-width: 440px;
    }
}
@media (max-width: 768px) {
    .container-owl {
        max-width: 620px;
    }
}
@media (max-width: 992px) {
    .container-owl {
        max-width: 860px;
    }
}
@media (max-width: 1200px) {
    .container-owl {
        /*max-width: 1200px;*/
    }
}

@media (min-width: 768px) {
    .feature-large-2 div[class*="col-"]:last-child {
        margin-top: 1.22857143em;
    }
}

@media (max-width: 990px) {
    .item-quantity.form-control {
        margin-top: 5px;
    }
}
@media (max-width: 990px) {
    .footer-style {
        padding: 0 !important;
    }
    .footer-padding {
        height: 50px !important;
    }
    .footer-padding-item {
        height: 260px !important;
    }
}

@media (max-width: 788px) {
    .send-notification {
        width: unset !important;
    }
}

/* --- Order modal (#order-modal): guest region row — RTL label + light Select2 --- */
#order-modal .order-modal-guest-address .order-modal-region-label {
    display: block;
    width: 100%;
    text-align: right;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: inherit;
}

#order-modal .order-modal-guest-address .order-modal-street-label {
    display: block;
    width: 100%;
    text-align: right;
    margin-bottom: 8px;
    margin-top: 4px;
    font-weight: 600;
    font-size: 0.95rem;
}

#order-modal .order-modal-guest-address .select2-container {
    width: 100% !important;
}

#order-modal
    .order-modal-guest-address
    .select2-container--bootstrap4
    .select2-selection,
#order-modal
    .order-modal-guest-address
    .select2-container--default
    .select2-selection--single {
    border-radius: 6px !important;
    min-height: 44px !important;
}

#order-modal
    .order-modal-guest-address
    .select2-container--bootstrap4
    .select2-selection--single {
    height: auto !important;
    padding-top: 4px;
    padding-bottom: 4px;
}

#order-modal
    .order-modal-guest-address
    .select2-container--bootstrap4
    .select2-selection--single
    .select2-selection__rendered,
#order-modal
    .order-modal-guest-address
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 34px !important;
    padding-right: 14px !important;
    padding-left: 36px !important;
    text-align: right !important;
}

#order-modal
    .order-modal-guest-address
    .select2-container--bootstrap4
    .select2-selection--single
    .select2-selection__arrow,
#order-modal
    .order-modal-guest-address
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    left: 10px !important;
    right: auto !important;
    height: 42px !important;
    top: 50% !important;
    transform: translateY(-50%);
}

/* Dropdown is rendered under #order-modal (dropdownParent), NOT inside .order-modal-guest-address */
#order-modal .select2-dropdown {
    direction: rtl !important;
    text-align: right !important;
}

#order-modal .select2-results {
    direction: rtl !important;
    text-align: right !important;
}

#order-modal .select2-results__options {
    direction: rtl !important;
    text-align: right !important;
}

#order-modal .select2-results__option {
    text-align: right !important;
    direction: rtl !important;
    unicode-bidi: plaintext;
}

#order-modal .select2-results__options--nested .select2-results__option {
    text-align: right !important;
    direction: rtl !important;
    padding-right: 1em !important;
    padding-left: 0.75em !important;
}

#order-modal
    .select2-container--bootstrap4
    .select2-results__option--highlighted,
#order-modal .select2-results__option--highlighted {
    text-align: right !important;
}

#order-modal .select2-results__group {
    text-align: right !important;
    direction: rtl !important;
}

#order-modal .order-modal-guest-address .order-modal-street-input {
    border-radius: 8px !important;
    min-height: 44px;
}

/*
 * Accessory listing: thumb overlay split (cart + fast buy + notify).
 * cdn custom.css forces .btn-group > .btn { border-radius: 0 !important } for first/last-child;
 * accessories_style runs before that file — corner radii are restated here (loads last).
 */
.accessory-thumb-wrap
    .accessory-fast-buy-meta.accessory-thumb-actions
    .accessory-split-actions.btn-group {
    border-radius: 6px;
    overflow: hidden;
}

.accessory-thumb-wrap .accessory-fast-buy-meta.accessory-thumb-actions .accessory-split-actions.btn-group > .btn,
.accessory-thumb-wrap .accessory-fast-buy-meta.accessory-thumb-actions .accessory-split-actions.btn-group > .accessory-inline-stock-alert {
    border-radius: 0 !important;
}

html:not([dir="rtl"]) .accessory-thumb-wrap .accessory-fast-buy-meta.accessory-thumb-actions .accessory-split-actions.btn-group > .accessory-split-first {
    border-radius: 6px 0 0 6px !important;
}

html:not([dir="rtl"]) .accessory-thumb-wrap .accessory-fast-buy-meta.accessory-thumb-actions .accessory-split-actions.btn-group > .accessory-split-last {
    border-radius: 0 6px 6px 0 !important;
}

html[dir="rtl"] .accessory-thumb-wrap .accessory-fast-buy-meta.accessory-thumb-actions .accessory-split-actions.btn-group > .accessory-split-first {
    border-radius: 0 6px 6px 0 !important;
}

html[dir="rtl"] .accessory-thumb-wrap .accessory-fast-buy-meta.accessory-thumb-actions .accessory-split-actions.btn-group > .accessory-split-last {
    border-radius: 6px 0 0 6px !important;
}

.accessory-thumb-wrap .accessory-fast-buy-meta.accessory-thumb-actions .accessory-split-actions.btn-group > .accessory-split-first.accessory-split-last {
    border-radius: 6px !important;
}
