/* Dana core - tokens, the colour chain, type, buttons, section heads, slider
 * chrome, scroll reveal. Loaded on every page by layout.jinja, after base.css.
 *
 * The look is Vineta's (the bought template, design/css/styles.css), measured
 * 2026-09-28 on its fashion page (index.html) at 1440 and 390: Poppins 14/20
 * body in #000 on white, headings 500 in #000, the dark pill button #101828
 * (btn-dark2), the coral #ff6f61 for prices on sale, badges and hovers, 16px
 * picture corners, the 1488px container with 24px gutters (15px under 768).
 * Those are the defaults below (--dana-look-*). Every other design of Dana
 * carries its identity as settings in its preset (fonts, colours, corners,
 * button shape, dots), which layout.jinja writes as --dana-set-*; no design
 * has a look file of its own unless CSS must differ and no setting can say it.
 *
 * Colour chain (brief, 2026-09-28): the merchant's Dana colour
 * (--dana-set-*, written by layout.jinja only when filled) > the store's Zid
 * brand colour (primary and its text only, --dana-brand-*) > the look's own
 * default. Every Dana sheet reads the --dana-* tokens; a section writes a
 * colour of its own only from its own settings.
 *
 * Sizes are px: the starter's root font-size is 12px (runbook 5.0), so rem
 * would draw everything at 75%. One sheet for both directions: logical
 * properties, and what cannot be logical under [dir].
 */
:root {
  /* ---- The look's defaults: the fashion design (index.html) ------------- */
  --dana-look-primary: #101828;     /* .tf-btn.btn-dark2 fill (--dark-2) */
  --dana-look-on-primary: #ffffff;
  --dana-look-accent: #ff6f61;      /* --primary: sale price, badges, hovers */
  --dana-look-on-accent: #ffffff;
  --dana-look-heading: #000000;     /* h1-h6 var(--dark) */
  --dana-look-text: #000000;        /* body color var(--dark) */
  --dana-look-muted: #545454;       /* --text: footer text, small print */
  --dana-look-background: #ffffff;
  --dana-look-surface: #f5f5f5;     /* --surface: grey panels */
  --dana-look-line: #ebebeb;        /* --line: borders, dividers, arrows */
  --dana-look-stars: #98ab23;       /* .list-star-default i on index */
  --dana-look-radius-button: 99px;  /* .tf-btn 99px: a pill */
  --dana-look-radius-card: 16px;    /* .radius-16 panels */
  --dana-look-radius-image: 16px;   /* .card-product-wrapper, banners */
  --dana-look-fw-heading: 500;

  /* ---- The chain ------------------------------------------------------------ */
  --dana-primary: var(--dana-set-primary, var(--dana-brand-primary, var(--dana-look-primary)));
  --dana-on-primary: var(--dana-set-on-primary, var(--dana-brand-on-primary, var(--dana-look-on-primary)));
  --dana-accent: var(--dana-set-accent, var(--dana-look-accent));
  --dana-on-accent: var(--dana-set-on-accent, var(--dana-look-on-accent));
  --dana-heading: var(--dana-set-heading, var(--dana-look-heading));
  --dana-text: var(--dana-set-text, var(--dana-look-text));
  --dana-muted: var(--dana-set-muted, var(--dana-look-muted));
  --dana-bg: var(--dana-set-background, var(--dana-look-background));
  --dana-surface: var(--dana-set-surface, var(--dana-look-surface));
  --dana-line: var(--dana-set-line, var(--dana-look-line));
  --dana-sale: var(--dana-set-sale-price, var(--dana-accent));
  --dana-on-sale: var(--dana-set-on-sale, var(--dana-on-accent));
  --dana-stars: var(--dana-set-stars, var(--dana-look-stars));
  --dana-badge-bg: var(--dana-set-badge-bg, var(--dana-accent));
  --dana-badge-text: var(--dana-set-badge-text, var(--dana-on-accent));
  /* Colours drawn AS TEXT on the page have an ink token each, and every
     sheet writes `color:` with the ink, never with the fill (Amer's lesson:
     two accent tokens from the start). The ink is the colour itself, unless
     layout.jinja found the merchant's or the brand's colour, or the
     merchant's page ground, leaves it under 2.5:1 against the page (a
     pastel, a yellow, the look's navy on a dark page): then the heading
     colour. The template's own pairs pass (jewelry's gold outline 2.59:1,
     the coral 2.73:1), so every identity keeps its measured look.
       --dana-primary-ink  an outline button's line and words, the starter's
                           primary-coloured text (below)
       --dana-accent-ink   a link's hover, a countdown, a plain arrow's hover
       --dana-sale-ink     the price on sale: its own colour when the
                           merchant set one, else the accent's ink */
  --dana-primary-ink: var(--dana-set-primary-ink, var(--dana-primary));
  --dana-accent-ink: var(--dana-set-accent-ink, var(--dana-accent));
  --dana-sale-ink: var(--dana-set-sale-ink, var(--dana-set-sale-price, var(--dana-accent-ink)));
  /* The old price: the template's var(--dark) at .6 opacity, as a colour so a
     line-through and a parent's opacity do not stack. */
  --dana-price-old: color-mix(in srgb, var(--dana-text) 60%, transparent);
  /* The page's own inks, as worked out here, under names no section turns.
     A section on a dark ground turns --dana-heading and the rest white for
     what stands on it; a card that brings the page's own light panel there
     (the Details card's panel, card-4.css) reads these instead: on the grey
     panel the section's white names read 1.09:1 (review 2026-10-06). */
  --dana-page-heading: var(--dana-heading);
  --dana-page-text: var(--dana-text);
  --dana-page-muted: var(--dana-muted);
  --dana-page-line: var(--dana-line);
  --dana-page-price-old: var(--dana-price-old);
  --dana-page-bg: var(--dana-bg);
  --dana-page-accent-ink: var(--dana-accent-ink);
  --dana-page-sale-ink: var(--dana-sale-ink);
  --dana-page-primary-ink: var(--dana-primary-ink);

  /* Derived shades, for quiet fills and hovers. */
  --dana-primary-soft: color-mix(in srgb, var(--dana-primary) 15%, transparent);
  --dana-accent-soft: color-mix(in srgb, var(--dana-accent) 15%, transparent);

  /* ---- Corners and weight (the Style group) -------------------------------- */
  --dana-radius-button: var(--dana-set-radius-button, var(--dana-look-radius-button));
  --dana-radius-card: var(--dana-set-radius-card, var(--dana-look-radius-card));
  --dana-radius-image: var(--dana-set-radius-image, var(--dana-look-radius-image));
  /* The product card's picture: the Product card group's own corners, else
     the pictures' (the card lane reads this one). */
  --dana-radius-product: var(--dana-set-radius-product, var(--dana-radius-image));
  /* Fields follow the button shape at the template's 6px at most (inputs are
     6px on a pill design, square on a square one); badges at its 22px. */
  --dana-radius-field: min(var(--dana-radius-button), 6px);
  --dana-radius-badge: min(var(--dana-radius-button), 22px);
  --dana-fw-heading: var(--dana-set-fw-heading, var(--dana-look-fw-heading));

  /* ---- Type (styles.css 282-290, 565-700; steps at 1024 and 767) ---------- */
  --dana-fs-body: 14px;
  --dana-lh-body: 20px;
  --dana-fs-h1: 72px; --dana-lh-h1: 90px;
  --dana-fs-h2: 60px; --dana-lh-h2: 72px;
  --dana-fs-h3: 48px; --dana-lh-h3: 60px;
  --dana-fs-h4: 36px; --dana-lh-h4: 44px;
  --dana-fs-h5: 30px; --dana-lh-h5: 38px;
  --dana-fs-h6: 24px; --dana-lh-h6: 32px;
  --dana-fs-xl: 20px; --dana-lh-xl: 30px;
  --dana-fs-lg: 18px; --dana-lh-lg: 28px;
  --dana-fs-md: 16px; --dana-lh-md: 24px;
  --dana-fs-sm: 14px; --dana-lh-sm: 20px;
  --dana-fs-xs: 12px; --dana-lh-xs: 18px;
  /* h4's -0.02em (styles.css h4, .display-md); Arabic takes none. */
  --dana-ls-h4: -0.02em;

  /* ---- Page width: the template's .container (max 1488px with its gutters,
     24px from 768px and 15px under it): 1392px of content in a 1440 window,
     1440px at most. Sections read it through --mt-content-width. ---------- */
  --dana-page-width: 1488px;
  --dana-gutter: 15px;
  --dana-ease: ease-in-out;

  /* The starter's pages and the MT widgets read these names. */
  --primary-color: var(--dana-primary);
  --text-color-primary-bg: var(--dana-on-primary);
  --primary-color-op-5: color-mix(in srgb, var(--dana-primary) 5%, transparent);
  --buttons-bg-color: var(--dana-primary);
  --buttons-color: var(--dana-on-primary);
}
@media (min-width: 768px) { :root { --dana-gutter: 24px; } }
@media (max-width: 1024px) {
  :root {
    --dana-fs-h1: 52px; --dana-lh-h1: 70px;
    --dana-fs-h2: 40px; --dana-lh-h2: 52px;
    --dana-fs-h3: 38px; --dana-lh-h3: 50px;
    --dana-fs-h4: 30px; --dana-lh-h4: 38px;
    --dana-fs-h5: 28px; --dana-lh-h5: 36px;
    --dana-fs-h6: 22px; --dana-lh-h6: 30px;
  }
}
@media (max-width: 767px) {
  :root {
    --dana-fs-h1: 42px; --dana-lh-h1: 60px;
    --dana-fs-h2: 30px; --dana-lh-h2: 42px;
    --dana-fs-h3: 28px; --dana-lh-h3: 40px;
    --dana-fs-h4: 24px; --dana-lh-h4: 32px;
    --dana-fs-h5: 22px; --dana-lh-h5: 30px;
    --dana-fs-h6: 20px; --dana-lh-h6: 28px;
    --dana-fs-xl: 18px; --dana-lh-xl: 28px;
    --dana-fs-lg: 16px; --dana-lh-lg: 26px;
    --dana-fs-md: 14px; --dana-lh-md: 22px;
  }
}
[dir="rtl"] { --dana-ls-h4: 0; }

body {
  background-color: var(--dana-bg);
  color: var(--dana-text);
}
/* No sideways page scroll, whatever a section, an app or a half-loaded page
   does (a menu wider than its row, a slider before its script). `clip`, never
   `hidden`: hidden makes body a scroll container and every position:sticky
   inside it (the header, a product gallery) stops sticking; clip only cuts
   the paint. On <html> it reaches the viewport; on <body> it cuts at the
   page's own edge, so nothing is left to scroll to. Safari before 16 ignores
   it and behaves as before. (conventions.md, traps met building Amer) */
html, body { overflow-x: clip; }
/* A scroll lock put on <body> (Zid's login dialog writes overflow: hidden on
   it; Bootstrap's modals add .modal-open) sent the page to the top on Amer:
   with <html> clipped, body's overflow no longer passes to the window, body
   became its own scroll box and the window's scroll fell to 0. The lock moves
   to <html>, which does reach the window. */
body.modal-open, body[style*="overflow: hidden"], body[style*="overflow:hidden"] { overflow: visible !important; }
html:has(> body.modal-open), html:has(> body[style*="overflow: hidden"]), html:has(> body[style*="overflow:hidden"]) { overflow: hidden; }

/* ---- Bars along the bottom edge -------------------------------------------
   ui.js measures a bar that is not the theme's (Zid's preview bar on a
   ?theme= copy, an app's cookie bar) into --dana-zid-bar. The theme's own
   bottom bars (the phone toolbar, a product page's add-to-cart bar) stand on
   it by `translate`, which moves a fixed box without touching its offsets or
   its own transform and never counts as a layout shift (Amer: a margin cost
   0.028 CLS on every phone page). The page ends that much later, on .app,
   where the page really ends (the starter holds html and body at 100%, so a
   padding there lay one screen down). */
.dana-toolbar, .dana-sticky-atc { translate: 0 calc(-1 * var(--dana-zid-bar, 0px)); }
.app { padding-block-end: var(--dana-zid-bar, 0px); }
/* The phone and tablet bottom bar (the template's .tf-toolbar-bottom, shown
   under 1200px, 67px tall): while it has at least one button
   (<html data-dana-toolbar>, written by layout.jinja from the Bottom bar
   group) the page ends that much later, so the footer's last row is never
   under it. The widgets lane's toolbar sets --dana-toolbar-h if it is drawn
   at another height. */
@media (max-width: 1199px) {
  html[data-dana-toolbar] .app { padding-block-end: calc(var(--dana-toolbar-h, 67px) + var(--dana-zid-bar, 0px)); }
}

/* ---- Containers and the section shell ------------------------------------ */
.dana-container {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: var(--dana-page-width);
  margin-inline: auto;
  padding-inline: var(--dana-gutter);
}
.dana-container--full { max-inline-size: none; }
/* A Dana section sits in the starter's shell (.mt-section__content, capped at
   75rem = 900px); .dana-section widens it to the template's container. A
   section that wants another width sets --mt-content-width itself. */
.dana-section {
  --mt-content-width: var(--dana-page-width);
  --mt-content-gutter: var(--dana-gutter);
  font-size: var(--dana-fs-body);
  line-height: var(--dana-lh-body);
  color: var(--dana-text);
}
.dana-section *, .dana-section *::before, .dana-section *::after { box-sizing: border-box; }
/* Everything in <main> that is not a section inherits the template's body
   text instead of the starter's 12px (Amer: FAQ answers and page text sat at
   12px until each page set its own). */
#dana-main { font-size: var(--dana-fs-body); line-height: var(--dana-lh-body); }

/* ---- Type --------------------------------------------------------------- */
.dana-section :where(h1, h2, h3, h4, h5, h6),
.dana-h1, .dana-h2, .dana-h3, .dana-h4, .dana-h5, .dana-h6 {
  font-family: var(--dana-font-heading);
  font-weight: var(--dana-fw-heading);
  color: var(--dana-heading);
  margin: 0;
  text-rendering: optimizeLegibility;
}
.dana-h1 { font-size: var(--dana-fs-h1); line-height: var(--dana-lh-h1); }
.dana-h2 { font-size: var(--dana-fs-h2); line-height: var(--dana-lh-h2); }
.dana-h3 { font-size: var(--dana-fs-h3); line-height: var(--dana-lh-h3); }
.dana-h4 { font-size: var(--dana-fs-h4); line-height: var(--dana-lh-h4); letter-spacing: var(--dana-ls-h4); }
.dana-h5 { font-size: var(--dana-fs-h5); line-height: var(--dana-lh-h5); }
.dana-h6 { font-size: var(--dana-fs-h6); line-height: var(--dana-lh-h6); }
.dana-text-xl { font-size: var(--dana-fs-xl); line-height: var(--dana-lh-xl); }
.dana-text-lg { font-size: var(--dana-fs-lg); line-height: var(--dana-lh-lg); }
.dana-text-md { font-size: var(--dana-fs-md); line-height: var(--dana-lh-md); }
.dana-text-sm { font-size: var(--dana-fs-sm); line-height: var(--dana-lh-sm); }
.dana-text-xs { font-size: var(--dana-fs-xs); line-height: var(--dana-lh-xs); }
.dana-muted { color: var(--dana-muted); }
.dana-eyebrow {
  display: inline-block;
  font-size: var(--dana-fs-md);
  line-height: var(--dana-lh-md);
  font-weight: 500;
  text-transform: uppercase;
}
/* Arabic has no capitals and suffers from tracking. */
[dir="rtl"] .dana-eyebrow { text-transform: none; letter-spacing: 0; }

/* ---- Section head (the template's .flat-title) ----------------------------
   A centred stack, 12px apart, 30px above the content and 48px from 1200px
   (styles.css 17957 and 20327); --between puts the title at the start and
   one item (a link, arrows, a countdown) at the end; --start keeps the stack
   at the start. The title is .dana-h4 on whatever heading level the page's
   outline needs (SEO: levels by meaning). A head the template spaces
   otherwise (.flat-title.mb_1, .style-2) says so in its section's sheet. */
.dana-head { display: grid; gap: 12px; text-align: center; margin-block-end: 30px; }
@media (min-width: 1200px) { .dana-head { margin-block-end: 48px; } }
.dana-head--start { text-align: start; }
.dana-head--between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; text-align: start; }
.dana-head__main { display: grid; gap: 12px; min-inline-size: 0; }
.dana-head__title { font-size: var(--dana-fs-h4); line-height: var(--dana-lh-h4); letter-spacing: var(--dana-ls-h4); }
.dana-head__text { margin: 0; font-size: var(--dana-fs-md); line-height: var(--dana-lh-md); color: var(--dana-muted); }
/* The template stacks a split head centred under 768 (styles.css 22101). */
@media (max-width: 767px) {
  .dana-head--between { flex-direction: column; justify-content: center; text-align: center; }
}

/* ---- Buttons (the template's .tf-btn) -------------------------------------
   Filled: .tf-btn.btn-dark2 - the primary with its text colour, a 1px line
   of the same colour, the Style group's shape (a 99px pill on the fashion
   design), 13px 32px, 16/24 at 500: 52px tall from 992px; 10px 24px under it
   (46px); 14/24 with 6px 20px under 768 (38px). Measured on index.html:1112
   at 1440, 768 and 390. Both colours of the pair always go together. */
.dana-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 32px;
  border: 1px solid var(--dana-primary);
  border-radius: var(--dana-radius-button);
  background-color: var(--dana-primary);
  color: var(--dana-on-primary);
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s var(--dana-ease), background-color .3s var(--dana-ease), border-color .3s var(--dana-ease);
}
.dana-btn:hover, .dana-btn:focus-visible { color: var(--dana-on-primary); text-decoration: none; }
/* The Look group's «buttons font: headings» (the template's .tf-btn.font-2:
   fashion-women's hero, tiles and banner, jewelry's hero and banner
   buttons, Phase 7 ID-12): every button, the product card's too, in the
   headings font. By default a button takes the font of where it stands. */
html.dana-btn-font-heading .dana-btn { font-family: var(--dana-font-heading); }
.dana-btn .di { font-size: 16px; }
/* The template's .animate-btn light sweep: a band of light crosses the
   button once on hover, right to left (shine-reverse, 1s). Drawn with
   transform, so it never moves the layout and has no side to mirror. */
.dana-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(120deg, rgba(0, 0, 0, 0) 20%, rgba(255, 255, 255, .4), rgba(0, 0, 0, 0) 70%);
  opacity: .6;
  transform: translateX(-100%);
  pointer-events: none;
}
.dana-btn:hover::after, .dana-btn:focus-visible::after { animation: dana-shine 1s forwards; }
@keyframes dana-shine { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
/* The sweep passes once and ends off the button, so a filled button had no
   state of its own while hovered or focused: keyboard focus vanished after
   1s, and with reduced motion (no sweep) there was no hover at all (review
   2026-09-28, standing rules 1 and 2). A lasting tint stays while it is
   hovered or focused: the fill 14% of the way to its own text colour
   (lighter on a dark button, darker on a light one), drawn by ::before in
   currentColor, so it needs no colour-mix() and no second colour pair. The
   outline and light buttons fill on hover, which lasts already. */
.dana-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--dana-ease);
}
.dana-btn:not(.dana-btn--outline, .dana-btn--light):is(:hover, :focus-visible)::before { opacity: .14; }
/* On a light fill the sweep is a shadow (the template's .animate-dark). */
.dana-btn--light::after, .dana-btn--outline::after { background-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .25), transparent); }
/* Outline: .tf-btn.btn-out-line-dark2 - transparent, a 1px line and the text
   in the primary; filled with it on hover (fashion-women.html:1906). */
.dana-btn--outline { background-color: transparent; border-color: var(--dana-primary-ink); color: var(--dana-primary-ink); }
.dana-btn--outline:hover, .dana-btn--outline:focus-visible { background-color: var(--dana-primary); border-color: var(--dana-primary); color: var(--dana-on-primary); }
/* White on a picture or a dark band (.btn-white hover-dark). */
.dana-btn--light { background-color: #ffffff; border-color: #ffffff; color: #000000; }
.dana-btn--light:hover, .dana-btn--light:focus-visible { background-color: var(--dana-primary); border-color: var(--dana-primary); color: var(--dana-on-primary); }
/* The accent fill (.btn-primary). */
.dana-btn--accent { background-color: var(--dana-accent); border-color: var(--dana-accent); color: var(--dana-on-accent); }
.dana-btn--accent:hover, .dana-btn--accent:focus-visible { color: var(--dana-on-accent); }
.dana-btn--small { padding: 9px 27px; }
.dana-btn--block { inline-size: 100%; }
.dana-btn[disabled], .dana-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
@media (max-width: 991px) { .dana-btn { padding: 10px 24px; gap: 8px; } }
@media (max-width: 767px) { .dana-btn { padding: 6px 20px; font-size: 14px; line-height: 24px; } }
@media (prefers-reduced-motion: reduce) { .dana-btn:hover::after, .dana-btn:focus-visible::after { animation: none; } }

/* Text link with a line under it (.tf-btn.btn-line-dark): 16/24 at 500, the
   line 1px at the bottom; the text and the line take the accent on hover. */
.dana-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dana-heading);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color .3s var(--dana-ease);
}
.dana-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 1px;
  background-color: currentColor;
  transition: background-color .3s var(--dana-ease);
}
.dana-link:hover, .dana-link:focus-visible { color: var(--dana-accent-ink); text-decoration: none; }
.dana-link .di { font-size: 12px; }
/* The growing line (.tf-btn.btn-line): no line at rest, one drawn from the
   reading start on hover. */
.dana-link--grow::after { inline-size: 0; inset-inline-end: auto; transition: inline-size .3s var(--dana-ease), background-color .3s var(--dana-ease); }
.dana-link--grow:hover::after, .dana-link--grow:focus-visible::after { inline-size: 100%; }

/* ---- Price, badge, stars --------------------------------------------------
   .price-wrap: 16/24, the new price in the sale colour, the old one at 60%
   with a line through it (styles.css 12282, 12971). The badge is
   .on-sale-item: 26px, 13px at 500, 10px sides, the accent, the button
   shape's corners up to 22px (jewelry squares both). */
.dana-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--dana-heading); }
.dana-price__old { font-weight: 400; color: var(--dana-price-old); text-decoration: line-through; text-decoration-thickness: 1px; }
.dana-price--sale .dana-price__now { color: var(--dana-sale-ink); }
.dana-badge { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 50px; block-size: 26px; padding-inline: 10px; border-radius: var(--dana-radius-badge); background: var(--dana-badge-bg); color: var(--dana-badge-text); font-size: 13px; line-height: 26px; font-weight: 500; white-space: nowrap; }
@media (max-width: 767px) { .dana-price { font-size: 14px; line-height: 22px; } .dana-badge { block-size: 24px; line-height: 24px; font-size: 12px; } }
/* Five stars from the icon font (icon-star), the filled share on top.
   The spacing (letter-spacing, which a sheet may change) follows each star,
   the fifth too, so a star's pitch is a fifth of the row and the star itself
   1em. The filled share counts whole stars with their spacing and the part
   star without it: value / 5 of the row filled 4.5 stars' fifth star 65% in
   English and 30% in Arabic (card lane, 2026-09-29). The stars are a
   left-to-right run in both languages, so in Arabic the start, the right,
   begins with one spacing: a pitch less a star. Written with the pitch
   (20%), not the spacing, so a sheet's own letter-spacing (the product
   page's 5px, testimonials' 7.5px) needs nothing more. round() is recent
   (Safari 15.4, Chrome 125): older browsers keep the plain share. */
.dana-stars { --dana-stars-value: 0; display: inline-block; position: relative; font-family: "dana-icons" !important; font-style: normal; font-weight: normal; font-size: 14px; line-height: 1; letter-spacing: 5px; white-space: nowrap; vertical-align: -0.0625em; color: var(--dana-line); speak: never; -webkit-font-smoothing: antialiased; }
.dana-stars::before { content: "\e95b\e95b\e95b\e95b\e95b"; }
.dana-stars::after { content: "\e95b\e95b\e95b\e95b\e95b"; position: absolute; inset-block-start: 0; inset-inline-start: 0; inline-size: calc(var(--dana-stars-value) / 5 * 100%); overflow: hidden; white-space: nowrap; color: var(--dana-stars); }
@supports (inline-size: round(down, 4.5px, 1px)) {
  .dana-stars::after { inline-size: min(100%, calc(round(down, var(--dana-stars-value), 1) * 20% + (var(--dana-stars-value) - round(down, var(--dana-stars-value), 1)) * 1em)); }
  [dir="rtl"] .dana-stars::after { inline-size: min(100%, calc((round(down, var(--dana-stars-value), 1) + 1) * 20% - (1 - var(--dana-stars-value) + round(down, var(--dana-stars-value), 1)) * 1em)); }
}

/* ---- Shared helpers -------------------------------------------------------- */
.dana-visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.dana-media { position: relative; display: block; overflow: hidden; border-radius: var(--dana-radius-image); background: var(--dana-surface); }
.dana-media > img, .dana-media > video { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.dana-panel { border-radius: var(--dana-radius-card); background: var(--dana-surface); }
.dana-reset-list { list-style: none; margin: 0; padding: 0; }
/* A link that holds only a picture has no colour of its own, so Bootstrap's
   link blue reached the alt text whenever the picture failed (Amer). */
.dana-section a:has(> img:only-child) { color: inherit; }

/* ---- Interaction: focus, hover, tap (the owner's standing rules) ---------
   1. No focus ring on click or tap, ever. Bootstrap's reboot gives every
      focused <button> `outline: 5px auto` and its .btn and .form-control a
      box-shadow ring; Zid's own dialogs bring more. !important because the
      rings come from sheets the theme does not own.
   2. Keyboard focus shows the element's hover state: every hover rule in the
      theme is written `:hover, :focus-visible`.
   3. A field shows its focus as a border colour, never a ring.
   4. Every link and button changes over .25s; :where() keeps the default at
      zero specificity, so a section's own transition replaces it whole.
   5. No grey or blue flash on tap. */
html { -webkit-tap-highlight-color: transparent; }
:focus, :focus-visible { outline: none !important; }
:is(.btn, .form-control, .custom-select, .custom-file-input, .page-link, .close, .navbar-toggler):focus,
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: none !important; }
:where(a, button, summary, label, [role="button"], [role="tab"], input[type="submit"], input[type="button"], input[type="reset"], .btn) {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, opacity .25s ease,
    transform .25s ease, box-shadow .25s ease, text-decoration-color .25s ease, fill .25s ease, stroke .25s ease;
}
:where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="submit"], [type="button"], [type="reset"], [type="image"]), select, textarea) {
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}
:where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="submit"], [type="button"], [type="reset"], [type="image"]), select, textarea):focus { border-color: var(--dana-heading); }
.form-control:focus, .custom-select:focus { border-color: var(--dana-heading); }

/* ---- The starter's primary-coloured text ----------------------------------
   The starter's sheets draw 45 texts in --primary-color (a price, the
   breadcrumb, «continue shopping», a cart total, a picked option), which
   this sheet maps to Dana's primary, the FILL. A pale merchant primary
   (#f6d860) put them at 1.19-1.41:1 on the category, product and cart pages
   (review 2026-09-28). Each rule is repeated here with the ink, selector for
   selector at the same weight: this sheet loads after them, so it wins, and
   it still loses to anything more specific the starter wrote (its :hover
   and .selected states). A page sheet's rules are fenced to the pages that
   link it with :where(), which adds no weight, so a class it styles is left
   alone elsewhere (`.section-title` on the category page); one selector
   each, never :is(), which takes its heaviest argument's weight. No later
   same-selector rule sets another colour (checked). Written by
   starter_ink.py (the foundation's scratch folder); each part goes with the
   starter page it serves when that page is rebuilt. */
/* main.css */
.text-color-primary,
.cart-title,
.cart-content .cart-price,
.cart-show,
.subscribe-bar button,
.cart-sidebar-header,
.breadcrumb-item a,
.card-price,
.icon-filter_alt_black_24dp,
.icon-sort_filter,
.faqs-title,
.blog-title h1,
.shipping-nav-title,
.checkbox-extra,
.icon-content_copy,
.btn-outline-primary,
.div-dropdown label,
.theme-text-primary { color: var(--dana-primary-ink); }
/* main.css, @media only screen and (max-width: 768px) */
@media only screen and (max-width: 768px) {
.faqs-title { color: var(--dana-primary-ink); }
}
/* main.css, !important */
.theme-title-primary { color: var(--dana-primary-ink) !important; }
/* custom.css (Slick's arrows went with Slick, 2026-09-29) */
.category-item h3,
.card-item h3,
.products-pagination .page-link { color: var(--dana-primary-ink); }
/* cart.css. Its titles, coupon and discount-rule lines, the shipping page's
   (shipping-section.css) and the blog's (blogs.css) went on 2026-09-29: the
   rebuilt cart, shipping and blog pages draw none of those classes and none
   of the three sheets is linked any more (probed on every page of 20
   scenarios, both languages, 1440 and 390). */
:where(body[data-template="cart_page"]) .cart-product-prices .totals { color: var(--dana-primary-ink); }

/* ---- Scroll reveal (the template's wow.js + animate.css fadeInUp) ---------
   20px up and in over 1s, ease (animate.css 1206, .animated 1s). A section
   marks what takes part with data-dana-reveal (the template's
   `wow fadeInUp`); ui.js hides only what is still below the fold when it
   runs, and only once it has put .dana-reveal on <html>. Without the script,
   for a crawler, with reduced motion or with the Style group's switch off,
   everything is simply there. Opacity and transform only: nothing moves
   the layout and the text stays in the page. */
html.dana-reveal [data-dana-reveal-state="wait"] { opacity: 0; }
html.dana-reveal [data-dana-reveal-state="in"] { animation: dana-reveal 1s ease var(--dana-reveal-delay, 0s) backwards; }
@keyframes dana-reveal { from { opacity: 0; transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) {
  html.dana-reveal [data-dana-reveal-state] { opacity: 1; animation: none; }
}

/* ---- Slider chrome ---------------------------------------------------------
   The template's arrows, dots and progress bar, for every Swiper section.
   ui.js finds them inside the slider's closest [data-dana-slider]:
   [data-dana-prev], [data-dana-next], [data-dana-dots], [data-dana-progress].

   Arrows, .dana-sw-nav + --prev / --next (.nav-swiper): a 44px white circle,
   a 1px line, the dark chevron (the template's Swiper chevron is 6.5 x 12px of
   ink at its 12px; this font's draws 6.5 x 11.9 at 13px); dark (rgba 0 0 0 .8) with a white
   chevron on hover; a dimmed dark fill when there is nowhere to go. 40px
   under 768 (styles.css 21925). The chevron is drawn here from the icon
   font and points the way it moves: in Arabic «previous» sits on the right
   and points right.
     --line   transparent with a dark line (.style-line)
     --light  a white line and chevron on a picture (.line-white)
     --plain  48px, no circle, the long arrow (.style-1)
     --sm 36px, --xs 30px, --lg 48px (.size-36, .size-30, .size-48) */
.dana-sw-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 1px solid var(--dana-line);
  border-radius: 999px;
  background-color: var(--dana-bg);
  color: var(--dana-heading);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .3s var(--dana-ease), color .3s var(--dana-ease), border-color .3s var(--dana-ease), opacity .3s var(--dana-ease);
}
.dana-sw-nav::after {
  font-family: "dana-icons";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}
.dana-sw-nav--prev::after { content: "\e95c"; }
.dana-sw-nav--next::after { content: "\e95d"; }
[dir="rtl"] .dana-sw-nav--prev::after, [dir="rtl"] .dana-sw-nav--next::after { transform: scaleX(-1); }
.dana-sw-nav:hover, .dana-sw-nav:focus-visible { background-color: rgba(0, 0, 0, .8); border-color: rgba(0, 0, 0, .8); color: #ffffff; }
/* Nowhere to go: the template's dimmed fill, and the whole arrow at .35 as
   Swiper dims every template arrow (they all carry swiper-button-prev /
   -next: .swiper-button-disabled { opacity: .35; pointer-events: none }). */
.dana-sw-nav.swiper-button-disabled { background-color: rgba(0, 0, 0, .4); border-color: transparent; color: var(--dana-heading); cursor: default; opacity: .35; pointer-events: none; }
/* Every slide fits: no arrows, whatever display a section gives its own
   (the blog's hover arrows showed two dead circles, 2026-09-29 review). */
.dana-sw-nav.swiper-button-lock { display: none !important; }
.dana-sw-nav--line { background-color: transparent; border-color: var(--dana-heading); }
.dana-sw-nav--line:hover:not(.swiper-button-disabled), .dana-sw-nav--line:focus-visible { background-color: var(--dana-heading); border-color: var(--dana-heading); color: var(--dana-bg); }
.dana-sw-nav--line.swiper-button-disabled { background-color: transparent; border-color: rgba(0, 0, 0, .4); color: rgba(0, 0, 0, .4); }
.dana-sw-nav--light { background-color: transparent; border-color: #ffffff; color: #ffffff; }
.dana-sw-nav--light:hover:not(.swiper-button-disabled), .dana-sw-nav--light:focus-visible { background-color: #ffffff; border-color: #ffffff; color: #000000; }
.dana-sw-nav--light.swiper-button-disabled { background-color: transparent; border-color: rgba(255, 255, 255, .4); color: rgba(255, 255, 255, .4); }
.dana-sw-nav--plain { inline-size: 48px; block-size: 48px; border: 0; background-color: transparent; font-size: 18px; }
.dana-sw-nav--plain:hover, .dana-sw-nav--plain:focus-visible { background-color: transparent; border-color: transparent; color: var(--dana-accent-ink); }
/* The long arrow has no circle to dim (.style-1: transparent !important):
   only the .35. */
.dana-sw-nav--plain.swiper-button-disabled { background-color: transparent; }
.dana-sw-nav--plain.dana-sw-nav--prev::after { content: "\e903"; }
.dana-sw-nav--plain.dana-sw-nav--next::after { content: "\e904"; }
.dana-sw-nav--xs { inline-size: 30px; block-size: 30px; font-size: 11px; }
.dana-sw-nav--sm { inline-size: 36px; block-size: 36px; font-size: 11px; }
.dana-sw-nav--lg { inline-size: 48px; block-size: 48px; font-size: 15px; }
@media (max-width: 767px) { .dana-sw-nav:not(.dana-sw-nav--xs, .dana-sw-nav--sm, .dana-sw-nav--plain) { inline-size: 40px; block-size: 40px; } }
/* A row of arrows (.box-nav-swiper). */
.dana-sw-navs { display: flex; gap: 8px; }

/* Dots, .dana-dots: the look is the Style group's «slider dots», a class on
   <html>, so a section writes one element and every design draws its own.
     ring  (.sw-dot-default) 16px bullets 4px apart, a 6px dot inside; the
           current one ringed. Every first-batch page.
     small (.sw-dot-default.style-sm) 14px bullets 2px apart, a 4px dot.
     halo  (.sw-dots.style-2.type-2) 8px dots 10px apart; the current one
           dark with a soft 9px halo round it.
     plain  8px dots 8px apart, the current one dark; no ring.
   --light (.style-white) draws them white on a picture. The row is held at
   its height before the script so the section does not grow when the dots
   arrive; a slider whose slides all fit hides them (swiper-pagination-lock).
   --below-xl shows them only under 1200px (the template's d-xl-none: most
   sliders show arrows from 1200 and dots under it). */
.dana-dots, .dana-progress { --swiper-pagination-bullet-horizontal-gap: 0px; --swiper-pagination-bullet-vertical-gap: 0px; }
.dana-dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; min-block-size: 16px; margin-block-start: 20px; }
.dana-dots.swiper-pagination-lock { display: none; }
.dana-dots .swiper-pagination-bullet {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 16px;
  block-size: 16px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  transition: border-color .3s var(--dana-ease), background-color .3s var(--dana-ease), box-shadow .3s var(--dana-ease), margin .3s var(--dana-ease);
}
.dana-dots .swiper-pagination-bullet::before {
  content: "";
  display: block;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 999px;
  background-color: var(--dana-dot-idle, #b1b1b1);
  transition: background-color .3s var(--dana-ease);
}
.dana-dots .swiper-pagination-bullet-active { border-color: var(--dana-dot-active, var(--dana-heading)); }
.dana-dots .swiper-pagination-bullet-active::before { background-color: var(--dana-dot-active, var(--dana-heading)); }
/* Swiper makes every bullet a Tab stop: keyboard focus shows the hover. */
.dana-dots .swiper-pagination-bullet:hover::before,
.dana-dots .swiper-pagination-bullet:focus-visible::before { background-color: var(--dana-dot-active, var(--dana-heading)); }
.dana-dots-small .dana-dots { gap: 2px; min-block-size: 14px; }
.dana-dots-small .dana-dots .swiper-pagination-bullet { inline-size: 14px; block-size: 14px; }
.dana-dots-small .dana-dots .swiper-pagination-bullet::before { inline-size: 4px; block-size: 4px; }
.dana-dots-halo .dana-dots, .dana-dots-plain .dana-dots { gap: 10px; min-block-size: 26px; }
.dana-dots-halo .dana-dots .swiper-pagination-bullet, .dana-dots-plain .dana-dots .swiper-pagination-bullet { inline-size: 8px; block-size: 8px; border: 0; background-color: var(--dana-dot-idle, #bababa); }
.dana-dots-halo .dana-dots .swiper-pagination-bullet::before, .dana-dots-plain .dana-dots .swiper-pagination-bullet::before { content: none; }
.dana-dots-halo .dana-dots .swiper-pagination-bullet-active { margin-inline: 9px; background-color: var(--dana-dot-active, var(--dana-heading)); box-shadow: 0 0 0 9px var(--dana-dot-halo, color-mix(in srgb, var(--dana-line) 70%, transparent)); }
.dana-dots-plain .dana-dots { gap: 8px; min-block-size: 8px; }
.dana-dots-plain .dana-dots .swiper-pagination-bullet-active { background-color: var(--dana-dot-active, var(--dana-heading)); }
.dana-dots-halo .dana-dots .swiper-pagination-bullet:hover, .dana-dots-plain .dana-dots .swiper-pagination-bullet:hover,
.dana-dots-halo .dana-dots .swiper-pagination-bullet:focus-visible, .dana-dots-plain .dana-dots .swiper-pagination-bullet:focus-visible { background-color: var(--dana-dot-active, var(--dana-heading)); }
.dana-dots--light { --dana-dot-idle: rgba(255, 255, 255, .6); --dana-dot-active: #ffffff; --dana-dot-halo: rgba(255, 255, 255, .4); }
@media (min-width: 1200px) { .dana-dots--below-xl { display: none; } }
/* The progress bar (pagination type "progressbar", .swiper-pagination-
   progressbar): 4px, fully rounded, #d9d9d9 with the accent filling it,
   30px under the slider. Swiper's own sheet lays it over the slider
   (position: absolute); here it sits in the flow under it. */
.dana-progress.swiper-pagination-progressbar { position: relative; inset: auto; inline-size: 100%; block-size: 4px; margin-block-start: 30px; border-radius: 34px; overflow: hidden; background: #d9d9d9; }
.dana-progress .swiper-pagination-progressbar-fill { background: var(--dana-accent); border-radius: 34px; }
.dana-progress.swiper-pagination-lock { display: none; }

/* ---- A slider before its script runs ----------------------------------------
   A slow phone, or the script blocked: every slide side by side would push
   the page sideways, or one giant card would stand in the row until the
   script arrived (a layout shift on every home page, Amer). So until Swiper
   marks it initialised, a slider is already its first row at its final size:
   the slides are as wide as Swiper will make them and the rest wait off to
   the side inside the row, which scrolls (nothing out of reach without the
   script).

   The sizes come from custom properties the section writes on the
   .swiper element from the same numbers as its data-swiper JSON:
     --dana-per, --dana-gap                 slidesPerView, spaceBetween (base)
     --dana-per-575 / -768 / -992 / -1200 / -1440 and
     --dana-gap-768 / -1200 / -1440         the breakpoints of the JSON
   each falling back down the chain, as Swiper does. A section keeps them in
   step by writing both from one Jinja dict, and writes a property only
   when its level names the number (65 of the template's 1008 breakpoint
   entries have no spaceBetween; `--dana-gap-768: px` made the whole calc
   invalid and the slides shrank to their content):
     {% set sw = {"slidesPerView": 2, "spaceBetween": 12, "breakpoints": {"768": {...}, "1200": {...}}} %}
     data-swiper='{{ sw | tojson }}'
   In SINGLE quotes: tojson's output is already marked safe, so `| e`
   escapes nothing, and in double quotes the JSON's first " closed the
   attribute; ui.js then fell back to one slide per view (header, card and
   five section lanes, 2026-09-28). tojson escapes ' itself.
     style="--dana-per: {{ sw.slidesPerView | default(1) }}; --dana-gap: {{ sw.spaceBetween | default(0) }}px;{% for bp, o in sw.breakpoints.items() %}{% if o.slidesPerView is defined and o.slidesPerView is number %} --dana-per-{{ bp }}: {{ o.slidesPerView }};{% endif %}{% if o.spaceBetween is defined %} --dana-gap-{{ bp }}: {{ o.spaceBetween }}px;{% endif %}{% endfor %}"
   (slidesPerView "auto" is not a number: leave it out and give the slides
   their own width.) A breakpoint this list does not name (577, 991) falls
   back to the one below; name the nearest listed one instead. */
.swiper[data-dana-swiper]:not(.swiper-initialized) {
  --dana-sw-n: var(--dana-per, 1);
  --dana-sw-g: var(--dana-gap, 0px);
}
@media (min-width: 575px) { .swiper[data-dana-swiper]:not(.swiper-initialized) { --dana-sw-n: var(--dana-per-575, var(--dana-per, 1)); --dana-sw-g: var(--dana-gap-575, var(--dana-gap, 0px)); } }
@media (min-width: 768px) { .swiper[data-dana-swiper]:not(.swiper-initialized) { --dana-sw-n: var(--dana-per-768, var(--dana-per-575, var(--dana-per, 1))); --dana-sw-g: var(--dana-gap-768, var(--dana-gap-575, var(--dana-gap, 0px))); } }
@media (min-width: 992px) { .swiper[data-dana-swiper]:not(.swiper-initialized) { --dana-sw-n: var(--dana-per-992, var(--dana-per-768, var(--dana-per-575, var(--dana-per, 1)))); --dana-sw-g: var(--dana-gap-992, var(--dana-gap-768, var(--dana-gap-575, var(--dana-gap, 0px)))); } }
@media (min-width: 1200px) { .swiper[data-dana-swiper]:not(.swiper-initialized) { --dana-sw-n: var(--dana-per-1200, var(--dana-per-992, var(--dana-per-768, var(--dana-per-575, var(--dana-per, 1))))); --dana-sw-g: var(--dana-gap-1200, var(--dana-gap-992, var(--dana-gap-768, var(--dana-gap-575, var(--dana-gap, 0px))))); } }
@media (min-width: 1440px) { .swiper[data-dana-swiper]:not(.swiper-initialized) { --dana-sw-n: var(--dana-per-1440, var(--dana-per-1200, var(--dana-per-992, var(--dana-per-768, var(--dana-per-575, var(--dana-per, 1)))))); --dana-sw-g: var(--dana-gap-1440, var(--dana-gap-1200, var(--dana-gap-992, var(--dana-gap-768, var(--dana-gap-575, var(--dana-gap, 0px)))))); } }
/* display: flex here too, not only in Swiper's sheet: without that sheet
   (it failed, or it is still loading) the slides stacked one under another,
   1392 x 840 for seven cards (review 2026-09-28). */
.swiper[data-dana-swiper]:not(.swiper-initialized) > .swiper-wrapper { display: flex; gap: var(--dana-sw-g); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.swiper[data-dana-swiper]:not(.swiper-initialized) > .swiper-wrapper::-webkit-scrollbar { display: none; }
.swiper[data-dana-swiper]:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide {
  flex: none;
  inline-size: calc((100% - (var(--dana-sw-n) - 1) * var(--dana-sw-g)) / var(--dana-sw-n));
}
/* A slider in a grid track or a flex item widens its column without end
   (Amer: a product page column grew to 33,554,432px). The parts that hold a
   slider never grow past their track. */
[data-dana-slider] { min-inline-size: 0; }

/* ---- A continuous marquee --------------------------------------------------
   Two copies of the run travel half the track, so the loop has no seam
   (the template's infiniteScroll ticker). Speed, direction and the pause on
   hover are the section's (--dana-marquee-duration, --dana-marquee-direction,
   .dana-marquee--pause). ui.js repeats a short run until it is wider than
   the window ([data-dana-marquee]). In Arabic it travels the other way, as
   text reads. Stopped for reduced motion. A link the keyboard reached stops
   it whether or not it pauses on hover: a focused link kept moving out of
   sight (WCAG 2.2.2; policy-marquee review, 2026-09-29). */
.dana-marquee { overflow: hidden; }
.dana-marquee__track { display: flex; inline-size: max-content; animation: dana-marquee var(--dana-marquee-duration, 30s) linear infinite; animation-direction: var(--dana-marquee-direction, normal); }
.dana-marquee__run { display: flex; flex: none; }
.dana-marquee--pause:hover .dana-marquee__track, .dana-marquee:has(:focus-visible) .dana-marquee__track { animation-play-state: paused; }
@keyframes dana-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .dana-marquee__track { animation-name: dana-marquee-rtl; }
@keyframes dana-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .dana-marquee__track, [dir="rtl"] .dana-marquee__track { animation: none; } }
