
      .enhance-info-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        /* Must sit above .header-cart-bar (z-index 999999) */
        z-index: 1000001;
        justify-content: center;
        /* Anchor at top — prevents tall content from being clipped above the fold */
        align-items: flex-start;
        padding: 20px;
        backdrop-filter: blur(4px);
        /* Overlay itself is the scroll container, so tall modals scroll naturally */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
      }
      .enhance-info-modal-overlay.active {
        display: flex;
      }
      .enhance-info-modal-content {
        background: #ffffff;
        border-radius: 16px;
        padding: 30px 28px;
        max-width: 480px;
        width: 100%;
        /* No max-height cap: the overlay scrolls, not the card */
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        position: relative;
        margin: auto 0;
        animation: enhanceInfoSlideIn 0.3s ease-out;
      }
      @keyframes enhanceInfoSlideIn {
        from { opacity: 0; transform: translateY(-20px) scale(0.97); }
        to { opacity: 1; transform: translateY(0) scale(1); }
      }
      .enhance-info-modal-close {
        position: absolute;
        top: 12px;
        right: 12px;
        background: #f5f5f5;
        border: none;
        border-radius: 50%;
        width: 34px;
        height: 34px;
        font-size: 22px;
        cursor: pointer;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 10;
      }
      .enhance-info-modal-close:hover {
        background: #e0e0e0;
        color: #333;
      }
      #enhanceInfoGotIt:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4);
      }
      #enhanceInfoGotIt:active {
        transform: translateY(1px);
        box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
      }
      @media (max-width: 480px) {
        .enhance-info-modal-overlay {
          padding: 12px 12px calc(20px + env(safe-area-inset-bottom));
        }
        .enhance-info-modal-content {
          padding: 24px 20px;
          border-radius: 12px;
        }
      }
    