/* ==========================================================================
   Lakshmi Ethiraj Art Gallery — site styles
   Adapted from the Sutra Fine Jewellery reference: Cardo/Amiri serifs,
   #595959 body text on white, black headings, generous rules and whitespace.
   ========================================================================== */

:root {
    /* Sampled from the client's logo: a near-black forest green ground,
       gold filigree, and the oxblood of the painted frame. */
    --leag-ink: var(--client-primary, #11201D);          /* logo ground — the brand's black */
    --leag-ink-deep: var(--client-deep, #0A1512);
    --leag-body: var(--client-body, #4C4C46);
    --leag-body-soft: rgba(76, 76, 70, 0.72);
    --leag-gold: var(--client-brown, #A97F3E);         /* filigree */
    --leag-gold-bright: var(--client-tan, #C9A05C);
    --leag-gold-pale: var(--client-dark-accent, #E8D7B4);
    --leag-oxblood: var(--client-primary, #4A2A22);      /* painted frame */
    --leag-canvas: #ffffff;
    --leag-linen: var(--client-surface, #F6F2EA);        /* warm cream, sits under gold */
    --leag-rule: var(--client-rule, #E2DACD);

    --leag-shell: 1320px;
    --leag-gutter: clamp(20px, 4vw, 48px);
    --leag-section: clamp(56px, 8vw, 112px);
    --leag-serif: "Cardo", Georgia, "Times New Roman", serif;
    --leag-display: "Amiri", "Cardo", Georgia, serif;
    --leag-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- base --- */

body {
    font-family: var(--leag-serif);
    color: var(--leag-body);
    background: var(--leag-canvas);
    letter-spacing: 0.02em;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--leag-display);
    color: var(--leag-ink);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 0.6em;
}

a { color: var(--leag-ink); text-decoration: none; transition: color .25s var(--leag-ease); }
a:hover { color: var(--leag-gold); }

img { display: block; }

.leag-shell {
    width: 100%;
    max-width: var(--leag-shell);
    margin-inline: auto;
    padding-inline: var(--leag-gutter);
}

.leag-icon { width: 20px; height: 20px; flex: none; }

.leag-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
    margin: 0 0 1em;
}

.leag-section__title {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    margin: 0;
}
.leag-section__title--centre { text-align: center; margin-bottom: 0.5em; }

.leag-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

/* ------------------------------------------------------------ buttons --- */

.leag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--leag-serif);
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 14px 34px;
    border: 1px solid var(--leag-ink);
    background: transparent;
    color: var(--leag-ink);
    cursor: pointer;
    transition: background .3s var(--leag-ease), color .3s var(--leag-ease), border-color .3s var(--leag-ease);
}
.leag-btn--solid { background: var(--leag-ink); color: #fff; }
.leag-btn--solid:hover { background: var(--leag-gold); border-color: var(--leag-gold); color: #fff; }
.leag-btn--line:hover { background: var(--leag-ink); color: #fff; }
.leag-btn--lg { padding: 17px 46px; }


/* ------------------------------------------------------------- header --- */

.leag-header {
    position: sticky;
    top: 0;
    z-index: 60;
    /* Matches the logo artwork's ground exactly, so the emblem sits on the
       bar with no visible plate behind it. */
    background: var(--leag-ink);
    border-bottom: 1px solid rgba(169, 127, 62, 0.30);
    color: var(--leag-gold-pale);
    transition: box-shadow .3s var(--leag-ease), border-color .3s var(--leag-ease);
}

.leag-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding-block: 18px;
    transition: padding-block .3s var(--leag-ease);
}

/* Absolutely positioned, so it takes no space in flow and cannot shift the
   layout. Its HEIGHT is the scroll threshold: the header stays expanded for as
   long as any part of this box is still on screen. Putting the threshold here
   rather than in a negative rootMargin matters — a negative top margin shrinks
   the observation root downward, which would leave a short sentinel at the
   document origin permanently outside it, condensing the header at rest. */
.leag-header-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 80px;
    pointer-events: none;
}

/* ---- condensed state -------------------------------------------------
   Set once the page has scrolled past the sentinel's threshold. Only the
   emblem and the two paddings move; the bar keeps its structure so nothing
   reflows sideways. The transitions matter: without them the content below
   would jump by the height difference the instant the class lands. */
/* `--compact` is set on every page except the homepage, so inner pages open
   at the same height the header condenses to rather than starting tall and
   shrinking under the reader. The scroll state then only adds the shadow. */
.leag-header.is-condensed .leag-header__bar,
.leag-header--compact .leag-header__bar { padding-block: 7px; }
.leag-header.is-condensed .leag-wordmark .leag-wordmark__img,
.leag-header--compact .leag-wordmark .leag-wordmark__img { height: 55px; }
.leag-header.is-condensed .leag-nav__link,
.leag-header--compact .leag-nav__link { padding-block: 9px; }
.leag-header.is-condensed {
    box-shadow: 0 8px 28px rgba(10, 21, 18, 0.30);
    border-bottom-color: rgba(169, 127, 62, 0.42);
}
.leag-header__side { display: flex; align-items: center; gap: 6px; }
.leag-header__side--end { justify-content: flex-end; }
.leag-header__centre { display: flex; justify-content: center; }

.leag-util {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--leag-gold-pale);
    cursor: pointer;
    position: relative;
}
.leag-util:hover { color: var(--leag-gold-bright); }
.leag-util--burger { display: none; }

.leag-util__count {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    font-size: 0.625rem;
    line-height: 16px;
    text-align: center;
    background: rgba(232, 215, 180, 0.22);
    color: var(--leag-gold-pale);
}
.leag-util__count.is-filled { background: var(--leag-gold); color: #fff; }

.leag-wordmark { text-align: center; display: block; }
/* The supplied artwork is a near-square emblem, so it needs real height to
   read. Cropped tight to the cartouche, it carries this size cleanly. */
/* Scoped under .leag-wordmark deliberately. WooCommerce's woocommerce-layout
   .css ships `.woocommerce img, .woocommerce-page img { height: auto }`, which
   at (0,1,1) outranks a lone class — on cart, checkout, account and shop the
   emblem lost its height and ballooned toward its intrinsic 1542x1654. Two
   classes score (0,2,0) and win. Do not flatten this selector.

   The height is definite rather than a max-height for a second reason: an
   SVG's intrinsic size is weaker than a raster's, and under `width: auto`
   plus the inherited `max-width: 100%` a shrink-to-fit column can resolve it
   to zero. Pinning the height keeps the aspect ratio doing the work. */
.leag-wordmark .leag-wordmark__img {
    height: clamp(78px, 7.8vw, 122px);
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    transition: height .3s var(--leag-ease);
}

/* The footer sits on white, where the emblem's fine gold linework needs less
   scale to stay legible. */
.leag-wordmark--footer .leag-wordmark__img { height: 80px; }
.leag-wordmark__name {
    display: block;
    font-family: var(--leag-display);
    font-size: clamp(1.25rem, 2.4vw, 1.85rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--leag-gold-pale);
    line-height: 1.1;
}
.leag-wordmark__sub {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--leag-gold);
    margin-top: 6px;
}

/* ---------------------------------------------------------------- nav --- */

.leag-nav { border-top: 1px solid rgba(169, 127, 62, 0.22); }
.leag-nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 2.6vw, 40px);
    list-style: none;
    margin: 0;
    padding: 0;
}
.leag-nav__item { position: relative; }
.leag-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 15px 0;
    border: 0;
    background: transparent;
    font-family: var(--leag-serif);
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--leag-gold-pale);
    cursor: pointer;
    transition: color .25s var(--leag-ease), padding .3s var(--leag-ease);
}
.leag-nav__link:hover { color: var(--leag-gold-bright); }
.leag-nav__caret { width: 13px; height: 13px; transition: transform .25s var(--leag-ease); }
.leag-nav__item--has-children:hover .leag-nav__caret,
.leag-nav__link[aria-expanded="true"] .leag-nav__caret { transform: rotate(180deg); }

.leag-mega {
    position: absolute;
    top: 100%;
    left: 50%;
    translate: -50% 0;
    min-width: 230px;
    background: var(--leag-ink-deep);
    border: 1px solid rgba(169, 127, 62, 0.30);
    padding: 20px 26px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .25s var(--leag-ease), transform .25s var(--leag-ease), visibility .25s;
}
.leag-nav__item--has-children:hover .leag-mega,
.leag-nav__item--has-children:focus-within .leag-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.leag-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.leag-mega__list a { font-size: 0.875rem; white-space: nowrap; color: var(--leag-gold-pale); }
.leag-mega__list a:hover { color: var(--leag-gold-bright); }

/* ------------------------------------------------------ search modal --- */

/* A full-screen sheet rather than a bar under the header: the query is the
   only thing on screen while it is open, which is how the reference site
   behaves and what makes room for results later. */
.leag-search {
    position: fixed;
    inset: 0;
    z-index: 120;
}
.leag-search[hidden] { display: none; }

.leag-search__scrim {
    position: absolute;
    inset: 0;
    background: rgba(17, 32, 29, 0.42);
    opacity: 0;
    transition: opacity .32s var(--leag-ease);
}

/* Height comes from the content, not the viewport: `bottom: auto` keeps this
   a shallow band across the top rather than a full-screen sheet. It can still
   grow later if live results are added, up to the max-height. */
.leag-search__panel {
    position: absolute;
    top: clamp(12px, 2vw, 26px);
    right: clamp(12px, 2vw, 26px);
    left: clamp(12px, 2vw, 26px);
    bottom: auto;
    max-height: calc(100vh - clamp(24px, 4vw, 52px));
    background: var(--leag-canvas);
    padding: clamp(22px, 3vw, 40px) clamp(18px, 4vw, 56px) clamp(24px, 3vw, 42px);
    overflow-y: auto;
    transform: translateY(calc(-100% - clamp(12px, 2vw, 26px)));
    transition: transform .38s var(--leag-ease);
    will-change: transform;
}

.leag-search.is-open .leag-search__scrim { opacity: 1; }
.leag-search.is-open .leag-search__panel { transform: none; }

.leag-search__form {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--leag-ink);
    padding-bottom: clamp(10px, 1.4vw, 18px);
}

/* Scoped with the parent on purpose. The generic `input[type="search"]`
   control styles further down this sheet score higher than a lone class and
   would otherwise reset this back to 16px body serif. */
.leag-search .leag-search__field {
    flex: 1;
    min-width: 0;
    width: auto;
    border: 0;
    background: transparent;
    padding: 4px 0;
    font-family: var(--leag-display);
    font-size: clamp(1.6rem, 4.2vw, 2.75rem);
    line-height: 1.2;
    color: var(--leag-ink);
}
.leag-search .leag-search__field::placeholder { color: var(--client-muted, #A8A29A); opacity: 1; }
.leag-search .leag-search__field:focus { outline: none; border: 0; }
/* Chrome draws its own clear affordance on search inputs; it fights the type. */
.leag-search__field::-webkit-search-cancel-button { -webkit-appearance: none; }

.leag-search__close {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--leag-ink);
    cursor: pointer;
    transition: color .25s var(--leag-ease);
}
.leag-search__close:hover { color: var(--leag-gold); }
.leag-search__close .leag-icon { width: 26px; height: 26px; stroke-width: 1.1; }

/* ------------------------------------------------------------- drawer --- */

.leag-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(88vw, 380px);
    background: var(--leag-ink);
    color: var(--leag-gold-pale);
    z-index: 90;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .35s var(--leag-ease);
}
.leag-drawer.is-open { transform: none; }

/* `display: flex` above outranks the `hidden` attribute's UA `display: none`,
   which would leave the drawer focusable and in the accessibility tree on
   desktop even though it is translated off-screen. Restore the intent. */
.leag-drawer[hidden],
.leag-scrim[hidden] { display: none; }
.leag-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(169, 127, 62, 0.28);
}
.leag-drawer__title { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; }
.leag-drawer__body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.leag-drawer__body .leag-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.leag-drawer__body .leag-nav__item { border-bottom: 1px solid rgba(169, 127, 62, 0.20); }
.leag-drawer__body .leag-nav__link { width: 100%; justify-content: space-between; padding: 16px 0; }
.leag-drawer__body .leag-mega {
    position: static;
    translate: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    padding: 0 0 16px 14px;
    display: none;
}
.leag-drawer__body .leag-nav__item.is-open .leag-mega { display: block; }
.leag-drawer__foot { padding: 24px; border-top: 1px solid rgba(169, 127, 62, 0.28); }
.leag-drawer__foot .leag-btn--solid {
    background: var(--leag-gold);
    border-color: var(--leag-gold);
    color: #fff;
}
.leag-drawer__foot .leag-btn { width: 100%; }

.leag-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 80;
    opacity: 0;
    transition: opacity .3s var(--leag-ease);
}
.leag-scrim.is-open { opacity: 1; }

/* --------------------------------------------------------------- hero --- */

.leag-hero {
    position: relative;
    min-height: clamp(460px, 72vh, 760px);
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background-color: var(--leag-ink);
    background-image: var(--leag-hero-img);
    background-size: cover;
    background-position: center;
}
.leag-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,.48));
}
.leag-hero--plain { background: var(--leag-linen); color: var(--leag-ink); }
.leag-hero--plain::after { display: none; }

.leag-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: var(--leag-section) var(--leag-gutter);
}
.leag-hero .leag-eyebrow { color: inherit; opacity: .78; }
.leag-hero__title {
    color: inherit;
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    font-style: italic;
    margin-bottom: 0.4em;
}
.leag-hero__lede { font-size: 1.0625rem; margin: 0 auto 2.2em; max-width: 46ch; opacity: .92; }
.leag-hero--plain .leag-btn--solid { border-color: var(--leag-ink); }
.leag-hero:not(.leag-hero--plain) .leag-btn--solid {
    background: #fff; color: var(--leag-ink); border-color: #fff;
}
.leag-hero:not(.leag-hero--plain) .leag-btn--solid:hover {
    background: var(--leag-gold); border-color: var(--leag-gold); color: #fff;
}

/* ------------------------------------------------------- artwork rail --- */

.leag-rail-section { padding-block: var(--leag-section); }

.leag-rail__nav { display: flex; gap: 8px; }
.leag-railbtn {
    width: 42px; height: 42px;
    border: 1px solid var(--leag-rule);
    background: transparent;
    color: var(--leag-ink);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .25s var(--leag-ease), color .25s var(--leag-ease);
}
.leag-railbtn:hover { border-color: var(--leag-ink); color: var(--leag-gold); }

.leag-rail {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: clamp(16px, 2.2vw, 32px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.leag-rail::-webkit-scrollbar { display: none; }
.leag-card { scroll-snap-align: start; }
.leag-card__link { display: grid; gap: 10px; }
.leag-card__frame {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--leag-linen);
    overflow: hidden;
}
/* Same guard as the wordmark: on its own this ties with WooCommerce's
   `.woocommerce-page img { height: auto }` and only wins on load order, which
   a concatenating optimiser could reverse. */
.leag-card .leag-card__frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--leag-ease);
}
.leag-card__link:hover .leag-card__frame img { transform: scale(1.04); }
.leag-card__flag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--leag-canvas);
    color: var(--leag-ink);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 12px;
}
.leag-card__name {
    font-family: var(--leag-display);
    font-size: 1.0625rem;
    color: var(--leag-ink);
}
.leag-card__price { font-size: 0.9375rem; color: var(--leag-body); }
.leag-card__price del { opacity: .5; margin-right: 6px; }

/* --------------------------------------------------------- categories --- */

.leag-cats { padding-block: 0 var(--leag-section); }
.leag-cats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.8vw, 24px);
}
.leag-cat { display: grid; gap: 14px; }
.leag-cat__img {
    display: block;
    aspect-ratio: 3 / 4;
    background: var(--leag-linen) center / cover no-repeat;
    transition: opacity .4s var(--leag-ease);
}
.leag-cat:hover .leag-cat__img { opacity: .86; }
.leag-cat__label {
    text-align: center;
    font-family: var(--leag-display);
    font-size: 1.125rem;
    letter-spacing: 0.08em;
    color: var(--leag-ink);
}

/* -------------------------------------------------------------- story --- */

.leag-story { background: var(--leag-linen); padding-block: var(--leag-section); }
.leag-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}
.leag-story__media {
    aspect-ratio: 4 / 5;
    background: var(--client-sand, #e6e1d8) center / cover no-repeat;
}
.leag-story__body p { margin: 0 0 1.2em; max-width: 52ch; }
.leag-story__body .leag-btn { margin-top: 8px; }

/* ---------------------------------------------------------------- faq --- */

.leag-faq { padding-block: var(--leag-section); }
.leag-faq__note {
    text-align: center;
    color: var(--leag-body-soft);
    font-size: 0.9375rem;
    margin: 0 0 44px;
}
.leag-acc { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--leag-rule); }
.leag-acc__item { border-bottom: 1px solid var(--leag-rule); }
.leag-acc__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border: 0;
    background: transparent;
    font-family: var(--leag-display);
    font-size: 1.0625rem;
    text-align: left;
    color: var(--leag-ink);
    cursor: pointer;
}
.leag-acc__sign { transition: transform .3s var(--leag-ease); }
.leag-acc__q[aria-expanded="true"] .leag-acc__sign { transform: rotate(45deg); }
.leag-acc__a p { margin: 0 0 22px; max-width: 68ch; }

/* ------------------------------------------------------------- quotes --- */

.leag-quotes { background: var(--leag-linen); padding-block: var(--leag-section); }
.leag-quotes__row {
    list-style: none;
    margin: 40px 0 0;
    padding: 0 0 8px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: clamp(16px, 2.4vw, 32px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.leag-quotes__row::-webkit-scrollbar { display: none; }
.leag-quote {
    scroll-snap-align: start;
    background: var(--leag-canvas);
    padding: 34px 30px;
    display: grid;
    gap: 18px;
    align-content: start;
}
.leag-quote blockquote {
    margin: 0;
    font-family: var(--leag-display);
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--leag-ink);
    line-height: 1.5;
}
.leag-quote cite {
    font-style: normal;
    font-size: 0.6875rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
}

/* ----------------------------------------------------------- instagram --- */

.leag-insta { padding-block: var(--leag-section); text-align: center; }
.leag-insta__cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------- footer --- */

/* Same ground as the header, so the page is bookended in the brand's own
   near-black forest green. */
.leag-footer {
    background: var(--leag-ink);
    color: var(--leag-gold-pale);
    border-top: 0;
    padding-top: var(--leag-section);
}
.leag-footer__grid {
    display: grid;
    /* Four columns, not five: the Visit column was removed, and the leftover
       track was collecting the slack as dead space on the right. The
       newsletter gets the widest share because its heading sets on two lines
       and its field needs room to look deliberate rather than cramped. */
    grid-template-columns: 1.35fr 1fr 0.9fr 1.6fr;
    gap: clamp(28px, 3.4vw, 56px);
    padding-bottom: 56px;
    align-items: start;
}
.leag-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.leag-footer__col a { font-size: 0.9375rem; color: var(--leag-gold-pale); }
.leag-footer__col a:hover { color: var(--leag-gold-bright); }
.leag-footer__title {
    font-size: 0.6875rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-family: var(--leag-serif);
    color: var(--leag-gold);
    margin: 0 0 20px;
}
.leag-footer__blurb {
    margin: 20px 0 16px;
    max-width: 34ch;
    font-size: 0.9375rem;
    color: var(--leag-gold-pale);
}
.leag-footer__meta { margin: 0 0 6px; font-size: 0.875rem; color: rgba(232, 215, 180, 0.66); }
.leag-wordmark--footer { text-align: left; }
.leag-wordmark--footer .leag-wordmark__img { height: 80px; }

/* ---- newsletter -------------------------------------------------------
   A single rounded field with the submit tucked inside as a round chevron,
   matching the reference. The button sits inside the same bordered shell as
   the input rather than beside it, so the pair reads as one control. */
.leag-news__title {
    font-family: var(--leag-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: var(--leag-gold-pale);
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 22px;
}

.leag-news { margin: 0 0 24px; }

.leag-news__field {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(232, 215, 180, 0.28);
    border-radius: 10px;
    padding: 8px 8px 8px 22px;
    transition: border-color .25s var(--leag-ease);
}
.leag-news__field:focus-within { border-color: var(--leag-gold); }

.leag-news .leag-news__field input[type="email"] {
    flex: 1;
    min-width: 0;
    width: auto;
    border: 0;
    background: transparent;
    padding: 12px 0;
    font-family: var(--leag-serif);
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--leag-gold-pale);
}
.leag-news .leag-news__field input[type="email"]::placeholder { color: rgba(232, 215, 180, 0.55); }
.leag-news .leag-news__field input[type="email"]:focus { outline: none; border: 0; }

.leag-news__go {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(232, 215, 180, 0.14);
    color: var(--leag-gold-pale);
    cursor: pointer;
    transition: background .25s var(--leag-ease), color .25s var(--leag-ease);
}
.leag-news__go:hover { background: var(--leag-gold); color: var(--leag-ink); }
.leag-news__go .leag-icon { width: 18px; height: 18px; }

.leag-social { display: flex; gap: 14px; }
.leag-social a { color: var(--leag-gold-pale); }
.leag-social a:hover { color: var(--leag-gold-bright); }

.leag-footer__fine {
    border-top: 1px solid rgba(169, 127, 62, 0.22);
    padding-block: 26px;
}
.leag-footer__fine p {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(232, 215, 180, 0.6);
    text-align: center;
}

/* -------------------------------------------------------- woocommerce --- */

.leag-particulars {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 24px;
    margin: 26px 0;
    padding: 22px 0;
    border-block: 1px solid var(--leag-rule);
    font-size: 0.9375rem;
}
.leag-particulars dt {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
    align-self: center;
}
.leag-particulars dd { margin: 0; color: var(--leag-ink); }

.leag-assure { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.leag-assure li { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; }
.leag-assure .leag-icon { color: var(--leag-gold); }

.leag-crumbs {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
    padding-block: 26px;
}

.woocommerce ul.products { gap: clamp(18px, 2.4vw, 36px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--leag-display);
    font-size: 1.0625rem;
    color: var(--leag-ink);
}
.woocommerce ul.products li.product .price { color: var(--leag-body); font-size: 0.9375rem; }
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-family: var(--leag-serif);
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 0;
    background: var(--leag-ink);
    color: #fff;
    padding: 14px 30px;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--leag-gold); color: #fff; }

/* ------------------------------------------------------------ responsive --- */

@media (max-width: 1024px) {
    .leag-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .leag-footer__col--brand,
    .leag-footer__col--news { grid-column: span 3; }
    .leag-cats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .leag-nav { display: none; }
    .leag-util--burger { display: inline-flex; }
    .leag-story__grid { grid-template-columns: 1fr; }
    .leag-section__head { flex-direction: column; align-items: flex-start; }
    .leag-rail__nav { display: none; }
    .leag-rail { grid-auto-columns: minmax(66vw, 1fr); }
}

@media (max-width: 600px) {
    .leag-footer__grid { grid-template-columns: 1fr 1fr; }
    .leag-footer__col--brand,
    .leag-footer__col--news { grid-column: span 2; }
    .leag-header__bar { padding-block: 14px; }
    .leag-quotes__row { grid-auto-columns: minmax(78vw, 1fr); }

    /* The side columns are `1fr auto 1fr`, so an unbalanced number of icons
       left vs right lets the wider side spill past the viewport. Let the
       columns size to their content and pull the emblem back a little. */
    .leag-header__bar { grid-template-columns: auto 1fr auto; }
    .leag-wordmark .leag-wordmark__img { height: 72px; }
    .leag-header.is-condensed .leag-wordmark .leag-wordmark__img,
    .leag-header--compact .leag-wordmark .leag-wordmark__img { height: 50px; }
    .leag-util { width: 36px; }
}

@media (max-width: 360px) {
    .leag-wordmark .leag-wordmark__img { height: 60px; }
    .leag-header.is-condensed .leag-wordmark .leag-wordmark__img,
    .leag-header--compact .leag-wordmark .leag-wordmark__img { height: 44px; }
    .leag-util { width: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Inner templates — pages, blog, shop, product, cart, checkout, account.
   Appended as a second movement so the homepage rules above stay readable.
   ========================================================================== */

/* --------------------------------------------------------- page shell --- */

.site-main > .mw-container { padding-block: clamp(40px, 6vw, 88px); }
body.home .site-main > .mw-container { padding-block: 0; }

.leag-pagehead {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(36px, 5vw, 64px);
}
.leag-pagehead__title { font-size: clamp(2rem, 4.4vw, 3.25rem); margin: 0 0 0.35em; }
.leag-pagehead__lede { font-size: 1.0625rem; color: var(--leag-body-soft); margin: 0; }

.entry-content { max-width: 76ch; margin-inline: auto; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.6em; }
.entry-content blockquote {
    margin: 1.8em 0;
    padding-left: 26px;
    border-left: 2px solid var(--leag-gold);
    font-family: var(--leag-display);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--leag-ink);
}
.entry-content img { margin-inline: auto; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ controls --- */

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="number"], input[type="search"], textarea, select {
    font-family: var(--leag-serif);
    font-size: 1rem;
    color: var(--leag-ink);
    background: var(--leag-canvas);
    border: 1px solid var(--leag-rule);
    border-radius: 0;
    padding: 13px 14px;
    width: 100%;
    max-width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--leag-ink); }
label { font-size: 0.875rem; color: var(--leag-body); }

/* ---------------------------------------------------------- blog list --- */

.site-main article + article { margin-top: clamp(36px, 5vw, 64px); }
.entry-title { font-size: clamp(1.375rem, 2.4vw, 1.875rem); margin: 0 0 0.4em; }
.entry-title a { color: var(--leag-ink); }
.entry-title a:hover { color: var(--leag-gold); }

.pagination, .woocommerce-pagination { margin-top: clamp(40px, 6vw, 72px); }
.pagination .nav-links, .woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
}
.pagination .page-numbers, .woocommerce-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding-inline: 12px;
    border: 1px solid var(--leag-rule);
    font-size: 0.875rem;
    color: var(--leag-ink);
    background: transparent;
}
.pagination .page-numbers.current, .woocommerce-pagination .page-numbers.current {
    background: var(--leag-ink);
    border-color: var(--leag-ink);
    color: #fff;
}
.woocommerce-pagination ul li { border: 0 !important; margin: 0 !important; }

/* -------------------------------------------------------- shop archive --- */

.woocommerce-products-header { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.woocommerce-products-header__title { font-size: clamp(2rem, 4.4vw, 3.25rem); margin: 0; }
.term-description { max-width: 62ch; margin: 16px auto 0; color: var(--leag-body-soft); }

.woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.woocommerce .woocommerce-ordering select {
    width: auto;
    min-width: 220px;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 11px 14px;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    text-align: left;
}
.woocommerce ul.products li.product a img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin-bottom: 14px;
    background: var(--leag-linen);
    transition: opacity .4s var(--leag-ease);
}
.woocommerce ul.products li.product:hover a img { opacity: .9; }
.woocommerce ul.products li.product .button {
    display: inline-block;
    margin-top: 12px;
    background: transparent;
    color: var(--leag-ink);
    border: 1px solid var(--leag-ink);
    padding: 11px 22px;
}
.woocommerce ul.products li.product .button:hover { background: var(--leag-ink); color: #fff; }
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 12px; left: 12px;
    right: auto;
    margin: 0;
    min-width: 0;
    min-height: 0;
    line-height: 1;
    border-radius: 0;
    background: var(--leag-canvas);
    color: var(--leag-ink);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 7px 12px;
}

/* ------------------------------------------------------ single product --- */

.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.4vw, 72px); align-items: start; }
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
/* `.leag-prodacc` is listed because the tabs template no longer carries
   `.woocommerce-tabs` — that class is what WooCommerce's tab script binds to,
   and it hid every panel. These three must still span both grid columns. */
.woocommerce div.product .leag-prodacc,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells { grid-column: 1 / -1; }

.woocommerce div.product .product_title { font-size: clamp(1.75rem, 3.4vw, 2.75rem); margin: 0 0 0.3em; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: var(--leag-serif);
    font-size: 1.375rem;
    color: var(--leag-ink);
    margin-bottom: 1em;
}
.woocommerce div.product p.price del { opacity: .5; font-size: 1rem; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--leag-body); }
.woocommerce div.product form.cart { margin: 26px 0 0; }
.woocommerce div.product form.cart .button { width: 100%; padding-block: 17px; }
.woocommerce .stock { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; }
.woocommerce .stock.out-of-stock { color: var(--leag-body-soft); }
.woocommerce .product_meta { margin-top: 26px; font-size: 0.8125rem; color: var(--leag-body-soft); }


.woocommerce .related > h2, .woocommerce .upsells > h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    text-align: center;
    margin-bottom: 36px;
}

/* --------------------------------------------------- cart and checkout --- */

.woocommerce table.shop_table {
    border: 0;
    border-radius: 0;
    border-collapse: collapse;
}
.woocommerce table.shop_table th {
    font-family: var(--leag-serif);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
    border-bottom: 1px solid var(--leag-rule);
    padding: 14px 12px;
}
.woocommerce table.shop_table td {
    border-top: 0;
    border-bottom: 1px solid var(--leag-rule);
    padding: 20px 12px;
}
.woocommerce table.shop_table img { width: 84px; }
.woocommerce a.remove {
    color: var(--leag-body-soft) !important;
    font-weight: 400;
    line-height: 1;
}
.woocommerce a.remove:hover { background: transparent; color: var(--leag-ink) !important; }

.woocommerce .cart_totals h2,
.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3 {
    font-size: 1.125rem;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}
.woocommerce .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce-cart .wc-proceed-to-checkout a.button { width: 100%; text-align: center; }

.woocommerce form .form-row { padding: 0; margin: 0 0 18px; }
.woocommerce form .form-row label { display: block; margin-bottom: 7px; }
.woocommerce-checkout #payment { background: var(--leag-linen); border-radius: 0; }
.woocommerce-checkout #payment div.payment_box { background: var(--leag-canvas); border-radius: 0; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--leag-rule); }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    border-top: 0;
    border-left: 2px solid var(--leag-gold);
    background: var(--leag-linen);
    border-radius: 0;
    color: var(--leag-ink);
    font-size: 0.9375rem;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message, .woocommerce-info { padding-left: 22px !important; }
.woocommerce-error { border-left-color: var(--leag-danger, #9B3B32); }

/* Gallery success notices: keep WooCommerce's live message and cart link. */
body #mw-content .woocommerce-message,
body .woocommerce-notices-wrapper .woocommerce-message {
    display: flow-root;
    padding: 18px 22px !important;
    margin: 0 0 28px;
    border: 1px solid var(--client-rule, #d9c9b4);
    border-left: 3px solid var(--client-brown, #a47a3d);
    border-radius: 0;
    background: var(--client-surface, #f8f3ea);
    color: var(--client-primary, #491a18);
    box-shadow: none;
    font: 400 16px/44px 'Lora', Georgia, serif;
    letter-spacing: 0;
}
body #mw-content .woocommerce-message::before,
body .woocommerce-notices-wrapper .woocommerce-message::before,
body #mw-content .woocommerce-message::after,
body .woocommerce-notices-wrapper .woocommerce-message::after { display: none; content: none; }
body #mw-content .woocommerce-message a.button,
body .woocommerce-notices-wrapper .woocommerce-message a.button {
    float: right;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 0 0 24px;
    padding: 10px 24px;
    border: 1px solid var(--client-primary, #491a18);
    border-radius: 0;
    background: var(--client-primary, #491a18);
    color: var(--client-on-dark, #fff5e5);
    box-shadow: 0 2px 0 var(--client-deep, #2d100f);
    font: 500 12px/1.5 'Lora', Georgia, serif;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s, box-shadow .2s;
}
body #mw-content .woocommerce-message a.button:hover,
body .woocommerce-notices-wrapper .woocommerce-message a.button:hover {
    background: var(--client-primary, #491a18);
    color: var(--client-on-dark, #fff5e5);
    transform: translateY(-2px);
    box-shadow: 0 4px 0 var(--client-deep, #2d100f);
}
body #mw-content .woocommerce-message a.button:focus-visible,
body .woocommerce-notices-wrapper .woocommerce-message a.button:focus-visible { outline: 2px solid var(--client-brown, #916326); outline-offset: 4px; }
@media (max-width: 600px) {
    body #mw-content .woocommerce-message,
    body .woocommerce-notices-wrapper .woocommerce-message { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px !important; font-size: 15px; line-height: 1.6; }
    body #mw-content .woocommerce-message a.button,
    body .woocommerce-notices-wrapper .woocommerce-message a.button { order: 1; float: none; width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
    body #mw-content .woocommerce-message a.button,
    body .woocommerce-notices-wrapper .woocommerce-message a.button { transition: none; transform: none; }
}

/* ------------------------------------------------------ search and 404 --- */

.mw-search-form { display: flex; gap: 10px; max-width: 520px; margin-inline: auto; }
.mw-search-form button {
    flex: none;
    border: 1px solid var(--leag-ink);
    background: var(--leag-ink);
    color: #fff;
    font-family: var(--leag-serif);
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding-inline: 24px;
    cursor: pointer;
}
.mw-search-form button:hover { background: var(--leag-gold); border-color: var(--leag-gold); }

.mw-404 h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.mw-404 a { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------- responsive (inner) --- */

@media (max-width: 1024px) {
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .woocommerce div.product { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
    .woocommerce table.shop_table img { width: 60px; }
}


/* ==========================================================================
   Mandala ground.

   One large motif per band rather than a tiled field, drifting slightly
   against the scroll. The layer is inset beyond the section on the vertical
   axis so the drift never exposes an edge, and it is translated with a GPU
   transform rather than `background-attachment: fixed` — that keyword forces
   a repaint on every scroll frame and is simply ignored on iOS Safari.
   ========================================================================== */

.leag-quotes,
.leag-mandala {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.leag-quotes::before,
.leag-mandala::before {
    content: "";
    position: absolute;
    /* Overhang top and bottom gives the drift somewhere to go. */
    inset: -14% 0;
    z-index: -1;
    /* Vector, not the original raster. The supplied PNG held 740px of real
       detail, so stretching it across a 1440px band blurred it; traced to
       paths it stays sharp at any zoom, which is what `cover` demands. */
    background-image: url("../img/mandala.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* The trace is uniform gold where the original faded out at its edges, so
       it reads heavier — less opacity gets back to the same weight. */
    opacity: 0.3;
    pointer-events: none;
    transform: translate3d(0, var(--leag-parallax, 0px), 0);
    will-change: transform;
}

/* Cards sitting on the ornament need an opaque ground to stay legible. */
.leag-quote {
    background: var(--leag-canvas);
    box-shadow: 0 1px 2px rgba(17, 32, 29, 0.05);
}

/* ==========================================================================
   Cart drawer and login modal.
   ========================================================================== */

.leag-cart,
.leag-login {
    position: fixed;
    inset: 0;
    z-index: 130;
}
.leag-cart[hidden],
.leag-login[hidden] { display: none; }

.leag-cart__scrim,
.leag-login__scrim {
    position: absolute;
    inset: 0;
    background: rgba(17, 32, 29, 0.44);
    opacity: 0;
    transition: opacity .32s var(--leag-ease);
}
.leag-cart.is-open .leag-cart__scrim,
.leag-login.is-open .leag-login__scrim { opacity: 1; }

/* ---- drawer ------------------------------------------------------------ */

.leag-cart__panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(92vw, 440px);
    background: var(--leag-canvas);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .38s var(--leag-ease);
    will-change: transform;
}
.leag-cart.is-open .leag-cart__panel { transform: none; }

.leag-cart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    flex: none;
}
.leag-cart__title {
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-family: var(--leag-serif);
    color: var(--leag-ink);
    margin: 0;
}
.leag-cart__close,
.leag-login__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--leag-ink);
    cursor: pointer;
    transition: color .25s var(--leag-ease);
}
.leag-cart__close:hover,
.leag-login__close:hover { color: var(--leag-gold); }

/* The contents element is swapped wholesale by WooCommerce's fragment
   refresh, so the layout has to live on it rather than a wrapper. It owns the
   full remaining height; the item list scrolls and the actions stay pinned to
   the bottom of the panel however few items there are. */
.leag-cart__contents {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.leag-cart__empty {
    margin: auto;
    padding: 40px 30px;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 22px;
}
.leag-cart__emptyicon { position: relative; display: inline-flex; color: var(--leag-ink); }
.leag-cart__emptyicon .leag-icon { width: 54px; height: 54px; stroke-width: 1; }
.leag-cart__emptycount {
    position: absolute;
    top: -6px; right: -10px;
    min-width: 26px; height: 26px;
    border-radius: 999px;
    background: var(--leag-gold);
    color: #fff;
    font-size: 0.75rem;
    line-height: 26px;
    text-align: center;
}
.leag-cart__emptytext {
    font-family: var(--leag-display);
    font-size: 1.375rem;
    color: var(--leag-ink);
    margin: 0;
}

.leag-btn--pill { border-radius: 999px; padding-inline: 40px; }

.leag-cart__items {
    list-style: none;
    margin: 0;
    padding: 8px 26px;
    display: grid;
    gap: 4px;
    align-content: start;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
.leag-cart__item {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 20px 0;
}
.leag-cart__thumb img { width: 76px; height: 95px; object-fit: cover; background: var(--leag-linen); }
.leag-cart__detail { display: grid; gap: 6px; min-width: 0; }
.leag-cart__name { font-family: var(--leag-display); font-size: 1rem; }
.leag-cart__name a { color: var(--leag-ink); }
.leag-cart__meta { font-size: 0.8125rem; color: var(--leag-body-soft); }
.leag-cart__meta p { margin: 0; }
.leag-cart__line { font-size: 0.9375rem; color: var(--leag-body); }
.leag-cart__qty { color: var(--leag-body-soft); }
.leag-cart__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    color: var(--leag-body-soft);
}
.leag-cart__remove:hover { color: var(--leag-ink); }
.leag-cart__remove .leag-icon { width: 15px; height: 15px; }

.leag-cart__foot {
    flex: none;
    margin-top: auto;
    padding: 22px 26px 26px;
    background: var(--leag-canvas);
}
.leag-cart__subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 6px;
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
}
.leag-cart__subtotal strong {
    font-family: var(--leag-display);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--leag-ink);
}
.leag-cart__note { margin: 0 0 18px; font-size: 0.8125rem; color: var(--leag-body-soft); }
.leag-cart__checkout { width: 100%; }
.leag-cart__viewcart {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--leag-body);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.leag-cart__viewcart:hover { color: var(--leag-gold); }

/* ---- login modal ------------------------------------------------------- */

.leag-login__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: min(92vw, 440px);
    max-height: min(92vh, 640px);
    overflow-y: auto;
    background: var(--leag-canvas);
    padding: clamp(30px, 4vw, 44px);
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    transition: opacity .3s var(--leag-ease), transform .3s var(--leag-ease);
}
.leag-login.is-open .leag-login__panel { opacity: 1; transform: none; }

.leag-login__close { position: absolute; top: 12px; right: 12px; }
.leag-login__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 8px;
    text-align: center;
}
.leag-login__lede {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--leag-body-soft);
    margin: 0 0 26px;
}

.leag-login__panel .login-username,
.leag-login__panel .login-password { margin: 0 0 16px; }
.leag-login__panel label {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
    margin-bottom: 8px;
}
.leag-login__panel input[type="text"],
.leag-login__panel input[type="password"] {
    width: 100%;
    border: 1px solid var(--leag-rule);
    border-radius: 6px;
    padding: 14px 16px;
    font-family: var(--leag-serif);
    font-size: 1rem;
    color: var(--leag-ink);
}
.leag-login__panel input:focus { outline: none; border-color: var(--leag-ink); }
.leag-login__panel .login-remember {
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.leag-login__panel .login-remember label {
    margin: 0;
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.875rem;
    color: var(--leag-body);
}
.leag-login__panel .login-remember input { width: auto; }
.leag-login__panel .login-submit { margin: 0; }
.leag-login__panel input[type="submit"] {
    width: 100%;
    border: 1px solid var(--leag-ink);
    border-radius: 999px;
    background: var(--leag-ink);
    color: #fff;
    font-family: var(--leag-serif);
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 16px 30px;
    cursor: pointer;
    transition: background .3s var(--leag-ease), border-color .3s var(--leag-ease);
}
.leag-login__panel input[type="submit"]:hover {
    background: var(--leag-gold);
    border-color: var(--leag-gold);
}
.leag-login__links {
    margin: 22px 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--leag-body-soft);
}
.leag-login__links a { color: var(--leag-body); text-decoration: underline; text-underline-offset: 3px; }
.leag-login__links a:hover { color: var(--leag-gold); }

@media (max-width: 480px) {
    .leag-cart__item { grid-template-columns: 60px 1fr auto; gap: 12px; }
    .leag-cart__thumb img { width: 60px; height: 75px; }
    .leag-cart__items, .leag-cart__head, .leag-cart__foot { padding-inline: 18px; }
}

/* ---- sign in / create account tabs ------------------------------------- */

.leag-auth__tabs {
    display: flex;
    gap: 4px;
    margin: 0 0 26px;
    border-bottom: 1px solid var(--leag-rule);
}
.leag-auth__tab {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 8px 14px;
    font-family: var(--leag-serif);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
    cursor: pointer;
    transition: color .25s var(--leag-ease), box-shadow .25s var(--leag-ease);
}
.leag-auth__tab:hover { color: var(--leag-ink); }
.leag-auth__tab.is-active {
    color: var(--leag-ink);
    box-shadow: inset 0 -2px 0 var(--leag-gold);
}
.leag-login__panel [data-leag-authpane][hidden] { display: none; }

.leag-login__note {
    font-size: 0.875rem;
    color: var(--leag-body-soft);
    background: var(--leag-linen);
    border-left: 2px solid var(--leag-gold);
    padding: 12px 14px;
    margin: 0 0 20px;
}
.leag-login__panel input[type="email"] {
    width: 100%;
    border: 1px solid var(--leag-rule);
    border-radius: 6px;
    padding: 14px 16px;
    font-family: var(--leag-serif);
    font-size: 1rem;
    color: var(--leag-ink);
}
.leag-login__panel input[type="email"]:focus { outline: none; border-color: var(--leag-ink); }

/* ==========================================================================
   Single product and loop card corrections.

   WooCommerce floats the quantity box and the add-to-cart button next to each
   other. Giving the button `width: 100%` (as the earlier rule did) pushed it
   below the float, orphaning the quantity box on its own line. A flex row is
   the honest fix and keeps the two as one control.
   ========================================================================== */

.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin: 26px 0 0;
}
.woocommerce div.product form.cart::after { display: none; }

.woocommerce div.product form.cart .quantity {
    float: none;
    margin: 0;
    display: flex;
}
.woocommerce div.product form.cart .quantity .qty {
    width: 88px;
    height: auto;
    text-align: center;
    border: 1px solid var(--leag-rule);
    border-radius: 0;
    padding: 14px 6px;
    font-family: var(--leag-serif);
    font-size: 1rem;
    color: var(--leag-ink);
}
.woocommerce div.product form.cart .quantity .qty:focus { outline: none; border-color: var(--leag-ink); }

.woocommerce div.product form.cart .button {
    float: none;
    width: auto;
    flex: 1 1 220px;
    padding-block: 17px;
}

/* With `sold_individually` on, Woo still prints a `.quantity` wrapper holding
   a hidden input. Left visible it renders as an empty box beside the button. */
.woocommerce div.product form.cart .quantity:has(> input[type="hidden"]) { display: none; }

/* Variations table and grouped products keep their own full-width button. */
.woocommerce div.product form.cart.variations_form,
.woocommerce div.product form.cart.grouped_form { display: block; }
.woocommerce div.product form.cart.variations_form .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; }

/* ---- loop card: title, price and button stack -------------------------- */

.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
}
.woocommerce ul.products li.product > a:first-of-type { display: block; }
.woocommerce ul.products li.product .price {
    display: block;
    margin: 0 0 4px;
}
.woocommerce ul.products li.product .button {
    display: block;
    width: 100%;
    text-align: center;
    /* Pins the button to the bottom so cards with a two-line title still line
       their buttons up across the row. */
    margin-top: auto;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin-bottom: 2px; }

/* The tab strip already names the panel; Woo repeats it as an H2 inside. */
.woocommerce div.product .woocommerce-Tabs-panel--description > h2:first-child { display: none; }

/* Very tall artwork photographs should not dominate the fold. */
.woocommerce div.product .woocommerce-product-gallery__image img {
    max-height: 78vh;
    width: 100%;
    object-fit: contain;
    background: var(--leag-linen);
}

/* WooCommerce's zoom control is a literal emoji in the markup. Blank the text
   and draw the icon instead, so the gallery matches the rest of the chrome.

   The selector mirrors Woo's own `.woocommerce div.product div.images
   .…__trigger` — (0,4,2) — and adds a class to clear it outright. A shorter
   chain loses on element count no matter how many classes it has. */
.woocommerce div.product div.images.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--leag-rule);
    background: rgba(255, 255, 255, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    text-indent: 0;
    box-shadow: 0 1px 3px rgba(17, 32, 29, 0.10);
    transition: background .25s var(--leag-ease), border-color .25s var(--leag-ease);
}
.woocommerce div.product div.images.woocommerce-product-gallery .woocommerce-product-gallery__trigger::after {
    content: "";
    width: 19px;
    height: 19px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311201D' stroke-width='1.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16' y2='16'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce div.product div.images.woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
    background: #fff;
    border-color: var(--leag-gold);
}


/* ---- product sections (description / details / reviews) ----------------
   Rendered by the plugin's tabs.php override as a stacked accordion, reusing
   the site accordion classes so the existing toggle drives it. */

.leag-prodacc { margin-top: clamp(30px, 4vw, 56px); }
.leag-prodacc .leag-acc { max-width: none; }
.leag-prodacc .leag-acc__heading { margin: 0; font-family: var(--leag-serif); }
.leag-prodacc .leag-acc__q {
    font-family: var(--leag-serif);
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 24px 0;
}
/* Woo's panels carry `entry-content`, which the page rule centres at 76ch.
   Inside a full-width accordion that reads as a stray indent — reset it and
   let the paragraph rule below hold the measure instead. */
.leag-prodacc .leag-acc__a.entry-content,
.leag-prodacc .entry-content {
    max-width: none;
    margin-inline: 0;
}
.leag-prodacc .leag-acc__a { padding-bottom: 30px; }
.leag-prodacc .leag-acc__a > *:first-child { margin-top: 0; }
.leag-prodacc .leag-acc__a p { max-width: 72ch; margin: 0 0 1em; }

/* Woo's attribute table, quietened to match the particulars list. */
.leag-prodacc .shop_attributes {
    width: 100%;
    max-width: 620px;
    border-collapse: collapse;
    margin: 0;
}
.leag-prodacc .shop_attributes th,
.leag-prodacc .shop_attributes td {
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid var(--leag-rule);
    font-weight: 400;
}
.leag-prodacc .shop_attributes th {
    width: 34%;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
}
.leag-prodacc .shop_attributes td { color: var(--leag-ink); }
.leag-prodacc .shop_attributes p { margin: 0; }

/* ==========================================================================
   Reviews, in the Shopify register: a quiet list, then a clearly separated
   form with the name and email fields paired on one row.
   ========================================================================== */

.leag-prodacc #reviews { display: grid; gap: 40px; }
@media (min-width: 900px) {
    .leag-prodacc #reviews { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
}

.leag-prodacc #reviews .woocommerce-Reviews-title,
.leag-prodacc #reviews .comment-reply-title {
    display: block;
    font-family: var(--leag-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--leag-ink);
    margin: 0 0 18px;
}
.leag-prodacc #reviews .comment-reply-title small { font-size: 0.8125rem; margin-left: 10px; }

.leag-prodacc #reviews .commentlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.leag-prodacc #reviews .commentlist li { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--leag-rule); }
.leag-prodacc #reviews .commentlist li:last-child { border-bottom: 0; }
.leag-prodacc #reviews .comment_container { display: flex; gap: 16px; align-items: flex-start; }
.leag-prodacc #reviews img.avatar {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--leag-rule); padding: 0; margin: 0; float: none; position: static;
}
.leag-prodacc #reviews .comment-text { flex: 1; min-width: 0; margin: 0; padding: 0; border: 0; }
.leag-prodacc #reviews .woocommerce-review__author {
    font-family: var(--leag-display); font-size: 1rem; color: var(--leag-ink);
}
.leag-prodacc #reviews .woocommerce-review__dash { color: var(--leag-faint); }
.leag-prodacc #reviews .woocommerce-review__published-date {
    font-size: 0.8125rem; color: var(--leag-body-soft);
}
.leag-prodacc #reviews .description { margin-top: 8px; }
.leag-prodacc #reviews .description p { margin: 0 0 0.6em; }
.leag-prodacc #reviews .woocommerce-noreviews {
    color: var(--leag-body-soft);
    background: var(--leag-linen);
    border-left: 2px solid var(--leag-gold);
    padding: 14px 16px;
    margin: 0;
}

/* ---- the form ---------------------------------------------------------- */

.leag-prodacc #reviews .comment-form { display: grid; gap: 16px; }
.leag-prodacc #reviews .comment-form p { margin: 0; }
.leag-prodacc #reviews .comment-notes,
.leag-prodacc #reviews .comment-form-cookies-consent {
    font-size: 0.8125rem; color: var(--leag-body-soft);
}
.leag-prodacc #reviews .comment-form-cookies-consent { display: flex; align-items: center; gap: 9px; }
.leag-prodacc #reviews .comment-form-cookies-consent input { width: auto; }
.leag-prodacc #reviews .comment-form label {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--leag-body-soft);
    margin-bottom: 8px;
}
.leag-prodacc #reviews .comment-form input[type="text"],
.leag-prodacc #reviews .comment-form input[type="email"],
.leag-prodacc #reviews .comment-form textarea {
    width: 100%;
    border: 1px solid var(--leag-rule);
    border-radius: 4px;
    padding: 13px 15px;
    font-family: var(--leag-serif);
    font-size: 1rem;
    color: var(--leag-ink);
    background: var(--leag-canvas);
}
.leag-prodacc #reviews .comment-form input:focus,
.leag-prodacc #reviews .comment-form textarea:focus { outline: none; border-color: var(--leag-ink); }
.leag-prodacc #reviews .comment-form textarea { min-height: 130px; resize: vertical; }

/* Name and email share a row once there is room. */
@media (min-width: 620px) {
    .leag-prodacc #reviews .comment-form-author,
    .leag-prodacc #reviews .comment-form-email { display: inline-block; width: calc(50% - 8px); vertical-align: top; }
    .leag-prodacc #reviews .comment-form-author { margin-right: 12px; }
}

/* ---- star rating ------------------------------------------------------- */

.leag-prodacc #reviews .comment-form-rating label { margin-bottom: 10px; }
.leag-prodacc #reviews p.stars { margin: 0; }
.leag-prodacc #reviews p.stars a { color: var(--leag-gold); }
.leag-prodacc #reviews p.stars a::before { color: var(--leag-gold); }
.leag-prodacc #reviews p.stars:hover a::before,
.leag-prodacc #reviews p.stars.selected a::before { color: var(--leag-gold-bright); }
.leag-prodacc #reviews .star-rating span { color: var(--leag-gold); }
.leag-prodacc #reviews .woocommerce-review__verified { font-size: 0.75rem; color: var(--leag-success, #3F6C4E); }

.leag-prodacc #reviews .form-submit { margin: 6px 0 0; }

/* ==========================================================================
   Button colour, properly.

   WooCommerce paints its primary buttons #7f54b3. Its selectors are stronger
   than the generic ones earlier in this sheet: `.button.alt` adds a class, and
   the review submit is `#respond input#submit` — an ID. Matching those exact
   shapes is the only way to win without `!important`.
   ========================================================================== */

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce div.product form.cart .button.alt,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce-page #respond input#submit {
    background: var(--leag-ink);
    color: #fff;
    border: 1px solid var(--leag-ink);
    border-radius: 0;
    font-family: var(--leag-serif);
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 15px 34px;
    transition: background .3s var(--leag-ease), border-color .3s var(--leag-ease);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce div.product form.cart .button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce-page #respond input#submit:hover {
    background: var(--leag-gold);
    border-color: var(--leag-gold);
    color: #fff;
}

.woocommerce a.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled] {
    background: var(--client-muted, #8A867C);
    border-color: var(--client-muted, #8A867C);
    color: #fff;
}

.woocommerce div.product form.cart .button.alt { padding-block: 17px; }

/* ==========================================================================
   Marquee — works currently in stock.

   The track holds the product run twice, so a translate of exactly -50% puts
   the second copy where the first began: the loop closes on itself and there
   is no seam to hide and no width to measure. The animation is declared here
   in CSS rather than left to the script, so the shelf still moves if GSAP
   fails to load; site.js turns this off and takes over when it is available.
   ========================================================================== */

.leag-marquee { padding-block: var(--leag-section); }
.leag-marquee__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.leag-marquee__head .leag-section__title { margin: 0; }

/* Full-bleed: the strip should run out past the container on both sides so it
   reads as continuous rather than as a row that happens to be clipped. */
.leag-marquee__viewport {
    overflow: hidden;
    /* Feathered ends, so items enter and leave instead of popping at a hard
       edge. Two properties because Safari still wants the prefix. */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.leag-marquee__track {
    display: flex;
    width: max-content;
    gap: clamp(14px, 1.6vw, 26px);
    will-change: transform;
    animation: leag-marquee-run 64s linear infinite;
}

@keyframes leag-marquee-run {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

/* Pause on hover and on keyboard focus — a moving target is hard to click and
   worse to tab through. */
.leag-marquee__viewport:hover .leag-marquee__track,
.leag-marquee__track:focus-within { animation-play-state: paused; }

.leag-marquee__item {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: clamp(200px, 21vw, 300px);
    overflow: hidden;
    isolation: isolate;
    background: var(--leag-linen);
}

.leag-marquee__img {
    display: block;
    aspect-ratio: 4 / 5;
    background: var(--leag-linen) center / cover no-repeat;
    transition: transform .8s var(--leag-ease);
}
.leag-marquee__item:hover .leag-marquee__img { transform: scale(1.05); }

.leag-marquee__cap {
    position: absolute;
    inset: auto 0 0 0;
    display: grid;
    gap: 2px;
    padding: 42px 18px 16px;
    background: linear-gradient(to top, rgba(10, 21, 18, 0.74), rgba(10, 21, 18, 0));
    color: #fff;
}
.leag-marquee__name {
    font-family: var(--leag-display);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.25;
}
.leag-marquee__price { font-size: 0.8125rem; color: var(--leag-gold-pale); }
.leag-marquee__price del { opacity: .6; margin-right: 5px; }
.leag-marquee__price ins { text-decoration: none; }

.leag-marquee__more { text-align: center; margin: clamp(28px, 4vw, 48px) 0 0; }

@media (prefers-reduced-motion: reduce) {
    .leag-marquee__track { animation: none; }
    /* Without the crawl the strip would just be clipped, so let it scroll. */
    .leag-marquee__viewport { overflow-x: auto; }
}

/* ==========================================================================
   Ground — sand grain.

   One fixed layer on <body> rather than a background on each section: a
   single image decode for the whole site, and sections stay transparent so
   the texture is continuous across their seams instead of restarting at
   every boundary.

   `fixed`, not scrolling: this is the paper the site is printed on, and paper
   does not slide under the ink.
   ========================================================================== */

body {
    position: relative;
    background-color: var(--client-paper, #FBF8F2);
}

body::before {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url("../img/sand.png");
    background-repeat: repeat;
    /* Halving the 256px tile makes the grain finer than the source and pushes
       the repeat below the size where the eye picks the tile out. */
    background-size: 128px 128px;
    opacity: 1;
}

/* The beige sections were solid, which would have covered the ground. Held
   back to a wash so the grain and the strokes carry through them. */
.leag-quotes,
.leag-hero--plain { background: rgba(238, 231, 216, 0.62); }

/* ==========================================================================
   Footer fine print — copyright left, studio credit right.
   ========================================================================== */

.leag-footer__fine {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.leag-footer__fine p { text-align: left; }

.leag-footer__fine .leag-footer__by {
    margin-left: auto;
    text-align: right;
}

.leag-footer__fine .leag-footer__by a {
    color: var(--leag-gold-bright);
    border-bottom: 1px solid rgba(201, 160, 92, 0.45);
    transition: color .2s var(--leag-ease), border-color .2s var(--leag-ease);
}
.leag-footer__fine .leag-footer__by a:hover,
.leag-footer__fine .leag-footer__by a:focus {
    color: #fff;
    border-bottom-color: #fff;
}

@media (max-width: 560px) {
    .leag-footer__fine { flex-direction: column; align-items: flex-start; }
    .leag-footer__fine .leag-footer__by { margin-left: 0; text-align: left; }
}

/* ==========================================================================
   Cart — Proceed to Checkout.

   WooCommerce's block cart paints this through
   `.wc-block-components-button.contained`, a two-class selector, so the
   obvious one-class override loses on specificity. Every selector below
   carries three or more classes for that reason.
   ========================================================================== */

.woocommerce a.wc-block-cart__submit-button.wc-block-components-button,
.wc-block-cart__submit-container a.wc-block-cart__submit-button.wc-block-components-button.contained,
.wp-block-woocommerce-cart a.wc-block-cart__submit-button.contained,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: var(--leag-ink);
    border: 1px solid var(--leag-ink);
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    transition: background-color .25s var(--leag-ease), border-color .25s var(--leag-ease), color .25s var(--leag-ease);
}

/* The block button wraps its label in a div of its own. */
.wc-block-cart__submit-button .wc-block-components-button__text { text-decoration: none; }

.woocommerce a.wc-block-cart__submit-button.wc-block-components-button:hover,
.woocommerce a.wc-block-cart__submit-button.wc-block-components-button:focus,
.wc-block-cart__submit-container a.wc-block-cart__submit-button.wc-block-components-button.contained:hover,
.wc-block-cart__submit-container a.wc-block-cart__submit-button.wc-block-components-button.contained:focus,
.wp-block-woocommerce-cart a.wc-block-cart__submit-button.contained:hover,
.wp-block-woocommerce-cart a.wc-block-cart__submit-button.contained:focus,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus {
    background-color: var(--leag-gold);
    border-color: var(--leag-gold);
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   Shop archive — filter bar.

   One control set, two presentations. On desktop it is a centred row above
   the loop; on a phone the same markup becomes a left drawer behind a
   floating button, because three dropdowns and a submit will not sit on a
   390px line without either wrapping into a wall or shrinking past the point
   of being tappable.
   ========================================================================== */

.leag-filterbar { margin: 0 0 clamp(22px, 3vw, 38px); }

/* The floating opener. Desktop never sees it. */
.leag-filterbar__toggle { display: none; }

.leag-filters__scrim,
.leag-filters__head { display: none; }

.leag-shopfilters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 14px 22px;
    margin: 0;
}

.leag-shopfilters__field { display: grid; gap: 6px; margin: 0; }

.leag-shopfilters__label {
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--leag-gold);
}

.leag-shopfilters .leag-shopfilters__select {
    font-family: var(--leag-serif);
    font-size: 0.9375rem;
    color: var(--leag-ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--leag-rule);
    border-radius: 0;
    padding: 6px 30px 8px 0;
    min-width: 190px;
    cursor: pointer;
    /* Native arrow removed so the control matches the rest of the furniture;
       the chevron below is drawn in, and background-size keeps it from
       stretching with the field. */
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A97F3E' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 16px 16px;
    transition: border-color .25s var(--leag-ease);
}
.woocommerce .leag-shopfilters .leag-shopfilters__select:focus {
    outline: none;
    border-bottom-color: var(--leag-gold);
}

.leag-shopfilters__go {
    font-family: var(--leag-serif);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--leag-ink);
    color: #fff;
    border: 1px solid var(--leag-ink);
    border-radius: 0;
    padding: 11px 24px;
    cursor: pointer;
    transition: background-color .25s var(--leag-ease), border-color .25s var(--leag-ease);
}
.leag-shopfilters__go:hover,
.leag-shopfilters__go:focus { background: var(--leag-gold); border-color: var(--leag-gold); }

.leag-shopfilters__clear {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--leag-body);
    border-bottom: 1px solid var(--leag-rule);
    padding-bottom: 3px;
    align-self: center;
}
.leag-shopfilters__clear:hover { color: var(--leag-gold); border-bottom-color: var(--leag-gold); }

/* ---- phones: the same controls as a left drawer ------------------------- */

@media (max-width: 780px) {

    .leag-filterbar { margin-bottom: 22px; }

    .leag-filterbar__toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        /* Fixed rather than sticky: sticky would need an ancestor with a
           predictable scroll box, and the shop loop is inside two of them. */
        position: fixed;
        left: 16px;
        bottom: 20px;
        z-index: 60;
        background: var(--leag-ink);
        color: #fff;
        border: 0;
        border-radius: 999px;
        padding: 13px 22px;
        font-family: var(--leag-serif);
        font-size: 0.75rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        cursor: pointer;
        box-shadow: 0 6px 22px rgba(17, 32, 29, 0.28);
    }
    .leag-filterbar__icon { width: 17px; height: 17px; }

    .leag-filters {
        position: fixed;
        inset: 0;
        z-index: 70;
        /* Not `display: none` — the panel has to be in the layout for the
           slide to animate from somewhere. Pointer events are what actually
           keep it out of the way while closed. */
        visibility: hidden;
        pointer-events: none;
    }
    .leag-filters.is-open { visibility: visible; pointer-events: auto; }

    .leag-filters__scrim {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(10, 21, 18, 0.44);
        opacity: 0;
        transition: opacity .35s var(--leag-ease);
    }
    .leag-filters.is-open .leag-filters__scrim { opacity: 1; }

    .leag-filters__inner {
        position: absolute;
        inset: 0 auto 0 0;
        width: min(86vw, 340px);
        background: var(--leag-canvas);
        box-shadow: 0 0 40px rgba(17, 32, 29, 0.18);
        display: flex;
        flex-direction: column;
        transform: translate3d(-100%, 0, 0);
        transition: transform .38s var(--leag-ease);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .leag-filters.is-open .leag-filters__inner { transform: translate3d(0, 0, 0); }

    .leag-filters__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 20px 22px;
        border-bottom: 1px solid var(--leag-rule);
    }
    .leag-filters__title {
        font-size: 0.6875rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--leag-gold);
    }
    .leag-filters__close {
        background: none;
        border: 0;
        padding: 4px;
        line-height: 0;
        color: var(--leag-ink);
        cursor: pointer;
    }
    .leag-filters__close svg { width: 20px; height: 20px; }

    .leag-shopfilters {
        display: block;
        padding: 24px 22px 30px;
    }
    .leag-shopfilters__field { margin: 0 0 24px; }
    .leag-shopfilters .leag-shopfilters__select {
        width: 100%;
        min-width: 0;
        font-size: 1rem;
        padding-block: 8px 10px;
    }
    /* In the drawer the button is the mechanism — nothing auto-submits, so
       the script leaves it alone (see site.js). */
    .leag-shopfilters__go { display: block; width: 100%; text-align: center; }
    .leag-shopfilters__clear {
        display: block;
        text-align: center;
        margin-top: 18px;
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .leag-filters__inner,
    .leag-filters__scrim { transition: none; }
}

/* ==========================================================================
   My Account.

   Modelled on Shopify's account screens: no tab rail, no panels, no boxes.
   The dashboard answers the two questions people open this page with — where
   is my order, and what address do you have for me — and every sub-screen
   offers one way back. Templates in templates/woocommerce/myaccount/ supply
   the markup; this is only its dress.

   Two structural fixes here are load-bearing rather than cosmetic:

   1. These screens are page content, so they inherit the ~76-character
      reading measure. Right for prose, wrong for an order table — it was
      squeezing the whole account into a 621px column.

   2. WooCommerce clearfixes this wrapper with `.woocommerce::before/::after`.
      Generated content boxes become grid and flex items, so those two
      invisible boxes take real cells and push real content off its row.
   ========================================================================== */

.woocommerce-account .entry-content {
    max-width: none;
    margin-inline: 0;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { content: none; display: none; }

.woocommerce-account .woocommerce {
    max-width: 1000px;
    margin-inline: auto;
}

/* Woo's float-and-percentage fallback layout fights everything below. */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
}

/* Shopify sets the account title against the left edge of the content, not
   centred over it. */
.woocommerce-account .leag-pagehead {
    max-width: 1000px;
    margin-inline: auto;
    text-align: left;
}
.woocommerce-account .leag-pagehead__title { text-align: left; }

/* ---- page furniture: back link and log out ------------------------------ */

.leag-account__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
    margin: 0 0 clamp(26px, 3.5vw, 40px);
}
/* On the dashboard only Log out is rendered, and it belongs on the right. */
.leag-account__nav--root { justify-content: flex-end; }

.leag-account__back,
.leag-account__logout {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--leag-body);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color .25s var(--leag-ease), border-color .25s var(--leag-ease);
}
.leag-account__back span { margin-right: 8px; }
.leag-account__back:hover,
.leag-account__logout:hover { color: var(--leag-gold); border-bottom-color: var(--leag-gold); }
.leag-account__logout { color: var(--leag-gold); }

/* ---- dashboard: orders + account details -------------------------------- */

.leag-account {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.leag-account__h {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--leag-serif);
    color: var(--leag-gold);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--leag-rule);
}

.leag-account__orders { width: 100%; border-collapse: collapse; margin: 0; }
.leag-account__orders th,
.leag-account__orders td {
    text-align: left;
    padding: 15px 16px 15px 0;
    border-bottom: 1px solid var(--leag-rule);
    vertical-align: middle;
}
.leag-account__orders th {
    font-family: var(--leag-serif);
    font-weight: 400;
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--leag-body-soft, var(--leag-body));
    padding-top: 0;
}
.leag-account__orders-action { text-align: right; padding-right: 0; }
.leag-account__orders-action a,
.leag-account__more a {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--leag-rule);
    padding-bottom: 2px;
}
.leag-account__orders-action a:hover,
.leag-account__more a:hover { color: var(--leag-gold); border-bottom-color: var(--leag-gold); }
.leag-account__more { margin: 24px 0 0; }

.leag-account__empty { margin: 0 0 22px; color: var(--leag-body); }

.leag-account__name { margin: 0 0 4px; font-family: var(--leag-display); font-size: 1.05rem; color: var(--leag-ink); }
.leag-account__email { margin: 0 0 18px; font-size: 0.9375rem; }
.leag-account__address {
    font-style: normal;
    line-height: 1.9;
    margin: 0 0 20px;
    font-size: 0.9375rem;
}
.leag-account__address--empty { color: var(--leag-body-soft, var(--leag-body)); }

.leag-account__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.leag-account__links a {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--leag-rule);
    padding-bottom: 2px;
}
.leag-account__links a:hover { color: var(--leag-gold); border-bottom-color: var(--leag-gold); }

/* ---- sub-screens: orders, downloads, addresses, details ----------------- */

.woocommerce-account .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-account .woocommerce-MyAccount-content p { max-width: 68ch; }
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    margin: 0 0 18px;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    margin: 0 0 30px;
}
.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
    border: 0;
    border-bottom: 1px solid var(--leag-rule);
    padding: 15px 16px 15px 0;
    text-align: left;
    vertical-align: middle;
}
.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
    font-family: var(--leag-serif);
    font-weight: 400;
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--leag-body-soft, var(--leag-body));
    padding-top: 0;
}
.woocommerce-account .woocommerce-MyAccount-content table.shop_table a.button {
    background: transparent;
    color: var(--leag-ink);
    border: 0;
    border-bottom: 1px solid var(--leag-rule);
    border-radius: 0;
    padding: 2px 0;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.woocommerce-account .woocommerce-MyAccount-content table.shop_table a.button:hover {
    background: transparent;
    color: var(--leag-gold);
    border-bottom-color: var(--leag-gold);
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
    background: var(--leag-linen);
    border: 0;
    border-left: 2px solid var(--leag-gold);
    padding: 20px 24px;
    margin: 0 0 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ---- addresses ---------------------------------------------------------- */

.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(24px, 3vw, 44px);
    margin: 0;
}
/* Woo wraps each address in a .col-1 / .col-2 pair carrying `width: 48%` and a
   float — the columns of the layout it would otherwise have used. Inside the
   grid those percentages resolve against the track, so each address came out
   at 48% of its own cell. */
.woocommerce-account .woocommerce-Addresses > div { width: auto; float: none; padding: 0; }
.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after { content: none; display: none; }

.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--leag-rule);
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 { margin: 0; font-size: 1rem; }
.woocommerce-account .woocommerce-Address-title .edit {
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--leag-gold);
    white-space: nowrap;
}
.woocommerce-account .woocommerce-Address address { font-style: normal; line-height: 1.9; margin: 0; }

/* ---- forms -------------------------------------------------------------- */

.woocommerce-account .woocommerce-MyAccount-content form { max-width: 620px; }
.woocommerce-account .woocommerce-MyAccount-content form .form-row { margin: 0 0 20px; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-content form label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--leag-gold);
}
.woocommerce-account .woocommerce-MyAccount-content form input:not([type="checkbox"]):not([type="radio"]),
.woocommerce-account .woocommerce-MyAccount-content form select,
.woocommerce-account .woocommerce-MyAccount-content form textarea { width: 100%; }
/* A legend sits *on* its fieldset's border, so a border-top read as a line
   struck through the word. The rule moves to the legend instead. */
.woocommerce-account .woocommerce-MyAccount-content fieldset {
    border: 0;
    padding: 0;
    margin: 34px 0 24px;
}
.woocommerce-account .woocommerce-MyAccount-content legend {
    float: left;
    width: 100%;
    padding: 0 0 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--leag-rule);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--leag-gold);
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form__label-for-checkbox {
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--leag-body);
}

/* Woo's own button selectors carry an extra class or an id, so a plain rule
   loses on specificity — matched shape for shape, as elsewhere on the site. */
.woocommerce-account .woocommerce-MyAccount-content a.button,
.woocommerce-account .woocommerce-MyAccount-content button.button,
.woocommerce-account .woocommerce-MyAccount-content input.button,
.woocommerce-account .woocommerce-MyAccount-content button.woocommerce-Button,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-Button {
    background: var(--leag-ink);
    color: #fff;
    border: 1px solid var(--leag-ink);
    border-radius: 0;
    font-family: var(--leag-serif);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 13px 28px;
    transition: background-color .25s var(--leag-ease), border-color .25s var(--leag-ease);
}
.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
.woocommerce-account .woocommerce-MyAccount-content input.button:hover,
.woocommerce-account .woocommerce-MyAccount-content button.woocommerce-Button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-Button:hover {
    background: var(--leag-gold);
    border-color: var(--leag-gold);
}

/* ---- signed out: login / register --------------------------------------- */

.woocommerce-account:not(.logged-in) .woocommerce {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: clamp(28px, 4vw, 56px);
    max-width: 900px;
    align-items: start;
}
.woocommerce-account:not(.logged-in) .woocommerce form.login,
.woocommerce-account:not(.logged-in) .woocommerce form.register {
    border: 1px solid var(--leag-rule);
    border-radius: 0;
    padding: clamp(22px, 3vw, 34px);
    margin: 0;
    max-width: none;
}
.woocommerce-account:not(.logged-in) .woocommerce h2 { margin-top: 0; }

/* Password recovery uses the native Woo form, not the two-column login grid. */
body.woocommerce-lost-password { background:var(--client-paper, #faf7f0); color:var(--client-primary, #491a18); }
body.woocommerce-lost-password::before { display:none; }
body.woocommerce-lost-password #mw-content > .mw-container { padding:56px 20px 72px; }
body.woocommerce-lost-password #mw-content .leag-pagehead { max-width:560px; margin:0 auto 24px; padding:0; text-align:center; }
body.woocommerce-lost-password #mw-content .leag-pagehead__title { margin:0; text-align:center; color:var(--client-primary, #491a18); font:400 clamp(32px,4vw,44px)/1.2 'Lora',Georgia,serif; letter-spacing:-.04em; text-transform:none; }
body.woocommerce-lost-password #mw-content .woocommerce { display:block; box-sizing:border-box; width:100%; max-width:560px; margin:0 auto; padding:36px; border:1px solid var(--client-rule, #d9c9b4); background:var(--client-surface, #f8f3ea); color:var(--client-body, #55493f); font:400 16px/1.65 'Lora',Georgia,serif; letter-spacing:0; }
body.woocommerce-lost-password #mw-content form.lost_reset_password { width:100%; max-width:none; margin:0; padding:0; border:0; }
body.woocommerce-lost-password #mw-content form.lost_reset_password > p:first-child { margin:0 0 26px; }
body.woocommerce-lost-password #mw-content form.lost_reset_password .form-row { float:none; width:100%; margin:0 0 22px; padding:0; }
body.woocommerce-lost-password #mw-content form.lost_reset_password .form-row:last-of-type { margin-bottom:0; }
body.woocommerce-lost-password #mw-content form.lost_reset_password label { display:block; margin:0 0 8px; color:var(--client-primary, #491a18); font:400 14px/1.5 'Lora',Georgia,serif; letter-spacing:0; text-transform:none; }
body.woocommerce-lost-password #mw-content form.lost_reset_password input.input-text { display:block; box-sizing:border-box; width:100%; min-height:50px; padding:12px 14px; border:1px solid var(--client-rule, #bca88c); border-radius:0; background:var(--client-paper, #fffdf8); color:var(--client-primary, #491a18); box-shadow:none; font:400 16px/1.5 'Lora',Georgia,serif; }
body.woocommerce-lost-password #mw-content form.lost_reset_password button.button { display:flex; align-items:center; justify-content:center; width:100%; min-height:50px; margin:6px 0 0; padding:12px 22px; border:1px solid var(--client-hover, #662b27); border-radius:2px; background:var(--client-primary, #491a18); color:var(--client-on-dark, #fff5e5); box-shadow:0 3px 0 var(--client-deep, #2c0f0d); font:400 14px/1.5 'Lora',Georgia,serif; letter-spacing:.05em; text-transform:none; transition:transform .2s,box-shadow .2s; }
body.woocommerce-lost-password #mw-content form.lost_reset_password button.button:hover { background:var(--client-primary, #491a18); color:var(--client-on-dark, #fff5e5); transform:translateY(-2px); box-shadow:0 5px 0 var(--client-deep, #2c0f0d); }
body.woocommerce-lost-password #mw-content form.lost_reset_password button.button:disabled { opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; }
body.woocommerce-lost-password #mw-content :focus-visible { outline:2px solid var(--client-brown, #916326); outline-offset:3px; }
body.woocommerce-lost-password #mw-content .woocommerce-error { padding:16px 18px 16px 22px; margin-bottom:24px; background:#f8ece7; color:var(--client-hover, #752f27); border:1px solid #d8b4a8; border-left:3px solid #9b3b32; font:400 15px/1.6 'Lora',Georgia,serif; }
@media(max-width:600px) {
    body.woocommerce-lost-password #mw-content > .mw-container { padding:36px 20px 48px; }
    body.woocommerce-lost-password #mw-content .woocommerce { padding:24px 20px; }
    body.woocommerce-lost-password #mw-content .leag-pagehead { margin-bottom:20px; }
}
@media(prefers-reduced-motion:reduce) {
    body.woocommerce-lost-password #mw-content form.lost_reset_password button.button { transition:none; transform:none; }
}

/* ==========================================================================
   Mobile.

   The aside drops under the orders, and both tables stop being tables. A
   four-column order row cannot survive 390px — it either overflows the
   viewport or crushes every column to two characters. Below 720px each row
   becomes a labelled block, with the header hidden and the labels supplied by
   the `data-label` attributes on the cells.
   ========================================================================== */

@media (max-width: 900px) {
    .leag-account { grid-template-columns: 1fr; gap: 40px; }
    .leag-account__aside { border-top: 1px solid var(--leag-rule); padding-top: 30px; }
    .leag-account__aside .leag-account__h { border-bottom: 0; padding-bottom: 0; }
}

@media (max-width: 720px) {
    .woocommerce-account .woocommerce { max-width: none; }

    .leag-account__orders thead,
    .woocommerce-account .woocommerce-MyAccount-content table.shop_table thead {
        /* Not display:none — that drops the header out of the accessibility
           tree along with the layout. */
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .leag-account__orders,
    .leag-account__orders tbody,
    .leag-account__orders tr,
    .leag-account__orders td,
    .woocommerce-account .woocommerce-MyAccount-content table.shop_table,
    .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody,
    .woocommerce-account .woocommerce-MyAccount-content table.shop_table tr,
    .woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
        display: block;
        width: auto;
    }

    .leag-account__orders tr,
    .woocommerce-account .woocommerce-MyAccount-content table.shop_table tr {
        border-bottom: 1px solid var(--leag-rule);
        padding: 16px 0;
    }

    .leag-account__orders td,
    .woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
        border: 0;
        padding: 3px 0;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 18px;
        text-align: right;
    }

    /* Two attributes because the two tables come from different places: the
       dashboard template here writes data-label, and WooCommerce's own order
       and download tables write data-title. */
    .leag-account__orders td::before {
        content: attr(data-label);
        font-size: 0.625rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--leag-body-soft, var(--leag-body));
        text-align: left;
        flex: none;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.shop_table td::before {
        content: attr(data-title);
        font-size: 0.625rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--leag-body-soft, var(--leag-body));
        text-align: left;
        flex: none;
    }

    .leag-account__orders-action { text-align: right; padding-top: 10px; }
    .leag-account__orders-action::before { content: none; }

    .woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
    .woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
        display: block;
        padding: 18px 20px;
    }
    .woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
    .woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button { margin-top: 14px; }

    .woocommerce-account .woocommerce-MyAccount-content a.button,
    .woocommerce-account .woocommerce-MyAccount-content button.button,
    .woocommerce-account .woocommerce-MyAccount-content input.button {
        display: block;
        width: 100%;
        text-align: center;
    }

    .woocommerce-account .woocommerce-Address-title { flex-wrap: wrap; gap: 6px; }
}

@media (max-width: 480px) {
    .leag-account__nav { gap: 10px 16px; }
    .leag-account__back,
    .leag-account__logout { font-size: 0.6875rem; }
}

/* ==========================================================================
   Prices.

   One block for every price on the site rather than a weight and a size
   sprinkled through each component, so they stay in step with each other.

   `.woocommerce-Price-amount` is the span WooCommerce wraps around every
   formatted price it prints — loop, product, cart drawer, block cart,
   checkout, order history — so the weight only has to be set once. The sizes
   still belong to their contexts: a price in a 240px card and a price under a
   product title are not the same piece of type.
   ========================================================================== */

.woocommerce-Price-amount,
.leag-card__price,
.leag-marquee__price,
.leag-cart__price,
.leag-cart__line,
.wc-block-components-product-price,
.wc-block-components-totals-item__value,
.wc-block-formatted-money-amount {
    font-weight: 700;
}

/* A struck-through original should read as the quieter of the two, so it
   keeps the regular weight even inside a bolded price. */
del,
del .woocommerce-Price-amount,
.leag-card__price del,
.leag-marquee__price del { font-weight: 400; }

/* Sale prices carry the emphasis instead. */
ins,
ins .woocommerce-Price-amount { font-weight: 700; text-decoration: none; }

/* ---- sizes, by context -------------------------------------------------- */

/* Homepage rail cards */
.leag-card__price { font-size: 1.0625rem; }

/* Shop and category loops */
.woocommerce ul.products li.product .price { font-size: 1.0625rem; }

/* Homepage marquee — on a dark scrim, so it needs less size to carry */
.leag-marquee__price { font-size: 0.9375rem; }

/* Single product */
.woocommerce div.product p.price,
.woocommerce div.product span.price { font-size: 1.5rem; }
.woocommerce div.product p.price del { font-size: 1.125rem; }

/* Cart drawer */
.leag-cart__line { font-size: 1rem; }
.leag-cart__total .woocommerce-Price-amount { font-size: 1.125rem; }

/* Account order history */
.leag-account__orders td[data-label="Total"],
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td[data-title="Total"] { font-size: 1rem; }

/* The block cart and checkout style their totals through a two-class
   selector of their own, so the single-class rule above loses on
   specificity — the same trap as the checkout button. Matched shape for
   shape, and the figures nudged up to sit with the rest. */
.woocommerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-item .wc-block-components-totals-item__value {
    font-weight: 700;
    font-size: 1.125rem;
}

.wc-block-components-product-price,
.wc-block-components-product-price .wc-block-formatted-money-amount,
.wc-block-cart-item__total .wc-block-formatted-money-amount {
    font-size: 0.9375rem;
}

/* ==========================================================================
   Homepage polish.

   Three things, in order of how much they change the page:

   1. The hero now carries artwork, so it needs a scrim that protects the type
      without draining the painting. A flat 48% black over the whole frame does
      the second thing as well as the first.
   2. Section heads get a consistent shape — eyebrow, rule, title, lede — so
      the page reads as one document rather than six blocks that happened to
      land next to each other.
   3. The craft sequence.
   ========================================================================== */

/* ---- hero --------------------------------------------------------------- */

.leag-hero {
    min-height: clamp(520px, 82vh, 860px);
    background-position: center 42%;
    /* The figure's head sits above centre in the crop; biasing the focal point
       up keeps it in frame as the viewport gets shorter. */
    text-align: left;
    place-items: end start;
}

/* Weighted to the bottom-left, where the type is, instead of an even wash.
   The painting keeps its colour across the top two-thirds — which is the only
   reason to have put it there. */
.leag-hero::after {
    background:
        linear-gradient(to top, rgba(8, 18, 15, .72) 0%, rgba(8, 18, 15, .30) 46%, rgba(8, 18, 15, .12) 100%),
        linear-gradient(to right, rgba(8, 18, 15, .86) 0%, rgba(8, 18, 15, .74) 22%, rgba(8, 18, 15, .38) 46%, rgba(8, 18, 15, .06) 78%);
}

/* A hairline inset, the way a work is mounted inside a mount board. Sits above
   the scrim, so it reads as part of the framing rather than part of the image. */
.leag-hero::before {
    content: "";
    position: absolute;
    inset: clamp(14px, 2vw, 26px);
    border: 1px solid rgba(232, 215, 180, .28);
    z-index: 1;
    pointer-events: none;
}

.leag-hero__inner {
    max-width: 560px;
    width: 100%;
    z-index: 2;
    padding: 0 var(--leag-gutter) clamp(48px, 7vw, 88px);
    margin-inline: auto;
}

/* Line the hero copy up with the container the rest of the page uses, rather
   than letting it float against the viewport edge. */
@media (min-width: 1420px) {
    .leag-hero__inner { max-width: 1320px; padding-inline: 48px; }
    .leag-hero__inner > * { max-width: 520px; }
}

.leag-hero .leag-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--leag-gold-pale);
    opacity: 1;
    margin-bottom: 18px;
}
.leag-hero .leag-eyebrow::before {
    content: "";
    width: clamp(28px, 5vw, 54px);
    height: 1px;
    background: var(--leag-gold);
}

.leag-hero__title {
    /* Held back from the full width the scrim can carry: measured over the
       artwork, white type stops being comfortable past about 520px here. */
    font-size: clamp(2.35rem, 4.6vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 0.32em;
    text-shadow: 0 1px 30px rgba(8, 18, 15, .35);
}

.leag-hero__lede {
    font-size: clamp(1rem, 1.35vw, 1.1875rem);
    margin: 0 0 2.1em;
    max-width: 44ch;
    opacity: .94;
}

/* A quiet cue that there is more below. Hidden once the page has moved, and
   never shown to anyone who has asked for less motion. */
.leag-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.625rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(232, 215, 180, .8);
    pointer-events: none;
    transition: opacity .4s var(--leag-ease);
}
.leag-hero__scroll::after {
    content: "";
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, rgba(232, 215, 180, .7), rgba(232, 215, 180, 0));
    animation: leag-scrollcue 2.4s var(--leag-ease) infinite;
    transform-origin: top;
}
@keyframes leag-scrollcue {
    0%   { transform: scaleY(0); opacity: 0; }
    35%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}
body.is-scrolled .leag-hero__scroll { opacity: 0; }

@media (max-width: 780px) {
    /* A left-weighted scrim buys nothing on a phone, where the type spans the
       full width — the whole column is "left". Bottom-weighted instead, and
       heavier, because the copy sits over the middle of the painting rather
       than beside it. */
    .leag-hero::after {
        background: linear-gradient(to top,
            rgba(8, 18, 15, .90) 0%,
            rgba(8, 18, 15, .74) 40%,
            rgba(8, 18, 15, .38) 72%,
            rgba(8, 18, 15, .20) 100%);
    }
    .leag-hero .leag-eyebrow { font-size: 0.625rem; letter-spacing: 0.2em; }
}

@media (max-width: 720px) {
    .leag-hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .leag-hero__scroll::after { animation: none; }
}

/* ---- section heads ------------------------------------------------------ */

.leag-section__head--center {
    /* The base .leag-section__head is a flex row — it carries the rail's prev
       and next buttons opposite its title. A centred head has no second child
       to push apart, and left as flex the eyebrow, title and lede set
       themselves side by side in three columns. */
    display: block;
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: clamp(38px, 5vw, 64px);
}
.leag-section__head--center .leag-eyebrow { margin-bottom: 14px; }
.leag-section__head--center .leag-section__title { margin: 0 0 0.5em; }
.leag-section__lede {
    margin: 0;
    color: var(--leag-body);
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* ---- craft sequence ----------------------------------------------------- */

.leag-craft {
    padding-block: var(--leag-section);
    background: rgba(238, 231, 216, 0.55);
    border-top: 1px solid var(--leag-rule);
    border-bottom: 1px solid var(--leag-rule);
}

.leag-craft__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(18px, 2.4vw, 34px);
    counter-reset: none;
}

.leag-craft__step {
    position: relative;
    padding-top: 26px;
    border-top: 1px solid var(--leag-rule);
}

/* The rule above each step carries a gold tick at its start, so the row reads
   as a sequence rather than five unrelated columns. */
.leag-craft__step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 34px;
    height: 1px;
    background: var(--leag-gold);
}

.leag-craft__num {
    display: block;
    font-family: var(--leag-serif);
    font-size: 0.6875rem;
    letter-spacing: 0.22em;
    color: var(--leag-gold);
    margin-bottom: 18px;
}

.leag-craft__icon {
    display: block;
    color: var(--leag-ink);
    margin-bottom: 16px;
}
.leag-craft__icon .leag-icon {
    width: 26px;
    height: 26px;
    stroke-width: 1;
}

.leag-craft__title {
    font-family: var(--leag-display);
    font-size: 1.1875rem;
    margin: 0 0 10px;
}

.leag-craft__body {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--leag-body);
}

@media (max-width: 1100px) {
    .leag-craft__steps { grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
}
@media (max-width: 720px) {
    .leag-craft__steps { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
}
@media (max-width: 480px) {
    .leag-craft__steps { grid-template-columns: 1fr; gap: 28px; }
    .leag-craft__body { font-size: 0.9375rem; }
}

/* ==========================================================================
   Works as objects.

   The photographs already contain an ornate frame shot against a pale wall,
   so on a pale ground each work dissolved into the page — the only thing
   giving it an edge was the darkness of its own timber. These give each piece
   a mount and a shadow, so it reads as an object hung on a wall rather than a
   picture printed on the page.

   The mount is a border rather than padding on purpose: `overflow: hidden`
   clips at the padding box, which includes padding, so a hover zoom would
   have bled over a padded mount. A border puts the clip exactly at the
   mount's inner edge.
   ========================================================================== */

.leag-card__frame,
.leag-cat__img {
    border: clamp(7px, 0.9vw, 13px) solid var(--leag-canvas);
    /* A hairline just outside the mount, in gold at low strength — the same
       line a framer would run between mount and moulding. */
    outline: 1px solid rgba(169, 127, 62, 0.30);
    outline-offset: 0;
    box-shadow:
        0 1px 2px rgba(17, 32, 29, 0.06),
        0 16px 34px -22px rgba(17, 32, 29, 0.45);
    transition:
        transform .45s var(--leag-ease),
        box-shadow .45s var(--leag-ease),
        outline-color .45s var(--leag-ease);
}

.leag-card__link:hover .leag-card__frame,
.leag-cat:hover .leag-cat__img {
    transform: translateY(-5px);
    box-shadow:
        0 2px 4px rgba(17, 32, 29, 0.07),
        0 30px 50px -26px rgba(17, 32, 29, 0.55);
    outline-color: rgba(169, 127, 62, 0.62);
}

/* A painting does not zoom. The lift above carries the hover on its own, and
   the scale only ever cropped the frame the photograph already had in it. */
.leag-card__link:hover .leag-card__frame img { transform: none; }

/* ---- caption ------------------------------------------------------------ */

.leag-card__link {
    display: block;
    gap: 0;
}

.leag-card__name,
.leag-card__price {
    display: block;
    text-align: center;
}

.leag-card__name {
    margin-top: 20px;
    line-height: 1.35;
}

/* A hairline between the work and its label, the width of the caption — the
   gallery-label convention, and it closes the gap that left the price
   floating unattached to anything. */
.leag-card__name::after {
    content: "";
    display: block;
    width: 26px;
    height: 1px;
    margin: 12px auto 10px;
    background: var(--leag-gold);
    opacity: .55;
}

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

.leag-card__flag {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(17, 32, 29, 0.86);
    color: var(--leag-gold-pale);
    padding: 8px 12px;
}

/* ---- category tiles ----------------------------------------------------- */

.leag-cat__label {
    display: block;
    text-align: center;
    margin-top: 18px;
}

/* Nothing to show yet — a mount around an empty box only draws attention to
   it, so an unfilled tile stays flat and quiet instead. */
.leag-cat__img:not([style*="background-image"]) {
    border-width: 0;
    outline: 1px solid var(--leag-rule);
    box-shadow: none;
}

/* The shop and category loops use WooCommerce's own markup rather than the
   card above, so the same mount is applied to the image itself. Without this
   the homepage would present works as objects and the shop would go back to
   printing them flat on the page. */
.woocommerce ul.products li.product a img {
    border: clamp(7px, 0.9vw, 13px) solid var(--leag-canvas);
    outline: 1px solid rgba(169, 127, 62, 0.30);
    box-shadow:
        0 1px 2px rgba(17, 32, 29, 0.06),
        0 16px 34px -22px rgba(17, 32, 29, 0.45);
    transition:
        transform .45s var(--leag-ease),
        box-shadow .45s var(--leag-ease),
        outline-color .45s var(--leag-ease);
}
.woocommerce ul.products li.product:hover a img {
    /* Woo's own rule fades the image on hover; the lift replaces it. */
    opacity: 1;
    transform: translateY(-5px);
    box-shadow:
        0 2px 4px rgba(17, 32, 29, 0.07),
        0 30px 50px -26px rgba(17, 32, 29, 0.55);
    outline-color: rgba(169, 127, 62, 0.62);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price { text-align: center; }

.woocommerce ul.products li.product .woocommerce-loop-product__title::after {
    content: "";
    display: block;
    width: 26px;
    height: 1px;
    margin: 12px auto 10px;
    background: var(--leag-gold);
    opacity: .55;
}

/* ---- marquee: the same mount as the cards ------------------------------- */

/* The item was a full-bleed image with the caption scrimmed over its foot.
   With a mount that reads as two competing frames, so the caption comes out
   from under the artwork and sits below it, as on the rail. */
.leag-marquee__item {
    overflow: visible;
    background: transparent;
}

.leag-marquee__img {
    border: clamp(7px, 0.9vw, 13px) solid var(--leag-canvas);
    outline: 1px solid rgba(169, 127, 62, 0.30);
    box-shadow:
        0 1px 2px rgba(17, 32, 29, 0.06),
        0 16px 34px -22px rgba(17, 32, 29, 0.45);
    transition:
        transform .45s var(--leag-ease),
        box-shadow .45s var(--leag-ease),
        outline-color .45s var(--leag-ease);
}
.leag-marquee__item:hover .leag-marquee__img {
    transform: translateY(-5px);
    box-shadow:
        0 2px 4px rgba(17, 32, 29, 0.07),
        0 30px 50px -26px rgba(17, 32, 29, 0.55);
    outline-color: rgba(169, 127, 62, 0.62);
}

.leag-marquee__cap {
    position: static;
    display: block;
    padding: 0;
    background: none;
    color: var(--leag-ink);
    text-align: center;
}
.leag-marquee__name {
    display: block;
    margin-top: 20px;
    color: var(--leag-ink);
}
.leag-marquee__name::after {
    content: "";
    display: block;
    width: 26px;
    height: 1px;
    margin: 12px auto 10px;
    background: var(--leag-gold);
    opacity: .55;
}
.leag-marquee__price { display: block; color: var(--leag-ink); }

/* The mask that feathered the strip's ends clipped the shadows flat. Room is
   made for them instead, and the fade is pushed past where they fall. */
.leag-marquee__viewport {
    padding-block: 6px 34px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

/* ==========================================================================
   Thanjavur devices.

   Restrained on purpose: the tradition's ornament is dense, and repeating it
   across a shop tips quickly from refined into pastiche, which would undercut
   a five-figure price. Three devices only — the cusped arch, one divider, and
   a burnish on the gold — used where they do work rather than everywhere they
   would fit.
   ========================================================================== */

/* ---- pearl-and-lotus divider -------------------------------------------- */

.leag-section__head--center::before {
    content: "";
    display: block;
    height: 34px;
    margin: 0 auto 22px;
    background: url("../img/ornament.svg") center / 300px 34px no-repeat;
}

/* ---- burnished gold rules ----------------------------------------------- */

/* Flat gold reads as a printed line. A three-stop gradient gives the same
   rule a highlight along its length, which is what foil actually does. */
.leag-card__name::after,
.leag-marquee__name::after,
.woocommerce ul.products li.product .woocommerce-loop-product__title::after {
    width: 34px;
    background: linear-gradient(90deg,
        rgba(169, 127, 62, .25),
        var(--leag-gold-bright) 48%,
        rgba(169, 127, 62, .25));
    opacity: 1;
}

.leag-hero .leag-eyebrow::before,
.leag-craft__step::before {
    background: linear-gradient(90deg, var(--leag-gold-bright), rgba(169, 127, 62, .15));
}



/* ==========================================================================
   Mounts — rectangular, with a gold fillet that cannot break.

   The arch is gone: on a gallery site the work has to be shown whole, and any
   shaped mount is a decision imposed on someone else's composition.

   The gold line stays, but not as a CSS `outline`. An outline sits outside the
   border box, which is why it kept failing: the rail is a scroll container and
   clipped the outer edge of the first and last card, and the marquee animates
   on fractional pixels, so a 1px line landed between device pixels and dropped
   out for part of every cycle.

   It is now a real border on a pseudo-element sitting inside the mount — a
   framer's fillet between mount and artwork. Nothing outside the element can
   clip it, and it lands on the pixel grid with the element it belongs to.
   ========================================================================== */

.leag-card__frame,
.leag-marquee__img,
.leag-cat__img {
    position: relative;
    border: clamp(7px, 0.9vw, 13px) solid var(--leag-canvas);
    outline: 0;
    filter: none;
    box-shadow:
        0 1px 2px rgba(17, 32, 29, 0.06),
        0 16px 34px -22px rgba(17, 32, 29, 0.45);
    transition: transform .45s var(--leag-ease), box-shadow .45s var(--leag-ease);
}

.leag-card__frame::after,
.leag-marquee__img::after,
.leag-cat__img::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: none;
    border: 1px solid rgba(169, 127, 62, 0.45);
    pointer-events: none;
    transition: border-color .45s var(--leag-ease);
}

.leag-card__link:hover .leag-card__frame,
.leag-marquee__item:hover .leag-marquee__img,
.leag-cat:hover .leag-cat__img {
    transform: translateY(-5px);
    filter: none;
    box-shadow:
        0 2px 4px rgba(17, 32, 29, 0.07),
        0 30px 50px -26px rgba(17, 32, 29, 0.55);
}
.leag-card__link:hover .leag-card__frame::after,
.leag-marquee__item:hover .leag-marquee__img::after,
.leag-cat:hover .leag-cat__img::after {
    border-color: rgba(169, 127, 62, 0.75);
}
/* Gutenberg integration -------------------------------------------------- */
.leag-section-block {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Gallery sections can be inserted on ordinary pages as full-bleed blocks,
   even though the classic page template constrains prose to 76 characters. */
.entry-content > .wp-block-leag-hero,
.entry-content > .wp-block-leag-featured-artworks,
.entry-content > .wp-block-leag-categories,
.entry-content > .wp-block-leag-craft,
.entry-content > .wp-block-leag-artwork-marquee,
.entry-content > .wp-block-leag-testimonials,
.entry-content > .wp-block-leag-faq,
.entry-content > .wp-block-leag-instagram {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-top: 0;
    margin-left: -50vw;
}

.wp-block-button.is-style-leag-line .wp-block-button__link {
    border: 1px solid var(--leag-ink);
    border-radius: 0;
    background: transparent;
    color: var(--leag-ink);
    font-size: .75rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.wp-block-button.is-style-leag-line .wp-block-button__link:hover,
.wp-block-button.is-style-leag-line .wp-block-button__link:focus-visible {
    border-color: var(--leag-gold);
    background: var(--leag-gold);
    color: #fff;
}

.wp-block-image.is-style-leag-mounted img {
    padding: clamp(8px, 1.2vw, 16px);
    border: 1px solid var(--leag-rule);
    background: var(--leag-canvas);
    box-shadow: 0 12px 30px rgba(17, 32, 29, .12);
}

.wp-block-quote.is-style-leag-collector {
    margin-inline: 0;
    padding: clamp(24px, 4vw, 46px);
    border: 0;
    background: var(--leag-linen);
    color: var(--leag-ink);
}

.wp-block-quote.is-style-leag-collector cite {
    color: var(--leag-gold);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ==========================================================================
   2026 devotional storefront redesign
   ========================================================================== */

:root {
    --leag-ink: var(--client-primary, #32100b);
    --leag-ink-deep: var(--client-deep, #1d0906);
    --leag-maroon: var(--client-primary, #4a0b08);
    --leag-maroon-bright: var(--client-hover, #651410);
    --leag-body: var(--client-body, #3e2a20);
    --leag-body-soft: rgba(62, 42, 32, .72);
    --leag-gold: var(--client-brown, #b9832f);
    --leag-gold-bright: var(--client-tan, #d3a34e);
    --leag-gold-pale: var(--client-dark-accent, #ecd9a7);
    --leag-canvas: var(--client-surface, #fbf3e4);
    --leag-linen: var(--client-surface, #f5ead6);
    --leag-rule: var(--client-rule, #dbc69c);
    --leag-serif: "Lora", Georgia, serif;
    --leag-display: "Cormorant Garamond", Georgia, serif;
    --leag-sans: "Montserrat", Arial, sans-serif;
}

body {
    background-color: var(--leag-canvas);
    background-image: url("../img/sand.png");
    color: var(--leag-body);
    font-family: var(--leag-serif);
    font-size: 15px;
    letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--leag-display);
    color: var(--leag-ink);
    font-weight: 600;
    letter-spacing: .01em;
}

.leag-shell { --leag-shell: 1440px; }

.dashicons.leag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 1;
}

.leag-btn {
    min-height: 46px;
    border-color: var(--leag-gold);
    border-radius: 3px;
    font-family: var(--leag-serif);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.leag-btn--solid,
.leag-btn--gold {
    border-color: var(--leag-gold);
    background: var(--leag-gold);
    color: var(--leag-ink-deep);
}

.leag-hero:not(.leag-hero--plain) .leag-btn--solid {
    border-color: var(--leag-gold);
    background: var(--leag-gold);
    color: var(--leag-ink-deep);
}

.leag-btn--solid:hover,
.leag-btn--gold:hover {
    border-color: var(--leag-gold-bright);
    background: var(--leag-gold-bright);
    color: var(--leag-ink-deep);
}

/* Header ---------------------------------------------------------------- */

.leag-header {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--leag-gold);
    background: var(--leag-canvas);
    color: var(--leag-ink);
    box-shadow: 0 5px 18px rgba(50, 16, 11, .08);
}

.admin-bar .leag-header { top: 32px; }

.leag-proofbar {
    order: 0;
    min-height: 32px;
    background: var(--leag-maroon);
    color: var(--leag-gold-pale);
    font-size: .66rem;
    letter-spacing: .04em;
}

.leag-proofbar__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    min-height: 32px;
}

.leag-proofbar__inner span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}

.leag-proofbar__inner span:first-child { justify-content: flex-start; }
.leag-proofbar__inner span:last-child { justify-content: flex-end; }
.leag-proofbar .leag-icon { width: 14px; height: 14px; font-size: 14px; color: var(--leag-gold); }

.leag-header__bar {
    order: 1;
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(520px, 1.8fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 88px;
}

.leag-header__side--start,
.leag-header__side--end {
    position: static;
    display: flex;
    align-items: center;
    gap: 17px;
    width: auto;
}

.leag-header__side--end { justify-content: flex-end; }

.leag-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--leag-ink);
}

.leag-wordmark__img,
.leag-header .leag-wordmark__img {
    width: 62px;
    height: 68px;
    object-fit: contain;
    filter: none;
}

.leag-wordmark__copy { display: flex; flex-direction: column; min-width: 0; }
.leag-wordmark__name { font-family: var(--leag-display); font-size: 1.55rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.leag-wordmark__sub { margin-top: 5px; color: var(--client-muted, #765b43); font-size: .59rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }

.leag-nav {
    position: static;
    display: block;
    height: auto;
    border: 0;
    background: transparent;
}

.leag-nav__list { justify-content: center; gap: clamp(18px, 2.2vw, 36px); }
.leag-nav__link { min-height: 42px; padding: 0; color: var(--leag-ink); font-size: .79rem; font-weight: 500; letter-spacing: .01em; text-transform: none; white-space: nowrap; }
.leag-nav__link:hover { color: var(--leag-gold); }
.leag-nav__caret { width: 15px !important; height: 15px !important; font-size: 15px !important; }

.leag-util { color: var(--leag-ink); }
.leag-util:hover { color: var(--leag-gold); }
.leag-util .leag-icon {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.leag-util--account .leag-icon { width: 24px; height: 24px; }
.leag-util--wishlist.is-active .leag-icon { fill: currentColor; }
.leag-util--burger { display: none; }
.leag-util__count { border-color: var(--leag-canvas); background: var(--leag-maroon); color: #fff; }
.leag-header--condensed .leag-header__bar,
.leag-header--compact .leag-header__bar { min-height: 72px; }
.leag-header--condensed .leag-wordmark__img,
.leag-header--compact .leag-wordmark__img { width: 48px; height: 52px; }

.leag-mega {
    top: calc(100% + 20px);
    border: 1px solid var(--leag-rule);
    background: var(--leag-canvas);
    box-shadow: 0 16px 36px rgba(50, 16, 11, .14);
}

/* Hero ------------------------------------------------------------------ */

.leag-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background-color: var(--leag-ink-deep);
    background-image: var(--leag-hero-img);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.leag-hero::before,
.leag-hero::after { display: none; }

.leag-hero__inner {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: min(52vw, 760px);
    max-width: 760px;
    min-height: 620px;
    margin-left: max(var(--leag-gutter), calc((100vw - 1440px) / 2 + var(--leag-gutter)));
    padding: 72px 0 80px;
    text-align: left;
}

.leag-hero .leag-eyebrow {
    margin-bottom: 18px;
    color: var(--client-tan, #d9a33c);
    font-family: var(--leag-sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
}
.leag-hero .leag-eyebrow::before { display: none; }
.leag-hero__title {
    max-width: 760px;
    margin-bottom: 26px;
    color: var(--client-paper, #fff8e9);
    font-family: "Lora", Georgia, serif;
    font-size: clamp(3.7rem, 4.35vw, 4.5rem);
    font-style: normal;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.08;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .42);
}
.leag-hero__title-line { display: block; }
.leag-hero__lede {
    max-width: 700px;
    margin: 0 0 36px;
    color: rgba(255, 250, 240, .9);
    font-family: var(--leag-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.65;
}
.leag-hero .leag-btn {
    min-width: 320px;
    min-height: 54px;
    padding: 14px 28px;
    border: 1px solid var(--client-tan, #e3ad4f);
    border-radius: 6px;
    background: var(--client-tan, #dca343);
    color: var(--client-deep, #241006);
    box-shadow: inset 0 1px 0 rgba(255, 239, 191, .48), 0 2px 0 rgba(77, 31, 6, .7);
    font-family: var(--leag-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .035em;
    transform: translateY(0);
    transition: transform .2s var(--leag-ease), box-shadow .2s var(--leag-ease), background-color .2s var(--leag-ease), border-color .2s var(--leag-ease);
    will-change: transform;
}
.leag-hero:not(.leag-hero--plain) .leag-btn--solid:hover,
.leag-hero:not(.leag-hero--plain) .leag-btn--solid:focus-visible {
    border-color: var(--leag-gold);
    background: var(--leag-gold);
    color: var(--leag-ink-deep);
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 239, 191, .58), 0 7px 0 var(--client-brown, #71320d), 0 12px 22px rgba(0, 0, 0, .38);
}
.leag-hero:not(.leag-hero--plain) .leag-btn--solid:active {
    transform: translateY(2px);
    box-shadow: inset 0 1px 0 rgba(255, 239, 191, .38), 0 1px 0 var(--client-brown, #71320d), 0 4px 9px rgba(0, 0, 0, .28);
}
.leag-hero .leag-btn .leag-icon,
.leag-hero .leag-btn__arrow { width: 15px; height: 15px; stroke-width: 2; }
.leag-hero-assurance {
    position: relative;
    border-block: 1px solid rgba(211, 163, 78, .58);
    background-color: var(--client-deep, #210705);
    background-image: url("../img/assurance-texture-v1.jpg");
    background-position: center;
    background-size: cover;
    color: var(--client-on-dark, #fff3d7);
}
.leag-hero-assurance::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .24);
    pointer-events: none;
}
.leag-hero__benefits {
    position: relative;
    z-index: 2;
}
.leag-hero__scroll { display: none; }

.leag-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.leag-benefits li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 88px;
    padding: 13px 20px;
    border-right: 1px solid rgba(219, 198, 156, .42);
}
.leag-benefits li:last-child { border-right: 0; }
.leag-benefits .leag-icon { color: var(--leag-gold); font-size: 31px; width: 31px; height: 31px; }
.leag-benefits span { display: flex; flex-direction: column; }
.leag-benefits strong { font-family: var(--leag-display); font-size: 1rem; line-height: 1.15; }
.leag-benefits small { margin-top: 3px; font-size: .58rem; letter-spacing: .02em; }
.leag-benefits--hero {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: transparent;
}
.leag-benefits--hero li {
    flex-direction: column;
    gap: 8px;
    min-height: 154px;
    padding: 16px 14px 18px;
    border-right: 0;
    text-align: center;
}
.leag-benefits--hero .leag-icon { width: 82px; height: 82px; }
.leag-benefits--hero .leag-icon--asset { object-fit: contain; filter: contrast(1.08) saturate(1.08) drop-shadow(0 2px 4px rgba(0, 0, 0, .32)); }
.leag-benefits--hero strong { color: var(--client-on-dark, #fff5de); font-size: .98rem; line-height: 1.15; }
.leag-benefits--hero small { margin-top: 3px; color: rgba(255, 243, 215, .77); font-size: .58rem; line-height: 1.3; }

@media (min-width: 1181px) {
    .leag-hero { background-position: left center; }
}

/* Collection grid ------------------------------------------------------- */

.leag-cats {
    scroll-margin-top: 136px;
    padding: 24px clamp(20px, 1.64vw, 28px);
    border-top: 2px solid var(--client-primary, #3a100b);
    border-bottom: 2px solid var(--client-primary, #3a100b);
    background-color: var(--client-surface, #f8f1e6);
    background-image: url("../img/sand.png");
    background-size: 192px 192px;
    background-blend-mode: multiply;
    box-shadow:
        inset 0 1px 0 rgba(194, 142, 58, .9),
        inset 0 -1px 0 rgba(194, 142, 58, .9);
}

.leag-cats .leag-shell { position: relative; max-width: none; padding: 36px 30px; border: 0; box-shadow: none; }
.leag-cats .leag-shell::before { content: ""; position: absolute; inset: 0; z-index: 3; box-sizing: border-box; border: 26px solid transparent; border-image: url("../img/collection-frame-v1.png") 120 / 26px / 0 stretch; opacity: .38; pointer-events: none; }
.leag-cats .leag-section__title,
.leag-cats .leag-title-ornament,
.leag-cats__grid { position: relative; z-index: 1; }
.leag-cats .leag-section__title { color: var(--leag-ink); font-size: 1.25rem; font-weight: 600; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.leag-rail-section .leag-section__title { color: var(--leag-ink); font-size: clamp(2.2rem, 3vw, 3.35rem); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.leag-title-ornament { display: block; width: 40px; height: 8px; margin: 0 auto 7px; background: url("../img/ornament.svg") center/contain no-repeat; }
.leag-cats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px; }
.leag-cat { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 0; color: var(--leag-ink); text-align: center; }
.leag-cat__img { display: block; width: 100%; height: clamp(225px, 15vw, 250px); padding: 4px; overflow: hidden; border: 1px solid var(--client-brown, #aa8145); background: var(--client-sand, #e8d8bd); box-shadow: 0 0 0 2px rgba(190, 156, 99, .34), 0 4px 10px rgba(50, 16, 11, .12); }
.leag-cat__img img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: var(--client-body, #2d1a12); transition: transform .4s ease; }
.leag-cat:hover .leag-cat__img img { transform: scale(1.025); }
.leag-cat__label { margin-top: 10px; font-family: var(--leag-display); font-size: 1rem; font-weight: 600; line-height: 1.1; letter-spacing: 0; }
.leag-cat__cta { display: flex; align-items: center; gap: 3px; margin-top: 3px; font-family: var(--leag-sans); font-size: .5rem; font-weight: 500; letter-spacing: .045em; text-transform: uppercase; }
.leag-cat__cta .leag-icon { width: 10px; height: 10px; font-size: 10px; }

/* Heritage story -------------------------------------------------------- */

.leag-craft { position: relative; height: 320px; scroll-margin-top: 136px; padding: 4px 0; overflow: hidden; border-block: 1px solid var(--leag-gold); background-color: var(--client-primary, #350b08); background-image: url("../img/assurance-texture-v1.jpg"); background-position: center; background-size: cover; color: var(--client-surface, #f8ecd4); }
.leag-craft::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(18, 2, 1, .52); pointer-events: none; }
.leag-craft::after { content: ""; position: absolute; inset: 4px 8px; z-index: 1; border: 1px solid rgba(211, 163, 78, .28); pointer-events: none; }
.leag-craft__layout { position: relative; z-index: 2; display: grid; grid-template-columns: 344px minmax(0, 1fr); gap: 0; align-items: stretch; max-width: none; height: 100%; padding: 12px 52px 7px 56px; }
.leag-craft__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; min-width: 0; padding: 20px 20px 0 21px; }
.leag-craft .leag-eyebrow { display: none; }
.leag-craft .leag-section__title { max-width: 300px; margin: 0 0 20px; color: var(--leag-gold-pale); font-size: 1.375rem; font-weight: 500; line-height: 1.02; letter-spacing: .015em; text-transform: uppercase; }
.leag-craft .leag-section__lede { max-width: 285px; margin: 0 0 20px; color: rgba(255, 244, 220, .88); font-family: var(--leag-sans); font-size: .625rem; line-height: 1.58; letter-spacing: 0; }
.leag-craft .leag-btn { min-width: 104px; min-height: 26px; gap: 4px; padding: 5px 15px; border-color: var(--client-tan, #cf9a3e); border-radius: 4px; font-family: var(--leag-sans); font-size: .55rem; font-weight: 600; letter-spacing: .06em; }
.leag-craft .leag-btn .leag-icon { width: 10px; height: 10px; }
.leag-craft__gallery { display: grid; grid-template-columns: 1.06fr .6fr .99fr; gap: 8px; min-width: 0; min-height: 0; }
.leag-craft__image { position: relative; min-width: 0; min-height: 0; height: 100%; margin: 0; overflow: hidden; border: 1px solid rgba(211, 163, 78, .7); }
.leag-craft__image img { width: 100%; height: 100%; object-fit: cover; }
.leag-craft__image figcaption { display: none; }
.leag-craft__image figcaption .leag-icon { color: var(--leag-gold); }
.leag-craft__image figcaption span { display: flex; flex-direction: column; }
.leag-craft__image figcaption strong { font-family: var(--leag-display); font-size: 1rem; }
.leag-craft__image figcaption small { display: none; }

/* Featured products ----------------------------------------------------- */

.leag-rail-section { padding: 56px 0 0; background-color: var(--leag-canvas); background-image: url("../img/sand.png"); }
.leag-rail-section .leag-section__head { align-items: center; justify-content: center; margin-bottom: 28px; }
.leag-rail__nav { position: absolute; right: var(--leag-gutter); }
.leag-rail { gap: 24px; padding-bottom: 32px; }
.leag-card { flex: 0 0 calc((100% - 96px) / 5); min-width: 0; padding: 0; background: transparent; }
.leag-card__frame { height: 320px; padding: 7px; border: 1px solid var(--leag-gold); background: var(--client-sand, #eadbc1); box-shadow: 0 8px 22px rgba(50, 16, 11, .12); }
.leag-card__frame img { width: 100%; height: 100%; object-fit: cover; }
.leag-card__name { margin-top: 12px; font-family: var(--leag-display); font-size: 1.15rem; font-weight: 600; }
.leag-card__size { display: block; margin-top: 2px; color: var(--client-muted, #78614e); font-size: .63rem; }
.leag-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
.leag-card__price { color: var(--leag-maroon); font-family: var(--leag-serif); font-size: 1rem; font-weight: 600; }
.leag-card__actions { display: flex; gap: 9px; }
.leag-card__wish,
.leag-card__cart { display: inline-flex !important; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0 !important; padding: 0 !important; border: 1px solid transparent; border-radius: 50%; background: transparent !important; color: var(--leag-ink) !important; }
.leag-card__cart { border-color: var(--leag-gold); background: var(--leag-gold) !important; }
.leag-card__wish:hover,
.leag-card__wish.is-active { color: var(--leag-maroon) !important; }
.leag-card__wish.is-active { background: #efd8d0 !important; }
.leag-featured-benefits { border: 1px solid var(--leag-rule); }
.leag-featured-benefits .leag-benefits { background: rgba(255, 250, 240, .84); }

/* Footer ---------------------------------------------------------------- */

.leag-footer { border-top: 1px solid var(--leag-gold); background: var(--leag-ink-deep); color: rgba(255, 243, 215, .75); }
.leag-footer__newsletter { border-bottom: 1px solid rgba(211, 163, 78, .48); background: var(--leag-maroon); }
.leag-footer__newsletter-inner { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 60px; padding-block: 30px; }
.leag-footer__newsletter .leag-eyebrow { color: var(--leag-gold-bright); }
.leag-footer__newsletter h2 { margin: 0; color: var(--leag-gold-pale); font-size: 2.25rem; text-transform: uppercase; }
.leag-footer__newsletter p { margin: 3px 0 0; font-size: .75rem; }
.leag-news__field { display: grid; grid-template-columns: 1fr auto; border: 0; }
.leag-news__field input { min-height: 46px; padding: 0 17px; border: 0; background: var(--client-paper, #fffaf0); color: var(--leag-ink); }
.leag-news__go { min-width: 130px; border: 0; background: var(--leag-gold); color: var(--leag-ink-deep); font-family: var(--leag-serif); font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.leag-footer__grid { grid-template-columns: 1.6fr .8fr .9fr .7fr; padding-block: 48px 36px; }
.leag-footer .leag-wordmark { color: var(--leag-gold-pale); }
.leag-footer .leag-wordmark__img { width: 76px; height: 82px; }
.leag-footer .leag-wordmark__sub { color: rgba(255, 243, 215, .62); }
.leag-footer__title { color: var(--leag-gold-pale); font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.leag-footer a { color: rgba(255, 243, 215, .78); }
.leag-footer a:hover { color: var(--leag-gold-bright); }
.leag-footer__fine { border-top-color: rgba(211, 163, 78, .24); }

/* Shop archive ---------------------------------------------------------- */

.leag-woo { max-width: 1440px; padding-top: 0; }
.woocommerce-products-header { margin: 0 calc(50% - 50vw) 34px; padding: 34px max(var(--leag-gutter), calc((100vw - 1440px) / 2 + var(--leag-gutter))); background: var(--leag-maroon); color: var(--leag-gold-pale); text-align: left; }
.woocommerce-products-header__title { color: var(--leag-gold-pale); font-family: var(--leag-display); font-size: 3rem; text-transform: none; }
.woocommerce .leag-crumbs { margin: 0 calc(50% - 50vw); padding: 13px max(var(--leag-gutter), calc((100vw - 1440px) / 2 + var(--leag-gutter))); background: var(--client-primary, #35100c); color: rgba(255, 243, 215, .72); }
.woocommerce .leag-crumbs a { color: var(--leag-gold-pale); }
.woocommerce ul.products { gap: 34px 26px; }
.woocommerce ul.products li.product { padding: 9px 9px 17px; border: 1px solid rgba(185, 131, 47, .32); background: rgba(255, 249, 238, .84); }
.woocommerce ul.products li.product a img { aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--leag-gold); background: var(--client-sand, #e9dac0); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--leag-ink); font-family: var(--leag-display); font-size: 1.25rem; font-weight: 600; text-align: left; }
.woocommerce ul.products li.product .price { color: var(--leag-maroon); font-weight: 600; text-align: left; }
.woocommerce ul.products li.product .button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; float: right; overflow: hidden; padding: 0; border-radius: 50%; background: var(--leag-gold); color: transparent; font-size: 0; }
.woocommerce ul.products li.product .button::before { content: "\f174"; color: var(--leag-ink-deep); font: normal 20px/1 dashicons; }

/* Single product -------------------------------------------------------- */

.woocommerce div.product { padding-top: 34px; }
.woocommerce div.product .woocommerce-product-gallery { padding: 12px; border: 1px solid var(--leag-rule); background: rgba(255, 249, 238, .82); }
.woocommerce div.product .woocommerce-product-gallery__image img { max-height: 690px; object-fit: contain; }
.woocommerce div.product .product_title { font-family: var(--leag-display); font-size: clamp(2.5rem, 4vw, 4.2rem); font-weight: 600; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--leag-maroon); font-size: 1.65rem; font-weight: 600; }
.leag-particulars { border-block: 1px solid var(--leag-rule); }
.woocommerce div.product form.cart .button { border-radius: 2px; background: var(--leag-maroon); color: var(--client-paper, #fff8e9); }
.woocommerce div.product form.cart .button:hover { background: var(--leag-gold); color: var(--leag-ink-deep); }
.leag-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 22px; }
.leag-product-actions__buy,
.leag-product-actions__wish { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--leag-maroon); border-radius: 2px; background: transparent; color: var(--leag-maroon); font-family: var(--leag-serif); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.leag-product-actions__buy:hover { background: var(--leag-maroon); color: var(--client-paper, #fff8e9); }
.leag-product-actions__wish.is-active { border-color: var(--leag-gold); background: #efd8d0; color: var(--leag-maroon); }
.leag-product-actions__wish .leag-icon { width: 18px; height: 18px; font-size: 18px; }
.leag-assure { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--leag-rule); background: rgba(255, 249, 238, .78); }
.leag-assure li { flex-direction: column; align-items: center; text-align: center; }
.leag-assure .leag-icon { color: var(--leag-gold); }
.leag-prodacc { margin-top: 40px; border-top-color: var(--leag-rule); }
.leag-prodacc .leag-acc__q { font-family: var(--leag-serif); font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1180px) {
    .leag-header__bar { grid-template-columns: minmax(215px, .75fr) minmax(0, 1.8fr) auto; gap: 12px; }
    .leag-nav__list { gap: clamp(10px, 1.35vw, 15px); }
    .leag-nav__link { font-size: .68rem; }
    .leag-header__side--end { gap: 12px; }
    .leag-header .leag-wordmark__img { width: 54px; height: 59px; }
    .leag-wordmark__name { font-size: 1.2rem; }
    .leag-cats { padding-bottom: 24px; }
    .leag-cat__img { height: clamp(225px, 15vw, 250px); }
}

@media (max-width: 900px) {
    .leag-header { position: sticky; }
    .leag-header__bar { order: 0; grid-template-columns: 1fr auto; min-height: 74px; gap: 10px; padding-inline: 15px; }
    .leag-proofbar { order: 1; }
    .leag-proofbar__inner { grid-template-columns: 1fr; min-height: 28px; padding-inline: 10px; }
    .leag-proofbar__inner span { display: none; }
    .leag-proofbar__inner span:nth-child(2) { display: flex; justify-content: center; font-size: .54rem; }
    .leag-header__side--start { gap: 10px; }
    .leag-util--burger { display: inline-flex; order: -1; }
    .leag-header__side--start .leag-wordmark { gap: 7px; }
    .leag-header .leag-wordmark__img { width: 45px; height: 49px; }
    .leag-wordmark__name { font-size: 1.15rem; }
    .leag-wordmark__sub { font-size: .45rem; }
    .leag-header .leag-nav { display: none; }
    .leag-header__side--end { gap: 9px; }
    .leag-header__side--end .leag-util--account { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; }
    .leag-header__side--end .leag-util--wishlist { display: none; }
    .leag-header--condensed .leag-header__bar,
    .leag-header--compact .leag-header__bar { min-height: 68px; }

    .leag-hero { min-height: 540px; background-image: var(--leag-hero-mobile-img, var(--leag-hero-img)); background-position: center; }
    .leag-hero__inner { width: 64%; min-height: 540px; margin-left: 0; padding: 58px 0 72px clamp(32px, 6vw, 58px); }
    .leag-hero__title { margin-bottom: 18px; font-size: clamp(2.25rem, 5.4vw, 3.35rem); line-height: 1.08; }
    .leag-hero__lede { margin-bottom: 26px; font-size: .72rem; line-height: 1.58; }
    .leag-hero .leag-btn { min-width: 246px; min-height: 46px; padding: 11px 20px; font-size: .64rem; }
    .leag-benefits--hero { grid-template-columns: repeat(4, 1fr); }
    .leag-benefits--hero li { min-height: 142px; padding: 13px 8px 15px; flex-direction: column; gap: 6px; text-align: center; }
    .leag-benefits--hero .leag-icon { width: 72px; height: 72px; }
    .leag-benefits--hero strong { font-size: .82rem; }
    .leag-benefits--hero small { font-size: .52rem; }

    .leag-cats__grid { grid-template-columns: repeat(3, 1fr); }
    .leag-craft { height: auto; padding: 16px; }
    .leag-craft__layout { grid-template-columns: 1fr; height: auto; padding: 0; }
    .leag-craft__gallery { height: 370px; min-height: 370px; }
    .leag-craft__copy { padding: 36px 26px; }
    .leag-card { flex-basis: calc((100% - 48px) / 3); }
    .leag-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .leag-footer__col--social { grid-column: 2 / -1; }
}

@media (max-width: 600px) {
    body { font-size: 14px; }
    .leag-shell { --leag-gutter: 14px; }
    .leag-header__bar { min-height: 66px; }
    .leag-header .leag-wordmark__img { width: 40px; height: 44px; }
    .leag-wordmark__name { font-size: 1.02rem; }
    .leag-wordmark__sub { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
    .leag-util .leag-icon { width: 21px; height: 21px; }
    .leag-header__side--end .leag-util--search { display: none; }

    .leag-hero { min-height: 430px; background-position: 51% center; }
    .leag-hero__inner { width: 61%; min-height: 430px; padding: 42px 0 48px 18px; }
    .leag-hero .leag-eyebrow { margin-bottom: 12px; font-size: .5rem; letter-spacing: .08em; }
    .leag-hero__title { margin-bottom: 14px; font-size: clamp(1.62rem, 7vw, 2.15rem); line-height: 1.06; }
    .leag-hero__title-line { display: block; }
    .leag-hero__lede { max-width: 245px; margin-bottom: 20px; font-size: .58rem; line-height: 1.5; }
    .leag-hero .leag-btn { min-width: 208px; min-height: 40px; padding: 9px 14px; font-size: .55rem; }
    .leag-benefits--hero { grid-template-columns: repeat(2, 1fr); }
    .leag-benefits--hero li { min-height: 134px; padding: 10px 8px 12px; border-bottom: 1px solid rgba(211, 163, 78, .3); }
    .leag-benefits--hero li:nth-child(even) { border-right: 0; }
    .leag-benefits--hero li:nth-last-child(-n + 2) { border-bottom: 0; }
    .leag-benefits--hero .leag-icon { width: 68px; height: 68px; }
    .leag-benefits--hero strong { color: var(--client-on-dark, #fff5de); font-size: .78rem; }
    .leag-benefits--hero small { font-size: .5rem; }

    .leag-cats { padding: 30px 10px; }
    .leag-cats .leag-shell { padding: 30px 10px; }
    .leag-cats .leag-shell::before { border-width: 18px; border-image-width: 18px; opacity: .28; }
    .leag-cats .leag-section__title,
    .leag-rail-section .leag-section__title { font-size: 1.8rem; }
    .leag-cats__grid { grid-template-columns: 1fr; gap: 0; }
    .leag-cat { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 13px; padding: 10px 0; border-bottom: 1px solid var(--leag-rule); text-align: left; }
    .leag-cat__img { grid-row: 1 / 3; width: 78px; height: 92px; padding: 3px; }
    .leag-cat__label { align-self: end; margin: 0; font-size: 1.02rem; }
    .leag-cat__cta { align-self: start; margin: 1px 0 0; }
    .leag-cat::after { content: "\f345"; grid-column: 3; grid-row: 1 / 3; color: var(--leag-gold); font: normal 20px/1 dashicons; }

    .leag-craft { height: auto; padding: 0; }
    .leag-craft__layout { border-inline: 0; gap: 0; padding: 0; }
    .leag-craft__copy { align-items: center; padding: 42px 25px; text-align: center; }
    .leag-craft .leag-section__title { font-size: 1.65rem; }
    .leag-craft__gallery { grid-template-columns: 1fr 1fr; height: auto; min-height: 0; padding: 0 10px 10px; }
    .leag-craft__image { min-height: 220px; }
    .leag-craft__image:nth-child(3) { grid-column: 1 / -1; min-height: 260px; }
    .leag-craft__image figcaption { padding: 9px; }

    .leag-rail-section { padding-top: 36px; }
    .leag-rail-section .leag-section__head { justify-content: space-between; padding-inline: 18px; }
    .leag-rail__nav { position: static; }
    .leag-rail { gap: 14px; padding-inline: 14px; }
    .leag-card { flex-basis: 76vw; max-width: 310px; padding: 9px; border: 1px solid rgba(185, 131, 47, .3); background: rgba(255, 249, 238, .88); }
    .leag-card__frame { height: 340px; }
    .leag-featured-benefits { padding-inline: 0; border-inline: 0; }
    .leag-featured-benefits .leag-benefits { grid-template-columns: 1fr 1fr; }
    .leag-featured-benefits .leag-benefits li { justify-content: flex-start; min-height: 82px; padding: 12px; border-bottom: 1px solid var(--leag-rule); }
    .leag-featured-benefits .leag-benefits li:last-child { grid-column: 1 / -1; }

    .leag-footer__newsletter-inner { grid-template-columns: 1fr; gap: 18px; padding: 28px 18px; text-align: center; }
    .leag-footer__newsletter h2 { font-size: 1.8rem; }
    .leag-news__field { grid-template-columns: 1fr 102px; }
    .leag-news__go { min-width: 0; }
    .leag-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding: 34px 20px; }
    .leag-footer__col--brand { grid-column: 1 / -1; }
    .leag-footer__col--social { grid-column: 1 / -1; }

    .woocommerce-products-header { margin-bottom: 20px; padding-block: 22px; }
    .woocommerce-products-header__title { font-size: 2.15rem; }
    .woocommerce ul.products { grid-template-columns: 1fr !important; gap: 18px; }
    .woocommerce ul.products li.product { width: 100% !important; margin: 0 !important; }
    .woocommerce ul.products li.product a img { aspect-ratio: auto; max-height: none; object-fit: contain; }
    .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.35rem; }

    .woocommerce div.product { display: block; padding-top: 20px; }
    .woocommerce div.product .woocommerce-product-gallery { margin-bottom: 28px !important; padding: 6px; }
    .woocommerce div.product .product_title { font-size: 2.4rem; }
    .woocommerce div.product p.price,
    .woocommerce div.product span.price { font-size: 1.35rem; }
    .leag-product-actions { grid-template-columns: 1fr; }
    .leag-particulars { grid-template-columns: 1fr 1fr; }
    .leag-assure { grid-template-columns: repeat(3, 1fr); }
    .leag-assure li { padding: 10px 4px; font-size: .58rem; }
    .leag-prodacc { margin-top: 28px; }
}

@media (max-width: 782px) {
    .admin-bar #wpadminbar { top: -46px; }
    .admin-bar .leag-header { top: 0; }
}
