.mb29-header-contact, .mb29-bottom, dialog.mb29-catalog:not([open]) {
  display: none;
}

@media (max-width: 720px) {
  html.mb29-mobile {
    --mb29-dock-height: calc(58px + env(safe-area-inset-bottom, 0px));
    --mb29-paper: #fff;
    --mb29-bg: #f5f3f1;
    --mb29-border: #e6e0db;
    --mb29-text: #1e2630;
    --mb29-accent: var(--mb02-primary, #bf2639);
    scroll-padding-bottom: var(--mb29-dock-height);
  }

  .mb29-mobile body { padding-bottom: var(--mb29-dock-height); }
  .mb29-mobile .mb02-header {
    background: var(--mb29-paper);
    border-bottom: 1px solid var(--mb29-border);
  }
  .mb29-mobile .mb02-header .mb02-store-info {
    background: #f1e8e0;
    color: #503a34;
  }
  .mb29-mobile .mb02-header .mb02-store-info .mb02-shell {
    display: flex;
    width: calc(100% - 28px);
    justify-content: center;
    min-height: 24px;
    padding-block: 2px;
  }
  .mb29-mobile .mb041-store-location {
    justify-content: center;
    min-width: 0;
    gap: 4px;
    text-align: center;
    font-size: .74rem;
  }
  .mb29-mobile .mb02-store-info nav,
  .mb29-mobile .mb041-store-location a,
  .mb29-mobile .mb29-has-message .mb041-store-location > span:not(.mb29-store-message) { display: none; }
  .mb29-mobile :is(.mb02-header-grid.wp-block-group, body.home .mb02-header-grid.wp-block-group) {
    width: calc(100% - 28px);
    padding-block: 7px 10px;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 5px 1px;
    align-items: center;
  }
  .mb29-mobile .mb02-header-grid > .mb02-brand { grid-row: 1; grid-column: 1; justify-self: start; min-width: 0; }
  .mb29-mobile body .mb02-header-grid > .mb02-brand .mb02-logo { width: min(155px, 100%); min-width: 0; height: auto; }
  .mb29-mobile .mb02-header-grid > .mb29-header-contact { grid-row: 1; grid-column: 2; display: flex; }
  .mb29-header-contact a {
    width: 38px; height: 42px; display: grid; place-items: center;
  }
  .mb29-header-contact svg, .mb29-bottom svg { width: 22px; height: 22px; }

  .mb29-mobile .mb02-header-grid > .mb02-actions {
    grid-row: 1;
    grid-column: 3;
    gap: 0;
  }
  .mb29-mobile .mb02-header .mb02-actions [data-mb-show-list]:not([hidden]):not(.mb07-desktop-action) {
    min-width: 36px;
    min-height: 42px;
    padding: 5px;
  }
  .mb29-mobile .mb02-header .mb02-actions [data-mb-show-list] > span:not([data-mb-count]),
  .mb29-mobile .mb02-header .mb02-actions .mb29-favorites-in-dock,
  .mb29-mobile .mb02-header .mb02-actions > :is(.mb02-contact,.mb02-account,.mb02-cart,.mbcs-mini-anchor),
  .mb29-mobile-catalog .mb02-header-grid > [data-mb-menu] { display: none; }
  .mb29-mobile .mb02-header-grid > .mb02-search { grid-column: 1 / -1; grid-row: 2; }
  .mb29-mobile .mb02-header .mb02-search,
  .mb29-catalog .mb02-search {
    max-width: none;
    border: 1px solid #ded9d5;
    border-radius: 11px;
    color: var(--mb29-text);
    background: #f9f8f7;
    overflow: visible;
  }
  .mb29-mobile .mb02-header .mb02-search input,
  .mb29-catalog .mb02-search input {
    padding: 9px 11px;
    min-height: 42px;
    font-size: 16px;
  }
  .mb29-mobile .mb02-header .mb02-search > button,
  .mb29-catalog .mb02-search > button {
    min-width: 54px;
    padding: 6px 9px;
    font: inherit;
    font-size: .77rem;
    font-weight: 700;
    color: var(--mb29-text);
    border: 0;
    border-inline-start: 1px solid #ded9d5;
    border-radius: 0 10px 10px 0;
    background: #fff;
    cursor: pointer;
  }

  .mb29-mobile .mb29-bottom {
    display: flex;
    gap: 0;
    position: fixed;
    inset: auto 0 0;
    z-index: 100;
    box-sizing: border-box;
    padding: 0 4px env(safe-area-inset-bottom, 0px);
    border-top: 1px solid var(--mb29-border);
    background: var(--mb29-paper);
    color: var(--mb29-text);
    box-shadow: 0 -2px 14px #2422280d;
  }
  .mb29-bottom > :is(a,button) {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 57px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: #4e5660;
    font-family: inherit;
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.12;
    text-decoration: none;
    cursor: pointer;
  }
  .mb29-bottom > [aria-current] { color: var(--mb29-accent); background: #fff4f2; }
  .mb29-catalog .mb29-bottom > [aria-current="page"] { color: #4e5660; background: transparent; }
  .mb29-bottom :focus-visible { outline: 2px solid var(--mb29-accent); outline-offset: -3px; }
  .mb29-bottom [data-mb29-count] {
    position: absolute; top: 5px; left: calc(50% + 5px);
    min-width: 16px; padding: 2px 4px; color: #fff; background: var(--mb29-accent); border-radius: 20px;
    font-size: .63rem; text-align: center;
  }

  html.mb29-catalog-open { overflow: hidden; }
  dialog.mb29-catalog[open] {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: auto minmax(0,1fr) auto;
    box-sizing: border-box;
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--mb29-bg);
    color: var(--mb29-text);
  }
  .mb29-catalog-header {
    z-index: 2;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    padding: max(10px, env(safe-area-inset-top, 0px)) 13px 10px;
    background: var(--mb29-paper);
    border-bottom: 1px solid var(--mb29-border);
  }
  .mb29-catalog-search { flex: 1 1 auto; min-width: 0; }
  .mb29-catalog :is([data-mb29-close],[data-mb29-back]) {
    display: grid; place-items: center;
    min-width: 42px; height: 44px; margin: 0; padding: 0;
    border: 0; border-radius: 9px; background: var(--mb29-paper); color: var(--mb29-text);
    cursor: pointer;
  }
  .mb29-catalog button svg, .mb29-catalog .mb29-view-all svg { width: 20px; height: 20px; }
  .mb29-catalog-body { overflow: auto; padding: 12px 13px 20px; overscroll-behavior: contain; }
  .mb29-catalog-heading { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
  .mb29-catalog-heading h2 { margin: 0; font-size: clamp(1.32rem, 5.8vw, 1.85rem); line-height: 1.15; letter-spacing: -.025em; }
  .mb29-catalog-heading h2:focus { outline: none; }
  .mb29-catalog [data-mb29-back] { border: 1px solid var(--mb29-border); }
  .mb29-catalog :is(ul,li) { list-style: none; padding: 0; margin: 0; }
  .mb29-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  .mb29-category-rows { display: grid; gap: 6px; }
  .mb29-category-grid li > a, .mb29-category-rows li > a {
    box-sizing: border-box;
    position: relative; display: grid; align-items: center; gap: 5px;
    height: 100%; min-width: 0; padding: 7px;
    border: 1px solid var(--mb29-border); border-radius: 10px;
    background: var(--mb29-paper); color: var(--mb29-text);
    overflow-wrap: anywhere; text-decoration: none;
  }
  .mb29-category-grid li > a { align-content: end; text-align: center; font-size: .76rem; line-height: 1.15; }
  .mb29-category-grid li > a strong { display: grid; align-content: center; min-height: 2.5em; }
  .mb29-category-rows li > a { grid-template-columns: minmax(0,1fr) 16px; min-height: 51px; padding-inline: 10px; font-size: .9rem; line-height: 1.13; }
  .mb29-category-rows li > a:has(.mb29-category-art) { grid-template-columns: 40px minmax(0,1fr) 16px; gap: 9px; }
  .mb29-category-rows a > svg { width: 16px; height: 16px; color: #656a70; }
  .mb29-category-art { display: grid; min-width: 0; place-items: center; color: #934456; border-radius: 6px; overflow: hidden; }
  .mb29-category-grid .mb29-category-art { aspect-ratio: 1.16; }
  .mb29-category-rows .mb29-category-art { height: 36px; }
  .mb29-category-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .mb29-category-art > svg { width: 30px; height: 30px; }
  .mb29-category-grid .mb29-category-art > svg { width: 42%; height: auto; }
  .mb29-catalog .mb06-menu-promo { margin: 0 0 12px; background: #fff2e7; }
  .mb29-catalog .mb06-menu-promo a { color: inherit; }
  .mb29-catalog-feature {
    display: grid; grid-template-columns: 22px minmax(0,1fr) 18px; gap: 9px; align-items: center;
    min-height: 46px; padding: 8px 12px; margin-bottom: 12px; border-radius: 9px;
    background: #f4e5da; color: #633c34; text-decoration: none; font-size: .88rem;
  }
  .mb29-catalog-feature svg { width: 100%; height: 20px; }
  .mb29-view-all {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 44px; margin-top: 10px; padding: 5px 10px;
    color: var(--mb29-accent); font-size: .87rem; font-weight: 700;
  }
  .mb29-catalog .mb29-bottom { position: static; }

  .mb29-mobile body.home:has(.mb041-home) { background: #fff; }
  .mb29-mobile body.home .mb02-content:has(.mb041-home) { padding-block-start: 0; }
  .mb29-mobile .mb041-hero { gap: 11px; }
  .mb29-mobile .mb041-hero > .mb043-slider,
  .mb29-mobile .mb041-hero > .mb041-banner-main { margin-inline: -12px !important; }
  .mb29-mobile .mb041-hero :is(.mb043-slider-track,.mb041-banner-main) { border-radius: 0; }
  .mb29-mobile .mb041-hero .mb046-banner-image-only:not(.mb07-banner-mobile-size) {
    min-height: 0;
    aspect-ratio: var(--mb29-banner-ratio, 1920 / 512);
  }
  .mb29-mobile .mb041-hero .mb041-banner-studio:not(.mb07-banner-mobile-size) { min-height: clamp(150px, 48vw, 240px); }
  .mb29-mobile .mb041-home .mb04-terms-categories li a { width: 100%; min-width: 0; min-height: 86px; aspect-ratio: auto; }
  .mb29-mobile .mb041-home .mb04-terms-categories .mb04-term-name { overflow-wrap: anywhere; }
  .mb29-mobile .mb043-slider-track { min-height: 0; }
  .mb29-mobile .mb043-slider-controls {
    position: relative;
    inset: auto;
    display: grid;
    align-items: center;
    grid-template-columns: 34px minmax(0,1fr) 34px 34px;
    min-height: 35px;
    padding-inline: 9px;
    color: #4b4650;
  }
  .mb29-mobile .mb043-slider-controls[hidden] { display: none; }
  .mb29-mobile .mb043-slider:has(.mb043-slider-controls:not([hidden])) { display: flex; flex-direction: column-reverse; }
  .mb29-mobile .mb043-slider-controls :is([data-mb043-step],[data-mb043-toggle],.mb043-slider-dots) {
    position: static; transform: none;
  }
  .mb29-mobile .mb043-slider-controls [data-mb043-step="-1"] { grid-column: 1; grid-row: 1; }
  .mb29-mobile .mb043-slider-controls [data-mb043-step="1"] { grid-column: 3; grid-row: 1; }
  .mb29-mobile .mb043-slider-controls [data-mb043-toggle] { grid-column: 4; grid-row: 1; }
  .mb29-mobile .mb043-slider-dots { grid-column: 2; grid-row: 1; max-width: 100%; justify-self: center; }
  .mb29-mobile .mb043-slider-controls button { width: 34px; height: 38px; flex-basis: 34px; color: inherit; }
  .mb29-mobile .mb043-slider-controls button span { width: 28px; height: 28px; background: transparent; border: 0; }
  .mb29-mobile .mb043-slider-dots button::before { background: #c7bec0; box-shadow: none; }
  .mb29-mobile .mb043-slider-dots button[aria-current]::before { background: var(--mb29-accent); width: 20px; }
  .mb29-mobile .mb043-slider .mb04-banner .mb04-banner-copy { padding: 16px 19px; }
}
