/**
 * Milano Chocolate - RTL Arabic Styles
 */

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

/* Header RTL */
body.rtl .milano-header-inner {
    flex-direction: row-reverse;
}

body.rtl .milano-nav {
    flex-direction: row-reverse;
}

/* Product cards RTL */
body.rtl .milano-product-card .product-info {
    text-align: right;
}

body.rtl .milano-product-card .product-price {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* Footer RTL */
body.rtl .milano-footer-grid {
    direction: rtl;
}

body.rtl .milano-footer-col ul {
    text-align: right;
}

body.rtl .milano-footer-bottom {
    flex-direction: row-reverse;
}

/* Forms RTL */
body.rtl .milano-input,
body.rtl .milano-select,
body.rtl .milano-textarea,
body.rtl .milano-gift-message {
    text-align: right;
}

body.rtl .milano-form-group label {
    text-align: right;
}

/* Filter bar RTL */
body.rtl .milano-filter-bar {
    flex-direction: row-reverse;
}

/* Single product RTL */
body.rtl .milano-product-details .product-title,
body.rtl .milano-product-details .product-subtitle {
    text-align: right;
}

body.rtl .milano-type-options {
    flex-direction: row-reverse;
}

/* WooCommerce RTL overrides */
body.rtl .woocommerce ul.products li.product .woocommerce-loop-product__title {
    text-align: right;
}

body.rtl .woocommerce ul.products li.product .price {
    text-align: right;
    direction: rtl;
}

body.rtl .woocommerce-cart .woocommerce table.shop_table {
    direction: rtl;
}

body.rtl .woocommerce-checkout {
    direction: rtl;
}

body.rtl .woocommerce form .form-row {
    text-align: right;
}

body.rtl .woocommerce form .form-row label {
    text-align: right;
}

/* Subscription section RTL */
body.rtl .milano-subscription {
    direction: rtl;
}

body.rtl .milano-subscription .sub-option .option-price {
    margin-inline-start: auto;
    margin-inline-end: 0;
}

/* Cart icon RTL */
body.rtl .woocommerce .widget_shopping_cart {
    direction: rtl;
    text-align: right;
}

/* Breadcrumb RTL */
body.rtl .woocommerce .woocommerce-breadcrumb {
    direction: rtl;
    text-align: right;
}

/* Notices RTL */
body.rtl .woocommerce-message,
body.rtl .woocommerce-error,
body.rtl .woocommerce-info {
    direction: rtl;
    text-align: right;
}

/* Quantity RTL */
body.rtl .woocommerce .quantity {
    direction: ltr;
}

/* Review RTL */
body.rtl .woocommerce #reviews {
    direction: rtl;
    text-align: right;
}

/* Tabs RTL */
body.rtl .woocommerce div.product .woocommerce-tabs ul.tabs {
    direction: rtl;
}

body.rtl .woocommerce div.product .woocommerce-tabs ul.tabs li {
    float: right;
}
