/* Final accessibility, checkout and responsive refinements. */
:focus-visible {
  outline: 3px solid #00A8E8;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.consumer-bar {
  position: fixed;
  z-index: 990;
  top: 86px;
  left: 0;
  right: 0;
  min-height: 38px;
  background: #E9F7FD;
  border-bottom: 1px solid #C9E7F4;
  color: #24445B;
}

.consumer-bar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 12px;
}

.consumer-bar a {
  color: #07598A;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero {
  padding-top: 166px;
}

.product-hero {
  padding-top: 170px;
}

.product-hero::before {
  top: 124px;
}

.footer-grid {
  grid-template-columns: 1.2fr repeat(4, minmax(0, .8fr));
}

.product-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.product-footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 20px;
}

.product-footer-inner a {
  display: inline;
}

.cart-drawer {
  width: min(500px, 100vw);
}

.cart-items {
  min-height: 100px;
}

.cart-footer {
  max-height: 70vh;
  overflow-y: auto;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 5px;
  color: #24384A;
  font-size: 13px;
  font-weight: 700;
}

.checkout-form input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #C9D9E5;
  border-radius: 7px;
  background: #FFFFFF;
  color: #0D1B2A;
  font: inherit;
}

.checkout-form input:focus {
  border-color: #00A8E8;
  box-shadow: 0 0 0 3px rgba(0, 168, 232, .12);
  outline: 0;
}

.checkout-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(100px, .6fr);
  gap: 10px;
}

.checkout-form .checkout-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border: 1px solid #D9E6EF;
  border-radius: 7px;
  background: #F5FAFD;
  font-weight: 600;
  line-height: 1.35;
}

.checkout-check input {
  width: 17px;
  min-height: 17px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.checkout-secure-note {
  color: #64748B;
  font-size: 12px;
  text-align: center;
}

.checkout-overlay {
  position: fixed;
  z-index: 1500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 18, 31, .72);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.checkout-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.checkout-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(760px, 92vh);
  overflow-y: auto;
  padding: 30px;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 24px 80px rgba(5, 18, 31, .32);
}

.checkout-dialog h2 {
  margin: 2px 34px 6px 0;
  color: #0D1B2A;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 32px;
  line-height: 1.05;
}

.checkout-dialog > p:not(.seccion-sup) {
  margin-bottom: 18px;
  color: #64748B;
  font-size: 14px;
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EEF5F9;
}

.payment-notice {
  position: fixed;
  z-index: 2200;
  top: 138px;
  left: 50%;
  width: min(540px, calc(100vw - 28px));
  padding: 15px 18px;
  transform: translateX(-50%);
  border: 1px solid #CDE1ED;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 16px 52px rgba(13, 27, 42, .22);
  color: #0D1B2A;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.payment-notice.success {
  border-color: #A9DFC1;
  background: #F1FBF5;
  color: #116334;
}

.payment-notice.error {
  border-color: #F0B8B8;
  background: #FFF6F6;
  color: #8D2424;
}

.modal-tech-note {
  margin: -4px 0 16px;
  color: #536A7C;
  font-size: 13px;
  font-weight: 700;
}

.add-cart-btn.is-added {
  background: #168A4B;
}

.share-wrap {
  position: relative;
}

.info-btn,
.share-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
}

.hero-line-item img {
  transition: transform .25s ease, filter .25s ease;
}

.hero-line-item:hover img {
  transform: translateY(-6px) scale(1.025);
  filter: drop-shadow(0 30px 36px rgba(13, 27, 42, .26));
}

.mobile-buy-summary small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 700;
}

.mobile-buy-summary strong {
  color: #BFF0FF;
  font-size: 20px;
}

.legal-main {
  min-height: 72vh;
  padding: 170px 0 80px;
  background: #F7FBFE;
}

.legal-shell {
  max-width: 860px;
}

.legal-kicker {
  margin-bottom: 8px;
  color: #087EB5;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-main h1 {
  margin-bottom: 18px;
  color: #0D1B2A;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1;
}

.legal-lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: #4F667A;
  font-size: 18px;
  line-height: 1.65;
}

.legal-content {
  display: grid;
  gap: 30px;
}

.legal-content section {
  padding-top: 24px;
  border-top: 1px solid #D8E6EF;
}

.legal-content h2 {
  margin-bottom: 8px;
  color: #103E5F;
  font-size: 23px;
}

.legal-content p,
.legal-content li {
  color: #4B6174;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.withdrawal-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
  padding: 24px;
  border: 1px solid #D8E6EF;
  border-radius: 8px;
  background: #FFFFFF;
}

.withdrawal-form label {
  display: grid;
  gap: 6px;
  color: #263E52;
  font-size: 14px;
  font-weight: 700;
}

.withdrawal-form input,
.withdrawal-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #C9D9E5;
  border-radius: 7px;
  font: inherit;
}

.withdrawal-result {
  display: none;
  padding: 16px;
  border: 1px solid #A9DFC1;
  border-radius: 8px;
  background: #F1FBF5;
  color: #155D34;
}

.withdrawal-result.visible {
  display: block;
}

.not-found-main {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
  padding: 170px 24px 80px;
  text-align: center;
}

.not-found-main strong {
  display: block;
  color: #00A8E8;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 94px;
  line-height: .8;
}

.not-found-main h1 {
  margin: 18px 0 8px;
  font-size: 36px;
}

@media (max-width: 900px) {
  .wa-float.is-over-hero {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }

  .hero {
    padding-top: 150px !important;
  }

  .hero-logo {
    display: none !important;
  }

  .hero-visual {
    order: 0 !important;
  }

  .hero-product-line {
    min-height: 320px !important;
    height: 320px !important;
    padding: 26px 6px 48px !important;
    overflow: visible !important;
  }

  .hero-line-item img {
    height: 235px !important;
    max-width: 125px !important;
  }

  .hero-line-main img {
    height: 255px !important;
    max-width: 150px !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 68px;
  }

  .logo-img {
    height: 58px;
  }

  .consumer-bar {
    top: 68px;
  }

  .consumer-bar-inner {
    justify-content: center;
    min-height: 40px;
  }

  .consumer-bar-inner span {
    display: none;
  }

  .nav.open {
    top: 108px;
  }

  .product-hero,
  .legal-main,
  .not-found-main {
    padding-top: 138px;
  }

  .payment-notice {
    top: 118px;
  }

  .product-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-footer-inner nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .cart-drawer {
    left: 0;
    right: auto;
    width: 100%;
    max-width: none;
  }

  .hero {
    padding-top: 132px !important;
  }

  .hero-content {
    text-align: left;
  }

  .hero-ctas,
  .hero-proof {
    justify-content: flex-start !important;
  }

  .hero-product-line {
    min-height: 205px !important;
    height: 205px !important;
    padding: 8px 0 38px !important;
    gap: 2px !important;
  }

  .hero-line-item img {
    height: 142px !important;
    max-width: 78px !important;
  }

  .hero-line-main img {
    height: 162px !important;
    max-width: 94px !important;
  }

  .hero-line-item span {
    min-width: 0 !important;
    width: 100%;
    padding: 6px 3px !important;
    font-size: 9px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .checkout-form-row {
    grid-template-columns: 1fr;
  }

  .checkout-dialog {
    padding: 24px 18px;
  }

  .cart-header,
  .cart-items,
  .cart-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile-buy-bar {
    grid-template-columns: minmax(0, 1fr) 84px 44px !important;
  }

  .mobile-buy-btn {
    min-width: 84px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .mobile-wa-btn {
    width: 44px;
    padding: 0;
  }

  .legal-lead {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
