/* The mobile catalog, product sheet and basket share the storefront's paper and ink. */
@media (max-width: 767px) {
    .eser-page-heading {
        padding: 24px 0 16px;
        background-position: right center;
    }
    .eser-page-heading h1 {
        margin: 6px 0 8px;
        font-size: clamp(32px, 8.3vw, 46px);
        overflow-wrap: anywhere;
    }
    .eser-page-heading p {
        max-width: 38ch;
        color: #3e5246;
        margin: 0 0 8px;
        line-height: 1.5;
    }
    .eser-page-heading nav a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
    }
    .eser-catalog-page {
        padding-top: 20px;
        background: #fcf8ef;
    }
    .eser-catalog-page > .container-lg {
        width: calc(100% - 32px);
        padding-inline: 0;
    }
    .eser-catalog-navigation {
        padding-bottom: 14px;
        border-color: #dfdfcf;
    }
    .eser-catalog-categories {
        display: flex;
        gap: 8px;
        margin: 0;
        padding: 3px 1px 6px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }
    .eser-catalog-categories > a {
        flex: none;
        gap: 7px;
        min-height: 44px;
        padding: 6px 14px 6px 8px;
        border-radius: 24px;
        font-size: 13px;
        scroll-snap-align: start;
    }
    .eser-catalog-category-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }
    .eser-catalog-category-icon svg {
        width: 18px;
        height: 18px;
    }
    .eser-catalog-categories > a.is-active {
        background: #193d31;
        box-shadow: none;
    }
    .eser-catalog-result-count,
    .eser-catalog-search input { color: #193d31; }
    .eser-catalog-sort {
        min-height: 44px;
        border-radius: 14px;
        font-size: 12px;
    }
    .eser-catalog-grid .eser-product-card {
        border-radius: 17px;
        background: #fffdf7;
        border-color: #e2dece;
    }
    .eser-catalog-grid .eser-product-image {
        background-color: #f1eee4;
        border-radius: 14px;
    }
    .eser-catalog-grid .eser-product-info {
        padding: 12px 10px;
    }
    .eser-catalog-grid .eser-product-info h3 {
        display: block;
        overflow: visible;
        overflow-wrap: anywhere;
        font-size: 14px;
        line-height: 1.35;
        min-height: 2.7em;
    }
    .eser-catalog-grid .eser-catalog-actions {
        flex-wrap: wrap;
        gap: 6px;
    }
    .eser-catalog-grid .eser-catalog-actions .addcart,
    .eser-catalog-grid .eser-catalog-detail-link {
        min-height: 44px;
        border-radius: 12px;
        font-size: 12px;
        white-space: normal;
    }
    .eser-catalog-grid .eser-catalog-detail-link {
        min-width: 44px;
        font-size: 18px;
    }
    .eser-product-page { background: #fcf8ef; }
    .eser-product-page .eser-product-main-photo {
        background: #f2efe4;
        border-radius: 22px;
        border: 1px solid #e5e0d2;
    }
    .eser-product-page .eser-product-photo-zoom {
        width: 44px;
        height: 44px;
    }
    .eser-product-page .eser-product-purchase {
        padding: clamp(16px, 4vw, 24px);
        border-radius: 22px;
        border: 1px solid #e4e0d2;
        background: #fffdf7;
        min-width: 0;
    }
    .eser-product-purchase .eser-product-brandline {
        flex-wrap: wrap;
        gap: 8px;
    }
    .eser-product-purchase .eser-product-add {
        border-radius: 14px;
        background-color: #193d31;
        color: #fffdf7;
    }
    .eser-product-purchase .eser-product-secondary button,
    .eser-product-purchase .eser-product-service-links a {
        min-height: 44px;
    }
    .eser-product-shortcuts a { line-height: 1.5; }
    .eser-checkout .eser-checkout__empty,
    .eser-checkout .eser-cart-summary {
        border-radius: 20px;
        background-color: #fffdf7;
        border: 1px solid #e2dfcf;
    }
    .eser-checkout .eser-checkout__empty-icon {
        border-radius: 50% 50% 40% 50%;
        background: #dce7d5;
        color: #193d31;
    }
    .eser-checkout .eser-cart-quantity a,
    .eser-checkout .eser-cart-remove {
        min-width: 44px;
        min-height: 44px;
    }
    .eser-checkout .form-control { font-size: 16px; }
}
