/* Postcard from Provence shop — deliberately inherits the site's theme variables. */
.site-page--shop {
    --shop-max: 82rem;
    --shop-terracotta: var(--accent);
    --shop-shadow: 0 18px 54px rgba(24, 31, 26, .12);
    text-align: left;
}
.site-page--shop .site-header { text-align: center; }
.site-page--shop .site-brand__from,
.site-page--shop .site-menu__from { display: inline-block; margin-inline: .65em; }

.shop-main { overflow: hidden; }
.shop-shell { width: min(calc(100% - 2rem), var(--shop-max)); margin-inline: auto; }
.shop-kicker {
    margin: 0 0 .65rem;
    color: var(--accent);
    font: 700 .72rem/1.3 var(--sans);
    letter-spacing: .17em;
    text-transform: uppercase;
}
.shop-title {
    margin: 0;
    color: var(--ink);
    font: 400 clamp(3.2rem, 8vw, 7.6rem)/.88 var(--serif);
    letter-spacing: -.045em;
}
.shop-title em { font-weight: 400; }
.shop-lede { max-width: 37rem; margin: 1.2rem 0 0; font-size: clamp(1.05rem, 2vw, 1.32rem); line-height: 1.55; }

.shop-hero {
    min-height: min(72rem, calc(100vh - 7rem));
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(28rem, 1.1fr);
    align-items: stretch;
    margin-top: .75rem;
    background: var(--surface);
}
.shop-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 8rem); }
.shop-hero__art { min-height: 38rem; position: relative; background: #342f27; }
.shop-hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-hero__caption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    margin: 0;
    padding: .45rem .65rem;
    color: #fffdf7;
    background: rgba(16, 20, 17, .62);
    font: 600 .67rem/1.25 var(--sans);
    letter-spacing: .04em;
}
.shop-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.shop-button {
    min-height: 3.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.15rem;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent-contrast);
    background: var(--accent);
    font: 700 .78rem/1 var(--sans);
    letter-spacing: .035em;
    cursor: pointer;
}
.shop-button:hover { color: var(--accent-contrast); background: var(--accent-hover); }
.shop-button--quiet { color: var(--accent); background: transparent; }
.shop-button--quiet:hover { color: var(--accent-contrast); background: var(--accent); }
.shop-button[disabled] { opacity: .62; cursor: default; }

.shop-intro { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.shop-intro__header { display: grid; grid-template-columns: minmax(16rem, .7fr) minmax(22rem, 1fr); gap: 3rem; align-items: end; }
.shop-intro h2,
.shop-catalogue__header h1,
.shop-feature h2,
.shop-product__copy h1 {
    margin: 0;
    color: var(--ink);
    font: 400 clamp(2.25rem, 5vw, 4.8rem)/.98 var(--serif);
    letter-spacing: -.025em;
}
.shop-intro__header > p { margin: 0; font-size: 1.13rem; line-height: 1.7; }
.shop-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.shop-path {
    min-height: 22rem;
    position: relative;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: #fffdf7;
    background: #24372f;
}
.shop-path:hover { color: #fffdf7; }
.shop-path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.shop-path:hover img { transform: scale(1.018); }
.shop-path::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 17, 13, .84)); }
.shop-path__copy { z-index: 1; width: 100%; padding: clamp(1.25rem, 4vw, 2.5rem); position: relative; }
.shop-path__label { display: block; color: #ffd2b9; font: 700 .7rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.shop-path__title { display: block; margin-top: .35rem; font: 400 clamp(2rem, 4vw, 3.5rem)/1 var(--serif); }
.shop-path__note { display: block; margin-top: .55rem; font-size: 1rem; }

.shop-feature { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--line); }
.shop-feature__heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.shop-text-link { font: 700 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.6rem) clamp(.8rem, 2vw, 1.6rem); }
.shop-card { min-width: 0; }
.shop-card[hidden] { display: none; }
.shop-card__image-wrap {
    --shop-card-pad: clamp(.45rem, 1.2vw, .8rem);
    aspect-ratio: 4 / 3;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: var(--shop-card-pad);
    background: var(--surface);
}
.shop-card__image {
    position: absolute;
    inset: var(--shop-card-pad);
    width: calc(100% - var(--shop-card-pad) - var(--shop-card-pad));
    max-width: none;
    height: calc(100% - var(--shop-card-pad) - var(--shop-card-pad));
    max-height: none;
    object-fit: contain;
    display: block;
    filter: drop-shadow(2px 5px 7px rgba(14, 20, 16, .22));
    transition: transform .35s ease;
}
.shop-card a:hover .shop-card__image { transform: translateY(-2px); }
.shop-card__copy { padding: .85rem .15rem 0; }
.shop-card__type { margin: 0 0 .25rem; color: var(--muted); font: 700 .65rem/1.25 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.shop-card h3 { margin: 0; color: var(--ink); font: 400 clamp(1.2rem, 2vw, 1.55rem)/1.15 var(--serif); }
.shop-card h3 a { color: inherit; }
.shop-card__meta { display: flex; justify-content: space-between; gap: .75rem; margin: .4rem 0 0; color: var(--muted); font: .78rem/1.35 var(--sans); }
.shop-card__price { flex: none; color: var(--body); font-weight: 700; }

.shop-catalogue { padding: 1rem 0 6rem; }
.shop-catalogue__header { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.shop-catalogue__header p:last-child { max-width: 38rem; margin: 1rem auto 0; font-size: 1.1rem; line-height: 1.6; }
.shop-demo-story {
    display: grid;
    grid-template-columns: minmax(20rem, 1.08fr) minmax(20rem, .92fr);
    min-height: 31rem;
    margin: 0 0 clamp(3.5rem, 7vw, 6rem);
    background: var(--surface);
}
.shop-demo-story__art { min-height: 28rem; overflow: hidden; background: #26352f; }
.shop-demo-story__art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.shop-demo-story__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem, 5vw, 5rem); }
.shop-demo-story__copy h2 { margin: 0; color: var(--ink); font: 400 clamp(2.5rem, 5vw, 5rem)/.96 var(--serif); letter-spacing: -.03em; }
.shop-demo-story__copy p:not(.shop-kicker) { max-width: 34rem; margin: 1rem 0 0; font-size: 1.03rem; line-height: 1.65; }
.shop-demo-story__copy .shop-button { margin-top: 1.6rem; }
.shop-tools {
    position: sticky;
    z-index: 8;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .8rem 1.5rem;
    margin-bottom: 2rem;
    padding: .8rem 0;
    border-block: 1px solid var(--line);
    background: color-mix(in srgb, var(--ground) 94%, transparent);
    backdrop-filter: blur(10px);
}
.shop-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.shop-filter { border: 1px solid transparent; border-radius: 999px; padding: .55rem .75rem; color: var(--muted); background: transparent; font: 700 .68rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.shop-filter:hover,
.shop-filter[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--surface-strong); }
.shop-count { margin: 0; color: var(--muted); font: .72rem/1.3 var(--sans); }
.shop-search { width: min(100%, 19rem); border: 1px solid var(--field-border); border-radius: 999px; padding: .62rem .9rem; color: var(--field-text); background: var(--field-background); font: .82rem/1.2 var(--sans); }

.shop-breadcrumbs { width: min(calc(100% - 2rem), var(--shop-max)); margin: .2rem auto 1.5rem; color: var(--muted); font: 700 .69rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.shop-breadcrumbs a { color: var(--muted); }
.shop-breadcrumbs span { margin-inline: .55rem; color: var(--line); }
.shop-product { width: min(calc(100% - 2rem), var(--shop-max)); margin: 0 auto; padding: 1rem 0 clamp(5rem, 9vw, 8rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.shop-product__art { display: grid; place-items: center; min-height: 32rem; padding: clamp(.75rem, 2vw, 1.5rem); background: var(--surface); }
.shop-product__art img { max-width: 100%; max-height: 75vh; display: block; box-shadow: var(--shop-shadow); }
.shop-product__copy { position: sticky; top: 1.25rem; padding-top: 1rem; }
.shop-product__copy h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
.shop-product__description { margin: 1.25rem 0; font-size: 1.08rem; line-height: 1.65; }
.shop-product__details { margin: 1.5rem 0; padding: 1.2rem 0; border-block: 1px solid var(--line); }
.shop-product__details div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.shop-product__details dt { color: var(--muted); font: 700 .68rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.shop-product__details dd { margin: 0; color: var(--ink); text-align: right; }
.shop-product__price { margin: 1.25rem 0 .25rem; color: var(--ink); font-size: 1.7rem; }
.shop-currency { display: flex; gap: .3rem; margin: .85rem 0 1.25rem; }
.shop-currency button { border: 1px solid var(--line); border-radius: 999px; padding: .48rem .65rem; color: var(--muted); background: transparent; font: 700 .66rem/1 var(--sans); cursor: pointer; }
.shop-currency button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.shipping-choice { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin: 0 0 1.25rem; padding: 0; border: 0; color: var(--muted); font: .76rem/1.4 var(--sans); }
.shipping-choice legend { width: 100%; margin: 0 0 .15rem; color: var(--body); font-weight: 700; }
.shipping-choice label { display: inline-flex; align-items: center; gap: .38rem; }
.shipping-choice input { accent-color: var(--accent); }
.shop-product__note { color: var(--muted); font: .75rem/1.5 var(--sans); }
.shop-preview-notice { margin: 1rem 0 0; color: var(--muted); font: .74rem/1.45 var(--sans); }

.shop-merchandise-feature { border-top: 1px solid var(--line); padding: clamp(4rem, 8vw, 7rem) 0; }
.shop-merchandise-feature__inner { display: grid; grid-template-columns: minmax(16rem, .72fr) minmax(22rem, 1.28fr); align-items: center; gap: clamp(2.5rem, 8vw, 7rem); }
.shop-merchandise-feature__art { min-height: 28rem; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: var(--surface); }
.shop-merchandise-feature__art img { width: auto; max-width: 100%; max-height: 30rem; display: block; box-shadow: var(--shop-shadow); }
.shop-merchandise-feature__copy h2,
.shop-inventory-note h2 { margin: 0; color: var(--ink); font: 400 clamp(2.25rem, 5vw, 4.8rem)/.98 var(--serif); letter-spacing: -.025em; }
.shop-merchandise-feature__copy > p:not(.shop-kicker) { max-width: 36rem; margin: 1.2rem 0 1.7rem; font-size: 1.08rem; line-height: 1.65; }
.shop-grid--merchandise .shop-card__image-wrap { aspect-ratio: 1 / 1; }
.shop-card--merchandise .shop-card__image { max-width: 82%; max-height: 82%; }
.shop-inventory-note { max-width: 48rem; margin: clamp(4rem, 8vw, 7rem) auto 0; padding: clamp(2rem, 5vw, 4rem); border-block: 1px solid var(--line); text-align: center; }
.shop-inventory-note h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.shop-inventory-note > p:last-child { max-width: 34rem; margin: 1rem auto 0; }
.shop-product__subtitle { margin: .55rem 0 0; color: var(--muted); font-style: italic; font-size: 1.2rem; }
.shop-product__quote { margin: 1.75rem 0; padding: 1.3rem 0; border-block: 1px solid var(--line); }
.shop-product__quote p { margin: 0; color: var(--ink); font-size: 1.12rem; font-style: italic; line-height: 1.55; }
.shop-product__quote cite { display: block; margin-top: .65rem; color: var(--muted); font: 700 .67rem/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.shop-product__gallery { align-content: center; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.shop-product__gallery img { margin-inline: auto; }
.shop-product__gallery img:only-child { grid-column: 1 / -1; }

.shop-assurance { border-block: 1px solid var(--line); background: var(--surface); }
.shop-assurance__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 2rem 0; }
.shop-assurance h3 { margin: 0 0 .35rem; color: var(--ink); font: 400 1.25rem/1.2 var(--serif); }
.shop-assurance p { margin: 0; color: var(--muted); font: .8rem/1.55 var(--sans); }

.shop-empty { grid-column: 1 / -1; padding: 4rem 1rem; border-block: 1px solid var(--line); text-align: center; }
.shop-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.shop-pagination[hidden] { display: none; }
.shop-pagination__button {
    min-width: 2.65rem;
    min-height: 2.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .55rem .8rem;
    color: var(--muted);
    background: var(--surface);
    font: 700 .7rem/1 var(--sans);
    cursor: pointer;
}
.shop-pagination__button:hover,
.shop-pagination__button[aria-current="page"] { border-color: var(--accent); color: var(--accent-contrast); background: var(--accent); }
.shop-pagination__button[disabled] { opacity: .4; cursor: default; }
.shop-pagination__button[disabled]:hover { border-color: var(--line); color: var(--muted); background: var(--surface); }

@media (max-width: 900px) {
    .shop-hero { grid-template-columns: 1fr; min-height: auto; }
    .shop-hero__copy { padding: 4rem max(1rem, 6vw); }
    .shop-hero__art { min-height: min(66vw, 35rem); order: -1; }
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-product { grid-template-columns: 1fr; }
    .shop-product__copy { position: static; max-width: 40rem; margin-inline: auto; }
    .shop-merchandise-feature__inner { grid-template-columns: minmax(14rem, .75fr) minmax(20rem, 1.25fr); gap: 2.5rem; }
    .shop-demo-story { grid-template-columns: 1fr; }
    .shop-demo-story__art { min-height: min(70vw, 34rem); }
}

@media (max-width: 700px) {
    .site-page--shop { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
    .site-page--shop .site-brand__from { margin-inline: 0; }
    .shop-shell { width: min(calc(100% - 1rem), var(--shop-max)); }
    .shop-hero { margin-top: .25rem; }
    .shop-hero__copy { padding: 2.7rem 1rem 3.2rem; }
    .shop-hero__art { min-height: 70vw; }
    .shop-title { font-size: clamp(3.25rem, 18vw, 5.7rem); }
    .shop-intro { padding: 3.8rem 0; }
    .shop-intro__header { grid-template-columns: 1fr; gap: 1rem; }
    .shop-paths { grid-template-columns: 1fr; }
    .shop-path { min-height: 18rem; }
    .shop-feature { padding: 3.5rem 0; }
    .shop-feature__heading { align-items: start; flex-direction: column; gap: .75rem; }
    .shop-grid { gap: 2rem .7rem; }
    .shop-card__image-wrap { aspect-ratio: 1 / 1; padding: .3rem; }
    .shop-card__meta { display: block; }
    .shop-card__price { margin-top: .2rem; }
    .shop-tools { align-items: stretch; }
    .shop-search { width: 100%; }
    .shop-demo-story { margin-bottom: 3rem; }
    .shop-demo-story__art { min-height: 68vw; }
    .shop-demo-story__copy { padding: 2.2rem 1.1rem 2.6rem; }
    .shop-product { width: min(calc(100% - 1rem), var(--shop-max)); padding-top: 0; }
    .shop-product__art { min-height: 18rem; padding: .4rem; }
    .shop-product__copy { padding-inline: .5rem; }
    .shop-merchandise-feature__inner { grid-template-columns: 1fr; }
    .shop-merchandise-feature__art { min-height: 20rem; }
    .shop-product__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-assurance__grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .shop-path img,
    .shop-card__image { transition: none; }
}
