/* Componentes: contador numérico, ícones sociais, modais (depoimentos e produto) e drawer. */

.hl-number-counter {
  padding: 20px;
}
.number-counter-wrapper {
  border-radius: 4px;
  box-sizing: border-box;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
  padding: 10px;
}
.counter-value-section {
  flex-shrink: 0;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.counter-value {
  color: #333;
  display: inline-block;
  font-size: 48px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.counter-value-spacer {
  visibility: hidden;
}
.counter-value-animated {
  left: 50%;
  max-width: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  transform: translate(-50%);
  white-space: nowrap;
}
.counter-label {
  color: #666;
  font-size: 16px;
  max-width: 100%;
}

.social-icons-container {
  display: flex;
  flex-wrap: wrap;
  -webkit-font-smoothing: auto !important;
}
.social-icon {
  color: inherit;
  cursor: pointer;
  display: block;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
}
.social-icon p {
  margin-top: 8px;
}

.testimonial-modal-overlay {
  align-items: center;
  background: #0000004d;
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 10000;
}
.testimonial-modal-content {
  align-items: stretch;
  background: none;
  display: flex;
  flex-direction: column;
  max-height: 600px;
  max-width: 540px;
  width: 100%;
}
.testimonial-modal-close {
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 36px;
  justify-content: center;
  position: absolute;
  right: 20px;
  top: 20px;
  transition: background 0.15s;
  width: 36px;
  z-index: 2;
}
.testimonial-modal-close-icon {
  color: #222;
  height: 22px;
  width: 22px;
}
@media (max-width: 768px) {
  .testimonial-modal-content {
    border-radius: 10px;
    max-width: 98vw;
  }
  .testimonial-modal-close {
    right: 10px;
    top: 10px;
  }
}

.pdp-modal-overlay {
  align-items: center;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #344054b3;
  display: flex;
  justify-content: center;
  inset: 0;
  position: fixed;
  z-index: 9999;
}
.pdp-modal-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px #00000026;
  display: flex;
  flex-direction: column;
  max-height: min(640px, 85vh);
  max-width: 1024px;
  position: relative;
  width: 90%;
}
.pdp-modal-container--mobile {
  border-radius: 0;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  width: 100%;
}
.pdp-modal-close {
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: -8px;
  top: -8px;
  width: 32px;
  z-index: 10;
}
.pdp-modal-scroll {
  border-radius: 12px;
  flex: 1;
  font-family: var(--contentfont, inherit);
  font-size: 14px;
  margin-top: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px;
}
.pdp-modal-container--mobile .pdp-modal-scroll {
  padding: 12px;
}
@media (max-width: 1024px) {
  .pdp-modal-overlay {
    align-items: flex-start;
    box-sizing: border-box;
    padding: 8px 12px 12px;
  }
  .pdp-modal-container {
    border-radius: 0;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    width: 100%;
  }
  .pdp-modal-container .pdp-modal-scroll {
    padding: 12px;
  }
}
.pdp-modal-scroll .c-product-details--sticky {
  position: static !important;
}
.pdp-modal-scroll .hl-product-image-container {
  height: auto !important;
  position: static !important;
  top: auto !important;
}
.pdp-modal-scroll .product-detail-container {
  flex-wrap: wrap !important;
  height: auto !important;
}
.pdp-modal-scroll .c-product-details {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.pdp-modal-scroll .ecomm-price-desktop-container .flex {
  flex-wrap: wrap;
}
.pdp-modal-scroll > div {
  container-type: inline-size;
  width: 100%;
}

.drawer {
  display: none;
}
.drawer.is-visible {
  display: block;
}
.drawer.is-open .drawer__overlay {
  opacity: 0.5;
}
.drawer.is-open .drawer__content {
  transform: translate(0);
}
.drawer__overlay {
  background-color: #000;
  left: 0;
  opacity: 0;
  transition-property: opacity;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  z-index: 200;
}
.drawer__content,
.drawer__overlay {
  bottom: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
}
.drawer__content {
  box-shadow: 0 2px 6px #777;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: auto;
  transform: translate(100%);
  transition-property: transform;
  transition: all 0.45s cubic-bezier(0.29, 0.63, 0.44, 1);
  z-index: 9999;
}
