/* =========================================================
   LADLI LOCAL STORE
   Responsive / Mobile Styles
   ========================================================= */


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .header-container {
        min-height: 70px;
    }

    .desktop-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 750px;
        margin: auto;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-search {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-location-btn {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-visual {
        min-height: 360px;
    }

    .floating-card-one {
        right: 8%;
    }

    .floating-card-two {
        left: 8%;
    }
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 900px) {

    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;

        width: min(340px, 88%);
        height: 100vh;

        display: block;

        background: white;

        box-shadow: -10px 0 35px rgba(23, 32, 51, 0.15);

        z-index: 2000;

        transition: right 0.3s ease;

        overflow-y: auto;
    }

    .mobile-nav.open {
        right: 0;
    }

    .mobile-nav-header {
        height: 70px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0 20px;

        border-bottom: 1px solid var(--border);

        color: var(--dark);
        font-size: 17px;
        font-weight: 800;
    }

    .mobile-nav-header button {
        width: 38px;
        height: 38px;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #fff2f6;
        color: var(--primary);

        border-radius: 9px;

        font-size: 18px;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;

        padding: 12px;
    }

    .mobile-nav-links a {
        padding: 14px 15px;

        border-radius: 10px;

        color: var(--text);

        font-size: 14px;
        font-weight: 600;

        transition: 0.2s ease;
    }

    .mobile-nav-links a:hover {
        background: #fff2f6;
        color: var(--primary);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .header-container {
        width: 94%;
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;
        border-radius: 9px;
    }

    .brand-name {
        font-size: 13px;
    }

    .brand-tagline {
        font-size: 8px;
        margin-top: 2px;
    }

    .header-actions {
        gap: 5px;
    }

    .location-btn {
        display: none;
    }

    .cart-btn {
        width: 40px;
        min-height: 40px;
    }

    .account-btn {
        padding: 0 10px;
        min-height: 40px;
        font-size: 11px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }


    /* HERO */

    .hero-section {
        padding: 45px 0 50px;
    }

    .hero-container,
    .section-container,
    .footer-container {
        width: 92%;
    }

    .hero-badge {
        padding: 7px 11px;
        margin-bottom: 16px;
        font-size: 10px;
    }

    .hero-content h1 {
        font-size: 38px;
        letter-spacing: -1px;
        line-height: 1.12;
        margin-bottom: 17px;
    }

    .hero-content > p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 22px;
    }


    /* SEARCH */

    .hero-search {
        height: 52px;
        border-radius: 11px;
    }

    .search-icon {
        padding-left: 12px;
        font-size: 16px;
    }

    .hero-search input {
        min-width: 0;
        padding: 0 8px;
        font-size: 11px;
    }

    .hero-search button {
        height: 40px;
        margin-right: 5px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 11px;
    }

    .hero-location-btn {
        margin-top: 11px;
        padding: 10px 13px;
        font-size: 11px;
    }


    /* HERO FEATURES */

    .hero-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;

        margin-top: 25px;

        text-align: left;
    }

    .hero-feature {
        padding: 9px;

        background: rgba(255, 255, 255, 0.8);

        border: 1px solid #f0f1f4;
        border-radius: 10px;
    }


    /* HERO VISUAL */

    .hero-visual {
        min-height: 300px;
    }

    .hero-card {
        width: 250px;
        padding: 28px 20px;
        border-radius: 20px;
    }

    .hero-card-icon {
        width: 75px;
        height: 75px;
        font-size: 35px;
        margin-bottom: 15px;
    }

    .hero-card h3 {
        font-size: 19px;
    }

    .hero-card p {
        font-size: 11px;
        margin-bottom: 16px;
    }

    .delivery-status {
        padding: 7px 9px;
        font-size: 9px;
    }

    .floating-card {
        padding: 9px 11px;
        font-size: 9px;
    }

    .floating-card-one {
        top: 25px;
        right: 0;
    }

    .floating-card-two {
        bottom: 20px;
        left: 0;
    }


    /* SECTION */

    .quick-section,
    .products-preview {
        padding: 55px 0;
    }

    .section-heading {
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .section-heading p {
        font-size: 12px;
    }


    /* QUICK CARDS */

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .quick-card {
        min-height: 105px;

        padding: 14px 10px;

        align-items: flex-start;
        gap: 8px;

        flex-direction: column;
    }

    .quick-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
        border-radius: 9px;
    }

    .quick-card h3 {
        font-size: 12px;
    }

    .quick-card p {
        font-size: 9px;
    }

    .quick-arrow {
        position: absolute;
        top: 14px;
        right: 10px;
        font-size: 15px;
    }


    /* EMPTY PRODUCT */

    .empty-product-message {
        padding: 35px 15px;
    }

    .empty-product-icon {
        width: 62px;
        height: 62px;
        font-size: 27px;
    }

    .empty-product-message h3 {
        font-size: 17px;
    }

    .empty-product-message p {
        font-size: 11px;
    }

    .primary-btn {
        padding: 10px 15px;
        font-size: 11px;
    }


    /* FOOTER */

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .footer-copy {
        text-align: center;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .brand-name {
        font-size: 11px;
    }

    .brand-tagline {
        font-size: 7px;
    }

    .account-btn {
        display: none;
    }

    .hero-content h1 {
        font-size: 33px;
    }

    .hero-search button {
        padding: 0 9px;
    }

    .quick-card {
        min-height: 100px;
    }
}

/* =========================================================
   CATEGORIES / STORE / PRODUCT RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 700px) {

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .category-image {
        height: 125px;
    }

    .category-info {
        padding: 11px;
    }

    .category-info h3 {
        font-size: 12px;
    }

    .category-info p {
        font-size: 9px;
    }

    .category-arrow {
        right: 9px;
        bottom: 10px;
        font-size: 15px;
    }


    .stores-section,
    .categories-section,
    .popular-products-section {
        padding: 55px 0;
    }


    .store-placeholder {
        padding: 35px 18px;
    }


    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .product-placeholder-image {
        height: 135px;
        font-size: 42px;
    }

    .product-placeholder-card h3 {
        padding: 11px 11px 0;
        font-size: 12px;
    }

    .product-placeholder-card p {
        padding: 4px 11px 14px;
        font-size: 9px;
    }
}


@media (max-width: 380px) {

    .category-grid {
        gap: 8px;
    }

    .category-image {
        height: 110px;
    }

    .product-placeholder-image {
        height: 115px;
    }
}

/* =========================================================
   CATEGORIES PAGE RESPONSIVE
   ========================================================= */


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .page-hero {
        padding: 55px 18px 50px;
    }


    .page-hero h1 {
        font-size: 38px;
    }


    .category-location-card {
        padding: 18px;
    }


    .full-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }


    .full-category-image {
        height: 175px;
    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    /* PAGE HERO */

    .page-hero {
        padding: 45px 14px 42px;
    }


    .page-hero-badge {
        padding: 6px 11px;

        font-size: 10px;
    }


    .page-hero h1 {
        margin-top: 14px;

        font-size: 30px;

        letter-spacing: -0.5px;
    }


    .page-hero p {
        margin-top: 10px;

        font-size: 12px;
        line-height: 1.6;
    }



    /* SEARCH */

    .category-search-box {
        margin-top: 20px;

        border-radius: 11px;
    }


    .category-search-box > span {
        width: 38px;

        font-size: 16px;
    }


    .category-search-box input {
        padding: 11px 5px;

        font-size: 11px;
    }



    /* LOCATION */

    .category-location-section {
        padding: 22px 12px 5px;
    }


    .category-location-card {
        display: grid;

        grid-template-columns: 48px 1fr;

        gap: 12px;

        padding: 16px;

        border-radius: 14px;
    }


    .category-location-icon {
        width: 48px;
        height: 48px;

        flex-basis: 48px;

        border-radius: 12px;

        font-size: 22px;
    }


    .category-location-content h3 {
        font-size: 13px;
    }


    .category-location-content p {
        margin-top: 4px;

        font-size: 10px;
    }


    .category-location-card .primary-btn {
        grid-column: 1 / -1;

        width: 100%;

        padding: 12px;
    }



    /* ALL CATEGORIES */

    .all-categories-section {
        padding: 50px 12px 55px;
    }


    .full-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .full-category-image {
        height: 130px;
    }


    .full-category-content {
        gap: 5px;

        padding: 11px;
    }


    .full-category-content h3 {
        font-size: 12px;
    }


    .full-category-content p {
        margin-top: 3px;

        font-size: 9px;
    }


    .full-category-content > span {
        width: 27px;
        height: 27px;

        flex-basis: 27px;

        font-size: 13px;
    }



    /* NO RESULT */

    .category-no-result {
        margin-top: 25px;

        padding: 30px 15px;
    }


    .category-no-result > div {
        font-size: 32px;
    }


    .category-no-result h3 {
        font-size: 15px;
    }


    .category-no-result p {
        font-size: 10px;
    }



    /* BENEFITS */

    .category-benefits-section {
        padding: 55px 12px;
    }


    .category-benefits-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .category-benefit-card {
        padding: 20px 11px;

        border-radius: 13px;
    }


    .category-benefit-icon {
        width: 45px;
        height: 45px;

        margin-bottom: 11px;

        font-size: 21px;
    }


    .category-benefit-card h3 {
        font-size: 11px;
    }


    .category-benefit-card p {
        margin-top: 5px;

        font-size: 9px;
        line-height: 1.5;
    }

}



/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .page-hero h1 {
        font-size: 27px;
    }


    .full-category-grid {
        gap: 8px;
    }


    .full-category-image {
        height: 115px;
    }


    .full-category-content {
        padding: 9px;
    }


    .full-category-content h3 {
        font-size: 11px;
    }


    .full-category-content p {
        font-size: 8px;
    }


    .full-category-content > span {
        width: 24px;
        height: 24px;

        flex-basis: 24px;

        font-size: 12px;
    }


    .category-benefits-grid {
        gap: 8px;
    }

}



/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 320px) {

    .full-category-image {
        height: 105px;
    }


    .category-location-content h3 {
        font-size: 12px;
    }


    .category-location-content p {
        font-size: 9px;
    }

}

/* =========================================================
   LADLI LOCAL STORE
   PRODUCTS PAGE
   RESPONSIVE CSS
   ========================================================= */


/* =========================================================
   LARGE LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .products-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }


    .products-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }


    .products-toolbar-right {
        width: 100%;
    }


    .products-toolbar-right select {
        flex: 1;
    }


    .nearby-priority-banner {
        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {


    /* PRODUCTS HERO */

    .products-page-hero {
        padding: 35px 15px 32px;
    }


    .products-hero-container h1 {
        font-size: 32px;
    }


    .products-hero-container p {
        font-size: 14px;
        line-height: 1.6;
    }


    /* SEARCH */

    .products-search-box {
        min-height: auto;
        padding: 6px;
        gap: 7px;
        border-radius: 12px;
    }


    .products-search-box > span {
        margin-left: 7px;
        font-size: 17px;
    }


    .products-search-box input {
        width: 100%;
        font-size: 13px;
    }


    .products-search-box button {
        padding: 11px 13px;
        font-size: 12px;
    }


    /* LOCATION */

    .products-location-section {
        padding: 18px 15px 0;
    }


    .products-location-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
        gap: 15px;
    }


    .products-location-left {
        width: 100%;
    }


    .products-location-card .primary-btn {
        width: 100%;
    }


    /* MAIN */

    .products-main-section {
        padding: 28px 15px 50px;
    }


    /* TOOLBAR */

    .products-toolbar {
        gap: 15px;
        margin-bottom: 18px;
    }


    .products-toolbar-left h2 {
        font-size: 21px;
    }


    .products-toolbar-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }


    .products-toolbar-right select {
        min-width: 0;
        width: 100%;
        font-size: 11px;
        padding: 10px 7px;
    }


    /* PRIORITY BANNER */

    .nearby-priority-banner {
        position: relative;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 10px;
        padding: 15px;
    }


    .nearby-priority-banner > div:nth-child(2) {
        min-width: 0;
    }


    .nearby-priority-banner p {
        font-size: 11px;
    }


    .priority-status {
        grid-column: 1 / -1;
        width: fit-content;
        margin-left: 0;
        font-size: 10px;
    }


    /* PRODUCT GRID */

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }


    /* PRODUCT IMAGE */

    .product-image-wrapper {
        height: 145px;
    }


    /* PRODUCT INFO */

    .product-info {
        padding: 12px;
    }


    .product-category {
        font-size: 9px;
    }


    .product-info h3 {
        min-height: 38px;
        font-size: 13px;
    }


    .product-size {
        font-size: 10px;
    }


    .product-store {
        padding: 7px;
        margin-bottom: 10px;
        font-size: 9px;
    }


    /* PRODUCT PRICE */

    .product-price {
        font-size: 16px;
    }


    .add-cart-btn {
        padding: 8px 9px;
        font-size: 10px;
    }


    /* NO RESULT */

    .products-no-result {
        padding: 40px 15px;
    }


    /* INFO SECTION */

    .products-info-section {
        padding: 55px 15px;
    }


    .products-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 25px;
    }


    .products-info-card {
        padding: 18px 12px;
    }


    .products-info-card > div {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }


    .products-info-card h3 {
        font-size: 13px;
    }


    .products-info-card p {
        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .products-grid {
        gap: 9px;
    }


    .product-image-wrapper {
        height: 125px;
    }


    .product-info {
        padding: 10px;
    }


    .product-info h3 {
        font-size: 12px;
    }


    .product-price {
        font-size: 15px;
    }


    .add-cart-btn {
        padding: 7px 8px;
        font-size: 9px;
    }


    .products-toolbar-right {
        grid-template-columns: 1fr;
    }

}