/* Dana header: what every design shares. The rows of each design are in
 * header-1.css .. header-5.css (every rule scoped to .dana-header--dN), the
 * top bar in topbar.css and topbar-1..3.css, the search window in
 * search.css.
 *
 * Measured on the template (Vineta, design/css/styles.css 7986-8420,
 * 8800-8818, 20701-20720, 21400, 21560-21590, 22045-22052, 22685-22688) at
 * 1440, 1024, 768 and 390 (D:/tmp/dana-20260927/phase4/header/tpl.json):
 * from 1200px a row of 87px, the logo 128px wide, the menu 14/21 at 500,
 * 32px apart (40px from 1600), each item 33px above and below, its hover
 * and the turned caret in the accent; 24px icons 20px apart and the count a
 * 16px disc (10px at 500) on the icon's corner. Under 1200px one phone row
 * of 64px for every design: the burger, the logo in the middle (110px under
 * 768), the search and the cart (account and wishlist from 768), 10px apart.
 *
 * Colours: Zid's header colours (the Look's «Header and footer colours»,
 * written by layout.jinja as --header-primary-color and its text) win, then
 * Dana's tokens. The accent is the hover and keyboard state (standing
 * rules 1 and 2): every link and button eases into it, and focus by
 * keyboard shows the same state. One sheet for both directions. */

/* ---- Sticky shell --------------------------------------------------------
   layout.jinja wraps the header in .app > .header; that wrapper is what
   sticks, so it sticks for the whole page. header.js moves --dana-sticky-top
   between «the rows showing» (pinned: -the height above the rows, so Zid's
   bars and the top bar stay away) and «all of it above the window» (at rest
   and hidden; a header still in its place ignores it and scrolls away).
   Until the script runs the header is not pinned either. The template's
   own .2s ease-out. */
.header:has(> [data-dana-header][data-sticky="1"]) {
  position: sticky;
  inset-block-start: var(--dana-sticky-top, -200vh);
  z-index: 60;
  transition: inset-block-start .2s ease-out;
}
.header:has(> [data-dana-header]) { position: relative; z-index: 60; }
/* Over the hero (the home page only): the first section rises under the
   header's rows by their height (header-absolute: margin-bottom -87px from
   1200px, -64px under it). header.js writes the measured height; each
   design's sheet gives the template's as the fallback. */
.header:has(> .dana-header--over) { margin-block-end: calc(-1 * var(--dana-over-h, 64px)); }

.dana-header {
  --dana-h-bg: var(--header-primary-color, var(--dana-bg));
  --dana-h-text: var(--header-text-color-primary-bg, var(--dana-h-text-auto, var(--dana-heading)));
  --dana-h-hover: var(--dana-accent-ink);
  --dana-nav-pad: 33px;
  position: relative;
  font-family: var(--dana-font-body);
  font-size: 14px;
  line-height: 21px;
  color: var(--dana-h-text);
  text-align: start;
  /* Nothing in the header may widen the page (a menu not yet fitted, a
     hidden panel): clipped sideways only, so panels still drop below. */
  overflow-x: clip;
}
.dana-header *, .dana-header *::before, .dana-header *::after { box-sizing: border-box; }
/* :where() keeps the resets at no weight: the phone menu and the bars Zid
   draws live inside <header>, and their own styles must win. */
:where(.dana-header) a { color: inherit; text-decoration: none; }
:where(.dana-header) button { font-family: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.dana-header) ul { list-style: none; margin: 0; padding: 0; }
:where(.dana-header) p { margin: 0; }

.dana-header__main {
  position: relative;
  background-color: var(--dana-h-bg);
  color: var(--dana-h-text);
  transition: background-color .2s ease-out, box-shadow .2s ease-out, color .2s ease-out;
}
/* Pinned: the template's header-bg (0 1px 3px rgba(0,0,0,.1)). */
.dana-header.is-stuck .dana-header__main { box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.dana-header__top, .dana-header__bottom { position: relative; }
.dana-header__row { display: flex; align-items: center; gap: 16px; min-block-size: 64px; }
/* A line under the whole header (the template's line-bt, handcraft). */
.dana-header--line .dana-header__main { box-shadow: inset 0 -1px 0 var(--dana-line); }
.dana-header--line.is-stuck .dana-header__main { box-shadow: inset 0 -1px 0 var(--dana-line), 0 1px 3px rgba(0, 0, 0, .1); }

/* ---- Skip link: out of sight until the keyboard reaches it ------------- */
.dana-skip {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 90;
  padding: 10px 18px;
  border-radius: var(--dana-radius-field);
  background-color: var(--dana-heading);
  color: var(--dana-bg);
  font-weight: 500;
  white-space: nowrap;
  transform: translateY(calc(-100% - 16px));
  transition: transform .2s var(--dana-ease), background-color .2s var(--dana-ease);
}
.dana-skip:focus-visible { transform: none; }
:where(.dana-header) a.dana-skip { color: var(--dana-bg); }
.dana-skip:hover, .dana-skip:focus-visible { background-color: var(--dana-accent); color: var(--dana-on-accent); }
#dana-main:focus { outline: none; }

/* ---- Logo (.logo-header img: 128px, 110px under 768) --------------------
   Drawn at the merchant's width; a tall or square picture is held at 60px
   (48px under 1200) and contained, so it never grows the row. */
.dana-logo { display: inline-flex; align-items: center; flex: none; min-inline-size: 0; transition: opacity .3s var(--dana-ease); }
.dana-logo:hover, .dana-logo:focus-visible { opacity: .8; }
.dana-logo__img { display: block; inline-size: var(--dana-logo-w, 128px); max-inline-size: 100%; block-size: auto; max-block-size: 60px; object-fit: contain; object-position: center; }
.dana-logo__img--mobile, .dana-logo__img--light { display: none; }
/* The store's name, when it has no logo picture: two lines at most, then an
   ellipsis, so a long name never runs under the icons or the burger. From
   1200px it keeps to the template's logo column (col-xl-2: a sixth of the
   row less its gutter, 169px at 1200, at most 200px); under 1200px the
   logo cell's own limit holds it. */
.dana-logo__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-inline-size: min(200px, calc(100vw / 6 - 31px));
  font-family: var(--dana-font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  color: inherit;
}

/* ---- Icons (.nav-icon: 24px, 20px apart from 1200, 10px under) --------- */
.dana-header__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 24px;
  block-size: 24px;
  font-size: 24px;
  line-height: 1;
  color: inherit;
  transition: color .3s var(--dana-ease);
}
.dana-header__icon .di { inline-size: 24px; block-size: 24px; font-size: 24px; }
/* A thumb needs more than the 24px glyph: a transparent layer makes every
   icon a 44px target while the glyphs stay where the template draws them. */
.dana-header__icon::before { content: ""; position: absolute; inset: -10px; }
/* On a phone the search and the cart are the only icons at the row's end,
   24px glyphs 10px apart (the template's spacing): two centred 44px layers
   would overlap by 10px and leave the search 34px wide. Each reaches 5px
   into the gap and 15px outwards instead (the cart to the page's edge, the
   search into the logo's 12px margin and 3px past it), so both are 44 x 44
   and the icons stay where they are. */
@media (max-width: 767px) {
  .dana-actions__cell--search .dana-header__icon::before { inset-inline: -15px -5px; }
  .dana-actions__cell--cart .dana-header__icon::before { inset-inline: -5px -15px; }
}
.dana-header__icon:focus-visible, .dana-header__icon:focus-visible .dana-actions__text { color: var(--dana-h-hover); }
@media (hover: hover) {
  .dana-header__icon:hover, .dana-header__icon:hover .dana-actions__text { color: var(--dana-h-hover); }
}
.dana-header__burger { display: none; inline-size: 30px; justify-content: flex-start; }
/* The template's burger (icon-categories1) has lines of three lengths set
   to the reading start: in Arabic they start on the right. */
[dir="rtl"] .dana-header__burger .di { transform: scaleX(-1); }

.dana-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.dana-actions__cell { display: flex; align-items: center; }
/* The count: a 16px disc 3px in from the icon's top corner (translate 50%
   out of the corner, margin 3px back in: styles.css 8074-8097). */
.dana-actions__count {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  z-index: 1;
  display: block;
  min-inline-size: 16px;
  block-size: 16px;
  margin-block-start: 3px;
  margin-inline-end: 3px;
  padding-inline: 3px;
  border-radius: 99px;
  background-color: var(--dana-accent);
  color: var(--dana-on-accent);
  font-family: var(--dana-font-body);
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transform: translate(50%, -50%);
  pointer-events: none;
}
[dir="rtl"] .dana-actions__count { transform: translate(-50%, -50%); }
.dana-actions__count[hidden], .dana-actions__count.d-none { display: none; }
/* The starter's .cart-badge rules (custom.css places it 20px from the left
   in Arabic and sizes it 18px) must not move the cart's count. */
.dana-header .dana-actions__count.cart-badge { left: auto; right: auto; inset-inline-end: 0; top: auto; inset-block-start: 0; inline-size: auto; block-size: 16px; line-height: 16px; font-size: 10px; }
/* The names beside the icons (from 1200px): 14/21 at 500, 8px from the
   icon (.nav-icon-item .text). */
.dana-actions__text { display: none; margin-inline-start: 8px; font-size: 14px; line-height: 21px; font-weight: 500; white-space: nowrap; transition: color .3s var(--dana-ease); }
/* Two lines (pickleball): 12/18 in the muted colour over 14/20 at 500. */
.dana-actions__small { display: block; font-size: 12px; line-height: 18px; font-weight: 400; color: color-mix(in srgb, currentColor 66%, transparent); }
.dana-actions__big { display: block; font-size: 14px; line-height: 20px; font-weight: 500; }
.dana-actions__big:empty { display: none; }
.dana-actions__count--inline { position: static; display: inline-block; min-inline-size: 21px; block-size: 21px; margin: 0; line-height: 21px; transform: none; }
[dir="rtl"] .dana-actions__count--inline { transform: none; }
/* The greeting, for a signed-in customer only (header.js). */
.dana-actions__greet { display: none; max-inline-size: 120px; margin-inline-start: 8px; overflow: hidden; font-size: 14px; line-height: 21px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
@starting-style { .dana-actions__greet { opacity: 0; } }
.dana-actions__cart-text .cart-header-total:empty { display: none; }
/* The starter's custom.css styles .cart-header-total for its own header
   (19.2px, 10px margin, the header's text colour, white by default). */
.dana-header .dana-actions .cart-header-total { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.dana-actions__cart-text:has(.cart-header-total:not(:empty)) .dana-actions__cart-word { display: none; }

/* Zid's «send as a gift» prompt under the cart (main.js toggles #tooltip). */
.dana-actions__cell--cart { position: relative; }
.dana-gift-tip { position: absolute; inset-block-start: calc(100% + 12px); inset-inline-end: 0; z-index: 75; inline-size: 220px; padding: 16px; border-radius: var(--dana-radius-card); background-color: var(--dana-bg); color: var(--dana-text); box-shadow: 0 4px 20px rgba(0, 0, 0, .1); text-align: center; }
.dana-gift-tip p { margin: 8px 0 12px; font-weight: 500; }
.dana-gift-tip.d-none { display: none; }

/* ---- Main menu (.box-nav-menu) --------------------------------------------
   The list never runs past its own box: before header.js moves what does
   not fit under «More», an item that does not fit wraps onto a clipped
   second line, so the row shows whole items only. Panels escape the clip:
   a dropdown sits at its static place under its link (its containing block
   is the header row, outside the list), a mega panel spans the row. */
.dana-nav { position: static; min-inline-size: 0; }
.dana-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0 32px; overflow: clip; max-block-size: calc(21px + 2 * var(--dana-nav-pad)); }
.dana-nav__item { position: static; flex: none; padding-block: var(--dana-nav-pad); }
.dana-nav__item[hidden] { display: none; }
.dana-nav__link { display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 21px; font-weight: 500; white-space: nowrap; color: inherit; transition: color .3s ease-in-out; }
.dana-header--upper .dana-nav__link { text-transform: uppercase; }
.dana-nav__caret { font-size: 10px; transition: transform .3s ease-in-out, color .3s ease-in-out; }
.dana-nav__link:hover, .dana-nav__link:focus-visible,
.dana-nav__item--has-sub:not([data-dana-dismissed]):hover > .dana-nav__link,
.dana-nav__item.is-open > .dana-nav__link,
.dana-nav__link[aria-current="page"] { color: var(--dana-h-hover); }
.dana-nav__item--has-sub:not([data-dana-dismissed]):hover > .dana-nav__link .dana-nav__caret,
.dana-nav__item.is-open > .dana-nav__link .dana-nav__caret { transform: rotate(180deg); }

/* Panels (.sub-menu): white, 16px corners, 0 4px 20px rgba(0,0,0,.1); they
   rise 10px into place over .3s. 24px inside and 220px at least, not the
   template's 32px 60px and 300px: short Arabic names sat lost in a wide
   empty box (Mohamed, 2026-09-30: «الpadding يمين وشمال مش حلو... المساحه
   الفاضيه كبيره اوي»). A long name still widens the panel. */
.dana-nav__panel {
  position: absolute;
  z-index: 70;
  min-inline-size: 220px;
  margin-block-start: var(--dana-nav-pad);
  padding: 24px;
  border-radius: 16px;
  background-color: var(--dana-bg);
  color: var(--dana-text);
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .1);
  text-align: start;
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  translate: var(--dana-panel-shift, 0px) 0;
  transition: opacity .3s ease-in-out, transform .3s ease-in-out, visibility .3s ease-in-out;
}
/* Open, it is visible at once (only the fade and the rise take .3s): the
   keyboard's next Tab from the item's link lands inside, where a panel
   still easing out of `hidden` sent it on to the next item. */
.dana-nav__item--has-sub:not([data-dana-dismissed]):hover > .dana-nav__panel,
.dana-nav__item--has-sub:not([data-dana-dismissed]):focus-within > .dana-nav__panel,
.dana-nav__item--has-sub.is-open > .dana-nav__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .3s ease-in-out, transform .3s ease-in-out, visibility 0s; }
.dana-nav__sublist li + li { margin-block-start: 10px; }
.dana-nav__sublist li[hidden] { display: none; }
/* .menu-link-text: 14/21 in #5d5d5d, the accent on hover. The grey is the
   text colour at 64% on the page, which is #5c5c5c on white and follows a
   dark page. */
.dana-nav__sublink { display: block; font-size: 14px; line-height: 21px; font-weight: 400; color: color-mix(in srgb, var(--dana-text) 64%, var(--dana-bg)); transition: color .3s ease-in-out; }
.dana-nav__sublink:hover, .dana-nav__sublink:focus-visible, .dana-nav__heading:hover, .dana-nav__heading:focus-visible { color: var(--dana-accent-ink); }
/* «More» collects a long menu: it opens towards the start from its end. */
.dana-nav__panel--end { margin-inline-start: -120px; }
.dana-nav__item--more > .dana-nav__panel > .dana-nav__sublist { max-block-size: min(480px, calc(100vh - 220px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
/* Mega (.mega-menu): the row's width less 24px each side (100px from
   1440, with 32px 104px 60px inside), columns headed by their link in
   capitals over a hairline. */
.dana-nav__panel--mega {
  inset-block-start: 100%;
  inset-inline: 24px;
  margin-block-start: 0;
  min-inline-size: 0;
  max-block-size: calc(100vh - 71px);
  overflow: hidden auto;
}
.dana-nav__columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.dana-nav__heading { display: block; margin-block-end: 15px; padding-block-end: 10px; border-block-end: 1px solid rgba(161, 161, 161, .2); font-size: 14px; line-height: 22.4px; font-weight: 500; text-transform: uppercase; color: var(--dana-heading); transition: color .3s ease-in-out; }
[dir="rtl"] .dana-nav__heading { text-transform: none; }
@media (min-width: 1440px) {
  .dana-nav__panel--mega { inset-inline: 100px; padding: 32px 104px 60px; }
}

/* ---- Category pictures in the dropdowns (header_menu_pictures) ----------
   A dropdown of categories is the template's category list (the browse
   card, .mega-categories .cate-item, styles.css 18264-18296, measured on
   book at 1440): rows of 62px, 10px inside with 4px corners, a 42px picture
   12px from the name at 16/24 and 500 in the headings colour, 4px between
   rows, the accent at 15% behind a row on hover (rgb-primary). The
   picture's corners are 3px (house rule, as Dana's browse card) and the
   panel keeps Mohamed's tight box: 14px inside, so a picture stands 24px
   from the edge as the plain dropdown's names do. More than six children
   run in columns (the template's two-list dropdown, sub-menu-style-2),
   filled down then across, each as wide as the longest name.
   The 42px place is in the page from the start and never taken away, so
   nothing in an open dropdown moves. Once header.js asks for the pictures
   (data-dana-pic-state) a category's place is the surface ground, the
   picture fading in over it; a category with no picture (or one that
   fails, or a list that does not come) keeps the ground with the category
   mark, as the browse list's empty square. A link that is not a category
   keeps its place empty, the name in line with the others. A mega panel's
   headings that are categories carry the picture the same way. */
.dana-nav__panel--pics:not(.dana-nav__panel--mega) { padding: 14px; }
.dana-nav__sublist--pics {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--dana-pic-rows, 6), auto);
  grid-auto-columns: 1fr;
  gap: 4px;
}
.dana-nav__sublist--pics li + li { margin-block-start: 0; }
.dana-nav__catlink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--dana-heading);
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.dana-nav__catlink:hover, .dana-nav__catlink:focus-visible { background-color: color-mix(in srgb, var(--dana-accent) 15%, transparent); color: var(--dana-heading); }
.dana-nav__pic { flex: none; display: block; inline-size: 42px; block-size: 42px; border-radius: 3px; overflow: hidden; }
.dana-nav__pic img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; background-color: var(--dana-surface); opacity: 0; transition: opacity .3s ease-in-out; }
.dana-nav__pic img.is-loaded { opacity: 1; }
.dana-nav__pic-name { min-inline-size: 0; max-inline-size: 220px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.dana-nav__heading--pic { display: flex; align-items: center; gap: 12px; }
.dana-nav__pic[data-dana-pic-state] { background-color: var(--dana-surface); }
.dana-nav__pic.is-none { display: grid; place-items: center; color: var(--dana-muted); font-size: 18px; }
[dir="rtl"] .dana-nav__pic.is-none .di { transform: scaleX(-1); }
/* «More» with a moved item that has children (is-grouped, header.js): the
   moved items stand side by side as the mega panel's columns, each its link
   over a hairline with its children beneath, drawn as its own dropdown
   draws them (category rows with their pictures, or names), so what a
   dropdown holds stays reachable when its item moves. 14px inside and each
   heading 10px in: headings, pictures and names start 24px from the edge,
   as in every dropdown. The panel is as wide as its columns, within the
   row; header.js pulls it back inside the row as it does every dropdown. */
.dana-nav__item--more.is-grouped > .dana-nav__panel { inline-size: max-content; max-inline-size: min(1100px, calc(100% - 48px)); padding: 24px 14px; }
.dana-nav__item--more.is-grouped > .dana-nav__panel > .dana-nav__sublist { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 28px; max-block-size: min(560px, calc(100vh - 160px)); }
.dana-nav__item--more.is-grouped > .dana-nav__panel > .dana-nav__sublist > li { flex: none; min-inline-size: 160px; max-inline-size: 100%; }
.dana-nav__item--more.is-grouped > .dana-nav__panel > .dana-nav__sublist > li + li { margin-block-start: 0; }
.dana-nav__more-group > .dana-nav__heading { margin-inline: 10px; }
.dana-nav__more-group > .dana-nav__sublist:not(.dana-nav__sublist--pics) { padding-inline: 10px; }
.dana-nav__item--more.is-grouped > .dana-nav__panel > .dana-nav__sublist > li:not(.dana-nav__more-group) > .dana-nav__sublink {
  margin-inline: 10px;
  padding-block-end: 10px;
  border-block-end: 1px solid rgba(161, 161, 161, .2);
  font-size: 14px;
  line-height: 22.4px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--dana-heading);
}
[dir="rtl"] .dana-nav__item--more.is-grouped > .dana-nav__panel > .dana-nav__sublist > li:not(.dana-nav__more-group) > .dana-nav__sublink { text-transform: none; }
.dana-nav__item--more.is-grouped > .dana-nav__panel > .dana-nav__sublist > li:not(.dana-nav__more-group) > .dana-nav__sublink:hover,
.dana-nav__item--more.is-grouped > .dana-nav__panel > .dana-nav__sublist > li:not(.dana-nav__more-group) > .dana-nav__sublink:focus-visible { color: var(--dana-accent-ink); }
/* A mega item's third level, under its link (names, 12px in; under a
   category row, in line with the row's name). */
.dana-nav__more-leaves { margin-block: 6px 4px; padding-inline-start: 12px; }
.dana-nav__sublist--pics .dana-nav__more-leaves { margin-block: 0 6px; padding-inline-start: 64px; }
.dana-nav__sublist .dana-nav__more-leaves li + li { margin-block-start: 6px; }
@media (min-width: 1600px) {
  .dana-nav__list { column-gap: 40px; }
}

/* ---- On a near-white header colour of the store's own ----------------------
   (header.jinja, dana-header--tinted: Look > Header colours set, opaque, and
   WCAG luminance 0.8 or more.) The drop-downs, the search bar with its
   suggestions and category list, and the browse card were the page's
   ground: grey #f7f7f7 cards under phonecase's white header. They take the
   header's ground; their words keep the page's ink for a light ground (the
   layout's ink-on-light pair: the page's own heading and text colours on a
   light page, black on a dark one). A mid-tone (sage, amber, gold) and a
   dark header (dana-header--dark, travel's black) keep the page's cards:
   on sage the bar's fixed #989898 placeholder fell to 1.34:1. Each part's
   own rules read these tokens, so nothing else changes. */
.dana-header--tinted .dana-nav__panel,
.dana-header--tinted .dana-search-bar,
.dana-header--tinted .dana-browse__panel {
  --dana-bg: var(--dana-h-bg);
  --dana-heading: var(--dana-ink-on-light, #0d0d0d);
  --dana-text: var(--dana-text-on-light, #545454);
}

/* ---- Country and language (one button for Zid's window) ------------------
   The template's two selects (.tf-languages, .tf-currencies: 14/18,
   16px apart, a small caret): one button, since both open Zid's own
   window; there is no currency list to fake. */
.dana-region { display: inline-flex; align-items: center; gap: 16px; font-size: 14px; line-height: 18px; font-weight: 400; white-space: nowrap; color: inherit; transition: color .3s var(--dana-ease), opacity .3s var(--dana-ease); }
.dana-region__part { display: inline-flex; align-items: center; gap: 6px; }
.dana-region .di { font-size: 10px; }
.dana-region:hover, .dana-region:focus-visible { color: var(--dana-h-hover); }

/* ---- Search bar (.tf-form-search .form-search) -------------------------
   A 50px pill (42px corners on a pill design, the button shape's corners
   otherwise), a line of the heading colour at 20%, the words 20px in, and a
   dark 38px pill with the 24px glyph 6px from its end. */
.dana-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  inline-size: 100%;
  max-inline-size: 413px;
  block-size: 50px;
  margin: 0;
  padding-inline: 20px 6px;
  border: 1px solid color-mix(in srgb, var(--dana-heading) 20%, transparent);
  border-radius: min(var(--dana-radius-button), 42px);
  background-color: var(--dana-bg);
  color: var(--dana-heading);
  transition: border-color .3s ease-in-out;
}
.dana-search-bar:hover, .dana-search-bar:has(.dana-search-bar__input:focus) { border-color: var(--dana-heading); }
.dana-search-bar__field { position: static; flex: 1 1 auto; min-inline-size: 0; }
/* The input also carries .search-input-input (Zid's hook), whose custom.css
   rules force a height and 30px before the words: none here, at a weight
   custom.css cannot beat. */
.dana-search-bar input.dana-search-bar__input {
  inline-size: 100%;
  min-inline-size: 0;
  block-size: 48px;
  min-block-size: 0;
  margin: 0;
  padding: 0;
  padding-inline-end: 12px;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  color: color-mix(in srgb, var(--dana-heading) 80%, transparent);
  text-indent: 0;
  -webkit-appearance: none;
  appearance: none;
}
.dana-search-bar__input::placeholder { color: #989898; opacity: 1; }
.dana-search-bar__input::-webkit-search-decoration, .dana-search-bar__input::-webkit-search-cancel-button { display: none; }
.dana-search-bar__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  inline-size: 67px;
  block-size: 38px;
  border-radius: 99px;
  background-color: var(--dana-heading);
  color: var(--dana-bg);
  font-size: 24px;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.dana-header .dana-search-bar__submit { border-radius: min(var(--dana-radius-button), 99px); }
.dana-search-bar__submit .di { font-size: 24px; }
.dana-search-bar__submit:hover, .dana-search-bar__submit:focus-visible { background-color: var(--dana-accent); color: var(--dana-on-accent); }
/* main.js writes its suggestions as <div><a>name</a></div>: the template's
   results card (10px corners, the shadow, 20px inside). */
.dana-search-bar .autocomplete-items { position: absolute; inset-block-start: calc(100% + 5px); inset-inline: 0; z-index: 80; padding: 12px 0; border-radius: 10px; background-color: var(--dana-bg); box-shadow: 0 4px 20px rgba(0, 0, 0, .1); overflow: hidden; }
.dana-search-bar .autocomplete-items:empty { display: none; }
html[data-dana-suggest-owner] .dana-search-bar .autocomplete:not([data-dana-suggest]) .autocomplete-items { display: none; }
.dana-search-bar .autocomplete-items div { border: 0; padding: 0; background: none; }
.dana-search-bar .autocomplete-items div a { display: block; padding: 8px 20px; font-size: 14px; line-height: 22px; color: var(--dana-heading); text-align: start; transition: color .3s ease-in-out, background-color .3s ease-in-out; }
.dana-search-bar .autocomplete-items div a:hover, .dana-search-bar .autocomplete-items div a:focus-visible { background-color: var(--dana-surface); color: var(--dana-accent-ink); }

/* With the category picker (pickleball: .tf-form-search.style-2.mw-613):
   613px, a stronger line, the picker 35% wide with 16px words, then a 24px
   upright hairline before the field. */
.dana-search-bar--scoped { max-inline-size: 613px; padding-inline-start: 0; border-color: color-mix(in srgb, var(--dana-heading) 80%, transparent); }
.dana-scope { position: static; flex: none; display: flex; align-items: center; inline-size: 35%; block-size: 100%; }
.dana-scope::after { content: ""; flex: none; inline-size: 1px; block-size: 24px; background-color: var(--dana-line); }
.dana-scope__button { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: 1 1 auto; min-inline-size: 0; block-size: 100%; padding-inline: 20px; font-size: 16px; line-height: 24px; color: var(--dana-heading); white-space: nowrap; transition: color .3s ease-in-out; }
.dana-scope__value { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
.dana-scope__caret { flex: none; font-size: 10px; transition: transform .3s ease-in-out; }
.dana-scope__button:hover, .dana-scope__button:focus-visible, .dana-scope.is-open .dana-scope__button { color: var(--dana-accent-ink); }
.dana-scope.is-open .dana-scope__caret { transform: rotate(180deg); }
.dana-search-bar--scoped .dana-search-bar__field { padding-inline-start: 20px; }
/* The list box: the template's white card, a row per category and its
   sub-categories indented, the choice ticked. Placed against the bar. */
.dana-scope__panel {
  position: absolute;
  inset-block-start: calc(100% + 5px);
  inset-inline-start: 0;
  z-index: 85;
  inline-size: 294px;
  max-inline-size: 100%;
  padding: 12px 4px;
  border-radius: 16px;
  background-color: var(--dana-bg);
  color: var(--dana-text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease-in-out, transform .3s ease-in-out, visibility .3s ease-in-out;
}
.dana-scope.is-open .dana-scope__panel { opacity: 1; visibility: visible; transform: none; }
.dana-scope__list { position: relative; max-block-size: min(360px, 60vh); margin: 0; padding: 0; list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.dana-scope__option { display: flex; align-items: center; gap: 10px; min-block-size: 40px; padding: 8px 12px; border-radius: 4px; font-size: 14px; line-height: 21px; font-weight: 500; color: var(--dana-heading); cursor: pointer; user-select: none; transition: color .3s ease-in-out, background-color .3s ease-in-out; }
.dana-scope__text { flex: 1 1 auto; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dana-scope__option[data-level] { font-weight: 400; color: color-mix(in srgb, var(--dana-text) 64%, var(--dana-bg)); }
.dana-scope__option[data-level="1"] { padding-inline-start: 26px; }
.dana-scope__option[data-level="2"] { padding-inline-start: 40px; }
.dana-scope__option:hover, .dana-scope__option.is-active { background-color: var(--dana-accent-soft); color: var(--dana-heading); }
.dana-scope__check { flex: none; font-size: 14px; color: var(--dana-accent-ink); visibility: hidden; }
.dana-scope__option[aria-selected="true"] .dana-scope__check { visibility: visible; }
.dana-scope__status { padding: 10px 12px; color: var(--dana-muted); font-size: 14px; }

/* ---- Browse categories (.tf-mega-categories) -----------------------------
   The button: 54px, 16/24 at 500 in capitals, 24px sides, a 20px glyph;
   filled (294px at least, 8px corners; the buttons' colour pair unless the
   merchant picks one) or plain (text, then a 26px #d4d4d4 hairline 40px on).
   The card opens under the pointer (and on a click): white, 294px, 16px
   corners, 12px 4px 22px inside, each row 10px in with a 42px picture
   (3px corners, house rule) and 16/24 at 500, tinted on hover. */
.dana-browse { position: relative; flex: none; display: flex; align-items: center; }
.dana-browse__button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-inline-size: 294px;
  block-size: 54px;
  margin-inline-end: 42px;
  padding-inline: 24px;
  border-radius: min(var(--dana-radius-button), 8px);
  background-color: var(--dana-browse-bg, var(--dana-primary));
  color: var(--dana-browse-text, var(--dana-on-primary));
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .3s ease-in-out, color .3s ease-in-out, opacity .3s ease-in-out;
}
[dir="rtl"] .dana-browse__button { text-transform: none; }
.dana-browse__lead { font-size: 20px; margin-block-start: -2px; }
/* A list's bullets stand at the reading start. */
[dir="rtl"] .dana-browse__lead, [dir="rtl"] .dana-browse__thumb.is-empty .di { transform: scaleX(-1); }
.dana-browse--filled .dana-browse__button:hover, .dana-browse--filled .dana-browse__button:focus-visible, .dana-browse--filled.is-open .dana-browse__button { opacity: .88; }
/* The plain button's words: the merchant's text colour when one is chosen
   (--dana-browse-ink, header.jinja), else the header's own. Never the pair
   worked out from the button colour, which is for a filled ground (white
   from book's and florist's orange was white on their white header). */
.dana-browse--plain .dana-browse__button { min-inline-size: 0; margin-inline-end: 40px; background-color: transparent; color: var(--dana-browse-ink, inherit); }
.dana-browse--plain .dana-browse__button:hover, .dana-browse--plain .dana-browse__button:focus-visible, .dana-browse--plain.is-open .dana-browse__button { color: var(--dana-h-hover); }
.dana-browse--plain::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-end: 0; inline-size: 1px; block-size: 26px; background-color: #d4d4d4; transform: translateY(-50%); }
.dana-browse__panel {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  z-index: 70;
  min-inline-size: 294px;
  padding: 12px 4px 22px;
  border-radius: 16px;
  background-color: var(--dana-bg);
  color: var(--dana-heading);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  text-align: start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity .4s ease .1s, transform .4s ease .1s, visibility .4s ease .1s;
}
.dana-browse:not([data-dana-dismissed]):hover .dana-browse__panel,
.dana-browse.is-open .dana-browse__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.dana-browse__list li + li { margin-block-start: 4px; }
.dana-browse__link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 4px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--dana-heading); transition: background-color .3s ease-in-out, color .3s ease-in-out; }
.dana-browse__link:hover, .dana-browse__link:focus-visible { background-color: color-mix(in srgb, var(--dana-browse-bg, var(--dana-accent)) 15%, transparent); color: var(--dana-heading); }
.dana-browse__thumb { flex: none; display: block; inline-size: 42px; block-size: 42px; border-radius: 3px; object-fit: cover; background-color: var(--dana-surface); }
.dana-browse__thumb.is-empty { display: grid; place-items: center; color: var(--dana-muted); font-size: 18px; }
.dana-browse__name { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dana-browse__item--loading { padding: 10px; color: var(--dana-muted); font-size: 14px; }
.dana-browse__item--all .dana-browse__link { justify-content: space-between; font-size: 14px; line-height: 21px; }
.dana-browse__arrow { font-size: 12px; }
[dir="rtl"] .dana-browse__arrow { transform: scaleX(-1); }

/* ---- Help at the end of the menu row (design 3) -------------------------
   The phone in a 48px disc (the browse button's colour, else the accent;
   a 24px glyph) and the number 20/30
   at 500 (book:244, .box-phone); or the words «Need Help?» 16/24 at 500
   and a highlighted link in the accent, underlined, with its arrow
   (electric-accessories:260, .call-us). */
.dana-help { display: flex; align-items: center; gap: 8px; flex: none; }
.dana-help__link, .dana-help__text { font-size: 16px; line-height: 24px; font-weight: 500; white-space: nowrap; transition: color .3s ease-in-out, border-color .3s ease-in-out; }
.dana-help__link { display: inline-flex; align-items: center; gap: 4px; }
.dana-help__link:hover, .dana-help__link:focus-visible { color: var(--dana-h-hover); }
.dana-help__link--strong { color: var(--dana-browse-bg, var(--dana-accent-ink)); border-block-end: 1px solid currentColor; }
.dana-help__link--strong:hover, .dana-help__link--strong:focus-visible { color: var(--dana-h-text); }
.dana-help__link .di { font-size: 10px; }
[dir="rtl"] .dana-help__link .di { transform: scaleX(-1); }
.dana-help__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; line-height: 30px; font-weight: 500; white-space: nowrap; transition: color .3s ease-in-out; }
.dana-help__phone:hover, .dana-help__phone:focus-visible { color: var(--dana-h-hover); }
.dana-help__circle { display: inline-flex; align-items: center; justify-content: center; flex: none; inline-size: 48px; block-size: 48px; border-radius: 50%; background-color: var(--dana-browse-bg, var(--dana-accent)); color: var(--dana-browse-text, var(--dana-on-accent)); font-size: 24px; transition: background-color .3s ease-in-out, color .3s ease-in-out; }
.dana-help__phone:hover .dana-help__circle, .dana-help__phone:focus-visible .dana-help__circle { background-color: var(--dana-heading); color: var(--dana-bg); }

/* ---- From 1200px: the desktop header ------------------------------------ */
@media (min-width: 1200px) {
  .dana-header__row { min-block-size: 87px; }
  .dana-actions { gap: 20px; }
  .dana-header--labels-labels .dana-actions__text, .dana-header--labels-two-lines .dana-actions__text { display: block; }
  /* The grey value box round the cart's icon and total (book:135). */
  .dana-header--labels-labels .dana-actions__cart:has(.cart-header-total:not(:empty)) { padding: 6px 10px; border-radius: 4px; background-color: var(--dana-surface); }
  /* Two lines (pickleball): the wishlist before the account, after search. */
  .dana-header--labels-two-lines .dana-actions__cell--wishlist { order: 1; }
  .dana-header--labels-two-lines .dana-actions__cell--account { order: 2; }
  .dana-header--labels-two-lines .dana-actions__cell--cart { order: 3; }
  .dana-header--labels-two-lines .dana-actions__cell--wishlist .dana-actions__count--inline:not([hidden]) { display: inline-block; }
  .dana-actions__greet:not([hidden]) { display: block; }
  /* A labelled icon keeps its count where the label starts. */
  .dana-header--labels-labels .dana-actions__item, .dana-header--labels-two-lines .dana-actions__item { justify-content: flex-start; }
  .dana-header--labels-labels .dana-actions__count:not(.dana-actions__count--inline), .dana-header--labels-two-lines .dana-actions__count:not(.dana-actions__count--inline) { inset-inline-end: auto; inset-inline-start: 24px; margin-inline-start: -3px; margin-inline-end: 0; transform: translate(-50%, -50%); }
  [dir="rtl"] .dana-header--labels-labels .dana-actions__count:not(.dana-actions__count--inline), [dir="rtl"] .dana-header--labels-two-lines .dana-actions__count:not(.dana-actions__count--inline) { transform: translate(50%, -50%); }
  .dana-header--labels-two-lines .dana-actions__item { block-size: auto; min-block-size: 24px; }
}

/* ---- Under 1200px: one phone row for every design ------------------------
   burger | logo | search + cart (account and wishlist from 768). The menu
   row, the search bar, browse, help and the country buttons are the phone
   menu's and the search window's there. */
@media (max-width: 1199px) {
  .dana-header__bottom, .dana-header__nav-cell, .dana-header__search-cell, .dana-header__start { display: none; }
  .dana-header__burger { display: inline-flex; }
  .dana-header__top .dana-header__row { position: relative; justify-content: space-between; }
  /* The logo in the middle of the row, never wider than what the wider
     side leaves: the search and the cart (58px under 768, 126px with
     the account and the wishlist from 768) and 12px (16px) more, on both
     sides so it stays centred. A wide picture or a long store name then
     shrinks or wraps instead of covering the burger or the icons. */
  .dana-header__logo-cell {
    --dana-logo-room: 70px;
    position: absolute;
    inset-block-start: 50%;
    inset-inline: 0;
    inline-size: fit-content;
    max-inline-size: calc(100% - 2 * var(--dana-logo-room));
    margin-inline: auto;
    transform: translateY(-50%);
  }
  .dana-logo { max-inline-size: 100%; }
  .dana-logo__text { max-inline-size: none; font-size: 20px; line-height: 24px; text-align: center; }
  .dana-logo__img { inline-size: var(--dana-logo-w-mobile, 110px); max-block-size: 48px; }
  .dana-logo__img--wide { display: none; }
  .dana-logo__img--mobile { display: block; }
  .dana-header__end { margin-inline-start: auto; }
  .dana-header .dana-nav { display: none; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .dana-logo__img { inline-size: var(--dana-logo-w, 128px); }
  .dana-header__logo-cell { --dana-logo-room: 142px; }
}
/* The template's #header .nav-account and .nav-wishlist: gone under 768
   (the bottom bar carries them). */
@media (max-width: 767px) {
  .dana-actions__cell--account, .dana-actions__cell--wishlist { display: none; }
}

/* ---- Over the hero, clear ---------------------------------------------------
   Transparent, and with light text (the template's header-white) the
   words, icons and logo in white: the merchant's light logo, else the logo
   drawn white. Pinned (is-stuck), the template's header-bg: the pinned
   colours (black with white for light text, or the merchant's), else the
   header's own. Panels keep their own white card. */
.dana-header--over:not(.is-stuck) .dana-header__main,
.dana-header--over:not(.is-stuck) .dana-header__bottom { background-color: transparent; box-shadow: none; }
.dana-header--light:not(.is-stuck) .dana-header__main { color: #ffffff; }
.dana-header--light:not(.is-stuck) .dana-header__bottom { color: #ffffff; }
.dana-header--over.is-stuck .dana-header__main { background-color: var(--dana-header-pin-bg, var(--dana-h-bg)); color: var(--dana-header-pin-text, var(--dana-h-text)); }
.dana-header--over.is-stuck .dana-header__bottom { background-color: transparent; color: inherit; }
/* Which logo: the light one (or the logo drawn white) wherever the words
   are white: a clear light header, one pinned on a dark colour, a header
   whose own colour is dark (travel's header-dark). */
.dana-header--light:not(.is-stuck).dana-header--has-light-logo .dana-logo__img--light,
.dana-header--pin-light.is-stuck.dana-header--has-light-logo .dana-logo__img--light,
.dana-header--dark:not(.dana-header--over).dana-header--has-light-logo .dana-logo__img--light { display: block; }
.dana-header--light:not(.is-stuck).dana-header--has-light-logo .dana-logo__img:not(.dana-logo__img--light),
.dana-header--pin-light.is-stuck.dana-header--has-light-logo .dana-logo__img:not(.dana-logo__img--light),
.dana-header--dark:not(.dana-header--over).dana-header--has-light-logo .dana-logo__img:not(.dana-logo__img--light) { display: none; }
.dana-header--light:not(.is-stuck):not(.dana-header--has-light-logo) .dana-logo__img,
.dana-header--pin-light.is-stuck:not(.dana-header--has-light-logo) .dana-logo__img,
.dana-header--dark:not(.dana-header--over):not(.dana-header--has-light-logo) .dana-logo__img { filter: brightness(0) invert(1); }
/* The search bar and browse button keep their own colours over a picture. */
.dana-header--light:not(.is-stuck) .dana-search-bar { color: var(--dana-heading); }
.dana-header--light:not(.is-stuck) .dana-browse--plain::after { background-color: rgba(255, 255, 255, .4); }
/* The current page, hover, focus and an open menu stay white over the picture,
   marked by a line instead of the accent: the accent read 1.0 to 3.6:1 on the
   dark heroes of furniture2, plant, skincare and sportwear (review of the 30
   demo homes, 2026-10-07). Top-level links and the icons only: a dropdown keeps
   its white card and its own hover. */
.dana-header--light:not(.is-stuck) :is(.dana-nav__link:hover, .dana-nav__link:focus-visible, .dana-nav__item--has-sub:not([data-dana-dismissed]):hover > .dana-nav__link, .dana-nav__item.is-open > .dana-nav__link, .dana-nav__link[aria-current="page"], .dana-header__icon:focus-visible, .dana-header__icon:focus-visible .dana-actions__text) { color: #ffffff; }
@media (hover: hover) {
  .dana-header--light:not(.is-stuck) :is(.dana-header__icon:hover, .dana-header__icon:hover .dana-actions__text) { color: #ffffff; }
}
.dana-header--light:not(.is-stuck) :is(.dana-nav__link:hover, .dana-nav__link:focus-visible, .dana-nav__item--has-sub:not([data-dana-dismissed]):hover > .dana-nav__link, .dana-nav__item.is-open > .dana-nav__link) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.dana-header--light:not(.is-stuck) .dana-nav__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---- Zid's own bars above the rows (a closed store, a payment session) --- */
.dana-header .availability-bar { padding-block: 8px; font-size: 14px; line-height: 21px; }

@media (prefers-reduced-motion: reduce) {
  .header:has(> [data-dana-header]), .dana-nav__panel, .dana-browse__panel, .dana-scope__panel, .dana-nav__pic img { transition: none; }
  .dana-nav__item--has-sub:not([data-dana-dismissed]):hover > .dana-nav__panel,
  .dana-nav__item--has-sub:not([data-dana-dismissed]):focus-within > .dana-nav__panel,
  .dana-nav__item--has-sub.is-open > .dana-nav__panel { transition: none; }
}
