/* Responsive helpers and styling adjustments */

@media (max-width: 1200px) {
    .brand img {
        width: 150px;
    }

    .main-nav {
        gap: 18px;
        font-size: 0.88rem;
    }

    .header-inner {
        min-height: 70px;
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .brand img {
        width: 130px;
    }

    .main-nav {
        gap: 14px;
        font-size: 0.82rem;
    }

    .header-actions .search-box {
        width: 190px;
    }

    section {
        padding: 56px 0;
    }

    .header-inner {
        min-height: 65px;
    }
}

@media (max-width: 768px) {

    .main-nav,
    .search-box {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .topbar {
        padding: 8px 0;
    }

    .topbar-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: auto;
        gap: 12px;
    }

    .topbar p {
        font-size: 0.75rem;
        text-align: center;
    }

    .countdown {
        gap: 8px;
    }

    .countdown div {
        min-width: 40px;
    }

    .countdown span {
        font-size: 0.8rem;
    }

    .countdown small {
        font-size: 0.5rem;
    }

    .brand img {
        width: 110px;
    }

    .header-inner {
        min-height: 60px;
        gap: 12px;
        padding: 12px 0;
    }

    .header-actions {
        gap: 8px;
    }

    .icon-button {
        width: 40px;
        height: 40px;
    }

    .icon-button svg {
        width: 18px;
        height: 18px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }

    .mobile-drawer {
        padding: 12px 0;
    }

    .mobile-drawer nav {
        flex-direction: column;
        gap: 8px;
    }

    .mobile-drawer nav a {
        padding: 10px 16px;
    }

    section {
        padding: 40px 0;
    }

    .section-heading {
        margin-bottom: 20px;
    }

    .section-heading h2 {
        font-size: 1.6rem;
    }

    .hero-inner,
    .deal-banner-inner,
    .comparison-inner,
    .product-detail-card,
    .checkout-layout,
    .cart-layout,
    .contact-layout,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .category-grid,
    .product-grid,
    .footer-grid,
    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-main .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 20px, 1200px);
    }

    .brand img {
        width: 90px;
    }

    .header-inner {
        min-height: 56px;
    }

    .topbar p {
        font-size: 0.7rem;
    }

    .countdown {
        gap: 6px;
    }

    .countdown div {
        min-width: 36px;
    }

    .countdown span {
        font-size: 0.7rem;
    }

    .countdown small {
        font-size: 0.45rem;
    }

    .topbar-inner,
    .section-heading-inline,
    .shop-toolbar,
    .newsletter-box,
    .header-inner,
    .btn-row,
    .hero-actions,
    .purchase-row {
        flex-direction: column;
        align-items: flex-start;
    }

    section {
        padding: 28px 0;
    }

    .section-heading {
        margin-bottom: 16px;
    }

    .section-heading h2 {
        font-size: 1.4rem;
    }

    .eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }

    .services-grid,
    .category-grid,
    .product-grid,
    .footer-grid,
    .about-stats,
    .form-row.two-col,
    .hero-trust,
    .shop-main .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card,
    .category-card,
    .cart-item,
    .checkout-card,
    .contact-form-wrap,
    .shop-sidebar,
    .comparison-table-wrap,
    .newsletter-box,
    .deal-banner-inner {
        border-radius: 16px;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item img {
        width: 100%;
        height: 200px;
    }

    .icon-button {
        width: 36px;
        height: 36px;
    }

    .icon-button svg {
        width: 16px;
        height: 16px;
    }

    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
    }

    .mobile-menu-toggle {
        width: 32px;
        height: 32px;
    }

    .mobile-menu-toggle span {
        height: 2px;
    }
}

@media (max-width: 380px) {
    .brand img {
        width: 75px;
    }

    .header-inner {
        min-height: 52px;
        gap: 8px;
    }

    .topbar-inner {
        gap: 8px;
    }

    .countdown div {
        min-width: 32px;
    }

    .countdown span {
        font-size: 0.65rem;
    }

    .countdown small {
        font-size: 0.4rem;
    }

    section {
        padding: 20px 0;
    }

    .section-heading h2 {
        font-size: 1.2rem;
    }
}