body.woocommerce-shop,
.woocommerce-shop,
.woocommerce-shop .shop-marketplace-wrapper,
.shop-category-shortcuts-wrapper {
    max-width: 100%;
    overflow-x: clip;
}

ul.products {
    max-width: 100%;
}

.shop-product-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    line-height: 1;
    color: #69747f;
    font-size: 13px;
}

.shop-product-rating__stars {
    position: relative;
    display: inline-block;
    overflow: hidden;
    letter-spacing: 2px;
    white-space: nowrap;
}

.shop-product-rating__base { color: #d9dce2; }

.shop-product-rating__fill {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    overflow: hidden;
    color: #ff7426;
    white-space: nowrap;
}

.woocommerce ul.products li.product .shop-direct-add {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    margin-top: 14px;
}

.woocommerce-shop #shop-results ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}

.woocommerce-shop #shop-results ul.products::before,
.woocommerce-shop #shop-results ul.products::after {
    display: none;
}

.woocommerce-shop #shop-results ul.products li.product {
    float: none;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none;
    margin: 0;
    text-align: start;
}

/* ============================================================
   REFINED PRODUCT CARD STYLES (Shop Catalog & Related Products)
   Human-crafted, modern, premium e-commerce design
   ============================================================ */

.woocommerce ul.products li.product .product-card,
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #ebe8f2;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease;
}

.woocommerce ul.products li.product .product-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    border-color: #d4cee4;
    box-shadow: 0 12px 28px rgba(36, 32, 68, 0.08);
}

.woocommerce ul.products li.product .gt3_modern_shop_item {
    padding: 0 !important;
    margin: 0 !important;
}

.product-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7f6fb;
}

.product-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    outline: none;
}

.product-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__img {
    transform: scale(1.04);
}

/* Product Card Badges - Positioned in the Start corner (Left in LTR, Right in RTL) */
.product-card__badges {
    position: absolute !important;
    top: 12px !important;
    inset-block-start: 12px !important;
    inset-inline-start: 12px !important;
    inset-inline-end: auto !important;
    bottom: auto !important;
    z-index: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    pointer-events: none !important;
    max-width: calc(100% - 62px) !important;
}

html[dir="ltr"] .product-card__badges,
body.ltr .product-card__badges {
    left: 12px !important;
    right: auto !important;
}

html[dir="rtl"] .product-card__badges,
body.rtl .product-card__badges {
    right: 12px !important;
    left: auto !important;
}

.product-card .product-card__badge,
.woocommerce ul.products li.product .product-card span.onsale {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.25 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.product-card__badge--sale,
.woocommerce ul.products li.product .product-card span.onsale:not(.new-product) {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.product-card__badge--featured,
.woocommerce ul.products li.product .product-card span.onsale.new-product {
    background: #6366f1 !important;
    color: #ffffff !important;
}

.product-card__badge--bestseller,
.woocommerce ul.products li.product .product-card span.onsale.hot-product {
    background: #f59e0b !important;
    color: #ffffff !important;
}

/* Wishlist Floating Action - Positioned in the End corner (Right in LTR, Left in RTL) */
.product-card__wishlist-wrap,
.gt3_modern_shop ul.products li.product .gt3_modern_shop_item .product-card__wishlist-wrap {
    position: absolute !important;
    top: 12px !important;
    inset-block-start: 12px !important;
    inset-inline-end: 12px !important;
    inset-inline-start: auto !important;
    bottom: auto !important;
    z-index: 5 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    display: block !important;
}

html[dir="ltr"] .product-card__wishlist-wrap,
body.ltr .product-card__wishlist-wrap {
    right: 12px !important;
    left: auto !important;
}

html[dir="rtl"] .product-card__wishlist-wrap,
body.rtl .product-card__wishlist-wrap {
    left: 12px !important;
    right: auto !important;
}

.product-card__wishlist-wrap .yith-wcwl-add-to-wishlist,
.product-card__wishlist-wrap .yith-wcwl-add-button {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: 1 !important;
    position: static !important;
}

.product-card__wishlist-btn,
button.product-card__wishlist-btn,
a.product-card__wishlist-btn,
.gt3_modern_shop ul.products li.product .gt3_modern_shop_item .product-card__wishlist-btn,
.gt3_modern_shop ul.products li.product .gt3_modern_shop_item .gt3_woocommerce_open_control_tag .product-card__wishlist-btn {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #64748b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    outline: none !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
    pointer-events: auto !important;
}

.product-card__wishlist-btn::before,
.product-card__wishlist-btn::after {
    display: none !important;
    content: none !important;
}

.product-card__wishlist-btn:hover,
button.product-card__wishlist-btn:hover,
a.product-card__wishlist-btn:hover {
    background: #ffffff !important;
    color: #ef4444 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.product-card__wishlist-btn.is-active,
button.product-card__wishlist-btn.is-active,
a.product-card__wishlist-btn.is-active {
    background: #fef2f2 !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15) !important;
}

.product-card__wishlist-btn svg,
.product-card__wishlist-btn .product-card__wishlist-icon,
.product-card__wishlist-btn .yith-wcwl-icon-svg {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    pointer-events: none !important;
    transition: transform 0.2s ease, fill 0.2s ease, stroke 0.2s ease !important;
    flex-shrink: 0 !important;
    fill: none !important;
    stroke: currentColor !important;
}

.product-card__wishlist-btn.is-active svg,
.product-card__wishlist-btn.is-active .product-card__wishlist-icon,
.product-card__wishlist-btn.is-active .yith-wcwl-icon-svg {
    fill: #ef4444 !important;
    stroke: #ef4444 !important;
}

.product-card__wishlist-text {
    display: none !important;
}

/* Card Content Area */
.product-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 16px 16px 18px;
    box-sizing: border-box;
    text-align: start;
}

.product-card__category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8c89a0;
    margin-bottom: 6px;
    line-height: 1.2;
}

.woocommerce ul.products li.product .product-card h2.woocommerce-loop-product__title,
.product-card__title {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 42px !important;
    color: var(--shop-ink, #242044) !important;
}

.product-card__title a,
.woocommerce ul.products li.product .product-card h2.woocommerce-loop-product__title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.product-card__title a:hover,
.woocommerce ul.products li.product .product-card h2.woocommerce-loop-product__title a:hover {
    color: var(--shop-primary, #6254e7) !important;
}

/* Product Card Rating */
.product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0 !important;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1;
    color: #8c89a0;
}

.product-card__rating .shop-product-rating__stars {
    letter-spacing: 1.5px;
    font-size: 13px;
}

.product-card__rating .shop-product-rating__base {
    color: #dedbe8;
}

.product-card__rating .shop-product-rating__fill {
    color: #f59e0b;
}

.product-card__rating .shop-product-rating__count {
    font-size: 11px;
    color: #9d99ae;
}

/* Card Bottom */
.product-card__bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.woocommerce ul.products li.product .product-card .price,
.product-card__price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.product-card__price ins,
.product-card__price > .amount,
.product-card__price > strong {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--shop-ink, #242044) !important;
    text-decoration: none !important;
    order: 1;
}

.product-card__price del {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #a8a4b6 !important;
    text-decoration: line-through !important;
    order: 2;
}

.product-card__price .woocommerce-Price-currencySymbol,
.product-card__price small {
    font-size: 12px;
    font-weight: 600;
}

/* Card Buttons */
.woocommerce ul.products li.product .product-card a.product-card__btn,
.product-card .product-card__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    background: var(--shop-primary, #6254e7) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(98, 84, 231, 0.18) !important;
    margin: 0 !important;
    gap: 8px;
}

.woocommerce ul.products li.product .product-card a.product-card__btn:hover,
.product-card .product-card__btn:hover:not(:disabled) {
    background: var(--shop-primary-dark, #4f42c9) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(98, 84, 231, 0.28) !important;
}

.product-card .product-card__btn:disabled,
.product-card .product-card__btn--disabled {
    background: #edeaf3 !important;
    color: #9f9baa !important;
    border: 1px solid #ddd9e8 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.product-card__btn-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.woocommerce-shop .gt3-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.woocommerce-shop .gt3-products-header .woocommerce-ordering,
.woocommerce-shop .gt3-products-header .gt3-pagination_nav {
    float: none;
    margin-inline: 0;
}

.woocommerce-shop .sidebar,
.woocommerce-shop .sidebar .bapf_head,
.woocommerce-shop .sidebar .bapf_body {
    text-align: start;
}

.woocommerce-shop #bapf_4 .bapf_slidr_main {
    touch-action: none;
}

html[dir="rtl"] .woocommerce-shop .gt3-mobile__burger_shop_sidebar {
    right: 0;
    left: auto;
    transform: translateX(101%);
}

html[dir="rtl"] .woocommerce-shop .gt3-mobile__burger_shop_sidebar.active {
    transform: translateX(0);
}

html[dir="rtl"] .woocommerce-shop .gt3-mobile__burger_shop_sidebar_close {
    right: auto;
    left: 20px;
}

.woocommerce-shop .shop-header-search-icon::after,
.woocommerce-shop .shop-header-search-icon::before,
.woocommerce-shop .shop-header-cart-icon::before,
.woocommerce-shop .shop-header-cart-icon::after {
    content: none !important;
}

.woocommerce-shop .shop-header-search-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.woocommerce-shop .wpda-builder-logo_container .wpda-builder-logo {
    width: auto;
    max-width: 180px;
    height: auto;
    max-height: 54px;
    object-fit: contain;
}

/* ==========================================================================
   SHARED SHOP HEADER (Shop Catalog, Single Product, Cart, Wishlist)
   Unified 38px control baseline, responsive alignment, and full RTL symmetry
   ========================================================================== */

.woocommerce-shop .shop-site-header,
.woocommerce-shop .shop-site-header > section {
    max-width: 100vw;
    position: relative;
    background: #ffffff;
}

.woocommerce-shop .shop-site-header .elementor-element-3a726bf0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #e7e8eb !important;
    background: #ffffff !important;
}

.woocommerce-shop .shop-site-header > section > .elementor-container,
.woocommerce-shop .shop-site-header .shop-header-inner {
    width: 100%;
    max-width: 100%;
}

/* Reset Elementor widget margins that cause vertical misalignment */
.woocommerce-shop .shop-site-header .shop-header-logo-column > .elementor-widget-wrap,
.woocommerce-shop .shop-site-header .shop-header-nav-column > .elementor-widget-wrap,
.woocommerce-shop .shop-site-header .shop-header-actions-column > .elementor-widget-wrap {
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-shop .shop-site-header .shop-header-logo-column .elementor-widget,
.woocommerce-shop .shop-site-header .shop-header-logo-column .elementor-widget-container,
.woocommerce-shop .shop-site-header .shop-header-nav-column .elementor-widget,
.woocommerce-shop .shop-site-header .shop-header-nav-column .elementor-widget-container,
.woocommerce-shop .shop-site-header .shop-header-actions-column .elementor-widget,
.woocommerce-shop .shop-site-header .shop-header-actions-column .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* 1. Header Logo */
.woocommerce-shop .shop-site-header .shop-header-logo-column {
    width: auto;
    min-width: 0;
}

.woocommerce-shop .shop-site-header .wpda-builder-logo_container {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.woocommerce-shop .shop-site-header .wpda-builder-logo_container a {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.woocommerce-shop .shop-site-header .elementor-element.elementor-element-77b9c938 .wpda-builder-logo_container img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    max-width: 175px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    display: block !important;
}

/* 2. Desktop Navigation */
.woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.4vw, 26px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul > li {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

.woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul > li > a {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    line-height: 1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul > li > a:hover,
.woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul > li.current-menu-item > a {
    color: #6254e7 !important;
}

/* 3. Header Action Buttons - Standard 38px Height System */
.woocommerce-shop .shop-site-header .shop-header-actions-column > .elementor-widget-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    line-height: 1 !important;
}

/* Shop Header Wishlist Action */
.shop-site-header .shop-header-wishlist,
.woocommerce-shop .shop-site-header .shop-header-wishlist {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    line-height: 1 !important;
}

.shop-site-header a.shop-header-wishlist-btn,
.woocommerce-shop .shop-site-header a.shop-header-wishlist-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border: 1px solid #e7e8eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #3b3663 !important;
    position: relative !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease !important;
}

.shop-site-header a.shop-header-wishlist-btn:hover,
.woocommerce-shop .shop-site-header a.shop-header-wishlist-btn:hover {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.shop-site-header .shop-header-wishlist-icon,
.woocommerce-shop .shop-site-header .shop-header-wishlist-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    font-style: normal !important;
    line-height: 1 !important;
}

.shop-site-header .shop-header-wishlist-icon svg,
.woocommerce-shop .shop-site-header .shop-header-wishlist-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    display: block !important;
    transition: fill .2s ease, stroke .2s ease, transform .2s ease !important;
}

.shop-site-header a.shop-header-wishlist-btn:hover .shop-header-wishlist-icon svg,
.woocommerce-shop .shop-site-header a.shop-header-wishlist-btn:hover .shop-header-wishlist-icon svg {
    stroke: #ef4444 !important;
    fill: rgba(239, 68, 68, 0.15) !important;
    transform: scale(1.08) !important;
}

/* Wishlist Header Badge */
.shop-site-header .shop-header-wishlist-count,
.woocommerce-shop .shop-site-header .shop-header-wishlist-count {
    position: absolute !important;
    top: -5px !important;
    inset-inline-end: -5px !important;
    inset-inline-start: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    box-sizing: content-box !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-style: normal !important;
}

html[dir="ltr"] .shop-site-header .shop-header-wishlist-count,
body.ltr .shop-site-header .shop-header-wishlist-count {
    right: -5px !important;
    left: auto !important;
}

html[dir="rtl"] .shop-site-header .shop-header-wishlist-count,
body.rtl .shop-site-header .shop-header-wishlist-count {
    left: -5px !important;
    right: auto !important;
}

/* Cart Button */
.woocommerce-shop .shop-site-header .elementor-element-18b1368d,
.woocommerce-shop .shop-site-header .wpda-builder-cart {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    line-height: 1 !important;
}

.woocommerce-shop .shop-site-header a.wpda_cart-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border: 1px solid #e7e8eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #3b3663 !important;
    position: relative !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease !important;
}

.woocommerce-shop .shop-site-header a.wpda_cart-icon:hover {
    border-color: #6254e7 !important;
    background: #f7f6ff !important;
    color: #6254e7 !important;
}

.woocommerce-shop .shop-site-header .shop-header-cart-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    font-style: normal !important;
    line-height: 1 !important;
}

.woocommerce-shop .shop-site-header .shop-header-cart-icon svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    display: block !important;
}

/* Cart Notification Badge */
.woocommerce-shop .shop-site-header a.wpda_cart-icon i.wpda_cart-count span.wpda_cart-count-number,
.woocommerce-shop .shop-site-header .wpda_cart-count-number {
    position: absolute !important;
    top: -5px !important;
    inset-inline-end: -5px !important;
    inset-inline-start: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    box-sizing: content-box !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-style: normal !important;
}

/* Language Switcher */
.woocommerce-shop .shop-site-header .shop-header-language {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-shop .shop-site-header .shop-header-language a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 12px !important;
    border: 1px solid #e7e8eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #3b3663 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease !important;
}

.woocommerce-shop .shop-site-header .shop-header-language a:hover,
.woocommerce-shop .shop-site-header .shop-header-language a:focus-visible {
    border-color: #6254e7 !important;
    background: #f7f6ff !important;
    color: #6254e7 !important;
}

.woocommerce-shop .shop-site-header .shop-header-language svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Search Icon (Desktop) */
.woocommerce-shop .shop-site-header .elementor-element-f8c56f7,
.woocommerce-shop .shop-site-header .wpda-builder-search {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.woocommerce-shop .shop-site-header .wpda-search_icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border: 1px solid #e7e8eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #3b3663 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease !important;
}

.woocommerce-shop .shop-site-header .wpda-search_icon:hover {
    border-color: #6254e7 !important;
    background: #f7f6ff !important;
    color: #6254e7 !important;
}

.woocommerce-shop .shop-site-header .wpda-search_icon svg {
    width: 17px !important;
    height: 17px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
    display: block !important;
}

/* Mobile Menu Toggle */
.woocommerce-shop .shop-site-header .wpda-mobile-navigation-toggle {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border: 1px solid #e7e8eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #3b3663 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease !important;
}

.woocommerce-shop .shop-site-header .wpda-mobile-navigation-toggle:hover {
    border-color: #6254e7 !important;
    background: #f7f6ff !important;
    color: #6254e7 !important;
}

.woocommerce-shop .shop-site-header .wpda-toggle-box {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.woocommerce-shop .shop-site-header .wpda-toggle-inner,
.woocommerce-shop .shop-site-header .wpda-toggle-inner::before,
.woocommerce-shop .shop-site-header .wpda-toggle-inner::after {
    position: absolute !important;
    left: 10px !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: currentColor !important;
    content: "" !important;
}

.woocommerce-shop .shop-site-header .wpda-toggle-inner {
    top: 17px !important;
}

.woocommerce-shop .shop-site-header .wpda-toggle-inner::before {
    top: -5px !important;
    left: 0 !important;
}

.woocommerce-shop .shop-site-header .wpda-toggle-inner::after {
    top: 5px !important;
    left: 0 !important;
}

/* Prevent mobile menu toggle jumping across screen when active */
.woocommerce-shop .mobile_menu_active .wpda-mobile-navigation-toggle {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: 1000000 !important;
}

/* Burger Sidebar unused widget */
.woocommerce-shop .shop-site-header .elementor-element-64929a69,
.woocommerce-shop .shop-site-header + .wpda-builder__burger_sidebar {
    display: none !important;
}

/* RTL Header Base Overrides */
html[dir="rtl"] .woocommerce-shop .shop-site-header .elementor-element.elementor-element-77b9c938 {
    text-align: right !important;
}

html[dir="rtl"] .woocommerce-shop .wpda-header-builder .wpda-builder-search .wpda-search_inner {
    right: auto !important;
    left: 0 !important;
}

html[dir="rtl"] .woocommerce-shop .woocommerce-pagination .fa-angle-left,
html[dir="rtl"] .woocommerce-shop .woocommerce-pagination .fa-angle-right {
    transform: scaleX(-1);
}

/* ==========================================================================
   HEADER RESPONSIVE BREAKPOINTS (Desktop vs Mobile/Tablet)
   ========================================================================== */

/* Desktop Breakpoint (>= 992px) */
@media (min-width: 992px) {
    .woocommerce-shop .shop-site-header {
        min-height: 74px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    }

    .woocommerce-shop .shop-site-header .elementor-element-3a726bf0 {
        padding: 0 24px !important;
        min-height: 74px !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-inner {
        padding: 0 !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-inner > .elementor-container {
        display: grid !important;
        grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: clamp(16px, 2vw, 32px) !important;
        width: min(100%, 1480px) !important;
        margin-inline: auto !important;
        min-height: 74px !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-logo-column {
        grid-column: 1 !important;
        display: flex !important;
        align-items: center !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-nav-column {
        grid-column: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-actions-column {
        grid-column: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-actions-column > .elementor-widget-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }

    .woocommerce-shop .shop-site-header .wpda-mobile-navigation-toggle {
        display: none !important;
    }

    .woocommerce-shop .shop-site-header .wpda-navbar-collapse {
        display: block !important;
        position: static !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Intermediate screen adjustments (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .woocommerce-shop .shop-site-header .shop-header-inner > .elementor-container {
        grid-template-columns: 150px minmax(0, 1fr) auto !important;
        gap: 16px !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul {
        gap: 12px !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul > li > a {
        font-size: 13px !important;
    }

    .woocommerce-shop .shop-header-language span {
        display: none !important;
    }

    .woocommerce-shop .shop-header-language a {
        width: 38px !important;
        min-width: 38px !important;
        padding: 0 !important;
    }
}

/* Mobile & Tablet Breakpoint (< 992px) - Single Clean Row */
@media (max-width: 991px) {
    .woocommerce-shop .shop-site-header {
        min-height: 62px !important;
    }

    .woocommerce-shop .shop-site-header .elementor-element-3a726bf0 {
        padding: 0 16px !important;
        min-height: 62px !important;
        margin-bottom: 0 !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-inner {
        padding: 0 !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-inner > .elementor-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: 62px !important;
        box-sizing: border-box !important;
    }

    /* Logo on start edge (Left in LTR, Right in RTL) */
    .woocommerce-shop .shop-site-header .shop-header-logo-column {
        order: 1 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-logo-column > .elementor-widget-wrap {
        display: flex !important;
        align-items: center !important;
    }

    .woocommerce-shop .shop-site-header .elementor-element.elementor-element-77b9c938 .wpda-builder-logo_container img {
        height: 34px !important;
        max-height: 34px !important;
        width: auto !important;
        max-width: 135px !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* Actions Column: Cart + Language */
    .woocommerce-shop .shop-site-header .shop-header-actions-column {
        order: 2 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-actions-column > .elementor-widget-wrap {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    /* Hide search widget in header on mobile */
    .woocommerce-shop .shop-site-header .elementor-element-f8c56f7 {
        display: none !important;
    }

    /* Nav Column: Menu Toggle Button */
    .woocommerce-shop .shop-site-header .shop-header-nav-column {
        order: 3 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        margin-inline-start: 8px !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-nav-column > .elementor-widget-wrap {
        display: flex !important;
        align-items: center !important;
    }

    .woocommerce-shop .shop-site-header .elementor-element-1887ce8c,
    .woocommerce-shop .shop-site-header .elementor-element-1887ce8c > .elementor-widget-container {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .woocommerce-shop .shop-site-header .wpda-mobile-navigation-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Flyout mobile menu dropdown */
    .woocommerce-shop .wpda-navbar-collapse {
        position: fixed !important;
        top: 64px !important;
        inset-inline: 16px !important;
        width: auto !important;
        max-width: calc(100vw - 32px) !important;
        margin: 0 !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
        border: 1px solid #e2e8f0 !important;
        background: #ffffff !important;
        z-index: 999998 !important;
    }

    html[dir="rtl"] .woocommerce-shop .wpda-navbar-collapse {
        text-align: right !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul {
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul > li > a {
        display: block !important;
        padding: 10px 8px !important;
        text-align: start !important;
    }

    html[dir="rtl"] .woocommerce-shop .shop-site-header .shop-header-nav-column nav > ul > li > a {
        text-align: right !important;
    }
}

/* Small Mobile (< 768px) */
@media (max-width: 768px) {
    .woocommerce-shop .shop-header-language span {
        display: none !important;
    }

    .woocommerce-shop .shop-header-language a {
        width: 38px !important;
        min-width: 38px !important;
        padding: 0 !important;
    }

    .woocommerce-shop .shop-site-header .elementor-element.elementor-element-77b9c938 .wpda-builder-logo_container img {
        height: 30px !important;
        max-height: 30px !important;
        max-width: 120px !important;
    }
}

@media (min-width: 1200px) {
    .woocommerce-shop .main_wrapper > .container {
        box-sizing: border-box;
        width: calc(100% - 64px);
        max-width: 1540px;
    }

    .woocommerce-shop .row.sidebar_left {
        display: grid;
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 36px;
    }

    .woocommerce-shop .row.sidebar_left > .sidebar-container {
        grid-column: 1;
        grid-row: 1;
        width: auto;
    }

    .woocommerce-shop .row.sidebar_left > .content-container {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        min-width: 0;
    }

}

@media (min-width: 769px) and (max-width: 1199px) {
    .woocommerce-shop #shop-results ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .woocommerce-shop .row.sidebar_left > .content-container {
        width: 100%;
    }
}

#shop-results.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

@media (max-width: 768px) {

    .shop-product-rating { margin-top: 9px; }

    .woocommerce-shop #shop-results ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .woocommerce-shop .gt3-products-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .woocommerce-shop.visible_filter_btn .gt3-products-header > .gt3-mobile_filter_btn {
        display: block !important;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
}

@media (max-width: 767px) {
    .woocommerce ul.products li.product .product-card,
    .product-card {
        border-radius: 12px;
    }

    .product-card__content {
        padding: 12px 10px 14px;
    }

    .woocommerce ul.products li.product .product-card h2.woocommerce-loop-product__title,
    .product-card__title {
        font-size: 13px !important;
        line-height: 1.35 !important;
        min-height: 36px !important;
        margin-bottom: 6px !important;
    }

    .product-card__price ins,
    .product-card__price > .amount,
    .product-card__price > strong {
        font-size: 15px !important;
    }

    .product-card__price del {
        font-size: 12px !important;
    }

    .woocommerce ul.products li.product .product-card a.product-card__btn,
    .product-card .product-card__btn {
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    .product-card__btn-icon {
        width: 14px;
        height: 14px;
    }

    .product-card__wishlist-btn {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }

    .product-card__wishlist-btn svg {
        width: 15px;
        height: 15px;
    }

    .product-card .product-card__badge,
    .woocommerce ul.products li.product .product-card span.onsale {
        font-size: 10px !important;
        padding: 3px 6px !important;
        border-radius: 5px !important;
    }
}

@media (max-width: 479px) {
    .woocommerce-shop #shop-results ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 8px;
    }
}

@media (max-width: 390px) {
    .woocommerce-shop .shop-site-header .shop-header-inner > .elementor-container {
        gap: 7px;
    }

    .woocommerce-shop .shop-site-header .shop-header-actions-column > .elementor-widget-wrap {
        gap: 8px;
    }

    .woocommerce-shop .shop-site-header .elementor-element.elementor-element-77b9c938 .wpda-builder-logo_container img {
        max-width: 122px;
    }
}


/* ==========================================================================
   MARKETPLACE REDESIGN - SHOP CONTENT AREA ONLY
   ========================================================================== */

.shop-marketplace-wrapper {
    background-color: #f8fafc;
    min-height: calc(100vh - 350px);
    padding-bottom: 70px;
}

.shop-marketplace-wrapper .shop-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* 1. TOP CONTENT AREA (Hero Banner & Trust Perks) */
.shop-marketplace-hero {
    padding-top: 20px;
    padding-bottom: 24px;
}

.shop-breadcrumb {
    margin-bottom: 16px !important;
}

.shop-breadcrumb ol,
.shop-breadcrumb ol.shop-breadcrumb-list,
.shop-breadcrumb ul {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    counter-reset: none !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
}

.shop-breadcrumb ol > li,
.shop-breadcrumb ol.shop-breadcrumb-list > li,
.shop-breadcrumb li {
    display: inline-flex !important;
    align-items: center !important;
    list-style: none !important;
    list-style-type: none !important;
    counter-increment: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Strictly strip all counter pseudo-elements from base.css / theme */
.shop-breadcrumb ol > li::before,
.shop-breadcrumb ol > li::after,
.shop-breadcrumb ol.shop-breadcrumb-list > li::before,
.shop-breadcrumb ol.shop-breadcrumb-list > li::after,
.shop-breadcrumb li::before,
.shop-breadcrumb li::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    counter-increment: none !important;
}

.shop-breadcrumb li a {
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    transition: color 0.15s ease !important;
}

.shop-breadcrumb li a:hover {
    color: #ff7426 !important;
}

.shop-breadcrumb li.separator,
.shop-breadcrumb li.shop-breadcrumb-separator {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin: 0 2px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.75 !important;
    user-select: none !important;
    pointer-events: none !important;
}

.shop-breadcrumb li.active,
.shop-breadcrumb li.shop-breadcrumb-active {
    color: #1e293b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Hero Banner Card */
.shop-hero-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 36px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4338ca 100%);
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(49, 46, 129, 0.25), 0 8px 10px -6px rgba(49, 46, 129, 0.15);
    color: #ffffff;
    overflow: hidden;
    margin-bottom: 24px;
}

.shop-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.shop-hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.shop-hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #e0e7ff;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.shop-hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff !important;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
}

.shop-hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Trust Perks within Hero */
.shop-trust-perks {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-radius: 16px;
    flex-shrink: 0;
}

.shop-perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-perk-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    flex-shrink: 0;
}

.shop-perk-title {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

/* 2. CATEGORY SHORTCUTS / QUICK NAVIGATION */
.shop-category-shortcuts-wrapper {
    position: relative;
    margin-top: 4px;
}

.shop-category-shortcuts {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 14px 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.shop-category-shortcuts::-webkit-scrollbar {
    height: 4px;
}

.shop-category-shortcuts::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.shop-cat-shortcut-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.shop-cat-shortcut-item:hover {
    border-color: #6366f1;
    color: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.12);
}

.shop-cat-shortcut-item.is-active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.shop-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #4f46e5;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.shop-cat-shortcut-item:hover .shop-cat-icon {
    background: #e0e7ff;
    color: #4338ca;
}

.shop-cat-shortcut-item.is-active .shop-cat-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.shop-cat-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-cat-name {
    font-size: 13px;
    font-weight: 600;
    color: inherit;
}

.shop-cat-count {
    display: inline-block;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.2s ease;
}

.shop-cat-shortcut-item.is-active .shop-cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* 3. MAIN CONTENT AREA & TOOLBAR */
.shop-marketplace-body {
    margin-top: 10px;
}

.shop-modern-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding: 12px 18px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 20px !important;
}

.shop-toolbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.shop-toolbar-right {
    display: flex !important;
    align-items: center !important;
}

.shop-filter-trigger-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    transition: background 0.15s ease;
}

.shop-filter-trigger-btn:hover {
    background: #4338ca;
}

.shop-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
}

.shop-results-counter {
    font-size: 13.5px !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: 38px !important;
    line-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.shop-results-counter .counter-label,
.shop-results-counter .counter-unit {
    display: inline-block !important;
    line-height: 1 !important;
}

.shop-results-counter .counter-num {
    color: #0f172a !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-inline: 2px !important;
    display: inline-block !important;
}

.woocommerce-shop .shop-toolbar-right {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-shop .shop-modern-toolbar .woocommerce-ordering,
.woocommerce-shop form.woocommerce-ordering.shop-ordering-form {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: 38px !important;
    box-sizing: border-box !important;
}

.woocommerce-shop .shop-sort-label {
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 38px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

.woocommerce-shop .shop-select-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce-shop .shop-select-wrapper select.orderby {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: #f8fafc !important;
    background-image: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    min-width: 175px !important;
    line-height: 36px !important;
    vertical-align: middle !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    outline: none !important;
}

html[dir="ltr"] .woocommerce-shop .shop-select-wrapper select.orderby,
body.ltr .woocommerce-shop .shop-select-wrapper select.orderby {
    padding-left: 14px !important;
    padding-right: 36px !important;
    text-align: left !important;
    text-align-last: left !important;
    direction: ltr !important;
}

html[dir="rtl"] .woocommerce-shop .shop-select-wrapper select.orderby,
body.rtl .woocommerce-shop .shop-select-wrapper select.orderby {
    padding-right: 14px !important;
    padding-left: 36px !important;
    text-align: right !important;
    text-align-last: right !important;
    direction: rtl !important;
}

.woocommerce-shop .shop-select-wrapper select.orderby:hover,
.woocommerce-shop .shop-select-wrapper select.orderby:focus {
    border-color: #6366f1 !important;
    outline: none !important;
    background: #ffffff !important;
}

.woocommerce-shop .shop-select-wrapper .select-caret {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #64748b !important;
    pointer-events: none !important;
    width: 14px !important;
    height: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html[dir="ltr"] .woocommerce-shop .shop-select-wrapper .select-caret,
body.ltr .woocommerce-shop .shop-select-wrapper .select-caret {
    right: 12px !important;
    left: auto !important;
}

html[dir="rtl"] .woocommerce-shop .shop-select-wrapper .select-caret,
body.rtl .woocommerce-shop .shop-select-wrapper .select-caret {
    left: 12px !important;
    right: auto !important;
}

/* Active Filter Chips Bar */
.shop-active-chips-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
}

.shop-active-chips-bar .chips-title {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.shop-active-chips-bar .chips-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.shop-chip:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.shop-chip .chip-remove {
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}

.shop-active-chips-bar .chips-clear-all {
    margin-inline-start: auto;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
    cursor: pointer;
    text-decoration: underline;
    padding: 2px 6px;
}

.shop-active-chips-bar .chips-clear-all:hover {
    color: #dc2626;
}

/* 4. MARKETPLACE SIDEBAR FILTERS CARD */
.shop-marketplace-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.shop-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.shop-sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.shop-sidebar-header .bapf_button.bapf_reset {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    text-decoration: underline;
}

.shop-sidebar-header .bapf_button.bapf_reset:hover {
    color: #dc2626;
}

.shop-filter-widget {
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.shop-filter-widget:last-of-type {
    border-bottom: none;
    margin-bottom: 14px;
    padding-bottom: 0;
}

.shop-filter-widget .bapf_head h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
    margin: 0 0 14px 0;
}

/* Categories checklist */
.shop-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13.5px;
    color: #475569;
    padding: 4px 6px;
    border-radius: 8px;
    transition: all 0.15s ease;
    margin: 0;
    user-select: none;
}

.shop-checkbox-label:hover {
    background: #f8fafc;
    color: #0f172a;
}

.shop-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.shop-checkbox-label .custom-checkbox {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.shop-checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
    background: #4f46e5;
    border-color: #4f46e5;
}

.shop-checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.shop-checkbox-label .cat-label-text {
    flex: 1;
    line-height: 1.4;
}

.shop-checkbox-label .cat-count-badge {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 999px;
}

/* Price Range Slider */
.shop-filter-widget .bapf_slidr_all {
    padding: 8px 2px 0;
}

.shop-filter-widget .bapf_slidr_main.ui-widget-content {
    background: #e2e8f0;
    border: none;
    height: 6px;
    border-radius: 999px;
    margin: 10px 6px 16px;
    position: relative;
}

.shop-filter-widget .ui-slider-range {
    background: #4f46e5;
    border-radius: 999px;
}

.shop-filter-widget .ui-slider-handle {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 3px solid #4f46e5 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    top: -6px !important;
    cursor: grab !important;
    outline: none !important;
    transition: transform 0.1s ease;
}

.shop-filter-widget .ui-slider-handle:hover,
.shop-filter-widget .ui-slider-handle:active {
    transform: scale(1.15);
}

.shop-price-range-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.shop-price-range-display .price-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-inline-end: 4px;
}

.shop-price-range-display .price-dash {
    color: #94a3b8;
}

/* Color Swatches Grid */
.shop-color-swatches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-color-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 6px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    transition: all 0.15s ease;
    user-select: none;
    margin: 0;
}

.shop-color-chip:hover {
    border-color: #818cf8;
    background: #ffffff;
}

input[name="color[]"]:checked + .shop-color-chip {
    border-color: #4f46e5;
    background: #ede9fe;
    color: #4f46e5;
    box-shadow: 0 0 0 1px #4f46e5;
}

.shop-color-chip .bapf_clr_span {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

/* Sidebar Promotional Trust Card */
.shop-sidebar-promo-card {
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    color: #166534;
    margin-top: 16px;
}

.shop-sidebar-promo-card .promo-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    margin-bottom: 10px;
}

.shop-sidebar-promo-card .promo-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 6px 0;
}

.shop-sidebar-promo-card .promo-card-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #15803d;
    margin: 0 0 12px 0;
}

.shop-sidebar-promo-card .promo-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

/* 5. MOBILE FILTER DRAWER */
.gt3-mobile__burger_shop_sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    width: min(380px, 88vw);
    height: 100vh;
    background: #ffffff;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    left: 0;
    right: auto;
    transform: translateX(-102%);
}

.gt3-mobile__burger_shop_sidebar.active {
    transform: translateX(0);
}

html[dir="rtl"] .gt3-mobile__burger_shop_sidebar {
    left: auto;
    right: 0;
    transform: translateX(102%);
}

html[dir="rtl"] .gt3-mobile__burger_shop_sidebar.active {
    transform: translateX(0);
}

.gt3-mobile-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}

.gt3-mobile-filter-drawer-header .drawer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.gt3-mobile__burger_shop_sidebar_close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gt3-mobile__burger_shop_sidebar_close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.gt3-mobile_shop_burger_container {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.gt3-mobile-filter-drawer-footer {
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}

.drawer-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: background 0.15s ease;
}

.drawer-apply-btn:hover {
    background: #4338ca;
}

/* Backdrop for Mobile Filter Drawer */
body.shop-drawer-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 99999;
}

/* Modernized Pagination */
.woocommerce-shop .woocommerce-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers li {
    margin: 0;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers li a,
.woocommerce-shop .woocommerce-pagination ul.page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #475569;
    background: transparent;
    border: none;
    transition: all 0.15s ease;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers li a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers li span.current {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

/* 6. RESPONSIVE BREAKPOINTS */
@media (max-width: 1199px) {
    .shop-hero-card {
        padding: 24px 28px;
    }

    .shop-hero-title {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .shop-filter-trigger-btn {
        display: inline-flex;
    }

    .shop-marketplace-sidebar {
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .woocommerce-shop .row.sidebar_left {
        display: block !important;
    }

    .woocommerce-shop .row.sidebar_left > .sidebar-container {
        display: none !important;
    }

    .woocommerce-shop .row.sidebar_left > .content-container {
        width: 100% !important;
    }

    .shop-hero-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .shop-trust-perks {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 640px) {
    .shop-hero-card {
        padding: 20px 18px;
        border-radius: 16px;
    }

    .shop-hero-title {
        font-size: 20px;
    }

    .shop-hero-subtitle {
        font-size: 13px;
    }

    .shop-trust-perks {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px 14px;
    }

    .shop-perk-title {
        font-size: 11px;
    }

    .shop-modern-toolbar {
        padding: 10px 14px;
        gap: 12px;
    }

    .shop-results-counter {
        font-size: 12px;
    }

    .shop-toolbar-right {
        width: 100% !important;
    }

    .shop-toolbar-right .shop-ordering-form,
    .woocommerce-shop .shop-toolbar-right .shop-ordering-form {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .shop-select-wrapper,
    .woocommerce-shop .shop-select-wrapper {
        flex: 1 !important;
    }

    .shop-select-wrapper select.orderby,
    .woocommerce-shop .shop-select-wrapper select.orderby {
        width: 100% !important;
        min-width: 0 !important;
    }
}


/* Additional RTL / LTR Directional Refinements */
.shop-product-rating__stars {
    position: relative !important;
    display: inline-block !important;
    overflow: hidden !important;
    letter-spacing: 2px !important;
    white-space: nowrap !important;
    direction: ltr !important;
}

.shop-product-rating__fill {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    overflow: hidden !important;
    color: #ff7426 !important;
    white-space: nowrap !important;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers li a.prev i {
    margin-inline-end: 6px !important;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers li a.next i {
    margin-inline-start: 6px !important;
}

/* Shop Breadcrumb RTL Alignments */
html[dir="rtl"] .shop-breadcrumb,
html[dir="rtl"] .shop-breadcrumb ol,
html[dir="rtl"] .shop-breadcrumb ol.shop-breadcrumb-list {
    direction: rtl !important;
    text-align: right !important;
    justify-content: flex-start !important;
}

html[dir="ltr"] .shop-breadcrumb,
html[dir="ltr"] .shop-breadcrumb ol,
html[dir="ltr"] .shop-breadcrumb ol.shop-breadcrumb-list {
    direction: ltr !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

.shop-breadcrumb li,
.shop-breadcrumb li.shop-breadcrumb-item {
    display: inline-flex !important;
    align-items: center !important;
}

.shop-breadcrumb li.separator,
.shop-breadcrumb li.shop-breadcrumb-separator {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.75 !important;
}

/* Shop Hero & Trust Perks RTL */
html[dir="rtl"] .shop-hero-card {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .shop-hero-content {
    text-align: right !important;
}

html[dir="rtl"] .shop-hero-badge {
    text-align: right !important;
}

html[dir="rtl"] .shop-trust-perks {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .shop-perk-item {
    direction: rtl !important;
    text-align: right !important;
}

/* Category Shortcuts RTL */
html[dir="rtl"] .shop-category-shortcuts-wrapper,
html[dir="rtl"] .shop-category-shortcuts {
    direction: rtl !important;
}

.shop-cat-shortcut-item {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}

.shop-cat-info {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1 !important;
}

.shop-cat-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Shop Toolbar Controls RTL */
html[dir="rtl"] .woocommerce-shop .shop-modern-toolbar {
    direction: rtl !important;
}

html[dir="rtl"] .woocommerce-shop .shop-toolbar-left {
    direction: rtl !important;
    justify-content: flex-start !important;
}

html[dir="rtl"] .woocommerce-shop .shop-toolbar-right {
    direction: rtl !important;
    justify-content: flex-start !important;
}

html[dir="rtl"] .woocommerce-shop form.woocommerce-ordering.shop-ordering-form {
    direction: rtl !important;
    gap: 10px !important;
}

html[dir="rtl"] .woocommerce-shop .shop-sort-label {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .woocommerce-shop .shop-select-wrapper {
    direction: rtl !important;
}

.woocommerce-shop .shop-filter-trigger-btn {
    height: 38px !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

/* Active Chips RTL */
html[dir="rtl"] .shop-active-chips-bar {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .shop-active-chips-bar .chips-list {
    direction: rtl !important;
}

html[dir="rtl"] .shop-active-chips-bar .chips-clear-all {
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
}

/* Sidebar Filters RTL */
html[dir="rtl"] .shop-marketplace-sidebar {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .shop-sidebar-header {
    direction: rtl !important;
}

html[dir="rtl"] .shop-sidebar-title {
    direction: rtl !important;
}

html[dir="rtl"] .shop-filter-widget .bapf_head h3 {
    text-align: right !important;
}

html[dir="rtl"] .shop-checkbox-label {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .shop-checkbox-label .cat-count-badge {
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
}

html[dir="rtl"] .shop-price-range-display {
    direction: rtl !important;
}

html[dir="rtl"] .shop-color-swatches-grid {
    direction: rtl !important;
}

html[dir="rtl"] .shop-sidebar-promo-card {
    direction: rtl !important;
}

/* Product Details and Cart Breadcrumbs RTL Support */
html[dir="rtl"] .product-breadcrumbs,
html[dir="rtl"] .cart-breadcrumbs,
html[dir="rtl"] .shop-breadcrumbs {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .product-breadcrumbs span[aria-hidden="true"],
html[dir="rtl"] .cart-breadcrumbs__sep,
html[dir="rtl"] .shop-breadcrumbs span[aria-hidden="true"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
