/* =============================================================================
   ALTAY — product lists: category, overview category, search, manufacturer.
   Values: designs/Altay A Category (Overview, Search, Brands?brand=).
   ========================================================================== */

/* ---- category hero + sub-category chips ----------------------------------- */
.al-cathero-wrap { padding-top: 22px; }
.al-cathero {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 300px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--hover);
}
.al-cathero__text { container-type: inline-size; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.al-cathero__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--accent-ink); text-transform: uppercase; }
/* a long single word shrinks to its column (--al-fit: letters of the longest word, snippets/inc_al_fit.tpl;
   --al-glyph: a letter's width in the display font) — short titles keep --al-ts, the design's size */
.al-cathero__title { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); --al-ts: clamp(56px, 7vw, 110px); font-size: var(--al-ts); font-size: min(var(--al-ts), calc(100cqi / (var(--al-fit, 1) * var(--al-glyph, .56)))); line-height: .9; letter-spacing: -.03em; }
.al-cathero__lead { margin: 0; max-width: 420px; color: var(--ink2); font-size: 17px; line-height: 1.5; }
.al-cathero__media { position: relative; overflow: hidden; }
.al-cathero__img { position: absolute; inset: 0; background: var(--track) center 30% / cover no-repeat; transform: scale(1.04); }
.al-cathero--noimg { grid-template-columns: minmax(0, 1fr); }

.al-subchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
:where(.jtlw) .al-subchip, .al-subchip {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line2); background: transparent; color: var(--ink); font: 500 14px var(--font-body);
  transition: .25s; white-space: nowrap;
}
.al-subchip:hover { border-color: var(--ink); color: var(--ink); }
.al-subchip.is-active, .al-subchip.is-active:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.al-subchip__n { opacity: .6; font-size: 12px; }

/* ---- listing: filter rail + results --------------------------------------- */
.al-listing {
  padding-top: 36px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start;
  transition: grid-template-columns .4s;
}
.al-listing.is-nofilter { grid-template-columns: 0 minmax(0, 1fr); gap: 0; }
.al-filters { position: sticky; top: 150px; overflow: hidden; opacity: 1; transition: opacity .3s; min-width: 0; }
.al-listing.is-nofilter .al-filters { opacity: 0; pointer-events: none; }
.al-filters__in { display: flex; flex-direction: column; gap: 26px; width: 260px; }
.al-fgroup__h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; }
.al-range { width: 100%; margin: 2px; accent-color: var(--accent); }
.al-fchecks { display: flex; flex-direction: column; gap: 10px; }
:where(.jtlw) .al-fcheck, .al-fcheck {
  display: flex; align-items: center; gap: 10px; background: transparent; padding: 0; cursor: pointer;
  font: 400 15px var(--font-body); color: var(--ink); text-align: left;
}
.al-fcheck:hover { color: var(--ink); }
.al-fcheck__box {
  width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--ink); background: transparent; color: var(--paper);
  font-size: 12px; display: flex; align-items: center; justify-content: center; transition: background .2s; flex-shrink: 0;
}
.al-fcheck.is-active .al-fcheck__box { background: var(--ink); }
.al-fcheck.is-active .al-fcheck__box::after { content: '✓'; }
.al-fcheck__name { flex: 1 1 0%; }
.al-fcheck__n { color: var(--muted); font-size: 13px; }
.al-fsizes { display: flex; flex-wrap: wrap; gap: 6px; }
:where(.jtlw) .al-fsize, .al-fsize {
  min-width: 46px; height: 38px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: var(--ink);
  font: 600 13px var(--font-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 1px 6px;
}
.al-fsize:hover { border-color: var(--ink); color: var(--ink); }
.al-fsize.is-active, .al-fsize.is-active:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.al-ftoggles { display: flex; flex-direction: column; gap: 12px; }
:where(.jtlw) .al-freset, .al-freset { align-self: flex-start; font: 600 14px var(--font-body); text-decoration: underline; color: var(--ink); }

.al-results { min-width: 0; }
.al-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 18px;
  border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
.al-toolbar__filter {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent;
  font: 600 14px var(--font-body); cursor: pointer; color: var(--ink);
}
.al-toolbar__count { font-size: 14px; color: var(--muted); }
.al-toolbar__pills { display: flex; gap: 6px; flex-wrap: wrap; }
.al-toolbar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* empty filter result */
.al-noresult { padding: 64px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.al-noresult__t { font-family: var(--font-display); font-size: 34px; }
.al-noresult p { color: var(--muted); max-width: 420px; }

/* ---- category text --------------------------------------------------------- */
.al-cattext { padding-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.al-cattext__h { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.025em; margin: 0; font-size: 40px; line-height: 1.05; }
.al-cattext__body { font-size: 16px; line-height: 1.65; color: var(--ink2); }
.al-cattext__body p { margin: 0 0 14px; }
.al-cattext__body p:last-child { margin: 0; }

/* =============================================================================
   Shared by the list pages
   ========================================================================== */
/* JTL puts container-fluid on #content-wrapper of a list page; the sections bring their own column */
#content-wrapper.is-item-list { padding-left: 0; padding-right: 0; max-width: none; }
/* a list section without the rail (search, brand, overview, a category without filters) */
.al-listing--plain { display: block; padding-top: 0; }
.al-listing--category.al-listing--plain { padding-top: 36px; }
.al-l-pager { margin-top: 48px; }
.al-l-alert { padding: 14px 18px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); margin-bottom: 24px; }
.al-l-noresult__btn { height: 46px; padding: 0 22px; font-size: 14px; }

/* rail: the groups, „Alle anzeigen", the toggles on (accent, as the design) */
.al-fgroups { display: flex; flex-direction: column; gap: 26px; }
.al-fgroup:not(.is-open) .is-more { display: none; }
:where(.jtlw) .al-fmore, .al-fmore {
  align-self: flex-start; margin-top: 10px; padding: 0; border: 0; background: none; font: 600 13px var(--font-body);
  color: var(--ink); text-decoration: underline; cursor: pointer;
}
.al-fgroup.is-open .al-fmore { display: none; }
.al-ftoggles .al-toggle.is-on .al-toggle__track { background: var(--accent); }
.al-ftoggles .al-toggle.is-on .al-toggle__knob { transform: translateX(18px); }
.al-fcheck.is-active .al-fcheck__name { font-weight: 500; }
.al-fboxes { margin-top: 8px; }
/* sheet chrome (phone/tablet only) */
.al-fsheet__scrim, .al-fsheet__head, .al-fsheet__foot, .al-toolbar__fm, .al-l-sort__m, .al-cathero__count { display: none; }
.al-l-sort { position: relative; display: flex; }

/* =============================================================================
   Übersichtskategorie (design: Altay A Overview)
   ========================================================================== */
.al-l-ov { padding-top: 22px; }
.al-l-ov__head { container-type: inline-size; --al-col: .5238; --al-colgap: 48px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.al-l-ov__title {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.025em; margin: 0;
  --al-ts: clamp(64px, 9vw, 150px); font-size: var(--al-ts); font-size: min(var(--al-ts), calc((100cqi - var(--al-colgap, 0px)) * var(--al-col, 1) / (var(--al-fit, 1) * var(--al-glyph, .56)))); line-height: .85;
}
.al-l-ov__intro { display: flex; flex-direction: column; gap: 14px; padding-bottom: 10px; }
.al-l-ov__lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; }
.al-l-ov__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--accent-ink); text-transform: uppercase; }

.al-l-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 16px; }
:where(.jtlw) .al-l-tile, .al-l-tile { position: relative; border-radius: 24px; overflow: hidden; display: block; color: #FBF9F4; }
.al-l-tile:first-child { grid-row: span 2; }
.al-l-tile:hover { color: #FBF9F4; }
.al-l-tile__img {
  position: absolute; inset: 0; background: var(--track) center 30% / cover no-repeat;
  transform: scale(1); transition: transform 1s var(--ease-out);
}
.al-l-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 18, 15, .72)); }
.al-l-tile__body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.al-l-tile__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.al-l-tile__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 36px; line-height: 1; }
.al-l-tile__go {
  width: 44px; height: 44px; border-radius: 50%; background: #FBF9F4; color: #1A1814; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease-spring);
}
.al-l-tile__chips { display: flex; gap: 6px; flex-wrap: wrap; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.al-l-tile__chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(251, 249, 244, .5); display: flex; align-items: center; font-size: 13px; }
.al-l-tile:hover .al-l-tile__img { transform: scale(1.06); }
.al-l-tile:hover .al-l-tile__go, .al-l-tile:focus-visible .al-l-tile__go { transform: rotate(45deg); }
.al-l-tile:hover .al-l-tile__chips, .al-l-tile:focus-visible .al-l-tile__chips { max-height: 80px; }

.al-l-pop { padding-top: 96px; }
.al-l-pop__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.al-l-pop__title {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.025em; margin: 0;
  font-size: clamp(36px, 4vw, 56px); line-height: 1;
}
.al-l-pop__all, .al-l-bhead__all { font-weight: 600; border-bottom: 1px solid currentColor; }
.al-cattext--cols .al-cattext__body { columns: 2; column-gap: 36px; }

/* =============================================================================
   Suchergebnis (design: Altay A Search)
   ========================================================================== */
.al-l-shead { padding-top: 22px; }
.al-l-sform { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin: 0; }
.al-l-sform svg { flex-shrink: 0; }
.al-l-sform__input {
  flex: 1 1 0%; min-width: 0; border: none; background: transparent; outline: none; padding: 1px 2px;
  font: 400 clamp(36px, 4.5vw, 64px) var(--font-display); font-weight: var(--display-weight); color: var(--ink); letter-spacing: -.02em; line-height: normal;
}
.al-l-sform__input::placeholder { color: var(--muted2); opacity: 1; }
.al-l-sform__btn {
  height: 50px; padding: 0 24px; border-radius: 999px; border: none; background: var(--ink); color: var(--paper);
  font: 600 15px var(--font-body); cursor: pointer; flex-shrink: 0; transition: background .2s;
}
.al-l-sform__btn:hover { background: var(--accent); color: var(--on-accent); }
.al-l-sbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 22px 0 28px; }
.al-l-sbar__count { font-size: 15px; }
.al-l-sbar__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-left: 10px; }
:where(.jtlw) .al-l-schip, .al-l-schip {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2);
  background: transparent; color: var(--ink); font: 500 13px var(--font-body); transition: all .25s; white-space: nowrap;
}
.al-l-schip:hover { border-color: var(--ink); color: var(--ink); }
.al-l-schip.is-active, .al-l-schip.is-active:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.al-l-schip__n { opacity: .6; }
.al-l-sbar__sort { margin-left: auto; }
.al-l-sbrands { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.al-l-sbrands__h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); align-self: center; text-transform: uppercase; }
:where(.jtlw) .al-l-sbrand, .al-l-sbrand {
  height: 44px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  display: flex; align-items: center; gap: 10px; font-weight: 600;
}
.al-l-sbrand__n { font-weight: 400; color: var(--muted); font-size: 13px; }

/* no hits */
.al-l-none { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 40px 0 0; align-items: start; }
.al-l-none__zero { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 120px; line-height: .8; color: var(--line2); }
.al-l-none__t { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.025em; margin: 18px 0 0; font-size: 44px; line-height: 1.05; }
.al-l-none__p { font-size: 16px; line-height: 1.6; color: var(--ink2); max-width: 440px; margin: 16px 0; }
.al-l-none__terms { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
:where(.jtlw) .al-l-none__term, .al-l-none__term {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); display: flex; align-items: center; font-size: 14px; font-weight: 500;
}
.al-l-none__term:hover { background: var(--ink); color: var(--paper); }
.al-l-none__h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; text-transform: uppercase; }
.al-l-none__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* =============================================================================
   Herstellerübersicht (design: Altay A Brands) — page/manufacturers.tpl
   ========================================================================== */
.al-l-brands { padding-top: 22px; }
.al-l-brands__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.al-l-brands__title {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.025em; margin: 0;
  font-size: clamp(64px, 9vw, 140px); line-height: .85;
}
.al-l-brands__q {
  width: 300px; height: 50px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface);
  padding: 0 20px; font-size: 15px; outline: none; color: var(--ink);
}
.al-l-brands__q::placeholder { color: var(--muted2); opacity: 1; }
.al-l-brands__q:focus { border-color: var(--ink); }
.al-l-az {
  display: flex; gap: 4px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 32px; position: sticky; top: var(--al-sticky-h, 124px); background: var(--paper); z-index: 5;
}
:where(.jtlw) .al-l-az__l, .al-l-az__l {
  width: 36px; height: 36px; border-radius: 10px; background: transparent; color: var(--ink); font: 600 14px var(--font-body);
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s;
}
.al-l-az__l:hover { background: var(--hover); color: var(--ink); }
.al-l-az__l.is-off { opacity: .3; cursor: default; }
.al-l-az__l.is-off:hover { background: transparent; }
.al-l-bgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
:where(.jtlw) .al-l-brand, .al-l-brand {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  transition: transform .4s var(--ease-out), box-shadow .4s; scroll-margin-top: 200px;
}
.al-l-brand:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); color: var(--ink); }
.al-l-brand[hidden] { display: none; }
.al-l-brand__top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
.al-l-brand__name { height: 90px; display: flex; align-items: center; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 30px; letter-spacing: -.01em; }
.al-l-brand:nth-child(3n+2) .al-l-brand__name { font-family: var(--font-body); font-weight: 400; letter-spacing: .12em; }
.al-l-brand:nth-child(3n) .al-l-brand__name { font-family: var(--font-mono); font-weight: 400; }
.al-l-brand__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.al-l-brand__thumb { display: block; aspect-ratio: 1; border-radius: 10px; background: var(--track); overflow: hidden; }
.al-l-brand__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.al-l-brand__thumb.is-empty { background: repeating-linear-gradient(135deg, var(--hover) 0 18px, var(--track) 18px 19px); }
.al-l-brand__meta { font-size: 13px; color: var(--muted); }
.al-l-brands__none { padding: 60px 0; text-align: center; color: var(--muted); }

/* =============================================================================
   Herstellerseite (design: Altay A Brands?brand=)
   ========================================================================== */
.al-l-bhero-wrap { padding-top: 22px; }
.al-l-bhero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border-radius: 28px; overflow: hidden;
  background: var(--ink); color: var(--paper); min-height: 380px;
}
.al-l-bhero--noimg { grid-template-columns: minmax(0, 1fr); }
.al-l-bhero__text { container-type: inline-size; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.al-l-bhero__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; opacity: .7; }
.al-l-bhero__title {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.025em; margin: 0;
  --al-ts: clamp(56px, 7vw, 104px); font-size: var(--al-ts); font-size: min(var(--al-ts), calc(100cqi / (var(--al-fit, 1) * var(--al-glyph, .56)))); line-height: .9; color: var(--paper);
}
.al-l-bhero__lead { margin: 18px 0 0; max-width: 420px; font-size: 17px; line-height: 1.55; opacity: .85; }
.al-l-bhero__stats { display: flex; gap: 28px; }
.al-l-bhero__num { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 36px; }
.al-l-bhero__lbl { font-size: 13px; opacity: .7; }
.al-l-bhero__img { background: var(--track) center 30% / cover no-repeat; }
.al-l-bhead { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 24px; gap: 20px; }
.al-l-bhead__t { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.025em; margin: 0; font-size: 40px; }
.al-l-bempty { padding: 60px 0; text-align: center; color: var(--muted); }


/* =============================================================================
   Tablet (768–1099): grids 3 columns, the rail becomes a drawer from the left.
   Phone (< 768, design: Altay A Mobile M3): plain head (crumb, 44px title, count),
   scrolling chips, a sticky [Filter (n)] [Sortieren] bar, 2 columns, the rail as a
   bottom sheet (max 78 %, radius 28, grab handle, „n Artikel anzeigen").
   ========================================================================== */
@media (max-width: 1099px) {
  .al-listing { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .al-listing.is-nofilter { grid-template-columns: minmax(0, 1fr); }
  .al-cattext { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 64px; }
  .al-toolbar__fl { display: none; }
  .al-toolbar__fm { display: inline; }

  /* the rail as drawer / sheet */
  .al-filters, .al-listing.is-nofilter .al-filters {
    position: fixed; inset: 0; z-index: 70; top: 0; overflow: visible; opacity: 1;
    visibility: hidden; pointer-events: none; transition: visibility 0s linear .45s;
  }
  .al-filters.is-open { visibility: visible; pointer-events: auto; transition: none; }
  .al-fsheet__scrim { display: block; position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .3s; }
  .al-filters.is-open .al-fsheet__scrim { opacity: 1; }
  .al-filters__in {
    position: absolute; left: 0; top: 0; bottom: 0; width: min(400px, 86%); gap: 0;
    background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-102%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
    box-shadow: var(--shadow-dialog);
  }
  .al-filters.is-open .al-filters__in { transform: none; }
  .al-filters.is-instant .al-filters__in, .al-filters.is-instant .al-fsheet__scrim { transition: none; }
  .al-fsheet__head {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; row-gap: 4px;
    position: sticky; top: 0; z-index: 2; background: var(--paper); padding: 0 20px 14px; border-bottom: 1px solid var(--line);
  }
  .al-fsheet__head { padding-top: 18px; }
  .al-fsheet__grab { display: none; grid-column: 1 / -1; width: 44px; height: 5px; border-radius: 5px; background: var(--line2); margin: 10px auto 4px; }
  .al-fsheet__t { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 26px; }
  :where(.jtlw) .al-fsheet__reset, .al-fsheet__reset {
    font: 400 14px var(--font-body); color: var(--ink); text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer;
  }
  .al-fgroups { padding: 16px 20px; gap: 20px; }
  .al-fgroup--chips { order: -2; }
  .al-fgroup--price { order: -1; }
  .al-fgroup__h { font: 600 16px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 10px; }
  .al-fgroup__dot { display: none; }
  .al-fgroup__hp::after { content: ""; }
  .al-fchecks { gap: 0; }
  .al-fcheck { height: 40px; font-size: 15px; }
  .al-fcheck__box { width: 20px; height: 20px; border-radius: 6px; }
  .al-fcheck__n { display: none; }
  .al-fsize { min-width: 52px; height: 44px; border-radius: 12px; font-size: 14px; }
  .al-freset { margin: 0 20px 20px; }
  .al-fboxes { padding: 0 20px 20px; }
  .al-fsheet__foot {
    display: block; position: sticky; bottom: 0; z-index: 2; margin-top: auto;
    padding: 12px 16px 26px; border-top: 1px solid var(--line); background: var(--surface);
  }
  .al-fsheet__go { height: 52px; font-size: 15px; }

  .al-l-tiles { grid-auto-rows: 240px; }
  .al-l-ov__head { grid-template-columns: minmax(0, 1fr); gap: 18px; --al-col: 1; --al-colgap: 0px; }
  .al-l-bgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .al-l-none { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .al-l-bhero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); min-height: 320px; }
  .al-l-bhero__text { padding: 32px; }
}

@media (max-width: 767px) {
  /* head: crumb, title, count — no hero picture (M3) */
  .al-cathero-wrap { padding-top: 18px; }
  .al-cathero-wrap .al-crumb { font-size: 12px; margin-bottom: 0; gap: 3px; }   /* phone: one line of muted text, „Startseite / Mode" (design M3) */
  .al-cathero-wrap .al-crumb__here { color: inherit; }
  .al-cathero { display: block; background: none; border-radius: 0; min-height: 0; overflow: visible; }
  .al-cathero__text { padding: 0; gap: 0; display: block; }
  .al-cathero__meta, .al-cathero__lead, .al-cathero__media { display: none; }
  .al-cathero__title { --al-ts: 44px; line-height: normal; letter-spacing: -.02em; margin: 6px 0 0; }
  .al-cathero__count { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
  .al-subchips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px;
    margin: 4px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter);
  }
  .al-subchips::-webkit-scrollbar { display: none; }
  :where(.jtlw) .al-subchip, .al-subchip { flex-shrink: 0; height: 36px; padding: 0 14px; font-size: 13px; }
  .al-subchip__n { display: none; }

  /* sticky [Filter (n)] [Sortieren: …] */
  .al-listing, .al-listing--category.al-listing--plain { padding-top: 0; }
  .al-toolbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 0 14px; margin-bottom: 0; border-bottom: 0;
    position: sticky; top: var(--al-sticky-h, 86px); z-index: 6; background: var(--paper);
  }
  .al-toolbar__count, .al-toolbar__pills, .al-l-cols { display: none; }
  .al-toolbar__filter { height: 44px; width: 100%; }
  .al-toolbar__right { display: contents; }
  .al-l-sort { height: 44px; border-radius: 999px; border: 1px solid var(--line2); align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
  .al-l-sort__m { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 12px; }
  .al-l-sort__sel { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
  .al-l-sort.al-l-sort { margin: 0; }

  /* pager: numbers only */
  .al-pager { margin-top: 26px; padding-bottom: 8px; }
  .al-pager__seen, .al-pager__bar, .al-pager__arrow.is-off { display: none; }
  :where(.jtlw) .al-pager__num, .al-pager__num, :where(.jtlw) .al-pager__arrow, .al-pager__arrow { width: 40px; height: 40px; }

  /* the rail as a bottom sheet */
  .al-fsheet__head { padding-top: 0; }
  .al-fsheet__grab { display: block; }
  .al-filters__in {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 78%;
    border-radius: 28px 28px 0 0; transform: translateY(102%);
  }
  .al-noresult { padding: 48px 0; }
  .al-noresult__t { font-size: 28px; }

  .al-cattext__h { font-size: 30px; }
  .al-cattext--cols .al-cattext__body { columns: 1; }

  /* overview */
  .al-l-ov { padding-top: 18px; }
  .al-l-ov__head { margin-bottom: 24px; }
  .al-l-ov__title { --al-ts: 56px; }
  .al-l-ov__lead { font-size: 16px; }
  .al-l-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 10px; }
  .al-l-tile { border-radius: 18px; }
  .al-l-tile:first-child { grid-column: span 2; grid-row: span 1; }
  .al-l-tile__body { left: 14px; right: 14px; bottom: 14px; }
  .al-l-tile__name { font-size: 24px; }
  .al-l-tile__go { width: 34px; height: 34px; }
  .al-l-pop { padding-top: 64px; }
  .al-l-pop__head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }

  /* search */
  .al-l-shead { padding-top: 18px; }
  .al-l-sform { gap: 10px; }
  .al-l-sform svg { width: 24px; height: 24px; }
  .al-l-sform__input { font-size: 32px; }
  .al-l-sform__btn { height: 44px; padding: 0 16px; font-size: 14px; }
  .al-l-sbar { margin: 16px 0 20px; }
  .al-l-sbar__chips { margin-left: 0; order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .al-l-sbar__chips::-webkit-scrollbar { display: none; }
  .al-l-schip { flex-shrink: 0; }
  .al-l-none { padding-top: 16px; }
  .al-l-none__zero { font-size: 88px; }
  .al-l-none__t { font-size: 32px; }

  /* brands */
  .al-l-brands { padding-top: 18px; }
  .al-l-brands__title { font-size: 56px; }
  .al-l-brands__q { width: 100%; height: 46px; font-size: 16px; }
  .al-l-az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 20px; padding: 10px var(--gutter); }
  .al-l-az::-webkit-scrollbar { display: none; }
  .al-l-az__l { flex-shrink: 0; width: 32px; height: 32px; }
  .al-l-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .al-l-brand { padding: 14px; gap: 10px; border-radius: 18px; }
  .al-l-brand__name { height: 56px; font-size: 20px; }

  /* brand page */
  .al-l-bhero-wrap { padding-top: 18px; }
  .al-l-bhero { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 22px; }
  .al-l-bhero__img { min-height: 220px; order: -1; }
  .al-l-bhero__text { padding: 24px; gap: 18px; }
  .al-l-bhero__lead { font-size: 15px; }
  .al-l-bhead { margin: 28px 0 18px; }
  .al-l-bhead__t { font-size: 28px; }
}
