/* ================================================================
   EMANZ | ايـمــانـز
   PREMIUM SALLA STOREFRONT CSS
   Direction: Quiet Luxury / Editorial / Feminine / Modern
   Tagline: يليق بك
   ================================================================ */


/* ================================================================
   00 — WEB FONTS
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600&family=Josefin+Sans:wght@300;400;500&display=swap');


/* ================================================================
   01 — BRAND TOKENS
   ================================================================ */

:root {

  /* Core Palette */
  --emanz-ivory: #F8F5EF;
  --emanz-ivory-soft: #FCFAF6;
  --emanz-white: #FFFFFF;

  --emanz-burgundy: #65172F;
  --emanz-burgundy-deep: #451020;
  --emanz-burgundy-hover: #7B2943;

  --emanz-champagne: #D8C5B5;
  --emanz-nude: #ECE1D8;

  --emanz-ink: #292426;
  --emanz-text: #4E4648;
  --emanz-muted: #81777A;
  --emanz-light: #AAA1A3;

  --emanz-border: rgba(69,16,32,.10);

  /* Typography */
  --font-ar:
    "IBM Plex Sans Arabic",
    sans-serif;

  --font-en:
    "Josefin Sans",
    sans-serif;

  /* Radius */
  --radius-xs: 8px;
  --radius-sm: 13px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft:
    0 14px 45px rgba(65,25,36,.055);

  --shadow-hover:
    0 20px 65px rgba(65,25,36,.10);

  /* Motion */
  --ease-luxury:
    cubic-bezier(.22,.61,.36,1);

  --transition:
    .35s var(--ease-luxury);

  /* Sections */
  --section-space:
    105px;
}


/* ================================================================
   02 — RESET / GLOBAL
   ================================================================ */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    var(--emanz-ivory) !important;

  color:
    var(--emanz-text);

  font-family:
    var(--font-ar) !important;

  font-weight:
    400;

  line-height:
    1.85;

  overflow-x:
    hidden;

  -webkit-font-smoothing:
    antialiased;

  text-rendering:
    optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing:
    border-box;
}

a {
  text-decoration:
    none;

  transition:
    var(--transition);
}

img {
  max-width:
    100%;
}


/* ================================================================
   03 — ENGLISH BRAND TYPOGRAPHY
   ================================================================ */

[lang="en"],
.emanz-en,
.brand-en,
.logo-en {
  font-family:
    var(--font-en) !important;

  font-weight:
    300 !important;

  letter-spacing:
    .18em;
}


/* ================================================================
   04 — ARABIC TYPOGRAPHY
   ================================================================ */

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
textarea,
select {
  font-family:
    var(--font-ar) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color:
    var(--emanz-burgundy-deep);

  font-weight:
    400 !important;

  letter-spacing:
    0;

  line-height:
    1.55;
}

p {
  color:
    var(--emanz-muted);

  line-height:
    1.9;
}


/* ================================================================
   05 — STORE WIDTH
   ================================================================ */

.container {
  max-width:
    1380px !important;
}


/* ================================================================
   06 — ANNOUNCEMENT BAR
   ================================================================ */

.top-navbar,
.announcement-bar {
  min-height:
    36px;

  background:
    var(--emanz-burgundy-deep) !important;

  color:
    var(--emanz-ivory) !important;

  font-size:
    12px !important;

  font-weight:
    300 !important;

  letter-spacing:
    .1px;
}

.top-navbar *,
.announcement-bar * {
  color:
    var(--emanz-ivory) !important;
}


/* ================================================================
   07 — HEADER
   ================================================================ */

header,
.store-header {
  background:
    rgba(248,245,239,.94) !important;

  border-bottom:
    1px solid rgba(69,16,32,.055);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);

  transition:
    background .4s ease,
    box-shadow .4s ease;
}


/* Logo space */

.navbar-brand {
  padding-top:
    15px !important;

  padding-bottom:
    15px !important;
}

.navbar-brand img,
.store-header .logo img {
  max-height:
    62px !important;

  width:
    auto !important;

  object-fit:
    contain;
}


/* Header icons */

header svg,
.store-header svg {
  color:
    var(--emanz-burgundy-deep) !important;

  stroke:
    currentColor;

  stroke-width:
    1.5;
}

header button,
.store-header button {
  transition:
    transform .25s ease;
}

header button:hover,
.store-header button:hover {
  transform:
    translateY(-1px);
}


/* ================================================================
   08 — NAVIGATION
   ================================================================ */

.main-menu,
.main-nav-container {
  background:
    var(--emanz-ivory) !important;
}

.main-menu a,
.main-nav-container a {
  position:
    relative;

  color:
    var(--emanz-ink) !important;

  font-size:
    14px;

  font-weight:
    400 !important;

  padding-bottom:
    5px;
}

.main-menu a::after,
.main-nav-container a::after {
  content:
    "";

  position:
    absolute;

  left:
    50%;

  bottom:
    -2px;

  width:
    0;

  height:
    1px;

  background:
    var(--emanz-burgundy);

  transform:
    translateX(-50%);

  transition:
    width .3s ease;
}

.main-menu a:hover,
.main-nav-container a:hover {
  color:
    var(--emanz-burgundy) !important;
}

.main-menu a:hover::after,
.main-nav-container a:hover::after {
  width:
    26px;
}


/* ================================================================
   09 — HERO
   ================================================================ */

.s-slider-block {
  position:
    relative;

  overflow:
    hidden;

  margin:
    0;

  background:
    var(--emanz-burgundy-deep);
}

.s-slider-block img {
  width:
    100%;

  min-height:
    68vh;

  object-fit:
    cover;

  transform:
    scale(1);

  transition:
    transform 8s ease;
}

.s-slider-block:hover img {
  transform:
    scale(1.018);
}


/* ================================================================
   10 — SECTION RHYTHM
   ================================================================ */

.s-block {
  margin-top:
    var(--section-space);

  margin-bottom:
    var(--section-space);
}


/* ================================================================
   11 — SECTION HEADINGS
   ================================================================ */

.s-block__title {
  display:
    flex;

  align-items:
    center;

  justify-content:
    center !important;

  text-align:
    center;

  margin-bottom:
    40px !important;
}

.s-block__title h2,
.s-block__title h3 {
  position:
    relative;

  color:
    var(--emanz-burgundy-deep) !important;

  font-size:
    clamp(25px,3vw,37px) !important;

  font-weight:
    400 !important;

  margin:
    0;
}

.s-block__title h2::after,
.s-block__title h3::after {
  content:
    "";

  display:
    block;

  width:
    32px;

  height:
    1px;

  margin:
    15px auto 0;

  background:
    var(--emanz-champagne);
}


/* ================================================================
   12 — CATEGORIES
   ================================================================ */

.category-entry,
.s-block--categories a {
  position:
    relative;

  overflow:
    hidden;

  background:
    var(--emanz-white);

  border-radius:
    var(--radius-lg);

  box-shadow:
    none;

  transition:
    transform .55s var(--ease-luxury),
    box-shadow .55s var(--ease-luxury);
}

.category-entry img,
.s-block--categories img {
  width:
    100%;

  transition:
    transform .9s var(--ease-luxury);
}

.category-entry:hover,
.s-block--categories a:hover {
  transform:
    translateY(-5px);

  box-shadow:
    var(--shadow-soft);
}

.category-entry:hover img,
.s-block--categories a:hover img {
  transform:
    scale(1.035);
}


/* ================================================================
   13 — PRODUCT GRID
   ================================================================ */

.products-grid {
  gap:
    27px !important;
}


/* ================================================================
   14 — PRODUCT CARD
   ================================================================ */

.product-entry,
.s-product-card-entry,
salla-product-card {
  background:
    transparent !important;

  border:
    0 !important;

  border-radius:
    0 !important;

  box-shadow:
    none !important;

  transition:
    transform .45s var(--ease-luxury);
}

.product-entry:hover,
.s-product-card-entry:hover {
  transform:
    translateY(-4px);
}


/* Product image */

.s-product-card-image,
.product-entry .image-container {
  overflow:
    hidden;

  background:
    var(--emanz-nude);

  border-radius:
    var(--radius-md);
}

.s-product-card-image img,
.product-entry img {
  width:
    100%;

  transform:
    scale(1);

  transition:
    transform .85s var(--ease-luxury);
}

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


/* ================================================================
   15 — PRODUCT CONTENT
   ================================================================ */

.s-product-card-content {
  padding:
    17px 4px 6px !important;
}

.s-product-card-content-title,
.product-entry .title {
  color:
    var(--emanz-ink) !important;

  font-size:
    14px !important;

  font-weight:
    400 !important;

  line-height:
    1.75;

  min-height:
    auto !important;
}


/* Price */

.s-product-card-price,
.product-entry .price {
  color:
    var(--emanz-burgundy-deep) !important;

  font-size:
    16px !important;

  font-weight:
    500 !important;

  margin-top:
    7px;
}


/* Old price */

.s-product-card-sale-price,
.product-entry del,
del {
  color:
    var(--emanz-light) !important;

  font-weight:
    300 !important;
}


/* ================================================================
   16 — PRODUCT BADGES
   ================================================================ */

.s-product-card-promotion-title,
.product-badge,
.badge {
  background:
    rgba(69,16,32,.94) !important;

  color:
    var(--emanz-white) !important;

  border:
    none !important;

  border-radius:
    var(--radius-pill) !important;

  padding:
    5px 11px !important;

  font-size:
    10px !important;

  font-weight:
    400 !important;

  box-shadow:
    none !important;
}


/* ================================================================
   17 — WISHLIST
   ================================================================ */

.s-product-card-wishlist-btn {
  width:
    42px !important;

  height:
    42px !important;

  border:
    1px solid rgba(69,16,32,.07) !important;

  border-radius:
    50% !important;

  background:
    rgba(255,255,255,.9) !important;

  color:
    var(--emanz-burgundy-deep) !important;

  box-shadow:
    0 5px 20px rgba(0,0,0,.04);

  backdrop-filter:
    blur(7px);

  transition:
    transform .25s ease,
    background .25s ease;
}

.s-product-card-wishlist-btn:hover {
  transform:
    scale(1.07);

  background:
    var(--emanz-white) !important;
}


/* ================================================================
   18 — PRIMARY BUTTONS
   ================================================================ */

.s-button-primary,
.btn-primary,
.s-product-card-content-footer button {
  min-height:
    48px;

  background:
    var(--emanz-burgundy-deep) !important;

  color:
    var(--emanz-white) !important;

  border:
    1px solid var(--emanz-burgundy-deep) !important;

  border-radius:
    var(--radius-pill) !important;

  font-family:
    var(--font-ar) !important;

  font-size:
    14px !important;

  font-weight:
    400 !important;

  box-shadow:
    none !important;

  transition:
    background .3s ease,
    transform .3s ease,
    border-color .3s ease;
}

.s-button-primary:hover,
.btn-primary:hover,
.s-product-card-content-footer button:hover {
  background:
    var(--emanz-burgundy) !important;

  border-color:
    var(--emanz-burgundy) !important;

  transform:
    translateY(-2px);
}


/* ================================================================
   19 — SECONDARY BUTTONS
   ================================================================ */

.btn-outline-primary,
.s-button-outline {
  min-height:
    47px;

  background:
    transparent !important;

  color:
    var(--emanz-burgundy-deep) !important;

  border:
    1px solid rgba(69,16,32,.30) !important;

  border-radius:
    var(--radius-pill) !important;

  box-shadow:
    none !important;
}

.btn-outline-primary:hover,
.s-button-outline:hover {
  background:
    var(--emanz-burgundy-deep) !important;

  color:
    var(--emanz-white) !important;

  border-color:
    var(--emanz-burgundy-deep) !important;
}


/* ================================================================
   20 — PRODUCT PAGE
   ================================================================ */

.product-single h1,
.product-page h1,
.product-title {
  color:
    var(--emanz-burgundy-deep) !important;

  font-weight:
    400 !important;

  line-height:
    1.65;
}

.product-single .price,
.product-page .price {
  color:
    var(--emanz-burgundy-deep) !important;

  font-size:
    21px;

  font-weight:
    500;
}


/* ================================================================
   21 — PRODUCT OPTIONS / SIZES
   ================================================================ */

.product-option-item,
.form-radio,
.s-form-control {
  border:
    1px solid var(--emanz-border) !important;

  border-radius:
    var(--radius-sm) !important;

  background:
    var(--emanz-white) !important;

  transition:
    var(--transition);
}

.product-option-item:hover {
  border-color:
    var(--emanz-burgundy-soft) !important;
}


/* ================================================================
   22 — FORMS
   ================================================================ */

input,
textarea,
select {
  min-height:
    50px;

  background:
    var(--emanz-white) !important;

  border:
    1px solid var(--emanz-border) !important;

  border-radius:
    var(--radius-sm) !important;

  color:
    var(--emanz-ink) !important;

  font-family:
    var(--font-ar) !important;

  font-weight:
    400;

  box-shadow:
    none !important;

  outline:
    none !important;

  transition:
    border-color .25s ease,
    box-shadow .25s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color:
    rgba(101,23,47,.45) !important;

  box-shadow:
    0 0 0 4px rgba(101,23,47,.045) !important;
}

::placeholder {
  color:
    #A39A9C !important;

  opacity:
    1;
}


/* ================================================================
   23 — CART
   ================================================================ */

salla-cart-summary,
.cart-summary {
  background:
    var(--emanz-white);

  border:
    1px solid var(--emanz-border);

  border-radius:
    var(--radius-md) !important;

  box-shadow:
    none !important;
}

.cart-item {
  border-bottom:
    1px solid var(--emanz-border) !important;
}


/* ================================================================
   24 — TESTIMONIALS
   ================================================================ */

.testimonial,
.s-block--testimonials .swiper-slide {
  background:
    var(--emanz-ivory-soft);

  border:
    1px solid var(--emanz-border);

  border-radius:
    var(--radius-md);

  padding:
    30px;

  box-shadow:
    none;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.testimonial:hover,
.s-block--testimonials .swiper-slide:hover {
  transform:
    translateY(-4px);

  box-shadow:
    var(--shadow-soft);
}


/* ================================================================
   25 — EMANZ EDITORIAL STATEMENT
   Custom HTML block:
   <section class="emanz-statement">
   ...
   </section>
   ================================================================ */

.emanz-statement {
  max-width:
    900px;

  margin:
    120px auto;

  padding:
    25px;

  text-align:
    center;
}

.emanz-statement .emanz-en {
  display:
    block;

  margin-bottom:
    18px;

  color:
    var(--emanz-burgundy);

  font-family:
    var(--font-en) !important;

  font-size:
    13px;

  font-weight:
    300 !important;

  letter-spacing:
    .32em;
}

.emanz-statement h2 {
  max-width:
    760px;

  margin:
    auto;

  color:
    var(--emanz-burgundy-deep);

  font-size:
    clamp(28px,4vw,47px);

  font-weight:
    300 !important;

  line-height:
    1.65;
}

.emanz-statement p {
  max-width:
    620px;

  margin:
    20px auto 0;

  font-size:
    15px;
}


/* ================================================================
   26 — FEATURED PRODUCT BLOCK
   ================================================================ */

.emanz-featured {
  position:
    relative;

  overflow:
    hidden;

  padding:
    90px 6%;

  background:
    var(--emanz-burgundy-deep);

  border-radius:
    var(--radius-lg);

  color:
    var(--emanz-white);
}

.emanz-featured h2 {
  color:
    var(--emanz-white) !important;

  font-size:
    clamp(32px,5vw,56px);

  font-weight:
    300 !important;
}

.emanz-featured p {
  color:
    rgba(255,255,255,.72);

  font-weight:
    300;
}


/* ================================================================
   27 — TRUST STRIP
   ================================================================ */

.emanz-trust {
  display:
    grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:
    30px;

  padding:
    58px 35px;

  background:
    var(--emanz-ivory-soft);

  border-top:
    1px solid var(--emanz-border);

  border-bottom:
    1px solid var(--emanz-border);

  text-align:
    center;
}

.emanz-trust h4 {
  margin:
    0;

  color:
    var(--emanz-burgundy-deep);

  font-size:
    15px;

  font-weight:
    500 !important;
}

.emanz-trust p {
  margin:
    7px 0 0;

  font-size:
    13px;

  color:
    var(--emanz-muted);
}


/* ================================================================
   28 — EMANZ SIGNATURE
   ================================================================ */

.emanz-signature {
  padding:
    90px 20px;

  background:
    var(--emanz-ivory);

  text-align:
    center;
}

.emanz-signature .brand-ar {
  color:
    var(--emanz-burgundy-deep);

  font-size:
    clamp(29px,4vw,44px);

  font-weight:
    300 !important;
}

.emanz-signature .brand-en {
  margin-top:
    8px;

  color:
    var(--emanz-burgundy-deep);

  font-family:
    var(--font-en) !important;

  font-size:
    clamp(22px,3vw,34px);

  font-weight:
    300 !important;

  letter-spacing:
    .26em;
}

.emanz-signature .brand-slogan {
  margin-top:
    12px;

  color:
    var(--emanz-muted);

  font-size:
    14px;
}


/* ================================================================
   29 — FOOTER
   مهم: يعالج مشكلة ظهور النص الأبيض فوق الخلفية الفاتحة
   ================================================================ */

footer,
.store-footer {
  background:
    var(--emanz-ivory-soft) !important;

  color:
    var(--emanz-text) !important;

  padding-top:
    65px;
}


/* Footer headings */

footer h2,
footer h3,
footer h4,
footer h5,
.store-footer h2,
.store-footer h3,
.store-footer h4,
.store-footer h5 {
  color:
    var(--emanz-burgundy-deep) !important;

  font-family:
    var(--font-ar) !important;

  font-weight:
    500 !important;
}


/* Footer normal content */

footer p,
footer li,
.store-footer p,
.store-footer li {
  color:
    var(--emanz-text) !important;

  opacity:
    1 !important;
}


/*
   لا نستخدم footer div { color:... }
   حتى لا نفسد ألوان وسائل الدفع أو مكونات سلة.
*/


footer a,
.store-footer a {
  color:
    var(--emanz-text) !important;

  opacity:
    1 !important;
}

footer a:hover,
.store-footer a:hover {
  color:
    var(--emanz-burgundy) !important;
}


/* Common gray classes inside Salla footer */

footer .text-gray-400,
footer .text-gray-500,
footer .text-gray-600,
footer .text-gray-700,
.store-footer .text-gray-400,
.store-footer .text-gray-500,
.store-footer .text-gray-600,
.store-footer .text-gray-700 {
  color:
    var(--emanz-muted) !important;

  opacity:
    1 !important;
}


/* Footer social icons */

footer svg,
.store-footer svg {
  color:
    var(--emanz-burgundy-deep);

  stroke:
    currentColor;
}

footer .social-link,
.store-footer .social-link {
  border:
    1px solid rgba(69,16,32,.14) !important;

  background:
    transparent !important;

  color:
    var(--emanz-burgundy-deep) !important;
}


/* ================================================================
   30 — FOOTER COPYRIGHT BAR
   ================================================================ */

footer .copyrights,
.store-footer .copyrights,
.footer-is-light .copyrights,
.footer-is-dark .copyrights {
  background:
    var(--emanz-burgundy-deep) !important;

  color:
    var(--emanz-ivory) !important;
}

footer .copyrights p,
footer .copyrights span,
footer .copyrights a,
footer .copyrights li,
.store-footer .copyrights p,
.store-footer .copyrights span,
.store-footer .copyrights a,
.store-footer .copyrights li {
  color:
    var(--emanz-ivory) !important;

  opacity:
    1 !important;
}


/* ================================================================
   31 — SOCIAL ICONS
   ================================================================ */

.social-icons a {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    50%;

  transition:
    transform .25s ease,
    background .25s ease;
}

.social-icons a:hover {
  transform:
    translateY(-3px);
}


/* ================================================================
   32 — WHATSAPP FLOAT
   ================================================================ */

.whatsapp-button,
.floating-button {
  border-radius:
    var(--radius-pill) !important;

  box-shadow:
    0 10px 30px rgba(0,0,0,.10) !important;
}


/* ================================================================
   33 — SCROLLBAR
   ================================================================ */

::-webkit-scrollbar {
  width:
    6px;
}

::-webkit-scrollbar-track {
  background:
    var(--emanz-ivory);
}

::-webkit-scrollbar-thumb {
  background:
    #CDB8AE;

  border-radius:
    var(--radius-pill);
}


/* ================================================================
   34 — TEXT SELECTION
   ================================================================ */

::selection {
  background:
    var(--emanz-burgundy-deep);

  color:
    var(--emanz-white);
}


/* ================================================================
   35 — MOBILE
   ================================================================ */

@media (max-width: 768px) {

  :root {
    --section-space:
      66px;
  }

  body {
    font-size:
      14px;
  }

  .container {
    padding-left:
      15px !important;

    padding-right:
      15px !important;
  }


  /* Header */

  .navbar-brand img,
  .store-header .logo img {
    max-height:
      48px !important;
  }


  /* Hero */

  .s-slider-block img {
    min-height:
      63vh;
  }


  /* Heading */

  .s-block__title {
    margin-bottom:
      27px !important;
  }

  .s-block__title h2,
  .s-block__title h3 {
    font-size:
      24px !important;
  }


  /* Product */

  .s-product-card-image {
    border-radius:
      14px;
  }

  .s-product-card-content {
    padding:
      13px 3px 4px !important;
  }

  .s-product-card-content-title {
    font-size:
      13px !important;

    line-height:
      1.7;
  }

  .s-product-card-price {
    font-size:
      15px !important;
  }


  /* Featured */

  .emanz-featured {
    padding:
      55px 23px;

    border-radius:
      19px;
  }


  /* Statement */

  .emanz-statement {
    margin:
      72px auto;
  }

  .emanz-statement h2 {
    font-size:
      27px;
  }


  /* Trust */

  .emanz-trust {
    grid-template-columns:
      1fr;

    gap:
      32px;

    padding:
      45px 20px;
  }


  /* Footer */

  footer,
  .store-footer {
    padding-top:
      48px;
  }
}


/* ================================================================
   36 — VERY SMALL MOBILE
   ================================================================ */

@media (max-width: 420px) {

  .s-product-card-content-title {
    font-size:
      12.5px !important;
  }

  .s-product-card-price {
    font-size:
      14.5px !important;
  }

  .s-product-card-content-footer button {
    min-height:
      43px;
  }

}


/* ================================================================
   EMANZ | ايـمــانـز
   يليق بك
   ================================================================ */