/*
Theme Name: PowerX Ocean Theme
Theme URI: https://powerxautoparts.com
Author: PowerX Auto Parts Team
Version: 2.5.0
Description: Premium, Mobile-Responsive WordPress Theme for PowerX Auto Parts
*/

/* Reset & Global Box Sizing */
*, *:before, *:after {
    box-sizing: border-box !important;
}

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #0F172A;
    color: #F8FAFC;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, iframe, table, video, svg, form, select, input, textarea {
    max-width: 100% !important;
}

/* Light Quote Form Styles */
.powerx-light-quote-form input:focus,
.powerx-light-quote-form select:focus {
    border-color: #2563EB !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.18) !important;
}

.powerx-light-quote-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.45) !important;
}

/* Mobile Responsiveness & Overflow Fixes */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        position: relative;
    }

    div[style*="margin: -20px"],
    div[style*="margin: 40px -20px"],
    div[style*="margin: -20px -20px 0 -20px"] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    div[style*="min-width: 320px"] {
        min-width: 0 !important;
        width: 100% !important;
    }

    div[style*="flex: 1.1"],
    div[style*="flex: 1"] {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    .powerx-quote-card-wrap {
        max-width: 100% !important;
        margin-top: 20px !important;
    }

    .px-top-utility-bar {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }

    .px-top-utility-bar .trust-strip-items {
        display: none !important;
    }

    .px-main-nav-container {
        padding: 10px 15px !important;
    }

    .px-header-logo img {
        max-height: 32px !important;
    }

    .px-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .px-footer-trust-strip {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }

    h1 {
        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
}
