/* Noh Available Masks 3.1 — shared Noh brand, isolated from the theme and homepage plugins. */
.nmas.nmas-v3 {
  --nmas-paper: var(--nm-paper, #F0EEE8);
  --nmas-ink: var(--nm-ink, #11100D);
  --nmas-red: var(--nm-lacquer, #A43A32);
  --nmas-interface: var(--nm-font-interface, "Söhne", "Sohne", Arial, "Noto Sans JP", sans-serif);
  --nmas-editorial: var(--nm-font-editorial, "Signifier", Georgia, "Noto Serif JP", serif);
  --nmas-gutter: 20px;
  --nmas-gap: 16px;
  width: 100%; max-width: none; margin: 0 !important; padding: 24px 0 48px !important;
  background: var(--nmas-paper); color: var(--nmas-ink); border: 0;
  font: 400 16px/1.5 var(--nmas-interface); letter-spacing: normal; text-transform: none;
  text-align: left; isolation: isolate;
  scroll-margin-top: calc(var(--flatsome--header-sticky-height, 96px) + 32px);
}
.nmas-v3 *, .nmas-v3 *::before, .nmas-v3 *::after { box-sizing: border-box; }
.nmas-v3 [hidden] { display: none !important; }
.nmas-v3 .nmas-container { width: calc(100% - var(--nmas-gutter) * 2); max-width: 1440px; margin: 0 auto; padding: 0; }
.nmas-v3 :is(h2, h3, p, ul, li, form) { min-width: 0; margin: 0; padding: 0; color: inherit; border: 0; letter-spacing: normal; text-transform: none; }
.nmas-v3 :is(p, li, label, button, input, select) { font-family: var(--nmas-interface); }
.nmas-v3 :is(button, input, select) { font-size: 16px; font-weight: 400; line-height: 1.4; text-transform: none; letter-spacing: normal; box-shadow: none; margin: 0; }
.nmas-v3 a { color: var(--nmas-red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.nmas-v3 a:hover { color: var(--nmas-ink); text-decoration-thickness: 2px; }
.nmas-v3 :is(button, select) { cursor: pointer; }
.nmas-v3 :is(a, button, input, select):focus-visible { outline: 2px solid var(--nmas-ink); outline-offset: 3px; }
.nmas-v3 .nmas-results { scroll-margin-top: calc(var(--flatsome--header-sticky-height, 96px) + 32px); }
.nmas-v3 .nmas-results:focus { outline: 2px solid var(--nmas-ink); outline-offset: 6px; }

/* Search stays visible; secondary controls are progressively enhanced. */
.nmas-v3 .nmas-form { display: flex; flex-direction: column; gap: 12px; padding: 0 0 24px; }
.nmas-v3 .nmas-search { order: 0; min-width: 0; width: 100%; position: static; }
.nmas-v3 .nmas-search > label, .nmas-v3 .nmas-field > span { display: block; margin: 0 0 8px; color: var(--nmas-ink); font-size: 14px; font-weight: 500; line-height: 1.4; }
.nmas-v3 .nmas-search-input { position: relative; }
.nmas-v3 .nmas-search input {
  display: block; width: 100%; height: 48px; margin: 0; padding: 10px 56px 10px 12px;
  border: 1px solid var(--nmas-ink); border-radius: 2px; background: var(--nmas-paper); color: var(--nmas-ink);
}
.nmas-v3 input::placeholder { color: var(--nmas-ink); opacity: 1; }
.nmas-v3 .nmas-search-button { position: absolute; right: 1px; top: 1px; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; min-height: 44px; padding: 0; border: 0; border-radius: 0; color: var(--nmas-ink); background: var(--nmas-paper); }
.nmas-v3 .nmas-search-button:hover { color: var(--nmas-red); }
.nmas-v3 .nmas-search-button svg { display: block; flex: none; }
.nmas-v3 .nmas-toolbar { order: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.nmas-v3 .nmas-count-line { min-width: 0; }
.nmas-v3 .nmas-result-count { font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.nmas-v3 .nmas-order-note { margin-top: 4px; font-size: 14px; }
.nmas-v3 .nmas-filter-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-height: 44px; padding: 8px 12px; border: 1px solid var(--nmas-ink); border-radius: 2px; color: var(--nmas-ink); background: var(--nmas-paper); font-size: 15px; }
.nmas-v3 .nmas-filter-toggle[aria-expanded="true"] { background: var(--nmas-ink); color: var(--nmas-paper); }
.nmas-v3 .nmas-filter-symbol { font-size: 20px; line-height: 1; }
.nmas-v3 .nmas-filter-count { font-variant-numeric: tabular-nums; }
.nmas-v3 .nmas-filter-fields { order: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: end; padding: 16px 0; border-block: 1px solid var(--nmas-ink); }
.nmas-v3.nmas-enhanced:not(.nmas-filters-open) .nmas-filter-fields { display: none; }
.nmas-v3 .nmas-field { display: block; min-width: 0; margin: 0; }
.nmas-v3 .nmas-field select { display: block; appearance: auto; width: 100%; max-width: 100%; height: 48px; padding: 8px; border: 1px solid var(--nmas-ink); border-radius: 2px; background: var(--nmas-paper); background-image: none; color: var(--nmas-ink); }
.nmas-v3 .nmas-sold-choice { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; padding: 0; color: var(--nmas-ink); font-size: 15px; font-weight: 400; cursor: pointer; }
.nmas-v3 .nmas-sold-choice input { appearance: auto; accent-color: var(--nmas-ink); width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; flex: 0 0 18px; }
.nmas-v3 .nmas-filter-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.nmas-v3 .nmas-clear { min-height: 44px; margin: 0; padding: 8px 0; background: transparent; border: 0; color: var(--nmas-red); text-decoration: underline; text-underline-offset: .22em; }
.nmas-v3 .nmas-chips { order: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nmas-v3 .nmas-chips:empty { display: none; }
.nmas-v3 .nmas-chip { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--nmas-ink); border-radius: 2px; color: var(--nmas-ink); font-size: 14px; text-decoration: none !important; overflow-wrap: anywhere; }
.nmas-v3 .nmas-chip > span:first-child { min-width: 0; }
.nmas-v3 .nmas-chip > span:last-child { font-size: 20px; flex: none; }
.nmas-v3 .nmas-chip:hover { background: var(--nmas-ink); color: var(--nmas-paper); }
.nmas-v3 .nmas-reset { display: inline-flex; align-items: center; min-height: 44px; padding: 8px; font-size: 14px; }

/* Display preference: separate from filters, with text and a checked state. */
.nmas-v3 .nmas-layout-choice { display: none; grid-column: 1 / -1; min-width: 0; }
.nmas-v3 .nmas-layout-label { margin: 0 0 8px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.nmas-v3 .nmas-layout-options { display: flex; gap: 8px; max-width: 320px; }
.nmas-v3 .nmas-layout-option { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--nmas-ink); border-radius: 2px; background: var(--nmas-paper); color: var(--nmas-ink); font-size: 15px; }
.nmas-v3 .nmas-layout-check { visibility: hidden; flex: none; }
.nmas-v3 .nmas-layout-option[aria-pressed="true"] { background: var(--nmas-ink); color: var(--nmas-paper); }
.nmas-v3 .nmas-layout-option[aria-pressed="true"] .nmas-layout-check { visibility: visible; }
.nmas-v3 .nmas-layout-option[aria-pressed="false"]:hover { color: var(--nmas-red); }

/* Same object hierarchy as the accepted homepage collection. */
.nmas-v3 .nmas-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px var(--nmas-gap); list-style: none; }
.nmas-v3 .nmas-grid[data-capacity="1"] { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
.nmas-v3 .nmas-card { position: relative; display: flex; min-width: 0; margin: 0; padding: 0; border: 0; list-style: none; background: transparent; box-shadow: none; }
.nmas-v3 .nmas-card-link { display: flex; flex-direction: column; width: 100%; min-width: 0; color: var(--nmas-ink); text-decoration: none !important; }
.nmas-v3 .nmas-card-link:hover { color: var(--nmas-ink); }
.nmas-v3 .nmas-photo { display: flex; position: relative; align-items: center; justify-content: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nmas-ink); margin: 0 0 16px; }
.nmas-v3 .nmas-photo img { display: block; width: 100% !important; height: 100% !important; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; margin: 0 !important; border: 0; border-radius: 0; box-shadow: none; transform: none !important; filter: none !important; opacity: 1 !important; }
.nmas-v3 .nmas-name { margin: 0 0 8px; font: 400 32px/1.12 var(--nmas-editorial); letter-spacing: -.01em; text-transform: none; overflow-wrap: anywhere; }
.nmas-v3 .nmas-card-link:hover .nmas-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.nmas-v3 .nmas-maker { margin: 0 0 16px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.nmas-v3 .nmas-card-bottom { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--nmas-ink); }
.nmas-v3 .nmas-price { font: 400 18px/1.4 var(--nmas-interface); font-variant-numeric: lining-nums tabular-nums; }
.nmas-v3 .nmas-price .amount { color: inherit; font-weight: inherit; }
.nmas-v3 .nmas-price del { font-size: 15px; opacity: 1; }
.nmas-v3 .nmas-price ins { background: transparent; text-decoration: none; }
.nmas-v3 .nmas-status { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.4; white-space: nowrap; }
.nmas-v3 .nmas-status::before { content: ""; display: block; width: 6px; height: 6px; flex: 0 0 6px; background: var(--nmas-ink); }
.nmas-v3 .nmas-card-sold .nmas-status::before { background: transparent; border: 1px solid var(--nmas-ink); }
.nmas-v3 .nmas-last-price { font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.nmas-v3 .nmas-last-price > span:first-child { display: block; }
.nmas-v3 .nmas-last-price .amount { color: inherit; font-weight: 400; }
.nmas-v3 .nmas-photo-missing { padding: 24px; color: var(--nmas-paper); font-size: 15px; text-align: center; }
.nmas-v3 .nmas-pagination { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 32px; text-align: center; }
.nmas-v3 .nmas-range { font-size: 14px; }
.nmas-v3 .nmas-page-start { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; }
.nmas-v3 .nmas-page-start a { display: inline-flex; align-items: center; min-height: 44px; }
.nmas-v3 .nmas-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; padding: 12px 24px; border: 1px solid var(--nmas-red); border-radius: 2px; background: var(--nmas-red); color: var(--nmas-paper); font: 500 16px/1.4 var(--nmas-interface); text-decoration: none !important; transition: background-color 160ms ease, border-color 160ms ease; }
.nmas-v3 .nmas-button:hover { background: var(--nmas-ink); border-color: var(--nmas-ink); color: var(--nmas-paper); }
.nmas-v3 .nmas-empty { max-width: 60ch; padding: 16px 0 32px; }
.nmas-v3 .nmas-empty h3 { font: 400 32px/1.12 var(--nmas-editorial); margin: 0 0 16px; }
.nmas-v3 .nmas-empty p { margin: 0 0 24px; font-size: 18px; }
.nmas-v3 .nmas-empty .nmas-admin-hint { margin-top: 24px; font-size: 14px; }
.nmas-v3.nmas-loading .nmas-result-count::after { content: " · Updating…"; }
.nmas-v3 .nmas-feedback:not(.nmas-sr) { color: var(--nmas-red); margin: 0 0 24px; }
.nmas-v3 .nmas-sr { position: absolute !important; width: 1px !important; max-width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (min-width: 360px) {
  .nmas-v3 .nmas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nmas-v3 .nmas-grid[data-capacity="2"] { max-width: 960px; }
}
/* Two columns are the default on phones; a saved preference changes only the gallery. */
@media (min-width: 360px) and (max-width: 1099px) {
  .nmas-v3 .nmas-layout-choice { display: block; }
  .nmas-v3[data-mobile-columns="1"] .nmas-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
}
@media (min-width: 360px) and (max-width: 767px) {
  .nmas-v3:not([data-mobile-columns="1"]) .nmas-grid:not([data-capacity="1"]) .nmas-photo { margin-bottom: 12px; }
  .nmas-v3:not([data-mobile-columns="1"]) .nmas-grid:not([data-capacity="1"]) .nmas-name { font-size: 28px; }
  .nmas-v3:not([data-mobile-columns="1"]) .nmas-grid:not([data-capacity="1"]) .nmas-maker { margin-bottom: 12px; font-size: 14px; }
  .nmas-v3:not([data-mobile-columns="1"]) .nmas-grid:not([data-capacity="1"]) .nmas-card-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nmas-v3:not([data-mobile-columns="1"]) .nmas-grid:not([data-capacity="1"]) .nmas-price { font-size: 16px; }
  .nmas-v3:not([data-mobile-columns="1"]) .nmas-grid:not([data-capacity="1"]) .nmas-status { font-size: 14px; }
  .nmas-v3:not([data-mobile-columns="1"]) .nmas-grid:not([data-capacity="1"]) .nmas-photo-missing { padding: 12px; font-size: 14px; }
}
@media (min-width: 768px) {
  .nmas.nmas-v3 { --nmas-gutter: 32px; --nmas-gap: 24px; padding-bottom: 64px !important; }
  .nmas-v3 .nmas-form { gap: 16px; padding-bottom: 32px; }
  .nmas-v3 .nmas-grid { row-gap: 48px; }
}
@media (min-width: 1100px) {
  .nmas-v3 .nmas-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; grid-template-areas: "search fields" "toolbar toolbar"; align-items: end; gap: 16px 24px; }
  .nmas-v3 .nmas-search { grid-area: search; }
  .nmas-v3 .nmas-toolbar { grid-area: toolbar; }
  .nmas-v3 .nmas-filter-toggle { display: none; }
  .nmas-v3 .nmas-filter-fields, .nmas-v3.nmas-enhanced:not(.nmas-filters-open) .nmas-filter-fields { grid-area: fields; display: grid; grid-template-columns: 144px auto 192px; gap: 16px 24px; padding: 0; border: 0; }
  .nmas-v3 .nmas-sold-choice { grid-column: auto; grid-row: auto; min-height: 48px; }
  .nmas-v3 .nmas-chips { grid-column: 1 / -1; }
  .nmas-v3.nmas-enhanced:not(.nmas-request-failed) .nmas-filter-actions { display: none; }
  .nmas-v3 .nmas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nmas-v3 .nmas-grid[data-capacity="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nmas-v3 .nmas-count-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; }
  .nmas-v3 .nmas-order-note { margin: 0; }
}
@media (min-width: 1200px) {
  .nmas.nmas-v3 { --nmas-gutter: 64px; --nmas-gap: 32px; padding-top: 32px !important; }
  .nmas-v3 .nmas-name { font-size: 38px; }
}
@media (max-width: 359px) {
  .nmas-v3 .nmas-toolbar { flex-wrap: wrap; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .nmas-v3 .nmas-photo img { transform: scale(1) !important; transform-origin: center; transition: transform 360ms ease; }
  .nmas-v3 .nmas-card-link:hover .nmas-photo img, .nmas-v3 .nmas-card-link:focus-visible .nmas-photo img { transform: scale(1.035) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .nmas-v3 *, .nmas-v3 *::before, .nmas-v3 *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .nmas.nmas-v3 { background: Canvas; color: CanvasText; }
  .nmas-v3 .nmas-button, .nmas-v3 .nmas-chip, .nmas-v3 .nmas-filter-toggle, .nmas-v3 .nmas-status::before { border: 1px solid ButtonText; }
  .nmas-v3 :is(a, button, input, select):focus-visible, .nmas-v3 .nmas-results:focus { outline-color: Highlight; }
}