/* ==========================================================================
   SETUPMASTER — Yafa Theme  |  custom.css
   Rewrite: clean cascade, logical properties, fluid layout, no !important abuse
   CSS custom property tokens (from :root in app/index.html):
     --font-main: "Cairo"
     --color-primary: #246ed1
     --bg-primary: #ffffff
     --bg-secondary: #07162a
   ========================================================================== */

/* ─── LAYOUT TOKENS ──────────────────────────────────────────────────────────
 *
 * Single source of truth for the horizontal content band used across every
 * section. The navbar is w-[90%] centered, which at 1280px max-width leaves
 * ~64px of gutter on each side. Every custom element that controls its own
 * width is constrained to this same band so left/right edges always align.
 *
 * Usage:
 *   max-inline-size: var(--sm-max-w)
 *   padding-inline:  var(--sm-px)
 *   margin-inline:   auto
 * ─────────────────────────────────────────────────────────────────────────── */
:root {
  --sm-max-w: 1280px; /* matches Tailwind .container breakpoint  */
  --sm-px: clamp(1rem, 4vw, 2rem); /* horizontal padding — fluid, consistent */
}

/* ─── 1. NAVBAR — GLASSMORPHISM ──────────────────────────────────────────── */

/* ── Shell ── */
.main-navbar {
  /* Full-width glass bar pinned at top — Salla already sets position:fixed & z-20 */
  width: 100%;
  max-inline-size: 100%; /* override any previous width constraint    */
  left: 0;
  transform: none; /* cancel the Tailwind -translate-x-1/2 hack */
  top: 0;
  padding-block: 0;
  padding-inline: 0;

  /* Glassmorphism — exact Figma values */
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Bottom corners rounded, top flush with viewport edge */
  border-radius: 0 0 24px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);

  /* Crisp on retina */
  -webkit-font-smoothing: antialiased;
}

.dark .main-navbar {
  background: rgba(15, 25, 50, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ── Inner content band — mirrors every other section's max-width ── */
.sm-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-inline-size: var(--sm-max-w);
  margin-inline: auto;
  padding-inline: var(--sm-px);
  padding-block: 0.55rem;
  gap: 1.5rem;
  min-block-size: 60px;
}

/* ── Logo (right side in RTL) ── */
.sm-nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.sm-nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.sm-nav-logo img:hover {
  transform: scale(1.04);
  opacity: 0.88;
}

/* ── Center links strip ── */
.sm-nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
  min-inline-size: 0; /* allow shrinking below content size */
  overflow: visible; /* dropdowns must escape the flex row */
}

/* Individual nav link */
.sm-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-block: 0.45rem;
  padding-inline: 0.75rem;
  font-family: var(--font-main), sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4986d9;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
}

.dark .sm-nav-link {
  color: #fff;
}

.sm-nav-link:hover {
  background: rgba(73, 134, 217, 0.1);
  color: #246ed1;
  transform: translateY(-1px);
}

.sm-nav-link:active {
  transform: translateY(0);
  background: rgba(73, 134, 217, 0.16);
}

/* Chevron icon on links that have sub-menus */
.sm-nav-chevron {
  display: inline-flex;
  align-items: center;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

/* Rotate chevron when sub-menu is open (hover or click) */
.sm-nav-item:hover > .sm-nav-link .sm-nav-chevron,
.sm-nav-item.is-open > .sm-nav-link .sm-nav-chevron {
  transform: rotate(180deg);
}

/* ── Sub-menu dropdown (per nav-link) ── */
.sm-nav-item {
  position: relative;
  display: inline-flex;
}

.sm-nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(-6px); /* center under the link in RTL */
  min-inline-size: 200px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(73, 134, 217, 0.18);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  padding-block: 6px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.dark .sm-nav-dropdown {
  background: rgba(15, 25, 50, 0.94);
  border-color: rgba(73, 134, 217, 0.25);
}

/* Open on hover (desktop) or click (.is-open toggled by JS) */
.sm-nav-item:hover > .sm-nav-dropdown,
.sm-nav-item.is-open > .sm-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0);
}

.sm-nav-dropdown-link {
  display: block;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  font-family: var(--font-main), sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a2f5a;
  text-decoration: none;
  border-radius: 7px;
  margin-inline: 4px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.dark .sm-nav-dropdown-link {
  color: #e2eaf8;
}

.sm-nav-dropdown-link:hover {
  background: rgba(73, 134, 217, 0.1);
  color: #246ed1;
}

/* ── "المزيد" overflow button ── */
.sm-nav-more-wrap {
  position: relative; /* anchor for the absolutely-positioned panel */
  display: none; /* shown by JS .is-visible when links overflow */
}
.sm-nav-more-wrap.is-visible {
  display: block;
}

.sm-nav-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-block: 0.45rem;
  padding-inline: 0.75rem;
  font-family: var(--font-main), sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4986d9;
  background: none;
  border: none;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.dark .sm-nav-more {
  color: #fff;
}

.sm-nav-more:hover {
  background: rgba(73, 134, 217, 0.1);
  color: #246ed1;
}

/* Overflow dropdown panel */
.sm-nav-more-panel {
  position: absolute;
  top: calc(100% + 6px);
  /* RTL: align to the inline-start (right) edge of the "more" button */
  inset-inline-start: 0;
  min-inline-size: 180px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(73, 134, 217, 0.18);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  padding-block: 6px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.dark .sm-nav-more-panel {
  background: rgba(15, 25, 50, 0.92);
  border-color: rgba(73, 134, 217, 0.25);
}

.sm-nav-more-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sm-nav-more-panel .sm-nav-link {
  width: 100%;
  border-radius: 6px;
  margin-inline: 4px;
  inline-size: calc(100% - 8px);
}

/* ── Action icons (left side in RTL) ── */
.sm-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

/* Wrapper for each icon button */
.sm-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #4986d9;
  background: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.2s ease;
  position: relative;
}

.dark .sm-nav-icon {
  color: #fff;
}

.sm-nav-icon:hover {
  background: rgba(73, 134, 217, 0.1);
  transform: scale(1.12);
  color: #246ed1;
}

.sm-nav-icon:active {
  transform: scale(0.94);
}

.sm-nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Cart badge */
.sm-nav-cart-badge {
  position: absolute;
  top: 2px;
  inset-inline-end: 2px;
  min-width: 16px;
  height: 16px;
  padding-inline: 3px;
  background: #4986d9;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-main), sans-serif;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  transition:
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sm-nav-cart-badge.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Sun/moon icon inherits color from .sm-nav-icon */
.sun-and-moon > .sun {
  fill: currentColor;
}
.sun-and-moon > g.sun-beams {
  stroke: currentColor;
}

/* ── Hide the original Salla nav chrome (replaced by sm-nav-inner) ── */
/* Every direct child of .main-navbar except our injected .sm-nav-inner
   and .sm-nav-mobile-panel is hidden. This is the most reliable approach
   because Salla's Tailwind classes can change. */
.main-navbar > *:not(.sm-nav-inner):not(.sm-nav-mobile-panel) {
  display: none !important;
}

/* Mobile bottom nav dark-mode text */
.dark .mobile-nav-bottom a,
.dark .mobile-nav-bottom a svg,
.dark .mobile-nav-bottom button {
  color: #ffffff;
}

/* ── Mobile: collapse to hamburger below lg breakpoint ── */
@media (max-width: 1023px) {
  .sm-nav-links,
  .sm-nav-more {
    display: none;
  }

  .sm-nav-inner {
    justify-content: space-between;
  }

  /* Show mobile menu toggle */
  .sm-nav-mobile-toggle {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .sm-nav-mobile-toggle {
    display: none;
  }

  /* Mobile slide-down panel */
  .sm-nav-mobile-panel {
    display: none;
  }
}

/* Mobile slide-down panel */
.sm-nav-mobile-panel {
  position: fixed;
  top: 60px; /* matches .sm-nav-inner min-block-size */
  inset-inline: 0;
  max-block-size: calc(100dvh - 60px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(73, 134, 217, 0.15);
  border-radius: 0 0 20px 20px;
  padding-block: 0.5rem 1.5rem;
  padding-inline: var(--sm-px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  z-index: 9998;
}

.dark .sm-nav-mobile-panel {
  background: rgba(15, 25, 50, 0.96);
}

.sm-nav-mobile-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Mobile panel rows ── */
.sm-mob-link,
.sm-mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-block: 0.75rem;
  padding-inline: 0.5rem;
  font-family: var(--font-main), sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1a2f5a;
  text-decoration: none;
  border: none;
  background: none;
  border-bottom: 1px solid rgba(73, 134, 217, 0.08);
  cursor: pointer;
  text-align: start;
  transition: color 0.15s ease;
}

.dark .sm-mob-link,
.dark .sm-mob-header {
  color: #e2eaf8;
  border-bottom-color: rgba(73, 134, 217, 0.12);
}

.sm-mob-link:hover,
.sm-mob-header:hover {
  color: #4986d9;
}

.sm-mob-chev {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.22s ease;
  color: #4986d9;
}

.sm-mob-row.is-open .sm-mob-chev {
  transform: rotate(180deg);
}

/* Sub-link list — height animated via inline max-height */
.sm-mob-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: rgba(73, 134, 217, 0.04);
  border-radius: 0 0 8px 8px;
}

.dark .sm-mob-sub {
  background: rgba(73, 134, 217, 0.07);
}

.sm-mob-sub-link {
  display: block;
  padding-block: 0.6rem;
  padding-inline-start: 1.5rem;
  padding-inline-end: 0.5rem;
  font-family: var(--font-main), sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3a5a8a;
  text-decoration: none;
  border-bottom: 1px solid rgba(73, 134, 217, 0.06);
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.dark .sm-mob-sub-link {
  color: #a8c4e8;
}

.sm-mob-sub-link:last-child {
  border-bottom: none;
}

.sm-mob-sub-link:hover {
  color: #4986d9;
  background: rgba(73, 134, 217, 0.08);
}

/* Last row in panel — no bottom border */
.sm-nav-mobile-panel > *:last-child .sm-mob-link,
.sm-nav-mobile-panel > *:last-child .sm-mob-header {
  border-bottom: none;
}

/* ─── 2. HERO — BANNER BUILDER SECTION ──────────────────────────────────── */

/* Hide the Salla overlay that adds an unwanted tint */
.banners-builder-overlay-center {
  background: transparent;
}

/*
 * The banner section uses a full-bleed background image (set by Salla).
 * We suppress the default grid-image placeholder (empty src) and re-lay out
 * the content block to match the design: logo top-center, heading below,
 * video container beneath with the overlapping CTA button.
 *
 * The actual layout overlay (logo, heading, video) is injected by custom.js.
 * These rules style the injected .sm-hero-* classes.
 */

/* Hide the Salla-generated content areas inside the banner we're replacing */
.banners-builder-single-content-grid-image {
  display: none;
}
.banners-builder-single-content-informations-button-icon-wrapper {
  display: none;
}
/* Suppress the original informations block — our overlay renders instead */
.banners-builder-single-content-informations {
  display: none;
}

/* ── sm-hero: the full overlay container injected over the banner ── */
.sm-hero {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-block-start: clamp(5rem, 5vw, 4rem);
  padding-block-end: clamp(2rem, 5vw, 3rem);
  padding-inline: var(--sm-px);
  font-family: var(--font-main), sans-serif;
  text-align: center;
  z-index: 2;
}

/* Logo */
.sm-hero__logo {
  height: clamp(72px, 10vw, 104px);
  width: auto;
  object-fit: contain;
  margin-block-end: clamp(0.75rem, 2vw, 1.25rem);
  filter: drop-shadow(0 2px 12px rgba(36, 110, 209, 0.18));
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.sm-hero__logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 20px rgba(36, 110, 209, 0.35));
}

/* Main heading */
.sm-hero__heading {
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #07162a;
  line-height: 1.25;
  margin-block-end: clamp(1.5rem, 3.5vw, 2.5rem);
  max-inline-size: 720px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.dark .sm-hero__heading {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Video container — the "card" with rounded corners */
.sm-hero__video-wrap {
  position: relative;
  /* Width tracks the same content band as every other section */
  width: min(calc(100% - 2 * var(--sm-px)), 960px);
  border-radius: 24px;
  /*
   * overflow: visible so the absolutely-positioned CTA button can sit above
   * the card's top edge without being clipped. The video itself still clips
   * correctly because the <video> element uses border-radius: inherit and
   * object-fit: cover — the overflow of the card only affects the button.
   */
  overflow: visible;
  box-shadow:
    0 8px 32px rgba(36, 110, 209, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.18);
  /* Subtle entrance animation */
  animation: sm-video-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;

  margin: auto;
}
@keyframes sm-video-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Aspect ratio: ~16:9, collapses gracefully on small screens */
.sm-hero__video-wrap::before {
  content: "";
  display: block;
  padding-block-start: 56.25%;
}

.sm-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  /*
   * The wrap uses overflow:visible so the CTA can hang above. We clip the
   * video itself with border-radius + a clip-path that matches the card shape,
   * so the video never bleeds outside the rounded card even though the wrap
   * doesn't clip it.
   */
  border-radius: 24px;
  display: block;
}

/* ── CTA button ─────────────────────────────────────────────────────────────
 * Positioning rule: every :hover/:active transform MUST carry the full base
 * translate(-50%, -50%) so the button does not jump to origin.
 * ─────────────────────────────────────────────────────────────────────────*/

/* Arrow slides toward the destination on hover */
@keyframes sm-cta-nudge {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(4px);
  }
}

/* ── Button shell ───────────────────────────────────────────────────────── */

.sm-hero__cta {
  /* Hangs from the top edge of .sm-hero__video-wrap */
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;

  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-block: 0.72em;
  padding-inline: 2.2em;

  background: #246ed1;
  color: #ffffff;
  font-family: var(--font-main), sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 18px rgba(36, 110, 209, 0.4),
    0 1px 4px rgba(0, 0, 0, 0.14);

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);

  cursor: pointer;
  border: none;
}

/* ── Hover ──────────────────────────────────────────────────────────────── */

.sm-hero__cta:hover {
  background: #0048ab;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 3px rgba(36, 110, 209, 0.22),
    0 8px 28px rgba(36, 110, 209, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%) translateY(-3px) scale(1.05);
}

/* ── Active / pressed ───────────────────────────────────────────────────── */

.sm-hero__cta:active {
  transform: translate(-50%, -50%) scale(0.97);
  box-shadow:
    0 2px 10px rgba(36, 110, 209, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.16);
  transition-duration: 0.08s;
}

/* ── Arrow icon ─────────────────────────────────────────────────────────── */

.sm-hero__cta-icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sm-hero__cta:hover .sm-hero__cta-icon {
  animation: sm-cta-nudge 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* RTL: flip arrow so it points toward the page destination */
[dir="rtl"] .sm-hero__cta-icon {
  transform: scaleX(-1);
}
[dir="rtl"] .sm-hero__cta:hover .sm-hero__cta-icon {
  animation: none;
  transform: scaleX(-1) translateX(-4px);
}

/* ── Hide the original h-screen video div — replaced by sm-hero ── */
.divider + div.w-full.max-w-8xl {
  display: none;
}

/* ── Also hide the divider spacer — no longer needed ── */
.banners-builder + .divider {
  display: none;
}

/* ─── 3. SECTION HEADINGS (SVG badge shape) ─────────────────────────────── */
/*
 * The SVG (279×46) is a parallelogram with a diagonal notch on its left edge
 * (LTR coords). In RTL this notch lands on the visual END side of the text.
 * background-size: 100% 100% stretches it to any text width; the aspect-ratio
 * property anchors the block height so proportions never collapse.
 *
 * Padding geometry (RTL, so inline-start = right, inline-end = left):
 *   inline-start (right) — straight edge of SVG → 20px gutter
 *   inline-end   (left)  — diagonal notch at ~7% of width → 52px minimum
 * On mobile the element is narrower so the % notch is smaller; 30px suffices.
 */

/* The SVG data URI — defined once on :root so a single token drives all headings */
:root {
  --sm-heading-badge: url("data:image/svg+xml,%3Csvg width='279' height='46' viewBox='0 0 279 46' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M278.836 29.485C278.836 38.4693 271.553 45.7525 262.568 45.7525H30.553C26.4505 45.7525 22.4994 44.2024 19.4913 41.4128L5.23903 28.1954C-5.60546 18.1384 1.51061 0 16.3007 0H262.568C271.553 0 278.836 7.28324 278.836 16.2676V29.485Z' fill='%23246ED1'/%3E%3C/svg%3E");
}

.main-links-style-3 .main-links-style-3-heading-title,
.main-links-style-1 h2.main-links-style-1-heading-title,
.s-block--best-offers salla-products-slider .s-slider-block__title > div h2,
.enhanced-products-slider .section-heading-title,
.store-features-style-2-heading-title,
.faq-heading-title {
  /* SVG badge fills 100% of the element's own box */
  background-image: var(--sm-heading-badge);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;

  /* Erase previous gradient + border-radius styling */
  background-color: transparent;
  border-radius: 0;

  /* Fix height to match the 279×46 SVG aspect ratio so the shape is never squashed */
  min-block-size: 46px;

  /* Text sits within the badge shape:
       inline-start (right in RTL) — straight edge, 20px gutter
       inline-end   (left  in RTL) — diagonal cut, 52px keeps text clear of the notch */

  /* Remove theme border that the gradient previously replaced */
  border-inline-start: none;
  border-inline-end: none;
  border-inline-end-width: 0;

  /* Text styles */
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  width: fit-content;

  /* Vertically center text inside the fixed-height badge */
  display: inline-flex;
  align-items: center;
  padding: 32px 10px 34px 48px !important;
}

/* s-slider-block title: badge already sets padding; just keep inline-start safe */
.s-slider-block__title h2 {
  padding-inline-start: 20px;
}

@media (max-width: 767px) {
  .main-links-style-3 .main-links-style-3-heading-title,
  .main-links-style-1 h2.main-links-style-1-heading-title,
  .s-block--best-offers salla-products-slider .s-slider-block__title > div h2,
  .enhanced-products-slider .section-heading-title,
  .store-features-style-2-heading-title,
  .faq-heading-title {
    font-size: 16px;
    min-block-size: 38px;
    padding-inline-start: 16px;
    padding-inline-end: 36px;
    margin-right: 0px !important;
  }
}

/* ─── 4. CATEGORY LINKS (main-links-style-3) ────────────────────────────── */

.main-links-style-3-slider-single-content-overlay {
  background-image: none;
}

.main-links-style-3 .main-links-style-3-slider-single-content-image {
  object-fit: contain;
}

/* ─── 4b. ENHANCED PRODUCTS SLIDER — DISCOUNTS SECTION ──────────────────── */

/* ── Outer section: remove default padding so our layout owns the spacing ── */
section.enhanced-products-slider {
  padding-block: 2rem;
}

section.enhanced-products-slider > .container {
  padding-inline: var(--sm-px);
}

/* ── PROMO BANNER COLUMN ─────────────────────────────────────────────────── */
section.enhanced-products-slider .main-links-style-3-slider-single {
  /* ~26% width set by theme's lg:w-4/6 lg:max-w-[26%] — we just shape the card */
  flex-shrink: 0;
  padding: 0 !important;
}

section.enhanced-products-slider .main-links-style-3-slider-single-wrapper {
  height: 100%;
}

/* Card shell — full-height dark card */
section.enhanced-products-slider .main-links-style-3-slider-single-content {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 0;
  height: 100%;
  min-block-size: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #07162a;
}

/* Full-bleed background image */
section.enhanced-products-slider
  .main-links-style-3-slider-single-content-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  transition: transform 0.6s ease;
}

section.enhanced-products-slider
  .main-links-style-3-slider-single-content:hover
  .main-links-style-3-slider-single-content-image {
  transform: scale(1.04);
}

/* Gradient overlay — dark at bottom, lighter at top */
section.enhanced-products-slider
  .main-links-style-3-slider-single-content-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 22, 42, 0.55) 0%,
    rgba(7, 22, 42, 0.3) 35%,
    rgba(7, 22, 42, 0.75) 70%,
    rgba(7, 22, 42, 0.95) 100%
  );
  z-index: 1;
  background-image: linear-gradient(
    to bottom,
    rgba(7, 22, 42, 0.55) 0%,
    rgba(7, 22, 42, 0.3) 35%,
    rgba(7, 22, 42, 0.75) 70%,
    rgba(7, 22, 42, 0.95) 100%
  );
}

/* Informations block — stacks content over the image */
section.enhanced-products-slider
  .main-links-style-3-slider-single-content-informations {
  position: relative;
  z-index: 2;
  top: unset;
  left: unset;
  right: unset !important;
  width: 100%;
  padding: 20px 20px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Product title — large, white, bold */
section.enhanced-products-slider
  .main-links-style-3-slider-single-content-title {
  max-width: 100% !important;
}

section.enhanced-products-slider
  .main-links-style-3-slider-single-content-title
  h2 {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 800;
  line-height: 1.45;
  color: #ffffff !important;
  text-align: end;
  margin-block-end: 0.5rem;
}

/* Description line */
section.enhanced-products-slider
  .main-links-style-3-slider-single-content-description {
  font-size: 24px;
  text-align: center;
  margin-block-end: 0.75rem;
  line-height: 1.4;
}

/* CTA button — solid blue, full pill */
.enhanced-products-slider-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4986d9 !important;
  color: #ffffff !important;
  font-family: var(--font-main), sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  border: none !important;
  padding-block: 10px;
  padding-inline: 28px;
  width: fit-content;
  margin-inline: auto;
  transition:
    background 0.22s ease,
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease;
  text-decoration: none;
}

.enhanced-products-slider-action-button:hover {
  background: #2f6abf !important;
  color: #ffffff !important;
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(73, 134, 217, 0.45);
}

/* Button wrapper centering */
section.enhanced-products-slider .enhanced-products-slider-action {
  display: flex;
  justify-content: center;
  margin-block: 16px;
}

/* ── HEADING — pill badge + "view all" link inside the slider column ── */

/* Header row */
section.enhanced-products-slider .enhanced-products-slider-heading {
  padding-inline: 0;
  margin-block-end: 16px;
}

section.enhanced-products-slider .enhanced-products-slider-heading > div {
  align-items: center;
  gap: 12px;
}

/* "View all" link */
.enhanced-products-slider-heading-action {
  background-image: none !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #4986d9 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  animation: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  margin-block: 0 !important;
  transition:
    color 0.18s ease,
    gap 0.18s ease;
}

.enhanced-products-slider-heading-action::before {
  display: none !important;
}

.enhanced-products-slider-heading-action:hover {
  color: #246ed1 !important;
  gap: 10px;
}

/* ── Swiper nav buttons — match brand style ── */
.enhanced-products-slider-swiper-actions-start-prev,
.enhanced-products-slider-swiper-actions-start-next {
  color: #4986d9;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.enhanced-products-slider-swiper-actions-start-prev:hover,
.enhanced-products-slider-swiper-actions-start-next:hover {
  color: #246ed1;
  transform: scale(1.15);
}

/* ── Mobile: stack banner above slider ── */
@media (max-width: 1023px) {
  section.enhanced-products-slider .main-links-style-3-slider-single {
    width: 100% !important;
    max-width: 100% !important;
  }

  section.enhanced-products-slider .main-links-style-3-slider-single-content {
    min-block-size: 280px;
    flex-direction: row;
    align-items: stretch;
  }

  section.enhanced-products-slider
    .main-links-style-3-slider-single-content-informations {
    padding: 16px;
    justify-content: center;
  }

  .sm-eps-stock {
    padding-inline: 16px;
    padding-block-end: 16px;
  }
}

@media (max-width: 767px) {
  section.enhanced-products-slider .main-links-style-3-slider-single-content {
    min-block-size: 220px;
  }

  section.enhanced-products-slider
    .main-links-style-3-slider-single-content-title
    h2 {
    font-size: 1rem;
  }

  .enhanced-products-slider-action-button {
    font-size: 0.82rem;
    padding-block: 8px;
    padding-inline: 20px;
  }
}

/* ─── 5. CATEGORY LINKS (main-links-style-1) ────────────────────────────── */

.main-links-style-1-slider-single-content {
  /* Glassmorphism card — exact brand background token */
  background-color: rgba(107, 187, 255, 0.1); /* #6BBBFF1A */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Card shape */
  display: flex;
  flex-direction: column-reverse;
  border-radius: 14px;
  overflow: hidden;
  padding: 10px 10px 8px;

  /* Subtle glowing border */
  border: 1px solid rgba(107, 187, 255, 0.25);

  /* Ambient glow — resting state */
  box-shadow:
    0 4px 16px rgba(36, 110, 209, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Smooth transition for all hover effects */
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;

  /* Cancel theme's margin-bottom so slider controls spacing */
  margin-bottom: 0;
}

/* Hover: lift + intensified glow */
.main-links-style-1-slider-single-content:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(107, 187, 255, 0.55);
  box-shadow:
    0 12px 32px rgba(36, 110, 209, 0.35),
    0 0 0 1px rgba(107, 187, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Image area — fills card, rounded top corners */
.main-links-style-1-slider-single-content-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0;
  aspect-ratio: 1 / 1;
}

.main-links-style-1-slider-single-content-image-source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.main-links-style-1-slider-single-content:hover
  .main-links-style-1-slider-single-content-image-source {
  transform: scale(1.06);
}

/* Title — always white, centered, below image */
.main-links-style-1-slider-single-content-title {
  margin-bottom: 6px;
  margin-top: 2px;
}

.main-links-style-1-slider-single-content-title > a > h4 {
  color: #07162a;
  font-weight: 800;
  font-size: 18px;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* Dark mode — already looks correct; keep box-shadow in sync */
.dark .main-links-style-1-slider-single-content {
  box-shadow:
    0 4px 20px rgba(36, 110, 209, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dark .main-links-style-1-slider-single-content:hover {
  box-shadow:
    0 14px 36px rgba(36, 110, 209, 0.45),
    0 0 0 1px rgba(107, 187, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dark .main-links-style-1-slider-single-content-title > a > h4 {
  color: #ffffff;
}

.dark h3.main-links-style-1-heading-subtitle {
  color: #ffffff;
}

/* Static-banners + links-1 overlay variant */
section.static-banners
  + section.main-links-style-1
  .main-links-style-1-slider-single-content {
  background-color: transparent;
  box-shadow: none;
}

section.static-banners
  + section.main-links-style-1
  .main-links-style-1-slider-single-content
  div.main-links-style-1-slider-single-content-title {
  position: absolute;
  z-index: 10;
  inset-inline-end: 35px;
}

section.static-banners
  + section.main-links-style-1
  .main-links-style-1-slider-single-content
  div.main-links-style-1-slider-single-content-title
  > a
  > h4 {
  color: #ffffff;
}

@media (max-width: 767px) {
  .static-banners
    + .main-links-style-1
    .main-links-style-1-slider-single-content {
    margin-block-end: 0;
    padding: 5px;
  }
}

/* Hide the button on banner-builder sections that follow links-1 */
section.main-links-style-1
  + .banners-builder
  .banners-builder-single-content-informations-button {
  display: none;
}

/* ─── 5b. ACCESSORIES GRID SECTION (.sm-acc-section) ────────────────────────
 * Scoped to the grid-based accessories section only (JS adds .sm-acc-section).
 * All rules here are prefixed sm-acc- and do NOT affect the GPU/PC swiper
 * sections which share the .main-links-style-1 class.
 * ─────────────────────────────────────────────────────────────────────────── */

/* ── Grid wrapper — 9-column base ── */
.sm-acc-section .grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr) !important;
  grid-template-rows: repeat(2, 200px) !important;
  overflow: hidden;
  gap: 20px 10px;
  padding-inline: var(--sm-px);
}

/* Row 1: each of the first 3 slides spans 3 of the 9 columns */
.sm-acc-section .grid > .sm-acc-col-3 {
  grid-column: span 3;
}

/* Row 2: asymmetric spans — 4 + 3 + 2 = 9 */
.sm-acc-section .grid > .sm-acc-col-4 {
  grid-column: span 4;
}
.sm-acc-section .grid > .sm-acc-col-2 {
  grid-column: span 2;
}

/* Tablet: collapse to 2-column equal grid */
@media (max-width: 1023px) {
  .sm-acc-section .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sm-acc-section .grid > [class*="sm-acc-col-"] {
    grid-column: span 1;
  }
}

/* Mobile: single column */
@media (max-width: 639px) {
  .sm-acc-section .grid {
    grid-template-columns: 1fr;
  }
}

/* ── Card shell ── */
.sm-acc-section .main-links-style-1-slider-single-content {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  flex-direction: column;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
  position: relative;
  width: 100%;
  height: 200px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sm-acc-section .main-links-style-1-slider-single-content:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 12px 36px rgba(36, 110, 209, 0.4),
    0 0 0 2px rgba(73, 134, 217, 0.5);
}

/* ── Full-bleed image layer ── */
.sm-acc-section .main-links-style-1-slider-single-content-image {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: unset;
  margin-bottom: 0;
  z-index: 0;
}

.sm-acc-section .main-links-style-1-slider-single-content-image-source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sm-acc-section
  .main-links-style-1-slider-single-content:hover
  .main-links-style-1-slider-single-content-image-source {
  transform: scale(1.07);
}

/* No gradient overlay — images show clean */
.sm-acc-section .main-links-style-1-slider-single-content::after {
  content: none;
}

/* ── Title — pinned to bottom-START (opposite / left side in RTL) ──
 * No overlay means text needs its own readable background.
 * A frosted pill provides contrast without obscuring the image.          */
.sm-acc-section .main-links-style-1-slider-single-content-title {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-start: 14px; /* left side in RTL = visual "opposite" */
  z-index: 2;
  margin: 0;
}

.sm-acc-section .main-links-style-1-slider-single-content-title > a > h4 {
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: start;
  letter-spacing: 0.01em;

  /* Frosted pill — readable on any image without a full overlay */
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding-block: 5px;
  padding-inline: 12px;
  border-radius: 999px;
  display: inline-block;
}

@media (max-width: 767px) {
  .sm-acc-section .main-links-style-1-slider-single-content-title > a > h4 {
    font-size: 0.8rem;
    padding-block: 4px;
    padding-inline: 10px;
  }
  .sm-acc-section .main-links-style-1-slider-single-content-title {
    inset-block-end: 10px;
    inset-inline-start: 10px;
  }
}

/* ─── 6. PRODUCT CARDS ───────────────────────────────────────────────────── */

/* ── Equal-height product cards ──────────────────────────────────────────
 * The theme sets height:100% on .product-card but the wrapping custom
 * element and its inner chain are not flex columns, so cards collapse to
 * their natural content height instead of filling the swiper slide.
 *
 * Fix: make every ancestor in the chain a flex column that grows to fill
 * its parent, then let .product-card-content (the scrollable inner area)
 * absorb remaining space with flex:1.  The image keeps a fixed aspect
 * ratio so varying title lengths are the only source of height difference,
 * and those are resolved by the flex-grow on the meta block.
 * ─────────────────────────────────────────────────────────────────────── */

/* Swiper slide — stretch to the tallest card in the row */
.s-products-slider-card {
  display: flex;
  align-items: stretch;
}

/* Web-component host and inner wrapper — propagate height downward */
custom-salla-product-card,
.product-card-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

/* Card root — flex column so actions pin to the bottom */
.product-card {
  border: 2px solid #4986d9;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* The anchor wrapping .product-card-content — must grow */
a.product-card-content-meta-title {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-block-size: 0; /* prevent overflow past card boundary */
}

/* Inner content block — flex column, fills anchor height */
.product-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Image: fixed square aspect ratio — same on every card */
.product-card-content-media {
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  overflow: hidden;
}

.product-card-content-media-image-link,
.product-card-content-media-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Meta block — absorbs all remaining height so cards align at the bottom */
.product-card-content-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Title text */
.product-card-content-meta h4 {
  color: #4986d9;
}

.product-card-content-meta-pricing-current-not-discounted {
  color: #4986d9;
}

.product-card-actions-add-to-cart {
  color: #ffffff;
  background-color: #4986d9;
}

@media (max-width: 767px) {
  .product-card-actions-wishlist {
    display: block;
  }
}

/* ─── 7. BANNER BUILDER — LIGHT/DARK TITLE COLOUR ───────────────────────── */

html:not(.dark) h1.banners-builder-single-content-informations-title {
  color: #123769;
}

html.dark
  .banners-builder-single-content
  .banners-builder-single-content-informations
  h1.banners-builder-single-content-informations-title {
  color: #ffffff;
}

/* ─── 8. DARK-MODE STATIC BANNER IMAGES (handled by JS, CSS fallback) ───── */
/* JS swaps img.src; no content: url() override needed — avoids !important */

/* ─── 9. WHO-ARE-WE SECTIONS ─────────────────────────────────────────────── */

.who-are-we > div > div {
  display: flex;
  flex-direction: row-reverse;
}

.who-are-we-2 > div > div {
  display: flex;
  flex-direction: row;
}

.second_txt1,
.second_txt2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.anime-item-1 {
  padding: 20px;
  border: 1px solid #4884d6;
  border-radius: 20px;
  background: linear-gradient(
    31deg,
    rgba(138, 56, 245, 0.19),
    rgba(36, 110, 209, 0.17)
  );
}

.btn-who-are-we,
.btn-who-are-we-2 {
  background: #4884d6;
  color: #ffffff;
  padding-block: 10px;
  padding-inline: 50px;
  border-radius: 50px;
  width: fit-content;
  border: none;
  font-family: var(--font-main), sans-serif;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.btn-who-are-we:hover,
.btn-who-are-we-2:hover {
  background: var(--color-primary-dark, #0048ab);
  transform: scale(1.03);
}

.dark .fonthed-who-are-we,
.dark .faq-heading-subtitle {
  color: #ffffff;
}

@media (max-width: 767px) {
  .who-are-we > div > div,
  .who-are-we-2 > div > div {
    flex-direction: column-reverse;
  }

  .btn-who-are-we,
  .btn-who-are-we-2 {
    font-size: 1.1rem;
  }
}

/* ─── 10. STORE FEATURES ────────────────────────────────────────────────── */

.store-features-style-2-content-wrapper {
  justify-content: center;
}

.store-features-style-2-content-single-icon {
  justify-content: center;
}

.store-features-style-2-content-single-title {
  color: #07162a;
  font-size: 15px;
  text-align: center;
  text-shadow: 0 0 7px rgba(36, 110, 209, 0.5);
}

div.store-features-style-2-content-single {
  border: 1px solid #0048ab;
}

.store-features-style-2-content-single-icon-box {
  background: rgba(107, 187, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  border: 1px solid rgba(107, 187, 255, 0.22);
  box-shadow:
    0 4px 16px rgba(36, 110, 209, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ─── 11. FAQ / STORE LOCATION ───────────────────────────────────────────── */

.faq-heading-title,
.faq-heading-subtitle {
  text-align: start;
  margin-inline: unset;
}

.faq-heading-divider {
  display: none;
}

.store-location-embed {
  padding: 20px;
  border: 1px solid #2673d2;
  background: linear-gradient(
    31deg,
    rgba(138, 56, 245, 0.19),
    rgba(36, 110, 209, 0.17)
  );
}

@media (max-width: 767px) {
  .store-location-embed {
    height: 33vh;
  }
}

/* ─── 12. PRODUCT SINGLE PAGE ───────────────────────────────────────────── */

.product-single .product-details-meta-title {
  font-size: 19px;
  color: #1a1a1a;
  line-height: 30px;
}

.product-single .product-details-meta > div {
  color: #1a1a1a;
}

.product-single .total-price {
  color: #246ed1;
}

.product-single .sticky-product-bar__name {
  color: #246ed1;
}

.product-single .product-details-meta h1,
.product-single .product-details-meta h2,
.product-single .product-details-meta h3,
.product-single .product-details-meta h4 {
  color: #0d0d0d;
  font-size: 15px;
}

.dark .product-single .product-details-meta h1,
.dark .product-single .product-details-meta h2,
.dark .product-single .product-details-meta h3,
.dark .product-single .product-details-meta h4 {
  color: #ffffff;
  font-size: 15px;
}

.dark .product-single .product-details-meta > div {
  color: #ffffff;
}

/* ─── 13. CUSTOM PRODUCT OPTIONS DROPDOWN ───────────────────────────────── */

/* Strip Salla's default wrapper chrome so only our custom UI shows */
.s-product-options-option-content {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.s-product-options-option-content::before,
.s-product-options-option-content::after {
  display: none;
  content: none;
}

.s-product-options-option,
.s-product-options-option-container {
  border: none;
  box-shadow: none;
  background: transparent;
}

.s-product-options-option::before,
.s-product-options-option::after {
  display: none;
  content: none;
}

/* Allow the absolute-positioned options panel to overflow its container */
salla-product-options,
.s-product-options-wrapper,
.s-product-options-option-container,
.s-product-options-option,
.s-product-options-option-content {
  overflow: visible;
}

/* ── sm-* custom select (injected by custom.js) ── */

.sm-custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
  margin-block-start: 8px;
  z-index: 10;
}

.sm-custom-select-wrapper.is-open {
  z-index: 99999;
}

.sm-custom-select-trigger {
  background-color: #e0eefa;
  border: 1px solid transparent;
  color: #07162a;
  border-radius: 8px;
  padding-block: 14px;
  padding-inline: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main), sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.sm-custom-select-wrapper.is-open .sm-custom-select-trigger {
  border-end-start-radius: 0;
  border-end-end-radius: 0;
}

.sm-select-arrow {
  font-size: 12px;
  color: #07162a;
  transition: transform 0.25s ease;
  line-height: 1;
}

.sm-custom-select-wrapper.is-open .sm-select-arrow {
  transform: rotate(180deg);
}

.sm-custom-options {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  inset-inline-end: 0;
  background-color: #e0eefa;
  border: 1px solid transparent;
  border-block-start: 1px solid #dcdfe4;
  border-end-start-radius: 8px;
  border-end-end-radius: 8px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  max-block-size: 250px;
  overflow-y: auto;
}

.sm-custom-select-wrapper.is-open .sm-custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sm-custom-option {
  padding-block: 14px;
  padding-inline: 20px;
  color: #07162a;
  cursor: pointer;
  font-family: var(--font-main), sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: end;
  border-block-end: 1px solid #dcdfe4;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.sm-custom-option:last-child {
  border-block-end: none;
}

.sm-custom-option:hover {
  background-color: rgba(36, 110, 209, 0.08);
  color: #246ed1;
}

.sm-custom-option.is-selected {
  color: #246ed1;
}

/* Dark mode */
html.dark .sm-custom-select-trigger {
  background-color: #0f1d32;
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

html.dark .sm-custom-select-wrapper.is-open .sm-custom-select-trigger {
  border-block-end-color: transparent;
}

html.dark .sm-select-arrow {
  color: #ffffff;
}

html.dark .sm-custom-options {
  background-color: #0f1d32;
  border-color: rgba(255, 255, 255, 0.08);
  border-block-start-color: rgba(255, 255, 255, 0.04);
}

html.dark .sm-custom-option {
  color: #ffffff;
  border-block-end-color: rgba(255, 255, 255, 0.04);
}

html.dark .sm-custom-option:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #79a3d4;
}

/* ─── 14. FOOTER ─────────────────────────────────────────────────────────── */

.footer-meta {
  flex-direction: row;
}

/* Logo in footer — taller than Salla's default h-16 */
.footer-meta div:first-child > a.h-16 {
  width: auto;
  height: 120px;
}

/* Footer description text */
.footer-wrapper .footer-meta > div:first-child > div > p {
  color: #ffffff;
}

/* Hide Salla's "Powered by Salla" copyright line */
.copyright-text {
  display: none;
}

/* Footer nav links & contact items */
salla-contacts > h3,
.s-contacts-item {
  color: #ffffff;
}

/* Footer menu links — scoped to footer; no nth-child */
.footer-meta salla-menu div > a {
  color: #ffffff;
}

/* "روابط مهمة" heading inside footer */
.footer-wrapper .footer-meta .space-y-4 h3 {
  color: #ffffff;
}

@media (max-width: 767px) {
  .footer-meta {
    flex-direction: column;
  }

  .footer-wrapper .footer-meta > div:first-child > div > p {
    text-align: center;
  }

  .commercial-info-container {
    gap: 5px;
    justify-content: center;
  }

  .address-main-title {
    text-align: center;
  }

  .s-menu-footer-list {
    text-align: center;
  }

  /* Clear space above mobile nav bar */
  .footer-meta + div {
    padding-block-end: 53px;
  }
}

/* ─── 15. FOOTER — ADDRESS BLOCK ─────────────────────────────────────────── */

.custom-address-container {
  background-color: transparent;
  color: #ffffff;
  padding-block: 1.5rem;
  padding-inline: var(--sm-px);
  font-family: var(--font-main), sans-serif;
  direction: rtl;
  width: 100%;
  max-inline-size: 450px;
  box-sizing: border-box;
}

.address-main-title {
  font-size: 18px;
  font-weight: 700;
  margin-block-end: 25px;
  text-align: end;
}

.address-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-block-end: 25px;
}

.address-item:last-child {
  margin-block-end: 0;
}

.address-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-block-start: 4px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.address-link {
  color: #ffffff;
  text-decoration: none;
  display: block;
  text-align: end;
  transition: color 0.25s ease;
}

.address-link:hover {
  color: var(--color-primary-light, #4a94f7);
}

.address-en {
  font-size: 15px;
  line-height: 1.8;
  direction: ltr;
}

.address-mixed {
  font-size: 15px;
  line-height: 2;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.ltr-text {
  direction: ltr;
  display: inline-block;
}

/* ─── 16. FOOTER — COMMERCIAL INFO ──────────────────────────────────────── */

.commercial-info-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-block: 1.25rem;
  padding-inline: var(--sm-px);
  direction: rtl;
  color: #ffffff;
  flex-wrap: wrap;
}

.commercial-logo {
  width: 65px;
  height: auto;
  object-fit: contain;
}

.info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.info-title {
  font-size: 16px;
  font-weight: 700;
}

.info-number {
  font-size: 15px;
  font-weight: 700;
  direction: ltr;
}

/* ─── 17. FOOTER — BOTTOM MAP LINK ──────────────────────────────────────── */

.custom-bottom-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 1rem;
  padding-inline: var(--sm-px);
  direction: rtl;
}

.custom-bottom-map-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: stroke 0.25s ease;
}

.custom-bottom-map-link a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-main), sans-serif;
  font-size: 14px;
  transition: color 0.25s ease;
}

.custom-bottom-map-link:hover svg {
  stroke: #246ed1;
}

.custom-bottom-map-link:hover a {
  color: var(--color-primary-light, #4a94f7);
}

.custom-bottom-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20%;
}

.custom-bottom-image img {
  max-inline-size: 100%;
  width: 52px;
  height: auto;
  object-fit: contain;
}

.banners-builder-single-content {
  display: none !important;
}

.section-heading-title {
  font-size: 26px;
  min-block-size: 38px;
  padding-block: 13px !important;
  padding-inline-start: 22px !important;
  padding-inline-end: 75px !important;
}

.main-links-style-3 h2,
.store-features-style-2 h2,
.s-slider-block__title-right,
.main-links-style-1 h2,
.s-slider-block__title-right h2 {
  font-size: 29px;
  min-block-size: 38px;
  padding-block: 18px !important;
  padding: 20px 10px 20px 102px !important;
}

.product-card-content-meta-title h4 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-content-meta-subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

section#best-offers-5-slider {
  margin: 37px auto;
}

/* ─── DISCOUNT BANNER ────────────────────────────────────────────────────── */

section.discount-banner {
  padding-block: 1rem;
}

section.discount-banner .container {
  padding-inline: var(--sm-px);
}

/* Card — glassmorphism pill */
.discount-banner-content {
  background-color: rgba(73, 134, 217, 0.2) !important; /* #4986D933 */
  backdrop-filter: blur(79.86px) !important;
  -webkit-backdrop-filter: blur(79.86px) !important;

  /* Glass rim + ambient glow + spec inset highlight */
  border: 1px solid rgba(107, 187, 255, 0.28) !important;
  box-shadow:
    0px 0.8px 31.94px 0px rgba(227, 222, 255, 0.2) inset,
    0 8px 32px rgba(36, 110, 209, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;

  border-radius: 16px !important;
  padding-block: 33px !important;
  padding-inline: 28px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

/* Heading row — icon + title side by side */
.discount-banner-content-heading {
  display: flex !important;
  flex-direction: row !important;
  /* align-items: !important; */
  justify-content: flex-start;
  gap: 12px !important;
  flex: 1;
}

/* Hide the gift icon — design shows text only */
.discount-banner-content-heading-icon {
  display: none !important;
}

/* Title text */
.discount-banner-content-heading-title {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  /* color: var(--heading-color, #07162a) !important; */
  color: #07162a !important;
  text-align: right !important;
  margin: 0 !important;
  white-space: nowrap;
}

.dark .discount-banner-content-heading-title {
  color: #ffffff !important;
}

/* Actions area — button only (counter hidden below) */
.discount-banner-content-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0;
}

/* Hide the countdown timer */
.discount-banner-content-actions salla-count-down,
.discount-banner-content-actions .s-count-down-wrapper {
  display: none !important;
}

/* CTA button */
.discount-banner-content-actions-button {
  background-color: #246ed1 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding-block: 10px !important;
  padding-inline: 24px !important;
  font-family: var(--font-main), sans-serif;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.22s ease,
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease;
}

.discount-banner-content-actions-button:hover {
  background-color: #1a5ab8 !important;
  color: #ffffff !important;
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(36, 110, 209, 0.4);
}

/* Hide arrow inside button — design shows text only */
.discount-banner-content-actions-button
  .social-banner-content-actions-button-arrow {
  display: none;
}

/* Button text — remove bottom margin from design quirk */
.social-banner-content-actions-button-text {
  margin-bottom: 0 !important;
  font-weight: 600 !important;
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .discount-banner-content {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 14px !important;
    padding-block: 16px !important;
    padding-inline: 20px !important;
  }

  .discount-banner-content-heading {
    width: 100%;
    justify-content: center !important;
  }

  .discount-banner-content-heading-title {
    font-size: 0.95rem !important;
    white-space: normal;
  }

  .discount-banner-content-actions {
    width: 100%;
    justify-content: center;
  }
}

.static-banners {
  max-width: var(--sm-max-w);
  margin: auto;
}

img.static-banners-single-default-image.w-full {
  object-fit: cover !important;
}

/* ─── DESCRIPTIVE SECTIONS ───────────────────────────────────────────────── */

/* Section shell — dark navy background, no extra padding */
section.descriptive {
  overflow: hidden;
  padding-block: 0;
}

/* Remove container horizontal padding — image needs to reach the edge */
section.descriptive > .container {
  padding-inline: 0;
}

section.descriptive .descriptive-wrapper {
  text-align: start;
}

/* Grid: two equal halves, no gap — image and text are flush */
section.descriptive .descriptive-grid {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  max-width: 100%;
  margin: 0;
  min-block-size: 420px;
  align-items: stretch;
}

/* ── TEXT HALF ── */
section.descriptive .descriptive-heading {
  flex: 0 0 50%;
  max-width: 50%;
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

/* Reset theme's space-y — we control gaps explicitly */
section.descriptive .descriptive-heading > * + * {
  margin-top: 0 !important;
}

/* Title */
section.descriptive .descriptive-heading-title {
  font-size: clamp(1.3rem, 2.8vw, 1.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-block-end: 1.25rem;
  text-align: start;
  color: #07162a;
}

/* Description */
section.descriptive .descriptive-heading-description {
  font-size: 0.275rem !important;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  opacity: 1;
  margin-block-end: 2rem;
  max-width: 100%;
  margin-inline: 0;
  text-align: start;
}

section.descriptive .descriptive-heading-description p {
  margin: 0;
}

/* CTA button */
section.descriptive .descriptive-heading-action {
  justify-content: flex-start !important;
  margin-block-start: 0;
}

section.descriptive .descriptive-heading-action-button {
  background-color: #246ed1 !important;
  color: #ffffff !important;
  border-radius: 999px;
  padding-block: 8px;
  padding-inline: 27px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  text-decoration: none;
  transition:
    background 0.22s ease,
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease;
}

section.descriptive .descriptive-heading-action-button:hover {
  background-color: #1a5ab8 !important;
  color: #ffffff !important;
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(36, 110, 209, 0.4);
}

section.descriptive .descriptive-heading-action-button-text {
  color: #ffffff !important;
  font-size: 0.9rem;
  margin-bottom: 0 !important;
  font-weight: 700;
}

section.descriptive .descriptive-heading-action-button-icon {
  color: #ffffff;
  width: 18px;
  height: 18px;
}

/* ── IMAGE HALF ── */
section.descriptive .descriptive-content {
  flex: 0 0 50%;
  max-width: 50%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #246ed1 !important;
}

section.descriptive .descriptive-content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-block-size: 420px;
}

section.descriptive .descriptive-content-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.6s ease;
  padding: 14px;
  border-radius: 28px;
}

section.descriptive:hover .descriptive-content-image {
  transform: scale(1.03);
}

/* Gradient overlay on image — fades toward the text side */
section.descriptive .descriptive-content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Section 1: image is on the right (RTL inline-end), gradient fades right→left */
section.descriptive
  .descriptive-grid.lg\:flex-col-reverse
  .descriptive-content::after,
section.descriptive
  .descriptive-grid.lg\:\!flex-row-reverse
  .descriptive-content::after {
  /* background: linear-gradient(
    to right,
    #07162a 0%,
    rgba(7, 22, 42, 0.4) 40%,
    transparent 100%
  ); */
}

/* Section 2: image is on the left (RTL inline-start), gradient fades left→right */
section.descriptive
  .descriptive-grid.lg\:\!flex-row:not(.lg\:\!flex-row-reverse)
  .descriptive-content::after {
  /* background: linear-gradient(
    to left,
    #07162a 0%,
    rgba(7, 22, 42, 0.4) 40%,
    transparent 100%
  ); */
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  section.descriptive .descriptive-grid {
    flex-direction: column !important;
    min-block-size: unset;
  }

  section.descriptive .descriptive-heading,
  section.descriptive .descriptive-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  section.descriptive .descriptive-content-wrapper {
    min-block-size: 280px;
  }
}

@media (max-width: 767px) {
  section.descriptive .descriptive-heading {
    padding: 1.5rem 1.25rem;
  }

  section.descriptive .descriptive-heading-title {
    font-size: 1.15rem;
    margin-block-end: 0.875rem;
  }

  section.descriptive .descriptive-heading-description {
    font-size: 0.825rem;
    margin-block-end: 1.25rem;
  }

  section.descriptive .descriptive-content-wrapper {
    min-block-size: 220px;
  }

  section.descriptive .descriptive-heading-action-button {
    padding-block: 9px;
    padding-inline: 22px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   Breakpoints mirror the Yafa theme's Tailwind scale:
     xl  ≥ 1280px  (handled by base rules)
     lg  ≥ 1024px  (handled by base rules)
     md  ≥  768px
     sm  ≥  640px
     xs  <  640px  (mobile-first fallback)
   All rules below are additive — they only override what the base styles
   set for larger screens. Nothing here touches JS-injected classes or
   Salla Web Component internals.
   ========================================================================== */

/* ─── TABLET — md: 768px–1023px ─────────────────────────────────────────── */
@media (max-width: 1023px) {
  /* ── Section headings: scale down the large desktop values ── */
  .section-heading-title {
    font-size: 20px;
    padding-block: 10px !important;
    padding-inline-start: 16px !important;
    padding-inline-end: 40px !important;
    min-block-size: 34px;
  }

  .main-links-style-3 h2,
  .store-features-style-2 h2,
  .s-slider-block__title-right,
  .main-links-style-1 h2,
  .s-slider-block__title-right h2 {
    font-size: 22px;
    padding: 14px 10px 14px 70px !important;
    min-block-size: 34px;
  }

  /* ── Hero CTA — slightly smaller on tablet ── */
  .sm-hero__cta {
    font-size: 0.9rem;
    padding-block: 0.6em;
    padding-inline: 1.6em;
  }

  /* ── Product card meta text ── */
  .product-card-content {
    padding: 0.5rem 0.65rem 0.4rem;
  }

  .product-card-content-meta h4 {
    font-size: 1rem;
  }

  .product-card-content-meta-subtitle {
    font-size: 0.8rem;
  }

  /* ── Accessories grid: shrink fixed row heights ── */
  .sm-acc-section .grid {
    grid-template-rows: repeat(2, 160px) !important;
    gap: 14px;
  }

  .sm-acc-section .main-links-style-1-slider-single-content {
    height: 160px;
  }
}

/* ─── MOBILE — sm/xs: < 768px ───────────────────────────────────────────── */
@media (max-width: 767px) {
  /* ── Section headings: compact for small screens ── */
  .section-heading-title {
    font-size: 16px;
    padding-block: 8px !important;
    padding-inline-start: 14px !important;
    padding-inline-end: 28px !important;
    min-block-size: 30px;
  }

  .main-links-style-3 h2,
  .store-features-style-2 h2,
  .s-slider-block__title-right,
  .main-links-style-1 h2,
  .s-slider-block__title-right h2 {
    font-size: 17px;
    padding: 10px 8px 10px 48px !important;
    min-block-size: 30px;
  }

  /* ── Hero: tighter on mobile ── */
  .sm-hero__cta {
    font-size: 0.85rem;
    padding-block: 0.55em;
    padding-inline: 1.3em;
    gap: 0.35em;
  }

  /* ── Product cards: tightest padding on mobile ── */
  .product-card-content {
    padding: 0.4rem 0.55rem 0.35rem;
  }

  .product-card-content-meta h4 {
    font-size: 0.92rem;
    margin-bottom: 2px;
  }

  .product-card-content-meta-subtitle {
    font-size: 0.8rem;
    margin-bottom: 3px;
  }

  .product-card-content-meta-pricing-current-not-discounted {
    font-size: 0.98rem;
  }

  .product-card-actions-add-to-cart {
    font-size: 0.75rem;
    padding-block: 0.4em;
  }

  /* ── Accessories grid: 2-column, fixed height reduced ── */
  .sm-acc-section .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: unset !important;
    gap: 12px;
  }

  .sm-acc-section .grid > [class*="sm-acc-col-"] {
    grid-column: span 1 !important;
  }

  .sm-acc-section .main-links-style-1-slider-single-content {
    height: unset;
    aspect-ratio: 4 / 3;
  }

  /* ── Accessories pill heading ── */
  .sm-acc-section h2.main-links-style-1-heading-title {
    font-size: 0.9rem;
    padding-block: 6px;
    padding-inline: 18px;
  }

  .sm-acc-section h3.main-links-style-1-heading-subtitle {
    font-size: 0.88rem;
    margin-top: -23px;
  }
}

/* ── main-links-style-1 GPU/PC slider cards ── */
.main-links-style-1-slider-single-content {
  padding: 7px 7px 6px;
  border-radius: 10px;
}

.main-links-style-1-slider-single-content-title > a > h4 {
  font-size: 13px;
}

/* ── Who-are-we: reduce button padding ── */
.btn-who-are-we,
.btn-who-are-we-2 {
  padding-inline: 30px;
  padding-block: 8px;
  font-size: 0.95rem;
}

/* ── Store features: smaller text ── */
.store-features-style-2-content-single-title {
  font-size: 13px;
}

/* ── Footer address block: full-width on mobile ── */
.custom-address-container {
  max-inline-size: 100%;
  padding-block: 1rem;
}

.address-main-title {
  font-size: 15px;
  margin-block-end: 16px;
}

.address-item {
  margin-block-end: 16px;
}

/* ── Commercial info: tighter on mobile ── */
.info-title {
  font-size: 13px;
}
.info-number {
  font-size: 12px;
}
.commercial-logo {
  width: 50px;
}

/* ─── SMALL MOBILE — xs: < 480px ────────────────────────────────────────── */
@media (max-width: 479px) {
  /* ── Accessories grid: single column on very small screens ── */
  .sm-acc-section .grid {
    grid-template-columns: 1fr !important;
    gap: 10px;

    margin-top: -22px !important;
  }

  .sm-acc-section .main-links-style-1-slider-single-content {
    aspect-ratio: 16 / 9;
  }

  /* ── Section headings: minimum readable size ── */
  .section-heading-title {
    font-size: 14px;
    min-block-size: 28px;
  }

  .main-links-style-3 h2,
  .store-features-style-2 h2,
  .s-slider-block__title-right,
  .main-links-style-1 h2,
  .s-slider-block__title-right h2 {
    font-size: 15px !important;
    padding: 8px 6px 8px 36px !important;
  }

  .main-links-style-3-213 {
    margin-top: 13rem !important;
  }

  .main-links-style-3-213 .swiper-wrapper {
    margin-top: -3rem !important;
  }

  /* ── Product card actions: stack on very narrow cards ── */
  .product-card-actions {
    flex-wrap: wrap;
    gap: 4px;
  }

  .product-card-actions-add-to-cart {
    font-size: 0.7rem;
    flex: 1;
  }

  /* ── Hero CTA: minimum tap target 44px ── */
  .sm-hero__cta {
    font-size: 0.8rem;
    padding-block: 0.65em;
    padding-inline: 1.1em;
  }

  .px-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .container {
    padding: 2rem 0.5rem 1rem !important;
  }
}

@media (min-width: 1024px) {
  .enhanced-products-slider .lg\:max-w-\[26\%\] {
    max-width: 19% !important;
  }
}

.descriptive-heading-description p {
  font-size: 13px;
}

.store-features-style-2-content-single-icon-content {
  color: #246ed1;
}

.dark section.descriptive .descriptive-heading-title {
  color: #fff !important;
}

/* ─── PARTNERS SECTION (main-links-style-3 #228) ────────────────────────────
 * Swiper JS already sets slidesPerView: 3 (mobile) / 4 (tablet) / 7 (desktop)
 * via the data-slider-* attributes. These rules handle visual sizing only.
 * ─────────────────────────────────────────────────────────────────────────── */

/* ── Base (all viewports) ── */
section.main-links-style-3 {
  padding-block: 2rem;
}

section.main-links-style-3 > .container {
  padding-inline: var(--sm-px);
  max-inline-size: var(--sm-max-w);
  margin-inline: auto;
}

/* Slide image: always fill the slide, maintain aspect ratio */
section.main-links-style-3 .main-links-style-3-slider-single-content {
  border-radius: 12px;
  margin-bottom: 0;
}

section.main-links-style-3 .main-links-style-3-slider-single-content-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  display: block;
}

/* Heading: smaller on mobile so it doesn't crowd the badge */
section.main-links-style-3 .main-links-style-3-heading {
  margin-block-end: 1.25rem;
}

/* ── Mobile (< 640px): tighter vertical rhythm ── */
@media (max-width: 639px) {
  section.main-links-style-3 {
    padding-block: 1.25rem;
    padding-top: 12rem;
  }

  section.main-links-style-3 > .container {
    padding-inline: 0.75rem;
  }

  /* Slides are narrower — reduce corner radius to stay proportional */
  section.main-links-style-3 .main-links-style-3-slider-single-content {
    border-radius: 8px;
  }

  section#best-offers-5-slider {
    margin: 0px auto !important;
  }

  .s-slider-block__title h2 {
    font-size: 14px !important;
  }
  .s-slider-container {
    margin-top: -2rem !important;
  }

  .section-heading {
    margin-bottom: -2rem;
  }

  .container {
    padding: 1rem 0.2rem 1rem;
  }

  section.descriptive .descriptive-content-image {
    padding: 8px;
  }

  footer {
    padding: 0px 9px;
  }

  .main-links-style-3-slider {
    margin-top: -5rem;
  }
}

/* ── Tablet (640px – 1023px): mid padding ── */
@media (min-width: 640px) and (max-width: 1023px) {
  section.main-links-style-3 {
    padding-block: 1.75rem;
  }

  .main-links-style-3-slider {
    margin-top: -3rem;
  }
}

/* ── Desktop (≥ 1024px): full spacing ── */
@media (min-width: 1024px) {
  section.main-links-style-3 {
    padding-block: 2.5rem;
  }
}

.main-links-style-3 .main-links-style-3-heading-title {
  background-image: url("data:image/svg+xml,%3Csvg width='414' height='113' viewBox='0 0 414 113' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M413.925 86.73C413.925 101.239 402.164 113 387.655 113H64.0832C55.0237 113 46.6035 108.332 41.8035 100.649L4.03238 40.1887C-6.89868 22.6915 5.68091 0 26.312 0H387.655C402.164 0 413.925 11.7615 413.925 26.27V86.73Z' fill='%23246ED1'/%3E%3C/svg%3E");
  font-size: 26px;
}

.next-nav-button,
.prev-nav-button,
.s-slider-nav-arrow {
  border-color: #246ed1 !important;
}

.s-slider-block__display-all,
.product-card-actions-wishlist {
  color: #246ed1 !important;
}

.dark .product-card-content-meta-title h4 {
  color: #fff;
}

/* ─── PARTNERS SECTION — DARK MODE LOGO GLOW ────────────────────────────────
 * Problem: some partner logos are black and invisible on dark backgrounds.
 * Solution: in dark mode each card gets a white background + a soft blue-white
 * box-shadow halo. box-shadow is used (not ::before) because the content div
 * has overflow:hidden which clips pseudo-elements.
 * ─────────────────────────────────────────────────────────────────────────── */
.dark section.main-links-style-3 .main-links-style-3-slider-single-content {
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 18px 4px rgba(180, 210, 255, 0.35),
    0 0 48px 12px rgba(100, 170, 255, 0.15);
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.dark
  section.main-links-style-3
  .main-links-style-3-slider-single-content:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 28px 8px rgba(180, 210, 255, 0.5),
    0 0 64px 18px rgba(100, 170, 255, 0.22);
}







.sm-hero__logo {
    cursor: pointer !important;
}
.offer-price {
    font-size: 1.3em;
    font-weight: 800;
    color: #E63946;
    margin: 0 4px;
}

.offer-code {
    background: #ff6b00;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
}
.offer-price {
    font-size: 1.4em;
    font-weight: 900;
    color: #ff6b00;
    text-shadow: 0 2px 8px rgba(255,107,0,.25);
}