/* LYNX-RR START - NOTE: never write an open bracket followed by the word input and a comma in this file; Salla then serves it with a wrong file type and browsers ignore it. Check with: file --mime-type (must say text/plain). 
   Lynx design "B2" (dark, cinematic) as custom CSS over Salla's free «رائد» React theme.
   Version «تنسيق رائد رقم (1)» (606157328). Works with lynx-rr.js (size buttons, colours, buy bar).
   Remove everything up to LYNX-RR END to undo. */
/* Readex Pro is loaded by lynx-rr.js (a CSS @import here would block the whole sheet). */

/* ---------- 1. Tokens ---------- */
:root,
body {
  --lx-bg: #141a12;
  --lx-bg2: #1c2419;
  --lx-ink: #efe9dc;
  --lx-muted: #a9a58f;
  --lx-sand: #d0c8b3;
  --lx-green: #2c3825;
  --lx-line: rgba(239, 233, 220, 0.14);
  --lx-display: 'Readex Pro', var(--font-main), system-ui, sans-serif;
  --lx-radius: 14px;
  --color-primary: #d0c8b3 !important;
  --color-primary-dark: #bdb498 !important;
  --color-primary-light: #3a4334 !important;
  --color-primary-reverse: #141a12 !important;
  --color-primary-rgb: 208, 200, 179 !important;
  --salla-fast-checkout-button-border-radius: 14px;
  color-scheme: dark;
}

/* ---------- 2. One dark ground on every page ---------- */
html,
body,
body .app-inner,
body main {
  background: var(--lx-bg) !important;
  color: var(--lx-ink);
}
body {
  font-family: var(--font-main), 'Readex Pro', system-ui, sans-serif !important;
}
body :is(h1, h2, h3, h4) {
  font-family: var(--lx-display);
  color: var(--lx-ink);
}
body main :is(p, li, span, label, td, th, b, strong, small, dt, dd, figcaption) {
  border-color: var(--lx-line);
}
body .bg-white,
body .bg-body {
  background-color: var(--lx-bg2) !important;
}
body :is(.bg-gray-50, .bg-gray-100, .bg-gray-200, .bg-border-color) {
  background-color: rgba(239, 233, 220, 0.06) !important;
}
body :is(.text-gray-900, .text-gray-800, .text-gray-700, .text-black, .text-dark, .text-store-text-primary) {
  color: var(--lx-ink) !important;
}
body :is(.text-gray-600, .text-gray-500, .text-gray-400, .text-gray-300, .text-store-text-secondary) {
  color: var(--lx-muted) !important;
}
body :is(.border, .border-t, .border-b, .border-s, .border-e, .border-gray-100, .border-gray-200, .border-gray-300, .border-border-color, .divide-y > *) {
  border-color: var(--lx-line) !important;
}
body .text-primary {
  color: var(--lx-sand) !important;
}
body .shadow,
body .shadow-md,
body .shadow-lg,
body .shadow-default {
  box-shadow: none !important;
}
body a {
  color: inherit;
}
body ::selection {
  background: var(--lx-sand);
  color: var(--lx-bg);
}
body :focus-visible {
  outline: 2px solid var(--lx-sand);
  outline-offset: 2px;
}
/* Form fields everywhere */
body :is(.s-form-control, .form-input, .s-search-input, input[type='text'], input[type='email'], input[type='tel'], input[type='number'], input[type='search'], select, textarea) {
  background-color: rgba(239, 233, 220, 0.06) !important;
  border-color: var(--lx-line) !important;
  color: var(--lx-ink) !important;
  border-radius: 12px;
}
body :is(textarea, input)::placeholder {
  color: var(--lx-muted) !important;
  opacity: 0.8;
}
/* Buttons: sand solid, quiet outline */
body :is(.s-button-primary, .btn--primary, .s-button-solid.s-button-primary) {
  background: var(--lx-sand) !important;
  border-color: var(--lx-sand) !important;
  color: var(--lx-bg) !important;
  border-radius: 12px !important;
}
body :is(.s-button-primary, .btn--primary) :is(span, i, svg) {
  color: var(--lx-bg) !important;
}
body :is(.s-button-primary-outline, .btn--outline-primary, .s-button-outline) {
  background: transparent !important;
  border-color: var(--lx-line) !important;
  color: var(--lx-ink) !important;
  border-radius: 12px !important;
}
body :is(.s-button-primary-outline, .btn--outline-primary, .s-button-outline) :is(span, i, svg) {
  color: var(--lx-ink) !important;
}
/* Skeletons stay quiet while widgets load */
body :is(.s-skeleton-pulse, .animate-pulse) {
  background-color: rgba(239, 233, 220, 0.06) !important;
}
body :is(.s-skeleton-card, .s-skeleton-form, .s-skeleton-wrapper) {
  background-color: transparent !important;
  border-color: var(--lx-line) !important;
}
/* Modals and sheets */
body :is(.s-modal-body, .s-modal-wrapper .s-modal-body, .s-login-modal-wrapper) {
  background: var(--lx-bg2) !important;
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
}
body .s-modal-body :is(h2, h3, h4, label, p, span, b, a):not(.s-button-text) {
  color: var(--lx-ink);
}
body :is(.s-modal-overlay, .s-modal-overlay-leave) {
  background: rgba(8, 10, 7, 0.72) !important;
}
body :is(.s-modal-close, .s-modal-close svg, .s-modal-close i) {
  color: var(--lx-muted) !important;
  fill: currentColor;
  background: transparent !important;
}
body .s-modal-header-icon,
body .s-modal-icon {
  background: rgba(239, 233, 220, 0.06) !important;
  color: var(--lx-sand) !important;
}
body .s-login-modal-main-btn,
body .s-login-modal-main-btn * {
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
  background-color: transparent !important;
}
body .s-verify-input,
body .s-tel-input-control {
  background: rgba(239, 233, 220, 0.06) !important;
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
}
body .iti__country-list {
  background: var(--lx-bg2) !important;
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
}
/* Breadcrumbs */
body :is(.breadcrumbs, .s-breadcrumb-wrapper) :is(a, span, li, i) {
  color: var(--lx-muted) !important;
}
/* Empty states */
body .no-content-placeholder :is(.icon, i) {
  background: var(--lx-bg2) !important;
  color: var(--lx-sand) !important;
}
body .no-content-placeholder p {
  color: var(--lx-muted) !important;
}

/* ---------- 3. Header: dark, 56px on phones (menu · logo · search · bag) ---------- */
body .site-header,
body .site-header__intro {
  background: var(--lx-bg) !important;
  color: var(--lx-ink);
}
body .site-header__bar,
body .site-header__bar.is-scrolled {
  background: rgba(20, 26, 18, 0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--lx-ink);
  border-color: transparent !important;
  box-shadow: none !important;
}
body .site-header :is(.header-action, .header-action svg, salla-user-menu svg, .s-user-menu-login-btn, .s-cart-summary-icon, .s-cart-summary-icon svg) {
  color: var(--lx-ink) !important;
}
body .site-header .header-action:hover {
  background: rgba(239, 233, 220, 0.06);
  color: var(--lx-sand) !important;
}
body .site-header__burger span {
  background: var(--lx-ink) !important;
}
body .site-header .s-cart-summary-total {
  display: none !important;
}
body .s-cart-summary-wrapper {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}
body .s-cart-summary-count {
  position: absolute !important;
  top: 3px !important;
  inset-inline-end: 1px !important;
  left: auto;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: 9px;
  font-size: 10px;
  line-height: 17px;
  background: var(--lx-sand) !important;
  color: var(--lx-bg) !important;
}
body .s-cart-summary-count:empty,
body .s-cart-summary-count[data-count='0'] {
  display: none !important;
}
body :is(.site-header__topnav, .header-topnav) {
  background: #0f140d !important;
  color: var(--lx-muted) !important;
  border-color: var(--lx-line) !important;
}
body .site-header__topnav :is(a, button, span) {
  color: var(--lx-muted) !important;
}
body .site-header__mainmenu .main-menu > li > :is(a, button) {
  color: var(--lx-ink) !important;
}
body .site-header :is(.sub-menu, .s-user-menu-dropdown, [class*='dropdown']) {
  background: var(--lx-bg2) !important;
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
}
body .site-header :is(.sub-menu, .s-user-menu-dropdown) :is(a, span, button) {
  color: var(--lx-ink) !important;
}
body salla-bullet-delivery-tag,
body .site-header__bullet {
  background: #0f140d !important;
  color: var(--lx-muted) !important;
}
@media (max-width: 767px) {
  body .site-header.site-header .site-header__bar {
    height: 56px;
    overflow: visible;
    visibility: visible;
  }
  body .site-header .site-header__bar-outer {
    min-height: 56px !important;
    height: 56px;
  }
  body .site-header .site-header__bar-inner {
    height: 56px;
    min-height: 0;
    padding-block: 0;
    align-items: center;
  }
  body .site-header .site-header__actions {
    align-items: center;
  }
  body .site-header .site-header__actions > * {
    display: inline-grid;
    place-items: center;
    height: 40px;
    width: auto !important;
  }
  body .site-header.site-header .site-header__nav-toggle button,
  body .site-header .header-action.site-header__search {
    display: inline-grid;
  }
  body .site-header .site-header__actions salla-cart-summary {
    display: inline-block;
    transform: translateY(3px);
  }
  body .site-header .site-header__actions div:has(> salla-user-menu) {
    width: 34px;
    height: 40px;
    display: inline-grid;
    place-items: center;
  }
  body .site-header .site-header__actions salla-user-menu svg {
    width: 22px;
    height: 22px;
  }
  body .site-header .site-header__brand img {
    max-height: 32px;
    width: auto;
  }
  /* The header carries menu, search and bag; Raed's bottom nav is not needed. */
  body :is(.mobile-page-title, .mobile-bottom-bar, .mobile-bottom-bar-scrim) {
    display: none !important;
  }
}

/* ---------- 4. Menu drawer, search, added-to-bag notice ---------- */
body :is(.site-nav-drawer, .site-nav-drawer__panel, .site-nav-drawer__track, .site-nav-drawer__head, .site-nav-drawer__foot, .site-nav-drawer__viewport) {
  background: var(--lx-bg2) !important;
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
}
body :is(.site-nav-drawer__link, .site-nav-drawer__label, .site-nav-drawer__close, .site-nav-drawer__back, .site-nav-drawer__chevron, .site-nav-drawer__browse-all, .site-nav-drawer__loc, .site-nav-drawer__foot button, .site-nav-drawer__foot span) {
  color: var(--lx-ink) !important;
  font-family: var(--lx-display);
}
body .site-nav-drawer__link {
  border-color: var(--lx-line) !important;
}
body .site-nav-drawer__backdrop {
  background: rgba(8, 10, 7, 0.6) !important;
}
body :is(.s-search-modal .s-modal-body, .s-search-modal .s-modal-wrapper, .s-search-modal .s-modal-header, .s-search-container, .s-search-panel, .s-search-idle-panel, .s-search-results, .s-search-input-row, .s-search-results-body) {
  background: var(--lx-bg2) !important;
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
}
body :is(.s-search-idle-section-title, .s-search-most-searched-item, .s-search-product-title, .s-search-product-price, .s-search-back-btn, .s-search-product-card-content-title, .s-search-product-card-price-value) {
  color: var(--lx-ink) !important;
}
body :is(.s-search-product-card-content-subtitle, .s-search-product-card-content-sub, .s-search-view-all, .s-search-view-all-icon, .s-search-icon, .s-search-icon-wrap) {
  color: var(--lx-muted) !important;
}
body :is(.s-search-idle-category-chip, .s-search-history-chip) {
  background: transparent !important;
  border: 1px solid var(--lx-line) !important;
  color: var(--lx-ink) !important;
}
body .s-search-divider {
  background: var(--lx-line) !important;
}
body .s-search-product-card-image {
  background: rgba(239, 233, 220, 0.06) !important;
  border-radius: 10px;
}
body .s-search-input-wrapper button,
body .s-search-input-wrapper button *,
body .s-search-modal [class*='clear'] {
  color: var(--lx-sand) !important;
  background: transparent !important;
}
body :is(.s-search-view-all, .s-search-results-body > *, .s-search-modal hr) {
  border-color: var(--lx-line) !important;
}
body .s-add-product-toast {
  background: var(--lx-bg2) !important;
  color: var(--lx-ink) !important;
  border-bottom: 1px solid var(--lx-line);
}
body .s-add-product-toast__progress {
  background: rgba(239, 233, 220, 0.1) !important;
}
body .s-add-product-toast__progress-bar {
  background: var(--lx-sand) !important;
}
body .s-add-product-toast__header :is(svg, svg path) {
  color: var(--lx-sand) !important;
}
body :is(.s-add-product-toast__title, .s-add-product-toast__close, .s-add-product-toast__close i, .s-add-product-toast__name, .s-add-product-toast__price, .s-add-product-toast__price-sale, .s-add-product-toast__price-sale i) {
  color: var(--lx-ink) !important;
}
body :is(.s-add-product-toast__options span, .s-add-product-toast__price-original, .s-add-product-toast__price-original i) {
  color: var(--lx-muted) !important;
}
body .s-add-product-toast__divider {
  background: var(--lx-line) !important;
}
body .s-add-product-toast__image {
  background: rgba(239, 233, 220, 0.06) !important;
  border-radius: 10px;
}
body .s-add-product-toast__button {
  border-radius: 12px !important;
  min-height: 48px;
}
body .s-add-product-toast__button--primary,
body .s-add-product-toast__button--primary * {
  background-color: var(--lx-sand) !important;
  border-color: var(--lx-sand) !important;
  color: var(--lx-bg) !important;
}
body .s-add-product-toast__button--outline,
body .s-add-product-toast__button--outline * {
  border-color: var(--lx-line) !important;
  color: var(--lx-ink) !important;
  background: transparent !important;
}

/* ---------- 5. Home ---------- */
/* Hero: the first banner, full-bleed, brand word at the bottom */
body.index main > section.s-block--fixed-banner:first-of-type {
  margin: 0 !important;
  padding: 0 !important;
}
body.index main > section.s-block--fixed-banner:first-of-type > .container {
  max-width: none !important;
  padding: 0 !important;
}
body.index main > section.s-block--fixed-banner:first-of-type .banner {
  position: relative;
  display: block;
  height: min(84svh, 780px);
  border-radius: 0 !important;
  overflow: hidden;
  background: var(--lx-green);
}
body.index main > section.s-block--fixed-banner:first-of-type .banner :is(picture, img) {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  background: transparent !important;
  border-radius: 0 !important;
}
body.index main > section.s-block--fixed-banner:first-of-type .banner picture::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 42%, rgba(10, 13, 9, 0.78));
}
body.index main > section.s-block--fixed-banner:first-of-type .banner::before {
  content: 'LYNX · HOODIE';
  position: absolute;
  z-index: 1;
  inset-inline: 22px;
  bottom: calc(64px + clamp(80px, 26vw, 240px) * 0.98);
  direction: ltr;
  text-align: right;
  font: 400 0.75rem/1 var(--lx-display);
  letter-spacing: 0.3em;
  color: var(--lx-sand);
}
body.index main > section.s-block--fixed-banner:first-of-type .banner::after {
  content: 'الوشق';
  position: absolute;
  z-index: 1;
  inset-inline: 20px;
  bottom: 56px;
  font: 700 clamp(80px, 26vw, 240px) / 0.92 var(--lx-display);
  color: var(--lx-ink);
}
/* "Choose your colour" rises over the hero */
body.index main > section.s-block--fixed-banner:first-of-type + section {
  position: relative;
  z-index: 2;
  margin-top: -28px !important;
  padding-top: 28px !important;
  background: var(--lx-bg);
  border-radius: 22px 22px 0 0;
  border-top: 1px solid var(--lx-line);
}
body.index main > section.s-block {
  margin-block: 0 !important;
  padding-block: 28px;
}
body :is(.s-products-carousel__title, .s-block__title h2, .scroll-carousel__heading h2) {
  font-family: var(--lx-display);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--lx-ink) !important;
}
body .scroll-carousel__nav :is(button, span) {
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
  background: transparent !important;
}
/* Two colours side by side */
body.index .s-block--products-slider .scroll-carousel__track {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: visible !important;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
  width: auto !important;
}
body.index .s-block--products-slider .s-products-carousel__slide {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: none !important;
}
/* Lookbook mosaic */
body.index .s-block--enhanced-square-banners > .grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px !important;
}
body.index .s-block--enhanced-square-banners .banner-entry {
  height: 230px !important;
  border-radius: 16px !important;
  overflow: hidden;
  margin: 0 !important;
}
body.index .s-block--enhanced-square-banners .banner-entry:nth-child(3n + 1) {
  grid-column: 1 / -1;
  height: 300px !important;
}
body.index .s-block--enhanced-square-banners .banner-entry__text:not(:has(:is(h3, p):not(:empty))) {
  display: none !important;
}
/* Second banner (forest): a wide band */
body.index main > section.s-block--fixed-banner:not(:first-of-type) .banner {
  display: block;
  border-radius: 18px !important;
  overflow: hidden;
}
body.index main > section.s-block--fixed-banner:not(:first-of-type) .banner img {
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 220px;
  object-fit: cover !important;
  background: transparent !important;
  border-radius: 0 !important;
}
/* Features: an editorial list, no stock glyphs */
body .s-block--store-features > .grid {
  display: block !important;
  border-top: 1px solid var(--lx-line);
}
body .s-block--features__item {
  display: block !important;
  padding: 18px 2px !important;
  margin: 0 !important;
  text-align: start !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--lx-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body .s-block--features__item .feature-icon {
  display: none !important;
}
body .s-block--features__item h2 {
  margin: 0 0 4px !important;
  font: 600 1.0625rem/1.4 var(--lx-display) !important;
  color: var(--lx-ink) !important;
}
body .s-block--features__item p {
  margin: 0 !important;
  color: var(--lx-muted) !important;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- 6. Product cards (home, category, search, related) ---------- */
body .s-product-card-entry {
  background: var(--lx-bg2) !important;
  border: 1px solid var(--lx-line) !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: none !important;
}
body .s-product-card-image {
  background: #e9e9e7 !important;
  border-radius: 0 !important;
}
body .s-product-card-image img {
  border-radius: 0 !important;
}
body .s-product-card-content {
  padding: 12px 12px 14px !important;
}
body :is(.s-product-card-content-title, .s-product-card-content-title a) {
  font-family: var(--lx-display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--lx-ink) !important;
}
body .s-product-card-content-subtitle {
  color: var(--lx-muted) !important;
  font-weight: 300;
}
body :is(.s-product-card-price, .s-product-card-sale-price h4, .s-product-card-starting-price h4, .s-product-card-content-sub h4) {
  font-family: var(--lx-display);
  color: var(--lx-ink) !important;
  font-weight: 500;
}
body .s-product-card-entry :is(.s-product-card-content-footer, .s-product-card-wishlist-btn, salla-add-product-button, .s-product-card-wishlist-added) {
  display: none !important;
}
body :is(.s-product-card-promotion-title, .s-free-shipping-tag) {
  background: rgba(20, 26, 18, 0.72) !important;
  color: var(--lx-sand) !important;
  border-radius: 8px !important;
}
body .s-free-shipping-tag * {
  color: var(--lx-sand) !important;
}
body .s-items-list-end {
  display: none !important;
}
/* Catalog toolbar */
body :is(.s-catalog-toolbar-sticky, .s-catalog-toolbar) {
  background: var(--lx-bg) !important;
  border-color: var(--lx-line) !important;
  color: var(--lx-ink) !important;
}
body .s-catalog-toolbar :is(button, b, span, select, label) {
  color: var(--lx-ink) !important;
  background-color: transparent !important;
}
body .s-catalog-toolbar select {
  border: 0 !important;
}
body :is(.product-index, .product-index-search, .product-index-offers) #page-main-title,
body main h1 {
  font-family: var(--lx-display);
  color: var(--lx-ink) !important;
  text-wrap: balance;
}

/* ---------- 7. Product page ---------- */
body.product-single .product-gallery__bar,
body.product-single .product-details__title-actions {
  display: none !important;
}
body.product-single .details-slider,
body.product-single .details-slider :is(.swiper, .swiper-slide, img) {
  border-radius: 0 !important;
}
body.product-single .details-slider .swiper-slide > div {
  background: #e9e9e7 !important;
}
body.product-single .details-slider .swiper-pagination-bullet {
  background: var(--lx-bg) !important;
  opacity: 0.35;
}
body.product-single .details-slider .swiper-pagination-bullet-active {
  opacity: 1;
}
body.product-single .details-slider :is(.s-slider-nav-arrow, .s-slider-block__title-nav button) {
  background: rgba(20, 26, 18, 0.7) !important;
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
}
body.product-single .details-slider .s-slider-thumbs .swiper-slide {
  border-radius: 10px !important;
  overflow: hidden;
  border: 1px solid var(--lx-line);
  opacity: 0.7;
}
body.product-single .details-slider .s-slider-thumbs .swiper-slide-thumb-active {
  border-color: var(--lx-sand);
  opacity: 1;
}
/* The buy sheet */
body.product-single .main-content {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 14px;
  background: var(--lx-bg2);
  color: var(--lx-ink);
  overflow: visible !important;
}
body.product-single .main-content > * {
  grid-column: 1 / -1;
  min-width: 0;
}
body.product-single .main-content > div:has(> div > h1) {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
}
body.product-single .main-content > div:has(> div > h1) + div {
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  padding-top: 6px;
}
body.product-single .main-content h1 {
  margin: 0;
  font: 600 1.75rem/1.2 var(--lx-display) !important;
  color: var(--lx-ink) !important;
  text-wrap: balance;
}
body.product-single .main-content .product-entry__sub-title {
  margin: 8px 0 0;
  color: var(--lx-muted) !important;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.7;
}
body.product-single .main-content > div:has(> div > h1) + div :is(p, span, i) {
  font-family: var(--lx-display);
  font-size: 1.375rem !important;
  font-weight: 500 !important;
  color: var(--lx-ink) !important;
  font-variant-numeric: tabular-nums;
}
body.product-single .main-content > div:has(> div > h1) + div .line-through,
body.product-single .main-content > div:has(> div > h1) + div .line-through i {
  font-size: 0.875rem !important;
  color: var(--lx-muted) !important;
}
body.product-single .main-content > .lynx-colors {
  order: 1;
  margin-top: 22px;
}
body.product-single .main-content > form.product-form {
  order: 2;
  margin-top: 20px !important;
  gap: 18px !important;
  color: var(--lx-ink);
}
body.product-single .main-content > :is(salla-cashback-banner, div:has(> salla-installment)) {
  order: 3;
}
body.product-single .main-content > div:has(> salla-installment):not(:has(salla-installment *)) {
  display: none;
}
body.product-single .main-content > div:has(> salla-installment) {
  margin-top: 14px;
}
body.product-single .main-content > .product__description {
  order: 5;
  margin: 26px 0 0 !important;
  padding-top: 22px;
  border-top: 1px solid var(--lx-line);
}
body.product-single .main-content > :is(salla-bought-together, salla-verified-review, salla-metadata, div:last-child:not(.lynx-colors)) {
  order: 6;
}
body.product-single .product__description,
body.product-single .product__description :is(p, li, span, div) {
  color: var(--lx-muted) !important;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.85;
  background: transparent !important;
  font-family: inherit !important;
}
body.product-single .product__description :is(strong, b, h2, h3) {
  display: inline-block;
  margin-top: 10px;
  color: var(--lx-ink) !important;
  font: 600 1.0625rem/1.4 var(--lx-display) !important;
}
body.product-single .product__description ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
body.product-single .product__description li {
  padding: 9px 0;
  border-bottom: 1px solid var(--lx-line);
}
body.product-single .product__description p:has(> br:only-child) {
  display: none;
}
/* Stock size dropdown is replaced by buttons when the script runs */
body.product-single form.product-form:has(.lx-opts) salla-product-options .s-product-options-option-container:has(select.s-form-control) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}
body.product-single form.product-form:has(.lx-opts) .options-plain:not(:has(.s-product-options-option-container:not(:has(select.s-form-control)))) {
  display: contents;
}
body.product-single salla-product-options,
body.product-single salla-product-options form,
body.product-single .options-plain {
  background: transparent !important;
  color: var(--lx-ink);
  padding: 0 !important;
  border: 0 !important;
}
body.product-single :is(.s-product-options-option-label, .s-product-options-option-label b) {
  color: var(--lx-muted) !important;
  font-size: 0.8125rem;
  font-weight: 400;
}
body.product-single .s-product-options-option-label small {
  display: none;
}
.lx-opts {
  order: -1;
  display: grid;
  gap: 18px;
}
.lx-opt__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.lx-opt__label {
  margin: 0;
  color: var(--lx-muted);
  font-size: 0.8125rem;
}
.lx-opt__label b {
  color: var(--lx-ink);
  font-weight: 500;
  font-family: var(--lx-display);
}
.lx-opt__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 10px;
}
.lx-opt__btn {
  min-height: 54px;
  border: 1px solid var(--lx-line);
  border-radius: 12px;
  background: transparent;
  color: var(--lx-ink);
  font: 500 1rem/1 var(--lx-display);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.lx-opt__btn:hover {
  border-color: rgba(208, 200, 179, 0.5);
}
.lx-opt__btn.is-active {
  background: var(--lx-sand);
  border-color: var(--lx-sand);
  color: var(--lx-bg);
}
.lx-opt__btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.lx-opt.lx-flash {
  animation: lx-flash 1.2s ease;
  border-radius: 14px;
  outline: 2px solid transparent;
  outline-offset: 8px;
}
@keyframes lx-flash {
  0%,
  100% {
    outline-color: rgba(208, 200, 179, 0);
  }
  30% {
    outline-color: rgba(208, 200, 179, 0.7);
  }
}
.lynx-sizechart {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--lx-sand);
  font: 400 0.8125rem var(--font-main), 'Readex Pro', sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
/* Colour pills between the colour products */
.lynx-colors__label {
  margin: 0 0 10px;
  color: var(--lx-muted);
  font-size: 0.8125rem;
}
.lynx-colors__label b {
  color: var(--lx-ink);
  font-weight: 500;
  font-family: var(--lx-display);
}
.lynx-colors__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lynx-colors__pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding-inline: 14px;
  border: 1px solid var(--lx-line);
  border-radius: 12px;
  color: var(--lx-ink) !important;
  font: 500 0.9375rem/1.3 var(--lx-display);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.lynx-colors__pill i {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--lx-green);
  background-size: 900%;
  background-position: 50% 58%;
  box-shadow: 0 0 0 2px var(--lx-bg2), 0 0 0 3px rgba(239, 233, 220, 0.45);
}
.lynx-colors__pill.is-active {
  border-color: var(--lx-sand);
  background: rgba(208, 200, 179, 0.08);
}
a.lynx-colors__pill:hover {
  border-color: rgba(208, 200, 179, 0.5);
}
/* Buy buttons: full-width Add, then buy now / Apple Pay */
body.product-single .sticky-product-bar {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  inset: auto !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  display: block !important;
  border: 0 !important;
}
body.product-single .sticky-product-bar__quantity > :not(.out-of-stock) {
  display: none !important;
}
body.product-single .sticky-product-bar__quantity {
  margin: 0 !important;
  min-height: 0 !important;
}
body.product-single .sticky-product-bar salla-add-product-button {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
body.product-single .s-add-product-button-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}
body.product-single .s-add-product-button-main > *,
body.product-single .s-add-product-button-main:not(.w-full) > salla-button,
body.product-single salla-add-product-button salla-button,
body.product-single salla-add-product-button salla-button > button,
body.product-single salla-add-product-button salla-quick-buy {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}
body.product-single salla-add-product-button .s-add-product-button-main > salla-button .s-button-element {
  width: 100%;
  min-height: 56px;
  border-radius: var(--lx-radius) !important;
  background: var(--lx-sand) !important;
  border-color: var(--lx-sand) !important;
  color: var(--lx-bg) !important;
  font-weight: 500;
  font-size: 1rem;
}
body.product-single salla-add-product-button .s-add-product-button-main > salla-button .s-button-text > svg {
  display: none !important;
}
body.product-single salla-add-product-button .s-add-product-button-sr-only {
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--lx-bg) !important;
  font: 500 1rem/1 var(--font-main), 'Readex Pro', sans-serif !important;
}
body.product-single salla-add-product-button .s-button-text {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  overflow: visible !important;
}
body.product-single .s-add-product-button-mini-checkout {
  min-height: 52px;
  border: 1px solid var(--lx-line) !important;
  border-radius: var(--lx-radius) !important;
  background: transparent !important;
  color: var(--lx-ink) !important;
  display: grid !important;
  place-items: center;
}
body.product-single .s-add-product-button-mini-checkout-content,
body.product-single .s-add-product-button-mini-checkout-content * {
  color: var(--lx-ink) !important;
  font-family: var(--font-main), 'Readex Pro', system-ui, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
}
body.product-single salla-quick-buy apple-pay-button {
  --apple-pay-button-height: 52px;
  --apple-pay-button-border-radius: 14px;
  width: 100%;
}
/* Below the sheet */
body.product-single main > section.s-block--full-bg {
  background: var(--lx-bg) !important;
  padding-block: 24px !important;
}
body.product-single main > section.s-block--full-bg:not(:has(:is(.s-comments-item, .s-comment-item, .s-rating-stars-selected))) {
  display: none !important;
}
body.product-single main > section:has(.s-products-carousel) {
  padding-block: 34px 28px !important;
}
body :is(.s-comments, .s-comments-product, .s-comment-form-wrapper) {
  background: transparent !important;
  color: var(--lx-ink) !important;
}

@media (max-width: 767px) {
  body.product-single main > .container {
    padding-inline: 0 !important;
  }
  body.product-single .main-content {
    margin-top: -28px;
    padding: 26px 20px 26px !important;
    border-radius: 22px 22px 0 0;
    border-top: 1px solid var(--lx-line);
  }
  body.product-single main > section:has(.s-products-carousel) {
    padding-inline: 10px;
  }
  /* room for the floating buy bar under the last line */
  body.product-single .store-footer {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}
@media (min-width: 768px) {
  body.product-single main > .container > div[id^='product-'] {
    gap: 28px;
    padding-top: 28px;
    align-items: start;
  }
  body.product-single .details-slider,
  body.product-single .details-slider .swiper {
    border-radius: 22px !important;
    overflow: hidden;
  }
  body.product-single .main-content {
    padding: 34px 36px !important;
    border: 1px solid var(--lx-line);
    border-radius: 22px;
  }
  body.index .s-block--products-slider .scroll-carousel__track {
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
    gap: 24px;
  }
  body.index .s-block--enhanced-square-banners > .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px !important;
  }
  body.index .s-block--enhanced-square-banners .banner-entry,
  body.index .s-block--enhanced-square-banners .banner-entry:nth-child(3n + 1) {
    grid-column: auto;
    height: 380px !important;
  }
  body .s-block--store-features > .grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 28px !important;
  }
  body.index main > section.s-block--fixed-banner:first-of-type .banner {
    height: min(88svh, 900px);
  }
  body.index main > section.s-block--fixed-banner:first-of-type .banner::after {
    inset-inline: max(48px, calc((100vw - 1280px) / 2));
    bottom: 90px;
    font-size: clamp(120px, 15vw, 250px);
  }
  body.index main > section.s-block--fixed-banner:first-of-type .banner::before {
    inset-inline: max(52px, calc((100vw - 1280px) / 2 + 4px));
    bottom: calc(100px + clamp(120px, 15vw, 250px) * 0.98);
  }
}

/* ---------- 8. Floating buy bar (phones) ---------- */
.lynx-bar {
  position: fixed;
  z-index: 300;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(28, 36, 25, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--lx-line);
  color: var(--lx-ink);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lynx-bar.is-on {
  transform: none;
}
.lynx-bar__text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.lynx-bar__text b {
  display: block;
  font: 500 0.875rem/1.4 var(--lx-display);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lynx-bar__price {
  margin: 0;
  font: 400 0.8125rem/1.4 var(--lx-display);
  color: var(--lx-muted);
  font-variant-numeric: tabular-nums;
}
.lynx-bar__btn {
  height: 48px;
  padding-inline: 20px;
  border: 0;
  border-radius: 12px;
  background: var(--lx-sand);
  color: var(--lx-bg);
  font: 500 0.9375rem/1 var(--font-main), 'Readex Pro', sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .lynx-bar {
    display: none;
  }
}
/* Size chart sheet */
.lx-modal {
  position: fixed;
  z-index: 400;
  inset: 0;
  display: grid;
  place-items: end center;
  background: rgba(8, 10, 7, 0.72);
}
.lx-modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 92svh;
  overflow: auto;
  background: var(--lx-bg2);
  border: 1px solid var(--lx-line);
  border-radius: 22px 22px 0 0;
  padding: 14px;
}
.lx-modal__panel img {
  display: block;
  width: 100%;
  border-radius: 12px;
}
.lx-modal__close {
  position: sticky;
  top: 0;
  margin-inline-start: auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border: 1px solid var(--lx-line);
  border-radius: 50%;
  background: var(--lx-bg2);
  color: var(--lx-ink);
  font-size: 1.25rem;
  cursor: pointer;
}
@media (min-width: 768px) {
  .lx-modal {
    place-items: center;
  }
  .lx-modal__panel {
    border-radius: 22px;
  }
}

/* ---------- 9. Cart, content pages, account ---------- */
body :is(.cart-item, section.cart-item, .s-cart-summary-card, .s-cart-summary-card-bar, .s-cart-summary-card-sheet) {
  background: var(--lx-bg2) !important;
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
  box-shadow: none !important;
}
body :is(section.cart-item, .s-cart-summary-card--desktop) {
  border: 1px solid var(--lx-line) !important;
  border-radius: 18px !important;
}
body .s-cart-summary-card--mobile {
  border-top: 1px solid var(--lx-line) !important;
}
body .s-cart-summary-card :is(h3, h4, span, p, div, b, strong, label):not(.s-button-text) {
  color: var(--lx-ink) !important;
}
body .s-cart-summary-card :is([class*='label'], [class*='subtitle']) {
  color: var(--lx-muted) !important;
}
body .s-cart-summary-card salla-button button {
  background: var(--lx-sand) !important;
  border-color: var(--lx-sand) !important;
  color: var(--lx-bg) !important;
  border-radius: 12px !important;
}
body .s-cart-summary-card salla-button button * {
  color: var(--lx-bg) !important;
  opacity: 1 !important;
}
body.cart main :is(h1, h2, h3, h4, span, label, td, th, b, strong, a) {
  color: var(--lx-ink);
}
body.cart main * {
  border-color: var(--lx-line);
}
body.cart .cart-item :is(.btn--delete, salla-button[color='danger']) :is(button, .s-button-element) {
  background: transparent !important;
  border: 1px solid var(--lx-line) !important;
  color: var(--lx-muted) !important;
}
body :is(.s-quantity-input, .s-quantity-input-container) {
  border-color: var(--lx-line) !important;
  background: transparent !important;
}
body :is(.s-quantity-input-button, .s-quantity-input-input) {
  color: var(--lx-ink) !important;
  background: transparent !important;
  font-family: var(--lx-display);
}
body .content--single-page,
body .page-single main article,
body.page-single main .container > div {
  background: transparent;
  color: var(--lx-ink);
}
body.page-single main :is(p, li, span, strong, b, div, td) {
  color: var(--lx-ink);
  background-color: transparent !important;
}
body.page-single main :is(p, li) {
  line-height: 1.9;
  margin-bottom: 0.7em;
}
body.page-single main a {
  color: var(--lx-sand) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body :is(.s-user-menu-dropdown, .s-user-menu-dropdown-list) {
  background: var(--lx-bg2) !important;
}
body :is(.s-tabs-header, .s-tabs-header-item, .s-tabs-content, .s-orders-container, .s-wallet-table, .s-user-profile-wrapper, .s-user-settings-section) {
  background: transparent !important;
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
}

/* ---------- 10. Footer: dark, visible on phones too ---------- */
body .store-footer {
  margin-top: 0 !important;
  background: var(--lx-bg) !important;
  color: var(--lx-muted) !important;
  border-top: 1px solid var(--lx-line);
}
body .store-footer h3 {
  color: var(--lx-ink) !important;
  font-family: var(--lx-display);
}
body .store-footer :is(a, .s-menu-footer-item, p, span, li) {
  color: var(--lx-muted) !important;
}
body .store-footer > div,
body .store-footer__inner {
  background: var(--lx-bg) !important;
  border-color: var(--lx-line) !important;
}
body .store-footer__bottom,
body .store-footer__bottom * {
  border-color: var(--lx-line) !important;
  color: var(--lx-muted) !important;
}
body .store-footer__desc,
body .store-footer__desc * {
  font-family: var(--font-main), 'Readex Pro', system-ui, sans-serif !important;
  font-weight: 400 !important;
  color: var(--lx-muted) !important;
}
body .store-footer :is(.s-social-link a, .s-contacts-item) {
  color: var(--lx-ink) !important;
  border-color: var(--lx-line) !important;
}
body .store-footer .s-payments-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
body .store-footer .s-payments-list-item {
  background: #efe9dc !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  width: 52px !important;
  height: 30px !important;
  padding: 4px 7px !important;
  margin: 0 !important;
}
body .store-footer .s-payments-list-item img {
  object-fit: contain;
}
@media (max-width: 767px) {
  body .store-footer:not(.store-footer--sheet) > .store-footer__inner,
  body .store-footer:not(.store-footer--sheet) > .store-footer__bottom {
    display: block !important;
  }
}

/* ---------- 11. WhatsApp bubble: quiet, never over the buy bar ---------- */
body .wa-s-n {
  transform: scale(0.8);
  transform-origin: bottom left;
  filter: saturate(0.35) brightness(0.9);
  transition: opacity 0.25s ease, bottom 0.25s ease;
}
@media (max-width: 899px) {
  body.product-single .wa-s-n {
    bottom: 84px !important;
  }
  body.cart .wa-s-n {
    bottom: 124px !important;
  }
}
body:has(.s-modal-body:not([hidden])) .wa-s-n,
body:has(.lx-modal) .wa-s-n {
  z-index: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .lynx-bar,
  .lx-opt__btn,
  .lynx-colors__pill {
    transition: none !important;
    animation: none !important;
  }
}
/* ---------- 12. Second pass ---------- */
/* product: no weight row */
body.product-single .product-form > section:has(> .center-between > .form-label) {
  display: none !important;
}
/* bag badge sits on the bag, not on the search icon */
body .s-cart-summary-count {
  inset-inline-end: auto !important;
  inset-inline-start: -2px !important;
  right: -2px;
}
/* cart item: one dark card, quiet size field */
body.cart section.cart-item {
  padding: 16px !important;
  margin-bottom: 14px !important;
}
body.cart section.cart-item img {
  border-radius: 10px;
}
body.cart .cart-item :is(.options-plain, salla-product-options, .s-product-options-option, .s-product-options-option-container) {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}
body.cart .cart-item .s-product-options-option-label small {
  display: none !important;
}
body.cart .cart-item :is(.s-product-options-option-label, .s-product-options-option-label b) {
  color: var(--lx-muted) !important;
  font-size: 0.8125rem;
  font-weight: 400;
}
body.cart .cart-item select option[value=''] {
  display: none;
}
body.cart .cart-item__delete {
  color: var(--lx-muted) !important;
}
body.cart main .rounded-md {
  border-radius: 18px !important;
  border: 1px solid var(--lx-line);
}
/* Salla serves the login form in its own frame; give it one clean light card */
body .s-login-modal .s-modal-body {
  background: #fff !important;
  border-radius: 22px 22px 0 0 !important;
  overflow: hidden;
}
body .s-login-modal .s-modal-body :is(.s-modal-close, .s-modal-close svg) {
  color: #6b6b6b !important;
}
/* Express buttons (buy now, Apple Pay) read the size from the form: they appear once a size is chosen. */
body.product-single .product-form:has(.lx-opts):not(:has(.lx-opt__btn.is-active)) :is(.s-add-product-button-mini-checkout, salla-quick-buy) {
  display: none !important;
}
body.lx-adding .lynx-bar__btn,
body.lx-adding.product-single salla-add-product-button .s-add-product-button-main > salla-button {
  opacity: 0.6;
  pointer-events: none;
}
/* LYNX-RR END */

/* ---------- 13. round 2: guidance, category and search pages, desktop product page ---------- */
.lx-opt.is-missing .lx-opt__label {
  color: var(--lx-sand);
}
.lx-opt.is-missing .lx-opt__label::after {
  content: ' — اختر المقاس أولاً';
  font-weight: 500;
}
.lx-opt.is-missing .lx-opt__btn {
  border-color: rgba(208, 200, 179, 0.7) !important;
}
.lynx-colors__pill i[data-flat] {
  background-image: none !important;
}
body.product-single .product__description :is(ul, ol) {
  list-style: none !important;
  padding-inline: 0 !important;
}
body.product-single .product__description li {
  padding-block: 6px;
  border-bottom: 1px solid var(--lx-line);
}
body.cart .wa-s-n {
  bottom: 24px !important;
}
@media (max-width: 767px) {
  body:is(.product-index, .product-index-search) main h1 {
    display: block !important;
    padding: 6px 6px 2px;
    font-size: 1.375rem !important;
    color: var(--lx-ink);
  }
  body:is(.product-index, .product-index-search) main .flex.min-h-screen {
    min-height: 0 !important;
  }
}
@media (min-width: 768px) {
  body:is(.product-index, .product-index-search) .s-products-list-wrapper {
    grid-template-columns: repeat(2, minmax(0, 380px)) !important;
    justify-content: center;
    gap: 24px !important;
  }
  body:is(.product-index, .product-index-search) main .flex.min-h-screen {
    min-height: 0 !important;
  }
  body.product-single .main-content {
    position: sticky !important;
    top: 104px !important;
    margin-top: 0 !important;
    align-self: flex-start;
  }
  body .s-login-modal .s-modal-body {
    border-radius: 22px !important;
  }
}