/* ==========================================================================
   SaharShop storefront pages — PDP / PLP chrome / cart / checkout / auth / account
   Aligns internal pages with homepage visual language (does not restyle homepage bands)
   ========================================================================== */

/* Page canvas */
body.lang-rtl#product,
body.lang-rtl#category,
body.lang-rtl#prices-drop,
body.lang-rtl#new-products,
body.lang-rtl#best-sales,
body.lang-rtl#search,
body.lang-rtl#cart,
body.lang-rtl#checkout,
body.lang-rtl#authentication,
body.lang-rtl#registration,
body.lang-rtl#password,
body.lang-rtl#my-account,
body.lang-rtl#history,
body.lang-rtl#identity,
body.lang-rtl#addresses,
body.lang-rtl#address,
body.lang-rtl#order-detail,
body.lang-rtl#order-confirmation,
body.lang-rtl#module-iverify-authentication {
  background: var(--ss-bg, #f5f7fb);
  color: var(--ss-ink, #08153b);
  overflow-x: clip;
  max-width: 100%;
}

body.lang-rtl#product #wrapper,
body.lang-rtl#category #wrapper,
body.lang-rtl#cart #wrapper,
body.lang-rtl#checkout #wrapper,
body.lang-rtl#module-iverify-authentication #wrapper,
body.lang-rtl#my-account #wrapper,
body.lang-rtl#search #wrapper {
  overflow-x: clip;
  max-width: 100%;
}

/* —— Product Detail —— */
/* #main width constrained by sahar-inner.css (3-col hero) */
body.lang-rtl#product .page-content--product {
  max-width: 100%;
}

body.lang-rtl#product h1.h1 {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ss-ink);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

body.lang-rtl#product .s26-gallery,
body.lang-rtl#product .s26-buy {
  margin-bottom: 1rem;
}

body.lang-rtl#product .images-container,
body.lang-rtl#product .product-cover,
body.lang-rtl#product .s26-gallery .page-content--product {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius-lg);
  box-shadow: var(--ss-shadow-sm);
  overflow: hidden;
}

body.lang-rtl#product .product-cover img,
body.lang-rtl#product .js-qv-product-cover {
  object-fit: contain;
  mix-blend-mode: multiply;
}

body.lang-rtl#product .product-images img,
body.lang-rtl#product .product-images .thumb {
  border-radius: var(--ss-radius-sm);
  border: 1px solid var(--ss-line);
}

body.lang-rtl#product .s26-buy .page-content--product {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius-lg);
  box-shadow: var(--ss-shadow);
  padding: 1.25rem 1.35rem 1.5rem;
}

body.lang-rtl#product .product-prices .current-price-display,
body.lang-rtl#product .product-price .current-price-display {
  color: var(--ss-money) !important;
  font-weight: 900;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem);
}

body.lang-rtl#product .product-discount .regular-price,
body.lang-rtl#product .regular-price {
  color: var(--ss-muted);
  text-decoration: line-through;
}

body.lang-rtl#product .discount,
body.lang-rtl#product .discount-percentage {
  background: linear-gradient(180deg, #fff, #f7f8fc);
  border-radius: var(--ss-radius-pill);
  color: var(--ss-ink);
  font-weight: 850;
  padding: 0.25em 0.8em;
  box-shadow: var(--ss-shadow-sm);
  border: 0;
}

body.lang-rtl#product .product-variants .control-label {
  font-weight: 800;
  color: var(--ss-ink);
}

body.lang-rtl#product .product-variants li span.color,
body.lang-rtl#product .product-variants .radio-label,
body.lang-rtl#product .product-variants .input-color + span,
body.lang-rtl#product .product-variants .input-radio + span {
  border-radius: var(--ss-radius-sm);
  border: 1px solid var(--ss-line);
}

body.lang-rtl#product .product-variants input:checked + span,
body.lang-rtl#product .product-variants .input-color:checked + span {
  border-color: var(--ss-accent);
  box-shadow: 0 0 0 2px rgba(247, 147, 26, 0.25);
}

body.lang-rtl#product .s26-buybar,
body.lang-rtl#product .product-act-container {
  background: linear-gradient(180deg, #fbfcff, #f4f6fb);
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius);
  gap: 0.75rem;
  flex-wrap: wrap;
}

body.lang-rtl#product .product-quantity .qty input,
body.lang-rtl#product #quantity_wanted {
  width: 72px;
  text-align: center;
  border-radius: var(--ss-radius-sm) !important;
  font-weight: 800;
}

body.lang-rtl#product .btn-add-to-cart {
  width: 100%;
  min-height: 52px;
  font-size: 1.05rem;
}

/* Sticky desktop buy box */
@media (min-width: 992px) {
  body.lang-rtl#product .s26-buy .product-actions {
    position: sticky;
    top: 88px;
    z-index: 5;
  }
}

/* Mobile sticky ATC */
.ss-sticky-atc {
  display: none;
}

@media (max-width: 767.98px) {
  .ss-sticky-atc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--ss-line);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
  }

  .ss-sticky-atc__price {
    font-weight: 900;
    color: var(--ss-money);
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .ss-sticky-atc__meta {
    font-size: 0.75rem;
    color: var(--ss-muted);
  }

  .ss-sticky-atc .btn {
    flex: 1 1 auto;
    min-height: 48px;
  }

  body.lang-rtl#product {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

/* Tabs / extra info */
body.lang-rtl#product .tabs,
body.lang-rtl#product .product-tabs,
body.lang-rtl#product .js-product-tab,
body.lang-rtl#product .product-description,
body.lang-rtl#product #product-details {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--ss-shadow-sm);
}

body.lang-rtl#product .nav-tabs {
  border: 0;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

body.lang-rtl#product .nav-tabs .nav-link {
  border: 0;
  border-radius: var(--ss-radius-pill);
  background: #fff;
  color: var(--ss-ink);
  box-shadow: var(--ss-shadow-sm);
  font-weight: 800;
}

body.lang-rtl#product .nav-tabs .nav-link.active {
  background: var(--ss-ink);
  color: #fff;
}

/* Related products use np grid */
body.lang-rtl#product .product-accessories .products,
body.lang-rtl#product .ss-related .np-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 992px) {
  body.lang-rtl#product .product-accessories .products,
  body.lang-rtl#product .ss-related .np-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* —— Category / search chrome —— */
body.lang-rtl#category .block-category,
body.lang-rtl#category .cat-header {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius-lg);
  box-shadow: var(--ss-shadow-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

body.lang-rtl#category .block-category .cat-header {
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0 0 0.5rem;
  background: transparent;
}

body.lang-rtl#category .block-category h1,
body.lang-rtl#category #js-product-list-header,
body.lang-rtl#search #js-product-list-header,
body.lang-rtl#prices-drop #js-product-list-header,
body.lang-rtl#new-products #js-product-list-header,
body.lang-rtl#best-sales #js-product-list-header {
  font-weight: 900;
  color: var(--ss-ink);
  letter-spacing: -0.02em;
}

body.lang-rtl#category #category-description {
  color: var(--ss-muted);
  line-height: 1.8;
}

body.lang-rtl#category #subcategories .subcategory-list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

body.lang-rtl#category #subcategories .subcategory-list > * {
  flex: 0 0 auto;
  min-width: 140px;
}

body.lang-rtl .products-selection,
body.lang-rtl #js-product-list-top {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius);
  padding: 0.75rem 1rem;
  box-shadow: var(--ss-shadow-sm);
  margin-bottom: 1rem;
}

body.lang-rtl #search_filters,
body.lang-rtl .facet,
body.lang-rtl .facets {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius);
  box-shadow: var(--ss-shadow-sm);
}

body.lang-rtl #search_filters .facet .facet-title,
body.lang-rtl .facet .h6 {
  font-weight: 900;
  color: var(--ss-ink);
}

body.lang-rtl .category-sub-categories a,
body.lang-rtl .subcategories-list a {
  display: block;
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius);
  padding: 0.75rem;
  box-shadow: var(--ss-shadow-sm);
  color: var(--ss-ink);
  font-weight: 800;
  text-decoration: none;
}

/* —— Cart —— */
body.lang-rtl#cart .cart-grid-body .card.cart-container,
body.lang-rtl#cart .cart-grid-right .card.cart-summary {
  border-radius: var(--ss-radius-lg) !important;
  box-shadow: var(--ss-shadow) !important;
}

body.lang-rtl#cart .cart-item,
body.lang-rtl#cart .product-line-grid {
  border-bottom: 1px solid var(--ss-line);
  padding: 1rem 0;
}

body.lang-rtl#cart .product-price,
body.lang-rtl#cart .product-price strong,
body.lang-rtl#cart .cart-summary-line .value,
body.lang-rtl#cart .cart-summary-totals .value {
  color: var(--ss-money);
  font-weight: 900;
}

body.lang-rtl#cart .s26-cart-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

body.lang-rtl#cart .cart-detailed-actions .btn,
body.lang-rtl#cart .checkout a.btn {
  width: 100%;
  min-height: 52px;
}

/* —— Checkout —— */
body.lang-rtl#checkout #wrapper,
body.lang-rtl#checkout .checkout {
  background: var(--ss-bg);
}

body.lang-rtl#checkout #header .header-nav,
body.lang-rtl#checkout #header {
  background: #fff;
  border-bottom: 1px solid var(--ss-line);
  box-shadow: var(--ss-shadow-sm);
}

body.lang-rtl#checkout .checkout-step.-reachable .step-title::before,
body.lang-rtl#checkout .checkout-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 0.5rem;
  border-radius: 50%;
  background: var(--ss-accent-soft);
  color: var(--ss-ink);
  font-weight: 900;
  font-size: 0.85rem;
}

body.lang-rtl#checkout .checkout-step.-current .step-title {
  background: linear-gradient(180deg, #fff, #f7f8fc);
}

body.lang-rtl#checkout .checkout-step.-complete .step-title,
body.lang-rtl#checkout .checkout-step.-reachable.-complete .step-title {
  color: var(--ss-success);
}

body.lang-rtl#checkout .checkout-step,
body.lang-rtl#checkout .-current,
body.lang-rtl#checkout .js-step {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius-lg);
  box-shadow: var(--ss-shadow-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

body.lang-rtl#checkout .checkout-step .step-title,
body.lang-rtl#checkout .step-title {
  font-weight: 900;
  color: var(--ss-ink);
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--ss-line);
  margin: 0;
}

body.lang-rtl#checkout .delivery-option,
body.lang-rtl#checkout .payment-option {
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: #fff;
}

body.lang-rtl#checkout .delivery-option:has(input:checked),
body.lang-rtl#checkout .payment-option:has(input:checked) {
  border-color: var(--ss-accent);
  box-shadow: 0 0 0 2px rgba(247, 147, 26, 0.2);
}

body.lang-rtl#checkout .cart-summary,
body.lang-rtl#checkout #js-checkout-summary {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius-lg);
  box-shadow: var(--ss-shadow);
  position: sticky;
  top: 88px;
}

body.lang-rtl#checkout .cart-summary-line .value,
body.lang-rtl#checkout .cart-summary-totals .value {
  color: var(--ss-money);
  font-weight: 900;
}

body.lang-rtl#checkout #payment-confirmation button,
body.lang-rtl#checkout .btn-primary.js-continue {
  min-height: 52px;
  width: 100%;
}

/* —— Auth / iverify —— */
body.lang-rtl#authentication .card,
body.lang-rtl#registration .card,
body.lang-rtl#password .card,
body.lang-rtl#module-iverify-authentication .card,
body.lang-rtl#module-iverify-authentication .login-form,
body.lang-rtl .login-form {
  border-radius: var(--ss-radius-lg) !important;
  box-shadow: var(--ss-shadow) !important;
  max-width: 480px;
  margin-inline: auto;
}

body.lang-rtl#authentication .page-header h1,
body.lang-rtl#registration h1,
body.lang-rtl#module-iverify-authentication h1 {
  font-weight: 900;
  text-align: center;
  color: var(--ss-ink);
}

/* —— Account —— */
body.lang-rtl#my-account .account-links > a > .link-item,
body.lang-rtl .account-list a {
  border-radius: var(--ss-radius) !important;
  box-shadow: var(--ss-shadow-sm);
}

body.lang-rtl#history .order,
body.lang-rtl#order-detail .box,
body.lang-rtl#addresses .address,
body.lang-rtl#identity .card {
  border-radius: var(--ss-radius) !important;
  border: 1px solid var(--ss-line) !important;
  box-shadow: var(--ss-shadow-sm) !important;
}

/* —— Order confirmation —— */
body.lang-rtl#order-confirmation #content-hook_order_confirmation,
body.lang-rtl#order-confirmation .card {
  border-radius: var(--ss-radius-lg) !important;
  box-shadow: var(--ss-shadow) !important;
}

body.lang-rtl#order-confirmation .ss-order-success,
body.lang-rtl#order-confirmation #content-hook_order_confirmation.ss-order-success {
  background: linear-gradient(180deg, #ecfdf5, #fff) !important;
  color: var(--ss-ink) !important;
  border: 1px solid #bbf7d0 !important;
}

body.lang-rtl#order-confirmation .ss-order-success .card-title,
body.lang-rtl#order-confirmation .ss-order-success p,
body.lang-rtl#order-confirmation .ss-order-success a {
  color: var(--ss-ink) !important;
}

body.lang-rtl#order-confirmation .ss-order-success .material-icons.done {
  color: var(--ss-success) !important;
  vertical-align: middle;
  margin-left: 0.35rem;
}

body.lang-rtl#order-confirmation #order-details {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius);
  padding: 1rem 1.15rem;
  margin-top: 1rem;
}

/* —— Checkout header —— */
.ss-checkout-header {
  background: #fff !important;
  border-bottom: 1px solid var(--ss-line);
  box-shadow: var(--ss-shadow-sm);
  padding: 0.75rem 0;
}

.ss-checkout-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ss-checkout-header__logo img {
  max-height: 48px;
  width: auto;
}

.ss-checkout-steps {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  justify-content: center;
}

.ss-checkout-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ss-muted);
}

.ss-checkout-steps__item span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef1f8;
  color: var(--ss-ink);
  font-size: 0.8rem;
}

.ss-checkout-steps__item.is-current {
  color: var(--ss-ink);
}

.ss-checkout-steps__item.is-current span {
  background: linear-gradient(180deg, var(--ss-cta), var(--ss-cta-deep));
  color: #fff;
}

.ss-checkout-steps__item.is-done span {
  background: #dcfce7;
  color: var(--ss-success);
}

.ss-checkout-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ss-checkout-header__back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--ss-radius-pill);
  background: linear-gradient(90deg, #f7efe9, #f2f2f8);
  color: var(--ss-ink) !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--ss-shadow-sm);
}

@media (max-width: 767.98px) {
  .ss-checkout-steps {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .ss-checkout-steps__item {
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

/* —— Auth —— */
.ss-auth {
  max-width: 480px;
  margin: 1.5rem auto 2.5rem;
}

.ss-auth__card {
  border-radius: var(--ss-radius-lg) !important;
  box-shadow: var(--ss-shadow) !important;
}

.ss-auth__lead {
  margin: 0.35rem 0 0;
  color: var(--ss-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

body.lang-rtl#registration .page-content,
body.lang-rtl#password .page-content,
body.lang-rtl#module-iverify-authentication #content,
body.lang-rtl#module-iverify-authentication .card {
  max-width: 520px;
  margin-inline: auto;
  border-radius: var(--ss-radius-lg) !important;
  box-shadow: var(--ss-shadow) !important;
  background: #fff;
  border: 1px solid var(--ss-line);
  padding: 1.25rem;
}

body.lang-rtl#registration .register-form .form-control,
body.lang-rtl#authentication .form-control,
body.lang-rtl#module-iverify-authentication input {
  min-height: var(--ss-input-h);
}

body.lang-rtl#authentication .forgot-password a,
body.lang-rtl#authentication .no-account a {
  color: var(--ss-teal);
  font-weight: 700;
}

/* —— Account —— */
.ss-account {
  margin-top: 0.5rem;
}

body.lang-rtl#my-account .ss-account .account-links > a > .link-item {
  background: #fff;
  border: 1px solid var(--ss-line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.lang-rtl#my-account .ss-account .account-links > a:hover > .link-item {
  transform: translateY(-2px);
  box-shadow: var(--ss-shadow);
}

body.lang-rtl#my-account .page-footer a[href*="logout"],
body.lang-rtl#my-account .page-footer--my-account a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 1.1rem;
  border-radius: var(--ss-radius-pill);
  background: #fff;
  border: 1px solid var(--ss-line);
  color: var(--ss-error) !important;
  font-weight: 800;
  text-decoration: none !important;
}

body.lang-rtl#history table,
body.lang-rtl#order-detail .table,
body.lang-rtl#addresses .address,
body.lang-rtl#identity section {
  background: #fff;
}

/* —— Mini cart / offcanvas cart —— */
body.lang-rtl #app_cart_wrapper .modal-content,
body.lang-rtl .cart-canvas-wrapper .modal-content {
  border-radius: var(--ss-radius-lg) var(--ss-radius-lg) 0 0 !important;
  border: 0 !important;
  box-shadow: var(--ss-shadow) !important;
}

body.lang-rtl .mini-cart-product {
  border-bottom: 1px solid var(--ss-line);
  padding: 0.75rem 0 !important;
}

body.lang-rtl .mini-cart-summary-totals .value,
body.lang-rtl .mini-cart-subtotals .value {
  color: var(--ss-money) !important;
  font-weight: 900;
}

body.lang-rtl .cart-products-count.badge {
  background: linear-gradient(180deg, var(--ss-cta), var(--ss-cta-deep)) !important;
  color: #fff !important;
  border-radius: var(--ss-radius-pill);
}

/* —— Mobile filters modal —— */
body.lang-rtl #offcanvas_search_filter .modal-content {
  border-radius: var(--ss-radius-lg) var(--ss-radius-lg) 0 0 !important;
  border: 0 !important;
  box-shadow: var(--ss-shadow) !important;
}

body.lang-rtl #offcanvas_search_filter .modal-header {
  border-bottom: 1px solid var(--ss-line);
  font-weight: 900;
}

body.lang-rtl #search_filter_toggler {
  min-height: 44px;
}

/* —— Password recovery —— */
body.lang-rtl#password .card,
body.lang-rtl#password .page-content {
  max-width: 480px;
  margin-inline: auto;
}

/* —— iverify OTP / mobile auth —— */
body.lang-rtl#module-iverify-authentication .justify-center-verif {
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

body.lang-rtl#module-iverify-authentication #create.ss-auth,
body.lang-rtl#module-iverify-authentication .ss-auth {
  max-width: 440px;
  margin-inline: auto;
  float: none;
}

body.lang-rtl#module-iverify-authentication .ss-auth__card {
  padding: 0.5rem 0.25rem 1rem;
}

body.lang-rtl#module-iverify-authentication .page-subheading {
  font-weight: 900;
  color: var(--ss-ink);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

body.lang-rtl#module-iverify-authentication #phone_mobile,
body.lang-rtl#module-iverify-authentication input.form-control,
body.lang-rtl#module-iverify-authentication input[type="text"],
body.lang-rtl#module-iverify-authentication input[type="tel"],
body.lang-rtl#module-iverify-authentication input[type="number"] {
  direction: ltr;
  text-align: left;
  min-height: var(--ss-input-h);
  border-radius: var(--ss-radius-sm) !important;
  border: 1px solid var(--ss-line) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.lang-rtl#module-iverify-authentication .btn,
body.lang-rtl#module-iverify-authentication button[type="submit"] {
  width: 100%;
  min-height: 52px;
  margin-top: 0.5rem;
}

body.lang-rtl#module-iverify-authentication .box {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

/* Addresses grid */
body.lang-rtl#addresses .address,
body.lang-rtl#addresses article.address {
  height: 100%;
  border-radius: var(--ss-radius) !important;
  border: 1px solid var(--ss-line) !important;
  box-shadow: var(--ss-shadow-sm) !important;
  background: #fff;
}

body.lang-rtl#addresses .addresses-footer .btn {
  min-height: 48px;
}

body.lang-rtl#order-detail .ss-account,
body.lang-rtl#identity .ss-account {
  box-shadow: var(--ss-shadow-sm) !important;
}

body.lang-rtl .block-not-found.ss-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: var(--ss-radius-lg) !important;
}

body.lang-rtl .block-not-found.ss-empty .page-not-found,
body.lang-rtl .block-not-found.ss-empty h1 {
  display: none;
}

/* History table */
body.lang-rtl#history .table {
  border-radius: var(--ss-radius);
  overflow: hidden;
  border: 1px solid var(--ss-line);
}

body.lang-rtl#history .table thead th {
  background: #f8fafc;
  border-bottom: 1px solid var(--ss-line);
  font-weight: 800;
  color: var(--ss-ink);
}

body.lang-rtl#history .table td .price,
body.lang-rtl#history .table .price {
  color: var(--ss-money);
  font-weight: 900;
}

/* Touch targets */
@media (max-width: 767.98px) {
  body.lang-rtl#cart .js-cart-line-product-quantity,
  body.lang-rtl#cart .bootstrap-touchspin .btn {
    min-width: var(--ss-touch);
    min-height: var(--ss-touch);
  }

  body.lang-rtl#checkout #js-checkout-summary {
    position: static;
  }
}
