/**
 * Lamyx Design System: responsive.css
 * Layout Overrides, Breakpoints, and Mobile/Tablet Adjustments
 */

/* --- TABLET & MOBILE BREAKPOINTS (768px and below) --- */
@media (max-width: 768px) {
    /* Main Layout Padding overrides */
    main > section {
        padding-top: clamp(2rem, 5vw, 4rem) !important;
        padding-bottom: clamp(2rem, 5vw, 4rem) !important;
    }
    
    main > section:first-of-type {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Standard Layout Grids Stacking */
    .grid:not(.bento-grid) {
        align-items: start !important;
    }
    
    .grid-cols-2:not(.bento-grid), 
    .grid-cols-3:not(.bento-grid), 
    .grid-cols-4:not(.bento-grid) {
        grid-template-columns: 1fr !important;
    }

    /* Bento Grid Mobile Layout */
    .bento-grid, 
    .bento-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    
    /* Arabic Font Alignment adjustments */
    html[lang="ar"] .hero-title, 
    html[lang="ar"] h1, 
    html[lang="ar"] h2, 
    html[lang="ar"] h3 {
        line-height: 1.35 !important;
    }
    
    /* Interactive Simulator Mockup overrides */
    .wa-simulator-container {
        max-width: 100% !important;
        border-radius: var(--radius-md) !important;
    }
    
    /* Pricing Panels Mobile margin */
    .pricing-card-pro {
        margin-top: 50px !important;
    }
}

/* --- LARGE SCREEN LIMITS (1440px and above) --- */
@media (min-width: 1440px) {
    .container {
        max-width: var(--container-max-width) !important;
    }
}
