/* ==========================================================================
   ladyorganizer Theme RTL Overrides
   Resolves layout mirroring gaps in the parent theme Kadence
   ========================================================================== */

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */

/* Hero decorative background blob — flip from left to right side */
.rtl .ladyorganizer-home-hero::before {
  left: auto;
  right: -100px;
}

/* Staggered categories — RTL column offset direction */
.rtl .ladyorganizer-category-card-wrapper--offset {
  transform: translateY(48px);
}

/* Sizing guide badge — flip absolute position for RTL */
.rtl .ladyorganizer-size-badge {
  right: auto;
  left: 2.5rem;
}



/* ==========================================================================
   SHOP ARCHIVE
   ========================================================================== */

/* Shop ordering select — chevron arrow position RTL */
.rtl .woocommerce .woocommerce-ordering select {
  background-position: right 12px center;
  padding-right: 36px;
  padding-left: 16px;
}

/* Product card meta — RTL alignment */
.rtl .ladyorganizer-product-card__meta li {
  flex-direction: row-reverse;
}

.rtl .ladyorganizer-product-card__meta li span:first-child {
  text-align: right;
}

.rtl .ladyorganizer-product-card__meta li span:last-child {
  text-align: left;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */

/* Spec badges RTL ordering */
.rtl .ladyorganizer-specs-row {
  flex-direction: row-reverse;
}

.rtl .ladyorganizer-inquiry-cta {
  text-align: right;
}

/* ==========================================================================
   SECTION HEADERS & ACCENT LINES
   ========================================================================== */

.rtl .ladyorganizer-section h2::after {
  margin-inline: 0 auto;
}

.rtl .has-text-align-center::after {
  margin-inline: auto !important;
}

/* ==========================================================================
   MODAL
   ========================================================================== */

/* Modal close button — flip from left to right */
.rtl .ladyorganizer-modal-close {
  left: auto !important;
  right: 16px !important;
}

/* ==========================================================================
   WOOCOMMERCE ACCOUNT PAGE
   ========================================================================== */

.rtl .woocommerce-account .woocommerce-MyAccount-navigation {
  float: right;
}

.rtl .woocommerce-account .woocommerce-MyAccount-content {
  float: left;
}

/* ==========================================================================
   WOOCOMMERCE CART & CHECKOUT BLOCKS
   ========================================================================== */

.rtl .wc-block-cart-items__row td {
  text-align: right !important;
}

.rtl .wc-block-components-totals-item__value {
  text-align: left !important;
}

.rtl .wc-block-components-totals-item__label {
  text-align: right !important;
}

/* ==========================================================================
   WOOCOMMERCE SINGLE PRODUCT GALLERY
   ========================================================================== */

.rtl .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs {
  direction: rtl !important;
}

.rtl .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li {
  float: right !important;
}

/* ==========================================================================
   KADENCE PARENT THEME OVERRIDES
   ========================================================================== */

/* Author Profile (from parent Kadence) */
.rtl .entry-author-profile {
  padding-left: 0;
  padding-right: 100px;
}

.rtl .entry-author-avatar {
  left: auto;
  right: 0;
}

.rtl .entry-author-style-center .entry-author-profile {
  padding-right: 0;
  padding-left: 0;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

/* WPForms RTL support */
.rtl .wpforms-container {
  direction: rtl;
  text-align: right;
}

/* ==========================================================================
   ARCHIVE ACTIVE FILTERS — RTL
   ========================================================================== */
.rtl .ladyorganizer-active-filter-chip__remove svg {
  margin-right: 0;
  margin-left: 2px;
}

/* ==========================================================================
   CATEGORY CARDS — RTL grid direction
   ========================================================================== */
.rtl .ladyorganizer-category-cards__grid {
  direction: rtl;
}

/* ==========================================================================
   ARCHIVE FOOTER DESCRIPTION — RTL text direction
   ========================================================================== */
.rtl .ladyorganizer-archive-footer-desc {
  text-align: right;
}

.rtl .ladyorganizer-archive-footer-desc ul,
.rtl .ladyorganizer-archive-footer-desc ol {
  padding-inline-start: var(--spacing-xl);
  padding-inline-end: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.rtl .ladyorganizer-footer {
  direction: rtl;
  text-align: right;
}
