/**
 * Responsive CSS
 */

/* Max Width 1200px */
@media (max-width: 1200px) {
    .xtech-hero__title {
        font-size: 3.5rem;
    }
}

/* Max Width 1024px (Tablets Landscape) */
@media (max-width: 1024px) {
    .xtech-hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .xtech-hero__actions {
        justify-content: center;
    }

    .xtech-hero__image {
        order: -1;
    }

    .xtech-hero__image img {
        max-height: 400px;
    }

    .xtech-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .xtech-product-single {
        gap: 2rem;
    }
}

/* Max Width 768px (Tablets Portrait & Large Phones) */
@media (max-width: 768px) {
    .xtech-main {
        padding-top: 4rem;
    }

    .xtech-section {
        padding: 3rem 0;
    }

    .xtech-hero {
        padding: 6rem 0 4rem;
    }

    .xtech-hero__title {
        font-size: 2.5rem;
    }

    .xtech-hero__description {
        font-size: 1.125rem;
    }

    .xtech-categories__grid,
    .xtech-products__grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .xtech-product-single {
        grid-template-columns: 1fr;
    }

    .product_title {
        font-size: 2rem;
    }

    .wc-tabs {
        flex-wrap: wrap;
    }

    .wc-tabs li {
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }

    .xtech-shop-header__title {
        font-size: 2.25rem;
    }

    .xtech-shop-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .xtech-footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .xtech-footer__about {
        padding-right: 0;
    }

    .xtech-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .xtech-whatsapp {
        bottom: 20px;
        right: 20px;
    }

    .xtech-whatsapp__btn {
        width: 50px;
        height: 50px;
    }

    .xtech-whatsapp__btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Max Width 480px (Small Phones) */
@media (max-width: 480px) {
    .xtech-hero__title {
        font-size: 2rem;
    }

    .xtech-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .xtech-btn {
        width: 100%;
    }

    .xtech-categories__grid,
    .xtech-products__grid {
        grid-template-columns: 1fr;
    }

    .xtech-search-overlay__input {
        font-size: 1.5rem;
    }

    .xtech-search-overlay__form {
        padding: 0 1rem;
    }

    .xtech-cart-count {
        top: -5px;
        right: -5px;
    }
}
