/* =====================================================================
   FARDAT TAA — FULL PAGE INJECTION (CSS half)
   Paste into: Dashboard → Advanced Customization → Custom CSS
   Pairs with salla-full-page.js (mandatory — JS injects the markup).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=JetBrains+Mono:wght@400;500&display=swap');

/* Hide Salla's default page chrome while :is(#taa-app,.taa-chrome) is mounted —
   BUT keep modals/drawers/dialogs visible (login popup, cart drawer, etc) */
html.taa-mounted body > *:not(:is(#taa-app,.taa-chrome)):not(script):not(style):not(noscript) {
  display: none !important;
}
/* Salla modals/drawers/dialogs/toasts must remain visible above app.
   Don't force position — Salla web components self-position. */
html.taa-mounted body > [class*="modal"],
html.taa-mounted body > [class*="Modal"],
html.taa-mounted body > [id*="modal"],
html.taa-mounted body > [id*="Modal"],
html.taa-mounted body > [class*="drawer"],
html.taa-mounted body > [class*="popup"],
html.taa-mounted body > [class*="dialog"],
html.taa-mounted body > [role="dialog"],
html.taa-mounted body > salla-modal,
html.taa-mounted body > salla-login-modal,
html.taa-mounted body > .s-modal,
html.taa-mounted body > .modal-overlay,
html.taa-mounted body > #modal-login,
html.taa-mounted body > #cart-modal,
html.taa-mounted body > .s-overlay,
html.taa-mounted body > #toast-container,
html.taa-mounted body > .toast-container {
  display: block !important;
  z-index: 99999 !important;
}
/* Force the login modal (and any overlay it spawns) above our design.
   Our #taa-app is non-positioned, so a positioned modal with a high z-index
   always paints above it — but we pin it explicitly to be safe. */
salla-login-modal,
salla-login-modal[open],
body > .s-modal,
body > .s-overlay,
body > [class*="login-modal"],
body > [id*="login"][class*="modal"] {
  z-index: 2147483600 !important;
}
/* Keep #taa-app in its own LOW stacking context so it can never sit above
   the modal regardless of DOM order after a re-render. */
html.taa-mounted #taa-app { position: relative; z-index: 0; }
html.taa-mounted, html.taa-mounted body {
  margin: 0; padding: 0; background: #FFFFFF;
  overflow-x: hidden;       /* allow sticky to work — no vertical clipping */
  overflow-y: visible !important;
}

:is(#taa-app,.taa-chrome), :is(#taa-app,.taa-chrome) * { box-sizing: border-box; }
:is(#taa-app,.taa-chrome) {
  direction: rtl;
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
  background: #FFFFFF;
  color: #2A1F1A;
  min-height: 100vh;
  padding: 0;
  overflow: visible;        /* no clipping = sticky works */
  -webkit-font-smoothing: antialiased;
}
/* Sticky requires NO overflow clipping on any ancestor */
:is(#taa-app,.taa-chrome) main, :is(#taa-app,.taa-chrome) #taa-content { overflow: visible !important; }
:is(#taa-app,.taa-chrome) img { display: block; max-width: 100%; }
:is(#taa-app,.taa-chrome) button { font-family: inherit; cursor: pointer; border: none; background: none; }
:is(#taa-app,.taa-chrome) a { color: inherit; text-decoration: none; }

:is(#taa-app,.taa-chrome) ::-webkit-scrollbar { width: 10px; height: 10px; }
:is(#taa-app,.taa-chrome) ::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 10px; }

/* Reveal animation hooks */
:is(#taa-app,.taa-chrome) .taa-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
:is(#taa-app,.taa-chrome) .taa-reveal.is-in { opacity: 1; transform: none; }

/* Hover on add-to-cart cards */
:is(#taa-app,.taa-chrome) .taa-add-btn { transition: background .2s ease, color .2s ease; }
:is(#taa-app,.taa-chrome) .taa-add-btn:hover { background: #2D3A1F !important; color: #E8C46A !important; }

/* Hover lift on product cards */
:is(#taa-app,.taa-chrome) .taa-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
:is(#taa-app,.taa-chrome) .taa-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(42,31,26,.35); border-color: #2D3A1F !important; }

/* Hover lift on category tiles */
:is(#taa-app,.taa-chrome) .taa-cat { transition: transform .3s ease, box-shadow .3s ease; }
:is(#taa-app,.taa-chrome) .taa-cat:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(42,31,26,.4); }

/* Responsive */
@media (max-width: 1100px) {
  :is(#taa-app,.taa-chrome) .taa-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  :is(#taa-app,.taa-chrome) .taa-grid-3 { grid-template-columns: 1fr !important; }
  :is(#taa-app,.taa-chrome) .taa-split  { grid-template-columns: 1fr !important; gap: 32px !important; }
}
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) { padding: 16px 0 48px; }
  :is(#taa-app,.taa-chrome) .taa-pad   { padding: 32px 20px !important; }
  :is(#taa-app,.taa-chrome) .taa-grid-4 { grid-template-columns: 1fr !important; }
  :is(#taa-app,.taa-chrome) h1, :is(#taa-app,.taa-chrome) h2, :is(#taa-app,.taa-chrome) h3 { font-size: clamp(24px, 7vw, 40px) !important; }
}

/* =========================================================
   SALLA THEME COMPLIANCE (docs.salla.dev/421887m0 + 421888m0)
   ========================================================= */

/* a11y: visible keyboard focus ring (Lighthouse a11y ≥90) */
:is(#taa-app,.taa-chrome) :focus-visible,
:is(#taa-app,.taa-chrome) button:focus-visible,
:is(#taa-app,.taa-chrome) a:focus-visible,
:is(#taa-app,.taa-chrome) input:focus-visible {
  outline: 3px solid #D16D1D !important;
  outline-offset: 2px !important;
  border-radius: 6px;
}
:is(#taa-app,.taa-chrome) button, :is(#taa-app,.taa-chrome) a { outline: none; }

/* a11y: skip-to-content link */
:is(#taa-app,.taa-chrome) .taa-skip {
  position: absolute;
  top: 0; right: 0;
  padding: 12px 18px;
  background: #2D3A1F;
  color: #E8C46A;
  font-weight: 700;
  z-index: 9999;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
:is(#taa-app,.taa-chrome) .taa-skip:focus-visible { transform: translateY(0); }

/* a11y: screen-reader-only text */
:is(#taa-app,.taa-chrome) .taa-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* a11y + perf: respect motion preference (Salla a11y rule) */
@media (prefers-reduced-motion: reduce) {
  :is(#taa-app,.taa-chrome) *, :is(#taa-app,.taa-chrome) *::before, :is(#taa-app,.taa-chrome) *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  :is(#taa-app,.taa-chrome) .taa-reveal { opacity: 1; transform: none; }
}

/* Salla product card requirements: tax indicator + sale badge + out-of-stock */
:is(#taa-app,.taa-chrome) .taa-tax {
  display: inline-block;
  font-size: 10px;
  color: #6B4A2C;
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}
:is(#taa-app,.taa-chrome) .taa-sale-badge {
  background: #D16D1D;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
:is(#taa-app,.taa-chrome) .taa-card[data-taa-status="out"] {
  opacity: 0.55;
  pointer-events: none;
}
:is(#taa-app,.taa-chrome) .taa-card[data-taa-status="out"] [data-taa-add] {
  background: #EEE6D8 !important;
  color: #9B8B7C !important;
  cursor: not-allowed;
}
:is(#taa-app,.taa-chrome) .taa-out-tag {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  background: #1A1410;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
}

/* Brands strip (Salla mandatory home component) */
:is(#taa-app,.taa-chrome) .taa-brands {
  background: #fff;
  padding: 56px 80px;
  border-top: 1px solid #EEE6D8;
}
:is(#taa-app,.taa-chrome) .taa-brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
:is(#taa-app,.taa-chrome) .taa-brand {
  height: 80px;
  border: 1px solid #EEE6D8;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #6B4A2C;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  transition: border-color 0.2s, color 0.2s;
}
:is(#taa-app,.taa-chrome) .taa-brand:hover { border-color: #2D3A1F; color: #2D3A1F; }
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) .taa-brands { padding: 32px 16px; }
  :is(#taa-app,.taa-chrome) .taa-brands-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  :is(#taa-app,.taa-chrome) .taa-brand { height: 64px; font-size: 14px; }
}

/* Performance: pre-allocate image space (no CLS) */
:is(#taa-app,.taa-chrome) img[loading="lazy"] { content-visibility: auto; }

/* =========================================================
   SALLA NATIVE PAGES (PDP, cart, checkout) — brand polish only.
   Not gated by .taa-mounted so applies on all pages.
   ========================================================= */

/* Typography across Salla pages */
body, .s-block, .s-product-details, .s-cart-page, .s-checkout-page {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif !important;
}
.product-name, h1.product-title, .s-product-name,
.s-cart-title, .s-checkout-title {
  font-family: 'El Messiri', serif !important;
  color: #2A1F1A !important;
  font-weight: 600 !important;
}

/* Salla PDP price */
.s-product-price, .product-price, salla-product-price {
  font-family: 'El Messiri', serif !important;
  color: #2D3A1F !important;
  font-weight: 700 !important;
}

/* Salla buttons brand color */
.btn-primary, .s-btn-primary,
button.btn-add-to-cart, .add-to-cart-btn,
salla-button[shape="rounded"][color="primary"] button,
salla-button[color="primary"] button {
  background: #2D3A1F !important;
  color: #E8C46A !important;
  border: none !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
}
.btn-primary:hover, button.btn-add-to-cart:hover {
  background: #1F2A14 !important;
}

/* Salla add-product-button global brand styling */
salla-add-product-button {
  --salla-fast-checkout-button-border-radius: 14px;
}

/* Salla cart drawer brand */
.s-cart-modal, .s-side-cart, salla-modal[data-id="cart"] {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif !important;
}
.s-cart-modal .cart-item-name { font-family: 'El Messiri', serif !important; }

/* Salla form inputs */
.form-control, input[type="text"], input[type="email"], input[type="tel"] {
  border-radius: 12px !important;
  border-color: #E2D6C2 !important;
}
.form-control:focus {
  border-color: #2D3A1F !important;
  box-shadow: 0 0 0 3px rgba(45,58,31,.12) !important;
}

/* =========================================================
   SALLA WEB COMPONENTS (real product/category fetching)
   docs.salla.dev/422719m0 + docs.salla.dev/doc-422718
   ========================================================= */

/* Outer wrapper around Salla components */
:is(#taa-app,.taa-chrome) .taa-salla-list,
:is(#taa-app,.taa-chrome) .taa-salla-cats {
  display: block;
  width: 100%;
  margin-top: 8px;
}

/* Style Salla's default product card to match brand palette */
:is(#taa-app,.taa-chrome) salla-products-list .s-product-card-entry,
:is(#taa-app,.taa-chrome) salla-products-list salla-product-card {
  border: 1px solid #EEE6D8 !important;
  border-radius: 20px !important;
  overflow: hidden;
  background: #fff !important;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
:is(#taa-app,.taa-chrome) salla-products-list .s-product-card-entry:hover,
:is(#taa-app,.taa-chrome) salla-products-list salla-product-card:hover {
  border-color: #2D3A1F !important;
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px rgba(42,31,26,.35);
}
/* Subtle name font swap — keep Salla's default size */
:is(#taa-app,.taa-chrome) salla-products-list .s-product-card-name,
:is(#taa-app,.taa-chrome) salla-products-list .product-name {
  font-family: 'El Messiri', serif !important;
  color: #2A1F1A !important;
}
:is(#taa-app,.taa-chrome) salla-products-list .s-product-card-price,
:is(#taa-app,.taa-chrome) salla-products-list .s-product-card-sale-price h4 {
  font-family: 'El Messiri', serif !important;
  color: #2D3A1F !important;
}

/* =========================================================
   DISCOUNT TAG — injected top-left corner via JS
   Shows percent off as gold pill on dark background
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-discount-tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: #1A1410;
  color: #E8C46A;
  font-family: 'El Messiri', serif;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  z-index: 6;
  border: 1px solid rgba(232, 196, 106, 0.35);
  box-shadow: 0 6px 16px -6px rgba(26, 20, 16, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  white-space: nowrap;
}
:is(#taa-app,.taa-chrome) .taa-discount-tag::before {
  content: '−';
  font-weight: 800;
}
:is(#taa-app,.taa-chrome) salla-add-product-button {
  --salla-fast-checkout-button-height: 44px;
  --salla-fast-checkout-button-width: 100%;
  --salla-fast-checkout-button-border-radius: 12px;
  display: block;
  margin-top: 14px;
}

/* =========================================================
   NAV BAR — inline (in flow) at first, becomes fixed on scroll.
   Banner sits ABOVE nav while user is at top of page. After scroll,
   nav pins to top of viewport above everything.
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-nav-bar {
  padding: 14px 36px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #EEE6D8;
  gap: 16px;
  position: relative;
  z-index: 50;
  background: #FFFFFF;
  width: 100%;
  transition: box-shadow 0.25s ease;
}
/* Pinned state — fixed to top after user scrolls past banner */
:is(#taa-app,.taa-chrome) .taa-nav-bar.is-pinned {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  box-shadow: 0 4px 24px -8px rgba(42, 31, 26, 0.18);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  background: rgba(255, 255, 255, 0.97);
  animation: taa-nav-slide-down 0.3s cubic-bezier(.4,0,.2,1);
}
@keyframes taa-nav-slide-down {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
/* Placeholder reserves nav height when pinned (prevents content jump) */
:is(#taa-app,.taa-chrome) .taa-nav-placeholder { display: none; }
:is(#taa-app,.taa-chrome) .taa-nav-placeholder.is-active { display: block; height: var(--taa-nav-h, 76px); }

:is(#taa-app,.taa-chrome) .taa-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
:is(#taa-app,.taa-chrome) .taa-logo img { max-height: 48px; }

/* Nav sits right next to logo (not centered) */
:is(#taa-app,.taa-chrome) .taa-nav-desktop {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
  margin-inline-start: 16px;
}
:is(#taa-app,.taa-chrome) .taa-nav-link {
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
:is(#taa-app,.taa-chrome) .taa-nav-link:hover { color: #2D3A1F !important; }

/* Right cluster pushed to opposite edge */
:is(#taa-app,.taa-chrome) .taa-nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  margin-inline-start: auto;
}

/* Salla search — inline oval (wider for usability) */
:is(#taa-app,.taa-chrome) salla-search.taa-salla-search {
  display: inline-block;
  width: 340px;
  min-height: 42px;
  transition: width 0.2s ease;
}
:is(#taa-app,.taa-chrome) salla-search.taa-salla-search:focus-within { width: 420px; }
:is(#taa-app,.taa-chrome) salla-search.taa-salla-search * {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif !important;
}
:is(#taa-app,.taa-chrome) salla-search.taa-salla-search input,
:is(#taa-app,.taa-chrome) salla-search.taa-salla-search [class*="input"] {
  background: #F4EEE3 !important;
  border: none !important;
  border-radius: 999px !important;
  color: #2A1F1A !important;
  padding: 0 16px !important;
  height: 42px !important;
  font-size: 13px !important;
}
:is(#taa-app,.taa-chrome) salla-search.taa-salla-search input::placeholder { color: #9B8B7C !important; }
:is(#taa-app,.taa-chrome) salla-search.taa-salla-search input:focus { background: #fff !important; box-shadow: 0 0 0 2px #2D3A1F33 !important; }

/* Hide Salla user-menu — keep in DOM for proxy click but invisible */
:is(#taa-app,.taa-chrome) salla-user-menu.taa-user-menu-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Branded login pill — icon + text, opens Salla modal via proxy */
:is(#taa-app,.taa-chrome) .taa-login-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #F4EEE3;
  color: #2D3A1F;
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
:is(#taa-app,.taa-chrome) .taa-login-pill:hover {
  background: #2D3A1F;
  color: #E8C46A;
  transform: translateY(-1px);
}
:is(#taa-app,.taa-chrome) .taa-login-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

:is(#taa-app,.taa-chrome) .taa-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #F4EEE3;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
:is(#taa-app,.taa-chrome) .taa-icon-btn:hover { background: #E8DDC9; }

/* =========================================================
   CART PILL — icon + count side by side, no overlap
   Salla cart-summary internal markup varies; force flex layout
   and reposition count badge so it sits AFTER icon.
   ========================================================= */
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px;
  min-width: 42px;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #F4EEE3 !important;
  color: #2D3A1F !important;
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
  text-decoration: none;
  border: none;
  position: relative !important;
}
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill:hover {
  background: #2D3A1F !important;
  color: #E8C46A !important;
  transform: translateY(-1px);
}
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill:hover * { color: #E8C46A !important; }
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill:hover svg,
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill:hover i {
  color: #E8C46A !important;
  fill: #E8C46A !important;
  stroke: #E8C46A !important;
}
/* Force inner container to be flex row, side-by-side */
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill > *,
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill > * > * {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  position: static !important;
  color: #2D3A1F !important;
  font-family: inherit !important;
}
/* Icon — fixed size, never overlap; dark green to match brand */
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill svg,
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill i {
  color: #2D3A1F !important;
  fill: #2D3A1F !important;
  stroke: #2D3A1F !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  font-size: 16px !important;
  position: static !important;
  top: auto !important;
  inset: auto !important;
}
/* Count badge — gold pill to side */
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill [class*="count"],
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill [class*="Count"],
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill [class*="badge"],
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill [class*="Badge"],
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill .s-cart-summary-count,
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill span:last-child {
  position: static !important;
  background: #2D3A1F !important;
  color: #E8C46A !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  min-width: 22px !important;
  height: auto !important;
  text-align: center !important;
  font-weight: 700 !important;
  margin: 0 !important;
  transform: none !important;
  top: auto !important;
  inset: auto !important;
  line-height: 1.4 !important;
  display: inline-block !important;
}
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill:hover [class*="count"],
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill:hover [class*="badge"],
:is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill:hover span:last-child {
  background: #E8C46A !important;
  color: #2D3A1F !important;
}

/* =========================================================
   HAMBURGER + MOBILE MENU
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F4EEE3;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}
:is(#taa-app,.taa-chrome) .taa-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #2D3A1F;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.2s ease;
}
:is(#taa-app,.taa-chrome) .taa-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
:is(#taa-app,.taa-chrome) .taa-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
:is(#taa-app,.taa-chrome) .taa-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

:is(#taa-app,.taa-chrome) .taa-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
:is(#taa-app,.taa-chrome) .taa-mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
:is(#taa-app,.taa-chrome) .taa-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: #FFFFFF;
  box-shadow: -16px 0 40px rgba(26, 20, 16, 0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
:is(#taa-app,.taa-chrome) .taa-mobile-menu.is-open { pointer-events: auto; }
:is(#taa-app,.taa-chrome) .taa-mobile-menu.is-open .taa-mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}
:is(#taa-app,.taa-chrome) .taa-mobile-menu.is-open .taa-mobile-panel {
  transform: translateX(0);
}

:is(#taa-app,.taa-chrome) .taa-mobile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid #EEE6D8;
}
:is(#taa-app,.taa-chrome) .taa-mobile-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F4EEE3;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #2A1F1A;
  transition: background 0.2s ease, transform 0.15s ease;
}
:is(#taa-app,.taa-chrome) .taa-mobile-close:hover { background: #E8DDC9; transform: rotate(90deg); }

:is(#taa-app,.taa-chrome) .taa-mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
:is(#taa-app,.taa-chrome) .taa-mobile-link {
  padding: 18px 24px;
  font-family: 'El Messiri', serif;
  font-size: 18px;
  color: #2A1F1A;
  text-decoration: none;
  border-bottom: 1px solid #F4EEE3;
  position: relative;
  transition: background 0.2s ease, padding-right 0.2s ease;
}
:is(#taa-app,.taa-chrome) .taa-mobile-link::after {
  content: '←';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #D16D1D;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
:is(#taa-app,.taa-chrome) .taa-mobile-link:hover,
:is(#taa-app,.taa-chrome) .taa-mobile-link:focus-visible {
  background: #F4EEE3;
  padding-right: 32px;
}
:is(#taa-app,.taa-chrome) .taa-mobile-link:hover::after,
:is(#taa-app,.taa-chrome) .taa-mobile-link:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

:is(#taa-app,.taa-chrome) .taa-mobile-footer {
  padding: 20px 24px;
  margin-top: auto;
  border-top: 1px solid #EEE6D8;
}
:is(#taa-app,.taa-chrome) .taa-mobile-login {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  background: #2D3A1F;
  color: #E8C46A;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
:is(#taa-app,.taa-chrome) .taa-mobile-login:hover { background: #1F2A14; }

/* =========================================================
   RESPONSIVE NAV + HERO
   ========================================================= */
@media (max-width: 1100px) {
  :is(#taa-app,.taa-chrome) .taa-nav-desktop { display: none; }
  :is(#taa-app,.taa-chrome) .taa-hamburger { display: flex; }
  :is(#taa-app,.taa-chrome) salla-search.taa-salla-search { width: 240px; }
  :is(#taa-app,.taa-chrome) salla-search.taa-salla-search:focus-within { width: 300px; }
  :is(#taa-app,.taa-chrome) .taa-nav-bar { padding: 12px 16px; gap: 8px; }
  :is(#taa-app,.taa-chrome) .taa-nav-right { gap: 6px; }
  /* Login pill → icon-only on tight screens */
  :is(#taa-app,.taa-chrome) .taa-login-pill span { display: none; }
  :is(#taa-app,.taa-chrome) .taa-login-pill { padding: 0; width: 42px; justify-content: center; }
}

@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) .taa-nav-bar {
    padding: 10px 12px;
    gap: 6px;
    flex-wrap: nowrap;
  }
  /* Logo compact */
  :is(#taa-app,.taa-chrome) .taa-logo {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
  :is(#taa-app,.taa-chrome) .taa-logo img { max-height: 36px; }
  :is(#taa-app,.taa-chrome) .taa-logo span[data-taa-logo-text] > span:first-child { font-size: 17px !important; }
  :is(#taa-app,.taa-chrome) .taa-logo span[data-taa-logo-text] > span:last-child  { display: none; }

  /* Hide search on mobile — too much in nav bar */
  :is(#taa-app,.taa-chrome) salla-search.taa-salla-search { display: none !important; }

  /* Login pill + cart pill compact */
  :is(#taa-app,.taa-chrome) .taa-login-pill { width: 38px; height: 38px; }
  :is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill {
    padding: 0 10px !important;
    min-height: 38px;
    font-size: 12px !important;
    gap: 6px !important;
  }
  :is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill svg { width: 16px !important; height: 16px !important; }

  /* Mobile menu login pill — full width brand block */
  :is(#taa-app,.taa-chrome) .taa-login-pill-mobile {
    width: 100% !important;
    height: 50px !important;
    border-radius: 14px !important;
    background: #2D3A1F !important;
    color: #E8C46A !important;
    font-size: 15px !important;
    justify-content: center;
  }
  :is(#taa-app,.taa-chrome) .taa-login-pill-mobile span { display: inline !important; }
  :is(#taa-app,.taa-chrome) .taa-login-pill-mobile:hover { background: #1F2A14 !important; color: #E8C46A !important; }

  /* Hamburger compact */
  :is(#taa-app,.taa-chrome) .taa-hamburger { width: 40px; height: 40px; flex-shrink: 0; }

  /* Hero responsive — taller aspect, smaller CTA */
  :is(#taa-app,.taa-chrome) section[aria-labelledby="taa-hero-h"] a { aspect-ratio: 4 / 5 !important; }
  :is(#taa-app,.taa-chrome) section[aria-labelledby="taa-hero-h"] a > div:first-of-type {
    top: 16px !important; left: 16px !important;
    padding: 8px 12px !important; font-size: 11px !important;
  }
  :is(#taa-app,.taa-chrome) section[aria-labelledby="taa-hero-h"] a > div:nth-of-type(2) {
    bottom: 20px !important; left: 20px !important; right: 20px !important;
  }
  :is(#taa-app,.taa-chrome) section[aria-labelledby="taa-hero-h"] a > div:nth-of-type(2) > span {
    height: 46px !important;
    padding: 0 20px !important;
    font-size: 13px !important;
  }

  /* Big section padding shrink on mobile */
  :is(#taa-app,.taa-chrome) section[class*="taa-pad"],
  :is(#taa-app,.taa-chrome) section { padding-left: 16px !important; padding-right: 16px !important; }
}

@media (max-width: 480px) {
  :is(#taa-app,.taa-chrome) section[aria-labelledby="taa-hero-h"] a { aspect-ratio: 1 / 1 !important; }
  :is(#taa-app,.taa-chrome) .taa-logo span[data-taa-logo-text] > span:first-child { font-size: 15px !important; }
  /* Hide cart text on tiny screens — show icon + count only */
  :is(#taa-app,.taa-chrome) salla-cart-summary.taa-cart-pill { padding: 0 8px !important; min-width: 56px; }
}

/* =========================================================
   STORY SECTION — image fills full section height flush left,
   content sits on right with padding.
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-story {
  display: flex;
  align-items: stretch;
}
/* LEFT side — text content (was image) */
:is(#taa-app,.taa-chrome) .taa-story-image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 64px;
}
:is(#taa-app,.taa-chrome) .taa-story-text {
  width: 100%;
  text-align: right;
  direction: rtl;
}
/* RIGHT side — streamable video */
:is(#taa-app,.taa-chrome) .taa-story-content {
  margin-left: 50%;
  margin-right: 0;
  padding: 60px 64px;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  position: relative;
  z-index: 3;
}

/* Mobile — stack: text top, video below */
@media (max-width: 900px) {
  :is(#taa-app,.taa-chrome) .taa-story { min-height: auto !important; display: block; }
  :is(#taa-app,.taa-chrome) .taa-story-image {
    position: relative;
    width: 100%;
    height: auto;
    inset: auto;
    left: auto;
    padding: 50px 24px 20px;
    text-align: center;
  }
  :is(#taa-app,.taa-chrome) .taa-story-text { text-align: center; }
  :is(#taa-app,.taa-chrome) .taa-story-content {
    margin: 0;
    width: 100%;
    padding: 20px 24px 60px;
  }
}
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) .taa-story-image { padding: 40px 16px 16px; }
  :is(#taa-app,.taa-chrome) .taa-story-content { padding: 16px 16px 40px; }
  :is(#taa-app,.taa-chrome) .taa-story-image h2 { font-size: clamp(32px, 8vw, 48px) !important; }
}

/* =========================================================
   RECTANGLE BANNER — rounded corners, no hover, no shadow
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-banner-link {
  display: block;
  width: 100%;
}
:is(#taa-app,.taa-chrome) .taa-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: none;
}
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) .taa-banner-strip { padding: 24px 16px !important; }
  :is(#taa-app,.taa-chrome) .taa-banner-img { border-radius: 18px; }
}

/* =========================================================
   4-CIRCLE TILES — small, all in one row, no hover effect
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-image-strip-head {
  text-align: center;
  margin-bottom: 32px;
}
:is(#taa-app,.taa-chrome) .taa-image-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}
:is(#taa-app,.taa-chrome) .taa-strip-tile {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
:is(#taa-app,.taa-chrome) .taa-strip-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
@media (max-width: 1100px) {
  :is(#taa-app,.taa-chrome) .taa-strip-tile { width: 140px; height: 140px; }
  :is(#taa-app,.taa-chrome) .taa-image-grid { gap: 20px; }
}
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) .taa-image-strip { padding: 32px 12px !important; }
  :is(#taa-app,.taa-chrome) .taa-strip-tile { width: 80px; height: 80px; }
  :is(#taa-app,.taa-chrome) .taa-image-grid { gap: 12px; flex-wrap: nowrap; }
  :is(#taa-app,.taa-chrome) .taa-image-strip-head h2 { font-size: 32px !important; }
}

/* =========================================================
   BULK SECTION — image flush LEFT, content RIGHT (RTL).
   Image fills full container width + height of its column.
   ========================================================= */
/* Image as BACKGROUND — full width, full height, never cropped.
   Content sits absolute on RIGHT side (RTL) above image. */
:is(#taa-app,.taa-chrome) .taa-bulk-wrap {
  background-color: #4F362D;
  background-image: url('https://l.top4top.io/p_3829til691.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  border-radius: 32px;
  overflow: hidden;
  min-height: 640px;
  color: #F0E6D8;
  position: relative;
  display: block;
}
/* Hide the <img> element — image now lives in background-image */
:is(#taa-app,.taa-chrome) .taa-bulk-image { display: none !important; }
/* Content overlays on PHYSICAL RIGHT side (start in RTL).
   Use physical margins so content pushes to right edge regardless of dir. */
:is(#taa-app,.taa-chrome) .taa-bulk-content {
  position: relative;
  width: 50%;
  margin-right: 0;
  margin-left: auto;        /* auto on physical left pushes content to right */
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  min-height: 640px;
  text-align: right;
}

@media (max-width: 900px) {
  :is(#taa-app,.taa-chrome) .taa-bulk-wrap {
    background-image: none;       /* hide background image on mobile */
    min-height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  /* Content first, CENTERED text, no bottom padding */
  :is(#taa-app,.taa-chrome) .taa-bulk-content {
    width: 100%;
    margin: 0;
    padding: 40px 24px 28px;
    min-height: auto;
    align-items: center;
    text-align: center;
    order: 1;
  }
  :is(#taa-app,.taa-chrome) .taa-bulk-content h2 {
    font-size: clamp(32px, 7vw, 44px) !important;
    text-align: center;
  }
  :is(#taa-app,.taa-chrome) .taa-bulk-content p { text-align: center; }
  :is(#taa-app,.taa-chrome) .taa-bulk-content > div:last-child { justify-content: center; }

  /* Image AT BOTTOM, flush against bottom edge (no gap) */
  :is(#taa-app,.taa-chrome) .taa-bulk-image {
    display: block !important;
    width: 100%;
    height: 320px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    order: 2;
  }
  :is(#taa-app,.taa-chrome) .taa-bulk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: transparent;
    display: block;
    margin: 0;
  }
}

/* =========================================================
   TESTIMONIALS — staggered reveal animation
   Each card delays 120ms more than the previous when entering view
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-review-card.taa-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition:
    opacity 0.7s cubic-bezier(.22,1,.36,1),
    transform 0.7s cubic-bezier(.22,1,.36,1);
}
:is(#taa-app,.taa-chrome) .taa-review-card.taa-reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
:is(#taa-app,.taa-chrome) .taa-review-card[data-stagger="0"].taa-reveal { transition-delay: 0ms; }
:is(#taa-app,.taa-chrome) .taa-review-card[data-stagger="1"].taa-reveal { transition-delay: 120ms; }
:is(#taa-app,.taa-chrome) .taa-review-card[data-stagger="2"].taa-reveal { transition-delay: 240ms; }
:is(#taa-app,.taa-chrome) .taa-review-card[data-stagger="3"].taa-reveal { transition-delay: 360ms; }
:is(#taa-app,.taa-chrome) .taa-review-card[data-stagger="4"].taa-reveal { transition-delay: 480ms; }
:is(#taa-app,.taa-chrome) .taa-review-card[data-stagger="5"].taa-reveal { transition-delay: 600ms; }

/* Hover interaction — lift + accent border */
:is(#taa-app,.taa-chrome) .taa-review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}
:is(#taa-app,.taa-chrome) .taa-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(42,31,26,.35);
  border-color: #D16D1D !important;
}

/* Two-row grid for 6 reviews instead of 3 */
@media (min-width: 1101px) {
  :is(#taa-app,.taa-chrome) .taa-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 1100px) and (min-width: 721px) {
  :is(#taa-app,.taa-chrome) .taa-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* =========================================================
   TESTIMONIALS MARQUEE — row 1 drifts left, row 2 drifts right.
   Track holds content twice; -50% shift = seamless loop.
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Container LTR so the max-content track is anchored to the LEFT edge.
   (In RTL it anchored right, so moving left exposed blank on the right —
   that was the bug.) Cards are re-set to rtl on the track below. */
:is(#taa-app,.taa-chrome) .taa-marquee { overflow: hidden; width: 100%; direction: ltr; }
/* Track forced LTR for predictable transforms. JS clones the card set until
   the track is wider than 2× the viewport, then sets --marq-shift to the
   EXACT width of one set (measured via offsetLeft, so flex gap is included).
   Animation slides by exactly one set → clones tile perfectly, no jump/gap,
   and content is always entering before any leaves. */
:is(#taa-app,.taa-chrome) .taa-marquee-track {
  direction: ltr;
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;                    /* consistent spacing via flexbox gap */
  width: max-content;
  will-change: transform;       /* movement driven by JS rAF — no CSS anim */
  transform: translate3d(0, 0, 0);   /* GPU layer */
  backface-visibility: hidden;
}
:is(#taa-app,.taa-chrome) .taa-marquee-track .taa-review-card {
  direction: rtl;
  flex: 0 0 360px;
  width: 360px;
  margin: 0;
}
/* Neutralize card lift inside marquee so it doesn't jump while scrolling */
:is(#taa-app,.taa-chrome) .taa-marquee .taa-review-card:hover {
  transform: none;
  box-shadow: none;
  border-color: #EEE6D8 !important;
}
@media (max-width: 1024px) {
  :is(#taa-app,.taa-chrome) .taa-marquee-track .taa-review-card { flex-basis: 320px; width: 320px; }
}
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) .taa-marquee-wrap { gap: 16px; }
  :is(#taa-app,.taa-chrome) .taa-marquee-track { gap: 16px; }
  :is(#taa-app,.taa-chrome) .taa-marquee-track .taa-review-card { flex-basis: 280px; width: 280px; }
}

/* Salla categories list — grid layout to match brand */
:is(#taa-app,.taa-chrome) salla-categories-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
:is(#taa-app,.taa-chrome) salla-categories-list > * {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
:is(#taa-app,.taa-chrome) salla-categories-list > *:nth-child(n+5) { display: none; }
@media (max-width: 1100px) {
  :is(#taa-app,.taa-chrome) salla-categories-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) salla-categories-list { grid-template-columns: 1fr; }
}

/* =========================================================
   TRUST STRIP — original inline style, links, smooth spinning icons.
   Mobile: horizontal scroll strip.
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-trust-item {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
:is(#taa-app,.taa-chrome) .taa-trust-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #2D3A1F;
  font-family: 'El Messiri', serif;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
:is(#taa-app,.taa-chrome) .taa-trust-glyph { display: inline-block; }
:is(#taa-app,.taa-chrome) .taa-trust-title { font-size: 15px; font-weight: 700; color: #2A1F1A; display: block; }
:is(#taa-app,.taa-chrome) .taa-trust-sub   { font-size: 12px; color: #6B4A2C; margin-top: 2px; display: block; }

/* Mobile: horizontal scrollable strip */
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) .taa-trust-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 16px !important;
    padding: 22px 16px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  :is(#taa-app,.taa-chrome) .taa-trust-grid::-webkit-scrollbar { display: none; }
  :is(#taa-app,.taa-chrome) .taa-trust-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #E2D6C2;
    border-radius: 16px;
    padding: 14px 16px;
    min-width: 76%;
  }
}

/* =========================================================
   FOOTER — image backdrop, content anchored bottom, موثوق seal
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-footer {
  position: relative;
  background: transparent;
  color: #F0E6D8;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
:is(#taa-app,.taa-chrome) .taa-footer::before { content: none; }
/* Image defines footer height — full width, never cropped, flush edges */
:is(#taa-app,.taa-chrome) .taa-footer-bg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}
/* Content overlaid ABSOLUTE at image bottom, with legibility scrim */
:is(#taa-app,.taa-chrome) .taa-footer-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 90px 80px 26px;
  background: transparent;
}
:is(#taa-app,.taa-chrome) .taa-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(232, 196, 106, 0.2);
}
:is(#taa-app,.taa-chrome) .taa-footer-logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
:is(#taa-app,.taa-chrome) .taa-footer-logo-ar {
  font-family: 'El Messiri', serif;
  font-size: 30px;
  font-weight: 700;
  color: #F0E6D8;
}
:is(#taa-app,.taa-chrome) .taa-footer-logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #E8C46A;
  margin-top: 4px;
}
:is(#taa-app,.taa-chrome) .taa-footer-tag {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(240, 230, 216, 0.82);
  max-width: 360px;
  margin: 14px 0 18px;
}
:is(#taa-app,.taa-chrome) .taa-footer-trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
:is(#taa-app,.taa-chrome) .taa-maroof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(232, 196, 106, 0.14);
  border: 1px solid rgba(232, 196, 106, 0.5);
  color: #E8C46A;
  font-family: 'El Messiri', serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}
:is(#taa-app,.taa-chrome) .taa-maroof:hover { background: rgba(232, 196, 106, 0.24); transform: translateY(-1px); }
:is(#taa-app,.taa-chrome) .taa-maroof svg { width: 18px; height: 18px; flex-shrink: 0; }
:is(#taa-app,.taa-chrome) .taa-trust-seal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(240, 230, 216, 0.62);
}
:is(#taa-app,.taa-chrome) .taa-footer-col { display: flex; flex-direction: column; gap: 12px; }
:is(#taa-app,.taa-chrome) .taa-footer-col-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #E8C46A;
  margin-bottom: 6px;
}
:is(#taa-app,.taa-chrome) .taa-footer-col a,
:is(#taa-app,.taa-chrome) .taa-footer-col span {
  font-size: 14px;
  color: rgba(240, 230, 216, 0.85);
  text-decoration: none;
  transition: color 0.2s ease, padding-inline-start 0.2s ease;
  width: fit-content;
}
:is(#taa-app,.taa-chrome) .taa-footer-col a:hover { color: #E8C46A; padding-inline-start: 6px; }
:is(#taa-app,.taa-chrome) .taa-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  font-size: 12px;
  color: rgba(240, 230, 216, 0.55);
  font-family: 'JetBrains Mono', monospace;
}
@media (max-width: 900px) {
  :is(#taa-app,.taa-chrome) .taa-footer-inner { padding: 56px 40px 22px; }
  :is(#taa-app,.taa-chrome) .taa-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  :is(#taa-app,.taa-chrome) .taa-footer-brand { grid-column: 1 / -1; }
}
/* Narrow screens: image too short to hold all text — let footer flow,
   solid bg under content so nothing overlaps awkwardly */
@media (max-width: 600px) {
  :is(#taa-app,.taa-chrome) .taa-footer-inner {
    position: relative;
    padding: 32px 18px 18px;
    background: #33492A;   /* mobile only — green panel behind footer content */
  }
  :is(#taa-app,.taa-chrome) .taa-footer-top { grid-template-columns: 1fr; gap: 22px; padding-bottom: 18px; }
  :is(#taa-app,.taa-chrome) .taa-footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* =========================================================
   CHROME-ONLY pages (header + footer on non-home Salla pages)
   Hide Salla native header/footer; our chrome supplies them.
   If a native element you need disappears, delete the matching
   line below.
   ========================================================= */
/* Chrome wrappers are header/footer only — must NOT inherit the full-page
   min-height:100vh / padding from the shared :is(#taa-app,.taa-chrome) base
   rule (that caused a huge empty gap after the header on every page). */
.taa-chrome {
  direction: rtl;
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
html.taa-chrome-on .salla-header,
html.taa-chrome-on header.s-block-main-header,
html.taa-chrome-on .s-block-main-header,
html.taa-chrome-on #salla-header,
html.taa-chrome-on .store-header,
html.taa-chrome-on .main-header,
html.taa-chrome-on .salla-footer,
html.taa-chrome-on .s-block-main-footer,
html.taa-chrome-on #salla-footer,
html.taa-chrome-on .store-footer,
html.taa-chrome-on footer.main-footer {
  display: none !important;
}

/* =========================================================
   WELCOME POPUP — square box: image top, discount bottom
   (class contains "popup" so the body-hide carve-out keeps it visible)
   ========================================================= */
.taa-popup {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  direction: rtl;
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
}
.taa-popup[hidden] { display: none !important; }
.taa-popup .taa-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.taa-popup .taa-popup-box {
  position: relative;
  width: min(88vw, 360px);
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  animation: taa-pop-in 0.35s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes taa-pop-in {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: none; }
}
.taa-popup .taa-popup-img {
  flex: 1 1 50%;
  background-size: cover;
  background-position: center;
}
.taa-popup .taa-popup-body {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 18px;
  text-align: center;
  background: #FFFFFF;
}
.taa-popup .taa-popup-title {
  font-family: 'El Messiri', serif;
  font-size: 26px;
  font-weight: 700;
  color: #2A1F1A;
  line-height: 1.1;
}
.taa-popup .taa-popup-sub { font-size: 13px; color: #6B4A2C; }
.taa-popup .taa-popup-code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 17px;
  color: #2D3A1F;
  background: #F4EEE3;
  border: 1px dashed #D16D1D;
  border-radius: 10px;
  padding: 5px 16px;
}
.taa-popup .taa-popup-btn {
  margin-top: 4px;
  height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  background: #2D3A1F;
  color: #E8C46A;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background 0.2s ease;
}
.taa-popup .taa-popup-btn:hover { background: #1F2A14; }
.taa-popup .taa-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #2A1F1A;
  font-size: 18px;
  line-height: 1;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background 0.2s ease;
}
.taa-popup .taa-popup-close:hover { background: #fff; transform: rotate(90deg); }
@media (max-width: 480px) {
  .taa-popup .taa-popup-box { width: 86vw; }
  .taa-popup .taa-popup-title { font-size: 22px; }
}

/* =========================================================
   REVIEWS LAUREL HEADER (Airbnb-style — number between leaves)
   ========================================================= */
:is(#taa-app,.taa-chrome) .taa-reviews-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 48px;
}
:is(#taa-app,.taa-chrome) .taa-laurel {
  width: 56px;
  height: auto;
  color: #2D3A1F;
  flex-shrink: 0;
}
:is(#taa-app,.taa-chrome) .taa-laurel-r { transform: scaleX(-1); }
:is(#taa-app,.taa-chrome) .taa-reviews-center { text-align: center; }
:is(#taa-app,.taa-chrome) .taa-reviews-num {
  font-family: 'El Messiri', serif;
  font-size: 76px;
  line-height: 1;
  font-weight: 700;
  color: #2A1F1A;
}
:is(#taa-app,.taa-chrome) .taa-reviews-sub {
  font-size: 14px;
  color: #6B4A2C;
  margin-top: 8px;
}
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) .taa-reviews-head { gap: 12px; margin-bottom: 32px; }
  :is(#taa-app,.taa-chrome) .taa-laurel { width: 38px; }
  :is(#taa-app,.taa-chrome) .taa-reviews-num { font-size: clamp(44px, 13vw, 60px) !important; }
  :is(#taa-app,.taa-chrome) .taa-reviews-sub { font-size: 12px; }
}

/* =========================================================
   HERO full-bleed on mobile (override the generic section
   side-padding so the banner touches both edges)
   ========================================================= */
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) section[aria-labelledby="taa-hero-h"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* =========================================================
   BULK buttons stay side-by-side on mobile
   ========================================================= */
@media (max-width: 720px) {
  :is(#taa-app,.taa-chrome) .taa-bulk-content > div:last-child {
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100%;
  }
  :is(#taa-app,.taa-chrome) .taa-bulk-content > div:last-child > button {
    flex: 1 1 0;
    padding: 0 14px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }
}