/*
 * Storefront of the shop engine: layout and components. Shared by every shop.
 * Colours, fonts and the logo treatment come from theme/theme.css — change the look of a shop there, not here.
 *
 * Sections: base and header · home · dialogs · catalog · product page · engine adaptations · plain pages.
 */

[hidden] {
    display: none !important;
}
select,
textarea {
    font: inherit;
    color: inherit;
}

/* ===== Base, header, home, dialogs ===== */

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 13px/1.6 var(--sans);
}
button,input {
    font: inherit;
    color: inherit;
}
button,a {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    background: none;
    border: 0;
}
button:disabled {
    opacity: .45;
    cursor: not-allowed;
}
button:focus-visible,a:focus-visible,input:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 5px;
}
img {
    display: block;
    width: 100%;
    object-fit: cover;
}
h1,h2,h3,h4,p {
    margin: 0;
}
h1,h2,h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.035em;
}
h4 {
    font-weight: 500;
}
em {
    font-weight: 400;
}
svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sprite {
    display: none;
}
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
}
.announcement {
    height: 30px;
    padding: 4px 4.5%;
    background: var(--ink);
    color: var(--on-ink);
    text-align: center;
    font-size: 10px;
    letter-spacing: .11em;
}
.announcement span {
    position: absolute;
    right: 4.5%;
    font-size: 9px;
    opacity: .7;
}
.header {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4.5%;
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
}
.head-left,.head-right {
    display: flex;
    gap: 24px;
    align-items: center;
    flex: 1;
}
.head-right {
    justify-content: flex-end;
    gap: 12px;
}
.logo {
    width: 140px;
}
.logo img {
    mix-blend-mode: multiply;
}
.bag {
    width: auto;
    gap: 8px;
}
.bag span {
    font-size: 11px;
}
.category-nav {
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;
    font-size: 12px;
}
.category-nav a:hover,.text-link:hover {
    color: var(--link-hover);
}
.hero {
    height: min(650px,52vw);
    min-height: 540px;
    position: relative;
    background: var(--surface-strong);
    overflow: hidden;
}
.hero-photo {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 57%;
    object-position: center 30%;
}
.hero-copy {
    position: relative;
    width: 43%;
    height: 100%;
    padding: 58px 0 34px 6.5%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    background: var(--surface-strong);
}
.eyebrow {
    font-size: 10px;
    letter-spacing: .17em;
    font-weight: 500;
}
.hero h1 {
    font-size: clamp(80px,8.9vw,138px);
    margin: 24px 0 25px;
    line-height: .86;
}
.hero h1 em {
    font-weight: 400;
}
.hero-copy p {
    line-height: 1.8;
    font-size: 14px;
}
.button {
    display: inline-flex;
    justify-content: space-between;
    gap: 35px;
    align-items: center;
    background: var(--ink);
    color: var(--paper);
    min-height: 50px;
    padding: 14px 23px;
    font-size: 12px;
    border: 1px solid var(--ink);
    transition: background .2s;
}
.button:hover {
    background: var(--ink-hover);
}
.button span {
    font-size: 20px;
    line-height: 1;
}
.hero .button {
    margin-top: 30px;
    min-width: 242px;
}
.hero-foot {
    display: flex;
    justify-content: space-between;
    width: 85%;
    margin-top: auto;
    padding-top: 25px;
    font-size: 9px;
    letter-spacing: .08em;
}
.hero-foot span:first-child {
    border-bottom: 1px solid;
    padding-bottom: 5px;
}
.hero-caption {
    position: absolute;
    right: 22px;
    bottom: 24px;
    color: #fff;
    font-size: 9px;
    letter-spacing: .18em;
    writing-mode: vertical-rl;
}
.service-strip {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}
.service-strip>span {
    padding: 0 46px;
    border-right: 1px solid var(--line);
}
.service-strip>span:last-child {
    border: 0;
}
.service-strip a {
    margin-left: 26px;
    font-size: 17px;
}
.section {
    padding: 95px 6.5%;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 34px;
    gap: 30px;
}
.section-heading h2 {
    font-size: 58px;
    margin-top: 17px;
}
.section-heading>p {
    color: var(--muted);
    font-size: 12px;
    padding-bottom: 5px;
    line-height: 1.9;
}
.category-composition {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    grid-template-rows: 410px auto;
    gap: 20px 26px;
}
.category-tile {
    position: relative;
    overflow: hidden;
    background: var(--surface-strong);
}
.category-tile img {
    height: 100%;
    transition: transform .7s;
    object-position: center 30%;
}
.category-tile:hover img {
    transform: scale(1.035);
}
.category-tile:after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent,#241a126e);
}
.tall {
    grid-row: span 2;
}
.tall img {
    object-position: center 40%;
}
.wide img {
    object-position: 65% center;
}
.tile-caption {
    position: absolute;
    z-index: 1;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: white;
}
.tile-caption span:not(.circle-arrow) {
    font-size: 9px;
    letter-spacing: .12em;
}
.tile-caption h3 {
    font-size: 46px;
    margin-top: 12px;
}
.circle-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid #ffffff85;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
}
.category-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 26px;
}
.category-links a {
    display: flex;
    justify-content: space-between;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.category-links a:hover {
    border-color: var(--ink);
}
.collection {
    padding-top: 12px;
}
.collection .section-heading h2 {
    font-size: 60px;
}
.text-link {
    padding: 0 0 5px;
    border-bottom: 1px solid var(--line-dark);
    display: inline-block;
    font-size: 12px;
    line-height: 1.6;
}
.tabs {
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
}
.tabs button {
    padding: 12px 0;
    font-size: 12px;
    border-bottom: 2px solid transparent;
}
.tabs button.active {
    border-color: var(--ink);
}
.tabs>span {
    margin-left: auto;
    color: var(--muted);
    font-size: 11px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 20px;
}
.product {
    min-width: 0;
}
.product-media {
    position: relative;
    overflow: hidden;
    background: var(--media);
}
.product-photo {
    aspect-ratio: 3/4;
    transition: transform .5s;
}
.photo-button {
    display: block;
    width: 100%;
    padding: 0;
}
.photo-button:hover .product-photo {
    transform: scale(1.03);
}
.favorite {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: color-mix(in srgb,var(--paper) 93%,transparent);
    display: grid;
    place-items: center;
}
.favorite svg {
    width: 18px;
}
.favorite[aria-pressed=true] svg {
    fill: var(--accent);
    stroke: var(--accent);
}
.product-tag {
    position: absolute;
    left: 12px;
    top: 14px;
    font-size: 8px;
    letter-spacing: .09em;
    background: var(--paper);
    padding: 4px 8px;
}
.product-category {
    font-size: 9px;
    color: var(--muted);
    margin-top: 16px;
    letter-spacing: .06em;
}
.product-name {
    font: 500 13px/1.5 var(--sans);
    display: block;
    text-align: left;
    padding: 5px 0 0;
    min-height: 43px;
}
.product-price {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    font-size: 13px;
    font-weight: 600;
}
.old-price {
    color: var(--muted);
    font-weight: 400;
    font-size: 11px;
    text-decoration: line-through;
}
.product-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 17px;
    font-size: 10px;
    color: var(--muted);
}
.swatch {
    height: 13px;
    width: 13px;
    display: inline-block;
    border-radius: 50%;
    outline: 1px solid var(--line-dark);
    outline-offset: 3px;
    margin: 0 4px;
    background: var(--swatch);
}
.buy {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line-strong);
    min-height: 42px;
    padding: 10px 13px;
    font-size: 11px;
    transition: all .2s;
}
.buy:hover {
    color: var(--paper);
    background: var(--ink);
    border-color: var(--ink);
}
.buy svg {
    width: 17px;
    height: 17px;
}
.empty {
    padding: 40px 0;
}
.ritual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface-strong);
}
.ritual-photo {
    position: relative;
    min-height: 640px;
    overflow: hidden;
}
.ritual-photo>img {
    height: 100%;
    position: absolute;
    object-position: 72% center;
}
.image-note {
    position: absolute;
    bottom: 26px;
    left: 30px;
    color: #fff;
    font-size: 9px;
    letter-spacing: .1em;
}
.ritual-copy {
    padding: 80px 13% 60px;
    align-self: center;
}
.ritual h2 {
    font-size: 61px;
    margin: 25px 0;
}
.ritual-copy>p {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 25px;
}
.mini-product {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--line-strong);
}
.mini-product>.product-photo {
    width: 96px;
    flex-shrink: 0;
}
.mini-product h4 {
    font-size: 12px;
    max-width: 220px;
    margin: 8px 0;
}
.mini-product p {
    font-size: 12px;
    margin-bottom: 10px;
}
.mini-product .text-link {
    font-size: 10px;
}
.details-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10%;
    padding-top: 110px;
    padding-bottom: 110px;
}
.detail-copy {
    padding-left: 8%;
}
.detail-copy h2 {
    font-size: 75px;
    margin: 22px 0;
}
.detail-copy>p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 25px;
}
.detail-row {
    display: flex;
    gap: 22px;
    border-top: 1px solid var(--line);
    padding: 18px 0;
}
.detail-row>span {
    font-size: 10px;
    color: var(--muted);
}
.detail-row h4 {
    font-size: 13px;
    margin-bottom: 4px;
}
.detail-row p {
    font-size: 11px;
    color: var(--muted);
}
.detail-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--media);
}
.detail-image .product-photo {
    transform: scale(1.7);
    transform-origin: 50% 20%;
    height: 100%;
}
.detail-image>span {
    position: absolute;
    bottom: 22px;
    left: 25px;
    font-size: 9px;
    letter-spacing: .15em;
    background: var(--paper);
    padding: 6px 10px;
}
.fit {
    margin: 0 6.5% 90px;
    padding: 45px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}
.fit h2 {
    font-size: 48px;
    margin-top: 20px;
}
.fit p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 22px;
}
.outline {
    background: transparent;
    color: var(--ink);
    min-width: 245px;
}
.outline:hover {
    color: var(--paper);
}
footer {
    background: var(--footer-bg);
    color: var(--footer-ink);
    padding: 55px 6.5% 25px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}
.footer-brand img {
    width: 150px;
    filter: grayscale(1) invert(1) contrast(2);
    mix-blend-mode: screen;
}
.footer-brand p {
    font-size: 11px;
    margin-top: 17px;
    color: var(--footer-muted);
}
.footer-top h4 {
    font-size: 11px;
    margin-bottom: 17px;
}
.footer-top a,.footer-top button {
    display: block;
    font-size: 10px;
    line-height: 2.5;
    color: var(--footer-muted);
    padding: 0;
    text-align: left;
}
.footer-statement {
    font: 400 clamp(40px,6.4vw,95px)/1.2 var(--serif);
    letter-spacing: -.03em;
    padding: 45px 0 35px;
    border-bottom: 1px solid #ffffff28;
    margin-top: 22px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    letter-spacing: .04em;
    color: var(--footer-muted);
    padding-top: 20px;
}
dialog {
    color: var(--ink);
    background: var(--paper);
    border: 0;
    padding: 0;
    max-height: 90dvh;
}
dialog::backdrop {
    background: #20180f88;
    backdrop-filter: blur(5px);
}
body:has(dialog[open]) {
    overflow: hidden;
}
.dialog-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid var(--line);
}
.dialog-top h2 {
    font-size: 34px;
}
.menu-dialog {
    width: 1000px;
    max-width: calc(100% - 60px);
}
.menu-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 45px;
    padding: 40px;
}
.menu-links>a {
    font: 32px/1.3 var(--serif);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
}
.menu-links>a span {
    font: 20px var(--sans);
}
.menu-small {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 25px;
    font-size: 11px;
}
.menu-feature {
    position: relative;
}
.menu-feature img {
    height: 100%;
    object-position: 65% center;
}
.menu-feature span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--paper);
    padding: 13px;
    font-size: 12px;
}
.quick-dialog {
    width: 890px;
    max-width: calc(100% - 50px);
    overflow: auto;
}
.quick-dialog[open] {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.dialog-close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
    background: color-mix(in srgb,var(--paper) 85%,transparent);
    border-radius: 50%;
}
.quick-photo {
    height: 100%;
    aspect-ratio: 3/4;
    min-height: 550px;
}
.quick-content {
    padding: 55px 35px 30px;
}
.quick-content h2 {
    font-size: 39px;
    line-height: 1.08;
    margin: 15px 0 22px;
}
.quick-price {
    font-size: 20px;
    margin-bottom: 20px;
}
.quick-color {
    font-size: 12px;
    margin-bottom: 35px;
}
.size-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    gap: 10px;
}
.size-top .text-link {
    font-size: 10px;
}
.sizes {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}
.sizes button {
    width: 47px;
    height: 44px;
    border: 1px solid var(--line);
}
.sizes button[aria-pressed=true] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.size-feedback {
    font-size: 10px;
    color: var(--muted);
    min-height: 35px;
}
.quick-action .button {
    width: 100%;
    margin: 10px 0 15px;
    gap: 15px;
}
.quick-action .text-link {
    font-size: 11px;
}
.utility-dialog {
    width: 560px;
    max-width: calc(100% - 30px);
}
#utility-content {
    padding: 28px 30px;
    font-size: 13px;
}
#utility-content p {
    margin-bottom: 15px;
}
#utility-content input {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--line);
    background: transparent;
    margin-bottom: 15px;
}
#utility-content ul {
    padding-left: 18px;
}
#utility-content .cart-line {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
#utility-content .cart-line button {
    font-size: 11px;
    border-bottom: 1px solid;
}
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: var(--ink);
    color: var(--paper);
    padding: 16px 25px;
    max-width: 90%;
    font-size: 12px;
    box-shadow: 0 6px 30px #0002;
}
.search-result {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
    text-align: left;
}
@media(min-width:1600px) {
    main,.category-nav,.header,footer {
        max-width: 1800px;
        margin-inline: auto;
    }
    .hero {
        height: 720px;
    }
}
@media(max-width:1000px) {
    .head-left,.head-right {
        gap: 10px;
    }
    .category-nav {
        gap: 22px;
    }
    .hero {
        min-height: 520px;
    }
    .hero-copy {
        padding-left: 5%;
        width: 46%;
    }
    .hero-photo {
        width: 54%;
    }
    .hero h1 {
        font-size: 95px;
    }
    .section {
        padding: 65px 5%;
    }
    .section-heading h2,.collection .section-heading h2 {
        font-size: 48px;
    }
    .category-composition {
        grid-template-rows: 330px auto;
    }
    .tile-caption h3 {
        font-size: 36px;
    }
    .product-grid {
        gap: 14px;
    }
    .ritual-copy {
        padding: 50px 9%;
    }
    .ritual h2 {
        font-size: 48px;
    }
    .ritual-photo {
        min-height: 570px;
    }
    .detail-copy {
        padding: 0;
    }
    .service-strip>span {
        padding: 0 23px;
    }
    .fit h2 {
        font-size: 39px;
    }
    .footer-top {
        gap: 25px;
    }
}
@media(max-width:650px) {
    html {
        scroll-padding-top: 75px;
    }
    .announcement {
        height: 25px;
        font-size: 8px;
        padding-top: 5px;
    }
    .announcement span,.desktop {
        display: none!important;
    }
    .header {
        height: 68px;
        padding: 0 12px;
    }
    .logo {
        width: 101px;
    }
    .head-left {
        flex: 1;
    }
    .head-right {
        gap: 0;
        flex: 1;
    }
    .icon {
        width: 40px;
        height: 44px;
        padding: 10px;
    }
    .bag {
        width: 46px;
        padding: 8px;
        gap: 4px;
    }
    .bag span {
        font-size: 9px;
    }
    .category-nav {
        display: none;
    }
    .hero {
        height: 660px;
        min-height: 0;
        max-height: calc(100svh - 93px);
        min-height: 540px;
    }
    .hero-photo {
        width: 100%;
        height: 100%;
        object-position: center 25%;
    }
    .hero:after {
        content: '';
        position: absolute;
        inset: 40% 0 0;
        background: linear-gradient(transparent,#1c1510d9);
    }
    .hero-copy {
        background: transparent;
        color: white;
        width: 100%;
        padding: 0 24px 30px;
        justify-content: flex-end;
        z-index: 1;
    }
    .hero-copy .eyebrow {
        font-size: 8px;
        letter-spacing: .14em;
        margin-bottom: 16px;
    }
    .hero h1 {
        font-size: 80px;
        margin: 0 0 16px;
        line-height: .83;
    }
    .hero h1 br {
        display: none;
    }
    .hero-copy p {
        font-size: 11px;
        line-height: 1.65;
    }
    .hero .button {
        margin-top: 22px;
        min-width: 220px;
        min-height: 46px;
        background: var(--paper);
        color: var(--ink);
        border-color: var(--paper);
        font-size: 11px;
    }
    .hero-foot,.hero-caption {
        display: none;
    }
    .service-strip {
        height: auto;
        padding: 18px 24px;
        justify-content: space-between;
        font-size: 9px;
        gap: 12px;
    }
    .service-strip>span {
        padding: 0;
        border: 0;
        max-width: 140px;
    }
    .service-strip>span:nth-child(2) {
        display: none;
    }
    .service-strip a {
        margin-left: 8px;
        font-size: 14px;
    }
    .section {
        padding: 52px 20px;
    }
    .section-heading {
        display: block;
        margin-bottom: 25px;
    }
    .section-heading h2,.collection .section-heading h2 {
        font-size: 42px;
        margin-top: 13px;
    }
    .section-heading>p {
        font-size: 11px;
        line-height: 1.7;
        margin-top: 18px;
    }
    .eyebrow {
        font-size: 8px;
        letter-spacing: .12em;
    }
    .category-composition {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px auto;
        gap: 13px;
    }
    .tall {
        grid-row: auto;
    }
    .wide img {
        object-position: 68% center;
    }
    .tile-caption {
        left: 14px;
        right: 14px;
        bottom: 18px;
    }
    .tile-caption span:not(.circle-arrow) {
        font-size: 7px;
    }
    .tile-caption h3 {
        font-size: 30px;
        line-height: 1;
        margin-top: 10px;
    }
    .circle-arrow {
        display: none;
    }
    .category-links {
        grid-column: 1/-1;
        gap: 0 20px;
    }
    .category-links a {
        font-size: 10px;
        padding: 13px 0;
    }
    .collection {
        padding-top: 8px;
    }
    .collection .section-heading>.text-link {
        font-size: 10px;
        margin-top: 18px;
    }
    .tabs {
        gap: 22px;
        margin-bottom: 20px;
    }
    .tabs button {
        font-size: 11px;
    }
    .tabs>span {
        display: none;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 12px;
    }
    .product-category {
        font-size: 8px;
        margin-top: 12px;
    }
    .product-name {
        font-size: 11px;
        min-height: 39px;
    }
    .product-price {
        font-size: 12px;
        margin: 8px 0;
    }
    .old-price {
        font-size: 10px;
    }
    .product-options {
        font-size: 9px;
        margin-bottom: 13px;
    }
    .product-tag {
        top: 9px;
        left: 8px;
        font-size: 6px;
        padding: 3px 5px;
    }
    .favorite {
        right: 6px;
        top: 6px;
        height: 31px;
        width: 31px;
    }
    .favorite svg {
        width: 16px;
        height: 16px;
    }
    .buy {
        min-height: 42px;
        font-size: 10px;
        padding: 10px;
    }
    .ritual {
        grid-template-columns: 1fr;
    }
    .ritual-photo {
        min-height: 0;
        aspect-ratio: 1.05;
    }
    .ritual-photo>img {
        object-position: 70% center;
    }
    .image-note {
        font-size: 7px;
        left: 20px;
        bottom: 18px;
    }
    .ritual-copy {
        padding: 36px 24px 40px;
    }
    .ritual h2 {
        font-size: 47px;
        margin: 18px 0;
    }
    .ritual-copy>p {
        font-size: 11px;
    }
    .ritual .text-link {
        font-size: 11px;
    }
    .mini-product {
        margin-top: 28px;
        padding-top: 23px;
    }
    .mini-product>.product-photo {
        width: 78px;
    }
    .details-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 55px;
        padding-bottom: 40px;
    }
    .detail-copy h2 {
        font-size: 57px;
        margin: 17px 0;
    }
    .detail-copy>p {
        font-size: 11px;
    }
    .detail-row {
        padding: 14px 0;
    }
    .detail-row p {
        font-size: 10px;
    }
    .detail-image {
        aspect-ratio: 1.2;
    }
    .fit {
        margin: 0 20px 45px;
        display: block;
        padding: 30px 0;
    }
    .fit h2 {
        font-size: 36px;
        line-height: 1.02;
        margin-top: 15px;
    }
    .fit p {
        font-size: 11px;
        margin: 20px 0;
    }
    .fit .button {
        font-size: 11px;
        min-height: 46px;
    }
    footer {
        padding: 40px 24px 22px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px 18px;
    }
    .footer-brand {
        grid-column: 1/-1;
    }
    .footer-brand img {
        width: 125px;
    }
    .footer-brand p {
        font-size: 10px;
    }
    .footer-top h4 {
        font-size: 11px;
        margin-bottom: 10px;
    }
    .footer-top a,.footer-top button {
        font-size: 10px;
        line-height: 2.6;
    }
    .footer-statement {
        font-size: 48px;
        line-height: 1;
        padding: 25px 0 30px;
        margin-top: 25px;
    }
    .footer-statement em {
        display: block;
    }
    .footer-bottom {
        flex-wrap: wrap;
        gap: 15px;
        font-size: 7px;
    }
    .footer-bottom span:last-child {
        width: 100%;
    }
    .menu-dialog {
        max-width: 100%;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
    }
    .dialog-top {
        padding: 15px 20px;
    }
    .menu-body {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .menu-links>a {
        font-size: 30px;
    }
    .menu-feature {
        height: 190px;
        overflow: hidden;
    }
    .menu-feature img {
        object-position: 70% 35%;
    }
    .quick-dialog {
        max-width: 100%;
        width: 100%;
        margin: auto 0 0;
        max-height: 94dvh;
        border-radius: 16px 16px 0 0;
    }
    .quick-dialog[open] {
        display: block;
    }
    .quick-photo {
        display: none;
    }
    .quick-content {
        padding: 30px 22px 15px;
    }
    .quick-content h2 {
        font-size: 34px;
        margin-right: 25px;
        margin-top: 13px;
    }
    .quick-price {
        font-size: 19px;
        margin-bottom: 15px;
    }
    .quick-color {
        margin-bottom: 25px;
    }
    .quick-action {
        position: sticky;
        bottom: 0;
        background: var(--paper);
        padding-top: 6px;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .size-top .text-link {
        font-size: 10px;
    }
    .utility-dialog {
        max-height: 90dvh;
    }
    .dialog-top h2 {
        font-size: 30px;
    }
    #utility-content {
        padding: 23px;
    }
    .toast {
        bottom: 16px;
        width: calc(100% - 32px);
        text-align: center;
        font-size: 11px;
    }
    .detail-image .product-photo {
        transform: scale(1.5);
    }
}
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none!important;
    }
}
.hero-photo {
    width: 100%;
    object-position: center 45%;
}
.hero-copy {
    background: transparent;
}
.category-product {
    height: 100%;
    aspect-ratio: auto;
}
.tall:after {
    background: linear-gradient(transparent,#21160ea3);
}
@media(max-width:650px) {
    .hero-photo {
        object-position: 65% center;
    }
    .hero-copy {
        background: transparent;
    }
    .hero h1 {
        max-width: 330px;
    }
    .hero h1 br {
        display: block;
    }
    .category-product {
        background-size: 200% 200%;
    }
}
.hero-photo {
    object-position: center top;
}
.logo img {
    filter: grayscale(1) contrast(1.3);
}
.wide img {
    object-position: center 28%;
}
@media(max-width:650px) {
    .hero-photo {
        object-position: 65% top;
    }
    .wide img {
        object-position: center top;
    }
}
.store-navigation {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--paper);
}
.store-navigation .header {
    position: relative;
    top: auto;
    border-bottom: 0;
}
.searchbox {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 280px;
    max-width: 90%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 11px;
}
.searchbox svg {
    width: 17px;
    height: 17px;
}
.searchbox span {
    flex: 1;
    color: var(--muted);
}
.searchbox small {
    font-size: 9px;
    color: var(--muted);
}
.mobile-catalog,.mobile-search {
    display: none;
}
.category-nav {
    padding: 0 4.5%;
    justify-content: space-between;
    gap: 18px;
    border-block: 1px solid var(--line);
    height: 54px;
}
.category-nav button {
    font-size: 12px;
    white-space: nowrap;
    padding: 14px 0;
}
.category-nav button:hover,.category-nav button[aria-expanded=true] {
    color: var(--link-hover);
}
.category-nav .catalog-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    padding-right: 30px;
    border-right: 1px solid var(--line);
}
.catalog-trigger svg {
    width: 17px;
    height: 17px;
}
.category-nav>a {
    white-space: nowrap;
    font-size: 11px;
}
.menu-dialog {
    position: fixed;
    inset: 0 0 auto;
    margin: var(--menu-top,172px) 0 0;
    max-width: 100%;
    width: 100%;
    max-height: calc(100dvh - var(--menu-top,172px));
    box-shadow: 0 18px 28px #30201414;
    overflow: auto;
}
.menu-dialog::backdrop {
    background: linear-gradient(to bottom,transparent 0 var(--menu-top,172px),#21180e26 var(--menu-top,172px));
    backdrop-filter: none;
}
.menu-dialog .dialog-top {
    padding: 7px 4.5%;
    border-bottom: 0;
}
.catalog-body {
    padding: 0 6.5% 28px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 65px;
}
.catalog-body h3 {
    font-size: 28px;
    margin: 8px 0 16px;
}
.catalog-sections>button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px 8px 0;
    font-size: 12px;
    text-align: left;
}
.catalog-sections>button.active {
    font-weight: 700;
    color: var(--link-hover);
}
.catalog-sections>button:hover {
    background: color-mix(in srgb,var(--surface) 60%,transparent);
}
.catalog-subcategories>a {
    display: block;
    padding: 7px 0;
    font-size: 12px;
}
.catalog-subcategories .catalog-note {
    font-size: 10px;
    color: var(--muted);
    margin-top: 18px;
    max-width: 220px;
}
.catalog-feature {
    display: block;
    background: var(--surface);
}
.catalog-feature .product-photo {
    height: 170px;
    aspect-ratio: auto;
    background-size: 200% 400%;
    background-position: 0 0;
}
.catalog-feature>div:last-child {
    padding: 17px 22px;
}
.catalog-feature h3 {
    font-size: 27px;
    margin: 7px 0 14px;
}
.catalog-help {
    border-top: 1px solid var(--line);
    padding: 14px 6.5%;
    display: flex;
    gap: 35px;
    font-size: 11px;
}
.catalog-subcategories>a:hover {
    text-decoration: underline;
}
html {
    scroll-padding-top: 160px;
}
@media(max-width:1000px) and (min-width:651px) {
    .category-nav {
        gap: 12px;
        padding: 0 3%;
    }
    .category-nav button,.category-nav>a {
        font-size: 10px;
    }
    .category-nav .catalog-trigger {
        padding-right: 18px;
        gap: 8px;
    }
    .catalog-body {
        gap: 25px;
        padding-inline: 4.5%;
    }
    .searchbox {
        width: 240px;
    }
}
@media(max-width:650px) {
    .store-navigation .header {
        height: 68px;
        border-bottom: 1px solid var(--line);
    }
    .searchbox {
        display: none;
    }
    .mobile-search {
        display: inline-flex;
    }
    .mobile-catalog {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 9px 0;
        font-size: 10px;
        min-height: 44px;
    }
    .mobile-catalog svg {
        width: 19px;
        height: 19px;
    }
    .head-left {
        flex: 1.2;
    }
    .head-right {
        flex: 1.2;
    }
    .logo {
        width: 92px;
    }
    .category-nav {
        display: flex;
        overflow-x: auto;
        justify-content: flex-start;
        height: 43px;
        gap: 23px;
        padding: 0 17px;
        scrollbar-width: none;
    }
    .category-nav::-webkit-scrollbar {
        display: none;
    }
    .category-nav .catalog-trigger,.category-nav>a {
        display: none;
    }
    .category-nav button {
        font-size: 10px;
        padding: 11px 0;
    }
    .menu-dialog {
        margin: 0;
        inset: 0;
        max-height: 100dvh;
        height: 100dvh;
    }
    .menu-dialog::backdrop {
        background: #21180e33;
    }
    .menu-dialog .dialog-top {
        padding: 12px 20px;
        border-bottom: 1px solid var(--line);
        position: sticky;
        top: 0;
        background: var(--paper);
        z-index: 1;
    }
    .catalog-body {
        display: flex;
        flex-direction: column;
        gap: 23px;
        padding: 15px 24px 25px;
    }
    .catalog-body h3 {
        font-size: 30px;
    }
    .catalog-sections>button {
        font-size: 14px;
        padding: 11px 0;
        border-bottom: 1px solid var(--line);
    }
    .catalog-subcategories {
        padding: 0 0 8px;
    }
    .catalog-subcategories>a {
        font-size: 13px;
        padding: 10px 0;
    }
    .catalog-subcategories .catalog-note {
        max-width: none;
    }
    .catalog-feature {
        display: none;
    }
    .catalog-help {
        padding: 20px 24px;
        gap: 28px;
    }
    .hero {
        max-height: calc(100svh - 136px);
        min-height: 510px;
    }
    html {
        scroll-padding-top: 130px;
    }
}
@media(max-width:650px) {
    .header .account-link {
        display: none;
    }
}
.catalog-help {
    flex-wrap: wrap;
}

/* ===== Catalog ===== */

.catalog-page {
    padding: 0 6.5%;
}
.breadcrumbs {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--muted);
    padding: 25px 0;
}
.breadcrumbs a {
    text-decoration: underline;
}
.catalog-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0 35px;
}
.catalog-intro h1 {
    font-size: 82px;
    margin-top: 15px;
}
.catalog-intro>p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
}
.category-chips {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding: 0 0 30px;
    scrollbar-width: thin;
}
.category-chips button {
    white-space: nowrap;
    border: 1px solid var(--line);
    padding: 11px 18px;
    font-size: 11px;
}
.category-chips button[aria-pressed=true] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.catalog-workspace {
    border-top: 1px solid var(--line);
    padding-top: 27px;
    display: grid;
    grid-template-columns: 215px minmax(0,1fr);
    gap: 40px;
    padding-bottom: 65px;
}
.filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 23px;
}
.filter-heading h2 {
    font: 500 18px var(--sans);
}
.filter-heading button {
    font-size: 10px;
    text-decoration: underline;
    color: var(--muted);
}
.filter-group {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.filter-group summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
}
.filter-group summary:after {
    content: '−';
    font-weight: 400;
}
.filter-group:not([open]) summary:after {
    content: '+';
}
.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin: 13px 0;
    cursor: pointer;
}
.filter-group input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: var(--ink);
    margin: 0;
}
.filter-group label span:last-child {
    color: var(--muted);
    font-size: 10px;
    margin-left: auto;
}
.price-fields {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}
.price-fields label {
    display: block;
    margin: 0;
    font-size: 10px;
    color: var(--muted);
    flex: 1;
    min-width: 0;
}
.price-fields input {
    display: block;
    width: 100%;
    padding: 10px 9px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 12px;
    margin-top: 5px;
}
.filter-hint {
    font-size: 10px;
    color: var(--muted);
    margin-top: 9px;
}
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 39px;
}
.catalog-toolbar p {
    font-size: 12px;
}
.catalog-toolbar label {
    font-size: 10px;
    color: var(--muted);
}
.catalog-toolbar select {
    font: 11px var(--sans);
    color: var(--ink);
    padding: 10px 20px 10px 8px;
    border: 0;
    background: transparent;
    max-width: 205px;
}
.catalog-results .product-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 30px 18px;
}
.active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0 25px;
    min-height: 1px;
}
.active-filters button {
    font-size: 10px;
    border: 1px solid var(--line);
    padding: 6px 10px;
    background: var(--surface);
}
.active-filters button:last-child {
    background: none;
}
.catalog-results .product-name {
    font-size: 12px;
    min-height: 42px;
}
.pager-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 38px;
    padding-top: 23px;
    border-top: 1px solid var(--line);
    gap: 15px;
}
.pager-line>span {
    font-size: 10px;
    color: var(--muted);
}
#pager {
    display: flex;
    gap: 5px;
}
#pager a {
    min-width: 38px;
    min-height: 38px;
    display: grid;
    place-items: center;
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 5px 10px;
}
#pager a[aria-current=page] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.catalog-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--surface);
}
.catalog-empty h2 {
    font-size: 38px;
}
.catalog-empty p {
    font-size: 12px;
    margin: 18px 0 25px;
}
.catalog-faq {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    border-top: 1px solid var(--line);
    padding: 65px 0;
}
.catalog-faq h2 {
    font-size: 49px;
    margin: 20px 0 25px;
}
.catalog-faq details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
.catalog-faq summary {
    font-size: 13px;
    cursor: pointer;
}
.catalog-faq details p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
    margin-top: 14px;
}
.catalog-seo {
    padding: 45px 0 65px;
    border-top: 1px solid var(--line);
    max-width: 980px;
}
.catalog-seo h2 {
    font-size: 36px;
    margin: 18px 0;
}
.catalog-seo p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
}
.catalog-seo details {
    margin-top: 15px;
}
.catalog-seo summary {
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    margin-bottom: 15px;
}
.mobile-filter-button {
    display: none;
}
#filter-dialog {
    width: 440px;
    max-width: 100%;
    margin: 0 0 0 auto;
    height: 100dvh;
    max-height: 100dvh;
}
#mobile-filters {
    padding: 15px 24px 95px;
}
.filter-apply {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    background: var(--paper);
    border-top: 1px solid var(--line);
}
.filter-apply>button:first-child {
    font-size: 12px;
    text-decoration: underline;
}
.filter-apply .button {
    min-width: 210px;
    justify-content: center;
}
@media(max-width:1000px) {
    .catalog-page {
        padding-inline: 4%;
    }
    .catalog-workspace {
        grid-template-columns: 180px minmax(0,1fr);
        gap: 23px;
    }
    .catalog-intro h1 {
        font-size: 70px;
    }
    .catalog-results .product-grid {
        gap: 25px 12px;
    }
    .catalog-toolbar label {
        font-size: 0;
    }
    .catalog-toolbar select {
        font-size: 11px;
    }
    .catalog-faq {
        gap: 30px;
    }
    .catalog-faq h2 {
        font-size: 43px;
    }
}
@media(max-width:760px) {
    .catalog-page {
        padding-inline: 20px;
    }
    .breadcrumbs {
        font-size: 10px;
        padding: 20px 0;
    }
    .catalog-intro {
        display: block;
        padding: 12px 0 25px;
    }
    .catalog-intro h1 {
        font-size: 57px;
    }
    .catalog-intro>p {
        font-size: 11px;
        margin-top: 17px;
    }
    .catalog-intro>p br {
        display: none;
    }
    .category-chips {
        gap: 8px;
        padding-bottom: 22px;
    }
    .category-chips button {
        font-size: 10px;
        padding: 10px 14px;
    }
    .catalog-workspace {
        display: block;
        padding-top: 16px;
        padding-bottom: 40px;
    }
    #desktop-filters {
        display: none;
    }
    .catalog-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .mobile-filter-button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid var(--line);
        padding: 12px;
        font-size: 12px;
        min-height: 44px;
    }
    .catalog-toolbar>p {
        grid-row: 2;
        grid-column: 1/-1;
        font-size: 10px;
        margin-top: 8px;
    }
    .catalog-toolbar label {
        border: 1px solid var(--line);
        height: 44px;
        display: flex;
        align-items: center;
    }
    .catalog-toolbar select {
        width: 100%;
        font-size: 10px;
        max-width: none;
        padding-right: 6px;
    }
    .active-filters {
        margin: 12px 0 20px;
    }
    .catalog-results .product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 28px 12px;
    }
    .catalog-results .product-name {
        font-size: 11px;
        min-height: 44px;
    }
    .pager-line {
        display: block;
        margin-top: 27px;
        padding-top: 20px;
    }
    .pager-line>span {
        display: block;
        text-align: center;
        margin-bottom: 18px;
    }
    #pager {
        justify-content: center;
    }
    .catalog-faq {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 40px 0;
    }
    .catalog-faq h2 {
        font-size: 40px;
        margin-top: 15px;
    }
    .catalog-faq summary {
        font-size: 12px;
    }
    .catalog-seo {
        padding: 35px 0 45px;
    }
    .catalog-seo h2 {
        font-size: 31px;
        line-height: 1.1;
    }
    .catalog-empty {
        padding: 45px 15px;
    }
    .catalog-empty h2 {
        font-size: 31px;
    }
}

/* ===== Product page ===== */

[hidden] {
    display: none!important;
}
.pdp {
    padding: 0 6.5%;
}
.pdp-breadcrumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 10px;
    color: var(--muted);
    padding: 24px 0;
}
.pdp-breadcrumbs a:hover {
    text-decoration: underline;
}
.pdp-top {
    display: grid;
    grid-template-columns: minmax(0,1.12fr) minmax(0,1fr);
    gap: 65px;
    align-items: start;
    padding: 8px 0 70px;
}
.gallery {
    display: grid;
    grid-template-columns: 62px minmax(0,1fr);
    gap: 15px;
    position: sticky;
    top: 168px;
}
.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gallery-thumbs button {
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    outline-offset: 3px;
}
.gallery-thumbs button[aria-pressed=true] {
    outline: 1px solid var(--ink);
}
.gallery-thumbs .product-photo {
    display: block;
    aspect-ratio: 3/4;
}
.gallery-stage {
    position: relative;
    background: var(--media);
    overflow: hidden;
}
.gallery-stage #photo-zoom {
    display: block;
    padding: 0;
    width: 100%;
    overflow: hidden;
    cursor: zoom-in;
}
.gallery-stage #main-photo {
    aspect-ratio: 3/4;
}
.gallery-tag {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 9px;
    letter-spacing: .1em;
    background: var(--paper);
    padding: 5px 10px;
}
.gallery-zoom {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 40px;
    height: 40px;
    background: var(--paper);
    border-radius: 50%;
    font-size: 23px;
}
.gallery-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 10px;
    gap: 10px;
}
.gallery-bottom>div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gallery-bottom button {
    width: 34px;
    height: 34px;
    font-size: 17px;
}
.crop-upper {
    transform: scale(1.8);
    transform-origin: 50% 15%;
}
.crop-detail {
    transform: scale(2.6);
    transform-origin: 60% 30%;
}
.pdp-overline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 5px;
}
.pdp-overline>span:last-child {
    font-size: 10px;
    color: var(--muted);
}
.pdp-info h1 {
    font-size: 52px;
    line-height: 1.04;
    margin: 20px 0;
}
.pdp-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.pdp-price-row>p {
    font-size: 25px;
    font-weight: 500;
}
.pdp-price-row>a {
    font-size: 11px;
    color: var(--muted);
    text-decoration: underline;
}
.pdp-intro {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    margin: 23px 0 25px;
    max-width: 390px;
}
.pdp-color {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}
.pdp-color strong {
    font-weight: 500;
}
.pdp-color .swatch {
    width: 17px;
    height: 17px;
}
.pdp-size-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 10px 0 14px;
    scroll-margin-top: 175px;
}
.pdp-size-header>label {
    font-size: 12px;
}
.pdp-size-header .text-link {
    font-size: 10px;
}
.pdp-sizes {
    display: flex;
    gap: 10px;
}
.pdp-sizes button {
    min-width: 49px;
    height: 45px;
    border: 1px solid var(--line);
    padding: 8px;
    font-size: 12px;
}
.pdp-sizes button[aria-pressed=true] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.pdp-feedback {
    font-size: 10px;
    color: var(--muted);
    min-height: 38px;
    padding: 12px 0;
}
.pdp-feedback.error {
    color: var(--error);
}
.pdp-purchase {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    flex-shrink: 0;
}
.quantity button {
    width: 32px;
    height: 50px;
    font-size: 18px;
}
.quantity output {
    width: 20px;
    text-align: center;
    font-size: 12px;
}
.pdp-purchase>.button {
    flex: 1;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 12px;
}
.pdp-favorite {
    width: 50px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.pdp-favorite[aria-pressed=true] svg {
    fill: var(--ink);
}
.purchase-note {
    font-size: 9px;
    color: var(--muted);
    margin: 10px 0 25px;
}
.pdp-services {
    padding: 20px 0;
    border-block: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pdp-services>div {
    display: flex;
    gap: 10px;
}
.pdp-services>div>span {
    font-size: 9px;
    color: var(--muted);
}
.pdp-services strong {
    font-size: 11px;
    font-weight: 500;
}
.pdp-services p {
    font-size: 9px;
    line-height: 1.7;
    color: var(--muted);
    margin-top: 4px;
}
.pdp-accordions details {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}
.pdp-accordions summary {
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    list-style: none;
}
.pdp-accordions summary:after {
    content: '+';
    font-size: 16px;
}
.pdp-accordions details[open] summary:after {
    content: '−';
}
.pdp-accordions p {
    font-size: 11px;
    line-height: 1.9;
    color: var(--muted);
    margin-top: 13px;
}
.pdp-accordions dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 11px;
    gap: 10px;
}
.pdp-accordions dt {
    color: var(--muted);
}
.pdp-accordions dd {
    margin: 0;
}
.pdp-detail-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface-strong);
    margin: 10px 0 75px;
    min-height: 370px;
}
.detail-crop {
    position: relative;
    overflow: hidden;
    min-height: 370px;
}
.detail-crop .product-photo {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    transform: scale(2.1);
    transform-origin: center 18%;
}
.detail-crop>span {
    position: absolute;
    bottom: 23px;
    left: 25px;
    font-size: 8px;
    letter-spacing: .15em;
    background: var(--paper);
    padding: 6px 10px;
}
.pdp-detail-story>div:last-child {
    padding: 55px 12%;
    align-self: center;
}
.pdp-detail-story h2 {
    font-size: 47px;
    line-height: 1.04;
    margin: 24px 0;
}
.pdp-detail-story p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 25px;
}
.pdp-reviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    border-bottom: 1px solid var(--line);
    padding: 10px 0 60px;
    align-items: center;
}
.pdp-reviews h2 {
    font-size: 51px;
    margin-top: 20px;
}
.pdp-reviews h3 {
    font: 500 16px/1.5 var(--sans);
}
.pdp-reviews p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
    margin: 14px 0;
}
.pdp-reviews span {
    font-size: 10px;
    color: var(--muted);
}
.pdp-related {
    padding: 65px 0 80px;
}
.pdp-related h2 {
    font-size: 51px;
}
.pdp-related .product-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.pdp-sticky {
    display: none;
}
.photo-dialog {
    width: min(700px,90vw);
    max-height: 94dvh;
    overflow: hidden;
    background: var(--media);
}
.photo-dialog .product-photo {
    height: 82dvh;
    max-height: 900px;
    aspect-ratio: auto;
}
.photo-dialog>p {
    position: relative;
    font-size: 11px;
    text-align: center;
    background: var(--paper);
    padding: 14px;
}
.photo-dialog .dialog-close {
    z-index: 3;
}
@media(max-width:1050px) {
    .pdp {
        padding-inline: 4%;
    }
    .pdp-top {
        gap: 30px;
    }
    .gallery {
        grid-template-columns: 44px minmax(0,1fr);
        gap: 10px;
    }
    .pdp-info h1 {
        font-size: 43px;
    }
    .pdp-services {
        grid-template-columns: 1fr;
    }
    .pdp-detail-story h2 {
        font-size: 39px;
    }
    .pdp-purchase {
        flex-wrap: wrap;
    }
    .pdp-purchase>.button {
        min-width: 160px;
    }
    .pdp-related h2 {
        font-size: 43px;
    }
}
@media(max-width:760px) {
    .pdp {
        padding: 0 20px;
    }
    .pdp-breadcrumbs {
        font-size: 9px;
        padding: 19px 0;
        gap: 7px;
    }
    .pdp-breadcrumbs>span:last-child {
        max-width: 160px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .pdp-top {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 0;
        padding-bottom: 40px;
    }
    .gallery {
        position: relative;
        top: auto;
        display: flex;
        flex-direction: column-reverse;
        gap: 12px;
    }
    .gallery-thumbs {
        flex-direction: row;
        gap: 10px;
    }
    .gallery-thumbs>button {
        width: 47px;
        height: 60px;
    }
    .gallery-stage #main-photo {
        aspect-ratio: 1/1.13;
    }
    .gallery-tag {
        left: 14px;
        top: 14px;
        font-size: 8px;
    }
    .gallery-bottom {
        font-size: 9px;
        padding: 6px 10px;
    }
    .gallery-zoom {
        width: 36px;
        height: 36px;
        top: 10px;
        right: 10px;
    }
    .pdp-overline {
        margin-top: 0;
    }
    .pdp-info h1 {
        font-size: 43px;
        margin: 17px 0;
    }
    .pdp-price-row>p {
        font-size: 23px;
    }
    .pdp-intro {
        font-size: 12px;
        margin: 20px 0;
    }
    .pdp-color {
        padding: 17px 0;
    }
    .pdp-size-header {
        scroll-margin-top: 145px;
    }
    .pdp-sizes button {
        min-width: 52px;
        height: 46px;
    }
    .pdp-purchase {
        flex-wrap: nowrap;
    }
    .pdp-purchase>.button {
        min-width: 0;
        padding: 12px 16px;
    }
    .quantity button {
        width: 29px;
    }
    .pdp-favorite {
        width: 46px;
    }
    .pdp-services {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .pdp-services strong {
        font-size: 10px;
    }
    .pdp-services p {
        font-size: 9px;
    }
    .pdp-accordions summary {
        font-size: 12px;
    }
    .pdp-accordions p {
        font-size: 12px;
    }
    .pdp-detail-story {
        margin: 0 -20px 40px;
        grid-template-columns: 1fr;
    }
    .detail-crop {
        min-height: 300px;
    }
    .pdp-detail-story>div:last-child {
        padding: 35px 25px 40px;
    }
    .pdp-detail-story h2 {
        font-size: 41px;
        margin: 18px 0;
    }
    .pdp-detail-story p {
        font-size: 11px;
    }
    .pdp-reviews {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 0 35px;
    }
    .pdp-reviews h2 {
        font-size: 42px;
        margin-top: 15px;
    }
    .pdp-reviews h3 {
        font-size: 14px;
    }
    .pdp-reviews p {
        font-size: 11px;
    }
    .pdp-related {
        padding: 40px 0 50px;
    }
    .pdp-related .section-heading {
        margin-bottom: 24px;
    }
    .pdp-related h2 {
        font-size: 39px;
    }
    .pdp-related .section-heading>a {
        margin-top: 18px;
        font-size: 11px;
    }
    .pdp-related .product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 25px 12px;
    }
    .pdp-related .product:last-child {
        display: none;
    }
    .pdp-sticky {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 25;
        background: var(--paper);
        border-top: 1px solid var(--line);
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        gap: 15px;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 -6px 25px #392c1f0b;
    }
    .pdp-sticky>div {
        min-width: 0;
        flex: 1;
    }
    .pdp-sticky span {
        display: block;
        font-size: 9px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 155px;
    }
    .pdp-sticky strong {
        font-size: 15px;
        display: block;
        margin-top: 2px;
        font-weight: 500;
    }
    .pdp-sticky .button {
        padding: 12px 17px;
        min-height: 46px;
        min-width: 159px;
        font-size: 11px;
        justify-content: center;
    }
    .pdp-sticky.is-hidden {
        display: none;
    }
    body:has(.pdp) footer {
        padding-bottom: 100px;
    }
    .photo-dialog {
        width: 100%;
        max-width: 100%;
        max-height: 100dvh;
        height: 100dvh;
        margin: 0;
    }
    .photo-dialog .product-photo {
        height: calc(100dvh - 55px);
    }
    .photo-dialog>p {
        padding: 18px;
    }
    .toast {
        bottom: 90px;
    }
    body:has(dialog[open]) .pdp-sticky {
        display: none;
    }
}

/* ===== Cart, checkout, order ===== */

.flow-header {
    height: 105px;
    padding: 0 6.5%;
    display: grid;
    grid-template-columns: 1fr 140px 1fr;
    align-items: center;
    border-bottom: 1px solid var(--line);
}
.flow-header>a:first-child {
    font-size: 12px;
}
.flow-header>span {
    text-align: right;
    font-size: 11px;
    color: var(--muted);
}
.flow-main {
    padding: 0 6.5%;
    max-width: 1600px;
    margin: auto;
    min-height: 70vh;
}
.flow-steps {
    display: flex;
    align-items: center;
    gap: 23px;
    font-size: 11px;
    padding: 28px 0;
    color: var(--muted);
}
.flow-steps .current {
    color: var(--ink);
    font-weight: 700;
}
.flow-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 0;
}
.flow-heading h1 {
    font-size: 68px;
    margin-top: 16px;
    line-height: 1.02;
}
.flow-heading>p {
    font-size: 12px;
    color: var(--muted);
}
.flow-layout {
    display: grid;
    grid-template-columns: minmax(0,1.6fr) minmax(310px,1fr);
    gap: 65px;
    padding-bottom: 40px;
}
.cart-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 25px;
    padding: 25px 0;
    border-top: 1px solid var(--line);
}
.cart-row .product-photo {
    display: block;
}
.cart-item-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
}
.cart-item-head h2 {
    font: 500 15px/1.5 var(--sans);
    max-width: 300px;
}
.remove-line {
    font-size: 11px;
    color: var(--muted);
    padding: 0;
    text-decoration: underline;
}
.cart-color {
    font-size: 11px;
    color: var(--muted);
    margin: 8px 0 17px;
}
.cart-options {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 11px;
}
.cart-options select {
    padding: 7px;
    border: 1px solid var(--line);
    background: transparent;
    margin-left: 7px;
    font-size: 11px;
}
.stepper {
    display: flex;
    border: 1px solid var(--line);
    align-items: center;
}
.stepper button {
    width: 32px;
    height: 34px;
    font-size: 17px;
}
.stepper output {
    width: 23px;
    text-align: center;
    font-size: 12px;
}
.cart-item-total {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 19px;
    font-size: 15px;
    font-weight: 600;
}
.cart-item-total small {
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
}
.order-summary {
    background: var(--surface);
    padding: 30px;
    align-self: start;
    position: sticky;
    top: 25px;
}
.order-summary h2 {
    font: 400 34px/1.1 var(--serif);
    margin-bottom: 24px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    font-size: 12px;
    padding: 10px 0;
}
.summary-row>span:last-child {
    text-align: right;
}
.summary-row small {
    font-size: 10px;
    display: block;
    color: var(--muted);
}
.summary-total {
    border-top: 1px solid var(--line-strong);
    margin-top: 12px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}
.summary-total strong {
    font-size: 24px;
    font-weight: 500;
}
.order-summary>.button {
    display: flex;
    justify-content: space-between;
    margin: 24px 0 15px;
    width: 100%;
}
.summary-note {
    font-size: 10px;
    line-height: 1.8;
    color: var(--muted);
    margin: 13px 0;
}
.summary-services {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line-strong);
    margin-top: 22px;
    padding-top: 18px;
    font-size: 10px;
}
.cart-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 25px 0 65px;
    font-size: 11px;
}
.cart-bottom span {
    color: var(--muted);
}
.flow-empty {
    text-align: center;
    padding: 65px 20px 100px;
}
.empty-mark {
    font: 50px var(--serif);
}
.flow-empty h2 {
    font-size: 58px;
    margin: 18px 0;
}
.flow-empty p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 25px;
}
.flow-footer {
    background: var(--paper);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    padding: 30px 6.5%;
    font-size: 10px;
    border-top: 1px solid var(--line);
}
.form-section {
    padding: 25px 0 30px;
    border-top: 1px solid var(--line);
}
.form-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 25px;
}
.form-heading>span {
    font-size: 11px;
    color: var(--muted);
}
.form-heading h2 {
    font: 400 35px/1.1 var(--serif);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
}
.form-grid .full {
    grid-column: 1/-1;
}
:where(.flow-main) form label {
    display: block;
    font-size: 12px;
}
:where(.flow-main) form label>span {
    color: var(--muted);
    font-size: 10px;
    margin-left: 6px;
}
:where(.flow-main) form input:not([type=radio]):not([type=checkbox]),:where(.flow-main) form select,:where(.flow-main) form textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 13px 12px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    font: 13px var(--sans);
    color: var(--ink);
    min-height: 46px;
}
:where(.flow-main) form input:focus,:where(.flow-main) form select:focus,:where(.flow-main) form textarea:focus {
    outline: 1px solid var(--ink);
    outline-offset: 1px;
}
:where(.flow-main) form small {
    font-size: 10px;
    color: var(--muted);
    display: block;
    margin-top: 6px;
}
.carrier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--line);
    padding: 15px;
    margin-bottom: 20px;
    font-size: 12px;
}
.carrier span {
    font-size: 10px;
    color: var(--muted);
}
.delivery-types {
    margin: 0 0 20px;
    border: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
.delivery-types legend {
    font-size: 11px;
    margin-bottom: 12px;
}
.delivery-types label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
}
:where(.flow-main) input[type=radio],:where(.flow-main) input[type=checkbox] {
    accent-color: var(--ink);
    width: 16px;
    height: 16px;
}
.field-note {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.8;
    margin-top: 13px;
}
.payment-choice {
    display: flex;
    align-items: start;
    gap: 15px;
    border: 1px solid var(--ink);
    padding: 18px;
}
.payment-choice strong {
    font-size: 12px;
    font-weight: 500;
}
.payment-choice p {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.8;
    margin-top: 8px;
}
.radio-dot {
    width: 15px;
    height: 15px;
    border: 4px solid var(--ink);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}
.pay-brand {
    font-size: 14px;
    font-weight: 600;
    margin-left: auto;
}
.consent {
    display: flex;
    align-items: start;
    gap: 9px;
    margin: 23px 0;
    line-height: 1.8;
}
.consent>span {
    font-size: 11px;
    margin: 0;
    color: var(--ink);
}
.consent button {
    padding: 0;
    text-decoration: underline;
    font-size: inherit;
}
.checkout-submit {
    width: 100%;
}
.form-error {
    color: var(--error);
    font-size: 12px;
    margin-bottom: 15px;
}
.mini-line {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    gap: 12px;
    font-size: 11px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-strong);
}
.mini-line h3 {
    font: 500 11px/1.6 var(--sans);
}
.mini-line p {
    font-size: 10px;
    color: var(--muted);
    margin-top: 5px;
}
.mini-line>strong {
    font-size: 11px;
    font-weight: 500;
}
.summary-edit {
    display: inline-block;
    font-size: 10px;
    border-bottom: 1px solid;
    margin: 15px 0;
}
.result-heading {
    text-align: center;
    padding: 45px 0 35px;
}
.result-icon {
    display: inline-grid;
    place-items: center;
    width: 55px;
    height: 55px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 23px;
}
.result-heading h1 {
    font-size: 62px;
    margin: 15px 0;
}
.result-heading p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
}
.result-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto 65px;
}
.result-card {
    border: 1px solid var(--line);
    padding: 28px;
}
.result-card h2 {
    font: 400 30px var(--serif);
    margin-bottom: 20px;
}
.result-card p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 14px;
}
.result-card .button {
    width: 100%;
    margin-top: 15px;
}
.result-label {
    font-size: 10px;
    color: var(--muted);
    display: block;
    margin-bottom: 4px;
}
.payment-simulator {
    border: 1px dashed var(--line-strong);
    padding: 18px;
    margin-top: 20px;
    font-size: 11px;
}
.payment-simulator p {
    font-size: 11px;
}
.payment-simulator button {
    display: block;
    border: 1px solid var(--line);
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    text-align: left;
}
.status-note {
    font-size: 10px!important;
    color: var(--muted);
}
#flow-dialog {
    width: 500px;
    max-width: calc(100% - 30px);
}
#flow-dialog h2 {
    font-size: 28px;
}
#dialog-body {
    padding: 25px;
    font-size: 13px;
    line-height: 1.9;
}
@media(max-width:1000px) {
    .flow-layout {
        gap: 30px;
        grid-template-columns: 1.3fr 1fr;
    }
    .flow-heading h1 {
        font-size: 54px;
    }
    .cart-row {
        grid-template-columns: 85px 1fr;
        gap: 15px;
    }
    .cart-item-head h2 {
        font-size: 13px;
    }
    .cart-options {
        gap: 10px;
    }
    .order-summary {
        padding: 24px;
    }
}
@media(max-width:700px) {
    .flow-header {
        height: 80px;
        padding: 0 20px;
        grid-template-columns: 1fr 100px 1fr;
    }
    .flow-header>span {
        display: none;
    }
    .flow-header>a:first-child {
        font-size: 10px;
    }
    .flow-header .logo {
        width: 100px;
    }
    .flow-main {
        padding: 0 20px;
    }
    .flow-steps {
        font-size: 9px;
        gap: 10px;
        padding: 20px 0;
    }
    .flow-heading {
        display: block;
        padding: 27px 0;
    }
    .flow-heading h1 {
        font-size: 46px;
        margin-top: 13px;
    }
    .flow-heading>p {
        font-size: 11px;
        margin-top: 16px;
    }
    .flow-layout {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding-bottom: 30px;
    }
    .order-summary {
        position: static;
        width: 100%;
        padding: 25px;
    }
    .cart-row {
        grid-template-columns: 88px 1fr;
        gap: 15px;
        padding: 22px 0;
    }
    .cart-item-head {
        display: block;
    }
    .cart-item-head h2 {
        font-size: 12px;
    }
    .remove-line {
        font-size: 9px;
        margin-top: 9px;
    }
    .cart-color {
        font-size: 10px;
        margin: 10px 0;
    }
    .cart-options {
        gap: 10px;
        flex-wrap: wrap;
        font-size: 10px;
    }
    .stepper button {
        width: 30px;
        height: 32px;
    }
    .cart-item-total {
        margin-top: 13px;
        font-size: 14px;
    }
    .cart-item-total small {
        font-size: 8px;
    }
    .cart-bottom {
        display: block;
        padding-bottom: 40px;
    }
    .cart-bottom span {
        display: block;
        font-size: 10px;
        margin-top: 15px;
    }
    .flow-footer {
        padding: 25px 20px;
        gap: 20px;
        flex-wrap: wrap;
        font-size: 9px;
    }
    .flow-footer>span:nth-child(2) {
        display: none;
    }
    .form-heading h2 {
        font-size: 31px;
    }
    .form-grid {
        gap: 18px 12px;
    }
    :where(.flow-main) form label {
        font-size: 11px;
    }
    :where(.flow-main) form input:not([type=radio]):not([type=checkbox]),:where(.flow-main) form select,:where(.flow-main) form textarea {
        font-size: 16px;
        padding: 11px 9px;
    }
    .delivery-types {
        gap: 13px;
        flex-wrap: wrap;
    }
    .delivery-types label {
        font-size: 10px;
    }
    .carrier span {
        font-size: 9px;
    }
    .payment-choice {
        padding: 15px;
        gap: 10px;
    }
    .pay-brand {
        font-size: 12px;
    }
    .flow-empty {
        padding: 50px 0 65px;
    }
    .flow-empty h2 {
        font-size: 45px;
    }
    .flow-empty p {
        font-size: 12px;
    }
    .result-heading {
        padding: 35px 0;
    }
    .result-heading h1 {
        font-size: 46px;
    }
    .result-heading p {
        font-size: 12px;
    }
    .result-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    .result-card {
        padding: 23px;
    }
    .checkout-submit {
        min-height: 53px;
    }
    .form-section:last-child {
        padding-bottom: 0;
    }
}
@media(max-width:700px) {
    #checkout-form {
        display: contents;
    }
    #checkout-form .form-section {
        width: 100%;
    }
    #checkout-summary {
        order: 1;
    }
    #checkout-form .form-section:last-child {
        order: 2;
    }
}

/* ===== Account, favourites ===== */

.account-page {
    padding: 0 6.5% 80px;
    min-height: 65vh;
}
.account-breadcrumbs {
    display: flex;
    gap: 12px;
    font-size: 10px;
    color: var(--muted);
    padding: 25px 0;
}
.account-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 45px;
}
.account-title h1 {
    font-size: 66px;
    margin-top: 18px;
    line-height: 1.01;
}
.account-title>p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
}
.account-layout {
    display: grid;
    grid-template-columns: 220px minmax(0,1fr);
    gap: 60px;
    border-top: 1px solid var(--line);
    padding-top: 30px;
}
.account-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: start;
}
.account-nav a,.account-nav button {
    text-align: left;
    padding: 13px 14px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}
.account-nav a[aria-current=page] {
    background: var(--surface-strong);
}
.account-nav button {
    margin-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.account-content h2 {
    font-size: 39px;
    margin-bottom: 25px;
}
.account-note {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 22px;
}
.welcome-panel {
    background: var(--surface-strong);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}
.welcome-panel h2 {
    font-size: 40px;
    margin-bottom: 14px;
}
.welcome-panel p {
    font-size: 12px;
    color: var(--muted);
    max-width: 360px;
}
.welcome-panel img {
    width: 110px;
    mix-blend-mode: multiply;
    filter: grayscale(1) contrast(1.3);
}
.account-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin: 25px 0;
    border: 1px solid var(--line);
}
.account-stats>a {
    padding: 25px;
    border-right: 1px solid var(--line);
}
.account-stats>a:last-child {
    border-right: 0;
}
.account-stats strong {
    display: block;
    font: 40px var(--serif);
    margin-bottom: 8px;
}
.account-stats span {
    font-size: 11px;
    color: var(--muted);
}
.account-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 35px 0 18px;
}
.account-section-heading h3 {
    font: 500 16px var(--sans);
}
.account-empty {
    padding: 38px;
    border: 1px solid var(--line);
    text-align: center;
}
.account-empty h3 {
    font: 32px var(--serif);
    margin-bottom: 15px;
}
.account-empty p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 23px;
}
.order-card {
    border: 1px solid var(--line);
    margin-bottom: 18px;
    padding: 25px;
}
.order-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.order-card-top h3 {
    font: 500 13px var(--sans);
}
.order-card-top small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 7px;
}
.order-badge {
    font-size: 10px;
    padding: 6px 10px;
    background: var(--surface-strong);
}
.order-badge.paid {
    background: var(--success-surface);
}
.order-badge.failed {
    background: var(--error-surface);
}
.order-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}
.order-thumbs {
    display: flex;
    gap: 8px;
}
.order-thumbs .product-photo {
    width: 47px;
    display: block;
}
.order-card-bottom strong {
    font-size: 14px;
    font-weight: 500;
}
.order-card details {
    border-top: 1px solid var(--line);
    padding-top: 15px;
    margin-top: 20px;
}
.order-card summary {
    cursor: pointer;
    font-size: 11px;
}
.order-detail-lines {
    margin: 18px 0;
    font-size: 12px;
}
.order-detail-line {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}
.order-detail-lines p {
    margin: 15px 0;
    color: var(--muted);
    font-size: 11px;
}
.order-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 16px;
}
.order-actions .button {
    font-size: 11px;
    min-height: 44px;
}
.profile-form {
    max-width: 670px;
}
.account-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px 20px;
}
.profile-form label,.auth-form label {
    font-size: 12px;
    display: block;
}
.profile-form input,.profile-form select,.auth-form input {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid var(--line-strong);
    padding: 13px;
    margin-top: 8px;
    font: 14px var(--sans);
    color: var(--ink);
}
.profile-form .button {
    margin-top: 28px;
    min-width: 200px;
}
.form-status {
    font-size: 12px;
    margin-top: 15px;
    color: var(--success);
}
.profile-form .full {
    grid-column: 1/-1;
}
.address-card {
    border: 1px solid var(--line);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 23px;
}
.address-card h3 {
    font: 500 14px var(--sans);
    margin-bottom: 10px;
}
.address-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
}
.address-card button {
    font-size: 10px;
    text-decoration: underline;
    align-self: start;
}
.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 950px;
    margin: auto;
    border: 1px solid var(--line);
}
.auth-photo {
    background: var(--media) center 20%/cover;
    min-height: 510px;
    position: relative;
}
.auth-photo>span {
    position: absolute;
    bottom: 30px;
    left: 25px;
    color: white;
    font: 42px/1.1 var(--serif);
}
.auth-form {
    padding: 45px;
}
.auth-form h2 {
    font-size: 38px;
    margin-bottom: 20px;
}
.auth-form p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 25px;
}
.auth-form .button {
    width: 100%;
    margin-top: 20px;
    justify-content: space-between;
}
.auth-form .text-link {
    margin-top: 20px;
    font-size: 11px;
}
.auth-demo {
    font-size: 10px!important;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 22px;
}
.auth-error {
    color: var(--error)!important;
    font-size: 11px!important;
    margin: 15px 0 0!important;
}
.favorites-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-block: 1px solid var(--line);
    padding: 20px 0;
    margin-bottom: 28px;
    font-size: 12px;
}
.favorite-card .product-name {
    font-size: 13px;
    min-height: 44px;
}
.favorite-card .button {
    width: 100%;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 11px;
    min-height: 44px;
}
.favorite-card .favorite {
    font-size: 19px;
}
.account-content .product-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.account-back {
    font-size: 11px;
    display: inline-block;
    margin-bottom: 22px;
}
@media(max-width:900px) {
    .account-layout {
        grid-template-columns: 180px minmax(0,1fr);
        gap: 30px;
    }
    .auth-form {
        padding: 32px;
    }
    .account-stats>a {
        padding: 20px 15px;
    }
    .welcome-panel img {
        display: none;
    }
}
@media(max-width:650px) {
    .account-page {
        padding: 0 20px 45px;
    }
    .account-breadcrumbs {
        font-size: 9px;
        padding: 20px 0;
    }
    .account-title {
        display: block;
        padding: 10px 0 27px;
    }
    .account-title h1 {
        font-size: 48px;
    }
    .account-title>p {
        font-size: 11px;
        margin-top: 20px;
    }
    .account-layout {
        display: block;
        padding-top: 15px;
    }
    .account-nav {
        flex-direction: row;
        overflow: auto;
        margin: 0 0 25px;
        gap: 4px;
        white-space: nowrap;
        scrollbar-width: thin;
    }
    .account-nav a,.account-nav button {
        padding: 12px;
        font-size: 10px;
        gap: 12px;
    }
    .account-nav button {
        margin: 0;
        border: 0;
    }
    .account-content h2 {
        font-size: 34px;
    }
    .welcome-panel {
        padding: 25px;
    }
    .welcome-panel h2 {
        font-size: 34px;
    }
    .account-stats {
        margin: 20px 0;
    }
    .account-stats>a {
        padding: 18px 10px;
    }
    .account-stats strong {
        font-size: 30px;
    }
    .account-stats span {
        font-size: 9px;
    }
    .account-section-heading h3 {
        font-size: 13px;
    }
    .account-empty {
        padding: 27px 20px;
    }
    .account-empty h3 {
        font-size: 29px;
    }
    .order-card {
        padding: 20px;
    }
    .order-card-top {
        align-items: start;
    }
    .order-card-top h3 {
        font-size: 11px;
    }
    .order-badge {
        font-size: 8px;
        white-space: nowrap;
    }
    .order-thumbs .product-photo {
        width: 38px;
    }
    .order-card-bottom strong {
        font-size: 12px;
    }
    .order-card-bottom .text-link {
        font-size: 10px;
    }
    .order-actions {
        flex-wrap: wrap;
        gap: 15px;
    }
    .account-form-grid {
        gap: 20px 12px;
    }
    .profile-form input,.profile-form select,.auth-form input {
        font-size: 16px;
        padding: 12px;
    }
    .profile-form label {
        font-size: 11px;
    }
    .address-card {
        padding: 20px;
    }
    .auth-layout {
        display: block;
    }
    .auth-photo {
        min-height: 185px;
        background-position: center 35%;
    }
    .auth-photo>span {
        font-size: 33px;
        bottom: 20px;
    }
    .auth-form {
        padding: 27px 23px;
    }
    .auth-form h2 {
        font-size: 34px;
    }
    .auth-form p {
        font-size: 11px;
    }
    .favorites-bar {
        font-size: 10px;
        padding: 15px 0;
    }
    .favorite-card .product-name {
        font-size: 11px;
    }
    .favorite-card .button {
        font-size: 10px;
        padding: 12px;
        min-height: 44px;
    }
    .account-content .product-grid {
        grid-template-columns: 1fr 1fr;
    }
    .order-detail-line {
        font-size: 10px;
    }
}
.favorite-card .product-photo {
    display: block;
}
.favorite-card {
    min-width: 0;
}

/* ===== Engine adaptations: real links, forms and photos where the prototype had demo buttons and a sprite ===== */

.sprite {
    position: absolute;
    width: 0;
    height: 0;
}

/* Logo: an image when the shop has one (STORE_LOGO), the shop name otherwise. */
.logo img {
    filter: var(--logo-filter);
    mix-blend-mode: var(--logo-blend);
}
.logo-text {
    font: 400 34px/1 var(--serif);
    letter-spacing: -.03em;
    white-space: nowrap;
}
.logo {
    display: flex;
    justify-content: center;
}
.footer-brand img {
    filter: var(--logo-footer-filter);
    mix-blend-mode: var(--logo-footer-blend);
}
.footer-brand .logo-text {
    color: var(--footer-ink);
}
.footer-bottom a {
    margin-left: 14px;
}

/* Search in the header is a real form. */
.searchbox input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 11px;
    outline: 0;
}
.searchbox input::placeholder {
    color: var(--muted);
}
.searchbox:focus-within {
    border-color: var(--ink);
}
.searchbox button {
    font-size: 9px;
    color: var(--muted);
    padding: 4px 0;
}
.head-right .icon {
    position: relative;
}
.favorites-link span {
    position: absolute;
    right: 2px;
    top: 4px;
    min-width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--on-ink);
    font-size: 9px;
    line-height: 15px;
    text-align: center;
}

/* Category line: links to categories, the first item opens the whole catalog. */
.category-nav a {
    font-size: 12px;
    white-space: nowrap;
    padding: 14px 0;
}
.category-nav a[aria-current=page] {
    color: var(--link-hover);
}

/* Opened catalog. */
.catalog-sections > a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px 8px 0;
    font-size: 12px;
}
.catalog-sections > a:hover {
    background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.catalog-sections > button[aria-expanded=true] {
    font-weight: 700;
    color: var(--link-hover);
}
.catalog-subcategories a {
    display: block;
    padding: 7px 0;
    font-size: 12px;
}
.catalog-subcategories a:hover {
    text-decoration: underline;
}
.catalog-feature img {
    height: 170px;
}

/* Search window and other small dialogs. */
.utility-content {
    display: block;
    padding: 28px 30px;
    font-size: 13px;
}
.utility-content label {
    display: block;
    margin-bottom: 8px;
}
.utility-content input {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--line);
    background: transparent;
    margin-bottom: 15px;
}
.utility-content .button {
    width: 100%;
}

/* Product card. */
.product-media img {
    aspect-ratio: 3 / 4;
    height: auto;
    transition: transform .5s;
}
.photo-button:hover img {
    transform: scale(1.03);
}
.product-placeholder {
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: center;
    padding: 12px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}
.product-placeholder.is-large {
    background: var(--media);
}
.product-media form {
    position: absolute;
    right: 10px;
    top: 10px;
}
.product-media .favorite {
    position: static;
}
.product-name:hover {
    text-decoration: underline;
}
.product-options {
    min-height: 16px;
}
.product > form {
    display: block;
}
a.buy.is-out {
    justify-content: center;
    color: var(--muted);
}
.buy[aria-busy=true],
.button[aria-busy=true] {
    opacity: .6;
    pointer-events: none;
}

/* Quick purchase and the choice of an offer. */
.quick-photo {
    background: var(--media);
}
.quick-photo img {
    height: 100%;
}
.sizes,
.pdp-sizes {
    flex-wrap: wrap;
}
.sizes button,
.pdp-sizes button {
    width: auto;
    min-width: 47px;
    padding: 0 12px;
}
.sizes button.is-unavailable,
.pdp-sizes button.is-unavailable {
    color: var(--muted);
    text-decoration: line-through;
    border-style: dashed;
}
.quick-content .size-top {
    margin-top: 14px;
}
.quick-price .old-price,
.pdp-price .old-price {
    margin-left: 10px;
    font-size: .6em;
}

/* Home page. */
.home-title h1 {
    font-size: clamp(44px, 6vw, 82px);
}
.tabs a {
    padding: 12px 0;
    font-size: 12px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.tabs a.active {
    border-color: var(--ink);
}
.tabs {
    overflow-x: auto;
    scrollbar-width: none;
}
.category-composition.is-plain {
    display: block;
}
.category-composition.is-plain .category-links {
    grid-template-columns: repeat(3, 1fr);
}
.detail-image img {
    height: 100%;
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 20px;
}
.article-card img {
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
}
.article-card h3 {
    font-size: 28px;
    line-height: 1.1;
}
.article-card p {
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

/* Catalog. */
.catalog-intro h1 small {
    font: 400 14px var(--sans);
    letter-spacing: 0;
    color: var(--muted);
}
.category-chips a {
    white-space: nowrap;
    border: 1px solid var(--line);
    padding: 11px 18px;
    font-size: 11px;
}
.category-chips a[aria-current=page] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.landing-links {
    padding: 0 0 26px;
    display: grid;
    gap: 8px;
    font-size: 11px;
}
.landing-links p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: baseline;
}
.landing-links b {
    font-weight: 600;
    min-width: 90px;
}
.landing-links a {
    text-decoration: underline;
    color: var(--muted);
}
.landing-links a:hover {
    color: var(--ink);
}
.filter-heading a {
    font-size: 10px;
    text-decoration: underline;
    color: var(--muted);
}
.filter-group label span:last-child {
    color: inherit;
    font-size: inherit;
    margin-left: 0;
}
.js #desktop-filters .filter-apply {
    display: none;
}
.filter-apply a {
    font-size: 12px;
    text-decoration: underline;
}
#desktop-filters .filter-apply {
    position: static;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
}
#desktop-filters .filter-apply .button {
    min-width: 0;
}
.active-filters a {
    font-size: 10px;
    border: 1px solid var(--line);
    padding: 6px 10px;
    background: var(--surface);
}
.active-filters a:last-child {
    background: none;
}
.pager {
    display: flex;
    gap: 5px;
    align-items: center;
}
.pager a {
    min-width: 38px;
    min-height: 38px;
    display: grid;
    place-items: center;
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 5px 10px;
}
.pager a[aria-current=page] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.catalog-faq summary h3 {
    display: inline;
    font: inherit;
    letter-spacing: 0;
}
.favorites-page {
    padding-bottom: 70px;
}
.favorites-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Texts written in the site markup: SEO text, product description, pages and articles. */
.seo-text {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
}
.seo-text h2,
.seo-text h3,
.seo-text h4 {
    color: var(--ink);
    margin: 22px 0 10px;
    line-height: 1.15;
}
.seo-text h2 {
    font-size: 32px;
}
.seo-text h3 {
    font-size: 25px;
}
.seo-text h4 {
    font: 600 13px var(--sans);
}
.seo-text > :first-child {
    margin-top: 0;
}
.seo-text p {
    margin: 0 0 12px;
}
.seo-text ul {
    margin: 0 0 12px;
    padding-left: 18px;
}
.seo-text a {
    color: var(--ink);
    text-decoration: underline;
}

/* Product page. */
.gallery:not(:has(.gallery-thumbs)) {
    grid-template-columns: minmax(0, 1fr);
}
.gallery-thumbs img {
    aspect-ratio: 3 / 4;
}
.gallery-photo {
    display: block;
    padding: 0;
    width: 100%;
    cursor: zoom-in;
}
.gallery-photo img {
    aspect-ratio: 3 / 4;
}
.gallery-more {
    grid-column: 1 / -1;
    display: none;
}
.no-js .gallery-more {
    display: grid;
    gap: 12px;
}
.pdp-overline a.eyebrow {
    text-transform: uppercase;
}
.pdp-price {
    font-size: 25px;
    font-weight: 500;
}
.pdp-form {
    border-top: 1px solid var(--line);
    padding-top: 6px;
}
.pdp-size-header > span {
    font-size: 12px;
}
.pdp-size-header b {
    font-weight: 500;
}
.pdp-choices .pdp-sizes + .pdp-size-header {
    margin-top: 22px;
}
.no-js .pdp-choices,
.js .pdp-fallback {
    display: none;
}
.pdp-fallback {
    display: block;
    font-size: 12px;
    margin: 14px 0;
}
.pdp-fallback select {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    background: transparent;
}
.pdp-feedback.error {
    color: var(--error);
}
.quantity input {
    width: 34px;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: center;
    font-size: 12px;
    -moz-appearance: textfield;
    appearance: textfield;
}
.quantity input::-webkit-inner-spin-button,
.quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pdp-favorite.favorite {
    position: static;
    width: 50px;
    height: auto;
    border-radius: 0;
    background: none;
}
.pdp-purchase {
    margin-bottom: 25px;
}
.pdp-accordions summary::-webkit-details-marker,
.filter-group summary::-webkit-details-marker {
    display: none;
}
.pdp-accordions .seo-text,
.pdp-accordions dl {
    margin-top: 13px;
}
.pdp-reviews {
    align-items: start;
    border-top: 1px solid var(--line);
    padding-top: 60px;
}
.pdp-reviews .review {
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.pdp-reviews .review h3 span {
    font-weight: 400;
}
.pdp-reviews blockquote {
    margin: 12px 0 0;
    padding: 12px 16px;
    background: var(--surface);
    font-size: 12px;
}
.pdp-reviews blockquote p {
    margin: 4px 0 0;
}
.photo-dialog img {
    max-height: 94dvh;
    width: auto;
    max-width: 100%;
    margin: auto;
    object-fit: contain;
}

@media (max-width: 1000px) {
    .favorites-page .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .no-js #desktop-filters {
        display: block;
    }
    .favorites-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 12px;
    }
    .category-chips a {
        font-size: 10px;
        padding: 10px 14px;
    }
    .pdp-reviews {
        padding-top: 35px;
    }
    #mobile-filters .filter-apply {
        margin: 20px -24px -95px;
    }
}
@media (max-width: 650px) {
    .favorites-link {
        display: none !important;
    }
    .logo-text {
        font-size: 24px;
    }
    .category-nav a[data-menu-section] {
        display: block;
        font-size: 10px;
        padding: 11px 0;
    }
    .category-nav .nav-page {
        display: none;
    }
    .product-media form {
        right: 6px;
        top: 6px;
    }
    .tabs a {
        font-size: 11px;
    }
    .category-composition.is-plain .category-links {
        grid-template-columns: 1fr 1fr;
    }
    .article-grid {
        grid-template-columns: 1fr;
    }
    .utility-content {
        padding: 23px;
    }
}

/* ===== Plain pages: text pages, articles, reviews ===== */

.page {
    padding: 0 6.5% 70px;
    font-size: 14px;
}
.page > h1,
.reading-content > h1 {
    font-size: clamp(40px, 5vw, 70px);
    margin: 12px 0 30px;
}
.page h2 {
    font-size: 30px;
    margin: 0 0 14px;
}
.notice,
.error {
    padding: 14px 20px;
    margin: 0 0 20px;
    font-size: 13px;
}
.notice {
    background: var(--success-surface);
    color: var(--success);
}
.error {
    background: var(--error-surface);
    color: var(--error);
}
.muted {
    color: var(--muted);
    font-size: 12px;
}
.page .panel {
    border: 1px solid var(--line);
    padding: 26px;
    margin: 0 0 22px;
    background: color-mix(in srgb, var(--paper) 60%, #fff);
}
.page label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
    font-size: 12px;
}
.page label.check {
    flex-direction: row;
    align-items: center;
}
.page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.page select,
.page textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line-strong);
    background: transparent;
    font-size: 14px;
}
.page input[type=checkbox],
.page input[type=radio] {
    width: 16px;
    height: 16px;
    accent-color: var(--ink);
}
.page button:not([class]),
.page .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 24px;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    font-size: 12px;
}
.page button:not([class]):hover,
.page .button:hover {
    background: var(--ink-hover);
}
.page .secondary {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--line-strong);
    font-size: 12px;
}
.page .link-button {
    text-decoration: underline;
    font-size: 12px;
}
.page a:not([class]) {
    text-decoration: underline;
}
.page small {
    display: block;
    color: var(--muted);
}
.page .inline {
    display: inline-block;
    margin: 5px;
}
.reading-content {
    max-width: 820px;
}
.article-cover {
    margin-bottom: 24px;
}
.article-lead {
    font-size: 17px;
    margin-bottom: 22px;
}
.prose {
    font-size: 15px;
    line-height: 1.75;
}
.prose h2,
.prose h3,
.prose h4 {
    margin: 28px 0 12px;
    line-height: 1.15;
}
.prose h3 {
    font-size: 26px;
}
.prose h4 {
    font: 600 15px var(--sans);
}
.prose p {
    margin: 0 0 14px;
}
.prose a {
    text-decoration: underline;
}
.page dt {
    font-size: 12px;
    color: var(--muted);
}
.page dd {
    margin: 0 0 12px;
}
@media (max-width: 760px) {
    .page {
        padding: 0 20px 45px;
    }
}

/* Photos carry their real size in the markup so the page does not jump while they load. */
img[width][height] {
    height: auto;
}
#mobile-filters .filter-heading {
    display: none;
}

/* Home: product beside a story, a single tile, search results, the opened section in the category line. */
.mini-product > a {
    width: 96px;
    flex-shrink: 0;
}
.mini-product > a img {
    aspect-ratio: 3 / 4;
}
.mini-product h4 a:hover {
    text-decoration: underline;
}
.category-composition.is-single {
    grid-template-rows: 410px;
}
.category-composition.is-single .tall {
    grid-row: auto;
}
.category-composition.is-single .category-links {
    grid-template-columns: 1fr;
    align-content: start;
}
.category-nav a[aria-expanded=true] {
    color: var(--link-hover);
}
[data-search-results] p {
    margin: 0 0 15px;
}
[data-search-results] .text-link {
    margin-top: 16px;
}
.detail-crop img {
    position: absolute;
    inset: 0;
    height: 100%;
    transform: scale(1.6);
    transform-origin: center 18%;
}
@media (max-width: 650px) {
    .mini-product > a {
        width: 78px;
    }
    .category-composition.is-single {
        grid-template-columns: 1fr;
        grid-template-rows: 300px auto;
    }
}

/* ===== Purchase steps and the buyer's pages on real data ===== */

/* A photo where the prototype had a sprite: the box keeps its shape while the picture loads or is missing. */
.product-photo {
    background: var(--media);
    overflow: hidden;
}
.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mini-line .product-photo,
.cart-row .product-photo,
.order-thumbs .product-photo,
.favorite-card .product-photo {
    display: block;
}
.flow-header .logo {
    justify-self: center;
}
.flow-header .logo img {
    filter: var(--logo-filter);
    mix-blend-mode: var(--logo-blend);
}
.flow-heading > p:empty,
.cart-color:empty,
.flow-header > span:empty,
.flow-footer > span:empty {
    display: none;
}
/* Every control of a cart line is a small form of its own. */
.cart-item-head form,
.stepper form,
.order-actions form,
.address-card form,
.account-nav form {
    display: contents;
}
.cart-options form label {
    display: flex;
    align-items: center;
}
.cart-options select {
    width: auto;
    min-height: 0;
    margin-top: 0;
}
.stepper button:disabled {
    opacity: .35;
    cursor: default;
}
[data-cart].is-busy {
    opacity: .6;
    pointer-events: none;
    transition: opacity .15s;
}
.toast button {
    margin-left: 10px;
    color: inherit;
    text-decoration: underline;
    font: inherit;
}
.flow-main > .form-error,
[data-cart] > .form-error {
    border-left: 2px solid var(--error);
    padding: 3px 10px;
}
:where(.flow-main) form label > span.label-text {
    color: inherit;
    font-size: inherit;
    margin: 0;
}
.product-category {
    text-transform: uppercase;
}
.saved-address-select {
    margin-bottom: 20px;
}
/* A payment choice is a real radio button drawn as the card of the design. */
.payment-choice {
    position: relative;
    cursor: pointer;
}
.payment-choice + .payment-choice {
    margin-top: 12px;
}
.payment-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.payment-choice:has(input:not(:checked)) {
    border-color: var(--line);
}
.payment-choice:has(input:not(:checked)) .radio-dot {
    border-width: 1px;
    border-color: var(--line-dark);
}
.payment-choice:has(input:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}
/* A field with a list loaded from the carrier's directory while the buyer types. */
.combo {
    position: relative;
    font-size: 12px;
}
.combo ul {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 260px;
    overflow: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-top: 0;
}
.combo li {
    padding: 11px 12px;
    font-size: 12px;
    cursor: pointer;
}
.combo li[aria-selected=true],
.combo li:hover {
    background: var(--surface);
}
.combo li[aria-disabled=true] {
    color: var(--muted);
    cursor: default;
    background: none;
}
.combo input:disabled {
    opacity: .5;
}
.result-card form .button,
.result-card > .button {
    width: 100%;
}
.result-card form {
    margin-top: 15px;
}
.order-summary > h2 + .mini-line {
    border-top: 1px solid var(--line-strong);
}
#flow-dialog {
    padding: 0;
    border: 0;
    background: var(--paper);
    color: var(--ink);
}
#flow-dialog .dialog-top {
    padding: 22px 25px;
}
/* Account */
.account-nav form button {
    width: 100%;
}
.order-card-top h3 a:hover {
    text-decoration: underline;
}
.form-status.is-error,
.auth-form .auth-error {
    color: var(--error);
}
.auth-layout.is-plain {
    grid-template-columns: 1fr;
    max-width: 520px;
}
.auth-photo {
    background-size: cover;
    background-position: center 20%;
}
.auth-photo > span {
    text-shadow: 0 1px 18px #0006;
}
.auth-form form + form {
    margin-top: 6px;
}
.auth-form > .text-link,
.auth-form form .text-link {
    display: inline-block;
}
.favorite-card form {
    display: block;
}
.favorite-card .favorite {
    line-height: 1;
}
.favorite-card .product-options {
    display: block;
    font-size: 10px;
    color: var(--muted);
}
.account-page > .product-grid {
    margin-bottom: 20px;
}
.profile-form input[readonly] {
    color: var(--muted);
}
.swatches {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.pdp-sizes .swatch {
    margin: 0 8px 0 0;
    vertical-align: -2px;
}
/* Home, categories: the tall tile is as high as the picture and the links beside it — its photo fills it, not stretches it. */
.category-composition:not(.is-plain) .tall img {
    position: absolute;
    inset: 0;
    height: 100%;
}
.category-links {
    align-content: start;
}
/* One way of delivery on offer: nothing to choose, the choice is not shown. */
.delivery-types[data-single] {
    display: none;
}
