/* Add custom CSS styles below */ 
/* ==========================================================================
   CRAFTY / كرافتي — Salla dark + gold design system
   --------------------------------------------------------------------------
   Converted from the saved Shopify theme (craftysa.sa).
   Paste this file in:
     Salla Dashboard → Store Design → Custom CSS
     (or in your theme: src/assets/css/custom.css)

   The original theme uses 1rem = 10px. All values below are converted to
   px/em so they behave the same inside Salla (1rem = 16px by default).
   ========================================================================== */


/* ==========================================================================
   1. FONTS
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Oswald:wght@400;500;600&display=swap");


/* ==========================================================================
   2. DESIGN TOKENS
   ========================================================================== */

:root {
  /* --- Surfaces ---------------------------------------------------------- */
  --c-bg: #0a0a0c;                 /* page background */
  --c-bg-deep: #08080a;            /* footer / top bar */
  --c-bg-alt: #101014;             /* hero / story / CTA sections */
  --c-panel: #121214;              /* cards, inputs, summaries */
  --c-panel-2: #16161a;            /* hover / elevated panels */
  --c-strip: #0d0d10;              /* info strip / flash section */

  /* --- Foreground -------------------------------------------------------- */
  --c-cream: #f5f1ea;
  --c-cream-92: rgba(245, 241, 234, 0.92);
  --c-cream-75: rgba(245, 241, 234, 0.75);
  --c-cream-72: rgba(245, 241, 234, 0.72);
  --c-cream-68: rgba(245, 241, 234, 0.68);
  --c-cream-62: rgba(245, 241, 234, 0.62);
  --c-cream-50: rgba(245, 241, 234, 0.50);

  /* --- Brand gold -------------------------------------------------------- */
  --c-gold: #c9a227;
  --c-gold-dark: #b08c1c;
  --c-gold-light: #dcb94a;
  --c-gold-soft: rgba(201, 162, 39, 0.16);

  /* --- Lines / states ---------------------------------------------------- */
  --c-line: rgba(245, 241, 234, 0.12);
  --c-line-strong: rgba(245, 241, 234, 0.28);
  --c-danger: #e35b6a;
  --c-success: #4f9d69;

  /* --- Typography -------------------------------------------------------- */
  --c-font-body: "Cairo", "Assistant", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --c-font-display: "Oswald", "Cairo", sans-serif;

  --c-fs-body: 15px;
  --c-fs-body-lg: 16px;
  --c-lh-body: 1.8;
  --c-track-body: 0.6px;           /* .06rem in the original */
  --c-track-heading: 0.08em;
  --c-track-nav: 0.14em;
  --c-track-button: 0.16em;
  --c-track-kicker: 0.2em;

  /* --- Layout / shape ---------------------------------------------------- */
  --c-container: 1300px;           /* 1200px content + 2 × 50px gutter */
  --c-gutter: 50px;
  --c-gutter-sm: 15px;
  --c-section-y: 50px;

  --c-radius: 0px;                 /* cards & media are square */
  --c-radius-btn: 2px;
  --c-radius-pill: 999px;

  --c-shadow-pop: 0 16px 40px rgba(0, 0, 0, 0.45);
  --c-ease: 0.2s ease;
  --c-focus-ring: 0 0 0 3px rgba(201, 162, 39, 0.35);

  /* --- Salla / Twilight aliases ----------------------------------------- */
  --font-main: "Cairo", sans-serif;
  --color-primary: #c9a227;
  --color-primary-dark: #b08c1c;
  --color-primary-light: #dcb94a;
  --color-primary-reverse: #0a0a0c;
  --s-radius: 2px;
}


/* ==========================================================================
   3. BASE / BODY
   ========================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
#app {
  background-color: var(--c-bg) !important;
  color: var(--c-cream-75);
  font-family: var(--c-font-body) !important;
  font-size: var(--c-fs-body);
  font-weight: 400;
  line-height: var(--c-lh-body);
  letter-spacing: var(--c-track-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media screen and (min-width: 750px) {
  body,
  #app {
    font-size: var(--c-fs-body-lg);
  }
}

/* Arabic: Cairo 700, no Latin tracking */
html[dir="rtl"] body,
[dir="rtl"] body,
html[lang="ar"] body,
body[lang="ar"] {
  font-family: var(--c-font-body) !important;
  font-weight: 700;
  letter-spacing: 0;
}

::selection {
  background: var(--c-gold);
  color: var(--c-bg);
}

html {
  scrollbar-color: #2a2a2e var(--c-bg);
}

/* Stop the page from flashing white behind Salla sections */
.app-inner,
#app,
main {
  background-color: var(--c-bg);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--c-ease), border-color var(--c-ease),
    background-color var(--c-ease);
}

a:hover {
  color: var(--c-gold);
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid rgba(201, 162, 39, 0.7);
  outline-offset: 3px;
}


/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin: 0 0 0.5em;
  /* color: var(--c-cream) !important; */
  font-family: var(--c-font-display) !important;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: var(--c-track-heading);
  text-transform: uppercase;
}

h1 { font-size: clamp(30px, 3.6vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] .h1,
[dir="rtl"] .h2,
[dir="rtl"] .h3 {
  font-family: var(--c-font-body) !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

/* Small gold label above titles */
.c-kicker,
.eyebrow,
.section-kicker,
.s-slider-block__subtitle {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--c-gold) !important;
  font-family: var(--c-font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--c-track-kicker);
  text-transform: uppercase;
}

[dir="rtl"] .c-kicker,
[dir="rtl"] .eyebrow,
[dir="rtl"] .section-kicker,
[dir="rtl"] .s-slider-block__subtitle {
  letter-spacing: 0.06em;
}

/* Section title with the gold rule from the original design */
.c-section-heading,
.c-section__heading,
.section-title,
.s-slider-block__title h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--c-cream) !important;
  font-family: var(--c-font-display) !important;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.c-section-heading::before,
.c-section__heading::before,
.section-title::before,
.s-slider-block__title h2::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 2px;
  background: var(--c-gold);
}

[dir="rtl"] .c-section-heading,
[dir="rtl"] .c-section__heading,
[dir="rtl"] .section-title,
[dir="rtl"] .s-slider-block__title h2 {
  font-family: var(--c-font-body) !important;
  font-weight: 700;
  letter-spacing: 0;
}

.c-lead,
.c-hero__text {
  color: var(--c-cream-75);
  font-size: 16px;
  line-height: 1.7;
}

.c-muted {
  color: var(--c-cream-62);
}

.c-gold {
  color: var(--c-gold);
}


/* ==========================================================================
   5. LAYOUT / CONTAINER
   ========================================================================== */

.container,
.c-container {
  width: 100%;
  max-width: var(--c-container);
  margin-inline: auto;
  padding-inline: var(--c-gutter);
}

@media screen and (max-width: 989px) {
  .container,
  .c-container {
    padding-inline: 32px;
  }
}

@media screen and (max-width: 749px) {
  .container,
  .c-container {
    padding-inline: var(--c-gutter-sm);
  }
}


/* ==========================================================================
   6. HEADER
   ========================================================================== */

/* .store-header,
header.store-header,
.site-header {
  background: rgba(10, 10, 12, 0.94) !important;
  border-bottom: 1px solid var(--c-line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.store-header .top-navbar {
  background: var(--c-bg-deep) !important;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-cream-72);
}

.store-header .top-navbar a,
.store-header .top-navbar button {
  color: var(--c-cream-72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.store-header .top-navbar a:hover,
.store-header .top-navbar button:hover {
  color: var(--c-gold);
} */

.store-header .main-nav-container {
  background: transparent !important;
  border: 0;
  box-shadow: none !important;
}

/* Logo */
.store-header .navbar-brand {
  display: inline-flex;
  align-items: center;
}

.store-header .navbar-brand img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 52px;
  object-fit: contain;
}

/* Optional cream circular logo badge (as in the original) */
.store-header .navbar-brand.c-logo-badge {
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 4px;
  overflow: hidden;
  background: var(--c-cream);
  border-radius: 50%;
}

.store-header .navbar-brand.c-logo-badge img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

/* Main navigation */
.store-header nav a,
.store-header .main-menu a,
.store-header custom-main-menu a,
.store-header .custom-main-menu a {
  color: var(--c-cream-75);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--c-track-nav);
  text-transform: uppercase;
}

.store-header nav a:hover,
.store-header .main-menu a:hover,
.store-header custom-main-menu a:hover,
.store-header .main-menu .active > a,
.store-header custom-main-menu .active > a {
  color: var(--c-gold) !important;
}

[dir="rtl"] .store-header nav a,
[dir="rtl"] .store-header .main-menu a,
[dir="rtl"] .store-header custom-main-menu a {
  letter-spacing: 0.03em;
}

/* Header icons */
.store-header .header-btn__icon,
.store-header i[class^="sicon"],
.store-header i[class*=" sicon"],
.store-header salla-cart-summary i,
.store-header salla-user-menu i {
  color: var(--c-cream) !important;
  transition: color var(--c-ease);
}

.store-header .header-btn__icon:hover,
.store-header i[class^="sicon"]:hover,
.store-header a:hover i[class^="sicon"],
.store-header salla-cart-summary:hover i,
.store-header salla-user-menu:hover i {
  color: var(--c-gold) !important;
}

/* Cart bubble */
.s-cart-summary-count,
.s-cart-summary__count,
.cart-count,
.header-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--c-gold) !important;
  color: var(--c-bg) !important;
  border: 1px solid var(--c-bg);
  border-radius: var(--c-radius-pill);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

/* Header search */
.store-header .header-search input,
.store-header salla-search input {
  background: var(--c-panel) !important;
  color: var(--c-cream) !important;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-btn);
}

.store-header .header-search input::placeholder,
.store-header salla-search input::placeholder {
  color: var(--c-cream-50);
}


/* ==========================================================================
   7. FOOTER
   ========================================================================== */

.store-footer,
footer.store-footer {
  background: var(--c-bg-deep) !important;
  color: var(--c-cream-72);
}

.store-footer__inner {
  padding-block: 64px;
}

.store-footer h1,
.store-footer h2,
.store-footer h3,
.store-footer h4 {
  margin: 0 0 14px;
  color: var(--c-gold) !important;
  font-family: var(--c-font-body) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

[dir="rtl"] .store-footer h1,
[dir="rtl"] .store-footer h2,
[dir="rtl"] .store-footer h3,
[dir="rtl"] .store-footer h4 {
  letter-spacing: 0.06em;
}

.store-footer p,
.store-footer .copyright-text {
  color: var(--c-cream-72);
}

.store-footer a {
  color: var(--c-cream);
  text-decoration: none;
}

.store-footer a:hover {
  color: var(--c-gold);
}

.store-footer salla-menu a,
.store-footer .footer-links a {
  padding-block: 4px;
  color: var(--c-cream-75);
}

.store-footer salla-menu a:hover,
.store-footer .footer-links a:hover {
  color: var(--c-gold);
}

.store-footer .copyright-text {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.store-footer > div:has(.copyright-text) {
  border-top: 1px solid var(--c-line);
}

.store-footer salla-payments img,
.store-footer .list-payment img {
  display: block;
  height: 24px;
  width: auto;
  padding: 2px 4px;
  background: #fff;
  border-radius: 4px;
}

.store-footer salla-social a,
.store-footer .social-link {
  color: var(--c-cream-75);
}

.store-footer salla-social a:hover,
.store-footer .social-link:hover {
  color: var(--c-gold);
}

@media screen and (max-width: 989px) {
  .store-footer__inner {
    padding-block: 48px;
  }
}


/* ==========================================================================
   8. BUTTONS
   ========================================================================== */

.s-button-element,
.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 30px;
  border-radius: var(--c-radius-btn);
  font-family: var(--c-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--c-track-button);
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--c-ease), color var(--c-ease),
    border-color var(--c-ease), box-shadow var(--c-ease);
}

/* Solid gold (primary) */
.s-button-primary .s-button-element,
.s-button-primary.s-button-solid .s-button-element,
.btn-primary {
  background: var(--c-gold);
  color: var(--c-bg) !important;
  border: 1px solid var(--c-gold);
}

.s-button-primary .s-button-element:hover,
.s-button-primary.s-button-solid .s-button-element:hover,
.btn-primary:hover {
  background: var(--c-gold-light);
  border-color: var(--c-gold-light);
  color: var(--c-bg) !important;
  box-shadow: 0 0 0 1px var(--c-gold);
}

/* Gold outline (secondary) */
.s-button-primary.s-button-outline .s-button-element,
.btn-outline,
.btn-secondary {
  background: transparent;
  color: var(--c-gold) !important;
  border: 1px solid var(--c-gold);
}

.s-button-primary.s-button-outline .s-button-element:hover,
.btn-outline:hover,
.btn-secondary:hover {
  background: var(--c-gold);
  color: var(--c-bg) !important;
}

/* Dark / light variants */
.s-button-dark .s-button-element,
.btn-dark {
  background: var(--c-panel);
  color: var(--c-cream) !important;
  border: 1px solid var(--c-line);
}

.s-button-dark .s-button-element:hover,
.btn-dark:hover {
  border-color: var(--c-gold);
  color: var(--c-gold) !important;
}

.s-button-light .s-button-element {
  background: var(--c-cream);
  color: var(--c-bg) !important;
  border: 1px solid var(--c-cream);
}

.s-button-light .s-button-element:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
}

/* Small header pills */
.btn--rounded-gray {
  background: var(--c-panel) !important;
  color: var(--c-cream-75) !important;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-pill);
}

.btn--rounded-gray:hover {
  border-color: var(--c-gold);
  color: var(--c-gold) !important;
}

/* Disabled */
.s-button-disabled .s-button-element,
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}


/* ==========================================================================
   9. PRODUCT CARDS
   ========================================================================== */

.s-product-card-entry {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--c-panel) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--c-radius) !important;
  transition: border-color var(--c-ease), transform var(--c-ease);
}

.s-product-card-entry:hover {
  border-color: var(--c-gold) !important;
  transform: translateY(-2px);
}

.s-product-card-image,
.s-product-card-image-full {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--c-bg);
}

.s-product-card-image a,
.s-product-card-image-full a {
  display: block;
}

.s-product-card-image img,
.s-product-card-image-full img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.s-product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--c-panel);
}

.s-product-card-content-title {
  margin: 0;
  color: var(--c-cream) !important;
  font-family: var(--c-font-display) !important;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.s-product-card-content-title a {
  color: inherit;
}

.s-product-card-content-title a:hover {
  color: var(--c-gold);
}

[dir="rtl"] .s-product-card-content-title {
  font-family: var(--c-font-body) !important;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.s-product-card-content-subtitle {
  margin: 0;
  color: var(--c-cream-62);
  font-size: 13px;
  line-height: 1.5;
}

/* Price */
.s-product-card-price,
.s-product-card-sale-price h4,
.s-product-card-starting-price h4 {
  margin: 0;
  color: var(--c-cream) !important;
  font-family: var(--c-font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.s-product-card-sale-price,
.s-product-card-starting-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.s-product-card-sale-price h4 {
  color: var(--c-gold) !important;
}

.s-product-card-sale-price span {
  color: var(--c-cream-62);
  font-size: 13px;
  font-weight: 400;
  text-decoration: line-through;
}

.s-product-card-starting-price p {
  margin: 0;
  color: var(--c-cream-62);
  font-size: 12px;
}

.s-product-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--c-gold);
  font-size: 12px;
}

.s-product-card-rating .sicon-star2,
.s-product-card-rating i {
  color: var(--c-gold) !important;
}

/* Add-to-cart area */
.s-product-card-content-footer {
  margin-top: auto;
  padding-top: 12px;
}

.s-product-card-content-footer .s-button-element {
  width: 100%;
  min-height: 42px;
  padding-inline: 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

[dir="rtl"] .s-product-card-content-footer .s-button-element {
  letter-spacing: 0;
}

/* Badges */
.s-product-card-promotion-title,
.s-product-card-out-badge,
.s-product-card-quantity {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 2;
  display: inline-block;
  padding: 5px 13px 6px;
  border: 1px solid var(--c-gold);
  border-radius: var(--c-radius-pill);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.s-product-card-promotion-title {
  background: var(--c-gold);
  color: var(--c-bg);
}

.s-product-card-out-badge,
.s-product-card-quantity {
  background: rgba(10, 10, 12, 0.82);
  color: var(--c-gold);
}

/* Wishlist */
.s-product-card-wishlist-btn {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 3;
}

.s-product-card-wishlist-btn .s-button-element {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  background: rgba(10, 10, 12, 0.72);
  color: var(--c-cream) !important;
  border: 1px solid var(--c-line);
  border-radius: 50%;
}

.s-product-card-wishlist-btn .s-button-element:hover {
  background: var(--c-gold);
  color: var(--c-bg) !important;
  border-color: var(--c-gold);
}

.s-product-card-wishlist-btn.s-product-card-wishlist-added .s-button-element {
  background: var(--c-gold);
  color: var(--c-bg) !important;
  border-color: var(--c-gold);
}

/* Generic Salla card */
.s-card {
  background: var(--c-panel) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--c-radius) !important;
  color: var(--c-cream-75);
}


/* ==========================================================================
   10. FORMS / INPUTS
   ========================================================================== */

.s-form-control,
.form-control,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  background: var(--c-panel) !important;
  color: var(--c-cream) !important;
  border: 1px solid var(--c-line-strong) !important;
  border-radius: var(--c-radius-btn) !important;
  font-family: var(--c-font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color var(--c-ease), box-shadow var(--c-ease);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  padding-inline-end: 40px;
  cursor: pointer;
}

select option {
  background: var(--c-panel);
  color: var(--c-cream);
}

.s-form-control::placeholder,
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--c-cream-50);
  opacity: 1;
}

.s-form-control:focus,
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  background: var(--c-panel) !important;
  border-color: var(--c-gold) !important;
  box-shadow: var(--c-focus-ring) !important;
  outline: none;
}

.s-form-label,
.form-label,
label {
  color: var(--c-cream-75);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

[dir="rtl"] .s-form-label,
[dir="rtl"] .form-label,
[dir="rtl"] label {
  letter-spacing: 0;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--c-gold);
}

.quantity input,
.qty input,
input.qty {
  background: transparent !important;
  border: 0 !important;
  color: var(--c-cream) !important;
}

.quantity,
.qty {
  border: 1px solid var(--c-line);
  background: var(--c-panel);
}


/* ==========================================================================
   11. CART, SUMMARY, TABLES
   ========================================================================== */

.cart-item,
.s-cart-item,
.s-cart-item-wrapper {
  background: var(--c-panel) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--c-radius) !important;
}

.cart-summary,
.s-cart-summary,
.cart-totals,
.order-summary,
.s-order-summary {
  background: var(--c-panel) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--c-radius) !important;
  color: var(--c-cream-75);
}

.cart-summary h2,
.cart-summary h3,
.s-cart-summary h2,
.s-cart-summary h3 {
  color: var(--c-cream) !important;
  font-family: var(--c-font-body) !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cart-item-title a,
.s-cart-item-title a {
  color: var(--c-cream);
}

.cart-item-title a:hover,
.s-cart-item-title a:hover {
  color: var(--c-gold);
}

.table {
  color: var(--c-cream-75);
}

.table thead th {
  color: var(--c-cream);
  border-color: var(--c-line);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table td,
.table th {
  border-color: var(--c-line);
}


/* ==========================================================================
   12. BADGES, TABS, PAGINATION, BREADCRUMBS
   ========================================================================== */

.badge,
.s-badge,
.product-badge,
.tag {
  display: inline-block;
  padding: 5px 13px 6px;
  background: var(--c-gold);
  color: var(--c-bg) !important;
  border: 1px solid var(--c-gold);
  border-radius: var(--c-radius-pill);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-outline,
.s-badge-outline {
  background: transparent;
  color: var(--c-gold) !important;
  border-color: var(--c-gold);
}

.s-tabs,
.nav-tabs {
  border-bottom: 1px solid var(--c-line);
}

.s-tabs .nav-link,
.nav-tabs .nav-link {
  color: var(--c-cream-62);
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.s-tabs .nav-link:hover,
.nav-tabs .nav-link:hover {
  color: var(--c-gold);
}

.s-tabs .nav-link.active,
.nav-tabs .nav-link.active {
  background: transparent;
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}

.pagination .page-link,
.s-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  background: transparent;
  color: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 0;
  font-size: 14px;
}

.pagination .page-link:hover,
.s-pagination .page-link:hover {
  color: var(--c-gold);
  border-color: var(--c-gold);
}

.pagination .page-item.active .page-link,
.s-pagination .page-item.active .page-link {
  background: var(--c-gold);
  color: var(--c-bg);
  border-color: var(--c-gold);
}

.breadcrumb,
.s-breadcrumb {
  background: transparent;
  color: var(--c-cream-62);
  font-size: 13px;
}

.breadcrumb a,
.s-breadcrumb a {
  color: var(--c-cream-62);
}

.breadcrumb a:hover,
.s-breadcrumb a:hover {
  color: var(--c-gold);
}

.breadcrumb-item.active,
.s-breadcrumb .active {
  color: var(--c-cream);
}


/* ==========================================================================
   13. SLIDERS / ARROWS
   ========================================================================== */

.swiper-button-next,
.swiper-button-prev,
.s-slider-button,
.s-slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(10, 10, 12, 0.78) !important;
  color: var(--c-gold) !important;
  border: 1px solid var(--c-gold);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: background-color var(--c-ease), color var(--c-ease);
}

.swiper-button-next:hover,
.swiper-button-prev:hover,
.s-slider-button:hover,
.s-slider-btn:hover {
  background: var(--c-gold) !important;
  color: var(--c-bg) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
}

.swiper-pagination-bullet {
  background: var(--c-cream-50);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--c-gold);
}

[dir="rtl"] .swiper-button-next,
[dir="rtl"] .swiper-button-prev {
  transform: scaleX(-1);
}


/* ==========================================================================
   14. DROPDOWNS, MODALS, TOASTS
   ========================================================================== */

.dropdown-menu,
.s-dropdown-menu,
.s-dropdown {
  background: var(--c-panel) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--c-radius) !important;
  box-shadow: var(--c-shadow-pop);
}

.dropdown-menu a,
.dropdown-item,
.s-dropdown-menu a {
  color: var(--c-cream-75);
}

.dropdown-menu a:hover,
.dropdown-item:hover,
.s-dropdown-menu a:hover {
  background: var(--c-panel-2);
  color: var(--c-gold);
}

.modal-content,
.s-modal-content,
.s-modal .s-modal-content,
.dialog-content {
  background: var(--c-panel) !important;
  color: var(--c-cream-75);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  box-shadow: var(--c-shadow-pop);
}

.modal-header,
.modal-footer,
.s-modal-header,
.s-modal-footer {
  border-color: var(--c-line);
}

.s-toast,
.toast,
.alert {
  background: var(--c-panel) !important;
  color: var(--c-cream) !important;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-btn);
}

.alert-success,
.s-alert-success {
  border-color: rgba(79, 157, 105, 0.5);
}

.alert-danger,
.s-alert-danger {
  color: var(--c-danger) !important;
  border-color: rgba(227, 91, 106, 0.5);
}


/* ==========================================================================
   15. PRODUCT PAGE
   ========================================================================== */

.product-title,
.product__title,
.s-product-title,
h1.product-title {
  color: var(--c-cream) !important;
  font-family: var(--c-font-display) !important;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[dir="rtl"] .product-title,
[dir="rtl"] .product__title,
[dir="rtl"] .s-product-title {
  font-family: var(--c-font-body) !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.product-price,
.product__price,
.s-product-price,
.price {
  color: var(--c-gold) !important;
  font-family: var(--c-font-body);
  font-weight: 700;
  letter-spacing: 0;
}

.product-description,
.product__description,
.s-product-description {
  color: var(--c-cream-75);
  font-size: 16px;
  line-height: 1.8;
}

.product-description h1,
.product-description h2,
.product-description h3 {
  margin-top: 1.4em;
}

.product-options label,
.product-option label,
.variant-label {
  color: var(--c-cream-75);
  font-size: 13px;
  font-weight: 700;
}

.product-image,
.product__media,
.s-product-image {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
}


/* ==========================================================================
   16. REUSABLE SECTION PRIMITIVES
   (use these classes in Salla custom HTML / page builder sections)
   ========================================================================== */

/* --- Hero ---------------------------------------------------------------- */
.c-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: clamp(520px, calc(100svh - 120px), 700px);
  background: var(--c-bg-alt);
}

.c-hero__media {
  position: absolute;
  inset: 0;
}

.c-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.c-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 12, 0.92) 0%,
    rgba(10, 10, 12, 0.55) 28%,
    rgba(10, 10, 12, 0.08) 62%,
    rgba(10, 10, 12, 0.18) 100%
  );
}

.c-hero__content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: 100%;
  max-width: 920px;
  padding-block: 60px 40px;
}

.c-hero__title {
  margin: 0 0 12px;
  color: var(--c-cream);
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.c-hero__text {
  max-width: 460px;
  margin: 0;
  color: var(--c-cream-92);
  font-size: 16px;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.c-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* --- Info strip ---------------------------------------------------------- */
.c-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: var(--c-strip);
  border-block: 1px solid var(--c-line);
}

.c-strip__item {
  padding: 28px 24px;
  border-inline-end: 1px solid var(--c-line);
}

.c-strip__item:last-child {
  border-inline-end: 0;
}

.c-strip__label {
  margin: 0 0 6px;
  color: var(--c-gold);
  font-family: var(--c-font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

[dir="rtl"] .c-strip__label {
  font-family: var(--c-font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.c-strip__copy {
  margin: 0;
  color: var(--c-cream-72);
}

/* --- Section ------------------------------------------------------------- */
.c-section {
  padding-block: var(--c-section-y);
}

/* --- CTA ----------------------------------------------------------------- */
.c-cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 380px;
  overflow: hidden;
  background: var(--c-bg-alt);
}

.c-cta__media {
  position: absolute;
  inset: 0;
}

.c-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
}

.c-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.72);
}

.c-cta__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-block: 60px;
}

.c-cta__title {
  margin: 0 0 14px;
  color: var(--c-cream);
  font-size: clamp(26px, 4vw, 42px);
}

.c-cta__text {
  max-width: 480px;
  margin: 0 0 24px;
  color: var(--c-cream-75);
  font-size: 16px;
}

/* --- Flash sale band + countdown ---------------------------------------- */
.c-flash {
  padding-block: 44px 50px;
  background:
    radial-gradient(ellipse at top, rgba(201, 162, 39, 0.16), transparent 52%),
    var(--c-strip);
  border-block: 1px solid rgba(201, 162, 39, 0.45);
}

.c-timer {
  display: flex;
  gap: 8px;
  direction: ltr;
}

.c-timer__unit {
  min-width: 64px;
  padding: 9px 8px 8px;
  text-align: center;
  background: rgba(10, 10, 12, 0.72);
  border: 1px solid var(--c-gold);
}

.c-timer__value {
  display: block;
  color: var(--c-gold);
  font-family: var(--c-font-display);
  font-size: 24px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.c-timer__label {
  display: block;
  margin-top: 5px;
  color: var(--c-cream-68);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[dir="rtl"] .c-timer__label {
  letter-spacing: 0.06em;
}

/* --- Panel --------------------------------------------------------------- */
.c-panel {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius);
}

.c-line {
  border: 0;
  border-top: 1px solid var(--c-line);
}


/* ==========================================================================
   17. SALLA / TAILWIND LIGHT-UTILITY REMAP
   Salla themes are built on Tailwind and many sections ship with `bg-white`
   or dark text utilities. These rules keep those sections inside the dark
   system without editing every section.
   ========================================================================== */

main .bg-white,
main .bg-gray-50,
main .bg-gray-100 {
  background-color: var(--c-bg-alt) !important;
}

main .bg-gray-200,
main .bg-gray-300 {
  background-color: var(--c-panel) !important;
}

main .text-black,
main .text-gray-900,
main .text-gray-800,
main .text-dark {
  color: var(--c-cream) !important;
}

main .text-gray-700,
main .text-gray-600,
main .text-gray-500,
main .text-text-grey {
  color: var(--c-cream-62) !important;
}

main .text-gray-400,
main .text-gray-300 {
  color: var(--c-cream-50) !important;
}

main .border-gray-100,
main .border-gray-200,
main .border-gray-300 {
  border-color: var(--c-line) !important;
}

main .shadow-default,
main .shadow-md,
main .shadow-lg {
  box-shadow: none !important;
}


/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */

@media screen and (max-width: 989px) {
  .c-hero {
    min-height: 560px;
  }

  .c-hero__content {
    padding-block: 48px 36px;
  }
}

@media screen and (max-width: 749px) {
  :root {
    --c-gutter: var(--c-gutter-sm);
    --c-section-y: 40px;
  }

  .c-hero {
    min-height: 520px;
  }

  .c-hero__content {
    padding-block: 40px 28px;
  }

  .c-strip__item {
    border-inline-end: 0;
    border-bottom: 1px solid var(--c-line);
  }

  .c-strip__item:last-child {
    border-bottom: 0;
  }

  .c-section-heading,
  .c-section__heading,
  .section-title,
  .s-slider-block__title h2 {
    gap: 10px;
    margin-bottom: 18px;
    font-size: 22px;
  }

  .c-section-heading::before,
  .c-section__heading::before,
  .section-title::before,
  .s-slider-block__title h2::before {
    flex-basis: 24px;
    width: 24px;
  }

  .store-header .navbar-brand img {
    max-height: 40px;
    max-width: 130px;
  }
}


/* ==========================================================================
   19. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .s-product-card-entry,
  .s-button-element,
  .btn,
  .c-hero__media img,
  .c-cta__media img {
    transition: none;
  }
}




/////////////////////
/* new section */
//////////////////////
/* ==========================================================================
   AUTO HERO — append below the main Crafty CSS
   ========================================================================== */

/* Full-bleed helper: escapes a centered Salla container.
   Remove `auto-hero--full` from the HTML if your section is already
   full-width or if it causes horizontal scrolling. */
.auto-hero--full {
  width: auto;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}

.auto-hero {
  position: relative;
  display: grid;
  height: clamp(520px, calc(100svh - 120px), 700px);
  min-height: 0;
  overflow: hidden;
  background: var(--c-bg-alt, #101014);
  isolation: isolate;
}

.auto-hero__media,
.auto-hero__overlay,
.auto-hero__content {
  grid-area: 1 / 1;
}

.auto-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.auto-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.auto-hero__image--mobile {
  display: none;
}

.auto-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(10, 10, 12, 0.92) 0%,
    rgba(10, 10, 12, 0.55) 28%,
    rgba(10, 10, 12, 0.08) 62%,
    rgba(10, 10, 12, 0.18) 100%
  );
}

.auto-hero__content {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: stretch;
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  padding: 60px 50px 40px;
  box-sizing: border-box;
}

.auto-hero__copy {
  width: min(520px, 100%);
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
}

.auto-hero__kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--c-gold, #c9a227);
  font-family: var(--c-font-display, "Oswald", sans-serif);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.auto-hero__title {
  margin: 0 0 12px;
  color: var(--c-cream, #f5f1ea) !important;
  font-family: var(--c-font-display, "Oswald", sans-serif) !important;
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.auto-hero__text {
  margin: 0;
  max-width: 460px;
  color: rgba(245, 241, 234, 0.92);
  font-size: 16px;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.auto-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons are scoped so they do not depend on Salla's button classes */
.auto-hero .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 45px;
  padding: 0 30px;
  background: var(--c-gold, #c9a227);
  color: var(--c-bg, #0a0a0c) !important;
  border: 1px solid var(--c-gold, #c9a227);
  border-radius: 2px;
  font-family: var(--c-font-body, "Cairo", sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.auto-hero .button:hover {
  color: var(--c-bg, #0a0a0c) !important;
  box-shadow: 0 0 0 1px var(--c-gold, #c9a227);
}

.auto-hero .button--secondary {
  background: var(--c-bg, #0a0a0c);
  color: var(--c-gold, #c9a227) !important;
  border-color: var(--c-gold, #c9a227);
}

.auto-hero .button--secondary:hover {
  background: var(--c-bg, #0a0a0c);
  color: var(--c-gold, #c9a227) !important;
  box-shadow: 0 0 0 1px var(--c-gold, #c9a227);
}

/* RTL typography */
[dir="rtl"] .auto-hero__kicker {
  font-family: var(--c-font-body, "Cairo", sans-serif);
  font-weight: 700;
  letter-spacing: 0.06em;
}

[dir="rtl"] .auto-hero__title {
  font-family: var(--c-font-body, "Cairo", sans-serif) !important;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

[dir="rtl"] .auto-hero .button {
  letter-spacing: 0;
}

/* ==========================================================================
   TABLET + MOBILE — image on top, content below (same as the original)
   ========================================================================== */

@media screen and (max-width: 989px) {
  .auto-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .auto-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .auto-hero__image--web {
    display: none;
  }

  .auto-hero__image--mobile {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  .auto-hero .auto-hero__overlay {
    display: none;
  }

  .auto-hero__content {
    position: relative;
    z-index: 1;
    align-self: stretch;
    width: 100%;
    max-width: none;
    padding: 24px 15px 28px;
  }

  .auto-hero__copy {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 749px) {
  .auto-hero__content {
    padding: 32px 15px 20px;
    max-width: 100%;
  }

  .auto-hero__copy {
    width: 100%;
    margin-bottom: 14px;
    padding: 0;
  }

  .auto-hero__kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .auto-hero__title {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .auto-hero__text {
    font-size: 14px;
    line-height: 1.5;
  }

  .auto-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .auto-hero__actions .button {
    flex: 1 1 140px;
    width: auto;
    justify-content: center;
  }

  [dir="rtl"] .auto-hero__kicker {
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auto-hero .button {
    transition: none;
  }
}

/////////////////////////////
/* new section */
////////////////////////////
/* ==========================================================================
   AUTO STRIP — the 3-up info bar under the hero
   ========================================================================== */

/* Full-bleed helper: escapes a centered Salla container.
   Remove `auto-strip--full` from the HTML if your section is already
   full-width or if it causes horizontal scrolling. */
.auto-strip--full {
  width: auto;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}

.auto-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0;
  border-block: 1px solid var(--c-line, rgba(245, 241, 234, 0.12));
  background: var(--c-strip, #0d0d10);
}

.auto-strip__item {
  box-sizing: border-box;
  min-width: 0;
  padding: 28px 24px;
  border-inline-end: 1px solid var(--c-line, rgba(245, 241, 234, 0.12));
}

.auto-strip__item:last-child {
  border-inline-end: 0;
}

.auto-strip__label {
  margin: 0 0 6px;
  color: var(--c-gold, #c9a227);
  font-family: var(--c-font-display, "Oswald", "Cairo", sans-serif);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.auto-strip__copy {
  margin: 0;
  color: var(--c-cream-72, rgba(245, 241, 234, 0.72));
  font-family: var(--c-font-body, "Cairo", sans-serif);
  font-size: 16px;
  line-height: 1.8;
}

/* ==========================================================================
   TABLET + MOBILE — one item per row, same as the original (<= 989px)
   ========================================================================== */

@media screen and (max-width: 989px) {
  .auto-strip {
    grid-template-columns: 1fr;
  }

  .auto-strip__item {
    border-inline-end: 0;
    border-bottom: 1px solid var(--c-line, rgba(245, 241, 234, 0.12));
    padding: 20px 18px;
  }

  .auto-strip__item:last-child {
    border-bottom: 0;
  }
}

@media screen and (max-width: 749px) {
  .auto-strip__label {
    font-size: 11px;
  }

  .auto-strip__copy {
    font-size: 15px;
    line-height: 1.7;
  }
}

///////////////////////
/* new section */
///////////////////////
/* ==========================================================================
   AUTO STORY — "مصممة لتناسب" text block (auto-story auto-story--text)
   ========================================================================== */

/* Full-bleed helper: escapes a centered Salla container.
   Remove `auto-story--full` from the HTML if your section is already
   full-width or if it causes horizontal scrolling. */
.auto-story--full {
  width: auto;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}

.auto-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  margin: 0;
  background: var(--c-bg-alt, #101014);
  border-block: 1px solid var(--c-line, rgba(245, 241, 234, 0.12));
}

/* Text-only variant: one column, centered reading width */
.auto-story--text {
  grid-template-columns: 1fr;
}

.auto-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 40px;
}

/* max-width + auto margins make the block shrink to its content (~520px),
   exactly like the live site, while never exceeding 800px. */
.auto-story--text .auto-story__content {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 20px;
}

.auto-story__kicker {
  margin: 0 0 12px;
  color: var(--c-gold, #c9a227);
  font-family: var(--c-font-display, "Oswald", "Cairo", sans-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.auto-story__title {
  margin: 0 0 14px;
  color: var(--c-cream, #f5f1ea) !important;
  font-family: var(--c-font-body, "Cairo", sans-serif) !important;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.auto-story__text {
  margin: 0 0 24px;
  max-width: 480px;
  color: rgba(245, 241, 234, 0.74);
  font-family: var(--c-font-body, "Cairo", sans-serif);
  font-size: 16px;
  line-height: 1.8;
}

/* Button: gold, full width of the text column (same as the live site) */
.auto-story .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 45px;
  padding: 0 30px;
  background: var(--c-gold, #c9a227);
  color: var(--c-bg, #0a0a0c) !important;
  border: 1px solid var(--c-gold, #c9a227);
  border-radius: 2px;
  font-family: var(--c-font-body, "Cairo", sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.auto-story .button:hover {
  color: var(--c-bg, #0a0a0c) !important;
  box-shadow: 0 0 0 1px var(--c-gold, #c9a227);
}

/* Optional: normal auto-width button instead of the full-width bar.
   Uncomment this block and add `button--inline` to the <a> class. */
/*
.auto-story .button--inline {
  align-self: flex-start;
  min-width: 220px;
}
*/

/* ==========================================================================
   MOBILE (<= 749px)
   ========================================================================== */

@media screen and (max-width: 749px) {
  .auto-story {
    grid-template-columns: 1fr;
  }

  .auto-story__content {
    padding: 32px 16px;
  }

  .auto-story--text .auto-story__content {
    padding-block: 32px;
  }

  .auto-story__title {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auto-story .button {
    transition: none;
  }
}

//////////////////////////
/* new section */
///////////////////////////
/* ==========================================================================
   AUTO CTA — full-bleed clickable banner (auto-cta)
   ========================================================================== */

/* Full-bleed helper: escapes a centered Salla container.
   Remove `auto-cta--full` from the HTML if your section is already
   full-width or if it causes horizontal scrolling. */
.auto-cta--full {
  width: auto;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}

.auto-cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  background: var(--c-bg-alt, #101014);
}

/* The link covers the whole section, so the entire banner is clickable */
.auto-cta__media {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.auto-cta__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.7) contrast(1.05);
}

/* Text overlay is not used by this section (the copy is baked into the
   banner image), but the classes are here if you ever add real text. */
.auto-cta__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-block: 60px;
}

.auto-cta__kicker {
  margin: 0 0 12px;
  color: var(--c-gold, #c9a227);
  font-family: var(--c-font-display, "Oswald", "Cairo", sans-serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.auto-cta__title {
  margin: 0 0 14px;
  color: var(--c-cream, #f5f1ea);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.3;
}

.auto-cta__text {
  margin: 0 0 24px;
  max-width: 480px;
  color: rgba(245, 241, 234, 0.74);
  font-size: 16px;
  line-height: 1.8;
}

/* ==========================================================================
   TABLET + MOBILE (<= 989px) — image in normal flow at its own aspect ratio
   ========================================================================== */

@media screen and (max-width: 989px) {
  .auto-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .auto-cta__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .auto-cta__media img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .auto-cta__content {
    padding-block: 24px 30px;
  }
}

@media screen and (max-width: 749px) {
  .auto-cta__content {
    padding: 32px 16px;
  }
}

/* new section */

/* ==========================================================================
   SALLA COUNTDOWN BLOCK → styled like .auto-flash__banner
   Part 1 of 2 — Custom CSS (Part 2 is the JS that styles the shadow DOM)
   ========================================================================== */

section.s-block.s-block--bundle-count-down {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  /* BLEED: margin-inline: calc(50% - 50vw) !important; */
  padding: 0 !important;
  background: #0a0a0c !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

section.s-block.s-block--bundle-count-down > * {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

salla-count-down-kod10m,
salla-count-down {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  font-family: var(--c-font-body, "Cairo", sans-serif) !important;
  color: #f5f1ea !important;
}

section.s-block--bundle-count-down .countdown-card,
section.s-block--bundle-count-down [class*="countdown"] {
  border-radius: 0 !important;
}
.store-footer__inner {
    background: #0A0A0C;
}
.store-footer__inner {
    border-style: solid;
}
salla-apps-icons, .store-footer__inner .container > div:nth-child(3) {
  
    display:none;
}
@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.max-w-sm {
    max-width: 36rem;
}
.store-footer salla-menu a {
    font-size: 17px;
    font-weight: 700;
    color: white !important;
}
/* .store-header .top-navbar {
    display:none;
} */
.s-user-menu-login-btn, .header-btn__icon {
    border: none;
    color: white;
    background: transparent;
}
.s-user-menu-login-btn svg {
    fill: white;
}
.s-cart-summary-total {
    color: white;
}
.s-cart-summary-count, .s-cart-summary__count, .cart-count, .header-cart-count {
  color: white !important;
}
.brand-card {
    padding: 0rem;
  }
salla-slider .swiper-slide {
    height: fit-content !important;
}
.s-product-card-vertical .s-product-card-image {
  border-radius: 0;
}
.s-block--bundle-html-content, .s-block--bundle-html-content .s-block{
  margin-top:0 !important;
}
.s-user-menu-trigger {
    background-color: transparent;
}

/* ===== craftysa-dark-fix (5 Nov 2026): dark photo slider + options box, square photos never cropped ===== */
.magnify-wrapper,
.homeslider__slide,
salla-product-options.s-product-options-wrapper {
  background-color: #101014 !important;
}
salla-product-options.s-product-options-wrapper {
  border: 1px solid #26262c;
  border-radius: 12px;
}
salla-product-options .s-product-options-option-label,
salla-product-options .s-product-options-option-label *,
salla-product-options label {
  color: #e8e8ea !important;
}
salla-product-options .s-form-control {
  background-color: #18181c !important;
  color: #e8e8ea !important;
  border-color: #2c2c33 !important;
}
.s-product-card-image-cover {
  object-fit: contain !important;
  background-color: #101014;
}
/* craftysa: colour names + every text in the options box in white */
salla-product-options, salla-product-options p, salla-product-options span, salla-product-options label, salla-product-options .s-product-options-option-label, salla-product-options .s-product-options-option-label * {
  color: #ffffff !important;
}
/* =========================================
   CRAFTY - Desktop Submenu Fix
========================================= */

@media screen and (min-width: 1024px) {

    .store-header .main-menu {
        position: relative;
        z-index: 9999;
    }

    .store-header .main-menu .sub-menu {
        background: #121214 !important;
        border: 1px solid rgba(201, 162, 39, 0.25);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        z-index: 99999 !important;
    }

    .store-header .main-menu .sub-menu a,
    .store-header .main-menu .sub-menu span {
        color: #f5f1ea !important;
        opacity: 1 !important;
    }

    .store-header .main-menu .sub-menu a:hover {
        color: #c9a227 !important;
        background: #1c1c20 !important;
    }

}
/* رفع الهيدر فوق باقي عناصر الصفحة */
.store-header {
    position: relative !important;
    z-index: 9999 !important;
    overflow: visible !important;
}

/* السماح للمنيو بالظهور خارج حدود الهيدر */
.store-header nav,
.store-header .main-menu,
.store-header custom-main-menu,
.store-header .custom-main-menu {
    position: relative;
    z-index: 10000 !important;
    overflow: visible !important;
}

/* رفع القوائم المنسدلة */
.store-header .sub-menu,
.store-header .dropdown-menu,
.store-header .s-dropdown-menu,
.store-header .s-dropdown {
    position: absolute;
    z-index: 10001 !important;
}

/* التأكد أن العناصر التالية لا تغطي المنيو */
main,
.store-footer {
    position: relative;
    z-index: 1;
}
.s-verified-review-container {
    background-color: #0a0a0c;
}
.s-comments-product {
    background-color: #0a0a0c;
}
.s-quantity-input-input {
    background-color: transparent;
}

///////////////////////
/* fix  */
////////////////////////
.s-verified-review-content h3.s-verified-review-title {
  color: white !important;
}

.s-product-options-colors-wrapper *{
  color: white !important;
  font-weight: 400 !important;
}

table *{
  color: black !important;
}
custom-wishlist-card h3, custom-wishlist-card h4, custom-wishlist-card h3 a{
  color: black !important;
}

.brand-char *{
  color: black !important;
}

.s-rating-modal-title, .s-rating-modal-filepond-placeholder-text *, .s-rating-modal-filepond-placeholder-text{
  color: black !important;
}
/* craftysa: options (colour + pieces) first, description after them */
.main-content { display: flex; flex-direction: column; }
.main-content > .product__description { order: 2; margin-top: 16px; }
.main-content > form.product-form ~ * { order: 3; }

/* ===== Crafty client-review fixes (9 Nov 2026) ===== */
/* product card: no empty gap between the price and the button */
custom-salla-product-card{height:auto!important}
custom-salla-product-card .s-product-card-content{flex-grow:0!important}
custom-salla-product-card .s-product-card-content-footer{margin-top:0!important}
custom-salla-product-card .s-product-card-content-sub{margin-bottom:12px!important}
/* brand tiles on category pages */
.crafty-brands{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:12px;margin:4px 0 28px;width:100%}
.crafty-brands a{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 10px 12px;border:1px solid #26262c;border-radius:12px;background:#101014;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:14px;text-align:center;transition:border-color .15s}
.crafty-brands a:hover{border-color:#d4a72c}
.crafty-brands img{width:100%;aspect-ratio:2/1;object-fit:contain;background:#fff;border-radius:8px}
.crafty-brands img.crafty-photo{object-fit:cover;background:#d4a72c}
/* review prompt box on the product page: readable text on the dark store */
salla-comments :is(h2,h3,h4,p,span,small,label):not(.s-button-text),
salla-reviews :is(h2,h3,h4,p,span,small,label):not(.s-button-text),
[class*="s-comments"] :is(h2,h3,h4,p,span,small):not(.s-button-text),
[class*="s-reviews"] :is(h2,h3,h4,p,span,small):not(.s-button-text){color:#e8e8ea!important}
/* customer order page: white boxes with light text were unreadable */
body:has(.order-item) main .bg-white,
body:has(.order-item) .order-item{background-color:#101014!important;color:#f5f1ea!important;border-color:#26262c!important}
body:has(.order-item) main :is(.text-gray-400,.text-gray-500,.text-gray-600,.text-gray-900,.text-dark){color:#cfcfd4!important}
body:has(.order-item) main :is(.border-gray-100,.border-gray-200,.border-b){border-color:#26262c!important}
body:has(.order-item) main :is(input,textarea,select,.form-input){background-color:#18181c!important;color:#f5f1ea!important;border-color:#2c2c33!important}

/* order page — checked on a real order (9 Nov 2026) */
body:has(.order-item) .single-order-header-item, body:has(.order-item) .single-order-header-item :is(b,span,div):not(.text-red-500){color:#f5f1ea!important}
body:has(.order-item) .single-order-header-item .s-button-outline{border-color:#d4a72c!important}
body:has(.order-item) .single-order-header-item .s-button-outline .s-button-text{color:#d4a72c!important}
.s-order-details-options-list :is(dt,dd,span){color:#f5f1ea!important}
.s-order-details-options-list .s-order-details-options-item-name{color:#b9b9c0!important}
.s-order-totals-card-panel{background:#101014!important;border:1px solid #26262c!important}
.s-order-totals-card-panel :is(h2,h3,span,div,p,dt,dd,b,strong){color:#f5f1ea!important}

/* product page review prompt (checked logged-in, 9 Nov 2026) */
body .s-verified-review-container .s-verified-review-title{color:#fff!important}
body .s-verified-review-container .s-verified-review-subtitle{color:#cfcfd4!important}

/* product page: one frame / two frames choice (9 Nov 2026) */
.crafty-count,.crafty-size2{background:#101014;border:1px solid #26262c;border-radius:12px;padding:14px 16px;margin:0 0 12px;color:#fff}
.crafty-size2{margin:12px 0 0}
.crafty-size2[hidden]{display:none}
.crafty-count b,.crafty-size2 b{display:block;font-size:14px;font-weight:700;margin-bottom:10px;color:#fff}
.crafty-pills{display:flex;flex-direction:column;gap:8px}
.crafty-pills button{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;border:1px solid #3a3a42;background:transparent;color:#e8e8ea;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit}
.crafty-pills button.on{background:#f5f1ea;color:#141414;border-color:#f5f1ea}
.crafty-count small{display:block;margin-top:8px;color:#b9b9c0;font-size:12px}
.crafty-size2 select{width:100%;height:44px;border-radius:8px;background:#18181c;color:#e8e8ea;border:1px solid #2c2c33;padding:0 12px;font-family:inherit}
.crafty-size2.err select{border-color:#e5484d}

/* size guide (9 Nov) */
.crafty-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 10px;align-items:end;background:#101014;border:1px solid #26262c;border-radius:12px;padding:12px 14px;margin:0 0 12px;color:#fff}
.crafty-guide b{grid-column:1/-1;font-size:14px;margin-bottom:2px}
.crafty-guide figure{margin:0;text-align:center}
.crafty-guide svg{display:block;width:100%;height:auto}
.crafty-guide figcaption{font-size:13px;font-weight:600;color:#e8e8ea;margin-top:4px}

/* size guide, CSS-only (9 Nov): no JS needed, full-width strip under the buy buttons, right above the description */
body.product-single form.product-form::after{content:"";display:block;aspect-ratio:500/124;margin:12px 0 6px;padding:0;border:1px solid #26262c;border-radius:12px;background:#101014 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20500%20112'%3E%3Ctext%20x='500'%20y='14'%20text-anchor='end'%20direction='ltr'%20font-family='Tajawal%2CCairo%2CGeeza%20Pro%2CTahoma%2CArial%2Csans-serif'%20font-size='14'%20font-weight='700'%20fill='%23fff'%3E%D8%A3%D8%B4%D9%83%D8%A7%D9%84%20%D8%A7%D9%84%D9%84%D9%88%D8%AD%D8%A7%D8%AA%3C/text%3E%3Crect%20x='361.0'%20y='43.0'%20width='112'%20height='30'%20rx='3.5'%20fill='%2326262c'%20stroke='%23f5f1ea'%20stroke-width='1.3'/%3E%3Crect%20x='365.0'%20y='47.0'%20width='104'%20height='22'%20rx='1.5'%20fill='%23f5f1ea'/%3E%3Cg%20stroke='%23101014'%20stroke-width='1'%20fill='none'%3E%3Cline%20x1='460.0'%20y1='47.0'%20x2='460.0'%20y2='69.0'/%3E%3Cline%20x1='365.0'%20y1='58.0'%20x2='460.0'%20y2='58.0'/%3E%3Cline%20x1='412.5'%20y1='47.0'%20x2='412.5'%20y2='69.0'/%3E%3Cline%20x1='375.7'%20y1='52.5'%20x2='401.8'%20y2='52.5'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3Cline%20x1='423.2'%20y1='52.5'%20x2='449.3'%20y2='52.5'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3Cline%20x1='375.7'%20y1='63.5'%20x2='401.8'%20y2='63.5'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3Cline%20x1='423.2'%20y1='63.5'%20x2='449.3'%20y2='63.5'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3C/g%3E%3Crect%20x='215.0'%20y='38.0'%20width='70'%20height='40'%20rx='3.5'%20fill='%2326262c'%20stroke='%23f5f1ea'%20stroke-width='1.3'/%3E%3Crect%20x='219.0'%20y='42.0'%20width='62'%20height='32'%20rx='1.5'%20fill='%23f5f1ea'/%3E%3Cg%20stroke='%23101014'%20stroke-width='1'%20fill='none'%3E%3Cline%20x1='272.9'%20y1='42.0'%20x2='272.9'%20y2='74.0'/%3E%3Cline%20x1='219.0'%20y1='58.0'%20x2='272.9'%20y2='58.0'/%3E%3Cline%20x1='246.0'%20y1='42.0'%20x2='246.0'%20y2='74.0'/%3E%3Cline%20x1='225.1'%20y1='50.0'%20x2='239.9'%20y2='50.0'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3Cline%20x1='252.0'%20y1='50.0'%20x2='266.9'%20y2='50.0'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3Cline%20x1='225.1'%20y1='66.0'%20x2='239.9'%20y2='66.0'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3Cline%20x1='252.0'%20y1='66.0'%20x2='266.9'%20y2='66.0'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3C/g%3E%3Crect%20x='52.0'%20y='44.0'%20width='62'%20height='28'%20rx='3.5'%20fill='%2326262c'%20stroke='%23f5f1ea'%20stroke-width='1.3'/%3E%3Crect%20x='56.0'%20y='48.0'%20width='54'%20height='20'%20rx='1.5'%20fill='%23f5f1ea'/%3E%3Cg%20stroke='%23101014'%20stroke-width='1'%20fill='none'%3E%3Cline%20x1='103.0'%20y1='48.0'%20x2='103.0'%20y2='68.0'/%3E%3Cline%20x1='56.0'%20y1='58.0'%20x2='103.0'%20y2='58.0'/%3E%3Cline%20x1='79.5'%20y1='48.0'%20x2='79.5'%20y2='68.0'/%3E%3Cline%20x1='61.3'%20y1='53.0'%20x2='74.2'%20y2='53.0'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3Cline%20x1='84.8'%20y1='53.0'%20x2='97.7'%20y2='53.0'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3Cline%20x1='61.3'%20y1='63.0'%20x2='74.2'%20y2='63.0'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3Cline%20x1='84.8'%20y1='63.0'%20x2='97.7'%20y2='63.0'%20stroke-width='2.2'%20stroke-linecap='round'%20opacity='.5'/%3E%3C/g%3E%3Ctext%20x='417'%20y='105'%20text-anchor='middle'%20font-family='Tajawal%2CCairo%2CGeeza%20Pro%2CTahoma%2CArial%2Csans-serif'%20font-size='13'%20font-weight='600'%20fill='%23e8e8ea'%3E%D8%B7%D9%88%D9%84%D9%8A%3C/text%3E%3Ctext%20x='250'%20y='105'%20text-anchor='middle'%20font-family='Tajawal%2CCairo%2CGeeza%20Pro%2CTahoma%2CArial%2Csans-serif'%20font-size='13'%20font-weight='600'%20fill='%23e8e8ea'%3E%D9%85%D8%B1%D8%A8%D8%B9%3C/text%3E%3Ctext%20x='83'%20y='105'%20text-anchor='middle'%20font-family='Tajawal%2CCairo%2CGeeza%20Pro%2CTahoma%2CArial%2Csans-serif'%20font-size='13'%20font-weight='600'%20fill='%23e8e8ea'%3E%D8%B3%D8%A8%D9%88%D8%B1%D8%AA%3C/text%3E%3C/svg%3E") center/calc(100% - 32px) auto no-repeat}

/* Saudi emblems (client, 9 Nov; 14 Nov: only the 6 circled ones stay fixed, the other 12 got the colour option): logo is always Saudi green, no colour option. The photos are cut-outs, the colour sits behind them. */
:is(#product-908198667,#product-949200392,#product-1857455887,#product-660151043,#product-701152768,#product-34041862) salla-slider img,
:is(custom-salla-product-card[id="908198667"],custom-salla-product-card[id="949200392"],custom-salla-product-card[id="1857455887"],custom-salla-product-card[id="660151043"],custom-salla-product-card[id="701152768"],custom-salla-product-card[id="34041862"]) img{background-color:#27843A!important}

/* two frames chosen (9 Nov): hide «اشترِ الآن», it would buy one frame only. body.crafty-two is set by the two-frames script */
body.crafty-two salla-mini-checkout-widget{display:none!important}
/* country flags & emblems (10 Nov): no colour option, fixed white (Saudi ones are fixed green above) */
:is(#product-734137394,#product-202952240,#product-1508240689,#product-95365939,#product-1467238972,#product-518108728,#product-1933543486,#product-1758385465,#product-984347706,#product-342889275) salla-slider img,
:is(custom-salla-product-card[id="734137394"],custom-salla-product-card[id="202952240"],custom-salla-product-card[id="1508240689"],custom-salla-product-card[id="95365939"],custom-salla-product-card[id="1467238972"],custom-salla-product-card[id="518108728"],custom-salla-product-card[id="1933543486"],custom-salla-product-card[id="1758385465"],custom-salla-product-card[id="984347706"],custom-salla-product-card[id="342889275"]) img{background-color:#F4F4F6!important}
/* client, 10 Nov: the logo is WHITE by default everywhere (cards, search, cart, product page before the script runs).
   The photos are cut-outs, so the colour sits behind them. No !important: the colour script (inline style) and the
   fixed Saudi-green rule above still win. */
custom-salla-product-card img.s-product-card-image-cover,
custom-salla-product-card .s-product-card-image img,
salla-slider.details-slider img,
[id^="details-slider"] img,
img[src*="/products/1468246714/"],
img[data-src*="/products/1468246714/"]{background-color:#F4F4F6}

/*  */
/* styling the top navbar  */
/*  */
/* 1. Hide the old top-navbar completely */
.top-navbar {
    display: none !important;
}

/* 2. Desktop styling: make it fit nicely as the last item in the header flex container */
@media (min-width: 1024px) {
    .main-nav-container .flex.items-center.justify-end {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    /* Style the switcher button to match desktop header elements if needed */
    salla-localization-modal {
        display: inline-flex !important;
        margin-inline-start: 4px;
    }
}

/* 3. Mobile styling: make it look like a neat list item inside the mobile drawer menu */
@media (max-width: 1023.98px) {
    .main-menu.mm-spn--open > salla-localization-modal,
    .mobile-menu salla-localization-modal {
        display: block !important;
        padding: 12px 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-menu.mm-spn--open > salla-localization-modal .s-localization-modal-trigger-btn,
    .mobile-menu salla-localization-modal .s-localization-modal-trigger-btn {
        width: 100% !important;
        justify-content: space-between !important;
        background: transparent !important;
        color: inherit !important;
        border: none !important;
    }
}

/* modal  */
/* Ensure the modal container captures pointer events properly and sits on top */
#salla-modal,
.salla-modal.s-modal {
    z-index: 999999 !important;
    pointer-events: auto !important;
}

/* Ensure the background overlay doesn't block the modal content itself */
.salla-modal .s-modal-overlay {
    z-index: 999998 !important;
}

/* Make sure the modal body and options are fully clickable */
.salla-modal .s-modal-wrapper,
.salla-modal .s-modal-body,
.salla-modal .s-localization-modal-inner {
    z-index: 1000000 !important;
    pointer-events: auto !important;
}

/* mobile language switcher button */
@media (max-width: 1023.98px) {
    /* 1. Outer element container styling */
    .main-menu.mm-spn--open > salla-localization-modal,
    .mobile-menu salla-localization-modal {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        border-bottom: 1px solid #f3f4f6 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. Match exact font family, size, weight, and color of the mobile menu items */
    .main-menu.mm-spn--open > salla-localization-modal .s-localization-modal-trigger-btn,
    .mobile-menu salla-localization-modal .s-localization-modal-trigger-btn {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        padding-inline: 16px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        
        /* Exact Typography Matching */
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        line-height: 20px !important;
        
        /* Changed to flex-start with a clean gap */
        justify-content: flex-start !important;
        gap: 12px !important;
        align-items: center !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    /* 3. Propagate typography down to all child text inside the shadow component */
    .main-menu.mm-spn--open > salla-localization-modal .s-localization-modal-trigger-btn *,
    .mobile-menu salla-localization-modal .s-localization-modal-trigger-btn * {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 20px !important;
    }
}

/* CRAFTY_VISUALS_V1_START */
/* Home video hero (.cfv-hero) + video slider, reviews, (.cfv-reel, .cfv-rev, .cfv-cta). Added 2026-12-01. */
.cfv-hero{display:grid;grid-template-columns:1fr;background:var(--c-bg,#0a0a0c);color:var(--c-cream,#f5f1ea);font-family:var(--c-font-body,"Cairo",sans-serif);overflow:hidden}
.cfv-hero__media{position:relative;display:block;width:100%;padding-block-start:125%;background:#101014;overflow:hidden}
.cfv-hero__media video,.cfv-hero__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.cfv-hero__media::after{content:"";position:absolute;inset-inline:0;inset-block-end:0;height:22%;background:linear-gradient(to bottom,rgba(10,10,12,0),var(--c-bg,#0a0a0c));pointer-events:none}
.cfv-hero__copy{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:8px 20px 36px;text-align:start}
.cfv-hero__title{margin:0;color:var(--c-cream,#f5f1ea);font-size:30px;font-weight:700;line-height:1.35;text-wrap:balance}
.cfv-hero__text{margin:0;max-width:34em;color:rgba(245,241,234,.78);font-size:15px;line-height:1.9}
.cfv-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;width:100%;margin-block-start:8px}
.cfv-hero .cfv-btn,.cfv-cta .cfv-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 30px;background:var(--c-gold,#c9a227);color:#0a0a0c !important;border:1px solid var(--c-gold,#c9a227);border-radius:2px;font-family:inherit;font-size:15px;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer;transition:box-shadow .2s ease}
.cfv-hero .cfv-btn:hover,.cfv-cta .cfv-btn:hover{box-shadow:0 0 0 1px var(--c-gold,#c9a227)}
.cfv-hero .cfv-link{color:var(--c-cream,#f5f1ea) !important;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:6px;text-decoration-color:var(--c-gold,#c9a227)}
@media (max-width:767px){.cfv-hero .cfv-btn{flex:1 1 100%}}
@media (min-width:768px){
  .cfv-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:0 56px;padding:40px max(50px,calc(50% - 600px))}
  .cfv-hero__media{order:2;max-width:480px;justify-self:end;padding-block-start:min(125%,600px);border:1px solid rgba(201,162,39,.35)}
  .cfv-hero__media::after{display:none}
  .cfv-hero__copy{order:1;padding:0;gap:16px}
  .cfv-hero__title{font-size:46px;line-height:1.3}
  .cfv-hero__text{font-size:17px}
}

/* first paint: home blocks are empty until scripts run, so hold their place (else the footer shows first) */
body.index #main-content,body[class*="product-index"] #main-content,body[class*="brands"] #main-content,body.product-single #main-content{min-height:110vh}
body.index #main-content>section:first-of-type>salla-custom-component{display:block;min-height:calc(125vw + 231px);background:#0a0a0c url("https://cdn.files.salla.network/homepage/1468246714/d1f803ba-2c8c-48a1-81c5-d376c2f5744c-standard.webp") center top/100vw 125vw no-repeat}
body.index #main-content>section:nth-of-type(2)>salla-custom-component{display:block;min-height:48px}
@media (min-width:768px){
  body.index #main-content>section:first-of-type>salla-custom-component{min-height:682px;background-position:max(50px,calc(50vw - 600px)) 41px;background-size:480px 600px}
  html[lang="en"] body.index #main-content>section:first-of-type>salla-custom-component{background-position:calc(100% - max(50px,calc(50vw - 600px))) 41px}
  body.index #main-content>section:nth-of-type(2)>salla-custom-component{min-height:52px}
}
/* the gold shipping bar is added by script: keep its line from the start */
body.index #main-content>section:first-of-type>salla-custom-component>.twilight-skeleton,body.index #main-content>section:nth-of-type(2)>salla-custom-component>.twilight-skeleton{display:none}
@supports selector(:has(a)){.container--products-list:not(:has(.s-product-card-entry,[class*="placeholder"])){min-height:100vh}}
.container--breadcrumbs{min-height:60px}
@media (max-width:767px){@supports selector(:has(a)){body.product-single .sidebar salla-slider.details-slider:not(:has(.swiper-initialized)){display:block;height:calc(100vw + 59px);overflow:hidden}}}
@supports selector(:has(a)){body:not(:has(#crafty-ship-bar))::before{content:"";display:block;height:38px;background:#c9a227}}
/* self-moving reel: photos and clips, drag or tap */
.cfv-reel{padding-block:36px;background:var(--c-bg,#0a0a0c);color:var(--c-cream,#f5f1ea);font-family:var(--c-font-body,"Cairo",sans-serif);overflow:hidden;--h:300px}
.cfv-reel__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding-inline:20px}
.cfv-reel__h{margin:0;color:var(--c-cream,#f5f1ea);font-size:22px;font-weight:700;line-height:1.5}
.cfv-reel__nav{display:none;gap:10px}
.cfv-reel__nav button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:transparent;border:1px solid rgba(245,241,234,.4);border-radius:50%;color:var(--c-cream,#f5f1ea);font-size:20px;line-height:1;cursor:pointer}
.cfv-reel__nav button:hover,.cfv-reel__nav button:focus-visible{border-color:var(--c-gold,#c9a227);color:var(--c-gold,#c9a227)}
.cfv-reel__vp{overflow:hidden;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none}
.cfv-reel__vp:active{cursor:grabbing}
.cfv-reel__row{display:flex;gap:10px;width:max-content;margin:0;padding:0;list-style:none;will-change:transform}
.cfv-reel__i{position:relative;flex:0 0 auto;width:calc(var(--h)*var(--r));height:var(--h);background:#121214;overflow:hidden}
.cfv-reel__i::before{content:none}
.cfv-reel__i video,.cfv-reel__i img{position:static;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
@media (min-width:768px){
  .cfv-reel{padding-block:56px;--h:400px}
  .cfv-reel__h{font-size:30px}
  .cfv-reel__nav{display:flex}
  .cfv-reel__head{padding-inline:max(24px,calc(50% - 720px))}
  .cfv-reel__row{gap:16px}
}
/* live tile beside the product thumbnails */
@media (max-width:767px){body.product-single .sidebar.cfv-side{position:relative;top:auto}}
@media (min-width:768px){body.product-single .sidebar.cfv-side{position:sticky}}
.cfv-tile{position:absolute;z-index:3;padding:0;border:1px solid var(--c-gold,#c9a227);border-radius:2px;background:#121214;overflow:hidden;cursor:pointer}
.cfv-tile[hidden]{display:none}
.cfv-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.cfv-tile__p{position:absolute;inset:0 0 18px;margin:auto;width:26px;height:26px;border-radius:50%;background:rgba(10,10,12,.62)}
.cfv-tile__p::after{content:"";position:absolute;inset:0;margin:auto;width:0;height:0;border-block:5px solid transparent;border-left:8px solid #fff;transform:translateX(1px)}
.cfv-tile__t{position:absolute;inset:auto 0 0;padding:1px 2px;background:rgba(10,10,12,.78);color:#fff;font-family:var(--c-font-body,"Cairo",sans-serif);font-size:11px;font-weight:700;line-height:17px;text-align:center;white-space:nowrap}
.cfv-tile:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* viewer */
html.cfv-lock,html.cfv-lock body{overflow:hidden}
.cfv-view{position:fixed;inset:0;z-index:2147483000;background:rgba(5,5,7,.96)}
.cfv-view__s{display:flex;width:100%;height:100%;overflow-x:auto;overscroll-behavior:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.cfv-view__s::-webkit-scrollbar{display:none}
.cfv-view__i{flex:0 0 100%;height:100%;display:flex;align-items:center;justify-content:center;padding:64px 12px 24px;box-sizing:border-box;scroll-snap-align:center;scroll-snap-stop:always}
.cfv-view__i video,.cfv-view__i img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.cfv-view__i video{height:100%;aspect-ratio:2/3}
.cfv-view__x{position:absolute;z-index:2;top:calc(10px + env(safe-area-inset-top,0px));inset-inline-end:12px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(245,241,234,.14);color:#fff;font-size:18px;line-height:1;cursor:pointer}
/* trust line under the buy box */
.cfv-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0 0;padding:0;list-style:none;font-family:var(--c-font-body,"Cairo",sans-serif)}
.cfv-chips li{display:flex;align-items:center;justify-content:center;padding:6px 3px;border:1px solid rgba(201,162,39,.4);color:var(--c-cream,#f5f1ea);font-size:12px;font-weight:600;line-height:1.4;text-align:center}
/* Arabic is never letter-spaced (the old theme code tracked it and broke the joins) */
html[dir="rtl"] body,html[dir="rtl"] body :is(p,span,a,b,li,h1,h2,h3,h4,h5,h6,label,button,small,strong,div,input,select,textarea,salla-button){letter-spacing:0 !important}
/* one HTML block holds both languages */
html:not([lang="en"]) .cfv-en,html[lang="en"] .cfv-ar{display:none !important}
/* short home strip: one row on every screen */
.auto-strip.cfv-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.auto-strip.cfv-strip .auto-strip__item{padding:14px 6px;border-block-end:0;text-align:center}
.auto-strip.cfv-strip .auto-strip__label{margin:0;font-size:13px;text-align:center}
@media (min-width:768px){.auto-strip.cfv-strip .auto-strip__label{font-size:16px}}

/* customer reviews: written comments, then star ratings with the bought product */
.cfv-rev{padding:0 0 44px;background:var(--c-bg,#0a0a0c);color:var(--c-cream,#f5f1ea);font-family:var(--c-font-body,"Cairo",sans-serif);overflow:hidden}
.cfv-rev[hidden]{display:none}
.cfv-rev__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding-inline:20px}
.cfv-rev__sum{display:flex;align-items:center;gap:10px;margin:0;white-space:nowrap}
.cfv-rev__sum b{color:var(--c-cream,#f5f1ea);font-size:40px;font-weight:700;line-height:1}
.cfv-rev__sum>span{display:flex;flex-direction:column;gap:2px}
.cfv-rev__sum small{color:rgba(245,241,234,.62);font-size:12px;line-height:1.4}
.cfv-rev__s{color:var(--c-gold,#c9a227);font-size:15px;line-height:1.2;white-space:nowrap}
.cfv-rev__s i{color:rgba(245,241,234,.22);font-style:normal}
.cfv-rev__n{display:flex;flex-wrap:wrap;gap:0 8px;margin:0;color:var(--c-cream,#f5f1ea);font-size:14px;font-weight:700;line-height:1.6}
.cfv-rev__n span{color:rgba(245,241,234,.6);font-weight:400}
.cfv-q,.cfv-rev__row{display:flex;gap:10px;margin:0;padding:0 20px;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:20px;scrollbar-width:none}
.cfv-q::-webkit-scrollbar,.cfv-rev__row::-webkit-scrollbar{display:none}
.cfv-q{margin-block-end:10px}
.cfv-q__i{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:14px;flex:0 0 86%;padding:46px 20px 18px;background:linear-gradient(160deg,#1b1812,#121214 60%);border:1px solid rgba(201,162,39,.45);scroll-snap-align:start;box-sizing:border-box}
.cfv-q--1 .cfv-q__i{flex-basis:100%}
.cfv-q__i::before{content:"\201D";position:absolute;top:8px;inset-inline-start:16px;color:var(--c-gold,#c9a227);font-family:Georgia,serif;font-size:64px;line-height:1}
.cfv-q__t{margin:0;color:var(--c-cream,#f5f1ea);font-size:17px;font-weight:600;line-height:1.9;text-wrap:pretty}
.cfv-rev__i{flex:0 0 auto;min-width:228px;background:#121214;border:1px solid rgba(245,241,234,.12);scroll-snap-align:start}
.cfv-rev__i>a,.cfv-rev__a{display:flex;align-items:center;gap:12px;padding:10px;color:inherit;text-decoration:none}
.cfv-rev__i>a:hover,.cfv-rev__i>a:focus-visible{background:#17171b}
.cfv-rev__i img{flex:0 0 72px;width:72px;height:72px;object-fit:cover;background:#fff}
.cfv-rev__b{display:flex;flex-direction:column;gap:3px;min-width:0}
.cfv-rev__p,.cfv-rev__t{color:rgba(245,241,234,.62);font-size:12px;line-height:1.5}
@media (min-width:768px){
  .cfv-rev{padding-block-end:64px}
  .cfv-rev__head,.cfv-q,.cfv-rev__row{padding-inline:max(24px,calc(50% - 720px))}
  .cfv-q,.cfv-rev__row{gap:16px;scroll-padding-inline:max(24px,calc(50% - 720px))}
  .cfv-q{margin-block-end:16px}
  .cfv-q__i{flex:1 0 340px;padding:58px 28px 24px}
  .cfv-q__t{font-size:20px}
  .cfv-rev__i{flex:1 0 250px}
  .cfv-rev__sum b{font-size:52px}
}
/* inside the custom design page */
.cfv-rev--in{margin-block-start:26px;padding:26px 0 6px;background:transparent;border-block-start:1px solid rgba(201,162,39,.4)}
@media (min-width:768px){.cfv-rev--in .cfv-rev__row{display:grid;grid-template-columns:1fr 1fr;overflow:visible}}
/* native rating bars on the dark product page */
body.product-single salla-comments .s-progress-bar-wrapper{height:8px;background:rgba(245,241,234,.12)}
body.product-single salla-comments .s-progress-bar-wrapper>*{height:100%}
.cfv-rev--in .cfv-rev__head,.cfv-rev--in .cfv-q,.cfv-rev--in .cfv-rev__row{padding-inline:0}
/* native Salla comments, same language as above */
salla-comments.cfv-pc .s-comments-title,salla-comments.cfv-pc .s-comments-header,salla-comments.cfv-pc .s-translate-all-wrap{display:none}
body.page-single salla-comments.cfv-pc .s-comments{margin:0;padding:0}
body.page-single salla-comments.cfv-pc .s-comments-item.s-comments-item{display:block;margin:10px 0 0;padding:0;border:0}
body.page-single salla-comments.cfv-pc .s-comments-item-wrapper{position:relative;margin:0;padding:44px 18px 16px;background:linear-gradient(160deg,#1b1812,#121214 60%);border:1px solid rgba(201,162,39,.45)}
body.page-single salla-comments.cfv-pc .s-comments-item-wrapper::before{content:"\201D";position:absolute;top:8px;inset-inline-start:14px;color:var(--c-gold,#c9a227);font-family:Georgia,serif;font-size:60px;line-height:1}
salla-comments.cfv-pc .s-comments-item-avatar,salla-comments.cfv-pc .s-comments-item-time,salla-comments.cfv-pc .s-translate-wrap{display:none}
salla-comments.cfv-pc .s-comments-item-inner>.s-comments-flex-1{display:flex;flex-direction:column-reverse;gap:10px}
salla-comments.cfv-pc .s-comments-item-user-wrapper{display:flex;align-items:baseline;justify-content:flex-start;gap:10px}
salla-comments.cfv-pc .s-comments-item-user-info-name-with-margin{margin:0;font-size:14px;font-weight:700}
salla-comments.cfv-pc .s-comments-item-timestamp{margin:0;color:rgba(245,241,234,.55)!important;font-size:12px}
body.page-single salla-comments.cfv-pc .s-comments-item-content p{margin:0;font-size:17px;font-weight:600;line-height:1.9}
.cfv-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 28px;padding:28px 20px;background:var(--c-bg-alt,#101014);border-block:1px solid rgba(245,241,234,.12);font-family:var(--c-font-body,"Cairo",sans-serif)}
.cfv-cta__h{margin:0;color:var(--c-cream,#f5f1ea);font-size:20px;font-weight:700;line-height:1.5}
@media (prefers-reduced-motion:reduce){.cfv-hero .cfv-btn,.cfv-cta .cfv-btn{transition:none}}
/* CRAFTY_VISUALS_V1_END */