/* Hide the inactive Cartat WhatsApp widget until it is connected or removed. */
.floating-wpp,
.cartat-whatsapp-icon {
  display: none !important;
}

/* Keep cookie choices visible without covering purchase actions on small screens. */
@media (max-width: 767px) {
  .s-cookies-bar {
    top: 0 !important;
    bottom: auto !important;
    padding: 0.75rem !important;
  }

  .s-cookies-bar-content {
    gap: 0.625rem !important;
    padding: 0 !important;
  }

  .s-cookies-bar-message {
    font-size: 0.75rem !important;
    line-height: 1.55 !important;
  }

  .s-cookies-bar-actions {
    width: 100% !important;
    gap: 0.5rem !important;
  }

  .s-cookies-bar-actions > * {
    flex: 1 1 0 !important;
  }
}

/* LANSA editorial homepage system — real product photography only. */
:root {
  --lansa-teal: #004956;
  --lansa-teal-deep: #00383f;
  --lansa-cream: #f4ead8;
  --lansa-ivory: #fbf8f2;
  --lansa-brass: #b9925a;
}

body {
  background:
    radial-gradient(circle at 8% 18%, rgba(185, 146, 90, 0.08), transparent 24rem),
    #fbfaf7;
}

.s-block--photos-slider {
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem) !important;
}

.s-block--photos-slider .swiper-slide img {
  border-radius: 0 0 26px 26px;
  box-shadow: 0 18px 45px rgba(0, 56, 63, 0.10);
}

.s-block--categories {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem) 0 !important;
  margin: 0 !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(185, 146, 90, 0.18), transparent 30rem),
    linear-gradient(135deg, #fbf8f2 0%, #f1e5d2 100%);
}

.s-block--categories .container {
  position: relative;
  z-index: 1;
}

.s-block--categories .s-slider-block__title {
  margin-bottom: 1.25rem;
}

.s-block--categories .s-slider-block__title h2 {
  color: var(--lansa-teal-deep);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 800;
}

.s-block--categories .s-slider-block__title h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lansa-brass), transparent);
}

.s-block--categories .swiper {
  overflow: visible;
}

.s-block--categories .swiper-wrapper {
  gap: 1rem;
}

.s-block--categories .slide--one-sixth {
  width: calc((100% - 2rem) / 3) !important;
}

.s-block--categories .slide--cat-entry {
  min-height: clamp(230px, 28vw, 340px);
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  overflow: hidden;
  padding: 1.25rem !important;
  border-radius: 24px !important;
  background-size: cover !important;
  background-position: center !important;
  color: #fff !important;
  box-shadow: 0 18px 38px rgba(0, 56, 63, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.s-block--categories .swiper-slide:nth-child(1) .slide--cat-entry {
  background-image:
    linear-gradient(180deg, transparent 34%, rgba(0, 56, 63, 0.92) 100%),
    url("https://cdn.salla.sa/bRXoDA/efE64bt02nj68MI2KvflEMnj40YfAVXG6iSuTP8n.png") !important;
}

.s-block--categories .swiper-slide:nth-child(2) .slide--cat-entry {
  background-image:
    linear-gradient(180deg, transparent 34%, rgba(0, 56, 63, 0.92) 100%),
    url("https://cdn.files.salla.network/homepage/1112356817/697c0006-c28a-42f6-b5d5-9d2b5ac0d04a-original.webp") !important;
}

.s-block--categories .swiper-slide:nth-child(3) .slide--cat-entry {
  background-image:
    linear-gradient(180deg, transparent 34%, rgba(0, 56, 63, 0.92) 100%),
    url("https://cdn.salla.sa/bRXoDA/1a2e3d06-e90b-43d1-891e-fb12b17875bd-500x500-FQT0eqrZzkbMkO9avZ0vHhgoWZS6esMJOJSX1dwl.jpg") !important;
}

.s-block--categories .slide--cat-entry i {
  display: none !important;
}

.s-block--categories .slide--cat-entry h2 {
  position: relative;
  z-index: 2;
  color: #fff !important;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem) !important;
  font-weight: 800 !important;
  margin: 0 !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.s-block--categories .slide--cat-entry::after {
  content: "اكتشف المجموعة";
  position: relative;
  z-index: 2;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.s-block--categories .slide--cat-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0, 56, 63, 0.22);
}

.s-products-slider-card {
  padding: 0 0.35rem 0.8rem;
}

.s-product-card-entry {
  overflow: hidden;
  border: 1px solid rgba(0, 73, 86, 0.09) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(0, 56, 63, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.s-product-card-entry:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(0, 56, 63, 0.14);
}

.s-product-card-image {
  overflow: hidden;
  background: linear-gradient(145deg, #f2eadf, #faf7f1) !important;
}

.s-product-card-image img {
  transition: transform 0.35s ease;
}

.s-product-card-entry:hover .s-product-card-image img {
  transform: scale(1.035);
}

.s-product-card-content {
  padding: 1rem !important;
}

.s-product-card-add-btn,
.s-button-btn {
  border-radius: 999px !important;
}

.s-block--features {
  margin-top: clamp(1rem, 3vw, 2rem) !important;
  margin-bottom: clamp(2rem, 5vw, 4rem) !important;
}

.s-block--features__item {
  border: 1px solid rgba(0, 73, 86, 0.08);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #fbf6ed);
  box-shadow: 0 12px 30px rgba(0, 56, 63, 0.07);
  padding: clamp(1.25rem, 3vw, 2rem) !important;
}

.s-block--features__item .feature-icon {
  background: linear-gradient(135deg, var(--lansa-teal), var(--lansa-teal-deep)) !important;
  box-shadow: 0 10px 24px rgba(0, 73, 86, 0.22);
}

.s-block--features__item h2 {
  color: var(--lansa-teal-deep);
}

@media (max-width: 767px) {
  .s-block--photos-slider {
    margin-bottom: 0.35rem !important;
  }

  .s-block--photos-slider .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .s-block--photos-slider .swiper-slide img {
    border-radius: 18px;
  }

  .s-block--categories {
    padding: 1.1rem 0 1.65rem !important;
  }

  .s-block--categories .s-slider-block__title {
    margin-bottom: 0.8rem !important;
  }

  .s-block--categories .swiper-wrapper {
    gap: 0.75rem;
  }

  .s-block--categories .slide--one-sixth {
    width: 78% !important;
  }

  .s-block--categories .slide--cat-entry {
    min-height: 225px;
    border-radius: 20px !important;
    padding: 1rem !important;
  }

  .s-block--categories .slide--cat-entry h2 {
    font-size: 1.28rem !important;
  }

  .s-products-slider-card {
    padding: 0 0.2rem 0.6rem;
  }

  .s-product-card-entry {
    border-radius: 18px !important;
  }

  .s-block--features .grid {
    gap: 0.75rem !important;
  }

  .s-block--features__item {
    border-radius: 18px;
    padding: 1rem !important;
  }
}

/* LANSA identity refinement: navigation, hero, products, product pages and footer. */
.top-navbar {
  background: linear-gradient(100deg, #002f36 0%, #004956 58%, #00383f 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-navbar,
.top-navbar a,
.top-navbar .s-search-input {
  color: rgba(255, 255, 255, 0.92) !important;
}

.top-navbar .s-search-input {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border-radius: 999px !important;
}

.main-nav-container {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(0, 73, 86, 0.08);
  box-shadow: 0 8px 28px rgba(0, 56, 63, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.main-nav-container a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav-container a:hover {
  color: var(--lansa-teal) !important;
  transform: translateY(-1px);
}

.main-nav-container img[alt*="logo" i],
.main-nav-container .navbar-brand img {
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 56, 63, 0.10);
}

.s-block--photos-slider .swiper-slide a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0 0 26px 26px;
}

.s-block--photos-slider .swiper-slide a::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 56, 63, 0.32), transparent);
}

.s-block--photos-slider .swiper-slide a::after {
  content: "اكتشف أحذية لانسا";
  position: absolute;
  right: clamp(1rem, 3vw, 2.25rem);
  bottom: clamp(0.85rem, 2vw, 1.5rem);
  z-index: 3;
  padding: 0.72rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: 999px;
  background: rgba(0, 56, 63, 0.88);
  color: #fff;
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 56, 63, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.s-block:not(.s-block--categories) .s-slider-block__title h2,
.s-block:not(.s-block--categories) .s-block__title h2 {
  color: var(--lansa-teal-deep);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.s-block:not(.s-block--categories) .s-slider-block__title h2::after,
.s-block:not(.s-block--categories) .s-block__title h2::after {
  content: "";
  display: block;
  width: 2.8rem;
  height: 3px;
  margin-top: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lansa-brass), rgba(185, 146, 90, 0));
}

.s-product-card-entry .s-product-card-add-btn,
.s-product-card-entry salla-add-product-button .s-button-btn {
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(110deg, var(--lansa-teal), var(--lansa-teal-deep)) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 20px rgba(0, 73, 86, 0.16);
}

.s-product-card-entry .s-product-card-wishlist-btn,
.s-product-card-entry button[aria-label*="wishlist" i] {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(0, 73, 86, 0.10) !important;
  box-shadow: 0 8px 20px rgba(0, 56, 63, 0.10);
}

.product-single {
  gap: clamp(1.5rem, 4vw, 4rem) !important;
  padding-top: clamp(1.5rem, 4vw, 3.5rem) !important;
  padding-bottom: clamp(2rem, 5vw, 4rem) !important;
}

.product-single h1 {
  color: var(--lansa-teal-deep) !important;
  font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em;
}

.product-single .product__description {
  margin-top: 1.2rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid rgba(0, 73, 86, 0.08);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #fbf7ef);
  color: #33464a;
  line-height: 1.9;
  box-shadow: 0 12px 30px rgba(0, 56, 63, 0.06);
}

.product-single .product-form {
  margin-top: 1.25rem;
  padding: clamp(1rem, 2.4vw, 1.5rem) !important;
  border: 1px solid rgba(0, 73, 86, 0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 56, 63, 0.08);
}

.product-single .product-form salla-add-product-button .s-button-btn {
  min-height: 54px !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(110deg, var(--lansa-teal), var(--lansa-teal-deep)) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 850 !important;
  box-shadow: 0 12px 24px rgba(0, 73, 86, 0.20);
}

.product-single img {
  border-radius: 22px;
}

.product-single .swiper-slide,
.product-single .product-slider,
.product-single .product-slider .swiper {
  border-radius: 24px;
}

.store-footer {
  margin-top: clamp(2.5rem, 6vw, 5rem) !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(185, 146, 90, 0.18), transparent 26rem),
    linear-gradient(120deg, #002f36 0%, #004956 100%) !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.store-footer h3 {
  color: #fff !important;
  font-weight: 850 !important;
}

.store-footer p,
.store-footer a {
  color: rgba(255, 255, 255, 0.78) !important;
}

.store-footer a:hover {
  color: #f4d8ad !important;
}

.store-footer__inner {
  background: transparent !important;
}

salla-products-list[source="reorder"] {
  display: block;
  margin-top: clamp(1rem, 3vw, 2.5rem);
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(0, 73, 86, 0.08);
}

@media (max-width: 767px) {
  .top-navbar {
    min-height: 58px;
  }

  .main-nav-container {
    box-shadow: 0 6px 20px rgba(0, 56, 63, 0.07);
  }

  .main-nav-container img[alt*="logo" i],
  .main-nav-container .navbar-brand img {
    border-radius: 10px;
  }

  .s-block--photos-slider .swiper-slide a {
    border-radius: 18px;
  }

  .s-block--photos-slider .swiper-slide a::before {
    height: 48%;
  }

  .s-block--photos-slider .swiper-slide a::after {
    right: 0.7rem;
    bottom: 0.65rem;
    padding: 0.52rem 0.82rem;
    font-size: 0.72rem;
  }

  .product-single {
    gap: 1rem !important;
    padding-top: 1rem !important;
  }

  .product-single h1 {
    font-size: 1.65rem !important;
  }

  .product-single .product__description,
  .product-single .product-form {
    border-radius: 18px;
  }

  .product-single img {
    border-radius: 18px;
  }

  .store-footer {
    margin-top: 2.5rem !important;
  }
}