/* ==========================================================================
   JINO for Salla: custom CSS
   The JINO redesign (public/css/site.css) re-applied to a Salla store.
   Written against Salla's "Raed" theme markup and the shared Twilight
   components (salla-button, product cards, sliders, cart summary).
 AUTHOR: YNGX2 (CHADY)
   Paste this whole file into the store's custom CSS box.
   Pair it with jino-salla.js for the announcement bar, the transparent
   header over the hero, and the scroll reveals. The CSS works on its own.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Jost:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap");

/* ---------- 1. Tokens ---------- */
html:root {
  --ivory: #F6F1E9; --bone: #ECE4D6; --sand: #DDD1BD;
  --ink: #16130F; --ink-2: #4B443A; --ink-3: #8A8072;
  --brass: #9A7A4A; --brass-2: #C2A577;
  --emerald: #0E3432; --emerald-2: #15463F;
  --line: rgba(22, 19, 15, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* Salla theme variables */
  --font-main: "Jost";
  --color-primary: #16130F;
  --color-primary-dark: #000000;
  --color-primary-light: #4B443A;
  --color-primary-reverse: #F6F1E9;
  --s-radius: 0px;
}
html[dir="rtl"]:root { --font-main: "Noto Naskh Arabic"; }

/* ---------- 2. Base ---------- */
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body { font-family: "Noto Naskh Arabic", var(--sans); }

body h1, body h2, body h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.01em;
}
html[dir="rtl"] body h1, html[dir="rtl"] body h2, html[dir="rtl"] body h3 {
  font-family: "Noto Naskh Arabic", var(--serif);
  letter-spacing: 0;
}

@media (min-width: 1280px) {
  body .container { max-width: 1440px; }
}
body .container { padding-left: var(--gut); padding-right: var(--gut); }

/* The house is square-cornered. Pills and circles (rounded-full) are kept. */
body .rounded, body .rounded-md, body .rounded-lg, body .rounded-xl,
body .rounded-large, body .rounded-t, body .rounded-b,
body .rounded-l, body .rounded-r { border-radius: 0; }

/* ---------- 3. Buttons ---------- */
body .s-button-btn:not(.s-button-icon),
body .btn:not(.btn--icon):not(.btn--circle-gray):not(.btn--rounded-gray):not(.btn--close):not(.btn--close-sm):not(.btn--quantity) {
  border-radius: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 14px 26px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
html[dir="rtl"] body .s-button-btn:not(.s-button-icon),
html[dir="rtl"] body .btn { letter-spacing: 0; font-size: 14px; }

body .s-button-solid.s-button-primary,
body .btn--primary {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--ivory);
  opacity: 1;
}
body .s-button-solid.s-button-primary:hover,
body .btn--primary:hover { background: transparent; color: var(--ink); opacity: 1; }
body .s-button-solid.s-button-primary .s-button-text { color: inherit; }

body .s-button-outline,
body .btn--outline,
body .btn--outline-primary {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  box-shadow: none;
}
body .s-button-outline:hover,
body .btn--outline:hover,
body .btn--outline-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
body .s-button-outline:hover .s-button-text { color: inherit; }

/* ---------- 4. Forms ---------- */
body .s-form-control,
body .form-input,
body input[type="text"], body input[type="email"], body input[type="tel"],
body input[type="number"], body input[type="search"], body input[type="password"],
body textarea, body select {
  border-radius: 0;
  border-color: var(--line);
  background-color: transparent;
  color: var(--ink);
}
body .s-form-control:focus,
body input:focus, body textarea:focus, body select:focus { border-color: var(--ink); }
body ::placeholder { color: var(--ink-3); }

/* ---------- 5. Announcement bar (added by jino-salla.js) ---------- */
.jino-announce {
  background: var(--ink);
  color: var(--sand);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px var(--gut);
}
html[dir="rtl"] .jino-announce { letter-spacing: 0; font-size: 13px; }

/* ---------- 6. Header ---------- */
body .store-header { position: relative; z-index: 30; }

body .top-navbar {
  background: var(--ink);
  color: var(--sand);
}
body .top-navbar .topnav-link-item { border-color: rgba(221, 209, 189, .15); font-size: 12px; }
body .top-navbar .s-search-input {
  background: rgba(246, 241, 233, .08);
  color: var(--ivory);
  border: 0;
  border-radius: 999px;
}
body .top-navbar .btn--rounded-gray,
body .top-navbar .btn--circle-gray { background: rgba(246, 241, 233, .08); color: inherit; }

body .main-nav-container,
body .main-nav-container .inner {
  background: rgba(246, 241, 233, .92);
  color: var(--ink);
}
body .main-nav-container {
  box-shadow: 0 1px 0 var(--line);
  transition: background .4s, box-shadow .4s, color .4s;
}
body .main-nav-container .inner { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body .main-nav-container.fixed-pinned .inner { box-shadow: 0 1px 0 var(--line); }
body .main-nav-container .sub-menu { background: var(--ivory); border-radius: 0; box-shadow: 0 24px 48px -24px rgba(22, 19, 15, .35); }

body .navbar-brand img { max-height: 46px; }
@media (max-width: 1023px) { body .navbar-brand img { max-height: 36px; } }

body .main-menu > li.root-level > a {
  position: relative;
  color: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
html[dir="rtl"] body .main-menu > li.root-level > a { letter-spacing: 0; font-size: 15px; }
@media (min-width: 1024px) {
  body .main-menu > li.root-level > a > span { position: relative; padding-bottom: 6px; }
  body .main-menu > li.root-level > a > span::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform .4s var(--ease);
  }
  body .main-menu > li.root-level:hover > a > span::after { transform: scaleX(1); }
}
body .main-menu .sub-menu a { color: var(--ink-2); }
body .main-menu .sub-menu a:hover { color: var(--ink); }

body #mainnav .sicon-menu { color: inherit; }
body .header-btn__icon {
  border: 0;
  width: auto; height: auto;
  color: inherit;
  font-size: 20px;
}
body .s-cart-summary-wrapper { color: inherit; }
body .s-cart-summary-total { color: inherit; font-weight: 500; font-size: 13px; }
body .s-cart-summary-count { background: var(--brass); color: #fff; }
body .s-user-menu-trigger { color: inherit; }

/* Transparent header over the hero, when the home page starts with the main
   slider. Pure CSS where :has() is supported; jino-salla.js adds
   .jino-hero-top to <body> as the fallback for older browsers. */
:is(body.jino-hero-top, body:has(main > .s-block--hero-slider:first-child)) .main-nav-container {
  position: absolute; left: 0; right: 0;
  height: auto !important;
}
:is(body.jino-hero-top, body:has(main > .s-block--hero-slider:first-child)) .main-nav-container:not(.fixed-pinned),
:is(body.jino-hero-top, body:has(main > .s-block--hero-slider:first-child)) .main-nav-container:not(.fixed-pinned) .inner {
  background: transparent;
  color: var(--ivory);
  box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
:is(body.jino-hero-top, body:has(main > .s-block--hero-slider:first-child)) .main-nav-container:not(.fixed-pinned) .navbar-brand img { filter: invert(1) brightness(1.8); }
:is(body.jino-hero-top, body:has(main > .s-block--hero-slider:first-child)) .main-nav-container:not(.fixed-pinned) .sub-menu { color: var(--ink); }

/* ---------- 7. Hero slider ---------- */
body .s-block--hero-slider .swiper-slide {
  height: auto;
  min-height: max(calc(100svh - 120px), 46vw);
  background: var(--ink);
}
body .s-block--hero-slider .swiper-slide .overlay-bg::after {
  background:
    linear-gradient(to bottom, rgba(14, 12, 9, .55), transparent 22%),
    linear-gradient(90deg, rgba(14, 12, 9, .85) 0%, rgba(14, 12, 9, .6) 40%, transparent 68%),
    linear-gradient(to top, rgba(14, 12, 9, .45), transparent 30%);
}
html[dir="rtl"] body .s-block--hero-slider .swiper-slide .overlay-bg::after {
  background:
    linear-gradient(to bottom, rgba(14, 12, 9, .55), transparent 22%),
    linear-gradient(270deg, rgba(14, 12, 9, .85) 0%, rgba(14, 12, 9, .6) 40%, transparent 68%),
    linear-gradient(to top, rgba(14, 12, 9, .45), transparent 30%);
}
body .s-block--hero-slider .home-slider__content {
  justify-content: flex-start;
  padding-top: calc(84px + clamp(32px, 5vw, 72px));
  padding-bottom: clamp(48px, 6vw, 96px);
  min-height: inherit;
}
body .s-block--hero-slider .home-slider__content > div {
  width: auto;
  max-width: 540px;
  text-align: start;
}
body .s-block--hero-slider .home-slider__content h2 {
  font-size: clamp(42px, 6.2vw, 96px);
  line-height: 1.05;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}
body .s-block--hero-slider .home-slider__content .description {
  max-width: 440px;
  color: var(--sand);
  font-size: 16px;
  -webkit-line-clamp: 4;
}
body salla-slider .swiper-pagination-bullet { width: 28px; height: 2px; border-radius: 0; }
body salla-slider .swiper-pagination-bullet-active { background-color: var(--brass-2); }

/* ---------- 8. Home blocks ---------- */
body .s-block { margin-top: clamp(56px, 8vw, 120px); }
body .s-block--full-bg:first-of-type,
body .s-blocks-wrapper :not(.s-information-page) .s-block:first-child { margin-top: 0; }

body .s-block__title,
body .s-slider-block__title { align-items: flex-end; margin-bottom: clamp(28px, 4vw, 52px); }
body .s-block__title h2,
body .s-slider-block__title h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.01em;
}
html[dir="rtl"] body .s-block__title h2,
html[dir="rtl"] body .s-slider-block__title h2 { font-family: "Noto Naskh Arabic", var(--serif); letter-spacing: 0; line-height: 1.3; }
body .s-block__title p,
body .s-slider-block__title p { color: var(--ink-2); opacity: 1; font-size: 15px; }

body .s-block__display-all,
body .s-slider-block__display-all {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  opacity: 1;
  color: var(--ink);
}
html[dir="rtl"] body .s-block__display-all,
html[dir="rtl"] body .s-slider-block__display-all { letter-spacing: 0; font-size: 14px; }

body .s-slider-nav-arrow {
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
body .s-slider-nav-arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* Square banners become the category tiles */
body .banner-entry {
  border-radius: 0;
  background-color: var(--bone);
  padding: 0;
  text-align: start;
}
body .banner-entry.h-lg-banner { height: auto; aspect-ratio: 3 / 4.2; }
body .banner-entry.has-overlay::after,
body .banner-entry.has-overlay:hover::after {
  background: linear-gradient(to top, rgba(14, 12, 9, .55), transparent 45%);
}
body .banner-entry article {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 26px 28px;
}
body .banner-entry h3,
body .banner-entry p { opacity: 1; transform: none; }
body .banner-entry h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  height: auto;
  padding: 0;
}
body .banner-entry h3.text-with-border,
body .banner-entry .text-with-border { border: 0; }
body .banner-entry p { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; opacity: .9; margin-top: 6px; }
html[dir="rtl"] body .banner-entry p { letter-spacing: 0; font-size: 13px; }
html[dir="rtl"] body .banner-entry h3 { font-style: normal; }
@media (max-width: 767px) { body .banner-entry.h-lg-banner { aspect-ratio: 4 / 3.4; } }

body .banner--fixed img { border-radius: 0; background: var(--bone); }

/* Category / link tiles */
body .slide--cat-entry {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
body .slide--cat-entry:hover { border-color: var(--ink); box-shadow: none; color: var(--ink); }
body .slide--cat-entry i { color: var(--brass); }
body .slide--cat-entry h2 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
html[dir="rtl"] body .slide--cat-entry h2 { font-family: inherit; letter-spacing: 0; font-size: 14px; }

/* Store features become the services strip */
body .s-block--features > .grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
body .s-block--features__item {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 40px 28px;
  border-inline-start: 1px solid var(--line);
  cursor: default;
}
body .s-block--features__item:hover { box-shadow: none; }
@media (min-width: 768px) { body .s-block--features__item:first-child { border-inline-start: 0; } }
@media (max-width: 767px) {
  body .s-block--features__item { border-inline-start: 0; border-top: 1px solid var(--line); }
  body .s-block--features__item:first-child { border-top: 0; }
}
body .s-block--features__item .feature-icon { background: transparent; width: auto; height: auto; margin-bottom: 14px; border-radius: 0; }
body .s-block--features__item .feature-icon i { color: var(--brass); font-size: 26px; }
body .s-block--features__item h2 { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 6px; }
html[dir="rtl"] body .s-block--features__item h2 { font-family: "Noto Naskh Arabic", var(--serif); }
body .s-block--features__item p { font-size: 13px; color: var(--ink-3); }

body .s-block--slider-with-bg { background: var(--bone); }
body .s-comments-product { background: var(--bone); }
body .full-banner-entry::before,
body .full-banner-entry::after { display: none; }

/* Product tabs */
body .tab-trigger .s-button-btn { color: var(--ink-3); border-radius: 0; padding-left: 0; padding-right: 0; }
body .s-block--tabs-produtcs .tab-trigger.is-active .s-button-btn,
body .s-block--special-products .tab-trigger.is-active .s-button-btn {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--ink);
}

/* ---------- 9. Product cards ---------- */
body .s-product-card-entry {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
body .s-product-card-entry.s-product-card-shadow:hover { box-shadow: none; }

body .s-product-card-vertical .s-product-card-image {
  flex: none;
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 4.1;
  background: var(--bone);
  border-radius: 0;
  opacity: 1;
}
body .s-product-card-vertical .s-product-card-image > a { position: absolute; inset: 0; display: block; }
body .s-product-card-vertical .s-product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
body .s-product-card-vertical:hover .s-product-card-image img { transform: scale(1.03); }

body .s-product-card-promotion-title,
body .promotion-title {
  top: 14px; left: 14px; right: auto;
  background: var(--ivory);
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 5px 9px !important;
  border-radius: 0;
}
html[dir="rtl"] body .s-product-card-promotion-title,
html[dir="rtl"] body .promotion-title { left: auto; right: 14px; letter-spacing: 0; font-size: 11px; }
body .s-product-card-quantity,
body .s-product-card-out-badge { background: var(--ivory); color: var(--ink); border-radius: 0; font-weight: 600; }

body .s-product-card-vertical .s-product-card-wishlist-btn { top: 10px; opacity: 1; }
body .s-product-card-vertical .s-product-card-wishlist-btn button {
  background: transparent !important;
  border: 0;
  box-shadow: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--ink);
  transition: background .3s;
}
body .s-product-card-vertical .s-product-card-wishlist-btn button:hover { background: rgba(246, 241, 233, .85) !important; }
body .s-product-card-wishlist-btn i.sicon-heart { color: var(--ink); }
body .s-product-card-wishlist-added i.sicon-heart { color: var(--brass); }

body .s-product-card-vertical .s-product-card-content { padding: 16px 0 0; }
body .s-product-card-content-title { margin-bottom: 2px; line-height: 1.2; }
body .s-product-card-content-title a {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
}
html[dir="rtl"] body .s-product-card-content-title a { font-family: "Noto Naskh Arabic", var(--serif); font-size: 17px; }
body .s-product-card-content-title a:hover { color: var(--brass); }
body .s-product-card-content-subtitle { font-size: 11px; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 6px; opacity: 1; }
body .s-product-card-content-sub { margin: 6px 0 14px; }
body .s-product-card-price,
body .s-product-card-sale-price h4,
body .s-product-card-starting-price h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink) !important;
  letter-spacing: 0;
}
body .s-product-card-sale-price span { font-size: 11px; color: var(--ink-3); }
body .s-product-card-rating { color: var(--ink-3); }

body .s-product-card-content-footer .s-button-btn {
  padding: 13px;
  font-size: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
body .s-product-card-content-footer .s-button-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
html[dir="rtl"] body .s-product-card-content-footer .s-button-btn { font-size: 13px; }

@media (max-width: 520px) {
  body .s-product-card-content-title a { font-size: 17px; }
}

/* ---------- 10. Product page ---------- */
body .breadcrumbs { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
html[dir="rtl"] body .breadcrumbs { letter-spacing: 0; font-size: 13px; }

body .details-slider .s-slider-container,
body .details-slider .swiper-slide {
  background: var(--bone);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body .container--product-details .main-content h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
html[dir="rtl"] body .container--product-details .main-content h1 { font-family: "Noto Naskh Arabic", var(--serif); line-height: 1.35; }
body .container--product-details .product-entry__sub-title { color: var(--ink-2); font-size: 15px; }
body .container--product-details .text-red-800,
body .container--product-details .\!text-red-800 { color: var(--ink) !important; }
body .container--product-details .main-content .bg-white {
  background: transparent;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
body .product__description { color: var(--ink-2); }
body .product__description a { color: var(--brass); }

body .s-product-options-option-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
html[dir="rtl"] body .s-product-options-option-label { letter-spacing: 0; font-size: 13px; }
body .s-quantity-input-container { border-radius: 0; border-color: var(--line); background: transparent; }
body .sticky-product-bar { background: var(--ivory); }

/* ---------- 11. Footer ----------
   The :is(.footer-is-light, *) part matches every page; it is there so these
   rules outrank the theme's own light-footer colours. */
body:is(.footer-is-light, *) .store-footer {
  background: var(--ink);
  color: var(--sand);
  font-size: 14px;
  margin-top: clamp(56px, 8vw, 120px);
}
body:is(.footer-is-light, *) .store-footer .store-footer__inner {
  background: var(--ink);
  border-bottom: 1px solid rgba(221, 209, 189, .15);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 56px;
}
body:is(.footer-is-light, *) .store-footer h3 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass-2);
  line-height: 1.6;
  margin-bottom: 18px;
}
html[dir="rtl"] body:is(.footer-is-light, *) .store-footer h3 { font-family: inherit; letter-spacing: 0; font-size: 13px; }
body:is(.footer-is-light, *) .store-footer .store-footer__inner a > h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ivory);
  margin-bottom: 14px;
}
html[dir="rtl"] body:is(.footer-is-light, *) .store-footer .store-footer__inner a > h3 { font-family: "Noto Naskh Arabic", var(--serif); font-style: normal; }
body:is(.footer-is-light, *) .store-footer a,
body:is(.footer-is-light, *) .store-footer [class*="s-contacts"],
body:is(.footer-is-light, *) .store-footer [class*="s-menu-footer"] { color: inherit; }
body:is(.footer-is-light, *) .store-footer a:hover { color: var(--ivory); opacity: 1; }
body:is(.footer-is-light, *) .store-footer .social-link,
body:is(.footer-is-light, *) .store-footer .s-social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(221, 209, 189, .25);
  border-radius: 50%;
  transition: border-color .3s;
}
body:is(.footer-is-light, *) .store-footer .social-link:hover,
body:is(.footer-is-light, *) .store-footer .s-social-link:hover { border-color: var(--brass-2); }
body:is(.footer-is-light, *) .store-footer .contact-social { border-color: rgba(221, 209, 189, .15); }
body:is(.footer-is-light, *) .store-footer .text-text-grey { color: var(--ink-3); }
body .copyright-text, body .copyright-text p { color: var(--ink-3); font-size: 12px; }

/* ---------- 12. Overlays ---------- */
body .s-modal-body { background: var(--ivory); border-radius: 0; }
body .s-modal-title { font-family: var(--serif); font-weight: 600; }
body .s-search-modal .s-search-input { border-radius: 0; }
body .swal2-popup { border-radius: 0; background: var(--ink); color: var(--ivory); }
body .swal2-popup .swal2-title { color: var(--ivory); font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
body .mm-ocd__content, body .mm-spn { background: var(--ivory); color: var(--ink); }

/* ---------- 13. Scroll reveal (classes added by jino-salla.js) ---------- */
.jino-js .jino-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.jino-js .jino-reveal.jino-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  body *, body *::before, body *::after { animation: none !important; transition: none !important; }
  .jino-js .jino-reveal { opacity: 1; transform: none; }
}
/* ---------- 14. Arabic readability ----------
   Arabic letters are finer than Latin ones at the same size and weight, so in
   Arabic the text is set heavier, a little larger, and the greys are darker. */
html[dir="rtl"]:root {
  --ink-2: #332D25;
  --ink-3: #5F574B;
}
html[dir="rtl"] body {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
html[dir="rtl"] body h1, html[dir="rtl"] body h2, html[dir="rtl"] body h3,
html[dir="rtl"] body .s-block__title h2,
html[dir="rtl"] body .s-slider-block__title h2,
html[dir="rtl"] body .container--product-details .main-content h1 { font-weight: 700; }
html[dir="rtl"] body p,
html[dir="rtl"] body li,
html[dir="rtl"] body label,
html[dir="rtl"] body .product__description { font-weight: 600; }
html[dir="rtl"] body .text-xs { font-size: 13px; }
html[dir="rtl"] body .text-sm { font-size: 15px; }

/* Header and menus */
html[dir="rtl"] .jino-announce { font-size: 14px; font-weight: 600; }
html[dir="rtl"] body .top-navbar .topnav-link-item { font-size: 14px; font-weight: 600; }
html[dir="rtl"] body .main-menu > li.root-level > a { font-size: 16px; font-weight: 700; }
html[dir="rtl"] body .main-menu .sub-menu a { font-size: 15px; font-weight: 600; }
html[dir="rtl"] body .s-cart-summary-total { font-size: 14px; font-weight: 700; }

/* Buttons and links */
html[dir="rtl"] body .s-button-btn:not(.s-button-icon),
html[dir="rtl"] body .btn { font-size: 15px; font-weight: 700; }
html[dir="rtl"] body .s-block__display-all,
html[dir="rtl"] body .s-slider-block__display-all { font-size: 15px; font-weight: 700; }
html[dir="rtl"] body .s-product-card-content-footer .s-button-btn { font-size: 14px; font-weight: 700; }

/* Hero and home blocks */
html[dir="rtl"] body .s-block--hero-slider .home-slider__content h2 { font-weight: 700; line-height: 1.3; }
html[dir="rtl"] body .s-block--hero-slider .home-slider__content .description { font-size: 18px; font-weight: 600; color: var(--ivory); }
html[dir="rtl"] body .s-block__title p,
html[dir="rtl"] body .s-slider-block__title p { font-size: 16px; font-weight: 600; }
html[dir="rtl"] body .banner-entry p { font-size: 15px; font-weight: 600; opacity: 1; }
html[dir="rtl"] body .slide--cat-entry h2 { font-size: 15px; font-weight: 700; }
html[dir="rtl"] body .s-block--features__item p { font-size: 15px; font-weight: 600; }

/* Product cards and product page */
html[dir="rtl"] body .s-product-card-content-title a { font-size: 18px; font-weight: 700; }
html[dir="rtl"] body .s-product-card-content-subtitle { font-size: 13px; font-weight: 600; letter-spacing: 0; }
html[dir="rtl"] body .s-product-card-price,
html[dir="rtl"] body .s-product-card-sale-price h4,
html[dir="rtl"] body .s-product-card-starting-price h4 { font-size: 15px; font-weight: 700; }
html[dir="rtl"] body .s-product-card-sale-price span { font-size: 13px; }
html[dir="rtl"] body .s-product-card-promotion-title,
html[dir="rtl"] body .promotion-title { font-size: 12px; font-weight: 700; }
html[dir="rtl"] body .breadcrumbs { font-size: 14px; font-weight: 600; }
html[dir="rtl"] body .container--product-details .product-entry__sub-title { font-size: 16px; font-weight: 600; }
html[dir="rtl"] body .s-product-options-option-label { font-size: 14px; font-weight: 700; }
html[dir="rtl"] body ::placeholder { font-weight: 500; }

/* Footer: light text on the dark background, so it is lightened, not darkened */
html[dir="rtl"] body:is(.footer-is-light, *) .store-footer { font-size: 15px; font-weight: 600; color: #E8DFCF; }
html[dir="rtl"] body:is(.footer-is-light, *) .store-footer h3 { font-size: 15px; font-weight: 700; }
html[dir="rtl"] body:is(.footer-is-light, *) .store-footer .text-text-grey,
html[dir="rtl"] body .copyright-text,
html[dir="rtl"] body .copyright-text p { color: #BDB29F; font-size: 13px; }

/* ---------- 15. Menu links keep their colour when pointed at ----------
   The theme turns a hovered menu link dark, which disappears over the hero. */
body .main-menu > li.root-level > a:hover,
body .main-menu > li.root-level:hover > a,
body .main-menu > li.root-level:focus-within > a { color: inherit; }

/* ---------- 16. Product card button: clearer outline, readable when sold out ---------- */
body .s-product-card-content-footer .s-button-btn { border-color: rgba(22, 19, 15, .5); }
body .s-product-card-content-footer .s-button-btn[disabled],
body .s-product-card-content-footer .s-button-btn.s-button-disabled,
body .s-product-card-content-footer [disabled] .s-button-btn {
  opacity: 1 !important;
  background: var(--bone);
  border-color: rgba(22, 19, 15, .35);
  color: var(--ink-2);
  cursor: not-allowed;
}
body .s-product-card-content-footer .s-button-btn[disabled] .s-button-text,
body .s-product-card-content-footer .s-button-btn.s-button-disabled .s-button-text { color: inherit; opacity: 1; }
body .s-product-card-content-footer .s-button-btn[disabled]:hover,
body .s-product-card-content-footer .s-button-btn.s-button-disabled:hover { background: var(--bone); color: var(--ink-2); border-color: rgba(22, 19, 15, .35); }

/* ---------- 17. Darker lines around the product card button ---------- */
body .s-product-card-content-footer .s-button-btn,
body .s-product-card-content-footer .s-button-btn[disabled],
body .s-product-card-content-footer .s-button-btn.s-button-disabled,
body .s-product-card-content-footer .s-button-btn[disabled]:hover,
body .s-product-card-content-footer .s-button-btn.s-button-disabled:hover {
  border: 1px solid var(--ink) !important;
}

/* ---------- 18. Simple line icon for the signed-in user in the header ----------
   Hides the theme's cartoon avatar and draws a plain person outline in the
   header's own text colour (dark on the light bar, light over the hero). */
body salla-user-menu .s-user-menu-trigger,
body salla-user-menu .s-user-menu-trigger > * { background: transparent !important; box-shadow: none; }
body salla-user-menu .s-user-menu-trigger img {
  box-sizing: border-box;
  width: 26px !important;
  height: 26px !important;
  padding-left: 26px;
  border: 0;
  border-radius: 0 !important;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20.5c0-4 3.6-6.5 8-6.5s8 2.500 8 6.500'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20.5c0-4 3.6-6.5 8-6.5s8 2.500 8 6.500'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* ---------- 21. Bone (light beige) top bar with dark text ---------- */
.jino-announce,
body .top-navbar { background: #ECE4D6; color: #16130F; }
body .top-navbar { border-bottom: 1px solid rgba(22, 19, 15, .12); }
body .top-navbar .topnav-link-item { border-color: rgba(22, 19, 15, .15); }
body .top-navbar .s-search-input {
  background: #F6F1E9;
  color: #16130F;
  border: 1px solid rgba(22, 19, 15, .25);
}
body .top-navbar .s-search-input::placeholder { color: #5F574B; }
body .top-navbar .s-search-icon,
body .top-navbar .s-search-icon svg { color: #16130F; fill: currentColor; }
body .top-navbar .btn--rounded-gray,
body .top-navbar .btn--circle-gray { background: rgba(22, 19, 15, .08); color: #16130F; }

/* ---------- 22. Menu arrow sits level with the words ---------- */
@media (min-width: 1024px) {
  body .main-menu > li.has-children.root-level > a { align-items: center; }
  body .main-menu > li.has-children.root-level > a::after {
    align-self: center;
    margin-bottom: 6px;
    line-height: 1;
  }
}

/* ---------- 23. Bone (light beige) footer with dark text ---------- */
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer,
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer .store-footer__inner { background: #ECE4D6; color: #332D25; }
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer { border-top: 1px solid rgba(22, 19, 15, .12); }
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer .store-footer__inner { border-bottom-color: rgba(22, 19, 15, .15); }
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer h3 { color: #7A5F36; }
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer .store-footer__inner a > h3 { color: #16130F; }
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer a:hover { color: #16130F; }
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer .social-link,
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer .s-social-link { border-color: rgba(22, 19, 15, .3); }
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer .social-link:hover,
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer .s-social-link:hover { border-color: #16130F; }
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer .contact-social { border-color: rgba(22, 19, 15, .15); }
html:is([dir="rtl"], *) body:is(.footer-is-light, *) .store-footer .text-text-grey,
html:is([dir="rtl"], *) body .copyright-text,
html:is([dir="rtl"], *) body .copyright-text p { color: #5F574B; }

/* ---------- 24. Product page: matching buttons and price ---------- */
body .sticky-product-bar salla-add-product-button button,
body .sticky-product-bar salla-add-product-button .s-button-element {
  min-height: 46px;
  border-radius: 0 !important;
}
body .sticky-product-bar [class*="quick-buy"],
body .sticky-product-bar [class*="mini-checkout"] { border-radius: 0 !important; }
html[dir="ltr"] body .sticky-product-bar salla-add-product-button button {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
body .price-wrapper .total-price { font-family: var(--sans) !important; font-size: 17px; }

/* ---------- 25. Product page: Buy now button and review card ---------- */
body salla-add-product-button,
body salla-mini-checkout-widget,
body .s-add-product-button-buy-now {
  --salla-fast-checkout-button-height: 52px;
  --salla-fast-checkout-button-border-radius: 0px;
}
body .sticky-product-bar salla-add-product-button button { min-height: 52px; }
html[dir="ltr"] body .s-add-product-button-mini-checkout-content {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
body .s-verified-review-container { background: transparent; border-color: rgba(22, 19, 15, .2); border-radius: 0; }
body .s-verified-review-glow { display: none; }
body .s-verified-review-image { border-radius: 0; }
body .s-verified-review-subtitle { color: var(--ink-2); }

/* ---------- 26. A different look for each category ----------
   jino-categories.js adds the class; without it the pages stay as they are. */
html.jino-cat main {
  background: var(--cat-bg);
  color: var(--ink);
  padding-bottom: clamp(56px, 8vw, 120px);
}
html.jino-cat body:is(.footer-is-light, *) .store-footer { margin-top: 0; }
html.jino-cat .main-nav-container .inner { background: #F6F1E9; }

html.jino-cat-clothing main {
  --cat-bg: #F6F1E9;
  --cat-hero: linear-gradient(180deg, #E4D8C3 0%, #ECE4D6 55%, #F6F1E9 100%);
  --cat-line: #9A7A4A; --cat-eyebrow: #664C28;
  --ink-3: #665C4E;
}
html.jino-cat-fragrance main {
  --cat-bg: #1E1611;
  --cat-hero: radial-gradient(90% 140% at 50% 0%, #533523 0%, #33221A 45%, #1E1611 100%);
  --cat-line: #C2A577; --cat-eyebrow: #E0C79B;
  --ivory: #1E1611; --bone: #2C211A; --sand: #3A2C22;
  --ink: #F3E9D8; --ink-2: #D8C9B0; --ink-3: #B9A88C;
  --brass: #D0B283; --line: rgba(243, 233, 216, .2);
  --color-primary: #F3E9D8; --color-primary-dark: #FFFFFF;
  --color-primary-light: #D8C9B0; --color-primary-reverse: #1E1611;
}
html.jino-cat-jewelry main {
  --cat-bg: #0E3432;
  --cat-hero: radial-gradient(90% 140% at 50% 0%, #20584F 0%, #15463F 45%, #0E3432 100%);
  --cat-line: #D0B283; --cat-eyebrow: #EED8AE;
  --ivory: #0E3432; --bone: #15463F; --sand: #1D544C;
  --ink: #F4EBDB; --ink-2: #D5D3BE; --ink-3: #B3BEA9;
  --brass: #D9BC8C; --line: rgba(244, 235, 219, .22);
  --color-primary: #F4EBDB; --color-primary-dark: #FFFFFF;
  --color-primary-light: #D5D3BE; --color-primary-reverse: #0E3432;
}

/* the band at the top */
.jino-cat-hero {
  background: var(--cat-hero);
  color: var(--ink);
  text-align: center;
  padding: clamp(44px, 6vw, 92px) var(--gut) clamp(36px, 5vw, 72px);
}
html.jino-cat main > .jino-cat-hero + * { margin-top: 0 !important; }
.jino-cat-hero__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cat-eyebrow);
}
.jino-cat-hero__title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 10px 0 0;
}
.jino-cat-hero__title::after {
  content: "";
  display: block;
  width: 56px; height: 1px;
  margin: 22px auto 18px;
  background: var(--cat-line);
}
.jino-cat-hero__text { display: block; font-size: 15px; color: var(--ink-2); }
html[dir="rtl"] .jino-cat-hero__eyebrow { font-family: "Noto Naskh Arabic", var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; }
html[dir="rtl"] .jino-cat-hero__title { font-family: "Noto Naskh Arabic", var(--serif); font-weight: 700; line-height: 1.4; letter-spacing: 0; }
html[dir="rtl"] .jino-cat-hero__text { font-size: 17px; font-weight: 600; }

/* the small heading is repeated by the band: hidden, but kept for search engines */
html.jino-cat.jino-cat-has-hero main #page-main-title {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
html.jino-cat.jino-cat-has-hero main #page-main-title + div { margin-inline-start: auto; }

/* dark categories: parts of the theme that have fixed light colours */
html.jino-cat-dark main .breadcrumbs,
html.jino-cat-dark main .breadcrumbs a,
html.jino-cat-dark main .s-breadcrumb-item { color: var(--ink-2); }
html.jino-cat-dark main .s-breadcrumb-arrow svg { fill: var(--ink-3); }
html.jino-cat-dark main .s-filters-widget-container { background: transparent; border: 1px solid var(--line); }
html.jino-cat-dark main .s-filters-widget-title,
html.jino-cat-dark main .s-filters-option-name,
html.jino-cat-dark main .s-filters-label,
html.jino-cat-dark main .s-filters-widget-more { color: var(--ink); }
html.jino-cat-dark main .s-filters-checkbox:not(:checked),
html.jino-cat-dark main .s-filters-radio { background-color: transparent !important; border-color: var(--ink-3); }
html.jino-cat-dark main .form-input,
html.jino-cat-dark main .s-form-control,
html.jino-cat-dark main input[type="text"],
html.jino-cat-dark main select { color: var(--ink); background-color: transparent; border-color: var(--line); }
html.jino-cat-dark main .form-input:focus,
html.jino-cat-dark main .s-form-control:focus,
html.jino-cat-dark main input[type="text"]:focus,
html.jino-cat-dark main select:focus { border-color: var(--ink); }
html.jino-cat-dark main select option { color: #16130F; background: #F6F1E9; }
html.jino-cat-dark main ::placeholder { color: var(--ink-3); opacity: 1; }
html.jino-cat-dark main .filters-trigger { background: transparent; }
html.jino-cat-dark main .filters-trigger i { color: var(--ink); }
html.jino-cat-dark main .s-products-list-placeholder,
html.jino-cat-dark main .s-products-list-placeholder p,
html.jino-cat-dark main .s-infinite-scroll-status p { color: var(--ink-2); }
html.jino-cat-dark main .s-products-list-placeholder svg { fill: var(--ink-3); }
html.jino-cat-dark main .s-products-list-placeholder > span { background: transparent; border: 1px solid var(--line); }
html.jino-cat-dark main .s-product-card-vertical .s-product-card-wishlist-btn button,
html.jino-cat-dark main .s-product-card-vertical .s-product-card-wishlist-btn button:hover { background: rgba(246, 241, 233, .88) !important; }
html.jino-cat-dark main .s-product-card-vertical .s-product-card-wishlist-btn i.sicon-heart { color: #16130F; }
html.jino-cat-dark main .s-product-card-vertical .s-product-card-wishlist-added i.sicon-heart { color: #9A5B12; }
html.jino-cat-dark main .s-free-shipping-tag { color: #F0C982; background: rgba(245, 158, 11, .18); }
html.jino-cat-dark main .s-price-range-currency,
html.jino-cat-dark main .s-price-range-gray-text,
html.jino-cat-dark main .s-filters-widget-empty-state { color: var(--ink-2); }
html.jino-cat-dark main .s-filters-checkbox:checked {
  background-color: var(--brass);
  border-color: var(--brass);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%2316130F' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") !important;
}
html.jino-cat-dark main .s-infinite-scroll-btn .s-button-loader::before { border-color: rgba(22, 19, 15, .25); border-top-color: #16130F; }
html.jino-cat-dark main .s-products-list-loading-wrapper .s-button-loader::before { border-color: var(--line); border-top-color: var(--ink); }

/* pop-up windows, review cards and light blocks on a dark page stay light */
html.jino-cat-dark main .s-modal,
html.jino-cat-dark main salla-modal,
html.jino-cat-dark main .s-reviews-testimonial,
html.jino-cat-dark main .s-block.bg-gray-100,
html.jino-cat-dark main .s-block--logos-slider,
html.jino-cat-dark main .s-block--tabs-produtcs,
html.jino-cat-dark main .s-block--hero-slider {
  --ivory: #F6F1E9; --bone: #ECE4D6; --sand: #DDD1BD;
  --ink: #16130F; --ink-2: #4B443A; --ink-3: #5F574B; --brass: #9A7A4A;
  --line: rgba(22, 19, 15, .12);
  --color-primary: #16130F; --color-primary-dark: #000000; --color-primary-light: #4B443A; --color-primary-reverse: #F6F1E9;
  color: var(--ink);
}
/* ---------- 29. Product names on the cards: finer type ---------- */
body .s-product-card-content-title { margin-bottom: 8px; }
body .s-product-card-content-title a {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: .005em;
}
body .s-product-card-content-title .jino-name-detail {
  display: block;
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .6;
}
html[dir="rtl"] body .s-product-card-content-title a {
  font-family: "Noto Naskh Arabic", var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
html[dir="rtl"] body .s-product-card-content-title .jino-name-detail {
  margin-top: 1px;
  font-family: "Noto Naskh Arabic", var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 520px) {
  body .s-product-card-content-title a { font-size: 19px; }
  html[dir="rtl"] body .s-product-card-content-title a { font-size: 16px; }
}