html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body.homepage4-body {
    background: #0d0221 !important;
    min-height: 100vh;
    overflow-x: hidden !important;
}

.header-form-section {
    background: linear-gradient(90deg, #1a0a35 0%, #2d1b69 50%, #1a0a35 100%) !important;
    margin: 0 !important;
    padding: 22px 24px !important;
}

.header-form-section select,
.section-box select {
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: #fff !important;
}

.header-form-section label,
.header-form-section .form-label {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

.btn.searchBtn,
button[name="searchBtn"] {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    box-shadow: 0 4px 18px rgba(231, 76, 60, 0.5) !important;
    color: #fff !important;
}

img {
    height: auto;
    max-width: 100%;
}

.listing-card,
.model-card,
.profile-card {
    min-height: 250px;
}

.skip-link {
    background: #e91e8c;
    border-radius: 0 0 6px 0;
    color: #fff;
    font-weight: 600;
    left: 0;
    padding: 8px 16px;
    position: absolute;
    text-decoration: none;
    top: -40px;
    transition: top 0.2s;
    z-index: 99999;
}

.skip-link:focus {
    top: 0;
}

.dgl-age-overlay {
    align-items: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.78);
    display: none;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 999999;
}

.dgl-age-overlay.is-visible {
    display: flex;
}

.dgl-age-overlay.is-hiding {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dgl-age-modal {
    animation: agePopupIn 0.35s ease;
    background: linear-gradient(145deg, #1a0a35, #2d1b69);
    border: 2px solid rgba(192, 57, 43, 0.5);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    max-width: 440px;
    padding: 40px 32px;
    text-align: center;
    width: 90%;
}

.dgl-age-icon-wrap {
    margin-bottom: 18px;
}

.dgl-age-icon {
    align-items: center;
    background: linear-gradient(135deg, #c0392b, #9b59b6);
    border-radius: 50%;
    display: inline-flex;
    height: 76px;
    justify-content: center;
    position: relative;
    width: 76px;
}

.dgl-age-number {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.dgl-age-badge {
    background: #b71c1c;
    border: 2px solid #1a0a35;
    border-radius: 10px;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    position: absolute;
    right: -4px;
    top: -4px;
}

.dgl-age-title {
    color: #f1c40f;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
}

.dgl-age-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.dgl-age-notice {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 16px 18px;
}

.dgl-age-confirm {
    color: #fff;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.dgl-age-confirm strong,
.dgl-age-link {
    color: #e74c3c;
}

.dgl-age-confirm span {
    color: rgba(255, 255, 255, 0.85);
}

.dgl-age-terms {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.dgl-age-link {
    font-weight: 600;
    text-decoration: underline;
}

.dgl-age-btn {
    border-radius: 50px;
    cursor: pointer;
    display: block;
    font-weight: 800;
    width: 100%;
}

.dgl-age-btn--accept {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border: 0;
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.35);
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    padding: 13px;
}

.dgl-age-btn--decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    padding: 10px;
}

.dgl-age-footnote {
    color: rgba(255, 255, 255, 0.25);
    font-size: 10px;
    margin-bottom: 0;
    margin-top: 14px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes agePopupIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 900px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .price-grid,
    .steps-grid,
    .reviews-grid {
        grid-template-columns: 1fr !important;
    }

    .steps-connector {
        display: none !important;
    }

    h1 {
        font-size: 28px !important;
    }

    section a[href^="tel"],
    section a[href*="whatsapp"] {
        box-sizing: border-box !important;
        font-size: 15px !important;
        max-width: 100% !important;
        padding: 12px 18px !important;
    }

    section .dgl-profile-card__actions a.dgl-btn[href^="tel"],
    section .dgl-profile-card__actions a.dgl-btn[href*="whatsapp"] {
        min-width: 0 !important;
        padding: 9px 8px !important;
    }

    section .call-wa-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        width: 100% !important;
    }

    section .call-wa-grid a[href^="tel"],
    section .call-wa-grid a[href*="whatsapp"] {
        min-width: 0 !important;
        padding: 0 !important;
    }

    section .call-wa-grid a button {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}
