/* Category content styles cache release: v20 (2026-11-25). */
input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.breadcrumb__page-title{
    background: #F9F9F9;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    padding: 16px 24px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #6484A8;
    font-size: 16px;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none
}
.breadcrumb a:last-child{
    font-weight: 700;
}

.page-title {
    border-radius: 25px;
    background: #F9F9F9;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: #34446E;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px
}

.page-title h2.page-title__subtitle {
    font-size: 20px;
    font-weight: 400; /* Preserve the original paragraph styling on desktop. */
    margin: 0
}

.page-title__ball {
    display: none
}

.shop-layout {
    display: grid;
    grid-template-columns: 345px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
    direction: ltr
}

.shop-layout>* {
    direction: rtl
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 0;

    max-height: 100svh;
    overflow: auto;
    scrollbar-width: none;
    box-shadow: 0px 3px 34.4px 0px #0000000F;
    border-radius: 24px;
}

.sidebar__panel {
    border-radius: 24px;
    padding: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* box-shadow: 0px 3px 34.4px 0px #0000000F; */
}
.sidebar__panel--content{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar__heading {
    font-size: 16px;
    color: #202A44;
    background: #ECF0FC7D;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 18px;
}

.sidebar__input--wrap{
    position: relative;
}

.sidebar__input--wrap input,
.sidebar select,
#desktopSortCustom {
    width: 100%;
    height: 54px;
    padding: 16px;
    border: 1px solid #EEEEF0;
    border-radius: 16px;
    background: #fff;
    outline: 0;
    color: #34446E;
    font-size: 16px;
    font-weight: 500;
}
#desktopSortCustom {
    font-weight: 400;
    user-select: none;
    cursor: pointer;
    border-radius: 12px;
}
.sidebar__input--wrap input::placeholder,.sidebar select::placeholder{
    color: #6484A8;
}

.sidebar__heading--head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.sidebar__result {
    text-align: center;
    color: #34446E;
    font-size: 14px;
    font-weight: 500;
}

.sidebar__heading--filters {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.sidebar__heading--filters button {
    border: 0;
    background: none;
    color: #910C08;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 500;
    gap: 8px;
}

.sidebar__heading--filters button span{
    height: 20px;
}

.sidebar fieldset{
    border: 1px solid #EEEEF0;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.filters__more--content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.content__more{
    max-height: 163px;
    overflow: hidden;
    transform: all .3s;
}

.model__mobiles{
    max-height: 200px;
    overflow-y: auto;
    scrollbar-color: #34446E #EEEEF0;
    scrollbar-width: thin;
}
.model__mobiles::-webkit-scrollbar {
    width: 6px;
}
.model__mobiles::-webkit-scrollbar-track {
    background: #EEEEF0;
    border-radius: 50px;
}
.model__mobiles::-webkit-scrollbar-thumb {
    background: #34446E;
    border-radius: 50px;
}
.model__mobiles::-webkit-scrollbar-thumb:hover {
    background: #34446E;
}

.sidebar legend {
    float: right;
    width: 100%;
    text-align: right;
    font-size: 16px;
    font-weight: 700;
    color: #34446E;
}

.sidebar label,.filter__checkbox--text{
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 16px;
    color: #202A44;
    cursor: pointer;
}
.sidebar label .checkbox{
    width: 20px;
    height: 20px;
    border: 1px solid #EEEEF0;
    border-radius: 6px;
    position: relative;
}
.sidebar label .checkbox::after{
    content: "";
    position: absolute;
    width: 12px;
    height: 20px;
    display: inline-block;
    border-right: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(45deg) scale(0.5);
    border-radius: 4px;
    top: -2px;
    left: 3px;
    visibility: hidden;
}
.sidebar label input:checked + .checkbox{
    background-color: #34446E;
}
.sidebar label input:checked + .checkbox::after{
    background-color: #34446E;
    visibility: visible;
}

.sidebar input[type=checkbox] {
    accent-color: #34446e;
    order: -1
}
.filters__search--parent{
    position: relative;
}
.filters__search--parent svg{
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
}
.filters__search {
    border: 1px solid #EEEEF0;
    border-radius: 16px;
    padding: 14px;
    font-size: 16px;
    width: 100%;
    color: #6484A8;
    font-weight: 500;
    outline: none;
}
.filters__search::placeholder{
    color: #6484A8;
}

.filters__more {
    font-weight: 500;
    border: 0;
    background: none;
    color: #202A44;
    font-size: 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    user-select: none;
}
.filters__more svg{
    transition: all .2s;
}
.filters__more .less{
    display: none;
}
.open .filters__more .more{
    display: none;
}
.open .filters__more .less{
    display: flex;
}
.open .filters__more svg{
    transform: rotate(180deg);
}
.open .content__more{
    max-height: 2000px;
}

.filters__checkbox{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.filters__checkbox.mobile{
    display: none;
}
.filter__checkbox{
    display: flex;
    align-items: center;
    gap: 24px;
}
.filter__checkbox--radio{
    width: 20px;
    height: 20px;
    border: 1px solid #EEEEF0;
    border-radius: 20px;
    position: relative;
}
.filter__checkbox input:checked ~ .filter__checkbox--radio{
    border-color: #34446E;
    background-color: #34446E;
}
.filter__checkbox input:checked ~ .filter__checkbox--radio::after{
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #DCE5F2;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}

.shop-content {
    min-width: 0
}
.mobile-search,
.mobile-tools,
.mobile-panel {
    display: none
}

.team__swiper{
    width: 100%;
    position: relative;
    overflow: hidden;
}
.team__fade {
    position: absolute;
    top: 0;
    bottom: 20px;
    left: -5px;
    width: 200px;
    z-index: 3;
    background: linear-gradient(to right, #fff 25%, rgba(255, 255, 255, 0));
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
}
.team__fade.is-visible {
    opacity: 1;
}
/* .team__swiper .swiper-wrapper{
    width: max-content;
} */
.categories {
    display: flex;
    /* gap: 32px; */
    margin: 0 0 42px;
    direction: rtl
}

.categories__item {
    border: 0;
    border-radius: 28px;
    background: #ECF0FC;
    color: #34446E;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 26px 36px;
    font-size: 18px;
    font-weight: 700;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.categories__item:not(.swiper-slide-active):hover{
    background: #DCE5F2;
}
.categories__item.swiper-slide {
    /* width: fit-content; */
    flex-shrink: 0;
    text-wrap: nowrap;
    width: 160px;
    height: 130px;
    white-space: nowrap;
}

.categories__item--active {
    background: #34446e;
    color: #fff
}

.categories__item img {
    height: 65px;
    width: 65px;
    object-fit: contain;
    border-radius: 0;
    mix-blend-mode: multiply
}

.categories__item--active img {
    mix-blend-mode: normal
}

.categories__symbol {
    font-size: 76px;
    line-height: 1.3
}

.products-header {
    display: none
}

.products {
    display: grid;
    /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
    /*grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));*/
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px 18px;
    direction: rtl
}

.products__empty{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin: 50px 0;
}
.products__empty p{
    display: none;
}
.products__empty img{
    width: 350px;
    height: 250px;
}

.banner {
    margin: 100px 0 65px;
    border: 1px solid #f0e791;
    min-height: 214px;
    border-radius: 24px;
    background: radial-gradient(circle at 12% 70%, #fff6af 0, transparent 44%), linear-gradient(90deg, #fffef5, #ffffe9);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: space-between;
}
.banner::after{
    content: "";
    width: 230px;
    height: 200px;
    background: #F4EB6C;
    filter: blur(100px);
    position: absolute;
    right: 6%;
    top: -70px;
    border-radius: 50%;
}

.banner__content {
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 80px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.banner__content p {
    font-size: 24px;
    font-weight: 500;
    color: #202A44;
}

.banner__content h2 {
    font-size: 30px;
    color: #202A44;
}

.banner__content a {
    background: #34446e;
    border-radius: 40px;
    padding: 12px 38px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    text-decoration: none;
    width: max-content;
    align-items: center;
    gap: 16px;
}

.banner__art {
    height: 176px;
    width: 500px;
    position: absolute;
    left: 0;
}
.banner__art .mobile{
    object-fit: contain;
    position: absolute;
    left: 110px;
    width: 220px;
    height: 220px;
}

.mobile__filter--btn{
    display: none;
}

.search__icons {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    color: #86a4c8;
}

.search__icons svg {
    position: absolute;
    inset: 0;
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(.22, 1, .36, 1);
}

/* Search Icon */
.search .search__icon {
    opacity: 1;
    transform: scale(1) rotate(0);
    pointer-events: auto;
}

.search .delete__icon {
    opacity: 0;
    transform: scale(0.65) rotate(-45deg);
    pointer-events: none;
}

/* Delete Icon */
.delete .search__icon {
    opacity: 0;
    transform: scale(0.65) rotate(45deg);
    pointer-events: none;
}

.delete .delete__icon {
    opacity: 1;
    transform: scale(1) rotate(0);
    pointer-events: auto;
    cursor: pointer;
}

.products__load-more[hidden] {
    display: none;
}

.products__load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 0;
    color: #34446E;
    font-size: 14px;
}

.products__spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #E5EAF3;
    border-top-color: #34446E;
    border-radius: 50%;
    animation: products-spin .7s linear infinite;
}

@keyframes products-spin {
    to { transform: rotate(360deg); }
}

/* Start Brand */
.brands__parent{
    position: relative;
    margin-bottom: 20px;
    user-select: none;
    /* margin-bottom: 12px; */
}
.brands__swiper{
    width: 100%;
    overflow: hidden;
    background: #DCE5F2;
    padding: 20px;
    padding-right: 160px;

    border-top-left-radius: 48px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 48px;
}
.brands{
    display: flex;
}
.brand{
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    text-wrap: nowrap;
    width: 150px;
    height: 110px;
}
.brand__img{
    position: relative;
}
.brand__img::after{
    content: "";
    border-radius: 100%;
    background: #202A44;
    width: 95px;
    height: 95px;
    position: absolute;
    bottom: 0;
    left: 0px;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
}
.brand__img img{
    object-fit: contain;
    /* position: absolute; */
    bottom: 0;
    clip-path: inset(-15px 0 0 0 round 70px);
    transition: transform .3s ease-in;
}
.brand:hover img{
    transform: translateY(-10px);
}
.brand__name{
    font-weight: 700;
    font-size: 20px;
    color: #202A44;
}
.brand__title{
    background: #34446E;
    position: absolute;
    top: 50%;
    right: 0;
    width: 128px;
    height: 126px;
    border-radius: 24px 48px 48px 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 2;
}
.brand__title p{
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #fff;
    width: 80px;
}
/* End Of Brand */

/* Start mini categories */
.mini__categories_swiper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.mini__categories {
    display: flex;
}

.mini__categories--item {
    position: relative;
    isolation: isolate;
    display: block;
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 80px 80px 20px 20px;
    background: #f8f8f8;
    text-decoration: none;
}

.mini__categories--img {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 100px;
    height: 100%;
    object-fit: cover;
}
.mini__categories--item::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: -30px;
    right: -30px;
    bottom: -20px;
    height: 75px;
    background: #34446E;
    filter: blur(15px);
    pointer-events: none;
}
.mini__categories--item::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 35px;
    background: linear-gradient(to bottom, rgba(52, 68, 110, 0),#34446E);
    pointer-events: none;
}

.mini__categories--title {
    position: absolute;
    z-index: 2;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
/* End Of mini categories */
@media screen and (min-width:1024px) {
}

@media screen and (max-width:1023px) {
    .team__fade {
        width: 56px;
    }

    .breadcrumb__page-title{
        background-color: unset;
        padding: unset;
        gap: 13px;
        margin-bottom: 0;
    }
    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
        row-gap: 4px;
    }
    .breadcrumb a {
        white-space: nowrap;
    }

    .breadcrumb__desktop {
        display: none
    }

    .page-title {
        margin: 0 0 12px;
        padding: 12px;
        justify-content: unset;
    }

    .page-title__ball {
        display: block;
        font-size: 36px
    }

    .page-title h1 {
        font-size: 16px;
        margin-bottom: 3px
    }

    .page-title h2.page-title__subtitle {
        font-size: 16px;
        font-weight: 500;
    }

    .page-title__desktop {
        display: none
    }

    .shop-layout {
        display: block
    }
    
    .sidebar {
        position: unset;
        flex-direction: row;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 7;
        height: 100%;
        display: flex;
        align-items: end;
        justify-content: center;
        background: rgba(0, 0, 0, 0.5);
        transition: all 0.3s;
        visibility: hidden;
        opacity: 0;
    }
    .sidebar__panel{
        display: none;
        width: 100%;
        max-height: 90vh;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        /* overflow: auto; */
        padding: 32px 16px;
    }
    .sidebar__panel--content{
        max-height: 60vh;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        flex-direction: row;
        display: flex;
        flex-direction: row;
        direction: rtl;
        gap: 0;
        overflow-x: hidden;
    }

    .filter__data .sidebar__panel--content > fieldset {
        flex: 0 0 100%;
        min-width: 0;
        transform: translateX(0);
        transition: transform .35s ease;
    }

    .filter__data.next .sidebar__panel--content > fieldset {
        transform: translateX(100%);
    }

    .sidebar__heading{
        background: #fff;
    }
    .sidebar.active{
        visibility: visible;
        opacity: 1;
    }

    .sidebar.active-display .sidebar__active{
        display: flex;
    }
    

    .mobile-search {
        display: block;
        height: 42px;
        border: 1px solid #e0e6ef;
        border-radius: 10px;
        position: relative;
        margin-bottom: 12px;
    }

    .mobile-search input {
        width: 100%;
        border: 0;
        background: transparent;
        height: 100%;
        padding: 0 14px 0 45px;
        color: #6484A8;
        font-size: 14px;
        outline: none;
        font-weight: 500;
    }

    .mobile-search input::placeholder {
        color: #83a0c7;
        font-size : 14px;
        font-weight : 500;
    }

    .mobile-search__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0)
    }

    .mobile-tools {
        display: flex;
        gap: 8px;
        margin: 0 0 12px;
        overflow: auto;
        scrollbar-width: none;
    }

    .mobile-tools button {
        flex: 1;
        white-space: nowrap;
        border: 1px solid #DCE5F2;
        background: #fff;
        border-radius: 10px;
        color: #34446E;
        font-size: 12px;
        padding: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
        font-weight: 500;
        min-width: max-content;
    }

    .mobile-tools button.mobile-tools__active {
        background: #e8edff;
        border-color: #e8edff;
        color: #84a6e6
    }

    .categories {
        margin: 0 0 12px;
        direction: rtl
    }

    .categories__item {
        font-size: 12px;
        font-weight: 700;
    }
    .categories__item.swiper-slide{
        width: 100px;
        height: 105px;
        padding: 12px;
        gap: 6px;
    }
    .categories__item img{
        width: 55px;
        height: 55px;
    }

    .categories__symbol {
        display: none
    }

    .products-header {
        display: flex;
        justify-content: flex-start;
        color: #6484A8;
        font-size: 12px;
        font-weight: 700;
        margin: 0 0 12px;
    }

    .products {
        grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
        column-gap: 10px;
        row-gap: 20px
    }

    .products__empty{
        margin: 10px 0;
    }
    .products__empty p{
        display: flex;
        font-size: 20px;
        font-weight: 700;
        color: #6484A8;
    }
    .products__empty img{
        width: 180px;
        height: 130px;
    }

    .banner{
        flex-direction: column;
        justify-content: unset;
        align-items: unset;
    }
    .banner::after{
        content: unset;
    }
    .banner__content{
        padding: 24px 28px 0;
    }
    .banner__art{
        height: 180px;
        width: 100%;
        margin-top: -60px;
        position: relative;
    }
    .banner__art .mobile{
        z-index: 1;
        width: 170px;
        height: 175px;
        left: 0;
        transform: rotate(-6deg);
        bottom: -18px;
    }
    .banner__art .shape{
        position: absolute;
        left: 0;
        z-index: 0;
        width: 128%;
        height: 163%;
        bottom: -125px;
        left: 50px;
    }
    .banner__content p{
        font-size: 16px;
        font-weight: 700;
    }
    .banner__content h2{
        font-size: 20px;
    }
    .banner__content a{
        font-size: 14px;
        padding: 10px 16px;
    }

    .mobile__filter--btn{
        display: flex;
        gap: 16px;
    }
    .mobile__filter--btn button{
        width: 100%;
        border-radius: 10px;
        background: #34446E;
        color: #fff;
        padding: 12px;
        outline: none;
        border: none;
    }
    .filter__data .mobile__filter--btn button[data-pre-sidebar]{
        opacity: 0.5;
    }
    .filter__data .mobile__filter--btn button[data-apply-sidebar]{
        display: none;
    }
    .filter__data.next .mobile__filter--btn button[data-apply-sidebar]{
        display: block;
    }
    .filter__data.next  .mobile__filter--btn button[data-next-sidebar]{
        display: none;
    }
    .filter__data.next .mobile__filter--btn button[data-pre-sidebar]{
        opacity: 1;
    }
    
    .filters__checkbox.mobile{
        display: flex;
    }

    #desktopSortCustom{
        display: none;
    }

    /* Start Brand */
    .brands__parent{
        margin-bottom: 12px;
    }
    .brands__swiper{
        padding: 10px 20px;
        padding-right: 100px;
        border-radius: 24px 90px 90px 24px;
    }
    .brand__title{
        width: 85px;
        height: 90px;
        border-radius: 10px 28px 28px 10px;
    }
    .brand__title svg{
        width: 24px;
        height: 24px;
    }
    .brand__title p{
        font-size: 14px;
        width: 65px;
    }
    .brand__img img{
        width: 60px;
        height: 60px;
    }
    .brand__img::after{
        width: 60px;
        height: 55px;
    }
    .brand{
        flex-direction: column;
        gap: 6px;
        width: max-content;
        height: max-content;
    }
    .brand__name{
        font-size: 14px;
    }
    .brand:hover img{
        transform: translateY(-3px);
    }
    /* End of Brand */

    /* Start mini categories */
    .mini__categories_swiper{
        margin-bottom: 12px;
    }
    .mini__categories--item{
        flex: 0 0 90px;
        width: 90px;
        height: 90px;
    }
    .mini__categories--item::before{
        height: 50px;
    }
    .mini__categories--img{
        width: 70px;
    }
    .mini__categories--title{
        font-size: 10px;
    }
    /* End Of mini categories */

    .sidebar__heading--filters button span{
        display: none;
    }
}

/* Precision corrections from side-by-side comparison with the supplied exports */
@media screen and (min-width:1024px) {
    .categories {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media screen and (min-width:1400px) {
    .products{
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}
/* Modular bottom sheets are mobile-only. On desktop, keep all original
   sidebar cards visible at once and hide the mobile toolbar. */
@media (min-width: 1024px) {
    .shop-content > .mobile-tools { display: none; }
    .shop-layout > .sidebar > .sidebar__panel { display: flex; }
}
@media (max-width: 1023px) {
    .sidebar.active-display .sidebar__active { display: flex; }
    .sidebar .sidebar__panel[data-sidebar]:not(.sidebar__active) { display: none; }
}
.sidebar__panel .filters__more[hidden] { display: none; }
.sidebar__panel .filters__more--content label[hidden] { display: none; }
.sidebar__panel .filters__more { cursor: pointer; }

/* The desktop sidebar keeps every filter in the original Filters card.
   Additional sheets are only destinations for mobile navigation. */    
@media (min-width: 1024px) {
  .shop-layout > .sidebar > .mobile-filter-sheet { display: none; }
}

/* Mobile bottom-sheet drag handle: gesture is restricted to this area.
   The sheet content remains a native vertical scrolling surface. */
@media (max-width: 1023px) {
    .sidebar__panel[data-sidebar] > .mobile-sheet-handle {
        flex: 0 0 24px;
        align-self: center;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        width: 84px;
        height: 24px;
        padding: 2px 0 0;
        margin: -20px auto 2px;
        border: 0;
        background: transparent;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
        position: absolute;
    }
    .sidebar__panel[data-sidebar] > .mobile-sheet-handle:active { cursor: grabbing; }
    .mobile-sheet-handle__bar {
        width: 40px;
        height: 5px;
        border-radius: 999px;
        background: #dedede;
    }
}
@media (min-width: 1024px) {
    .mobile-sheet-handle { display: none; }
}



/* ==========================================
   FILTER SEARCH
========================================== */

.filters__more--content > label[hidden] {
    display: none !important;
}

.filters__more--content.filter-searching {
    max-height: 300px;
    overflow-y: auto;
}

.filter-search-empty {
    text-align: center;
    font-size: 13px;
    color: #6484A8;
    padding: 12px 0;
    margin: 0;
}

.filter-search-empty[hidden] {
    display: none !important;
}

/* ==========================================
   EMPTY PRODUCTS
========================================== */

.products__empty[hidden] {
    display: none !important;
}

/* ==========================================
   TEMPORARY SKELETON
========================================== */

body.loading .products__skeleton--temporary {
    pointer-events: none;
    user-select: none;
}

.products__skeleton--temporary {
    min-width: 0;
}

/* ==========================================
   PRODUCTS REQUEST
========================================== */


/* ==========================================
   STABLE MODEL SEARCH
========================================== */

.model-search-container {
    position: relative;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    flex-shrink: 0;
}

/* Fixed-height model list */
.model-search-container .filters__more--content.model__mobiles {
    height: 100%;
    min-height: 0;
    max-height: 100%;

    overflow-y: auto;
    overflow-x: hidden;

    transition: opacity 0.15s ease;
    overscroll-behavior: contain;
}

/* Hide only unmatched options */
.model-search-container .filters__more--content > label[hidden] {
    display: none !important;
}

/* No search results */
.model-search-container .model__mobiles.is-empty {
    opacity: 0;
    pointer-events: none;
}

/* Empty state overlay */
.model-search-container .filter-search-empty {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 16px;
    margin: 0;

    color: #6484A8;
    font-size: 14px;
    text-align: center;
    pointer-events: none;
}

.model-search-container .filter-search-empty[hidden] {
    display: none !important;
}


/* Keep the model list at a fixed height */
.model-search-container:not(.filter-search-container--other) {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
}

/* Other filter lists retain their natural height */
.model-search-container.filter-search-container--other {
    height: auto;
    min-height: 0;
    max-height: none;
}

/* Empty-state overlay for all searchable lists */
.model-search-container .filter-search-empty {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.model-search-container .filter-search-empty[hidden] {
    display: none !important;
}

.model-search-container .filters__more--content.is-empty {
    opacity: 0;
    pointer-events: none;
}

/* Prevent list collapse when no result exists */
.model-search-container.filter-search-container--other:has(
    .filters__more--content.is-empty
) {
    min-height: 120px;
}


/* Clear filters visibility */
.sidebar__heading--filters .clearFilters[hidden] {
    display: none !important;
}

.sidebar__heading--filters .clearFilters:not([hidden]) {
    cursor: pointer;
}

/* Network error */
.products-request-error {
    direction: rtl;
}

[data-apply-sidebar].is-loading {
    opacity: 0.75;
    cursor: wait;
    pointer-events: none;
}

[data-apply-sidebar].is-loading::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-bottom-color: transparent;
    border-radius: 50%;
    vertical-align: middle;
    animation: filter-button-spin .65s linear infinite;
}

@keyframes filter-button-spin {
    to {
        transform: rotate(360deg);
    }
}


@media screen and (min-width:1024px) and (max-width:1440px){
    .breadcrumb__page-title{
        padding: 12px 24px;
        gap: 12px;
    }
    .breadcrumb{
        font-size: 14px;
    }
    .page-title h1{
        font-size: 20px;
    }
    .page-title h2.page-title__subtitle {
        font-size: 16px;
    }
    .brands__swiper{
        padding: 5px 160px 5px 5px;
    }
    .brand{
        scale: 0.8;
    }
    .brand__title{
        width: 115px;
        height: 110px;
    }
    .brand__title p{
        font-size: 16px;
    }
    .mini__categories--item{
        flex: 0 0 110px;
        width: 110px;
        height: 110px;
    }
    .mini__categories--img{
        width: 80px;
    }
    .mini__categories--title{
        font-size: 16px;
    }
    .categories__item.swiper-slide{
        width: 120px;
        height: 115px;
    }
    .shop-layout {
        grid-template-columns: 300px minmax(0, 1fr);
    }
    .sidebar__heading{
        font-size: 14px;
    }
    .sidebar__heading svg,.search__icons svg{
        width: 22px;
        height: 22px;
    }
    .sidebar__input--wrap input, .sidebar select, #desktopSortCustom,.filters__search{
        font-size: 14px;
    }
    .sidebar legend{
        font-size: 14px;
    }
    .sidebar label, .filter__checkbox--text{
        font-size: 14px;
    }
    .banner__content p{
        font-size: 22px;
    }
    .banner__content h2 {
        font-size: 28px;
    }
    .banner__content a{
        font-size: 14px;
    }
}
/* Match the original icon footprint when a taxonomy term has no dedicated artwork. */
.categories__item .categories__symbol {font-size:44px; height:65px; line-height:1; display:flex; align-items:center;}
.gm-category-phone-fallback {display:flex; width:100px; height:100px; align-items:center; justify-content:center; font-size:45px;}

/* Preserve the source category brand artwork footprint on both breakpoints. */
.brands__parent .brand__img img { width: 100px; height: 100px; display: block; object-fit: contain; }
@media screen and (max-width: 1023px) {
    .brands__parent .brand__img img { width: 60px; height: 60px; }
}

/* Only the category card gains the newer supplied HTML hover behavior. */
.shop-layout .section__products--item {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
@media (hover:hover) and (pointer:fine) {
    .shop-layout .section__products--item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.03);
        border-color: rgba(52,68,110,.12);
    }
}
.shop-layout .products__item--detail .title {
    width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.shop-layout .products__item--header img { margin-inline: auto; object-fit: contain; }
/* Original artwork is transparent; keep its entire bounds visible. */
.brands__parent .brand { box-sizing: border-box; width: max-content; min-width: 165px; }
.brands__parent .brand__img { flex: 0 0 100px; width: 100px; height: 100px; }
.brands__parent .brand__img::after { z-index: 0; }
.brands__parent .brand__img img { position: relative; z-index: 1; clip-path: none; }
@media screen and (max-width:1023px) {
    .brands__parent .brand { min-width: 0; }
    .brands__parent .brand__img { flex: 0 0 60px; width: 60px; height: 60px; }
}
/* Invalid phone/type combinations must remain visible but unavailable. */
.shop-layout label.gm-cat-unavailable { opacity: .4; cursor: not-allowed; }
.shop-layout label.gm-cat-unavailable input { pointer-events: none; }
.gm-cat-toast[hidden] { display: none; }
.gm-cat-toast { position: fixed; left: 20px; bottom: 28px; z-index: 10002;
    max-width: min(390px,calc(100vw - 40px)); padding: 12px 18px;
    border-radius: 12px; background: #202A44; color: #fff; direction: rtl;
    font-size: 14px; line-height: 1.8; box-shadow: 0 8px 30px #0003; }
@media screen and (max-width: 1023px) { .gm-cat-toast { bottom: 90px; left: 12px; } }
@media (prefers-reduced-motion: reduce) {
    .shop-layout .section__products--item { transition: none; }
    .shop-layout .section__products--item:hover { transform: none; }
}

/* Shared modal for the custom case-design feature. */
body.design-modal-open {
    overflow: hidden;
}

.design-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.design-modal[hidden] {
    display: none;
}

.design-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 48, .72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.design-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px 24px 22px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
    text-align: center;
    animation: design-modal-enter .22s ease-out;
}

.design-modal__close {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #F1F4F8;
    color: #34446E;
    cursor: pointer;
}

.design-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: #F4EB6C;
    color: #34446E;
}

.design-modal__title {
    margin: 0 0 12px;
    color: #202A44;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.6;
}

.design-modal__description,
.design-modal__note {
    margin: 0;
    color: #59657B;
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
}

.design-modal__note {
    margin-top: 8px;
    color: #34446E;
}

.design-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.design-modal__primary,
.design-modal__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.design-modal__primary {
    background: #65D9C5;
    color: #202A44;
}

.design-modal__primary:hover {
    background: #51CBB5;
    transform: translateY(-1px);
}

.design-modal__secondary {
    min-height: 40px;
    background: #F2F4F8;
    color: #48566F;
}

.design-modal__secondary:hover {
    background: #E7EBF2;
}

.design-modal__close:focus-visible,
.design-modal__primary:focus-visible,
.design-modal__secondary:focus-visible {
    outline: 2px solid #34446E;
    outline-offset: 2px;
}

@keyframes design-modal-enter {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .design-modal {
        padding: 14px;
    }

    .design-modal__dialog {
        padding: 28px 18px 18px;
        border-radius: 18px;
    }

    .design-modal__title {
        font-size: 18px;
    }

    .design-modal__description,
    .design-modal__note {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .design-modal__dialog {
        animation: none;
    }

}




/* Temporary skeleton behavior from the supplied newer product-card stylesheet. */
body.loading .shop-layout .section__products--item { position: relative; overflow: hidden; pointer-events: none; }
body.loading .shop-layout .products__item--header img,
body.loading .shop-layout .products__item--category,
body.loading .shop-layout .products__item--detail h3,
body.loading .shop-layout .products__item--detail span,
body.loading .shop-layout .products__cart--price span,
body.loading .shop-layout .products__cart--add svg { visibility: hidden; }
body.loading .shop-layout .products__item--header::before,
body.loading .shop-layout .products__item--detail::before,
body.loading .shop-layout .products__item--detail::after,
body.loading .shop-layout .products__cart--price::before,
body.loading .shop-layout .products__cart--price::after { content: ""; position: absolute; display: block; right: 0; background:#F0EFF8; border-radius:6px; }
body.loading .shop-layout .products__item--header { position:relative; min-height:144px; }
body.loading .shop-layout .products__item--header::before { inset:0; border-radius:12px; }
body.loading .shop-layout .products__item--detail,
body.loading .shop-layout .products__cart--price { position:relative; }
body.loading .shop-layout .products__item--detail { min-height:36px; }
body.loading .shop-layout .products__cart--price { min-height:34px; }
body.loading .shop-layout .products__item--detail::before { top:2px; width:85%; height:12px; }
body.loading .shop-layout .products__item--detail::after { bottom:2px; width:60%; height:9px; }
body.loading .shop-layout .products__cart--price::before { top:2px; width:65px; height:9px; }
body.loading .shop-layout .products__cart--price::after { bottom:2px; width:85px; height:12px; }
body.loading .shop-layout .products__cart--add { background: #F0EFF8; }
body.loading .shop-layout .section__products--item::after { content:""; position:absolute; inset-block:0; left:0; width:45%; z-index:5; pointer-events:none;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
    animation:gm-cat-shimmer 1.8s ease-in-out infinite; }
@keyframes gm-cat-shimmer { from { transform:translate3d(-230%,0,0); } to { transform:translate3d(350%,0,0); } }
@media(prefers-reduced-motion: reduce) { body.loading .shop-layout .section__products--item::after { animation:none; } }
/* The original 1024–1440px scale(.8) shrank 100px artwork to only 80px.
   Keep the intended source artwork footprint without moving the title block. */
@media (min-width:1024px) and (max-width:1440px) {
    .brands__parent .brand { scale: 1; }
}

/* Category v4 — interactive filter affordances, scoped to this page only. */
.page-title__ball img { width: 41px; height: 41px; object-fit: contain; }
@media (max-width:1023px) { .page-title__ball { display:flex; align-items:center; justify-content:center; } .page-title__ball img { width:32px; height:32px; } }
/* Native radio semantics with the same dimensions as supplied checkbox controls. */
.shop-layout [data-single-select] .gm-cat-radio { border-radius:50%; }
.shop-layout [data-single-select] input[type=radio]:checked + .gm-cat-radio { background:#fff; border:2px solid #34446e; }
.shop-layout [data-single-select] input[type=radio]:checked + .gm-cat-radio::after {
    visibility:visible; position:absolute; content:""; display:block; width:10px; height:10px;
    background:#34446e; border:0; border-radius:50%; top:3px; left:3px; transform:none;
}
.shop-layout [data-filter="types"] .filters__more--content { display:flex; flex-direction:column; }
.shop-layout [data-filter="types"] label { order:0; }
.shop-layout [data-filter="types"] label.gm-cat-unavailable { order:99; }
/* Keep the original Swiper and rounded brand background, including the lower semicircle. */
.brands__parent .brand__img::after { z-index:0; }
.brands__parent .brand__img img { position:relative; z-index:1; }
/* Desktop sidebar scrollbar only while hovering/focusing — no layout shift. */
@media (min-width:1024px) {
    .shop-layout > .sidebar { scrollbar-width:thin; scrollbar-color: transparent transparent; }
    .shop-layout > .sidebar:hover, .shop-layout > .sidebar:focus-within { scrollbar-color:#9aa9c0 #f0f3fa; }
    .shop-layout > .sidebar::-webkit-scrollbar { width:7px; }
    .shop-layout > .sidebar::-webkit-scrollbar-thumb { background:transparent; border-radius:8px; }
    .shop-layout > .sidebar:hover::-webkit-scrollbar-thumb,
    .shop-layout > .sidebar:focus-within::-webkit-scrollbar-thumb { background:#9aa9c0; }
}
.shop-layout .sidebar__input--wrap:focus-within,
.shop-layout .mobile-search:focus-within,
.shop-layout .filters__search--parent:focus-within { outline:2px solid #6484a8; outline-offset:1px; border-color:#6484a8; }
.shop-layout .sidebar__input--wrap input:focus, .shop-layout .mobile-search input:focus,
.shop-layout .filters__search:focus { outline:0; }
/* Search icon becomes an in-place spinner during debounce and the network request. */
.shop-layout .gm-search-loading .search__icons { position:relative; }
.shop-layout .gm-search-loading .search__icons svg { visibility:hidden; }
.shop-layout .gm-search-loading .search__icons::after {
    content:""; display:block; position:absolute; inset:2px; width:17px; height:17px;
    border-radius:50%; border:2px solid #c3d0e0; border-top-color:#34446e;
    animation:gm-cat-search-spin .7s linear infinite;
}
@keyframes gm-cat-search-spin { to { transform:rotate(360deg); } }
.shop-layout .gm-cat-taxonomy-list { max-height:260px; overflow-y:auto; }
.shop-layout .gm-cat-taxonomy-list .gm-cat-taxonomy-child { padding-inline-start:18px; }
.shop-layout .gm-cat-taxonomy-list .gm-cat-taxonomy-parent { font-weight:700; }

/* Keep the title artwork visible on desktop too (original ball SVG was hidden). */
.page-title__ball { display:flex; align-items:center; justify-content:center; flex:0 0 41px; }
@media (max-width:1023px) { .page-title__ball { flex-basis:32px; } }

/* The mobile Filters sheet has two independent fields (case + design category).
   Unlike the Brand/Model stepper they must stack, not be clipped side by side. */
@media (max-width:1023px) {
    #filterSidebar .sidebar__panel--content { flex-direction:column; overflow-y:auto; overflow-x:hidden; gap:14px; }
    #filterSidebar .sidebar__panel--content > fieldset { flex:0 0 auto; width:100%; }
}


/* Category v5: restore source brand illustration geometry, not a redesign. */
.brands__parent .brand__img { position: relative; isolation: isolate; }
.brands__parent .brand__img::after { z-index: 0; }
.brands__parent .brand__img img {
    position: relative; z-index: 1;
    clip-path: inset(-15px 0 0 0 round 70px); /* from original frontend */
    object-fit: contain; object-position: center bottom;
}
@media (min-width:1024px) {
    .brands__parent .brand { min-width: 185px; width: 185px; gap: 10px; }
    .brands__parent .brand__img { width: 100px; height: 100px; }
    .brands__parent .brand__img::after { width:95px; height:95px; }
}
@media (max-width:1023px) {
    .brands__parent .brand { min-width: 0; }
    .brands__parent .brand__img { width: 60px; height: 60px; }
    .brands__parent .brand__img::after { width:60px; height:55px; }
}

/* Desktop brand/model selection is one two-step section INSIDE the sidebar. */
.gm-sidebar-brand-back { display:none; }
@media (min-width:1024px) {
    #filterSidebar [data-filter="models"] { display:none; }
    #filterSidebar.gm-sidebar-show-models [data-filter="brands"] { display:none; }
    #filterSidebar.gm-sidebar-show-models [data-filter="models"] { display:flex; }
    #filterSidebar .gm-sidebar-brand-back {
        display:inline-flex; align-items:center; gap:7px; font:inherit; font-size:13px;
        color:#34446e; padding:4px 7px; border:0; border-radius:8px;
        background:#edf1fa; cursor:pointer; flex-shrink:0;
    }
    #filterSidebar [data-filter="models"] legend { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
    #filterSidebar .gm-sidebar-brand-back svg {transform:rotate(90deg);}
    #filterSidebar .gm-sidebar-brand-back:focus-visible {outline:2px solid #839bbd;outline-offset:2px;}
    #filterSidebar .model-search-container:not(.filter-search-container--other) {
        min-height:150px; height:auto; max-height:280px;
    }
}

/* Mobile bottom sheets: viewport-safe, square overlay; only sheet TOP is rounded. */
@media (max-width:1023px) {
    .shop-layout > .sidebar {
        inset:0; bottom:0; height:100vh; height:100dvh; width:100%;
        border-radius:0; box-shadow:none; max-height:none;
        overflow:hidden; align-items:flex-end;
    }
    .shop-layout > .sidebar > .sidebar__panel[data-sidebar] {
        box-sizing:border-box; max-height:calc(100vh - 16px);
        max-height:calc(100dvh - 16px);
        min-height:0; border-radius:26px 26px 0 0;
        padding:32px 16px max(18px, env(safe-area-inset-bottom));
        overflow:hidden;
    }
    #modelSidebar.sidebar__active {
        height:calc(100vh - 40px); height:calc(100dvh - 40px);
        max-height:calc(100dvh - 16px);
    }
    #filterSidebar.sidebar__active {
        height:min(740px, calc(100dvh - 28px));
    }
    #modelSidebar > .sidebar__panel--content,
    #filterSidebar > .sidebar__panel--content {
        min-height:0; flex:1 1 auto; max-height:none; height:auto;
        overscroll-behavior:contain;
    }
    #modelSidebar > .sidebar__panel--content { overflow:hidden; align-items:stretch; }
    #modelSidebar > .sidebar__panel--content > fieldset {
        box-sizing:border-box; height:100%; min-height:0; overflow:hidden;
    }
    #modelSidebar .model-search-container,
    #modelSidebar .model-search-container:not(.filter-search-container--other) {
        display:flex; flex:1 1 auto; flex-direction:column;
        height:auto; min-height:0; max-height:none;
    }
    #modelSidebar .model-search-container .filters__more--content.model__mobiles {
        flex:1 1 auto; height:auto; max-height:none; min-height:0;
        overflow-y:auto; overscroll-behavior:contain;
    }
    #modelSidebar .mobile__filter--btn,
    #filterSidebar .mobile__filter--btn {
        flex:0 0 auto; padding-bottom:0;
    }
    /* Original mobile card sheets are closed until the user opens them. */
    #filterSidebar fieldset.gm-mobile-filter-collapsed > .filters__more--content,
    #filterSidebar fieldset.gm-mobile-filter-collapsed > .filters__more {
        display:none !important;
    }
    #filterSidebar .gm-mobile-filter-toggle {
        appearance:none; border:0; background:none; color:#34446e; font:inherit;
        font-weight:700; width:100%; text-align:right; padding:4px 0 4px 26px;
        cursor:pointer; position:relative;
    }
    #filterSidebar .gm-mobile-filter-toggle svg {
        position:absolute; left:2px; top:50%; transform:translateY(-50%);
        transition:transform .2s ease; color:#34446e;
    }
    #filterSidebar fieldset:not(.gm-mobile-filter-collapsed) .gm-mobile-filter-toggle svg {
        transform:translateY(-50%) rotate(180deg);
    }
    #filterSidebar fieldset:not(.gm-mobile-filter-collapsed) .filters__more--content {
        max-height:min(46dvh, 360px); overflow-y:auto;
    }
    /* Remove hard rectangular focus rings, keep original input radii. */
    .shop-layout .sidebar__input--wrap:focus-within,
    .shop-layout .mobile-search:focus-within,
    .shop-layout .filters__search--parent:focus-within {
        outline:none; outline-offset:0; border-color:#9bafcb;
        border-radius:16px;
    }
    .shop-layout .sidebar__input--wrap input:focus,
    .shop-layout .mobile-search input:focus,
    .shop-layout .filters__search:focus {
        outline:none; border-color:#849ec0;
        box-shadow:0 0 0 2px rgba(111,139,182,.18);
        border-radius:16px;
    }
    .shop-layout .mobile-search:focus-within { box-shadow:0 0 0 2px rgba(111,139,182,.18); }
    .shop-layout .mobile-search input:focus {box-shadow:none;}
}

/* Desktop legends retain the source heading appearance; toggle styling is mobile-only. */
@media (min-width:1024px) {
    #filterSidebar .gm-mobile-filter-toggle {
        appearance:none; display:inline; border:0; padding:0; margin:0;
        background:transparent; font:inherit; font-weight:inherit; color:inherit;
        text-align:inherit; cursor:default;
    }
}

/* v6: spinner occupies the SAME 24x24 icon box, including on narrow phones. */
.shop-layout .gm-search-loading .search__icons {
    position:absolute; left:12px; top:50%; width:24px; height:24px;
    transform:translateY(-50%); pointer-events:none;
}
.shop-layout .gm-search-loading .search__icons svg { opacity:0; visibility:hidden; }
.shop-layout .gm-search-loading .search__icons::after {
    content:""; box-sizing:border-box; display:block; position:absolute;
    width:18px; height:18px; inset:3px; border:2px solid #d5dfed;
    border-top-color:#34446e; border-radius:50%;
    animation:gm-cat-search-spin .7s linear infinite;
}
/* Single inset focus indication follows the original corner radii; no stacked outlines. */
.shop-layout .sidebar__input--wrap:focus-within,
.shop-layout .mobile-search:focus-within,
.shop-layout .filters__search--parent:focus-within {
    outline:0 !important; box-shadow:none !important; border-radius:inherit;
}
.shop-layout .sidebar__input--wrap input:focus,
.shop-layout .filters__search:focus {
    outline:0 !important; box-shadow:0 0 0 1px #8ca6c8 !important;
    border:1px solid #8ca6c8 !important; border-radius:16px !important;
}
@media (max-width:1023px) {
    .shop-layout .mobile-search:focus-within {
        border:1px solid #8ca6c8 !important; border-radius:10px !important;
        box-shadow:0 0 0 1px #8ca6c8 !important;
    }
    .shop-layout .mobile-search input:focus {
        outline:none !important; border:0 !important; border-radius:inherit !important;
        box-shadow:none !important;
    }
}


/* v7: keep the desktop model list scrolling INSIDE its existing fieldset. */
@media (min-width:1024px) {
    #filterSidebar [data-filter="models"] { min-height:0; }
    #filterSidebar [data-filter="models"] .model-search-container:not(.filter-search-container--other) {
        display:flex; flex-direction:column; flex:0 1 auto;
        height:280px; max-height:280px; min-height:0; overflow:hidden;
    }
    #filterSidebar [data-filter="models"] .model-search-container .filters__more--content.model__mobiles {
        display:flex; flex-direction:column; flex:1 1 auto;
        min-height:0; max-height:none; height:auto;
        overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain;
    }
    #filterSidebar [data-filter="models"] .model__mobiles > label { flex-shrink:0; }
}
/* v7: FAQ / content styles are sourced from the original homepage rules,
   not from importing the whole homepage stylesheet into the shop. */
.shop-layout + .section__faq { margin-top:40px; }
.title__products {font-size:14px;color:var(--color-primary-2);font-weight:700;display:flex;align-items:center;}
.title__products::before {content:"";width:13px;height:13px;background:#F4EB6C;margin-left:10px;border-radius:13px;rotate:45deg;}
@media (min-width:768px) {.title__products {font-size:24px;} .title__products::before {width:32px;height:32px;} .faq__item--title,.faq__item--content {font-size:16px;} .faq__item {gap:10px;cursor:pointer;} }

.section__faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #F0F3FF;
    border-radius: 12px;
    padding: 12px;
    overflow: hidden;
}

.faq__item--header svg {
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.faq__item--title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary-2);
}

.faq__item--content {
    font-size: 14px;
    color: var(--color-primary-3);
    line-height: 16px;
    padding: 0 6px;
    display: block;
    height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    transition: height 0.4s ease, opacity 0.3s ease;
}

.faq__item.active .faq__item--content {
    height: auto;
    opacity: 1;
}

.faq__item.active .faq__item--header svg {
    transform: rotate(180deg);
}


.section__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section__content--title {
    color: var(--color-primary-3);
    font-weight: 700;
    font-size: 14px;
}

.content--texts-other {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    width: 100%;
    background: unset;
    border: unset;
    padding: 10px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--color-primary-3);
}

.section__content--texts p {
    font-size: 14px;
    color: var(--color-primary-3);
    line-height: 24px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9;
    line-clamp: 9;

    overflow: hidden;
    position: relative;
    transition: height 0.4s ease;

    text-align: justify;
}

.section__content--texts p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    height: 65px;

    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.65) 55%,
            #ffffff 100%);

    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease;
}

.section__content--texts.active p {
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.section__content--texts.active p::after {
    opacity: 0;
    visibility: hidden;
}

.content--texts-other {
    cursor: pointer;
}

.content--texts-other svg {
    transition: transform 0.3s ease;
}

.section__content--texts.active .content--texts-other svg {
    transform: rotate(180deg);
}

.section__content--texts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.section__content--texts { display: block; }
.section__content--texts p,
.section__content--texts li {
    display: block;
    overflow: visible;
    position: static;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    text-align: justify;
    line-height: 2;
    font-size: 15px;
    color: var(--color-primary-3);
}
.section__content--texts p::after { display: none !important; content: none !important; }
.section__content--texts p { margin: 0 0 16px; }
.section__content--texts h3 {
    margin: 28px 0 12px;
    font-size: clamp(17px, 1.8vw, 23px);
    line-height: 1.7;
    font-weight: 700;
    color: var(--color-primary-2);
}
.section__content--texts ul,
.section__content--texts ol { padding: 0 25px 0 0; margin: 0 0 16px; }
.section__content--texts li { display: list-item; margin-bottom: 8px; }
.section__content--texts ul li { list-style: disc outside; }
.section__content--texts ol li { list-style: decimal outside; }
.section__content--texts a { color: var(--color-primary-2); text-decoration: underline; text-underline-offset: 3px; }
.section__content--texts strong { font-weight: 700; }
@media screen and (min-width: 1024px) {
    .section__content--texts p, .section__content--texts li { font-size: 17px; line-height: 2; }
}

/* v1.0.13 — accessible show more / show less for long SEO content. */
.section__content--texts.is-collapsible {
    position: relative;
    max-height: 340px;
    overflow: hidden;
}
.section__content--texts.is-collapsible:not(.is-expanded)::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: auto 0 0;
    height: 88px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 93%);
}
.section__content--texts.is-collapsible.is-expanded { max-height: none; overflow: visible; }
.section__content--texts.is-collapsible.is-expanded::after { display: none; }
.section__content .content--texts-other {
    display: inline-flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    padding: 12px 16px;
    color: #34446E;
    font-weight: 600;
}
.section__content .content--texts-other[hidden] { display: none !important; }
.section__content .content--texts-other svg { transition: transform .22s ease; }
.section__content .content--texts-other[aria-expanded="false"] svg { transform: rotate(180deg); }
.section__content .content--texts-other:focus-visible { outline: 2px solid #34446E; outline-offset: 3px; }


/* v8: desktop filter headings are static; chevrons belong only to mobile accordions. */
@media (min-width: 1024px) {
  #filterSidebar [data-filter="types"] .gm-mobile-filter-toggle svg,
  #filterSidebar [data-filter="categories"] .gm-mobile-filter-toggle svg { display: none !important; }
}

/* v19: Rich category description presentation.
   All rules are scoped to the existing .section__content--texts root class. */
.section__content--texts {
    width: 100%;
    min-width: 0;
    color: var(--color-primary-3);
    overflow-wrap: break-word;
}

.section__content--texts > :first-child { margin-block-start: 0; }

.section__content--texts p {
    margin: 0 0 18px;
    line-height: 2;
    text-align: justify;
}

.section__content--texts h2.wp-block-heading {
    margin: 30px 0 14px;
    color: var(--color-primary-2);
    font-size: clamp(18px, 1.9vw, 23px);
    font-weight: 700;
    line-height: 1.7;
}

.section__content--texts h3 {
    margin: 26px 0 12px;
    color: var(--color-primary-2);
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 700;
    line-height: 1.75;
}

.section__content--texts h4 {
    margin: 22px 0 10px;
    color: var(--color-primary-2);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.75;
}

.section__content--texts ul,
.section__content--texts ol {
    margin: 0 0 20px;
    padding-inline-start: 28px;
}

.section__content--texts li {
    margin: 0 0 9px;
    padding-inline-start: 3px;
    line-height: 2;
}

/* Links stay visibly blue in every state, including visited links. */
.section__content--texts a:link,
.section__content--texts a:visited {
    color: #1769E0;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.section__content--texts a:hover {
    color: #0B55C4;
    text-decoration-thickness: 2px;
}

/* Center editorial images and preserve their original aspect ratios. */
.section__content--texts figure.wp-block-image {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 24px auto;
    text-align: center;
}

.section__content--texts figure.wp-block-image img,
.section__content--texts > img,
.section__content--texts p > img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    border-radius: 14px;
}

.section__content--texts p > img { margin-block: 22px; }

.section__content--texts figure.wp-block-gallery {
    width: 100%;
    max-width: 100%;
    margin: 24px auto;
    text-align: center;
}

.section__content--texts figure.wp-block-gallery > figure.wp-block-image {
    min-width: 0;
    margin: 0 auto 18px;
}

.section__content--texts figure.wp-block-gallery > figure.wp-block-image:last-child {
    margin-bottom: 0;
}

.section__content--texts figure.wp-block-image figcaption,
.section__content--texts .wp-element-caption {
    margin: 10px 0 0;
    color: var(--color-primary-3);
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

/* A table scrolls inside its own wrapper on narrow screens, not the page. */
.section__content--texts figure.wp-block-table {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 24px 0;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #E3E8F2;
    border-radius: 14px;
    background: #FFFFFF;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #B8C4D7 #F0F3F8;
}

.section__content--texts figure.wp-block-table table {
    width: 100%;
    min-width: 620px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}

.section__content--texts figure.wp-block-table th,
.section__content--texts figure.wp-block-table td {
    min-width: 150px;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #E8ECF3;
    border-inline-start: 1px solid #E8ECF3;
    color: var(--color-primary-3);
    font-size: 14px;
    line-height: 1.85;
    text-align: right;
    vertical-align: middle;
}

.section__content--texts figure.wp-block-table tr > :last-child { border-inline-start: 0; }

.section__content--texts figure.wp-block-table tbody tr:first-child > th,
.section__content--texts figure.wp-block-table tbody tr:first-child > td {
    background: #F0F3FF;
    color: var(--color-primary-2);
    font-weight: 700;
}

.section__content--texts figure.wp-block-table tbody tr:nth-child(even):not(:first-child) > td {
    background: #FAFBFE;
}

.section__content--texts figure.wp-block-table tbody tr:last-child > td { border-bottom: 0; }
.section__content--texts figure.wp-block-table::-webkit-scrollbar { height: 7px; }
.section__content--texts figure.wp-block-table::-webkit-scrollbar-track { background: #F0F3F8; border-radius: 99px; }
.section__content--texts figure.wp-block-table::-webkit-scrollbar-thumb { background: #B8C4D7; border-radius: 99px; }

/* Center the native audio player and give it a calm surface matching the site palette. */
.section__content--texts figure.wp-block-audio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    margin: 24px auto;
    padding: 16px 18px;
    border: 1px solid #E5EAF2;
    border-radius: 16px;
    background: #F7F9FC;
}

.section__content--texts figure.wp-block-audio audio {
    display: block;
    width: 100%;
    max-width: 560px;
    min-height: 40px;
    direction: ltr;
}

.section__content--texts figure.wp-block-audio .wp-element-caption {
    width: 100%;
    margin: 0;
    color: var(--color-primary-3);
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 767px) {
    .section__content--texts figure.wp-block-image,
    .section__content--texts figure.wp-block-gallery,
    .section__content--texts figure.wp-block-table,
    .section__content--texts figure.wp-block-audio { margin-block: 20px; }

    .section__content--texts figure.wp-block-audio {
        padding: 12px;
        border-radius: 14px;
    }

    .section__content--texts figure.wp-block-table th,
    .section__content--texts figure.wp-block-table td {
        padding: 11px 12px;
        font-size: 13px;
    }
}



/* Crawlable fallback pagination; infinite scroll remains the primary interaction. */
.products__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 24px auto 8px;
    direction: rtl;
}
.products__pagination[hidden],
.products__pagination a[hidden] { display: none !important; }
.products__pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #E5EAF2;
    border-radius: 10px;
    background: #F7F9FC;
    color: var(--color-primary-2);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.products__pagination span {
    color: var(--color-primary-3);
    font-size: 12px;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .products__pagination { gap: 8px; margin-block: 18px 6px; }
    .products__pagination a { min-height: 36px; padding-inline: 11px; font-size: 12px; }
}


/* Brand artwork must not keep the browser inline-image descender gap; anchor it to the visual baseline. */
.brands__parent .brand__img {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    line-height: 0;
}
.brands__parent .brand__img img {
    display: block;
    object-position: center bottom;
    vertical-align: bottom;
}
