/* Hero variant: split-menu — catalog on the left, banner on the right.
   The row takes the taller of the banner and the catalog; a catalog over 40rem scrolls inside its column.
   The slider dots sit inside the banner so both columns end on the same line. */
[data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__main .et-hero { position: relative; }
/* the gap under the header menu ~ the gap between the columns (owner 22.11: 30 px looked empty; the header adds its own 6 px) */
[data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar { padding-top: 0.75rem; }
[data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__main .et-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--et-card-pad, 1rem);
  margin-top: 0;
  z-index: 2;
}
@media (min-width: 992px) {
  [data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row { align-items: stretch; }
  /* a list longer than the banner grows the row up to 40rem (the banner stretches with it), then scrolls (owner 30.11: 13 departments
     ran out of the card). The list and its rows stay position: static — the flyouts are placed by the sidebar, so the scroller does
     not clip them */
  [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar { display: flex; flex-direction: column; }
  [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar__list {
    flex: 1 1 auto; min-height: 0; max-height: max(40rem, var(--et-hero-h, 0px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    direction: rtl; /* the scrollbar on the left: on the right it lay between a row and its flyout and the hover was lost on the way */
  }
  [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar__item-wrap { direction: ltr; }
  [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar ~ .et-hero-with-sidebar__main,
  [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar ~ .et-hero-with-sidebar__main :is(.et-hero, .et-hero > .container) {
    display: flex; flex-direction: column; flex-grow: 1; width: 100%; } /* width: the .container has margin auto - in a flex column that shrinks it to its content (0: slides are absolute; e2e v1.5.64) */
  /* never under the height of its axis (the flex basis), taller with a longer list */
  [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar ~ .et-hero-with-sidebar__main .et-hero__slider { flex: 1 0 auto; width: 100%; }
}

/* settings.widgets — a third column on the right (prototype 65): the deal of the day with a timer and an offer tile. Tiles are solid
   surfaces (glass-edged over a page backdrop), the price on the tile itself; under 1200 px the column becomes a row under the slider */
[data-section="hero"][data-variant="split-menu"] .et-hero-split__side { display: grid; gap: 1rem; align-content: stretch; min-width: 0; }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__tile {
  display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; padding: var(--et-card-pad, 1rem); border-radius: var(--et-radius-lg, var(--et-radius));
  background: var(--et-surface); color: var(--et-text); text-decoration: none;
  box-shadow: var(--et-glass-shadow, var(--et-shadow-sm)), inset 0 0 0 1px var(--et-glass-edge, var(--et-border));
}
[data-section="hero"][data-variant="split-menu"] .et-hero-split__tile[class*="et-scheme-"] { background: var(--et-bg); justify-content: center; }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__label { display: flex; align-items: center; gap: 0.375rem; margin: 0; font: 500 var(--et-text-xs)/1.3 var(--et-font-mono, inherit);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--et-accent-text); }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__label--sale { color: var(--et-sale, var(--et-danger)); }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__label [data-et-countdown] { font-variant-numeric: tabular-nums; }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__label [data-et-countdown] b { font-weight: inherit; }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__pic { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--et-media-radius, var(--et-radius)); background: var(--et-media-box, transparent); }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: var(--et-media-blend, normal); }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__name { font-family: var(--et-font-display); font-size: var(--et-text-md); line-height: 1.25; }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__tile[class*="et-scheme-"] .et-hero-split__name { font-size: var(--et-text-lg); }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__price b { font-family: var(--et-font-display); font-size: var(--et-text-xl); color: var(--et-sale, var(--et-text)); }
/* a filled tile (the store colour, the second colour, inverse): the sale red of the page sat on it unreadable (22.11) — the price takes the tile text */
[data-section="hero"][data-variant="split-menu"] .et-hero-split__tile:is(.et-scheme-accent, .et-scheme-accent2, .et-scheme-inverse) .et-hero-split__price b { color: var(--et-text); }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__price s { color: var(--et-text-secondary); font-size: var(--et-text-sm); }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__text { font-size: var(--et-text-sm); color: var(--et-text-secondary); }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__note { font: var(--et-text-xs)/1.4 var(--et-font-mono, inherit); color: var(--et-text-secondary); }
[data-section="hero"][data-variant="split-menu"] .et-hero-split__go { margin-top: auto; align-self: stretch; justify-content: center; }
[data-section="hero"][data-variant="split-menu"] a.et-hero-split__tile:hover .et-hero-split__name { color: var(--et-accent-text); }
[data-section="hero"][data-variant="split-menu"] a.et-hero-split__tile[class*="et-scheme-"]:hover .et-hero-split__name { color: inherit; text-decoration: underline; }
[data-section="hero"][data-variant="split-menu"] a.et-hero-split__tile:focus-visible { outline: 2px solid var(--et-accent); outline-offset: 3px; }
@media (min-width: 1200px) {
  [data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side .et-hero-split__side { flex: 0 0 clamp(15rem, 20vw, 18rem); }
  [data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side .et-hero-split__side:has(> :nth-child(2)) { grid-template-rows: minmax(0, 1fr) auto; }
}
@media (max-width: 1199.98px) {
  [data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side { flex-wrap: wrap; }
  [data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side .et-hero-with-sidebar__main { flex-basis: 0; }
  [data-section="hero"][data-variant="split-menu"] .et-hero-split__side { flex: 1 0 100%; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
  [data-section="hero"][data-variant="split-menu"] .et-hero-split__tile--deal { display: grid; grid-template-columns: 6rem minmax(0, 1fr); align-content: start; }
  [data-section="hero"][data-variant="split-menu"] .et-hero-split__tile--deal > :not(.et-hero-split__pic) { grid-column: 2; }
  [data-section="hero"][data-variant="split-menu"] .et-hero-split__tile--deal > .et-hero-split__pic { grid-row: 1 / span 6; }
}
/* three columns: the slider is narrower — a smaller title and padding so the text and button fit the 480 px slide */
[data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side .et-hero__slide { padding: 2.25rem 2.5rem; }
[data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side .et-hero__slide-title { font-size: var(--et-text-3xl); }
[data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side .et-hero__slide-image { flex-basis: 38%; }
/* over a page backdrop (decor.backdrop): the rail, the slider and the tiles are frosted glass frames — a translucent --et-glass rail
   (--et-gradient-hero may be translucent too) with the blur of the panels; reduced transparency — solid */
html[data-backdrop] [data-section="hero"][data-variant="split-menu"] :is(.et-hero-sidebar, .et-hero__slider) {
  -webkit-backdrop-filter: blur(var(--et-panel-blur, 14px)) saturate(1.3); backdrop-filter: blur(var(--et-panel-blur, 14px)) saturate(1.3); }
html[data-backdrop] [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar { background: var(--et-glass, var(--et-surface)); border-color: var(--et-glass-edge, var(--et-border)); }
@media (prefers-reduced-transparency: reduce) {
  html[data-backdrop] [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar { background: var(--et-surface); }
  html[data-backdrop] [data-section="hero"][data-variant="split-menu"] :is(.et-hero-sidebar, .et-hero__slider) { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* phones, three columns: the rail hides (the catalogue is behind the header menu button), the dots get their own line under the button */
@media (max-width: 767.98px) {
  [data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side .et-hero-sidebar { display: none; }
  [data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side .et-hero__slide { padding: 1.5rem 1.25rem 3rem; }
}

/* settings.tiles "row": text on the left, the photo on the right of the tile; from 1200 px the column does not grow the row — the two
   tiles share the slider's height (the catalogue column ends on the same line). The photo is placed over the right part of the tile. */
[data-section="hero"][data-variant="split-menu"] .et-hero-split--row .et-hero-split__tile { position: relative; justify-content: center; min-height: 9rem; overflow: hidden; }
[data-section="hero"][data-variant="split-menu"] .et-hero-split--row .et-hero-split__tile > :not(.et-hero-split__pic) { position: relative; z-index: 1; max-width: 56%; }
[data-section="hero"][data-variant="split-menu"] .et-hero-split--row .et-hero-split__pic {
  position: absolute; top: var(--et-card-pad, 1rem); bottom: var(--et-card-pad, 1rem); right: var(--et-card-pad, 1rem); width: 42%;
  aspect-ratio: auto; background: transparent;
}
[data-section="hero"][data-variant="split-menu"] .et-hero-split--row .et-hero-split__go { margin-top: 0.25rem; align-self: flex-start; }
@media (min-width: 1200px) {
  [data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side.et-hero-split--row .et-hero-split__side { contain: size; grid-template-rows: minmax(0, 1fr); }
  [data-section="hero"][data-variant="split-menu"] .et-hero-with-sidebar__row--side.et-hero-split--row .et-hero-split__side:has(> :nth-child(2)) { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  [data-section="hero"][data-variant="split-menu"] .et-hero-split--row .et-hero-split__tile { min-height: 0; }
}
@media (max-width: 1199.98px) {
  [data-section="hero"][data-variant="split-menu"] .et-hero-split--row .et-hero-split__tile--deal { display: flex; }
}

/* A short catalogue (fewer than 8 departments): the row takes the catalogue's height instead of the slider's (owner 22.11: a tall banner
   beside 7 departments left an empty field under the list). The slider and the tiles column stretch to the row (the height axis gives
   way here), never under 26rem so a slide's title, text, button and counter fit (slides are absolute, they cannot size the row);
   the departments stack from the top when that floor is the taller one. Longer lists keep the slider height or grow it (above).
   ponytail: 26rem fits a 2-line title + 2-line text + button; a per-slide measure in JS if longer slide texts get clipped */
@media (min-width: 992px) {
  /* rows of 3.5rem at least, natural height above (two-line names), stacked from the top (owner 29.11: stretched rows of 4 departments
     were ~190 px tall): 7 fill a 26rem column, fewer leave the card's bottom empty */
  [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar:not(:has(.et-hero-sidebar__item-wrap:nth-child(8))) .et-hero-sidebar__item-wrap { flex: none; }
  [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar:not(:has(.et-hero-sidebar__item-wrap:nth-child(8))) .et-hero-sidebar__item-wrap > .et-hero-sidebar__item { min-height: 3.5rem; }
  [data-section="hero"][data-variant="split-menu"] .et-hero-sidebar:not(:has(.et-hero-sidebar__item-wrap:nth-child(8))) ~ .et-hero-with-sidebar__main .et-hero__slider {
    flex: 1 1 auto; height: auto; min-height: 26rem; width: 100%; }
}
