.mt-shop { background: var(--mt-bg); }
.mt-shop-inner { width: min(100% - 128px, 1312px); margin-inline: auto; }
.mt-shop-intro { padding-block: 44px 40px; }
.mt-shop-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--mt-muted); font-size: 12px; line-height: 16px; }
.mt-shop-breadcrumb a { color: inherit; text-decoration: none; }
.mt-shop-breadcrumb a:hover { color: var(--mt-link); }
.mt-shop-intro h1 { margin: 0 0 20px; font-family: var(--wp--preset--font-family--display); font-size: 56px; font-weight: 400; line-height: 1; letter-spacing: -.025em; }
.mt-shop-intro p { margin: 0; color: var(--mt-muted); font-size: 16px; line-height: 1.45; }
.mt-shop-catalog, .mt-shop-help { background: var(--mt-surface); }
.mt-shop-catalog { padding-block: 32px 56px; }
.mt-shop-controls { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: end; gap: 24px; margin-bottom: 28px; }
.mt-shop-controls form, .mt-shop-sort { display: flex; min-width: 0; flex-direction: column; gap: 10px; margin: 0; }
.mt-shop-controls label, .mt-shop-sort > span { color: var(--mt-text); font-size: 13px; line-height: 17px; }
.mt-shop-field, .mt-shop-sort summary { width: 100%; height: 48px; color: var(--mt-text); background: var(--mt-bg); border: 1px solid var(--mt-border); border-radius: 8px; font: inherit; font-size: 14px; }
.mt-shop-field { display: flex; align-items: center; padding-inline: 16px; }
.mt-shop-field:hover { border-color: color-mix(in srgb, var(--mt-border) 65%, var(--mt-accent)); }
.mt-shop-field:focus-within { border-color: var(--mt-selection-border); }
.mt-shop-field input { width: 100%; min-width: 0; height: 100%; padding: 0; color: var(--mt-text); background: transparent; border: 0; outline: 0; font: inherit; font-size: 14px; }
.mt-shop-field input:focus-visible { outline: 0; }
.mt-shop-field input::placeholder { color: var(--mt-text-subtle); opacity: 1; }
.mt-shop-field button { display: grid; flex: 0 0 24px; width: 24px; height: 32px; padding: 0; color: var(--mt-muted); background: transparent; border: 0; cursor: pointer; place-items: center; }
.mt-shop-field button svg { width: 18px; height: 18px; }
.mt-shop-field button:hover { color: var(--mt-link); }
.mt-shop-field button:focus-visible { outline: 1px solid var(--mt-focus); outline-offset: 2px; }
.mt-shop a:focus-visible { outline: 2px solid var(--mt-focus); outline-offset: 2px; }
.mt-shop-sort details { position: relative; }
.mt-shop-sort summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 16px; cursor: pointer; list-style: none; }
.mt-shop-sort summary::-webkit-details-marker { display: none; }
.mt-shop-sort summary::marker { content: ''; }
.mt-shop-sort summary:hover { border-color: color-mix(in srgb, var(--mt-border) 65%, var(--mt-accent)); }
.mt-shop-sort details[open] summary, .mt-shop-sort summary:focus-visible { border-color: var(--mt-selection-border); }
.mt-shop-sort summary:focus-visible { outline: 0; }
.mt-shop-sort summary svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--mt-muted); transition: transform var(--mt-transition-fast) ease; }
.mt-shop-sort details[open] summary svg { transform: rotate(180deg); }
.mt-shop-sort-options { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; left: 0; padding: 6px; background: var(--mt-surface-raised); border: 1px solid var(--mt-border); border-radius: 8px; box-shadow: 0 10px 24px rgb(0 0 0 / .24); }
.mt-shop-sort-options a { display: flex; min-height: 40px; align-items: center; gap: 8px; padding: 0 10px; color: var(--mt-text); border-radius: 4px; font-size: 14px; text-decoration: none; }
.mt-shop-sort-options a[aria-current] { color: var(--mt-link); }
.mt-shop-sort-options a[aria-current]::before { content: '✓'; font-size: 12px; }
.mt-shop-sort-options a:hover, .mt-shop-sort-options a:focus-visible { color: var(--mt-link); background: var(--mt-surface); }
.mt-shop-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--mt-border); }
.mt-shop-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-shop-filters a { transition: color var(--mt-transition-fast) ease, background-color var(--mt-transition-fast) ease; display: flex; min-height: 44px; align-items: center; padding: 0 18px; color: var(--mt-text); background: var(--mt-ui-raised, #30322C); border-radius: 4px; font-size: 13px; text-decoration: none; }
.mt-shop-filters a[aria-current] { color: #161B10; background: var(--mt-accent); }
.mt-shop-filters a:hover { color: var(--mt-accent-ink); background: var(--mt-accent); }
.mt-shop-license { flex: 0 0 auto; color: var(--mt-link); font-size: 13px; text-decoration: none; }
.mt-shop-license:hover { text-decoration: underline; }
.mt-shop-results-body { opacity: 1; transition: opacity var(--mt-transition-fast) ease; }
.mt-shop-results-body.is-loading { opacity: .72; }
.mt-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; }
.mt-shop-card { min-width: 0; }
.mt-shop-art { outline: 2px solid transparent; outline-offset: -2px; transition: outline-color var(--mt-transition-fast) ease; display: grid; grid-template-rows: minmax(0, 1fr); aspect-ratio: 3 / 2; overflow: hidden; background: #BCA4ED; border-radius: 12px; place-items: center; }
.mt-shop-card:nth-child(6n+2) .mt-shop-art { background: #E9E5D9; }
.mt-shop-card:nth-child(6n+3) .mt-shop-art { background: #B9DBDF; }
.mt-shop-card:nth-child(6n+4) .mt-shop-art { background: #E9A17F; }
.mt-shop-card:nth-child(6n+5) .mt-shop-art { background: #D9DFA7; }
.mt-shop-card:nth-child(6n+6) .mt-shop-art { background: #C6BDDC; }
.mt-shop-art img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.mt-shop-art-fallback { color: var(--mt-paper-ink); font-family: var(--wp--preset--font-family--display); font-size: clamp(38px, 5vw, 70px); line-height: 1; text-align: center; overflow-wrap: anywhere; }
.mt-shop-card-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 16px; }
.mt-shop-card-info > div { flex: 1 1 160px; min-width: 0; overflow-wrap: anywhere; }
.mt-shop-card h3 { margin: 0; font-family: var(--wp--preset--font-family--ui); font-size: 17px; font-weight: 400; line-height: 22px; }
.mt-shop-card h3 a { color: var(--mt-text); text-decoration: none; transition: color var(--mt-transition-fast) ease; }
.mt-shop-card h3 a:focus-visible { color: var(--mt-link); }
.mt-shop-card-info p { margin: 6px 0 0; color: var(--mt-muted); font-size: 12px; line-height: 16px; }
.mt-shop-view { flex: 0 0 auto; align-self: start; color: var(--mt-link); font-size: 12px; line-height: 16px; text-decoration: none; text-underline-offset: .25em; }
.mt-shop-catalog.is-empty { padding-block: 0 64px; background: var(--mt-bg); }
.mt-shop-empty { display: flex; min-height: 275px; box-sizing: border-box; flex-direction: column; align-items: center; justify-content: center; padding: 36px 24px; background: var(--mt-surface); border: 1px solid var(--mt-border); border-radius: 12px; text-align: center; }
.mt-shop-empty-icon { display: block; width: 32px; height: 32px; margin-bottom: 16px; color: var(--mt-muted); background: currentColor; mask: url('../icons/material-symbols-rounded/folder_special.svg') center / contain no-repeat; -webkit-mask: url('../icons/material-symbols-rounded/folder_special.svg') center / contain no-repeat; }
.mt-shop-empty h3 { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 24px; font-weight: 600; line-height: 31px; }
.mt-shop-empty p { margin: 8px 0 20px; color: var(--mt-muted); font-size: 13px; line-height: 18px; }
.mt-shop-empty-actions { display: flex; align-items: center; justify-content: center; gap: 10px; }
.mt-shop-empty-actions a { display: inline-flex; min-height: 48px; box-sizing: border-box; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--mt-border); border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; }
.mt-shop-empty-actions .mt-shop-empty-primary { color: var(--mt-accent-ink); background: var(--mt-accent); border-color: var(--mt-selection-border); }
.mt-shop-empty-actions .mt-shop-empty-secondary { color: var(--mt-text); background: var(--mt-surface-raised); }
.mt-shop-pagination { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 12px; }
.mt-shop-pagination p { margin: 0; color: var(--mt-muted); font-size: 13px; }
.mt-shop-pages { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.mt-shop-pages > * { display: grid; width: 44px; height: 44px; color: var(--mt-text); background: var(--mt-surface); border: 1px solid var(--mt-border); border-radius: 8px; font-size: 14px; text-decoration: none; place-items: center; }
.mt-shop-pages a:hover, .mt-shop-pages a[aria-current] { color: var(--mt-accent-ink); background: var(--mt-accent); border-color: var(--mt-selection-border); }
.mt-shop-pages .is-disabled { color: var(--mt-text-subtle); opacity: .55; }
.mt-shop-pages .mt-shop-ellipsis { border-color: transparent; }
.mt-shop-help { padding-block: 48px; }
.mt-shop-help-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; color: var(--mt-paper-ink); background: var(--mt-lavender); border-radius: 16px; }
.mt-shop-help-card h2 { margin: 0 0 12px; color: var(--mt-paper-ink); font-size: 40px; font-weight: 600; line-height: 1; }
.mt-shop-help-card p { margin: 0; font-size: 15px; line-height: 23px; }
.mt-shop-help-card > a { display: flex; min-height: 48px; flex: 0 0 auto; align-items: center; gap: 10px; padding: 0 20px; color: var(--mt-text); background: var(--mt-surface-raised); border: 1px solid var(--mt-border); border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; }
.mt-shop-help-card > a:hover { background: var(--mt-bg); }
@media (max-width: 980px) { .mt-shop-inner { width: calc(100% - 80px); } .mt-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mt-shop-filter-row { align-items: flex-start; flex-direction: column; } }
@media (max-width: 700px) { .mt-shop-inner { width: calc(100% - 40px); } .mt-shop-intro { padding-block: 36px; } .mt-shop-intro h1 { font-size: clamp(40px, 10vw, 56px); } .mt-shop-controls { grid-template-columns: 1fr; gap: 20px; } .mt-shop-grid { grid-template-columns: 1fr; } .mt-shop-empty-actions { width: 100%; align-items: stretch; flex-direction: column; } .mt-shop-empty-actions a { width: 100%; } .mt-shop-pagination { align-items: flex-start; flex-direction: column; } .mt-shop-pages { justify-content: flex-start; } .mt-shop-help-card { align-items: flex-start; flex-direction: column; padding: 24px; } .mt-shop-help-card h2 { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .mt-shop { scroll-behavior: auto; } .mt-shop-results-body { transition: none; } }

.mt-shop .mt-shop-art:focus-visible { outline-color: var(--mt-link); outline-offset: -2px; }
.mt-shop-view:focus-visible { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) {
  .mt-shop-view:hover { text-decoration: underline; }
  .mt-shop-art:hover { outline-color: var(--mt-link); }
  .mt-shop-card h3 a:hover { color: var(--mt-link); }
}
@media (prefers-reduced-motion: reduce) {
  .mt-shop-art, .mt-shop-card h3 a { transition: none; }
}
