/* ================================
   FONT IMPORTS
   ================================ */
@font-face {
  font-family: 'Almoni';
  src: url('fonts/almoni-regular-aaa.woff2') format('woff2'),
       url('fonts/almoni-regular-aaa.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Almoni';
  src: url('fonts/almoni-medium-aaa.woff2') format('woff2'),
       url('fonts/almoni-medium-aaa.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ================================
   GLOBAL
   ================================ */
html, body {
  direction: rtl;
}

html, body,
p, h1, h2, h3, h4, h5, h6,
li, a, span, label, button,
input, textarea, select {
  font-family: 'Almoni', 'Arial', sans-serif !important;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Almoni', 'Arial', sans-serif !important;
  font-weight: 500 !important;
}

p, h2, h3, h4, h5, h6,
li, span, label {
  text-align: right;
}

.woocommerce-checkout .checkout-right-col {
  font-family: 'Almoni', 'Arial', sans-serif !important;
  font-weight: 500 !important;
}

input, textarea, select {
  text-align: right;
  direction: rtl;
}

.ltr, .keep-ltr {
  direction: ltr;
  text-align: left;
}

.info-link {
  font-family: 'Almoni', 'Arial', sans-serif !important;
  font-weight: 400;
}

.title-square h2,
.promo-vid .inner-wrapper .text-wrapper p {
  text-align: center !important;
}

/* ================================
   HEADER
   ================================ */
header#header {
  direction: ltr;
}

header .items li,
header .items li .extra ul li {
  text-align: right !important;
}

/* ================================
   PRODUCT PAGES
   ================================ */
.single-product-content {
  direction: ltr;
}

.prod-images,
.prod-mobile-images {
  direction: ltr !important;
}

.prod-images .slick-slide,
.prod-mobile-images .slick-slide {
  float: left !important;
}

.single-product-content .summary {
  direction: rtl;
  text-align: right;
}

.prod-meta .shop_attributes tbody tr th,
.prod-meta .summary .variations label {
  text-align: right !important;
}

/* ================================
   NEWSLETTER
   ================================ */
.newsletter,
.newsletter p,
.newsletter h1,
.newsletter h2,
.newsletter h3,
.newsletter h4,
.newsletter h5,
.newsletter h6 {
  text-align: center !important;
}

.newsletter {
  text-align: center;
}

.newsletter .row {
  display: flex;
  justify-content: center;
}

.newsletter .row p {
  display: flex !important;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.newsletter input[type="submit"] {
  text-align: center !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter .row p br {
  display: none;
}

.newsletter-form-wrapper .wpcf7-form-control-wrap {
  direction: rtl;
  text-align: center !important;
}

/* ================================
   SHOP PANELS
   ================================ */
.the-shop .panel {
  flex-direction: row-reverse;
}

.home-cat .inner,
.home-cat .inner .prods {
  direction: ltr !important;
}

/* ================================
   CF7 CHECKBOX FIX
   ================================ */
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 6px;
}

/* ================================
   PAGE CONTENT
   ================================ */
.page-content-section {
  direction: rtl;
  font-family: 'Almoni', 'Arial', sans-serif !important;
}

.page-content-section ul,
.page-content-section ol {
  padding-right: 40px;
  padding-left: 0;
}

/* ================================
   TABLES IN RTL PAGES
   ================================ */
.page-content-section table {
  direction: rtl;
  width: 100%;
  text-align: center;
}

.page-content-section table th,
.page-content-section table td {
  text-align: center !important;
}




footer .rights p {
  text-align: center !important;
}

.prod-meta .summary b.button {
  right: 40px !important;
}

/* ============================================
   FIXED & CORRECTED PRICE ALIGNMENT LOGIC
   ============================================ */

/* OLD GLOBAL PRICE CENTERING — NEUTRALIZED */
@media screen and (max-width: 1024px) {
  .the-shop .products .product .title-price-wrapper span.price {
    text-align: inherit !important;
  }
}

/* MOBILE ONLY – ARCHIVE/COLLECTION PAGES */
@media screen and (max-width: 768px) {
  body.archive .title-price-wrapper span.price,
  body.post-type-archive .title-price-wrapper span.price,
  body.tax-product_cat .title-price-wrapper span.price {
    text-align: center !important;
    display: block;
    width: 100%;
  }
  .the-shop .products .title-price-wrapper,
  .the-shop .products .title-price-wrapper .product-name,
  .the-shop .products .title-price-wrapper .product-title {
    text-align: center !important;
  }
}

/* PRODUCT PAGE – ALWAYS ALIGN RIGHT (ALL SCREEN SIZES) */
body.single-product .prod-meta .summary #prod-price,
body.single-product .title-price-wrapper span.price {
  text-align: right !important;
}

.newsletter form .wpcf7-form-control.wpcf7-checkbox {text-align:center !important;}

.woocommerce-checkout .checkout-right-col table.shop_table tbody td.product-name .inner img {margin-left:16px; margin-right:0px;}

/* ================================
   MINI CART RTL FIXES
   ================================ */
#side-cart .lil-x {
  right: auto;
  left: 10px;
}

/* ================================
   PRODUCT GRID – NAME & PRICE RTL
   ================================ */
.the-shop .products .title-price-wrapper,
.the-shop .products .title-price-wrapper h3,
.the-shop .products .title-price-wrapper .product-title,
.the-shop .products .title-price-wrapper .product-name,
.home-cat .products .title-price-wrapper,
.home-cat .products .title-price-wrapper h3,
.single-gallery-related .products .title-price-wrapper,
.single-gallery-related .products .title-price-wrapper h3 {
  text-align: right !important;
}

.the-shop .products .title-price-wrapper span.price,
.home-cat .products .title-price-wrapper span.price,
.single-gallery-related .products .title-price-wrapper span.price {
  right: auto !important;
  left: 0 !important;
}

@media screen and (max-width: 768px) {
  .the-shop .products .title-price-wrapper,
  .the-shop .products .title-price-wrapper .product-name,
  .the-shop .products .title-price-wrapper .product-title,
  .single-gallery-related .products .title-price-wrapper {
    text-align: center !important;
  }
  .single-gallery-related .products .title-price-wrapper span.price {
    position: static !important;
    display: block;
    text-align: center !important;
  }
}

/* ================================
   THANK YOU / ORDER CONFIRMATION
   ================================ */
.woocommerce-order .start-wrapper .stage .button.go-blue {
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-order .start-wrapper .stage > a {
  display: block;
  text-align: center;
}

.woocommerce-order .start-wrapper .form-wrapper button {
  text-align: center;
}

.woocommerce-order .start-wrapper .stage p.small {
  text-align: center;
}