/* =============================================================================
   HERO BANNERS — breakpoint-specific layouts (not scaled desktop)
   Mobile ≤767 (390) · Tablet 768–1023 · Laptop 1024–1439 · Desktop 1440+
   Detail rules: dd-breakpoints.css
   ============================================================================= */

/* ── Full hero ── */
.ls-hero-full {
  position: relative;
  min-height: 0;
  height: auto;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
}

.ls-hero-full__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ls-hero-full__grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: var(--ls-max, 1440px);
  margin: 0 auto;
  min-height: 0;
  gap: 0;
}

/* MOBILE: image on top, copy below */
.ls-hero-full__grid {
  grid-template-columns: 1fr;
  grid-template-areas:
    "visual"
    "copy";
}

.ls-hero-full__visual {
  grid-area: visual;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(52vh, 420px);
  min-height: 0;
  background: #fafafa;
  overflow: hidden;
}

.ls-hero-full__visual .ls-frame,
.ls-hero-full__visual .ls-frame--hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.ls-hero-full__visual .ls-frame__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ls-hero-full__copy {
  grid-area: copy;
  display: flex;
  align-items: flex-start;
  padding: var(--ls-s2, 16px);
  box-sizing: border-box;
}

.ls-hero-full__glass {
  width: 100%;
  max-width: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ls-line, #e8e8ec);
  border-radius: var(--ls-r-md, 16px);
  padding: var(--ls-s2, 16px);
  box-shadow: var(--ls-shadow-md, 0 4px 24px rgba(12, 12, 14, 0.08));
  color: var(--ls-ink, #0c0c0e);
}

.ls-hero-full__copy h1 {
  color: var(--ls-ink, #0c0c0e);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  line-height: 1.15;
  margin: 0 0 var(--ls-s1, 8px);
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.ls-hero-full__eyebrow {
  color: var(--ls-muted, #64656b);
}

.ls-hero-full__glass .ls-price__now {
  color: var(--ls-ink, #0c0c0e);
}

.ls-hero-full__glass .ls-price__was {
  color: var(--ls-muted, #64656b);
}

.ls-hero-full__offer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ls-s1, 8px);
  margin: var(--ls-s2, 16px) 0;
}

.ls-hero-full__deal {
  color: var(--ls-green, #0f7a45);
  background: var(--ls-green-soft, #e8f5ee);
}

.ls-hero-full__actions {
  display: flex;
  flex-direction: column;
  gap: var(--ls-s1, 8px);
  margin-top: var(--ls-s2, 16px);
}

.ls-hero-full__actions .ls-btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}

.ls-hero-full__actions .ls-btn--ghost {
  background: #fff;
  color: var(--ls-ink, #0c0c0e);
  border: 1px solid var(--ls-line, #e8e8ec);
}

/* TABLET 768–1023: balanced stack, larger image */
@media (min-width: 768px) and (max-width: 1023px) {
  .ls-hero-full__grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "visual"
      "copy" !important;
    max-width: 720px;
    padding: var(--ls-s3, 24px);
    gap: var(--ls-s3, 24px);
  }

  .ls-hero-full__visual {
    aspect-ratio: 16 / 10;
    max-height: min(48vh, 480px);
    border-radius: var(--ls-r-md, 16px);
  }

  .ls-hero-full__copy {
    padding: 0;
    justify-content: center;
  }

  .ls-hero-full__glass {
    padding: var(--ls-s3, 24px);
  }

  .ls-hero-full__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ls-hero-full__actions .ls-btn {
    width: auto;
    flex: 1 1 auto;
    min-width: 140px;
  }
}

/* LAPTOP 1024–1439: calm split within grid */
@media (min-width: 1024px) and (max-width: 1439px) {
  .ls-hero-full__grid {
    grid-template-columns: 1fr 1.1fr !important;
    grid-template-areas: "copy visual" !important;
    align-items: center;
    gap: var(--ls-s3, 24px);
    padding: 0;
    min-height: 0;
  }

  .ls-hero-full__visual {
    aspect-ratio: 16 / 10;
    max-height: 280px;
    border-radius: var(--ls-r-md, 16px);
  }
}

/* DESKTOP 1440+ */
@media (min-width: 1440px) {
  .ls-hero-full__grid {
    grid-template-columns: 1fr 1.15fr !important;
    grid-template-areas: "copy visual" !important;
    gap: var(--ls-s3, 24px);
    padding: 0;
    min-height: 0;
  }

  .ls-hero-full__visual {
    max-height: 300px;
  }

  .ls-hero-full__copy h1 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
  }
}

/* ── Banner large ── */
.ls-banner-large {
  min-height: 0;
  height: auto;
  overflow: hidden;
}

.ls-banner-large__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "media" "copy";
  gap: 0;
  min-height: 0;
}

.ls-banner-large__media {
  grid-area: media;
  aspect-ratio: 16 / 9;
  max-height: min(45vh, 400px);
  min-height: 0;
  overflow: hidden;
  background: #fafafa;
}

.ls-banner-large__media .ls-frame,
.ls-banner-large__media .ls-frame__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ls-banner-large__copy {
  grid-area: copy;
  padding: var(--ls-s2, 16px);
}

.ls-banner-large__copy h3 {
  margin: 0 0 var(--ls-s1, 8px);
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  line-height: 1.2;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ls-banner-large__grid {
    grid-template-areas: "media" "copy";
    max-width: 720px;
    margin: 0 auto;
    padding: var(--ls-s3, 24px);
    gap: var(--ls-s2, 16px);
  }

  .ls-banner-large__media {
    border-radius: var(--ls-r-md, 16px);
    max-height: 360px;
  }
}

@media (min-width: 1024px) {
  .ls-banner-large__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "copy media";
    align-items: center;
    gap: var(--ls-s4, 32px);
    padding: var(--ls-s3, 24px);
    min-height: 280px;
  }

  .ls-banner-large__media {
    aspect-ratio: 4 / 3;
    max-height: 320px;
    border-radius: var(--ls-r-md, 16px);
  }
}

@media (min-width: 1440px) {
  .ls-banner-large__grid {
    padding: var(--ls-s4, 32px);
  }

  .ls-banner-large__media {
    max-height: 360px;
  }
}
