.mc-catalog .mc-only { display: none; }

@media (max-width: 767px) {
  body.mall-v1 {
    background: #faf6ef;
  }
  body.mall-v1 #fz-site-header { display: none; }
  body.mall-v1 .fz-site-utility {
    border-bottom-color: #ebddd0;
    background: #f8eee5;
  }
  body.mall-v1 .fz-site-utility a { color: #685749; }
  body.mall-v1 .shop-shell.mc-catalog {
    --mc-paper: #faf6ef;
    --mc-white: #fffdf9;
    --mc-line: #ebddd0;
    --mc-ink: #251f1a;
    --mc-muted: #66564c;
    --mc-accent: #963b23;
    display: flex;
    flex-direction: column;
    color: var(--mc-ink);
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 12px 20px;
    background: var(--mc-paper);
    font: 14px/1.45 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  }
  .mc-catalog *, .mc-catalog *::before, .mc-catalog *::after { box-sizing: border-box; }
  .mc-catalog :is(a, button, input):focus-visible {
    outline: 2px solid var(--mc-accent);
    outline-offset: 2px;
  }
  .mc-catalog .mc-wide { display: none; }
  .mc-catalog .mc-only { display: inline; }
  .mc-catalog .mc-nav {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    column-gap: 8px;
    margin: 0 -12px 12px;
    padding: 3px 12px;
    min-height: 51px;
    background: #fffaf5;
    border-bottom: 1px solid var(--mc-line);
  }
  .mc-nav strong { font-size: 16px; font-weight: 800; white-space: nowrap; }
  .mc-nav a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    width: max-content;
    color: var(--mc-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
  }
  .mc-nav a:first-child span { font-size: 25px; line-height: 1; }
  .mc-nav a:last-child { justify-self: end; }
  .mc-catalog .catalog-heading {
    display: block;
    padding: 0 1px;
    margin: 0 0 9px;
    min-height: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .mc-catalog .catalog-heading .eyebrow,
  .mc-catalog .catalog-heading .outline-button,
  .mc-catalog .fz-category__intro,
  .mc-catalog .fz-category__label i { display: none; }
  .mc-catalog .catalog-heading h1 {
    margin: 0;
    color: var(--mc-ink);
    font-size: 23px;
    line-height: 1.22;
    font-weight: 830;
    letter-spacing: -.025em;
  }
  body.mall-v1 .mc-catalog .catalog-heading p {
    margin: 5px 0 0;
    color: var(--mc-muted);
    font-size: 12px;
    line-height: 1.5;
  }
  .mc-catalog > p { margin: 0 1px 9px; }
  .mc-catalog > p a { color: var(--mc-accent); }
  .mc-catalog .fz-rescue { order: 1; margin: 12px 0; }
  .mc-catalog .catalog-help { order: 2; }
  body.mall-v1 .mc-catalog .catalog-filters {
    padding: 8px;
    margin: 0;
    background: var(--mc-white);
    border: 1px solid var(--mc-line);
    border-radius: 14px;
    box-shadow: none;
  }
  .mc-catalog .mc-search-row { display: flex; align-items: center; gap: 6px; }
  body.mall-v1 .mc-catalog .catalog-search {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    border-radius: 9px;
    box-shadow: none;
  }
  .mc-catalog .catalog-search input[type=search] {
    display: block;
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 9px;
    border: 1px solid var(--mc-line);
    border-radius: 9px 0 0 9px;
    background: #fff;
    color: var(--mc-ink);
    font-size: 16px;
    text-overflow: ellipsis;
  }
  .mc-catalog .catalog-search input::placeholder { font-size: 13px; color: var(--mc-muted); }
  .mc-catalog .catalog-search .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    border-radius: 0 9px 9px 0;
    border: 1px solid var(--mc-accent);
    color: #fffaf5;
    background: var(--mc-accent);
    font: 720 13px/1 system-ui, sans-serif;
  }
  .mc-catalog .mc-filter { display: none; }
  .mc-catalog.mc-enhanced .mc-filter {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: none;
    min-height: 44px;
    border: 1px solid var(--mc-line);
    border-radius: 9px;
    padding: 0 9px;
    font: 720 13px/1 system-ui, sans-serif;
    background: var(--mc-paper);
    color: var(--mc-ink);
    cursor: pointer;
  }
  .mc-catalog .mc-filter[aria-expanded=true],
  .mc-catalog.mc-enhanced .mc-filter-active {
    color: var(--mc-accent);
    border-color: #d6ac98;
    background: #f7e8df;
  }
  .mc-catalog .mc-filter[aria-expanded=true] span { transform: rotate(180deg); }
  .mc-catalog .mc-refine { margin-top: 8px; }
  .mc-catalog.mc-enhanced .mc-refine[hidden] { display: none; }
  .mc-catalog .mc-series {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    margin-top: 6px;
    padding: 3px 2px 3px;
    scrollbar-width: thin;
    scrollbar-color: #dec7b8 transparent;
  }
  .mc-catalog .mc-series a,
  .mc-catalog .fz-category__options a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    gap: 4px;
    padding: 5px 9px;
    border: 1px solid var(--mc-line);
    border-radius: 8px;
    color: var(--mc-ink);
    background: #fff;
    font-size: 12px;
    text-decoration: none;
    font-weight: 650;
  }
  .mc-catalog .mc-series a { flex: none; white-space: nowrap; }
  .mc-catalog .mc-series a[aria-current],
  .mc-catalog .fz-category__options a.active {
    color: var(--mc-accent);
    border-color: #d6ac98;
    background: #f8e9df;
  }
  .mc-catalog .fz-category__row {
    display: block;
    margin: 0;
    padding: 9px 0;
    border-top: 1px solid var(--mc-line);
  }
  .mc-catalog .fz-category__label { padding: 0; margin: 0 0 6px; color: var(--mc-ink); }
  .mc-catalog .fz-category__options { display: flex; gap: 5px; flex-wrap: wrap; }
  .mc-catalog .fz-category__options small { color: var(--mc-muted); white-space: nowrap; }
  .mc-catalog .fz-category__selection {
    display: flex;
    gap: 6px;
    padding: 8px;
    flex-wrap: wrap;
    background: #f6eee6;
    color: var(--mc-ink);
    font-size: 12px;
  }
  .mc-catalog .fz-category__selection > div { flex-wrap: wrap; }
  .mc-catalog .fz-category__selection a,
  .mc-catalog .fz-category__query a { color: var(--mc-accent); }
  .mc-catalog .fz-category__query { overflow-wrap: anywhere; font-size: 12px; }
  .mc-catalog .catalog-sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2px 6px;
    margin: 5px 0 3px;
    padding: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--mc-muted);
    font-size: 12px;
  }
  .mc-catalog .mc-result {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mc-catalog .mc-result strong { color: var(--mc-ink); font-variant-numeric: tabular-nums; }
  .mc-catalog .catalog-sort > div {
    display: flex;
    gap: 3px;
    flex-wrap: nowrap;
    margin-left: auto;
  }
  body.mall-v1 .mc-catalog .catalog-sort a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 6px;
    border: 0;
    border-radius: 7px;
    text-decoration: none;
    white-space: nowrap;
    color: var(--mc-muted);
    background: transparent;
    font-size: 12px;
    line-height: 1.25;
  }
  body.mall-v1 .mc-catalog .catalog-sort a.active {
    color: var(--mc-accent);
    background: #f4e5da;
    font-weight: 750;
  }
  .mc-catalog .product-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    align-items: stretch;
  }
  .mc-catalog .product-grid .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
    border: 1px solid var(--mc-line);
    border-radius: 13px;
    box-shadow: none;
    color: var(--mc-ink);
    background: var(--mc-white);
    transform: none;
  }
  .mc-catalog .product-grid .product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid #f1e7dd;
    background: #f2ece5;
  }
  .mc-catalog .product-grid .product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform: none;
    margin: 0;
  }
  .mc-catalog .product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
  }
  .mc-catalog .product-info h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 2.7em;
    max-height: 2.7em;
    overflow: hidden;
    overflow-wrap: anywhere;
    margin: 0;
    color: var(--mc-ink);
    font: 700 13px/1.35 system-ui, sans-serif;
  }
  .mc-catalog .product-sku {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    color: var(--mc-muted);
  }
  .mc-catalog .product-info > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3px;
    padding-top: 2px;
    margin-top: auto;
  }
  .mc-catalog .product-info strong {
    color: var(--mc-accent);
    white-space: nowrap;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }
  .mc-catalog .product-info > div > span {
    color: var(--mc-muted);
    font-size: 11px;
    white-space: nowrap;
  }
  .mc-catalog .catalog-pagination { padding: 17px 0; }
  .mc-catalog .catalog-pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid var(--mc-line);
    background: var(--mc-white);
    color: var(--mc-accent);
  }
  .mc-catalog .catalog-empty {
    border-radius: 14px;
    padding: 24px 12px;
    background: var(--mc-white);
  }
}
