/* =========================================================================
   دار أثر للنشر والتوزيع — Custom Theme
   Professional color system + refinements layered on top of Salla's app.css
   NOTE: app.css is not editable — everything lives here in custom.css
   ========================================================================= */

/* -------------------------------------------------------------------------
   1) BRAND COLOR SYSTEM
   Salla's theme pulls most component colors (buttons, links, focus rings,
   badges, scrollbars, spinners...) from --color-primary and its derivatives.
   Overriding them at :root gives one consistent brand across the whole
   store instead of patching individual classes.
   ------------------------------------------------------------------------- */
:root {
  /* Primary = deep literary navy (dignity, "أثر" gravitas) */
  --color-primary: #123258;
  --color-primary-d: #0A2038;   /* darker shade, used for hovers/borders */
  --color-primary-l: #2C5486;   /* lighter tint */
  --color-primary-dark: #0A2038;
  --color-primary-light: #E7EEF6;
  --color-primary-rgb: 18, 50, 88;

  /* Reverse / accent = warm heritage gold */
  --color-primary-reverse: #C9972E;

  --color-text: #4A4438;
  --main-text-color: #2A2622;
  --color-grey: #F7F3E8;
  --color-light-grey: #ECE4CE;
  --bg-gray: rgba(18, 50, 88, 0.06);

  /* Custom brand tokens used below */
  --da-navy: #123258;
  --da-navy-dark: #0A2038;
  --da-gold: #C9972E;
  --da-gold-dark: #A87A1E;
  --da-cream: #FBF6E9;
  --da-cream-deep: #F3E9C7;
  --da-ink: #2A2622;
}

body {
  background-color: var(--da-cream);
  color: var(--da-ink);
}
.copyright-text p a{
    color: var(--da-navy) !important;
}

/* -------------------------------------------------------------------------
   2) TYPOGRAPHY
   ------------------------------------------------------------------------- */
.maintitle,
.para-main h1 {
  font-size: 45px !important;
  font-weight: 575;
  color: var(--da-navy);
}

p.para-main {
  font-size: 20px;
  color: var(--da-ink);
}

span.para-main {
  font-size: 16px !important;
}

/* -------------------------------------------------------------------------
   3) LOGO / HEADER
   ------------------------------------------------------------------------- */
.navbar-brand img,
.navbar-brand-footer img {
  max-height: 5rem !important;
  width: 76px !important;
  filter: drop-shadow(0px 2px 3px rgba(10, 32, 56, 0.35));
  transition: transform 0.25s ease;
}

.navbar-brand:hover img {
  transform: scale(1.04);
}

.store-header .top-navbar {
  background-color: var(--da-navy-dark) !important;
}

.store-header .top-navbar,
.store-header .top-navbar a,
.store-header .top-navbar span {
  color: #F3E9C7 !important;
}

.main-nav-container.home-header.animated .add-blur {
  background-color: rgba(251, 246, 233, 0.9) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(10, 32, 56, 0.08);
}

/* Header icons */
.sicon-search:before,
.sicon-shopping-bag:before,
.sicon-user:before {
  color: var(--da-gold);
}

path#Vector {
  stroke: var(--da-gold);
}

.s-cart-summary-count:where([dir="rtl"], [dir="rtl"] *) {
  background: var(--da-navy) !important;
}

/* Main menu links */
@media only screen and (min-width: 1024px) {
  .main-menu li.root-level > a {
    font-size: 16.5px;
    color: var(--da-navy);
    font-weight: 600;
    transition: color 0.2s ease;
  }

  .main-menu li.root-level > a:hover {
    color: var(--da-gold-dark);
  }

  .main-menu .has-children > a:after {
    display: contents;
    line-height: 2rem;
  }

  .talk-pare {
    gap: 40px;
  }

  .image-pare img {
    margin: 0 2.5%;
  }
}

/* -------------------------------------------------------------------------
   4) BUTTONS & CTA
   ------------------------------------------------------------------------- */
.main_btn.btn1 {
  background-color: var(--da-navy) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(18, 50, 88, 0.25);
}

.main_btn.btn1:hover {
  background-color: var(--da-gold-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 151, 46, 0.3);
}

.btn--rounded-gray {
  border-radius: 999px !important;
}

/* -------------------------------------------------------------------------
   5) PRODUCT CARDS
   ------------------------------------------------------------------------- */
.s-product-card-entry {
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.s-product-card-entry:hover {
  transform: translateY(-4px);
  box-shadow:
    rgba(10, 32, 56, 0.18) 0px 14px 24px,
    rgba(10, 32, 56, 0.1) 0px 2px 6px;
}

.s-product-card-entry p {
  display: none;
}

.s-product-card-content-subtitle {
  display: none;
}

/* Fixed, equal-height image area so every card in a row lines up —
   Salla's default (flex:1 1 0%) lets each image stretch to whatever
   space its own card's text leaves, so rows come out uneven. */
.s-product-card-vertical .s-product-card-image {
  flex: 0 0 auto;
  height: 220px;
  position: relative;
}

.s-product-card-image img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
}

/* Soft bottom gradient behind the hover action buttons, so the white pill
   buttons stay legible over busy cover art instead of floating with no
   contrast. */
.s-product-card-vertical .s-product-card-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(10, 32, 56, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.s-product-card-entry:hover .s-product-card-image::after {
  opacity: 1;
}

/* Hover quick-actions (eye / add-to-cart) overlay.
   Salla's default pins this at a fixed "left: 28%", which never actually
   centers it and renders as plain white/black squares that clash with the
   cover art. Re-centered, theme-colored, and given a soft rise-in instead
   of a hard opacity snap. */
.s-product-card-entry .salla-btns {
  left: 50%;
  bottom: 12px;
  transform: translate(-50%, 10px);
  opacity: 0;
  gap: 8px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.s-product-card-entry:hover .salla-btns {
  bottom: 12px;
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.salla-btns .s-button-btn {
  background-color: #ffffff;
  color: var(--da-navy);
  border: 1px solid rgba(18, 50, 88, 0.12);
  box-shadow: 0 4px 12px rgba(10, 32, 56, 0.18);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.salla-btns .s-button-btn:hover {
  background-color: var(--da-navy) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.salla-btns .eye {
  border-radius: 999px;
}

.cont-mode-two .eye-btn-two {
  background: var(--da-navy);
  background: var(--color-primary);
  border-radius: 999px;
}

/* app.css forces ".s-product-card-entry .s-product-card-content { padding: 0 !important }"
   — matching that same selector scope here so our padding actually wins. */
.s-product-card-entry .s-product-card-content {
  padding: 0.9rem 1rem !important;
}

.s-product-card-entry .s-product-card-content-title {
  margin-bottom: 0.4rem !important;
  min-height: 2.6rem;
  align-items: flex-start !important;
}

.s-product-card-entry .s-product-card-content-title a {
  font-size: 15px !important;
  line-height: 1.35;
  color: var(--da-navy);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.s-product-card-entry .s-product-card-content-sub {
  margin-bottom: 0.5rem !important;
  color: var(--da-navy);
}

.s-product-card-entry .s-product-card-content-footer {
  margin-top: 0.25rem !important;
}

.s-product-card-entry .s-product-card-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--da-gold-dark);
}

.image-pare img {
  height: auto !important;
  border-radius: 10px;
}

.carousel-slider .swiper-wrapper > div {
  padding-bottom: 0.8rem;
}

/* -------------------------------------------------------------------------
   5a) PRODUCT CARD — "ADD TO CART" BUTTON (grid + list)
   Salla renders this button with different component classes depending on
   product state: .s-button-primary for a normal add-to-cart, but
   .s-button-warning (amber/orange, meant for stock warnings) for products
   that are out-of-stock-with-notify, on a countdown offer, etc. Left alone
   that makes cards flip between our navy CTA and Salla's stock amber at
   random. Both are pinned to the brand navy/gold pair here so every card's
   button reads the same regardless of that internal state.
   ------------------------------------------------------------------------- */
.s-product-card-entry .s-button-primary,
.s-product-card-entry .s-button-warning {
  background-color: var(--da-navy) !important;
  border-color: var(--da-navy) !important;
  color: #ffffff !important;
}

.s-product-card-entry .s-button-primary:hover,
.s-product-card-entry .s-button-warning:hover {
  background-color: var(--da-gold-dark) !important;
  border-color: var(--da-gold-dark) !important;
}

.s-product-card-entry .s-add-product-button-main salla-button {
  width: 100%;
}

.s-product-card-entry .s-add-product-button-main .s-button-btn {
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

/* -------------------------------------------------------------------------
   5b) PRODUCT CARDS — HORIZONTAL / LIST VIEW
   Salla's "list" toggle (.horizontal.s-products-list-filters-results) reuses
   .s-product-card-entry in a row layout. app.css only gives it bare
   proportions (20%/60% split, no card chrome), so rows render as naked
   image+text pairs with no surface, uneven baselines, and the quick-action
   icon (.cont-mode-two) floating loose over the thumbnail. This gives list
   rows the same card surface, spacing and hover language as the grid view.
   ------------------------------------------------------------------------- */
.horizontal .s-product-card-entry {
  align-items: stretch !important;
  background-color: #ffffff;
  border: 1px solid rgba(18, 50, 88, 0.08);
  border-radius: 14px;
  padding: 0.75rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.horizontal .s-product-card-entry:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 151, 46, 0.35);
  box-shadow:
    rgba(10, 32, 56, 0.14) 0px 12px 22px,
    rgba(10, 32, 56, 0.08) 0px 2px 6px;
}

.horizontal .s-product-card-image {
  flex: 0 0 auto !important;
  width: 130px !important;
  height: 130px !important;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.horizontal .s-product-card-image img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.horizontal .s-product-card-content {
  width: auto !important;
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  padding: 0.25rem 0.5rem !important;
  min-width: 0;
}

.horizontal .s-product-card-content-title {
  margin-bottom: 0.35rem !important;
}

.horizontal .s-product-card-content-title a {
  font-size: 15.5px !important;
  font-weight: 600;
  line-height: 1.4;
  color: var(--da-navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.horizontal .s-product-card-content-sub {
  margin-bottom: 0.6rem !important;
}

.horizontal .s-product-card-content-footer {
  margin-top: 0.4rem !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.horizontal .s-product-card-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--da-gold-dark);
  white-space: nowrap;
}

/* Quick-action (eye) icon: pin it to the image corner instead of the loose
   top-left overlap app.css leaves it at, and match the gold/navy pill used
   for the grid view's hover buttons. */
.horizontal .cont-mode-two {
  top: 0.5rem;
  inset-inline-start: 0.5rem;
}

.horizontal .cont-mode-two .eye-btn-two {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(10, 32, 56, 0.25);
}

/* Add-to-cart button on list rows: colors come from the shared
   .s-button-primary/.s-button-warning rule above — here we only need to
   shrink it from the grid's full-width button to an inline pill that sits
   next to the price. */
.horizontal .s-product-card-content-footer .s-add-product-button-main {
  width: auto;
  flex: 0 0 auto;
}

.horizontal .s-product-card-content-footer .s-add-product-button-main salla-button {
  width: auto;
}

.horizontal .s-product-card-content-footer .s-button-btn {
  border: none !important;
  padding-inline: 1rem;
}

.horizontal .s-product-card-content-footer .s-button-btn:hover {
  transform: translateY(-2px);
}

.horizontal salla-button.s-product-card-wishlist-btn {
  position: static !important;
}

@media (max-width: 480px) {
  .horizontal .s-product-card-image {
    width: 100px !important;
    height: 100px !important;
  }

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

/* -------------------------------------------------------------------------
   6) TABS
   ------------------------------------------------------------------------- */
.st_tabs .s-tabs-header-item {
  border-color: var(--da-cream) !important;
}

.st_tabs .s-tabs-header-item.active,
.st_tabs .s-tabs-header-item[aria-selected="true"] {
  color: var(--da-gold-dark) !important;
}

/* -------------------------------------------------------------------------
   7) FULL-BLEED / LOGOS SECTION
   ------------------------------------------------------------------------- */
section.s-block.s-block--logos-slider.s-block--full-bg.bg-gray-100.pt-8.sm\:pt-12.pb-8.sm\:pb-20 {
  background: inherit;
}

/* -------------------------------------------------------------------------
   8) FOOTER
   ------------------------------------------------------------------------- */
.store-footer__inner {
  background-color: var(--da-navy-dark) !important;
  color: #F3E9C7 !important;
}

.store-footer h3 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.store-footer a {
  transition: color 0.2s ease;
color: var(--da-cream);
}

.store-footer a:hover {
  color: var(--da-gold) !important;
}

span.text-sm.copyright-text, .copyright-text p {
  color: var(--da-navy)
}

.made-by {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
background-color: var(--da-cream);}

/* -------------------------------------------------------------------------
   9) MISC
   ------------------------------------------------------------------------- */
::selection {
  background: var(--da-gold);
  color: #ffffff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--da-gold);
  outline-offset: 2px;
}
.content .content-entry img{
    max-width: 200px;
}
.main-nav-container.header-auch,
.main-nav-container.header-auch.fixed-pinned .inner{
    background-color: var(--da-cream);

}
span.s-button-text.s-infinite-scroll-btn-text,
.sicon-cancel:before,
a.s-menu-topnav-item.topnav-link-item.right-side,
.footer_alignment p.ql-align-right ,
b.text-sm{
color: var(--da-cream) !important;
}
@media only screen and (max-width: 1024px){
    
 .mm-spn li a span,.mm-spn li a, .mm-spn li > span,  .mm-spn.mm-spn--light{
color: var(--da-cream) !important;

    } 
    .s-menu-topnav-list{
    display: inherit !important
}
}