/*
 * Clean Commerce 2.1.1 - Persian RTL adjustments
 * Migrated from Clean Commerce 1.2 RTL structure
 * This file contains only RTL/font adaptations.
 */

@font-face {
  font-family: Vazir;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Vazir.woff') format('woff');
}

@font-face {
  font-family: Vazir;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Vazir-Bold.woff') format('woff');
}

@font-face {
  font-family: Vazir;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Vazir-Light.woff') format('woff');
}

body,
h1, h2, h3, h4, h5, h6,
.site-title,
.site-description,
.main-navigation ul li a,
.woocommerce,
.woocommerce button,
.woocommerce input,
.woocommerce a.button {
    font-family: Vazir, sans-serif !important;
}

.site-branding,
.site-description {
    float: right;
}

#right-header,
.header-social-wrapper,
.header-search-box {
    float: left;
}

#quick-contact,
.main-navigation,
#primary {
    float: right;
}

.main-navigation li,
#header-nav li {
    float: right;
}

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

.woocommerce div.product .summary {
    margin-right: 20px;
}

#breadcrumb .breadcrumb-trail li::after,
#breadcrumb li::after {
    float: right;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    float: right;
    font-family: Vazir, sans-serif;
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    text-align: right;
}

.site-info {
    display: none;
}

.colophon-column {
    float: right;
    text-align: center;
}

.main-navigation ul ul {
    left: auto;
    right: 0;
}

.main-navigation ul ul a {
    text-align: right;
}

.main-navigation ul ul ul {
    left: auto;
    right: 100%;
}

.header-search-box .search-box-wrap {
    right: auto;
}

#featured-carousel .featured-product-carousel-wrapper .slick-list {
    direction: ltr;
}

/* Keep product images from floating in WooCommerce */
.woocommerce img {
    float: none;
}

/* Breadcrumb: RTL layout adapted to Clean Commerce 2.1.1 */
#breadcrumb .breadcrumb-trail li,
#breadcrumb li,
#crumbs li {
    display: block;
    float: right;
    list-style: outside none none;
    padding-right: 10px;
}

#breadcrumb .breadcrumb-trail li::after,
#breadcrumb li::after,
#crumbs li::after {
    content: "»";
    float: right;
    margin-left: 10px;
    font-family: Vazir, sans-serif;
    font-weight: 400;
    color: #222;
}

#breadcrumb .breadcrumb-trail li.trail-item.trail-end::after,
#crumbs li:last-child::after {
    display: none;
}

#breadcrumb .breadcrumb-trail .trail-items,
#crumbs {
    margin: 0;
    padding: 0;
}
