/* ==========================================================================
   VS-165-T923 | وسم الطيب للعود | Salla Raed
   Light luxury skin: WHITE + BLACK + GOLD
   --------------------------------------------------------------------------
   Rules honoured:
     - No size / layout overrides. Every section keeps its native geometry.
     - Only colors, borders, shadows, and hover transforms (non-layout).
     - Hero photos slider is left completely untouched.
     - Icons replaced through ::before masks sized in `em` (inherits theme).
   FULL REPLACE inside Salla customization CSS.
   ========================================================================== */

/* ==========================================================================
   01 · Tokens
   ========================================================================== */
body.theme-raed {
  --gold: #c89a45;
  --gold-soft: #d9b978;
  --gold-deep: #a67d32;
  --gold-pale: rgba(200, 154, 69, 0.12);
  --ink: #111111;
  --ink-soft: #5c5c5c;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.2);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --brand-logo: url("https://cdn.files.salla.network/other/1129430324/c6e34cec-c88a-4f27-9dc1-79049d86c6a3-original.webp");

  --color-primary: #c89a45;
  --color-primary-dark: #a67d32;
  --color-primary-reverse: #111111;

  --pointer-x: 50%;
  --pointer-y: 50%;

  color: var(--ink);
  background-color: #ffffff;
}

/* ==========================================================================
   02 · Atmosphere — moving gold dust behind the page
   Body paints white, main content is transparent, canvas sits in between.
   ========================================================================== */
#vs-air {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#vs-air canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Two slow parallax gold orbs (moved by GSAP on scroll) */
.vs-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(38px);
}

.vs-orb--a {
  top: 14vh;
  right: -6vw;
  width: 34vw;
  height: 34vw;
  background: radial-gradient(circle, rgba(200, 154, 69, 0.2), transparent 68%);
}

.vs-orb--b {
  top: 62vh;
  left: -8vw;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(217, 185, 120, 0.16), transparent 70%);
}

/* Content floats above the atmosphere without hiding it */
body.theme-raed > .app-inner,
body.theme-raed main#main-content {
  position: relative;
  z-index: 1;
  background: transparent;
}

body.theme-raed header.store-header,
body.theme-raed .store-footer {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   03 · Global typography & surfaces
   ========================================================================== */
body.theme-raed main#main-content h1,
body.theme-raed main#main-content h2,
body.theme-raed main#main-content h3,
body.theme-raed main#main-content h4 {
  color: var(--ink);
}

body.theme-raed .bg-gray-50,
body.theme-raed .bg-gray-100,
body.theme-raed .s-block--full-bg.bg-gray-100,
body.theme-raed .s-block-tabs.bg-gray-100,
body.theme-raed .as-grid.bg-gray-100 {
  background-color: #faf8f4;
}

body.theme-raed a {
  transition: color 200ms ease;
}

body.theme-raed a:hover {
  color: var(--gold-deep);
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-deep));
  border-radius: 9px;
}

/* ==========================================================================
   04 · Header
   ========================================================================== */
body.theme-raed header.store-header {
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  z-index: 10050;
}

body.theme-raed header .top-navbar,
body.theme-raed header .header-top {
  background: #fafafa;
  border-bottom: 1px solid var(--line);
}

body.theme-raed #mainnav.main-nav-container,
body.theme-raed #mainnav.main-nav-container > .inner,
body.theme-raed #mainnav.fixed-header,
body.theme-raed #mainnav.fixed-pinned,
body.theme-raed #mainnav.fixed-header > .inner,
body.theme-raed #mainnav.fixed-pinned > .inner {
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

body.theme-raed #mainnav.fixed-header,
body.theme-raed #mainnav.fixed-pinned {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  z-index: 10050;
}

/* Logo — the markup ships `width="100%" height="100%"` on the <img>, so it
   stretches to the full 96px nav and touches the top bar. Cap it and give
   the anchor its own breathing room instead. */
body.theme-raed .store-header .navbar-brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  padding-block: 0.9rem;
  padding-inline-end: 0.5rem;
}

body.theme-raed .store-header .navbar-brand img {
  width: auto !important;
  height: auto !important;
  max-height: 62px;
  max-width: 168px;
  object-fit: contain;
  transition: opacity 240ms ease;
}

body.theme-raed .store-header .navbar-brand:hover img {
  opacity: 0.82;
}

@media (max-width: 1023px) {
  body.theme-raed .store-header .navbar-brand {
    padding-block: 0.6rem;
  }

  body.theme-raed .store-header .navbar-brand img {
    max-height: 46px;
    max-width: 132px;
  }
}

body.theme-raed .store-header .s-user-menu-login-btn,
body.theme-raed .store-header .mburger,
body.theme-raed .store-header .header-btn,
body.theme-raed .store-header .s-cart-summary-total {
  color: var(--ink);
}

body.theme-raed .store-header .header-btn__icon,
body.theme-raed .store-header .mburger > i,
body.theme-raed .store-header .s-user-menu-login-btn svg,
body.theme-raed .store-header .s-cart-summary-wrapper svg {
  color: var(--ink);
  fill: currentColor;
}

body.theme-raed .store-header .s-cart-summary-count {
  background: var(--gold);
  color: #111;
}

/* Header icon hover — gold glow, no size change */
body.theme-raed .store-header .header-btn,
body.theme-raed .store-header .s-user-menu-login-btn,
body.theme-raed .store-header .mburger {
  transition: color 220ms ease, filter 220ms ease;
}

body.theme-raed .store-header .header-btn:hover,
body.theme-raed .store-header .s-user-menu-login-btn:hover,
body.theme-raed .store-header .mburger:hover {
  color: var(--gold-deep);
  filter: drop-shadow(0 0 6px rgba(200, 154, 69, 0.45));
}

body.theme-raed .header-search .s-search-input {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

body.theme-raed .header-search .s-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 69, 0.18);
  outline: none;
}

body.theme-raed .header-search .s-search-icon,
body.theme-raed .header-search .s-search-icon svg {
  color: var(--gold-deep);
  fill: currentColor;
}

/* Nav links — animated gold underline */
body.theme-raed .main-menu > li.root-level > a,
body.theme-raed #mainnav .main-menu > li > a,
body.theme-raed .s-menu-topnav-item {
  position: relative;
  color: var(--ink);
  font-weight: 600;
}

body.theme-raed .main-menu > li.root-level > a:hover,
body.theme-raed #mainnav .main-menu > li > a:hover,
body.theme-raed .s-menu-topnav-item:hover {
  color: var(--gold-deep);
}

body.theme-raed .main-menu > li.root-level > a::after,
body.theme-raed #mainnav .main-menu > li > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  transition: width 320ms var(--ease);
}

body.theme-raed .main-menu > li.root-level > a:hover::after,
body.theme-raed #mainnav .main-menu > li > a:hover::after {
  width: 72%;
}

body.theme-raed #mobile-menu,
body.theme-raed .mm-ocd__content {
  background: #ffffff;
  color: var(--ink);
}

body.theme-raed #mobile-menu a {
  color: var(--ink);
}

/* ==========================================================================
   05 · Hero photos slider — untouched geometry, native controls
   ========================================================================== */
body.theme-raed .s-block--photos-slider .s-slider-nav-arrow {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

body.theme-raed .s-block--photos-slider .s-slider-nav-arrow:not(:disabled):hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

body.theme-raed .s-block--photos-slider .swiper-pagination-bullet-active,
body.theme-raed .swiper-pagination-bullet-active {
  background: var(--gold);
}

/* ==========================================================================
   06 · Section headings — centered with a gold flourish
   Only blocks that actually own a title are centered; sliders rendered
   with `s-slider-has-notitle` (hero, recently-viewed) keep their layout.
   ========================================================================== */
/* A 3-column grid centres the heading while the arrows stay in normal
   flow — absolute positioning would let the round buttons overflow the
   section's `overflow-hidden` box and get clipped at the top. */
body.theme-raed .s-slider-block__title:has(.s-slider-block__title-right),
body.theme-raed .s-block__title:has(.right-side h2) {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
}

body.theme-raed .s-slider-block__title:has(.s-slider-block__title-right)
  .s-slider-block__title-right,
body.theme-raed .s-block__title:has(.right-side h2) .right-side {
  grid-column: 2;
  text-align: center;
}

/* Arrows / "view all" sit in the trailing column, lifted by the flourish
   height so they line up with the heading's text row. */
body.theme-raed .s-slider-block__title:has(.s-slider-block__title-right)
  .s-slider-block__title-left,
body.theme-raed .s-block__title:has(.right-side h2) .left-side {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  margin-bottom: 1.6rem;
}

@media (max-width: 639px) {
  body.theme-raed .s-slider-block__title:has(.s-slider-block__title-right)
    .s-slider-block__title-left,
  body.theme-raed .s-block__title:has(.right-side h2) .left-side {
    margin-bottom: 1.35rem;
  }
}

body.theme-raed .s-slider-block__title-right h2,
body.theme-raed .s-block__title .right-side h2 {
  position: relative;
  display: block;
  padding-bottom: 1.6rem;
  text-align: center;
  color: var(--ink);
}

/* The flourish: tapered gold rules, twin dots, a rhombus with a solid core */
body.theme-raed .s-slider-block__title-right h2::after,
body.theme-raed .s-block__title .right-side h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  width: 172px;
  height: 16px;
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
  transform-origin: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='172' height='16' viewBox='0 0 172 16' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='4' y1='8' x2='62' y2='8' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23c89a45' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23c89a45' stop-opacity='.95'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='168' y1='8' x2='110' y2='8' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23c89a45' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23c89a45' stop-opacity='.95'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4 8h58' stroke='url(%23a)' stroke-width='1.2'/%3E%3Cpath d='M110 8h58' stroke='url(%23b)' stroke-width='1.2'/%3E%3Ccircle cx='68' cy='8' r='1.9' fill='%23c89a45'/%3E%3Ccircle cx='104' cy='8' r='1.9' fill='%23c89a45'/%3E%3Cpath d='M86 1.4 92.6 8 86 14.6 79.4 8Z' stroke='%23a67d32' stroke-width='1.25'/%3E%3Cpath d='M86 4.9 89.1 8 86 11.1 82.9 8Z' fill='%23c89a45'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 950ms var(--ease) 140ms, opacity 700ms ease 140ms;
}

/* Hidden only while JS is actively handling the reveal for this heading */
body.theme-raed .s-slider-block__title-right h2[data-vs-reveal]:not(.vs-drawn)::after,
body.theme-raed .s-block__title .right-side h2[data-vs-reveal]:not(.vs-drawn)::after {
  opacity: 0;
  transform: translateX(-50%) scaleX(0.28);
}

@media (max-width: 639px) {
  body.theme-raed .s-slider-block__title-right h2::after,
  body.theme-raed .s-block__title .right-side h2::after {
    width: 132px;
  }
}

/* Product-slider arrows */
body.theme-raed .s-products-slider-slider .s-slider-nav-arrow,
body.theme-raed .s-block--best-offers .s-slider-nav-arrow {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease,
    box-shadow 220ms ease;
}

body.theme-raed .s-products-slider-slider .s-slider-nav-arrow svg,
body.theme-raed .s-block--best-offers .s-slider-nav-arrow svg {
  fill: currentColor;
}

body.theme-raed .s-products-slider-slider .s-slider-nav-arrow:not(:disabled):hover,
body.theme-raed .s-block--best-offers .s-slider-nav-arrow:not(:disabled):hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  box-shadow: 0 6px 16px rgba(200, 154, 69, 0.34);
}

/* ==========================================================================
   07 · Product cards — skin + premium hover (transform only)
   ========================================================================== */
body.theme-raed custom-salla-product-card.s-product-card-entry,
body.theme-raed .s-product-card-entry {
  position: relative;
  isolation: isolate;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: border-color 260ms ease, box-shadow 320ms ease,
    transform 380ms var(--ease);
}

body.theme-raed .s-product-card-entry .s-product-card-content {
  background: #ffffff;
  color: var(--ink);
  visibility: visible;
  opacity: 1;
}

body.theme-raed .s-product-card-content-title,
body.theme-raed .s-product-card-content-title a {
  color: var(--ink);
  opacity: 1;
  visibility: visible;
  transition: color 220ms ease;
}

body.theme-raed .s-product-card-content-title a:hover {
  color: var(--gold-deep);
}

body.theme-raed .s-product-card-price {
  color: var(--gold-deep);
  font-weight: 700;
}

body.theme-raed .s-product-card-old-price {
  color: var(--ink-soft);
  text-decoration: line-through;
  opacity: 0.7;
}

/* Image frame — one fixed square per card so every row lines up.
   Horizontal card variants keep their native ratio. */
body.theme-raed .s-product-card-entry .s-product-card-image {
  position: relative;
  overflow: hidden;
}

/* Raed ships its card metrics from the CDN bundle, so the ratio lock needs
   `!important` to win. Scope stays tight: vertical cards only. */
body.theme-raed .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-image {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
}

body.theme-raed .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-image > a,
body.theme-raed .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

body.theme-raed .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-image img,
body.theme-raed .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-image-cover {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

body.theme-raed .s-product-card-entry .s-product-card-image-cover {
  transition: transform 700ms var(--ease), filter 500ms ease;
  will-change: transform;
}

/* Pointer-tracked gold light sheet */
body.theme-raed .s-product-card-entry .s-product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease;
  background: radial-gradient(
      220px circle at var(--pointer-x) var(--pointer-y),
      rgba(255, 255, 255, 0.3),
      transparent 62%
    ),
    linear-gradient(160deg, rgba(200, 154, 69, 0.16), transparent 55%);
}

/* Gold frame that draws in on hover */
body.theme-raed custom-salla-product-card.s-product-card-entry::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(200, 154, 69, 0.55),
    inset 0 0 22px rgba(200, 154, 69, 0.12);
  transition: opacity 320ms ease;
}

/* The lift/tilt is driven by GSAP so the two never fight over `transform` */
@media (hover: hover) and (pointer: fine) {
  body.theme-raed custom-salla-product-card.s-product-card-entry:hover,
  body.theme-raed .s-product-card-entry:hover {
    border-color: rgba(200, 154, 69, 0.5);
    box-shadow: 0 18px 38px rgba(17, 17, 17, 0.12),
      0 0 0 1px rgba(200, 154, 69, 0.16);
  }

  body.theme-raed .s-product-card-entry:not([data-vs-tilt]):hover {
    transform: translateY(-6px);
  }

  body.theme-raed .s-product-card-entry:hover .s-product-card-image-cover {
    transform: scale(1.07);
    filter: saturate(1.06);
  }

  body.theme-raed .s-product-card-entry:hover .s-product-card-image::after,
  body.theme-raed custom-salla-product-card.s-product-card-entry:hover::after {
    opacity: 1;
  }
}

/* Add-to-cart — gold fill with metallic sweep */
body.theme-raed .s-product-card-entry salla-add-product-button .s-button-element {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: var(--gold);
  color: #111;
  font-weight: 700;
  opacity: 1;
  transition: box-shadow 280ms ease, filter 280ms ease;
}

body.theme-raed .s-product-card-entry salla-add-product-button .s-button-element::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -60%;
  width: 40%;
  height: 160%;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: translateX(-140%) skewX(-18deg);
}

body.theme-raed .s-product-card-entry salla-add-product-button .s-button-element.vs-sweep::after {
  transform: translateX(320%) skewX(-18deg);
  transition: transform 760ms var(--ease);
}

body.theme-raed .s-product-card-entry salla-add-product-button .s-button-element:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 24px rgba(200, 154, 69, 0.38);
}

body.theme-raed .s-product-card-entry salla-add-product-button .s-button-text,
body.theme-raed .s-product-card-entry salla-add-product-button i,
body.theme-raed .s-product-card-entry salla-add-product-button svg {
  position: relative;
  z-index: 1;
  color: #111;
  fill: #111;
}

/* Wishlist */
body.theme-raed salla-button.s-product-card-wishlist-btn button.s-product-card-wishlist-btn,
body.theme-raed button.s-product-card-wishlist-btn {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  color: #111;
  opacity: 1;
  visibility: visible;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease,
    box-shadow 240ms ease;
}

body.theme-raed button.s-product-card-wishlist-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  box-shadow: 0 6px 16px rgba(200, 154, 69, 0.4);
}

body.theme-raed .s-product-card-wishlist-btn i,
body.theme-raed .s-product-card-wishlist-btn svg {
  color: #111;
  fill: #111;
  opacity: 1;
  visibility: visible;
}

body.theme-raed .s-product-card-wishlist-btn.s-button-loading i {
  opacity: 0;
}

/* Badges */
body.theme-raed .s-product-card-promotion-title,
body.theme-raed .s-product-card-discount-badge {
  background: var(--ink);
  color: var(--gold-soft);
}

/* ==========================================================================
   08 · Banners (fixed / grid / square) — geometry preserved
   ========================================================================== */
body.theme-raed .s-block--fixed-banner .banner--fixed,
body.theme-raed .s-block--banners .banner-entry,
body.theme-raed .s-block--square-banners a {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 260ms ease, box-shadow 320ms ease;
}

body.theme-raed .s-block--fixed-banner .banner--fixed img,
body.theme-raed .s-block--banners .banner-entry img,
body.theme-raed .s-block--square-banners a img {
  transition: transform 900ms var(--ease);
  will-change: transform;
}

body.theme-raed .s-block--fixed-banner .banner--fixed::after,
body.theme-raed .s-block--banners .banner-entry::after,
body.theme-raed .s-block--square-banners a::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 380ms ease;
  background: radial-gradient(
      420px circle at var(--pointer-x) var(--pointer-y),
      rgba(255, 255, 255, 0.22),
      transparent 60%
    ),
    linear-gradient(120deg, rgba(200, 154, 69, 0.18), transparent 60%);
}

@media (hover: hover) and (pointer: fine) {
  body.theme-raed .s-block--fixed-banner .banner--fixed:hover,
  body.theme-raed .s-block--banners .banner-entry:hover,
  body.theme-raed .s-block--square-banners a:hover {
    border-color: rgba(200, 154, 69, 0.5);
    box-shadow: 0 20px 44px rgba(17, 17, 17, 0.14);
  }

  body.theme-raed .s-block--fixed-banner .banner--fixed:hover img,
  body.theme-raed .s-block--banners .banner-entry:hover img,
  body.theme-raed .s-block--square-banners a:hover img {
    transform: scale(1.045);
  }

  body.theme-raed .s-block--fixed-banner .banner--fixed:hover::after,
  body.theme-raed .s-block--banners .banner-entry:hover::after,
  body.theme-raed .s-block--square-banners a:hover::after {
    opacity: 1;
  }
}

/* ==========================================================================
   09 · Tabs / featured products block
   ========================================================================== */
body.theme-raed .s-block-tabs .s-block-tabs-nav button,
body.theme-raed .s-block--tabs-produtcs .tab-link {
  color: var(--ink-soft);
  transition: color 220ms ease, border-color 220ms ease;
}

body.theme-raed .s-block-tabs .s-block-tabs-nav button:hover,
body.theme-raed .s-block--tabs-produtcs .tab-link:hover {
  color: var(--gold-deep);
}

body.theme-raed .s-block-tabs .s-block-tabs-nav button.active,
body.theme-raed .s-block--tabs-produtcs .tab-link.active {
  color: var(--ink);
  border-color: var(--gold);
}

/* ==========================================================================
   10 · Features
   ========================================================================== */
body.theme-raed .s-block--features__item {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 260ms ease, box-shadow 320ms ease,
    transform 360ms var(--ease);
}

body.theme-raed .s-block--features__item .feature-icon {
  background: var(--gold-pale);
  border: 1px solid rgba(200, 154, 69, 0.34);
  color: var(--gold-deep);
  transition: background 300ms ease, border-color 300ms ease,
    transform 420ms var(--ease);
}

body.theme-raed .s-block--features__item .feature-icon i,
body.theme-raed .s-block--features__item .feature-icon i::before {
  color: var(--gold-deep);
  opacity: 1;
}

body.theme-raed .s-block--features__item h2 {
  color: var(--ink);
}

body.theme-raed .s-block--features__item p {
  color: var(--ink-soft);
}

@media (hover: hover) and (pointer: fine) {
  body.theme-raed .s-block--features__item:hover {
    border-color: rgba(200, 154, 69, 0.5);
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.1);
    transform: translateY(-4px);
  }

  body.theme-raed .s-block--features__item:hover .feature-icon {
    background: var(--gold);
    border-color: var(--gold);
    transform: rotate(-6deg);
  }

  body.theme-raed .s-block--features__item:hover .feature-icon i::before {
    background-color: #111;
  }
}

/* ==========================================================================
   11 · Footer — logo replaces the store name (overlay, size untouched)
   ========================================================================== */
body.theme-raed .store-footer {
  background: #111111;
  color: #cfcfcf;
  border-top: 1px solid rgba(200, 154, 69, 0.28);
}

body.theme-raed .store-footer__inner {
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-raed .store-footer__inner .container > div:first-child > a.flex.items-center {
  position: relative;
}

body.theme-raed .store-footer__inner .container > div:first-child > a.flex.items-center::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--brand-logo);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}

body.theme-raed .store-footer__inner .container > div:first-child > a.flex.items-center > h3 {
  visibility: hidden;
}

body.theme-raed .store-footer h3 {
  color: #ffffff;
}

body.theme-raed .store-footer .s-menu-footer-item,
body.theme-raed .store-footer .s-contacts-item,
body.theme-raed .store-footer .copyright-text,
body.theme-raed .store-footer .copyright-text p {
  color: #cfcfcf;
}

body.theme-raed .store-footer a:hover,
body.theme-raed .store-footer .s-menu-footer-item:hover {
  color: var(--gold-soft);
}

body.theme-raed .store-footer .s-contacts-icon,
body.theme-raed .store-footer .s-social-link a {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  transition: color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.theme-raed .store-footer .s-social-link a:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 69, 0.18);
  opacity: 1;
}

body.theme-raed .store-footer .copyright-text a {
  color: var(--gold);
}

/* ==========================================================================
   12 · Search modal
   ========================================================================== */
body.theme-raed .s-modal:has(.s-search-container) .s-modal-overlay,
body.theme-raed salla-modal.s-search-modal .s-modal-overlay {
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(6px);
}

body.theme-raed .s-search-container,
body.theme-raed .s-search-container-open,
body.theme-raed .s-modal:has(.s-search-container) .s-modal-body {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.18);
}

body.theme-raed .s-search-container .s-search-input,
body.theme-raed salla-search .s-search-input {
  background: #f7f7f7;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

body.theme-raed .s-search-container .s-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 69, 0.16);
  outline: none;
}

body.theme-raed .s-search-container .s-search-icon,
body.theme-raed .s-search-container .s-search-icon svg {
  color: var(--gold-deep);
  fill: currentColor;
}

body.theme-raed .s-search-product,
body.theme-raed a.s-search-product {
  background: #fafafa;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 220ms ease, box-shadow 260ms ease;
}

body.theme-raed .s-search-product:hover {
  border-color: rgba(200, 154, 69, 0.55);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  color: var(--ink);
  opacity: 1;
}

body.theme-raed .s-search-product-title {
  color: var(--ink);
}

body.theme-raed .s-search-product-price {
  color: var(--gold-deep);
  font-weight: 700;
}

/* ==========================================================================
   13 · Category / listing controls
   ========================================================================== */
body.theme-raed select.form-control,
body.theme-raed select.form-select,
body.theme-raed .s-filters select,
body.theme-raed salla-filters select,
body.theme-raed salla-products-list select {
  background-color: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

body.theme-raed select.form-control:focus,
body.theme-raed .s-filters select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 69, 0.16);
  outline: none;
}

body.theme-raed .s-filters,
body.theme-raed salla-filters,
body.theme-raed .filters-widget {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

body.theme-raed .breadcrumb,
body.theme-raed .s-breadcrumb-item,
body.theme-raed .s-breadcrumb-item a {
  color: var(--ink-soft);
}

body.theme-raed .s-breadcrumb-item a:hover {
  color: var(--gold-deep);
}

/* ==========================================================================
   14 · Product single page
   ========================================================================== */
body.theme-raed.product-single h1[data-testid="store-product-title"],
body.theme-raed.product-single .container--product-details h1 {
  color: var(--ink);
}

body.theme-raed.product-single .container--product-details .main-content .text-gray-800,
body.theme-raed.product-single .container--product-details .main-content .text-gray-700,
body.theme-raed.product-single .container--product-details .main-content .text-gray-600,
body.theme-raed.product-single .container--product-details .main-content .text-gray-500 {
  color: var(--ink);
}

body.theme-raed.product-single [data-testid="store-product-price"],
body.theme-raed.product-single [data-testid="store-product-price"] p,
body.theme-raed.product-single [data-testid="store-product-price"] .font-bold {
  color: var(--gold-deep);
}

body.theme-raed.product-single .product__description,
body.theme-raed.product-single [data-testid="store-product-description"],
body.theme-raed.product-single [data-testid="store-product-description"] p {
  color: var(--ink-soft);
}

body.theme-raed.product-single salla-slider.details-slider,
body.theme-raed.product-single .details-slider.image-slider {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

body.theme-raed.product-single .details-slider .s-slider-nav-arrow,
body.theme-raed.product-single .details-slider .swiper-button-prev,
body.theme-raed.product-single .details-slider .swiper-button-next {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  color: #111;
}

/* Share / wishlist: `salla-button` and its inner `button` share the same
   class, so the skin must land on the real <button> only — otherwise the
   custom-element wrapper draws a second, square border around it. */
body.theme-raed.product-single salla-button.btn--wishlist,
body.theme-raed.product-single salla-button.s-social-share-btn,
body.theme-raed.product-single salla-social-share,
body.theme-raed.product-single salla-social-share .s-social-share-wrapper,
body.theme-raed.product-single salla-social-share slot-fb {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

body.theme-raed.product-single button.btn--wishlist,
body.theme-raed.product-single button.s-social-share-btn {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  color: #111;
  opacity: 1;
  transition: background 220ms ease, border-color 220ms ease,
    box-shadow 220ms ease;
}

body.theme-raed.product-single button.btn--wishlist:hover,
body.theme-raed.product-single button.s-social-share-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  box-shadow: 0 6px 16px rgba(200, 154, 69, 0.34);
}

body.theme-raed.product-single .s-social-share-list a {
  color: var(--ink-soft);
  transition: color 200ms ease;
}

body.theme-raed.product-single .s-social-share-list a:hover {
  color: var(--gold-deep);
}

body.theme-raed.product-single .s-product-options-option-label,
body.theme-raed.product-single .s-product-options-option-label b,
body.theme-raed.product-single .form-label {
  color: var(--ink);
}

body.theme-raed.product-single .product-form .s-form-control,
body.theme-raed.product-single salla-product-options select {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

body.theme-raed.product-single .product-form .s-form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 69, 0.16);
  outline: none;
}

/* The buy box is a stack of flush `section.bg-white` panels (the theme
   ships them with `rounded-b-none`). Border them as ONE card: outline on
   the outside, a single hairline between panels, and never `overflow`
   anywhere — that would kill the sticky add-to-cart bar. */
body.theme-raed.product-single form.product-form > section.bg-white {
  background: #ffffff;
  color: var(--ink);
  border-inline: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

body.theme-raed.product-single form.product-form > section.bg-white:first-of-type {
  border-top: 1px solid var(--line);
  border-start-start-radius: 16px;
  border-start-end-radius: 16px;
}

body.theme-raed.product-single form.product-form > section.bg-white:last-of-type {
  border-bottom: 1px solid var(--line);
  border-end-start-radius: 16px;
  border-end-end-radius: 16px;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.07);
}

/* Breathing room + divider so price and quantity stop touching */
body.theme-raed.product-single form.product-form > section.bg-white + section.bg-white {
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  body.theme-raed.product-single
    form.product-form
    > section.bg-white:not(:last-of-type) {
    padding-bottom: 1.25rem;
  }
}

body.theme-raed.product-single .sticky-product-bar .total-price,
body.theme-raed.product-single .price-wrapper .total-price,
body.theme-raed.product-single form.product-form .price-wrapper {
  color: var(--gold-deep);
}

body.theme-raed.product-single salla-quantity-input,
body.theme-raed.product-single .s-quantity-input {
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

body.theme-raed.product-single .s-quantity-input-input,
body.theme-raed.product-single .s-quantity-input button {
  color: var(--ink);
  background: transparent;
}

body.theme-raed.product-single salla-add-product-button .s-button-element,
body.theme-raed.product-single [data-testid="store-product-add-to-cart"] .s-button-element {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: var(--gold);
  color: #111;
  font-weight: 700;
  transition: filter 260ms ease, box-shadow 260ms ease;
}

body.theme-raed.product-single salla-add-product-button .s-button-element:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(200, 154, 69, 0.4);
  opacity: 1;
}

body.theme-raed.product-single salla-mini-checkout-widget .s-button-element {
  background: #ffffff;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-weight: 700;
}

/* "منتجات قد تعجبك" — related products must always render */
body.theme-raed.product-single salla-products-slider[data-testid="store-product-related"] {
  display: block;
  visibility: visible;
  opacity: 1;
}

body.theme-raed.product-single
  salla-products-slider[data-testid="store-product-related"]
  .s-slider-block__title-right
  h2 {
  color: var(--ink);
}

body.theme-raed.product-single salla-installment > div,
body.theme-raed.product-single #tabbyPromoWrapper,
body.theme-raed.product-single #tabbyPromo {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

/* ==========================================================================
   15 · Icon system — thin stroke masks, sized in `em` so the theme
   keeps full control of dimensions. Only the glyph artwork changes.
   ========================================================================== */
body.theme-raed i.sicon-heart::before,
body.theme-raed i.sicon-shopping-bag::before,
body.theme-raed i.sicon-menu::before,
body.theme-raed i.sicon-store2::before,
body.theme-raed i.sicon-headset::before,
body.theme-raed i.sicon-shipping::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: background-color 240ms ease;
}

body.theme-raed i.sicon-heart::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.3s-6.1-3.7-8.2-7.4C2.2 9.9 3.9 6.2 7.2 6.2c1.8 0 3.1 1 4.8 2.7 1.7-1.7 3-2.7 4.8-2.7 3.3 0 5 3.7 3.4 6.7-2.1 3.7-8.2 7.4-8.2 7.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.3s-6.1-3.7-8.2-7.4C2.2 9.9 3.9 6.2 7.2 6.2c1.8 0 3.1 1 4.8 2.7 1.7-1.7 3-2.7 4.8-2.7 3.3 0 5 3.7 3.4 6.7-2.1 3.7-8.2 7.4-8.2 7.4z'/%3E%3C/svg%3E");
}

body.theme-raed .s-product-card-wishlist-btn.added i.sicon-heart::before,
body.theme-raed .s-product-card-wishlist-btn.is-favorited i.sicon-heart::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 20.3s-6.1-3.7-8.2-7.4C2.2 9.9 3.9 6.2 7.2 6.2c1.8 0 3.1 1 4.8 2.7 1.7-1.7 3-2.7 4.8-2.7 3.3 0 5 3.7 3.4 6.7-2.1 3.7-8.2 7.4-8.2 7.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 20.3s-6.1-3.7-8.2-7.4C2.2 9.9 3.9 6.2 7.2 6.2c1.8 0 3.1 1 4.8 2.7 1.7-1.7 3-2.7 4.8-2.7 3.3 0 5 3.7 3.4 6.7-2.1 3.7-8.2 7.4-8.2 7.4z'/%3E%3C/svg%3E");
}

body.theme-raed i.sicon-shopping-bag::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 7.5h12.8l-1.1 12.1H6.7L5.6 7.5z'/%3E%3Cpath d='M9.2 7.5V5.9a2.8 2.8 0 0 1 5.6 0v1.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 7.5h12.8l-1.1 12.1H6.7L5.6 7.5z'/%3E%3Cpath d='M9.2 7.5V5.9a2.8 2.8 0 0 1 5.6 0v1.6'/%3E%3C/svg%3E");
}

body.theme-raed i.sicon-menu::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h11'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h11'/%3E%3C/svg%3E");
}

body.theme-raed i.sicon-store2::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.2 10.2V20h15.6v-9.8'/%3E%3Cpath d='M2.4 10.2 4.4 5.4h15.2l2 4.8a3 3 0 0 1-5.3 1.6 3 3 0 0 1-5.3 0 3 3 0 0 1-5.3 0 3 3 0 0 1-3.3-1.6z'/%3E%3Cpath d='M9.6 20v-5.6h4.8V20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.2 10.2V20h15.6v-9.8'/%3E%3Cpath d='M2.4 10.2 4.4 5.4h15.2l2 4.8a3 3 0 0 1-5.3 1.6 3 3 0 0 1-5.3 0 3 3 0 0 1-5.3 0 3 3 0 0 1-3.3-1.6z'/%3E%3Cpath d='M9.6 20v-5.6h4.8V20'/%3E%3C/svg%3E");
}

body.theme-raed i.sicon-headset::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.4 14.4v-2.2a7.6 7.6 0 0 1 15.2 0v2.2'/%3E%3Crect x='2.6' y='13.4' width='4' height='6.2' rx='2'/%3E%3Crect x='17.4' y='13.4' width='4' height='6.2' rx='2'/%3E%3Cpath d='M19.6 19.6a3.4 3.4 0 0 1-3.4 2.4h-1.8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.4 14.4v-2.2a7.6 7.6 0 0 1 15.2 0v2.2'/%3E%3Crect x='2.6' y='13.4' width='4' height='6.2' rx='2'/%3E%3Crect x='17.4' y='13.4' width='4' height='6.2' rx='2'/%3E%3Cpath d='M19.6 19.6a3.4 3.4 0 0 1-3.4 2.4h-1.8'/%3E%3C/svg%3E");
}

body.theme-raed i.sicon-shipping::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.6 6.6h10.8v9.8H2.6z'/%3E%3Cpath d='M13.4 9.8h3.8l3.2 3.2v3.4h-7z'/%3E%3Ccircle cx='7.2' cy='18.4' r='1.8'/%3E%3Ccircle cx='17.2' cy='18.4' r='1.8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.6 6.6h10.8v9.8H2.6z'/%3E%3Cpath d='M13.4 9.8h3.8l3.2 3.2v3.4h-7z'/%3E%3Ccircle cx='7.2' cy='18.4' r='1.8'/%3E%3Ccircle cx='17.2' cy='18.4' r='1.8'/%3E%3C/svg%3E");
}

/* Masks are opaque shapes; some browsers need the font to stay hidden */
@supports not ((-webkit-mask-image: none) or (mask-image: none)) {
  body.theme-raed i.sicon-heart::before,
  body.theme-raed i.sicon-shopping-bag::before,
  body.theme-raed i.sicon-menu::before,
  body.theme-raed i.sicon-store2::before,
  body.theme-raed i.sicon-headset::before,
  body.theme-raed i.sicon-shipping::before {
    content: unset;
    background-color: transparent;
  }
}

/* Slider arrow buttons must never be clipped by their section */
body.theme-raed .s-slider-block__title-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

body.theme-raed .s-slider-nav-arrow {
  flex-shrink: 0;
}

/* ==========================================================================
   16 · Empty-state collapse — Salla apps and recommendation widgets that
   resolve to nothing leave tall skeleton bands behind. `[hidden]` is set
   by JS only after they have had time to load.
   ========================================================================== */
body.theme-raed .s-blocks-wrapper:empty,
body.theme-raed .s-block--bundle-personalized-shoppers-who-bought:empty {
  display: none;
}

body.theme-raed [data-vs-collapsed] {
  display: none !important;
}

body.theme-raed .s-products-list-placeholder {
  padding-top: 0;
  padding-bottom: 0;
}

/* ==========================================================================
   17 · Scroll reveals (attribute is added by JS, so a JS failure
   can never leave a section hidden)
   ========================================================================== */
body.theme-raed [data-vs-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

body.theme-raed [data-vs-reveal].vs-in {
  opacity: 1;
  transform: none;
}

body.theme-raed [data-vs-parallax] {
  will-change: transform;
}

/* ==========================================================================
   18 · Mobile — compact cards + a tidy hero banner
   ========================================================================== */
@media (max-width: 767px) {
  /* --- Product cards: tighter type and controls, same ratio ------------- */
  body.theme-raed .s-product-card-entry {
    border-radius: 10px;
  }

  body.theme-raed .s-product-card-entry .s-product-card-content {
    padding: 0.5rem 0.625rem 0.7rem !important;
  }

  body.theme-raed .s-product-card-content-title,
  body.theme-raed .s-product-card-content-title a {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
  }

  body.theme-raed .s-product-card-price {
    font-size: 0.875rem !important;
  }

  body.theme-raed .s-product-card-old-price {
    font-size: 0.75rem !important;
  }

  body.theme-raed .s-product-card-content-footer {
    margin-top: 0.4rem !important;
  }

  body.theme-raed .s-product-card-entry salla-add-product-button .s-button-element {
    min-height: 34px !important;
    height: auto !important;
    padding: 0.35rem 0.5rem !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }

  body.theme-raed .s-product-card-entry salla-add-product-button i.sicon-shopping-bag {
    font-size: 0.8rem !important;
  }

  body.theme-raed button.s-product-card-wishlist-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body.theme-raed button.s-product-card-wishlist-btn i.sicon-heart {
    font-size: 0.85rem !important;
  }

  body.theme-raed .s-product-card-promotion-title,
  body.theme-raed .s-product-card-discount-badge {
    font-size: 0.65rem !important;
    padding: 0.15rem 0.4rem !important;
  }

  /* --- Hero banner: one consistent block instead of ragged heights ----- */
  body.theme-raed .s-block--photos-slider .swiper-slide img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
  }

  body.theme-raed .s-block--photos-slider .swiper-slide > a {
    display: block;
    width: 100%;
  }

  /* Controls sized for thumbs, kept inside the frame */
  body.theme-raed .s-block--photos-slider .s-slider-nav-arrow {
    width: 32px !important;
    height: 32px !important;
    min-width: 0 !important;
  }

  body.theme-raed .s-block--photos-slider .swiper-pagination {
    bottom: 6px !important;
  }

  /* --- Section headings: smaller flourish gap -------------------------- */
  body.theme-raed .s-slider-block__title-right h2,
  body.theme-raed .s-block__title .right-side h2 {
    padding-bottom: 1.35rem;
    font-size: 1.05rem;
  }

  body.theme-raed .s-products-slider-slider .s-slider-nav-arrow,
  body.theme-raed .s-block--best-offers .s-slider-nav-arrow {
    width: 30px !important;
    height: 30px !important;
    min-width: 0 !important;
  }
}

/* ==========================================================================
   19 · Accessibility & low-power
   ========================================================================== */
@media (max-width: 1023px) {
  #vs-air,
  .vs-orb {
    display: none;
  }

  body.theme-raed .s-product-card-entry .s-product-card-image::after,
  body.theme-raed custom-salla-product-card.s-product-card-entry::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #vs-air,
  .vs-orb {
    display: none !important;
  }

  body.theme-raed [data-vs-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  body.theme-raed * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Keep the WhatsApp bubble on top of everything decorative */
a.wa-s-n {
  z-index: 10100;
}

.s-slider-block__title-right:where([dir="rtl"], [dir="rtl"] *),
.s-slider-block__title-right h2

{

  padding-left: 0 !important;
}

custom-main-menu {
    min-height: auto !important;
}


.navbar-brand img {
    max-height: 6rem !important;
}


/* #mainnav {
      height: 110px !important;
} */