/* ==========================================================================
   Giassaris — Homepage sections (1-1 με Figma)
   ========================================================================== */

/* ---- Slideshow (OpenCart banner module, Swiper 11) ---- */
.slideshow-section { margin-top: 20px; }
.slideshow-swiper { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-grey-150); }
.slideshow-swiper__img { display: block; width: 100%; height: auto; }
.slideshow-swiper__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; transition: background var(--t);
}
.slideshow-swiper__nav:hover { background: rgba(0, 0, 0, 0.55); }
.slideshow-swiper__nav--prev { left: 16px; }
.slideshow-swiper__nav--next { right: 16px; }
.slideshow-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.slideshow-swiper .swiper-pagination-bullet-active { background: var(--c-accent); opacity: 1; }

/* ---- eyebrow flag (orange angled flag + uppercase label) ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 14px;
  background: var(--c-accent);
  clip-path: polygon(5px 0, 91% 0, 0% 100%, 0 100%);
  flex: none;
}

/* ---- Hero (image slider 1340 + side banner 436) ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 436px;
  gap: 20px;
}
.hero__main,
.hero__side {
  position: relative;
  height: 680px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  /* Constrain the 1fr grid track so Swiper's flex row can't blow it out */
  min-width: 0;
}
/* The Swiper sits inside .hero__main (a definite-width grid track) so it has a
   definite-width parent to size slides against — making the swiper itself the
   1fr grid item creates a circular width dependency that blows it up. */
.hero-swiper {
  width: 100%;
  height: 100%;
}
/* Anti-FOUC: before Swiper's JS sets slide widths it stamps .swiper-initialized
   on the container. Until then, un-sized slides misrender. Two cases:

   1) Full-bleed single sliders (hero, slideshow): pin first slide full-width,
      hide the rest so they don't render side-by-side. */
.hero-swiper:not(.swiper-initialized) .swiper-slide,
.slideshow-swiper:not(.swiper-initialized) .swiper-slide {
  width: 100%;
  flex-shrink: 0;
}
.hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child),
.slideshow-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}
/* 2) Multi-item card carousels: without a slide width, product images (img
      width:100% of an unsized slide) render at natural size and explode. Give
      slides a fixed card width so they render as a normal clipped row until
      Swiper takes over. Swiper overwrites width inline on init.
      ponytail: 240px approximates the initialized card; it's the flash-only
      value, not the final layout — bump if the card design changes. */
.product-swiper:not(.swiper-initialized) .swiper-slide,
.content-swiper:not(.swiper-initialized) .swiper-slide,
.styles-swiper:not(.swiper-initialized) .swiper-slide,
.samecat-swiper:not(.swiper-initialized) .swiper-slide {
  width: 240px;
  flex-shrink: 0;
  /* approximate Swiper's spaceBetween (10–20px across breakpoints) so slides
     don't sit flush pre-init; dropped once Swiper sets real margins on init. */
  margin-right: 16px;
}
/* Hero side promo card: photo background, dark gradient toward the bottom,
   content centered and bottom-aligned. Photo is the .hero__side-img <img>
   rendered by the ho_hero module (falls back to the placeholder background
   below when no image is configured). */
.hero__side {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 44px 40px;
  /* placeholder fallback when no side image is configured */
  background: #222 url('../img/mainright.png') center / cover no-repeat;
}
/* Photo as its own <img> layer so it can scale on hover (parent has overflow:hidden) */
.hero__side-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
/* Dark gradient overlay above the photo, below the text */
.hero__side::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.35) 42%, rgba(0, 0, 0, 0.94) 100%);
}
.hero__side:hover .hero__side-img {
  transform: scale(1.12);
}
.hero__side-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 340px;
}
.hero__side-badge {
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.hero__side-title {
  font-size: 28px;
  font-weight: var(--fw-bold);
  line-height: 1.18;
  margin-bottom: 14px;
}
.hero__side-text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  opacity: 0.82;
  margin-bottom: 28px;
}
/* Hero Swiper slide: photo as an <img> (.hero-slide__img from the ho_hero
   module), dark gradient overlaid via ::after; the background is only the
   placeholder fallback when a slide has no image configured. */
.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  padding: 56px;
  background: url('../img/mainimg.jpg') center / cover no-repeat;
}
.hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  /* straight 90deg (the old 100deg made the falloff read as a diagonal line) and
     enough stops to approximate an ease-out curve — with 3 stops the change in
     slope is visible as a band over flat/light photos */
  background: linear-gradient(90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.86) 10%,
    rgba(0, 0, 0, 0.72) 22%,
    rgba(0, 0, 0, 0.52) 34%,
    rgba(0, 0, 0, 0.30) 46%,
    rgba(0, 0, 0, 0.12) 58%,
    rgba(0, 0, 0, 0) 70%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
/* .btn carries 0.04em tracking globally — drop it inside the hero only */
.hero .btn { letter-spacing: normal; }
/* Slower, eased slide transition (JS sets speed: 900) */
.hero-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
/* Content rises in a beat after the slide lands. Scoped to .swiper-initialized so
   the copy stays visible if Swiper never boots. */
.hero-swiper.swiper-initialized .hero__content > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-swiper.swiper-initialized .swiper-slide-active .hero__content > * {
  opacity: 1;
  transform: none;
}
.hero-swiper.swiper-initialized .swiper-slide-active .hero__chips { transition-delay: 0.35s; }
.hero-swiper.swiper-initialized .swiper-slide-active .hero__title { transition-delay: 0.45s; }
.hero-swiper.swiper-initialized .swiper-slide-active .hero__text  { transition-delay: 0.55s; }
.hero-swiper.swiper-initialized .swiper-slide-active .hero__cta   { transition-delay: 0.65s; }
.hero__chips {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.hero__chip {
  display: inline-block;
  font-size: 14px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 10px;
}
.hero__chip--brand {
  background: #fff;
  color: var(--c-black);
}
.hero__chip--offer {
  background: #e11900;
  color: #fff;
}
.hero__chip--accent {
  background: var(--c-accent);
  color: #fff;
}
.hero__title {
  font-size: 52px;
  font-weight: var(--fw-bold);
  line-height: 1.05;
  margin-bottom: 16px;
}
.hero__text {
  font-size: var(--fs-md);
  margin-bottom: 28px;
  opacity: 0.9;
  max-width: 440px;
  font-weight: 500;
}
.hero__cta {
  gap: 10px;
  height: 60px;
}

/* Hero controls: prev/next arrows + pagination dots, bottom-left */
.hero__controls {
  position: absolute;
  left: 56px;
  bottom: 36px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__nav {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  transition: var(--t);
}
.hero__nav:hover {
  background: white;
  color: black;
}
.hero__nav.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}
.hero__dots.swiper-pagination {
  position: static;
  flex: 0 0 auto;
  width: auto;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero__dots .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
}
.hero__dots .swiper-pagination-bullet-active {
  background: white;
}

/* ≤1200: the preheader is hidden (components.css), so the hero sits flush under
   the header — give it back the top gap. */
@media (max-width: 1200px) {
  .hero {
    margin-top: 16px;
  }
}

/* Tablet (768–1023): keep the hero side-by-side, but proportional + shorter
   instead of the desktop fixed 436px side / 680px height. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    grid-template-columns: 1.25fr 1fr;
    gap: 16px;
    margin-top: 16px;
    /* both cards share the tallest row height (grid stretch) */
    align-items: stretch;
  }
  /* grow to fit content instead of a fixed height: long slide copy expands the
     hero rather than colliding with the controls. 480px is the floor. */
  .hero__main,
  .hero__side {
    height: auto;
    min-height: 480px;
  }
  .hero-swiper { height: auto; }
  /* all slides equalize to the tallest one (flex stretch) → no height jump between slides */
  .hero-swiper .swiper-slide { height: auto; }
  /* slide carries the 480 floor so its absolute image fills the whole card
     (not just the content height); reserve the controls' zone (bottom:36 +
     46px nav) so centered content can never grow into the pagination/arrows */
  .hero-slide { min-height: 480px; padding-bottom: 96px; }
}

/* Phone (≤767): stack full-bleed (main image on top, white promo block below). */
@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
    /* full-bleed: cancel the .container side padding */
    margin-inline: calc(-1 * var(--gutter));
  }
  /* Fit the slide above the fixed header (116px: preheader + header__inner) and
     the fixed .bottom-nav (84px clearance) instead of a flat height — a flat
     620px is routinely taller than phone-height minus those two fixed bars,
     which is what was pushing the content/controls behind the bottom-nav. */
  .hero__main {
    height: calc(100dvh - 200px);
    min-height: 420px;
    max-height: 620px;
    border-radius: 0;
  }
  /* drop the rise-in/fade + staggered delays — content should just be there
     the instant a slide becomes active, not animate in on mobile */
  .hero-swiper.swiper-initialized .hero__content > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-swiper.swiper-initialized .swiper-slide-active .hero__chips,
  .hero-swiper.swiper-initialized .swiper-slide-active .hero__title,
  .hero-swiper.swiper-initialized .swiper-slide-active .hero__text,
  .hero-swiper.swiper-initialized .swiper-slide-active .hero__cta {
    transition-delay: 0s;
  }
  /* hero side promo → image on top, white content block on the bottom */
  .hero__side {
    height: 580px;
    border-radius: 0;
    padding: 0;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    overflow: hidden;
  }
  /* image fills the area; the white body covers the lower part → image shows on top */
  .hero__side::after { display: none; }
  /* centered content (was flex-end/bottom-pinned — read as sitting too low, right
     on top of the controls row) + vertical (bottom-heavy) gradient for readable
     centered text. Bottom padding biases the centered range clear of
     .hero__controls; .hero__main's own height keeps the whole slide clear of the
     fixed .bottom-nav. */
  .hero-slide {
    padding: 28px 24px 64px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hero-slide::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.82) 100%);
  }
  /* The image is a flex item here, NOT absolute like on desktop. Pinned at inset:0
     it was sized against the full 580px card while the opaque white body below hid
     the bottom ~300px of it — so object-fit: cover scaled to a box twice the height
     of the strip anyone can actually see (1.55x zoom, ~44% cropped off the sides).
     As a flex item it gets exactly the space above the body (~360x279), which is
     also the ratio the mobile side art should be cut to. */
  .hero__side-img {
    position: static;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
  }
  /* white content block at the bottom */
  .hero__side-body {
    position: relative;
    z-index: 2;
    max-width: none;
    align-items: center;
    background: #fff;
    color: var(--c-black);
    padding: 44px 24px 32px;
  }
  /* "NEW IN" badge straddles the image/white boundary */
  .hero__side-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    white-space: nowrap;
  }
  .hero__side-title { color: var(--c-black); }
  .hero__side-text { color: var(--c-text-muted); opacity: 1; }
  /* orange CTA (was frosted glass) */
  .hero__side .btn--glass {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
    backdrop-filter: none;
  }
  .hero__side .btn--glass:hover {
    background: var(--c-accent-hover);
  }
  .hero__content {
    max-width: none;
    margin: 0 auto;
  }
  .hero__chips {
    justify-content: center;
    gap: 6px;
  }
  .hero__chip {
    font-size: 12px;
  }
  .hero__title {
    font-size: 32px;
  }
  .hero__text {
    font-size: 16px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  /* orange CTA on mobile */
  .hero__cta {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
    font-size: 14px;
  }
  .hero__cta:hover {
    background: var(--c-accent-hover);
    color: #fff;
  }
  /* controls span the width: prev left · dots center · next right. bottom is
     relative to .hero__main's own (now fold-aware) height, not the viewport. */
  .hero__controls {
    left: 0;
    right: 0;
    bottom: 20px;
    padding-inline: 24px;
    justify-content: space-between;
  }
  .hero__nav {
    flex-basis: auto;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    font-size: 24px;
  }
  .hero__nav:hover {
    background: none;
    color: #fff;
  }
}

/* ---- USP strip (light card) ---- */

/* ---- Promo banners (3-up): image + text bottom-left + round arrow ---- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.banner {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: #fff;
  /* placeholder fallback when no banner image is configured */
  background: #222 url('../img/3colimg.png') center / cover no-repeat;
}
/* Photo as its own <img> layer so it can scale on hover (parent has overflow:hidden). */
.banner__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.banner:hover .banner__img {
  transform: scale(1.22);
}
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.68) 75%,
    rgba(0, 0, 0, 0.92) 100%
  );
}
.banner__body {
  position: relative;
  z-index: 1;
  /* keep the title clear of the bottom-right arrow button */
  padding-right: 4rem;
}
.banner__title {
  font-size: 28px;
  font-weight: var(--fw-bold);
}
.banner__sub {
  font-size: var(--fs-base);
  opacity: 0.9;
  margin-top: 4px;
}
.banner__arrow {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: #fff;
  color: var(--c-black);
  display: grid;
  place-items: center;
  transition: var(--t);
}
.banner__arrow .icon { width: 14px; height: 14px; }
.banner:hover .banner__arrow {
  background: var(--c-accent);
  color: #fff;
}
/* Tablet: keep the 3 banners side-by-side, just shorter + smaller type. */
@media (min-width: 768px) and (max-width: 1023px) {
  .promo-grid {
    gap: 12px;
  }
  .banner {
    min-height: 220px;
    padding: 20px;
  }
  .banner__title {
    font-size: 20px;
  }
  .banner__sub {
    font-size: 13px;
  }
  .banner__arrow {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
}
@media (max-width: 767px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    /* tighten the section side padding (16px container gutter → ~10px) */
    margin-inline: -6px;
  }
  .banner {
    min-height: 200px;
    padding: 20px;
  }
  .banner__title {
    font-size: 22px;
  }
  .banner__sub {
    font-size: 14px;
  }
  .banner__arrow {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--c-accent);
    color: #fff;
  }
}

/* ---- Full-screen banner ---- */
.fsbanner {
  position: relative;
  height: 660px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  /* placeholder behind the photo/video (shows only when neither is configured) */
  background: var(--grad-dark) center / cover no-repeat;
}
/* Background photo (.fsbanner__img) or video sit behind the ::before overlay + content */
.fsbanner__img,
.fsbanner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.fsbanner::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 57%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  z-index: 1;
}
.fsbanner__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding-left: 64px;
}
.fsbanner__title {
  font-size: 38px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  margin: 22px 0 26px;
  line-height: 1.1;
}
.fsbanner__text {
  opacity: 0.9;
  margin-bottom: 50px;
}
/* .btn ships 0.04em tracking site-wide — the design wants none here */
.fsbanner .btn {
  font-size: 13px;
  letter-spacing: 0;
}
/* Tablet: keep the desktop left-overlay layout, just shorter. */
@media (min-width: 768px) and (max-width: 1023px) {
  .fsbanner {
    height: 480px;
  }
  .fsbanner__content {
    max-width: 420px;
    padding-left: 40px;
  }
  .fsbanner__title {
    font-size: 30px;
  }
}
@media (max-width: 767px) {
  /* Full-height video/photo (like the hero slide) with content overlaid near
     the bottom on a fade — not a separate solid-black block underneath.
     min/max keep it sane on very short/tall phones. */
  .fsbanner {
    height: 100dvh;
    min-height: 560px;
    max-height: 800px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    text-align: center;
    /* grey placeholder for the image area (real photography pending) */
    background: linear-gradient(180deg, #4a4a4a 0%, #1f1f1f 100%) center / cover;
  }
  /* drop the desktop left-side gradient */
  .fsbanner::before { display: none; }
  /* content sits ON the video: bottom-heavy black fade instead of a flat
     background, so the photo/video shows through above the text. Bottom
     padding clears the fixed .bottom-nav (same 84px offset used elsewhere) —
     this section can end up flush with the viewport bottom same as the hero. */
  .fsbanner__content {
    position: relative;
    z-index: 2;
    max-width: none;
    padding: 48px 24px calc(100px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.55) 35%,
      rgba(0, 0, 0, 0.92) 70%,
      #000 100%);
  }
  /* no hard boundary to straddle anymore — sits inline at the top of the fade */
  .fsbanner__content .hero__chip--accent {
    position: static;
    transform: none;
    display: inline-flex;
    margin: 0 0 14px;
    white-space: nowrap;
    font-size: 12px;
  }
  .fsbanner__title {
    font-size: 24px;
    margin: 0 0 14px;
  }
  .fsbanner__content > p {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
  }
  /* semi-transparent white button on the black panel */
  .fsbanner .btn--glass {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: transparent;
    font-size: 13px;
  }
  .fsbanner .btn--glass:hover {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
  }
}

/* ---- Banner slider (wide promo carousel 1854x347) ---- */
.bslider {
  position: relative;
  height: 347px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  background: var(--grad-orange) center/cover;
}
.bslider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
}
.bslider__content {
  position: relative;
  z-index: 1;
  padding-left: 56px;
  max-width: 600px;
}
.bslider__title {
  font-size: 30px;
  font-weight: var(--fw-bold);
  margin: 8px 0 14px;
}
.bslider__bullets {
  position: absolute;
  bottom: 20px;
  left: 56px;
  display: flex;
  gap: 8px;
  z-index: 1;
}
.bslider__bullets span {
  width: 30px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}
.bslider__bullets span.is-active {
  background: #fff;
}

/* ---- Section heading block ---- */
.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.sec-head .eyebrow {
  justify-content: center;
}
.sec-head__sub {
  margin-top: 24px;
  color: var(--c-text-muted);
}

/* ==========================================================================
   Product slider (left intro panel + cards bleeding to the right edge)
   ========================================================================== */
.pslider {
  display: flex;
  align-items: center;
  gap: 40px;
  /* Left padding aligns the intro with .container content; no right padding
     so the card track runs full-width to the viewport edge. */
  padding-left: max(var(--gutter), calc(50vw - var(--container) / 2));
}
.pslider__intro {
  flex: 0 0 380px;
  max-width: 380px;
}
.pslider__title {
  font-size: 38px;
  line-height: 1.1;
}
.pslider__title::before {
  width: 28px;
  height: 18px;
}
.pslider__sub {
  margin-top: 36px;
  color: var(--c-black);
  font-size: var(--fs-md);
}
.pslider__nav {
  display: flex;
  gap: 12px;
  margin-top: 46px;
}
/* .pslider__btn itself now lives in components.css (shared with the PDP gallery) */
.pslider__main {
  position: relative;
  flex: 1;
  min-width: 0;
}
/* White fade on the left edge so cards dissolve into the page near the intro.
   pointer-events:none keeps swipe/click working through it. */
.pslider__main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  pointer-events: none;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, #fff 100%);
}
/* Swiper pagination (rendered as dashes, kept in normal flow below the track) */
.pslider__dots {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.pslider__dots .swiper-pagination-bullet {
  width: 28px;
  height: 2px;
  margin: 0;
  border-radius: 3px;
  background: var(--c-grey-300);
  opacity: 1;
}
.pslider__dots .swiper-pagination-bullet-active {
  background: var(--c-grey-700);
}
/* Swiper locks the nav + pagination when every slide already fits (watchOverflow),
   but locking only adds a class — the controls stayed on screen and did nothing
   when clicked. "Προτεινόμενα" with 4 products in a 4.8-per-view track was the
   visible case: two dashes and two arrows, all dead. The PDP related slider has
   had this rule since it shipped (.rel-controls, catalog.css); the home sliders
   never got it. Hide the whole nav row rather than just the buttons — the row's
   own margin-top: 46px would otherwise survive as a gap under the subtitle. */
.pslider__nav:has(.swiper-button-lock) { display: none; }
.pslider__dots.swiper-pagination-lock { display: none; }

/* cards inside the home product sliders (Swiper sets slide width) */
.pslider .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--c-grey-300);
  border-radius: 16px;
  transition: border-color var(--t);
  background: #fff;
}
.pslider .product-card__media {
  background: #fff;
}
.pslider .product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pslider .product-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.pslider .product-card__price {
  color: var(--c-accent);
  /* auto pins the price to the bottom of the flex card when a card is taller than
     its neighbours. It also swallowed the base margin-top: with every card the
     same height (the name is line-clamped to a 40px min-height) there is no spare
     space, so auto resolved to 0 and the price sat flush against the name. Keep
     the pin, take the gap from padding so it can't be absorbed. */
  margin-top: auto;
  padding-top: 20px;
}

.product-card__swatches {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 5px;
}
.product-card__swatches span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--c-grey-300);
}
.product-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-book);
  color: var(--c-grey-500);
  transition: color var(--t);
}
.product-card__more-icon {
  transition: transform var(--t), color var(--t);
}
.pslider .product-card:hover {
  border-color: var(--c-grey-700);
}
.pslider .product-card:hover .product-card__more {
  color: var(--c-accent);
}
.pslider .product-card:hover .product-card__more-icon {
  transform: translateX(5px);
}

/* ---- Category cards (image + label + round arrow) — used in the
   "Δημοφιλείς κατηγορίες" slider; same .pslider chrome as the product sliders ---- */
.category-card {
  position: relative;
  display: block;
  aspect-ratio: 245 / 256;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  background: #222 center / cover no-repeat;
}
.category-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.category-card:hover img {
  transform: scale(1.12);
}
/* Always-on dark gradient for label legibility */
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65) 100%);
}
/* Orange gradient from the bottom, fades in on hover */
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  /* Solid only at the very bottom edge, dropping off fast by 10%, gone by 30%.
     Extra stops trace the curve — with a single mid stop the slope change reads
     as a visible line across the card. */
  background: linear-gradient(to top,
    rgba(255, 106, 0, 1) 0%,
    rgba(255, 106, 0, 0.78) 5%,
    rgba(255, 106, 0, 0.50) 10%,
    rgba(255, 106, 0, 0.28) 16%,
    rgba(255, 106, 0, 0.12) 22%,
    rgba(255, 106, 0, 0) 30%);
  transition: opacity 0.3s ease;
}
.category-card:hover::before {
  opacity: 1;
}
.category-card__label {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 24px;
  max-width: calc(100% - 80px);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* Glass theme: round, semi-transparent → solid white on hover */
.category-card__arrow {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  transition: var(--t);
}
.category-card__arrow .icon { width: 8px; height: 8px; }
.category-card:hover .category-card__arrow {
  background: #fff;
  color: var(--c-black);
}

@media (max-width: 1023px) {
  .pslider {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    /* intro aligns with the standard gutter; vertical rhythm from .section token */
    padding-left: var(--gutter);
  }
  .pslider__intro {
    flex-basis: auto;
    max-width: none;
  }
  /* eyebrow flag stacks above the title */
  .pslider__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 24px;
  }
  /* let long uppercase titles wrap instead of overflowing the viewport */
  .eyebrow {
    flex-wrap: wrap;
  }
  .pslider__sub {
    margin-top: 12px;
    font-size: 16px;
  }
  /* no nav arrows on mobile */
  .pslider__nav {
    display: none;
  }
  /* drop the white left-edge fade so the first card isn't covered */
  .pslider__main::after {
    display: none;
  }
  /* category cards: vertically align the label with the arrow button */
  .category-card__label {
    bottom: 16px;
    min-height: 32px;
    display: flex;
    align-items: center;
  }
}

/* ---- Style categories ("Τι είδους αναβάτης είστε;") — DARK ---- */
.styles {
  position: relative;
  background: var(--c-black) url('../img/rider-type-bg.jpg') center / cover no-repeat;
  padding: 56px 0;
  overflow: hidden;
  color: #fff;
}
/* decorative rider (left) + motorcycle (right) photos pinned to the section edges,
   behind the centered heading + cards */
.styles::before,
.styles::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 500px;
  max-width: 30%;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}
.styles::before {
  left: 0;
  background-image: url('../img/img-bg-left.png');
  background-position: left center;
}
.styles::after {
  right: 0;
  background-image: url('../img/img-bg-right.png');
  background-position: right center;
}
/* keep the heading above the side photos (cards already sit at z-index 1) */
.styles .sec-head {
  position: relative;
  z-index: 1;
}
.styles .sec-head h2 {
  letter-spacing: -0.02em;
}
.styles .sec-head__sub {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
/* "What's your style?" eyebrow: drop the angled flag, render as an orange pill.
   Uses .sec-head in the selector to outrank catalog.css's global
   `.sec-head .eyebrow { font-size: 28px }` (loaded after home.css). */
.styles .sec-head .eyebrow {
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 10px;
}
.styles .sec-head .eyebrow::before {
  display: none;
}
/* styles cards as a Swiper (no nav/pagination) — desktop shows 3, identical to the old grid */
.styles__slider {
  max-width: 1520px;
  margin: 0 auto;
  padding-inline: 60px;
  position: relative;
  z-index: 1;
}
.styles-swiper {
  width: 100%;
  overflow: hidden;
}
/* pagination dashes (mobile only) */
.styles__dots.swiper-pagination {
  position: static;
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.styles__dots .swiper-pagination-bullet {
  width: 28px;
  height: 3px;
  margin: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
}
.styles__dots .swiper-pagination-bullet-active {
  background: #fff;
}
.style-card {
  position: relative;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 28px;
  color: #fff;
  background: #1c1c1c;
}
.style-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.style-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.85)
  );
}
.style-card__title {
  position: relative;
  z-index: 1;
  font-size: 25px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}
.style-card__text {
  position: relative;
  z-index: 1;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}
/* Hover: title + text slide up to make room for the CTA */
.style-card__title,
.style-card__text {
  transition: transform 0.3s ease;
}
.style-card:hover .style-card__title,
.style-card:hover .style-card__text {
  transform: translateY(-72px);
}
/* CTA: absolute, hidden until hover, then fades + slides into the freed space */
.style-card__btn {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease,
              background var(--t), color var(--t), border-color var(--t);
}
.style-card:hover .style-card__btn {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
@media (max-width: 1023px) {
  /* section too narrow for both — keep only the left photo */
  .styles::after {
    display: none;
  }
  .styles__slider {
    padding-inline: var(--gutter);
  }
  /* heading block */
  .styles .sec-head {
    padding-inline: var(--gutter);
  }
  .styles .sec-head .eyebrow {
    font-size: 14px;
  }
  .styles .sec-head h2 {
    font-size: 24px;
  }
  .styles .sec-head__sub {
    font-size: 16px;
  }
  .style-card {
    height: 430px;
    padding: 8px;
  }
  .styles__dots.swiper-pagination {
    display: flex;
  }
  /* slide content sizes */
  .style-card__title {
    font-size: 18px;
  }
  .style-card__text {
    font-size: 13px;
  }
  /* no hover-shift on touch — keep title/text/button in place
     (the base hover rule translate(-50%,0) would shift the now-static,
     full-width button to the left) */
  .style-card:hover .style-card__title,
  .style-card:hover .style-card__text,
  .style-card:hover .style-card__btn {
    transform: none;
  }
  /* button always visible, full-width, semi-transparent, 13px */
  .style-card__btn {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    margin-top: 16px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: transparent;
  }
}
@media (max-width: 767px) {
  /* left photo spans the full section width on phones */
  .styles::before {
    width: 100%;
    max-width: none;
    background-position: center;
  }
}

/* ---- Brands ---- */
/* brands band sits flush under the fsbanner above it */
/* The section after the USP row supplies its own 40px padding-top, so keeping
   ours here made the gap below the row twice the gap above it. Home only —
   on catalog pages the USP row is the last block before the footer. */
.home .section--tight:has(.usps) { padding-bottom: 0; }
.section:has(.brands) { padding-top: 0; }
.section--tight:has(.fsbanner) { padding-bottom: 0; }
.brands {
  background: var(--c-grey-100) url('../img/brands-bg.jpg') center / cover no-repeat;
  /* Gutter lives on the parent, so every child (heading, logo grid, CTA) is inset
     by it and the textured background still bleeds to the viewport edges.
     Desktop is unaffected: at 1920 this leaves 1792 of usable width and
     .brands__logos is capped at 1790, so the row measures the same as it did with
     no padding at all. It only bites between 1024 and ~1790, where the grid used
     to run edge to edge. Below 1024 the children carried their own padding-inline
     — removed there, or it would double up against this. */
  padding: 50px var(--gutter) 80px;
  text-align: center;
}
.brands .eyebrow {
  font-size: 28px;
}
.brands .sec-head__sub {
  font-size: 16px;
  letter-spacing: -0.02em;
}
/* .btn--lg bumps to 16px — the design keeps this CTA at 14px */
.brands .btn--lg {
  font-size: 14px;
}
.brands .eyebrow::before {
  width: 38px;
  height: 25px;
}
.brands__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1790px;
  margin: 0 auto 60px;
}
.brand-logo {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  height: 160px;
  display: grid;
  place-items: center;
  padding: 24px;
  transition: var(--t);
}
/* lift-on-hover only on real pointer/desktop widths (>1024px) */
@media (min-width: 1025px) {
  .brand-logo:hover {
    transform: translateY(-20px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  }
}
.brand-logo img {
  max-height: 110px;
  max-width: 100%;   /* wide logos (DRIVE) would otherwise overflow the card */
  width: auto;
  object-fit: contain;
  transition: var(--t);
}
/* View-all CTA: light gray border (matches the brand cards) */
.brands .btn--light {
  border-color: var(--c-border);
}
.brands .btn--light:hover {
  border-color: var(--c-accent);
}
/* Tablet: 3-col logo grid, keep the desktop centered heading. */
@media (min-width: 768px) and (max-width: 1023px) {
  .brands__logos {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .brands {
    padding: 40px var(--gutter);
  }
  /* heading aligned left, flag stacked above the title */
  .brands .sec-head {
    text-align: left;
    max-width: none;
    margin-inline: 0;
  }
  .brands .eyebrow {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    font-size: 24px;
  }
  .brands .eyebrow::before {
    width: 22px;
    height: 14px;
  }
  .brands .sec-head__sub {
    font-size: 16px;
  }
  .brands__logos {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .brand-logo {
    height: 110px;
    border-radius: 16px;
    padding: 16px;
  }
  /* the base rule's max-height: 110px is tuned to the 160px desktop card and
     spilled ~18px out of this shorter one. Scaled to keep the desktop card's
     img/card proportion (110/160). ponytail: percentages don't work here — the
     card's auto row track sizes to the image, so max-height:100% is cyclic. */
  .brand-logo img {
    max-height: 78px;
  }
  /* view-all CTA: no border, 14px, 50px tall */
  .brands .btn--light {
    border: none;
    font-size: 14px;
    height: 50px;
  }
}

/* ---- Multimedia (full-width centered video carousel) ---- */
.multimedia {
  background: var(--c-ink);
  color: #fff;
  padding: 56px 0 60px;
  text-align: center;
  /* bottom inner shadow — sits above the bg, behind the slides/active card */
  box-shadow: inset 0 -120px 90px -60px rgba(0, 0, 0, 0.6);
}
.multimedia .eyebrow {
  font-size: var(--fs-lg);
}
.multimedia .eyebrow::before {
  width: 34px;
  height: 22px;
}
.multimedia .sec-head__sub {
  color: rgba(255, 255, 255, 0.7);
}
/* carousel row: circular arrows flank a centered-slide swiper */
.mmedia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  padding-inline: 24px;
}
.mmedia__nav {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: var(--t);
  z-index: 2;
}
.mmedia__nav:hover {
  background: #fff;
  border-color: #fff;
  color: var(--c-black);
}
.content-swiper {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding-block: 34px;
}
.content-swiper .swiper-slide {
  opacity: 0.4;
  transform: scale(0.88);
  transition: opacity 0.4s, transform 0.4s;
}
.content-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.12);
}
.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid #fff;
  background: #111 center/cover no-repeat;
  filter: brightness(0.3);
  transition: filter 0.4s;
}
.content-swiper .swiper-slide-active.video-card {
  filter: brightness(1);
}
/* caption under the active slide */
.mmedia__caption {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.mmedia__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
}
.mmedia__play {
  border-radius: var(--radius-pill);
  height: 42px;
  border: 2px solid #fff;
}
/* bar pagination */
.mmedia__dots.swiper-pagination {
  position: static;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.mmedia__dots .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  margin: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  opacity: 1;
}
.mmedia__dots .swiper-pagination-bullet-active {
  background: rgba(255, 255, 255, 0.95);
}

/* ==========================================================================
   Laptop (1024–1499): the display type is tuned for large screens and looks
   oversized on smaller laptops, so scale the prominent headings/text down.
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1499px) {
  .hero__title {
    font-size: 42px;
  }
  .hero__text {
    font-size: var(--fs-base);
  }
  .pslider__title {
    font-size: 30px;
  }
  .pslider__sub {
    font-size: var(--fs-base);
  }
  .fsbanner__title {
    font-size: 30px;
  }
  .banner__title {
    font-size: 24px;
  }
}
