.wrap {
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: var(--gutter)
}

/* HEAD */
.head {
    padding-top: clamp(130px, 14vw, 190px);
    padding-bottom: clamp(40px, 5vw, 70px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 40px;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end
}

.eyebrow {
    font: 700 12px/1 var(--body);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 18px
}

h1 {
    margin: 0;
    font: 900 clamp(56px, 8vw, 124px)/.86 var(--display);
    text-transform: uppercase;
    text-wrap: balance
}

.head p.sub {
    margin: 18px 0 0;
    max-width: 34em;
    color: var(--muted)
}

.head .count {
    font: 700 12px/1.5 var(--body);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: right;
    font-variant-numeric: tabular-nums
}

.head .count b {
    display: block;
    font: 900 64px/.85 var(--display);
    color: var(--ink);
    letter-spacing: 0
}

@media (max-width:720px) {
    .head {
        grid-template-columns: 1fr
    }

    .head .count {
        text-align: left
    }
}


/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
    font-family: 'Big Shoulders Display';
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/big-shoulders-display-latin-700-normal.woff2) format('woff2')
}

@font-face {
    font-family: 'Big Shoulders Display';
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/big-shoulders-display-latin-800-normal.woff2) format('woff2')
}

@font-face {
    font-family: 'Big Shoulders Display';
    font-weight: 900;
    font-display: swap;
    src: url(../fonts/big-shoulders-display-latin-900-normal.woff2) format('woff2')
}

@font-face {
    font-family: 'Manrope';
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/manrope-latin-400-normal.woff2) format('woff2')
}

@font-face {
    font-family: 'Manrope';
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/manrope-latin-500-normal.woff2) format('woff2')
}

@font-face {
    font-family: 'Manrope';
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/manrope-latin-600-normal.woff2) format('woff2')
}

@font-face {
    font-family: 'Manrope';
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/manrope-latin-700-normal.woff2) format('woff2')
}

@font-face {
    font-family: 'Manrope';
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/manrope-latin-800-normal.woff2) format('woff2')
}

:root {
    --paper: #ffffff;
    --ink: #141113;
    --accent: #ff007a;
    /* brand magenta */
    --accent-deep: #d10064;
    /* small magenta text on white */
    --accent-soft: #ff7ab8;
    /* small magenta text on ink */
    --accent-tint: #fff5fa;
    --mat: #f4f2f1;
    /* product tiles, alt sections */
    --mat-2: #ece7e3;
    --line: #efe8e8;
    --line-2: #d9d2d4;
    --muted: #6f6668;
    --muted-2: #8a8184;
    --on-ink: #d9d2d4;

    --display: 'Big Shoulders Display', Impact, 'Arial Narrow Bold', sans-serif;
    --body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

    --gutter: clamp(44px, 3.2vw, 60px);
    --max: 1920px;
    /* page content stops growing here (same as obeyclothing.com) */
    --narrow: 1600px;
    /* max width for focused pages: product, artwork, checkout */
    --gap: 24px;
    --section: 96px;
    /* vertical rhythm between sections */
    --header-h: 84px;

    /* type scale */
    --fs-hero: clamp(64px, 7.2vw, 132px);
    --fs-page: clamp(56px, 7.4vw, 136px);
    --fs-section: clamp(52px, 6.6vw, 120px);
    --fs-banner: clamp(44px, 5.2vw, 96px);
    --fs-product: clamp(34px, 3.6vw, 64px);

    color-scheme: light;
}

main {
    padding-top: clamp(130px, 14vw, 180px);
    padding-bottom: clamp(60px, 8vw, 100px);
    display: block;
    max-width: var(--max);
    margin-inline: auto;

}

.grid-section {
    padding-top: 56px;
    padding-bottom: calc(var(--section) * .8)
}

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.star {
    color: var(--accent);
}

.d {
    font-family: var(--display);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -.01em;
    line-height: .86;
    text-wrap: balance;
}

.price {
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.05;
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: none;
    cursor: pointer;
    color: var(--ink);
}

/* ---------- Page head (catalogs) ---------- */
.page-head {
    padding-block: 44px 0;
    border-bottom: 1px solid var(--line)
}

.crumbs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--muted)
}

.crumbs [aria-current] {
    color: var(--ink);
    font-weight: 700
}

.page-head__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    gap: 40px;
    margin-top: 18px
}

.page-head__title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px
}

.page-title {
    font-size: var(--fs-page)
}

.page-head__lead {
    font-size: 18px;
    color: #3d3538;
    max-width: 440px;
    margin-bottom: 8px
}

.page-head__lead a {
    text-decoration: underline;
}

/* ---- Catalog toolbar ----
   Desktop: one row between two hairlines — filter tabs left; count, Year and Sort right.
   Phone: two equal buttons (Filter | Sort). Filters open in a bottom sheet styled like the mobile menu. */
.toolbar {
    margin-top: 32px;
    border-top: 1px solid var(--line)
}

.toolbar__in {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px 28px;
    min-height: 64px
}

.tb-btn--filter,
.filters__backdrop,
.filters__head,
.filters__foot,
.filters__label {
    display: none
}

.filters,
.filters__sheet {
    display: contents
}

.filters__group--main {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0
}

.toolbar__count {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2
}

.filters__group--extra {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3
}

.toolbar__sort {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4
}

.chips {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 4px 28px
}

.chip {
    position: relative;
    height: 64px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    font: 800 14px/1 var(--body);
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-transition: color .2s;
    transition: color .2s
}

.chips a {
    text-decoration: none;
}

.chip small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--muted);
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px)
}

.chip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--accent);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left;
    transform-origin: left;
    -webkit-transition: -webkit-transform .25s;
    transition: -webkit-transform .25s;
    transition: transform .25s;
    transition: transform .25s, -webkit-transform .25s
}

.chip:hover {
    color: var(--accent);
}

.chip.is-active,
.chip[aria-pressed="true"] {
    color: var(--ink)
}

.chip.is-active::after,
.chip[aria-pressed="true"]::after {
    -webkit-transform: none;
    transform: none
}

.chip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px
}

.count {
    font-weight: 600;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap
}

.dd {
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    height: 44px;
    cursor: pointer
}

.dd__label {
    font: 600 14px/1 var(--body);
    color: var(--muted)
}

.dd__value {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    height: 100%;
    border-bottom: 2px solid transparent;
    color: var(--ink);
    font: 800 14px/1 var(--body);
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-transition: border-color .2s;
    transition: border-color .2s
}

.dd__value::after {
    content: "";
    width: 14px;
    height: 14px;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141113' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat
}

.dd select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 16px;
    border: 0;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none
}

.dd:hover .dd__value,
.dd:focus-within .dd__value {
    border-bottom-color: var(--accent)
}

.dd:has(select:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: 4px
}

.toolbar__sort,
.filters__group--extra {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.filters__group--extra .dd {
    padding-left: 28px;
    border-left: 1px solid var(--line)
}

.toolbar__sort .dd {
    padding-left: 28px;
    border-left: 1px solid var(--line)
}

.empty {
    font-size: 18px;
    color: var(--muted);
    padding-top: 32px
}

.select {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px
}

.select select {
    height: 44px;
    border: 2px solid var(--ink);
    background: var(--paper);
    padding: 0 14px;
    font: 700 15px/1 var(--body);
    color: var(--ink);
    border-radius: 0
}

@media (max-width:900px) {
    .page-head__row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 16px
    }

    .toolbar__in {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 0 24px
    }

    .filters__group--main {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        border-bottom: 1px solid var(--line)
    }

    .toolbar__count {
        margin-right: auto
    }

    .filters__group--extra .dd {
        padding-left: 0;
        border-left: 0
    }
}

@media (max-width:700px) {
    .page-head {
        padding-top: 24px
    }

    .page-head__lead {
        font-size: 16px
    }

    .toolbar {
        margin-top: 20px
    }

    .toolbar__in {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding-inline: 0;
        min-height: 0
    }

    .toolbar__in > *,
    .filters__sheet > * {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0
    }

    .toolbar__count {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1
    }

    .tb-btn--filter,
    .toolbar__sort {
        height: 52px;
        border-bottom: 1px solid var(--line)
    }

    .tb-btn--filter {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 10px;
        border: 0;
        border-bottom: 1px solid var(--line);
        background: none;
        color: var(--ink);
        cursor: pointer;
        font: 800 14px/1 var(--body);
        letter-spacing: .06em;
        text-transform: uppercase
    }

    .tb-btn--filter svg {
        width: 20px;
        height: 20px
    }

    .tb-badge {
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 10px;
        background: var(--accent);
        color: var(--ink);
        font: 800 11px/20px var(--body);
        letter-spacing: 0
    }

    .toolbar__sort {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        border-left: 1px solid var(--line)
    }

    .toolbar__sort .dd {
        padding-left: 0;
        border-left: 0;
        height: 52px
    }

    .toolbar__sort .dd__label {
        display: none
    }

    .toolbar__sort .dd {
        width: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }

    .toolbar__sort .dd__value {
        border-bottom: 0;
        font-size: 13px;
        letter-spacing: .03em
    }

    .toolbar__count {
        grid-column: 1 / -1;
        padding: 14px 16px 0
    }

    /* bottom sheet */
    .filters {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 70;
        visibility: hidden;
        -webkit-transition: visibility 0s linear .35s;
        transition: visibility 0s linear .35s
    }

    .filters-open {
        overflow: hidden
    }

    .filters-open .filters {
        visibility: visible;
        -webkit-transition: none;
        transition: none
    }

    .filters__backdrop {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(20, 17, 19, .35);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        opacity: 0;
        -webkit-transition: opacity .35s;
        transition: opacity .35s
    }

    .filters-open .filters__backdrop {
        opacity: 1
    }

    .filters__sheet {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        position: absolute;
        left: 8px;
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        max-height: calc(100% - 72px);
        background: #fff;
        border-radius: 4px;
        -webkit-box-shadow: 0 -10px 50px rgba(20, 17, 19, .25);
        box-shadow: 0 -10px 50px rgba(20, 17, 19, .25);
        overflow: hidden;
        opacity: 0;
        -webkit-transform: translateY(24px);
        transform: translateY(24px);
        -webkit-transition: opacity .3s, -webkit-transform .35s cubic-bezier(.2, .7, .2, 1);
        transition: opacity .3s, -webkit-transform .35s cubic-bezier(.2, .7, .2, 1);
        transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1);
        transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1), -webkit-transform .35s cubic-bezier(.2, .7, .2, 1)
    }

    .filters-open .filters__sheet {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }

    .filters__head {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        height: 60px;
        padding: 0 8px 0 20px;
        border-bottom: 1px solid var(--line);
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none
    }

    .filters__head .d {
        font-size: 32px;
        text-transform: uppercase
    }

    .filters__head .star {
        color: var(--accent)
    }

    .filters__group {
        display: block;
        padding: 20px 20px 8px;
        overflow-y: auto
    }

    .filters__group--main {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        border-bottom: 0
    }

    .filters__label {
        display: block;
        font: 800 12px/1 var(--body);
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 6px
    }

    .chips {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        gap: 0
    }

    .chip {
        width: 100%;
        height: 52px;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        gap: 8px;
        border-bottom: 1px solid var(--line);
        color: var(--ink);
        font-size: 15px;
        letter-spacing: .04em
    }

    .chip small {
        -webkit-transform: none;
        transform: none;
        font-size: 13px
    }

    .chip::after {
        left: auto;
        right: 4px;
        top: 50%;
        bottom: auto;
        width: 18px;
        height: 10px;
        background: none;
        border-left: 3px solid var(--accent);
        border-bottom: 3px solid var(--accent);
        -webkit-transform: translateY(-70%) rotate(-45deg) scale(0);
        transform: translateY(-70%) rotate(-45deg) scale(0);
        -webkit-transition: -webkit-transform .2s;
        transition: -webkit-transform .2s;
        transition: transform .2s;
        transition: transform .2s, -webkit-transform .2s;
        display: none;
    }

    .chip[aria-pressed="true"]::after {
        -webkit-transform: translateY(-70%) rotate(-45deg) scale(1);
        transform: translateY(-70%) rotate(-45deg) scale(1)
    }

    .chip:not([aria-pressed="true"]) {
        font-weight: 600
    }

    .filters__group--extra {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none
    }

    .filters__group--extra .dd {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        height: 52px;
        border-bottom: 1px solid var(--line)
    }

    .filters__group--extra .dd__label {
        display: none
    }

    .filters__group--extra .dd__value {
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        border-bottom: 0;
        font-size: 15px;
        letter-spacing: .04em;
        padding-right: 4px
    }

    .filters__foot {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 12px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 16px 20px 20px;
        border-top: 1px solid var(--line);
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none
    }

    .filters__reset {
        height: 52px;
        padding: 0 8px;
        border: 0;
        background: none;
        cursor: pointer;
        font: 800 14px/1 var(--body);
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--ink);
        text-decoration: underline;
        -webkit-text-decoration-color: var(--accent);
        text-decoration-color: var(--accent);
        text-decoration-thickness: 2px;
        text-underline-offset: 5px;
        line-height: 52px;
    }

    .filters__apply {
        width: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }
}

@media (prefers-reduced-motion:reduce) {

    .filters__sheet,
    .filters__backdrop,
    .chip::after {
        -webkit-transition: none;
        transition: none
    }
}


/* Artwork card (canvas in scale) */
.agrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 32px
}

.acard {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    text-decoration: none;
}


.acard__wall img.acard__img-hover {
    opacity: 0;
}

.acard.acard--has-hover:hover img {
    opacity: 0;
}

.acard.acard--has-hover:hover img.acard__img-hover {
    opacity: 1;
}

*/ .canvas-ph {
    background: #fff;
    -webkit-box-shadow: 0 18px 36px rgba(20, 17, 19, .16), 0 2px 4px rgba(20, 17, 19, .08);
    box-shadow: 0 18px 36px rgba(20, 17, 19, .16), 0 2px 4px rgba(20, 17, 19, .08);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font: 700 11px/1.3 var(--body);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-2);
    text-align: center;
    padding: 8px;
    -webkit-transition: -webkit-transform .5s cubic-bezier(.2, .7, .2, 1);
    transition: -webkit-transform .5s cubic-bezier(.2, .7, .2, 1);
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), -webkit-transform .5s cubic-bezier(.2, .7, .2, 1)
}

.acard:hover .canvas-ph,
.acard:hover .acard__wall img {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px)
}

.acard__body {
    padding-top: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;

    gap: 16px
}

.acard__body .d {
    font-size: 24px;
    line-height: .95
}

.acard__meta {
    font-size: 14px;
    color: var(--muted);
    margin-top: 6px;
    display: block;
}

.acard__body .price {
    font-size: 22px;
    white-space: nowrap
}

@media (max-width:1100px) {
    .agrid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:700px) {
    .agrid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .acard__body .d {
        font-size: 28px
    }

    .acard__body .price {
        font-size: 26px
    }
}

/* ---------- Artwork cards v3.4: photo fills the tile (like dwylstore.com) ----------
   Tile 8:9 on --mat, even inner margin; 4:5 photo (700x875) shown whole. No real-scale canvas. */


.acard__wall--white {
    background: var(--mat);
}

.acard .acard__wall--white {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.acard:hover .acard__wall--white {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.acard__wall .acard__img,
.acard__ph {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transform: none;
    transform: none;
    -webkit-transition: -webkit-transform .45s cubic-bezier(.2, .7, .2, 1);
    transition: -webkit-transform .45s cubic-bezier(.2, .7, .2, 1);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), -webkit-transform .45s cubic-bezier(.2, .7, .2, 1)
}

.acard__ph {
    display: grid;
    place-items: center;
    background: #e6e2e1;
    color: var(--muted);
    font: 700 12px/1.3 var(--body);
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: center;
    padding: 12px
}

/* no hover effect on artwork tiles (client decision) */
.acard:hover .acard__wall img,
.acard:hover .canvas-ph {
    -webkit-transform: none;
    transform: none
}

.acard .acard__body .price {
    color: var(--accent)
}

@media (max-width:700px) {
    .acard__wall {
        padding: 6%
    }
}

/* Painting page: main photo fills the view (same 4:5 photo as the catalog, even margin) */
.artview--photo {
    padding: 5%
}

.artview--photo img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

/* ---------- Artwork tiles: hover photo slider (MesonArt-style) ----------
   Same tile as the catalog (8:9, grey, 5.5% margin, photo whole). The frame never resizes; only the photos inside slide. */
.acard__wall:has(.aslides) {
    position: relative;
    overflow: hidden
}

.aslides {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden
}

.aslides__track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-transform: translateX(calc(var(--i, 0) * -100%));
    transform: translateX(calc(var(--i, 0) * -100%));
    -webkit-transition: -webkit-transform .45s cubic-bezier(.2, .7, .2, 1);
    transition: -webkit-transform .45s cubic-bezier(.2, .7, .2, 1);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), -webkit-transform .45s cubic-bezier(.2, .7, .2, 1)
}

.aslide {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    height: 100%;
    padding: 5.5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block
}

.aslide img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.aslides__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity .25s;
    transition: opacity .25s
}

.aslides__dots i {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(20, 17, 19, .28);
    -webkit-transition: width .25s, background .25s;
    transition: width .25s, background .25s
}

.aslides__dots i.is-on {
    width: 18px;
    background: var(--accent)
}

@media (hover:hover) and (pointer:fine) {
    .acard:hover .aslides__dots {
        opacity: 1
    }

    .aslides {
        cursor: pointer
    }
}

@media (hover:none),
(pointer:coarse) {
    .aslides__track {
        -webkit-transform: none;
        transform: none;
        -webkit-transition: none;
        transition: none;
        overflow-x: auto;
        -webkit-scroll-snap-type: x mandatory;
        -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch
    }

    .aslides__track::-webkit-scrollbar {
        display: none
    }

    .aslide {
        scroll-snap-align: start
    }

    .aslides__dots {
        opacity: 1
    }
}

@media (prefers-reduced-motion:reduce) {
    .aslides__track {
        -webkit-transition: none;
        transition: none
    }
}

.acard__wall .aslide img {
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transform: none;
    transform: none;
    -o-object-fit: contain;
    object-fit: contain
}

/* ---------- v3.9 Artwork tiles: white 4:5 — slide 1 painting alone on white, slides 2+ room photos full-bleed ---------- */
.acard__wall--white {
    aspect-ratio: 4/5;
    padding: 0;
    background: #fff;
    position: relative;
    overflow: hidden
}

.wslides {
    position: absolute;
    inset: 0;
    display: block
}

.wslide {
    display: block;
    height: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.wslides > .wslide {
    position: absolute;
    inset: 0
}

.wslide--cut {
    padding: 9% 8%;
    background: #fff
}

.wslide--room {
    padding: 0
}

.acard__wall--white .wslide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transform: none;
    transform: none
}

.acard__wall--white .wslide--cut img {
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-filter: drop-shadow(0 10px 18px rgba(20, 17, 19, .14));
    filter: drop-shadow(0 10px 18px rgba(20, 17, 19, .14))
}

.acard__wall--white .wslide--room img {
    -o-object-fit: contain;
    object-fit: contain
}

.acard__wall--white .aslides__dots {
    bottom: 12px;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .85)
}

@media (max-width: 700px) {
    .filters__apply {
        width: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

.btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    cursor: pointer;
    padding: 18px 26px;
    font: 900 18px / 1 var(--display);
    text-transform: uppercase;
    letter-spacing: .02em;
    -webkit-transition: background .2s, color .2s, border-color .2s;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}

.btn.btn--ink:hover {
    color: var(--ink);
    background: var(--accent);
}

.btn--sm {
    padding: 0 16px;
    height: 44px;
    font-size: 18px;
}

.btn--ink {
    background: var(--ink);
    color: #fff;
    font-size: 18px;
}

.grid-more {
    text-align: center;
    padding-top: 56px;
}

.btn.dwyl-load-more {
    background: #ff007a;
    height: 52px;
    padding: 0 24px;
    font-size: 18px;
}

.dwyl-pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 0 48px;
    list-style-type: none;
}

.dwyl-pagination span,
.dwyl-pagination a,
.dwyl-pagination button {
    min-width: 48px;
    height: 48px;
    padding: 0;
    text-align: center;
    border: 2px solid #141113;
    background: #ffffff;
    color: #141113;
    font: 800 16px / 1 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    -webkit-transition: background .2s, color .2s, border-color .2s;
    transition: background .2s, color .2s, border-color .2s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
}

.dwyl-pagination span,
.dwyl-pagination button[aria-current="page"] {
    background: #141113;
    color: #fff;
}


.dwyl-pagination span:hover,
.dwyl-pagination a:hover,
.dwyl-pagination button:hover {
    background: #ff007a;
    border-color: #ff007a;
    color: #141113;
}

.dwyl-pagination span.dots {
    background: #ffffff;
    color: #141113;
}

.dwyl-pagination span.dots:hover {
    background: #ffffff;
    color: #141113;
    border-color: #141113;
}

@media (max-width: 760px) {

    .dwyl-pagination span,
    .dwyl-pagination a,
    .dwyl-pagination button {
        min-width: 38px;
        height: 38px;
    }

    .acard .acard__wall--white {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
