/* «دغدغه‌ات مو است؟» band (homepage and scan landing). Self-contained: the landing does not
   load the site stylesheets. */
.zb-hairband {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: center;
  overflow: hidden;
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.65), transparent 40%),
    linear-gradient(115deg, #e3f3e6 0%, #d3ecd9 45%, #f5ead7 100%);
  color: #1f1f1f;
  text-decoration: none;
  isolation: isolate;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.zb-hairband:hover,
.zb-hairband:focus-visible {
  box-shadow: 0 14px 34px rgba(44, 110, 63, 0.18);
  transform: translateY(-2px);
}
.zb-hairband__media {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  grid-row: span 2;
  place-items: center;
}
.zb-hairband__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.45),
    0 10px 24px rgba(44, 110, 63, 0.18);
}
.zb-hairband__slides {
  position: relative;
  width: 82px;
  height: 82px;
  animation: zb-hairband-float 4s ease-in-out infinite;
}
.zb-hairband__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}
/* Several hair products: each photo stays about 3 seconds, with a soft crossfade. */
.zb-hairband__slides--2 .zb-hairband__img,
.zb-hairband__slides--3 .zb-hairband__img,
.zb-hairband__slides--4 .zb-hairband__img {
  opacity: 0;
  animation-delay: calc(var(--i) * 3s);
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.zb-hairband__slides--2 .zb-hairband__img {
  animation-name: zb-hairband-2;
  animation-duration: 6s;
}
.zb-hairband__slides--3 .zb-hairband__img {
  animation-name: zb-hairband-3;
  animation-duration: 9s;
}
.zb-hairband__slides--4 .zb-hairband__img {
  animation-name: zb-hairband-4;
  animation-duration: 12s;
}
@keyframes zb-hairband-2 {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  8%,
  50% {
    opacity: 1;
    transform: none;
  }
  58%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
}
@keyframes zb-hairband-3 {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  5%,
  33% {
    opacity: 1;
    transform: none;
  }
  38%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
}
@keyframes zb-hairband-4 {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  4%,
  25% {
    opacity: 1;
    transform: none;
  }
  29%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
}
.zb-hairband__glyph {
  position: relative;
  color: #2c6e3f;
}
.zb-hairband__glyph svg {
  width: 40px;
  height: 40px;
}
@keyframes zb-hairband-float {
  50% {
    transform: translateY(-4px) rotate(-3deg);
  }
}
.zb-hairband__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.zb-hairband__kicker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2c6e3f;
  font-size: 12px;
  font-weight: 800;
}
.zb-hairband__kicker svg {
  width: 14px;
  height: 14px;
}
.zb-hairband .zb-hairband__title {
  color: #1f1f1f;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.5;
}
.zb-hairband__text {
  color: #4a5a4e;
  font-size: 13px;
  line-height: 1.8;
}
.zb-hairband__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.zb-hairband__chips span {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #2c6e3f;
  font-size: 12px;
  font-weight: 700;
}
.zb-hairband__cta {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  margin-top: 6px;
  border-radius: 999px;
  background: #2c6e3f;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.zb-hairband__cta svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 768px) {
  .zb-hairband {
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 20px;
    padding: 20px 28px;
  }
  .zb-hairband__media {
    width: 140px;
    height: 140px;
    grid-row: auto;
  }
  .zb-hairband__slides {
    width: 120px;
    height: 120px;
  }
  .zb-hairband__title {
    font-size: 1.4rem;
  }
  .zb-hairband__cta {
    grid-column: auto;
    margin: 0;
    padding: 0 22px;
  }
}
/* Reduced motion: no float, and only the first photo. */
@media (prefers-reduced-motion: reduce) {
  .zb-hairband__slides,
  .zb-hairband__img {
    animation: none;
  }
  .zb-hairband__img + .zb-hairband__img {
    display: none;
  }
  .zb-hairband__slides .zb-hairband__img:first-child {
    opacity: 1;
  }
}
