/* =========================================================
   RAVI PACKAGING
   RESPONSIVE STYLES
========================================================= */

/* =========================================================
   LARGE TABLETS / SMALL DESKTOP
========================================================= */

@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .main-navigation .nav-link-item {
        padding: 0 10px;
        font-size: 13px;
    }

    .header-search {
        max-width: 400px;
    }

    .hero-content {
        max-width: 560px;
    }

    .hero-title {
        font-size: 48px;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .purpose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    /* HEADER */

    .top-bar {
        display: none;
    }

    .main-header {
        padding: 14px 0;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .header-search {
        max-width: none;
        flex: 1;
    }

    .header-actions {
        gap: 10px;
    }

    .header-action-label {
        display: none;
    }

    .header-action {
        min-width: 38px;
    }

    /* HERO */

    .hero-section {
        min-height: 560px;
    }

    .hero-content {
        max-width: 520px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 16px;
    }

    /* SHOPPING SWITCHER */

    .shopping-method-switcher {
        margin-top: -30px;
    }

    /* CATEGORIES */

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    /* PURPOSE */

    .purpose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* PRODUCTS */

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

    /* WHY SECTION */

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA */

    .business-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    /* FOOTER */

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    /* HEADER */

    .main-header {
        padding: 12px 0;
    }

    .header-main-row {
        gap: 10px;
    }

    .brand-logo {
        font-size: 20px;
        white-space: nowrap;
    }

    .brand-tagline {
        display: none;
    }

    .header-search {
        order: 3;
        flex-basis: 100%;
        width: 100%;
    }

    .main-header-inner {
        flex-wrap: wrap;
    }

    .header-search input {
        height: 42px;
        font-size: 14px;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-action {
        min-width: 34px;
    }

    .wishlist-action {
        display: none;
    }

    /* MOBILE MENU */

    .mobile-navigation {
        width: min(320px, 85vw);
    }

    /* HERO */

    .hero-section {
        min-height: 500px;
        padding: 70px 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-eyebrow {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* SHOPPING SWITCHER */

    .shopping-method-section {
        padding: 45px 0;
    }

    .shopping-method-switcher {
        margin-top: -25px;
        padding: 5px;
        width: 100%;
    }

    .shopping-method-tab {
        flex: 1;
        padding: 12px 8px;
        font-size: 13px;
    }

    /* SECTION HEADINGS */

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 14px;
    }

    /* CATEGORIES */

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .category-card {
        min-height: 180px;
    }

    .category-card-title {
        font-size: 15px;
    }

    /* PURPOSE */

    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* PRODUCTS */

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-title {
        font-size: 14px;
    }

    .product-card-price {
        font-size: 17px;
    }

    /* WHY */

    .why-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-card {
        padding: 25px 20px;
    }

    /* CTA */

    .business-cta {
        padding: 50px 0;
    }

    .business-cta-title {
        font-size: 28px;
    }

    .business-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .business-cta-buttons .btn {
        width: 100%;
    }

    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* HEADER */

    .brand-logo {
        font-size: 18px;
    }

    .header-cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
    }

    /* HERO */

    .hero-section {
        min-height: 460px;
        padding: 55px 0;
    }

    .hero-title {
        font-size: 29px;
    }

    .hero-description {
        font-size: 14px;
    }

    /* GRIDS */

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        min-height: 155px;
    }

    .category-card-title {
        font-size: 13px;
    }

    .product-grid {
        gap: 10px;
    }

    /* PRODUCT CARD */

    .product-card {
        border-radius: 8px;
    }

    .product-card-body {
        padding: 12px;
    }

    .product-card-title {
        font-size: 13px;
    }

    .product-card-rating {
        font-size: 11px;
    }

    .product-card-price {
        font-size: 15px;
    }

    /* SECTION */

    .section-title {
        font-size: 25px;
    }
}

/* =========================================================
   EXTRA SMALL DEVICES
========================================================= */

@media (max-width: 360px) {
    .brand-logo {
        font-size: 16px;
    }

    .mobile-menu-button {
        width: 36px;
        height: 36px;
    }

    .header-action {
        min-width: 30px;
    }

    .hero-title {
        font-size: 26px;
    }

    .category-grid {
        gap: 8px;
    }

    .category-card {
        min-height: 140px;
    }
}
