/* Lureca — Base tokens (mirrors design-system/styles/tokens.css)
   Loaded on every page. */

:root {
  --gold:        #D7A565;
  --gold-light:  #E8C28E;
  --gold-2:      #F6D7A4;
  --rose-gold:   #B87955;
  --copper:      #8B553A;
  --bronze:      #6F422B;

  --bg:          #FAF7F2;
  --bg-2:        #F3ECE2;
  --bg-3:        #FFFFFF;
  --bg-4:        #EFE6D9;

  --ink:         #1A1410;
  --ink-2:       #3D332B;
  --ink-3:       #6E6258;
  --ink-4:       #A89A8B;
  --line:        #E5DCCD;
  --line-2:      #D9CDB8;

  --sale:        #B23A3A;
  --new:         #2E5D4F;
  --best:        #8B553A;
  --success:     #2E7D5B;
  --star:        #E0A93A;

  --accent:      var(--rose-gold);
  --accent-2:    var(--gold);
  --accent-soft: #F1DED8;

  --font-ar:     "Readex Pro", "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  --font-display:"Italiana", "Marcellus", Georgia, serif;
  --font-display-ar: "El Messiri", "Markazi Text", "Amiri", serif;
  --font-ui:     "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(40, 28, 18, .04);
  --sh-2: 0 4px 14px rgba(40, 28, 18, .06);
  --sh-3: 0 12px 36px rgba(40, 28, 18, .08);
  --sh-card: 0 1px 0 rgba(40, 28, 18, .04), 0 8px 24px rgba(40, 28, 18, .06);

  --container: 1320px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-rtl { direction: rtl; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--accent-soft); color: var(--ink); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-4); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* a11y */
.screen-reader-text, .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;
}
.skip-link {
  position: absolute; top: -40px; right: 0;
  background: var(--ink); color: #fff;
  padding: 10px 14px; z-index: 9999;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

/* container & section */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 64px 0; }
.section-sm { padding: 36px 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  font-family: var(--font-ui);
  font-weight: 500; font-size: 13.5px;
  letter-spacing: .01em;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--copper); border-color: var(--copper); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 14px; }
.btn-sm { padding: 9px 18px; font-size: 12.5px; }

.kicker {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.display {
  font-family: var(--font-display-ar), var(--font-display);
  font-weight: 600; line-height: 1.15;
  color: var(--ink);
}

.section-title {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
  margin-bottom: 36px;
}
.section-title .kicker { margin: 0; }
.section-title h2 {
  font-family: var(--font-display-ar), var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600; margin: 0; color: var(--ink);
}
.section-title h2 em {
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
  color: var(--accent);
}
.section-title .underline {
  width: 56px; height: 1px;
  background: var(--accent);
  margin-top: 6px;
}

/* stars */
.stars {
  display: inline-flex; gap: 2px;
  color: var(--star);
  font-size: 12px; letter-spacing: 1px;
}
.stars .empty { color: var(--line-2); }
.rating-count {
  font-size: 12px; color: var(--ink-3);
  margin-inline-start: 6px;
}

/* badge */
.badge {
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  color: #fff;
  border-radius: var(--r-pill);
}
.badge-sale { background: var(--sale); }
.badge-new  { background: var(--new); }
.badge-best { background: var(--best); }
.badge-soft { background: var(--accent-soft); color: var(--copper); }

/* chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
}

/* image placeholder */
.img-ph {
  position: relative;
  background: linear-gradient(135deg, #F3ECE2 0%, #E8DCC9 100%);
  overflow: hidden;
}

/* clearfix */
.cf::after { content: ''; display: block; clear: both; }

/* trust strip */
.trust-strip {
  background: var(--bg-3);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.trust-strip .container { padding-block: 22px; }
.trust-track {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.trust-track .t-item[aria-hidden] { display: none; }
.trust-strip .t-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink-2);
  flex-shrink: 0;
}
.trust-strip .t-item .ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
}

@keyframes trust-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .trust-strip { direction: ltr; }
  .trust-strip .container { padding: 0; max-width: 100%; overflow: hidden; }
  .trust-track {
    flex-wrap: nowrap;
    gap: 0;
    width: max-content;
    animation: trust-scroll 14s linear infinite;
  }
  .trust-track .t-item { direction: rtl; padding: 18px 28px; }
  .trust-track .t-item[aria-hidden] { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation-play-state: paused; }
}

/* misc */
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
