.brand-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  line-height: 1.08;
  letter-spacing: 0.2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 0;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}

.brand-mark.has-image {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border-radius: 15px;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(45, 217, 255, 0.26),
    0 10px 30px rgba(0, 200, 255, 0.2);
}

.brand-mark.has-image img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.checkout-layout > *,
.checkout-form,
.checkout-form .form-grid,
.checkout-form .field-wide {
  min-width: 0;
  max-width: 100%;
}

.checkout-form textarea[name='note'] {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  min-height: 118px;
  max-height: 220px;
  box-sizing: border-box;
  overflow-y: auto;
  resize: none;
}

.product-pic {
  background: #f7f9fc;
}

.product-pic img {
  object-fit: contain;
}

.hero-media.managed-banner {
  background: #06101f;
}

.hero-media.managed-banner::after {
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide picture,
.hero-slide picture img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-slide picture img {
  object-fit: cover;
}

.hero-slide .hero-overlay {
  z-index: 2;
}

.hero-slide .hero-overlay > div {
  min-width: 0;
}

.hero-slide .hero-overlay h2 {
  max-width: 440px;
}

.hero-slide .hero-overlay span {
  max-width: 420px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 15px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.47);
  cursor: pointer;
  transition: 0.2s;
}

.hero-dots button.active {
  width: 24px;
  background: var(--cyan);
}

.campaign-section {
  padding: 26px 0 10px;
}

.campaign-section[hidden] {
  display: none;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.campaign-card {
  min-height: 210px;
  position: relative;
  overflow: hidden;
  border: 1px solid #29405f;
  border-radius: 18px;
  background: #081221;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.33);
}

.campaign-card picture,
.campaign-card picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.campaign-card picture img {
  object-fit: cover;
  transition: transform 0.35s;
}

.campaign-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 7, 17, 0.91) 0%,
    rgba(2, 7, 17, 0.6) 48%,
    rgba(2, 7, 17, 0.13) 100%
  );
  content: '';
}

.campaign-card:hover picture img {
  transform: scale(1.035);
}

.campaign-card-overlay {
  position: absolute;
  z-index: 1;
  inset: auto 22px 20px;
  display: grid;
  justify-items: start;
}

.campaign-card-overlay small {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.campaign-card-overlay strong {
  max-width: 440px;
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.18;
}

.campaign-card-overlay em {
  max-width: 430px;
  margin-top: 6px;
  color: #b9c5d4;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.campaign-card-overlay b {
  margin-top: 12px;
  color: var(--cyan);
  font-size: 12px;
}

@media (max-width: 680px) {
  .brand-mark.has-image {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 8px;
    letter-spacing: 1.45px;
  }

  .hero-slide .hero-overlay {
    left: 17px;
    right: 17px;
    bottom: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-slide .hero-overlay h2 {
    font-size: 20px;
  }

  .hero-slide .hero-overlay span {
    max-width: 100%;
    white-space: normal;
  }

  .hero-dots {
    bottom: 10px;
  }

  .campaign-section {
    padding-top: 18px;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .campaign-card {
    min-height: 235px;
  }

  .campaign-card-overlay {
    inset: auto 17px 17px;
  }

  .campaign-card-overlay strong {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .campaign-card picture img {
    transition: none;
  }
}
