:root {
    color-scheme: light;
    --paper: #f8f4ed;
    --paper-deep: #eee5d9;
    --surface: #fffdf9;
    --ink: #292522;
    --muted: #6d635d;
    --line: #d9cec2;
    --plum: #7f3f57;
    --plum-dark: #5d293c;
    --plum-soft: #f2e4e8;
    --sage: #667d6b;
    --sage-dark: #405545;
    --sage-soft: #e8eee7;
    --gold: #b38a51;
    --danger: #8f2f36;
    --shadow: 0 18px 50px rgba(48, 38, 31, 0.09);
    --shadow-small: 0 8px 24px rgba(48, 38, 31, 0.08);
    --radius-small: 4px;
    --radius: 12px;
    --radius-large: 24px;
    --content: 1240px;
    --reading: 760px;
    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* One heading scale for every page. Sizes grow gently with the viewport
       rather than jumping, so mobile headings stay readable in 2-3 lines. */
    --text-h1: clamp(2.05rem, 1.35rem + 3vw, 3.5rem);
    --text-h2: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
    --text-h3: clamp(1.18rem, 1.06rem + 0.5vw, 1.4rem);
    --header-height: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--paper);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.62;
    text-rendering: optimizeLegibility;
}

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

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

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

a {
    color: var(--plum-dark);
    font-weight: 700;
    text-decoration-color: rgba(127, 63, 87, 0.45);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--plum);
    text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(127, 63, 87, 0.42);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 0.65em;
    color: var(--ink);
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

h1 {
    max-width: 20ch;
    font-size: var(--text-h1);
}

h2 {
    max-width: 24ch;
    font-size: var(--text-h2);
}

h3 {
    font-size: var(--text-h3);
}

h4 {
    font-size: 1.05rem;
}

p,
li,
dd,
address {
    color: var(--muted);
}

address {
    font-style: normal;
}

hr {
    height: 1px;
    margin: 2rem 0;
    border: 0;
    background: var(--line);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10000;
    transform: translateY(-180%);
    border-radius: var(--radius-small);
    background: var(--ink);
    color: #fff;
    padding: 0.7rem 1rem;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    margin-bottom: 0.8rem;
    color: var(--plum);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    line-height: 1.35;
    text-transform: uppercase;
}

.empty-cart__mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--plum);
    border-radius: 50%;
    color: var(--plum-dark);
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.message-region {
    width: min(calc(100% - 2rem), var(--content));
    margin: 1rem auto 0;
}

.message {
    border-left: 4px solid var(--sage);
    border-radius: var(--radius-small);
    background: var(--sage-soft);
    color: var(--ink);
    padding: 0.85rem 1rem;
}

.message--error {
    border-color: var(--danger);
    background: #f8e8e8;
}

.site-main {
    width: min(100%, var(--content));
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 4.5rem) 1rem;
}

.site-main--flush {
    width: 100%;
    max-width: none;
    padding: 0;
}

.button,
button,
input[type="submit"] {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--plum);
    border-radius: var(--radius-small);
    background: var(--plum);
    color: #fff;
    padding: 0.78rem 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    border-color: var(--plum-dark);
    background: var(--plum-dark);
    color: #fff;
}

.button:active,
button:active,
input[type="submit"]:active {
    transform: translateY(1px);
}

.button--secondary {
    border-color: var(--ink);
    background: transparent;
    color: var(--ink);
}

.button--secondary:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.button--light {
    border-color: #fff;
    background: #fff;
    color: var(--ink);
}

.button--light:hover {
    border-color: var(--paper-deep);
    background: var(--paper-deep);
    color: var(--ink);
}

.button--small {
    min-height: 42px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
}

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

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.25rem;
    align-items: center;
}

.text-link {
    display: inline-flex;
    min-height: 44px;
    gap: 0.45rem;
    align-items: center;
    color: var(--plum-dark);
}

.text-button {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--plum-dark);
    padding: 0.4rem 0;
    text-decoration: underline;
}

.text-button:hover {
    border: 0;
    background: transparent;
    color: var(--plum);
}

.text-button--danger,
.text-button--danger:hover {
    color: var(--danger);
}

.media-placeholder {
    display: grid;
    width: 100%;
    min-height: 240px;
    place-items: center;
    background: var(--paper-deep);
    color: var(--muted);
    padding: 2rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    text-align: center;
}

.image-caption,
figcaption {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.section {
    width: min(100%, var(--content));
    margin-right: auto;
    margin-left: auto;
}

.section {
    padding: clamp(4rem, 10vw, 7.5rem) 1rem;
}

.section-heading {
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p,
.section-heading--split > p {
    max-width: 520px;
}

.product-grid {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.product-card {
    align-self: start;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-small);
}

.product-card__card-link {
    display: block;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.product-card__card-link:focus-visible {
    outline: 3px solid var(--plum);
    outline-offset: -3px;
}

.product-card__image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--paper-deep);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.product-card__image-link .media-placeholder {
    height: 100%;
    min-height: 0;
}

.product-card:hover .product-card__image {
    transform: scale(1.025);
}

.product-card__body {
    padding: 1.35rem;
}

.product-card__body > :last-child {
    margin-bottom: 0;
}

.product-card__body h3 {
    margin-bottom: 0.35rem;
}

.product-card__body h3 a {
    color: var(--ink);
    text-decoration: none;
}

.product-card__price {
    color: var(--ink);
}

.product-card__body > p:not(.eyebrow):not(.product-card__price) {
    font-size: 0.92rem;
}

.section-action {
    margin: 2rem 0 0;
    text-align: center;
}

.help-panel {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: clamp(3rem, 8vw, 6rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--plum-soft);
    padding: clamp(1.5rem, 5vw, 3rem);
}

.help-panel h2,
.help-panel p:last-child {
    margin-bottom: 0;
}

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

.detail-accordions details:last-child {
    border-bottom: 1px solid var(--line);
}

.detail-accordions summary {
    position: relative;
    min-height: 58px;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
    padding: 1.15rem 2.6rem 1.15rem 0;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 650;
}

.detail-accordions summary::after {
    position: absolute;
    top: 50%;
    right: 0.25rem;
    transform: translateY(-50%);
    color: var(--plum);
    content: "+";
    font-family: var(--font-sans);
    font-size: 1.4rem;
}

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

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

.detail-accordions details > div {
    max-width: 680px;
    padding: 0 2rem 1.2rem 0;
}

.page-intro {
    max-width: 900px;
    margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.page-intro h1 {
    max-width: 18ch;
}

.page-intro > p:not(.eyebrow) {
    max-width: 680px;
    font-size: 1.1rem;
}

.page-intro--compact {
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.page-intro--compact h1 {
    font-size: var(--text-h1);
}

.inline-assurances {
    display: grid;
    gap: 0.55rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.inline-assurances li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.9rem;
}

.inline-assurances li::before {
    position: absolute;
    left: 0;
    color: var(--sage);
    content: "✓";
    font-weight: 900;
}

.shop-list {
    margin-bottom: clamp(4rem, 9vw, 7rem);
}

.extras-list,
.extra-compatible-products {
    margin-bottom: clamp(4rem, 9vw, 7rem);
}

.extras-grid {
    display: grid;
    gap: 1.35rem;
}

.public-extra-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--surface);
    box-shadow: var(--shadow-small);
}

.public-extra-card__image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--paper-deep);
    text-decoration: none;
}

.public-extra-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.public-extra-card__image-link .media-placeholder {
    height: 100%;
    min-height: 0;
}

.public-extra-card:hover .public-extra-card__image {
    transform: scale(1.025);
}

.public-extra-card__body {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem;
}

.public-extra-card__body > :last-child {
    margin-bottom: 0;
}

.public-extra-card__heading {
    display: flex;
    gap: 1rem;
    align-items: start;
    justify-content: space-between;
}

.public-extra-card__heading h3 {
    margin-bottom: 0;
}

.public-extra-card__heading a {
    color: var(--ink);
    text-decoration: none;
}

.public-extra-card__price,
.extra-detail-price {
    color: var(--plum-dark);
    font-weight: 800;
}

.public-extra-card__price {
    flex: 0 0 auto;
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}

.compatible-keepsakes {
    display: grid;
    gap: 0.45rem;
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
}

.compatible-keepsakes > span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compatible-keepsakes ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.compatible-keepsakes a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    padding: 0.3rem 0.7rem;
    font-size: 0.82rem;
    text-decoration: none;
}

.public-extra-card__link {
    display: flex;
    min-height: 45px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--ink);
    padding-top: 0.85rem;
    text-decoration: none;
}

.extra-detail-layout {
    display: grid;
    gap: clamp(2rem, 6vw, 4rem);
    margin-bottom: clamp(4rem, 9vw, 7rem);
}

.extra-detail-media {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--paper-deep);
}

.extra-detail-media img,
.extra-detail-media .media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.extra-detail-copy {
    align-self: center;
}

.extra-detail-copy h1 {
    max-width: 18ch;
}

.extra-detail-copy > p:not(.eyebrow):not(.extra-detail-price) {
    max-width: 620px;
    font-size: 1.05rem;
}

.help-panel--shop {
    width: 100%;
    margin-bottom: 0;
}

.empty-state {
    grid-column: 1 / -1;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 2rem;
    text-align: center;
}

.empty-state h3,
.empty-state p {
    margin-right: auto;
    margin-left: auto;
}

.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    display: inline-flex;
    gap: 0.4rem;
    min-height: 44px;
    align-items: center;
    font-size: 0.85rem;
}

.pdp-desktop-intro h1 {
    max-width: 18ch;
    margin-bottom: 0.35rem;
    font-size: var(--text-h1);
}

/* One title block serves every screen size. On phones the panel's children
   join the page grid so the title can sit above the photos. */
@media (max-width: 759px) {
    .pdp-layout {
        gap: 1.25rem;
    }

    .pdp-panel {
        display: contents;
    }

    .pdp-desktop-intro {
        order: -1;
    }

    .pdp-panel > :not(.pdp-desktop-intro) {
        order: 1;
    }
}

.pdp-price {
    margin-bottom: 0.1rem;
    color: var(--ink);
    font-size: 1.05rem;
}

.pdp-price strong {
    font-family: var(--font-serif);
    font-size: 1.7rem;
}

.delivery-note {
    font-size: 0.82rem;
}

.pdp-layout {
    display: grid;
    gap: 2rem;
}

.product-gallery {
    min-width: 0;
}

.product-gallery__stage {
    position: relative;
    overflow: hidden;
    background: var(--paper-deep);
}

.product-gallery__stage > a {
    display: block;
    color: var(--ink);
}

.product-gallery__stage img,
.product-gallery__stage .media-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.product-gallery__zoom {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.94);
    box-shadow: var(--shadow-small);
    color: var(--ink);
    padding: 0.55rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
}

.product-gallery__thumbs {
    display: flex;
    overflow-x: auto;
    gap: 0.6rem;
    padding: 0.75rem 0 0.35rem;
    scrollbar-width: thin;
}

.product-gallery__thumb {
    flex: 0 0 68px;
    width: 68px;
    min-height: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--radius-small);
    background: transparent;
    padding: 0;
}

.product-gallery__thumb:hover,
.product-gallery__thumb[aria-current="true"] {
    border-color: var(--plum);
    background: transparent;
}

.product-gallery__thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-gallery .image-caption {
    padding-top: 0.45rem;
}

.pdp-panel {
    min-width: 0;
}

.pdp-description {
    color: #524944;
    font-size: 1.05rem;
}

.decision-facts,
.post-cta-assurances,
.order-summary__assurances {
    display: grid;
    gap: 0.65rem;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.decision-facts li,
.post-cta-assurances li,
.order-summary__assurances li {
    position: relative;
    color: var(--ink);
    padding-left: 1.45rem;
    font-size: 0.86rem;
}

.decision-facts li::before,
.post-cta-assurances li::before,
.order-summary__assurances li::before {
    position: absolute;
    left: 0;
    color: var(--sage);
    content: "✓";
    font-weight: 900;
}

.suitability-panel {
    margin: 1.75rem 0;
    border: 1px solid #c8d2c8;
    border-radius: var(--radius);
    background: var(--sage-soft);
    padding: 1.25rem;
}

.suitability-panel h2,
.product-configurator h2 {
    font-size: 1.65rem;
}

.suitability-panel p:not(.eyebrow) {
    font-size: 0.9rem;
}

.product-configurator {
    margin: 1.75rem 0;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
}

.configurator-heading > p:last-child {
    font-size: 0.9rem;
}

.extra-options,
.cart-extra-options {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1.25rem;
    border: 0;
    padding: 0;
}

.extra-card {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--surface);
}

.extra-card:has(input:checked) {
    border-color: var(--sage);
    box-shadow: 0 0 0 1px var(--sage);
    background: var(--sage-soft);
}

.extra-card > img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.extra-card__control {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
    padding: 1rem;
}

.extra-card input,
.cart-extra-options input,
.checkout-acknowledgement input,
.rating-options input {
    width: 20px;
    height: 20px;
    margin: 0.12rem 0 0;
    accent-color: var(--plum);
}

.extra-card small,
.cart-extra-options small {
    display: block;
    color: var(--muted);
    font-weight: 500;
}

.extra-card b {
    color: var(--ink);
    font-size: 0.85rem;
    white-space: nowrap;
}

.no-extras {
    border: 1px dashed var(--line);
    padding: 1rem;
    font-size: 0.9rem;
}

.price-summary {
    margin: 1.25rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 0;
}

.price-summary > div,
.order-summary__prices > div {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.34rem 0;
    color: var(--muted);
}

.price-summary > div[hidden] {
    display: none;
}

.price-summary__total,
.order-summary__total {
    margin-top: 0.55rem;
    border-top: 1px solid var(--line);
    color: var(--ink) !important;
    padding-top: 0.9rem !important;
    font-size: 1.08rem;
}

.form-reassurance {
    margin: 0.75rem 0 0;
    font-size: 0.76rem;
    text-align: center;
}

.post-cta-assurances {
    border-top: 1px solid var(--line);
    padding-top: 1.2rem;
}

.product-details,
.related-products {
    margin-top: clamp(4rem, 9vw, 7rem);
    border-top: 1px solid var(--line);
    padding-top: clamp(3rem, 7vw, 5rem);
}

.product-details__intro {
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.journey-list {
    display: grid;
    gap: 0;
    margin: 0 0 3rem;
    padding: 0;
    list-style: none;
}

.journey-list li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding: 1.25rem 0;
}

.journey-list li > span {
    color: var(--plum);
    font-family: var(--font-serif);
    font-size: 0.8rem;
}

.journey-list h3,
.journey-list p {
    margin-bottom: 0.35rem;
}

.detail-accordions {
    max-width: 860px;
}

.cart-layout {
    display: grid;
    gap: 1.5rem;
}

.cart-items {
    display: grid;
    gap: 1rem;
}

.cart-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.cart-item__top {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
}

.cart-item__image {
    overflow: hidden;
    border-radius: var(--radius-small);
    background: var(--paper-deep);
}

.cart-item__image img,
.cart-item__image .media-placeholder {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    padding: 0;
    font-size: 0.75rem;
}

.cart-item__heading h2 {
    margin-bottom: 0.35rem;
    font-size: 1.45rem;
}

.cart-item__heading h2 a {
    color: var(--ink);
    text-decoration: none;
}

.cart-item__price {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
}

.cart-item__summary {
    border-top: 1px solid var(--paper-deep);
    padding: 0.8rem 1rem;
}

.cart-item__summary > div {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.3rem 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.cart-item__summary small {
    display: block;
}

.cart-item__saved-note {
    display: grid !important;
    border-top: 1px solid var(--paper-deep);
    margin-top: 0.5rem;
    padding-top: 0.75rem !important;
}

.cart-item__editor {
    border-top: 1px solid var(--paper-deep);
}

.cart-item__editor summary {
    min-height: 52px;
    cursor: pointer;
    color: var(--plum-dark);
    padding: 0.85rem 1rem;
    font-weight: 800;
}

.cart-item__editor-content {
    display: grid;
    gap: 1.5rem;
    border-top: 1px solid var(--paper-deep);
    background: var(--paper);
    padding: 1rem;
}

.cart-item__editor-content form {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.cart-extra-options legend {
    margin-bottom: 0.6rem;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-extra-options label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--surface);
    padding: 0.8rem;
}

.cart-item__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--paper-deep);
    padding: 0.65rem 1rem;
}

.cart-item__actions form {
    margin: 0;
}

.order-summary,
.checkout-summary,
.confirmation-summary,
.order-address {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-small);
    padding: 1.35rem;
}

.order-summary h2,
.checkout-summary h2,
.confirmation-summary h2,
.order-address h2 {
    font-size: 1.7rem;
}

.order-summary__note,
.confirmation-summary__note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    text-align: center;
}

.order-summary__assurances {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.cart-clothing-check {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
    border-left: 4px solid var(--sage);
    background: var(--sage-soft);
    padding: 1.5rem;
}

.cart-clothing-check h2,
.cart-clothing-check p {
    margin-bottom: 0;
}

.empty-cart {
    max-width: 620px;
    margin: clamp(2rem, 8vw, 7rem) auto;
    text-align: center;
}

.empty-cart__mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    font-size: 1.25rem;
}

.empty-cart h1,
.empty-cart h2,
.empty-cart p {
    margin-right: auto;
    margin-left: auto;
}

.checkout-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 620px;
    margin: 0 0 2.5rem;
    padding: 0;
    list-style: none;
}

.checkout-progress li {
    position: relative;
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    color: var(--muted);
    font-size: 0.72rem;
    text-align: center;
}

.checkout-progress li:not(:last-child)::after {
    position: absolute;
    top: 14px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 1px;
    background: var(--line);
    content: "";
}

.checkout-progress span {
    display: grid;
    z-index: 1;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    font-weight: 800;
}

.checkout-progress li[aria-current="step"],
.checkout-progress li.is-done {
    color: var(--ink);
    font-weight: 800;
}

.checkout-progress li[aria-current="step"] span,
.checkout-progress li.is-done span {
    border-color: var(--plum);
    background: var(--plum);
    color: #fff;
}

.checkout-layout {
    display: grid;
    gap: 1.5rem;
}

.checkout-form {
    display: grid;
    gap: 1rem;
}

.form-section {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.25rem;
}

.form-section__number {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--plum);
    font-family: var(--font-serif);
    font-size: 0.78rem;
    font-weight: 800;
}

.form-section__heading {
    margin-bottom: 1.25rem;
}

.form-section__heading h2 {
    margin-bottom: 0.35rem;
    font-size: 1.6rem;
}

.form-section__heading p {
    margin-bottom: 0;
    font-size: 0.88rem;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field:last-child {
    margin-bottom: 0;
}

label {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.optional {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #bfb3a8;
    border-radius: var(--radius-small);
    background: #fff;
    padding: 0.72rem 0.8rem;
}

textarea {
    min-height: 128px;
    resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
    border-color: var(--muted);
}

.field-help {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.form-field--error input,
.form-field--error select,
.form-field--error textarea,
.checkout-acknowledgement.form-field--error {
    border-color: var(--danger);
}

.field-error .errorlist,
.form-error-summary .errorlist {
    margin: 0.4rem 0 0;
    padding-left: 1.25rem;
}

.field-error li,
.form-error-summary li {
    color: var(--danger);
    font-size: 0.8rem;
}

.form-error-summary {
    max-width: 780px;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--danger);
    background: #f8e8e8;
    padding: 1rem 1.25rem;
}

.form-error-summary h2 {
    margin-bottom: 0.35rem;
    font-size: 1.35rem;
}

.form-error-summary p {
    margin-bottom: 0;
}

.checkout-acknowledgement {
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    padding: 1rem;
}

.checkout-acknowledgement label {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.7rem;
    align-items: start;
    margin: 0;
    cursor: pointer;
}

.legal-links {
    margin: 0.8rem 0 0;
    font-size: 0.78rem;
}

.checkout-submit {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-deep);
    padding: 1.25rem;
}

.checkout-submit p {
    font-size: 0.82rem;
}

.checkout-summary__items article {
    border-top: 1px solid var(--line);
    padding: 0.9rem 0;
}

.checkout-summary__items article > div,
.confirmation-item > div:first-child {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.checkout-summary__items h3,
.confirmation-item h3 {
    margin: 0;
    font-size: 1.05rem;
}

.checkout-summary__items p,
.confirmation-item p {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
}

.success-hero {
    max-width: 800px;
    margin: 1rem 0 clamp(3rem, 7vw, 5rem);
}

.success-hero__mark {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    place-items: center;
    border-radius: 50%;
    background: var(--sage);
    color: #fff;
    font-size: 1.4rem;
}

.success-hero h1 {
    font-size: var(--text-h1);
}

.success-hero__lead {
    max-width: 670px;
    color: #514842;
    font-size: 1.1rem;
}

.success-layout {
    display: grid;
    gap: 1.5rem;
}

.next-steps {
    border-top: 1px solid var(--line);
    padding-top: 2rem;
}

.next-steps > h2 {
    font-size: 2rem;
}

.next-steps ol {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.next-steps li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.85rem;
    border-top: 1px solid var(--line);
    padding: 1.15rem 0;
}

.next-steps li > span {
    color: var(--plum);
    font-family: var(--font-serif);
    font-size: 0.78rem;
}

.next-steps h3,
.next-steps p {
    margin-bottom: 0.35rem;
}

.status-notice,
.posting-address,
.tracking-callout {
    border-left: 4px solid var(--sage);
    background: var(--sage-soft);
    color: var(--ink);
    padding: 1rem;
}

.status-notice--cancelled {
    border-color: var(--danger);
    background: #f8e8e8;
}

.order-meta {
    margin: 1rem 0;
}

.order-meta > div {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 0.7rem 0;
}

.order-meta dt,
.order-meta dd {
    margin: 0;
    font-size: 0.85rem;
}

.order-meta dd {
    color: var(--ink);
    font-weight: 800;
    text-align: right;
}

.confirmation-details {
    margin: clamp(4rem, 9vw, 7rem) 0;
    border-top: 1px solid var(--line);
    padding-top: clamp(3rem, 7vw, 5rem);
}

.confirmation-details__grid {
    display: grid;
    gap: 1.5rem;
}

.confirmation-item,
.delivery-address {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 1.25rem;
}

.confirmation-item + .confirmation-item {
    border-top: 0;
}

.delivery-address h3 {
    font-size: 1.3rem;
}

.account-orders {
    display: grid;
    gap: 1rem;
}

.account-order-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.25rem;
}

.account-order-card__heading {
    display: flex;
    gap: 1rem;
    align-items: start;
    justify-content: space-between;
}

.account-order-card__heading h2 {
    font-size: 1.6rem;
}

.status-pill {
    display: inline-flex;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 850;
    white-space: nowrap;
}

.status-pill--cancelled {
    background: #f8e8e8;
    color: var(--danger);
}

.account-order-card__body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.account-order-card__body > div {
    padding: 0.8rem 0.4rem;
}

.account-order-card__body span,
.account-order-card__body strong {
    display: block;
}

.account-order-card__body span {
    color: var(--muted);
    font-size: 0.68rem;
}

.account-order-card__body strong {
    color: var(--ink);
    font-size: 0.84rem;
}

.order-detail-hero {
    display: flex;
    gap: 1.5rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: clamp(3rem, 7vw, 5rem);
}

.order-detail-hero h1 {
    font-size: var(--text-h1);
}

.order-detail-total {
    text-align: right;
}

.order-detail-total span,
.order-detail-total strong {
    display: block;
}

.order-detail-total span {
    color: var(--muted);
    font-size: 0.75rem;
}

.order-detail-total strong {
    font-family: var(--font-serif);
    font-size: 1.7rem;
}

.order-progress {
    margin-bottom: clamp(4rem, 8vw, 6rem);
    border-top: 1px solid var(--line);
    padding-top: 2.5rem;
}

.status-timeline {
    display: grid;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.status-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.8rem;
    min-height: 82px;
}

.status-timeline li:not(:last-child)::before {
    position: absolute;
    top: 34px;
    bottom: 0;
    left: 16px;
    width: 1px;
    background: var(--line);
    content: "";
}

.status-timeline__marker {
    display: grid;
    z-index: 1;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
}

.status-timeline__done .status-timeline__marker,
.status-timeline__current .status-timeline__marker {
    border-color: var(--sage);
    background: var(--sage);
    color: #fff;
}

.status-timeline__current h3 {
    color: var(--plum-dark);
}

.status-timeline h3,
.status-timeline p {
    margin-bottom: 0.2rem;
}

.status-timeline p {
    font-size: 0.78rem;
}

.order-detail-layout {
    display: grid;
    gap: 1.5rem;
}

.order-keepsakes {
    display: grid;
    gap: 1rem;
}

.order-keepsakes article {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 1.25rem;
}

.order-keepsake__heading,
.order-keepsake__prices p {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.order-keepsake__heading h3 {
    margin-bottom: 0;
}

.order-keepsake__prices {
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 0.75rem;
}

.order-keepsake__prices p {
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
}

.saved-instructions {
    margin-top: 1rem;
    border-left: 3px solid var(--sage);
    background: var(--sage-soft);
    padding: 0.8rem;
}

.saved-instructions h4,
.saved-instructions p {
    margin-bottom: 0.25rem;
}

.site-main > article,
.site-main > form:not(.checkout-form) {
    width: min(100%, 840px);
    margin-right: auto;
    margin-left: auto;
}

.site-main > article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: clamp(1.25rem, 5vw, 3rem);
}

.site-main > article h1 {
    font-size: var(--text-h1);
}

.site-main > article section {
    margin-top: 2.25rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

.site-main > article section h2 {
    font-size: 1.55rem;
}

.site-main > form:not(.checkout-form) {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-small);
    padding: clamp(1.25rem, 5vw, 2rem);
}

.site-main > form p {
    margin-bottom: 1rem;
}

.trust-panel {
    border: 1px solid #c8d2c8;
    border-radius: var(--radius);
    background: var(--sage-soft);
    padding: 1.25rem;
}

.trust-panel h2 {
    font-size: 1.45rem;
}

.trust-list {
    padding-left: 1.25rem;
}

.cookie-consent-banner {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 1rem;
}

.cookie-consent-inner,
.cookie-consent-actions {
    display: flex;
    gap: 0.8rem;
    flex-direction: column;
}

.cookie-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cookie-consent-copy,
.site-footer .cookie-consent-copy {
    margin: 0;
    color: var(--ink);
    font-size: 0.85rem;
}

.cookie-consent-actions form {
    min-width: 0;
    width: 100%;
    margin: 0;
}

.cookie-consent-button {
    width: 100%;
    min-height: 42px;
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

@media (max-width: 359px) {
    .cookie-consent-actions {
        grid-template-columns: 1fr;
    }
}

.facebook-action svg {
    display: block;
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    flex: 0 0 auto;
    vertical-align: middle;
}

@media (min-width: 540px) {

    .product-grid,
.extras-grid,
.account-orders {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-panel {
        grid-template-columns: 1fr auto;
    }

    .inline-assurances {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1.4rem;
    }

}

@media (min-width: 760px) {

    .site-main {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .section {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .cookie-consent-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: min(100%, 980px);
        margin: 0 auto;
    }

    .cookie-consent-actions {
        display: flex;
        flex: 0 0 auto;
        flex-direction: row;
    }

    .cookie-consent-button {
        width: auto;
    }

    .section-heading--split {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
        gap: 2.5rem;
        align-items: end;
    }

    .section-heading--split > p {
        margin-bottom: 0;
    }

    .extra-detail-layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
        align-items: center;
    }

    .pdp-layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
        gap: clamp(2rem, 5vw, 4.5rem);
        align-items: start;
    }

    .pdp-panel {
        position: sticky;
        top: 105px;
        align-self: start;
    }

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

    .journey-list li:nth-child(odd) {
        border-right: 1px solid var(--line);
        padding-right: 1.5rem;
    }

    .journey-list li:nth-child(even) {
        padding-left: 1.5rem;
    }

    .cart-clothing-check,
    .confirmation-details__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .success-layout,
    .order-detail-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
        gap: 2.5rem;
        align-items: start;
    }

    .confirmation-summary,
    .order-address {
        position: sticky;
        top: 105px;
    }

    .status-timeline {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .status-timeline li {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        min-height: auto;
        padding-right: 1rem;
    }

    .status-timeline li:not(:last-child)::before {
        top: 16px;
        right: 0;
        bottom: auto;
        left: 34px;
        width: calc(100% - 34px);
        height: 1px;
    }
}

@media (min-width: 960px) {

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

    .product-grid:not(.product-grid--shop) .product-card:first-child:nth-last-child(1) {
        max-width: 390px;
    }

    .cart-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
        gap: 2rem;
        align-items: start;
    }

    .order-summary,
    .checkout-summary {
        position: sticky;
        top: 105px;
    }

    .checkout-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
        gap: 2.5rem;
        align-items: start;
    }

    .form-section {
        display: grid;
        grid-template-columns: 50px 1fr;
        column-gap: 1rem;
        padding: 1.75rem;
    }

    .form-section__number {
        grid-row: 1 / 20;
    }

    .form-section > .form-section__heading,
    .form-section > .form-field,
    .form-section > .checkout-acknowledgement,
    .form-section > .legal-links {
        grid-column: 2;
    }

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

@media (max-width: 420px) {

    .order-detail-hero {
        align-items: start;
        flex-direction: column;
    }

    .order-detail-total {
        text-align: left;
    }
}

@media print {
    .cookie-consent-banner,
.breadcrumb,
.button,
button {
        display: none !important;
    }

    body,
    .site-main {
        background: #fff;
    }

    .site-main {
        width: 100%;
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Premium editorial storefront ------------------------------------------ */

.button span,
button span {
    color: inherit;
}

.button.button--light,
.button.button--light:visited,
.help-panel .button--light {
    color: var(--ink);
}

.product-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.product-card__image-link {
    position: relative;
}

.product-card__image-link::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(41, 37, 34, 0.08);
    content: "";
    pointer-events: none;
}

.product-card__body {
    padding: 1.25rem 0 0;
}

.product-card__heading {
    display: flex;
    gap: 1rem;
    align-items: start;
    justify-content: space-between;
}

.product-card__heading h3 {
    margin-bottom: 0;
}

.product-card__price {
    flex: 0 0 auto;
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
}

.product-card__description {
    max-width: 39ch;
}

.product-card__link {
    display: flex;
    min-height: 45px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--ink);
    padding-top: 0.8rem;
    text-decoration: none;
}

.product-card__link span:last-child {
    transition: transform 180ms ease;
}

.product-card__card-link:hover .product-card__link span:last-child,
.product-card__card-link:focus-visible .product-card__link span:last-child {
    transform: translate(3px, -3px);
}

/* Product photography and configurator */

.product-gallery__viewport {
    overflow: hidden;
    background: var(--paper-deep);
    touch-action: pan-y pinch-zoom;
}

.product-gallery__track {
    display: flex;
}

.product-gallery__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin: 0;
}

.product-gallery__image-button {
    position: relative;
    display: block;
    height: 100%;
    color: var(--ink);
}

.product-gallery__slide img,
.product-gallery__slide .media-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.product-gallery__zoom {
    display: inline-flex;
    min-height: 42px;
    gap: 0.45rem;
    align-items: center;
    border: 1px solid rgba(41, 37, 34, 0.12);
    background: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(8px);
}

.product-gallery__zoom svg {
    width: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.5;
}

.product-gallery__controls {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.8rem;
}

.product-gallery__controls button {
    width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    padding: 0;
}

.product-gallery__controls button:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.product-gallery__controls p {
    margin: 0;
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
}

.product-gallery__thumbs {
    gap: 0.7rem;
    padding-top: 0.9rem;
}

.product-gallery__thumb {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
    aspect-ratio: 1;
    border: 0;
    border-radius: 0;
    opacity: 0.56;
    padding: 0 0 0.35rem;
}

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

.product-gallery__thumb:hover,
.product-gallery__thumb[aria-current="true"] {
    border-color: var(--plum);
    background: transparent;
    box-shadow: inset 0 -2px var(--plum);
    opacity: 1;
}

.gallery-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    background: #211e1c;
    color: #fff;
    padding: 0;
}

.gallery-dialog::backdrop {
    background: rgba(24, 21, 19, 0.94);
}

.gallery-dialog__inner {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    padding: 0.75rem;
}

.gallery-dialog__close {
    z-index: 1;
    justify-self: end;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    padding: 0.5rem 0.85rem;
}

.gallery-dialog__close:hover,
.gallery-dialog__controls button:hover {
    border-color: #fff;
    background: #fff;
    color: var(--ink);
}

.gallery-dialog__stage {
    display: grid;
    min-height: 0;
    place-items: center;
    overflow: hidden;
}

.gallery-dialog__stage img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.gallery-dialog__controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
    padding-top: 0.75rem;
}

.gallery-dialog__controls button {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    padding: 0.55rem 0.75rem;
}

.gallery-dialog__controls button:last-child {
    justify-self: end;
}

.gallery-dialog__controls p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

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

.extra-card {
    position: relative;
    border-radius: 0;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.extra-card:hover {
    border-color: #a99489;
    transform: translateY(-2px);
}

.extra-card:has(input:checked),
.extra-card[data-selected] {
    border-color: var(--plum);
    box-shadow: 0 0 0 1px var(--plum);
    background: #fbf2f4;
}

.extra-card__control {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    padding: 0.9rem;
}

.extra-card__control i {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--plum);
    color: #fff;
    font-size: 0.7rem;
    font-style: normal;
    opacity: 0;
    transform: scale(0.65);
    transition: opacity 160ms ease, transform 160ms ease;
}

.extra-card:has(input:checked) .extra-card__control i,
.extra-card[data-selected] .extra-card__control i {
    opacity: 1;
    transform: scale(1);
}

.mobile-product-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 190;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(41, 37, 34, 0.13);
    background: rgba(255, 253, 249, 0.97);
    box-shadow: 0 -8px 18px rgba(41, 37, 34, 0.08);
    padding: 0.45rem max(0.75rem, env(safe-area-inset-right)) calc(0.45rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    backdrop-filter: blur(10px);
    transition: transform 220ms ease, visibility 220ms ease;
}

.mobile-product-bar.is-hidden {
    visibility: hidden;
    transform: translateY(110%);
}

.mobile-product-bar button {
    width: min(100%, 420px);
    min-height: 46px;
    flex-wrap: nowrap;
    border-radius: var(--radius-small);
    padding: 0.55rem 1rem;
    line-height: 1.1;
    white-space: nowrap;
}

/* Finishing and overflow resilience */

.cart-item,
.cart-item__top,
.cart-item__heading {
    min-width: 0;
}

.cart-item a,
.cart-item p,
.cart-item span {
    overflow-wrap: anywhere;
}

.cart-item__editor summary {
    position: relative;
    list-style: none;
    padding-right: 3rem;
}

.cart-item__image {
    align-self: start;
    aspect-ratio: 4 / 5;
}

.cart-item__image img,
.cart-item__image .media-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.cart-item__editor summary::after {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    content: "+";
    font-size: 1.25rem;
}

.cart-item__editor[open] summary::after {
    content: "−";
}

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

.has-js [data-reveal],
.has-js .reveal-child {
    opacity: 1;
    transform: none;
}

.has-js [data-reveal="image"] {
    transform: none;
}

.has-js [data-reveal].is-revealed {
    animation: storefront-reveal 550ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.has-js [data-reveal].is-revealed .reveal-child {
    animation: storefront-reveal 550ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    transition-delay: var(--reveal-delay, 0ms);
}

@keyframes storefront-reveal {
    from {
        opacity: 0.35;
        transform: translateY(12px);
    }

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

@media (max-width: 539px) {

    .cart-item__top {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .cart-item__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-item__actions form,
    .cart-item__actions .text-button {
        width: 100%;
    }

    .cart-item__actions .text-button {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (min-width: 760px) {

    .gallery-dialog__inner {
        padding: 1.25rem 2rem;
    }

    .mobile-product-bar {
        display: none;
    }
}

@media (min-width: 960px) {
    .extras-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pdp-layout {
        grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.72fr);
    }

    .product-gallery__controls {
        grid-template-columns: 48px 1fr 48px;
    }

    .product-gallery__controls button {
        width: 48px;
        min-height: 48px;
    }

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

@media (prefers-reduced-motion: reduce) {
    .has-js [data-reveal],
    .has-js .reveal-child {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Customer reviews */
.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    align-items: center;
    margin: 1.25rem 0 1.5rem;
}

.review-stars {
    display: inline-flex;
    gap: 0.1rem;
    color: var(--line);
    font-size: 1.15rem;
    line-height: 1;
}

.review-stars__star.is-filled {
    color: var(--gold);
}

.reviews-list {
    margin-bottom: clamp(4rem, 9vw, 7rem);
}

.reviews-grid {
    display: grid;
    gap: 1.35rem;
    align-items: stretch;
}

.review-card {
    display: flex;
    min-width: 0;
    min-height: 18rem;
    gap: 1rem;
    align-self: stretch;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--surface);
    box-shadow: var(--shadow-small);
    padding: 1.5rem;
}

.review-card__text {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

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

.review-card__photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.review-card__photos a {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: var(--radius-small);
    background: var(--paper-deep);
}

.review-card__photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 0.75rem;
    align-items: start;
    margin-top: auto;
    border-top: 1px solid var(--paper-deep);
    padding-top: 0.9rem;
    font-size: 0.88rem;
}

.review-card__meta strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.review-card__meta time {
    color: var(--muted);
    white-space: nowrap;
}

.reviews-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    font-size: 0.88rem;
}

.review-form {
    max-width: 780px;
}

.rating-field {
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
    border: 0;
    padding: 0;
}

.rating-field legend {
    margin-bottom: 0.5rem;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 800;
}

.rating-options {
    display: grid;
    gap: 0.5rem;
}

.rating-options label {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 0.7rem;
    align-items: center;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: #fff;
    padding: 0.7rem 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.rating-options label:has(input:checked) {
    border-color: var(--plum);
    background: var(--plum-soft);
}

.rating-field.form-field--error .rating-options label {
    border-color: var(--danger);
}

.review-form input[type="file"] {
    min-height: 0;
    background: var(--surface);
}

.review-form__trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (min-width: 540px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .reviews-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 359px) {
    .review-card {
        min-height: 16rem;
        padding: 1.2rem;
    }

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

/* ======================================================================
   Header and navigation
   ====================================================================== */

.reassurance-bar {
    display: none;
    background: var(--sage-dark);
    color: rgba(255, 255, 255, 0.88);
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
    text-align: center;
}

.reassurance-bar p {
    margin: 0;
    color: inherit;
}

.reassurance-bar span {
    margin: 0 0.5rem;
    opacity: 0.55;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--line);
    background: rgba(248, 244, 237, 0.97);
    transition: box-shadow 200ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 20px rgba(41, 37, 34, 0.06);
}

.site-header__inner {
    display: flex;
    width: min(100%, var(--content));
    height: var(--header-height);
    gap: 1rem;
    align-items: center;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-brand {
    display: inline-flex;
    min-width: 0;
    gap: 0.6rem;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.site-brand__mark {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--plum);
    border-radius: 50%;
    color: var(--plum-dark);
    font-family: var(--font-serif);
    font-size: 0.78rem;
    font-weight: 700;
}

.site-brand__name {
    overflow: hidden;
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-brand__name i {
    color: var(--plum);
    font-weight: 500;
}

.site-nav,
.site-account,
.site-header__cta {
    display: none;
}

.site-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: auto;
}

.site-nav a,
.site-account a,
.site-account__logout {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav a:hover,
.site-account a:hover,
.site-account__logout:hover {
    color: var(--plum);
    text-decoration: underline;
}

.site-nav a[aria-current="page"] {
    color: var(--plum-dark);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.45em;
}

.site-account form {
    margin: 0;
}

.site-account__logout,
.site-account__logout:hover {
    min-height: 0;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.site-basket {
    position: relative;
    display: inline-flex;
    min-width: 44px;
    height: 44px;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    padding: 0 0.7rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.site-basket:hover {
    border-color: var(--ink);
}

.site-basket svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.site-basket__label {
    display: none;
}

.site-basket__count {
    display: inline-grid;
    min-width: 1.3rem;
    height: 1.3rem;
    place-items: center;
    border-radius: 999px;
    background: var(--plum);
    color: #fff;
    padding: 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
}

/* Mobile menu: a calm slide-over panel built on <details>. */
.site-menu summary {
    display: inline-flex;
    min-height: 44px;
    gap: 0.5rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    padding: 0 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.site-menu summary i,
.site-menu summary i::before,
.site-menu summary i::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    content: "";
}

.site-menu summary i {
    position: relative;
}

.site-menu summary i::before,
.site-menu summary i::after {
    position: absolute;
    left: 0;
}

.site-menu summary i::before {
    top: -5px;
}

.site-menu summary i::after {
    top: 5px;
}

.site-menu__backdrop,
.site-menu__backdrop:hover {
    position: fixed;
    inset: 0;
    z-index: 300;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: rgba(28, 24, 21, 0.42);
    padding: 0;
    cursor: default;
}

.site-menu__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 301;
    display: flex;
    width: min(88vw, 360px);
    overflow-y: auto;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--paper);
    box-shadow: -12px 0 40px rgba(28, 24, 21, 0.16);
    padding: 0.75rem 1.25rem 1.5rem;
}

.site-menu__top {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.site-menu__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
}

.site-menu__close,
.site-menu__close:hover {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 0 0.25rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.site-menu__close span {
    font-size: 1.35rem;
    line-height: 1;
}

.site-menu__links {
    display: grid;
}

.site-menu__links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
}

.site-menu__links a:hover {
    color: var(--plum);
}

.site-menu__account {
    display: grid;
    gap: 0.1rem;
}

.site-menu__label {
    margin: 0 0 0.25rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-menu__account a,
.site-menu__logout,
.site-menu__logout:hover {
    display: flex;
    min-height: 44px;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--plum-dark);
    padding: 0;
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
}

.site-menu__account form {
    margin: 0;
}

.site-menu__note {
    margin: auto 0 0;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    font-size: 0.85rem;
}

.site-menu__note a {
    overflow-wrap: anywhere;
}

.menu-open {
    overflow: hidden;
}

.menu-open .cookie-consent-banner {
    display: none;
}

@media (min-width: 760px) {
    .reassurance-bar {
        display: block;
    }

    .site-header__inner {
        padding: 0 1.25rem;
    }

    .site-brand__mark {
        width: 40px;
        height: 40px;
    }

    .site-brand__name {
        font-size: 1.2rem;
    }
}

@media (min-width: 960px) {
    :root {
        --header-height: 72px;
    }

    .site-header__inner {
        gap: 2rem;
    }

    .site-nav {
        display: flex;
        gap: 1.6rem;
        margin-left: 1rem;
    }

    .site-actions {
        gap: 1rem;
    }

    .site-account {
        display: flex;
        gap: 1rem;
        align-items: center;
        border-right: 1px solid var(--line);
        padding-right: 1rem;
    }

    .site-header__cta {
        display: inline-flex;
    }

    .site-menu {
        display: none;
    }
}

@media (min-width: 1180px) {
    .site-basket__label {
        display: inline;
    }
}

/* ======================================================================
   Footer and cookie consent
   ====================================================================== */

.site-footer {
    margin-top: clamp(3rem, 8vw, 5rem);
    background: #282421;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__inner {
    display: grid;
    width: min(100%, var(--content));
    gap: 2rem;
    margin: 0 auto;
    padding: 2.5rem 1rem 1.5rem;
}

.site-footer p,
.site-footer li {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer__brand p {
    max-width: 34ch;
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
}

.site-footer__brand a {
    overflow-wrap: anywhere;
}

.site-footer .site-footer__name {
    margin-bottom: 0.6rem;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
}

.site-footer__name i {
    color: #d9bd87;
    font-weight: 500;
}

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
}

.site-footer__nav h2 {
    max-width: none;
    margin: 0 0 0.6rem;
    color: #d9bd87;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__nav li {
    padding: 0.35rem 0;
    font-size: 0.92rem;
}

.site-footer__fineprint {
    display: flex;
    gap: 0.5rem 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 1.25rem;
}

.site-footer__fineprint p {
    margin: 0;
    font-size: 0.82rem;
}

.cookie-settings summary {
    display: inline;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
}

.cookie-settings p {
    margin: 0.6rem 0;
    font-size: 0.85rem;
}

.cookie-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.cookie-consent-actions form {
    min-width: 0;
    margin: 0;
}

.cookie-consent-button,
.cookie-consent-button:hover {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.cookie-consent-button:hover {
    border-color: var(--ink);
}

/* Compact bar docked to the bottom edge so it never sits over the middle of
   the page. */
.cookie-consent-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 400;
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 -8px 24px rgba(41, 37, 34, 0.08);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
}

.cookie-consent-inner {
    display: grid;
    gap: 0.65rem;
}

.cookie-consent-copy,
.site-footer .cookie-consent-copy {
    margin: 0;
    color: var(--ink);
    font-size: 0.85rem;
    line-height: 1.45;
}

@media (min-width: 540px) {
    .site-footer__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 760px) {
    .cookie-consent-banner {
        right: auto;
        bottom: 1rem;
        left: 1rem;
        max-width: 420px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 1rem;
    }
}

@media (min-width: 960px) {
    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 3rem;
        padding: 3.5rem 1.25rem 1.75rem;
    }

    .site-footer__fineprint {
        grid-column: 1 / -1;
    }
}

/* ======================================================================
   Account and sign-in pages
   ====================================================================== */

.auth-layout {
    display: grid;
    width: min(100%, 440px);
    gap: 1.25rem;
    margin: 0 auto;
}

.auth-layout__intro h1 {
    margin-bottom: 0.4rem;
    font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.5rem);
}

.auth-layout__intro p {
    margin: 0;
}

.auth-form {
    display: grid;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.25rem;
}

.auth-form .form-field {
    margin: 0;
}

.auth-form label {
    margin-bottom: 0.35rem;
}

.auth-form .field-help ul {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
}

.auth-form .field-help li {
    font-size: 0.76rem;
}

.auth-form__aside,
.auth-layout__switch {
    margin: 0;
    font-size: 0.92rem;
}

.auth-form__aside {
    text-align: center;
}

.auth-layout .form-error-summary p {
    margin: 0;
    color: var(--danger);
}

.form-field--checkbox label {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 0.7rem;
    align-items: start;
    font-weight: 600;
}

.form-field--checkbox input {
    width: 20px;
    height: 20px;
    min-height: 0;
    margin: 0.1rem 0 0;
    accent-color: var(--plum);
}

.account-nav {
    display: flex;
    gap: 0.25rem;
    margin: -0.5rem 0 1.75rem;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
}

.account-nav a {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    padding: 0 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.account-nav a:first-child {
    padding-left: 0;
}

.account-nav a[aria-current="page"] {
    border-bottom-color: var(--plum);
    color: var(--ink);
}

.account-panel {
    display: grid;
    width: min(100%, 560px);
    gap: 1rem;
}

.account-panel h2 {
    margin: 0;
    font-size: var(--text-h3);
}

.account-panel__email {
    margin: 0;
}

.account-panel__email dt {
    color: var(--muted);
    font-size: 0.85rem;
}

.account-panel__email dd {
    margin: 0.15rem 0 0;
    color: var(--ink);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.account-panel .field-help {
    margin: 0;
}

.empty-state--account {
    max-width: 560px;
    text-align: left;
}

.empty-state--account h2 {
    font-size: var(--text-h3);
}

.empty-state--account p {
    margin-left: 0;
}

/* Very narrow phones: keep the full brand name visible. */
@media (max-width: 399px) {
    .site-menu summary {
        width: 44px;
        justify-content: center;
        padding: 0;
    }

    .site-menu summary span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
}

@media (max-width: 359px) {
    .site-brand__mark {
        display: none;
    }
}

/* ======================================================================
   Homepage
   ====================================================================== */

.hero {
    display: grid;
    width: min(100%, var(--content));
    gap: 1.5rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 0;
}

.hero__copy {
    order: -1;
}

.hero h1 {
    max-width: 19ch;
    margin-bottom: 0.45em;
}

.hero__lead {
    max-width: 36rem;
    margin-bottom: 0;
    color: #4d4540;
    font-size: 1.05rem;
}

.hero__actions {
    display: flex;
    gap: 0.75rem 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 1.4rem 0 1.25rem;
}

.hero__facts {
    display: flex;
    gap: 0.35rem 1.25rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero__facts li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero__facts li::before {
    position: absolute;
    left: 0;
    color: var(--sage);
    content: "✓";
    font-weight: 700;
}

.hero__facts strong {
    color: var(--ink);
}

.hero__media img,
.hero__media .media-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: var(--paper-deep);
    object-fit: cover;
    object-position: center 30%;
}

.home-section {
    width: min(100%, var(--content));
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 5.5rem) 1rem 0;
}

.home-section__head {
    margin-bottom: 1.5rem;
}

.home-section__head h2 {
    margin-bottom: 0.3em;
}

.home-section__head p {
    max-width: 38rem;
    margin: 0;
}

.home-section__head--split {
    display: flex;
    gap: 0.75rem 2rem;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: space-between;
}

.home-section__more {
    margin: 1.5rem 0 0;
}

/* About Laura: a quiet full-width band. */
.maker {
    width: 100%;
    max-width: none;
    margin-top: clamp(3rem, 8vw, 5.5rem);
    border-block: 1px solid var(--line);
    background: var(--surface);
    padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.maker__inner {
    display: grid;
    width: min(100%, var(--content));
    gap: 1.5rem;
    align-items: center;
    margin: 0 auto;
}

.maker__image {
    margin: 0;
}

.maker__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius);
    object-fit: cover;
}

.maker__copy {
    max-width: 36rem;
}

.maker__copy p:not(.eyebrow) {
    color: #4d4540;
    font-size: 1.05rem;
}

.maker__signature {
    margin: 0;
    color: var(--plum-dark) !important;
    font-family: var(--font-serif);
    font-size: 1.35rem !important;
    font-style: italic;
}

/* Recent work: the photography does the selling. */
.work__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.work__grid li {
    margin: 0;
}

.work__grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-small);
    background: var(--paper-deep);
    object-fit: cover;
}

/* How ordering works. */
.steps__list {
    display: grid;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps__list li {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    counter-increment: step;
}

.steps__list li::before {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--plum);
    content: "0" counter(step);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
}

.steps__list h3 {
    margin-bottom: 0.35rem;
}

.steps__list p {
    margin: 0;
}

/* Reviews. */
.home-reviews__grid {
    display: grid;
    gap: 1rem;
}

.home-review {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.25rem;
}

.home-review blockquote {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.55;
}

.home-review figcaption {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Before you order. */
.before-order__inner {
    display: grid;
    gap: 1.5rem;
}

.before-order__lead {
    max-width: 34rem;
    border-left: 3px solid var(--gold);
    background: #f4eadb;
    color: var(--ink);
    padding: 0.9rem 1rem;
}

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

.faq-list details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    min-height: 56px;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    flex: 0 0 auto;
    color: var(--plum);
    content: "+";
    font-size: 1.35rem;
    font-weight: 400;
}

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

.faq-list details p {
    max-width: 40rem;
    margin: 0 0 1rem;
}

/* Closing call to action. */
.order-cta {
    width: min(calc(100% - 2rem), var(--content));
    margin: clamp(3rem, 8vw, 5.5rem) auto 0;
    border-radius: var(--radius);
    background: var(--sage-dark);
    padding: clamp(2rem, 6vw, 3.5rem) 1.25rem;
    text-align: center;
}

.order-cta h2 {
    margin: 0 auto 0.4em;
    color: #fff;
}

.order-cta p {
    max-width: 34rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
}

.order-cta__actions {
    display: flex;
    gap: 0.75rem 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

.order-cta__link {
    color: #fff;
    font-weight: 600;
}

.order-cta__link:hover {
    color: #fff;
}

.page-home + .site-footer,
.page-home .site-footer {
    margin-top: clamp(3rem, 8vw, 5.5rem);
}

@media (min-width: 540px) {
    .hero__media img,
    .hero__media .media-placeholder {
        aspect-ratio: 16 / 10;
    }

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

@media (min-width: 760px) {
    .hero,
    .home-section {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .maker__inner {
        padding: 0 1.25rem;
    }

    .work__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }

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

@media (min-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: clamp(2rem, 5vw, 4.5rem);
        align-items: center;
        padding-top: 2.5rem;
    }

    .hero__copy {
        order: 0;
    }

    .hero__media img,
    .hero__media .media-placeholder {
        max-height: min(640px, calc(100vh - 140px));
        aspect-ratio: 4 / 5;
    }

    .maker__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(2rem, 5vw, 4.5rem);
    }

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

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

    .before-order__inner {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: clamp(2rem, 5vw, 4.5rem);
        align-items: start;
    }
}

/* Product cards two-up on phones so designs can be compared at a glance. */
@media (min-width: 360px) and (max-width: 539px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 0.75rem;
    }

    .product-card__body {
        padding-top: 0.75rem;
    }

    .product-card__heading {
        flex-direction: column;
        gap: 0.15rem;
    }

    .product-card__heading h3 {
        font-size: 1.1rem;
    }

    .product-card__price {
        margin: 0;
        font-size: 0.85rem;
    }

    .product-card__description {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-card__link {
        min-height: 40px;
        padding-top: 0.5rem;
        font-size: 0.85rem;
    }
}

@media (min-width: 760px) {
    .work__grid img {
        aspect-ratio: 1 / 1;
    }
}

@media (min-width: 960px) {
    .hero__copy {
        order: -1;
    }
}

@media (min-width: 1100px) {
    .product-grid--featured {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 539px) {
    .work .work__grid li:nth-child(n + 5) {
        display: none;
    }
}

/* Cards are a single link; keep their text at normal weight. */
.product-card__card-link {
    font-weight: 400;
}

.product-card__card-link h3,
.product-card__price strong,
.product-card__link {
    font-weight: 600;
}

.suitability-panel h2 {
    font-size: var(--text-h3);
}

/* ======================================================================
   Contact and legal page components
   ====================================================================== */

.legal-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.button--facebook svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.button--facebook {
    gap: 0.5rem;
}

.contact-layout {
    display: grid;
    width: min(100%, 720px);
    gap: 1.5rem;
    margin: 0 auto;
}

.contact-layout .page-intro {
    margin-bottom: 0;
}

.contact-layout .legal-actions {
    margin: 0;
}

.contact-email {
    margin: -0.5rem 0 0;
    overflow-wrap: anywhere;
}

.contact-about,
.contact-tips,
.contact-layout .legal-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.25rem;
}

.contact-about h2,
.contact-tips h2,
.contact-layout .legal-card h2 {
    margin-bottom: 0.6rem;
    font-size: var(--text-h3);
}

.contact-tips ul {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
}

.contact-tips li {
    margin-bottom: 0.35rem;
}

.contact-tips p,
.contact-layout .legal-card p:last-child,
.contact-layout .legal-card address {
    margin-bottom: 0;
}

.legal-card p {
    margin-bottom: 0.4rem;
}

.legal-card a {
    overflow-wrap: anywhere;
}

.rating-options label {
    min-height: 48px;
    padding: 0.5rem 0.8rem;
}

/* Phones: basket keeps a fixed size; the count sits on the icon. */
@media (max-width: 959px) {
    .site-basket {
        width: 44px;
        padding: 0;
    }

    .site-basket__count {
        position: absolute;
        top: -4px;
        right: -4px;
    }
}

/* ======================================================================
   Tap targets and focus
   ====================================================================== */

.site-brand,
.site-nav a,
.site-account a,
.site-account__logout,
.order-cta__link,
.legal-section-nav a,
.cart-item__heading h2 a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.cookie-settings summary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.legal-section-nav {
    display: flex;
    gap: 0 1.25rem;
    flex-wrap: wrap;
}

/* A consistent, clearly visible focus ring on every interactive element. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--plum);
    outline-offset: 2px;
}

.site-footer a:focus-visible,
.site-footer summary:focus-visible,
.order-cta a:focus-visible {
    outline-color: #d9bd87;
}

/* ======================================================================
   Gallery page
   ====================================================================== */

.gallery-next {
    max-width: 40rem;
    margin: clamp(2.5rem, 7vw, 4rem) auto 0;
    text-align: center;
}

.gallery-next h2 {
    margin: 0 auto 0.4em;
}

.gallery-next .button-group {
    justify-content: center;
    margin-top: 1.25rem;
}

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

.maker__more {
    margin: 1rem 0 0;
}
