/* Pearl Atelier 2.0 — layout and interaction, not a second color system. */
:where(*, *::before, *::after) { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; }
html, body, .wp-site-blocks, .wp-site-blocks > main { background-color: #fff; }
:where(button, input, select, textarea) { font: inherit; }
.ochre-down-chevron { display: block; flex: 0 0 auto; box-sizing: border-box; width: 8px; height: 8px; border-right: 1.25px solid currentColor; border-bottom: 1.25px solid currentColor; transform: translateY(-2px) rotate(45deg); transform-origin: center; transition: transform .18s ease; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--wp--preset--color--focus, #365e89);
    outline-offset: 4px;
}
a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks { overflow-wrap: break-word; }
.wp-site-blocks > main { min-height: 48vh; }
.pa-shell {
    width: min(calc(100% - var(--wp--custom--gutter, 1.25rem) * 2), var(--wp--style--global--wide-size, 1280px));
    margin-inline: auto;
}
.pa-section { padding-block: var(--wp--custom--section-space, 5rem); }
.pa-page { padding-block: clamp(2.5rem, 5vw, 5rem) var(--wp--custom--section-space, 5rem); }
.pa-page > * + * { margin-block-start: 2rem; }
.pa-eyebrow {
    font: 500 .72rem/1.5 var(--wp--preset--font-family--sans);
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--wp--preset--color--muted);
}
.pa-header { border-bottom: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--canvas); }
.pa-header-row { min-height: 88px; gap: 1.5rem; padding-block: 1rem; }
.pa-brand { min-width: 0; gap: .8rem; }
.pa-brand .wp-block-site-title { margin: 0; max-width: 22ch; overflow-wrap: anywhere; }
.pa-brand .wp-block-site-logo { flex-shrink: 0; }
.pa-brand .wp-block-site-logo img { max-height: 48px; width: auto; }
.pa-brand::before {
    content: ''; display: block; flex: 0 0 13px; width: 13px; height: 13px; border-radius: 50%;
    background: var(--wp--preset--color--surface);
    border: 1px solid var(--wp--preset--color--border);
    box-shadow: inset -3px -3px 5px rgb(22 35 59 / .12);
}
.pa-header-actions { gap: clamp(.6rem, 2vw, 2rem); flex-shrink: 0; }
.pa-nav { gap: 1.75rem; }
.pa-nav a { padding-block: .6rem; }
/* The Core navigation block provides its mobile overlay and focus management. */
.pa-nav .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--wp--preset--color--canvas); color: var(--wp--preset--color--foreground);
    padding: 2rem var(--wp--custom--gutter);
}
.pa-nav .wp-block-navigation__responsive-container-open,
.pa-nav .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.pa-hero { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--canvas); overflow: clip; }
.pa-hero-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 0; align-items: stretch; }
.pa-hero-copy { align-self: center; padding-block: clamp(3.5rem, 7vw, 7rem); padding-inline-end: 2rem; position: relative; z-index: 1; }
.pa-hero-copy > * { margin-block: 0; }
.pa-hero-copy > * + * { margin-block-start: 1.6rem; }
.pa-hero .pa-eyebrow { color: var(--wp--preset--color--blue-light); }
.pa-hero h1 { color: var(--wp--preset--color--canvas); font-size: var(--wp--preset--font-size--display, clamp(3.4rem, 7.5vw, 6.5rem)); line-height: 1.03; letter-spacing: -.045em; }
.pa-hero h1 em { font-weight: 400; color: var(--wp--preset--color--blue-light); }
.pa-hero-description { color: var(--wp--preset--color--blue-light); max-width: 34ch; font-size: 1rem; line-height: 1.85; }
.pa-hero-copy .wp-block-buttons { margin-block-start: 2.4rem; }
.pa-button-light .wp-block-button__link {
    background: var(--wp--preset--color--canvas); color: var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--canvas);
}
.pa-button-light .wp-block-button__link:hover {
    background: var(--wp--preset--color--blue-light); color: var(--wp--preset--color--ink);
    border-color: var(--wp--preset--color--blue-light);
}
.pa-hero :where(a, button):focus-visible { outline-color: var(--wp--preset--color--canvas); }
.pa-hero-note { font-size: .75rem; color: var(--wp--preset--color--blue-light); letter-spacing: .05em; }
.pa-hero-art { margin: 0; align-self: end; width: 100%; }
.pa-hero-art img { display: block; width: 100%; height: clamp(540px, 48vw, 690px); object-fit: cover; object-position: 50% 35%; }
.pa-caption-bar { padding-block: 1.1rem; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--blue-light); }
.pa-caption-bar p { margin: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.pa-caption-row { gap: 1rem; }
.pa-section-heading { margin-bottom: 2.5rem; gap: 1.5rem; align-items: end; }
.pa-section-heading h2 { margin: .65rem 0 0; }
.pa-section-heading .pa-eyebrow { margin: 0; }
.pa-text-link { margin: 0; font-size: .875rem; }
.pa-text-link a { color: var(--wp--preset--color--foreground); }
.pa-empty {
    padding: clamp(2rem, 4vw, 4rem); border: 1px solid var(--wp--preset--color--border);
    background: var(--wp--preset--color--surface); text-align: center;
}
.pa-empty > * + * { margin-block-start: .75rem; }
.pa-empty h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-block: .5rem; }
.pa-empty p { max-width: 48ch; margin-inline: auto; color: var(--wp--preset--color--muted); }
.pa-empty::before {
    content: ''; display: block; width: 2.25rem; height: 2.25rem; border-radius: 50%; margin: 0 auto 1.5rem;
    border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--canvas);
    box-shadow: inset -6px -6px 12px rgb(22 35 59 / .10);
}
.pa-inspiration { background: var(--wp--preset--color--blush); }
.pa-inspiration-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.pa-inspiration-heading { margin-block: 1.3rem; font-size: clamp(2.4rem, 4.6vw, 4.25rem); max-width: 12ch; }
.pa-inspiration-copy { color: var(--wp--preset--color--foreground); max-width: 42ch; }
.pa-notes { border-top: 1px solid var(--wp--preset--color--foreground); }
.pa-note { padding-block: 1.6rem; border-bottom: 1px solid var(--wp--preset--color--border); gap: 1.5rem; align-items: start; }
.pa-note:last-child { border-bottom-color: var(--wp--preset--color--foreground); }
.pa-note > p { margin: 0; font-size: .75rem; line-height: 2.8; color: var(--wp--preset--color--muted); }
.pa-note h3 { margin: 0 0 .4rem; font-size: 1.75rem; }
.pa-note div > p { margin: 0; font-size: .9rem; color: var(--wp--preset--color--muted); }
.pa-footer { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--canvas); padding-block: clamp(3rem, 6vw, 5.5rem) 1.5rem; }
.pa-footer a { color: var(--wp--preset--color--canvas); }
.pa-footer a:hover { color: var(--wp--preset--color--blue-light); }
.pa-footer :where(a, button):focus-visible { outline-color: var(--wp--preset--color--canvas); }
.pa-footer-main { gap: 2.5rem; align-items: start; }
.pa-footer-main > div { max-width: 34ch; }
.pa-footer .wp-block-site-title { font-size: 2.5rem; margin: 0 0 1rem; color: inherit; }
.pa-footer-description { color: var(--wp--preset--color--blue-light); font-size: .875rem; }
.pa-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 3rem; }
.pa-footer-links p { margin: 0; font-size: .875rem; }
.pa-footer-bottom { margin-block-start: 3.5rem; padding-block-start: 1.3rem; border-top: 1px solid rgb(183 201 222 / .22); gap: 1rem; }
.pa-footer-bottom p { margin: 0; font-size: .7rem; letter-spacing: .06em; color: var(--wp--preset--color--blue-light); }
.pa-reading { max-width: var(--wp--style--global--content-size, 760px); margin-inline: auto; }
.pa-reading > .wp-block-post-title { margin-bottom: 2rem; }
.pa-reading > .wp-block-post-title { padding-block-end: 1.25rem; border-bottom: 1px solid var(--wp--preset--color--border); }
.pa-reading .pa-lead { font-family: var(--wp--preset--font-family--serif); font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.45; }
.pa-reading .pa-prose > h2 { margin-block-start: 2.75rem; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.pa-reading .pa-prose > .wp-block-separator { margin-block: 3rem; }
.pa-prose :where(p, ul, ol) { line-height: 1.8; }
.pa-prose :where(table) { width: 100%; border-collapse: collapse; }
.pa-prose :where(td, th) { padding: .65rem; border: 1px solid var(--wp--preset--color--border); }
.pa-prose :where(pre) { max-width: 100%; overflow: auto; padding: 1rem; background: var(--wp--preset--color--surface); }
.pa-prose :where(blockquote) { border-inline-start: 2px solid var(--wp--preset--color--ochre); padding-inline-start: 1.5rem; margin-inline: 0; }
.pa-journal-entry { padding-block: 2rem; border-bottom: 1px solid var(--wp--preset--color--border); }
.pa-journal-entry .wp-block-post-title { margin-block: .65rem 1rem; }
.pa-journal-entry .wp-block-post-date { font-size: .75rem; color: var(--wp--preset--color--muted); }
.pa-not-found { text-align: center; padding-block: clamp(3rem, 10vw, 8rem); }
.pa-not-found .wp-block-buttons { justify-content: center; }
.pa-not-found .wp-block-search { max-width: 28rem; margin-inline: auto; }
.pa-theme-search :where(input) { min-height: 48px; padding: .8rem; border: 1px solid var(--wp--custom--control-border); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--foreground); font: inherit; }
.pa-theme-search :where(button) { min-height: 48px; }
:where(.pa-page, .pa-section) .wp-block-query-pagination { gap: .65rem; margin-block-start: 3rem; }
:where(.pa-page, .pa-section) .wp-block-query-pagination :where(a, .current) { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; padding: .5rem .8rem; }
:where(.pa-page, .pa-section) .wp-block-query-pagination .current { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--surface); border-radius: 4px; }
:lang(zh) :where(.pa-hero h1, .pa-inspiration-heading, .pa-page h1, .pa-section h2) { letter-spacing: .01em; line-height: 1.25; }
:lang(zh) .pa-inspiration-heading { max-width: 10em; }
@media (max-width: 1000px) {
    .pa-header-row { gap: 1rem; }
    .pa-nav { gap: 1rem; }
    .pa-brand .wp-block-site-title { max-width: 16ch; font-size: 1.5rem; }
}
@media (max-width: 781px) {
    .pa-hero-layout, .pa-inspiration-layout { grid-template-columns: 1fr; }
    .pa-hero-copy { padding-block: 3.5rem 2rem; padding-inline-end: 0; }
    .pa-hero h1 { max-width: 12ch; }
    .pa-hero-description { max-width: 44ch; }
    .pa-hero-art { max-width: 480px; justify-self: center; }
    .pa-hero-art img { height: min(115vw, 560px); object-fit: cover; object-position: 50% 28%; }
    .pa-inspiration-heading { max-width: 16ch; }
    .pa-header-row { min-height: 76px; }
    .pa-caption-row { flex-wrap: wrap; gap: .5rem; }
    .pa-caption-row > p:last-child { display: none; }
}
@media (max-width: 600px) {
    .pa-header-actions { gap: .25rem; }
    .pa-brand { gap: .5rem; }
    .pa-brand .wp-block-site-title { font-size: 1.3rem; max-width: 13ch; }
    .pa-brand .wp-block-site-logo img { max-width: 40px; max-height: 40px; }
    .pa-brand::before { flex-basis: 10px; width: 10px; height: 10px; }
    .pa-section-heading.is-layout-flex { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .pa-footer-main.is-layout-flex, .pa-footer-bottom.is-layout-flex { flex-direction: column; align-items: flex-start; }
    .pa-footer-links { gap: 1rem 2rem; }
}

/* Homepage fidelity pass based on the live HOUSE OF OCHRE storefront. */
.pa-inspiration { background: #fff; }
.pa-inspiration-image { margin: 0; }
.pa-inspiration-image img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.pa-outline-link { display: inline-block; border: 1px solid currentColor; padding: .7rem 1.1rem; color: inherit; text-decoration: none; font-size: .78rem; }
.ochre-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ochre-image-card img { aspect-ratio: 4 / 3; }
.ochre-image-card span { display: block; padding-block: .75rem; font-family: var(--wp--preset--font-family--sans); font-size: .82rem; }
.ochre-image-card span strong { display: block; font-weight: 500; }
.ochre-image-card small { display: block; margin-top: .2rem; color: var(--wp--preset--color--muted); font-size: .68rem; }
.ochre-spaces { background: #fff; color: var(--wp--preset--color--ink); }
.ochre-space-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.ochre-space-grid img { aspect-ratio: 3 / 4; }
.ochre-space-grid span { position: relative; display: inline-block; margin-top: -2.6rem; padding: .35rem .55rem; background: rgb(30 25 20 / .72); color: white; font: .68rem var(--wp--preset--font-family--sans); }
.ochre-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ochre-journal-card > a { display: block; color: inherit; text-decoration: none; }
.ochre-journal-card__image { aspect-ratio: 4 / 3; overflow: hidden; background: #f3f3f3; }
.ochre-journal-card img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.ochre-journal-card img { transition: transform 500ms ease; }
.ochre-journal-card > a:hover img { transform: scale(1.04); }
.ochre-journal-card .pa-eyebrow { margin: 1rem 0 0; color: #9b5c3c; font-size: .62rem; }
.ochre-journal-card h3 { margin-block: .45rem; font-size: 1.2rem; }
.ochre-journal-card > a > p:last-child { margin: 0; font-size: .78rem; line-height: 1.55; }
.pa-footer { padding-block: clamp(3rem, 6vw, 6rem); background: #f1e4cf; color: #382d25; }
.pa-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.pa-footer h2 { margin: 0 0 1.25rem; color: #9b5c3c; font: 600 .64rem/1.2 var(--wp--preset--font-family--sans); text-transform: uppercase; letter-spacing: .08em; }
.pa-footer ul { margin: 0; padding: 0; list-style: none; }
.pa-footer li + li { margin-top: .5rem; }
.pa-footer a { color: inherit; font-size: .72rem; text-decoration: none; }
.pa-footer-contact p { font-size: .72rem; }
.pa-footer-lower { display: flex; justify-content: space-between; gap: 3rem; margin-top: 5rem; padding-top: 2rem; border-top: 1px solid rgb(80 55 35 / .12); }
.pa-footer-lower strong { font-size: .65rem; }
.pa-footer-lower p,.pa-footer-lower small { font-size: .68rem; }
.pa-newsletter { width: min(380px, 100%); }
@media (max-width: 900px) {
    .ochre-card-grid, .ochre-space-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .ochre-image-card, .ochre-space-grid a { flex: 0 0 42%; scroll-snap-align: start; }
}
@media (max-width: 600px) {
    .pa-inspiration-layout { gap: 1.75rem; }
    .ochre-space-grid a { flex-basis: 78%; }
    .ochre-journal-grid { display: flex; overflow-x: auto; gap: 1rem; scrollbar-width: none; }
    .ochre-journal-card { flex: 0 0 82%; }
    .pa-footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .pa-footer-lower { flex-direction: column-reverse; margin-top: 3rem; }
}

/* Header, campaign hero and New In track. */
.home .pa-header { position: absolute; inset: 0 0 auto; z-index: 60; color: #201b16; background: transparent; border: 0; backdrop-filter: none; }
.home.admin-bar .pa-header { top: 32px; }
.home .pa-header-row { position: relative; width: calc(100% - 2.5rem); min-height: 58px; padding-block: .45rem; }
.home .pa-brand { position: absolute; z-index: 2; inset-inline-start: 50%; transform: translateX(-50%); }
.home .pa-header-actions { width: 100%; justify-content: space-between; }
.home .pa-header a { color: inherit; }
.home .ochre-cart-trigger { margin-inline-start: auto; }
.ochre-hero { min-height: min(50vw, 820px); padding: clamp(1.5rem, 3.3vw, 4.5rem); background-position: center 48%; }
.ochre-hero-card { width: min(355px, 88vw); padding: 1.15rem 1.4rem 1rem; box-shadow: none; text-align: center; }
.ochre-hero-card > * + * { margin-block-start: .25rem; }
.ochre-hero-card .pa-eyebrow { color: #33261c; font-size: .61rem; letter-spacing: .34em; }
.ochre-hero-card h1 { font-size: clamp(2rem, 3vw, 3.15rem) !important; line-height: .9; }
.ochre-hero-card h1 br { display: block; }
.ochre-hero-card h1 em { display: inline; }
.ochre-sale { font-family: var(--wp--preset--font-family--serif); font-size: clamp(3.4rem, 5.5vw, 5rem); font-weight: 600; line-height: .82; letter-spacing: -.055em; }
#pa-collection { width: 100%; max-width: none; padding-inline: max(var(--wp--custom--gutter, 1.25rem), calc((100vw - 1440px) / 2)); overflow: hidden; }
#pa-collection .pa-section-heading { margin-bottom: 1.5rem; }
#pa-collection .pa-section-heading h2 { margin: 0; font-size: 1.75rem; }
#pa-collection .pa-product-grid { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
#pa-collection .pa-product-grid::-webkit-scrollbar { display: none; }
#pa-collection .pa-product-grid { cursor: grab; user-select: none; scroll-snap-type: none; scroll-behavior: auto; }
#pa-collection .pa-product-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; }
#pa-collection .pa-product-grid.is-dragging a { pointer-events: none; }
#pa-collection .pa-product-grid > li { scroll-snap-align: none; }
@media (min-width: 901px) {
    #pa-collection .pa-product-grid > li { flex: 0 0 clamp(260px, 21.5vw, 370px); max-width: none; }
}
#pa-collection .pa-product-grid > li { flex: 0 0 calc((100vw - 6rem) / 4.25); max-width: 350px; scroll-snap-align: start; }
#pa-collection .pa-product-media { border-radius: 0; background: #f0f2ee; }
#pa-collection .pa-product-media img { aspect-ratio: 4 / 5; padding: 1rem; }
#pa-collection .pa-product-name { margin-block: .7rem .2rem; font-family: var(--wp--preset--font-family--sans); font-size: .78rem; }
#pa-collection .pa-product-price { font-size: .68rem; }
#pa-collection .pa-product-action { display: none; }
@media (max-width: 781px) {
    .home.admin-bar .pa-header { top: 0; }
    .home .pa-header-row { min-height: 52px; }
    .home .pa-brand { position: static; transform: none; order: 2; }
    .home .pa-header-actions { display: contents; }
    .home .pa-nav { order: 1; }
    .home .ochre-cart-trigger { order: 3; margin: 0; }
    .ochre-hero { min-height: 76vh; padding: 1rem; }
    .ochre-hero-card { padding: .9rem 1rem .85rem; }
    .ochre-hero-card h1 { font-size: clamp(1.85rem, 8vw, 2.5rem) !important; }
    .ochre-sale { font-size: clamp(3.1rem, 14vw, 4.25rem); }
    #pa-collection { padding-inline: 1rem; }
    #pa-collection .pa-product-grid > li { flex-basis: 44%; }
    #pa-collection .pa-product-media img { padding: .55rem; }
}
@media (max-width: 480px) {
    .home .pa-brand .wp-block-site-title { font-size: .8rem; letter-spacing: .16em; white-space: nowrap; }
    #pa-collection .pa-product-grid > li { flex-basis: 47%; }
}

/* Original Shopify wordmark and immersive-header behaviour. */
.pa-brand::before { display: none; }
.ochre-logo { display: block; line-height: 0; }
.ochre-logo img { display: block; width: 260px; max-width: 34vw; height: auto; }
.pa-header { transition: transform .35s ease, background-color .2s ease, box-shadow .2s ease; }
.home .pa-header.is-scrolled { position: fixed; background: #fff; box-shadow: 0 1px 0 rgb(30 25 20 / .09); }
.pa-header.is-scroll-down { transform: translateY(-100%); }
/* Header visibility is controlled by scroll intent and keyboard focus in header.js. */
@media (max-width: 781px) {
    .ochre-logo img { width: clamp(150px, 46vw, 220px); max-width: none; }
    .home .pa-header-row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
    .home .pa-brand { justify-self: center; }
    .home .pa-nav { justify-self: start; }
    .home .ochre-cart-trigger { justify-self: end; }
}
@media (max-width: 359px) {
    .ochre-logo img { width: 44vw; }
}
@media (prefers-reduced-motion: reduce) {
    .pa-header { transition-duration: 0s; }
}

/* Shopify main-menu port: desktop mega menu, tools and mobile drawer. */
.pa-header-row { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 64px; padding: 0 20px; }
.pa-header-row > .pa-brand { position: absolute; z-index: 2; inset-inline-start: 50%; transform: translateX(-50%); }
.ochre-desktop-nav { display: flex; align-items: stretch; gap: 18px; max-width: calc(50% - 150px); height: 64px; }
.ochre-desktop-nav > a,.ochre-nav-parent > button { display: flex; align-items: center; min-height: 48px; padding: 0; color: inherit; background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: .7rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.ochre-desktop-nav > a:hover,.ochre-nav-parent > button:hover,.ochre-nav-parent > button[aria-expanded="true"] { border-bottom-color: currentColor; }
.ochre-nav-parent > button span { margin-inline-start: .3rem; transition: transform .15s ease; }
.ochre-nav-parent > button[aria-expanded="true"] span { transform: rotate(180deg); }
.ochre-mega-menu { display: none; position: fixed; z-index: 80; inset: 64px 0 auto; max-height: calc(100vh - 64px); overflow-y: auto; color: #211d19; background: #fff; border-top: 1px solid #e8e4dd; box-shadow: 0 12px 22px rgb(0 0 0 / .08); }
.admin-bar .ochre-mega-menu { inset-block-start: 96px; }
.ochre-nav-parent > button[aria-expanded="true"] + .ochre-mega-menu { display: block; }
.ochre-mega-inner { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 2rem; width: min(1280px, calc(100% - 5rem)); margin: auto; padding: 1.75rem 0 2.25rem; }
.ochre-mega-menu--about .ochre-mega-inner { grid-template-columns: minmax(220px, 320px); }
.ochre-mega-inner ul { margin: .65rem 0 0; padding: 0; list-style: none; }
.ochre-mega-inner li + li { margin-top: .1rem; }
.ochre-mega-inner a { display: block; padding-block: .45rem; color: inherit; font-size: .82rem; text-decoration: none; }
.ochre-mega-inner a:hover { text-decoration: underline; }
.ochre-menu-heading { font-weight: 650; }
.ochre-menu-overview { font-weight: 600; }
.ochre-header-tools { display: flex; align-items: center; gap: 1rem; margin-inline-start: auto; }
.ochre-header-tools > a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; color: inherit; }
.ochre-header-tools svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pa-header .ochre-wishlist { position: relative; }
.pa-header .ochre-wishlist-count { position: absolute; z-index: 2; inset: 10px 0 auto auto; display: block; width: 6px; min-width: 6px; height: 6px; padding: 0; background: #171717; border: 0; border-radius: 50%; box-shadow: none; }
.pa-header .ochre-wishlist-count[hidden] { display: none; }
.ochre-search-overlay { position: fixed; z-index: 1100; inset: 0; display: grid; align-items: start; padding: clamp(1rem, 4vw, 3rem); background: #fff; }
.ochre-search-overlay[hidden] { display: none; }
.ochre-search-overlay__bar { display: grid; grid-template-columns: 44px minmax(0, 720px); justify-content: center; gap: .8rem; width: 100%; }
.ochre-search-overlay__bar > button { display: grid; place-items: center; width: 44px; height: 52px; padding: 0; color: #171717; background: transparent; border: 0; font: 300 2rem/1 sans-serif; cursor: pointer; }
.ochre-search-overlay form { display: grid; grid-template-columns: minmax(0, 1fr) 52px; border-bottom: 1px solid #171717; }
.ochre-search-overlay input { width: 100%; min-height: 52px; padding: 0; color: #171717; background: transparent; border: 0; outline: 0; font: 400 clamp(1.25rem, 2.4vw, 1.75rem)/1.2 var(--wp--preset--font-family--serif); }
.ochre-search-overlay input::placeholder { color: #777; opacity: 1; }
.ochre-search-overlay form button { display: grid; place-items: center; width: 52px; min-height: 52px; padding: 0; color: #171717; background: transparent; border: 0; cursor: pointer; }
.ochre-search-overlay form svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; }
.ochre-search-open { overflow: hidden; }
.ochre-menu-toggle { display: none; width: 40px; height: 44px; padding: 12px 9px; background: transparent; border: 0; }
.ochre-menu-toggle span { display: block; width: 20px; height: 1px; margin: 5px 0; background: currentColor; }
.ochre-mobile-menu[hidden] { display: none; }
.ochre-mobile-menu { position: fixed; z-index: 100; inset: 0; margin: 0; color: #211d19; background: #fff; overflow-y: auto; }
.ochre-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 1.25rem; border-bottom: 1px solid #eeeae3; }
.ochre-mobile-menu__head img { width: 180px; height: auto; }
.ochre-mobile-menu__head button { position: fixed; z-index: 1002; inset-block-start: 9px; inset-inline-end: 12px; display: grid !important; visibility: visible !important; place-items: center; width: 42px; height: 42px; padding: 0; color: #111; background: #fff; border: 1px solid #dedad3; border-radius: 50%; font-size: 1.7rem; line-height: 1; box-shadow: 0 2px 8px rgb(0 0 0 / .06); cursor: pointer; }
.admin-bar .ochre-mobile-menu__head button { inset-block-start: 9px; }
.ochre-mobile-menu__body { padding: 1rem 1.75rem 3rem; }
.ochre-mobile-menu__body > a,.ochre-mobile-menu summary { display: block; padding: .9rem 0; color: inherit; border-bottom: 1px solid #eeeae3; font-size: .95rem; text-decoration: none; cursor: pointer; }
.ochre-mobile-menu details > a { display: block; padding: .55rem 1rem; color: inherit; font-size: .84rem; text-decoration: none; }
.ochre-mobile-menu h3 { margin: 1rem 1rem .3rem; color: #9b5c3c; font: 600 .65rem var(--wp--preset--font-family--sans); text-transform: uppercase; letter-spacing: .08em; }
.ochre-menu-open { overflow: hidden; }
.pa-header.is-menu-open,.home .pa-header.is-menu-open,.home .pa-header.is-menu-open.is-scrolled { position: fixed; z-index: 999; inset: 0; width: 100%; height: 100dvh; transform: none; color: #211d19; background: #fff; overflow: hidden; backdrop-filter: none; -webkit-backdrop-filter: none; }
.pa-header.is-menu-open > .pa-header-row { visibility: hidden; }
.pa-header.is-menu-open .ochre-mobile-menu { position: fixed; z-index: 1000; inset: 0; width: 100%; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
.admin-bar .pa-header.is-menu-open { top: 0; }
@media (max-width: 1279px) and (min-width: 1024px) {
    .ochre-desktop-nav > :nth-child(n+4) { display: none; }
}
@media (max-width: 1023px) {
    .pa-header-row,.home .pa-header-row { display: grid; grid-template-columns: 44px 1fr auto; min-height: 60px; padding: 0 10px; }
    .pa-header-row > .pa-brand,.home .pa-brand { position: static; justify-self: center; transform: none; }
    .ochre-desktop-nav { display: none; }
    .ochre-menu-toggle { display: block; }
    .ochre-header-tools { gap: 0; margin: 0; }
    .ochre-header-tools > a,.ochre-header-tools .ochre-account,.ochre-header-tools .ochre-wishlist { display: none; }
    .ochre-header-tools .ochre-cart-trigger { display: block; }
}

/* Mobile navigation follows the original storefront composition. */
@media (max-width: 1023px) {
    .ochre-mobile-menu { display: flex; flex-direction: column; }
    .ochre-mobile-menu[hidden] { display: none; }
    .ochre-mobile-menu__head { position: sticky; z-index: 3; inset-block-start: 0; display: grid; grid-template-columns: 80px 1fr 80px; height: 58px; padding: 0 14px; background: #fff; }
    .ochre-mobile-menu__head > div { display: flex; align-items: center; gap: 8px; }
    .ochre-mobile-menu__head > div:last-child { justify-content: flex-end; }
    .ochre-mobile-menu__head img { justify-self: center; width: min(190px, 48vw); }
    .ochre-mobile-menu__head button,.ochre-mobile-menu__head a { position: static; display: grid !important; visibility: visible !important; place-items: center; width: 32px; height: 44px; padding: 0; color: #111; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
    .ochre-mobile-menu__head svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
    .ochre-mobile-menu__body { flex: 1 0 auto; padding: .55rem 1.7rem 4rem; }
    .ochre-mobile-menu__body > a,.ochre-mobile-menu summary { padding: .8rem 0; border: 0; font-size: .82rem; font-weight: 500; text-transform: uppercase; }
    .ochre-mobile-menu summary { display: flex; align-items: center; justify-content: space-between; list-style: none; }
    .ochre-mobile-menu summary::-webkit-details-marker { display: none; }
    .ochre-mobile-menu summary::after { content: ''; display: block; box-sizing: border-box; width: 8px; height: 8px; border-right: 1.25px solid currentColor; border-bottom: 1.25px solid currentColor; transform: translateY(-2px) rotate(45deg); transform-origin: center; transition: transform .18s ease; }
    .ochre-mobile-menu details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
    .ochre-mobile-menu details > a { padding: .45rem 1rem; }
    .ochre-mobile-menu__group > summary { padding: .45rem 1rem; font-size: .84rem; font-weight: 400; text-transform: none; }
    .ochre-mobile-menu .ochre-mobile-menu__group > a { padding-inline: 2rem; }
    .ochre-mobile-menu__footer { flex: 0 0 auto; padding: 1.15rem 1.25rem 0; border-top: 1px solid #eee; }
    .ochre-mobile-menu__currency { display: flex; align-items: center; justify-content: space-between; min-height: 43px; color: #69645e; font-size: .68rem; }
    .ochre-mobile-menu__currency strong { color: #211d19; font-size: .72rem; font-weight: 500; }
    .ochre-mobile-menu__footer > div:last-child { display: grid; grid-template-columns: 1fr 1fr; margin: 1rem -1.25rem 0; border-top: 1px solid #eee; }
    .ochre-mobile-menu__footer > div:last-child a { display: flex; align-items: center; gap: .65rem; min-height: 58px; padding: 0 1.25rem; color: #111; border-inline-end: 1px solid #eee; font-size: .75rem; text-decoration: none; }
}

/* Exact five-part mobile header: menu, search, wordmark, account, bag. */
.ochre-mobile-start,.ochre-mobile-search { display: none; }
@media (max-width: 1023px) {
    .pa-header-row,.home .pa-header-row { grid-template-columns: 88px minmax(0, 1fr) 88px; grid-template-rows: 56px; width: 100%; min-height: 56px; padding: 0 10px; }
    .ochre-mobile-start { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-self: start; gap: 4px; order: initial !important; }
    .ochre-menu-toggle,.ochre-mobile-search { display: grid !important; place-items: center; width: 40px; height: 44px; padding: 0; color: inherit; background: transparent; border: 0; }
    .ochre-menu-toggle { padding: 0; }
    .ochre-menu-toggle svg,.ochre-mobile-search svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
    .pa-header-row > .pa-brand,.home .pa-brand { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; min-width: 0; order: initial !important; }
    .ochre-logo img { width: min(190px, 48vw); max-width: 100%; }
    .ochre-header-tools { position: relative; grid-column: 3; grid-row: 1; display: block !important; justify-self: end; align-self: center; width: 88px; height: 56px; order: initial !important; }
    .ochre-header-tools > .ochre-wishlist { position: absolute; inset-block-start: 6px; inset-inline-start: 4px; display: grid !important; place-items: center; width: 40px; height: 44px; }
    .ochre-header-tools > .ochre-wishlist svg { display: block; width: 16px; height: 16px; }
    .ochre-header-tools > a[aria-label="Search"] { display: none !important; }
    .ochre-header-tools .ochre-cart-trigger { position: absolute; inset-block-start: 6px; inset-inline-end: 4px; display: block !important; width: 40px; height: 44px; margin: 0; }
    .ochre-header-tools .wc-block-mini-cart__button { width: 40px; min-height: 44px; padding: 0; justify-content: center; }
    .ochre-header-tools .wc-block-mini-cart__amount { display: none; }
    .home .pa-header:not(.is-scrolled):not(.is-menu-open) { color: #111; }
    .home .pa-header:not(.is-scrolled):not(.is-menu-open) .ochre-logo img,
    .home .pa-header.is-scrolled .ochre-logo img,
    .pa-header.is-menu-open .ochre-logo img { filter: none; }
}
@media (max-width: 380px) {
    .pa-header-row,.home .pa-header-row { grid-template-columns: 76px minmax(0, 1fr) 76px; padding-inline: 6px; }
    .ochre-header-tools { width: 76px; }
    .ochre-menu-toggle,.ochre-mobile-search,.ochre-header-tools > .ochre-wishlist,.ochre-header-tools .ochre-cart-trigger,.ochre-header-tools .wc-block-mini-cart__button { width: 36px; }
}
@media (max-width: 600px) {
    .ochre-assurance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; padding-block: 2rem; }
    .ochre-assurance-grid p:nth-child(n+3) { display: flex; }
    .ochre-assurance-grid p { align-items: flex-start; font-size: .72rem; }
}
@media (prefers-reduced-motion: no-preference) {
    :where(.wp-block-button__link, .pa-nav a, .pa-text-link a) { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* A supplied logo replaces the decorative pearl, not the store name. */
.pa-brand:has(.wp-block-site-logo img)::before { display: none; }
@media (max-width: 380px) {
    .pa-brand:has(.wp-block-site-logo img) .wp-block-site-title { max-width: 8ch; }
}

/* Leave breathing room around plugin-provided full-page templates, too. */
.wp-site-blocks > main:not(.pa-home):not(.pa-shell) { padding: 2rem var(--wp--custom--gutter) 4rem; }

/* These own-layout groups deliberately do not inherit vertical flow gaps. */
.wp-site-blocks > * + *,
.wp-block-group.pa-home > * + *,
.wp-block-group.pa-hero-layout > *,
.wp-block-group.pa-inspiration-layout > * { margin-block-start: 0; }

/* HOUSE OF OCHRE storefront composition. Commerce remains native WooCommerce. */
.pa-header {
    position: sticky; top: 0; z-index: 60;
    background: rgb(255 252 247 / .94); backdrop-filter: blur(12px);
}
.admin-bar .pa-header { top: 32px; }
.pa-header-row { min-height: 66px; padding-block: .6rem; }
.pa-brand::before { display: none; }
.pa-brand .wp-block-site-title {
    font-family: var(--wp--preset--font-family--serif); font-size: clamp(1.25rem, 2vw, 1.8rem);
    letter-spacing: .19em; text-transform: uppercase; white-space: nowrap;
}
.pa-nav { text-transform: uppercase; letter-spacing: .055em; font-size: .72rem; }
.ochre-hero {
    position: relative; min-height: min(78vw, 960px); display: flex; align-items: flex-end;
    max-width: none !important; padding: clamp(1.25rem, 4vw, 4rem);
    background: url('../images/ochre-home-desktop-20260919-v2.webp') center / cover no-repeat;
}
.ochre-hero-link { position: absolute; z-index: 1; inset: 0; display: block; cursor: pointer; }
.ochre-hero-link:focus-visible { outline: 2px solid currentColor; outline-offset: -6px; }
.ochre-hero-card {
    width: min(650px, 92vw); padding: clamp(1.5rem, 4vw, 3rem);
    margin: 0 !important; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink);
    box-shadow: 0 16px 60px rgb(45 30 18 / .10);
}
.ochre-hero-card > * { margin-block: 0; }
.ochre-hero-card > * + * { margin-block-start: 1.15rem; }
.ochre-hero-card h1 { line-height: .95; letter-spacing: -.045em; color: inherit; }
.ochre-hero-card h1 em { font-weight: 400; }
.ochre-hero-card p:not(.pa-eyebrow) { max-width: 46ch; }
.ochre-hero-card .wp-block-button__link { background: var(--wp--preset--color--ink); color: white; border-color: var(--wp--preset--color--ink); }
.ochre-assurance { border-block: 1px solid var(--wp--preset--color--border); background: #fff; }
.ochre-assurance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 4rem); padding-block: clamp(2.75rem, 4vw, 4rem); }
.ochre-assurance-grid > * { margin-block-start: 0 !important; }
.ochre-assurance-item { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.ochre-assurance-item svg { width: 48px; height: 48px; margin-bottom: 1rem; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.ochre-assurance-item strong { font-family: var(--wp--preset--font-family--sans); font-size: 1rem; font-weight: 500; line-height: 1.35; }
.ochre-assurance-item span { margin-top: .55rem; font-family: var(--wp--preset--font-family--sans); font-size: .9rem; line-height: 1.45; }
.ochre-subjects h2, .ochre-spaces h2, .ochre-journal h2 { margin: 0 0 2rem; }
.ochre-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.ochre-image-card { color: inherit; text-decoration: none; min-width: 0; }
.ochre-image-card img { width: 100%; aspect-ratio: 4 / 5; display: block; object-fit: cover; background: var(--wp--preset--color--surface); }
.ochre-image-card span, .ochre-space-grid span { display: flex; justify-content: space-between; padding-block: 1rem; font-family: var(--wp--preset--font-family--serif); font-size: 1.35rem; }
.ochre-image-card small { font-family: var(--wp--preset--font-family--sans); font-size: .85rem; }
.ochre-subject-count { display: none; }
.ochre-story { background: var(--wp--preset--color--canvas); }
.ochre-spaces { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--surface); }
.ochre-spaces h2, .ochre-spaces a { color: inherit; }
.ochre-space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ochre-space-grid a { text-decoration: none; }
.ochre-space-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.ochre-journal .wp-block-post-template { gap: 1.5rem; }
.ochre-journal-card .wp-block-post-date { margin-top: 1rem; color: var(--wp--preset--color--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.ochre-journal-card h3 { margin-block: .65rem; font-size: 1.6rem; }
.ochre-journal-card h3 a { color: inherit; text-decoration: none; }
.pa-footer { background: var(--wp--preset--color--ink); }
.pa-brand:has(.wp-block-site-logo img) .wp-block-site-title { display: none; }
.pa-brand .wp-block-site-logo img { width: auto; max-width: min(330px, 42vw); max-height: 30px; }
@media (max-width: 900px) {
    .ochre-assurance-grid, .ochre-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ochre-hero { min-height: 78vh; }
}
@media (max-width: 600px) {
    .admin-bar .pa-header { top: 0; }
    .ochre-hero { min-height: 76vh; align-items: flex-end; padding: 1rem; background-image: url('../images/ochre-home-mobile-20260919.webp'); }
    .ochre-hero-card { width: 100%; padding: 1.35rem; }
    .ochre-hero-card h1 { font-size: clamp(2.7rem, 15vw, 4.5rem); }
    .ochre-assurance-grid { grid-template-columns: 1fr; }
    .ochre-assurance-grid p:nth-child(n+3) { display: none; }
    .ochre-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .ochre-image-card span { font-size: 1.05rem; }
    .ochre-space-grid { grid-template-columns: 1fr; }
}

/* Shopify-style mobile carousels for subject and room discovery. */
@media (max-width: 600px) {
    .ochre-subjects,
    .ochre-spaces { background: #fff; color: var(--wp--preset--color--ink); }
    .ochre-subjects h2,
    .ochre-spaces h2 { margin-bottom: 1.65rem; font-size: clamp(1.75rem, 7.5vw, 2.25rem); }
    .ochre-subjects .ochre-card-grid,
    .ochre-spaces .ochre-space-grid {
        display: flex; grid-template-columns: none; gap: 18px;
        width: 100%; overflow-x: auto; overflow-y: hidden;
        scroll-snap-type: x mandatory; scrollbar-width: none;
        overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch;
    }
    .ochre-subjects .ochre-card-grid::-webkit-scrollbar,
    .ochre-spaces .ochre-space-grid::-webkit-scrollbar { display: none; }
    .ochre-subjects .ochre-image-card,
    .ochre-spaces .ochre-space-grid a {
        flex: 0 0 76%; min-width: 0; scroll-snap-align: start;
    }
    .ochre-subjects .ochre-image-card img {
        width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    }
    .ochre-subjects .ochre-image-card span {
        display: block; padding: .7rem 0 0; font-family: var(--wp--preset--font-family--sans);
    }
    .ochre-subjects .ochre-image-card span strong {
        display: block; font-size: .92rem; font-weight: 500; line-height: 1.3;
    }
    .ochre-subjects .ochre-subject-description { display: none; }
    .ochre-subjects .ochre-subject-count {
        display: block; margin-top: .25rem; color: var(--wp--preset--color--muted); font-size: .8rem;
    }
    .ochre-spaces .ochre-space-grid a { position: relative; display: block; color: inherit; }
    .ochre-spaces .ochre-space-grid img {
        width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
    }
    .ochre-spaces .ochre-space-grid span {
        position: absolute; inset: auto auto .75rem .75rem;
        display: block; margin: 0; padding: .38rem .58rem;
        background: rgb(35 29 23 / .82); color: #fff;
        font-family: var(--wp--preset--font-family--sans); font-size: .76rem; line-height: 1.2;
    }
}

/* Final mobile-header authority. Keep this after all legacy storefront rules. */
@media (max-width: 1023px) {
    .pa-header .pa-header-row,.home .pa-header .pa-header-row {
        display: grid; grid-template-columns: 88px minmax(0, 1fr) 88px; grid-template-rows: 56px;
        align-items: center; width: 100%; min-height: 56px; height: 56px; margin: 0; padding: 0 10px; gap: 0;
    }
    .pa-header .ochre-mobile-start { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-self: start; gap: 4px; order: 0 !important; }
    .pa-header .pa-brand,.home .pa-header .pa-brand { position: static; grid-column: 2; grid-row: 1; align-self: center; justify-self: center; order: 0 !important; transform: none; }
    .pa-header .ochre-header-tools { position: relative; grid-column: 3; grid-row: 1; align-self: center; justify-self: end; display: block !important; width: 88px; height: 56px; margin: 0; order: 0 !important; }
    .pa-header .ochre-header-tools > .ochre-wishlist { position: absolute; inset: 6px auto auto 4px; display: grid !important; place-items: center; width: 40px; height: 44px; margin: 0; padding: 0; }
    .pa-header .ochre-header-tools > .ochre-cart-trigger { position: absolute; inset: 6px 4px auto auto; display: block !important; width: 40px; height: 44px; margin: 0; padding: 0; }
    .pa-header .ochre-header-tools .wc-block-mini-cart__button { display: flex; align-items: center; justify-content: center; width: 40px; height: 44px; min-height: 44px; margin: 0; padding: 0; }
    .pa-header .ochre-header-tools > .ochre-wishlist svg,.pa-header .ochre-header-tools .wc-block-mini-cart__icon { width: 16px; height: 16px; margin: 0; }
    /* Woo positions its count from the native icon. This header replaces that
       icon with pseudo-elements, so anchor the badge to the fixed cart button. */
    .pa-header .ochre-header-tools .wc-block-mini-cart__quantity-badge { position: static; }
    .pa-header .ochre-header-tools .wc-block-mini-cart__badge { inset: 4px 2px auto auto; margin: 0; transform: none; }
    .home .pa-header:not(.is-menu-open) { color: #111; }
    .home .pa-header .ochre-logo img { filter: none; }
}
@media (max-width: 600px) {
    .ochre-assurance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1rem; padding-block: 2.4rem; }
    .ochre-assurance-item svg { width: 46px; height: 46px; margin-bottom: .75rem; }
    .ochre-assurance-item strong { font-size: .92rem; }
    .ochre-assurance-item span { display: none; }
}
@media (max-width: 380px) {
    .pa-header .pa-header-row,.home .pa-header .pa-header-row { grid-template-columns: 76px minmax(0, 1fr) 76px; padding-inline: 6px; }
    .pa-header .ochre-header-tools { width: 76px; }
    .pa-header .ochre-header-tools > .ochre-wishlist { inset-inline-start: 2px; width: 36px; }
    .pa-header .ochre-header-tools > .ochre-cart-trigger { inset-inline-end: 2px; width: 36px; }
    .pa-header .ochre-header-tools .wc-block-mini-cart__button { width: 36px; }
}
@media (min-width: 1024px) {
    .pa-header .pa-header-row,.home .pa-header .pa-header-row { width: 100%; min-height: 64px; height: 64px; padding-block: 0; }
    .pa-header .ochre-desktop-nav { align-items: stretch; height: 64px; }
    .pa-header .ochre-desktop-nav > a,
    .pa-header .ochre-nav-parent { height: 64px; }
    .pa-header .ochre-nav-parent { display: flex; align-items: stretch; }
    .pa-header .ochre-desktop-nav > a,
    .pa-header .ochre-nav-parent > button { display: flex; align-items: center; min-height: 64px; height: 64px; padding-block: 0; line-height: 1; }
    .pa-header .ochre-nav-parent > button > span { width: 8px; height: 8px; margin-inline-start: 9px; border-width: 0 1.25px 1.25px 0; }
    .pa-header .ochre-nav-parent > button[aria-expanded="true"] > span { transform: translateY(2px) rotate(225deg); }
    .home .pa-header:has(.ochre-nav-parent > button[aria-expanded="true"]),
    .pa-header:has(.ochre-nav-parent > button[aria-expanded="true"]) {
        color: #111; background: #fff; border-bottom: 1px solid #e8e4dd; backdrop-filter: none; box-shadow: none;
    }
    .home .pa-header:has(.ochre-nav-parent > button[aria-expanded="true"]) .ochre-logo img { filter: none; }
    .pa-header .ochre-header-tools { display: flex; align-items: stretch; height: 64px; gap: 1rem; }
    .pa-header .ochre-header-tools > a,
    .pa-header .ochre-header-tools > .ochre-cart-trigger { display: flex; align-items: center; justify-content: center; height: 64px; margin: 0; line-height: 1; }
    .pa-header .ochre-header-tools .wc-block-mini-cart__button { display: flex; align-items: center; justify-content: center; min-height: 64px; height: 64px; padding-block: 0; }
    .pa-header .ochre-header-tools svg { display: block; margin: 0; }
}

/* Desktop editorial mosaic for Shop by subject. */
@media (min-width: 901px) {
    .ochre-subjects .ochre-card-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(2, 285px); gap: 1.25rem; }
    .ochre-subjects .ochre-image-card { position: relative; min-height: 0; overflow: hidden; border-radius: 3px; background: #ddd5c9; }
    .ochre-subjects .ochre-image-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
    .ochre-subjects .ochre-image-card:nth-child(2) { grid-column: 3 / 4; grid-row: 1; }
    .ochre-subjects .ochre-image-card:nth-child(3) { grid-column: 4 / 5; grid-row: 1; }
    .ochre-subjects .ochre-image-card:nth-child(4) { grid-column: 5 / 7; grid-row: 1; }
    .ochre-subjects .ochre-image-card:nth-child(5) { grid-column: 3 / 7; grid-row: 2; }
    .ochre-subjects .ochre-image-card::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgb(20 16 12 / .72)); pointer-events: none; }
    .ochre-subjects .ochre-image-card img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .45s ease; }
    .ochre-subjects .ochre-image-card:hover img { transform: scale(1.025); }
    .ochre-subjects .ochre-image-card span { position: absolute; z-index: 2; inset: auto 1.6rem 1.45rem; display: block; padding: 0; color: #fff; }
    .ochre-subjects .ochre-image-card span strong { font-family: var(--wp--preset--font-family--sans); font-size: clamp(1.05rem, 1.55vw, 1.55rem); font-weight: 400; line-height: 1.15; }
    .ochre-subjects .ochre-image-card:first-child span strong { font-size: clamp(1.65rem, 2.25vw, 2.45rem); }
    .ochre-subjects .ochre-image-card small { max-width: 40ch; margin-top: .55rem; color: rgb(255 255 255 / .86); font-size: .72rem; line-height: 1.45; }
}

/* Pure-white site canvas; retain intentional component surfaces only. */
body, .wp-site-blocks, .wp-site-blocks > main, .pa-home, .ochre-story { background-color: #fff; }
.pa-header { background-color: #fff; }
.home .pa-header:not(.is-scrolled):not(.is-menu-open):not(:has(.ochre-nav-parent > button[aria-expanded="true"])) { background-color: transparent; }

/* Original wide editorial footer. */
.pa-footer { padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(3.5rem, 6vw, 6rem); color: #2e2924; background: #f3e7d3; }
.pa-footer > .pa-shell { width: calc(100% - clamp(4rem, 9vw, 12rem)); max-width: none; }
.pa-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 8rem); }
.pa-footer h2 { margin: 0 0 1.65rem; color: #704224; font: 600 .68rem/1.2 var(--wp--preset--font-family--sans); letter-spacing: .08em; text-transform: uppercase; }
.pa-footer ul { margin: 0; padding: 0; list-style: none; }
.pa-footer li + li { margin-top: .75rem; }
.pa-footer a { color: #2e2924; font-size: .8rem; line-height: 1.45; text-decoration: none; }
.pa-footer a:hover { color: #2e2924; text-decoration: underline; }
.pa-footer-contact p { margin: 0; font-size: .8rem; }
.pa-footer-contact a { text-decoration: underline; text-underline-offset: .2em; }
.pa-footer-lower { display: grid; grid-template-columns: 1fr minmax(300px, 390px); align-items: start; gap: 4rem; margin-top: clamp(4rem, 7vw, 7rem); padding-top: clamp(3rem, 5vw, 5rem); border-top: 1px solid rgb(90 66 45 / .12); }
.pa-footer-lower strong { color: #704224; font-size: .72rem; font-weight: 500; }
.pa-footer-lower p { margin: 1.5rem 0 3.5rem; font-size: .75rem; }
.pa-footer-lower small { color: #605a54; font-size: .66rem; }
.pa-newsletter { width: 100%; }
.pa-footer-lower .pa-newsletter__title { margin: 0 0 1rem; color: #2e2924; font-family: var(--wp--preset--font-family--serif); font-size: 1.15rem; }
.pa-footer-lower .pa-newsletter p:not(.pa-newsletter__title) { max-width: 34ch; margin: 0 0 1rem; color: #514a43; font-size: .78rem; line-height: 1.6; }
.pa-newsletter > a { display: inline-flex; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 600; }
@media (max-width: 700px) {
    .pa-footer { padding-block: 3.5rem 2.5rem; }
    .pa-footer > .pa-shell { width: calc(100% - 2rem); }
    .pa-footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .pa-footer-lower { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3rem; padding-top: 2.5rem; }
    .pa-footer-lower > div { order: 2; }
    .pa-newsletter { order: 1; }
    .pa-footer-lower p { margin-bottom: 2rem; }
}

/* Replace Woo's filled bag with a larger, structured outline tote. */
.pa-header .wc-block-mini-cart__button { position: relative; display: grid; place-items: center; width: 28px; min-width: 28px; height: 44px; min-height: 44px; padding: 0; color: #211d19; background: transparent; border: 0; border-radius: 0; cursor: pointer; transition: color 180ms ease, transform 180ms ease; }
.pa-header .wc-block-mini-cart__icon { display: none !important; }
.pa-header .wc-block-mini-cart__button::before { content: ''; position: absolute; z-index: 1; top: calc(50% - 3.5px); left: 50%; display: block; box-sizing: border-box; width: 14px; height: 11px; border: 1.25px solid currentColor; border-radius: 1.5px 1.5px 2.5px 2.5px; transform: translateX(-50%); }
.pa-header .wc-block-mini-cart__button::after { content: ''; position: absolute; top: calc(50% - 9px); left: 50%; display: block; box-sizing: border-box; width: 7px; height: 7px; border: 1.25px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; transform: translateX(-50%); }
.pa-header .wc-block-mini-cart__button:hover { color: #a54b35; transform: translateY(-1px); }
.pa-header .wc-block-mini-cart__button:active { transform: scale(.94); }
.pa-header .wc-block-mini-cart__quantity-badge { position: static !important; }
.pa-header .wc-block-mini-cart__badge { position: absolute !important; z-index: 2; inset: 4px -3px auto auto !important; display: grid; place-items: center; min-width: 17px; height: 17px; margin: 0 !important; padding: 0 3px; color: #fff !important; background: #171717 !important; border: 0; border-radius: 999px; box-shadow: none; font: 650 9px/17px var(--wp--preset--font-family--sans); font-variant-numeric: tabular-nums; }
.pa-header .wc-block-mini-cart__badge[hidden] { display: none; }
@media (max-width: 1023px) {
    .pa-header .ochre-header-tools .wc-block-mini-cart__button { width: 40px; min-height: 44px; }
    .pa-header .ochre-wishlist-count { inset: 11px 5px auto auto; }
    .pa-header .wc-block-mini-cart__badge { inset: 4px 7px auto auto !important; }
}

/* WooCommerce deliberately disables Mini Cart on checkout. Keep the familiar
   bag visible there as a safe link back to the cart instead of reopening an
   editable drawer whose totals would not synchronize with checkout. */
.pa-header .ochre-header-tools > .ochre-checkout-cart { display: none; }
.woocommerce-checkout .pa-header .ochre-header-tools > .ochre-cart-trigger { display: none !important; }
.woocommerce-checkout .pa-header .ochre-header-tools > .ochre-checkout-cart { position: relative; display: grid !important; place-items: center; width: 28px; min-width: 28px; height: 44px; min-height: 44px; margin: 0; padding: 0; color: #211d19; line-height: 1; text-decoration: none; }
.woocommerce-checkout .pa-header .ochre-checkout-cart::before { content: ''; position: absolute; z-index: 1; top: calc(50% - 3.5px); left: 50%; box-sizing: border-box; width: 14px; height: 11px; border: 1.25px solid currentColor; border-radius: 1.5px 1.5px 2.5px 2.5px; transform: translateX(-50%); }
.woocommerce-checkout .pa-header .ochre-checkout-cart::after { content: ''; position: absolute; top: calc(50% - 9px); left: 50%; box-sizing: border-box; width: 7px; height: 7px; border: 1.25px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; transform: translateX(-50%); }
.woocommerce-checkout .pa-header .ochre-cart-count { position: absolute; z-index: 2; inset: 4px -3px auto auto; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; color: #fff; background: #171717; border-radius: 999px; font: 650 9px/17px var(--wp--preset--font-family--sans); font-variant-numeric: tabular-nums; }
.woocommerce-checkout .pa-header .ochre-cart-count[hidden] { display: none; }
.woocommerce-checkout .pa-header .ochre-checkout-cart:hover { color: #a54b35; }
@media (max-width: 1023px) {
    .woocommerce-checkout .pa-header .ochre-header-tools > .ochre-checkout-cart { position: absolute; inset: 6px 4px auto auto; width: 40px; height: 44px; }
    .woocommerce-checkout .pa-header .ochre-cart-count { inset: 4px 7px auto auto; }
}
@media (max-width: 380px) {
    .woocommerce-checkout .pa-header .ochre-header-tools > .ochre-checkout-cart { inset-inline-end: 2px; width: 36px; }
}
@media (min-width: 1024px) {
    .woocommerce-checkout .pa-header .ochre-header-tools > .ochre-checkout-cart { height: 64px; min-height: 64px; }
}

/* Original four-column Shop by space composition. */
@media (min-width: 901px) {
    .ochre-spaces { color: var(--wp--preset--color--ink); background: #fff; }
    .ochre-spaces .ochre-space-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
    .ochre-spaces .ochre-space-grid a { position: relative; display: block; min-width: 0; overflow: hidden; color: inherit; }
    .ochre-spaces .ochre-space-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 500ms ease; }
    .ochre-spaces .ochre-space-grid span { position: absolute; z-index: 2; inset: auto auto .75rem .75rem; display: block; margin: 0; padding: .35rem .55rem; color: #fff; background: rgb(35 29 23 / .84); font-family: var(--wp--preset--font-family--sans); font-size: .68rem; line-height: 1.2; transition: background-color 200ms ease; }
    .ochre-spaces .ochre-space-grid a:hover img,
    .ochre-spaces .ochre-space-grid a:focus-visible img { transform: scale(1.03); }
    .ochre-spaces .ochre-space-grid a:hover span,
    .ochre-spaces .ochre-space-grid a:focus-visible span { background: rgb(20 16 12 / .65); }
}

/* New In uses the original near-full-width viewport proportions. */
@media (min-width: 901px) {
    #pa-collection { width: 100%; max-width: none; padding-inline: clamp(2.5rem, 4.7vw, 7.5rem); }
    #pa-collection .pa-product-grid { gap: clamp(1rem, 1.15vw, 1.8rem); }
    #pa-collection .pa-product-grid > li { flex: 0 0 clamp(280px, 20.8vw, 540px); max-width: none; }
    #pa-collection .pa-section-heading { margin-bottom: clamp(1.5rem, 2.2vw, 2.75rem); }

    .pa-home .pa-shell { width: calc(100% - clamp(5rem, 9.4vw, 15rem)); max-width: none; }
    .pa-home #pa-collection { width: 100%; }
}

/* Rebalance the wider subject mosaic: one feature tile plus a 2 × 2 field. */
@media (min-width: 901px) {
    .ochre-subjects .ochre-card-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(280px, 16vw, 380px)); gap: clamp(1rem, 1.1vw, 1.5rem); }
    .ochre-subjects .ochre-image-card:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
    .ochre-subjects .ochre-image-card:nth-child(2) { grid-column: 5 / 9; grid-row: 1; }
    .ochre-subjects .ochre-image-card:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
    .ochre-subjects .ochre-image-card:nth-child(4) { grid-column: 5 / 9; grid-row: 2; }
    .ochre-subjects .ochre-image-card:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }
    .ochre-subjects .ochre-image-card span { inset: auto clamp(1.25rem, 1.5vw, 2rem) clamp(1.2rem, 1.5vw, 1.8rem); }
}

/* One viewport-anchored header across home, catalogue and product pages. */
body .pa-header.ochre-smart-header {
    position: fixed; inset: var(--ochre-admin-offset, 0px) 0 auto; width: 100%;
    transform: none; opacity: 1; visibility: visible;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    transition: transform 220ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
body .pa-header.ochre-smart-header.is-scroll-down {
    transform: translateY(calc(-100% - var(--ochre-admin-offset, 0px)));
    pointer-events: none;
}
body .pa-header.ochre-smart-header.is-menu-open {
    inset: 0; height: 100dvh; transform: none; pointer-events: auto;
}
body .pa-header.ochre-smart-header .ochre-mega-menu {
    position: absolute; inset: 100% 0 auto;
    max-height: calc(100dvh - var(--ochre-header-height, 65px) - var(--ochre-admin-offset, 0px));
    overscroll-behavior: contain;
}
@media (prefers-reduced-motion: reduce) {
    body .pa-header.ochre-smart-header { transition: none; }
}

/* Checkout validation must remain visible when WooCommerce scrolls to it. */
body.woocommerce-checkout .pa-header.ochre-smart-header:not(.is-menu-open) {
    position: relative; inset: auto; transform: none; pointer-events: auto;
}

/* The footer provides reCAPTCHA attribution in place of the floating badge. */
.grecaptcha-badge { visibility: hidden; }
.pa-footer .ochre-recaptcha-notice { margin-block: 1rem 0; font-size: .75rem; line-height: 1.5; }
