/* S-Bul homepage polish v1.1 — contrast, fidelity, mockup details */

/* Kill Astra global color overrides on homepage text */
body.sbul-home,
body.sbul-home .sbul-main,
body.sbul-home .sbul-header,
body.sbul-home .sbul-footer {
  color: var(--color-text) !important;
  background-color: var(--color-bg) !important;
}

body.sbul-home h1,
body.sbul-home h2,
body.sbul-home h3,
body.sbul-home h4,
body.sbul-home p,
body.sbul-home li,
body.sbul-home a,
body.sbul-home .sbul-section__title,
body.sbul-home .sbul-hero__title,
body.sbul-home .sbul-hero__desc,
body.sbul-home .entry-title {
  color: var(--color-text) !important;
}

body.sbul-home .sbul-eyebrow,
body.sbul-home .sbul-hero__desc,
body.sbul-home .sbul-collection-card__desc,
body.sbul-home .sbul-product-card__spec,
body.sbul-home .sbul-product-card__cat,
body.sbul-home .sbul-why__desc,
body.sbul-home .sbul-why-card__desc,
body.sbul-home .sbul-story__desc,
body.sbul-home .sbul-final-cta__desc,
body.sbul-home .sbul-footer__brand p,
body.sbul-home .sbul-text-muted {
  color: var(--color-text-secondary) !important;
}

body.sbul-home .sbul-hero__title {
  color: #F7F9FC !important;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

body.sbul-home .sbul-grad {
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
}

body.sbul-home .sbul-grad--pink {
  background-image: linear-gradient(90deg, #FF4DB8 0%, #B347FF 55%, #F137A6 100%) !important;
}

body.sbul-home .sbul-grad--blue {
  background-image: linear-gradient(90deg, #17B8FF 0%, #7657FF 60%, #00D5FF 100%) !important;
}

/* Logo */
.sbul-logo__img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255, 40, 40, 0.12));
}

.sbul-logo--footer .sbul-logo__img {
  height: 80px;
}

.sbul-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sbul-lang svg {
  width: 15px;
  height: 15px;
  opacity: 0.85;
}

.sbul-btn--quote {
  color: #fff !important;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(5, 8, 18, 0.92), rgba(5, 8, 18, 0.92)) padding-box,
    var(--gradient-primary) border-box;
  box-shadow: 0 0 18px rgba(118, 87, 255, 0.18);
}

.sbul-btn--quote:hover {
  box-shadow: 0 0 28px rgba(179, 71, 255, 0.28);
}

/* Hero fidelity */
.sbul-hero {
  padding-top: calc(var(--header-h) + 2.25rem);
}

.sbul-hero__glow--c {
  width: 20vw;
  height: 20vw;
  left: 8%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(241, 55, 166, 0.22), transparent 70%);
  animation-delay: -1.2s;
}

.sbul-hero__smoke {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}

.sbul-hero__smoke--1 {
  width: 280px;
  height: 180px;
  right: 12%;
  top: 22%;
  background: radial-gradient(circle, rgba(179, 71, 255, 0.55), transparent 70%);
  animation: sbul-smoke 10s ease-in-out infinite;
}

.sbul-hero__smoke--2 {
  width: 240px;
  height: 160px;
  right: 22%;
  bottom: 20%;
  background: radial-gradient(circle, rgba(23, 184, 255, 0.4), transparent 70%);
  animation: sbul-smoke 12s ease-in-out infinite reverse;
}

@keyframes sbul-smoke {
  0%, 100% { transform: translateX(0) translateY(0); opacity: 0.28; }
  50% { transform: translateX(18px) translateY(-10px); opacity: 0.45; }
}

.sbul-hero__tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  max-width: 34rem;
}

.sbul-hero__tags li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0;
  color: var(--color-text-secondary) !important;
  font-size: 0.9rem;
}

.sbul-hero__tags li::before {
  display: none;
}

.sbul-hero__tag-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #d7c8ff;
  border: 1px solid rgba(118, 87, 255, 0.4);
  background: rgba(118, 87, 255, 0.12);
  box-shadow: 0 0 16px rgba(118, 87, 255, 0.18);
}

.sbul-hero__tag-icon svg {
  width: 15px;
  height: 15px;
}

.sbul-hero__visual {
  min-height: 540px;
}

.sbul-hero__ring {
  border: 0;
  background: transparent;
}

.sbul-hero__ring--outer {
  width: min(78%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(179, 71, 255, 0.55),
    0 0 40px rgba(179, 71, 255, 0.35),
    inset 0 0 40px rgba(179, 71, 255, 0.12);
  animation: sbul-breathe 5.5s ease-in-out infinite;
}

.sbul-hero__ring--inner {
  width: min(58%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(23, 184, 255, 0.55),
    0 0 36px rgba(23, 184, 255, 0.28),
    inset 0 0 30px rgba(23, 184, 255, 0.1);
  animation: sbul-breathe 4.8s ease-in-out infinite reverse;
}

.sbul-hero__plinth {
  position: absolute;
  bottom: 12%;
  width: 46%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.75), transparent 70%);
  filter: blur(4px);
}

.sbul-hero__products {
  gap: 1.1rem;
  z-index: 2;
}

.sbul-hero__device {
  position: relative;
  width: 98px;
  height: 300px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.55),
    0 0 34px rgba(179, 71, 255, 0.28);
  overflow: hidden;
}

.sbul-hero__device--a {
  height: 320px;
  background:
    linear-gradient(180deg, rgba(23, 184, 255, 0.45) 0%, transparent 28%),
    linear-gradient(180deg, #2a3658 0%, #101828 45%, #0a101c 100%);
}

.sbul-hero__device--b {
  width: 90px;
  background:
    linear-gradient(180deg, rgba(241, 55, 166, 0.42) 0%, transparent 28%),
    linear-gradient(180deg, #3a2458 0%, #14101f 45%, #0a101c 100%);
}

.sbul-hero__device-screen {
  position: absolute;
  top: 18%;
  left: 18%;
  right: 18%;
  height: 22%;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(23, 184, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sbul-hero__device-glow {
  position: absolute;
  inset: auto 20% 12% 20%;
  height: 18%;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(179, 71, 255, 0.65), transparent 70%);
  filter: blur(8px);
}

.sbul-social-rail a {
  width: 40px;
  height: 40px;
}

.sbul-social-rail svg {
  width: 16px;
  height: 16px;
}

/* Collections — image-led cards */
.sbul-collection-card {
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  backdrop-filter: blur(10px);
  background: linear-gradient(145deg, rgba(17, 25, 42, 0.88), rgba(10, 15, 29, 0.78));
  min-height: 0 !important;
  padding: 0 !important;
}

.sbul-collection-card__media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(118, 87, 255, 0.2), transparent 60%),
    linear-gradient(165deg, #182036, #0a0f1d 70%);
}

.sbul-collection-card__glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(22px);
  opacity: 0.55;
  pointer-events: none;
  background: rgba(118, 87, 255, 0.45);
}

.sbul-collection-card--disposable .sbul-collection-card__glow { background: rgba(23, 184, 255, 0.5); }
.sbul-collection-card--pod .sbul-collection-card__glow { background: rgba(118, 87, 255, 0.55); }
.sbul-collection-card--ejuice .sbul-collection-card__glow { background: rgba(179, 71, 255, 0.5); }
.sbul-collection-card--pouch .sbul-collection-card__glow { background: rgba(241, 55, 166, 0.45); }
.sbul-collection-card--hookah .sbul-collection-card__glow { background: rgba(245, 158, 11, 0.45); }
.sbul-collection-card--diffuser .sbul-collection-card__glow { background: rgba(52, 211, 153, 0.45); }

.sbul-collection-card__product {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 34%;
  height: 70%;
  border-radius: 18px 18px 10px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #2a3350, #0d1322 70%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%) rotate(8deg);
  transition: transform 0.35s ease;
}

.sbul-collection-card:hover .sbul-collection-card__product {
  transform: translate(-50%, -54%) rotate(8deg) scale(1.05);
}

.sbul-collection-card--ejuice .sbul-collection-card__product {
  width: 42%;
  height: 52%;
  border-radius: 12px;
  transform: translate(-50%, -50%) rotate(-6deg);
}

.sbul-collection-card--pouch .sbul-collection-card__product {
  width: 48%;
  height: 48%;
  border-radius: 12px;
  transform: translate(-50%, -50%);
}

.sbul-collection-card__img {
  position: absolute;
  inset: 0;
  width: 78%;
  height: 82%;
  margin: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.4));
  transition: transform 0.35s ease;
}

.sbul-collection-card:hover .sbul-collection-card__img {
  transform: scale(1.05) translateY(-3px);
}

.sbul-collection-card__body {
  position: relative;
  z-index: 1;
}

.sbul-collection-card__title {
  font-size: 1.12rem;
}

.sbul-collection-card__desc {
  margin-bottom: 0.75rem;
}

/* Product cards */
.sbul-product-card__media {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(118, 87, 255, 0.28), transparent 60%),
    linear-gradient(180deg, #161e33, #0a0f1d);
}

.sbul-product-card__media img {
  width: 78%;
  height: 88%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.sbul-product-card:hover .sbul-product-card__media img {
  transform: scale(1.04);
}

.sbul-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.sbul-product-card__title a:hover {
  color: var(--color-blue, #17b8ff);
}

.sbul-product-card__silhouette {
  width: 46px;
  height: 130px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 35%),
    linear-gradient(180deg, #334066, #121826);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 24px rgba(118, 87, 255, 0.25);
}

.sbul-product-card__cat {
  margin: 0 0 0.25rem;
  color: var(--color-text-muted) !important;
  font-size: 0.8rem;
}

.sbul-product-card__spec {
  margin-bottom: 0.85rem;
  color: var(--color-blue) !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.sbul-badge--new {
  color: #fff !important;
  background: #1F8EFF;
}

.sbul-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.sbul-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.sbul-carousel-dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--gradient-primary);
}

/* Story cinematic */
.sbul-story__panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 45%, rgba(118, 87, 255, 0.32), transparent 38%),
    linear-gradient(110deg, rgba(5, 8, 18, 0.96) 0%, rgba(5, 8, 18, 0.55) 42%, rgba(12, 8, 24, 0.35) 100%),
    linear-gradient(135deg, #070b16, #1a1030);
}

.sbul-story__figure {
  position: absolute;
  inset: 8% 8% 8% 18%;
  border-radius: 24px;
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(160deg, #1c2438 0%, #0c101c 55%, #1a0f28 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 60px rgba(118, 87, 255, 0.12);
}

.sbul-story__neon-s {
  position: relative;
  z-index: 1;
  mix-blend-mode: screen;
}

.sbul-story__mist {
  position: absolute;
  inset: 20% 5% 10% 25%;
  background: radial-gradient(circle, rgba(179, 71, 255, 0.28), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.sbul-story__note {
  display: none;
}

/* Final CTA */
.sbul-final-cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  text-align: left;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
}

.sbul-final-cta__desc {
  margin-left: 0;
  margin-right: 0;
}

.sbul-final-cta__actions {
  justify-content: flex-start;
}

.sbul-btn--whatsapp {
  border-color: rgba(37, 211, 102, 0.45);
}

.sbul-btn--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.8);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.18);
}

.sbul-btn__icon {
  display: inline-flex;
  color: #25D366;
}

.sbul-btn__icon svg {
  width: 16px;
  height: 16px;
}

.sbul-final-cta__visual {
  position: relative;
  min-height: 220px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
}

.sbul-final-cta__device {
  display: block;
  width: 72px;
  height: 210px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(118, 87, 255, 0.25);
}

.sbul-final-cta__device--a {
  background: linear-gradient(180deg, rgba(23, 184, 255, 0.35), #121826 40%);
}

.sbul-final-cta__device--b {
  width: 66px;
  height: 190px;
  background: linear-gradient(180deg, rgba(241, 55, 166, 0.35), #121826 40%);
}

/* Footer social icons */
.sbul-footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.03);
}

.sbul-footer__social svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 991px) {
  .sbul-final-cta__panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sbul-final-cta__actions {
    justify-content: center;
  }

  .sbul-final-cta__visual {
    order: -1;
    min-height: 160px;
  }

  .sbul-final-cta__device {
    height: 150px;
  }
}

@media (max-width: 767px) {
  .sbul-hero__tags {
    grid-template-columns: 1fr;
  }

  .sbul-hero__visual {
    min-height: 360px;
  }
}
