/* S-Bul homepage cohesion — one continuous composition */

:root {
  --section-space: clamp(3.5rem, 7vw, 6.25rem);
  --section-space-tight: clamp(2.5rem, 5vw, 4rem);
  --band-gap: clamp(0.5rem, 1.5vw, 1rem);
  --card-pad: 1.35rem;
  --surface: rgba(13, 19, 34, 0.72);
  --surface-strong: rgba(17, 25, 42, 0.88);
  --line: rgba(255, 255, 255, 0.07);
}

/* Continuous page canvas */
body.sbul-home {
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(118, 87, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 30%, rgba(23, 184, 255, 0.08), transparent 50%),
    var(--color-bg) !important;
}

.sbul-main {
  position: relative;
  isolation: isolate;
}

.sbul-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sbul-atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.sbul-atmosphere__orb--a {
  width: 48vw;
  height: 48vw;
  top: 8%;
  right: -12%;
  background: rgba(118, 87, 255, 0.35);
}

.sbul-atmosphere__orb--b {
  width: 36vw;
  height: 36vw;
  top: 42%;
  left: -14%;
  background: rgba(23, 184, 255, 0.2);
}

.sbul-atmosphere__orb--c {
  width: 40vw;
  height: 40vw;
  bottom: 8%;
  right: 10%;
  background: rgba(179, 71, 255, 0.18);
}

.sbul-main > .sbul-hero,
.sbul-main > .sbul-band {
  position: relative;
  z-index: 1;
}

/* Bands: group related sections into one visual chapter */
.sbul-band {
  position: relative;
}

.sbul-band--products {
  margin-top: -2.5rem;
  padding: var(--section-space-tight) 0 clamp(2rem, 4vw, 3.25rem);
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0) 0%, rgba(10, 15, 29, 0.55) 12%, rgba(10, 15, 29, 0.72) 58%, rgba(8, 10, 22, 0.35) 100%);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(118, 87, 255, 0.28), rgba(23, 184, 255, 0.2), transparent) 1;
}

.sbul-band--brand {
  margin-top: -1.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(2rem, 4vw, 3.25rem);
  background:
    linear-gradient(180deg, rgba(8, 10, 22, 0) 0%, rgba(8, 10, 22, 0.55) 10%, rgba(8, 10, 22, 0.72) 42%, rgba(12, 8, 24, 0.4) 100%);
}

.sbul-band--engage {
  margin-top: -1rem;
  padding: var(--section-space-tight) 0 var(--section-space);
  background:
    linear-gradient(180deg, rgba(12, 8, 24, 0.15), rgba(10, 15, 29, 0.7) 45%, rgba(5, 8, 18, 0.95));
}

/* Soften hard section boxes inside bands */
.sbul-band .sbul-section {
  background: transparent;
  padding-top: var(--section-space-tight);
  padding-bottom: var(--section-space-tight);
}

.sbul-band--products .sbul-collections {
  padding-top: 0;
}

.sbul-band--products .sbul-bestsellers {
  padding-bottom: 0;
}

.sbul-band--brand .sbul-why {
  padding-top: 0;
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.sbul-band--brand .sbul-story {
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
  padding-bottom: 0;
}

.sbul-band--engage .sbul-knowledge {
  padding-top: 0;
}

.sbul-band--engage .sbul-final-cta {
  padding-bottom: 0;
}

/* Hero → products blend */
.sbul-hero {
  min-height: min(100vh, 880px);
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 5.5rem;
  align-items: center;
}

.sbul-hero__grid-layout {
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.sbul-hero__content {
  padding-top: 0.5rem;
}

.sbul-hero__bg {
  opacity: 0.9;
}

.sbul-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 18, 0.85));
  pointer-events: none;
  z-index: 1;
}

.sbul-hero .sbul-container,
.sbul-hero .sbul-social-rail {
  z-index: 2;
}

/* Unified section headers */
.sbul-section__head {
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.sbul-section__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-primary);
}

.sbul-section__head--row {
  align-items: flex-end;
}

.sbul-section__head--row .sbul-link {
  margin-bottom: 0.15rem;
}

.sbul-eyebrow {
  margin-bottom: 0.55rem;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #8ea0bf !important;
}

.sbul-section__title {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  max-width: 18ch;
}

.sbul-section__head--row .sbul-section__title {
  max-width: none;
}

/* Shared card language */
.sbul-collection-card,
.sbul-product-card,
.sbul-article-card {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sbul-collection-card:hover,
.sbul-product-card:hover,
.sbul-article-card:hover {
  border-color: rgba(118, 87, 255, 0.42) !important;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(118, 87, 255, 0.12),
    0 0 28px rgba(118, 87, 255, 0.1);
}

/* Collections: image-led, compact with bestsellers */
.sbul-collections__grid {
  gap: 1rem;
}

.sbul-collection-card {
  min-height: 0;
  padding: 0;
}

.sbul-bestsellers__track {
  gap: 1rem;
  padding-top: 0.25rem;
}

.sbul-product-card {
  padding: 1.15rem;
}

.sbul-product-card__media {
  height: 168px;
  margin-bottom: 0.9rem;
  border-radius: 14px;
}

/* Why + Story as one narrative block */
.sbul-why__layout {
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.sbul-why-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.sbul-why-card:hover {
  border: 0 !important;
  box-shadow: none !important;
}

.sbul-story {
  margin-top: 0;
  position: relative;
}

.sbul-story::before {
  content: "";
  display: block;
  width: min(100%, 72rem);
  max-width: calc(100% - 2.5rem);
  height: 1px;
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(90deg, transparent, rgba(118, 87, 255, 0.35), rgba(23, 184, 255, 0.22), transparent);
}

.sbul-story__panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(118, 87, 255, 0.28), transparent 42%),
    linear-gradient(120deg, rgba(8, 12, 24, 0.95) 0%, rgba(14, 12, 28, 0.82) 48%, rgba(22, 12, 36, 0.75) 100%);
  border-block: 0;
}

.sbul-story__layout {
  min-height: 380px;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* Knowledge → CTA continuity */
.sbul-knowledge__grid {
  gap: 1rem;
}

.sbul-article-card {
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sbul-article-card .sbul-link {
  margin-top: auto;
}

.sbul-final-cta {
  margin-top: var(--section-space-tight);
}

.sbul-final-cta__panel {
  border-radius: 28px;
  border: 1px solid rgba(118, 87, 255, 0.22);
  background:
    radial-gradient(circle at 78% 40%, rgba(118, 87, 255, 0.3), transparent 42%),
    radial-gradient(circle at 18% 70%, rgba(23, 184, 255, 0.14), transparent 40%),
    linear-gradient(135deg, rgba(13, 19, 34, 0.95), rgba(18, 10, 34, 0.92));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

/* Footer joins the page instead of hard cut */
.sbul-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 15, 29, 0.65), rgba(5, 8, 18, 1) 35%);
}

.sbul-footer__grid {
  padding-top: 0.5rem;
}

/* Align content width rhythm */
.sbul-container {
  width: min(100% - 2.5rem, 1280px);
}

@media (min-width: 1200px) {
  .sbul-container {
    width: min(100% - 5rem, 1280px);
  }
}

/* Social rail quieter so page feels one piece */
.sbul-social-rail {
  opacity: 0.72;
}

.sbul-social-rail:hover {
  opacity: 1;
}

/* Reduce competing glows inside hero when page atmosphere exists */
.sbul-hero__glow {
  opacity: 0.32;
}

.sbul-hero__grid {
  opacity: 0.18;
}

/* Full-bleed banner hero carousel
   Unified height; object-fit:contain keeps every slide's top/bottom copy visible
   (cover was cropping taller art like Ripple / Hookah). Dark fill for letterbox. */
.sbul-hero--banner {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-height: 0;
  height: calc(var(--header-h) + clamp(320px, calc(100vw * 1100 / 2560), 800px));
  aspect-ratio: auto;
  max-height: none;
  padding-top: 0;
  padding-bottom: 0;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
}

.sbul-hero__slider {
  position: absolute;
  inset: 0;
  top: var(--header-h);
  z-index: 0;
  background: #050812;
}

.sbul-hero__slides {
  position: absolute;
  inset: 0;
}

.sbul-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  pointer-events: none;
  background: #050812;
}

.sbul-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.sbul-hero__slide-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #050812;
}

.sbul-hero--banner .sbul-hero__banner-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.sbul-hero--banner .sbul-hero__banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Light edge fade only — avoid covering banner copy */
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0.28) 0%, transparent 14%),
    linear-gradient(180deg, transparent 72%, rgba(5, 8, 18, 0.45) 88%, rgba(5, 8, 18, 0.92) 100%);
}

.sbul-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.sbul-hero__nav svg {
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.sbul-hero__nav:hover,
.sbul-hero__nav:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(118, 87, 255, 0.72);
  box-shadow:
    0 10px 32px rgba(88, 60, 220, 0.45),
    0 0 0 3px rgba(167, 139, 250, 0.28);
  transform: translateY(-50%) scale(1.04);
}

.sbul-hero__nav:active {
  transform: translateY(-50%) scale(0.96);
  background: rgba(98, 72, 230, 0.85);
}

.sbul-hero__nav--prev { left: clamp(0.75rem, 2vw, 1.75rem); }
.sbul-hero__nav--next { right: clamp(0.75rem, 2vw, 1.75rem); }

.sbul-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 5.75rem;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 12, 24, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.sbul-hero__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.2s ease, transform 0.2s ease;
}

.sbul-hero__dots button:hover {
  background: rgba(255, 255, 255, 0.8);
}

.sbul-hero__dots button.is-active {
  width: 22px;
  background: #c4b5fd;
}

.sbul-hero--banner .sbul-hero__dock-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.1rem, 2.2vw, 1.75rem);
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin: 0;
  padding: 0 1.25rem;
  transform: none;
}

.sbul-hero--banner .sbul-hero__dock {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.6rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 24, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.sbul-hero--banner .sbul-hero__dock .sbul-btn {
  margin: 0;
  min-height: 44px;
}

.sbul-hero--banner .sbul-btn--primary {
  box-shadow: 0 8px 24px rgba(118, 87, 255, 0.28);
}

.sbul-hero--banner .sbul-btn--ghost {
  background: rgba(5, 8, 18, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.36) !important;
  color: #fff !important;
}

.sbul-hero--banner::after {
  height: 64px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 18, 1));
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .sbul-hero__slide {
    transition: none;
  }
}

@media (max-width: 767px) {
  .sbul-band--products {
    margin-top: -1.25rem;
  }

  .sbul-hero {
    padding-bottom: 1.5rem;
  }

  .sbul-hero::after {
    height: 56px;
  }

  .sbul-hero--banner {
    /* Keep contain behavior; slightly taller for readable mobile copy */
    height: calc(var(--header-h) + clamp(280px, 58vw, 420px));
  }

  .sbul-hero__nav {
    width: 42px;
    height: 42px;
  }

  .sbul-hero__nav svg {
    width: 18px;
    height: 18px;
  }

  .sbul-hero__nav--prev { left: 0.55rem; }
  .sbul-hero__nav--next { right: 0.55rem; }

  .sbul-hero__dots {
    bottom: 7rem;
  }

  .sbul-hero--banner .sbul-hero__dock-wrap {
    bottom: 1rem;
    padding: 0 0.75rem;
  }

  .sbul-hero--banner .sbul-hero__dock {
    width: 100%;
    flex-direction: column;
  }

  .sbul-hero--banner .sbul-hero__dock .sbul-btn {
    width: 100%;
    justify-content: center;
  }

  .sbul-section__title {
    max-width: none;
  }

  .sbul-story__panel {
    border-radius: 22px;
  }
}
