/* =============================================================================
   ALTAY — shell: notice bar, header, category row, mega menu, search suggestions,
   cart pill + mini-cart, phone/tablet drawer, footer, payment chips.
   Values: designs/Altay A Header · A Footer · A Mobile (M1, M2, T1).
   ========================================================================== */

/* ---- sticky wrapper (notice + header move together) ----------------------- */
.al-sticky { position: sticky; top: 0; z-index: 40; display: flex; flex-direction: column; }

/* ---- notice bar ----------------------------------------------------------- */
.al-notice { background: var(--ink); color: var(--paper); font-size: 13px; overflow: hidden; position: relative; z-index: 41; }
.al-notice__in { max-width: var(--container); margin: 0 auto; padding: 9px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.al-notice__loc { opacity: .75; }
.al-notice__tick { height: 18px; overflow: hidden; flex: 1 1 0%; text-align: center; }
.al-notice__roll { transition: transform .6s var(--ease-snap); }
.al-notice__msg { height: 18px; }
.al-notice__links { display: flex; gap: 18px; }
:where(.jtlw) .al-notice__links a, .al-notice__links a { opacity: .75; color: var(--paper); }
.al-notice__links a:hover { opacity: 1; color: var(--paper); }

/* ---- header --------------------------------------------------------------- */
.al-head { position: relative; z-index: 40; }
.al-head__bar {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); position: relative;
}
.al-head__row {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: 76px;
}
.al-burger { display: none; }

/* search — underline field, suggestion panel under it */
.al-search { justify-self: start; width: 100%; max-width: 340px; position: relative; margin: 0; grid-column: 1; grid-row: 1; }
.al-search__field { display: flex; align-items: center; gap: 12px; height: 42px; border-bottom: 1px solid var(--ink); color: var(--muted); }
.al-search__field svg { flex-shrink: 0; }
.al-search__field input {
  flex: 1 1 0%; min-width: 0; border: none; background: transparent; outline: none; padding: 1px 2px;
  font: 400 15px var(--font-body); color: var(--ink); height: auto;
}
.al-search__field input::placeholder { color: var(--muted); opacity: 1; }
.al-search__kbd { font-family: var(--font-mono); font-size: 11px; border: 1px solid var(--line2); border-radius: 6px; padding: 2px 6px; }
.al-search__cancel { display: none; }

.al-sug {
  position: absolute; left: 0; top: calc(100% + 10px); width: 560px; z-index: 45;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-pop);
  padding: 16px; color: var(--ink);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s, transform .3s var(--ease-out);
}
.al-search.is-open .al-sug { opacity: 1; transform: none; pointer-events: auto; }
.al-sug:empty { display: none; }
.al-sug__grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; }
.al-sug__grid--solo { grid-template-columns: minmax(0, 1fr); }
.al-sug__h { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
.al-sug__terms { display: flex; flex-direction: column; gap: 2px; }
:where(.jtlw) .al-sug__term, .al-sug__term { padding: 7px 8px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.al-sug__term:hover, .al-sug__term.is-active { background: var(--hover); color: var(--ink); }
:where(.jtlw) .al-sug__item, .al-sug__item { display: flex; align-items: center; gap: 12px; padding: 7px; border-radius: 12px; background: transparent; color: var(--ink); }
.al-sug__item:hover, .al-sug__item.is-active { background: var(--hover); color: var(--ink); }
.al-sug__thumb { width: 44px; height: 52px; border-radius: 8px; background: var(--hover); flex-shrink: 0; overflow: hidden; }
.al-sug__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.al-sug__txt { flex: 1 1 0%; min-width: 0; }
.al-sug__name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-sug__brand { font-size: 12px; color: var(--muted); }
.al-sug__price { font-size: 14px; font-weight: 700; }
:where(.jtlw) .al-sug__all, .al-sug__all {
  display: flex; justify-content: center; align-items: center; margin-top: 8px; height: 40px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 13px;
}
.al-sug__all:hover { background: var(--accent); color: var(--on-accent); }
.al-sug__msg { padding: 10px 8px; font-size: 14px; color: var(--muted); }
.al-sug__n { display: none; }   /* the result count shows on phones only */

/* logo — the shop name as a Gloock wordmark with the accent dot */
:where(.jtlw) .al-logo, .al-logo {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 36px; letter-spacing: -.02em; line-height: 1;
  color: var(--ink); grid-column: 2; grid-row: 1; white-space: nowrap;
}
.al-logo:hover { color: var(--ink); }
.al-logo__dot { color: var(--accent-ink); }
.al-logo img { height: 40px; width: auto; display: block; }

/* icons + cart pill */
.al-icons { justify-self: end; display: flex; align-items: center; gap: 4px; grid-column: 3; grid-row: 1; }
:where(.jtlw) .al-icon, .al-icon {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; padding: 0;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.al-icon:hover { background: var(--hover); color: var(--ink); }
.al-icon--search { display: none; }
.al-badge {
  position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; border-radius: 999px; padding: 0;
  background: var(--accent); color: var(--on-accent); font: 600 10px var(--font-body);
  display: flex; align-items: center; justify-content: center;
}
.al-badge--ink { background: var(--ink); color: var(--paper); }
.al-badge.d-none { display: none; }

.al-cart { position: relative; margin-left: 6px; }
:where(.jtlw) .al-cart__pill, .al-cart__pill {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 18px; border-radius: 999px;
  border: 1px solid var(--ink); color: var(--ink); font: 600 14px var(--font-body); white-space: nowrap;
  transition: background .2s, color .2s;
}
.al-cart__pill:hover, .al-cart.is-open .al-cart__pill { background: var(--ink); color: var(--paper); }
.al-cart__count {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  transition: transform .25s var(--ease-spring);
}
.al-cart__count.is-bump { transform: scale(1.4); }
.al-cart__bag { display: none; }

/* mini-cart (m1) */
.al-cart__drop {
  position: absolute; right: 0; top: 100%; padding-top: 10px; width: 400px; z-index: 46;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s, transform .3s var(--ease-out);
}
.al-cart.is-open .al-cart__drop { opacity: 1; transform: none; pointer-events: auto; }
.al-mc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-pop); color: var(--ink); overflow: hidden; }
.al-mc__head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.al-mc__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; }
.al-mc__n { font-size: 13px; color: var(--muted); }
.al-mc__body { max-height: 300px; overflow: auto; padding: 4px 18px; }
.al-mc__line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hover); align-items: center; }

.al-mc__img { width: 52px; height: 62px; border-radius: 10px; background: var(--hover); flex-shrink: 0; overflow: hidden; }
.al-mc__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.al-mc__info { flex: 1 1 0%; min-width: 0; }
:where(.jtlw) .al-mc__name, .al-mc__name { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.al-mc__meta { font-size: 12px; color: var(--muted); }
.al-mc__price { font-size: 14px; }
.al-mc__rmform { margin: 0; }
.al-mc__rm { width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--hover); cursor: pointer; font-size: 11px; color: var(--ink); padding: 0; }
.al-mc__foot { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.al-mc__sum { display: flex; justify-content: space-between; font-size: 15px; margin-top: 4px; }
.al-mc__sum--sub { font-size: 13px; color: var(--muted); margin-top: 0; }
.al-mc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
:where(.jtlw) .al-mc__btn, .al-mc__btn {
  height: 46px; border-radius: 999px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; color: var(--ink);
}
.al-mc__btn:hover { background: var(--ink); color: var(--paper); }
:where(.jtlw) .al-mc__btn--go, .al-mc__btn--go { background: var(--ink); color: var(--paper); }
.al-mc__btn--go:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.al-mc__empty { padding: 28px 18px 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 15px; }
.al-mc__empty-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--hover); display: flex; align-items: center; justify-content: center; }
.al-mc__empty .al-mc__btn { width: 100%; }

/* free-shipping bar (mini-cart, basket, PDP) */
.al-ship { display: flex; flex-direction: column; gap: 10px; }
.al-ship__txt { font-size: 12px; color: var(--muted); }
.al-ship__track { height: 5px; background: var(--track); border-radius: 5px; overflow: hidden; }
.al-ship__track--tall { height: 6px; }
.al-ship__fill { height: 100%; background: var(--accent); transition: width .6s; }

/* ---- category row --------------------------------------------------------- */
.al-nav {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  border-top: 1px solid var(--line);
}
.al-nav__list {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.al-nav__item { position: static; }
:where(.jtlw) .al-nav__link, .al-nav__link { position: relative; display: block; padding: 13px 0; color: var(--ink); line-height: normal; }
.al-nav__link:hover, .al-nav__item.is-open > .al-nav__link { color: var(--accent-ink); }
.al-nav__item--sale .al-nav__link, .al-nav__item--sale .al-nav__link:hover { color: var(--accent-ink); }
.al-nav__dot {
  position: absolute; left: 50%; bottom: 7px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .3s var(--ease-spring);
}
.al-nav__item.is-active .al-nav__dot,
.al-nav__item:hover .al-nav__dot,
.al-nav__item.is-open .al-nav__dot { transform: scale(1); }

/* mega menu: full width under the header, three link columns + the Empfehlung card */
.al-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 44;
  background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(26,24,20,.25);
  opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .35s;
  text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 16px;
}
.al-nav__item.is-open > .al-mega { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .25s, transform .35s var(--ease-out), visibility 0s; }
.al-mega__in {
  max-width: var(--container); margin: 0 auto; padding: 32px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px;
}
.al-mega__cols { grid-column: 1 / 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-content: start; }
:where(.jtlw) .al-mega__head, .al-mega__head {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; font-weight: 400;
}
.al-mega__head:hover { color: var(--ink); }
.al-mega__links { display: flex; flex-direction: column; gap: 10px; }
:where(.jtlw) .al-mega__link, .al-mega__link { font-size: 16px; color: var(--ink); transition: transform .2s; align-self: flex-start; }
.al-mega__link:hover { transform: translateX(4px); color: var(--accent-ink); }
:where(.jtlw) .al-mega__feat, .al-mega__feat {
  grid-column: 4; border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink); align-self: start;
}
.al-mega__feat:hover { color: var(--ink); }
.al-mega__feat-img { background: var(--hover) center 30% / cover no-repeat; min-height: 170px; }
.al-mega__feat-body { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.al-mega__feat-ey { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent-ink); text-transform: uppercase; }
.al-mega__feat-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; line-height: 1.15; }
.al-mega__feat-foot { font-weight: 600; }

/* ---- checkout header (design: Altay A Checkout — 1200px column, 79px with the border) ---- */
.al-head--checkout { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.al-head--checkout .al-head__row { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; height: auto; padding: 22px 32px; gap: 16px; }
:where(.jtlw) .al-head__back, .al-head__back { font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.al-head__back:hover { color: var(--accent-ink); }
.al-head--checkout .al-logo { font-size: 34px; line-height: 1; letter-spacing: 0; position: static; transform: none; }
.al-head__secure { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.al-head__secure-short { display: none; }
@media (max-width: 767px) {
  .al-head--checkout .al-head__row { height: 55px; padding: 0 16px; }   /* 56 with the border line, as drawn */
  .al-head__back-txt { display: none; }
  .al-head__back { font-size: 20px; }
  /* the main header's phone rules (logo order 2, flex 1) must not reach this row */
  .al-head--checkout .al-logo { font-size: 26px; order: 0; flex: 0 0 auto; text-align: left; }
  .al-head--checkout .al-head__back, .al-head--checkout .al-head__secure { order: 0; }
  .al-head__secure svg, .al-head__secure-long { display: none; }
  .al-head__secure-short { display: inline; font-size: 12px; }
}

/* ---- drawer (phone/tablet) ------------------------------------------------ */
.al-drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; transition: visibility 0s .45s; }
.al-drawer.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.al-drawer__scrim { position: absolute; inset: 0; background: rgba(26, 24, 20, .45); opacity: 0; transition: opacity .35s; }
.al-drawer.is-open .al-drawer__scrim { opacity: 1; }
.al-drawer__panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: 86%; max-width: 420px; background: var(--paper);
  transform: translateX(-102%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.al-drawer.is-open .al-drawer__panel { transform: none; }
.al-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.al-drawer__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 26px; }
.al-drawer__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; cursor: pointer; color: var(--ink); padding: 0; }
.al-drawer__body { flex: 1 1 0%; overflow: auto; padding: 8px 18px; }
.al-acc { border-bottom: 1px solid var(--line); }
:where(.jtlw) .al-acc__btn, .al-acc__btn {
  width: 100%; height: 54px; display: flex; align-items: center; justify-content: space-between; border: none; background: transparent;
  font: 600 17px var(--font-body); cursor: pointer; color: var(--ink); padding: 1px 6px; text-align: left;
}
.al-acc.is-open > .al-acc__btn { color: var(--accent-ink); }
.al-acc__chev { font-size: 18px; transition: transform .3s; }
.al-acc.is-open .al-acc__chev { transform: rotate(90deg); }
.al-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s; }
.al-acc.is-open .al-acc__body { grid-template-rows: 1fr; }
.al-acc__clip { overflow: hidden; }
.al-acc__links { display: flex; flex-direction: column; gap: 12px; padding: 0 0 16px 12px; }
:where(.jtlw) .al-acc__links a, .al-acc__links a { font-size: 15px; color: var(--ink2); }
.al-drawer__pages { display: flex; flex-direction: column; gap: 14px; padding: 20px 0; font-size: 15px; }
:where(.jtlw) .al-drawer__sale, .al-drawer__sale { color: var(--accent-ink); font-weight: 600; }
.al-drawer__foot { padding: 16px 18px 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 14px; }
.al-drawer__btn { height: 46px; padding: 0; }
.al-drawer__meta { grid-column: span 2; text-align: center; color: var(--muted); font-size: 13px; margin-top: 6px; }
:where(.jtlw) .al-drawer__meta a, .al-drawer__meta a { color: var(--muted); }
html.al-lock, html.al-lock body { overflow: hidden; }

/* ---- footer --------------------------------------------------------------- */
.al-foot { margin-top: 96px; color: var(--ink); }
.al-foot__usps {
  display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.al-foot__usp { padding: 20px 22px; border-right: 1px solid var(--line); }
.al-foot__usp:last-child { border-right: 0; }
.al-foot__usp .rz-footer-usp__d { font-size: 14px; color: var(--muted); }
.al-foot__grid {
  max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter) 36px;
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px; font-size: 14px;
  grid-auto-flow: row dense;
}
/* anything else that lands in the grid (a plugin's element, an empty wrapper) must not take a
   column cell and push the link columns onto a second row: it goes below them, full width */
.al-foot__grid > :not(.al-foot__brand, .al-foot__col) { grid-column: 1 / -1; order: 1; min-width: 0; }
.al-foot__grid > :empty:not(.al-foot__brand, .al-foot__col) { display: none; }
.al-foot__brand { display: flex; flex-direction: column; gap: 14px; }
:where(.jtlw) .al-foot__logo, .al-foot__logo { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 40px; line-height: 1; color: var(--ink); align-self: flex-start; }
.al-foot__logo img { height: 44px; width: auto; }
.al-foot__about { margin: 0; color: var(--muted); max-width: 280px; line-height: 1.5; }
:where(.jtlw) .al-foot__nl, .al-foot__nl {
  align-self: flex-start; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ink);
  display: flex; align-items: center; font-weight: 600; color: var(--ink);
}
.al-foot__nl:hover { background: var(--ink); color: var(--paper); }
.al-foot__social { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; }
.al-foot__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.al-foot__h { font-weight: 700; }
/* the shop's own bottom boxes (JTL box-linkgroup), drawn as the same column: JTL prints a
   collapse toggle for phones AND a headline for desktop — in the footer the headline is the
   column title on every width, the list is always open, the rule under the box goes */
.al-foot__col .box { border: 0; background: none; padding: 0; margin: 0; width: 100%; }
.al-foot__col .box-normal-link, .al-foot__col .box-normal-hr { display: none !important; }
.al-foot__col .productlist-filter-headline, .al-foot__col .box-normal .productlist-filter-headline { display: block !important; font-family: var(--font-body); letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 700; font-size: 14px; margin: 0 0 10px; padding: 0; border: 0; }
.al-foot__col .box-title, .al-foot__col h5, .al-foot__col .h5 { font-weight: 700; font-size: 14px; margin: 0 0 10px; }
.al-foot__col .collapse { display: block !important; height: auto !important; }
.al-foot__col ul, .al-foot__col .nav { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.al-foot__col .nav-item { margin: 0; }
:where(.jtlw) .al-foot__col .nav-link, .al-foot__col .nav-link { padding: 0; color: var(--ink); font-size: 14px; }
.al-foot__col .nav-link:hover { color: var(--accent-ink); }
.al-foot__bottom {
  max-width: var(--container); margin: 0 auto; padding: 22px var(--gutter) 32px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.al-foot__legal { display: flex; gap: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; margin-left: auto; }
:where(.jtlw) .al-foot__legal a, .al-foot__legal a { color: var(--muted); }
.al-foot__legal a:hover { color: var(--ink); }

/* payment chips — names drawn as the design's marks */
.al-foot__pay { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.al-paychip {
  height: 30px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line2); background: var(--surface);
  display: flex; align-items: center; font: 700 12px var(--font-body); color: var(--ink);
}
.al-paychip img { height: 18px; width: auto; }
.al-paychip.has-img .rz-paymark__name, .al-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.al-paychip--visa { font: italic 800 13px var(--font-body); color: #1A1F71; }
.al-paychip--mastercard { padding: 0 8px; }
.al-paychip__mc { display: flex; }
.al-paychip__mc i { width: 14px; height: 14px; border-radius: 50%; background: #EB001B; }
.al-paychip__mc i + i { background: #F79E1B; margin-left: -6px; mix-blend-mode: multiply; }
.al-paychip--paypal { color: #003087; }
.al-paychip__pal { color: #009CDE; }
.al-paychip--applepay { font-weight: 600; color: #000; }
.al-paychip--klarna { background: #FFB3C7; color: #17120F; }
.al-paychip--sepa { font-size: 11px; color: #2B4593; }
.al-paychip--dhl { background: #FFCC00; font: 800 11px var(--font-body); color: #D40511; }
.al-paychip--hermes { background: #00A6E1; color: #fff; }

/* the „Vertrag widerrufen" button (JTL 5.7+, when switched on in the shop) */
.rz-wrbbtn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); font-size: 13px; font-weight: 600; }

/* =============================================================================
   Tablet 768–1099 (design T1 at 820): notice centred, burger „Menü" | logo |
   search pill + cart pill; account, wishlist, compare and the category row go
   to the drawer.
   ========================================================================== */
@media (max-width: 1099px) {
  .al-notice { font-size: 12px; }
  .al-notice__in { padding: 8px; justify-content: center; }
  .al-notice__loc, .al-notice__links { display: none; }
  .al-notice__tick { height: auto; }
  .al-notice__roll { transform: none !important; }
  .al-notice__msg { height: auto; display: none; }
  .al-notice__msg:first-child { display: block; }

  /* the design measures 68px with the border */
  .al-head__row { display: flex; align-items: center; height: 67px; padding: 0 20px; gap: 0; position: relative; }
  .al-burger {
    display: flex; align-items: center; gap: 16px; border: 0; background: transparent; padding: 0;
    color: var(--ink); cursor: pointer; height: 44px;
  }
  .al-burger__lines { display: flex; flex-direction: column; gap: 5px; }
  .al-burger__lines i { display: block; width: 22px; height: 2px; background: var(--ink); }
  .al-burger__lines i:last-child { width: 14px; }
  .al-burger__label { font-size: 14px; font-weight: 500; }
  /* the design centres the logo with 1fr auto 1fr — the same centre, drawn absolutely */
  .al-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 32px; letter-spacing: 0; line-height: normal; }
  .al-search { margin-left: auto; margin-right: 10px; width: 200px; max-width: none; }
  .al-search__field { height: 40px; border: 1px solid var(--line2); border-radius: 999px; padding: 0 14px; gap: 8px; }
  .al-search__field svg, .al-search__kbd { display: none; }
  .al-search__field input { font-size: 14px; }
  /* the tablet pill reads „Suche …“ while empty */
  .al-search__field { position: relative; }
  .al-search__field input::placeholder { color: transparent; }
  .al-search__field:has(input:placeholder-shown)::after { content: 'Suche …'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); pointer-events: none; }
  .al-sug { width: min(560px, calc(100vw - 40px)); left: auto; right: 0; }
  .al-icons { gap: 10px; }
  .al-icon--account, .al-icon--compare, .al-icon--wish { display: none; }
  .al-cart { margin-left: 0; }
  .al-cart__pill { height: 40px; padding: 0 6px 0 14px; gap: 8px; font-size: 13px; }
  .al-cart__count { width: 28px; height: 28px; font-size: 12px; }
  .al-cart__drop { display: none; }
  .al-nav { display: none; }
  .al-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; }
  .al-foot__brand { grid-column: span 2; }
  .al-foot__usps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-foot__usp:nth-child(2n) { border-right: 0; }
  .al-foot__usp:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .al-foot__legal { margin-left: 0; }
}

/* =============================================================================
   Phone < 768 (design M1/M2 at 420): burger | logo | search icon · bag icon,
   the notice under the header; search opens as a full-screen overlay.
   ========================================================================== */
@media (max-width: 767px) {
  .al-sticky { flex-direction: column; }
  .al-notice { order: 2; }
  .al-head { order: 1; }
  .al-notice__msg:first-child .al-notice__more { display: none; }
  .al-head__bar { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .al-head__row { display: flex; align-items: center; gap: 6px; height: 55px; padding: 0 10px; }
  .al-burger { width: 44px; height: 44px; justify-content: center; flex-shrink: 0; order: 1; }
  .al-burger__lines i { width: 20px; border-radius: 2px; }
  .al-burger__lines { align-items: center; }
  .al-burger__lines i:last-child { width: 14px; align-self: flex-start; margin-left: 0; }
  .al-burger__label { display: none; }
  .al-logo { position: static; transform: none; order: 2; flex: 1 1 0%; text-align: center; font-size: 28px; letter-spacing: 0; line-height: 1; }
  .al-logo img { height: 30px; margin: 0 auto; }
  .al-icons { order: 3; gap: 6px; }
  .al-icon--search { display: flex; }
  .al-icon--search:hover { background: transparent; }
  .al-cart__pill { border: 0; padding: 0; width: 44px; height: 44px; justify-content: center; position: relative; background: transparent; gap: 0; }
  .al-cart__pill:hover, .al-cart.is-open .al-cart__pill { background: transparent; color: var(--ink); }
  .al-cart__sum { display: none; }
  .al-cart__bag { display: block; }
  .al-cart__count { position: absolute; top: 6px; right: 4px; min-width: 17px; width: auto; height: 17px; border-radius: 999px; font: 700 10px var(--font-body); padding: 0 4px; }

  /* search overlay */
  .al-search { display: none; }
  html.al-search-on .al-search {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 95; width: auto; max-width: none; margin: 0;
    justify-self: stretch; align-self: stretch;   /* the desktop „start" would shrink the fixed overlay to its content */
    background: var(--paper);
  }
  html.al-search-on .rz-headwrap { z-index: 42; }   /* the overlay lives in the header: lift it above the notice bar (41) */
  html.al-search-on .al-search__field {
    margin: 8px 14px 12px; height: 46px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--ink); padding: 0 14px; gap: 10px; color: var(--muted);
  }
  html.al-search-on .al-search__field svg { display: block; }
  html.al-search-on .al-search__field input { font-size: 16px; }
  html.al-search-on .al-search__cancel { display: block; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; margin-right: -94px; }
  html.al-search-on .al-search__field { margin-right: 94px; }
  html.al-search-on .al-sug__h { margin-bottom: 10px; }
  html.al-search-on .al-sug__h--items { margin-bottom: 6px; }
  html.al-search-on .al-sug__n { display: inline; }
  html.al-search-on .al-sug__item { padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  html.al-search-on .al-sug__item:hover, html.al-search-on .al-sug__item.is-active { background: transparent; }
  html.al-search-on .al-sug__thumb { width: 56px; height: 68px; border-radius: 10px; }
  html.al-search-on .al-sug__name { font-size: 15px; }
  html.al-search-on .al-sug__brand { font-size: 13px; }
  html.al-search-on .al-sug__all { height: 52px; margin-top: 18px; font-size: 15px; }
  html.al-search-on .al-sug__arr { display: none; }
  html.al-search-on .al-sug {
    position: static; width: auto; opacity: 1; transform: none; pointer-events: auto; border: 0; border-top: 1px solid var(--line);
    border-radius: 0; box-shadow: none; background: transparent; flex: 1 1 0%; overflow: auto; padding: 16px;
  }
  html.al-search-on .al-sug__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  html.al-search-on .al-sug__terms { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  html.al-search-on .al-sug__term { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); display: flex; align-items: center; font-size: 14px; }

  .al-foot { margin-top: 64px; }
  .al-foot__usps { grid-template-columns: minmax(0, 1fr); }
  .al-foot__usp { border-right: 0; border-bottom: 1px solid var(--line); }
  .al-foot__usp:last-child { border-bottom: 0; }
  .al-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .al-foot__bottom { flex-direction: column; align-items: flex-start; }
}

/* payment plugins' buttons (PayPal's SDK frames carry z-index 100): kept in a layer of their own, so
   the header (40), its dropdowns and the mini-cart, the search and the drawer stay above them
   (owner, 2026-10-27) */
.paypal-buttons, [id^="zoid-paypal"], [id^="ppc-"][id$="-container"], [id^="ppc-paypal-button"], [id^="paypal-button-"] {
  position: relative; isolation: isolate; z-index: 0;
}
