/* =====================================================================
   تاج الياسمين دنتال · Taj AlYasmeen Dental — Store theme layer v3
   Built on Salla "Raed". Brand: Royal Navy #0B4D91 · Crown Gold #EE9419
   Works in RTL (Arabic) and LTR (English) — uses logical properties.
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root, body.theme-raed {
  --ty-navy: #0B4D91;
  --ty-navy-700: #093F78;
  --ty-navy-900: #072F5A;
  --ty-ice: #EEF4FB;          /* clinical ice-blue surface */
  --ty-ice-2: #F6F9FD;        /* page background */
  --ty-line: #E3EAF3;         /* hairlines */
  --ty-gold: #EE9419;
  --ty-gold-700: #CF7A08;
  --ty-gold-50: #FFF5E6;
  --ty-ink: #0F1E33;
  --ty-ink-2: #3B4A5F;
  --ty-muted: #6B7A90;
  --ty-ok: #0E8A6A;
  --ty-sale: #C2410C;
  --ty-r-sm: 10px;
  --ty-r: 16px;
  --ty-r-lg: 24px;
  --ty-shadow-sm: 0 2px 8px -4px rgba(15,30,51,.12);
  --ty-shadow: 0 16px 36px -18px rgba(11,77,145,.35);
  --color-primary: #0B4D91 !important;
  --color-primary-dark: #072F5A !important;
  --color-primary-light: #1C64AE !important;
  --color-primary-reverse: #ffffff !important;
}
::selection { background: var(--ty-gold); color: #fff; }
body.theme-raed { background: var(--ty-ice-2) !important; color: var(--ty-ink); }
.theme-raed a:focus-visible,
.theme-raed button:focus-visible,
.theme-raed input:focus-visible,
.theme-raed select:focus-visible { outline: 3px solid rgba(238,148,25,.55) !important; outline-offset: 2px; }

/* ---------- 2. Announcement bar (real, active coupon: TAJ – 5%) ---------- */
.theme-raed .store-header::before {
  content: "👑  أهلاً بكم في تاج الياسمين دنتال  ·  خصم 2% بكود TAJ";
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.4;
  color: #fff;
  padding: .5rem 1rem;
  background: linear-gradient(110deg, var(--ty-gold-700) 0%, var(--ty-gold) 35%, #FFBE5C 50%, var(--ty-gold) 65%, var(--ty-gold-700) 100%);
  background-size: 250% 100%;
  animation: tyShine 7s linear infinite;
}
html[dir="ltr"] .theme-raed .store-header::before,
body.theme-raed.ltr .store-header::before {
  content: "👑  Welcome to Taj AlYasmeen Dental  ·  2% off with code TAJ";
}
@keyframes tyShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* ---------- 3. Top bar + SEARCH ---------- */
.theme-raed .top-navbar {
  background: linear-gradient(90deg, var(--ty-navy-900), var(--ty-navy)) !important;
  color: rgba(255,255,255,.92) !important;
  border: 0 !important;
  min-height: 56px;
}
.theme-raed .top-navbar a,
.theme-raed .top-navbar .s-contacts-item,
.theme-raed .top-navbar .s-contacts-item *,
.theme-raed .top-navbar i { color: rgba(255,255,255,.92) !important; }
.theme-raed .top-navbar .header-search { max-width: 640px; }
.theme-raed .top-navbar .s-search-input,
.theme-raed .s-search-input {
  background: #fff !important;
  color: var(--ty-ink) !important;
  border: 2px solid transparent !important;
  border-radius: 999px !important;
  height: 40px !important;
  font-size: .9rem;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.35);
  transition: border-color .2s, box-shadow .2s;
}
.theme-raed .s-search-input:focus,
.theme-raed .s-search-input:hover { border-color: var(--ty-gold) !important; box-shadow: 0 0 0 4px rgba(238,148,25,.22) !important; }
.theme-raed .s-search-input::placeholder { color: var(--ty-muted) !important; }
.theme-raed .s-search-icon, .theme-raed .s-search-icon * { color: var(--ty-navy) !important; }
.theme-raed .s-search-results {
  border-radius: var(--ty-r) !important;
  border: 1px solid var(--ty-line) !important;
  box-shadow: var(--ty-shadow) !important;
  overflow: hidden;
}
.theme-raed .s-search-product:hover { background: var(--ty-ice) !important; }
.theme-raed .s-search-product-price,
.theme-raed .s-search-product-title { color: var(--ty-ink) !important; }
.theme-raed .top-navbar .btn--rounded-gray,
.theme-raed .top-navbar .btn--circle-gray {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}

/* ---------- 4. Main navigation ---------- */
.theme-raed .main-nav-container,
.theme-raed .main-nav-container .inner {
  background: rgba(255,255,255,.95) !important;
  -webkit-backdrop-filter: saturate(160%) blur(12px);
          backdrop-filter: saturate(160%) blur(12px);
}
.theme-raed .main-nav-container {
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--ty-navy), var(--ty-gold), var(--ty-navy)) 1;
  box-shadow: 0 10px 24px -18px rgba(11,77,145,.45) !important;
}
.theme-raed .main-nav-container .navbar-brand img { max-height: 64px; width: auto; transition: transform .3s; }
.theme-raed .main-nav-container .navbar-brand:hover img { transform: scale(1.04); }
.theme-raed .main-menu > li > a {
  position: relative;
  color: var(--ty-ink) !important;
  font-weight: 700 !important;
  font-size: .92rem;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.theme-raed .main-menu > li > a::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--ty-gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.theme-raed .main-menu > li:hover > a,
.theme-raed .main-menu > li > a.active { color: var(--ty-navy) !important; }
.theme-raed .main-menu > li:hover > a::after { transform: scaleX(1); }
.theme-raed .main-menu .sub-menu {
  border-radius: var(--ty-r) !important;
  border: 1px solid var(--ty-line);
  box-shadow: var(--ty-shadow) !important;
  border-top: 3px solid var(--ty-gold) !important;
}
.theme-raed .main-menu .sub-menu a:hover { color: var(--ty-navy) !important; background: var(--ty-ice) !important; }
.theme-raed .main-nav-container .header-btn__icon,
.theme-raed .main-nav-container .sicon-menu,
.theme-raed .main-nav-container .s-user-menu-trigger i { color: var(--ty-navy) !important; }
.theme-raed .main-nav-container .s-cart-summary-wrapper,
.theme-raed .main-nav-container .s-user-menu-trigger { transition: transform .2s; }
.theme-raed .main-nav-container .s-cart-summary-wrapper:hover { transform: translateY(-1px); }
.theme-raed .s-cart-summary-count {
  background: var(--ty-gold) !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px #fff;
  font-weight: 800 !important;
}
.theme-raed .s-cart-summary-total { color: var(--ty-navy) !important; font-weight: 800; }

/* mobile slide-out menu */
.theme-raed .mm-spn.mm-spn--light { background: #fff; color: var(--ty-ink); }
.theme-raed .mm-spn.mm-spn--navbar::after { background: var(--ty-navy) !important; color: #fff !important; font-weight: 800; }
.theme-raed .mm-spn.mm-spn--navbar::before { border-color: #fff !important; z-index: 3; }
.theme-raed .mm-spn li::after { border-color: var(--ty-line) !important; }
.theme-raed .mm-spn a { font-weight: 700; }
.theme-raed .mm-spn a:hover, .theme-raed .mm-spn a:focus { color: var(--ty-navy) !important; background: var(--ty-ice); }

/* ---------- 5. Breadcrumbs ---------- */
.theme-raed .breadcrumbs { padding-block: 1rem !important; }
.theme-raed .s-breadcrumb-wrapper { font-size: .82rem; }
.theme-raed .s-breadcrumb-item a { color: var(--ty-muted) !important; transition: color .2s; }
.theme-raed .s-breadcrumb-item a:hover { color: var(--ty-navy) !important; }
.theme-raed .s-breadcrumb-item:last-child { color: var(--ty-navy) !important; font-weight: 700; }

/* ---------- 6. Home: hero banner ---------- */
.theme-raed .s-block--hero-area {
  position: relative;
  overflow: hidden;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 12% 85%, rgba(238,148,25,.32) 0, transparent 38%),
    radial-gradient(circle at 92% 8%, rgba(255,255,255,.12) 0, transparent 30%),
    linear-gradient(135deg, var(--ty-navy) 0%, var(--ty-navy-900) 100%) !important;
  box-shadow: 0 30px 60px -30px rgba(7,47,90,.6);
  margin-top: 1.5rem !important;
}
.theme-raed .s-block--hero-area::before {   /* subtle clinical dot grid */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.theme-raed .s-block--hero-area::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border: 30px solid var(--ty-gold);
  border-radius: 50%;
  opacity: .12;
  inset-inline-end: -140px;
  bottom: -200px;
  pointer-events: none;
}
.theme-raed .s-block--hero-area .content,
.theme-raed .s-block--hero-area .media { position: relative; z-index: 1; }
.theme-raed .s-block--hero-area .sub {
  display: inline-block;
  color: var(--ty-gold) !important;
  background: rgba(238,148,25,.14);
  border: 1px solid rgba(238,148,25,.5) !important;
  padding: .3rem 1rem !important;
  border-radius: 999px;
  font-weight: 700;
}
.theme-raed .s-block--hero-area .sub::after,
.theme-raed .s-block--hero-area .sub::before { display: none !important; }
.theme-raed .s-block--hero-area .main { color: #fff !important; text-shadow: 0 6px 30px rgba(0,0,0,.25); }
.theme-raed .s-block--hero-area .desc { color: rgba(255,255,255,.86) !important; line-height: 1.9; }
.theme-raed .s-block--hero-area .media img {
  border-radius: 22px;
  animation: tyFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,.35));
}
.theme-raed .s-block--hero-area .cta button,
.theme-raed .s-block--hero-area .cta .s-button-element {
  background: var(--ty-gold) !important;
  border-color: var(--ty-gold) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding-inline: 2rem !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 25px -10px rgba(238,148,25,.8);
}
@keyframes tyFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* other home blocks */
.theme-raed .s-block--bundle-photos-album img,
.theme-raed .banner-entry,
.theme-raed .s-block--fixed-banner img,
.theme-raed .s-block--photos-slider img {
  border-radius: var(--ty-r-lg);
  transition: transform .5s ease, box-shadow .5s ease;
}
.theme-raed .s-block--bundle-photos-album a:hover img,
.theme-raed .banner-entry:hover { transform: scale(1.012); box-shadow: var(--ty-shadow); }
.theme-raed .s-block--bundle-photos-album [class*="bg-"],
.theme-raed .s-block--bundle-photos-album .content { border-radius: var(--ty-r-lg); }

/* ---------- 7. Section titles ---------- */
.theme-raed .s-block__title { align-items: flex-end !important; margin-bottom: 1.5rem !important; }
.theme-raed .s-block__title h2 {
  position: relative;
  color: var(--ty-navy) !important;
  font-weight: 800 !important;
  padding-bottom: .6rem;
  padding-inline-start: 1.6rem;
}
.theme-raed .s-block__title h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .38em;
  width: 18px; height: 14px;
  background: var(--ty-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M2 16h20l1-11-6 4-5-8-5 8-6-4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M2 16h20l1-11-6 4-5-8-5 8-6-4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.theme-raed .s-block__title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 64px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ty-gold), var(--ty-navy));
}
.theme-raed .s-block__title .s-block__display-all {
  color: var(--ty-navy) !important;
  background: var(--ty-ice);
  padding: .45rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.theme-raed .s-block__title .s-block__display-all:hover { background: var(--ty-navy); color: #fff !important; }

/* =====================================================================
   8. PRODUCT CARDS — consistent square image, clear price, easy buy
   ===================================================================== */
.theme-raed custom-salla-product-card.s-product-card-entry {
  position: relative;
  display: flex !important;
  flex-direction: column;
  background: #fff !important;
  border: 1px solid var(--ty-line) !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: var(--ty-shadow-sm);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.theme-raed custom-salla-product-card.s-product-card-entry::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ty-navy), var(--ty-gold));
  transform: scaleX(0);
  transition: transform .35s ease;
}
@media (hover: hover) {
  .theme-raed custom-salla-product-card.s-product-card-entry:hover {
    transform: translateY(-6px);
    border-color: rgba(11,77,145,.28) !important;
    box-shadow: var(--ty-shadow);
  }
  .theme-raed custom-salla-product-card.s-product-card-entry:hover::after { transform: scaleX(1); }
  .theme-raed custom-salla-product-card:hover .s-product-card-image img { transform: scale(1.06); }
}

/* image: always a white square, whole product visible */
.theme-raed custom-salla-product-card .s-product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto !important;
  margin: 8px 8px 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px var(--ty-line);
}
.theme-raed custom-salla-product-card .s-product-card-image > a { display: block; width: 100%; height: 100%; }
.theme-raed custom-salla-product-card .s-product-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 6%;
  background: #fff;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

/* promotion pill */
.theme-raed custom-salla-product-card .s-product-card-promotion-title {
  position: absolute !important;
  top: 10px !important;
  inset-inline-start: 10px !important;
  inset-inline-end: auto !important;
  left: auto; right: auto;
  width: auto !important;
  max-width: calc(100% - 64px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(135deg, var(--ty-gold), var(--ty-gold-700)) !important;
  color: #fff !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  padding: .25rem .75rem !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 16px -8px rgba(207,122,8,.9);
  z-index: 2;
}

/* wishlist */
.theme-raed custom-salla-product-card .s-product-card-wishlist-btn { z-index: 3; }
.theme-raed custom-salla-product-card button.s-product-card-wishlist-btn {
  background: #fff !important;
  border: 1px solid var(--ty-line) !important;
  color: var(--ty-navy) !important;
  box-shadow: 0 6px 14px -8px rgba(15,30,51,.4);
  transition: transform .2s, color .2s;
}
.theme-raed custom-salla-product-card button.s-product-card-wishlist-btn:hover { transform: scale(1.1); color: #E5484D !important; }
.theme-raed custom-salla-product-card .s-product-card-wishlist-btn.added button,
.theme-raed custom-salla-product-card button.s-product-card-wishlist-btn.favorited { color: #E5484D !important; }

/* content */
.theme-raed custom-salla-product-card .s-product-card-content {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  padding: 12px 14px 14px !important;
  text-align: start;
}
.theme-raed custom-salla-product-card .s-product-card-content-main { flex: 1; }
.theme-raed custom-salla-product-card .s-product-card-content-title { margin-bottom: 0 !important; }
.theme-raed custom-salla-product-card .s-product-card-content-title,
.theme-raed custom-salla-product-card .s-product-card-content-title a {
  color: var(--ty-ink) !important;
  font-weight: 800 !important;
  font-size: .92rem !important;
  line-height: 1.5 !important;
  min-height: 3em;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.theme-raed custom-salla-product-card .s-product-card-content-title a:hover { color: var(--ty-navy) !important; }
.theme-raed custom-salla-product-card .s-product-card-content-subtitle {
  color: var(--ty-muted) !important;
  font-size: .78rem !important;
  line-height: 1.5 !important;
  margin-top: .2rem !important;
  opacity: 1 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* price */
.theme-raed custom-salla-product-card .s-product-card-content-sub {
  margin-top: .55rem !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.theme-raed custom-salla-product-card .s-product-card-price,
.theme-raed custom-salla-product-card .s-product-card-sale-price h4 {
  color: var(--ty-navy) !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  margin: 0 !important;
}
.theme-raed custom-salla-product-card .s-product-card-sale-price { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.theme-raed custom-salla-product-card .s-product-card-sale-price h4 { color: var(--ty-sale) !important; }
.theme-raed custom-salla-product-card .s-product-card-sale-price span {
  color: #98A4B5 !important;
  font-size: .8rem !important;
  text-decoration: line-through;
}
.theme-raed custom-salla-product-card .s-product-card-rating,
.theme-raed custom-salla-product-card .s-product-card-rating * { color: var(--ty-gold) !important; font-size: .78rem; }
.theme-raed custom-salla-product-card .s-product-card-out-badge,
.theme-raed custom-salla-product-card .s-product-card-quantity { color: var(--ty-sale) !important; font-weight: 700; font-size: .75rem; }

/* buy button: always visible, full width, thumb-friendly */
.theme-raed custom-salla-product-card .s-product-card-content-footer { margin-top: .75rem !important; }
.theme-raed custom-salla-product-card .s-product-card-content-footer salla-add-product-button,
.theme-raed custom-salla-product-card .s-product-card-content-footer salla-button { width: 100%; }
.theme-raed custom-salla-product-card .s-product-card-content-footer .s-button-element {
  width: 100%;
  background: var(--ty-navy) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 12px !important;
  min-height: 44px !important;
  font-weight: 800 !important;
  font-size: .88rem !important;
  transition: background .25s, transform .2s, box-shadow .25s !important;
}
.theme-raed custom-salla-product-card .s-product-card-content-footer .s-button-element:hover {
  background: var(--ty-gold) !important;
  box-shadow: 0 12px 22px -12px rgba(238,148,25,.9);
  transform: translateY(-1px);
}
.theme-raed custom-salla-product-card .s-product-card-content-footer .s-button-element * { color: #fff !important; }
.theme-raed custom-salla-product-card .s-product-card-content-footer .s-button-element:disabled,
.theme-raed custom-salla-product-card .s-product-card-content-footer .s-button-disabled {
  background: #E8EDF4 !important;
  cursor: not-allowed;
}
.theme-raed custom-salla-product-card .s-product-card-content-footer .s-button-element:disabled * { color: #7D8A9C !important; }

/* horizontal / list variants */
.theme-raed custom-salla-product-card.s-product-card-horizontal .s-product-card-image { aspect-ratio: auto; margin: 8px; }

/* product grids: even spacing */
.theme-raed .s-products-list-vertical-cards { gap: 18px !important; }
@media (max-width: 640px) {
  .theme-raed .s-products-list-vertical-cards { gap: 10px !important; }
}

/* ---------- 9. Store features ---------- */
.theme-raed .s-block--features__item {
  background: #fff !important;
  border: 1px solid var(--ty-line);
  border-radius: 20px !important;
  padding: 1.5rem 1rem !important;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.theme-raed .s-block--features__item:hover { transform: translateY(-5px); box-shadow: var(--ty-shadow); border-color: rgba(238,148,25,.45); }
.theme-raed .s-block--features__item .feature-icon {
  background: linear-gradient(135deg, var(--ty-navy), var(--ty-navy-900)) !important;
  color: #fff !important;
  box-shadow: 0 0 0 5px var(--ty-gold-50), 0 0 0 7px rgba(238,148,25,.45);
  transition: transform .4s;
}
.theme-raed .s-block--features__item .feature-icon i { color: #fff !important; }
.theme-raed .s-block--features__item:hover .feature-icon { transform: rotate(-8deg) scale(1.06); }
.theme-raed .s-block--features__item h2 { color: var(--ty-navy) !important; font-weight: 800; }
.theme-raed .s-block--features__item p { color: var(--ty-muted) !important; }

/* testimonials */
.theme-raed .s-block--testimonials .sicon-star2 { color: var(--ty-gold) !important; }
.theme-raed .s-block--testimonials .swiper-slide > div { border-radius: 20px !important; border: 1px solid var(--ty-line); }

/* ---------- 10. Category / listing page ---------- */
.theme-raed .container--products-list .main-content > div:first-child {
  background: #fff;
  border: 1px solid var(--ty-line);
  border-radius: var(--ty-r-lg);
  padding: 1rem 1.25rem !important;
  margin-bottom: 1.25rem !important;
  box-shadow: var(--ty-shadow-sm);
  position: relative;
  overflow: hidden;
  gap: .75rem;
  flex-wrap: wrap;
}
.theme-raed .container--products-list .main-content > div:first-child::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: linear-gradient(var(--ty-gold), var(--ty-navy));
}
.theme-raed .container--products-list h1 { color: var(--ty-navy) !important; font-weight: 800 !important; font-size: 1.35rem !important; }
.theme-raed select.form-input,
.theme-raed .container--products-list select {
  border: 1px solid var(--ty-line) !important;
  border-radius: 999px !important;
  background-color: var(--ty-ice-2) !important;
  color: var(--ty-ink) !important;
  font-weight: 700;
  min-height: 40px;
}
.theme-raed select.form-input:focus { border-color: var(--ty-navy) !important; box-shadow: 0 0 0 3px rgba(11,77,145,.15) !important; }

/* filters (shown when filters are enabled in Salla) */
.theme-raed salla-filters,
.theme-raed #filters-menu {
  background: #fff;
  border: 1px solid var(--ty-line);
  border-radius: var(--ty-r-lg);
  padding: 1rem;
  box-shadow: var(--ty-shadow-sm);
}
.theme-raed .s-filters-widget-title,
.theme-raed salla-filters h3,
.theme-raed salla-filters .s-filters-widget-title { color: var(--ty-navy) !important; font-weight: 800 !important; }
.theme-raed salla-filters input[type="checkbox"]:checked,
.theme-raed salla-filters input[type="radio"]:checked { background-color: var(--ty-navy) !important; border-color: var(--ty-navy) !important; }
.theme-raed .filters-trigger {
  background: var(--ty-navy) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: .5rem 1rem !important;
  font-weight: 700;
}
.theme-raed .s-infinite-scroll-btn,
.theme-raed .s-products-list .s-button-element.s-button-outline {
  border-radius: 999px !important;
  border-color: var(--ty-navy) !important;
  color: var(--ty-navy) !important;
  font-weight: 800 !important;
}
.theme-raed .s-infinite-scroll-btn:hover { background: var(--ty-navy) !important; color: #fff !important; }

/* ---------- 11. Product details page ---------- */
.theme-raed .container--product-details .sidebar .details-slider,
.theme-raed .container--product-details .image-slider .swiper {
  background: #fff;
  border: 1px solid var(--ty-line);
  border-radius: var(--ty-r-lg) !important;
  overflow: hidden;
}
.theme-raed .container--product-details .sidebar .swiper-slide img { object-fit: contain !important; background: #fff; }
.theme-raed .container--product-details .slide--one-fourth img,
.theme-raed .container--product-details .details-slider .swiper-thumbs img,
.theme-raed .container--product-details [class*="thumbs"] img {
  border-radius: 12px !important;
  border: 1px solid var(--ty-line);
  background: #fff;
  object-fit: contain !important;
}
.theme-raed .container--product-details .swiper-slide-thumb-active img { border: 2px solid var(--ty-navy) !important; }
.theme-raed .s-slider-nav-arrow {
  background: #fff !important;
  color: var(--ty-navy) !important;
  box-shadow: 0 6px 16px -8px rgba(15,30,51,.45) !important;
  border: 1px solid var(--ty-line) !important;
}
.theme-raed .s-slider-nav-arrow:hover { background: var(--ty-navy) !important; color: #fff !important; }
.theme-raed .s-slider-nav-arrow:hover * { color: #fff !important; }

.theme-raed .container--product-details h1 {
  color: var(--ty-ink) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  margin-bottom: 1rem !important;
}
.theme-raed .container--product-details .price-wrapper p,
.theme-raed .container--product-details .total-price,
.theme-raed .container--product-details .starting-or-normal-price p {
  color: var(--ty-navy) !important;
  font-size: 1.6rem !important;
  font-weight: 900 !important;
}
.theme-raed .container--product-details p.text-red-800,
.theme-raed .container--product-details .text-red-800 { color: var(--ty-sale) !important; font-weight: 900 !important; }
.theme-raed .container--product-details .price-wrapper p.text-red-800 { font-size: 1.6rem !important; }
.theme-raed .container--product-details .before-price,
.theme-raed .container--product-details .line-through { color: #98A4B5 !important; }
.theme-raed .container--product-details .promotion-title {
  display: inline-block;
  background: var(--ty-gold-50);
  color: var(--ty-gold-700) !important;
  border: 1px solid rgba(238,148,25,.4);
  border-radius: 999px;
  padding: .2rem .8rem;
  font-weight: 800;
  font-size: .82rem;
}

/* description / specs */
.theme-raed .container--product-details .product__description {
  background: #fff;
  border: 1px solid var(--ty-line);
  border-radius: var(--ty-r);
  padding: 1rem 1.25rem !important;
  margin-bottom: 1rem !important;
}
.theme-raed .container--product-details .product__description .article { color: var(--ty-ink-2); }
.theme-raed .container--product-details .product__description .article h1,
.theme-raed .container--product-details .product__description .article h2,
.theme-raed .container--product-details .product__description .article h3 { color: var(--ty-navy) !important; font-size: 1.05rem !important; margin-bottom: .5rem !important; }
.theme-raed .container--product-details .product__description .article p { margin-bottom: .15rem; }
.theme-raed .container--product-details #btn-show-more,
.theme-raed .link--primary { color: var(--ty-navy) !important; font-weight: 800; text-decoration: underline; text-decoration-color: var(--ty-gold); text-underline-offset: 4px; }

/* stock / info pills */
.theme-raed .container--product-details .bg-white.py-2\.5.mb-5.rounded-md.inline-flex {
  border: 1px solid var(--ty-line);
  border-radius: 999px !important;
  color: var(--ty-ink-2);
}
.theme-raed .container--product-details .sicon-box-bankers,
.theme-raed .container--product-details .sicon-fire { color: var(--ty-gold-700) !important; }

/* share / wishlist icons */
.theme-raed .container--product-details .s-social-share-btn,
.theme-raed .container--product-details .btn--wishlist button,
.theme-raed .container--product-details button.btn--wishlist {
  border: 1px solid var(--ty-line) !important;
  background: #fff !important;
  color: var(--ty-navy) !important;
}

/* option / info cards */
.theme-raed .product-form > section,
.theme-raed .product-form .bg-white.p-5,
.theme-raed .container--product-details .product-form section {
  background: #fff !important;
  border: 1px solid var(--ty-line);
  border-radius: var(--ty-r) !important;
}
.theme-raed .product-form .form-label { color: var(--ty-ink) !important; }
.theme-raed .product-form .form-label i { color: var(--ty-navy); }
.theme-raed .s-product-options-option-label { color: var(--ty-ink) !important; font-weight: 800 !important; }
.theme-raed .s-product-options-thumbnails-wrapper input:checked + label,
.theme-raed .s-product-options-colors-wrapper input:checked + label,
.theme-raed .s-product-options-multiple-options-wrapper input:checked + label { border-color: var(--ty-navy) !important; box-shadow: 0 0 0 2px rgba(11,77,145,.25); }

/* purchase box */
.theme-raed .sticky-product-bar {
  background: #fff !important;
  border: 1px solid var(--ty-line);
  border-radius: var(--ty-r-lg) !important;
  box-shadow: var(--ty-shadow) !important;
  position: relative;
  overflow: hidden;
}
.theme-raed .sticky-product-bar::before {
  content: "";
  position: absolute;
  inset-inline: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ty-navy), var(--ty-gold));
}
.theme-raed .s-quantity-input-container {
  border: 1px solid var(--ty-line) !important;
  border-radius: 999px !important;
  overflow: hidden;
  background: var(--ty-ice-2);
}
.theme-raed .s-quantity-input-button { color: var(--ty-navy) !important; }
.theme-raed .s-quantity-input-button:hover { background: var(--ty-ice) !important; }
.theme-raed .s-quantity-input-input { background: transparent !important; font-weight: 800; color: var(--ty-ink); }
.theme-raed .sticky-product-bar__btn .s-button-element.s-button-solid,
.theme-raed .sticky-product-bar__btn .s-button-primary,
.theme-raed salla-add-product-button .s-button-solid.s-button-primary {
  background: var(--ty-navy) !important;
  border-color: var(--ty-navy) !important;
  color: #fff !important;
  border-radius: 14px !important;
  min-height: 48px !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
}
.theme-raed .sticky-product-bar__btn .s-button-element.s-button-solid:hover,
.theme-raed salla-add-product-button .s-button-solid.s-button-primary:hover { background: var(--ty-gold) !important; border-color: var(--ty-gold) !important; }
.theme-raed .sticky-product-bar__btn .s-button-outline,
.theme-raed salla-quick-buy .s-button-outline {
  border: 2px solid var(--ty-gold) !important;
  color: var(--ty-gold-700) !important;
  border-radius: 14px !important;
  min-height: 48px !important;
  font-weight: 800 !important;
  background: var(--ty-gold-50) !important;
}
.theme-raed .sticky-product-bar__btn .s-button-outline:hover,
.theme-raed salla-quick-buy .s-button-outline:hover { background: var(--ty-gold) !important; color: #fff !important; }
.theme-raed .sticky-product-bar__btn .s-button-outline:hover * { color: #fff !important; }
/* Apple Pay / Tabby keep their own official styling — only round the corners */
.theme-raed salla-installment, .theme-raed .s-installment-wrapper,
.theme-raed tabby-promo, .theme-raed #tabbyPromo { border-radius: var(--ty-r) !important; }

/* related products + reviews */
.theme-raed .s-blocks-wrapper.s-before-related ~ * h2,
.theme-raed salla-products-slider .s-slider-block__title h2 { color: var(--ty-navy) !important; font-weight: 800; }
.theme-raed salla-reviews, .theme-raed .s-reviews-wrapper { border-radius: var(--ty-r-lg); }
.theme-raed .s-reviews-item, .theme-raed .s-comments-item { background: #fff; border: 1px solid var(--ty-line); border-radius: var(--ty-r) !important; }

/* ---------- 12. Cart ---------- */
.theme-raed .cart-item,
.theme-raed .container .shadow-default.bg-white.rounded-md {
  background: #fff !important;
  border: 1px solid var(--ty-line);
  border-radius: var(--ty-r-lg) !important;
  box-shadow: var(--ty-shadow-sm) !important;
}
.theme-raed .cart-item img { border-radius: 12px !important; background: #fff !important; object-fit: contain !important; }
.theme-raed .cart-item .item-price,
.theme-raed .cart-item .item-total { color: var(--ty-navy) !important; font-weight: 900 !important; }
.theme-raed .cart-item .text-red-800 { color: var(--ty-sale) !important; }
.theme-raed .cart-item .btn--delete {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
  border-radius: 999px !important;
}
.theme-raed .progress-bg { background: linear-gradient(90deg, var(--ty-navy), var(--ty-gold)) !important; }
.theme-raed salla-cart-summary-card,
.theme-raed .s-cart-summary-card { border-radius: var(--ty-r-lg) !important; }
.theme-raed salla-cart-summary-card .s-button-element,
.theme-raed #cart-submit,
.theme-raed .cart-submit-wrap .s-button-element {
  background: var(--ty-navy) !important;
  border-color: var(--ty-navy) !important;
  color: #fff !important;
  border-radius: 14px !important;
  min-height: 50px !important;
  font-weight: 800 !important;
  font-size: 1.02rem !important;
}
.theme-raed salla-cart-summary-card .s-button-element:hover,
.theme-raed #cart-submit:hover { background: var(--ty-gold) !important; border-color: var(--ty-gold) !important; }
.theme-raed salla-cart-coupons input,
.theme-raed .s-cart-coupons-input { border-radius: 12px !important; border-color: var(--ty-line) !important; }
.theme-raed salla-cart-coupons .s-button-element { border-radius: 12px !important; background: var(--ty-gold) !important; border-color: var(--ty-gold) !important; color: #fff !important; }
.theme-raed .no-content-placeholder .s-placeholder-icon,
.theme-raed .no-content-placeholder i { background: var(--ty-ice) !important; color: var(--ty-navy) !important; }
.theme-raed .btn.btn--outline-primary {
  border: 2px solid var(--ty-navy) !important;
  color: var(--ty-navy) !important;
  border-radius: 999px !important;
  font-weight: 800;
}
.theme-raed .btn.btn--outline-primary:hover { background: var(--ty-navy) !important; color: #fff !important; }

/* ---------- 13. Buttons & forms site-wide ---------- */
.theme-raed .s-button-primary.s-button-solid,
.theme-raed .btn--primary {
  background-color: var(--ty-navy) !important;
  border-color: var(--ty-navy) !important;
  color: #fff !important;
  border-radius: 12px !important;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.theme-raed .s-button-primary.s-button-solid:hover,
.theme-raed .btn--primary:hover { background-color: var(--ty-gold) !important; border-color: var(--ty-gold) !important; }
.theme-raed .s-button-primary-outline,
.theme-raed .s-button-outline.s-button-primary {
  border-color: var(--ty-navy) !important;
  color: var(--ty-navy) !important;
  border-radius: 12px !important;
}
.theme-raed .form-input, .theme-raed input.s-form-control, .theme-raed .s-form-control { border-radius: 12px !important; }
.theme-raed .form-input:focus, .theme-raed .s-form-control:focus { border-color: var(--ty-navy) !important; box-shadow: 0 0 0 3px rgba(11,77,145,.15) !important; }

/* login modal / modals */
.theme-raed .s-modal-body, .theme-raed .s-modal-wrapper .s-modal-body { border-radius: var(--ty-r-lg) !important; }
.theme-raed .s-modal-header-inner { color: var(--ty-navy); }

/* ---------- 14. Footer ---------- */
.theme-raed .store-footer {
  position: relative;
  background: var(--ty-navy-900) !important;
  color: rgba(255,255,255,.85) !important;
  border-top: 0 !important;
}
.theme-raed .store-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--ty-navy), var(--ty-gold), var(--ty-navy));
}
.theme-raed .store-footer .store-footer__inner {
  background:
    radial-gradient(circle at 8% 0%, rgba(238,148,25,.16) 0, transparent 35%),
    linear-gradient(160deg, var(--ty-navy) 0%, var(--ty-navy-900) 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
.theme-raed .store-footer h3 { color: #fff !important; position: relative; padding-bottom: .55rem; }
.theme-raed .store-footer h3::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 36px; height: 3px; border-radius: 3px; background: var(--ty-gold);
}
.theme-raed .store-footer a,
.theme-raed .store-footer p,
.theme-raed .store-footer li,
.theme-raed .store-footer b,
.theme-raed .store-footer span { color: rgba(255,255,255,.84) !important; }
.theme-raed .store-footer a:hover { color: var(--ty-gold) !important; opacity: 1 !important; }
.theme-raed .store-footer .s-contacts-icon,
.theme-raed .store-footer .social-link {
  border-color: rgba(238,148,25,.55) !important;
  color: var(--ty-gold) !important;
  background: rgba(255,255,255,.04);
}
.theme-raed .store-footer .s-contacts-icon *, .theme-raed .store-footer .social-link * { color: var(--ty-gold) !important; }
.theme-raed .store-footer .social-link:hover { background: var(--ty-gold) !important; }
.theme-raed .store-footer .social-link:hover * { color: #fff !important; }
.theme-raed .store-footer salla-payments img,
.theme-raed .store-footer .s-payments-list-item { background: #fff; border-radius: 8px; }

/* WhatsApp bubble keeps its colour; nudge above mobile bars */
@media (max-width: 767px) {
  .theme-raed .is-sticky-product-bar .whatsapp-widget,
  .theme-raed.is-sticky-product-bar [class*="whatsapp"] { bottom: 92px !important; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1023px) {
  .theme-raed .top-navbar { min-height: 52px; }
  .theme-raed .main-nav-container .navbar-brand img { max-height: 54px; }
}
@media (max-width: 640px) {
  .theme-raed .store-header::before { font-size: .74rem; padding: .45rem .75rem; }
  .theme-raed .s-search-input { height: 38px !important; font-size: .85rem; }
  .theme-raed .s-block--hero-area { border-radius: 20px !important; margin-top: 1rem !important; }
  .theme-raed .s-block__title h2 { font-size: 1.1rem !important; }
  .theme-raed .s-block__title .s-block__display-all { padding: .35rem .8rem; font-size: .78rem; }
  .theme-raed custom-salla-product-card.s-product-card-entry { border-radius: 16px !important; }
  .theme-raed custom-salla-product-card .s-product-card-image { margin: 6px 6px 0; border-radius: 12px; }
  .theme-raed custom-salla-product-card .s-product-card-content { padding: 9px 10px 10px !important; }
  .theme-raed custom-salla-product-card .s-product-card-content-title,
  .theme-raed custom-salla-product-card .s-product-card-content-title a { font-size: .8rem !important; }
  .theme-raed custom-salla-product-card .s-product-card-content-subtitle { display: none !important; }
  .theme-raed custom-salla-product-card .s-product-card-price,
  .theme-raed custom-salla-product-card .s-product-card-sale-price h4 { font-size: .98rem !important; }
  .theme-raed custom-salla-product-card .s-product-card-sale-price span { font-size: .72rem !important; }
  .theme-raed custom-salla-product-card .s-product-card-promotion-title { font-size: .64rem !important; padding: .2rem .55rem !important; top: 7px !important; inset-inline-start: 7px !important; }
  .theme-raed custom-salla-product-card .s-product-card-content-footer .s-button-element { min-height: 40px !important; font-size: .8rem !important; border-radius: 10px !important; }
  .theme-raed .container--products-list .main-content > div:first-child { padding: .8rem 1rem !important; }
  .theme-raed .container--products-list h1 { font-size: 1.1rem !important; }
  .theme-raed .container--product-details .price-wrapper p,
  .theme-raed .container--product-details .price-wrapper p.text-red-800 { font-size: 1.35rem !important; }
  .theme-raed .sticky-product-bar { border-radius: 20px 20px 0 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-raed *, .theme-raed *::before, .theme-raed *::after { animation: none !important; transition: none !important; }
}

/* ---------- v3.1 refinements ---------- */
.theme-raed .s-block--hero-area { width: calc(100% - 32px); max-width: 1280px; margin-inline: auto !important; }
.theme-raed custom-salla-product-card .s-product-card-image { flex: 0 0 auto !important; width: auto !important; height: auto !important; aspect-ratio: 1 / 1; }
.theme-raed custom-salla-product-card .s-product-card-content { flex: 1 1 auto !important; }
.theme-raed custom-salla-product-card .s-product-card-content-main { flex: 0 0 auto !important; }
.theme-raed custom-salla-product-card .s-product-card-content-footer { margin-top: auto !important; padding-top: .75rem; }
/* product page: price + purchase box read as one card */
.theme-raed .product-form section.rounded-b-none {
  border-radius: var(--ty-r-lg) var(--ty-r-lg) 0 0 !important;
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
  background: #fff !important;
  border: 1px solid var(--ty-line);
}
.theme-raed .product-form section.rounded-b-none + .sticky-product-bar,
.theme-raed .product-form .sticky-product-bar {
  border-top: 0 !important;
  border-radius: 0 0 var(--ty-r-lg) var(--ty-r-lg) !important;
  box-shadow: 0 18px 30px -24px rgba(11,77,145,.45) !important;
  overflow: visible;
}
.theme-raed .product-form .sticky-product-bar::before { display: none; }
.theme-raed .product-form section.rounded-b-none::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  border-radius: var(--ty-r-lg) var(--ty-r-lg) 0 0;
  background: linear-gradient(90deg, var(--ty-navy), var(--ty-gold));
}
.theme-raed .product-form section.rounded-b-none { position: relative; }
/* big, clear price at the top of the product info */
.theme-raed .container--product-details .main-content > div.flex p.font-bold {
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  color: var(--ty-navy) !important;
  line-height: 1.2;
}
.theme-raed .container--product-details .main-content > div.flex p.text-red-800 { color: var(--ty-sale) !important; }
.theme-raed .container--product-details .main-content > div.flex span.line-through { font-size: 1rem; }
/* reviews area */
.theme-raed .container--product-details ~ * salla-reviews,
.theme-raed #reviews, .theme-raed .s-reviews-summary { background: transparent; }
@media (max-width: 767px) {
  .theme-raed .container--product-details .main-content > div.flex p.font-bold { font-size: 1.4rem !important; }
  .theme-raed.is-sticky-product-bar .product-form .sticky-product-bar { border-radius: 20px 20px 0 0 !important; border-top: 1px solid var(--ty-line) !important; box-shadow: 0 -12px 30px -18px rgba(11,77,145,.45) !important; }
}
/* load-more + share fixes */
.theme-raed .s-infinite-scroll-btn {
  background: var(--ty-navy) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: .7rem 2.25rem !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 24px -14px rgba(11,77,145,.8);
}
.theme-raed .s-infinite-scroll-btn:hover { background: var(--ty-gold) !important; color: #fff !important; }
.theme-raed .container--product-details salla-social-share .s-social-share-btn:not(button),
.theme-raed .container--product-details salla-button.btn--wishlist { border: 0 !important; background: transparent !important; }
/* =====================================================================
   v4 — CREATIVE LAYOUT LAYER
   ===================================================================== */

/* ---------- A. "Shop by department" — round icon bubbles ---------- */
.theme-raed .s-block--categories { margin-top: 2rem !important; }
.theme-raed .s-block--categories .s-slider-block__title h2 { color: var(--ty-navy) !important; font-weight: 800 !important; }
.theme-raed .s-block--categories .swiper-slide { height: auto; }
.theme-raed .slide--cat-entry {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: .5rem .25rem 1rem !important;
  text-align: center;
}
.theme-raed .slide--cat-entry i {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: flex !important;
  align-items: center; justify-content: center;
  font-size: 2.1rem !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.28) 0, transparent 45%),
    linear-gradient(145deg, var(--ty-navy) 0%, var(--ty-navy-900) 100%) !important;
  box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--ty-line), 0 14px 26px -14px rgba(11,77,145,.7);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  margin: 0 auto !important;
}
.theme-raed .slide--cat-entry h2 {
  font-size: .86rem !important;
  font-weight: 800 !important;
  color: var(--ty-ink) !important;
  line-height: 1.4;
  margin: 0 !important;
}
.theme-raed .slide--cat-entry:hover i {
  transform: translateY(-5px) rotate(-6deg);
  box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--ty-gold), 0 18px 30px -14px rgba(238,148,25,.75);
}
.theme-raed .slide--cat-entry:hover h2 { color: var(--ty-navy) !important; }
/* a matching icon for each real category (matched by its link, so order doesn't matter) */
.theme-raed .slide--cat-entry i::before { font-family: 'sallaicons' !important; }
.theme-raed .slide--cat-entry[href*="c37321262"] i::before   { content: "\e957"; } /* COXO – award ribbon */
.theme-raed .slide--cat-entry[href*="c961011096"] i::before  { content: "\eeff"; } /* orthodontics – screw */
.theme-raed .slide--cat-entry[href*="c1435502885"] i::before { content: "\ec0b"; } /* motors – flash */
.theme-raed .slide--cat-entry[href*="c1531325364"] i::before { content: "\ec86"; } /* hand pieces – tools */
.theme-raed .slide--cat-entry[href*="c1517135363"] i::before { content: "\eb20"; } /* DTC Dental USA – crown */
.theme-raed .slide--cat-entry[href*="c2101849007"] i::before { content: "\e9f5"; } /* disposables – box */
.theme-raed .slide--cat-entry[href*="c919270317"] i::before  { content: "\ef1f"; } /* burs & files – gear */
.theme-raed .slide--cat-entry[href*="c1359369605"] i::before { content: "\e9fe"; } /* dental supplies – medical bag */
/* gold variant on every other bubble for rhythm */
.theme-raed .s-block--categories .swiper-slide:nth-child(even) .slide--cat-entry i {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.35) 0, transparent 45%),
    linear-gradient(145deg, var(--ty-gold) 0%, var(--ty-gold-700) 100%) !important;
  box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--ty-line), 0 14px 26px -14px rgba(207,122,8,.75);
}
@media (max-width: 640px) {
  .theme-raed .slide--cat-entry i { width: 68px; height: 68px; font-size: 1.6rem !important; }
  .theme-raed .slide--cat-entry h2 { font-size: .74rem !important; }
}

/* ---------- B. First product row = "bento" showcase (desktop) ---------- */
@media (min-width: 1024px) {
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: dense;
  }
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :first-child {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(160deg, #fff 0%, var(--ty-ice) 100%) !important;
    border: 2px solid rgba(238,148,25,.45) !important;
  }
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :first-child .s-product-card-image { margin: 14px 14px 0; }
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :first-child .s-product-card-content-title,
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :first-child .s-product-card-content-title a { font-size: 1.3rem !important; }
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :first-child .s-product-card-price,
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :first-child .s-product-card-sale-price h4 { font-size: 1.7rem !important; }
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :first-child::before {
    content: "⭐ الأبرز";
    position: absolute; z-index: 4;
    top: 16px; inset-inline-end: 16px;
    background: var(--ty-navy); color: #fff;
    font-size: .78rem; font-weight: 800;
    padding: .3rem .9rem; border-radius: 999px;
    box-shadow: 0 8px 18px -8px rgba(11,77,145,.8);
  }
  html[dir="ltr"] .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :first-child::before { content: "⭐ Featured"; }
  /* 8 items → big + 6 fills a perfect 4×3 bento */
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :nth-child(8) { display: none !important; }
}

/* ---------- C. Swipeable product rails ("little cards" sliders) ---------- */
/* desktop: 2nd and 4th product rows become horizontal rails */
@media (min-width: 1024px) {
  .theme-raed #main-content > section.s-block:nth-child(6) .s-products-list-vertical-cards,
  .theme-raed #main-content > section.s-block:nth-child(10) .s-products-list-vertical-cards {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px !important;
    padding: 6px 4px 18px;
    scrollbar-width: thin;
    scrollbar-color: var(--ty-gold) transparent;
  }
  .theme-raed #main-content > section.s-block:nth-child(6) .s-products-list-vertical-cards > *,
  .theme-raed #main-content > section.s-block:nth-child(10) .s-products-list-vertical-cards > * {
    flex: 0 0 calc((100% - 4 * 16px) / 5.3) !important;
    max-width: none !important;
    scroll-snap-align: start;
  }
  .theme-raed #main-content > section.s-block:nth-child(6) custom-salla-product-card .s-product-card-content-subtitle,
  .theme-raed #main-content > section.s-block:nth-child(10) custom-salla-product-card .s-product-card-content-subtitle { display: none !important; }
}
/* phones & tablets: every homepage product row becomes a swipe rail */
@media (max-width: 1023px) {
  .theme-raed #main-content > section[data-testid="store-home-fixed-products"] .s-products-list-vertical-cards {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px !important;
    padding: 4px 2px 14px;
    margin-inline: -4px;
    scrollbar-width: none;
  }
  .theme-raed #main-content > section[data-testid="store-home-fixed-products"] .s-products-list-vertical-cards::-webkit-scrollbar { display: none; }
  .theme-raed #main-content > section[data-testid="store-home-fixed-products"] .s-products-list-vertical-cards > * {
    flex: 0 0 44% !important;
    max-width: none !important;
    scroll-snap-align: start;
  }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .theme-raed #main-content > section[data-testid="store-home-fixed-products"] .s-products-list-vertical-cards > * { flex-basis: 30% !important; }
}
/* swipe hint on rails */
.theme-raed #main-content > section[data-testid="store-home-fixed-products"] .s-block__title h2 small { display: none; }

/* ---------- D. Section rhythm: soft tinted band behind alternate rows ---------- */
.theme-raed #main-content > section.s-block:nth-child(6),
.theme-raed #main-content > section.s-block:nth-child(10) {
  position: relative;
}
.theme-raed #main-content > section.s-block:nth-child(6)::before,
.theme-raed #main-content > section.s-block:nth-child(10)::before {
  content: "";
  position: absolute;
  inset: -1.5rem calc(50% - 50vw);
  background:
    radial-gradient(circle at 90% 10%, rgba(238,148,25,.10) 0, transparent 30%),
    linear-gradient(180deg, var(--ty-ice) 0%, rgba(238,244,251,0) 100%);
  z-index: -1;
}

/* ---------- E. Product page: spec sheet + trust strip ---------- */
.theme-raed .container--product-details .product__description .article p {
  margin: 0 !important;
  padding: .45rem .75rem;
  border-radius: 8px;
  position: relative;
  padding-inline-start: 1.6rem;
}
.theme-raed .container--product-details .product__description .article p:nth-of-type(odd) { background: var(--ty-ice-2); }
.theme-raed .container--product-details .product__description .article p::before {
  content: "";
  position: absolute;
  inset-inline-start: .6rem;
  top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ty-gold);
  transform: translateY(-50%);
}
.theme-raed .product-form .sticky-product-bar::after {
  content: "🔒 دفع آمن    ·    🚚 شحن سريع    ·    💬 دعم عبر واتساب";
  display: block;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px dashed var(--ty-line);
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ty-ink-2);
  white-space: pre;
}
html[dir="ltr"] .theme-raed .product-form .sticky-product-bar::after { content: "🔒 Secure payment    ·    🚚 Fast shipping    ·    💬 WhatsApp support"; }
@media (max-width: 767px) {
  .theme-raed.is-sticky-product-bar .product-form .sticky-product-bar::after { display: none; }
  .theme-raed .product-form .sticky-product-bar::after { white-space: normal; }
}
/* gallery: framed main image + rounded thumbs */
.theme-raed .container--product-details .sidebar { position: relative; }
.theme-raed .container--product-details .sidebar::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border: 18px solid var(--ty-gold);
  border-radius: 50%;
  opacity: .08;
  inset-inline-end: -60px; top: -50px;
  pointer-events: none;
  z-index: 0;
}
/* v4.1 bento balance: hero product + 4 = perfect 4x2 grid; badge centred */
@media (min-width: 1024px) {
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :nth-child(n+6) { display: none !important; }
  .theme-raed #main-content > section.s-block:has(.s-block__display-all[href*="DwNoWb"]) .s-products-list-vertical-cards > :first-child::before {
    inset-inline-end: auto !important; left: 50% !important; right: auto !important; transform: translateX(-50%);
  }
}
/* v4.2 mobile rails: keep the full button label visible */
@media (max-width: 640px) {
  .theme-raed #main-content > section[data-testid="store-home-fixed-products"] .s-products-list-vertical-cards > * { flex-basis: 46% !important; }
  .theme-raed custom-salla-product-card .s-product-card-content-footer .s-button-element { padding-inline: .3rem !important; font-size: .74rem !important; white-space: nowrap; }
  .theme-raed custom-salla-product-card .s-product-card-content-footer .s-button-element .s-button-text { gap: .25rem; overflow: visible; }
}

/* ---------- v3.2 refinements ---------- */
/* F. Compare-at (old) prices — readable, not faint */
.theme-raed custom-salla-product-card .s-product-card-sale-price span,
.theme-raed .container--product-details .line-through,
.theme-raed .container--product-details .main-content > div.flex span.line-through,
.theme-raed .cart-item .line-through,
.theme-raed salla-cart-summary .line-through {
  color: #5F6E84 !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  text-decoration: line-through !important;
  text-decoration-color: rgba(194,65,12,.6) !important;
  text-decoration-thickness: 1.5px !important;
}
@media (max-width: 640px) {
  .theme-raed custom-salla-product-card .s-product-card-sale-price span { font-size: .8rem !important; }
}

/* G. Wishlist heart — bottom corner of the photo so it never covers the brand mark or promo badge */
.theme-raed custom-salla-product-card .s-product-card-image .s-product-card-wishlist-btn {
  top: auto !important;
  bottom: 10px !important;
}

/* H. Product page — description preview shows real text, price + buy box joined into one card */
.theme-raed .article--main[style*="5.25rem"] { max-height: 12rem !important; }
.theme-raed .article--main h3 { margin: .15rem 0 .35rem !important; font-size: 1rem !important; color: var(--ty-navy) !important; }
.theme-raed .article--main p { margin: 0 0 .4rem !important; }
.theme-raed form.product-form > section.rounded-b-none:not(.sticky-product-bar) {
  border-end-start-radius: 0 !important;
  border-end-end-radius: 0 !important;
  box-shadow: none !important;
}
.theme-raed form.product-form > section.sticky-product-bar {
  border-start-start-radius: 0 !important;
  border-start-end-radius: 0 !important;
}

/* I. Product comments — clinical ice band instead of grey */
.theme-raed .s-comments.s-comments-product {
  background: var(--ty-ice) !important;
  border-block: 1px solid var(--ty-line);
}
.theme-raed .s-comments textarea {
  background: #fff !important;
  border: 1px solid var(--ty-line) !important;
  border-radius: var(--ty-r) !important;
}
.theme-raed .s-comments textarea:focus {
  border-color: var(--ty-navy) !important;
  box-shadow: 0 0 0 3px rgba(11,77,145,.12) !important;
  outline: none !important;
}

/* J. Testimonials heading — same crown + underline as other section titles */
.theme-raed .s-reviews-header {
  position: relative;
  display: inline-block;
  color: var(--ty-navy) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  padding-bottom: .6rem;
  padding-inline-start: 1.6rem;
  margin-bottom: 1rem;
}
.theme-raed .s-reviews-header::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .38em;
  width: 18px; height: 14px;
  background: var(--ty-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M2 16h20l1-11-6 4-5-8-5 8-6-4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M2 16h20l1-11-6 4-5-8-5 8-6-4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.theme-raed .s-reviews-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 64px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ty-gold), var(--ty-navy));
}

/* K. Footer — hide the links column while its menu is empty (shows again automatically once links are added) */
.theme-raed .store-footer .container > div:has(> salla-menu .s-menu-footer-list:empty) { display: none !important; }


/* L. Description — clean prose paragraphs; gold-marked spec lists */
.theme-raed .container--product-details .product__description .article p {
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  margin: 0 0 .45rem !important;
  line-height: 1.85;
}
.theme-raed .container--product-details .product__description .article p::before { content: none !important; display: none !important; }
.theme-raed .container--product-details .product__description .article ul,
.theme-raed .container--product-details .product__description .article ol {
  margin: .25rem 0 .75rem !important;
  padding-inline-start: 1.25rem !important;
  list-style: disc;
}
.theme-raed .container--product-details .product__description .article ol { list-style: decimal; }
.theme-raed .container--product-details .product__description .article li { margin-bottom: .3rem; padding-inline-start: .2rem; }
.theme-raed .container--product-details .product__description .article li::marker { color: var(--ty-gold); font-weight: 800; }

/* ---------- M. Homepage layout: slim trust bar under the hero ---------- */
.theme-raed .s-block--features { margin-top: 1.25rem !important; margin-bottom: 1.5rem !important; }
.theme-raed .s-block--features > div {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  background: #fff;
  border: 1px solid var(--ty-line);
  border-radius: var(--ty-r-lg);
  box-shadow: var(--ty-shadow-sm);
  overflow: hidden;
}
.theme-raed .s-block--features .s-block--features__item {
  display: grid !important;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: .9rem;
  align-items: center;
  align-content: center;
  text-align: start !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 1rem 1.4rem !important;
  min-height: 0 !important;
  transform: none !important;
}
.theme-raed .s-block--features .s-block--features__item + .s-block--features__item { border-inline-start: 1px solid var(--ty-line) !important; }
.theme-raed .s-block--features .s-block--features__item .feature-icon {
  grid-row: 1 / span 2;
  width: 46px !important; height: 46px !important;
  min-width: 46px;
  margin: 0 !important;
  box-shadow: 0 0 0 3px var(--ty-gold-50), 0 0 0 4px rgba(238,148,25,.4) !important;
}
.theme-raed .s-block--features .s-block--features__item .feature-icon i { font-size: 1.15rem !important; }
.theme-raed .s-block--features .s-block--features__item h2 { margin: 0 !important; font-size: .95rem !important; align-self: end; }
.theme-raed .s-block--features .s-block--features__item p { margin: .1rem 0 0 !important; font-size: .8rem !important; align-self: start; color: var(--ty-muted) !important; }
@media (max-width: 640px) {
  .theme-raed .s-block--features .s-block--features__item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center !important;
    padding: .85rem .4rem !important;
    row-gap: .4rem;
  }
  .theme-raed .s-block--features .s-block--features__item .feature-icon { grid-row: auto; width: 40px !important; height: 40px !important; min-width: 40px; }
  .theme-raed .s-block--features .s-block--features__item h2 { font-size: .8rem !important; align-self: center; }
  .theme-raed .s-block--features .s-block--features__item p { display: none !important; }
}

/* ---------- N. Slider-type section headings (Best sellers, Shop by department) match other section titles ---------- */
.theme-raed .s-slider-block__title { align-items: flex-end !important; margin-bottom: 1.5rem !important; }
.theme-raed .s-slider-block__title-right h2 {
  position: relative;
  color: var(--ty-navy) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  padding-bottom: .6rem;
  padding-inline-start: 1.6rem;
}
.theme-raed .s-slider-block__title-right h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .38em;
  width: 18px; height: 14px;
  background: var(--ty-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M2 16h20l1-11-6 4-5-8-5 8-6-4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M2 16h20l1-11-6 4-5-8-5 8-6-4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.theme-raed .s-slider-block__title-right h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 64px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ty-gold), var(--ty-navy));
}
.theme-raed .s-slider-block__display-all {
  display: inline-flex; align-items: center;
  padding: .4rem .95rem;
  border-radius: 999px;
  background: var(--ty-ice);
  color: var(--ty-navy) !important;
  font-size: .8rem; font-weight: 700;
  transition: background .2s, color .2s;
}
.theme-raed .s-slider-block__display-all:hover { background: var(--ty-navy); color: #fff !important; }

/* M2. Trust bar stays three-across on phones */
html body.theme-raed section.s-block--features > div.grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
html body.theme-raed section.s-block--features > div.grid > .s-block--features__item { grid-column: auto !important; }
@media (max-width: 640px) {
  html body.theme-raed section.s-block--features .s-block--features__item + .s-block--features__item { border-inline-start: 1px solid var(--ty-line) !important; border-top: 0 !important; }
}