@charset "UTF-8";

/*
Theme Name: foneworld Revamp (Baby Domain)
Description: Industrial Tactical Redesign for FoneWorld UK.
*/

/* --- GLOBAL TACTICAL --- */
body {
    font-family: 'Inter', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    letter-spacing: -0.05em !important;
}

.skewed-section {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.skewed-content {
    /* No visual skew, just to balance the section */
}

.funky-border {
    position: relative;
    border: 4px solid #000 !important;
}

/* --- FORM TACTICAL (WPFORMS & CF7) --- */
.wpforms-container,
.wpcf7 {
    margin: 4rem 0 !important;
}

.wpforms-form,
.wpcf7-form {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 3rem !important;
    background: #fff !important;
    border: 8px solid #000 !important;
    box-shadow: 12px 12px 0px #ea1b25 !important;
}

.wpforms-field-label,
.wpcf7-form label {
    display: block !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    letter-spacing: -0.02em !important;
    font-size: 0.85rem !important;
    color: #000 !important;
    margin-bottom: 0.5rem !important;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="number"],
.wpforms-field input[type="url"],
.wpforms-field textarea,
.wpforms-field select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100% !important;
    padding: 1rem !important;
    border: 4px solid #000 !important;
    background: #f8f8f8 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-style: italic !important;
    font-size: 1rem !important;
    color: #000 !important;
    border-radius: 0 !important;
    transition: all 0.2s !important;
}

/* Radio & Checkbox Specific Fixes */
.wpforms-field-radio ul,
.wpforms-field-checkbox ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 1rem 0 !important;
}

.wpforms-field-radio li,
.wpforms-field-checkbox li {
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wpforms-field-radio input,
.wpforms-field-checkbox input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    border: 4px solid #000 !important;
    background: #fff !important;
    cursor: pointer !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    border-radius: 50% !important;
}

.wpforms-field-checkbox input {
    border-radius: 0 !important;
}

.wpforms-field-radio input:checked::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 0.6rem !important;
    height: 0.6rem !important;
    background: #ea1b25 !important;
    border-radius: 50% !important;
}

.wpforms-field-checkbox input:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #ea1b25 !important;
    font-weight: 900 !important;
    font-size: 1rem !important;
}

.wpforms-field-radio label,
.wpforms-field-checkbox label {
    display: inline-block !important;
    margin: 0 !important;
    font-weight: 700 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    font-size: 1.1rem !important;
    color: #000 !important;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    background: #fff !important;
    border-color: #ea1b25 !important;
    outline: none !important;
    box-shadow: 4px 4px 0px #000 !important;
    transform: translate(-2px, -2px) !important;
}

.wpforms-submit-container,
.wpcf7-submit-container,
.wpcf7-form p:last-child {
    text-align: center !important;
    margin-top: 3rem !important;
}

.wpforms-submit,
.wpcf7-submit,
.wpcf7-form input[type="submit"] {
    background: #ea1b25 !important;
    color: #fff !important;
    border: 4px solid #000 !important;
    padding: 1rem 3rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 1.25rem !important;
    cursor: pointer !important;
    transition: all 0.1s !important;
    box-shadow: 4px 4px 0px #000 !important;
    display: inline-block !important;
    width: auto !important;
    border-radius: 0 !important;
}

.wpforms-submit:hover,
.wpcf7-submit:hover,
.wpcf7-form input[type="submit"]:hover {
    background: #000 !important;
    transform: translate(2px, 2px) !important;
    box-shadow: 0px 0px 0px #ea1b25 !important;
    color: #fff !important;
}

.wpforms-field-sublabel {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    font-size: 10px !important;
    color: #666 !important;
    margin-top: 0.25rem !important;
}

/* File Upload Field Styling */
.wpforms-uploader-input-dropzone {
    border: 4px dashed #000 !important;
    background: #fdfdfd !important;
    padding: 2rem !important;
}

.wpforms-uploader-filename {
    font-weight: 800 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
}

/* CF7 Specific Overrides */
.wpcf7-form br {
    display: none !important;
}

.wpcf7-not-valid-tip {
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 0.65rem !important;
    color: #ea1b25 !important;
    margin-top: 0.5rem !important;
}

/* --- MOBILE COMPACTION --- */
@media (max-width: 768px) {

    .wpforms-form,
    .wpcf7-form {
        padding: 1.5rem !important;
        border: 4px solid #000 !important;
        box-shadow: 6px 6px 0px #ea1b25 !important;
        margin: 1rem auto !important;
    }

    .wpforms-container,
    .wpcf7 {
        margin: 2rem 0 !important;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .wpforms-submit,
    .wpcf7-submit,
    .wpcf7-form input[type="submit"] {
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
        width: 100% !important;
        box-shadow: 4px 4px 0px #000 !important;
    }

    .skewed-section {
        clip-path: none !important;
        /* Flatten for mobile space saving */
    }

    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Compact Grid Spacing */
    .gap-12,
    .gap-6,
    .gap-8 {
        gap: 1rem !important;
    }

    .py-20,
    .py-24,
    .py-16 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .mb-12,
    .mb-10,
    .mb-8 {
        margin-bottom: 1rem !important;
    }

    .mt-10,
    .mt-20,
    .mt-24 {
        margin-top: 1rem !important;
    }

    /* Hide decorative arrows on mobile to save space if needed */
    .group-hover\:opacity-100 {
        opacity: 1 !important;
    }

    /* Always show icons if valuable */
}

/* Global Animation Suppression for "Pop Ups" */
.transform,
.hover\:-translate-y-1,
.hover\:-translate-y-2,
.hover\:-translate-y-4 {
    transform: none !important;
}

.group:hover {
    transform: none !important;
}