/* Mobile storefront: familiar, image-led shopping rhythm with Banta's brand colors. */
.mobile-categories-title { display: none; }

@media (max-width: 767.98px) {
    body.home-body { background: #f1f2f4; }

    body.home-body .site-header {
        border-bottom-color: #e9ebef;
        box-shadow: 0 2px 10px rgba(20, 30, 48, .055);
    }
    body.home-body .site-header > .custom-container {
        width: 100% !important;
        padding-inline: 12px;
    }
    body.home-body .site-header .header-up {
        gap: 7px 10px;
        padding-block: 8px 10px;
    }
    body.home-body .site-header .header-logo {
        height: 40px;
        max-width: 132px;
    }
    body.home-body .site-header .header-up > .search-container {
        height: 44px;
        border-radius: 9px;
        background: #f3f4f6;
        box-shadow: none;
    }
    body.home-body .site-header .header-up-left-content { gap: 5px; }
    body.home-body .site-header .header-up-left-content .header-button,
    body.home-body .site-header #open-menu {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        border-color: #e9ebef;
        border-radius: 10px;
        box-shadow: none !important;
    }

    body.home-body .home-landing {
        background: #f1f2f4;
        padding-bottom: 12px;
    }
    body.home-body .home-landing > div[id] {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-block: 0 !important;
        padding-inline: 0;
    }
    body.home-body .home-landing .front-widget {
        width: 100% !important;
        max-width: none;
        margin: 0 !important;
        padding: 16px 12px;
        overflow: hidden;
        border: 0;
        border-bottom: 7px solid #f1f2f4;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
    }
    body.home-body .home-landing .front-widget > .custom-container,
    body.home-body .home-landing .front-widget > div {
        width: 100% !important;
        max-width: none;
        margin-inline: auto;
    }
    body.home-body .home-landing .front-widget--heading {
        padding-block: 14px 4px;
        border-bottom: 0;
    }
    body.home-body .home-landing .front-widget--heading :where(h1,h2,h3,h4,h5,h6) {
        margin: 0;
        font-size: 16px !important;
        text-align: start !important;
    }
    body.home-body .home-landing .section-product-head,
    body.home-body .home-landing .section-blog-head {
        min-height: 0;
        gap: 8px;
        margin: 0 0 14px !important;
    }
    body.home-body .home-landing .section-product-head .title,
    body.home-body .home-landing .section-blog-head .title {
        font-size: 16px !important;
        line-height: 1.5;
    }
    body.home-body .home-landing .section-title-mark { height: 18px; }
    body.home-body .home-landing .btn-section-more:not(.mobile) {
        min-height: 40px;
        padding-inline: 5px;
        border: 0;
        background: transparent;
        box-shadow: none;
        color: #b7153d;
        font-size: 12px;
        white-space: nowrap;
    }
    body.home-body .home-landing .btn-section-more.mobile { display: none !important; }

    body.home-body .home-landing .front-widget--stories {
        padding-block: 12px 8px;
    }
    body.home-body .home-landing .small-stories-swiper { overflow: visible; }
    body.home-body .home-landing .small-stories-swiper .custom-swiper-button-prev,
    body.home-body .home-landing .small-stories-swiper .custom-swiper-button-next { display: none; }

    body.home-body .home-landing .front-widget--image-slider,
    body.home-body .home-landing .front-widget--image-slider-classic {
        padding: 12px 12px 18px;
    }
    body.home-body .home-landing .image-slider-widget,
    body.home-body .home-landing #mainSwiper {
        border: 0;
        border-radius: 16px;
        box-shadow: 0 8px 22px rgba(18, 31, 52, .1);
    }
    body.home-body .home-landing .image-slider-widget .banner-image,
    body.home-body .home-landing #mainSwiper .slide-item img {
        width: 100%;
        height: clamp(90px, 29vw, 148px);
        object-fit: cover;
        object-position: center;
        border-radius: 16px !important;
    }
    body.home-body .home-landing .image-slider-widget .swiper-pagination,
    body.home-body .home-landing #mainSwiper .swiper-pagination { bottom: 8px; }
    body.home-body .home-landing .image-slider-widget .swiper-pagination-bullet,
    body.home-body .home-landing #mainSwiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        background: #fff;
        opacity: .72;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    }
    body.home-body .home-landing .image-slider-widget .swiper-pagination-bullet-active {
        width: 18px;
        border-radius: 99px;
        background: #fff;
        opacity: 1;
    }

    body.home-body .home-landing .front-widget--banner-location .row {
        margin: 0 -4px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    body.home-body .home-landing .front-widget--banner-location .row > [class*="col-"] {
        padding-inline: 4px;
        margin-block: 4px !important;
    }
    body.home-body .home-landing .front-widget--banner-location img {
        max-width: 100%;
        border-radius: 10px;
    }
    body.home-body .home-landing .front-widget--banner-shortcuts {
        padding: 14px 0 16px;
    }
    body.home-body .home-landing .front-widget--banner-shortcuts .row {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, auto);
        grid-auto-columns: clamp(86px, 24vw, 100px);
        gap: 10px;
        margin: 0;
        padding: 0 12px 6px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    body.home-body .home-landing .front-widget--banner-shortcuts .row::-webkit-scrollbar { display: none; }
    body.home-body .home-landing .front-widget--banner-shortcuts .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
        scroll-snap-align: start;
    }
    body.home-body .home-landing .front-widget--banner-shortcuts .banner-item {
        height: 100%;
        padding: 3px;
        border: 1px solid #e9edf2;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 3px 9px rgba(23, 35, 55, .045);
    }
    body.home-body .home-landing .front-widget--banner-shortcuts .banner-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 11px;
    }

    body.home-body .home-landing .front-widget--categories-grid {
        padding: 16px 12px 18px;
    }
    body.home-body .home-landing .mobile-categories-title {
        display: block;
        margin: 0 0 14px;
        color: #232936;
        font-size: 16px;
        font-weight: 750;
        line-height: 1.5;
    }
    body.home-body .home-landing .front-widget--categories-grid .featured-categories-track {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px 4px;
        margin: 0;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }
    body.home-body .home-landing .featured-categories-track > [class*="col-"] {
        width: auto;
        max-width: none;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
    }
    body.home-body .home-landing .front-widget--categories-grid .featured-category-item {
        width: 100%;
        min-height: 102px;
        height: auto;
        justify-content: flex-start;
        gap: 8px;
        padding: 4px 2px;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent;
        box-shadow: none;
    }
    body.home-body .home-landing .front-widget--categories-grid .featured-category-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        background: #f5f6f8;
    }
    body.home-body .home-landing .front-widget--categories-grid .featured-category-title {
        min-height: 32px;
        flex-basis: auto;
        font-size: 11px;
        font-weight: 650;
    }

    body.home-body .home-landing .front-widget--amazing-products {
        padding: 0 0 16px;
        background: #e71e4d !important;
    }
    body.home-body .home-landing .front-widget--amazing-products > .custom-container { padding-inline: 0; }
    body.home-body .home-landing .front-widget--amazing-products .section-product-head {
        min-height: 76px;
        margin: 0 0 12px !important;
        padding: 12px;
        border-radius: 0;
        background: transparent;
    }
    body.home-body .home-landing .front-widget--amazing-products .section-product-head .icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 20px;
    }
    body.home-body .home-landing .front-widget--amazing-products .amazing-subtitle { font-size: 10px; }
    body.home-body .home-landing .front-widget--amazing-products .amazing-head-actions { gap: 0; }
    body.home-body .home-landing .front-widget--amazing-products .amazing-countdown,
    body.home-body .home-landing .front-widget--amazing-products .section-product-head .btn-section-more { display: none; }
    body.home-body .home-landing .front-widget--amazing-products .featured-products-swiper {
        padding-inline: 12px;
        overflow: visible;
    }
    body.home-body .home-landing .front-widget--amazing-products .v-product-item {
        padding: 0 8px 10px;
        border: 0;
        border-radius: 10px;
        box-shadow: none;
    }
    body.home-body .home-landing .front-widget--amazing-products .v-product-item-image > a {
        height: 135px;
        max-height: 135px;
        padding: 2px;
        border-bottom: 0;
        aspect-ratio: auto;
    }
    body.home-body .home-landing .front-widget--amazing-products .v-product-item-image img { width: min(112px, calc(100% - 20px)) !important; height: 112px !important; max-height: 112px !important; margin-inline: auto; padding: 4px !important; object-fit: contain !important; }
    body.home-body .home-landing .front-widget--amazing-products .v-product-item-content {
        min-height: 0;
        padding: 8px 2px 0;
        gap: 5px;
    }
    body.home-body .home-landing .front-widget--amazing-products .v-product-item-content .title { font-size: 11px !important; }

    body.home-body .home-landing :is(.front-widget--featured-products,.front-widget--products-carousel) .swiper {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0;
        overflow: hidden;
    }
    body.home-body .home-landing :is(.front-widget--featured-products,.front-widget--products-carousel) .swiper-slide {
        box-sizing: border-box;
        flex: 0 0 calc((100% - 8px) / 2);
        width: calc((100% - 8px) / 2) !important;
        min-width: 0 !important;
        height: auto;
    }
    body.home-body .home-landing .front-widget--products-carousel {
        padding: 16px 12px 18px;
    }
    body.home-body .home-landing .front-widget--products-carousel .v-product-item,
    body.home-body .home-landing .front-widget--featured-products:not(.front-widget--amazing-products) .v-product-item {
        min-height: 0;
        padding: 8px;
        border: 1px solid #ebecef;
        border-radius: 10px;
        box-shadow: none;
    }
    body.home-body .home-landing :is(.front-widget--products-carousel,.front-widget--featured-products) .v-product-item-image > a {
        height: 135px;
        max-height: 135px;
        border-bottom: 1px solid #f0f0f1;
    }
    body.home-body .home-landing :is(.front-widget--products-carousel,.front-widget--featured-products) .v-product-item-image {
        padding-bottom: 0;
        border-bottom: 0;
    }
    body.home-body .home-landing :is(.front-widget--products-carousel,.front-widget--featured-products) .v-product-item-content {
        min-height: 0;
        padding-top: 8px;
        gap: 5px;
    }
    body.home-body .home-landing :is(.front-widget--products-carousel,.front-widget--featured-products) .v-product-item-content .title {
        min-height: 39px !important;
        max-height: 39px;
        font-size: 11px !important;
        line-height: 1.75;
    }
    body.home-body .home-landing :is(.front-widget--products-carousel,.front-widget--featured-products) .v-product-item-footer { display: none !important; }
    body.home-body .home-landing :is(.front-widget--products-carousel,.front-widget--featured-products) .product-price-container { margin-top: auto; }

    body.home-body .home-landing .front-widget--best-selling-products .best-selling-products-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    body.home-body .home-landing .front-widget--best-selling-products .product-item-numeric {
        min-height: 82px;
        padding: 8px 0;
        border: 0;
        border-bottom: 1px solid #eceef1;
        border-radius: 0;
        box-shadow: none;
    }
    body.home-body .home-landing .front-widget--best-selling-products .product-item-numeric > a:first-child {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
        background: transparent;
    }
    body.home-body .home-landing .front-widget--best-selling-products .product-item-numeric img { width: 60px; height: 60px; }
    body.home-body .home-landing .front-widget--best-selling-products .product-item-numeric-number { font-size: 20px; }
    body.home-body .home-landing .front-widget--best-selling-products .product-item-numeric-title .title { font-size: 12px; }
    body.home-body .home-landing .front-widget--best-selling-products .best-selling-products-heading-icon { width: 36px; height: 36px; flex-basis: 36px; }
    body.home-body .home-landing .front-widget--best-selling-products .best-selling-products-eyebrow { display: none; }


}

@media (max-width: 359.98px) {
    body.home-body .home-landing .front-widget--categories-grid .featured-categories-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.home-body .site-header .header-logo { max-width: 104px; }
}
