body:has(.hbw__container) {
  background-color: white;
}

.hbw__hero .btn-secondary:hover {
  background-color: var(--g-blue, #005DAC) !important;
  border-color: var(--g-blue, #005DAC) !important;
  color: #fff !important;
}

.hbw__container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hbw__container h1 {
    font-size: 23px;
  }
}

.hbw__overlay-wrapper {
  width: 60%;
  padding: 60px;
  z-index: 2;
  padding-bottom: 32px;
}

@media (max-width: 992px) {
  .hbw__overlay-wrapper {
    width: 100%;
    padding: 20px;
  }
}

.hbw__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hbw__overlay.overlay-hero {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%);
}

.hbw__overlay.overlay-fit {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.03) 100%);
}

.hbw__logo {
  width: 233px !important;
  aspect-ratio: 233 / 59;
}

@media (max-width: 768px) {
  .hbw__logo {
    margin-bottom: 32px;
  }
}

.hbw__hero-image img {
  height: calc(85vh - 150px);
  object-position: top;
}

@media (max-width: 768px) {
  .hbw__hero-image img {
    object-position: center;
  }
}

.hbw__better-performance {
  padding: 68.456px 81px 67.544px 68px;
  background: #F5F9FA;
}

@media (max-width: 1200px) {
  .hbw__better-performance {
    padding: 20px;
  }
}

.hbw__better-performance-flex {
  gap: 64px;
}

@media (max-width: 1200px) {
  .hbw__better-performance-flex {
    gap: 20px;
  }
}

.hbw-tailored-to-fit__card {
  display: flex;
  flex-direction: column;
}

.hbw-tailored-to-fit__card img,
.hbw__overlay.overlay-fit {
  border-radius: 12px 12px 0 0;
}

.hbw-tailored-to-fit__card ul {
  margin-bottom: 0;
  font-family: 'lato';
}

.hbw-tailored-to-fit__card img {
  object-fit: contain;
}

@media (max-width: 1200px) {
  .hbw-tailored-to-fit__card img {
    min-width: 207px;
  }
}

@media (max-width: 768px) {
  .hbw-tailored-to-fit__card img {
    min-width: 340px;
  }
}

.hbw-tailored-to-fit__card ul {
  padding-left: 15px;
}

.hbw-tailored-to-fit__outer {
  margin-top: 86px;
}

@media (max-width: 768px) {
  .hbw-tailored-to-fit__outer {
    margin-top: 24px;
  }
}

.hbw-tailored-to-fit__text {
  border-radius: 0px 0px 12px 12px;
}

.hbw__text-balanced {
  background-color: #2F5B9A;
}

.hbw__text-defined {
  background-color: #A56A93;
}

.hbw__text-streamlined {
  background-color: #606466;
}

.hbw-tailored-to-fit__tag {
  position: absolute;
  padding: 5px 16px;
  border-radius: 0px 6px;
  background: #000;
  top: 0;
  right: 0;
  color: #fff;
}

.hbw__container .cssCarouselOuter.is-overflowing-desktop {
  margin-right: -48px;
}

.hbw__container .cssCarouselOuter.is-overflowing-mobile {
  margin-right: -24px;
}

.css-carousel__card img {
  height: 246px;
}


@media (max-width: 1200px) {
  .css-carousel__card img {
    height: 190px;
    min-width: 129px;
  }
}

.hbw__container .form-control {
  height: 50px !important;
  padding: 15px 21px !important;
  border: 1px solid var(--default-border, #E3E3E3) !important;
}

.hbw__submit {
  height: 50px;
  padding: 12px 24px;
}

.hbw__thank-you-msg {
  z-index: 1;
  background: #F5F9FA;
  border: 1px solid #F5F9FA;
}

.hbw__woman {
  z-index: 1;
  max-height: 593px;
  max-width: 424px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hbw__woman {
    width: 224px;
    height: 313px;
  }
}

.hbw__value-prop {
  gap: 40px;
}

.hbw__border-left {
  flex: 0 0 auto;
  width: 4px;
  background: var(--g-blue, #005DAC);
}

.hbw-shop-categories-container {
  padding: 24px 24px 0 24px;
}

.hbw__iframe {
  height: 2100px !important;
}
@media (min-width: 768px) {
  .hbw-shop-categories-container {
    padding: 48px 48px 0 48px;
  }
  .hbw__iframe {
  height: 2050px !important;
}
}

/* Catalog Modal (Desktop only) */
.hbw__modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hbw__modal.active {
  display: block;
  opacity: 1;
}

.hbw__modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hbw__modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  font-size: 36px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

@media (max-width: 576px) {
  .hbw__modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  /* Modal still active on mobile — only suppress the desktop-only comment */
  .hbw__modal-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 32px;
    /* Larger tap target on mobile */
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
  }
}

/* Mobile embed container fills the modal */
.hbw__modal-embed {
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hbw__modal-embed #hbw-catalog-embed-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hbw__modal-embed #hbw-catalog-embed-inner iframe {
  margin: 0 auto;
  display: block;
}