/**
 * File Path: assets/css/mbs-front-pro-rtl.css
 * RTL directional overrides for mbs-front-pro.css; loaded when is_rtl() and mbs_is_pro().
 * @package MyBookShowroom
 * @since   1.0.0
 */

/* Filter group label: swap margin-left → margin-right */
.mbs-wrapper .mbs-layout-filter .mbs-filter-group-label {
    margin-left: 0;
    margin-right: 8px;
}

.mbs-wrapper .mbs-layout-filter .mbs-filter-group-label:first-of-type {
    margin-right: 0;
    margin-left: 0;
}

/* Popup trigger: RTL text direction */
.mbs-wrapper .mbs-layout-popup .mbs-popup-trigger {
    text-align: right;
}

/* Popup close button: flip from right to left */
.mbs-wrapper .mbs-popup-close {
    right: auto;
    left: 14px;
}

/* Popup book title: swap padding-right → padding-left (avoid close-button overlap) */
.mbs-wrapper .mbs-popup-book-title {
    padding-right: 0;
    padding-left: 40px;
}

/* Responsive breakpoint — same flip at smaller size */
@media (max-width: 600px) {
    .mbs-wrapper .mbs-popup-book-title {
        padding-right: 0;
        padding-left: 36px;
    }
}
