.hl-card.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.hl-card.has-photo:hover::after {
  opacity: 1;
}

.hl-card.has-photo:hover {
  opacity: 1 !important;
}

/* Keep the desktop popup close control visible while its content scrolls. */
.hl-popup .hl-popup-box > .close-btn {
  position: sticky;
  top: 2.5rem;
  left: auto;
  right: auto;
  margin-top: 2.5rem;
  margin-right: 2.5rem;
  margin-bottom: -4.75rem;
  margin-left: auto;
}

.hl-popup .hl-popup-box {
  padding: 0;
}

.hl-popup .hl-popup-body {
  padding: 3.75rem 5.3125rem;
}

@media screen and (max-width: 800px) {
  .parts-container {
    margin-top: calc(8.5333vw + 20px);
  }

  .product-selection .product-option.active::after {
    border-bottom-width: 4px;
    border-left-width: 4px;
    border-right-width: 4px;
  }

  .sp-container + .hl-container {
    margin-top: 50px;
  }

  .sp-toggle {
    margin-right: 0;
  }

  .hl-card .hl-ft .icon-add::before,
  .hl-card .hl-ft .icon-add::after {
    background: #000000 !important;
  }

  .faq-item .faq-item-hd .title {
    font-size: 13px;
    font-weight: 400;
  }

  .hl-popup .hl-popup-box {
    padding: 0;
  }

  .hl-popup .hl-popup-body {
    height: auto;
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 25px;
  }

  .hl-popup .close-btn {
    position: sticky;
    top: 15px;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: 15px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .hl-popup .hl-popup-content > :last-child {
    margin-bottom: 0;
  }

  .hl-popup .hl-title {
    font-size: 18px;
    font-weight: 600;
    text-align: left;
  }

  .hl-popup .hl-popup-box {
    width: calc(100% - 40px);
  }
}
