/**
 * استایل‌های RTL
 *
 * @package Titan
 */

body {
    direction: rtl;
    text-align: right;
}

/* Search */
.titan-search-input {
    padding: 10px 44px 10px 16px;
}

.titan-search-button {
    left: 4px;
    right: auto;
}

/* Hero Slider */
.titan-hero-slide-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

.titan-hero-slider-prev {
    right: 24px;
    left: auto;
}

.titan-hero-slider-next {
    left: 24px;
    right: auto;
}

/* Flip arrow SVGs in RTL — prev/next directions are reversed */
.titan-hero-slider-prev svg,
.titan-slider-prev svg {
    transform: scaleX(-1);
}

.titan-hero-slider-next svg,
.titan-slider-next svg {
    transform: scaleX(-1);
}

/* Product Card */
.titan-product-card-badges {
    right: var(--titan-space-2);
    left: auto;
}

.titan-product-card-actions {
    left: var(--titan-space-2);
    right: auto;
    transform: translateX(-10px);
}

.titan-product-card:hover .titan-product-card-actions {
    transform: translateX(0);
}

/* Footer Menu */
.titan-footer-menu a:hover {
    padding-right: 4px;
    padding-left: 0;
}

/* Breadcrumb */
.titan-breadcrumb-item + .titan-breadcrumb-item::before {
    margin-left: var(--titan-space-2);
    margin-right: 0;
}

/* Header Actions */
.titan-action-count {
    right: -2px;
    left: auto;
}

/* Switcher */
.titan-switcher-slider::before {
    left: 2px;
    right: auto;
}

.titan-switcher-input:checked + .titan-switcher-slider::before {
    transform: translateX(-24px);
}

/* Admin */
.titan-field-label {
    margin-left: 20px;
    margin-right: 0;
}
