/**
 * Salem World – Mobile responsive styles
 * Breakpoints: <768px, <480px. Spacing, stacking, button sizes, form layout only.
 */

@media (max-width: 768px) {
    .sw-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .sw-btn,
    .sw-btn-primary,
    .sw-form-input,
    .sw-form-textarea,
    button[type="submit"] {
        min-height: 44px;
        font-size: 1rem;
    }
    .sw-booking-form .sw-form-group {
        margin-bottom: 1rem;
    }
    .sw-booking-form .sw-time-slots .sw-time-slot {
        min-height: 44px;
        padding: 0.5rem 1rem;
    }
    .sw-doctor-header {
        flex-direction: column;
        text-align: center;
    }
    .sw-doctor-meta {
        flex-direction: column;
        align-items: center;
    }
    .sw-myaccount-grid {
        grid-template-columns: 1fr;
    }
    .sw-myaccount-sidebar {
        order: 1;
    }
    .sw-myaccount-content {
        order: 2;
    }
    .sw-card {
        margin-bottom: 1rem;
    }
    .sw-session-price-block {
        padding: 1rem;
    }
    .sw-header nav ul {
        flex-wrap: wrap;
    }
    .sw-header nav li {
        margin: 0.25rem;
    }
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout .col-2 {
        width: 100%;
    }
    .sw-myaccount-container {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .sw-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .sw-btn,
    .sw-btn-primary,
    button[type="submit"] {
        width: 100%;
        display: block;
    }
    .sw-booking-form button[type="submit"] {
        width: 100%;
    }
    .sw-grid,
    .sw-grid-4,
    .sw-doctors-grid {
        grid-template-columns: 1fr;
    }
    .sw-doctor-single .sw-grid {
        grid-template-columns: 1fr;
    }
    .sw-doctor-sidebar {
        position: static;
    }
    .sw-appointment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .sw-country-select {
        width: 100%;
        max-width: 100%;
    }
    .sw-alert,
    .sw-message-popup {
        max-width: 100%;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}
