@media (max-width: 1400px) {
    .why-us-cards {
        gap: 0.5rem;
        padding: 0rem;
    }
}

@media (max-width: 1200px) {
    .cat-cards div span,
    .cat-cards div p {
        font-size: 16px;
    }

    .cat-cards div span:before, .cat-cards div span:after {
        width: 32px;
    }

    .titles-home-page span {
        max-width: 190px;
    }
    .shape-1 img {
        width: 43%;
    }

}

@media (max-width: 992px) {
    .shape-2 img {
        width: 35%;
    }
    .titles-home-page {
        font-size: 28px;
    }

    .why-us-cards {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-cards .why-us-card:nth-child(1), .why-us-cards .why-us-card:nth-child(3), .why-us-cards .why-us-card:nth-child(5) {
        transform: translateY(-2rem);
    }

    .why-us-icon {
        width: 32px;
    }

    .why-us-cards .why-us-card:nth-child(2), .why-us-cards .why-us-card:nth-child(4) {
        transform: translateY(1.5rem);
    }

    .cat-cards div span, .cat-cards div p {
        font-size: 12px;
    }

    .about-us-pic-2 {
        bottom: -70px;
    }

    .about-us-pic-2,
    .about-us-pic-1 {
        width: 190px;
    }

    .page-title h4 span {
        padding: 2rem 5.5rem;
    }

    .page-title h4 {
        font-size: 32px;
    }

    .header-style ul {
        display: none !important;
    }

    .header-style {
        flex-direction: row-reverse;
    }

    .flex-header {
        gap: 0.5rem;
        display: flex;
        flex-direction: row-reverse;
    }

    .header-style a.login-btn {
        margin: 0;
    }

    .bottom-nav {
        display: flex;
    }
}

@media (max-width: 768px) {
    .shape-2 img {
        width: 50%;
    }
    .subtitles-home-page {
        font-size: 12px;
    }

    .titles-home-page span {
        max-width: 80px;
    }

    .titles-home-page {
        font-size: 24px;
    }

    .hero-2 {
        bottom: 300px;
        width: 200px;
    }

    .hero-1 {
        top: 0px;
        width: 200px;
    }

    .hero-section h3 {
        font-weight: 600;
        font-size: 67px;
        line-height: 100%;
        text-align: center;

    }

    .hero-section h6 {
        font-weight: 200;
        font-size: 24px;
        letter-spacing: 28px;
        text-align: center;
        padding-left: 2rem;
    }

    .before-scroll {
        width: 160px;
        margin-top: -5rem;
    }

    .hero-back {
        position: absolute;
        bottom: 20%;
        height: 500px;
        left: 0;
    }

    .hero-section .pos-relative {
        height: 84vh;
    }

    .why-us-card h6 {
        margin: 12px 0 4px;
    }

    .category-section {
        flex-direction: column;
    }

    .cat-cards div span, .cat-cards div p {
        font-size: 20px;
    }

    .page-title h4 {
        padding: 5rem;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 18px;
        justify-items: center;
    }

    .footer-menu {
        order: 1;
        text-align: center;
        margin-bottom: 24px;
    }

    footer {
        padding: 1.5rem 1.5rem 0;
    }

    .footer-logo {
        order: 3;
    }

    .footer-social {
        order: 2;
    }

    .about-us-pic-1,
    .about-us-pic-2 {
        width: 221px;
    }
}

@media (max-width: 576px) {
    .shape-1 img {
        width: 230px;
    }
    .shape-2 img {
        width: 250px;
    }

    .hero-back {
        position: absolute;
        bottom: 16%;
        height: 463px;
        left: 0;
    }

    .hero-section .pos-relative {
        height: 520px;
    }

    .titles-home-page {
        gap: 6px;
    }

    .why-us-card {
        padding: 1rem;
    }

    .page-title h4 span {
        font-size: 1.5rem;
        padding: 1rem 2.5rem;

    }

    .about-us-pic-1, .about-us-pic-2 {
        width: 142px;
    }

    .about-us-pic-2 {
        bottom: -83px;
    }

    .header-style a.login-btn span {
        display: none;
    }

    .header-style a.cart-btn {
        border: 0;
    }
}

@media (max-width: 500px) {
    .login-popup {
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media (max-width: 475px) {
    .page-title h4 span {
        font-size: 1.25rem;
    }

    .about-us-pic-2, .about-us-pic-1 {
        width: 130px;
    }
}

@media (max-width: 440px) {
    .cat-cards {
        width: 100%;
    }

    .titles-home-page span {
        max-width: 50px;
    }
}

@media (max-width: 400px) {
    .titles-home-page span {
        max-width: 30px;
    }

    .why-us-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .page-title h4 {
        padding: 4rem;
    }

    .page-title h4 span {
        padding: 1rem 1.5rem;
    }

    .why-us-cards .why-us-card:nth-child(2), .why-us-cards .why-us-card:nth-child(4),
    .why-us-cards .why-us-card:nth-child(1), .why-us-cards .why-us-card:nth-child(3), .why-us-cards .why-us-card:nth-child(5) {
        transform: translateY(0);

    }
}

