.cme-floating-language-switcher {
    position: fixed;
    z-index: 99999;
    max-width: min(92vw, 360px);
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(20, 31, 44, 0.16);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(20, 31, 44, 0.18);
}

.cme-switcher-bottom_right {
    right: 18px;
    bottom: 18px;
}

.cme-switcher-bottom_left {
    left: 18px;
    bottom: 18px;
}

.cme-switcher-top_right {
    top: 18px;
    right: 18px;
}

.cme-switcher-top_left {
    top: 18px;
    left: 18px;
}

.cme-language-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.cme-language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    background: #f6f8fa;
    border: 1px solid rgba(20, 31, 44, 0.12);
    border-radius: 6px;
}

.cme-language-flag {
    display: inline-block;
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(20, 31, 44, 0.12);
}

.cme-language-switcher a:hover,
.cme-language-switcher a:focus {
    color: #0b5cad;
    background: #eef6ff;
    border-color: rgba(11, 92, 173, 0.35);
    outline: none;
}

.cme-language-switcher a.is-active {
    color: #fff;
    background: #111827;
    border-color: #111827;
}

.cme-language-switcher-compact {
    position: relative;
    display: block;
}

.cme-language-switcher-compact summary {
    min-height: 32px;
    padding: 7px 28px 7px 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    list-style: none;
    cursor: pointer;
    background: #111827;
    border-radius: 6px;
}

.cme-language-switcher-compact summary::-webkit-details-marker {
    display: none;
}

.cme-language-switcher-compact summary::after {
    position: absolute;
    top: 11px;
    right: 10px;
    width: 8px;
    height: 8px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.cme-language-switcher-compact[open] summary::after {
    top: 14px;
    transform: rotate(225deg);
}

.cme-language-switcher-compact div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
    padding-top: 8px;
}

.cme-language-switcher-dropdown-native-flag summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cme-language-switcher-quick-access {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cme-language-switcher-quick-access a {
    min-height: 42px;
    padding: 8px 12px;
    background: #fff;
}

.cme-fallback-notice {
    position: fixed;
    left: 50%;
    bottom: 82px;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(92vw, 520px);
    padding: 10px 12px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    background: #fff8e5;
    border: 1px solid rgba(173, 112, 0, 0.28);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(20, 31, 44, 0.16);
    transform: translateX(-50%);
}

.cme-fallback-notice button {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #1f2937;
    font-size: 18px;
    line-height: 20px;
    cursor: pointer;
    background: transparent;
    border: 0;
}

#cohsar-wrap-5958 .cohsar-slider:not(.swiper-initialized) .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    overflow: visible !important;
    transform: none !important;
}

#cohsar-wrap-5958 .cohsar-slider:not(.swiper-initialized) .swiper-slide,
#cohsar-wrap-5958 .cohsar-slider:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: block !important;
    width: auto !important;
    min-width: 0;
    flex-shrink: 1;
}

#cohsar-wrap-5958 .cohsar-review-box {
    height: 100%;
}

html[dir="rtl"] .cohsar-slider-wrap.cohsar-full-width,
body.rtl .cohsar-slider-wrap.cohsar-full-width {
    left: auto !important;
    right: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

html[dir="rtl"] .cohsar-slider-wrap.cohsar-full-width .cohsar-slider,
body.rtl .cohsar-slider-wrap.cohsar-full-width .cohsar-slider {
    width: 100% !important;
    max-width: 100% !important;
}

html[dir="rtl"] .site-header-cart .widget_shopping_cart,
html[dir="rtl"] .ast-site-header-cart .widget_shopping_cart,
html[dir="rtl"] .ast-woo-header-cart-info-wrap .widget_shopping_cart,
html[dir="rtl"] .header-cart .widget_shopping_cart,
html[dir="rtl"] .cart-contents + .widget_shopping_cart,
body.rtl .site-header-cart .widget_shopping_cart,
body.rtl .ast-site-header-cart .widget_shopping_cart,
body.rtl .ast-woo-header-cart-info-wrap .widget_shopping_cart,
body.rtl .header-cart .widget_shopping_cart,
body.rtl .cart-contents + .widget_shopping_cart {
    right: auto !important;
    left: 0 !important;
    width: min(92vw, 360px) !important;
    max-width: min(92vw, 360px) !important;
    transform: none !important;
}

html[dir="rtl"] .widget_shopping_cart,
body.rtl .widget_shopping_cart {
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    #cohsar-wrap-5958 .cohsar-slider:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #cohsar-wrap-5958 .cohsar-slider:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cme-floating-language-switcher {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
    }

    .cme-switcher-top_right,
    .cme-switcher-top_left {
        top: 12px;
        bottom: auto;
    }

    .cme-language-switcher {
        justify-content: center;
    }

    .cme-fallback-notice {
        right: 12px;
        bottom: 76px;
        left: 12px;
        max-width: none;
        transform: none;
    }
}
