/* Final fashion catalog layer. It loads after category-local styles. */
html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid > .container-fluid-row > .row-fluid {
    display: grid !important;
    grid-template-columns: 238px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
    width: min(1580px, calc(100% - 28px)) !important;
    margin: 0 auto !important;
}

html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .side-grid,
html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .span16.side-grid {
    grid-column: 1 !important;
    grid-row: 1 !important;
    float: none !important;
    width: 238px !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .main-content-grid,
html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .span9.main-content-grid {
    grid-column: 2 !important;
    grid-row: 1 !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .side-grid .ut2-sidebox-important {
    margin: 0 0 12px !important;
    padding: 14px !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .ut2-cat-container,
html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .cat-view-grid {
    width: 100% !important;
    margin: 0 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .ty-sort-container {
    min-height: 64px !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 0 12px !important;
    padding: 14px 16px !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .ut2-sorting-wrap {
    width: 100% !important;
    gap: 8px !important;
}

html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 11px !important;
    align-items: stretch !important;
    width: 100% !important;
}

html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents > .ty-column2,
html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents > .ty-column3,
html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents > .ty-column4,
html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents > .ty-column5 {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 1px solid #e1e4e6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card:hover {
    border-color: #a6a6a6 !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .10) !important;
    transform: translateY(-1px) !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media {
    position: relative !important;
    flex: 0 0 auto !important;
    aspect-ratio: 1 / 1.06 !important;
    overflow: hidden !important;
    background: #eee !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .product_icon_lnk,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ty-no-image,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ty-pict {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    transition: transform .3s ease !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card:hover .safqa-fashion-product-card__media img {
    transform: scale(1.025) !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ut2-w-c-q__buttons {
    position: absolute !important;
    z-index: 4 !important;
    top: 8px !important;
    inset-inline-end: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 31px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ut2-w-c-q__buttons > a {
    position: static !important;
    inset: auto !important;
    flex: 0 0 31px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ut2-add-to-wish,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ut2-add-to-compare {
    display: grid !important;
    width: 31px !important;
    height: 31px !important;
    place-items: center !important;
    border: 1px solid rgba(213, 217, 217, .92) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #46515b !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ut2-w-c-q__buttons > a::before,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ut2-w-c-q__buttons > a::after {
    display: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ut2-add-to-compare {
    display: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card:hover .ut2-add-to-compare {
    display: grid !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ab-stickers-container {
    position: absolute !important;
    z-index: 5 !important;
    top: 9px !important;
    inset-inline-start: 9px !important;
    width: auto !important;
    max-width: calc(100% - 54px) !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ab-sticker,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .ab__sticker {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 3px 7px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #9a4738 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .quick-view-wrapper {
    position: absolute !important;
    z-index: 3 !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    min-height: 33px !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    background: rgba(19, 30, 41, .93) !important;
    opacity: 0 !important;
    transform: translateY(7px) !important;
    transition: .18s ease !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card:hover .quick-view-wrapper {
    opacity: 1 !important;
    transform: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .quick-view-wrapper .ut2-quick-view-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 33px !important;
    color: #fff !important;
    font-size: 0 !important;
    text-decoration: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .quick-view-wrapper .ut2-quick-view-button i {
    display: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__media .quick-view-wrapper .ut2-quick-view-button::after {
    content: attr(title) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 11px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card .brand-name {
    min-height: 14px !important;
    margin: 0 0 3px !important;
    color: #6b7280 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__name {
    min-height: 38px !important;
    overflow: hidden !important;
    color: #172434 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__name a {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: inherit !important;
    text-decoration: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__rating {
    min-height: 18px !important;
    margin: 5px 0 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__variants {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 24px !important;
    margin-bottom: 6px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__swatch {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 1px #b9bcbe !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__swatch.is-active {
    box-shadow: 0 0 0 2px #214e3d !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 5px !important;
    margin-top: auto !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__price .ty-price-num {
    color: #172434 !important;
    font-family: Outfit, "Noto Sans Arabic", sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card .old-price {
    color: #7b7e80 !important;
    font-size: 10px !important;
    text-decoration: line-through !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card .discount-badge {
    padding: 1px 5px !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 3px !important;
    color: #9a4738 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__stock {
    min-height: 16px !important;
    margin-top: 3px !important;
    color: #667085 !important;
    font-size: 9.5px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__delivery {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-height: 16px !important;
    margin-top: 3px !important;
    color: #667085 !important;
    font-size: 9.5px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__delivery > span {
    color: #667085 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__stock .ty-control-group,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__stock .ty-control-group__item,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__stock .ty-qty-in-stock,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__stock .ty-qty-out-of-stock,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__stock .on_backorder {
    display: inline !important;
    margin: 0 !important;
    color: #007600 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card.is-out-of-stock .safqa-fashion-product-card__stock .ty-qty-out-of-stock {
    color: #b12704 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__actions {
    margin-top: 9px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__actions .ty-btn,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__actions button {
    width: 100% !important;
    min-height: 33px !important;
    border: 1px solid #fcd200 !important;
    border-radius: 999px !important;
    background: #ffd814 !important;
    color: #111 !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
}

/* The native option dialog is the size-selection action for fashion products. */
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__actions .ut2-btn__options {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__actions .ut2-btn__options::after {
    content: "اختر المقاس" !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
}

html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents .safqa-category-editorial-banner {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1.25fr !important;
    min-height: 170px !important;
    margin: 3px 0 !important;
}

@media (max-width: 1199px) {
    html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid > .container-fluid-row > .row-fluid {
        display: block !important;
        width: calc(100% - 20px) !important;
    }

    html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .side-grid {
        display: none !important;
    }

    html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__body {
        padding: 9px !important;
    }

    html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-product-card__name {
        min-height: 35px !important;
        font-size: 11px !important;
    }

    html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents .safqa-category-editorial-banner {
        grid-template-columns: 1fr !important;
    }
}

/* Exact live implementation of the fashion-category preview components. */
html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents {
    display: block !important;
}

html body.theme-safqa:has(.sq-fashion-category) #categories_view_pagination_contents > .product-grid,
html body.theme-safqa:has(.sq-fashion-category) .cat-content-grid .product-grid {
    display: block !important;
    width: 100% !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 11px !important;
    width: 100% !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items > .ty-column2,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items > .ty-column3,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items > .ty-column4,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items > .ty-column5 {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 1px solid #e1e4e6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-card:hover {
    border-color: #a6a6a6 !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .10) !important;
    transform: translateY(-1px) !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media {
    position: relative !important;
    flex: 0 0 auto !important;
    aspect-ratio: 1 / 1.06 !important;
    overflow: hidden !important;
    background: #eee !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .product_icon_lnk,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ty-no-image,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ty-pict {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    transition: transform .3s ease !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-card:hover .product-media img {
    transform: scale(1.025) !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ut2-w-c-q__buttons {
    position: absolute !important;
    z-index: 4 !important;
    top: 8px !important;
    inset-inline-end: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 31px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ut2-w-c-q__buttons > a,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ut2-add-to-wish,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ut2-add-to-compare {
    position: static !important;
    display: grid !important;
    width: 31px !important;
    height: 31px !important;
    min-height: 31px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    border: 1px solid rgba(213, 217, 217, .92) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #46515b !important;
    transform: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ut2-add-to-compare {
    display: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-card:hover .product-media .ut2-add-to-compare {
    display: grid !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ut2-w-c-q__buttons > a::before,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ut2-w-c-q__buttons > a::after {
    display: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ab-stickers-container {
    position: absolute !important;
    z-index: 5 !important;
    top: 9px !important;
    inset-inline-start: 9px !important;
    width: auto !important;
    max-width: calc(100% - 54px) !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ab-sticker,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-media .ab__sticker {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 3px 7px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #9a4738 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .quick-view-wrapper {
    position: absolute !important;
    z-index: 3 !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    min-height: 33px !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    background: rgba(19, 30, 41, .93) !important;
    opacity: 0 !important;
    transform: translateY(7px) !important;
    transition: .18s ease !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-card:hover .quick-view-wrapper {
    opacity: 1 !important;
    transform: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .quick-view-wrapper .ut2-quick-view-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 33px !important;
    color: #fff !important;
    font-size: 0 !important;
    text-decoration: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .quick-view-wrapper .ut2-quick-view-button i {
    display: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .quick-view-wrapper .ut2-quick-view-button::after {
    content: attr(title) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 11px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .brand-name {
    min-height: 14px !important;
    margin: 0 0 3px !important;
    color: #6b7280 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-name {
    min-height: 38px !important;
    overflow: hidden !important;
    color: #172434 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-name a {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: inherit !important;
    text-decoration: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .rating {
    min-height: 18px !important;
    margin: 5px 0 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .variant-row {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 24px !important;
    margin-bottom: 6px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .variant {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 1px #b9bcbe !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .variant.is-active {
    box-shadow: 0 0 0 2px #214e3d !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 5px !important;
    margin-top: auto !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .price .ty-price-num {
    color: #172434 !important;
    font-family: Outfit, "Noto Sans Arabic", sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .price .old-price {
    color: #7b7e80 !important;
    font-size: 10px !important;
    text-decoration: line-through !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .delivery {
    min-height: 16px !important;
    margin-top: 3px !important;
    color: #667085 !important;
    font-size: 9.5px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .delivery > span {
    color: #667085 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .delivery .stock-status,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .delivery .ty-qty-in-stock,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .delivery .on_backorder {
    color: #007600 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-card.is-out-of-stock .delivery .ty-qty-out-of-stock {
    color: #b12704 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-card-actions {
    margin-top: 9px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-card-actions .ty-btn,
html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-card-actions button {
    width: 100% !important;
    min-height: 33px !important;
    border: 1px solid #fcd200 !important;
    border-radius: 999px !important;
    background: #ffd814 !important;
    color: #111 !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .editorial-banner {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1.25fr !important;
    min-height: 170px !important;
    margin: 3px 0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #d8dfd0 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar.filters {
    position: sticky !important;
    top: 12px !important;
    max-height: calc(100vh - 24px) !important;
    margin: 0 !important;
    overflow-y: auto !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .filters-head {
    min-height: 48px !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #eef0f1 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .filters-head strong {
    font-size: 13px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .reset {
    border: 0 !important;
    background: none !important;
    color: #007eb9 !important;
    font-size: 10px !important;
    text-decoration: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .filter-block {
    padding: 13px 14px !important;
    border-bottom: 1px solid #eef0f1 !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .filter-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 0 9px !important;
    color: #172434 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .filter-title__actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .filter-title__reset {
    color: #8a8d8f !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .ty-product-filters__group,
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .ty-product-filters__variants {
    display: grid !important;
    gap: 6px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar .ty-product-filters__item {
    margin: 0 !important;
    color: #172434 !important;
    font-size: 10.5px !important;
}

html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar input[type="checkbox"],
html body.theme-safqa:has(.sq-fashion-category) .safqa-fashion-sidebar input[type="radio"] {
    accent-color: #214e3d !important;
}

@media (max-width: 1199px) {
    html body.theme-safqa:has(.sq-fashion-category) .product-grid__items {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    html body.theme-safqa:has(.sq-fashion-category) .product-grid__items {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .product-info {
        padding: 9px !important;
    }

    html body.theme-safqa:has(.sq-fashion-category) .product-grid__items .editorial-banner {
        grid-template-columns: 1fr !important;
    }
}
