/*
 * Web 2.12 §5–§6 (Henri, 29.10.2026, figures 6, 8 and 9): the home page.
 * Computer: the banner over the first screen under the header — 24 px above,
 * about 72 px a side, rounded corners; the text bottom left over a dark fade;
 * the lines of the banners, the arrows and "01 / 03" at the bottom. Phone and
 * tablet: the banner fills the whole width and the first screen. Below: the
 * advantages in one row (a row of small boxes that slides on a phone).
 * Web 2.13 §1: then the live site's own sections, in the theme's 1200 px box.
 */
body.bzs-home-page {
  --bzs-head-h: 72px;
  --bzs-red: #d23f2d;
  --bzs-red-deep: #b5301f;
  --bzs-ink: #18181b;
  --bzs-muted: #71717a;
  --bzs-line: #ececec;
}

/* the theme's 1200 px box and its paddings: the home page sets its own widths */
body.bzs-home-page #content > .container,
body.bzs-home-page #primary {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

/* the theme's row (−15 px a side) and its 35 px on top */
body.bzs-home-page .site-content-inner {
  margin: 0;
}

.bzs-home {
  padding-bottom: 56px;
  color: var(--bzs-ink);
}

.bzs-home__wrap {
  box-sizing: border-box;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- §5 the banners ----------------------------------------------------------------- */

.bzs-hero {
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--bzs-head-h) - 48px);
  height: calc(100svh - var(--bzs-head-h) - 48px);
  min-height: 420px;
  margin: 24px clamp(16px, 5vw, 72px) 0;
  border-radius: 20px;
  background: #3f3a3a;
  color: #fff;
  touch-action: pan-y;
  user-select: none;
}

.bzs-hero__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.bzs-hero.is-dragging .bzs-hero__track {
  transition: none;
}

.bzs-hero__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.bzs-hero__pic,
.bzs-hero__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.bzs-hero__img {
  object-fit: cover;
  object-position: center;
  -webkit-user-drag: none;
}

/* a light dark fade at the bottom: white text reads over any photo */
.bzs-hero__slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.32) 34%, rgba(0, 0, 0, 0) 62%);
  content: "";
  pointer-events: none;
}

.bzs-hero__text {
  position: absolute;
  z-index: 2;
  bottom: 104px;
  left: 64px;
  max-width: min(600px, calc(100% - 128px));
}

.bzs-hero__kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0.9;
}

.bzs-home .bzs-hero__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.bzs-hero__desc {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.45;
  opacity: 0.92;
}

.bzs-home .bzs-hero__btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--bzs-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.bzs-home .bzs-hero__btn:hover,
.bzs-home .bzs-hero__btn:focus-visible {
  background: var(--bzs-red-deep);
  color: #fff;
}

.bzs-hero__bar {
  position: absolute;
  z-index: 3;
  right: 64px;
  bottom: 30px;
  left: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.bzs-hero__lines {
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
}

.bzs-home .bzs-hero__line {
  position: relative;
  flex: 1 1 0;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  cursor: pointer;
}

.bzs-home .bzs-hero__line::before {
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  content: "";
}

.bzs-hero__fill {
  position: absolute;
  top: 8px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: #fff;
}

.bzs-hero__line.is-done .bzs-hero__fill {
  width: 100%;
}

.bzs-hero__line.is-on .bzs-hero__fill {
  animation: bzs-hero-fill var(--bzs-hero-time, 6s) linear forwards;
}

.bzs-hero.is-paused .bzs-hero__line.is-on .bzs-hero__fill {
  animation-play-state: paused;
}

@keyframes bzs-hero-fill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.bzs-hero__nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.bzs-home .bzs-hero__arrow {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: none;
  color: #fff;
  cursor: pointer;
}

.bzs-home .bzs-hero__arrow:hover {
  background: rgba(0, 0, 0, 0.4);
}

.bzs-hero__count {
  min-width: 64px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.bzs-hero__count b {
  font-size: 18px;
  font-weight: 800;
}

.bzs-home .bzs-hero a:focus-visible,
.bzs-home .bzs-hero button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---- §6 the advantages -------------------------------------------------------------- */

.bzs-perks {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--bzs-line);
  list-style: none;
}

.bzs-perks__item {
  flex: 0 1 auto;
  margin: 0;
}

.bzs-perks__item,
.bzs-home .bzs-perks__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bzs-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.bzs-perks__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--bzs-red);
}

/* ---- Web 2.13 §1: the live site's sections (the theme's .container keeps their 1200 px) ---- */
.bzs-home__legacy {
  margin-top: 28px;
}

.bzs-home {
  padding-bottom: 0;
}

/* ---- small laptop: 901–1180 px ------------------------------------------------------ */
@media (max-width: 1180px) {
  .bzs-hero__text {
    left: 48px;
    bottom: 96px;
  }

  .bzs-hero__bar {
    right: 48px;
    left: 48px;
  }
}

/* ---- tablet: 601–900 px — the banner fills the width and the first screen ------------- */
@media (max-width: 900px) {
  body.bzs-home-page {
    --bzs-head-h: 64px;
  }

  .bzs-hero {
    height: calc(100vh - var(--bzs-head-h));
    height: calc(100svh - var(--bzs-head-h));
    min-height: 460px;
    margin: 0;
    border-radius: 0;
  }

  .bzs-home__wrap {
    padding: 0 20px;
  }

  .bzs-hero__text {
    left: 32px;
    bottom: 92px;
    max-width: calc(100% - 64px);
  }

  .bzs-hero__bar {
    right: 32px;
    left: 32px;
  }
}

/* ---- phone: ≤ 600 px — swipe, no arrows; the advantages as small sliding boxes ------- */
@media (max-width: 600px) {
  body.bzs-home-page {
    --bzs-head-h: 60px;
  }

  .bzs-hero {
    min-height: 480px;
  }

  .bzs-hero__text {
    right: 20px;
    bottom: 80px;
    left: 20px;
    max-width: none;
  }

  .bzs-hero__kicker {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .bzs-home .bzs-hero__title {
    font-size: clamp(30px, 9vw, 40px);
  }

  .bzs-hero__desc {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 18px;
    font-size: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .bzs-hero__bar {
    right: 20px;
    bottom: 22px;
    left: 20px;
    gap: 16px;
  }

  .bzs-home .bzs-hero__arrow {
    display: none;
  }

  .bzs-hero__count {
    min-width: 0;
  }

  .bzs-home__wrap {
    padding: 0 16px;
  }

  .bzs-perks {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 -16px;
    padding: 16px;
    border-bottom: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .bzs-perks::-webkit-scrollbar {
    display: none;
  }

  .bzs-perks__item {
    flex: 0 0 auto;
    padding: 12px 14px;
    border: 1px solid var(--bzs-line);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bzs-hero__track {
    transition: none;
  }

  .bzs-hero__line.is-on .bzs-hero__fill {
    animation: none;
    width: 100%;
  }
}

/* ---- Web 2.24 (Henri, 13.11.2026): the banners «Më lirë se kudo», Auto, Shtëpi -------------
 * Computer (≥ 1024 px): a 16:9 box, so the price labels sit on the products in %; tablet
 * (768–1023 px): a 4:3 box, no labels; phone (≤ 767 px): the first screen, the phone photo
 * where there is one. Each slide carries its crop (--bzs-pos-d/t/p) and, for a banner whose
 * text is inside the photo, the button's height (--bzs-btn-d/p). The whole banner is a link.
 * Under them: small dots (the active one, longer, fills in 6 s), on a white pill. */

.bzs-hero__img {
  object-position: var(--bzs-pos-d, 50% 50%);
}

.bzs-hero__hit {
  position: absolute;
  z-index: 1;
  inset: 0;
  -webkit-user-drag: none;
}

.bzs-hero__text {
  pointer-events: none;
}

.bzs-hero__text a {
  pointer-events: auto;
}

/* light photos (Auto, Shtëpi): dark text, no dark fade */
.bzs-hero__slide--light::after,
.bzs-hero__slide--photo::after {
  display: none;
}

.bzs-hero__slide--light .bzs-hero__text {
  bottom: 12%;
  left: 6.25%;
  max-width: 35%;
  color: var(--bzs-ink);
}

.bzs-home .bzs-hero__slide--light .bzs-hero__title {
  margin-bottom: 0.4em;
  color: var(--bzs-ink);
  font-size: clamp(30px, 3.5vw, 76px);
}

.bzs-hero__slide--light .bzs-hero__desc {
  color: #55555c;
  font-size: clamp(15px, 1.15vw, 24px);
  opacity: 1;
}

/* text inside the photo («Më lirë se kudo»): only a white button, in the middle */
.bzs-hero__slide--photo .bzs-hero__text {
  top: var(--bzs-btn-d, 76%);
  right: auto;
  bottom: auto;
  left: 50%;
  max-width: none;
  transform: translate(-50%, -50%);
}

.bzs-home .bzs-hero__slide--photo .bzs-hero__btn {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  color: var(--bzs-red);
  font-size: clamp(16px, 1.1vw, 20px);
  white-space: nowrap;
}

.bzs-home .bzs-hero__slide--photo .bzs-hero__btn:hover,
.bzs-home .bzs-hero__slide--photo .bzs-hero__btn:focus-visible {
  background: #fff4f2;
  color: var(--bzs-red-deep);
}

.bzs-home .bzs-hero__slide--photo .bzs-hero__btn:focus-visible {
  outline-color: var(--bzs-ink);
}

/* the price labels */
.bzs-hero__tags {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: none;
  pointer-events: none;
}

.bzs-hero__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bzs-hero__wires line {
  stroke: #2b2b2b;
  stroke-dasharray: 3 4;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.bzs-home .bzs-hero__tag {
  position: absolute;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  width: 13.1%;
  height: 7.2%;
  padding: 0 1.2%;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  color: var(--bzs-ink);
  line-height: 1.2;
  text-decoration: none;
  pointer-events: auto;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bzs-home a.bzs-hero__tag:hover,
.bzs-home a.bzs-hero__tag:focus-visible {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.bzs-hero__tag-name {
  overflow: hidden;
  color: #55555c;
  font-size: clamp(11px, 0.8vw, 17px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bzs-hero__tag-price {
  color: var(--bzs-red);
  font-size: clamp(14px, 1.15vw, 24px);
  font-weight: 800;
  white-space: nowrap;
}

.bzs-hero__dot {
  position: absolute;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 3px solid var(--bzs-red);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
}

/* the dots under the banners */
.bzs-hero__bar {
  right: auto;
  bottom: 18px;
  left: 50%;
  gap: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%);
}

.bzs-hero__nav {
  display: none;
}

.bzs-hero__lines {
  flex: 0 0 auto;
  gap: 8px;
}

.bzs-home .bzs-hero__line {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #c9c9cf;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.bzs-home .bzs-hero__line::before {
  display: none;
}

.bzs-home .bzs-hero__line.is-on {
  width: 30px;
  background: #f0c9c3;
}

.bzs-hero__fill {
  top: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--bzs-red);
}

.bzs-hero__line.is-done .bzs-hero__fill {
  width: 0;
}

/* computer: a 16:9 box (Henri: aspect-ratio 16/9, cover), the labels on */
@media (min-width: 1024px) {
  .bzs-hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .bzs-hero__tags {
    display: block;
  }
}

/* tablet: a 4:3 box over the whole width, no labels */
@media (min-width: 768px) and (max-width: 1023px) {
  .bzs-hero {
    height: auto;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    aspect-ratio: 4 / 3;
  }

  .bzs-hero__img {
    object-position: var(--bzs-pos-t, var(--bzs-pos-d, 50% 50%));
  }

  .bzs-hero__slide--light .bzs-hero__text {
    bottom: 13%;
    left: 6%;
    max-width: 42%;
  }
}

/* phone: the phone photo (or the computer's, cropped where the slide says), the text in the middle at the bottom */
@media (max-width: 767px) {
  .bzs-hero {
    height: calc(100vh - var(--bzs-head-h));
    height: calc(100svh - var(--bzs-head-h));
    min-height: 480px;
    margin: 0;
    border-radius: 0;
  }

  .bzs-hero__img {
    object-position: var(--bzs-pos-p, 50% 50%);
  }

  .bzs-hero__slide--light .bzs-hero__text {
    right: 20px;
    bottom: 60px;
    left: 20px;
    max-width: none;
    text-align: center;
  }

  .bzs-home .bzs-hero__slide--light .bzs-hero__title {
    font-size: clamp(26px, 7.4vw, 36px);
    line-height: 1.1;
  }

  .bzs-hero__slide--light .bzs-hero__desc {
    font-size: 15px;
  }

  .bzs-hero__slide--photo .bzs-hero__text {
    top: var(--bzs-btn-p, 70%);
  }

  .bzs-hero__bar {
    right: auto;
    bottom: 16px;
    left: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bzs-home .bzs-hero__line {
    transition: none;
  }
}

/* ---- Web 2.25 (Henri, 16.11.2026) ------------------------------------------------------------
 * §1–§2: a bar per banner at the bottom (on a half-clear white pill): the one on show fills red in
 * 3.5 s, the ones gone by stay red, the ones to come grey; a click opens that banner. Two round white
 * arrows on the sides on a computer, none on a phone (swipe).
 * §3: on a computer the whole 16:9 banner fits the screen under the header (smaller and centred on a
 * low screen) and everything inside it — text, button, labels — grows and shrinks with it (cqw).
 * §4: on a phone only the button opens the category (no link over the whole banner).
 * §5: on a phone the photo from the top, the text in the lower part: title 28 px (24 on 3 lines), text 14 px. */

body.bzs-home-page .bzs-hero {
  --bzs-hero-time: 3.5s;
}

.bzs-hero__bar {
  bottom: 16px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.bzs-hero__lines {
  gap: 6px;
}

.bzs-home .bzs-hero__line,
.bzs-home .bzs-hero__line.is-on {
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: rgba(24, 24, 27, 0.18);
  transition: none;
}

/* a bigger place to click than the thin bar */
.bzs-home .bzs-hero__line::after {
  position: absolute;
  inset: -10px -3px;
  content: "";
}

.bzs-home .bzs-hero__line {
  overflow: visible;
}

.bzs-hero__fill {
  border-radius: 4px;
}

.bzs-hero__line.is-done .bzs-hero__fill {
  width: 100%;
}

.bzs-home .bzs-hero__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  color: var(--bzs-ink);
  transform: translateY(-50%);
}

.bzs-home .bzs-hero__arrow:hover {
  background: #fff;
  color: var(--bzs-red);
}

.bzs-home .bzs-hero__arrow--prev {
  left: 18px;
}

.bzs-home .bzs-hero__arrow--next {
  right: 18px;
}

.bzs-home .bzs-hero__arrow:focus-visible {
  outline-color: var(--bzs-ink);
}

@media (min-width: 1024px) {
  .bzs-hero {
    container-type: inline-size;
    width: min(calc(100% - 2 * clamp(16px, 5vw, 72px)), calc((100vh - var(--bzs-head-h) - 48px) * 16 / 9));
    width: min(calc(100% - 2 * clamp(16px, 5vw, 72px)), calc((100svh - var(--bzs-head-h) - 48px) * 16 / 9));
    margin: 24px auto 0;
  }

  .bzs-hero__slide--light .bzs-hero__text {
    bottom: 13cqw;
    left: 6.25cqw;
    max-width: 34cqw;
  }

  .bzs-home .bzs-hero__slide--light .bzs-hero__title {
    margin-bottom: 0.35em;
    font-size: 3.55cqw;
    line-height: 1.06;
  }

  .bzs-hero__slide--light .bzs-hero__desc {
    margin-bottom: 1.5cqw;
    font-size: 1.15cqw;
  }

  .bzs-home .bzs-hero__slide .bzs-hero__btn {
    min-height: 2.9cqw;
    padding: 0 1.7cqw;
    font-size: 1.05cqw;
  }

  .bzs-home .bzs-hero__tag {
    width: 11.5cqw;
    height: 4.05cqw;
    padding: 0 1cqw;
    border-radius: 0.6cqw;
  }

  .bzs-hero__tag-name {
    font-size: 0.82cqw;
  }

  .bzs-hero__tag-price {
    font-size: 1.2cqw;
  }

  .bzs-hero__dot {
    width: 0.8cqw;
    height: 0.8cqw;
    border-width: 0.18cqw;
  }
}

@media (max-width: 767px) {
  .bzs-hero__hit {
    display: none;
  }

  .bzs-home .bzs-hero__arrow {
    display: none;
  }

  .bzs-hero__slide--light .bzs-hero__text {
    bottom: 48px;
  }

  .bzs-home .bzs-hero__slide--light .bzs-hero__title {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.12;
  }

  .bzs-home .bzs-hero__slide--light .bzs-hero__title.is-long {
    font-size: 24px;
  }

  .bzs-hero__slide--light .bzs-hero__desc {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .bzs-hero__bar {
    bottom: 14px;
  }
}
