:root {
    color-scheme: light;
    --bg: #f6f3ed;
    --surface: #fffdf9;
    --surface-soft: #efeae1;
    --surface-strong: #e8e1d7;
    --text: #111111;
    --muted: #6f695f;
    --line: #e3ddd3;
    --line-strong: #d2cabf;
    --button: #111111;
    --button-text: #ffffff;
    --overlay: rgba(17, 17, 17, 0.28);
    --container: min(1380px, 94vw);
    --font-display: "Cormorant Garamond", "Times New Roman", serif;
    --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --header-height: 82px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
}

body.drawer-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.announcement-bar {
    border-bottom: 1px solid var(--line);
    background: #eeebe4;
}

.announcement-bar__inner {
    min-height: 24px;
    display: grid;
    place-items: center;
    padding: 3px 0;
    font-size: 11px;
    letter-spacing: 0.07em;
    color: var(--muted);
}

.prints-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(246, 243, 237, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.prints-header__inner {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
}

.prints-brand {
    justify-self: center;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    white-space: nowrap;
}

.prints-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.prints-nav--right {
    justify-content: flex-end;
}

.prints-nav a,
.prints-nav__text-link,
.back-link,
.prints-footer a {
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s ease;
}

.prints-nav a:hover,
.prints-nav a:focus-visible,
.prints-nav__text-link:hover,
.prints-nav__text-link:focus-visible,
.back-link:hover,
.back-link:focus-visible,
.prints-footer a:hover,
.prints-footer a:focus-visible,
.print-card__title a:hover,
.print-card__title a:focus-visible {
    color: var(--text);
}

.nav-action {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.2s ease;
}

.nav-action__icon {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
}

.nav-action__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-action:hover,
.nav-action:focus-visible {
    color: var(--text);
}

.nav-action__count {
    position: absolute;
    top: 1px;
    left: 26px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: #343c32;
    color: #fff;
    font-size: 10px;
    line-height: 17px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.nav-action__count:empty {
    display: none;
}

.filter-waypoint {
    position: sticky;
    top: var(--header-height);
    z-index: 30;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.28s ease, opacity 0.24s ease;
}

.filter-waypoint.is-hidden {
    transform: translateY(calc(-100% - 8px));
    opacity: 0;
    pointer-events: none;
}

.filter-waypoint__inner {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.eyebrow {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.section-head h2,
.product-panel h1,
.info-page-card h1,
.print-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.product-panel__artist,
.product-panel__summary,
.info-page-card__meta,
.info-page-card__body p,
.editorial-list,
.print-card__artist {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.product-panel__artist,
.info-page-card__meta,
.print-card__artist {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown__summary {
    list-style: none;
    min-height: 40px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    cursor: pointer;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4a443c;
}

.filter-dropdown__summary::-webkit-details-marker {
    display: none;
}

.filter-dropdown__arrow {
    width: 14px;
    height: 14px;
    display: grid;
    place-items: center;
}

.filter-dropdown__arrow svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.filter-dropdown__menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    display: grid;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 18px 30px rgba(17, 17, 17, 0.08);
    z-index: 20;
}

.filter-dropdown__menu--price {
    min-width: 290px;
    padding: 16px 18px 18px;
}

.filter-dropdown__option {
    appearance: none;
    border: 0;
    background: transparent;
    min-height: 46px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.filter-dropdown__option:hover,
.filter-dropdown__option:focus-visible,
.filter-dropdown__option.is-active {
    color: var(--text);
    background: #f7f4ee;
}

.filter-dropdown__option.is-active::after {
    content: "•";
    font-size: 16px;
}

.filter-price {
    --range-start: 0%;
    --range-end: 100%;
    display: grid;
    gap: 14px;
}

.filter-price__values,
.filter-price__limits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.filter-price__values {
    color: var(--text);
}

.filter-price__limits {
    color: var(--muted);
}

.filter-price__slider {
    position: relative;
    height: 26px;
}

.filter-price__track,
.filter-price__progress {
    position: absolute;
    top: 50%;
    height: 4px;
    border-radius: 999px;
    transform: translateY(-50%);
}

.filter-price__track {
    left: 0;
    right: 0;
    background: #dad4cb;
}

.filter-price__progress {
    left: var(--range-start);
    right: calc(100% - var(--range-end));
    background: #111111;
}

.filter-price__input {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    pointer-events: none;
}

.filter-price__input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.filter-price__input::-moz-range-track {
    height: 4px;
    background: transparent;
}

.filter-price__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #111111;
    pointer-events: auto;
    cursor: pointer;
    margin-top: -7px;
}

.filter-price__input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #111111;
    pointer-events: auto;
    cursor: pointer;
}

.catalog {
    padding: 20px 0 90px;
    background: #ffffff;
}

.prints-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 24px;
}

.catalog-empty {
    margin: 0;
    grid-column: 1 / -1;
    padding: 36px 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}

.print-card {
    display: grid;
    gap: 14px;
}

.print-card__media-wrap {
    position: relative;
}

.print-card__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--surface-soft);
    text-decoration: none;
}

.print-card__media.is-loading::after {
    content: "mukashov gallery";
    content: "mukashov gallery" / "";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--surface-soft);
    color: var(--text);
    font: 400 clamp(10px, 1.2vw, 14px) var(--font-body);
    text-transform: uppercase;
    letter-spacing: .34em;
    pointer-events: none;
    transition: opacity 150ms ease-out;
}

.print-card__media.is-revealed::after {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .print-card__media.is-loading::after { transition: none; }
}

.print-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.print-card__image--hover {
    opacity: 0;
}

.print-card__media:is(:hover, :focus-visible) .print-card__image--hover {
    opacity: 1;
}

.print-card__media:is(:hover, :focus-visible) .print-card__image--base {
    opacity: 0;
}

.print-card__media:hover .print-card__image,
.print-card__media:focus-visible .print-card__image {
    transform: scale(1.02);
}

.print-card__body {
    display: grid;
    gap: 6px;
}

.print-card__title {
    font-size: 34px;
}

.print-card__title a {
    text-decoration: none;
}

.print-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}

.favorite-toggle {
    appearance: none;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.favorite-toggle:hover,
.favorite-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: var(--line-strong);
}

.favorite-toggle svg {
    width: 18px;
    height: 18px;
}

.product-panel__head .favorite-toggle {
    position: static;
    top: auto;
    right: auto;
}

.favorite-toggle.is-active svg path {
    fill: var(--text);
}

.product-main {
    padding: 22px 0 90px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 14px;
}

.product-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.88fr);
    gap: 30px;
    align-items: start;
}

.product-shell__media,
.product-shell__sidebar {
    min-width: 0;
}

.product-gallery {
    display: grid;
    --product-preview-height: min(72svh, 920px);
    --product-preview-ratio: 0.74;
    --product-preview-padding: 32px;
    --gallery-thumb-count: 3;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.product-preview {
    width: 100%;
    justify-self: stretch;
    background: transparent;
    padding: var(--product-preview-padding) 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-preview__frame {
    position: relative;
    overflow: hidden;
    width: calc(var(--product-preview-height) * var(--product-preview-ratio));
    max-width: 100%;
    height: var(--product-preview-height);
    max-height: var(--product-preview-height);
    margin: 0;
    background: #ebeae7;
}

.product-preview.is-framed .product-preview__frame {
    border: clamp(3px, .75vw, 10px) solid var(--preview-frame-color, #272622);
}

.product-preview__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--gallery-thumb-count), minmax(0, 1fr));
    gap: 12px;
    height: calc(var(--product-preview-height) + (var(--product-preview-padding) * 2));
}

.product-gallery__thumb {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 0;
    min-height: 0;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-gallery__thumb:hover,
.product-gallery__thumb:focus-visible,
.product-gallery__thumb.is-active {
    border-color: var(--text);
    transform: translateY(-1px);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-panel {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 22px;
}

.product-panel__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.product-panel h1 {
    font-size: clamp(3rem, 5vw, 4.9rem);
}

.product-panel__price-row {
    display: flex;
    align-items: end;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.product-panel__price-row span,
.selection-summary__row span,
.option-group__label,
.option-group__hint {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-panel__price-row span,
.selection-summary__row span,
.option-group__hint {
    color: var(--muted);
}

.product-panel__price-row strong {
    font-size: 28px;
    font-weight: 600;
}

.option-group {
    display: grid;
    gap: 12px;
}

.option-group__label-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.select-field {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--text);
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--text) 50%),
        linear-gradient(135deg, var(--text) 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 2px),
        calc(100% - 16px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.select-field:focus {
    outline: none;
    border-color: var(--text);
}

.frame-swatches {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.frame-swatch {
    appearance: none;
    width: 34px;
    height: 34px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.frame-swatch:hover,
.frame-swatch:focus-visible,
.frame-swatch.is-active {
    border-color: var(--text);
    transform: translateY(-1px);
}

.frame-swatch__dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.16);
}

.selection-summary {
    display: grid;
    gap: 12px;
    padding-top: 6px;
}

.selection-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.selection-summary__row strong {
    font-size: 14px;
    font-weight: 600;
}

.summary-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--text);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.button--solid {
    background: var(--button);
    color: var(--button-text);
}

.button--solid:hover,
.button--solid:focus-visible {
    background: #000000;
}

.button--line {
    background: transparent;
    color: var(--text);
}

.button--line:hover,
.button--line:focus-visible {
    background: #ece8df;
}

.button--ghost {
    background: var(--surface);
    border-color: var(--line-strong);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    border-color: var(--text);
    background: #f3eee5;
}

.featured {
    padding-top: 64px;
}

.section-head {
    margin-bottom: 26px;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.footer-links-bar {
    margin-top: 56px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #f1ece3;
}

.footer-links-bar__inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-links-nav__link:hover,
.footer-links-nav__link:focus-visible,
.footer-links-nav__link.is-active {
    color: var(--text);
    border-color: var(--line-strong);
    background: var(--surface);
}

.info-page-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.84fr);
    gap: 42px;
    align-items: start;
}

.info-page-media {
    background: var(--surface-soft);
    min-height: min(76vh, 900px);
    max-height: min(76vh, 900px);
}

.info-page-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-page-card {
    display: grid;
    gap: 18px;
}

.info-page-card h1 {
    font-size: clamp(3rem, 5vw, 4.8rem);
}

.info-page-card__body {
    display: grid;
    gap: 14px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.editorial-list {
    padding-left: 18px;
}

.editorial-list li + li {
    margin-top: 8px;
}

.prints-footer {
    margin-top: 84px;
    border-top: 1px solid var(--line);
}

.prints-footer__inner {
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.prints-footer p {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 59;
    background: var(--overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 60;
    width: min(420px, 100vw);
    height: 100dvh;
    background: var(--surface);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.drawer-panel.is-open {
    transform: translateX(0);
}

.drawer-panel__header,
.drawer-panel__footer {
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}

.drawer-panel__footer {
    border-top: 1px solid var(--line);
    border-bottom: 0;
    display: grid;
    gap: 14px;
}

.drawer-panel__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.drawer-panel__title {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.drawer-close {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.drawer-panel__body {
    overflow: auto;
    padding: 18px 24px 24px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.drawer-empty {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.drawer-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.drawer-item__media {
    display: block;
    aspect-ratio: 3 / 4;
    background: var(--surface-soft);
    overflow: hidden;
}

.drawer-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-item__body {
    display: grid;
    gap: 6px;
    align-content: start;
}

.drawer-item__artist,
.drawer-item__meta,
.drawer-total {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.drawer-item__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 0.98;
}

.drawer-item__name a {
    text-decoration: none;
}

.drawer-item__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.drawer-item__button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.drawer-item__button:hover,
.drawer-item__button:focus-visible {
    color: var(--text);
}

.drawer-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.drawer-total strong {
    color: var(--text);
    font-size: 16px;
}

@media (max-width: 1160px) {
    .prints-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-shell,
    .info-page-shell {
        grid-template-columns: 1fr;
    }

    .product-panel {
        position: static;
    }
}

@media (max-width: 880px) {
    .prints-header__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 14px 0;
    }

    .prints-nav,
    .prints-nav--right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-waypoint {
        top: 0;
    }

    .filter-waypoint__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .filter-dropdown__summary {
        min-height: 34px;
    }

    .filter-dropdown:nth-child(4n+1) .filter-dropdown__menu,
    .filter-dropdown:nth-child(4n+2) .filter-dropdown__menu {
        left: 0;
        transform: none;
    }

    .filter-dropdown:nth-child(4n) .filter-dropdown__menu,
    .filter-dropdown:nth-child(4n+3) .filter-dropdown__menu {
        right: 0;
        left: auto;
        transform: none;
    }

    .filter-dropdown__menu {
        min-width: min(230px, 68vw);
    }

    .filter-dropdown__menu--price {
        min-width: min(290px, 72vw);
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 126px;
    }

    .product-main {
        padding-top: 16px;
    }

    .back-link {
        margin-bottom: 12px;
    }

    .prints-footer__inner {
        justify-content: center;
    }

    .prints-grid {
        grid-template-columns: 1fr;
    }

    .product-preview {
        width: 100%;
        background: transparent;
        padding: 16px 0;
    }

    .product-gallery {
        --product-preview-height: min(58svh, 620px);
        --product-preview-padding: 20px;
        grid-template-columns: 1fr;
        gap: 12px;
        justify-items: stretch;
    }

    .product-gallery__thumbs {
        grid-template-columns: repeat(var(--gallery-thumb-count), minmax(0, 1fr));
        grid-template-rows: none;
        height: auto;
        order: 2;
        width: 100%;
    }

    .product-gallery__thumb {
        min-width: 0;
        aspect-ratio: 3 / 4;
    }

    .product-preview__frame {
        width: 100%;
        height: auto;
        aspect-ratio: 74 / 100;
        max-height: none;
    }

    .summary-actions {
        flex-direction: column;
    }

    .summary-actions .button {
        width: 100%;
    }

    .footer-links-bar__inner {
        min-height: 84px;
        padding: 14px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}

.profile-menu {
    position: relative;
    color: var(--text);
    flex: none;
}

.profile-menu > summary {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    list-style: none;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 50%;
}

.profile-menu > summary::-webkit-details-marker {
    display: none;
}

.profile-menu > summary svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
}

.profile-menu[open] > summary,
.profile-menu > summary:hover {
    border-color: var(--line-strong);
}

.profile-menu__panel {
    position: absolute;
    z-index: 2;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    max-width: min(16rem, 75vw);
    padding: .35rem;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 10px 25px #00000012;
}

.profile-menu__panel a,
.profile-menu__panel button {
    display: block;
    width: 100%;
    padding: .65rem .8rem;
    color: var(--text);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: .875rem;
    letter-spacing: normal;
    text-align: left;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
}

.profile-menu__panel a:hover,
.profile-menu__panel button:hover {
    background: var(--surface-soft);
}

.profile-menu__notice {
    max-width: 14rem;
    margin: 0;
    padding: .65rem .8rem;
    font-size: .875rem;
}

.filter-dropdown[open] {
    z-index: 2;
}

.prints-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .8rem;
}

.gallery-document__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.gallery-document {
    max-width: 48rem;
    padding-block: clamp(2rem, 6vw, 5rem);
    line-height: 1.65;
}

.gallery-document h1,
.gallery-document h2 {
    font-family: var(--font-display);
    line-height: 1.08;
}

.gallery-document h1 {
    font-size: clamp(2.6rem, 6vw, 4.25rem);
    margin: 0 0 1.25rem;
}

.gallery-document h2 {
    font-size: 2rem;
    margin: 2rem 0 .5rem;
}

.gallery-document__note {
    padding: 1rem;
    background: var(--surface-soft);
}

@media (max-width: 880px) {
    .prints-nav--right .profile-menu__panel {
        right: auto;
        left: 0;
    }
}

.gallery-feature {
    display: grid;
    grid-template-columns: minmax(290px, 0.86fr) minmax(0, 2fr);
    min-height: clamp(400px, 43vw, 600px);
    color: #f9f5ed;
    background: #333c36;
}

.gallery-feature[hidden] {
    display: none;
}

.gallery-feature__copy {
    align-self: center;
    padding: clamp(24px, 4vw, 64px);
}

.gallery-feature h1 {
    max-width: 14ch;
    margin: 0;
    font: 600 clamp(2.8rem, 4.6vw, 4.8rem)/0.94 var(--font-display);
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.gallery-feature__copy p {
    max-width: 28ch;
    margin: 18px 0 0;
    line-height: 1.55;
}

.gallery-feature__actions {
    display: grid;
    justify-items: start;
    gap: 14px;
    margin-top: 24px;
}

.gallery-feature__actions .button {
    --button: #f6f3ed;
    --button-text: #29312a;
}

.gallery-feature__actions > a:not(.button) {
    text-underline-offset: 5px;
}

.gallery-feature__works {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    gap: 2px;
    background: #e3d8c9;
}

.gallery-feature__work {
    position: relative;
    display: grid;
    align-items: end;
    min-width: 0;
    overflow: hidden;
    color: #fff;
    background: #62584c;
    text-decoration: none;
}

.gallery-feature__work img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
    transition: transform 300ms ease, opacity 250ms ease;
}

.gallery-feature__work:is(:hover, :focus-visible) img {
    transform: scale(1.025);
}

.gallery-feature__work span {
    z-index: 1;
    position: relative;
    padding: 32px 16px 12px;
    background: linear-gradient(transparent, #211b16d9);
    font-size: 0.88rem;
}

.gallery-catalogue {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 22px 0 14px;
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.gallery-catalogue h2 {
    margin: 0;
    font: 600 clamp(2rem, 4vw, 3.5rem)/1 var(--font-display);
}

.gallery-search {
    width: min(100%, 330px);
}

.gallery-search input {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
}

.gallery-feature a:focus-visible,
.gallery-search input:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

@media (max-width: 880px) {
    .gallery-catalogue {
        scroll-margin-top: 155px;
    }
}

.gallery-feature__work:focus-visible::after {
    position: absolute;
    inset: 3px;
    border: 2px solid #fffdf9;
    content: "";
    pointer-events: none;
}

@media (max-width: 760px) {
    .gallery-feature {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .gallery-feature__works {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: clamp(220px, 67vw, 390px);
    }

    .gallery-feature__copy {
        grid-row: 2;
        padding: 26px 5vw;
    }

    .gallery-feature__actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-feature__work img {
        transition: none;
    }
}

.product-shell {
    column-gap: clamp(24px, 4.5vw, 72px);
}

.product-panel {
    gap: 14px;
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid var(--line);
    background: var(--surface);
}

.product-panel h1 {
    margin: 8px 0;
    font-size: clamp(2.6rem, 4.2vw, 4.4rem);
    overflow-wrap: anywhere;
}

.product-panel .summary-actions [data-role="add-to-cart"] {
    width: 100%;
    --button: #343c32;
}

.product-panel .option-group {
    gap: 8px;
}

.product-panel .select-field {
    min-height: 46px;
}

.product-panel .frame-swatches {
    gap: 8px;
}

.product-panel .frame-swatch[aria-pressed="true"] {
    border-color: var(--text);
}

.product-details {
    border-top: 1px solid var(--line);
}

.product-details details {
    border-bottom: 1px solid var(--line);
}

.product-details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    cursor: pointer;
    font-weight: 600;
}

.product-details summary::-webkit-details-marker {
    display: none;
}

.product-details summary::after {
    content: "+";
    font-size: 1.15rem;
    font-weight: 400;
}

.product-details details[open] summary::after {
    content: "−";
}

.product-details :is(p, ul) {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
}

.product-details ul {
    padding-left: 1.25em;
}

@media (min-width: 981px) and (max-width: 1160px) {
    .product-shell {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    }
}

@media (min-width: 761px) {
    .product-gallery {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }

    .product-gallery .product-gallery__thumbs {
        order: 2;
        display: flex;
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
    }

    .product-gallery .product-gallery__thumb {
        width: clamp(58px, 7vw, 88px);
        aspect-ratio: 4 / 5;
    }
}

.catalog-results {
    display: none;
}

@media (max-width: 760px) {
    body[data-prints-page="catalog"] {
        --header-height: 58px;
        --container: calc(100% - 28px);
        background: #fff;
    }

    body[data-prints-page="catalog"] :is(.announcement-bar, .prints-nav--left, .gallery-feature) {
        display: none;
    }

    body[data-prints-page="catalog"] .prints-header {
        background: #fff;
    }

    body[data-prints-page="catalog"] .prints-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        justify-items: start;
        gap: 4px;
        padding: 7px 0;
    }

    body[data-prints-page="catalog"] .prints-brand {
        justify-self: start;
        font-size: clamp(10px, 2.9vw, 14px);
        letter-spacing: 0.15em;
    }

    body[data-prints-page="catalog"] .prints-nav--right {
        gap: 0;
        flex-wrap: nowrap;
    }

    body[data-prints-page="catalog"] .profile-menu__panel {
        right: 0;
        left: auto;
        max-width: calc(100vw - 42px);
    }

    .gallery-catalogue {
        position: relative;
        display: block;
        padding: 10px 0 4px;
        scroll-margin-top: calc(var(--header-height) + 4px);
    }

    .gallery-catalogue h2 {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .gallery-search {
        position: relative;
        width: 100%;
    }

    .gallery-search::before,
    .gallery-search::after {
        position: absolute;
        content: "";
        pointer-events: none;
        color: var(--muted);
    }

    .gallery-search::before {
        top: 13px;
        left: 14px;
        width: 11px;
        height: 11px;
        border: 1.5px solid currentColor;
        border-radius: 50%;
    }

    .gallery-search::after {
        top: 25px;
        left: 24px;
        width: 6px;
        border-top: 1.5px solid currentColor;
        transform: rotate(45deg);
    }

    .gallery-search input {
        min-height: 44px;
        padding: 6px 12px 6px 37px;
        border: 1px solid transparent;
        border-radius: 9px;
        background: #f1eee8;
    }

    .filter-waypoint {
        position: relative;
        border-bottom: 0;
        background: #fff;
    }

    .filter-waypoint.is-hidden {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .filter-waypoint__inner {
        display: flex;
        width: 100%;
        gap: 7px;
        padding: 7px 14px 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        scroll-padding-inline: 14px;
    }

    .filter-waypoint__inner::-webkit-scrollbar {
        display: none;
    }

    .filter-dropdown {
        position: static;
        flex: 0 0 auto;
    }

    .filter-dropdown__summary {
        min-height: 38px;
        padding: 0 11px;
        border: 1px solid var(--line-strong);
        border-radius: 999px;
        font-size: 0.82rem;
        letter-spacing: normal;
        text-transform: none;
        white-space: nowrap;
    }

    .filter-dropdown:is([open], .is-active) .filter-dropdown__summary {
        border-color: #5b655b;
        background: #eaece6;
        color: #263229;
    }

    .filter-waypoint .filter-dropdown:nth-child(n) .filter-dropdown__menu {
        inset: calc(100% - 2px) 14px auto;
        min-width: 0;
        max-height: min(330px, 55vh);
        overflow-y: auto;
        transform: none;
        border-radius: 10px;
    }

    .catalog {
        padding-top: 0;
    }

    .catalog-results:not(:empty) {
        display: block;
        margin: 5px 0 12px;
        color: var(--muted);
        font-size: 0.82rem;
    }

    #printsGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 10px;
    }

    #printsGrid .print-card {
        gap: 8px;
        align-content: start;
        min-width: 0;
    }

    #printsGrid .print-card__media {
        border-radius: 8px;
    }

    #printsGrid .print-card__title {
        font-size: clamp(1.16rem, 5.2vw, 1.65rem);
        line-height: 1;
        overflow-wrap: anywhere;
    }

    #printsGrid .print-card__artist {
        font-size: 0.65rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    #printsGrid .print-card__meta {
        gap: 3px 8px;
        padding-top: 5px;
        font-size: 0.7rem;
        line-height: 1.35;
    }

    #printsGrid .favorite-toggle {
        top: 6px;
        right: 6px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }
}

.gallery-feature[data-layout="panorama"] { position: relative; isolation: isolate; grid-template-columns: 1fr; align-items: end; }
.gallery-feature[data-layout="panorama"] .gallery-feature__works { position: absolute; inset: 0; height: auto; display: block; z-index: -1; }
.gallery-feature[data-layout="panorama"] .gallery-feature__work:first-child { height: 100%; }
.gallery-feature[data-layout="panorama"] .gallery-feature__work:last-child,
.gallery-feature[data-layout="panorama"] .gallery-feature__work span { display: none; }
.gallery-feature[data-layout="panorama"] .gallery-feature__copy { align-self: end; width: 100%; padding-top: 100px; background: linear-gradient(transparent, #19241dda 80%); pointer-events: none; }
.gallery-feature[data-layout="panorama"] .gallery-feature__work img { object-position: center 46%; }
.gallery-feature[data-layout="panorama"] .gallery-feature__actions a { pointer-events: auto; }
.gallery-feature[data-layout="edition"] { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); background: #f1ede5; color: #332e28; }
.gallery-feature[data-layout="edition"] .gallery-feature__works { grid-area: 1 / 1; background: transparent; padding: clamp(16px, 3vw, 52px); gap: 16px; align-items: center; }
.gallery-feature[data-layout="edition"] .gallery-feature__work { aspect-ratio: 3 / 4; }
.gallery-feature[data-layout="edition"] .gallery-feature__work:last-child { transform: translateY(9%); }
.gallery-feature[data-layout="edition"] .gallery-feature__copy { grid-area: 1 / 2; }
.gallery-feature[data-layout="edition"] .button { --button: #343c32; --button-text: white; }
@media (max-width: 760px) {
    body[data-prints-page="catalog"] .gallery-feature:is([data-layout="panorama"], [data-layout="edition"]):not([hidden]) { display: grid; }
    .gallery-feature[data-layout="panorama"] { min-height: 340px; }
    .gallery-feature[data-layout="edition"] { grid-template-columns: 1fr; }
    .gallery-feature[data-layout="edition"] .gallery-feature__works { height: auto; }
    .gallery-feature[data-layout="edition"] .gallery-feature__copy { grid-area: 2 / 1; }
}

.artist-about:not([hidden]) { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 4vw, 48px); padding-block: 40px; border-top: 1px solid #dedbd6; }
.artist-about img { width: min(100%, 212px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.artist-about h2 { margin: 0 0 12px; }
.artist-about p { max-width: 64ch; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.65; }
.artist-about > div { text-align: center; }
.artist-about p { text-align: start; }
