@import url("https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400..700&display=swap");

:root {
  --font-main: "Noto Naskh Arabic";
  --color-primary: #518f7e;
  --color-primary-dark: #3f7b6b;
  --color-primary-light: #78b4a6;
  --color-primary-reverse: #ffffff;
}

main#main-content {
  overflow: hidden;
}

/* ========== Start Header ============*/
header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  margin-bottom: 10px !important;
  z-index: 10 !important;
}
header .offers-link {
  color: #1d1f1f !important;
}

.s-cart-summary-total {
  display: none;
}

/* Hide top navbar */
.top-navbar {
  display: none !important;
}

/* Main navigation adjustments */
#mainnav .inner > .container > div > div:nth-child(2) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

/* Custom right actions container */
.custom-nav-right-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  /* Prevent layout shift during initialization */
  min-height: 40px;
}

/* Reserve space for custom actions before JS loads */
#mainnav .inner > .container > div > div:nth-child(2):empty {
  min-width: 300px;
  min-height: 40px;
}
/*========= Custom Search Bar Styling ============*/
.custom-header-search {
  position: relative;
  height: 40px;
  transition: all 0.3s ease;
}

.custom-header-search .s-search-container {
  height: 40px;
}

.custom-header-search .s-search-input-wrapper {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.custom-header-search .s-search-input {
  width: 100%;
  height: 40px !important;
  background: transparent;
  border: 1.8px solid transparent;
  padding: 0 3rem 0 1rem;
  font-size: 14px;
  color: #333;
  border-radius: 20px !important;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

/* Pill appears on focus */
.custom-header-search:focus-within .s-search-input-wrapper {
  background: #ddeaff;
}

.custom-header-search:focus-within .s-search-input {
  border-color: #518f7e;
}

.custom-header-search .s-search-input::placeholder {
  color: #6b7280;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: right;
}

/* Icon styling - centered when collapsed, pinned left when expanded */
.custom-header-search .s-search-icon-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  transition:
    left 0.3s ease,
    transform 0.3s ease;
}

.custom-header-search:focus-within .s-search-icon-wrap {
  left: 1rem;
  transform: translateY(-50%);
}

.custom-header-search .s-search-icon svg {
  display: none;
}

.custom-header-search .s-search-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16.5 16.5L21 21' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Expanded state - expands to RIGHT */
.custom-header-search .s-search-input:focus,
.custom-header-search .s-search-input:active,
.custom-header-search:hover .s-search-input {
  cursor: text;
}

.custom-header-search:focus-within .s-search-input-wrapper,
.custom-header-search .s-search-input-wrapper:focus-within {
  width: 280px;
}

.custom-header-search:focus-within .s-search-input::placeholder,
.custom-header-search .s-search-input:focus::placeholder {
  opacity: 1;
}

.custom-header-search:focus-within .s-search-input,
.custom-header-search .s-search-input:focus {
  padding: 0 1.5rem 0 3rem;
  text-align: right;
}

.s-search-inline {
  min-width: 50px;
}

.custom-header-search .s-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 10002;
  width: 280px;
}

nav#mobile-menu {
  padding-top: 10px !important;
}

/* ========== User Menu — Icon Only ========== */
.custom-nav-right-actions salla-user-menu {
  display: flex;
  align-items: center;
  padding: 0;
  align-self: center;
  justify-content: center;
}

.custom-nav-right-actions .s-user-menu-wrapper {
  display: flex;
  align-items: center;
}

.custom-nav-right-actions .s-user-menu-trigger-slot {
  display: flex;
  align-items: center;
}

/* Collapse trigger to a single icon button */
.custom-nav-right-actions .s-user-menu-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.custom-nav-right-actions .s-user-menu-trigger:hover {
  background: #f3f4f6;
}

/* Hide avatar, greeting, name, chevron */
.custom-nav-right-actions .s-user-menu-avatar-wrap,
.custom-nav-right-actions .s-user-menu-trigger-content,
.custom-nav-right-actions .s-user-menu-trigger-icon {
  display: none !important;
}

/* Person outline icon via ::before on the trigger */
.custom-nav-right-actions .s-user-menu-trigger::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ========== Cart Icon Customization ========== */
.custom-nav-right-actions salla-cart-summary {
  margin: 0;
}

.custom-nav-right-actions .s-cart-summary-wrapper {
  display: flex;
  border-radius: 20px;
  background: transparent !important;
  transition: all 0.3s ease;
  text-decoration: none;
  height: 26px;
}

.custom-nav-right-actions .s-cart-summary-wrapper:hover {
  background: #f3f4f6;
  margin: 0;
}

/* Replace bag icon with cart icon */

.custom-nav-right-actions #s-cart-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.custom-nav-right-actions #s-cart-icon::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2H3.74C4.82 2 5.67 2.93 5.58 4L4.75 13.96C4.61 15.59 5.9 16.99 7.54 16.99H18.19C19.63 16.99 20.89 15.81 21 14.38L21.54 6.88C21.66 5.22 20.4 3.87 18.73 3.87H5.82' stroke='%231A1A1A' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16.25 22C16.94 22 17.5 21.44 17.5 20.75C17.5 20.06 16.94 19.5 16.25 19.5C15.56 19.5 15 20.06 15 20.75C15 21.44 15.56 22 16.25 22Z' stroke='%231A1A1A' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.25 22C8.94 22 9.5 21.44 9.5 20.75C9.5 20.06 8.94 19.5 8.25 19.5C7.56 19.5 7 20.06 7 20.75C7 21.44 7.56 22 8.25 22Z' stroke='%231A1A1A' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 8H21' stroke='%231A1A1A' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.custom-nav-right-actions .s-cart-summary-count {
  position: absolute;
  top: 1px;
  right: -10px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 2px;
  border: 2px solid white;
}

.custom-nav-right-actions .s-cart-summary-content {
  display: none;
}

/* Show cart total on hover */
.custom-nav-right-actions
  .s-cart-summary-wrapper:hover
  .s-cart-summary-content {
  display: block;
  font-size: 13px;
  color: #518f7e;
  font-weight: 600;
}

.custom-nav-right-actions a {
  justify-self: center;
}
.custom-nav-right-actions {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  gap: 0 !important;
  min-height: 40px;
  padding: 0;
}

.s-user-menu-dropdown li a svg {
  color: #518f7e !important;
}

/*  Header Responsive  */
@media (max-width: 1024px) {
  .custom-header-search {
    display: none !important;
  }
  .custom-header-search {
    width: 220px;
  }

  .main-menu > li > a[href*="offer"] {
    color: #222 !important;
  }
  .custom-nav-right-actions .s-cart-summary-count {
    top: 0px;
    right: -9px;
    min-height: 18px;
  }
}

@media (max-width: 768px) {
  .custom-nav-right-actions {
    gap: 0.75rem;
    grid-template-columns: 1fr 1fr;
  }

  /* Hide search on mobile */
  .custom-header-search {
    display: none !important;
  }

  .custom-nav-right-actions .s-cart-summary-wrapper {
    padding: 0.375rem 0.5rem;
    height: 36px;
  }

  .custom-nav-right-actions #s-cart-icon {
    width: 20px;
    height: 20px;
  }

  .custom-nav-right-actions #s-cart-icon::before {
    width: 20px;
    height: 20px;
  }

  .custom-nav-right-actions salla-user-menu {
    justify-content: end;
  }

  .custom-nav-right-actions .s-cart-summary-icon,
  .custom-nav-right-actions .header-btn__icon {
    display: inline-flex !important;
  }

  .custom-nav-right-actions #s-cart-icon::before {
    display: none !important;
  }
  .custom-nav-right-actions .s-cart-summary-count {
    top: 0px;
    right: -1px;
  }

  .custom-nav-right-actions .s-cart-summary-wrapper {
    height: 23px;
  }
}

@media (max-width: 480px) {
  .custom-nav-right-actions {
    gap: 0.5rem;
  }
}

/* ================== End Header ===================== */

/* ========== Start Hero Section ========== */
/* Hide the two original fixed-banner sections once JS wraps them */
.s-block--fixed-banner.hero-source-hidden {
  display: none !important;
}

/* Outer hero wrapper */
.custom-hero {
  display: flex;
  align-items: center;
  min-height: 620px !important;
  padding: 48px 0;
  background: #fff;
  overflow: hidden;
}

.custom-hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0px 15px;
  /* RTL: images left, text right — flex-direction row already natural for RTL */
  flex-direction: row;
}

/* ---- Left column: stacked image frames ---- */
.custom-hero-images {
  position: relative;
  flex: 0 0 480px;
  height: 650px;
}

/* Main (large) image — tilted clockwise */
.custom-hero-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 495px;
  height: 638px;
  object-fit: cover;
  border-radius: 2px;
  transform: rotate(0deg);
  z-index: 2;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Gold frame behind main image — tilted the OPPOSITE way (counter-clockwise) */
.custom-hero-images::before {
  content: "";
  position: absolute;
  border: 2px solid #c5a367;
  transform: rotate(-5.68deg);
  z-index: 1;
  width: 495px !important;
  height: 638px !important;
  top: 7px;
  left: 0px;
  opacity: 1;
  border-width: 3px;
}

/* Third gold frame — behind main image, tilted the OPPOSITE way to ::before (clockwise) */
.custom-hero-frame-third {
  position: absolute;
  border: 2px solid #c5a367;
  transform: rotate(4.36deg);
  z-index: 0;
  width: 495px !important;
  height: 638px !important;
  top: 13.4px;
  opacity: 1;
  border-width: 3px;
}

/* Secondary (small) image — tilted counter-clockwise */
.custom-hero-img-secondary {
  position: absolute;
  object-fit: cover;
  border-radius: 2px;
  transform: rotate(0deg);
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  width: 194px !important;
  height: 254px !important;
  top: 388.44px;
  left: 502.33px;
  opacity: 1;
}

/* Gold frame behind secondary image — tilted the OPPOSITE way (clockwise) */
.custom-hero-images::after {
  content: "";
  position: absolute;
  border: 2px solid #c5a367;
  transform: rotate(-5.76deg);
  z-index: 2;
  width: 194px;
  height: 254px;
  top: 387px;
  left: 499px;
  opacity: 1;
  border-width: 2px;
}

/* ---- Right column: text + CTA ---- */
.custom-hero-content {
  flex: 1;
  direction: rtl;
  text-align: right;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  padding-top: 70px;
  align-self: center !important;
}

.custom-hero-content.visible {
  opacity: 1;
  transform: translateY(0);
  margin: auto !important;
  text-align: right;
  width: 100% !important;
}

.custom-hero-content h2 {
  font-size: 3rem;
  font-weight: 900 !important;
  color: #1d1f1f;
  line-height: 1.2;
  margin: 0 0 25px;
}

/* CTA button */
.custom-hero-btn {
  display: inline-block;
  background: #6ea293;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  padding: 12px 52px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  line-height: 100%;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  direction: rtl;
}

.custom-hero-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 18px rgba(132, 165, 157, 0.45);
}

.custom-hero-btn:active {
  transform: scale(0.97);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .custom-hero-images {
    flex: none;
    width: 100%;
    max-width: 400px;
    height: 350px;
    position: relative;
  }

  .custom-hero-img-main {
    width: 300px;
    height: 280px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
  }

  .custom-hero-images::before {
    width: 300px !important;
    height: 280px !important;
    left: 50%;
    transform: translateX(-50%) rotate(-5.68deg);
  }

  .custom-hero-frame-third {
    width: 300px !important;
    height: 280px !important;
    left: 50%;
    transform: translateX(-50%) rotate(4.36deg);
  }

  .custom-hero-img-secondary {
    width: 140px !important;
    height: 180px !important;
    top: 190px;
    left: 61%;
    transform: translateX(49%) rotate(0deg);
  }

  .custom-hero-images::after {
    width: 140px;
    height: 180px;
    top: 185px;
    left: 95%;
    transform: translateX(-50%) rotate(-5.76deg);
  }

  .custom-hero-content {
    text-align: right;
    padding-top: 0;
  }

  .custom-hero-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .custom-hero {
    min-height: auto;
    padding: 24px 0;
  }

  .custom-hero .container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 32px;
    padding: 0 20px;
  }

  .custom-hero .container {
    flex-direction: column-reverse;
    gap: 24px;
    padding: 0 15px;
  }

  .custom-hero-images {
    width: 100%;
    max-width: 320px;
    height: 280px;
  }

  .custom-hero-img-main {
    transform: translateX(-50%) rotate(0deg);
    width: 356px !important;
    height: 306px !important;
    top: -37.95px;
    left: 27%;
  }

  .custom-hero-images::before {
    transform: translateX(-50%) rotate(8deg);
    width: 263px !important;
    height: 295px !important;
    top: -37.95px;
    left: 44%;
  }

  .custom-hero-frame-third {
    width: 243px !important;
    height: 284px !important;
    transform: translateX(-50%) rotate(-8.64deg);
    top: -37.95px;
    left: 44%;
  }

  .custom-hero-img-secondary {
    width: 110px !important;
    height: 140px !important;
    top: 150px;
    left: 60%;
    transform: translateX(-50%) rotate(0deg);
  }

  .custom-hero-images::after {
    width: 110px;
    height: 140px;
    top: 146px;
    left: 95%;
    transform: translateX(-50%) rotate(-5.76deg);
  }

  .custom-hero-content {
    padding-top: 0;
  }

  .custom-hero-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .custom-hero-btn {
    padding: 13px 44px;
    font-size: 18px;
    font-weight: 800;
  }
}

@media (max-width: 480px) {
  .custom-hero-images {
    max-width: 280px;
  }

  .custom-hero-img-main {
    width: 200px;
    height: 190px;
  }

  .custom-hero-content.visible {
    opacity: 1;
    transform: translateY(0);
    margin: auto !important;
    text-align: center;
    width: 100% !important;
  }

  .custom-hero-images::before {
    transform: translateX(-50%) rotate(8deg);
    width: 263px !important;
    height: 295px !important;
    top: -37.95px;
    left: 26%;
  }

  .custom-hero-frame-third {
    width: 243px !important;
    height: 284px !important;
    transform: translateX(-50%) rotate(-8.64deg);
    top: -37.95px;
    left: 27%;
  }

  .custom-hero-img-secondary {
    width: 108px !important;
    height: 155px !important;
    top: 116px;
    left: 100%;
  }

  .custom-hero-images::after {
    width: 95px;
    height: 120px;
    top: 115px;
    width: 108px !important;
    height: 155px !important;
    left: 100%;
  }

  .custom-hero-content h2 {
    font-size: 1.25rem;
    align-items: center;
    text-align: center;
    font-weight: 900 !important;
  }
}
/* ========== End Hero ========== */

/* ========== Best Sellers Premium Grid ========== */

/* ----- Section Title (unique: .s-block__title appears once on page) ----- */
.s-block__title {
  text-align: center !important;
}

.s-block__title .right-side {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: auto;
}

.s-block__title h2 {
  color: #365f55 !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

/* ----- Grid Container ----- */
/* .premium-grid is injected by JS onto .s-products-list-horizontal-cards */
.premium-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1.5rem 0;
  overflow: visible !important;
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ----- Each Card: fixed height, image fills card ----- */
.premium-grid > custom-salla-product-card {
  display: flex !important;
  flex-direction: column !important;
  background: transparent;
  border-radius: 0;
  overflow: visible !important;
  position: relative;
  z-index: 1;
  height: auto;
  width: 320px;
  /* Staggered fade-in: start invisible */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  transition-delay: var(--stagger-delay, 0ms);
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide cards beyond the 3rd (set by JS) */
.premium-grid > custom-salla-product-card:nth-child(n + 4) {
  display: none !important;
}

/* Revealed by JS IntersectionObserver */
.premium-grid > custom-salla-product-card.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Hover: lift + z-index bump ----- */
.premium-grid > custom-salla-product-card:hover {
  transform: translateY(-3px);
  z-index: 2;
}

/* ----- Image Container: gold border, fills entire card ----- */
.premium-grid .s-product-card-image {
  border: 2.5px solid #c5a367;
  border-radius: 12px;
  overflow: hidden;
  width: 100% !important;
  height: 420px !important;
  min-height: 420px !important;
  max-height: 420px !important;
  display: block !important;
  position: relative !important;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition:
    border-color 0.3s ease,
    border-width 0.3s ease,
    box-shadow 0.3s ease;
}

/* The <a> wrapping the <img> must fill the entire aspect-ratio container;
   otherwise aspect-ratio collapses to 0 height (no intrinsic size on <a>). */
.premium-grid .s-product-card-image a {
  display: block !important;
  width: auto !important;
  height: 100% !important;
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* object-fit: cover is the primary rule — it is what prevents distortion.
   width/height 100% + object-fit: cover together fill the square frame. */
.premium-grid .s-product-card-image-cover {
  width: auto !important;
  height: 100% !important;
  min-height: 420px !important;
  object-fit: cover !important;
  display: block !important;
  position: absolute !important;
  top: 0;
  left: 0;
  transition: transform 0.35s ease;
}

/* Image hover: scale + gold border brightens/thickens + glow + lift shadow */
.premium-grid > custom-salla-product-card:hover .s-product-card-image {
  border-color: #d4b96a;
  border-width: 3px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.13),
    0 0 14px rgba(197, 163, 103, 0.4);
}

.premium-grid > custom-salla-product-card:hover .s-product-card-image-cover {
  transform: scale(1.03);
}

/* ----- Custom Product Title Below Image ----- */
.premium-grid .custom-product-title {
  padding: 16px 8px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #1d1f1f;
  direction: rtl;
  line-height: 1.4;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.premium-grid > custom-salla-product-card:hover .custom-product-title {
  color: #6ea293;
}

/* ----- Hide content block (image-only cards) ----- */
.premium-grid .s-product-card-content {
  display: none !important;
}

/* ----- Hide infinite scroll vestige ----- */
.horizontal-products .s-infinite-scroll-status {
  display: none !important;
}

/* ----- Responsive: 768px → 3 columns (smaller cards) ----- */
@media (max-width: 768px) {
  .premium-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .premium-grid > custom-salla-product-card {
    width: 100%;
  }

  .premium-grid .s-product-card-image {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
  }

  .premium-grid .s-product-card-image-cover {
    min-height: 280px !important;
  }

  .premium-grid .custom-product-title {
    font-size: 14px;
    padding: 10px 4px;
    min-height: 45px;
  }

  .s-block__title h2 {
    font-size: 1.9rem;
  }
}

/* ----- Responsive: 480px → 3 columns (even smaller) ----- */
@media (max-width: 480px) {
  .premium-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem;
    padding: 0.75rem 0;
  }

  .premium-grid > custom-salla-product-card {
    width: 100%;
  }

  .premium-grid .s-product-card-image {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    border-width: 2px;
  }

  .premium-grid .s-product-card-image-cover {
    min-height: 200px !important;
  }

  .premium-grid .custom-product-title {
    font-size: 12px;
    padding: 8px 2px;
    min-height: 40px;
    font-weight: 700;
  }

  .s-block__title h2 {
    font-size: 1.85rem;
  }
}

/* ----- Responsive: 380px → Very small screens ----- */
@media (max-width: 380px) {
  .premium-grid {
    gap: 0.4rem;
  }

  .premium-grid .s-product-card-image {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }

  .premium-grid .s-product-card-image-cover {
    min-height: 180px !important;
  }

  .premium-grid .custom-product-title {
    font-size: 11px;
    padding: 6px 2px;
    min-height: 35px;
  }
}

/* ========== End Best Sellers ========== */

/* ========== Start Banners Section ========== */

/* Hide Salla's original 3-column grid */
.s-block--banners .banners-grid-hidden {
  display: none !important;
}

/* ---- Outer wrapper: 60/40 split, images on right in RTL ---- */
.custom-banners-wrapper {
  display: flex;
  flex-direction: row-reverse; /* image-col first in DOM = right in RTL */
  align-items: center;
  gap: 20px;
  padding: 0;
  width: 95%;
  direction: rtl;
}

/* ---- Image column (60%) ---- */
.custom-banners-image-col {
  position: relative;
  flex: 0 0 58%;
  height: 520px;
}

/* Dot pattern — top-right corner (right in RTL) */
.custom-banners-dot-grid {
  position: absolute;
  top: -122px;
  left: -64px;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(circle, #124335 1.8px, transparent 1.8px);
  background-size: 20px 20px;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

/* ---- Collage container ---- */
.custom-banners-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Green offset frame behind the main card */
.custom-banners-frame {
  display: none !important;
}

/* Shared card base */
.custom-banners-card {
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 18px;
  border: 3px solid #518f7e;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  /* Entrance animation: start hidden, slide up */
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.35s ease;
}

/* Visible state (added by JS IntersectionObserver) */
.custom-banners-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Main tall card — center of collage */
.custom-banners-card--main {
  width: 50%;
  height: 464px;
  top: -84px;
  left: -24px;
  z-index: 2;
  border-radius: 20px;
  transition-delay: 0s;
}

/* Small top card — overlaps top-left of main */
.custom-banners-card--top {
  width: 175px;
  height: 318px;
  top: -33px;
  right: 166px;
  z-index: 4;
  border-radius: 16px;
  transition-delay: 0.15s;
}

/* Landscape bottom card — overlaps base of main */
.custom-banners-card--bottom {
  width: 75%;
  height: 267px;
  bottom: -50px;
  left: 26px;
  z-index: 3;
  border-radius: 16px;
  transition-delay: 0.3s;
}

/* ---- Text column (40%) ---- */
.custom-banners-text-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: start; /* push text toward center in RTL */
  /* padding: 0; */
}

.custom-banners-text-inner {
  text-align: right;
  max-width: 480px;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease 0.1s,
    transform 0.7s ease 0.1s;
}

.custom-banners-text-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.custom-banners-heading {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1d1f1f;
  line-height: 1.35;
  margin: 0 0 20px;
}

.custom-banners-body {
  font-weight: 800;
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.55;
  white-space: pre-line;
}

.custom-banners-wrapper {
  margin-top: 12rem !important;
  margin-bottom: 9rem !important;
}

/* ---- Responsive: tablet (768px) ---- */
@media (max-width: 1024px) {
  .custom-banners-image-col {
    flex: 0 0 52%;
    height: 440px;
  }

  .custom-banners-heading {
    font-size: 2rem;
  }

  .custom-banners-body {
    font-weight: 800;
    font-size: 0.95rem;
  }

  .custom-banners-frame {
    width: 200px;
    height: 300px;
    top: 20px;
    right: 20px;
  }
  .custom-banners-card--top {
    width: 130px;
    height: 130px;
    left: 40px;
    top: 8px;
  }
  .custom-banners-card--bottom {
    width: 250px;
    height: 130px;
    left: 10px;
    bottom: 15px;
  }

  .custom-banners-card--main {
    width: 60%;
    height: 453px;
  }

  .custom-banners-card--top {
    width: 154px;
    height: 277px;
    top: 3px;
    right: 93px;
  }

  .custom-banners-card--bottom {
    width: 75%;
    height: 235px;
    bottom: -20px;
  }

  .custom-banners-wrapper {
    gap: 0;
  }

  .custom-banners-text-inner {
    padding-right: 8px;
  }
}

/* ---- Responsive: mobile (768px) — stack vertically ---- */
@media (max-width: 768px) {
  .custom-banners-wrapper {
    flex-direction: column;
    gap: 36px;
    padding: 40px 0 56px;
    margin: auto;
  }

  .custom-banners-image-col {
    flex: none;
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
  }
  .custom-banners-card--main {
    width: 190px;
    height: 280px;
    top: 30px;
    right: 30px;
  }
  .custom-banners-frame {
    width: 190px;
    height: 280px;
    top: 18px;
    right: 18px;
  }
  .custom-banners-card--top {
    width: 120px;
    height: 120px;
    left: 20px;
    top: 8px;
  }
  .custom-banners-card--bottom {
    width: 230px;
    height: 120px;
    left: 5px;
    bottom: 15px;
  }
  .custom-banners-text-col {
    justify-content: center;
    width: 100%;
  }
  .custom-banners-text-inner {
    max-width: 100%;
    padding-right: 0;
  }
  .custom-banners-heading {
    font-size: 1.65rem;
  }

  .custom-banners-dot-grid,
  .custom-banners-card--top {
    display: none !important;
  }

  .custom-banners-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .custom-banners-wrapper {
    flex-direction: column;
    gap: 59px;
    padding: 0;
  }

  .custom-banners-card--main {
    width: 99%;
    height: 287px;

    position: static;
    margin: auto;
  }

  .custom-banners-card--bottom {
    width: 233px;
    height: 119px;
    left: 25px;
    bottom: -25px;
  }
}

/* ========== Ramadan Banner ========== */

.ramadan-banner-original-hidden {
  display: none !important;
}

.s-block--fixed-banner:not(.hero-source-hidden) {
  background: #fff;
  padding: 60px 0;
}

.ramadan-banner-wrapper {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 48px;
  direction: rtl;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.ramadan-banner-wrapper.ramadan-banner-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Image column ── */
.ramadan-banner-image-col {
  position: relative;
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Arch frame */
.ramadan-banner-arch {
  position: relative;
  width: 560px;
  height: 598px;
  border-radius: 50% 50% 0 0;
  border: 3px solid #c5a367;
  overflow: hidden;
  background: #f5f0e8;
  box-shadow: 0 8px 40px rgba(197, 163, 103, 0.18);
}

.ramadan-banner-arch::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 164px 164px 0 0;
  border: 1.5px solid rgba(197, 163, 103, 0.4);
  pointer-events: none;
  z-index: 2;
}

.ramadan-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Sparkles */
.ramadan-banner-sparkles {
  position: absolute;
  left: -35px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

.ramadan-sparkle {
  display: block;
}

.ramadan-sparkle--lg {
  width: 21px;
  height: 28px;
  opacity: 0.95;
  animation: sparkle-pulse 2.4s ease-in-out infinite;
}

.ramadan-sparkle--sm {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  margin-right: 10px;
  animation: sparkle-pulse 2.4s ease-in-out infinite 0.6s;
}

.ramadan-sparkle--xs {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  animation: sparkle-pulse 2.4s ease-in-out infinite 1.2s;
}

@keyframes sparkle-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

/* ── Text column ── */
.ramadan-banner-text-col {
  flex: 1;
  text-align: right;
  padding-right: 15px;
}

.ramadan-banner-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1d1f1f;
  margin: 0 0 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ramadan-banner-body {
  font-size: 1rem;
  color: #4b5563;
  font-weight: 700;
  line-height: 1.85;
  margin: 0;
  max-width: 480px;
  /* margin-right: auto; */
}

/* ── Responsive ── */

/* 1024px — shrink arch, keep side-by-side */
@media (max-width: 1024px) {
  .ramadan-banner-arch {
    width: 400px;
    height: 440px;
  }

  .ramadan-banner-heading {
    font-size: 1.9rem;
  }
}

/* 900px — stack vertically */
@media (max-width: 900px) {
  .ramadan-banner-wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .ramadan-banner-image-col {
    flex: none;
    width: 100%;
    justify-content: center;
  }

  .ramadan-banner-arch {
    width: 340px;
    height: 380px;
  }

  .ramadan-banner-text-col {
    padding-right: 0;
    text-align: right;
  }

  .ramadan-banner-body {
    max-width: 100%;
  }

  .ramadan-banner-heading {
    font-size: 1.75rem;
  }
}

/* 768px — tighter padding, smaller arch */
@media (max-width: 768px) {
  .s-block--fixed-banner:not(.hero-source-hidden) {
    padding: 44px 0;
  }

  .ramadan-banner-arch {
    width: 280px;
    height: 320px;
  }

  .ramadan-banner-heading {
    font-size: 1.55rem;
  }

  .ramadan-banner-body {
    font-size: 0.95rem;
  }

  .ramadan-banner-sparkles {
    left: -8px;
  }
}

/* 480px — compact mobile */
@media (max-width: 480px) {
  .s-block--fixed-banner:not(.hero-source-hidden) {
    padding: 32px 0;
  }

  .ramadan-banner-wrapper {
    gap: 24px;
  }

  .ramadan-banner-arch {
    width: 220px;
    height: 256px;
  }

  .ramadan-banner-heading {
    font-size: 1.35rem;
    margin-bottom: 14px;
  }

  .ramadan-banner-body {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .ramadan-sparkle--lg {
    width: 16px;
    height: 16px;
  }

  .ramadan-sparkle--sm {
    width: 11px;
    height: 11px;
  }

  .ramadan-sparkle--xs {
    width: 8px;
    height: 8px;
  }
}

/* 360px — small phones */
@media (max-width: 360px) {
  .ramadan-banner-arch {
    width: 180px;
    height: 210px;
  }

  .ramadan-banner-heading {
    font-size: 1.2rem;
  }

  .ramadan-banner-body {
    font-size: 0.85rem;
  }
}

/* ---- Responsive: small mobile (480px) ---- */
@media (max-width: 480px) {
  .custom-banners-image-col {
    height: 340px;
    max-width: 340px;
  }

  .custom-banners-frame {
    width: 160px;
    height: 240px;
    top: 12px;
    right: 10px;
  }
  .custom-banners-card--top {
    width: 105px;
    height: 105px;
    left: 10px;
    top: 5px;
  }

  .custom-banners-heading {
    font-size: 1.4rem;
  }
  .custom-banners-body {
    font-size: 0.9rem;
  }
}

/* ========== End Banners Section ========== */

/* ========== Start Featured Products Section ========== */

/* Section styling */
.s-block--tabs-produtcs {
  background: #f9f9f9 !important;
  padding: 48px 0 !important;
}

/* Add title before tabs */
.s-block--tabs-produtcs .tabs {
  position: relative;
  padding-top: 60px;
}

.s-block--tabs-produtcs .tabs::before {
  content: "الهدايا المميزة";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 2;
  color: #365f55;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

/* Tabs styling */
.s-block--tabs-produtcs .tabs {
  display: flex;
  justify-content: center;
  gap: 0px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.s-block--tabs-produtcs .tab-trigger {
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.s-block--tabs-produtcs .tab-trigger.is-active {
  color: #fff !important;
}

.s-block--tabs-produtcs .tab-trigger.is-active:hover {
  color: #fff !important;
}

.s-block--tabs-produtcs .tab-trigger:not(.is-active) {
  background: transparent !important;
  border: none !important;
  color: #1a1a1a !important;
}

.s-block--tabs-produtcs .tab-trigger.is-active button {
  color: #fff !important;
  background: #518f7e !important;
  line-height: 1 !important;
}

/* Featured Products Card Styling - supports JS restructuring */

/* Custom add-to-cart wrapper with wishlist button */
.s-block--tabs-produtcs .custom-add-to-cart-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  border-top: 1px solid #f0f0f0 !important;
}

.s-block--tabs-produtcs .custom-add-to-cart-wrapper salla-add-product-button {
  flex: 1 !important;
}

/* Custom wishlist button inside footer */
.s-block--tabs-produtcs .custom-fav-btn {
  position: static !important;
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(193, 163, 103, 0.3) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.s-block--tabs-produtcs .custom-fav-btn:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border-color: #c5a367 !important;
}

/* Horizontal content row for title + price */
.s-block--tabs-produtcs .custom-featured-content-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 20px !important;
}

/* Title styling (right side in RTL) */
.s-block--tabs-produtcs .custom-featured-title {
  flex: 1 !important;
  text-align: right !important;
}

.s-block--tabs-produtcs .custom-featured-title .s-product-card-content-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #1d1f1f !important;
  margin: 0 !important;
  min-height: auto !important;
}

.s-block--tabs-produtcs .custom-featured-title .s-product-card-content-title a {
  color: #1d1f1f !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.s-block--tabs-produtcs
  .custom-featured-title
  .s-product-card-content-title
  a:hover {
  color: #518f7e !important;
}

/* Price styling (left side in RTL) */
.s-block--tabs-produtcs .custom-featured-price {
  flex-shrink: 0 !important;
}

.s-block--tabs-produtcs .custom-featured-price .s-product-card-price {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #518f7e !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

/* Cart button positioned on image */
.s-block--tabs-produtcs .custom-featured-cart-btn {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 10 !important;
}

.s-block--tabs-produtcs .custom-featured-cart-btn .s-button-element {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(193, 163, 103, 0.3) !important;
  transition: all 0.3s ease !important;
}

.s-block--tabs-produtcs .custom-featured-cart-btn .s-button-element:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border-color: #c5a367 !important;
}

.s-block--tabs-produtcs .custom-featured-cart-btn .s-button-text span {
  display: none !important;
}

.s-block--tabs-produtcs .custom-featured-cart-btn .s-button-text i {
  display: inline-block !important;
  font-size: 18px !important;
  margin: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .s-block--tabs-produtcs .custom-featured-content-row {
    padding: 12px 16px !important;
    gap: 8px !important;
  }

  .s-block--tabs-produtcs .custom-featured-title .s-product-card-content-title {
    font-size: 14px !important;
  }

  .s-block--tabs-produtcs .custom-featured-price .s-product-card-price {
    font-size: 14px !important;
  }

  .s-block--tabs-produtcs .custom-featured-cart-btn .s-button-element,
  .s-block--tabs-produtcs .s-product-card-wishlist-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  .s-block--tabs-produtcs .custom-featured-cart-btn .s-button-text i {
    font-size: 16px !important;
  }

  .s-block--tabs-produtcs .tabs {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .s-block--tabs-produtcs .custom-featured-content-row {
    padding: 10px 12px !important;
  }

  .s-block--tabs-produtcs .custom-featured-title .s-product-card-content-title {
    font-size: 13px !important;
  }

  .s-block--tabs-produtcs .custom-featured-price .s-product-card-price {
    font-size: 13px !important;
  }

  .s-block--tabs-produtcs .custom-featured-cart-btn {
    top: 8px !important;
    left: 8px !important;
  }

  .s-block--tabs-produtcs .custom-featured-cart-btn .s-button-element,
  .s-block--tabs-produtcs .s-product-card-wishlist-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  .s-block--tabs-produtcs .s-product-card-wishlist-btn {
    top: 8px !important;
    right: 8px !important;
  }

  .s-block--tabs-produtcs .custom-featured-cart-btn .s-button-text i {
    font-size: 14px !important;
  }
}

/* ========== End Featured Products Section ========== */

/* ========== Start Product Card ========== */
.s-slider-block__title-left {
  display: none !important;
}
/* ========== End Product Card ========== */

/* ========== Start Footer ========== */
.footer-is-light .store-footer {
  background-color: #365f54;
}

.footer-is-light .store-footer .store-footer__inner {
  background-color: #365f54;
  color: #fff;
}

#app
  > div.app-inner.flex.flex-col.min-h-full
  > footer
  > div.md\:flex.items-center.justify-between.py-4.container.text-center
  > span
  p {
  color: #fff !important;
}

.footer-is-light .store-footer .store-footer__inner {
  background-color: #365f54 !important;
  color: #fff !important;
}

.footer-is-light .store-footer {
  background-color: #365f54 !important;
  color: #fff !important;
}

.copyright-text p {
  color: #fff !important;
}

footer
  div.store-footer__inner
  > div
  > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20
  > div.max-w-sm.leading-6.mb-6
  > p {
  font-weight: 800;
  font-size: 1rem;
}

.s-social-link a {
  align-items: center;
  border-radius: 9999px;
  border-width: 1px;
  display: flex;
  font-size: 1.575rem;
  height: 2.7rem;
  width: 2.7rem !important;
  justify-content: center;
  line-height: 1.25rem;
}

.s-social-link a svg {
  height: 1.875rem !important;
  width: 1.375rem;
  fill: currentColor;
  font-weight: 900;
}

.store-footer h3 {
  font-size: 1.325rem;
}

.s-menu-footer-item {
  display: block;
  font-size: 1.025rem;
  font-weight: 400;
}
/* ========== End Footer ========== */

/* ========== Start Global Style ========== */

.s-block__title .right-side:where([dir="rtl"], [dir="rtl"] *) {
  padding: 0 !important;
}

.s-product-card-wishlist-added i {
  --tw-text-opacity: 1;
  font-size: 19px;
}

i.sicon-heart,
.sicon-heart:before {
  font-size: 22px;
  color: #518f7e;
}

.s-product-card-wishlist-added {
  background: #5e8e7f !important;
  border-radius: 10px;
  color: #fff !important;
}

.s-product-card-wishlist-added i {
  --tw-text-opacity: 1;
  font-size: 19px;
  color: #fff !important;
  fill: #fff !important;
}

.s-search-modal:nth-of-type(2) {
  display: none !important;
}

.s-button-primary-outline {
  background: #518f7e;
  color: #fff;
}

.s-product-card-price {
  font-size: 1.175rem;
  font-weight: 800;
  line-height: 1.15rem;
}

.s-slider-block__title h2,
.s-reviews-header-wrapper h1 {
  line-height: 1.2;
  position: relative;
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  color: #365f55;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.s-slider-block__title-right {
  margin: auto;
}

.s-product-card-promotion-title {
  padding-bottom: 0.3rem;
  padding-top: 0.3rem;
}

@media (max-width: 900px) {
  .ramadan-banner-sparkles {
    display: none !important;
  }
}

@media (max-width: 767px) {
  br {
    display: none !important;
  }
}

.ramadan-banner-sparkles svg:nth-of-type(2) {
  margin-right: 24px;
}

.ramadan-banner-sparkles svg:nth-of-type(3) {
  margin-right: 36px;
}

.s-product-card-promotion-title {
  background-color: #518f7e;
  padding-bottom: 0.3rem;
  padding-top: 0.3rem;
}

.s-reviews-header-wrapper {
  display: flex;
  justify-content: center;
}

s-reviews-header {
  line-height: 1.2;
  position: relative;
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  color: #365f55;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.s-contacts-icon {
  align-items: center;
  border-radius: 9999px;
  border-width: 1px;
  display: flex;
  flex-shrink: 0;
  height: 2.3rem;
  justify-content: center;
  width: 2.3rem;
}

.s-contacts-icon svg {
  height: 1.1rem;
  width: 1.2rem;
  fill: currentColor;
}

.unicode {
  unicode-bidi: plaintext;
  font-size: 1rem;
}

.footer-is-light .store-footer .store-footer__inner {
  border-bottom-color: #fff;
  border-style: solid;
}

.store-footer .contact-social {
  border: none !important;
}

@media (max-width: 767px) {
  .store-footer h3 P {
    font-size: 1.225rem;
  }

  .s-menu-footer-item {
    font-size: 0.925rem;
  }

  .store-footer__inner {
    padding: 20px 5px;
  }

  .contact-social {
    padding-top: 19px;
  }
}

div.main-content.md\:sticky.md\:overflow-hidden.top-24.w-full.md\:w-2\/4.md\:pb-16
  > div.flex.whitespace-nowrap.gap-4.items-center {
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
}

salla-slider.details-slider .swiper-slide {
  border-radius: 2.375rem !important;
  overflow: hidden;
}

.swiper-slide-visible.swiper-slide-fully-visible.swiper-slide-active.swiper-slide-thumb-active {
  border-radius: 21px !important;
}

.swiper-slide.swiper-slide-visible.swiper-slide-fully-visible.swiper-slide-next {
  border-radius: 21px !important;
}

salla-slider.details-slider .swiper-slide {
  border: none !important;
  background: transparent !important;
}

.s-breadcrumb-wrapper {
  color: #518f7e;
  font-weight: 700;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #518f7e !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px 10px 40px;
  border: none;
  border-radius: 999px;
  width: 100%;
  text-align: right;
  direction: rtl;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
  background-size: 18px !important;
}

select:focus {
  box-shadow: 0 0 0 3px rgba(81, 143, 126, 0.3);
}

select option {
  background-color: #fff;
  color: #1d1f1f;
  font-weight: 500;
}

.s-breadcrumb-arrow svg {
  height: 1.175rem;
  width: 1.275rem;
}

.s-slider-block__title-right {
  margin: auto;
}

.s-slider-block__title-right:where([dir="rtl"], [dir="rtl"] *) {
  padding: 0 !important;
}

.lg\:w-\[calc\(100\%-384px\)\] {
  width: 100%;
}

.custom-nav-right-actions #s-cart-icon::before {
  display: none !important;
}

.header-btn {
  border-style: none;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ========== End Global Style ========== */