/* ============================================================
   FavRoze | MASTER STYLESHEET (Clean + Unified)
   Primary: #2c112c | Secondary: #eadeec
   Font: Harir/Tajawal/Cairo
   ============================================================ */
:root{
  --fz-primary:   #2c112c;
  --fz-secondary: #eadeec;

  --fz-font:      "Harir","Tajawal","Cairo",sans-serif;

  --fz-glass-1:   rgba(255,255,255,.65);
  --fz-glass-2:   rgba(255,255,255,.85);

  --fz-border-1:  rgba(44, 17, 44, .08);
  --fz-border-2:  rgba(234, 222, 236, .40);

  --fz-shadow-sm: rgba(44, 17, 44, .06);
  --fz-shadow-md: rgba(44, 17, 44, .12);

  --fz-radius-sm: 14px;
  --fz-radius-md: 18px;
  --fz-radius-lg: 22px;

  --fz-ease:      .25s ease;
}

/* Apply brand font globally (safe) */
html, body{
  font-family: var(--fz-font);
}

/* ============================================================
   1) Special Categories — Grid Layout
   ============================================================ */

/* Reset scoped (avoid touching other areas) */
.special-categories__content,
.special-categories__content *{
  max-width:  none         !important;
  float:      none         !important;
  box-sizing: border-box   !important;
}

/* Main grid */
.special-categories__content{
  display:               grid       !important;
  grid-template-columns: 1fr 1.5fr  !important;
  grid-template-rows:    1fr        !important;
  gap:                   0          !important;
  direction:             ltr        !important;
  width:                 100%       !important;
  align-items:           stretch    !important;
}

/* Big banner (right) */
.special-categories__content > .single-banner{
  grid-column: 2 !important;
  grid-row:    1 !important;
  width:       100% !important;
  height:      100%    !important;
  overflow:    hidden !important;
}

/* Group (left) */
.special-categories__content > .group-banner{
  grid-column: 1 !important;
  grid-row:    1 !important;
  width:       100% !important;

  display:               grid        !important;
  grid-template-columns: 1fr 1fr     !important;
  grid-template-areas:
    "top top"
    "b2  b3" !important;
  gap: 0 !important;
}

/* Areas */
.special-categories__content > .group-banner > .banner-1{ grid-area: top !important; }
.special-categories__content > .group-banner > .banner-2{ grid-area: b2  !important; }
.special-categories__content > .group-banner > .banner-3{ grid-area: b3  !important; }

/* Safer image sizing: only images */
.special-categories__content img{
  width:      100% !important;
  height:     100% !important;
  display:    block !important;
  object-fit: cover !important;
}

/* Ensure wrappers fill cards without forcing height on <a> globally */
.special-categories__content .banner-image,
.special-categories__content .single-banner__link{
  display: block !important;
  width:  100% !important;
  height: 100% !important;
}

/* Hide banner text overlay */
.special-categories__content .banner-wrapper-infor{
  display:none !important;
}

/* Aspect ratios */
@media (min-width:1024px){
  .special-categories__content > .single-banner{ aspect-ratio:16/9 !important; }
  .special-categories__content > .group-banner > .banner-1{ aspect-ratio:16/9 !important; }
  .special-categories__content > .group-banner > .banner-2,
  .special-categories__content > .group-banner > .banner-3{ aspect-ratio:1/1 !important; }
}

@media (max-width:768px){
  .special-categories__content{
    grid-template-columns: 1fr 1.5fr !important;
  }
  .special-categories__content > .single-banner{ aspect-ratio:16/9 !important; }
  .special-categories__content > .group-banner > .banner-1{ aspect-ratio:16/9 !important; }
  .special-categories__content > .group-banner > .banner-2,
  .special-categories__content > .group-banner > .banner-3{ aspect-ratio:1/1 !important; }
}

/* ============================================================
   2) Product Cards — Luxury Style (SINGLE SOURCE OF TRUTH)
   ============================================================ */
.product-card{
  background:              rgba(255,255,255,.50) !important;
  backdrop-filter:         blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;

  border-radius:           20px !important;
  border:                  1px solid var(--fz-border-2) !important;
  box-shadow:              0 8px 20px var(--fz-shadow-sm) !important;

  overflow: hidden !important;
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

.product-card:hover{
  transform: translateY(-8px) !important;
  background: rgba(255,255,255,.85) !important;
  box-shadow: 0 20px 40px var(--fz-shadow-md) !important;
  border-color: var(--fz-secondary) !important;
}

/* Actions (wishlist/preview) */
.product-card__actions{
  position:absolute !important;
  top:12px !important;
  right:12px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  z-index:20 !important;
}

.product-card__actions .s-button-wrap button{
  background: rgba(255,255,255,.70) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;

  color: var(--fz-primary) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(234,222,236,.50) !important;

  width:38px !important;
  height:38px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  box-shadow: 0 4px 10px rgba(0,0,0,.05) !important;
  transition: background .25s ease, color .25s ease, transform .25s ease !important;
}

.product-card__actions .s-button-wrap button:hover{
  background: var(--fz-primary) !important;
  color:#fff !important;
  transform: scale(1.12) rotate(5deg) !important;
}

/* Add to cart button */
.product-card .s-button-element,
.product-card__normal-cart .s-button-element{
  background: var(--fz-primary) !important;
  color:#fff !important;
  border-radius: 14px !important;
  height:48px !important;
  font-weight:900 !important;
  border:none !important;
  transition: background var(--fz-ease), color var(--fz-ease), transform var(--fz-ease), box-shadow var(--fz-ease) !important;
}

.product-card .s-button-element:hover{
  background: var(--fz-secondary) !important;
  color: var(--fz-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(234,222,236,.40) !important;
}

/* Hide duplicates */
.product-card__image .product-card__buttons.normal,
.product-card__enhanced-mini-cart,
.product-card__enhanced-mini-cart-divider{
  display:none !important;
}

/* Title + price */
.product-card__title a{
  color: var(--fz-primary) !important;
  font-size:16px !important;
  font-weight:800 !important;
}

.product-card__price{
  color: var(--fz-primary) !important;
  font-weight:900 !important;
}

/* Out of stock */
.product-card.not-available .s-button-element{
  background:#f3f3f3 !important;
  color:#b5b5b5 !important;
  box-shadow:none !important;
  transform:none !important;
}

/* Quickview hidden */
.quickview-btn{ display:none !important; }

/* Mobile product card */
@media (max-width:767px){
  .product-card{
    border-radius:16px !important;
    margin-bottom:10px !important;
  }
  .product-card .s-button-element{
    height:42px !important;
    font-size:13px !important;
  }
  .product-card__actions .s-button-wrap button{
    width:32px !important;
    height:32px !important;
  }
}

/* Touch devices: disable lift hover */
@media (hover:none){
  .product-card:hover{ transform:none !important; }
}

/* ============================================================
   3) Reviews Section — Luxury Style (Scoped)
   ============================================================ */
.reviews-slider{
  background: linear-gradient(180deg,#f8f5f9 0%,#ffffff 100%) !important;
  padding: 15px 0 !important;
  border-radius: 28px !important;
  margin-top: 30px !important;
}

/* Title only inside reviews */
.reviews-slider .home-block-title p{
  color: var(--fz-primary) !important;
  font-family: var(--fz-font) !important;
  letter-spacing: 1px !important;
  font-weight: 900 !important;
}

/* Line under title */
.reviews-slider .home-block-line{
  background-color: var(--fz-primary) !important;
  border:none !important;
  height:3px !important;
  border-radius:10px !important;
  width:60px !important;
  margin-top:10px !important;
}

/* Review card */
.reviews-slider .review .bg-store-bg-secondary{
  background:#fff !important;
  border-radius:24px !important;
  border:1px solid rgba(239,231,242,1) !important;
  box-shadow: 0 10px 25px rgba(44,17,44,.06) !important;
  padding: 1.8rem !important;
  position:relative !important;
  overflow:hidden !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

/* Soft glow */
.reviews-slider .review .bg-store-bg-secondary::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg,transparent,rgba(44,17,44,.03),transparent);
  opacity:0;
  transition: opacity .35s ease;
  pointer-events:none;
}

.reviews-slider .review .bg-store-bg-secondary:hover{
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(44,17,44,.12) !important;
  border-color: var(--fz-primary) !important;
}
.reviews-slider .review .bg-store-bg-secondary:hover::before{ opacity:1; }

/* Text */
.reviews-slider #item-text p{
  color: var(--fz-primary) !important;
  font-size: 1rem !important;
  font-style: italic !important;
  line-height: 1.9 !important;
  font-family: var(--fz-font) !important;
  margin-bottom: 16px !important;
}

/* Name */
.reviews-slider .review h4{
  color: var(--fz-primary) !important;
  font-weight: 900 !important;
  margin-bottom: 5px !important;
  font-size: .95rem !important;
}

/* Stars */
.reviews-slider .comment__rating i{
  color:#ffb400 !important;
  font-size:14px !important;
}

/* Avatar */
.reviews-slider .review img{
  border:3px solid rgba(239,231,242,1) !important;
  padding:2px !important;
  background:#fff !important;
  width:52px !important;
  height:52px !important;
  border-radius:50% !important;
  object-fit:cover !important;
}

/* Quote icon */
.reviews-slider .sicon-quote{
  color: rgba(239,231,242,1) !important;
  opacity:.7 !important;
  font-size:2.8rem !important;
}

/* Slider padding */
.reviews-slider .swiper{ padding:15px 10px !important; }

@media (min-width:1024px){
  .reviews-slider .swiper-slide{ width:360px !important; }
  .reviews-slider .review .bg-store-bg-secondary{ padding:2rem !important; }
}

@media (max-width:768px){
  .reviews-slider .review .bg-store-bg-secondary{ padding:1.4rem !important; }
  .reviews-slider #item-text p{ font-size:.95rem !important; }
}

/* ============================================================
   4) Header — Celia Clean
   ============================================================ */
header.store-header,
#mainnav.main-nav-container,
#mainnav .inner.bg-inherit{
  background: transparent !important;
  box-shadow:none !important;
}
header.store-header #mainnav .container{ background:transparent !important; }

/* hide "القائمة" label */
#mainnav a.mburger .menu-label{ display:none !important; }

/* icons */
header.store-header .header-btn__icon,
header.store-header .icon,
#mainnav a.mburger .sicon-menu,
header.store-header button[aria-label="Search"] .header-btn__icon,
header.store-header salla-cart-summary i.header-btn__icon{
  font-size:22px !important;
  line-height:1 !important;
  color: var(--fz-primary) !important;
}

/* header buttons */
header.store-header button[aria-label="Search"],
header.store-header #theme-toggle,
header.store-header salla-cart-summary .s-cart-summary-wrapper,
#mainnav a.mburger{
  width:44px !important;
  height:44px !important;
  border-radius:14px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  background: rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;

  transition: background .2s ease, transform .2s ease, border-color .2s ease !important;
}

header.store-header button[aria-label="Search"]:hover,
header.store-header #theme-toggle:hover,
header.store-header salla-cart-summary .s-cart-summary-wrapper:hover,
#mainnav a.mburger:hover{
  background: rgba(234,222,236,.55) !important;
  border-color: rgba(44,17,44,.18) !important;
  transform: translateY(-1px) !important;
}

/* cart count */
header.store-header .s-cart-summary-count{
  background: var(--fz-primary) !important;
  color:#fff !important;
  border:2px solid rgba(255,255,255,.9) !important;
}

/* sticky glass */
header.store-header.is-sticky #mainnav.main-nav-container,
header.store-header.sticky #mainnav.main-nav-container{
  background: rgba(255,255,255,.18) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 10px 25px rgba(44,17,44,.10) !important;
  transition: background .2s ease, box-shadow .2s ease !important;
}

@media (max-width:768px){
  header.store-header button[aria-label="Search"],
  header.store-header #theme-toggle,
  header.store-header salla-cart-summary .s-cart-summary-wrapper,
  #mainnav a.mburger{
    width:42px !important;
    height:42px !important;
    border-radius:12px !important;
  }
  header.store-header .header-btn__icon,
  header.store-header .icon,
  #mainnav a.mburger .sicon-menu{
    font-size:21px !important;
  }
}

/* ============================================================
   5) Product Page + Cart Page — Unified Premium
   ============================================================ */

/* Breadcrumb */
.breadcrumbs{
  background: rgba(255,255,255,.60);
  padding: 14px 18px;
  border-radius: var(--fz-radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--fz-border-1);
  margin-bottom: 15px;
}
.breadcrumbs a{
  font-weight:700;
  color: var(--fz-primary);
}

/* Product layout */
.product-single{ margin-top:20px; }

/* Slider */
.product-single__main-media{
  border-radius: var(--fz-radius-md);
  overflow:hidden;
  box-shadow: 0 20px 50px rgba(44,17,44,.08);
}
.product-single__slider__inner{
  background:#fff;
  border-radius: var(--fz-radius-md);
  padding:14px;
}

/* Info */
.product-single__info{
  background: var(--fz-glass-1);
  border-radius: 20px;
  padding:24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(44,17,44,.07);
  box-shadow: 0 25px 60px rgba(44,17,44,.08);
}

/* Title */
.product-single__info h1{
  font-weight: 900;
  letter-spacing: .3px;
  color: var(--fz-primary);
}

/* Subtitle */
.product-entry__sub-title{
  background:#f7f3f8;
  padding:12px 14px;
  border-radius: var(--fz-radius-sm);
  line-height:1.8;
}

/* Price */
.total-price{
  font-size:26px;
  font-weight:900;
  color: var(--fz-primary);
}

/* Availability */
#variant-inventory{
  background:#f4f1f6;
  border-radius:999px;
  padding:8px 16px;
  font-weight:800;
  color: var(--fz-primary);
}

/* Options container */
.s-product-options-option-container{
  background:#fff;
  padding:16px;
  border-radius: var(--fz-radius-md);
  border:1px solid #eee;
  margin-bottom:12px;
  box-shadow: 0 12px 25px rgba(0,0,0,.03);
}

/* Inputs */
.s-form-control{
  border-radius: var(--fz-radius-sm);
  padding:12px 14px;
  border:1px solid #ddd;
  transition: border-color var(--fz-ease);
}
.s-form-control:focus{ border-color: var(--fz-primary); }

/* Hide small helper under option title */
.s-product-options-option-label small{ display:none !important; }

/* Radio */
.s-product-options-grid-mode-span{
  border-radius: var(--fz-radius-sm);
  border:1px solid #ddd;
  padding:12px;
  transition: background var(--fz-ease), color var(--fz-ease), border-color var(--fz-ease);
}
.s-product-options-grid-mode input:checked + .s-product-options-grid-mode-span{
  background: var(--fz-primary);
  color:#fff;
  border-color: var(--fz-primary);
}

/* Price bottom */
.product-price-bottom{
  background:#fff;
  border-radius:16px;
  padding:16px;
  border:1px solid #eee;
}

/* Sticky bar */
.sticky-product-bar{
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--fz-radius-md);
  padding:20px;
  border:1px solid var(--fz-border-1);
  box-shadow: 0 20px 50px rgba(44,17,44,.10);
}

/* Qty */
.s-quantity-input-container{
  border-radius: var(--fz-radius-sm);
  border:1px solid #ddd;
}

/* Add to cart main */
.s-add-product-button-main .s-button-element{
  background: var(--fz-primary);
  color:#fff;
  border-radius: var(--fz-radius-md);
  height:60px;
  font-weight:900;
  font-size:16px;
  box-shadow: 0 20px 40px rgba(44,17,44,.18);
  transition: background var(--fz-ease), color var(--fz-ease), box-shadow var(--fz-ease);
  border:none;
}
.s-add-product-button-main .s-button-element:hover{
  background: var(--fz-secondary);
  color: var(--fz-primary);
  box-shadow: 0 24px 48px rgba(44,17,44,.12);
}

/* Booking button = same as Add to cart */
.s-booking-field-book-now.s-button-element{
  background: var(--fz-primary) !important;
  color:#fff !important;
  border-radius: var(--fz-radius-md) !important;
  height:60px !important;
  font-weight:900 !important;
  font-size:16px !important;
  box-shadow: 0 20px 40px rgba(44,17,44,.18) !important;
  transition: background var(--fz-ease), color var(--fz-ease), box-shadow var(--fz-ease) !important;
  border:none !important;
}
.s-booking-field-book-now.s-button-element:hover{
  background: var(--fz-secondary) !important;
  color: var(--fz-primary) !important;
  box-shadow: 0 24px 48px rgba(44,17,44,.12) !important;
}


/* =========================
   Tabs — FavRoze Two-Tone
   ========================= */

/* صندوق التبويبات */
.more-info-tabs__nav{
  display:flex;
  gap:12px;
  padding:10px;
  border-radius: var(--fz-radius-lg);
  background: rgba(234, 222, 236, .55); /* ثانوي شفاف */
  border: 1px solid var(--fz-border-2);
  box-shadow: 0 10px 26px var(--fz-shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* الحالة الافتراضية (غير نشط) */
.more-info-tabs__nav-link{
  border-radius: var(--fz-radius-md);
  padding:12px 16px;
  background: var(--fz-secondary);
  color:var(--fz-primary);               /* نص أسود */
  border: 1px solid var(--fz-border-1);
  box-shadow: 0 8px 18px var(--fz-shadow-sm);
  transition: all var(--fz-ease);
  font-weight: 800;
  font-family: var(--fz-font);
}

/* تحويم */
.more-info-tabs__nav-link:hover{
  transform: translateY(-1px);
}

/* النشط */
.more-info-tabs__nav-link.active{
  background: var(--fz-primary) !important;
  color:#fff !important;               /* نص أبيض */
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 12px 26px var(--fz-shadow-md);
}

/* لو النص داخل span/a */
.more-info-tabs__nav-link.active *{
  color:#fff !important;
}
.more-info-tabs__nav-link:not(.active) *{
  color:#000 !important;
}


/* Related products wrapper spacing */
.s-products-slider-wrapper{ margin-top:40px; }

/* -------------------------
   Cart Page
   ------------------------- */
.cart-item{
  background: var(--fz-glass-1) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--fz-border-1) !important;
  box-shadow: 0 25px 60px rgba(44,17,44,.08) !important;
  transition: box-shadow var(--fz-ease) !important;
}
.cart-item:hover{
  box-shadow: 0 30px 70px rgba(44,17,44,.12) !important;
}
.cart-item img{
  border-radius: var(--fz-radius-sm) !important;
  border:1px solid rgba(44,17,44,.10) !important;
}
.cart-item h1 a{
  font-weight:900 !important;
  color: var(--fz-primary) !important;
}
.cart-item .item-price,
.cart-item .item-total,
.cart-item #has_discount{
  font-weight:900 !important;
  color: var(--fz-primary) !important;
}

/* Cart options */
.cart-item .s-product-options-option-container{
  background:#fff !important;
  padding:16px !important;
  border-radius: var(--fz-radius-md) !important;
  border:1px solid #eee !important;
  margin-bottom:12px !important;
  box-shadow: 0 12px 25px rgba(0,0,0,.03) !important;
}
.cart-item .s-form-control{
  border-radius: var(--fz-radius-sm) !important;
  padding:12px 14px !important;
  border:1px solid #ddd !important;
}
.cart-item .s-form-control:focus{ border-color: var(--fz-primary) !important; }

/* Cart radio */
.cart-item .s-product-options-grid-mode-span{
  border-radius: var(--fz-radius-sm) !important;
  border:1px solid #ddd !important;
  padding:12px !important;
}
.cart-item .s-product-options-grid-mode input:checked + .s-product-options-grid-mode-span{
  background: var(--fz-primary) !important;
  color:#fff !important;
  border-color: var(--fz-primary) !important;
}

/* Cart qty */
.cart-item .s-quantity-input-container{
  border-radius: var(--fz-radius-sm) !important;
  border:1px solid rgba(44,17,44,.18) !important;
  background:#fff !important;
  overflow:hidden !important;
}
.cart-item .s-quantity-input-button{
  width:44px !important;
  height:44px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#f7f3f8 !important;
}
.cart-item .s-quantity-input-button:hover{ background: var(--fz-secondary) !important; }
.cart-item .s-quantity-input-button svg{
  width:18px !important;
  height:18px !important;
  fill: var(--fz-primary) !important;
}
.cart-item .s-quantity-input-input{
  width:52px !important;
  height:44px !important;
  font-weight:900 !important;
  color: var(--fz-primary) !important;
  text-align:center !important;
  border:0 !important;
  background:#fff !important;
}

/* Sidebar summary */
div.sticky.top-24 .shadow-default{
  background: var(--fz-glass-1) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--fz-border-1) !important;
  box-shadow: 0 25px 60px rgba(44,17,44,.08) !important;
}
div.sticky.top-24 .shadow-default:hover{
  box-shadow: 0 30px 70px rgba(44,17,44,.12) !important;
}
div.sticky.top-24 .shadow-default h4{
  font-weight:900 !important;
  color: var(--fz-primary) !important;
}

/* Checkout button */
#cart-submit .s-button-element{
  background: var(--fz-primary) !important;
  color:#fff !important;
  border-radius: var(--fz-radius-md) !important;
  height:60px !important;
  font-weight:900 !important;
  font-size:16px !important;
  box-shadow: 0 20px 40px rgba(44,17,44,.18) !important;
  border:none !important;
  transition: background var(--fz-ease), color var(--fz-ease), box-shadow var(--fz-ease) !important;
}
#cart-submit .s-button-element:hover{
  background: var(--fz-secondary) !important;
  color: var(--fz-primary) !important;
  box-shadow: 0 24px 48px rgba(44,17,44,.12) !important;
}

@media (max-width:768px){
  .product-single__info{ padding:16px; }
  .total-price{ font-size:22px; }
  .product-entry__sub-title{ font-size:13px; }

  .s-add-product-button-main .s-button-element{
    height:64px;
    font-size:17px;
  }
  .s-product-options-grid-mode{ grid-template-columns:1fr; }

  .sticky-product-bar{
    position: sticky;
    bottom: 10px;
    z-index: 50;
  }

  .cart-item{ padding:16px !important; }
  #cart-submit .s-button-element{ height:64px !important; font-size:17px !important; }
  .cart-item .s-product-options-grid-mode{ grid-template-columns:1fr !important; }
}

/* ============================================================
   6) Mobile Menu — RTL / LTR Optimized (Final)
   ============================================================ */
.mm-ocd__backdrop{
  display: none !important;
}
/* Base */
#mobile-menu.mm-spn{
  --mm-spn-item-height: 50px;
  --mm-spn-color-text: var(--fz-primary);
  --mm-spn-color-border: rgba(44,17,44,.12);

  font-family: var(--fz-font) !important;
  background: transparent !important;
  padding: 10px 10px 14px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  -webkit-overflow-scrolling: touch !important;
}

#mobile-menu.mm-spn,
#mobile-menu.mm-spn *{
  box-sizing: border-box !important;
}

/* Overlay */
.mm-ocd__backdrop{
  background: rgba(234,222,236,.45) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* Drawer */
.mm-ocd__content{
  background: rgba(255,255,255,.10) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

.mm-ocd__content::-webkit-scrollbar{
  width: 0 !important;
  background: transparent !important;
}

/* Drawer side by language direction */
html[dir="rtl"] .mm-ocd__content{
  border-left: 1px solid rgba(234,222,236,.22) !important;
  border-right: none !important;
  box-shadow: -20px 0 60px rgba(44,17,44,.25) !important;
}

html[dir="ltr"] .mm-ocd__content{
  border-right: 1px solid rgba(234,222,236,.22) !important;
  border-left: none !important;
  box-shadow: 20px 0 60px rgba(44,17,44,.25) !important;
}

@media (min-width: 1024px){
  .mm-ocd__content{
    width: 380px !important;
    max-width: 90vw !important;
  }
}

/* Panels */
#mobile-menu ul{
  margin: 0 !important;
  padding: 6px 0 !important;
  width: 100% !important;
  position: relative !important;
}

#mobile-menu ul:not(.mm-spn--open){
  display: none !important;
}

#mobile-menu ul.mm-spn--open{
  display: block !important;
  padding-bottom: 16px !important;
}

#mobile-menu.mm-spn ul,
#mobile-menu.mm-spn ul li ul,
#mobile-menu.mm-spn .mm-spn--panel{
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* Soft frosted layer behind open panel */
#mobile-menu.mm-spn ul::before{
  content: "";
  position: absolute;
  inset: 0;
  width: calc(100% - 2px) !important;
  left: 1px !important;
  right: 1px !important;
  background: rgba(234,222,236,.42) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  border-radius: 18px !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

#mobile-menu.mm-spn ul ul::before{
  background: rgba(234,222,236,.58) !important;
}

#mobile-menu.mm-spn ul > li{
  position: relative !important;
  z-index: 1 !important;
}

/* Cards */
#mobile-menu ul.mm-spn--open > li{
  width: calc(100% - 24px) !important;
  margin: 10px auto !important;
  background: rgba(234,222,236,.70) !important;
  border: 1px solid rgba(44,17,44,.10) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 28px rgba(44,17,44,.10) !important;
  transition:
    transform var(--fz-ease),
    box-shadow var(--fz-ease),
    border-color var(--fz-ease),
    background var(--fz-ease) !important;
}

#mobile-menu ul.mm-spn--open > li:hover,
#mobile-menu ul.mm-spn--open > li:active,
#mobile-menu ul.mm-spn--open > li:focus-within{
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 44px rgba(44,17,44,.18) !important;
  border-color: rgba(44,17,44,.18) !important;
}

/* Main row links */
#mobile-menu ul.mm-spn--open > li > a,
#mobile-menu ul.mm-spn--open > li > span{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: var(--mm-spn-item-height) !important;
  color: var(--fz-primary) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* RTL padding */
html[dir="rtl"] #mobile-menu ul.mm-spn--open > li > a,
html[dir="rtl"] #mobile-menu ul.mm-spn--open > li > span{
  padding: 14px 20px 14px 45px !important;
  text-align: right !important;
}

/* LTR padding */
html[dir="ltr"] #mobile-menu ul.mm-spn--open > li > a,
html[dir="ltr"] #mobile-menu ul.mm-spn--open > li > span{
  padding: 14px 45px 14px 20px !important;
  text-align: left !important;
}

#mobile-menu ul.mm-spn--open > li > a > span{
  flex: 1 1 auto !important;
  color: var(--fz-primary) !important;
  -webkit-text-fill-color: var(--fz-primary) !important;
  opacity: 1 !important;
  font-weight: 900 !important;
}

/* View all row inside submenus */
#mobile-menu ul.mm-spn--open li ul li:first-child > a{
  background: rgba(44,17,44,.10) !important;
  color: var(--fz-primary) !important;
  font-weight: 900 !important;
  border-radius: 12px !important;
  justify-content: center !important;
}

/* Close button */
#mobile-menu .close-mobile-menu{
  position: absolute !important;
  top: 12px !important;
  z-index: 20 !important;

  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(234,222,236,.22) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;

  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(44,17,44,.18) !important;
  transition:
    transform var(--fz-ease),
    background var(--fz-ease),
    color var(--fz-ease),
    box-shadow var(--fz-ease) !important;
}

/* Close button direction */
html[dir="rtl"] #mobile-menu .close-mobile-menu{
  left: 12px !important;
  right: auto !important;
}

html[dir="ltr"] #mobile-menu .close-mobile-menu{
  right: 12px !important;
  left: auto !important;
}

#mobile-menu .close-mobile-menu:hover,
#mobile-menu .close-mobile-menu:active{
  transform: translateY(-1px) !important;
  background: rgba(255,255,255,.22) !important;
  box-shadow: 0 16px 36px rgba(44,17,44,.24) !important;
}

/* Small screens */
@media (max-width: 768px){
  #mobile-menu.mm-spn{
    padding: 8px 8px 12px !important;
  }

  #mobile-menu .close-mobile-menu{
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
  }

  #mobile-menu ul.mm-spn--open > li{
    width: calc(100% - 16px) !important;
    margin: 8px auto !important;
  }
}

/* ============================================================
   7) Enhanced Features — Clean
   ============================================================ */
.s-block--enhanced-features{
  margin: 40px auto !important;
  padding: 0 16px !important;
}

.s-block--enhanced-features__item{
  position:relative !important;
  background: rgba(255,255,255,.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;

  border-radius: 20px !important;
  border: 1px solid rgba(234,222,236,.50) !important;
  box-shadow: 0 8px 24px rgba(44,17,44,.06) !important;

  padding: 28px 20px !important;
  text-align:center !important;

  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease !important;
}
.s-block--enhanced-features__item:hover{
  transform: translateY(-6px) !important;
  background: rgba(255,255,255,.90) !important;
  box-shadow: 0 20px 44px rgba(44,17,44,.12) !important;
  border-color: rgba(44,17,44,.15) !important;
}

/* Hide Salla hover lines */
.s-block--enhanced-features__item > div[class*="absolute"]{ display:none !important; }

/* Icon box */
.s-block--enhanced-features__item .feature-icon{
  width:60px !important;
  height:60px !important;
  border-radius:18px !important;
  background: rgba(234,222,236,.60) !important;
  border: 1px solid rgba(44,17,44,.08) !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  margin: 0 auto 16px !important;
  transition: background .3s ease, transform .3s ease !important;
}
.s-block--enhanced-features__item:hover .feature-icon{
  background: var(--fz-primary) !important;
  transform: scale(1.08) !important;
}
.s-block--enhanced-features__item .feature-icon i{
  font-size:26px !important;
  color: var(--fz-primary) !important;
  transition: color .3s ease !important;
}
.s-block--enhanced-features__item:hover .feature-icon i{
  color: var(--fz-secondary) !important;
}

/* Title + desc */
.s-block--enhanced-features__item h2{
  color: var(--fz-primary) !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  margin-bottom: 6px !important;
}
.s-block--enhanced-features__item p{
  color: rgba(44,17,44,.55) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  margin:0 !important;
}

@media (max-width:768px){
  .s-block--enhanced-features__item{ padding: 20px 14px !important; }
  .s-block--enhanced-features__item .feature-icon{
    width:50px !important; height:50px !important; border-radius:14px !important; margin-bottom:12px !important;
  }
  .s-block--enhanced-features__item .feature-icon i{ font-size:22px !important; }
  .s-block--enhanced-features__item h2{ font-size:14px !important; }
}

/* ============================================================
   8) Footer — Final Design (Clean)
   ============================================================ */
.store-footer__curve{ color: var(--fz-primary) !important; }
.store-footer__inner{ padding: 50px 0 36px !important; }

/* Links header */
.enhanced_links_wrapper h3.links_with_bullits{
  color:#fff !important;
  font-weight:900 !important;
  font-size:16px !important;
  margin-bottom:20px !important;
  padding-bottom:10px !important;
  position:relative !important;
}
.enhanced_links_wrapper h3.links_with_bullits::after{
  content:"";
  position:absolute;
  bottom:0; right:0;
  width:36px; height:2px;
  background: var(--fz-secondary);
  border-radius:2px;
}
.footer-list.enhanced_links li{ margin-bottom:14px !important; }
.footer-list.enhanced_links li a{
  color: rgba(255,255,255,.58) !important;
  font-size:14px !important;
  font-weight:500 !important;
  transition: color .2s ease, padding-right .2s ease !important;
}
.footer-list.enhanced_links li a:hover{
  color: var(--fz-secondary) !important;
  padding-right:6px !important;
}

/* Description */
.footer-description{
  color: rgba(255,255,255,.58) !important;
  font-size:14px !important;
  line-height:2 !important;
  max-width:360px !important;
  margin:14px auto 28px !important;
}

/* Badges */
.footer-badges{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin-bottom:20px !important;
}

.footer-badges salla-trust-badges,
.footer-badges .s-trust-badges-wrapper{
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius:14px !important;
  padding:12px 16px !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;

  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  transition: background .25s ease, border-color .25s ease, transform .25s ease !important;
}
.footer-badges salla-trust-badges:hover{
  background: rgba(234,222,236,.10) !important;
  border-color: rgba(234,222,236,.28) !important;
  transform: translateY(-2px) !important;
}

.s-trust-badges-image{
  width:44px !important;
  height:44px !important;
  border-radius:8px !important;
  object-fit:contain !important;
}
.s-trust-badges-label{
  color: rgba(255,255,255,.45) !important;
  font-size:11px !important;
  display:block !important;
  margin-bottom:3px !important;
}
.s-trust-badges-number{
  color: var(--fz-secondary) !important;
  font-weight:800 !important;
  font-size:15px !important;
  display:block !important;
}

/* VAT badge */
.footer-badges .flex.rtl\:space-x-reverse{
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius:14px !important;
  padding:12px 16px !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  transition: background .25s ease, border-color .25s ease, transform .25s ease !important;
}
.footer-badges .flex.rtl\:space-x-reverse:hover{
  background: rgba(234,222,236,.10) !important;
  border-color: rgba(234,222,236,.28) !important;
  transform: translateY(-2px) !important;
}

.store-footer .text-text-grey{
  color: rgba(255,255,255,.45) !important;
  font-size:11px !important;
  display:block !important;
  margin-bottom:3px !important;
}
.store-footer b.text-sm{
  color: var(--fz-secondary) !important;
  font-weight:800 !important;
  font-size:15px !important;
}

/* Saudi Business Center */
a[aria-label="Saudi Business Center"]{
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius:16px !important;
  padding:16px 20px !important;

  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;

  color: rgba(255,255,255,.65) !important;
  font-size:12px !important;
  font-weight:600 !important;
  text-align:center !important;
  text-decoration:none !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:8px !important;

  transition: background .25s ease, border-color .25s ease, transform .25s ease, color .25s ease !important;

  margin: 8px auto 0 !important;
  max-width:160px !important;
}
a[aria-label="Saudi Business Center"]:hover{
  background: rgba(234,222,236,.12) !important;
  border-color: rgba(234,222,236,.30) !important;
  transform: translateY(-2px) !important;
  color: var(--fz-secondary) !important;
}
a[aria-label="Saudi Business Center"] img{
  width:56px !important;
  height:auto !important;
  opacity:.80 !important;
  filter: brightness(0) invert(1) !important;
  transition: opacity .25s ease !important;
}
a[aria-label="Saudi Business Center"]:hover img{ opacity:1 !important; }

/* Language button */
.store-footer button[aria-label="Change Language"]{
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 999px !important;
  padding: 9px 20px !important;

  color: rgba(255,255,255,.80) !important;
  font-size:14px !important;
  font-weight:600 !important;

  display:flex !important;
  align-items:center !important;
  gap:6px !important;

  transition: background .25s ease, border-color .25s ease, color .25s ease !important;
}
.store-footer button[aria-label="Change Language"]:hover{
  background: rgba(234,222,236,.14) !important;
  border-color: rgba(234,222,236,.32) !important;
  color: var(--fz-secondary) !important;
}

/* Contacts row */
.store-footer__contacts-row{
  border-top: 1px solid rgba(255,255,255,.08) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  padding: 28px 0 !important;
}
.enhanced-contact-item{
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;

  color: rgba(255,255,255,.78) !important;
  font-weight:600 !important;
  font-size:14px !important;
  text-decoration:none !important;

  display:flex !important;
  align-items:center !important;
  gap:8px !important;

  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease !important;
}
.enhanced-contact-item:hover{
  background: rgba(234,222,236,.12) !important;
  border-color: rgba(234,222,236,.30) !important;
  color: var(--fz-secondary) !important;
  transform: translateY(-2px) !important;
}
.enhanced-contact-item i{ color: var(--fz-secondary) !important; font-size:15px !important; }

/* Social */
.s-social-list{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  list-style:none !important;
  padding:0 !important;
  margin:16px 0 0 !important;
}
.s-social-link a{
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 50% !important;
  width:42px !important;
  height:42px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  transition: background .25s ease, border-color .25s ease, transform .25s ease !important;
}
.s-social-link a:hover{
  background: rgba(234,222,236,.15) !important;
  border-color: rgba(234,222,236,.35) !important;
  transform: translateY(-3px) scale(1.08) !important;
}
.s-social-icon svg{ width:18px !important; height:18px !important; }
.s-social-icon svg path{
  fill: rgba(255,255,255,.78) !important;
  transition: fill .25s ease !important;
}
.s-social-link a:hover .s-social-icon svg path{ fill: var(--fz-secondary) !important; }

@media (max-width:768px){
  .store-footer__inner{ padding: 32px 0 24px !important; }
  .footer-description{ font-size:13px !important; }
  .footer-badges{ gap:8px !important; }
  .footer-badges salla-trust-badges,
  .footer-badges .flex.rtl\:space-x-reverse{
    padding:10px 12px !important;
    border-radius:12px !important;
  }
  .enhanced-contact-item{ padding:8px 14px !important; font-size:13px !important; }
  .s-social-link a{ width:38px !important; height:38px !important; }
  .footer-bottom .container{
    flex-direction:column !important;
    gap:12px !important;
    text-align:center !important;
  }
  a[aria-label="Saudi Business Center"]{
    max-width:140px !important;
    padding:12px 16px !important;
  }
}

/* ============================================================
   9) Modals — Unified (Search / Localization / Login)
   ============================================================ */
.s-modal-body{
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(44,17,44,.10) !important;
  box-shadow: 0 25px 50px rgba(44,17,44,.12) !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Close button (all modals except search) */
.s-modal-close{
  position: absolute !important;
  top: 15px !important;
  z-index: 20 !important;

  background: var(--fz-secondary) !important;
  color: var(--fz-primary) !important;
  border-radius: 50% !important;
  width: 35px !important;
  height: 35px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  transition: transform var(--fz-ease), background var(--fz-ease), color var(--fz-ease) !important;
  opacity: 1 !important;
  border: none !important;
  line-height: 1 !important;
}

/* Arabic = left */
html[dir="rtl"] .s-modal-close,
html[lang="ar"] .s-modal-close{
  left: 15px !important;
  right: auto !important;
}

/* English = right */
html[dir="ltr"] .s-modal-close,
html[lang="en"] .s-modal-close{
  right: 15px !important;
  left: auto !important;
}

.s-modal-close:hover{
  background: var(--fz-primary) !important;
  color: #fff !important;
  transform: rotate(90deg);
}

/* Hide close button in search modal only */
.s-modal-body:has(.s-search-container) .s-modal-close{
  display: none !important;
}

/* Search modal improvements */
.s-search-container{
  padding: 30px 20px !important;
}

.s-search-input-wrapper{
  background: #fff !important;
  border: 1px solid var(--fz-secondary) !important;
  border-radius: 50px !important;
  padding: 0 20px !important;

  display: flex !important;
  align-items: center !important;

  box-shadow: 0 10px 30px rgba(44,17,44,.05) !important;
  transition: all .3s ease !important;
}

.s-search-input-wrapper:focus-within{
  border-color: var(--fz-primary) !important;
  box-shadow: 0 15px 35px rgba(44,17,44,.10) !important;
  transform: translateY(-2px);
}

.s-search-input{
  height: 55px !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--fz-primary) !important;
  background: transparent !important;
  padding: 0 10px !important;
}

.s-search-icon{
  color: var(--fz-primary) !important;
  fill: var(--fz-primary) !important;
}

/* Localization */
.s-localization-modal-title{
  color: var(--fz-primary) !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  margin-bottom: 15px !important;
  display: block !important;
}

.s-localization-modal-item{
  background: #fff !important;
  border: 1px solid var(--fz-border-1) !important;
  border-radius: var(--fz-radius-sm) !important;
  margin-bottom: 10px !important;
  padding: 12px !important;
  transition: background var(--fz-ease), border-color var(--fz-ease) !important;
}

.s-localization-modal-item:has(input:checked){
  background: var(--fz-secondary) !important;
  border-color: var(--fz-primary) !important;
}

/* iFrame */
.s-modal-xs iframe{
  border-radius: 0 0 20px 20px !important;
}

/* Modal primary buttons */
.s-modal-body .s-button-element{
  background: var(--fz-primary) !important;
  color: #fff !important;
  border-radius: var(--fz-radius-md) !important;
  font-weight: 900 !important;
  height: 55px !important;
  box-shadow: 0 10px 20px rgba(44,17,44,.20) !important;
}

.s-modal-body .s-button-element:hover{
  background: var(--fz-secondary) !important;
  color: var(--fz-primary) !important;
}

/* ============================================================
   FavRoze | Info Pages Typography (ALL pages)
   Targets: About / Policies / FAQ / Terms ... (text only)
   Improves readability + spacing + fixes LTR inside RTL
============================================================ */

/* 1) Container (page box) */
.content--single-page{
  border-radius: 22px !important;
  border: 1px solid rgba(44, 17, 44, 0.10) !important;
  background: rgba(255,255,255,0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 18px 50px rgba(44, 17, 44, 0.10) !important;

  /* Desktop padding (added) */
  padding: 24px !important;
}

/* Title (page heading) */
.content--single-page > h1{
  color: #2c112c !important;
  font-weight: 900 !important;
  letter-spacing: .2px !important;
  margin-bottom: 18px !important;
}

/* 2) Content typography */
.content--single-page .content-entry{
  color: rgba(44, 17, 44, 0.92) !important;
  font-size: 16px !important;
  line-height: 1.95 !important;

  /* Arabic shaping (kept, but safe) */
  text-rendering: optimizeLegibility !important;
  font-feature-settings: "liga" 1, "calt" 1 !important;

  /* keep your font as-is (don’t override) */
  /* font-family intentionally NOT set */
}

/* Headings inside content */
.content--single-page .content-entry h2,
.content--single-page .content-entry h3,
.content--single-page .content-entry h4{
  color: #2c112c !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  margin: 18px 0 10px !important;
}

.content--single-page .content-entry h2{ font-size: 22px !important; }
.content--single-page .content-entry h3{ font-size: 18px !important; }
.content--single-page .content-entry h4{ font-size: 16px !important; }

/* Paragraph spacing */
.content--single-page .content-entry p{
  margin: 10px 0 !important;
}

/* Lists (ul/ol) */
.content--single-page .content-entry ul,
.content--single-page .content-entry ol{
  margin: 12px 0 12px !important;
  padding-inline-start: 22px !important; /* RTL/LTR friendly */
}

.content--single-page .content-entry li{
  margin: 8px 0 !important;
  line-height: 1.9 !important;
}

/* Emphasis */
.content--single-page .content-entry strong{
  color: #2c112c !important;
  font-weight: 900 !important;
}

/* Links */
.content--single-page .content-entry a{
  color: #2c112c !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* 3) RTL defaults (Arabic pages) */
html[dir="rtl"] .content--single-page .content-entry{
  direction: rtl !important;
  text-align: right !important;

  font-kerning: auto !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;

  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
}

/* 4) Fix English inside RTL (FavRoze / emails / URLs / code) */
/* Force LTR + isolate ONLY where it makes sense */
html[dir="rtl"] .content--single-page .content-entry :is(a, code, pre, .ql-direction-ltr){
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* Keep RTL blocks safe too */
html[dir="rtl"] .content--single-page .content-entry :is(.ql-direction-rtl){
  direction: rtl !important;
  unicode-bidi: isolate !important;
}

/* Extra: mailto/http links if Salla outputs without ql-direction-ltr */
html[dir="rtl"] .content--single-page .content-entry a[href^="mailto:"],
html[dir="rtl"] .content--single-page .content-entry a[href^="http"]{
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* 5) Mobile tuning */
@media (max-width: 768px){
  .content--single-page{
    border-radius: 18px !important;
    padding: 18px !important;
  }

  .content--single-page > h1{
    font-size: 20px !important;
  }

  .content--single-page .content-entry{
    font-size: 15px !important;
    line-height: 1.9 !important;
  }

  .content--single-page .content-entry h2{ font-size: 19px !important; }
  .content--single-page .content-entry h3{ font-size: 17px !important; }
}