/* ============================================================
   RESTORIA E-COMMERCE — RTL OVERRIDES
   Applied only when BaseHelper::isRtlEnabled() returns true.
   ============================================================ */

/* Product Grid */
.ec-product-card .card-badges {
    left: auto;
    right: 15px;
}

.ec-product-card .btn-add-cart i {
    margin-right: 0;
    margin-left: 8px;
}

/* Cart Icon */
.ec-cart-link .cart-count {
    right: auto;
    left: 6px;
}

/* Mini-Cart Panel — slide from left in RTL */
.ec-mini-cart {
    right: auto;
    left: -400px;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
}

.ec-mini-cart.active {
    right: auto;
    left: 0;
}

/* Toast Notifications */
.ec-toast {
    right: auto;
    left: 30px;
    border-left: none;
    border-right: 4px solid var(--primary-color, var(--primary-color));
    transform: translateX(-120%);
}

.ec-toast.show {
    transform: translateX(0);
}

.ec-toast .toast-close {
    margin-left: 0;
    margin-right: auto;
}

/* Cart Table */
.ec-cart-table thead th {
    text-align: right;
}

/* Checkout Steps */
.ec-checkout-step + .ec-checkout-step::before {
    left: auto;
    right: -30px;
}

/* Quantity Control */
.ec-qty-control input {
    border-left: none;
    border-right: none;
    border-inline-start: 1px solid var(--border-color, #e8e8e8);
    border-inline-end: 1px solid var(--border-color, #e8e8e8);
}
