/* BIBLOS: monochrome fashion identity, with merchant theme tokens preserved. */
:root {
  --font: var(--font-body, 'Raleway', 'Tajawal', sans-serif);
  --font-display: var(--font-heading, 'Raleway', 'Tajawal', sans-serif);
  --porcelain: #fff; --surface: #fff; --surface-2: #f5f5f5; --surface-3: #eee;
  --ink: var(--text, #111); --ink-2: #444; --sz-muted: var(--muted, #666);
  --blue: var(--brand, #111); --orange: var(--brand-3, #111);
  --sz-gold: var(--brand, #111); --sz-gold-2: #333; --sz-gold-deep: #111;
  --pitch: #333; --pitch-soft: #eee; --ember: #111;
  --aurora-1: #f5f5f5; --aurora-2: #eee;
  --glass-dark: rgb(17 17 17 / .48);
  --sz-line: var(--border-dark, #ddd); --sz-line-soft: #eee;
  --primary-dark: #fff; --secondary-dark: #f5f5f5;
  --text-cream: #111; --text-gray: #666; --border-dark: #ddd;
  --accent-blue: #111; --accent-red: #111;
}
body, button, input, select, textarea {
  font-family: var(--font);
  font-weight: 400;
  font-synthesis: none;
}
h1, h2, h3, .display { font-family: var(--font-display) !important; }
h1, h2, .display { font-weight: 500; font-style: normal; }
html[dir=rtl] body, html[dir=rtl] button, html[dir=rtl] input,
html[dir=rtl] select, html[dir=rtl] textarea,
html[dir=rtl] h1, html[dir=rtl] h2, html[dir=rtl] h3 {
  font-family: var(--font-arabic, 'Tajawal', sans-serif) !important;
  font-style: normal; letter-spacing: 0 !important;
}
.fx-header { min-height: 98px; height: auto; padding-block: 8px; gap: 28px; }
.fx-brand { width: 104px; }
.fx-brand img { height: 78px; width: 100%; object-fit: contain; }
.fx-search { background: #fff; border-color: #d8d8d8; color: var(--ink-2); text-align: start; }
.fx-search:hover { border-color: #111; background: #fff; }
.fx-search:focus-visible,
.menu-btn:focus-visible,
.fx-cart:focus-visible { outline: 3px solid #ffd21c; outline-offset: 2px; }
.fx-search kbd { margin-left: 0; margin-inline-start: auto; border-color: var(--sz-line); }
.fx-lang {
  direction: ltr;
  gap: 0;
  min-height: 42px;
  padding: 3px;
  border: 1px solid #d9dee5;
  border-radius: 0;
  background: #f7f8fa;
  flex-shrink: 0;
}
.fx-lang button {
  min-width: 36px;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  color: #60656d;
}
.fx-lang button[lang=ar] {
  min-width: 54px;
  font-family: 'Tajawal', sans-serif;
  font-size: 11px;
}
.fx-lang button[aria-pressed=true] { background: #111; color: #fff; }
.fx-nav { border-color: var(--sz-line); }
.fx-news-track b { color: #fff; }
.btn, .input, .select, .card, .fx-search { border-radius: 0; }
.btn:hover { background: var(--brand-2, #333); }
.btn-ghost { border-color: var(--sz-line); }
.btn-ghost:hover, .btn-light:hover { background: var(--surface-2); color: var(--ink); }
.fx-hero {
  display: block; min-height: 0; margin-block: 20px 48px; padding: 0;
  border: 0; border-radius: 0; background: transparent;
}
.fx-hero-art, .fx-hero-slides { width: 100%; }
.fx-hero-slides img {
  width: 100%; height: auto; aspect-ratio: 2.34 / 1; max-height: none;
  object-fit: cover; object-position: center; border-radius: 0;
}
.biblos-hero-mark { background: #fff; padding: 24px; }
.biblos-hero-mark img { width: 100%; max-height: 370px; object-fit: contain; display: block; }
.fx-benefits { padding-block: 24px; border-block: 1px solid var(--sz-line); }
.fx-section { padding-block: 48px; }
.fx-section-head h2, .fx-faq h2 { font-size: clamp(32px, 4vw, 48px); }
.card { border: 1px solid var(--sz-line); }
.card .card-body { padding: 18px; }
.card .card-body h3 { font-family: var(--font) !important; font-size: 15px !important; font-style: normal; }
.card-media { background: var(--surface-2); }
.fx-product-tabs button { font-size: 13px; }
.fx-stock { color: var(--ink-2); }
.foot { background: var(--footer-bg, #111) !important; color: var(--footer-text, #fff); }
.foot .biblos-logo { background: transparent; }
.foot .biblos-logo--white { filter: none; }
.fx-footer-top .fx-brand { width: 140px; padding: 0; background: transparent; }
.fx-footer-top .fx-brand img { width: 100%; height: 92px; object-fit: contain; }
.fx-footer-links a, .fx-footer-top p { font-size: 13px; }
.wa-float { background: var(--brand, #111); }
@media (max-width: 1100px) {
  .fx-header { gap: 16px; }
  .fx-header-actions { gap: 12px; }
  .fx-hero { margin-block: 16px 36px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 78px; }
  .hdr {
    border-bottom: 3px solid #ffd21c;
    background: #fff !important;
  }
  .fx-header {
    position: relative;
    display: block;
    min-height: 78px;
    height: 78px;
    padding: 0;
  }
  .fx-brand {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 62px;
    transform: translate(-50%, -50%);
  }
  .fx-brand img { width: 62px; height: 62px; }
  .menu-btn,
  .fx-search,
  .fx-cart {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    color: #111;
  }
  .menu-btn {
    position: absolute;
    top: 50%;
    inset-inline-start: 16px;
    transform: translateY(-50%);
  }
  .fx-search {
    position: absolute;
    top: 50%;
    inset-inline-end: 64px;
    margin: 0;
    transform: translateY(-50%);
    flex: none;
  }
  .fx-header-actions {
    position: absolute;
    top: 50%;
    inset-inline-end: 16px;
    margin: 0;
    transform: translateY(-50%);
    gap: 0;
  }
  .menu-btn:hover,
  .fx-search:hover,
  .fx-cart:hover,
  body[data-menu=open] .menu-btn {
    border-color: #111;
    background: #ffd21c;
  }
  .fx-cart { position: relative; gap: 0; }
  .fx-cart > .i { width: 23px; height: 23px; stroke-width: 1.8; }
  .fx-count {
    position: absolute;
    inset-block-start: 1px;
    inset-inline-end: 0;
    width: 18px;
    min-width: 18px;
    height: 18px;
    padding: 0;
    border: 2px solid #fff;
    background: #111;
    color: #fff;
    font-size: 9px;
    line-height: 1;
  }
  .fx-header .i { width: 23px; height: 23px; }
  .fx-lang button { padding: 4px 7px; font-size: 10px; }
  .fx-hero { margin-block: 10px 28px; padding: 0; }
  .fx-hero-slides img {
    width: 100%;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    object-position: 50% 45%;
  }
  .biblos-hero-mark img { max-height: 220px; }
  .fx-section { padding-block: 32px; }
  .card .card-body { padding: 12px; }
  .card .card-body h3 { font-size: 13px !important; }
}
html[dir=ltr] .fx-section h2,
html[dir=ltr] .fx-faq h2 { font-weight: 400 !important; }
html[dir=rtl] .fx-news, html[dir=rtl] .menu, html[dir=rtl] .foot {
  font-family: var(--font-arabic, 'Tajawal', sans-serif);
}

/* BIBLOS uses a quiet editorial weight system: regular copy, medium emphasis. */
body :where(*) { font-weight: 400 !important; }
body :where(h1, h2, h3, h4, h5, h6, strong, b, .display, .btn, button, summary) {
  font-weight: 500 !important;
}
body :where(h1, h2, h3, .display) { letter-spacing: -.015em !important; }

/* The requested brand language is completely square across every component. */
*, *::before, *::after { border-radius: 0 !important; }

/* Static SNTP-inspired sale creative: the photo stays still and the live copy
   remains crisp, translatable and readable at every viewport size. */
.fx-hero-slide { position: relative; overflow: hidden; }
.biblos-sale-ad {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 42%;
  padding: clamp(28px, 4.5vw, 78px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #111;
  text-align: left;
  pointer-events: none;
}
.biblos-sale-kicker {
  display: inline-flex;
  padding: 8px 11px;
  background: #111;
  color: #fff;
  font: 700 clamp(11px, 1vw, 15px) var(--font);
}
.biblos-sale-ad strong {
  max-width: 540px;
  margin-top: clamp(14px, 2vw, 26px);
  font: 800 clamp(42px, 5.8vw, 96px)/.88 var(--font-display);
  letter-spacing: -.07em;
  text-wrap: balance;
}
.biblos-sale-copy { margin-top: 18px; font-size: clamp(12px, 1.2vw, 18px); }
.biblos-sale-cta {
  margin-top: clamp(18px, 2.2vw, 34px);
  padding: 12px 18px;
  border: 2px solid #111;
  background: #fff;
  font: 700 13px var(--font);
}
html[dir=rtl] .biblos-sale-ad { text-align: right; align-items: flex-start; }

@media (max-width: 760px) {
  .fx-hero-slides img { object-position: 67% center; filter: brightness(.76); }
  .biblos-sale-ad {
    inset: 0;
    width: 100%;
    padding: 22px;
    justify-content: flex-end;
    color: #fff;
    background: linear-gradient(90deg, rgb(0 0 0 / .72), rgb(0 0 0 / .06));
  }
  .biblos-sale-kicker { background: #ffd21c; color: #111; }
  .biblos-sale-ad strong { max-width: 72%; margin-top: 10px; font-size: clamp(35px, 11vw, 58px); }
  .biblos-sale-copy { margin-top: 10px; }
  .biblos-sale-cta { margin-top: 14px; padding: 9px 12px; border-color: #fff; background: #fff; color: #111; }
}
