/*
 * WebCar price lockup
 * Shared by the weekly offers on the home page and by the complete catalogue.
 */
.price-lockup {
  width: max-content !important;
  max-width: 100%;
  margin-top: 4px !important;
  display: inline-grid !important;
  gap: 5px;
  color: #075fc7 !important;
  font-family: "Sora WebCar", "DM Sans", Arial, sans-serif !important;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
}

.price-lockup .price-main {
  display: inline-flex !important;
  align-items: flex-end;
  gap: 0;
  font-size: inherit !important;
  line-height: 0.84;
  white-space: nowrap;
}

.price-lockup .price-currency {
  margin: 0.08em 0.12em 0 0;
  align-self: flex-start;
  color: #075fc7;
  font-size: 0.4em !important;
  font-weight: 850;
  line-height: 1;
}

.price-lockup .price-amount {
  color: #075fc7;
  font-size: 1em !important;
  font-weight: 850;
  line-height: 0.84;
  letter-spacing: -0.055em;
}

.price-lockup .price-decimals {
  margin-left: 0.08em;
  display: inline-block !important;
  position: relative;
  top: -0.57em;
  color: #075fc7;
  font-size: 0.43em !important;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-lockup .price-period {
  margin: 0 0 0.08em 0.48em;
  color: #526d94;
  font-size: 0.29em !important;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.price-lockup .price-tax {
  width: max-content;
  padding: 4px 8px 3px;
  display: inline-flex !important;
  align-items: center;
  border: 1px solid rgba(7, 95, 199, 0.17);
  border-radius: 999px;
  color: #075fc7;
  background: linear-gradient(135deg, #f3f8ff, #eaf3ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-size: 8px !important;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.offer-price .price-lockup {
  font-size: 34px !important;
}

.catalog-price .price-lockup {
  font-size: 35px !important;
}

.product-payment > .price-lockup {
  font-size: 42px !important;
}

.first-payment-note {
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 5px 9px 5px 6px;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(7, 118, 94, 0.2);
  border-radius: 999px;
  color: #164e43;
  background: linear-gradient(135deg, #f2fffb, #e7f8f2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.86), 0 7px 18px rgba(5, 99, 77, 0.08);
  font-family: "Sora WebCar", "DM Sans", Arial, sans-serif;
  font-style: normal;
  line-height: 1;
}

.first-payment-note-mark {
  min-width: 42px;
  padding: 5px 7px 4px;
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0ca27c, #08765e);
  box-shadow: 0 5px 13px rgba(5, 99, 77, 0.2);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.first-payment-note-copy {
  color: #315b54 !important;
  font-size: 9px !important;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.product-payment > .first-payment-note {
  margin-top: 12px;
  padding: 7px 12px 7px 8px;
  gap: 9px;
}

.product-payment > .first-payment-note .first-payment-note-mark {
  min-width: 49px;
  padding: 6px 8px 5px;
  font-size: 9px;
}

.product-payment > .first-payment-note .first-payment-note-copy {
  font-size: 11px !important;
}

@media (max-width: 560px) {
  .offer-price .price-lockup {
    font-size: 33px !important;
  }

  .catalog-price .price-lockup {
    font-size: 34px !important;
  }

  .product-payment > .price-lockup {
    font-size: 38px !important;
  }

  .first-payment-note {
    max-width: 100%;
  }

  .first-payment-note-copy {
    white-space: normal;
  }
}

/* a11y: testo del prezzo per screen reader (l'aria-label non e' ammesso su <strong>) */
.price-lockup-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
