/* ============================================================
   glastuerwelt.de - Sondermass: Eingabefenster + Lieferzeit
   themes/classicc/assets/css/gw-produkt.css

   Portiert aus dem Konzept von glastuershop24, Marken- und
   Textbezuege entfernt. Schriftgroessen >= 12 px (SEO-Audit).
   ============================================================ */

/* ---------- 0. Kein Zoom auf dem Produktbild ----------
   Sicherheitsnetz zu gw-produkt.js: falls das Theme den Zoom
   doch aufbaut, bleibt er unsichtbar und faengt keine Maus ab. */
.zoomContainer,
.zoomWindowContainer,
.zoomLens,
.zoomWindow,
.easyzoom-flyout {
    display: none !important;
    pointer-events: none !important;
}
body#product .product-cover img,
body#product .tvproduct-image-slider img { cursor: default; }

/* ---------- 1. Customization-Block im Modal ---------- */
body#product .product-customization.tv-pc-hidden { display: none !important; }
body#product .attribute2.tv-pc-in-modal {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}
body.tv-pc-modal-open { overflow: hidden !important; }

/* ---------- 2. Auslöser-Button unter den Attributen ---------- */
.tv-pc-open-trigger {
    display: none;
    width: 100%;
    margin: 10px 0 12px;
    padding: 11px 14px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    background: #f5f8ff;
    color: #0c1c3c;
    box-shadow: 0 6px 18px rgba(17, 24, 39, .07);
    cursor: pointer;
    text-align: left;
}
.tv-pc-open-trigger.is-visible {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.tv-pc-open-trigger span {
    display: block;
    color: #0c1c3c;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}
.tv-pc-open-trigger small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}
.tv-pc-open-trigger:after {
    content: "\203A";
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}
.tv-pc-open-trigger:hover { background: #eaf0ff; }

/* ---------- 3. Modal ---------- */
.tv-pc-modal {
    position: fixed;
    inset: 0;
    z-index: 100250;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.tv-pc-modal.is-open { display: flex !important; }
.tv-pc-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(3px);
}
.tv-pc-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 28px));
    max-height: calc(100dvh - 36px);
    overflow: auto;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .35);
    animation: gwPcModalIn .22s ease-out;
}
.tv-pc-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #0c1c3c;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 32px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .24);
}
.tv-pc-modal__body { padding: 14px; }
.tv-pc-modal__body .product-customization .pc-card {
    margin: 0 !important;
    box-shadow: none !important;
}
.tv-pc-modal__note {
    margin: 16px 52px 10px 16px;
    padding: 12px 14px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    background: #f5f8ff;
    color: #0c1c3c;
}
.tv-pc-modal__note span,
.tv-pc-modal__note strong { display: block; }
.tv-pc-modal__note strong {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}
.tv-pc-modal__note span {
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
}

@keyframes gwPcModalIn {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- 4. Telefon ---------- */
@media (max-width: 767px) {
    .tv-pc-modal { align-items: center; padding: 14px; }
    .tv-pc-modal__dialog {
        width: min(360px, calc(100vw - 28px));
        max-height: calc(100dvh - 28px);
        border-radius: 8px;
    }
    .tv-pc-modal__note { margin: 16px 48px 10px 12px; padding: 11px 12px; }
    .tv-pc-open-trigger { margin: 10px 0 12px; padding: 11px 12px; }
    .tv-pc-open-trigger span { font-size: 13px; }
}
