#popup-envio-gratis-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  #popup-envio-gratis-overlay.popup-visible {
    opacity: 1;
    visibility: visible;
  }
  #popup-envio-gratis-overlay.popup-visible .popup-envio-gratis-card {
    transform: scale(1) translateY(0);
  }
  .popup-envio-gratis-card {
    position: relative;
    width: 100%;
    max-width: 28rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(17, 49, 58, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
  }
  .popup-envio-gratis-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 9999px;
    color: #6b7280;
    line-height: 0;
    z-index: 10;
    transition: background 0.2s;
  }
  .popup-envio-gratis-close:hover {
    background: #f3f4f6;
  }
  .popup-envio-gratis-close svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  .popup-envio-gratis-body {
    padding: 2rem;
    text-align: center;
  }
  .popup-envio-gratis-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .popup-envio-gratis-icon-circle {
    padding: 0.75rem;
    background: rgba(230, 131, 147, 0.1);
    border-radius: 9999px;
  }
  .popup-envio-gratis-icon-circle svg {
    width: 2rem;
    height: 2rem;
    color: #E68393;
  }
  .popup-envio-gratis-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #11313A;
    margin: 0 0 0.5rem 0;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .popup-envio-gratis-subtitle {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0 0 2rem 0;
    white-space: nowrap;
  }
  .popup-envio-gratis-subtitle strong {
    color: #11313A;
  }
  .popup-envio-gratis-timer-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #E68393;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  .popup-envio-gratis-timer-label svg {
    width: 0.75rem;
    height: 0.75rem;
  }
  .popup-envio-gratis-timer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  .popup-envio-gratis-timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .popup-envio-gratis-timer-digit {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    color: #11313A;
    background: #f9fafb;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #f3f4f6;
  }
  .popup-envio-gratis-timer-unit {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 0.25rem;
    text-transform: uppercase;
  }
  .popup-envio-gratis-timer-sep {
    font-size: 1.875rem;
    font-weight: 700;
    color: #11313A;
    align-self: center;
    margin-bottom: 1.5rem;
  }
  .popup-envio-gratis-cta {
    margin-top: 2rem;
    width: 100%;
    background: #11313A;
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(17, 49, 58, 0.2);
    transition: background 0.2s, transform 0.1s;
  }
  .popup-envio-gratis-cta:hover {
    background: #1a4b58;
  }
  .popup-envio-gratis-cta:active {
    transform: scale(0.98);
  }