/* Minimal mobile safety net for inner / checkout pages */
html {
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: clip;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

/* Order email modal — mobile safe centering */
@media (max-width: 768px) {
    #order-email-modal.open {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 20px 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #order-email-modal .box {
        width: 100%;
        max-width: min(420px, 100%);
        max-height: calc(100vh - 40px);
        max-height: calc(100dvh - 40px);
        overflow-y: auto;
        margin: auto;
        padding: 22px 18px;
    }

    #order-email-modal .actions {
        flex-wrap: wrap;
    }

    #order-email-modal .actions button {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto !important;
        min-height: 200px;
        padding: 48px 16px;
    }

    .hero h1,
    .hero-content h1 {
        font-size: 1.85rem !important;
        line-height: 1.25;
        word-break: break-word;
    }

    .hero p,
    .hero-content p {
        font-size: 0.95rem !important;
        padding: 0 4px;
    }

    .section-title,
    .faq-title,
    .process-title {
        font-size: 1.45rem !important;
    }

    .faq-question,
    .faq-answer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .faq-question {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .btn,
    .submit-btn,
    a.btn {
        font-size: 0.95rem;
    }

    footer {
        padding: 14px 12px;
        font-size: 0.8rem;
        word-break: break-word;
    }
}
