/* Mobile-specific fixes - complete override */
@media only screen and (max-width: 768px) {
    
    /* Container fixes */
    body {
        padding: 10px !important;
        font-size: 16px !important;
    }
    
    .container {
        padding: 15px !important;
        margin: 0 auto !important;
        width: calc(100% - 20px) !important;
    }
    
    /* Bigger text everywhere */
    h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 20px !important;
        margin-top: 25px !important;
        margin-bottom: 15px !important;
    }
    
    h3 {
        font-size: 18px !important;
    }
    
    p, .subtitle {
        font-size: 16px !important;
    }
    
    /* Fix product cards - vertical centered layout */
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 20px 15px !important;
        position: relative !important;
    }
    
    .product-image {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 12px auto !important;
        display: block !important;
    }
    
    .product-card > div {
        width: 100% !important;
        text-align: center !important;
    }
    
    .product-card h4 {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 6px !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    
    .product-card p {
        font-size: 15px !important;
        color: #666 !important;
        margin-bottom: 8px !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    
    .price {
        font-size: 20px !important;
        font-weight: bold !important;
        color: #333 !important;
    }
    
    /* Selection checkmarks */
    .product-card.selected::before,
    .radio-card.selected::before,
    .checkbox-card.selected::before {
        top: 10px !important;
        right: 10px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 18px !important;
    }
    
    /* Forms - NATIVE DROPDOWN FIX */
    .form-group {
        margin-bottom: 20px !important;
    }
    
    .form-group label {
        font-size: 16px !important;
        font-weight: 500 !important;
        margin-bottom: 8px !important;
        display: block !important;
    }
    
    /* CRITICAL: Remove ALL custom select styling */
    .form-group select,
    select {
        /* Reset everything to browser default */
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        
        /* Basic styling only */
        width: 100% !important;
        padding: 14px !important;
        font-size: 16px !important;
        border: 2px solid #ddd !important;
        border-radius: 8px !important;
        background: white !important;
        color: #333 !important;
        
        /* Remove any background images */
        background-image: none !important;
    }
    
    /* Add a simple arrow using pseudo element instead */
    .form-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 14px center !important;
        background-size: 16px !important;
        padding-right: 40px !important;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100% !important;
        padding: 14px !important;
        font-size: 16px !important;
        border: 2px solid #ddd !important;
        border-radius: 8px !important;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 16px 20px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        width: 100% !important;
    }
    
    /* Status box */
    .status-box {
        font-size: 16px !important;
        padding: 15px !important;
    }
    
    .status-item {
        font-size: 16px !important;
    }
    
    /* Checkbox and radio items */
    .checkbox-item,
    .radio-item {
        font-size: 16px !important;
        padding: 12px !important;
    }
    
    .checkbox-item input,
    .radio-item input {
        width: 18px !important;
        height: 18px !important;
        margin-right: 10px !important;
    }
}