/**
 * LaborLawCenter Responsive Styles
 * Matches Magento 2 breakpoints: 374px, 425px, 767px, 991px, 1199px
 */

/* ── Tablet Min (768px+) ──────────────────────────── */
@media only screen and (min-width: 768px) {
    .home-banner h1 {
        font-size: 44px;
    }

    .home-banner p {
        font-size: var(--llc-font-base);
    }

    .home-banner .labor-law-posters {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
        align-items: center;
        min-height: 520px;
    }

    .home-banner .text-wrapper {
        width: 44%;
        max-width: 450px;
        text-align: left;
    }

    .home-banner .image-wrapper {
        width: 53%;
    }

    .home-banner .benefits ul {
        display: flex;
        justify-content: space-between;
    }

    .header-content {
        height: 60px;
    }

    .header-custom-block {
        font-size: var(--llc-font-xs);
    }

    .header-custom-block ul {
        display: flex;
        align-items: center;
    }

    .header-custom-block ul li {
        margin: 0 20px 0 0;
    }

    .header-custom-block ul li:last-child {
        margin: 0;
    }

    .product-info-top {
        flex-direction: row;
    }

    .footer-middle .footer-columns {
        flex-wrap: nowrap;
    }
}

/* ── Tablet Max (< 992px) ─────────────────────────── */
@media only screen and (max-width: 991px) {
    .footer-middle .custom-container {
        flex-direction: column;
    }

    .footer-middle .footer-columns {
        flex-wrap: wrap;
    }

    .footer-middle .footer-col {
        min-width: 45%;
        margin-bottom: 24px;
    }

    .footer-middle-2 .custom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-newsletter-form {
        max-width: 500px;
        margin: 16px auto 0;
    }

    .benefits-bar .custom-container {
        gap: 16px;
    }

    .benefit-item {
        max-width: 160px;
    }
}

/* ── Mobile (< 768px) ─────────────────────────────── */
@media only screen and (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .navigation-bar {
        display: none;
    }

    .mobile-navigation {
        display: block;
    }

    .main-panel-top {
        display: none;
    }

    .header-custom-block i {
        font-size: var(--llc-font-base);
    }

    .header-custom-block span {
        display: none;
    }

    .header-custom-block ul {
        gap: 12px;
    }

    .my-account-link svg {
        width: 24px;
        height: 24px;
    }

    ul.products li.product,
    .products-grid .product-item {
        width: 50%;
    }

    .product-info-top {
        flex-direction: column;
        gap: 24px;
    }

    .product-gallery {
        width: 100%;
    }

    .footer-bottom .custom-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .trust-section .trust-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner h2 {
        font-size: var(--llc-font-lg);
    }
}

/* ── Small Mobile (< 425px) ──────────────────────── */
@media only screen and (max-width: 425px) {
    ul.products li.product,
    .products-grid .product-item {
        width: 100%;
    }

    .home-banner h1 {
        font-size: 24px;
    }

    .header-content {
        height: auto;
        padding: 8px 0;
    }

    .header-custom-block {
        display: none;
    }

    .search-form-container {
        width: calc(100vw - 40px);
        right: -20px;
    }

    .state-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .benefits-bar .custom-container {
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        max-width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 12px;
    }

    .benefit-item .benefit-icon {
        flex-shrink: 0;
    }
}

/* ── Smallest Mobile (< 374px) ────────────────────── */
@media only screen and (max-width: 374px) {
    .custom-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-banner h1 {
        font-size: 22px;
    }
}

/* ── Desktop Large (1200px+) ──────────────────────── */
@media only screen and (min-width: 1200px) {
    .home-banner .labor-law-posters {
        min-height: 600px;
    }

    .navigation > ul > li > a {
        padding: 16px 24px;
    }
}
