/* MAAU — shared customer website styles */
:root {
    --espresso: #3d2318;
    --brown: #6a402d;
    --caramel: #a67c52;
    --sand: #ead7c0;
    --cream: #f7f2e9;
    --white: #ffffff;
    --line: rgba(61, 35, 24, 0.13);
    --muted: #766356;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body.maau-store {
    margin: 0;
    background: var(--white);
    color: var(--espresso);
    font:
        400 13px/1.8 "Montserrat",
        sans-serif;
}

.maau-store [hidden] {
    display: none !important;
}

.maau-store.has-dialog {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
    cursor: pointer;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--caramel);
    outline-offset: 5px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    line-height: 1.12;
}

h1 {
    font-size: clamp(46px, 6vw, 80px);
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(34px, 4vw, 52px);
}

h3 {
    font-size: 16px;
    font-weight: 600;
}

section[id],
footer[id] {
    scroll-margin-top: 110px;
}

.container {
    width: min(1360px, calc(100% - 80px));
    margin-inline: auto;
}

.section-space {
    padding-block: 76px;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--brown);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.pre-wrap {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--espresso);
    color: white;
}

.skip-link:focus {
    top: 12px;
}

/* Shared buttons and links */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    transition:
        background 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}

.button-dark {
    background: var(--espresso);
    color: var(--cream);
}

.button-dark:hover {
    background: var(--brown);
    transform: translateY(-1px);
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--cream);
    color: var(--espresso);
    font-size: 23px;
    transition:
        background 0.2s,
        transform 0.2s;
}

.icon-button:hover {
    background: var(--sand);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid var(--caramel);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s;
}

.text-link:hover {
    color: var(--caramel);
}

/* Header */
.announcement {
    background: var(--brown);
    color: var(--cream);
    text-align: center;
}

.announcement > a {
    display: block;
}

.announcement p {
    margin: 0;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 500;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 3px 12px rgba(61, 35, 24, 0.07);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: var(--white);
    box-shadow: 0 4px 16px rgba(61, 35, 24, 0.1);
}

.header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 54px;
    padding-block: 5px;
}

.header-inner > .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}

.header-inner > .main-nav {
    grid-column: 1;
    grid-row: 1;
}

.header-inner > .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.mobile-nav-link {
    display: none;
}

.header-register {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.header-account svg,
.header-bag svg {
    display: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* One shared size for the uploaded logo on every storefront page. */
.site-header {
    --store-logo-width: 160px;
    --store-logo-height: 40px;
}

.site-header .brand img {
    display: block;
    width: var(--store-logo-width);
    height: var(--store-logo-height);
    max-width: none;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 760px) {
    .site-header {
        --store-logo-width: clamp(96px, calc(100vw - 232px), 128px);
        --store-logo-height: 36px;
    }
}

.brand-word {
    display: inline-block;
    font:
        400 28px/0.9 "DM Serif Display",
        serif;
    letter-spacing: -0.035em;
}

.brand-word > span {
    display: block;
    margin-top: 6px;
    font:
        500 6px/1 "Montserrat",
        sans-serif;
    letter-spacing: 0.38em;
    text-align: center;
}

.main-nav,
.header-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.main-nav a {
    position: relative;
    padding-block: 10px;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 1px;
    background: var(--caramel);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-contact {
    padding: 8px 0;
}

.header-actions {
    gap: 26px;
}

.menu-toggle {
    display: none;
}

/* Fixed banner frames: ratios come from the shared banner-media.css */
.site-banner-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: var(--banner-ratio);
    overflow: hidden;
    background: var(--sand);
}

.site-banner-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel {
    position: relative;
    background: var(--sand);
}

.hero-viewport {
    position: relative;
    aspect-ratio: var(--banner-ratio);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease;
}

.hero-slide.is-current {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero-slide picture,
.hero-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-controls {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: rgba(247, 242, 233, 0.95);
}

.carousel-controls .icon-button {
    width: 36px;
    height: 36px;
    border: 0;
    font-size: 20px;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 2px;
}

.carousel-dot {
    display: grid;
    place-items: center;
    width: 28px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
}

.carousel-dot::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--caramel);
    content: "";
    transition:
        width 0.2s,
        background 0.2s;
}

.carousel-dot[aria-pressed="true"]::before {
    width: 18px;
    border-radius: 4px;
    background: var(--espresso);
}

.carousel-pause {
    min-height: 36px;
    padding: 4px 8px;
    border: 0;
    background: transparent;
    font-size: 10px;
    font-weight: 600;
}

/* Editorial opening: real catalog photography, cropped inside fixed frames. */
h1 em,
h2 em {
    font-weight: 400;
}

.editorial-opening {
    padding-block: 22px 34px;
}

.editorial-topline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    font-size: 8px;
    letter-spacing: 0.13em;
}

.editorial-triptych {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.editorial-figure {
    margin: 0;
    min-width: 0;
}

.editorial-photo {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--sand);
}

.editorial-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.editorial-figure-1 .editorial-photo {
    aspect-ratio: 5 / 4;
}

.editorial-figure-2 .editorial-photo {
    aspect-ratio: 3 / 4;
}

.editorial-figure-3 {
    padding-top: 15%;
}

.editorial-figure-3 .editorial-photo {
    aspect-ratio: 4 / 3;
}

.editorial-prelude {
    text-align: right;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.45;
}

.editorial-figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    font-size: 8px;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.editorial-placeholder {
    font:
        italic 400 clamp(46px, 8vw, 110px) / 1 "DM Serif Display",
        serif;
    opacity: 0.45;
}

.editorial-photo-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--cream);
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.25s,
        transform 0.25s;
}

.editorial-photo:focus-visible .editorial-photo-arrow {
    opacity: 1;
    transform: none;
}

.editorial-masthead {
    margin-top: 42px;
}

.editorial-masthead .eyebrow {
    margin-bottom: 12px;
    font-size: 8px;
    letter-spacing: 0.16em;
}

.editorial-masthead h1 {
    display: flex;
    justify-content: space-between;
    gap: 0.2em;
    margin: 0 0 22px;
    font-size: clamp(52px, 9.5vw, 146px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.editorial-masthead h1 em {
    color: var(--brown);
}

.editorial-baseline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.editorial-baseline p {
    margin: 0;
    font-size: 11px;
}

.editorial-baseline .text-link {
    font-size: 10px;
}

.campaign-shell {
    margin-top: 34px;
}

.editorial-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.editorial-section-heading h2 {
    margin: 18px 0 0;
    font-size: clamp(32px, 3.8vw, 54px);
}

.section-label {
    display: inline-flex;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 8px;
    letter-spacing: 0.06em;
}

.section-aside {
    max-width: 270px;
    font-size: 10px;
}

.section-aside p {
    margin: 14px 0;
}

.section-aside .text-link {
    font-size: 10px;
}

.section-index {
    font-size: 10px;
    color: var(--muted);
}

.product-grid.collection-rail,
.category-rail {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--sand) transparent;
    padding-bottom: 12px;
}

.collection-rail .product-card,
.category-tile {
    scroll-snap-align: start;
}

.collection-rail .product-card:nth-child(3n + 1) {
    padding-top: 64px;
}

.collection-rail .product-card:nth-child(3n) {
    padding-top: 36px;
}

.collection-rail .product-image {
    aspect-ratio: 4 / 5;
}

.rail-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 18px;
}

.rail-bottom .collection-result {
    margin: 0;
}

.rail-controls {
    display: flex;
    gap: 8px;
}

.rail-controls .icon-button {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.rail-controls .rail-next {
    background: var(--espresso);
    color: var(--cream);
}

.icon-button:disabled {
    opacity: 0.3;
    cursor: default;
}

.category-section {
    padding-top: 20px;
}

.category-rail {
    margin-top: 28px;
}

.category-tile {
    position: relative;
    display: block;
    min-width: 0;
}

.category-tile-image {
    display: grid;
    place-items: center;
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--sand);
}

.category-tile-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s;
}

.category-tile-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.category-tile h3 {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.category-tile-caption .icon-button {
    width: 36px;
    height: 36px;
    font-size: 19px;
}

.category-tile:hover .category-tile-caption .icon-button {
    background: var(--espresso);
    color: var(--cream);
}

/* Collection */
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
}

.section-heading h1,
.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(34px, 4vw, 52px);
}

.section-heading > p {
    max-width: 310px;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 12px;
}

.collection-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-block: 24px 28px;
}

.filter-button {
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: transparent;
    font-size: 11px;
    transition:
        background 0.2s,
        color 0.2s;
}

.filter-button:hover {
    background: var(--sand);
}

.filter-button.is-active {
    border-color: var(--espresso);
    background: var(--espresso);
    color: var(--cream);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 22px;
}

.product-card {
    min-width: 0;
    padding-bottom: 10px;
}

.product-image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 2px;
    background: var(--sand);
}

.product-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.image-placeholder {
    color: var(--brown);
    font:
        400 52px/1 "DM Serif Display",
        serif;
}

.product-badge {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--cream);
    font-size: 10px;
}

.product-info {
    padding: 14px 0 0;
}

.product-category {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
}

.product-info h3 {
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
}

.product-price {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 500;
}

.product-name-price {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.product-name-price h3 {
    flex: 1;
}

.product-name-price .product-price {
    text-align: right;
    font-size: 10px;
    white-space: nowrap;
}

.product-variant-count {
    color: var(--muted);
    font-size: 9px;
}

.collection-result {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.empty-state {
    padding: 44px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.empty-state p {
    margin-bottom: 0;
    color: var(--muted);
}

.empty-state > .button {
    margin-top: 24px;
}

.inline-campaign {
    margin-bottom: 28px;
}

.inline-campaign .site-banner-media {
    border-radius: 2px;
}

/* Story and FAQs */
.story-section {
    margin-top: 12px;
    background: var(--sand);
}

.story-inner,
.faq-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.story-inner h2 {
    margin-bottom: 28px;
}

.story-tagline {
    font-family: "DM Serif Display", serif;
    font-size: 30px;
    font-weight: 400;
}

.story-inner > div > p:not(.eyebrow),
.faq-inner > div > p:not(.eyebrow) {
    line-height: 1.9;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    list-style: none;
}

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

.faq-item summary > span {
    font-size: 22px;
    font-weight: 400;
    transition: transform 0.2s;
}

.faq-item[open] summary > span {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px 0;
    color: var(--muted);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 12px;
}

/* Shared dialogs */
.store-dialog {
    position: fixed;
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--sand);
    border-radius: 18px;
    background: var(--cream);
    color: var(--espresso);
    overflow: auto;
    overscroll-behavior: contain;
}

.store-dialog::backdrop {
    background: rgba(61, 35, 24, 0.46);
}

.store-dialog[open] {
    animation: dialog-enter 0.25s ease-out both;
}

.dialog-close {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    box-shadow: 0 2px 12px rgba(61, 35, 24, 0.08);
}

.product-dialog {
    width: min(880px, calc(100% - 32px));
}

.product-dialog-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.product-dialog-image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
    background: var(--sand);
}

.product-dialog-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-dialog-content {
    padding: 58px 28px 30px;
}

.product-dialog-content h2 {
    font-size: 34px;
    overflow-wrap: anywhere;
}

.product-dialog-content p {
    font-size: 12px;
}

.detail-label {
    margin: 22px 0 10px;
    font-size: 12px;
}

.variant-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 11px;
}

.variant-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.promo-dialog {
    width: min(420px, calc(100% - 32px), calc((100dvh - 40px) * 0.8));
}

/* Footer and published content */
.site-footer {
    padding: 64px 0 0;
    border-top: 1px solid var(--line);
    background: var(--espresso);
    color: var(--cream);
}

.footer-statement {
    position: relative;
    padding-bottom: 40px;
    margin-bottom: 42px;
    border-bottom: 1px solid rgba(234, 215, 192, 0.2);
}

.footer-statement .eyebrow {
    color: var(--sand);
    font-size: 9px;
}

.footer-statement h2 {
    margin: 0;
    font-size: clamp(44px, 5.8vw, 80px);
}

.footer-statement h2 em {
    color: var(--sand);
}

.footer-collection-link {
    position: absolute;
    right: 0;
    bottom: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
    gap: 44px;
    padding-bottom: 44px;
}

.footer-brand-block > p {
    max-width: 260px;
    margin: 0;
    font-size: 11px;
    opacity: 0.8;
}

/* Crop only the transparent canvas of the original MAAU-11 logo. */
.footer-logo {
    position: relative;
    display: block;
    width: 180px;
    max-width: 100%;
    aspect-ratio: 3079 / 1083;
    margin-top: 18px;
    overflow: hidden;
}

.footer-logo > img {
    position: absolute;
    width: 135.336%;
    max-width: none;
    height: auto;
    left: -17.668%;
    top: -155.771%;
}

.footer-heading {
    margin: 0 0 18px;
    font:
        600 12px/1.6 "Montserrat",
        sans-serif;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.footer-links a {
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--sand);
}

.footer-links p {
    margin: 0;
    opacity: 0.8;
}

/* Footer contact — shared across all storefront pages */
.footer-contact {
    min-width: 0;
}

.footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cream);
    text-decoration: none;
    transition: color 180ms ease;
}

.footer-social-link svg {
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: var(--sand);
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Labels appear on hover and keyboard focus. */
.footer-social-link::after {
    content: attr(data-label);
    position: absolute;
    z-index: 5;
    bottom: calc(100% + 6px);
    left: 50%;
    padding: 5px 9px;
    border-radius: 5px;
    background: var(--cream);
    color: var(--espresso);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.footer-social-link:focus-visible::after {
    opacity: 1;
    visibility: visible;
}

.footer-address {
    max-width: 34ch;
    margin: 12px 0 0;
    color: var(--cream);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: anywhere;
    opacity: 0.8;
}

@media (hover: hover) {
    .footer-social-link:hover::after {
        opacity: 1;
        visibility: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-social-link,
    .footer-social-link::after {
        transition: none;
    }
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 22px;
    border-top: 1px solid rgba(234, 215, 192, 0.2);
    font-size: 10px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .text-link {
    font-size: 10px;
}

.public-page {
    max-width: 850px;
    min-height: 60vh;
    padding-block: 64px 84px;
}

.public-page > .text-link {
    margin-bottom: 40px;
}

.public-page h1 {
    font-size: clamp(38px, 5vw, 62px);
}

.public-page-content {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 2;
}

/* Progressive animation: content is visible without JavaScript */
.reveal-pending {
    opacity: 0;
    transform: translateY(18px);
}

.reveal-ready {
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal-ready.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes gentle-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes dialog-enter {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .editorial-photo:hover img,
    .category-tile:hover img {
        transform: scale(1.035);
    }

    .editorial-photo:hover .editorial-photo-arrow {
        opacity: 1;
        transform: none;
    }

    .product-card:hover .product-image > img {
        transform: scale(1.035);
    }
}

@media (max-width: 980px) {
    .main-nav {
        gap: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .story-inner,
    .faq-inner {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 40px);
    }

    .section-space {
        padding-block: 56px;
    }

    .header-inner {
        min-height: 54px;
        gap: 8px;
        padding-block: 5px;
    }

    .header-register,
    .header-bag-label {
        display: none;
    }

    .header-account svg,
    .header-bag svg {
        display: block;
    }

    .header-inner > .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .mobile-nav-link {
        display: inline-flex;
    }

    .is-enhanced .menu-toggle {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        border-color: transparent;
        background: transparent;
    }

    .header-actions .header-bag {
        gap: 4px;
    }

    .bag-count {
        min-width: auto;
    }

    .editorial-opening {
        padding-top: 18px;
    }

    .editorial-topline {
        font-size: 7px;
        gap: 12px;
    }

    .editorial-topline span:last-child {
        max-width: 160px;
        text-align: right;
    }

    .editorial-triptych {
        gap: 12px;
        grid-template-columns: 1fr 1fr;
    }

    .editorial-figure-1 {
        padding-top: 28px;
    }

    .editorial-figure-1 .editorial-photo {
        aspect-ratio: 3 / 4;
    }

    .editorial-figure-3 {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding-top: 12px;
    }

    .editorial-figure-3 .editorial-prelude {
        align-self: center;
        text-align: left;
        font:
            italic 400 clamp(24px, 5.5vw, 40px) / 1.2 "DM Serif Display",
            serif;
        margin: 0;
    }

    .editorial-figure-3 figcaption {
        grid-column: 2;
        margin: 0;
    }

    .editorial-figure figcaption {
        font-size: 7px;
    }

    .editorial-masthead {
        margin-top: 32px;
    }

    .editorial-masthead h1 {
        display: block;
        font-size: clamp(48px, 11.5vw, 90px);
    }

    .editorial-masthead h1 em {
        display: block;
        padding-left: 6%;
    }

    .editorial-baseline {
        align-items: start;
    }

    .editorial-baseline p {
        font-size: 10px;
        max-width: 180px;
    }

    .editorial-baseline .text-link {
        font-size: 9px;
        max-width: 150px;
    }

    .editorial-section-heading {
        gap: 18px;
        align-items: start;
    }

    .editorial-section-heading h2 {
        font-size: 32px;
    }

    .section-aside {
        max-width: 150px;
    }

    .section-aside p {
        font-size: 9px;
    }

    .product-grid.collection-rail,
    .category-rail {
        grid-auto-columns: 72%;
        gap: 16px;
    }

    .collection-rail .product-card:nth-child(n) {
        padding-top: 0;
    }

    .footer-collection-link {
        position: static;
        margin-top: 24px;
    }

    .brand-word {
        font-size: 36px;
    }

    .main-nav {
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 18px;
    }

    .is-enhanced .menu-toggle {
        display: inline-flex;
    }

    .is-enhanced .main-nav {
        position: absolute;
        inset: 100% 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 20px;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 20px rgba(61, 35, 24, 0.06);
    }

    .is-enhanced .main-nav.is-open {
        display: flex;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .section-heading > p {
        max-width: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .product-info {
        padding-inline: 4px;
    }

    .product-info h3 {
        font-size: 13px;
    }

    .product-price {
        font-size: 11px;
    }

    .story-inner,
    .faq-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-dialog-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .product-dialog-image {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .product-dialog-content {
        padding: 24px;
    }

    .footer-grid {
        gap: 32px 24px;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }

    section[id],
    footer[id] {
        scroll-margin-top: 95px;
    }
}

@media (max-width: 640px) {
    .carousel-controls {
        right: 12px;
        bottom: 12px;
        gap: 3px;
        padding: 4px 8px;
    }

    .carousel-controls .icon-button {
        width: 34px;
        height: 36px;
    }

    .carousel-dot {
        width: 24px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

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

    .maau-store *,
    .maau-store *::before,
    .maau-store *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal-pending {
        opacity: 1;
        transform: none;
    }
}

/* Customer components: all pages share these controls, cards and spacing. */
.muted {
    color: var(--muted);
    font-size: 12px;
}

.header-account,
.header-bag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}

.bag-count {
    min-width: 20px;
    font-size: 10px;
    text-align: center;
}

.breadcrumb {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 11px;
}

.breadcrumb span:last-child {
    color: var(--muted);
}

.button-outline {
    border-color: var(--line);
    background: transparent;
    color: var(--espresso);
}

.button-outline:hover {
    background: var(--sand);
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.button.full-width {
    display: flex;
    width: 100%;
}

.store-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    margin-bottom: 24px;
}

.store-card h2 {
    font-size: 28px;
    margin-bottom: 24px;
}

.store-form {
    display: grid;
    gap: 18px;
}

.store-form h2,
.store-form p {
    margin-bottom: 0;
}

.store-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
}

.store-form input,
.store-form select,
.store-form textarea,
.catalog-toolbar input,
.catalog-toolbar select,
.quantity-form input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    color: var(--espresso);
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.store-form input:focus-visible,
.store-form select:focus-visible,
.store-form textarea:focus-visible,
.catalog-toolbar input:focus-visible,
.catalog-toolbar select:focus-visible,
.quantity-form input:focus-visible {
    border-color: var(--caramel);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.15);
}

.store-form input[readonly] {
    background: var(--cream);
    color: var(--muted);
}

.store-form textarea {
    resize: vertical;
}

.store-form select,
.catalog-toolbar select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A402D' stroke-width='1.7'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

.store-form input[type="checkbox"],
.shipping-option input {
    accent-color: var(--brown);
    min-height: auto;
    width: 18px;
    height: 18px;
}

/* Shared add-to-bag confirmation */
.store-dialog.bag-added-dialog {
    width: min(960px, calc(100% - 40px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    background: var(--white);
    border-radius: 16px;
}

.bag-added-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.bag-added-media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 440px;
    overflow: hidden;
    background: var(--cream);
}

.bag-added-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bag-added-placeholder {
    color: var(--caramel);
    font-family: "DM Serif Display", serif;
    font-size: 56px;
}

.bag-added-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 48px 36px 36px;
}

.bag-added-content .eyebrow {
    margin: 0 0 12px;
    font-size: 9px;
}

.bag-added-content h2 {
    margin: 0 0 24px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
}

.bag-added-detail {
    padding: 20px;
    border-radius: 8px;
    background: var(--cream);
}

.bag-added-variant {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.bag-added-detail h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.bag-added-price {
    margin: 0 0 6px;
    font-family: "DM Serif Display", serif;
    font-size: 30px;
    line-height: 1.2;
}

.bag-added-quantity {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
}

.bag-added-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.bag-added-actions .button {
    padding-inline: 12px;
    min-height: 44px;
    font-size: 10px;
    white-space: normal;
    text-align: center;
}

.product-purchase .purchase-message {
    margin: 12px 0 0;
    padding: 12px;
    border: 1px solid var(--caramel);
    border-radius: 8px;
    background: var(--cream);
    color: var(--brown);
    font-size: 11px;
}

@media (max-width: 640px) {
    .store-dialog.bag-added-dialog {
        width: calc(100% - 24px);
    }

    .bag-added-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .bag-added-media {
        min-height: 0;
        height: clamp(150px, 28svh, 230px);
    }

    .bag-added-content {
        padding: 22px;
    }

    .bag-added-content h2 {
        margin-bottom: 16px;
        font-size: 28px;
    }

    .bag-added-detail {
        padding: 14px;
    }

    .bag-added-actions {
        margin-top: 16px;
    }
}

@media (max-height: 620px) and (min-width: 641px) {
    .bag-added-media {
        min-height: 350px;
    }

    .bag-added-content {
        padding: 40px 24px 24px;
    }

    .bag-added-content h2 {
        font-size: 28px;
    }
}

/* Shared header search overlay */
.store-dialog.store-search-dialog {
    inset: var(--search-offset, 0px) 0 auto;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - var(--search-offset, 0px));
    margin: 0;
    padding: 0 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.store-search-dialog::backdrop {
    background: rgba(61, 35, 24, 0.46);
}

.store-search-topbar {
    padding-block: 22px 12px;
    background: var(--white);
}

.store-search-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
    gap: 16px;
    width: min(936px, calc(100% - 32px));
    margin-inline: auto;
}

.store-search-form {
    position: relative;
    margin: 0;
}

.store-search-form input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 12px 52px 12px 16px;
    border: 1px solid var(--brown);
    border-radius: 12px;
    background: var(--white);
    color: var(--espresso);
    outline: none;
    font-size: 12px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.store-search-form input:focus-visible {
    border-color: var(--caramel);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.15);
}

.store-search-form input::-webkit-search-cancel-button {
    appearance: none;
}

.store-search-form > button {
    position: absolute;
    inset: 4px 5px 4px auto;
    display: grid;
    place-items: center;
    width: 42px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
}

.store-search-form > button:hover,
.icon-button.store-search-close:hover {
    background: var(--cream);
}

.icon-button.store-search-close {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.store-search-body {
    width: min(880px, calc(100% - 88px));
    max-height: calc(100dvh - var(--search-offset, 0px) - 102px);
    margin-left: max(16px, calc((100% - 936px) / 2));
    padding: 20px;
    border-radius: 0 0 12px 12px;
    background: var(--white);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.store-search-body h3 {
    margin: 0 0 10px;
    font:
        500 12px/1.5 "Montserrat",
        sans-serif;
}

.store-search-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-search-terms button {
    padding: 6px 13px;
    border: 1px solid var(--espresso);
    border-radius: 30px;
    background: var(--espresso);
    color: var(--cream);
    font-size: 11px;
    line-height: 1.4;
    transition: background 0.2s;
}

.store-search-terms button:hover {
    background: var(--brown);
}

.store-search-suggestions:not([hidden]) + [data-search-section] {
    margin-top: 22px;
}

.store-search-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 12px;
}

.store-search-card {
    min-width: 0;
}

.store-search-photo {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    background: var(--cream);
}

.store-search-photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-search-photo > span:not(.store-search-stock) {
    font:
        32px/1 "DM Serif Display",
        serif;
    color: var(--caramel);
}

.store-search-stock {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 20px;
    background: var(--espresso);
    color: var(--cream);
    font-size: 9px;
    line-height: 1.4;
}

.store-search-card-name {
    display: -webkit-box;
    margin: 8px 0 2px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 11px;
    line-height: 1.6;
}

.store-search-card-price {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
}

.store-search-status {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.store-search-status:empty {
    display: none;
}

.store-search-all {
    display: inline-block;
    margin-top: 16px;
    font-size: 11px;
}

@media (max-width: 600px) {
    .store-search-topbar {
        padding-block: 14px 10px;
    }

    .store-search-toolbar {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 12px;
        width: calc(100% - 24px);
    }

    .icon-button.store-search-close {
        width: 32px;
        height: 32px;
        min-height: 32px;
    }

    .store-search-body {
        width: calc(100% - 68px);
        max-height: calc(100dvh - var(--search-offset, 0px) - 92px);
        margin-left: 12px;
        padding: 16px;
    }

    .store-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Shared membership forms: popup, registration card and account wishlist. */
.store-dialog.member-dialog {
    width: min(560px, calc(100% - 32px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 20px;
    background: var(--white);
    border-radius: 16px;
}

.member-card.store-card {
    width: 100%;
    max-width: 560px;
    padding: 20px;
    margin: 0;
    justify-self: end;
    border-radius: 16px;
}

.member-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.member-dialog-header h2,
.member-card .member-dialog-header h2 {
    margin: 0;
    font-size: 27px;
    line-height: 1.2;
}

.member-dialog-header .icon-button {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    font-size: 24px;
    line-height: 1;
}

.member-introduction {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

:is(.store-dialog.member-dialog, .member-card) .member-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

:is(.store-dialog.member-dialog, .member-card)
    .member-form[data-member-form="register"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-form[data-member-form="register"] > label {
    order: 0;
}

.member-form[data-member-form="register"] > label:first-of-type {
    grid-column: 1 / -1;
}

:is(.store-dialog.member-dialog, .member-card) .member-form label {
    min-width: 0;
    margin: 0;
    gap: 5px;
    font-size: 11px;
    line-height: 1.4;
}

:is(.store-dialog.member-dialog, .member-card) .member-form input {
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 8px 11px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
}

.member-form[data-member-form="register"] > .muted {
    order: 1;
    grid-column: 1 / -1;
}

:is(.store-dialog.member-dialog, .member-card) .member-form > .muted {
    margin: 0;
    font-size: 10px;
    line-height: 1.4;
}

.member-form[data-member-form="register"] > .button {
    order: 2;
    grid-column: 1 / -1;
}

:is(.store-dialog.member-dialog, .member-card) .member-form > .button {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 16px;
    font-size: 11px;
}

.member-form[data-member-form="register"] > .member-switch {
    order: 3;
    grid-column: 1 / -1;
}

:is(.store-dialog.member-dialog, .member-card) .member-switch {
    margin: 0;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
}

/* Keep the recovery link aligned to its text inside shared sign-in forms. */
.member-form[data-member-form="login"] > .text-link {
    justify-self: end;
    width: fit-content;
    max-width: 100%;
    margin: 0;
}

.member-switch button {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: inherit;
}

:is(.store-dialog.member-dialog, .member-card) .member-form .verification-code {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.4em;
}

.verification-resend-form {
    margin-block: 14px 10px;
    text-align: center;
}

[data-code-resend-after]:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.member-message {
    margin: 0 0 12px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    font-size: 11px;
    line-height: 1.5;
}

.member-message[data-error="true"] {
    border-color: var(--caramel);
    color: var(--brown);
}

/* Shared membership validation, kept inside the form card. */
:is(.store-dialog.member-dialog, .member-card)
    .member-form
    input[aria-invalid="true"] {
    border-color: var(--caramel);
    background: var(--cream);
}

.member-field-error {
    color: var(--brown);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.wishlist-notice {
    margin-block: 12px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    color: var(--espresso);
    font-size: 11px;
}

@media (max-width: 480px) {
    .member-card.store-card {
        padding: 16px;
    }

    .store-dialog.member-dialog {
        width: calc(100% - 24px);
        padding: 16px;
    }

    .member-dialog-header h2,
    .member-card .member-dialog-header h2 {
        font-size: 25px;
    }

    :is(.store-dialog.member-dialog, .member-card) .member-form {
        gap: 8px;
    }

    :is(.store-dialog.member-dialog, .member-card) .member-form input {
        font-size: 11px;
    }
}

@media (max-height: 600px) {
    .store-dialog.member-dialog,
    .member-card.store-card {
        padding: 14px 18px;
    }

    .member-dialog-header {
        margin-bottom: 8px;
    }

    .member-introduction {
        margin-bottom: 10px;
    }

    :is(.store-dialog.member-dialog, .member-card) .member-form {
        gap: 7px;
    }

    :is(.store-dialog.member-dialog, .member-card) .member-form input {
        height: 36px;
        min-height: 36px;
    }

    :is(.store-dialog.member-dialog, .member-card) .member-form > .button {
        min-height: 40px;
        padding-block: 8px;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-grid .full-width {
    grid-column: 1/-1;
}

.notice {
    margin-top: 18px;
    margin-bottom: 24px;
    padding: 16px 22px;
    border: 1px solid var(--sand);
    border-radius: 12px;
    background: #f0e5d5;
    color: var(--espresso);
}

.notice p:last-child {
    margin-bottom: 0;
}

.notice-error {
    color: var(--brown);
    font-weight: 600;
}

.notice.notice-error {
    border-color: var(--caramel);
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: start;
}

/* Checkout — three steps, shared store fields and reusable address picker. */
.maau-checkout .checkout-page {
    max-width: 1240px;
    padding-block: 28px 56px;
}
.maau-checkout .breadcrumb {
    margin-bottom: 20px;
}
.checkout-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.checkout-heading h1 {
    margin-bottom: 8px;
    font-size: clamp(32px, 3vw, 42px);
}
.checkout-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}
.checkout-heading .eyebrow {
    margin-bottom: 8px;
    font-size: 10px;
}
.checkout-heading > .text-link {
    flex-shrink: 0;
    font-size: 11px;
}
.checkout-progress {
    margin: 0 0 24px;
}
.checkout-progress ol {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.checkout-progress li {
    flex: 1;
    min-width: 0;
}
.checkout-progress button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 8px 12px;
    border: 0;
    border-bottom: 2px solid var(--line);
    background: transparent;
    color: var(--muted);
    text-align: left;
    font: inherit;
    font-size: 11px;
}
.checkout-progress button > span {
    width: 24px;
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cream);
    font-size: 10px;
}
.checkout-progress button[aria-current="step"] {
    border-bottom-color: var(--brown);
    color: var(--espresso);
    font-weight: 600;
}
.checkout-progress button[aria-current="step"] > span,
.checkout-progress button.is-complete > span {
    background: var(--brown);
    color: var(--white);
}
.checkout-progress button:disabled {
    opacity: 0.55;
    cursor: default;
}
.maau-checkout .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 28px;
}
.checkout-details,
.checkout-summary {
    min-width: 0;
}
.maau-checkout .store-card {
    margin: 0;
    padding: 24px;
}
.checkout-details {
    display: grid;
    gap: 14px;
}
.checkout-step {
    display: grid;
    gap: 0;
    scroll-margin-top: 116px;
}
.checkout-step.is-active {
    border-color: var(--caramel);
}
.checkout-step-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.checkout-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.checkout-section-heading > span {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--brown);
    font-size: 10px;
}
.is-active .checkout-section-heading > span {
    background: var(--brown);
    color: var(--white);
}
.maau-checkout .checkout-section-heading h2 {
    margin: 0;
    font-size: 24px;
}
.checkout-section-heading h2:focus {
    outline: none;
}
.checkout-step-body {
    display: grid;
    gap: 18px;
    padding-top: 22px;
}
.checkout-step-summary {
    display: grid;
    gap: 5px;
    padding: 12px 0 0 40px;
    overflow-wrap: anywhere;
}
.maau-checkout .checkout-step-summary p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}
.checkout-step-summary p:first-child {
    color: var(--espresso);
    font-weight: 500;
}
.maau-checkout .checkout-edit,
.maau-checkout .checkout-back {
    flex-shrink: 0;
    min-height: 44px;
    padding: 10px 2px;
    border: 0;
    background: transparent;
    font-size: 11px;
}
.maau-checkout .checkout-address-form {
    gap: 22px;
}
.checkout-subsection {
    display: grid;
    gap: 14px;
}
.checkout-subsection + .checkout-subsection {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.maau-checkout .checkout-subsection h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
}
.maau-checkout .form-grid {
    gap: 14px 16px;
}
.maau-checkout .store-form label {
    gap: 7px;
    font-size: 11px;
    font-weight: 500;
}
.maau-checkout .store-form :is(input, select, textarea) {
    font-size: 12px;
    font-weight: 400;
}
.maau-checkout .store-form input::placeholder,
.maau-checkout .store-form textarea::placeholder {
    color: var(--muted);
    opacity: 0.8;
}
.maau-checkout .button {
    min-height: 46px;
    padding: 12px 22px;
    font-size: 11px;
    letter-spacing: 0.02em;
}
.maau-checkout .checkout-hint {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.65;
}
.checkout-step-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.checkout-step-actions .checkout-back {
    margin-right: auto;
}
.maau-checkout .checkout-feedback {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    color: var(--brown);
    font-size: 11px;
    line-height: 1.65;
}
.checkout-feedback:empty {
    display: none;
}
.maau-checkout .checkout-feedback.is-error {
    border-color: var(--caramel);
}
.checkout-field-error {
    display: block;
    margin-top: 2px;
    color: var(--brown);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.6;
}
.maau-checkout .store-form [aria-invalid="true"] {
    border-color: var(--brown);
}
.checkout-calculate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}
.checkout-rates {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.checkout-rate-placeholder {
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 9px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}
.maau-checkout .shipping-option {
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line);
}
.maau-checkout .shipping-option:hover {
    background: var(--cream);
}
.maau-checkout .shipping-option:has(input:checked) {
    background: var(--cream);
}
.maau-checkout .shipping-option input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
}
.maau-checkout .shipping-option > span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.6;
}
.maau-checkout .shipping-option > strong {
    min-width: 96px;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.6;
    white-space: nowrap;
}
.checkout-voucher {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
}
.checkout-voucher > summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}
.checkout-voucher[open] > summary {
    margin-bottom: 14px;
}
.checkout-voucher-controls {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.checkout-voucher-controls > label {
    flex: 1;
    min-width: 0;
}
.checkout-voucher .checkout-hint {
    margin-top: 10px;
}
.maau-checkout .checkout-agreement {
    gap: 10px;
    font-size: 11px;
    line-height: 1.75;
}
.checkout-agreement > span {
    min-width: 0;
}
.maau-checkout .checkout-payment-note {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}
.checkout-summary {
    position: sticky;
    top: 110px;
}
.checkout-summary-card {
    display: grid;
    gap: 0;
}
.checkout-order-overview {
    min-width: 0;
}
.checkout-order-overview > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    font-family: "DM Serif Display", serif;
    font-size: 24px;
    cursor: pointer;
}
.checkout-order-overview > summary::-webkit-details-marker {
    display: none;
}
.checkout-order-overview > summary small {
    display: block;
    margin-top: 4px;
    font-family: "Montserrat", sans-serif;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
}
.checkout-overview-amount {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    white-space: nowrap;
}
.checkout-overview-body {
    display: grid;
    gap: 22px;
    padding-top: 22px;
}
.checkout-items {
    min-width: 0;
}
.checkout-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
}
.checkout-item:first-child {
    padding-top: 0;
}
.checkout-item-image {
    display: grid;
    place-items: center;
    width: 56px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 5px;
    background: var(--cream);
    font-family: "DM Serif Display", serif;
    font-size: 16px;
}
.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.checkout-item-info {
    min-width: 0;
    overflow-wrap: anywhere;
}
.checkout-item-info h3 {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}
.maau-checkout .checkout-item-info p {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}
.checkout-item > strong {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.65;
    white-space: nowrap;
}
.maau-checkout .checkout-item-info .checkout-item-warning {
    color: var(--brown);
}
.checkout-totals {
    display: grid;
    gap: 10px;
    margin: 0;
    font-size: 12px;
}
.checkout-totals > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}
.checkout-totals dd {
    margin: 0;
    text-align: right;
    font-weight: 500;
    white-space: nowrap;
}
.checkout-totals dt {
    color: var(--muted);
}
.checkout-grand-total {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.checkout-grand-total dt {
    color: var(--espresso);
    font-weight: 500;
}
.checkout-grand-total dd {
    font-size: 19px;
}
@media (max-width: 1000px) {
    .maau-checkout .checkout-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
        gap: 20px;
    }
    .maau-checkout .store-card {
        padding: 20px;
    }
}
@media (max-width: 900px) {
    .maau-checkout .checkout-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .checkout-summary {
        position: static;
        grid-row: 1;
    }
    .checkout-order-overview > summary::after {
        content: "";
        width: 7px;
        height: 7px;
        flex: 0 0 7px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        margin-left: 4px;
    }
    .checkout-order-overview[open] > summary::after {
        transform: rotate(225deg);
    }
    .checkout-overview-amount {
        margin-left: auto;
    }
    .checkout-order-overview > summary {
        font-size: 21px;
    }
}
@media (max-width: 480px) {
    .maau-checkout .checkout-page {
        padding-block: 24px 36px;
    }
    .checkout-heading {
        align-items: start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 18px;
    }
    .checkout-progress {
        margin-bottom: 18px;
    }
    .checkout-progress button {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
        padding: 8px 3px;
        font-size: 9px;
        text-align: center;
    }
    .maau-checkout .store-card {
        padding: 18px 16px;
    }
    .maau-checkout .checkout-section-heading h2 {
        font-size: 21px;
    }
    .maau-checkout .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .checkout-step-body {
        gap: 16px;
        padding-top: 18px;
    }
    .checkout-step-summary {
        padding-left: 0;
    }
    .checkout-step-actions {
        gap: 12px;
    }
    .checkout-step-actions > .button {
        flex: 1;
        padding-inline: 12px;
    }
    .checkout-item {
        gap: 10px;
        grid-template-columns: 48px minmax(0, 1fr) auto;
    }
    .checkout-item-image {
        width: 48px;
    }
    .checkout-item > strong {
        font-size: 10px;
    }
    .checkout-grand-total dd {
        font-size: 17px;
    }
    .maau-checkout .shipping-option {
        padding: 14px 12px;
        column-gap: 10px !important;
    }
    .maau-checkout .shipping-option > strong {
        min-width: 82px;
        font-size: 11px;
    }
}

/* Shared area picker for Checkout and account addresses. */
.store-form .address-fields label {
    font-weight: 500;
}

.store-form .address-fields input,
.store-form .address-fields textarea {
    font-weight: 400;
}

.address-area-picker {
    position: relative;
    min-width: 0;
}

.address-area-search {
    position: relative;
    display: block;
    min-width: 0;
}

.store-form .address-area-search > input {
    padding-right: 42px;
}

.address-area-search > input::-webkit-search-cancel-button {
    appearance: none;
}

.address-area-clear {
    position: absolute;
    inset: 5px 5px 5px auto;
    display: grid;
    place-items: center;
    width: 34px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
}

.address-area-clear:hover,
.address-area-clear:focus-visible {
    background: var(--cream);
    color: var(--espresso);
}

.address-area-results {
    position: absolute;
    inset: 74px 0 auto;
    z-index: 30;
    max-height: 250px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(61, 35, 24, 0.12);
}

.address-area-option {
    padding: 11px 12px;
    border-radius: 6px;
    color: var(--espresso);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.address-area-option + .address-area-option {
    border-top: 1px solid var(--line);
}

.address-area-option:hover,
.address-area-option[aria-selected="true"] {
    background: var(--cream);
}

.store-form .address-area-status {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.store-form .address-area-status.is-error {
    color: var(--brown);
}

.address-area-retry {
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 11px;
}

.summary {
    position: sticky;
    top: 112px;
}

.summary dl {
    margin: 24px 0;
}

.summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-block: 12px;
}

.summary dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.summary-total {
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 17px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.summary-item small {
    display: block;
    color: var(--muted);
}

.summary form + form {
    margin-top: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    gap: 22px;
    padding-block: 22px;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item h3 {
    margin-bottom: 6px;
}

.cart-item p {
    margin-bottom: 8px;
    font-size: 12px;
}

.cart-item > strong {
    font-size: 13px;
}

.cart-photo {
    aspect-ratio: 3/4;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    background: var(--sand);
}

.cart-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-photo .image-placeholder {
    font-size: 24px;
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block: 12px;
}

.quantity-form input {
    max-width: 78px;
    min-height: 38px;
}

.store-form .checkbox-label {
    flex-direction: row;
    align-items: start;
    font-weight: 400;
}

.checkbox-label input {
    flex-shrink: 0;
    margin-top: 5px;
}

.shipping-option {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px !important;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    margin-bottom: 10px;
    cursor: pointer;
}

.shipping-option:has(input:checked) {
    border-color: var(--caramel);
    background: var(--cream);
}

.shipping-option span {
    flex: 1;
}

.shipping-option small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(160px, 0.45fr) minmax(
            160px,
            0.45fr
        );
    gap: 14px;
    margin-bottom: 32px;
    font-size: 12px;
}

.search-field {
    position: relative;
}

.search-field input {
    padding-right: 42px;
}

.search-field > span:last-child {
    position: absolute;
    right: 16px;
    top: 4px;
    font-size: 26px;
    pointer-events: none;
}

.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.category-campaign {
    border-radius: var(--radius);
    margin-bottom: 28px;
}

.browse-all {
    text-align: center;
    padding-bottom: 56px;
}

.card-hover {
    position: absolute;
    inset: auto 16px 16px;
    padding: 12px;
    border-radius: 30px;
    background: rgba(247, 242, 233, 0.92);
    text-align: center;
    font-size: 11px;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.2s,
        transform 0.2s;
}

.product-image:hover .card-hover,
.product-image:focus-visible .card-hover {
    opacity: 1;
    transform: translateY(0);
}

/* Bag page and fixed checkout summary */
body.maau-store:has([data-bag-page] .bag-checkout-bar:not([hidden])) {
    padding-bottom: var(--bag-checkout-height, 120px);
}

.bag-section {
    padding-block: 32px 48px;
}

.bag-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.bag-heading h1 {
    margin: 0 0 8px;
    font-size: clamp(36px, 4vw, 54px);
}

.bag-heading p {
    margin: 0;
}

.bag-columns,
.bag-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px 160px;
    align-items: center;
    gap: 28px;
}

.bag-columns {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.bag-columns > :last-child {
    text-align: right;
}

.bag-line {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.bag-product {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 22px;
}

.bag-photo {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 104px;
    width: 104px;
    height: 128px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--cream);
}

.bag-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bag-product-details {
    min-width: 0;
}

.bag-product-details h2 {
    margin: 0 0 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.bag-variant,
.bag-unit-price {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 11px;
}

.bag-stock {
    margin: 0;
    color: var(--brown);
    font-size: 10px;
}

.bag-row-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bag-update-form {
    display: grid;
    gap: 6px;
}

.bag-update-form .quantity-stepper input {
    width: 46px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
    font: inherit;
}

.bag-update-form [data-bag-update] {
    justify-self: center;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 10px;
}

.bag-remove-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
}

.bag-remove-button:hover:not(:disabled) {
    background: var(--cream);
    color: var(--brown);
}

.bag-line-total {
    text-align: right;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.bag-message {
    margin-bottom: 20px;
    padding: 14px 18px;
    border: 1px solid var(--caramel);
    border-radius: 8px;
    background: var(--cream);
    font-size: 11px;
}

.bag-message p {
    margin: 0 0 8px;
}

.bag-checkout-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 25;
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 -4px 18px rgba(61, 35, 24, 0.06);
}

.bag-checkout-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bag-checkout-total {
    min-width: 0;
}

.bag-checkout-total > p {
    margin: 0 0 2px;
    font-size: 11px;
}

.bag-checkout-total > strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.bag-checkout-total .bag-checkout-note {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.bag-checkout-button {
    min-width: 230px;
    min-height: 48px;
}

@media (max-width: 900px) {
    .bag-columns,
    .bag-line {
        grid-template-columns: minmax(0, 1fr) 180px 130px;
        gap: 18px;
    }

    .bag-product {
        gap: 14px;
    }

    .bag-photo {
        flex-basis: 80px;
        width: 80px;
        height: 104px;
    }
}

@media (max-width: 640px) {
    .bag-section {
        padding-block: 22px 36px;
    }

    .bag-heading {
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 16px;
    }

    .bag-heading > a {
        font-size: 10px;
    }

    .bag-columns {
        display: none;
    }

    .bag-line {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding-block: 20px;
    }

    .bag-product {
        grid-column: 1 / -1;
    }

    .bag-product-details h2 {
        font-size: 13px;
    }

    .bag-line-total {
        font-size: 13px;
    }

    .bag-checkout-inner {
        gap: 14px;
    }

    .bag-checkout-total > strong {
        font-size: 19px;
    }

    .bag-checkout-button {
        min-width: 130px;
        padding-inline: 18px;
    }

    .bag-checkout-total .bag-checkout-note {
        max-width: 220px;
        font-size: 8px;
    }
}

@media (max-width: 380px) {
    .bag-row-actions {
        gap: 6px;
    }
    .bag-update-form .quantity-stepper input {
        width: 38px;
    }
    .bag-update-form .quantity-stepper button {
        width: 32px;
    }
    .bag-remove-button {
        width: 36px;
    }
}

@media print {
    .bag-checkout-bar,
    .bag-row-actions {
        display: none !important;
    }

    body.maau-store:has([data-bag-page]) {
        padding-bottom: 0;
    }
}

/* Product detail — shared storefront stylesheet */
.product-detail {
    --gallery-thumb-size: clamp(48px, 4vw, 80px);
    --gallery-preview-width: max(240px, calc(75dvh - 120px));
    max-width: calc(
        var(--gallery-thumb-size) + 18px + var(--gallery-preview-width) + 24px +
            540px
    );
    padding-block: 24px 56px;
}

.product-detail .breadcrumb {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 10px;
}

.product-detail .product-dialog-layout {
    grid-template-columns:
        minmax(
            0,
            min(
                48%,
                calc(
                    var(--gallery-thumb-size) + 18px +
                        var(--gallery-preview-width)
                )
            )
        )
        minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.product-gallery,
.product-detail .product-info {
    min-width: 0;
}

.product-detail .product-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px 18px;
}

.product-detail .product-gallery.has-gallery-photos {
    grid-template-columns: var(--gallery-thumb-size) minmax(0, 1fr);
}

.product-gallery.has-gallery-photos .detail-main-photo {
    grid-column: 2;
    grid-row: 1;
}

.product-gallery.has-gallery-photos .product-photo-note {
    grid-column: 2;
    grid-row: 2;
}

.product-detail .product-info {
    width: 100%;
    max-width: 540px;
    justify-self: start;
    padding: 0;
}

.product-labels,
.product-price-row,
.product-variant-heading,
.product-availability,
.product-quantity-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-labels {
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.4;
}

.product-stock-badge,
.product-category-label {
    padding: 5px 9px;
    border-radius: 4px;
}

.product-stock-badge {
    background: var(--espresso);
    color: var(--cream);
}

.product-category-label {
    background: var(--sand);
    color: var(--brown);
}

.product-detail .product-info h1 {
    margin: 0 0 12px;
    font-size: clamp(26px, 2.5vw, 38px);
    line-height: 1.2;
}

.product-price-row {
    justify-content: space-between;
    margin-bottom: 24px;
}

.product-detail .product-price {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
}

.product-favourite {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
}

.product-favourite:hover {
    background: var(--sand);
}

.product-favourite[aria-pressed="true"] svg {
    fill: var(--caramel);
    stroke: var(--brown);
}

.product-detail .detail-main-photo {
    width: 100%;
    min-width: 0;
    aspect-ratio: 3 / 4;
    max-height: max(320px, calc(100dvh - 160px));
    border-radius: 6px;
    background: var(--cream);
    overflow: hidden;
}

.product-detail .detail-main-photo > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-photo-note {
    margin: 0;
    font-size: 10px;
}

.photo-thumbnails {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-height: var(--product-preview-height, max(320px, calc(100dvh - 160px)));
    margin: 0;
    padding: 3px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--caramel) transparent;
}

.photo-thumbnail {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--white);
    overflow: hidden;
}

.photo-thumbnail[aria-pressed="true"] {
    border-color: var(--caramel);
    box-shadow: 0 0 0 1px var(--caramel);
}

.photo-thumbnail:focus-visible {
    outline: 2px solid var(--brown);
    outline-offset: -3px;
}

.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.variant-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.variant-swatch {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 5px 10px 5px 5px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    font-size: 11px;
}

.variant-swatch img {
    width: 30px;
    height: 38px;
    object-fit: cover;
    border-radius: 3px;
}

.variant-swatch small {
    color: var(--muted);
    font-size: 9px;
}

.variant-swatch[aria-pressed="true"] {
    border-color: var(--caramel);
    background: var(--sand);
}

.product-purchase {
    display: block;
    margin: 0;
}

.product-variant-heading {
    margin-bottom: 8px;
    font-size: 11px;
}

.product-variant-heading strong {
    font-weight: 500;
}

.maau-store.is-enhanced .product-variant-field {
    display: none;
}

.product-availability {
    justify-content: space-between;
    margin: 20px 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 11px;
}

.product-availability strong {
    font-weight: 500;
}

.product-quantity-row {
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-purchase .product-quantity-row > label {
    margin: 0;
    font-size: 11px;
}

.quantity-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
}

.quantity-stepper button {
    width: 40px;
    height: 42px;
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
}

.quantity-stepper button:hover:not(:disabled) {
    background: var(--sand);
}

.quantity-stepper button:disabled {
    opacity: 0.35;
    cursor: default;
}

.product-purchase .quantity-stepper input {
    min-height: 42px;
    width: 54px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    text-align: center;
    background: transparent;
    box-shadow: none;
}

.is-enhanced .quantity-stepper input {
    appearance: textfield;
    -moz-appearance: textfield;
}

.is-enhanced .quantity-stepper input::-webkit-inner-spin-button,
.is-enhanced .quantity-stepper input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-buy-actions {
    display: grid;
    gap: 12px;
}

.product-buy-actions .button {
    width: 100%;
    height: 48px;
    min-height: 48px;
    margin: 0;
    border-radius: 7px;
}

.product-add-button {
    color: var(--espresso);
    border: 1px solid var(--espresso);
    background: transparent;
}

.product-add-button:hover:not(:disabled) {
    background: var(--sand);
}

.product-purchase-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.product-description {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.product-description h2 {
    margin-bottom: 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.product-description p {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.9;
}

.product-specifications {
    margin: 0 0 20px;
    font-size: 11px;
}

.product-specifications > div {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 7px;
}

.product-specifications dt {
    color: var(--muted);
}

.product-specifications dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.product-detail .faq-item summary {
    padding-block: 15px;
    font-size: 11px;
}

.product-detail .faq-answer {
    font-size: 11px;
}

.product-related {
    padding-block: 24px 40px;
}

/* Recommendations stay secondary to the product being viewed. */
.product-related .section-heading {
    margin-bottom: 18px;
}

.product-related .section-heading h2 {
    font-size: 28px;
    line-height: 1.25;
}

.product-related .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(0, 210px));
    gap: 20px;
    justify-content: start;
}

.product-related .product-card {
    max-width: 210px;
    padding-bottom: 0;
}

.product-related .product-info {
    padding-top: 10px;
}

.product-related .product-name-price {
    display: block;
}

.product-related .product-name-price h3 {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.product-related .product-name-price .product-price {
    margin: 4px 0 0;
    text-align: left;
    font-size: 11px;
}

.product-related .product-category,
.product-related .product-variant-count {
    display: none;
}

@media (max-width: 575px) {
    .product-related .section-heading h2 {
        font-size: 22px;
    }

    .product-related .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 432px;
        gap: 12px;
    }
}

.buy-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px;
    align-items: end;
}

@media (max-width: 760px) {
    .product-detail {
        max-width: none;
        padding-block: 18px 36px;
    }

    .product-detail .product-dialog-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .product-detail .product-info {
        max-width: none;
    }

    .product-detail .product-gallery {
        gap: 10px;
    }

    .product-detail .detail-main-photo {
        max-height: none;
    }

    .photo-thumbnails {
        gap: 8px;
        padding: 2px;
    }

    .product-detail .breadcrumb {
        margin-bottom: 18px;
        font-size: 9px;
    }

    .product-detail .product-info h1 {
        font-size: 28px;
    }

    .product-related {
        padding-bottom: 40px;
    }
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 64px;
    align-items: center;
}

.auth-layout.auth-register {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
    gap: clamp(32px, 4vw, 64px);
    padding-block: 32px;
}

.auth-register > [data-reveal] h1 {
    margin: 16px 0 24px;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.1;
}

@media (max-width: 760px) {
    .auth-layout.auth-register {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-block: 24px;
    }

    .auth-register .member-card {
        justify-self: center;
    }

    .auth-register > [data-reveal] h1 {
        margin-block: 10px 16px;
        font-size: 36px;
    }
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

/* Customer account: a compact sidebar and one focused panel at a time. */
.maau-account .account-shell {
    max-width: 1240px;
    padding-block: 36px 64px;
}
.maau-account .account-heading {
    margin-bottom: 26px;
}
.maau-account .account-heading .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
}
.maau-account .account-heading h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
}
.maau-account .account-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.maau-account .account-layout {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.maau-account .account-sidebar {
    min-width: 0;
    padding: 20px 16px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
}
.maau-account .account-identity {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0 4px 18px;
    border-bottom: 1px solid var(--line);
}
.maau-account .account-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--espresso);
    color: var(--cream);
    font-family: "DM Serif Display", serif;
    font-size: 22px;
}
.maau-account .account-identity > div {
    min-width: 0;
}
.maau-account .account-identity strong,
.maau-account .account-identity span:not(.account-avatar),
.maau-account .account-identity small {
    display: block;
    overflow-wrap: anywhere;
}
.maau-account .account-identity strong {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}
.maau-account .account-identity span:not(.account-avatar) {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}
.maau-account .account-identity small {
    margin-top: 5px;
    color: var(--brown);
    font-size: 9px;
}
.maau-account .account-navigation {
    display: grid;
    gap: 5px;
    padding-block: 16px;
}
.maau-account .account-navigation a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 12px;
    transition:
        background-color 160ms ease,
        color 160ms ease;
}
.maau-account .account-navigation a:hover {
    background: var(--sand);
}
.maau-account .account-navigation a[aria-selected="true"] {
    background: var(--espresso);
    color: var(--cream);
}
.maau-account .account-navigation svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}
.maau-account .account-signout {
    margin: 0;
    padding: 12px 4px 0;
    border-top: 1px solid var(--line);
}
.maau-account .account-signout .text-link {
    font-size: 11px;
}
.maau-account .account-content {
    min-width: 0;
}
.maau-account .account-panel {
    min-width: 0;
    min-height: 360px;
    margin: 0 0 20px;
    padding: 24px;
    scroll-margin-top: 120px;
}
.maau-account .account-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.maau-account .account-panel-heading h2 {
    margin: 0 0 6px;
    font-size: 25px;
}
.maau-account .account-panel-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}
.maau-account .account-count {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 30px;
    background: var(--cream);
    color: var(--brown);
    font-size: 10px;
}
.maau-account .account-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 12px 28px;
    text-align: center;
}
.maau-account .account-empty-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 17px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--brown);
}
.maau-account .account-empty-icon svg {
    width: 24px;
    height: 24px;
}
.maau-account .account-empty h3 {
    margin: 0 0 8px;
    font-family: "DM Serif Display", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}
.maau-account .account-empty p {
    max-width: 360px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.maau-account .account-empty .button {
    margin-top: 22px;
}
.maau-account .button {
    width: auto;
    min-height: 42px;
    padding: 10px 20px;
    font-size: 11px;
    line-height: 1.5;
}
.maau-account .account-details-form {
    gap: 22px;
}
.maau-account .account-details-form .form-grid {
    gap: 18px;
}
.maau-account .account-details-form label {
    gap: 7px;
    font-size: 12px;
}
.maau-account .account-details-form input {
    font-weight: 400;
    min-height: 44px;
    padding: 11px 12px;
    font-size: 12px;
}
.maau-account .account-details-form small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
}
.maau-account .account-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.maau-account .account-form-actions .text-link {
    font-size: 11px;
}
.maau-account .account-order-labels,
.maau-account .order-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px 140px;
    align-items: center;
    gap: 16px;
}
.maau-account .account-order-labels {
    padding-bottom: 10px;
    color: var(--muted);
    font-size: 10px;
}
.maau-account .order-row {
    padding-block: 16px;
    overflow-wrap: anywhere;
    font-size: 11px;
}
.maau-account .order-row .status-pill {
    justify-self: start;
}
.maau-account .order-row > :last-child,
.maau-account .account-order-labels > :last-child {
    text-align: right;
}
.maau-account .address-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.maau-account .address-card {
    min-width: 0;
    padding: 18px;
    background: var(--cream);
    overflow-wrap: anywhere;
}
.maau-account .address-card h3 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
}
.maau-account .address-card p {
    margin-bottom: 8px;
    font-size: 11px;
}
.maau-account .address-card .text-link {
    margin-top: 8px;
    font-size: 11px;
}
.maau-account .account-wishlist .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.maau-account .account-wishlist .home-product-grid:empty {
    display: none;
}
.maau-account .account-verification {
    margin: 0 0 20px;
    font-size: 12px;
}
@media (max-width: 1000px) {
    .maau-account .account-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
    }
    .maau-account .account-panel {
        padding: 20px;
    }
    .maau-account .account-wishlist .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .maau-account .account-shell {
        padding-block: 24px 40px;
    }
    .maau-account .account-heading {
        margin-bottom: 20px;
    }
    .maau-account .account-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .maau-account .account-sidebar {
        padding: 16px;
    }
    .maau-account .account-navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-block: 12px;
        gap: 6px;
    }
    .maau-account .account-navigation a {
        padding: 10px;
        font-size: 11px;
    }
    .maau-account .account-panel {
        min-height: 0;
        padding: 18px;
    }
    .maau-account .account-panel-heading h2 {
        font-size: 23px;
    }
    .maau-account .account-panel-heading .button {
        padding-inline: 14px;
    }
    .maau-account .account-empty {
        padding-inline: 0;
    }
    .maau-account .account-empty h3 {
        font-size: 21px;
    }
    .maau-account .address-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .maau-account .account-order-labels,
    .maau-account .order-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
    }
    .maau-account .account-order-labels {
        display: none;
    }
    .maau-account .order-row > :last-child {
        grid-column: 1 / -1;
        text-align: left;
    }
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.order-row small {
    display: block;
    color: var(--muted);
}

.status-pill {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 30px;
    background: var(--cream);
    font-size: 10px;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.address-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.address-card p {
    font-size: 12px;
}

.address-dialog {
    width: min(680px, calc(100% - 32px));
    padding: 40px 28px 28px;
}

.confirm-dialog {
    width: min(440px, calc(100% - 32px));
    padding: 32px;
    text-align: center;
}

.confirm-dialog h2 {
    font-size: 28px;
}

.confirm-dialog .button {
    margin: 6px;
}

.order-title {
    font-size: clamp(40px, 5vw, 64px);
}

.policy-content h2 {
    font-size: 28px;
    margin-top: 32px;
}

@media (max-width: 1000px) {
    .checkout-layout {
        gap: 20px;
    }

    .store-card {
        padding: 22px;
    }

    .auth-layout {
        gap: 32px;
    }

    .address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-inner {
        gap: 18px;
    }

    .main-nav {
        gap: 20px;
    }
}

@media (max-width: 760px) {
    .checkout-layout,
    .auth-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .summary {
        position: static;
    }

    .catalog-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-field {
        grid-column: 1/-1;
    }

    .header-account span {
        display: none;
    }

    .header-actions {
        gap: 10px;
    }

    .cart-item {
        gap: 14px;
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .cart-item > strong {
        grid-column: 2;
    }

    .order-row {
        flex-wrap: wrap;
    }

    .auth-layout > div {
        margin-bottom: 4px;
    }

    .card-hover {
        display: none;
    }
}

@media (max-width: 480px) {
    .editorial-section-heading {
        flex-wrap: wrap;
    }

    .section-aside {
        max-width: none;
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        justify-content: space-between;
    }

    .section-aside p {
        margin: 0;
    }

    .section-aside .section-index {
        display: none;
    }

    .product-grid.collection-rail,
    .category-rail {
        grid-auto-columns: 82%;
    }

    .product-name-price {
        flex-wrap: wrap;
        gap: 0 12px;
    }

    .product-name-price h3 {
        flex-basis: 100%;
    }

    .product-name-price .product-price {
        text-align: left;
    }

    .form-grid,
    .address-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .store-card {
        padding: 20px 16px;
    }

    .shipping-option {
        padding: 12px;
        gap: 8px !important;
    }

    .shipping-option strong {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card-hover,
    .store-form input,
    .store-form select,
    .store-form textarea {
        transition: none;
    }
}

@media print {
    .site-header,
    .announcement,
    .site-footer,
    .promo-dialog,
    button,
    form,
    .breadcrumb {
        display: none !important;
    }

    body.maau-store {
        background: white;
    }

    .container {
        width: 100%;
    }

    .section-space {
        padding: 0;
    }

    .checkout-layout {
        display: block;
    }

    .summary {
        position: static;
    }

    .store-card {
        break-inside: avoid;
    }
}

/* =========================================================
   Home — Canva editorial layout
   Scoped to Home; shared catalog, forms and CMS keep their styles.
   ========================================================= */
.maau-editorial-page .site-header {
    border-bottom-color: transparent;
}

.maau-editorial-page .header-inner {
    min-height: 54px;
    gap: 16px;
}

.maau-editorial-page .brand-word {
    font-size: 28px;
}

.maau-editorial-page .brand-word > span {
    margin-top: 6px;
    font-size: 6px;
}

.maau-editorial-page .header-register {
    display: none;
}

.maau-editorial-page .main-nav,
.maau-editorial-page .header-actions {
    font-size: 10px;
}

:is(.maau-home, .maau-collections) {
    --home-radius: 14px;
    overflow: clip;
}

.maau-home .home-opening {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    min-height: calc(100vh - var(--home-top-offset, 64px));
    min-height: calc(100svh - var(--home-top-offset, 64px));
    padding-block: 24px 36px;
}

.maau-home .home-triptych {
    --home-photo-height: clamp(
        220px,
        calc(100vh - var(--home-top-offset, 64px) - 168px),
        580px
    );
    --home-photo-height: clamp(
        220px,
        calc(100svh - var(--home-top-offset, 64px) - 168px),
        580px
    );
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.maau-home .home-figure {
    min-width: 0;
    margin: 0;
}

.maau-home .home-figure-1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: var(--home-photo-height);
}

.maau-home .home-figure figcaption {
    margin: 0 0 14px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.6;
}

.maau-home .home-figure-3 figcaption {
    margin: 14px 0 0;
    text-align: right;
}

.maau-home .home-editorial-photo {
    position: relative;
    display: block;
    width: 100%;
    height: calc(var(--home-photo-height) * 0.7);
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--home-radius);
    isolation: isolate;
    background: var(--sand);
}

.maau-home .home-figure-2 .home-editorial-photo {
    height: var(--home-photo-height);
}

.maau-home .home-editorial-photo > img,
:is(.maau-home, .maau-collections) .home-product-photo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

:is(.maau-home, .maau-collections) .home-photo-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, var(--sand), var(--cream));
    color: var(--brown);
    font:
        400 clamp(36px, 5vw, 68px) / 1 "DM Serif Display",
        serif;
    letter-spacing: -0.04em;
}

.maau-home .home-explore-pill {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: max-content;
    max-width: calc(100% - 32px);
    min-height: 42px;
    white-space: nowrap;
    padding: 8px 18px;
    border: 1px solid rgba(61, 35, 24, 0.25);
    border-radius: 999px;
    background: rgba(247, 242, 233, 0.95);
    color: var(--espresso);
    font-size: 11px;
    font-weight: 500;
    transition:
        background 0.25s,
        color 0.25s;
}

.maau-home .home-explore-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.maau-home .home-explore-pill > [aria-hidden] {
    flex-shrink: 0;
}

.maau-home .home-figure-1 .home-explore-pill {
    right: auto;
    left: 16px;
}

.maau-home .home-figure-2 .home-explore-pill {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.maau-home .home-introduction {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.maau-home .home-introduction p {
    margin: 0;
    font:
        italic 400 clamp(17px, 1.5vw, 21px) / 1.5 "DM Serif Display",
        serif;
    text-wrap: pretty;
}

.maau-home .home-statement {
    padding-block: 44px 42px;
}

.maau-home .home-title {
    margin: 0;
    font-size: clamp(54px, 8.3vw, 124px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.055em;
    text-align: center;
    text-wrap: balance;
}

.maau-home .home-title em {
    font-weight: 400;
}

.maau-home .home-campaign {
    margin: 0 0 44px;
}

.maau-home .home-campaign .hero-viewport {
    border-radius: 0;
}

.maau-home .home-campaign .carousel-controls {
    right: auto;
    bottom: 12px;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transform: translateX(-50%);
}

.maau-home .home-campaign .carousel-dots {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.maau-home .home-campaign .carousel-dot {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
}

.maau-home .home-campaign .carousel-dot::before {
    width: 8px;
    height: 8px;
    border: 1px solid var(--espresso);
    border-radius: 50%;
    background: var(--cream);
    box-shadow: 0 1px 4px rgba(61, 35, 24, 0.18);
}

.maau-home .home-campaign .carousel-dot[aria-pressed="true"]::before {
    width: 11px;
    height: 11px;
    border: 2px solid var(--cream);
    border-radius: 50%;
    background: var(--espresso);
}

.maau-home .home-collections {
    padding-top: 12px;
}

.maau-home .home-collection-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    margin-bottom: 32px;
}

.maau-home .home-collection-tab {
    position: relative;
    min-height: 44px;
    padding: 8px 4px;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        border-color 0.25s,
        color 0.25s;
}

.maau-home .home-collection-tab.is-active {
    border-bottom-color: var(--espresso);
}

.maau-home .home-collection-tab:hover {
    color: var(--brown);
    border-bottom-color: var(--brown);
}

.maau-home .home-noscript-collections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

:is(.maau-home, .maau-collections) .home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 28px;
    align-items: start;
}

:is(.maau-home, .maau-collections) .home-product-card {
    min-width: 0;
}

:is(.maau-home, .maau-collections) .home-product-media {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--home-radius);
    background: var(--sand);
}

:is(.maau-home, .maau-collections) .home-product-photo {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: inherit;
}

:is(.maau-home, .maau-collections) .home-card-icon {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(247, 242, 233, 0.94);
    color: var(--espresso);
    transition:
        background 0.25s,
        color 0.25s;
}

:is(.maau-home, .maau-collections) .home-wishlist {
    top: 10px;
    right: 10px;
}

:is(.maau-home, .maau-collections) .home-shop-piece {
    right: 10px;
    bottom: 10px;
}

:is(.maau-home, .maau-collections) .home-wishlist[aria-pressed="true"] {
    background: var(--espresso);
    color: var(--cream);
}

:is(.maau-home, .maau-collections) .home-wishlist[aria-pressed="true"] svg {
    fill: currentColor;
}

/* Shared product-card hover media and inventory badges. */
.maau-store .home-product-photo > .piece-cover,
.maau-store .home-product-photo > .piece-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        opacity 0.3s ease,
        transform 0.7s ease;
}

.maau-store .home-product-photo > .piece-hover {
    opacity: 0;
    pointer-events: none;
}

.maau-store .home-product-media.is-media-active .piece-hover {
    opacity: 1;
}

.maau-store .home-product-media.is-media-active .piece-cover {
    opacity: 0;
}

.maau-store .home-product-card.is-sold-out .piece-cover,
.maau-store .home-product-card.is-sold-out .is-media-active .piece-hover {
    opacity: 0.4;
}

.maau-store .home-product-card.is-sold-out .is-media-active .piece-cover {
    opacity: 0;
}

.maau-store .piece-stock-label {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    max-width: calc(100% - 70px);
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--espresso);
    color: var(--cream);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-transform: uppercase;
    pointer-events: none;
}

.maau-store .piece-low-stock {
    background: var(--sand);
    color: var(--espresso);
}

@media (prefers-reduced-motion: reduce) {
    .maau-store .home-product-photo > .piece-cover,
    .maau-store .home-product-photo > .piece-hover {
        transition: none;
    }
}

:is(.maau-home, .maau-collections) .home-product-caption {
    padding: 15px 4px 0;
    text-align: center;
}

:is(.maau-home, .maau-collections) .home-product-caption h3 {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

:is(.maau-home, .maau-collections) .home-piece-price {
    margin: 0;
    color: var(--brown);
    font-size: 12px;
}

:is(.maau-home, .maau-collections) .home-photo-note {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.maau-home .home-discover {
    margin-top: 42px;
    text-align: center;
}

.maau-home .home-discover .button {
    min-height: 48px;
    padding-inline: 26px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.maau-home .home-inline-campaign {
    margin-top: 54px;
}

.maau-home .home-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-block: 72px 80px;
}

.maau-home .home-faq-heading h2 {
    margin-bottom: 26px;
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1.15;
}

.maau-home .home-faq-heading .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.maau-home .home-faq-heading .text-link {
    text-transform: uppercase;
}

.maau-home .home-faq-list {
    min-width: 0;
    max-height: 225px;
    align-self: start;
    overflow-y: auto;
    padding-top: 24px;
    padding-right: 14px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--caramel) transparent;
}

.maau-home .home-faq-list::-webkit-scrollbar {
    width: 5px;
}

.maau-home .home-faq-list::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: var(--caramel);
}

.maau-home .home-faq-list::-webkit-scrollbar-track {
    background: transparent;
}

.maau-home .home-faq .faq-item {
    border-color: rgba(61, 35, 24, 0.35);
}

.maau-home .home-faq .faq-item summary {
    gap: 20px;
    min-height: 66px;
    padding-block: 17px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.maau-home .home-faq .faq-item summary > span {
    flex-shrink: 0;
    line-height: 1;
}

.maau-editorial-page .site-footer .footer-statement {
    display: none;
}

.maau-editorial-page .site-footer {
    padding-top: 40px;
}

.maau-editorial-page .footer-grid {
    padding-bottom: 28px;
}

@media (hover: hover) {
    .maau-home .home-editorial-photo:hover > img,
    :is(.maau-home, .maau-collections) .home-product-photo:hover > img {
        transform: scale(1.035);
    }

    .maau-home .home-editorial-photo:hover .home-explore-pill,
    :is(.maau-home, .maau-collections) .home-card-icon:hover {
        background: var(--espresso);
        color: var(--cream);
    }
}

.maau-home .home-editorial-photo:focus-visible .home-explore-pill,
:is(.maau-home, .maau-collections) .home-card-icon:focus-visible {
    background: var(--espresso);
    color: var(--cream);
}

@media (max-width: 1100px) {
    :is(.maau-home, .maau-collections) .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .maau-home .home-triptych {
        gap: 16px;
    }

    .maau-home .home-faq {
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .maau-editorial-page .header-inner {
        min-height: 54px;
    }

    .maau-home .home-opening {
        gap: 26px;
        padding-block: 20px 30px;
    }

    .maau-home .home-triptych {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .maau-home .home-figure-2 {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .maau-home .home-figure-2 .home-editorial-photo {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .maau-home .home-figure-1 {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .maau-home .home-figure-1 figcaption {
        order: 2;
    }

    .maau-home .home-figure figcaption,
    .maau-home .home-figure-3 figcaption {
        margin: 10px 0 0;
        font-size: 8px;
        letter-spacing: 0.08em;
        text-align: left;
    }

    .maau-home .home-editorial-photo {
        height: auto;
        aspect-ratio: 7 / 5;
        border-radius: 10px;
    }

    .maau-home .home-explore-pill {
        max-width: calc(100% - 16px);
        right: 8px;
        bottom: 8px;
        min-height: 40px;
        padding-inline: 12px;
        gap: 8px;
        font-size: 10px;
    }

    .maau-home .home-figure-1 .home-explore-pill {
        left: 8px;
    }

    .maau-home .home-introduction {
        margin: 0 auto;
    }

    .maau-home .home-statement {
        padding-block: 36px 32px;
    }

    .maau-home .home-title {
        margin: 0;
        font-size: clamp(50px, 10.5vw, 78px);
        line-height: 1.03;
        letter-spacing: -0.05em;
    }

    .maau-home .home-title em {
        display: block;
    }

    .maau-home .home-campaign {
        margin-bottom: 28px;
    }

    .maau-home .home-collection-tabs {
        gap: 6px 24px;
        margin-bottom: 24px;
    }

    :is(.maau-home, .maau-collections) .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }

    :is(.maau-home, .maau-collections) .home-product-media {
        border-radius: 10px;
    }

    :is(.maau-home, .maau-collections) .home-product-caption h3 {
        font-size: 10px;
    }

    :is(.maau-home, .maau-collections) .home-card-icon {
        width: 44px;
        height: 44px;
    }

    :is(.maau-home, .maau-collections) .home-wishlist {
        top: 5px;
        right: 5px;
    }

    :is(.maau-home, .maau-collections) .home-shop-piece {
        right: 5px;
        bottom: 5px;
    }

    .maau-home .home-discover {
        margin-top: 30px;
    }

    .maau-home .home-faq {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding-block: 52px 56px;
    }

    .maau-home .home-faq-list {
        max-height: 201px;
        padding-top: 0;
    }

    .maau-home .home-inline-campaign {
        margin-top: 36px;
    }
}

/* Collections uses the same colour cards, typography and site chrome as Home. */
/* Collections: shared cards with a filter sidebar. */

.maau-collections .collections-campaigns {
    display: grid;
    gap: 12px;
}

.maau-collections .collection-campaign-link {
    display: block;
}

.maau-collections .collections-campaigns .site-banner-media {
    margin: 0;
    border-radius: 0;
}

.maau-collections .collections-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-block: 24px 64px;
}

.maau-collections .collections-sidebar {
    position: sticky;
    top: 88px;
    max-height: calc(100dvh - 108px);
    overflow-y: auto;
}

.maau-collections .collection-filters-panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.35);
}

.maau-collections .collection-filters-panel > summary {
    display: none;
}

.maau-collections .collection-filter-search {
    padding: 14px 16px;
}

.maau-collections .search-field {
    position: relative;
    display: block;
}

.maau-collections .search-field input,
.maau-collections .collection-sort select {
    width: 100%;
    min-height: 44px;
    padding: 10px 44px 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--cream);
    color: var(--espresso);
    font: inherit;
    font-size: 11px;
}

.maau-collections .search-field > svg {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

.maau-collections .collection-filter-group {
    border-top: 1px solid var(--line);
}

.maau-collections .collection-filter-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 600;
}

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

.maau-collections .filter-chevron {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.maau-collections details[open] > summary > .filter-chevron {
    transform: rotate(180deg);
}

.maau-collections .collection-filter-group fieldset {
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0 18px 12px;
    border: 0;
}

.maau-collections .collection-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    margin: 0;
    cursor: pointer;
    font-size: 11px;
    line-height: 1.5;
}

.maau-collections .collection-filter-option input {
    width: 16px;
    height: 16px;
    min-height: 0;
    flex: 0 0 16px;
    margin: 0;
    padding: 0;
    accent-color: var(--espresso);
}

.maau-collections .collection-filter-option span {
    overflow-wrap: anywhere;
}

/* Price filter */

.maau-collections .collection-price-filter {
    padding: 0 18px 16px;
}

.maau-collections .price-range {
    position: relative;
    height: 32px;
    margin: 2px 9px 12px;
}

.maau-collections .price-range-track {
    position: absolute;
    inset: 14px 0 auto;
    height: 4px;
    border-radius: 99px;
    background: var(--sand);
}

.maau-collections .price-range-track span {
    position: absolute;
    inset: 0 calc(100% - var(--price-to, 100%)) 0 var(--price-from, 0%);
    border-radius: inherit;
    background: var(--espresso);
}

.maau-collections .price-range-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 32px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
}

.maau-collections .price-range-input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border: 0;
}

.maau-collections .price-range-input::-moz-range-track {
    height: 4px;
    background: transparent;
    border: 0;
}

.maau-collections .price-range-input::-moz-range-progress {
    background: transparent;
}

.maau-collections .price-range-input::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border: 0;
    border-radius: 50%;
    background: var(--espresso);
    -webkit-appearance: none;
    pointer-events: auto;
    cursor: grab;
}

.maau-collections .price-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: var(--espresso);
    pointer-events: auto;
    cursor: grab;
}

.maau-collections .price-range-input:focus-visible::-webkit-slider-thumb {
    outline: 2px solid var(--caramel);
    outline-offset: 3px;
}

.maau-collections .price-range-input:focus-visible::-moz-range-thumb {
    outline: 2px solid var(--caramel);
    outline-offset: 3px;
}

.maau-collections .price-range-input:disabled {
    opacity: 0.4;
}

.maau-collections .price-range-input:disabled::-webkit-slider-thumb {
    pointer-events: none;
}

.maau-collections .price-range-input:disabled::-moz-range-thumb {
    pointer-events: none;
}

.maau-collections .price-fields {
    display: grid;
    gap: 10px;
}

.maau-collections .price-field {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--cream);
}

.maau-collections .price-field > span:first-child {
    font-size: 10px;
    color: var(--muted);
}

.maau-collections .price-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--espresso);
}

.maau-collections .price-amount input {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: inherit;
    font: inherit;
}

.maau-collections .price-field:focus-within {
    border-color: var(--caramel);
}

.maau-collections .price-apply {
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    border-radius: 10px;
}

/* Results and sort */

.maau-collections .collections-content {
    min-width: 0;
}

.maau-collections .collections-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 11px;
    color: var(--muted);
}

.maau-collections .collections-results p {
    margin: 0;
}

.maau-collections .collection-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--espresso);
}

.maau-collections .collection-sort-control {
    position: relative;
    display: block;
    width: 195px;
}

.maau-collections .collection-sort select {
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
    cursor: pointer;
}

.maau-collections .collection-sort-control > svg {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}

/* Product cards */

.maau-collections .home-product-grid {
    gap: 20px;
}

.maau-collections .home-product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.35);
}

.maau-collections .home-product-media {
    aspect-ratio: 1;
    border-radius: 11px 11px 0 0;
}

.maau-collections .home-product-caption {
    padding: 12px 10px 14px;
}

.maau-collections .home-product-caption h3 {
    min-height: 0;
    margin: 0 0 4px;
    font-size: 11px;
    line-height: 1.5;
    text-transform: none;
    font-weight: 500;
}

.maau-collections .home-piece-price {
    margin: 0;
    line-height: 1.5;
}

.maau-collections .home-wishlist {
    top: auto;
    bottom: 10px;
    right: 10px;
}

.maau-collections .home-shop-piece {
    left: 10px;
    right: auto;
}

.maau-collections .collections-pagination .filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.maau-collections .pagination-gap {
    align-self: center;
}

.maau-collections .empty-state {
    padding-block: 48px;
}

/* Responsive */

@media (max-width: 1100px) {
    .maau-collections .collections-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 760px) {
    .maau-collections .collections-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding-bottom: 44px;
    }

    .maau-collections .collections-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .maau-collections .collection-filters-panel > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 44px;
        padding: 12px 16px;
        cursor: pointer;
        list-style: none;
        font-size: 12px;
    }

    .maau-collections .home-product-grid {
        gap: 16px 12px;
    }

    .maau-collections .home-product-caption {
        padding: 10px 8px 12px;
    }

    .maau-collections .home-product-caption h3 {
        font-size: 10px;
    }

    .maau-collections .collection-sort-control {
        width: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maau-collections .filter-chevron {
        transition: none;
    }
}

/* Guest tracking and private order details — shared storefront components. */
.track-order-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    padding-block: 64px;
    max-width: 1080px;
}
.track-order-introduction h1 {
    font-size: clamp(38px, 5vw, 60px);
    margin-bottom: 24px;
}
.track-order-introduction > p:not(.eyebrow) {
    max-width: 440px;
}
.track-order-card h2,
.maau-order .store-card h2 {
    font-size: 26px;
    margin-bottom: 20px;
}
.track-order-card .store-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}
.track-order-card .store-form label {
    display: grid;
    gap: 7px;
}
.track-order-card .button {
    width: 100%;
}
.track-order-hint {
    margin: 20px 0 10px;
    font-size: 11px;
    color: var(--muted);
}
.order-screen {
    padding-block: 40px 64px;
    max-width: 1180px;
}
.order-heading,
.order-status-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.order-heading {
    margin-bottom: 28px;
}
.order-heading h1 {
    font-size: clamp(38px, 5vw, 54px);
    margin-bottom: 10px;
}
.order-heading p:last-child {
    margin-bottom: 0;
}
.maau-order .store-card {
    margin: 0;
    padding: 26px;
    min-width: 0;
}
.order-progress-card {
    margin-bottom: 24px !important;
}
.order-status-heading h2 {
    margin-bottom: 0 !important;
}
.order-status-heading .text-link {
    font-size: 11px;
}
.order-progress {
    --order-step-size: 31px;
    list-style: none;
    margin: 28px 0 20px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.order-progress li {
    position: relative;
    text-align: center;
    font-size: 11px;
    padding-inline: 5px;
    color: var(--muted);
}
.order-progress li::before {
    content: "";
    position: absolute;
    top: calc(var(--order-step-size) / 2);
    left: calc(-50% + var(--order-step-size) / 2);
    width: calc(100% - var(--order-step-size));
    height: 1px;
    background: var(--line);
    pointer-events: none;
}
.order-progress li:first-child::before {
    display: none;
}
.order-progress li.is-done::before {
    background: var(--caramel);
}
.order-step-dot {
    display: flex;
    position: relative;
    margin: 0 auto 10px;
    width: var(--order-step-size);
    height: var(--order-step-size);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    justify-content: center;
    align-items: center;
}
.order-progress .is-done {
    color: var(--espresso);
}
.order-progress .is-done .order-step-dot {
    background: var(--espresso);
    color: white;
    border-color: var(--espresso);
}
.order-progress [aria-current] > span:last-child {
    font-weight: 600;
}
.order-private-note {
    font-size: 11px;
    margin-bottom: 0;
}
.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
.order-main-cards {
    display: grid;
    gap: 24px;
    min-width: 0;
}
.order-piece {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding-block: 20px;
    border-top: 1px solid var(--line);
}
.order-piece:last-child {
    padding-bottom: 0;
}
.order-piece h3 {
    font-size: 14px;
    margin-bottom: 5px;
}
.order-piece p {
    margin-bottom: 3px;
    font-size: 11px;
}
.order-piece > strong {
    white-space: nowrap;
    font-size: 12px;
}
.order-piece-image {
    width: 70px;
    aspect-ratio: 3/4;
    background: var(--cream);
    overflow: hidden;
    border-radius: 5px;
}
.order-piece-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.order-piece-image .image-placeholder {
    font-size: 16px;
}
.order-shipment {
    padding-block: 16px;
    border-top: 1px solid var(--line);
}
.order-shipment h3 {
    margin-bottom: 6px;
    font-size: 13px;
}
.order-shipment > p {
    margin: 0 0 10px;
    font-size: 11px;
}
.order-tracking {
    margin: 12px 0;
}
.order-tracking dt {
    color: var(--muted);
    font-size: 11px;
}
.order-tracking dd {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.order-tracking-actions,
.order-help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    align-items: center;
    margin-bottom: 12px;
}
.order-tracking-actions .button {
    padding: 9px 14px;
    min-height: 40px;
    font-size: 10px;
}
.order-tracking-actions .text-link,
.order-help-links .text-link {
    font-size: 11px;
}
.order-copy-feedback:empty {
    display: none;
}
.order-recipient {
    border-top: 1px solid var(--line);
    padding-top: 20px;
}
.order-recipient h3 {
    font-size: 12px;
    margin-bottom: 12px;
}
.order-recipient p {
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}
.order-assistance > p {
    font-size: 12px;
}
.order-help-links {
    margin-bottom: 0;
}
.order-totals,
.receipt-totals {
    margin: 0;
}
.order-totals > div {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 12px;
}
.order-totals dd {
    margin: 0;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.order-grand-total {
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-weight: 600;
    font-size: 16px;
}
.order-payment-state {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.order-payment-state h3 {
    font-size: 12px;
    margin-bottom: 8px;
}
.order-payment-state p {
    margin-bottom: 6px;
    font-size: 12px;
}
.order-summary form {
    margin-top: 12px;
}
.order-summary .button {
    padding-inline: 12px;
    font-size: 10px;
}
.order-payment-deadline,
.order-summary-note {
    font-size: 11px;
    margin: 16px 0 0;
}
.order-summary [data-payment-message]:empty {
    display: none;
}
.order-receipt {
    display: none;
}
/* The receipt is measured with these same dimensions before printing. */
.receipt-sheet {
    width: 190mm;
    margin: 0;
    padding: 0;
    color: #241a15;
    background: #fff;
    font:
        10pt/1.35 Arial,
        sans-serif;
    overflow-wrap: anywhere;
}
.receipt-sheet h1,
.receipt-sheet h2,
.receipt-sheet h3 {
    font-family: Arial, sans-serif;
    font-weight: 600;
}
.receipt-sheet p {
    margin: 0 0 2mm;
}
.receipt-heading {
    display: flex;
    justify-content: space-between;
    gap: 8mm;
    align-items: center;
    border-bottom: 0.4mm solid #3d2318;
    padding-bottom: 4mm;
}
.receipt-heading > div:last-child {
    text-align: right;
}
.receipt-heading h1 {
    font-size: 20pt;
    margin: 0 0 2mm;
}
.receipt-heading p {
    font-size: 9pt;
}
.receipt-logo {
    width: 40mm;
    height: 15mm;
    object-fit: contain;
    object-position: left center;
}
.receipt-brand {
    font-size: 16pt;
    letter-spacing: 2px;
}
.receipt-status {
    display: flex;
    justify-content: space-between;
    gap: 5mm;
    padding: 3mm 0;
    border-bottom: 0.2mm solid #d5cec8;
    font-size: 9pt;
}
.receipt-addresses {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 8mm;
    padding-block: 4mm;
    font-size: 9pt;
}
.receipt-sheet h2 {
    font-size: 9pt;
    margin: 0 0 2mm;
}
.receipt-items {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
    font-size: 9pt;
}
.receipt-product-col {
    width: 49%;
}
.receipt-qty-col {
    width: 7%;
}
.receipt-money-col {
    width: 22%;
}
.receipt-items th {
    background: #f4efea;
    font-weight: 600;
}
.receipt-items th,
.receipt-items td {
    padding: 2.5mm 2mm;
    text-align: right;
    border-bottom: 0.2mm solid #ded9d4;
    vertical-align: top;
}
.receipt-items th:first-child,
.receipt-items td:first-child {
    text-align: left;
    padding-left: 0;
}
.receipt-items th:nth-child(2),
.receipt-items td:nth-child(2) {
    text-align: center;
}
.receipt-items td strong,
.receipt-items td span,
.receipt-items td small {
    display: block;
}
.receipt-items td small {
    font-size: 7.5pt;
    color: #5c514b;
}
.receipt-items td:not(:first-child) {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.receipt-bottom {
    display: grid;
    grid-template-columns: 1fr 75mm;
    gap: 8mm;
    padding-top: 4mm;
    font-size: 9pt;
}
.receipt-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 3mm;
    margin-bottom: 2mm;
}
.receipt-totals dd {
    margin: 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.receipt-total {
    font-weight: 700;
    border-top: 0.3mm solid #3d2318;
    padding-top: 2mm;
    font-size: 11pt;
}
.receipt-footer {
    margin-top: 5mm;
    padding-top: 3mm;
    border-top: 0.2mm solid #d5cec8;
    font-size: 8pt;
    color: #5c514b;
}
body.is-measuring-receipt .receipt-sheet {
    zoom: var(--receipt-scale, 1);
}
body.is-measuring-receipt .order-receipt {
    display: block;
    position: fixed;
    left: -300mm;
    top: 0;
    visibility: hidden;
    width: 190mm;
}
@media (max-width: 900px) {
    .track-order-layout {
        gap: 32px;
    }
    .order-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 18px;
    }
    .maau-order .store-card {
        padding: 20px;
    }
    .order-piece {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
    }
    .order-piece-image {
        width: 54px;
        grid-row: span 2;
    }
    .order-piece > strong {
        grid-column: 2;
    }
}
@media (max-width: 700px) {
    .track-order-layout,
    .order-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .track-order-layout {
        padding-block: 36px;
    }
    .order-screen {
        padding-block: 28px 40px;
    }
    .order-heading,
    .order-status-heading {
        flex-wrap: wrap;
        gap: 16px;
    }
    .order-heading > div {
        width: 100%;
    }
    .order-heading .button {
        min-height: 40px;
        font-size: 10px;
    }
    .order-progress {
        gap: 12px;
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .order-progress li {
        display: flex;
        gap: 12px;
        align-items: center;
        text-align: left;
        padding: 0;
    }
    .order-progress li::before {
        display: none;
    }
    .order-step-dot {
        margin: 0;
        flex-shrink: 0;
        width: 27px;
        height: 27px;
    }
    .order-main-cards {
        gap: 18px;
    }
}
@page {
    size: A4 portrait;
    margin: 10mm;
}
@media print {
    html {
        scrollbar-gutter: auto;
    }
    body.maau-store {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 10pt;
    }
    body.maau-store:has(.maau-order) > :not(.maau-order) {
        display: none !important;
    }
    .maau-order {
        margin: 0 !important;
        padding: 0 !important;
        width: 190mm !important;
    }
    .maau-order .order-screen {
        display: none !important;
    }
    .maau-order .order-receipt {
        display: block !important;
        position: static !important;
        visibility: visible !important;
        width: 190mm;
    }
    .receipt-sheet {
        zoom: var(--receipt-scale, 1);
        break-inside: avoid;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    .receipt-items tr {
        break-inside: avoid;
    }
}
