html {
  scroll-behavior: smooth;
}

body.cart-panel-active {
  overflow: auto !important;
  padding-right: 0 !important;
}

#searchModal .modal-dialog {
  position: absolute !important;
  right: 0 !important;
  margin-right: 0 !important;
}

.desktop-main-navbar-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  background: #ffffff;
  border-bottom: 1px solid #E6E8EC;
  box-shadow: 0 4px 14px rgba(0, 42, 84, 0.06);
}

.desktop-main-navbar-shell + .d-none.d-lg-block {
  margin-top: 76px;
}

.desktop-main-navbar {
  background: #ffffff;
}

.nav-cart-button {
  gap: 6px;
  color: var(--dark-gray);
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  text-decoration: none;
}

.nav-cart-button:hover,
.nav-cart-button:focus {
  color: var(--black);
}

.nav-user-link {
  max-width: 128px;
  min-width: 0;
  text-align: center;
}

.nav-user-name {
  display: block;
  width: 100%;
  max-width: 118px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.nav-user-code {
  display: block;
  max-width: 118px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.nav-cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
}

.nav-cart-icon-wrap i {
  font-size: 24px;
  line-height: 1;
}

.nav-cart-count {
  position: absolute;
  top: -10px;
  right: -8px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary-yellow);
  color: var(--primary-blue);
  border: 2px solid #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 42, 84, 0.18);
}

.nav-cart-label {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  color: inherit;
}

.desktop-main-navbar .nav-cart-button {
  gap: 0;
}

.desktop-main-navbar .nav-cart-icon-wrap {
  width: auto;
  height: auto;
}

.desktop-main-navbar .nav-cart-icon-wrap i {
  font-size: 16px;
}

.cart-side-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw) !important;
  max-width: 100vw;
  background: #ffffff;
  border-left: 1px solid #E6E8EC;
  box-shadow: -16px 0 36px rgba(0, 42, 84, 0.16);
  transform: translateX(100%);
  transition: transform 0.24s ease, visibility 0.24s ease;
}

.cart-side-panel:not(.show) {
  pointer-events: none;
  visibility: hidden;
}

.cart-side-panel.show {
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0);
}

.cart-side-panel__header {
  flex: 0 0 auto;
  border-bottom: 1px solid #E6E8EC;
  padding: 18px 20px;
}

.cart-side-panel__eyebrow {
  color: var(--primary-blue);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cart-side-panel__body {
  flex: 1 1 auto;
  padding: 16px 20px;
  overflow-y: auto;
}

.cart-side-panel__body .row {
  margin-left: 0;
  margin-right: 0;
}

.cart-side-panel__body img {
  border-radius: 8px;
  background: #f6f7f8;
}

.cart-side-panel__footer {
  flex: 0 0 auto;
  border-top: 1px solid #E6E8EC;
  background: #ffffff;
  padding: 18px 20px 20px;
  box-shadow: 0 -8px 24px rgba(0, 42, 84, 0.08);
}

.productos__item:hover .item__btn-carrito {
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
}

.item__btn-carrito {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.my-carousel-progress {
  background: #ccc;
}

.my-carousel-progress-bar {
  background: var(--primary-blue);
  height: 2px;
  transition: width 400ms ease;
  width: 0;
}

.newsletter__form {
  display: flex;
  border-bottom: 1px solid var(--dark-gray);
  align-items: center;
  width: 100%;
}

.newsletter__form input {
  border: none;
  background: transparent;
  width: 100%;
  padding: 10px;
  color: var(--black);
}

.newsletter__form > input:focus {
  outline: none !important;
  border: none;
  background-color: transparent;
  box-shadow: none;
}

.newletter__last-img {
  height: calc(100% + 40px);
  object-fit: cover;
  position: absolute;
  top: -40px;
}

.form--grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.registro__input {
  display: flex;
  flex-direction: column;
}

.registro__input label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
}

.registro__input input {
  border: none;
  background-color: #f3f3f3;
  border-radius: 8px;
  color: var(--black);
  padding: 12px 20px;
}

.registro__input input::placeholder {
  color: #7a828a;
}

.registro__input span {
  font-size: 12px;
  color: #718096;
  margin-top: 4px;
  font-weight: 400;
}

.registro__input select {
  border: none;
  background-color: #f3f3f3;
  border-radius: 8px;
  color: var(--black);
  padding: 12px 20px;
  transition: all 0.6s ease-in-out;
}

.registro__input select:focus {
  outline: none !important;
  background-color: var(--light-gray);
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition: all 0.3s ease-in-out;
}

/***** Track Styles *****/
/***** Chrome, Safari, Opera, and Edge Chromium *****/
input[type='range'].custom-range::-webkit-slider-runnable-track {
  background: var(--light-gray);
  border-radius: 25px;
}

/******** Firefox ********/
input[type='range'].custom-range::-moz-range-track {
  background: var(--light-gray);
}

.shop__select {
  border: none;
  padding: 8px 16px;
  height: fit-content;
}

.shop__search {
  display: flex;
  align-items: center;
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 0 16px;
  height: fit-content;
}

.shop__search input {
  border: none;
  background-color: transparent;
  width: 100%;
  padding: 8px;
  color: var(--black);
}

.contacto__input {
  background-color: var(--light-gray);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  color: var(--black);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  width: 100%;
}

.contacto__input::placeholder {
  color: var(--primary-blue);
}

input {
  transition: all 0.6s ease-in-out;
}

input:focus {
  outline: none !important;
  border: none;
  background-color: var(--light-gray);
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition: all 0.3s ease-in-out;
}

input[type='radio'] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid white;
  background-color: white;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

input[type='radio']:checked {
  border-color: red;
  background-color: white !important;
}

/* Crear el circulito interior cuando está seleccionado */
input[type='radio']:checked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 10px;
  border-radius: 50%;
  background-color: #007bff; /* Color del círculo interior */
}

textarea {
  transition: all 0.6s ease-in-out;
  resize: none !important;
}

textarea:focus {
  outline: none !important;
  border: none;
  background-color: var(--light-gray);
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition: all 0.3s ease-in-out;
}

.btn--faq {
  background-color: transparent;
  border: none;
  padding: 12px;
  color: var(--dark-gray);
}

.btn--faq.active {
  color: var(--black);
}

.btn--faq:hover {
  color: var(--black);
}

.btn--faq:focus {
  color: var(--black);
  outline: none;
}

.input--white {
  background-color: white !important;
  border: 2px solid var(--light-gray) !important;
}

.btn--green {
  background-color: #29a71a !important;
  border: none;
  padding: 12px;
  color: white !important;
}

.btn--green.active {
  color: var(--black);
}

.btn--green:hover {
  color: var(--black);
}

.btn--green:focus {
  color: var(--black);
  outline: none;
}

.btn--black {
  background-color: black !important;
  border: none;
  padding: 12px;
  color: white !important;
}

.btn--black.active {
  color: var(--black) !important;
}

.btn--black:hover {
  background-color: var(--primary-blue) !important;
}

.btn--black:focus {
  color: var(--primary-blue) !important;
  outline: none;
}

.nav-tabs {
  border: none !important;
}
.nav-tabs .nav-link {
  border: none !important;
  position: relative !important;
}

.nav-tabs .nav-link.active {
  border-bottom: 2px solid var(--dark-gray) !important;
  padding-bottom: 10px !important;
}

.nav-tabs .nav-link:not(.active):hover {
  color: #007bff !important;
}

.product-img {
  position: relative;
}

.product-action {
  position: absolute;
  bottom: 0;
  left: 45%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-img:hover .product-action {
  opacity: 1; /* Muestra el botón al hacer hover */
}

.overflow-auto::-webkit-scrollbar {
  height: 8px;
}

.overflow-auto::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.overflow-auto::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.overflow-auto::-webkit-scrollbar-button {
  display: none;
}

.overflow-auto {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

.accordion-button {
  font-weight: bold;
  border: none !important;
  box-shadow: none !important;
  color: var(--dark-gray) !important;
}

.accordion-button:not(.collapsed) {
  background-color: white !important;
  /* Cambiar color de fondo */
  color: var(--dark-gray) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Transiciones suaves */
  border: none;
}

.accordion-item {
  margin: 20px 0px !important;
  border: 1px solid #ccc !important;
  border-left: none !important; /* Sin borde en los lados */
  border-right: none !important;
  border-top: none !important;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(360deg);
  background-image: url('../img/minus_2.png') !important;
  color: var(--dark-gray);
  background-color: white !important;
  background-size: auto;
  background-position: center;
}

.accordion-button.collapsed::after {
  background-image: url('../img/plus_2.png') !important;
  background-size: auto;
  background-position: center;
}

.navbar-sticky {
  position: sticky !important;
  top: 0;
  z-index: 1030;
  background-color: #fff; /* importante si hay contenido debajo */
}

.accordion-collapse {
  color: var(--dark-gray) !important;
}

.modal-dialog.modal-dialog-centered.modal-lg {
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0;
}

.banner--newsletter {
  background-image: url("../img/home/newsBanner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.banner__products {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.banner__bg {
  background-image: url("../img/home/banner_interactivo/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner__item {
  width: 18.75%;
  padding: 24px 12px;
  position: relative;
  box-sizing: border-box;
  align-content: end;
}

.banner__item:nth-child(2) {
  width: 25%;
}

.banner__item:nth-child(3) {
  width: 17%;
}

.banner__item img {
  transition: transform 0.3s ease-in-out;
}

.banner__item img:hover,
.banner__item:hover img{
  transform: translateY(-12px);
  transition: transform 0.3s ease-in-out;
}

.banner__card {
  background-color: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  opacity: 0;
  position: absolute;
  bottom: 32px;
  width: 360px;
}

.banner__card--mobile {
  background-color: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  position: absolute;
  bottom: -200px;
  width: 280px;
}

/* Agrega el pico a la izquierda */
.banner__card.card-right::before {
  content: "";
  position: absolute;
  left: -8px; /* Desplaza el pico hacia la izquierda fuera del contenedor */
  bottom: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid white; /* El color del fondo del card */
}

.banner__item:hover .banner__card.card-right,
.banner__card.card-right:hover {
  opacity: 1;
  transition: all 0.3s ease-in-out;
  left: 50%;
  z-index: 10;
}

.banner__item:hover .banner__card.card-left,
.banner__card.card-left:hover {
  opacity: 1;
  transition: all 0.3s ease-in-out;
  right: 50%;
  z-index: 10;
}

.card-left::before {
  content: "";
  position: absolute;
  /*left: -8px; !* Desplaza el pico hacia la izquierda fuera del contenedor *!*/
  bottom: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  /*border-right: 8px solid white; !* El color del fondo del card *!*/

  left: auto !important; /* Cambia la posición del pico */
  right: -8px !important; /* Desplaza el pico hacia la derecha fuera del contenedor */
  border-right: none !important; /* Elimina el borde derecho */
  border-left: 8px solid white !important; /* Agrega el borde izquierdo */
}

.input--quantity {
  display: flex;
  align-items: center;
}

.input--quantity input {
  text-align: center;
  margin: 0 4px;
}

#btnFiltrosDesk.active i {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

#btnFiltrosDesk:not(.active) i {
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 1200px) {
  .banner__products {
    flex-wrap: wrap;
    justify-content: center;
  }
  .banner__item {
    width: 33.33% !important;
  }
}

@media (max-width: 767px) {
  .form--grid {
    grid-template-columns: 1fr;
  }

  .banner__products {
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-sidebar {
    display: none;
  }

  .filter-sidebar.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: white;
    z-index: 10000;
    padding: 56px 24px !important;
  }

  .filter-sidebar .custom-control {
    justify-content: start !important;
  }

  .filter-sidebar .custom-control-label {
    margin-left: 24px !important;
  }

  .banner__item {
    width: 25% !important;
    padding: 4px !important;
    text-align: center;
  }

  .banner__item:nth-child(1) img {
    transform: translateY(-24px);
  }

  .banner__item:nth-child(3) img {
    transform: translateY(-12px);
  }

  .banner__item:nth-child(4) img {
    transform: translateY(0px);
  }

  .banner__item:nth-child(5) img {
    transform: translateY(-12px);
  }

  .banner__bg {
    background-position: top;
  }

  .banner__card {
    display: none; /* Oculta el card por defecto */
  }

  .banner__card.active,
  .banner__card.active--left {
    display: block; /* Muestra el card activo */
    width: 300px;
    right: -50%;
  }

  #searchModal .modal-dialog {
    right: 50% !important;
  }
}

@media (max-width: 575px) {
  /*.banner__item {*/
  /*  width: 25% !important;*/
  /*  padding: 4px !important;*/
  /*  text-align: center;*/
  /*}*/

  /*.banner__item:nth-child(5) {*/
  /*  display: none; !* Oculta el quinto elemento en pantallas pequeñas *!*/
  /*}*/

  .banner__card {
    width: 100%;
    left: 0;
    right: 0;
    bottom: 40px;
    margin: auto;
  }

  .banner__card.active--left::before {
    content: "";
    position: absolute;
    top: -8px; /* Posiciona el pico arriba */
    left: 20px; /* Ajusta horizontalmente según necesites */
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white; /* Apunta hacia abajo con el color de fondo */
  }

  .banner__card--mobile {
    bottom: -100px;
  }
}

@media (max-width: 991px) {
  .newletter__last-img {
    position: relative;
    height: auto;
    top: 0;
    width: 100%;
    margin: 0 auto;
  }

  #searchModal > div {
    min-width: 90vw;
    position: relative !important;
    right: 50% !important;
    transform: translateX(50%) !important;
  }

  .cart-side-panel {
    width: 92vw !important;
  }

  .nav-cart-label {
    font-size: 13px;
  }

}

.add-to-cart-btn {
  position: relative;
  transition: all 0.3s ease;
  min-width: 40px;
  min-height: 40px;
  background: white;
  border: 1px solid #e6e6e6;
}

.add-to-cart-btn:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.add-to-cart-btn i {
  transition: all 0.3s ease;
}

.add-to-cart-btn.success {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.short-desc {
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  border: 1px solid #0f0f0f;
  padding: 4px 8px;
  text-align: center;
  font-size: 12px;
  background-color: #FFF;
  opacity: 0;
  z-index: 1;
}

.product-card:hover .short-desc {
  opacity: 1;
}

.detalle__social a,
.detalle__social button {
  /*box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;*/
  border-radius: 50%;
  border: 1px solid var(--dark-gray);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  margin: 4px;
}

.detalle__social a:hover,
.detalle__social button:hover {
  background-color: var(--primary-blue);
  color: white !important;
  transition: background-color 0.3s ease-in-out;
}

.social--links {
  height: 0;
  overflow: hidden;
}

.social--links.active {
  height: auto;
  transition: height 0.3s ease-in-out;
}

#accordionExample * {
  color: black !important;
}

.section__contamos {
  background-image: url("../img/about/contamos.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

@keyframes checkmark {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.check-icon-animation {
  animation: checkmark 0.4s ease-in-out forwards;
}

/* Estilos para iconos de redes sociales en navbar */
.social-icon {
  color: #6c757d;
  transition: all 0.3s ease-in-out;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon:hover .fa-facebook-f {
  color: #1877f2;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 2px;
}

.social-icon:hover .fa-instagram {
  color: #e4405f;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Captación de clientes */
body.lead-capture-open {
  overflow: hidden;
}

.lead-capture {
  position: fixed;
  inset: 0;
  z-index: 1085;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.lead-capture.is-open {
  visibility: visible;
  opacity: 1;
}

.lead-capture__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 29, 52, 0.68);
  backdrop-filter: blur(3px);
}

.lead-capture__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 0.9fr) minmax(360px, 1.1fr);
  width: min(860px, 100%);
  min-height: 540px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(5, 29, 55, 0.28);
  transform: translateY(14px) scale(0.985);
  transition: transform 220ms ease;
}

.lead-capture.is-open .lead-capture__dialog {
  transform: translateY(0) scale(1);
}

.lead-capture__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #dbe4ec;
  border-radius: 50%;
  color: #17324d;
  background: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.lead-capture__close:hover {
  color: #fff;
  background: #0a315a;
  transform: rotate(4deg);
}

.lead-capture__visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
  background: #e9f0f6 url('../img/home/newsBanner.png') 16% center / auto 100% no-repeat;
}

.lead-capture__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 39, 72, 0.04) 35%, rgba(3, 39, 72, 0.78) 100%);
}

.lead-capture__visual-copy {
  position: absolute;
  z-index: 1;
  left: 34px;
  right: 34px;
  bottom: 34px;
  color: #fff;
}

.lead-capture__visual-copy span,
.lead-capture__visual-copy strong {
  display: block;
}

.lead-capture__visual-copy span {
  margin-bottom: 4px;
  font: 500 13px/1.4 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-capture__visual-copy strong {
  font: 700 32px/1.08 'Poppins', sans-serif;
}

.lead-capture__content {
  display: flex;
  align-items: center;
  padding: 64px 54px 48px;
}

.lead-capture__form-state,
.lead-capture__success {
  width: 100%;
}

.lead-capture__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #1874c8;
  font: 700 12px/1.4 'Inter', sans-serif;
  letter-spacing: 0.11em;
}

.lead-capture h2 {
  margin: 0 0 14px;
  color: #082f57;
  font: 700 34px/1.15 'Poppins', sans-serif;
  letter-spacing: -0.025em;
}

.lead-capture__content p {
  margin: 0 0 24px;
  color: #536477;
  font: 400 15px/1.65 'Inter', sans-serif;
}

.lead-capture form > label:first-child {
  display: block;
  margin-bottom: 7px;
  color: #17324d;
  font: 600 13px/1.4 'Inter', sans-serif;
}

.lead-capture__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #cad6e1;
  border-radius: 10px;
  background: #fff;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.lead-capture__input-wrap:focus-within {
  border-color: #1874c8;
  box-shadow: 0 0 0 3px rgba(24, 116, 200, 0.13);
}

.lead-capture__input-wrap i {
  color: #718296;
}

.lead-capture__input-wrap input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: #17324d;
  background: transparent;
  font: 400 15px/1 'Inter', sans-serif;
}

.lead-capture__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.lead-capture__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin: 16px 0 0;
  color: #667789;
  font: 400 11px/1.45 'Inter', sans-serif;
  cursor: pointer;
}

.lead-capture__consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #0a315a;
}

.lead-capture__consent a {
  color: #0a5da7;
}

.lead-capture__message {
  min-height: 18px;
  margin: 10px 0 0 !important;
  font-size: 12px !important;
}

.lead-capture__message.is-error {
  color: #b3261e;
}

.lead-capture__submit,
.lead-capture__shop-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #082f57;
  font: 700 14px/1.2 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.lead-capture__submit:hover,
.lead-capture__shop-link:hover {
  color: #fff;
  background: #0d69b8;
  box-shadow: 0 8px 20px rgba(13, 105, 184, 0.2);
  transform: translateY(-1px);
}

.lead-capture__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.lead-capture__form-state > small {
  display: block;
  margin-top: 13px;
  color: #8895a3;
  font: 400 10px/1.45 'Inter', sans-serif;
  text-align: center;
}

.lead-capture__success {
  text-align: center;
}

.lead-capture__success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: #168049;
  font-size: 22px;
}

.lead-capture__coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 14px;
  padding: 14px 14px 14px 18px;
  border: 1px dashed #6d8ba7;
  border-radius: 12px;
  background: #f3f8fc;
}

.lead-capture__coupon strong {
  color: #082f57;
  font: 700 19px/1.2 'Inter', sans-serif;
  letter-spacing: 0.08em;
}

.lead-capture__coupon button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  color: #0a5da7;
  background: #e2effa;
  font: 600 12px/1 'Inter', sans-serif;
  cursor: pointer;
}

.lead-capture__expiry {
  margin-bottom: 18px !important;
  font-size: 11px !important;
}

.lead-capture-inline-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid #082f57;
  border-radius: 999px;
  color: #082f57;
  background: transparent;
  font: 600 14px/1.2 'Inter', sans-serif;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.lead-capture-inline-trigger[hidden] {
  display: none;
}

.lead-capture-inline-trigger:hover {
  color: #fff;
  background: #082f57;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .lead-capture {
    align-items: end;
    padding: 12px;
  }

  .lead-capture__dialog {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    max-height: calc(100vh - 24px);
    border-radius: 20px;
  }

  .lead-capture__visual {
    min-height: 150px;
    border-radius: 20px 20px 0 0;
    background-position: 12% 46%;
    background-size: auto 190%;
  }

  .lead-capture__visual-copy {
    left: 24px;
    bottom: 20px;
  }

  .lead-capture__visual-copy strong {
    font-size: 24px;
  }

  .lead-capture__content {
    padding: 30px 24px 26px;
  }

  .lead-capture h2 {
    padding-right: 18px;
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-capture,
  .lead-capture__dialog,
  .lead-capture__close,
  .lead-capture__submit,
  .lead-capture__shop-link,
  .lead-capture-inline-trigger {
    transition: none;
  }
}
