/*!
 * GazaSouq — nest.css · V4 "Nest market" shared token + component sheet.
 * Single source for every web surface (generated SEO pages, homepage,
 * static pages) and mirrored inside the /p/ worker (worker.js).
 * Sources: docs/dynamic-landing-contracts.md §5 (binding class vocabulary)
 * + docs/nest-design-system.md (visual extraction).
 * Baked-in named rules: Green-Is-Money · Yellow Flip · Strike-Sells ·
 * 15-Radius · Hover-Reveal · Lift · Tajawal-only (zero letter-spacing,
 * Western digits). Pure CSS: no imports, no @font-face, no JS deps.
 * RTL-first (document carries dir="rtl"); logical properties throughout;
 * contract tokens carry hex fallbacks so subset mirrors stay safe.
 * Nest kills focus outlines globally — we restore green rings instead.
 * Legacy aliases (gs-p-card/gs-sec-title/gs-archive-head/gs-price …) ship
 * beside the §5 contract names until surfaces finish migrating.
 */

/* == 1. Tokens (contracts §5 — exact names/values first) == */
:root {
  /* Contract palette */
  --gs-green: #3BB77E;
  --gs-green-dark: #29A56C;
  --gs-ink: #253D4E;
  --gs-muted-source: #7E7E7E;
  --gs-muted: #59636C;
  --gs-line: #ECECEC;
  --gs-tint: #DEF9EC;
  --gs-tint-2: #BCE3C9;
  --gs-yellow: #FDC040;
  --gs-red: #FD6E6E;

  /* Semantic text/action aliases. Raw Nest swatches above remain available
     for brand marks, borders, and non-text accents. */
  --gs-primary: #176B49;
  --gs-primary-dark: #12563B;
  --gs-action: #176B49;
  --gs-action-hover: #12563B;
  --gs-green-text: #176B49;
  --gs-copy: #59636C;
  --gs-placeholder: #666666;
  --gs-body: #59636C;
  --gs-hairline: #ECECEC;
  --gs-tint-border: #BCE3C9;
  --gs-muted-light: #666666;

  /* Supporting neutrals + accents — design doc §1 */
  --gs-grey-source: #ADADAD;
  --gs-grey: #6B6B6B;
  --gs-canvas: #fff;
  --gs-bg: #fff;
  --gs-section: #F4F6FA;
  --gs-surface-2: #F7F8F9;
  --gs-hero: linear-gradient(135deg, var(--gs-tint, #DEF9EC) 0%, #E7F8EF 55%, #EDF8F2 100%);
  --gs-hero-spotlight: linear-gradient(145deg, #FFF7D6 0%, #FDE1BD 100%);
  --gs-hero-border: #F3E3B8;
  --gs-surface: #fff;
  --gs-soft: #F2F3F4;
  --gs-field: #F5F5F5;
  --gs-hot: #F74B81;
  --gs-hot-bg: #FDE0E9;
  --gs-sale: #67BCEE;
  --gs-sale-light: #77CCFD;
  --gs-best: #F59758;
  --gs-star: #FF9900;
  --gs-peach: #FDE1BD;

  /* Typography — Tajawal only (PRODUCT.md V4) */
  --gs-font: 'Tajawal', sans-serif;

  /* Radii language — 4/5/10/15/20/25 (§4 of design doc) */
  --gs-r-s: 4px;
  --gs-r-m: 5px;
  --gs-r-l: 10px;
  --gs-r-xl: 15px;   /* cards, images, thumbnails */
  --gs-r-2xl: 20px;  /* banners, archive headers */
  --gs-r-3xl: 25px;  /* modals */
  --gs-r-hero: 30px;  /* Nest homepage slider */

  /* Shadow vocabulary — §5 of design doc */
  --gs-shadow-card: 5px 5px 15px rgba(0, 0, 0, .05);
  --gs-shadow-big: 20px 20px 54px rgba(0, 0, 0, .03);
  --gs-shadow-big-hover: 20px 20px 54px rgba(0, 0, 0, .05);
  --gs-shadow-float: 20px 20px 40px rgba(0, 0, 0, .07);
  --gs-shadow-raised: 0 8px 16px rgba(78, 42, 222, .08);
  --gs-shadow-sticky: 0 8px 20px rgba(0, 0, 0, .05);
  --gs-shadow-tip: 4px 4px 8px rgba(0, 0, 0, .1);

  /* Motion — §6 */
  --gs-speed: .3s;
  --gs-speed-fast: .2s;
  --gs-ease-lift: cubic-bezier(.02, .01, .47, 1);
  --gs-ease-out: cubic-bezier(.16, 1, .3, 1);
  --gs-ease-pop: cubic-bezier(.16, 1, .3, 1);
  --gs-reveal-duration: .72s;

  /* Sold progress gradient */
  --gs-grad-sold: linear-gradient(235deg, #3BB77E 0%, #77CCFD 100%);
}

/* == 2. Base (RTL-first) == */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--gs-font, 'Tajawal', sans-serif);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;                  /* zero letter-spacing on Arabic — always */
  font-variant-numeric: lining-nums;  /* Western digits only */
  color: var(--gs-copy, #59636C);
  background: var(--gs-canvas, #fff);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--gs-ink, #253D4E); font-weight: 700; line-height: 1.3; }
p { margin: 0 0 12px; }

a { color: inherit; text-decoration: none; transition: color var(--gs-speed, .3s) linear; }
a:hover { color: var(--gs-green-text, #176B49); }

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

::selection { background: var(--gs-green, #3BB77E); color: var(--gs-ink, #253D4E); }

html { scrollbar-color: var(--gs-tint-2, #BCE3C9) var(--gs-section, #F4F6FA); }
body { caret-color: var(--gs-green, #3BB77E); }
::-webkit-scrollbar { width: 11px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gs-section, #F4F6FA); }
::-webkit-scrollbar-thumb { background: var(--gs-tint-2, #BCE3C9); border: 3px solid var(--gs-section, #F4F6FA); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--gs-green, #3BB77E); }

/* A11y: Nest kills outlines (!important) — the port restores them. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gs-green, #3BB77E);
  outline-offset: 2px;
}

/* THE lift — interactive blocks rise; card frames themselves never move. */
.hover-up { transition: all .25s var(--gs-ease-lift, ease); }
.hover-up:hover { transform: translateY(-5px); }

/* Scroll-snap helper for horizontal strips (rails have it built-in). */
.gs-snap-x { scroll-snap-type: x mandatory; }

.gs-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hover-up:hover { transform: none; }
}

/* Inline-SVG-friendly icon sizing shared by feature strips + cards. */
.gs-feature svg, .gs-card__action svg, .gs-p-card__action svg { width: 17px; height: 17px; }

/* == 3. Buttons — Yellow Flip Rule == */
.gs-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border: 0;
  border-radius: var(--gs-r-s, 4px);
  background: var(--gs-action, #176B49);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--gs-speed, .3s) linear;
}
.gs-btn:hover { background: var(--gs-yellow, #FDC040); color: var(--gs-ink, #253D4E); }   /* signature flip */

.gs-btn--primary { background: var(--gs-action, #176B49); }
.gs-btn--primary:hover { background: var(--gs-yellow, #FDC040); color: var(--gs-ink, #253D4E); }

.gs-btn--yellow { background: var(--gs-yellow, #FDC040); color: var(--gs-ink, #253D4E); }
.gs-btn--yellow:hover { background: var(--gs-action, #176B49); color: #fff; }

/* Ghost: transparent skin, green frame; flips yellow on hover like its solid twin. */
.gs-btn--ghost {
  background: transparent;
  border: 2px solid var(--gs-green, #3BB77E);
  color: var(--gs-green-text, #176B49);
}
.gs-btn--ghost:hover {
  background: var(--gs-yellow, #FDC040);
  border-color: var(--gs-yellow, #FDC040);
  color: var(--gs-ink, #253D4E);
}

.gs-btn--outline {
  background: transparent;
  border: 2px solid var(--gs-tint-2, #BCE3C9);
  color: var(--gs-green-text, #176B49);
}
.gs-btn--outline:hover { background: var(--gs-action, #176B49); border-color: var(--gs-action, #176B49); color: #fff; }

.gs-btn--whatsapp { background: #25D366; }
.gs-btn--whatsapp:hover { background: #1DA851; }

.gs-btn--lg { padding: 14px 38px; font-size: 16px; border-radius: var(--gs-r-m, 5px); }

.gs-btn[disabled], .gs-btn:disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.gs-btn:active:not([disabled]) { transform: translateY(1px); }

/* == 4. Product card — THE component (§5 anatomy + legacy aliases) ==
   Contract names: .gs-card · legacy names: .gs-p-card / .gs-deal-card. */
article.gs-card,
article.gs-p-card,
article.gs-deal-card,
article.gs-card--deal {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: var(--gs-r-xl, 15px);
  overflow: hidden;
  transition: border-color var(--gs-speed, .3s) linear, box-shadow var(--gs-speed, .3s) linear;
}
article.gs-card:hover,
article.gs-p-card:hover,
article.gs-deal-card:hover,
article.gs-card--deal:hover {
  border-color: var(--gs-tint-2, #BCE3C9);
  box-shadow: var(--gs-shadow-card);
}

/* Media well — square, clips the zoom + cross-fade. */
.gs-card__media,
.gs-p-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gs-field, #F5F5F5);
}
.gs-card__media:focus-visible,
.gs-p-card__media:focus-visible { outline-offset: -3px; }

/* Default image + hover swap image (.gs-card__img--alt fades in above). */
.gs-card__img,
.gs-p-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .25s; }
.gs-card__media:hover .gs-card__img,
.gs-p-card__media:hover .gs-p-card__img { transform: scale(1.05); }

.gs-card__img--alt,
.gs-p-card__img--alt { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.gs-card:hover .gs-card__img--alt,
.gs-p-card:hover .gs-p-card__img--alt { opacity: 1; }

/* Badges — asymmetric top-start corner stack (RTL mirror of 15-0-20-0). */
.gs-card__badges,
.gs-p-card__badges {
  position: absolute;
  top: 10px;
  inset-inline-start: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
}
.gs-badge {
  display: inline-block;
  padding: 5px 14px 6px;
  background: var(--gs-action, #176B49);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 0 var(--gs-r-xl, 15px) 0 var(--gs-r-2xl, 20px);
}
.gs-badge--hot     { background: var(--gs-hot, #F74B81); }
.gs-badge--new     { background: var(--gs-action, #176B49); }
.gs-badge--sale    { background: var(--gs-sale, #67BCEE); }
.gs-badge--best, .gs-badge--off { background: var(--gs-best, #F59758); }
.gs-badge--soldout { background: var(--gs-red, #FD6E6E); }

/* Hover-reveal action bar — vertical pill, slides in on hover/focus-within. */
.gs-card__actions,
.gs-p-card__actions {
  position: absolute;
  top: 50%;
  inset-inline-start: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 3px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-tint-2, #BCE3C9);
  border-radius: 100px;
  box-shadow: var(--gs-shadow-tip);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(-8px);
  transition: opacity var(--gs-speed-fast, .2s), visibility var(--gs-speed-fast, .2s), transform .25s var(--gs-ease-lift, ease);
}
.gs-card:hover .gs-card__actions,
.gs-card:focus-within .gs-card__actions,
.gs-p-card:hover .gs-p-card__actions,
.gs-p-card:focus-within .gs-p-card__actions {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.gs-card__action,
.gs-p-card__action {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--gs-ink, #253D4E);
  cursor: pointer;
  transition: color var(--gs-speed, .3s) linear;
}
.gs-card__action + .gs-card__action,
.gs-p-card__action + .gs-p-card__action { border-block-start: 1px solid var(--gs-tint-2, #BCE3C9); }
.gs-card__action:hover, .gs-card__action:focus-visible,
.gs-p-card__action:hover, .gs-p-card__action:focus-visible { color: var(--gs-yellow, #FDC040); }

/* Green tooltip bubbles via data-tip attr. */
.gs-card__action[data-tip]::after,
.gs-p-card__action[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: 50%;
  inset-inline-end: calc(100% + 12px);
  transform: translateY(-50%) scale(.85);
  padding: 5px 10px;
  background: var(--gs-action, #176B49);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--gs-r-m, 5px);
  box-shadow: var(--gs-shadow-tip);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .3s var(--gs-ease-pop, ease);
}
.gs-card__action[data-tip]:hover::after, .gs-card__action[data-tip]:focus-visible::after,
.gs-p-card__action[data-tip]:hover::after, .gs-p-card__action[data-tip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* Card body */
.gs-card__body, .gs-p-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 14px 20px 20px; }
.gs-card__cat, .gs-card__cat a,
.gs-p-card__cat, .gs-p-card__cat a { font-size: 12px; color: var(--gs-grey, #ADADAD); }
.gs-card__cat a:hover, .gs-p-card__cat a:hover { color: var(--gs-green-text, #176B49); }
.gs-card__title, .gs-p-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gs-ink, #253D4E);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gs-card__title a, .gs-p-card__title a { color: inherit; }
.gs-card__title a:hover, .gs-p-card__title a:hover { color: var(--gs-green-text, #176B49); }
.gs-card__byline, .gs-p-card__byline { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gs-muted-light, #B6B6B6); }
.gs-card__byline a:hover, .gs-p-card__byline a:hover { color: var(--gs-green-text, #176B49); }

/* Shared pure-CSS storefront glyph on card bylines (mask + currentColor). */
.gs-card__byline::before,
.gs-p-card__byline::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath%20d='M21%206l-1.5-4h-15L3%206v2c0%20.74.4%201.38%201%201.72V20a1%201%200%200%200%201%201h6v-6h2v6h6a1%201%200%200%200%201-1V9.72c.6-.34%201-.98%201-1.72V6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Price trio — Strike-Sells law. Contract: .gs-price-trio · legacy: .gs-price. */
.gs-price-trio, .gs-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; line-height: 1.2; margin-top: auto; padding-top: 10px; }
.gs-price-trio__now, .gs-price__now { font-size: 18px; font-weight: 800; color: var(--gs-green-text, #176B49); }
.gs-price-trio__old, .gs-price__old { font-size: 14px; color: var(--gs-grey, #ADADAD); text-decoration: line-through; }
.gs-price-trio__off, .gs-price__off { padding: 2px 8px; background: var(--gs-best, #F59758); color: #fff; font-size: 12px; font-weight: 700; border-radius: 100px; }

/* Compact mini variant — related rail + search results rows. */
article.gs-card--mini,
article.gs-p-card--mini { flex-direction: row; align-items: center; gap: 14px; padding: 10px; }
.gs-card--mini .gs-card__media,
.gs-p-card--mini .gs-p-card__media { flex: none; width: 76px; height: 76px; aspect-ratio: auto; border-radius: var(--gs-r-l, 10px); }
.gs-card--mini .gs-card__badges, .gs-card--mini .gs-card__actions, .gs-card--mini .gs-card__img--alt,
.gs-p-card--mini .gs-p-card__badges, .gs-p-card--mini .gs-p-card__actions, .gs-p-card--mini .gs-p-card__img--alt { display: none; }
.gs-card--mini .gs-card__body, .gs-p-card--mini .gs-p-card__body { padding: 0; }
.gs-card--mini .gs-card__title, .gs-p-card--mini .gs-p-card__title { font-size: 14px; }
.gs-card--mini .gs-price-trio, .gs-card--mini .gs-price,
.gs-p-card--mini .gs-price-trio, .gs-p-card--mini .gs-price { padding-top: 4px; }
.gs-card--mini .gs-price-trio__now, .gs-card--mini .gs-price__now,
.gs-p-card--mini .gs-price-trio__now, .gs-p-card--mini .gs-price__now { font-size: 15px; }
.gs-card--mini .gs-price-trio__old, .gs-card--mini .gs-price__old,
.gs-p-card--mini .gs-price-trio__old, .gs-p-card--mini .gs-price__old { font-size: 12px; }

/* Rating stars — pure-CSS two-layer glyph pair; width:N% on the fill. */
.gs-stars {
  position: relative;
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  color: var(--gs-muted-light, #B6B6B6);
  white-space: nowrap;
}
.gs-stars::before { content: "\2605\2605\2605\2605\2605"; }
.gs-stars__fill {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--gs-star, #FF9900);
}
.gs-stars__fill::before { content: "\2605\2605\2605\2605\2605"; }
.gs-stars__num { font-size: 12px; color: var(--gs-muted, #7E7E7E); margin-inline-start: 4px; }

/* == 5. Rails + section titles (×3 styles via modifiers) == */
.gs-rail { margin-block-end: 40px; }

.gs-rail__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gs-line, #ECECEC) transparent;
}
.gs-rail__track::-webkit-scrollbar { height: 6px; }
.gs-rail__track::-webkit-scrollbar-thumb { background: var(--gs-line, #ECECEC); border-radius: 100px; }
.gs-rail__track > * { flex: 0 0 auto; scroll-snap-align: start; }

/* Home rails retain their horizontal browsing rhythm while showing the exact
   same full product card used by catalog pages—not the compact row variant. */
.gs-rail__track > article.gs-p-card:not(.gs-p-card--mini) {
  inline-size: clamp(200px, 21vw, 270px);
}
@media (max-width: 576px) {
  .gs-rail__track > article.gs-p-card:not(.gs-p-card--mini) {
    inline-size: min(78vw, 320px);
  }
}

/* Contract: .section-title (+--bar/--wave) · legacy: .gs-sec-title. */
.section-title, .gs-sec-title {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.section-title :is(h1, h2, h3),
.gs-sec-title :is(h1, h2, h3) { margin: 0; font-size: clamp(22px, 2.6vw, 32px); color: var(--gs-ink, #253D4E); }
.section-title :is(h1, h2, h3) b, .section-title :is(h1, h2, h3) span,
.gs-sec-title :is(h1, h2, h3) b, .gs-sec-title :is(h1, h2, h3) span { color: var(--gs-green-text, #176B49); }
.section-title__link, .gs-sec-title__link { flex: none; font-size: 14px; font-weight: 700; color: var(--gs-green-text, #176B49); }
.section-title__link::after, .gs-sec-title__link::after {
  content: "\2190"; /* ← RTL forward arrow */
  display: inline-block;
  margin-inline-start: 6px;
  transition: transform var(--gs-speed, .3s) var(--gs-ease-lift, ease);
}
.section-title__link:hover, .gs-sec-title__link:hover { color: var(--gs-action-hover, #12563B); }
.section-title__link:hover::after, .gs-sec-title__link:hover::after { transform: translateX(-4px); }

/* Style 2: bottom border + 80x2px bar at start. */
.section-title--bar, .gs-sec-title--bar { padding-block-end: 12px; border-block-end: 1px solid var(--gs-line, #ECECEC); }
.section-title--bar::after, .gs-sec-title--bar::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline-start: 0;
  width: 80px;
  height: 2px;
  background: var(--gs-tint-2, #BCE3C9);
}

/* Style 3: scalloped wave under-title — pure gradient, no image asset. */
.section-title--wave h2, .gs-sec-title--wave h2 { position: relative; padding-block-end: 16px; }
.section-title--wave h2::after, .gs-sec-title--wave h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 120px;
  height: 8px;
  background-image: radial-gradient(circle at 6px 0, var(--gs-tint-2, #BCE3C9) 3.5px, transparent 4px);
  background-size: 12px 8px;
  background-repeat: repeat-x;
}

/* == 6. Deal extras + [data-countdown] strip == */
.gs-deal-card__progress {
  height: 8px;
  margin: 12px 20px 0;
  background: var(--gs-tint, #DEF9EC);
  border-radius: 100px;
  overflow: hidden;
  appearance: none;
}
.gs-deal-card__progress > * { display: block; height: 100%; min-width: 8%; border-radius: inherit; background: var(--gs-grad-sold); }
.gs-deal-card__progress::-webkit-progress-bar { background: var(--gs-tint, #DEF9EC); border-radius: inherit; }
.gs-deal-card__progress::-webkit-progress-value, .gs-deal-card__progress::-moz-progress-bar { background: var(--gs-grad-sold); border-radius: inherit; }

/* Countdown: styled straight off the [data-countdown] hook; overlap margin
   assumes it sits right after the square media well inside a deal card. */
.gs-countdown, [data-countdown] { position: relative; z-index: 3; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: -21px 16px 0; }
.gs-countdown__cell {
  min-width: 52px;
  padding: 6px 6px 4px;
  background: var(--gs-surface, #fff);
  border: 2px solid var(--gs-green, #3BB77E);
  border-radius: var(--gs-r-s, 4px);
  text-align: center;
}
.gs-countdown__cell b {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--gs-green-text, #176B49);
  font-variant-numeric: tabular-nums;
}
.gs-countdown__cell span { font-size: 12px; color: var(--gs-muted, #7E7E7E); }

/* == 7. Pagination — balanced arrows + compact pill == */
.gs-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}
.gs-pager__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: var(--gs-soft, #F2F3F4);
  color: var(--gs-muted, #7E7E7E);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--gs-speed, .2s) ease;
}
/* Arrow buttons — identical circles */
.gs-pager__item:first-child,
.gs-pager__item:last-child {
  width: 40px;
  border-radius: 50%;
}
.gs-pager__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
}
.gs-pager__item svg {
  width: 16px;
  height: 16px;
}
/* Page counter pill — compact, rounded */
.gs-pager__item.is-active {
  padding: 0 16px;
  border-radius: 100px;
  background: var(--gs-action, #176B49);
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0;
}
/* Hover: only on enabled non-active items */
.gs-pager__item:hover:not(.is-active):not(.is-disabled) {
  background: var(--gs-action, #176B49);
  color: #fff;
}
/* Disabled: muted but same size */
.gs-pager__item.is-disabled {
  opacity: .3;
  pointer-events: none;
}

/* == 8. Breadcrumbs + archive headers == */
.gs-crumb { display: block; padding-block: 10px; font-size: 13px; }
.gs-crumb ol { display: flex; align-items: center; flex-wrap: wrap; row-gap: 4px; margin: 0; padding: 0; list-style: none; }
.gs-crumb li { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--gs-muted, #7E7E7E); }
.gs-crumb li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gs-muted-light, #B6B6B6); }
.gs-crumb a { color: var(--gs-muted, #7E7E7E); }
.gs-crumb a:hover { color: var(--gs-green-text, #176B49); }
.gs-crumb [aria-current] { color: var(--gs-ink, #253D4E); font-weight: 700; }

/* Rounded hero box. Contract: .archive-header · legacy: .gs-archive-head. */
.archive-header, .gs-archive-head {
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 56px);
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--gs-tint, #DEF9EC) 0%, var(--gs-surface, #fff) 78%);
  border: 1px solid var(--gs-tint-2, #BCE3C9);
  border-radius: var(--gs-r-2xl, 20px);
  box-shadow: none;
}
.archive-header--shop, .gs-archive-head--shop { background: linear-gradient(135deg, #EFFBF4 0%, var(--gs-surface, #fff) 82%); }
.archive-header__title, .gs-archive-head__title { margin: 0; font-size: clamp(28px, 4.6vw, 48px); line-height: 1.2; font-weight: 700; color: var(--gs-ink, #253D4E); }
.archive-header__sub, .gs-archive-head__sub { margin: 10px 0 0; max-width: 60ch; font-size: 16px; color: var(--gs-muted, #7E7E7E); }
.archive-header__chips, .gs-archive-head__chips, .gs-shop-head__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.archive-header__chips:empty, .gs-archive-head__chips:empty, .gs-shop-head__chips:empty { display: none; }

/* Filter chips */
.gs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: 100px;
  color: var(--gs-muted, #7E7E7E);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: all var(--gs-speed, .3s) linear;
}
.gs-chip:hover { border-color: var(--gs-tint-2, #BCE3C9); color: var(--gs-green-text, #176B49); }
.gs-chip.is-active { background: var(--gs-tint, #DEF9EC); border-color: var(--gs-tint-2, #BCE3C9); color: var(--gs-green-text, #176B49); font-weight: 700; }

/* Legacy sortbar restyle (generator keeps legacy names for sort only). */
.sortbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: var(--gs-r-m, 5px);
}
.sortbar .lbl { font-size: 13px; font-weight: 600; color: var(--gs-muted, #7E7E7E); }
.sortbar .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: 100px;
  color: var(--gs-muted, #7E7E7E);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--gs-speed, .3s) linear;
}
.sortbar .chip:hover { border-color: var(--gs-tint-2, #BCE3C9); color: var(--gs-green-text, #176B49); }
.sortbar .chip.active { background: var(--gs-tint, #DEF9EC); border-color: var(--gs-tint-2, #BCE3C9); color: var(--gs-green-text, #176B49); font-weight: 700; }

/* Toolbar */
.gs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-block: 16px; }
.gs-toolbar__count { font-size: 14px; color: var(--gs-muted, #7E7E7E); }
.gs-toolbar__count b, .gs-toolbar__count strong { color: var(--gs-green-text, #176B49); }

/* == 9. Grids == */
.gs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.gs-grid--mini { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gs-grid--vendors { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
@media (max-width: 620px) {
  .gs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gs-grid--mini, .gs-grid--vendors { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .gs-grid { grid-template-columns: minmax(0, 1fr); }
}

/* == 10. Vendor / directory cards == */
.gs-vendor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: var(--gs-r-xl, 15px);
  text-align: center;
  transition: border-color var(--gs-speed, .3s) linear, box-shadow var(--gs-speed, .3s) linear;
}
.gs-vendor-card:hover { border-color: var(--gs-tint-2, #BCE3C9); box-shadow: var(--gs-shadow-card); }
.gs-vendor-card__logo { width: min(144px, 60%); aspect-ratio: 1; object-fit: contain; margin-inline: auto; border-radius: var(--gs-r-l, 10px); }
.gs-vendor-card__name { margin: 14px 0 4px; font-size: 20px; font-weight: 700; color: var(--gs-ink, #253D4E); }
.gs-vendor-card__name a { color: inherit; }
.gs-vendor-card__name a:hover { color: var(--gs-green-text, #176B49); }
.gs-vendor-card__area { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gs-muted, #7E7E7E); }
.gs-vendor-card__count {
  display: inline-block;
  min-width: 96px;
  margin-block: 12px;
  padding: 4px 16px;
  background: var(--gs-tint, #DEF9EC);
  color: var(--gs-green-text, #176B49);
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
}
.gs-vendor-card__foot { margin-top: auto; padding-top: 14px; width: 100%; }
.gs-vendor-card__foot .gs-btn--outline, .gs-vendor-card__foot .gs-btn--ghost { width: 100%; padding-block: 9px; font-size: 13px; }

/* Location pin glyph shared by vendor cards + hero area chips. */
.gs-vendor-card__area::before, .gs-area-chip::before {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath%20d='M12%202a7%207%200%200%200-7%207c0%205.25%207%2013%207%2013s7-7.75%207-13a7%207%200%200%200-7-7zm0%209.5A2.5%202.5%200%201%201%2012%206.5a2.5%202.5%200%200%201%200%205z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* == 11. Shop page == */
.gs-shop-head { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.gs-shop-head__logo {
  flex: none;
  width: 96px;
  height: 96px;
  padding: 6px;
  object-fit: contain;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: var(--gs-r-xl, 15px);
}
.gs-shop-head > :not(.gs-shop-head__logo) { flex: 1 1 220px; }
.gs-shop-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 992px) { .gs-shop-layout { grid-template-columns: minmax(0, 1fr); } }

.gs-store-info {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 20px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: var(--gs-r-xl, 15px);
}
@media (max-width: 992px) { .gs-store-info { position: static; } }
.gs-store-info__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 9px;
  border-block-end: 1px solid var(--gs-line, #ECECEC);
  font-size: 13px;
}
.gs-store-info__row:last-of-type { border-block-end: 0; }
.gs-store-info__row > :first-child { color: var(--gs-muted, #7E7E7E); }
.gs-store-info__row > :last-child { color: var(--gs-ink, #253D4E); font-weight: 700; text-align: end; }
.gs-store-info__contact { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gs-line, #ECECEC); }
.gs-store-info__contact .gs-btn { width: 100%; padding-block: 9px; font-size: 13px; }

/* Pill search bar (in-shop search + homepage hero share it). */
.gs-shop-search, .gs-hero__search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: 100px;
  box-shadow: var(--gs-shadow-float);
  transition: border-color var(--gs-speed, .3s) linear, box-shadow var(--gs-speed, .3s) linear;
}
.gs-shop-search:focus-within, .gs-hero__search:focus-within {
  border-color: var(--gs-tint-2, #BCE3C9);
  box-shadow: 0 0 0 3px var(--gs-tint, #DEF9EC);
}
.gs-shop-search input, .gs-hero__search input {
  flex: 1;
  min-width: 0;
  padding: 9px 16px;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 14px;
  color: var(--gs-ink, #253D4E);
}
.gs-shop-search input::placeholder, .gs-hero__search input::placeholder { color: var(--gs-placeholder, #666666); }
.gs-shop-search .gs-btn, .gs-hero__search .gs-btn { flex: none; padding: 9px 20px; font-size: 13px; border-radius: 100px; }

/* == 12. Sidebar widgets (basic vocabulary) == */
.gs-widget {
  padding: 20px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: var(--gs-r-xl, 15px);
}
.gs-widget + .gs-widget { margin-block-start: 16px; }
.gs-widget__title {
  position: relative;
  margin: 0 0 14px;
  padding-block-end: 10px;
  border-block-end: 1px solid var(--gs-line, #ECECEC);
  font-size: 18px;
  font-weight: 700;
  color: var(--gs-ink, #253D4E);
}
.gs-widget__title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline-start: 0;
  width: 44px;
  height: 2px;
  background: var(--gs-tint-2, #BCE3C9);
}
.gs-widget ul { margin: 0; padding: 0; list-style: none; }
.gs-widget li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 8px; }
.gs-widget li + li { border-block-start: 1px dashed var(--gs-line, #ECECEC); }
.gs-widget li a { color: var(--gs-muted, #7E7E7E); font-size: 14px; }
.gs-widget li a:hover { color: var(--gs-green-text, #176B49); }
.gs-widget__count {
  flex: none;
  min-width: 28px;
  padding: 1px 8px;
  background: var(--gs-tint, #DEF9EC);
  color: var(--gs-green-text, #176B49);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border-radius: 100px;
}

/* == 13. Homepage extras == */
.gs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(16px, 3vw, 32px);
  padding: clamp(28px, 5vw, 64px);
  background: var(--gs-hero, linear-gradient(135deg, #DEF9EC 0%, #E7F8EF 55%, #EDF8F2 100%));
  border: 0;
  border-radius: var(--gs-r-hero, 30px);
  box-shadow: none;
}
@media (max-width: 900px) { .gs-hero { grid-template-columns: 1fr; } }
.gs-hero__copy h1, .gs-hero__copy h2 { margin: 0 0 12px; font-size: clamp(30px, 4.6vw, 58px); font-weight: 800; line-height: 1.15; color: var(--gs-ink, #253D4E); }
.gs-hero__copy p { max-width: 52ch; font-size: 16px; color: var(--gs-muted, #7E7E7E); }
.gs-hero__search { margin-top: 20px; max-width: 520px; }
.gs-hero__areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gs-area-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: 100px;
  color: var(--gs-muted, #7E7E7E);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--gs-speed, .3s) linear;
}
.gs-area-chip:hover { border-color: var(--gs-tint-2, #BCE3C9); color: var(--gs-green-text, #176B49); }
.gs-hero__visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.gs-hero__visual::before {
  content: "";
  position: absolute;
  width: min(340px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gs-hero-spotlight, linear-gradient(145deg, #FFF7D6 0%, #FDE1BD 100%));
  box-shadow: 0 22px 46px -30px rgba(122,84,16,.38);
}
.gs-phone {
  position: relative;
  width: clamp(196px, 24vw, 230px);
  padding: 9px;
  background: linear-gradient(160deg, #33404F, #1B2530 55%);
  border-radius: 40px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.06),
    0 30px 60px -18px rgba(37,61,78,.35),
    0 8px 20px -8px rgba(37,61,78,.18);
}
.gs-phone::before, .gs-phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #232F3C; }
.gs-phone::before { left: -3px; top: 110px; height: 64px; } /* volume */
.gs-phone::after { right: -3px; top: 140px; height: 44px; } /* power */
.gs-phone img { display: block; width: 100%; height: auto; border-radius: 31px; }
.gs-phone__cam {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0D141B;
  box-shadow: inset 0 0 2px 1px rgba(96,140,196,.55);
}
@media (prefers-reduced-motion: no-preference) {
  .gs-hero__copy { animation: gs-hero-copy-in .72s var(--gs-ease-out, ease-out) both; }
  .gs-hero__visual { animation: gs-hero-visual-in .68s .04s var(--gs-ease-out, ease-out) both; }
  .gs-phone { animation: gs-phone-float 7s 1s ease-in-out infinite alternate; }

  .topbar.is-scrolled {
    border-bottom-color: var(--gs-yellow, #FDC040) !important;
    box-shadow: var(--gs-shadow-sticky) !important;
    transition: border-bottom-color .2s linear, box-shadow .2s linear;
  }

  .gs-reveal {
    opacity: .001;
    filter: blur(6px);
    transform: translateY(24px);
    transition:
      opacity var(--gs-reveal-duration, .72s) var(--gs-ease-out, ease-out),
      filter var(--gs-reveal-duration, .72s) var(--gs-ease-out, ease-out),
      transform var(--gs-reveal-duration, .72s) var(--gs-ease-out, ease-out);
  }
  .gs-reveal.gs-reveal--clip {
    clip-path: inset(0 0 14% 0 round var(--gs-r-xl, 15px));
    transform: translateY(12px);
    transition-property: opacity, filter, transform, clip-path;
  }
  .gs-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    clip-path: inset(0 0 0 0 round var(--gs-r-xl, 15px));
  }

  /* Existing generated pages gain a lightweight native fallback until their
     next build adds /js/nest-motion.js. Content stays visible in browsers
     without scroll-driven animation support. */
  @supports (animation-timeline: view()) {
    html:not(.gs-motion) :is(.gs-rail, .seo-cat-group, .download-panel, .stats, .faq-list) {
      animation: gs-native-reveal both linear;
      animation-timeline: view();
      animation-range: entry 0% cover 24%;
    }
  }
}
@keyframes gs-hero-copy-in {
  from { opacity: .001; filter: blur(8px); transform: translateX(34px); clip-path: inset(0 0 0 18%); }
  to { opacity: 1; filter: blur(0); transform: translateX(0); clip-path: inset(0); }
}
@keyframes gs-hero-visual-in {
  from { opacity: .001; filter: blur(10px); transform: translateX(-30px) scale(.96); }
  to { opacity: 1; filter: blur(0); transform: translateX(0) scale(1); }
}
@keyframes gs-phone-float { from { transform: translateY(-4px); } to { transform: translateY(6px); } }
@keyframes gs-sticky-settle { from { transform: translateY(-10px); } to { transform: translateY(0); } }
@keyframes gs-native-reveal {
  from { opacity: .15; filter: blur(5px); transform: translateY(20px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@media (max-width: 900px) { .gs-hero__visual { min-height: 0; margin-top: 12px; } }

.gs-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-block: 24px; }
.gs-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--gs-surface, #fff);
  border: 1px solid var(--gs-line, #ECECEC);
  border-radius: var(--gs-r-xl, 15px);
  transition: border-color var(--gs-speed, .3s) linear, box-shadow var(--gs-speed, .3s) linear;
}
.gs-feature:hover { border-color: var(--gs-tint-2, #BCE3C9); box-shadow: var(--gs-shadow-card); }
.gs-feature__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--gs-tint, #DEF9EC);
  border-radius: var(--gs-r-m, 5px);
  color: var(--gs-green, #3BB77E);
}
.gs-feature__icon svg, .gs-feature svg { width: 22px; height: 22px; }
.gs-feature :is(b, strong) { display: block; font-size: 14px; color: var(--gs-ink, #253D4E); }
.gs-feature div span { display: block; font-size: 13px; color: var(--gs-muted, #7E7E7E); }

footer, .gs-footer { margin-top: 64px; padding: 56px 0 36px; background: var(--gs-ink, #253D4E); color: #fff; border-top: 0; font-family: 'Tajawal', system-ui, sans-serif; }
.footer-container { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.72); max-width: 40ch; line-height: 1.7; margin: 0; }
footer h3, .gs-footer h3 { font-size: 14px; font-weight: 800; margin-bottom: 14px; color: var(--lime, #BCE3C9); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.72); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--lime, #BCE3C9); }
.footer-bottom, .gs-footer__bottom {
  display: block;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 22px;
  margin-top: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-align: right;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* == 14. Static pages == */
.gs-page-head { padding-block: 14px 18px; background: var(--gs-surface, #fff); border-block-end: 1px solid var(--gs-line, #ECECEC); }
.gs-page-head h1 { margin: 6px 0 0; font-size: clamp(22px, 3vw, 32px); color: var(--gs-ink, #253D4E); }
.gs-prose {
  max-width: 72ch;
  margin-inline: auto;
  padding-block: 28px 48px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--gs-muted, #7E7E7E);
}
.gs-prose :is(h1, h2, h3, h4, h5, h6) { margin-block: 1.4em .5em; color: var(--gs-ink, #253D4E); }
.gs-prose h2 { font-size: 26px; }
.gs-prose h3 { font-size: 20px; }
.gs-prose a { color: var(--gs-green-text, #176B49); text-decoration: underline; text-underline-offset: 3px; }
.gs-prose a:hover { color: var(--gs-action-hover, #12563B); }
.gs-prose strong, .gs-prose b { color: var(--gs-ink, #253D4E); }
.gs-prose hr { margin-block: 28px; border: 0; border-top: 1px solid var(--gs-line, #ECECEC); }
.gs-prose ul, .gs-prose ol { padding-inline-start: 22px; }
.gs-prose li { margin-block: 6px; }
.gs-prose blockquote { margin: 16px 0; padding: 12px 16px; background: var(--gs-section, #F4F6FA); border: 1px solid var(--gs-line, #ECECEC); border-radius: var(--gs-r-l, 10px); color: var(--gs-muted, #7E7E7E); }
.gs-prose code { padding: 2px 6px; background: var(--gs-soft, #F2F3F4); border-radius: var(--gs-r-s, 4px); font-size: .92em; }
.gs-prose pre { padding: 16px; background: var(--gs-soft, #F2F3F4); border-radius: var(--gs-r-l, 10px); overflow-x: auto; }
.gs-prose img { border-radius: var(--gs-r-l, 10px); margin-block: 12px; }
.gs-prose table { width: 100%; border-collapse: collapse; margin-block: 16px; font-size: 14px; }
.gs-prose th, .gs-prose td { padding: 9px 12px; border: 1px solid var(--gs-line, #ECECEC); text-align: start; }
.gs-prose th { background: var(--gs-line, #ECECEC); color: var(--gs-ink, #253D4E); font-weight: 700; }

/* == 15. Empty states + skeleton == */
.gs-empty {
  padding: 56px 20px;
  background: var(--gs-surface, #fff);
  border: 1px dashed var(--gs-line, #ECECEC);
  border-radius: var(--gs-r-xl, 15px);
  text-align: center;
}
.gs-empty :is(h2, h3) { margin-bottom: 6px; font-size: 20px; color: var(--gs-ink, #253D4E); }
.gs-empty p { margin: 0 auto; max-width: 48ch; }
.gs-empty__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }

@keyframes gs-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.gs-skeleton {
  display: block;
  background: linear-gradient(90deg, var(--gs-soft, #F2F3F4) 25%, #FAFBFC 37%, var(--gs-soft, #F2F3F4) 63%);
  background-size: 400% 100%;
  animation: gs-shimmer 1.2s ease-in-out infinite;
  border-radius: var(--gs-r-m, 5px);
}
