.language-bar {
    position: fixed;
    left: 0;
    top: 30%;
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.language-bar:hover {
    opacity: 1;
}

#pnlSlideStyle .swiper-slide img {
    width: 100%;
    display: block;
}

.store-s2-subcats-nav {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    background: #fff;
    color: var(--store-text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.store-s2-subcats-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.s-slider-container {
    overflow: hidden;
}

#AlRaed_Login[hidden] {
    display: none !important;
}

#AlRaed_Login {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

#AlRaed_Login .s-modal-overlay {
    cursor: pointer;
}

.store-otp-modal-open {
    overflow: hidden;
}

.store-otp-loading {
    padding: 28px 18px;
    text-align: center;
    font-size: 15px;
    color: #6b7280;
}

.store-otp-loading--error {
    color: #b91c1c;
}

#AlRaed_Login .s-modal-overlay {
    background: rgba(15, 23, 42, 0.42);
}

#AlRaed_Login .s-modal-wrapper {
    padding: 20px 16px;
}

#AlRaed_Login .s-modal-body {
    width: min(430px, calc(100vw - 32px));
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.18);
}

#AlRaed_Login .s-modal-header {
    min-height: 0;
}

.store-otp-modal {
    padding: 0 18px 22px;
}

.store-otp-header h3 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    color: var(--store-text-primary);
}

.store-otp-header p {
    margin: 0 0 20px;
    color: #6b7280;
    line-height: 1.9;
    font-size: 16px;
}

.store-otp-alert {
    margin-bottom: 16px;
    border-radius: 14px;
}

.store-otp-channel-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.store-otp-channel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid #d8dee8;
    border-radius: 16px;
    background: #fff;
    color: #475569;
    font-weight: 700;
    transition: .2s ease;
}

.store-otp-channel.is-active {
    border-color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 10%, white);
    color: var(--primary-color);
}

.store-otp-panel {
    display: none;
}

.store-otp-panel.is-active {
    display: block;
}

.store-otp-panel[hidden] {
    display: none !important;
}

.store-otp-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #1f2937;
}

.store-otp-input,
.store-otp-select {
    min-height: 48px;
    border-radius: 16px;
    margin-bottom: 14px;
    border: 1px solid #d8dee8;
    box-shadow: none;
}

.store-otp-input:focus,
.store-otp-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 15%, transparent);
}

.store-otp-panel .store-otp-select[aria-hidden="true"] {
    display: none !important;
}

.store-otp-submit {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(45deg, var(--secondary-color) 0, var(--primary-color) 100%);
    color: #fff;
    font-weight: 800;
}

.store-otp-submit:hover,
.store-otp-submit:focus {
    filter: brightness(0.98);
    color: #fff;
}

.store-otp-verify {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eceff4;
}

.store-otp-code {
    letter-spacing: 4px;
    text-align: center;
    font-size: 18px;
}

.store-otp-actions {
    display: flex;
    gap: 10px;
}

.store-otp-back {
    min-width: 110px;
    border-radius: 16px;
}

.store-otp-phone-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.store-otp-phone-field--whatsapp {
    display: block;
}

.store-otp-phone-field--whatsapp .iti {
    width: 100%;
}

.store-otp-phone-field--whatsapp .iti input {
    width: 100%;
    direction: ltr;
    text-align: left;
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid #d8dee8;
}

.store-otp-phone-field--whatsapp .iti__selected-country-primary {
    min-height: 48px;
    border-radius: 16px;
}

.iti--container,
.iti__dropdown-content {
    z-index: 100000000000000030 !important;
}

.store-otp-resend {
    margin-bottom: 14px;
    padding: 12px 14px 0;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.store-otp-resend__text {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #475569;
}

.store-otp-resend__progress {
    width: 100%;
    height: 8px;
}

@media (min-width: 992px) {
    .store-header .container.hidden.lg\:block .main-menu {
        display: flex;
        align-items: center;
        margin: 0 18px 0 0;
    }

    .store-header .container.hidden.lg\:block .main-menu > li {
        display: inline-block;
        float: none;
    }

    .store-header .container.hidden.lg\:block .main-menu > li > a {
        white-space: nowrap;
    }

    .store-header .container.hidden.lg\:block .navbar-brand {
        margin-left: 18px;
    }

    .store-header .container.hidden.lg\:block .s-user-menu-wrapper,
    .store-header .container.hidden.lg\:block .salla-cart-summary,
    .store-header .container.hidden.lg\:block .header-btn {
        margin-right: 12px;
    }
}

.s-products-slider-card {
    height: auto;
}

#IDBrandBottomStyle .col-sm-6,
#IDBrandBottomStyle .col-md-4 {
    text-align: center;
}

.store-s2-listing-page .breadcrumbs {
    margin-bottom: 8px;
}

.store-s2-listing-toolbar {
    position: relative;
}

.store-s2-sort-toggle {
    min-width: 124px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(45deg, var(--secondary-color) 0, var(--primary-color) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
}

.store-s2-sort-options {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    z-index: 15;
    min-width: 260px;
    margin: 0;
    padding: 14px 16px;
    list-style: none;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    display: none;
}

.store-s2-sort-toggle.visible + .store-s2-sort-options,
.store-s2-sort-options.visible {
    display: block;
}

.store-s2-sort-options li + li {
    margin-top: 10px;
}

.store-s2-sort-options .checkbox.radio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-s2-sort-options input {
    accent-color: var(--primary-color);
}

.store-s2-sort-options label {
    margin: 0;
    color: var(--store-text-primary);
    font-weight: 600;
    cursor: pointer;
}

.store-s2-listing-description {
    margin-bottom: 18px;
    padding: 18px 22px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    line-height: 1.9;
}

.store-s2-subcats-shell {
    margin-bottom: 18px;
}

.store-s2-subcats-swiper {
    position: relative;
    overflow: hidden;
    padding: 0 52px;
}

.store-s2-subcats-swiper .swiper-wrapper {
    align-items: stretch;
}

.store-s2-subcat-card {
    height: 100%;
    padding: 10px 8px;
}

.store-s2-subcat-card__media {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: linear-gradient(45deg, var(--secondary-color) 0, var(--primary-color) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto 12px;
}

.store-s2-subcat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-s2-subcat-card__media i {
    font-size: 32px;
}

.store-s2-subcat-card span {
    display: block;
    color: var(--store-text-primary);
    font-weight: 700;
    line-height: 1.6;
}

.store-s2-subcats-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.store-s2-subcats-nav--prev {
    inset-inline-start: 0;
}

.store-s2-subcats-nav--next {
    inset-inline-end: 0;
}

#productsContainer.s-products-list-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

#productsContainer .product-card {
    height: 100%;
}

.s-infinite-scroll-wrapper {
    margin-top: 28px;
    text-align: center;
}

.s-infinite-scroll-btn.is-loading {
    opacity: 0.8;
    pointer-events: none;
}

@media (min-width: 992px) {
    .store-header .container.hidden.lg\:block .flex.items-stretch.justify-between.relative > .flex.items-center {
        flex: 1 1 auto;
        min-width: 0;
    }

    .store-header .container.hidden.lg\:block .store-s2-desktop-nav {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 18px 0 0;
    }

    .store-header .container.hidden.lg\:block .main-menu.store-s2-main-menu {
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 2px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .store-header .container.hidden.lg\:block .main-menu.store-s2-main-menu > li {
        /*display: inline-flex;*/
        align-items: center;
        float: none;
        flex: 0 0 auto;
        position: relative;
    }

    .store-header .container.hidden.lg\:block .main-menu.store-s2-main-menu > li > a {
        white-space: nowrap;
        padding: 0.75rem 0.9rem 0.85rem;
        font-size: 15px;
        line-height: 1.2;
    }

    .store-header .container.hidden.lg\:block .store-s2-main-menu .sub-menu {
        min-width: 240px;
        max-width: 320px;
    }

    .store-header .container.hidden.lg\:block .store-s2-main-menu .sub-menu ul {
        max-height: 420px;
        overflow-y: auto;
    }

    .store-header .container.hidden.lg\:block .store-s2-menu-more .sub-menu {
        min-width: 260px;
    }

    .store-header .container.hidden.lg\:block .store-s2-menu-more .sub-menu li.store-s2-more-divider {
        height: 1px;
        margin: 10px 0;
        background: rgba(148, 163, 184, 0.24);
    }
}

@media (max-width: 767px) {
    #AlRaed_Login .s-modal-wrapper {
        padding: 14px;
    }

    #AlRaed_Login .s-modal-body {
        width: calc(100vw - 28px);
    }

    .store-otp-modal {
        padding: 0 10px 18px;
    }

    .store-otp-header h3 {
        font-size: 24px;
    }

    .store-otp-header p {
        font-size: 14px;
    }

    .store-otp-actions {
        flex-direction: column;
    }
}

@media (max-width: 1199px) {
    #productsContainer.s-products-list-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    #productsContainer.s-products-list-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .store-header .header-row {
        justify-content: center;
        min-height: auto;
        margin-bottom: 12px;
    }

    .store-header .header-row.pull-left,
    .store-header .header-row:last-child {
        justify-content: center;
    }

    .store-header .logo img {
        max-height: 60px;
    }

    .store-s2-footer-contact-links {
        text-align: center;
    }

    .store-s2-subcats-swiper {
        padding: 0 40px;
    }

    .store-s2-subcat-card__media {
        width: 78px;
        height: 78px;
    }

    #productsContainer.s-products-list-wrapper {
        gap: 14px;
    }
}

@media (max-width: 575px) {
    #productsContainer.s-products-list-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .store-s2-sort-options {
        inset-inline: 0;
        min-width: 0;
    }
}
