/* Dana listings: the category page, all products and the search results, a brand's page, the
 * categories page and the brands page (inner-pages.md 3, F20-F30). Linked by each of those
 * templates in its <head> (top_links), so nothing paints unstyled; the title bar, the
 * pagination and the benefits strip are page-title.css.
 *
 * The look is the bought template's shop pages (Vineta, design/css/styles.css), measured in
 * English at 1440 / 1024 / 768 / 390 on 2026-09-29 (numbers in each part below); the wiring
 * is Amer's (category.css, filters.css), renamed. Sizes are px (the starter's root is 12px);
 * colours only from the --dana-* tokens (core.css): the template's --primary is Dana's accent,
 * its --dark the heading colour, its --line the line colour, its rgba(0 0 0 / .2) the heading
 * at 20%. One sheet for both directions: logical properties, and under [dir] what cannot be.
 *
 * Zid's filter markup, as served (recorded 2026-09-22 on fe8o1t.dev.zid.store, Amer's
 * filters.css; the MCP preview's fixture draws the same):
 *   .product-attributes > .product-attributes-light-box >
 *     .products-filters-container[data-filters] > .attribute >
 *       .filtration-header («تصفية», a hidden «مسح»)
 *       .products-filters-attribute-form > form#attribute_form >
 *         .attribute-group (one per filter, then the price) >
 *           .attribute-header > .attribute-name + .attribute-arrow[onclick]
 *           .filter-content > .attribute-body >
 *             .filter-row > input.checkbox + label.attribute-label >
 *               .attribute-label-extra (> .attribute-color for a colour)
 *               div > span (the value) + span.filter-count "()"
 *             .attribute-more > span[onclick] «عرض المزيد» (past the fourth value)
 *           (price) .attribute-body.attribute-price-body > .form-row >
 *             .form-group > label > h6 «من» + input[name=from_price] …
 *             .attribute-footer > button.highlight-button «حفظ»
 *   and a <style> whose phone rules pin .product-attributes off the screen (category.js
 *   switches it off). Some stores serve the bare form with none of the four wrappers.
 */

/* ---- The listing section (.flat-spacing-24: 64px above, 80px below) ------------------ */
.dana-shop { padding-block: 64px 80px; font-size: var(--dana-fs-body); line-height: var(--dana-lh-body); color: var(--dana-text); }
.dana-shop *, .dana-shop *::before, .dana-shop *::after { box-sizing: border-box; }
/* Under the sub-categories (shop-sub-collection.html: the products section is `pt-0`). */
.dana-subcats + .dana-shop { padding-block-start: 0; }
/* Full width (shop-fullwidth.html .container-full): the row edge to edge, 15px sides, 24px
   from 768px, 40px from 1200px. Two classes, kept: page sheets load after core.css and before
   the card sheets (layout.jinja, since 2026-09-29); linked before core.css, this sheet lost to
   its .dana-container padding on the same element (full width drew the boxed page's 24px). */
.dana-container.dana-shop__full { padding-inline: 15px; }
@media (min-width: 768px) { .dana-container.dana-shop__full { padding-inline: 24px; } }
@media (min-width: 1200px) { .dana-container.dana-shop__full { padding-inline: 40px; } }

/* ---- The toolbar (.tf-shop-control) ------------------------------------------------
   The Filter button and the sort at the start, 10px apart; the view switch at the end.
   30px to what follows (40px from 1200px). */
.dana-shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block-end: 30px; }
@media (min-width: 1200px) { .dana-shop-bar { margin-block-end: 40px; } }
.dana-shop-bar--bare { display: none; }
.dana-shop-bar__start { display: flex; align-items: center; gap: 10px; min-inline-size: 0; }
.dana-shop-bar__end { display: flex; align-items: center; gap: 16px; min-inline-size: 0; }
/* .tf-btn-filter: a 1px pill, 8px 14px, 14/20, the icon 14px 5px from the word; 13px 20px,
   16px and an 18px icon 8px away from 1200px (38px and 48px tall). Its corners follow the
   identity's button shape (27px on a pill, the rounded 8px, square 0), as Sort and the
   dropdown filters do. */
.dana-shop-bar__filter {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-inline-size: 84px;
  max-inline-size: 100%;
  padding: 8px 14px;
  border: 1px solid var(--dana-line);
  border-radius: min(var(--dana-radius-button), 27px);
  background-color: var(--dana-bg);
  color: var(--dana-heading);
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .3s var(--dana-ease), background-color .3s var(--dana-ease), color .3s var(--dana-ease);
}
.dana-shop-bar__filter .di { font-size: 14px; }
.dana-shop-bar__filter:hover, .dana-shop-bar__filter:focus-visible { border-color: var(--dana-heading); outline: none; }
/* The drawer's button while its panel is open (.tf-btn-filter.active). */
.dana-shop-bar__filter--drawer[aria-expanded="true"] { border-color: var(--dana-heading); background-color: var(--dana-heading); color: var(--dana-bg); }
@media (min-width: 1200px) {
  .dana-shop-bar__filter { gap: 8px; min-inline-size: 108px; padding: 13px 20px; font-size: 16px; }
  .dana-shop-bar__filter .di { font-size: 18px; }
  /* The sidebar's column is on the page from here: no button for it. */
  .dana-shop-bar__filter--sidebar { display: none; }
}
/* How many filters are on (Dana's own; the template marks nothing). */
.dana-fp-count { display: inline-grid; place-items: center; min-inline-size: 18px; block-size: 18px; margin-inline-start: 2px; padding: 0 5px; border-radius: 9px; background-color: var(--dana-heading); color: var(--dana-bg); font-size: 11px; font-weight: 600; line-height: 1; }
.dana-fp-count[hidden] { display: none; }
.dana-shop-bar__filter--drawer[aria-expanded="true"] .dana-fp-count { background-color: var(--dana-bg); color: var(--dana-heading); }

/* The sort (.tf-dropdown-sort): the same pill, 100px at least (244px from 1200px), the order
   14/20 (16/20) and a 12px caret (14px); its list 5px under it at the start, 180px (244px), a
   1px line, 8px corners, 10px 5px, the template's shadow, 30px rows on the line colour when
   chosen or pointed at. A <details>: it works with no script. The corners follow the
   identity: the toggle its button shape (27px at most), the list its card corners (8px at
   most); the chips below the button shape too (11px at most). */
.dana-sort { position: relative; flex: 0 1 auto; min-inline-size: 0; }
.dana-sort__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-inline-size: 100px;
  max-inline-size: 100%;
  padding: 8px 14px;
  border: 1px solid var(--dana-line);
  border-radius: min(var(--dana-radius-button), 27px);
  color: var(--dana-heading);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color .3s var(--dana-ease);
}
.dana-sort__toggle::-webkit-details-marker { display: none; }
.dana-sort__toggle::marker { content: ""; }
.dana-sort__toggle:hover, .dana-sort__toggle:focus-visible, .dana-sort[open] .dana-sort__toggle { border-color: var(--dana-heading); outline: none; }
.dana-sort__value { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
.dana-sort__caret { flex: none; font-size: 12px; transition: transform .3s var(--dana-ease); }
.dana-sort[open] .dana-sort__caret { transform: rotate(180deg); }
.dana-sort__menu {
  position: absolute;
  inset-block-start: calc(100% + 5px);
  inset-inline-start: 0;
  z-index: 99;
  display: grid;
  min-inline-size: 180px;
  max-block-size: 68vh;
  margin: 0;
  padding: 10px 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  border: 1px solid var(--dana-line);
  border-radius: min(var(--dana-radius-card), 8px);
  background-color: var(--dana-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  animation: dana-sort-in .2s var(--dana-ease);
}
.dana-sort__item { display: block; padding: 0 15px; color: var(--dana-heading); font-size: 14px; line-height: 30px; white-space: nowrap; text-decoration: none; transition: background-color .3s var(--dana-ease); }
.dana-sort__item:hover, .dana-sort__item:focus-visible, .dana-sort__item.is-active { background-color: var(--dana-line); color: var(--dana-heading); text-decoration: none; outline: none; }
@keyframes dana-sort-in { from { opacity: 0; transform: translateY(-4px); } }
@media (min-width: 1200px) {
  .dana-sort__toggle { min-inline-size: 244px; padding: 13px 20px; font-size: 16px; }
  .dana-sort__caret { font-size: 14px; }
  .dana-sort__menu { min-inline-size: 244px; }
}

/* The count (Dana's own, beside the switch): 14px in the text colour; from 768px. */
.dana-shop-bar__count { margin: 0; color: var(--dana-muted); font-size: 14px; line-height: 22.4px; white-space: nowrap; }
@media (max-width: 767px) { .dana-shop-bar__count { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); } }

/* The view switch (.tf-control-layout): 32px squares (48px from 1200px) holding the
   template's bars, 3 x 18px strokes 2px apart (the list: two 18 x 3 bars) in the heading
   at 20%, the heading itself when chosen or pointed at. 3 from 768px, 4 from 1200px, 5 and 6
   from 1400px. Under 1200px a square is 44px, a thumb's size (the 32px squares held 32 x 32
   taps): -3px above and below keep the bar 38px tall and -6px at the end keep the last
   bars where the template has them. */
.dana-shop-bar__views { display: flex; align-items: center; }
.dana-shop-bar__view { display: flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; margin-block: -3px; padding: 0; border: 0; background: none; cursor: pointer; }
@media (max-width: 1199px) { .dana-shop-bar__views { margin-inline-end: -6px; } }
@media (min-width: 1200px) { .dana-shop-bar__view { inline-size: 48px; block-size: 48px; margin-block: 0; } }
.dana-bars { display: grid; grid-auto-flow: column; gap: 2px; }
.dana-bars > span { display: block; inline-size: 3px; block-size: 18px; border-radius: 2px; background-color: color-mix(in srgb, var(--dana-heading) 20%, transparent); transition: background-color .3s var(--dana-ease); }
.dana-bars--list { grid-auto-flow: row; }
.dana-bars--list > span { inline-size: 18px; block-size: 3px; }
.dana-shop-bar__view:hover .dana-bars > span, .dana-shop-bar__view:focus-visible .dana-bars > span, .dana-shop-bar__view[aria-pressed="true"] .dana-bars > span { background-color: var(--dana-heading); }
.dana-shop-bar__view:focus, .dana-shop-bar__view:focus-visible { outline: none; }
@media (max-width: 767px) { .dana-shop-bar__view--md { display: none; } }
@media (max-width: 1199px) { .dana-shop-bar__view--lg { display: none; } }
@media (max-width: 1399px) { .dana-shop-bar__view--xl { display: none; } }

/* ---- What is applied (.meta-filter-shop): a tag per filter, 5px 14px with a 1px line and
   11px corners, 14/22.4, a 10px cross in a 15px box 4px from the words; «Clear all» with no
   line until pointed at; 10px apart, 24px above the grid. Only while a filter is on. ---- */
.dana-shop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block: -6px 24px; }
.dana-shop-meta[hidden] { display: none; }
.dana-shop-meta__list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dana-shop-meta__list:empty { display: none; }
.dana-fp-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-inline-size: 100%;
  padding: 5px 14px;
  border: 1px solid var(--dana-line);
  border-radius: min(var(--dana-radius-button), 11px);
  background-color: transparent;
  color: var(--dana-heading);
  font-size: 14px;
  line-height: 22.4px;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: border-color .3s var(--dana-ease);
}
.dana-fp-chip:hover, .dana-fp-chip:focus-visible { border-color: var(--dana-heading); color: var(--dana-heading); text-decoration: none; outline: none; }
.dana-fp-chip__x { display: inline-flex; flex: none; inline-size: 15px; block-size: 15px; font-size: 10px; }
.dana-fp-chip__dot { flex: none; inline-size: 12px; block-size: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }
.dana-fp-chip--clear { gap: 10px; border-color: transparent; }

/* ---- The grid (.tf-grid-layout) ----------------------------------------------------
   2 columns under 768px, 3 to 1200px, the merchant's own count from 1201px (5 and 6 held to 4
   until 1400px), as the template's shop.js; 12px between columns (24px from 992px), 24px
   between rows (40px from 1200px). A visitor's pick (category.js: data-picked, data-cols)
   holds wherever its button shows (2 always, 3 from 768px, 4 from 1200px, 5 and 6 from
   1400px). Tracks are minmax(0, 1fr): a long unbroken name never widens the page. */
.dana-shop__grid { --dana-shop-cols: 2; display: grid; grid-template-columns: repeat(var(--dana-shop-cols), minmax(0, 1fr)); gap: 24px 12px; }
@media (min-width: 768px) { .dana-shop__grid:where(:not([data-cols="2"])) { --dana-shop-cols: 3; } }
@media (min-width: 992px) { .dana-shop__grid { column-gap: 24px; } }
@media (min-width: 1200px) { .dana-shop__grid { row-gap: 40px; } }
@media (min-width: 1201px) { .dana-shop__grid { --dana-shop-cols: var(--dana-grid-cols, 4); } }
@media (min-width: 1201px) and (max-width: 1399px) { .dana-shop__grid:where([data-cols="5"], [data-cols="6"]) { --dana-shop-cols: 4; } }
@media (min-width: 768px) { .dana-shop__grid[data-picked][data-view="grid"]:where([data-cols="3"], [data-cols="4"], [data-cols="5"], [data-cols="6"]) { --dana-shop-cols: 3; } }
@media (min-width: 1200px) { .dana-shop__grid[data-picked][data-view="grid"]:where([data-cols="4"], [data-cols="5"], [data-cols="6"]) { --dana-shop-cols: 4; } }
@media (min-width: 1400px) {
  .dana-shop__grid[data-picked][data-view="grid"][data-cols="5"] { --dana-shop-cols: 5; }
  .dana-shop__grid[data-picked][data-view="grid"][data-cols="6"] { --dana-shop-cols: 6; }
}
.dana-shop__grid[data-picked][data-view="grid"][data-cols="2"] { --dana-shop-cols: 2; }
.dana-shop__grid { transition: opacity .3s var(--dana-ease); }

/* ---- The list (.card-product.style-list): the picture beside the text, 342px at most, the
   text 60% of the row, 12px between them (24px from 1200px); the name, the price and the
   product's line 8px apart (15px from 1200px), then the card's own button (the template's
   «Add to cart», 331px at most). 24px between rows, 32px from 1200px. The card is the card
   lane's (product-card.jinja); only its arrangement changes here. ----------------------- */
.dana-shop__grid[data-view="list"] { --dana-shop-cols: 1; row-gap: 24px; }
@media (min-width: 1200px) { .dana-shop__grid[data-view="list"] { row-gap: 32px; } }
.dana-shop__grid[data-view="list"] .dana-card:not(.dana-card--mini) { flex-direction: row; align-items: flex-start; gap: 12px; }
@media (min-width: 1200px) { .dana-shop__grid[data-view="list"] .dana-card:not(.dana-card--mini) { gap: 24px; } }
.dana-shop__grid[data-view="list"] .dana-card:not(.dana-card--mini) > .dana-card__media { flex: 1 1 auto; min-inline-size: 0; max-inline-size: 342px; }
.dana-shop__grid[data-view="list"] .dana-card:not(.dana-card--mini) > .dana-card__body { flex: 0 0 60%; inline-size: 60%; gap: 8px; padding-block: 0; text-align: start; }
@media (min-width: 1200px) { .dana-shop__grid[data-view="list"] .dana-card:not(.dana-card--mini) > .dana-card__body { gap: 15px; } }
.dana-shop__grid[data-view="list"] .dana-card__body > * { justify-content: flex-start; }
/* The card's button shows in the list whatever the group's button setting (the template's
   list row always has it), and the cart icon on the picture steps aside for it. */
.dana-shop__grid[data-view="list"] .dana-card__cta { display: block; max-inline-size: 331px; margin-block-start: 4px; }
.dana-shop__grid[data-view="list"] .dana-card__cartli { display: none; }
/* The product's line (the card lane's .dana-card__desc, when the card draws it): two lines,
   in the text colour; none on a phone, as the template. */
.dana-shop__grid[data-view="list"] .dana-card__desc { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; color: var(--dana-muted); font-size: 14px; line-height: 20px; }
@media (max-width: 767px) { .dana-shop__grid[data-view="list"] .dana-card__desc { display: none; } }
.dana-card__desc { display: none; }

/* ---- Beside a sidebar (shop-left-sidebar.html, shop-right-sidebar.html): from 1200px the
   filters are a column a quarter of the row (330px at 1440: calc(25% - 18px)), 24px from the
   products; below 1200px the column is the slide-in panel. ---------------------------- */
.dana-shop__row { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1200px) {
  .dana-shop__row { grid-template-columns: calc(25% - 18px) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .dana-shop__row--end { grid-template-columns: minmax(0, 1fr) calc(25% - 18px); }
}
.dana-shop__main { min-inline-size: 0; }

/* ---- The drawer's anchor (shop-filter-drawer.html): the panel drops under the toolbar. -- */
.dana-shop__drawer-wrap { position: relative; }

/* ---- The dropdown layout's row (shop-horizontal-filter.html .tf-filter-dropdown): «Filter:»
   then a pill per facet, 15px apart (20px from 1200px), 24px under the toolbar, 30px above
   the grid (40px from 1200px). ------------------------------------------------------------ */
.dana-shop-dd { margin-block: 0 30px; }
@media (min-width: 1200px) { .dana-shop-dd { margin-block-end: 40px; } }
.dana-shop--dropdown .dana-shop-bar { margin-block-end: 24px; }

/* ---- The filter panel ------------------------------------------------------------------ */
.dana-fp {
  --fp-check-line: color-mix(in srgb, var(--dana-heading) 20%, transparent);
  --fp-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3l2.3 2.3 5-5.1' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  text-align: start;
}
/* The slide-in panel (#filterShop .canvas-filter): from the reading start (a sidebar_end
   panel from the end, as the template's .sidebar-filter.right), 320px (400px from 768px),
   over a 50% dark wash; a head with «Filter» 20/30 and the cross, a hairline under it; the
   facets in a scrolling body (15px 20px; 24px 32px 32px from 768px). */
.dana-fp:not(.dana-fp--dropdown) { position: fixed; inset: 0; z-index: 1600; visibility: hidden; transition: visibility 0s linear .3s; }
.dana-fp.is-open { visibility: visible; transition-delay: 0s; }
.dana-fp__backdrop { position: absolute; inset: 0; background-color: rgba(0, 0, 0, .5); opacity: 0; cursor: pointer; transition: opacity .3s var(--dana-ease); }
.dana-fp.is-open .dana-fp__backdrop { opacity: 1; }
.dana-fp__panel {
  position: absolute;
  inset-block: 0;
  left: auto;
  right: auto;
  inset-inline-start: 0;
  display: flex;
  flex-direction: column;
  inline-size: 100%;
  max-inline-size: 320px;
  block-size: 100%;
  background-color: var(--dana-bg);
  outline: none;
  transform: translateX(-100%);
  transition: transform .3s var(--dana-ease);
}
[dir="rtl"] .dana-fp__panel { transform: translateX(100%); }
.dana-fp--sidebar_end .dana-fp__panel { inset-inline-start: auto; inset-inline-end: 0; transform: translateX(100%); }
[dir="rtl"] .dana-fp--sidebar_end .dana-fp__panel { transform: translateX(-100%); }
.dana-fp.is-open .dana-fp__panel { transform: none; }
@media (min-width: 768px) { .dana-fp__panel { max-inline-size: 400px; } }
.dana-fp__head { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; }
.dana-fp__head::after { content: ""; position: absolute; inset-block-end: 0; inset-inline: 15px; block-size: 1px; background-color: var(--dana-line); }
@media (min-width: 768px) { .dana-fp__head { padding: 20px 32px; } .dana-fp__head::after { inset-inline: 32px; } }
.dana-fp__title { margin: 0; color: var(--dana-heading); font-family: var(--dana-font-heading); font-size: 20px; line-height: 30px; font-weight: 500; }
.dana-fp__close { position: relative; display: flex; flex: none; align-items: center; justify-content: flex-end; inline-size: 32px; block-size: 32px; padding: 0; border: 0; background: none; color: var(--dana-heading); font-size: 12px; cursor: pointer; transition: color .3s var(--dana-ease); }
/* The 32px box stays (the head keeps its height); a thumb gets 44 x 44, inside the head's padding. */
.dana-fp__close::before { content: ""; position: absolute; inset: -6px; }
.dana-fp__close .di { inline-size: 12px; block-size: 12px; font-size: 12px; transition: transform .3s var(--dana-ease); }
.dana-fp__close:hover, .dana-fp__close:focus-visible { color: var(--dana-accent-ink); outline: none; }
.dana-fp__close:hover .di, .dana-fp__close:focus-visible .di { transform: rotate(90deg); }
.dana-fp__body { flex: 1 1 auto; min-block-size: 0; padding: 15px 20px; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 768px) { .dana-fp__body { padding: 24px 32px 32px; } }
/* The page holds still behind an open panel (category.js, while it is a dialog). */
html.dana-fp-lock { overflow: hidden; }

/* Zid's wrappers: flat, in the panel's flow. */
.dana-fp .product-attributes { position: static; inset: auto; z-index: auto; inline-size: auto; min-inline-size: 0; padding: 0; }
.dana-fp .product-attributes-light-box { position: static; display: block; inline-size: auto; block-size: auto; background: none; }
.dana-fp .product-attributes-light-box-top-section { display: none; }
.dana-fp .products-filters-container { block-size: auto; max-block-size: none; overflow: visible; opacity: 1; background: none; font-size: inherit; transition: none; }
/* Bootstrap's .mt-4 is !important; so this is. */
.dana-fp .products-filters-container.mt-4 { margin-block-start: 0 !important; }
.dana-fp .attribute { display: block; background: none; word-wrap: normal; }
.dana-fp .filtration-header { display: none; }
.dana-fp .products-filters-attribute-form, .dana-fp .products-filters-attribute-form form, .dana-fp form#attribute_form { margin: 0; padding: 0; }

/* ---- A facet (.widget-facet): its title a button (20/30 at 500, 16/26 under 768px, 10px
   above and below) with the 8px arrow at the end, turned over when folded; its values 20px
   under it; a line and 24px between facets (32px above the line from 1200px). ------------ */
.dana-fp .attribute-group, .dana-fp .dana-fp__facet { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; text-align: start; }
.dana-fp:not(.dana-fp--dropdown) :where(.attribute-group, .dana-fp__facet):not(:last-child) { margin-block-end: 24px; padding-block-end: 24px; border-block-end: 1px solid var(--dana-line); }
@media (min-width: 1200px) { .dana-fp:not(.dana-fp--dropdown) :where(.attribute-group, .dana-fp__facet):not(:last-child) { padding-block-end: 32px; } }
/* The facets of Zid's form follow ours; the last of Zid's before the banner keeps its line. */
.dana-fp:not(.dana-fp--dropdown) :where(.dana-fp__facet--links) { margin-block-end: 24px; padding-block-end: 24px; border-block-end: 1px solid var(--dana-line); }
@media (min-width: 1200px) { .dana-fp:not(.dana-fp--dropdown) :where(.dana-fp__facet--links) { padding-block-end: 32px; } }
.dana-fp:not(.dana-fp--dropdown) .dana-fp__body:has(> .dana-fp__banner) :where(form#attribute_form > .attribute-group:last-child) { margin-block-end: 24px; padding-block-end: 24px; border-block-end: 1px solid var(--dana-line); }
.dana-fp .attribute-header, .dana-fp .dana-fp__facet-head { display: block; margin: 0; padding: 0; border: 0; background: none; }
/* Before the script: Zid's own title and arrow, drawn as the finished title. */
.dana-fp .attribute-header:not(.is-enhanced) { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.dana-fp .attribute-name { margin: 0; color: var(--dana-heading); font-family: var(--dana-font-heading); font-size: 16px; line-height: 26px; font-weight: 500; }
.dana-fp .attribute-arrow { display: none; }
.dana-fp__facet-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  inline-size: 100%;
  margin: 0;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--dana-heading);
  font-family: inherit;
  text-align: start;
  cursor: pointer;
  transition: color .3s var(--dana-ease), border-color .3s var(--dana-ease);
}
.dana-fp__facet-name { min-inline-size: 0; font-family: var(--dana-font-heading); font-size: 16px; line-height: 26px; font-weight: 500; }
@media (min-width: 768px) { .dana-fp .attribute-name, .dana-fp__facet-name { font-size: 20px; line-height: 30px; } }
.dana-fp__caret { flex: none; margin-inline-start: auto; font-size: 8px; transition: transform .35s linear; }
.dana-fp__facet-toggle:focus-visible { color: var(--dana-accent-ink); outline: none; }
@media (hover: hover) { .dana-fp__facet-toggle:hover { color: var(--dana-accent-ink); } }
/* Folding: the values slide shut; the arrow turns over (the template's .collapsed). */
.dana-fp:not(.dana-fp--dropdown) :is(.filter-content, .dana-fp__facet-body) { display: grid; grid-template-rows: 1fr; padding-block-start: 20px; transition: grid-template-rows .35s var(--dana-ease), padding .35s var(--dana-ease), visibility 0s linear 0s; }
.dana-fp:not(.dana-fp--dropdown) :is(.filter-content, .dana-fp__facet-body) > * { min-block-size: 0; overflow: hidden; margin: -3px; padding: 3px; }
.dana-fp:not(.dana-fp--dropdown) .is-collapsed :is(.filter-content, .dana-fp__facet-body) { grid-template-rows: 0fr; padding-block-start: 0; visibility: hidden; transition: grid-template-rows .35s var(--dana-ease), padding .35s var(--dana-ease), visibility 0s linear .35s; }
.dana-fp:not(.dana-fp--dropdown) .is-collapsed .dana-fp__caret { transform: rotate(180deg); }

/* ---- Values (.filter-group-check): a 16px box with a 1px line and 3px corners, filled with
   the accent and a white tick when chosen, the name 14/20 10px beside it, 10px between rows. */
.dana-fp .attribute-body { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; max-block-size: none; opacity: 1; transition: none; }
.dana-fp .filter-row { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; }
.dana-fp .attribute-body input.checkbox {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 16px;
  block-size: 16px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--fp-check-line);
  border-radius: 3px;
  background-color: transparent;
  visibility: visible;
  opacity: 1;
  cursor: pointer;
  transition: background-color .3s var(--dana-ease), border-color .3s var(--dana-ease);
}
.dana-fp .attribute-body input.checkbox::before { content: ""; inline-size: 10px; block-size: 10px; background-color: var(--dana-on-accent); -webkit-mask: var(--fp-tick) center / 10px no-repeat; mask: var(--fp-tick) center / 10px no-repeat; opacity: 0; transform: scale(0); transition: opacity .3s var(--dana-ease), transform .3s var(--dana-ease); }
.dana-fp .attribute-body input.checkbox:checked { border-color: var(--dana-accent); background-color: var(--dana-accent); }
.dana-fp .attribute-body input.checkbox:checked::before { opacity: 1; transform: none; }
.dana-fp .attribute-body input:focus, .dana-fp .attribute-body input:focus-visible { outline: none; box-shadow: none; }
.dana-fp .attribute-body input.checkbox:focus-visible:not(:checked) { border-color: var(--dana-heading); }
.dana-fp .attribute-body .attribute-label { display: flex; align-items: center; gap: 8px; min-inline-size: 0; margin: 0; padding: 0; background: none; color: var(--dana-heading); font-size: 14px; line-height: 20px; font-weight: 400; text-align: start; opacity: 1; cursor: pointer; transition: color .3s var(--dana-ease); }
.dana-fp .attribute-body .attribute-label > div:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; min-inline-size: 0; overflow-wrap: anywhere; }
.dana-fp .attribute-label-extra:not(:has(*)) { display: none; }
.dana-fp .attribute-body input:focus-visible + .attribute-label { color: var(--dana-accent-ink); }
@media (hover: hover) {
  .dana-fp .filter-row:hover input.checkbox:not(:checked) { border-color: var(--dana-heading); }
  .dana-fp .filter-row:hover .attribute-label { color: var(--dana-accent-ink); }
}
/* Counts: only when Zid sends numbers (it sends none today; its markup prints "()"). */
.dana-fp .filter-count { display: none; margin: 0; color: var(--dana-muted); font-size: inherit; }
.dana-fp[data-dana-counts="real"] .filter-count { display: inline; }
.dana-fp .filter-row.filter-unavailable { opacity: .35; pointer-events: none; }

/* ---- Colours (.filter-color-box): 32px round swatches 12px apart (10px between rows),
   the name kept for a screen reader only; the chosen one inside a dark ring 4px out. A
   hairline inside every swatch keeps a white one visible (the template rings its white). */
.dana-fp .dana-fp__facet--color .attribute-body { flex-direction: row; flex-wrap: wrap; gap: 10px 12px; }
@media (min-width: 1200px) { .dana-fp:not(.dana-fp--drawer, .dana-fp--dropdown) .dana-fp__facet--color .attribute-body { padding-inline-end: 60px; } }
.dana-fp .dana-fp__facet--color .filter-row { gap: 0; }
.dana-fp .dana-fp__facet--color .attribute-body input.checkbox { position: absolute; inset: 0; z-index: 1; inline-size: 32px; block-size: 32px; border: 0; border-radius: 50%; background: none; opacity: 0; }
.dana-fp .dana-fp__facet--color .attribute-label { gap: 0; }
.dana-fp .dana-fp__facet--color .attribute-label-extra { display: block; inline-size: 32px; block-size: 32px; padding: 0; border: 1px solid transparent; border-radius: 50%; background-color: var(--dana-bg); overflow: hidden; transition: padding .3s var(--dana-ease), border-color .3s var(--dana-ease); }
.dana-fp .dana-fp__facet--color .attribute-color { display: block; inline-size: 100%; block-size: 100%; margin: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.dana-fp .dana-fp__facet--color .attribute-label > div:last-child { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dana-fp .dana-fp__facet--color input:checked + .attribute-label .attribute-label-extra { padding: 4px; border-color: var(--dana-heading); }
.dana-fp .dana-fp__facet--color input:focus-visible + .attribute-label .attribute-label-extra { border-color: var(--fp-check-line); }
@media (hover: hover) { .dana-fp .dana-fp__facet--color .filter-row:not(:has(input:checked)):hover .attribute-label-extra { border-color: var(--fp-check-line); } }
/* A value with a picture (Zid's type "icon"). */
.dana-fp .attribute-image { display: block; inline-size: auto; max-inline-size: 40px; max-block-size: 24px; margin: 0; }

/* ---- Sizes (.filter-size-box): chips 6px 14px, a 1px line at 20%, 11px corners, 14/22.4,
   10px apart; the chosen one filled with the accent. A filter whose name says size. ------ */
.dana-fp .dana-fp__facet--size .attribute-body { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.dana-fp .dana-fp__facet--size .filter-row { gap: 0; }
.dana-fp .dana-fp__facet--size .attribute-body input.checkbox { position: absolute; inset: 0; z-index: 1; inline-size: 100%; block-size: 100%; border: 0; border-radius: min(var(--dana-radius-button), 11px); background: none; opacity: 0; }
.dana-fp .dana-fp__facet--size .attribute-label { padding: 6px 14px; border: 1px solid var(--fp-check-line); border-radius: min(var(--dana-radius-button), 11px); color: var(--dana-heading); font-size: 14px; line-height: 22.4px; transition: background-color .3s var(--dana-ease), border-color .3s var(--dana-ease), color .3s var(--dana-ease); }
.dana-fp .dana-fp__facet--size input:checked + .attribute-label { border-color: var(--dana-accent); background-color: var(--dana-accent); color: var(--dana-on-accent); }
.dana-fp .dana-fp__facet--size input:focus-visible:not(:checked) + .attribute-label { border-color: var(--dana-heading); }
@media (hover: hover) { .dana-fp .dana-fp__facet--size .filter-row:not(:has(input:checked)):hover .attribute-label { border-color: var(--dana-heading); color: var(--dana-heading); } }

/* ---- «Show more» / «Show less» (Zid shows four values, then its «عرض المزيد») ---------- */
.dana-fp .filter-row.attribute-label-hidden { display: none; max-block-size: none; opacity: 1; }
.dana-fp .is-expanded .filter-row.attribute-label-hidden { display: flex; animation: dana-fp-in .3s var(--dana-ease); }
.dana-fp .attribute-more { position: static; display: flex; justify-content: flex-start; margin: 0; padding: 0; background: none; }
/* Swatches and chips are small: every value shows, as the template shows all nine colours and
   five sizes; «Show more» stays for a list. */
.dana-fp :is(.dana-fp__facet--color, .dana-fp__facet--size) .filter-row.attribute-label-hidden { display: flex; }
.dana-fp :is(.dana-fp__facet--color, .dana-fp__facet--size) .attribute-more { display: none; }
.dana-fp .attribute-more > span, .dana-fp__more { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; background: none; color: var(--dana-heading); font-family: inherit; font-size: 12px; line-height: 19.2px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .3s var(--dana-ease); }
.dana-fp__more:focus-visible { color: var(--dana-accent-ink); outline: none; }
@media (hover: hover) { .dana-fp .attribute-more > span:hover, .dana-fp__more:hover { color: var(--dana-accent-ink); } }
.dana-fp__more .di { font-size: 8px; transform: rotate(180deg); transition: transform .3s var(--dana-ease); }
.dana-fp__more[aria-expanded="true"] .di { transform: none; }
@keyframes dana-fp-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---- The category facet (.list-categories): links 14/20, 12px apart, 200px tall at most
   with the template's 2px scrollbar. ------------------------------------------------------ */
.dana-fp__links { display: grid; gap: 12px; max-block-size: 200px; margin: 0; padding: 0; overflow-y: auto; list-style: none; scrollbar-width: thin; scrollbar-color: var(--dana-heading) var(--dana-line); }
.dana-fp__links a { color: var(--dana-heading); font-size: 14px; line-height: 20px; text-decoration: none; transition: color .3s var(--dana-ease); }
.dana-fp__links a:hover, .dana-fp__links a:focus-visible { color: var(--dana-accent-ink); outline: none; }

/* ---- Price (.widget-price): the template's slider (a 2px line, the chosen stretch and the
   12px handles in the accent), then Zid's two fields with the currency, then «Apply» (Zid
   filters a price only when it is sent). ---------------------------------------------------- */
.dana-fp .attribute-price-body { display: grid; gap: 16px; padding: 0; }
.dana-fp .attribute-price-body .form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 0; }
.dana-fp .attribute-price-body .form-group { display: grid; gap: 6px; inline-size: auto; max-inline-size: none; flex: none; margin: 0; padding: 0; text-align: start; }
.dana-fp .attribute-price-body .form-group.text-right { text-align: start !important; }
.dana-fp .attribute-price-body .form-group > label { margin: 0; color: var(--dana-muted); font-size: 12px; line-height: 19.2px; font-weight: 400; }
.dana-fp .attribute-price-body .form-group > label :is(h6, span) { margin: 0; color: inherit; font: inherit; letter-spacing: 0; }
.dana-fp .attribute-price-body .form-control { inline-size: 100%; block-size: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--dana-line); border-radius: var(--dana-radius-field); background-color: var(--dana-bg); box-shadow: none; color: var(--dana-accent-ink); font-family: inherit; font-size: 14px; line-height: 20px; -moz-appearance: textfield; appearance: textfield; transition: border-color .3s var(--dana-ease); }
.dana-fp .attribute-price-body .form-control::-webkit-inner-spin-button, .dana-fp .attribute-price-body .form-control::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.dana-fp .attribute-price-body .form-control::placeholder { color: var(--dana-muted); opacity: 1; }
.dana-fp .attribute-price-body .form-control:focus { border-color: var(--dana-heading); outline: none; box-shadow: none; }
.dana-fp__price-box { display: flex; align-items: center; gap: 6px; block-size: 40px; padding: 0 12px; border: 1px solid var(--dana-line); border-radius: var(--dana-radius-field); background-color: var(--dana-bg); cursor: text; transition: border-color .3s var(--dana-ease); }
.dana-fp__price-box:hover { border-color: var(--fp-check-line); }
.dana-fp__price-box:focus-within { border-color: var(--dana-heading); }
.dana-fp__currency { flex: none; display: inline-flex; align-items: center; color: var(--dana-accent-ink); font-size: 14px; line-height: 20px; white-space: nowrap; }
.dana-fp__currency svg { inline-size: 12px; block-size: auto; fill: currentColor; }
.dana-fp .dana-fp__price-box .form-control { flex: 1 1 auto; min-inline-size: 0; block-size: 38px; padding: 0; border: 0; border-radius: 0; background: none; }
.dana-fp .attribute-footer { display: block; margin: 0; padding: 0; }
.dana-fp .attribute-footer .highlight-button {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
  min-block-size: 40px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--dana-primary);
  border-radius: var(--dana-radius-button);
  background-color: var(--dana-primary);
  box-shadow: none;
  color: var(--dana-on-primary);
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .3s var(--dana-ease), border-color .3s var(--dana-ease), color .3s var(--dana-ease);
}
.dana-fp .attribute-footer .highlight-button:hover, .dana-fp .attribute-footer .highlight-button:focus-visible { border-color: var(--dana-heading); background-color: var(--dana-heading); color: var(--dana-bg); outline: none; box-shadow: none; }
/* The slider: two handles on one line (noUiSlider's look in the template). Drawn once the
   listing's highest price is known, so its end is a real price. */
.dana-fp__range { position: relative; block-size: 12px; margin: 6px 8px 2px; }
.dana-fp__range-track { position: absolute; inset-inline: -8px; inset-block-start: 5px; block-size: 2px; background-color: var(--dana-line); }
.dana-fp__range-fill { position: absolute; inset-block: 0; background-color: var(--dana-accent); }
.dana-fp__range-input { position: absolute; inset-block: 0; inset-inline: -8px; inline-size: calc(100% + 16px); block-size: 12px; margin: 0; padding: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.dana-fp__range-input:focus { outline: none; }
.dana-fp__range-input::-webkit-slider-runnable-track { block-size: 12px; background: none; border: 0; }
.dana-fp__range-input::-moz-range-track { block-size: 12px; background: none; border: 0; }
.dana-fp__range-input::-webkit-slider-thumb { -webkit-appearance: none; inline-size: 12px; block-size: 12px; border: 0; border-radius: 50px; background-color: var(--dana-accent); cursor: grab; pointer-events: auto; transition: transform .2s var(--dana-ease); }
.dana-fp__range-input::-moz-range-thumb { inline-size: 12px; block-size: 12px; border: 0; border-radius: 50px; background-color: var(--dana-accent); cursor: grab; pointer-events: auto; transition: transform .2s var(--dana-ease); }
.dana-fp__range-input:hover::-webkit-slider-thumb, .dana-fp__range-input:focus-visible::-webkit-slider-thumb { transform: scale(1.25); }
.dana-fp__range-input:hover::-moz-range-thumb, .dana-fp__range-input:focus-visible::-moz-range-thumb { transform: scale(1.25); }

/* ---- The banner at the end of the panel (.sb-banner): the picture 429px tall with 16px
   corners, the words and a white «Shop now» 24px above its foot, the title 26/33.2 white
   (36/43.2 from 1200px). A wash under the words keeps them readable on any picture. ------- */
.dana-fp__banner { position: relative; margin-block-start: 24px; border-radius: var(--dana-radius-image); overflow: hidden; isolation: isolate; }
.dana-fp__banner-media { position: relative; display: block; block-size: 429px; background-color: var(--dana-surface); }
.dana-fp__banner-media img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 2s cubic-bezier(0, 0, .44, 1.18); }
.dana-fp__banner:hover .dana-fp__banner-media img { transform: scale(1.06); }
.dana-fp__banner-content { position: absolute; inset-inline: 20px; inset-block-end: 24px; z-index: 1; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.dana-fp__banner::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .35)); pointer-events: none; }
/* A banner with words: the wash sits behind the words only, as tall as they are, black at 50%
   from the title's top to the foot and fading out 64px above it. Half black holds white type at
   4:1 over a white picture; the wash below (35% black at the foot) left 23-37% of the title's pixels under 3:1 on baby's
   light flat lay and up to 19% on index's yellow jacket (measured 2026-10-06). */
.dana-fp__banner.has-words::after { content: none; }
.dana-fp__banner-content::before { content: ""; position: absolute; inset: -64px -20px -24px; z-index: -1; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .5) 64px, rgba(0, 0, 0, .5) 100%); pointer-events: none; }
.dana-fp__banner-title { margin: 0 0 16px; color: #ffffff; font-family: var(--dana-font-heading); font-size: 26px; line-height: 33.2px; font-weight: 500; text-align: center; overflow-wrap: anywhere; }
@media (min-width: 1200px) { .dana-fp__banner-title { font-size: 36px; line-height: 43.2px; } }
/* Two classes, kept: page sheets load after core.css and before the card sheets (layout.jinja,
   since 2026-09-29); linked before core.css, its .dana-btn won at the same weight. */
.dana-btn.dana-fp__banner-btn { padding: 12px 33px; font-size: 14px; line-height: 19px; font-weight: 600; letter-spacing: -0.03em; pointer-events: auto; }
@media (min-width: 1200px) { .dana-btn.dana-fp__banner-btn { font-size: 16px; } }
[dir="rtl"] .dana-btn.dana-fp__banner-btn { letter-spacing: 0; }

/* ---- The sidebar column (from 1200px: .sidebar-filter, a plain column, no head, the facets
   as in the panel) ------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .dana-fp.dana-fp--sidebar_start, .dana-fp.dana-fp--sidebar_end { position: static; inset: auto; z-index: auto; visibility: visible; transition: none; }
  :is(.dana-fp--sidebar_start, .dana-fp--sidebar_end) :is(.dana-fp__backdrop, .dana-fp__head) { display: none; }
  .dana-fp:is(.dana-fp--sidebar_start, .dana-fp--sidebar_end) .dana-fp__panel { position: static; display: block; max-inline-size: none; block-size: auto; background: none; transform: none; transition: none; }
  :is(.dana-fp--sidebar_start, .dana-fp--sidebar_end) .dana-fp__body { padding: 0; overflow: visible; }
}

/* ---- The drawer from 1200px (.filter-drawer-wrap): a panel 10px under the toolbar, 32px
   32px 42px inside, 16px corners and the template's shadow, four facets a row (32px between
   columns, 40px between rows), each open with no arrow. ----------------------------------- */
@media (min-width: 1200px) {
  .dana-fp.dana-fp--drawer { position: absolute; inset: 100% 0 auto; z-index: 90; margin-block-start: 0; opacity: 0; transition: opacity .3s var(--dana-ease), margin-block-start .3s var(--dana-ease), visibility 0s linear .3s; }
  .dana-fp.dana-fp--drawer.is-open { margin-block-start: 10px; opacity: 1; transition-delay: 0s; }
  .dana-fp--drawer :is(.dana-fp__backdrop, .dana-fp__head) { display: none; }
  .dana-fp.dana-fp--drawer .dana-fp__panel { position: static; max-inline-size: none; block-size: auto; border-radius: min(var(--dana-radius-card), 16px); box-shadow: 0 4px 20px rgba(0, 0, 0, .1); transform: none; transition: none; }
  .dana-fp--drawer .dana-fp__body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 40px 32px; max-block-size: min(70vh, 640px); padding: 32px 32px 42px; overflow-y: auto; }
  .dana-fp--drawer :is(.product-attributes, .product-attributes-light-box, .products-filters-container, .attribute, .products-filters-attribute-form, .products-filters-attribute-form form, form#attribute_form) { display: contents; }
  .dana-fp.dana-fp--drawer .dana-fp__body :is(.attribute-group, .dana-fp__facet) { margin: 0; padding: 0; border: 0; }
  .dana-fp--drawer .dana-fp__facet-toggle { padding: 0; pointer-events: none; }
  .dana-fp--drawer .dana-fp__caret { display: none; }
  .dana-fp--drawer :is(.filter-content, .dana-fp__facet-body) { padding-block-start: 20px; }
  .dana-fp--drawer .is-collapsed :is(.filter-content, .dana-fp__facet-body) { grid-template-rows: 1fr; padding-block-start: 20px; visibility: visible; }
  .dana-fp--drawer .dana-fp__banner { grid-row: span 2; margin: 0; }
  .dana-fp--drawer .dana-fp__banner-media { block-size: 320px; }
}

/* ---- Dropdown (.tf-filter-dropdown): «Filter:» (16/19.2 at 500), then a pill per facet
   (.dropdown-filter: 91px at least, 8px 14px, a 1px line, 14/20 and a 12px caret; 13px 20px
   and 16px from 1200px), each opening its values under it (200px at least, 300px from 1200px;
   15px 10px inside, 25px 15px from 1200px; 8px corners, a line and the shadow). ---------- */
.dana-fp--dropdown { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 15px; min-inline-size: 0; }
@media (min-width: 1200px) { .dana-fp--dropdown { gap: 20px; } }
.dana-fp--dropdown :is(.dana-fp__body, .product-attributes, .product-attributes-light-box, .products-filters-container, .attribute, .products-filters-attribute-form, .products-filters-attribute-form form, form#attribute_form) { display: contents; }
.dana-fp__label { color: var(--dana-heading); font-size: 16px; line-height: 19.2px; font-weight: 500; white-space: nowrap; }
.dana-fp--dropdown :is(.attribute-group, .dana-fp__facet) { position: relative; margin: 0; padding: 0; border: 0; }
.dana-fp--dropdown :is(.attribute-header, .dana-fp__facet-head) { margin: 0; }
.dana-fp--dropdown .attribute-header:not(.is-enhanced) { display: inline-flex; gap: 6px; min-inline-size: 91px; justify-content: space-between; padding: 8px 14px; border: 1px solid var(--dana-line); border-radius: min(var(--dana-radius-button), 27px); }
.dana-fp--dropdown .attribute-header:not(.is-enhanced) .attribute-name,
.dana-fp--dropdown .dana-fp__facet-name { font-family: inherit; font-size: 14px; line-height: 20px; font-weight: 400; }
.dana-fp--dropdown .dana-fp__facet-toggle { justify-content: space-between; gap: 6px; inline-size: auto; min-inline-size: 91px; padding: 8px 14px; border: 1px solid var(--dana-line); border-radius: min(var(--dana-radius-button), 27px); white-space: nowrap; }
.dana-fp--dropdown .dana-fp__caret { font-size: 12px; }
.dana-fp--dropdown .is-open .dana-fp__caret { transform: rotate(180deg); }
.dana-fp--dropdown .dana-fp__facet-toggle:hover, .dana-fp--dropdown .dana-fp__facet-toggle:focus-visible, .dana-fp--dropdown .is-open .dana-fp__facet-toggle { border-color: var(--dana-heading); color: var(--dana-heading); }
@media (min-width: 1200px) {
  .dana-fp--dropdown .dana-fp__facet-toggle, .dana-fp--dropdown .attribute-header:not(.is-enhanced) { padding: 13px 20px; }
  .dana-fp--dropdown .dana-fp__facet-name, .dana-fp--dropdown .attribute-header:not(.is-enhanced) .attribute-name { font-size: 16px; }
}
.dana-fp:not(.dana-fp--dropdown) .dana-fp__pill-count { display: none; }
.dana-fp__pill-count { display: inline-grid; place-items: center; min-inline-size: 18px; block-size: 18px; padding: 0 5px; border-radius: 9px; background-color: var(--dana-heading); color: var(--dana-bg); font-size: 11px; font-weight: 600; line-height: 1; }
.dana-fp__pill-count[hidden] { display: none; }
.dana-fp--dropdown :is(.filter-content, .dana-fp__facet-body) {
  position: absolute;
  inset-block-start: calc(100% + 4px);
  inset-inline-start: 0;
  z-index: 95;
  inline-size: max-content;
  min-inline-size: 200px;
  max-inline-size: min(320px, calc(100vw - 30px));
  max-block-size: 68vh;
  padding: 15px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--dana-line);
  border-radius: min(var(--dana-radius-card), 8px);
  background-color: var(--dana-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  visibility: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s var(--dana-ease), transform .2s var(--dana-ease), visibility 0s linear .2s;
}
.dana-fp--dropdown .is-open :is(.filter-content, .dana-fp__facet-body) { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.dana-fp--dropdown .is-flipped :is(.filter-content, .dana-fp__facet-body) { inset-inline-start: auto; inset-inline-end: 0; }
.dana-fp--dropdown .dana-fp__facet--color .attribute-body, .dana-fp--dropdown .dana-fp__facet--size .attribute-body { gap: 8px; }
@media (min-width: 1200px) { .dana-fp--dropdown :is(.filter-content, .dana-fp__facet-body) { min-inline-size: 300px; padding: 25px 15px; } }
/* Below 992px a pill's values would hang off the screen's edge: each opens under the whole
   row instead, as wide as it. */
@media (max-width: 991px) {
  .dana-fp--dropdown :is(.attribute-group, .dana-fp__facet) { position: static; }
  .dana-fp--dropdown :is(.filter-content, .dana-fp__facet-body) { inset-inline: 0; inline-size: auto; min-inline-size: 0; max-inline-size: none; }
  .dana-fp__label { inline-size: 100%; }
}

/* No ring on click or tap anywhere in the listing's controls; a keyboard gets the hover state. */
:is(.dana-fp, .dana-shop-bar, .dana-shop-meta) :is(button, a, input, summary, [tabindex]):focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .dana-fp, .dana-fp *, .dana-fp-chip, .dana-sort__menu { transition-duration: .01s !important; animation-duration: .01s !important; }
}

/* ---- The empty listing: a search that found nothing, filters that left nothing, or no
   products yet; each says which and offers the way on. The template's own empty cart look:
   the icon in a panel-coloured circle, the title, a line, the buttons. Across the whole grid,
   inside #products-list, so Zid's AJAX filtering brings it in. ---------------------------- */
.dana-shop__empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; inline-size: 100%; max-inline-size: 560px; margin-inline: auto; padding-block: 40px 16px; text-align: center; }
.dana-shop__empty-icon { display: grid; place-items: center; inline-size: 96px; block-size: 96px; margin-block-end: 8px; border-radius: 50%; background-color: var(--dana-surface); color: var(--dana-heading); }
.dana-shop__empty-icon svg { display: block; inline-size: 44px; block-size: 44px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dana-shop__empty-title { margin: 0; color: var(--dana-heading); font-family: var(--dana-font-heading); font-size: 24px; line-height: 32px; font-weight: var(--dana-fw-heading); overflow-wrap: anywhere; }
.dana-shop__empty-text { margin: 0; max-inline-size: 440px; color: var(--dana-muted); font-size: 16px; line-height: 24px; }
.dana-shop__empty-search { inline-size: 100%; margin-block-start: 8px; }
.dana-shop__empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 8px; }
@media (max-width: 767px) { .dana-shop__empty-title { font-size: 20px; line-height: 28px; } .dana-shop__empty-text { font-size: 14px; line-height: 22px; } }

/* ---- Load more / infinite (.wd-load .tf-loading): an outline pill, 42px and 118px at least
   (48px and 138px from 1200px), 14/20, centred 40px under the grid; the infinite one shows
   only its spinner while a page is on its way. --------------------------------------------- */
.dana-load-more { display: flex; justify-content: center; padding-block-start: 39px; }
@media (min-width: 1200px) { .dana-load-more { padding-block-start: 60px; } }
.dana-load-more[hidden] { display: none; }
.dana-btn.dana-load-more__btn { position: relative; min-inline-size: 118px; min-block-size: 42px; padding: 10px 20px; font-size: 14px; line-height: 20px; }
@media (max-width: 767px) { .dana-btn.dana-load-more__btn { padding: 6px 20px; } }
@media (min-width: 1200px) { .dana-btn.dana-load-more__btn { min-inline-size: 138px; min-block-size: 48px; } }
.dana-load-more__spin { display: none; position: absolute; inset-block-start: calc(50% - 10px); inset-inline-start: calc(50% - 10px); inline-size: 20px; block-size: 20px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: dana-load-spin .7s linear infinite; }
.dana-load-more.is-loading .dana-load-more__text { visibility: hidden; }
.dana-load-more.is-loading .dana-load-more__spin { display: block; }
@keyframes dana-load-spin { to { transform: rotate(360deg); } }
/* A page that failed to come: the infinite list shows the real button, for the visitor to
   try again (category.js stops asking by itself). */
.dana-load-more--auto:not(.is-failed) .dana-btn.dana-load-more__btn { border-color: transparent; background: none; color: var(--dana-heading); pointer-events: none; }
.dana-load-more--auto:not(.is-failed) .dana-load-more__text { display: none; }

/* ---- The description under the products (shop-default.html #description): 16/24 centred
   (14/22 under 768px), 100px under it (80px to 1024px, 60px under 768px). ----------------- */
.dana-shop-desc { padding-block-end: 100px; }
@media (max-width: 1024px) { .dana-shop-desc { padding-block-end: 80px; } }
@media (max-width: 767px) { .dana-shop-desc { padding-block-end: 60px; } }
.dana-shop-desc__text { margin: 0; color: var(--dana-text); font-size: 16px; line-height: 24px; text-align: center; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 767px) { .dana-shop-desc__text { font-size: 14px; line-height: 22px; } }

/* ---- Category cards (.wg-cls): the sub-categories strip and the categories and brands pages.
   A square picture with 20px corners that grows to 1.06 on hover (2s), «View all» (a white
   pill, 12px 25px, 14/17 at 500) rising 30px into place 12px above its foot (24px from 768px,
   32px on the collection pages) over a 20% dark wash; the name under it (20/24 at 500, 16/20
   under 768px) 10px away (20px on the collection pages). ----------------------------------- */
.dana-cls { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-inline-size: 0; text-align: center; }
.dana-cls__media { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: calc(var(--dana-radius-image) * 1.25); background-color: var(--dana-surface); isolation: isolate; }
.dana-cls__media img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: opacity .5s ease, transform 2s cubic-bezier(0, 0, .44, 1.18); }
.dana-cls:hover .dana-cls__media img:not(.dana-cls__logo) { transform: scale(1.06); }
.dana-cls__wash { position: absolute; inset: 0; z-index: 1; background-color: var(--dana-heading); opacity: 0; transition: opacity .3s var(--dana-ease); pointer-events: none; }
.dana-cls:hover .dana-cls__wash, .dana-cls:focus-within .dana-cls__wash { opacity: .2; }
.dana-cls__btn {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 12px;
  z-index: 2;
  inline-size: max-content;
  max-inline-size: calc(100% - 24px);
  margin-inline: auto;
  padding: 12px 25px;
  border: 1px solid #ffffff;
  border-radius: var(--dana-radius-button);
  background-color: #ffffff;
  color: #000000;
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .3s var(--dana-ease), transform .3s var(--dana-ease), background-color .3s var(--dana-ease), border-color .3s var(--dana-ease), color .3s var(--dana-ease);
}
.dana-cls:hover .dana-cls__btn, .dana-cls:focus-within .dana-cls__btn { opacity: 1; transform: none; }
/* .hover-dark: the pill turns dark under the pointer. */
.dana-cls__btn:hover { border-color: var(--dana-heading); background-color: var(--dana-heading); color: var(--dana-bg); }
@media (min-width: 768px) { .dana-cls__btn { inset-inline: 24px; inset-block-end: 24px; max-inline-size: calc(100% - 48px); } }
.dana-cls__name { display: block; color: var(--dana-heading); font-family: var(--dana-font-heading); font-size: 16px; line-height: 20px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; transition: color .3s var(--dana-ease); }
@media (min-width: 768px) { .dana-cls__name { font-size: 20px; line-height: 24px; } }
.dana-cls__name:hover, .dana-cls__name:focus-visible, .dana-cls:has(.dana-cls__media:hover) .dana-cls__name { color: var(--dana-accent-ink); outline: none; }
.dana-cls__media:focus { outline: none; }
.dana-cls__content { display: grid; gap: 5px; }
.dana-cls__title { margin: 0; font-size: inherit; line-height: inherit; font-weight: inherit; }
.dana-cls__count { margin: 0; color: var(--dana-muted); font-size: 14px; line-height: 16.2px; }
@media (min-width: 768px) { .dana-cls__count { font-size: 16px; line-height: 19.2px; } }
/* No picture: the first letter on the panel colour, in the heading font, 22% of the tile
   (cqi of the tile: an element cannot query itself, so on the mark cqi fell back to the
   window and the letter was 22% of the screen, cut at the tile's edges). */
.dana-cls__media--mark { container-type: inline-size; }
.dana-cls__mark { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 30%, color-mix(in srgb, var(--dana-bg) 60%, var(--dana-surface)) 0%, var(--dana-surface) 75%); color: color-mix(in srgb, var(--dana-heading) 35%, transparent); font-family: var(--dana-font-heading); font-weight: var(--dana-fw-heading); font-size: 48px; font-size: 22cqi; line-height: 1.3; transition: transform 2s cubic-bezier(0, 0, .44, 1.18); }
.dana-cls:hover .dana-cls__mark { transform: scale(1.06); }
.dana-cls__letter { display: block; translate: var(--dana-mark-dx, 0) var(--dana-mark-dy, 0); }
/* A sub-category from the store's menu (listing-subcats.jinja): Zid gives its picture only
   through zid.categories.list(), so its letter waits out of sight on the panel colour while
   subcats.js fetches it (.is-filling, taken off when the list answers) instead of showing for
   a moment and turning into the picture; with no script it shows after 6 seconds. */
.dana-subcats.is-filling [data-dana-subcat-id] .dana-cls__letter { animation: dana-subcat-wait 0s linear 6s both; }
@keyframes dana-subcat-wait { from { opacity: 0; } to { opacity: 1; } }

/* The collection pages (shop-collection-list.html .wg-cls.style-abs2.style-lg): the name
   20px under the picture, «View all» 32px above its foot (12px under 768px). */
.dana-cls--collection { gap: 20px; }
@media (min-width: 768px) { .dana-cls--collection .dana-cls__btn { inset-block-end: 32px; } }

/* A brand's tile: the logo on its own box whatever its shape, 60% of the tile at most, on
   white; with no logo, the name as a wordmark. */
.dana-cls__media--logo { background-color: #ffffff; box-shadow: inset 0 0 0 1px var(--dana-line); }
.dana-cls__media--logo .dana-cls__logo { position: absolute; inset: 0; inline-size: auto; block-size: auto; max-inline-size: 60%; max-block-size: 60%; margin: auto; object-fit: contain; }
/* The tile centres the words; the words themselves are clamped to three lines (a clamp on the
   full-tile box drew the ellipsis on line 3 and lines 4 and 5 under it). */
.dana-cls__wordmark { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; color: var(--dana-heading); font-family: var(--dana-font-heading); font-size: 24px; line-height: 1.25; font-weight: var(--dana-fw-heading); text-align: center; }
.dana-cls__wordmark-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; max-inline-size: 100%; overflow: hidden; overflow-wrap: anywhere; }

/* ---- The sub-categories strip ------------------------------------------------------------- */
.dana-subcats { padding-block: 40px; }
@media (min-width: 768px) { .dana-subcats { padding-block: 60px; } }
.dana-subcats--circles { padding-block: 60px; }
@media (min-width: 768px) { .dana-subcats--circles { padding-block: 80px; } }
.dana-subcats__wrap { position: relative; }
.dana-subcats .swiper { min-inline-size: 0; }
/* Arrows from 1200px, on the row's edges at 45% of its height, shown while the pointer is on
   the strip (.hover-sw-nav), sliding 20px in; bullets below 1200px. Two classes, kept: page
   sheets load after core.css and before the card sheets (layout.jinja, since 2026-09-29);
   linked before core.css, its .dana-sw-nav transition took the slide and the fade away. */
.dana-sw-nav.dana-subcats__nav { position: absolute; inset-block-start: 45%; z-index: 3; margin: 0; transform: translateY(-50%); visibility: hidden; opacity: 0; transition: opacity .3s var(--dana-ease), margin .3s var(--dana-ease), visibility 0s linear .3s, background-color .3s var(--dana-ease), border-color .3s var(--dana-ease), color .3s var(--dana-ease); }
.dana-sw-nav.dana-subcats__nav--prev { left: auto; right: auto; inset-inline-start: -22px; margin-inline-start: 20px; }
.dana-sw-nav.dana-subcats__nav--next { left: auto; right: auto; inset-inline-end: -22px; margin-inline-end: 20px; }
@media (min-width: 1200px) {
  .dana-subcats__wrap:hover .dana-sw-nav.dana-subcats__nav, .dana-subcats__wrap:focus-within .dana-sw-nav.dana-subcats__nav { visibility: visible; opacity: 1; margin-inline: 0; transition-delay: 0s; }
}
@media (max-width: 1199px) { .dana-sw-nav.dana-subcats__nav { display: none; } }
.dana-subcats .dana-dots { margin-block-start: 20px; }
/* The circles (.wg-cls.style-circle-md) in the template's narrower row (.container-6: 1288px
   with its sides): 99px round pictures centred in each slide, the name 14/20 at 500 16px
   under them, «Shop all» last in a ring of the heading colour. */
.dana-subcats--circles .dana-subcats__container { max-inline-size: 1288px; }
.dana-cls--circles { gap: 16px; }
.dana-cls--circles .dana-cls__media { inline-size: 99px; block-size: 99px; margin-inline: auto; border-radius: 50%; }
.dana-cls--circles .dana-cls__mark { font-size: 36px; }
.dana-cls--circles .dana-cls__name { font-family: var(--dana-font-body); font-size: 14px; line-height: 20px; font-weight: 500; }
.dana-cls__media--all { display: flex; align-items: center; justify-content: center; border: 1px solid var(--dana-heading); background-color: var(--dana-bg); color: var(--dana-heading); }
.dana-cls__media--all img { inline-size: 64px; block-size: 17px; object-fit: contain; }
.dana-cls__media--all .di { font-size: 24px; }

/* ---- The collection pages' grid (shop-collection-list.html .flat-wrap-cls): two a row,
   three from 1200px; 24px apart (12px between columns under 992px, 42px between rows from
   1200px); the section 64px above, 80px below. The brands take four from 1200px. --------- */
.dana-collections { padding-block: 64px 80px; }
.dana-collections__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 992px) { .dana-collections__grid { column-gap: 24px; } }
@media (min-width: 1200px) { .dana-collections__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 42px; } }
@media (min-width: 768px) { .dana-collections__grid--brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .dana-collections__grid--brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- The search page: the field centred in 690px, the quick links under it --------------- */
.dana-search-page { padding-block: 64px 80px; }
.dana-search-page--list { padding-block-end: 0; }
.dana-search-page__box { max-inline-size: 690px; margin-inline: auto; }
.dana-search-page__links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 12px 0 0; color: var(--dana-muted); font-size: 14px; line-height: 22px; }
.dana-search-page__links span { color: var(--dana-heading); font-weight: 500; }
.dana-search-page__links a { color: var(--dana-muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .3s var(--dana-ease), text-decoration-color .3s var(--dana-ease); }
.dana-search-page__links a:hover, .dana-search-page__links a:focus-visible { color: var(--dana-heading); text-decoration-color: currentColor; outline: none; }
/* The field (.form-search-nav): a 50px pill with a 1px line, the magnifier at its end. */
.dana-search-form { position: relative; display: flex; align-items: center; inline-size: 100%; block-size: 50px; padding-inline: 20px 6px; border: 1px solid var(--dana-line); border-radius: var(--dana-radius-button); background-color: var(--dana-bg); transition: border-color .3s var(--dana-ease); }
.dana-search-form:focus-within { border-color: var(--dana-heading); }
.dana-search-form__input { flex: 1 1 auto; min-inline-size: 0; block-size: 100%; padding: 0; border: 0; background: none; color: var(--dana-heading); font-family: inherit; font-size: 14px; line-height: 20px; }
.dana-search-form__input:focus { outline: none; box-shadow: none; border: 0; }
.dana-search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.dana-search-form__submit { position: relative; display: grid; flex: none; place-items: center; inline-size: 38px; block-size: 38px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--dana-heading); font-size: 18px; cursor: pointer; transition: background-color .3s var(--dana-ease), color .3s var(--dana-ease); }
/* The 38px circle stays; a thumb gets 44 x 44 (inside the 50px field). */
.dana-search-form__submit::before { content: ""; position: absolute; inset: -3px; }
.dana-search-form__submit:hover, .dana-search-form__submit:focus-visible { background-color: var(--dana-heading); color: var(--dana-bg); outline: none; }
