/* Electro HUB — homepage premium blocks (v1.16.1) */

/* —— Brand marquee —— */
.eh-brand-marquee {
  padding: 1.35rem 0 1.5rem;
  background: var(--eh-dark-2);
  border-bottom: none;
  overflow: hidden;
}

.eh-brand-marquee-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eh-muted);
}

.eh-brand-marquee-viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.eh-brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: eh-brand-marquee 56s linear infinite;
}

.eh-brand-marquee:hover .eh-brand-marquee-track {
  animation-play-state: paused;
}

.eh-brand-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 168px;
  height: 52px;
  padding: 0 0.35rem;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.eh-brand-marquee-item:hover,
.eh-brand-marquee-item:focus-visible {
  opacity: 1;
}

.eh-brand-marquee-item img {
  width: 160px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  filter: none;
}

@keyframes eh-brand-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .eh-brand-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: var(--eh-max);
    margin: 0 auto;
    padding: 0 1rem;
    gap: 1.5rem 2.5rem;
  }
  .eh-brand-marquee-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .eh-brand-marquee-item[aria-hidden="true"] {
    display: none;
  }
}

/* —— Gift certificate —— */
.eh-gift {
  padding: 2.6rem 0;
  background:
    radial-gradient(700px 320px at 88% 10%, rgba(225, 6, 0, 0.12), transparent 55%),
    var(--eh-dark);
}

.eh-gift-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .eh-gift-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.eh-gift-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.eh-gift-lead {
  margin: 0 0 1.15rem;
  max-width: 34rem;
  color: var(--eh-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.eh-gift-bullets {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.eh-gift-bullets li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.eh-gift-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--eh-red);
  box-shadow: 0 0 0 3px var(--eh-red-muted);
}

.eh-gift-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.eh-gift-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--eh-border);
  background: var(--eh-dark-3);
  color: var(--eh-text);
  font-size: 0.88rem;
  font-weight: 600;
}

.eh-gift-chip--custom {
  border-color: rgba(225, 6, 0, 0.45);
  color: var(--eh-red-light);
  background: var(--eh-red-muted);
}

.eh-gift-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.eh-gift-note {
  margin: 0;
  max-width: 32rem;
  color: var(--eh-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.eh-gift-visual {
  display: flex;
  justify-content: center;
}

.eh-gift-card {
  width: min(100%, 380px);
  padding: 1.45rem 1.4rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(225, 6, 0, 0.18), transparent 42%),
    linear-gradient(165deg, #1c1c1c, #0d0d0d 70%);
  box-shadow: var(--eh-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.eh-gift-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.35), transparent 70%);
  pointer-events: none;
}

.eh-gift-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.eh-gift-card-brand {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eh-gift-card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eh-red-light);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background: var(--eh-red-muted);
}

.eh-gift-card-title {
  margin: 0 0 0.45rem;
  color: var(--eh-muted);
  font-size: 0.92rem;
}

.eh-gift-card-amount {
  margin: 0 0 1.1rem;
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.eh-gift-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.eh-gift-card-chips span {
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--eh-border);
  color: var(--eh-muted);
}

.eh-gift-card-chips span.is-active {
  color: #fff;
  border-color: rgba(225, 6, 0, 0.55);
  background: var(--eh-red-muted);
}

.eh-gift-card-footer {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

/* —— Reviews carousel —— */
.eh-reviews {
  padding: 2.6rem 0 2.75rem;
}

.eh-reviews-head {
  margin-bottom: 1.5rem;
  text-align: center;
}

.eh-reviews-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.eh-reviews-viewport {
  grid-area: viewport;
  overflow: hidden;
  border-radius: var(--eh-radius);
}

.eh-reviews-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.eh-review-card {
  flex: 0 0 100%;
  min-width: 0;
  padding: 1.45rem 1.35rem 1.3rem;
  border-radius: var(--eh-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, #171717, #0f0f0f);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  position: relative;
}

@media (min-width: 720px) {
  .eh-review-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (min-width: 1020px) {
  .eh-review-card {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

.eh-review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
}

.eh-review-stars span {
  width: 14px;
  height: 14px;
  display: inline-block;
  background: var(--eh-red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.eh-review-tag {
  position: absolute;
  top: 1.35rem;
  right: 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eh-red-light);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: var(--eh-red-muted);
}

.eh-review-quote {
  margin: 0 0 1.15rem;
}

.eh-review-quote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.55;
}

.eh-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.eh-review-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.eh-review-place {
  color: var(--eh-muted);
  font-size: 0.85rem;
}

.eh-reviews-nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--eh-border);
  background: var(--eh-dark-3);
  color: var(--eh-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.eh-reviews-prev { grid-area: prev; }
.eh-reviews-next { grid-area: next; }

.eh-reviews-nav:hover,
.eh-reviews-nav:focus-visible {
  border-color: rgba(225, 6, 0, 0.55);
  color: var(--eh-red-light);
  background: var(--eh-red-muted);
}

.eh-reviews-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.eh-reviews-dots {
  grid-area: dots;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.eh-reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.2s, width 0.2s;
}

.eh-reviews-dot.is-active {
  width: 22px;
  background: var(--eh-red);
}



@media (prefers-reduced-motion: reduce) {
  .eh-reviews-track {
    transition: none;
  }
}

/* Brands after pillars — more air, less “cut” */

/* Avito reviews block */
.eh-reviews-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.eh-reviews-score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem 0.7rem;
  margin: 0.85rem auto 0.65rem;
}
.eh-reviews-score-value {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}
.eh-reviews-score-stars {
  color: #f5a623;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.eh-reviews-score-meta {
  display: none;
}
.eh-reviews-lead {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 36rem;
}
.eh-review-card-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}
.eh-review-avatar {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 30, 58, 0.22);
  border: 1px solid rgba(196, 30, 58, 0.45);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.eh-review-card-top-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}
.eh-review-card-top .eh-review-stars {
  margin-left: auto;
}
.eh-review-source {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.eh-review-product {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}
.eh-reviews-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

/* Reviews: card first, then ‹ ··· › under it */
.eh-reviews-carousel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}
.eh-reviews-viewport {
  order: 0;
  width: 100%;
}
.eh-reviews-controls {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.1rem;
  width: 100%;
}
.eh-reviews-swipe-hint {
  order: 2;
}
.eh-reviews-controls .eh-reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  grid-area: unset;
}
.eh-reviews-controls .eh-reviews-nav {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}
@media (max-width: 640px) {
  .eh-reviews-controls .eh-reviews-nav {
    width: 36px;
    height: 36px;
  }
  .eh-reviews-swipe-hint {
    display: block;
    margin: 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.42);
  }
  .eh-review-card {
    padding-inline: 1.25rem;
  }
}

/* Gift certificate — premium card image, no white plate */
.eh-gift-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.eh-gift-cert {
  margin: 0;
  width: 100%;
  max-width: 34rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.55);
  background: #0a0a0a;
}
.eh-gift-cert img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}
.eh-gift-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.eh-gift-actions .eh-gift-msg {
  min-width: 7.5rem;
  justify-content: center;
}
@media (max-width: 720px) {
  .eh-gift-cert {
    max-width: 22rem;
    margin-inline: auto;
  }
  .eh-gift-actions {
    width: 100%;
  }
  .eh-gift-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Brands strip between CTA and footer */
.eh-brand-marquee--footer {
  margin-top: 0;
  padding: 1.75rem 0 2rem;
  background: #000;
  border-top: none;
  border-bottom: 0;
}
.eh-brand-marquee--footer .eh-brand-marquee-eyebrow {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}
.eh-brand-marquee--footer .eh-brand-marquee-item {
  width: 168px;
  height: 52px;
  opacity: 0.92;
}
.eh-brand-marquee--footer .eh-brand-marquee-item:hover,
.eh-brand-marquee--footer .eh-brand-marquee-item:focus-visible {
  opacity: 1;
}
.eh-brand-marquee--footer .eh-brand-marquee-item img {
  width: 160px;
  height: 44px;
}
.section-alt:has(.cta-band) {
  padding-bottom: 2rem;
}



/* Gift CTAs = hero messengers */
.eh-gift-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.eh-gift-actions .btn-primary,
.eh-gift-actions .eh-gift-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  background: #E10600;
  color: #fff;
  font-weight: 650;
  font-size: 1rem;
  border: 0;
  box-shadow: 0 4px 16px rgba(225, 6, 0, 0.22);
  text-decoration: none;
  cursor: pointer;
}
.eh-gift-actions .btn-primary:hover,
.eh-gift-actions .eh-gift-open:hover {
  background: #B80500;
  color: #fff;
}
.eh-gift-actions .eh-msg-btn {
  min-height: 52px;
  min-width: 148px;
  border-radius: 12px;
}
@media (max-width: 720px) {
  .eh-gift-actions .btn-primary,
  .eh-gift-actions .eh-gift-open,
  .eh-gift-actions .eh-msg-btn {
    flex: 1 1 calc(50% - 0.4rem);
  }
  .eh-gift-actions .eh-gift-open {
    flex: 1 1 100%;
  }
}

/* Gift request modal */
.eh-gift-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.eh-gift-modal.is-open { display: flex; }
.eh-gift-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(8px);
}
.eh-gift-modal-card {
  position: relative;
  width: min(100%, 420px);
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 1.45rem 1.35rem 1.3rem;
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
  color: #fff;
}
.eh-gift-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.eh-gift-modal-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.eh-gift-modal-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.eh-gift-modal-card p.lead {
  margin: 0 0 1.1rem;
  color: rgba(255,255,255,0.58);
  font-size: 0.92rem;
  line-height: 1.45;
}
.eh-gift-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}
.eh-gift-field span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.eh-gift-field input,
.eh-gift-field select {
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #141414;
  color: #fff;
  padding: 0 0.9rem;
  font: inherit;
}
.eh-gift-field input:focus,
.eh-gift-field select:focus {
  outline: none;
  border-color: #E10600;
}
.eh-gift-modal-submit {
  width: 100%;
  margin-top: 0.35rem;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: #E10600;
  color: #fff;
  font-weight: 650;
  font-size: 1rem;
  cursor: pointer;
}
.eh-gift-modal-submit:hover { background: #B80500; }
.eh-gift-modal-note {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
}
body.eh-gift-lock { overflow: hidden; }
