/*
 * Meridian 2.0 storefront look: clean white retail layout with a bold sale
 * colour. Loaded after meridian.css and before theme-styles, so merchant
 * settings still win. Keep rules on shared vo- components scoped and light.
 */

:root {
    --mx-display: "Anton", "Oswald", Impact, sans-serif;
    --mx-page: 1180px;
    --mx-gutter: 24px;
}

/* Header: small utility text, roomy centered menu row */
.vo-header [data-nav] a,
.vo-header .vo-nav-link {
    font-size: 11px;
    letter-spacing: .02em;
}

/* Collection tiles: title centred on the photo, as typed by the block */
.vo-collection-card[data-placement="overlay"] .vo-collection-copy {
    align-self: var(--card-position, end);
    padding: 16px;
}

.vo-collection-card[data-placement="overlay"] .vo-collection-image::after {
    background: rgba(0, 0, 0, .12);
}

.vo-collection-card[data-placement="overlay"] h3 {
    letter-spacing: .02em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
    text-transform: uppercase;
}

/* Small caps headings above collection rails */
.vo-catalog:has(.vo-collection-card) .vo-catalog-header h2.vo-custom-heading {
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* Product rows */
.vo-catalog-product .vo-card-media {
    background: var(--lo-media-bg, #f4f4f4);
}

.vo-catalog-product h3,
.vo-catalog-product h3 a {
    color: #555;
    font-size: var(--lo-card-size, 11px);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: var(--lo-card-case, none);
}

.vo-catalog-product .vo-catalog-amount {
    color: #666;
    font-size: 11px;
    gap: 6px;
}

.vo-catalog-product .vo-catalog-amount s {
    color: #9a9a9a;
}

.vo-catalog-product .vo-catalog-amount s:not([hidden]) + [data-catalog-price] {
    color: var(--vo-sale, #d7000f);
}

/* Size or colour choices as small text chips under the price */
.vo-catalog-product .vo-catalog-swatches {
    justify-content: center;
    gap: 2px 8px;
}

.vo-catalog-product .vo-catalog-swatch[data-color="false"] {
    min-width: 0;
    height: auto;
    padding: 1px 2px;
    border: 0;
    background: none;
    color: #777;
    font-size: 9px;
    letter-spacing: .04em;
}

.vo-catalog-product .vo-catalog-swatch[data-color="false"][aria-pressed="true"] {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* View all under product rows: quiet outlined button */
.vo-catalog[data-view-all="bottom"] .vo-catalog-header > a[href]:not(.vo-content-button) {
    min-height: 0;
    padding: 9px 26px;
    border: 1px solid #111;
    background: transparent;
    color: #111;
    font-size: 11px;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.vo-catalog[data-view-all="bottom"] .vo-catalog-header > a[href]:not(.vo-content-button):hover {
    background: #111;
    color: #fff;
}

@media (max-width: 767px) {
    :root { --mx-gutter: 16px; }

    /* Category rails show two and a bit tiles, inviting a swipe */
    .vo-catalog[data-mobile-carousel="true"]:has(.vo-collection-card):not([data-layout="campaign"]) .vo-catalog-track > li {
        flex-basis: 42%;
    }

    .vo-collection-card[data-placement="overlay"] h3 {
        font-size: 14px !important;
    }
}

/* ---------- Mendeez pages ---------- */
/* Header: roomier menu, hairline under the bar off the hero */
.vo-header .vo-nav-link,
.vo-header [data-nav] a { font-size: 12.5px; letter-spacing: .08em; }
.vo-header:not([data-header-transparent]) { border-bottom: 1px solid #ececec; }

/* Collection page: centred title, airy grid, quiet card text */
.vo-listing-header h1,
.vo-listing-header .vo-listing-title { font-size: 24px; font-weight: 400; letter-spacing: .01em; text-transform: none; }
.vo-listing-cards { padding-inline: clamp(0px, 2vw, 24px); }
.vo-listing-cards .vo-catalog-product h3,
.vo-listing-cards .vo-catalog-product h3 a { color: #555; font-size: 12px; text-align: center; }
.vo-catalog-product .vo-catalog-amount { justify-content: center; }
.vo-catalog-product .vo-catalog-amount [data-catalog-price] { color: #333; }
.vo-catalog-product .vo-catalog-amount s:not([hidden]) + [data-catalog-price] { color: var(--vo-sale, #d7000f); }
.vo-catalog-product .vo-card-media { overflow: hidden; }

/* Category strip on collection pages: square tiles edge to edge */
[id*="category-strip"] .vo-catalog-track,
[id*="category-strip"] .vo-catalog-grid { gap: 0 !important; }
[id*="category-strip"] .vo-collection-card[data-placement="overlay"] h3 { font-size: 15px !important; font-weight: 400; letter-spacing: .06em; }

/* Product page: larger title and price, one strong button, clean disclosures */
.vo-pdp-header .vo-pdp-title h1.vo-h1 { font-size: clamp(24px, 2.2vw, 32px) !important; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.2; text-transform: none !important; }
.vo-pdp-header [data-pdp-price],
.vo-pdp-header .vo-pdp-price { font-size: 22px; font-weight: 400; }
:is([data-product-cart], .vo-pdp-buy) :is(.vo-btn, .vo-buy, button[type="submit"]) { min-height: 56px; border-radius: 0; font-size: 15px; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.vo-pdp-description details,
.vo-pdp-details details { border-bottom: 1px solid #e6e6e6; }
.vo-pdp-details details > summary { padding-block: 18px; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; cursor: pointer; }

@media (max-width: 767px) {
    .vo-listing-cards { padding-inline: 0; }
    .vo-listing-cards .vo-catalog-product h3,
    .vo-listing-cards .vo-catalog-product h3 a { font-size: 11px; }
    [id*="category-strip"] .vo-collection-card[data-placement="overlay"] h3 { font-size: 12px !important; }
    .vo-pdp-header .vo-pdp-title h1.vo-h1 { font-size: 22px !important; }
}

/* PDP v2 */
.vo-pdp-header .vo-pdp-title h1.vo-h1 { font-size: clamp(24px, 1.75vw, 32px) !important; }
.vo-pdp-price, .vo-pdp-price span { color: #555; font-size: 22px; font-weight: 400 !important; }
.vo-pdp-options legend { margin-bottom: 12px; font-size: 15px; }
.vo-pdp-options .vo-option-values { gap: 12px; }
.vo-pdp-options label.vo-swatch { display: grid; place-items: center; min-width: 78px; height: 58px; padding: 0 14px; border: 1px solid #dcdcdc; border-radius: 2px; background: #fff; font-size: 15px; transition: border-color .25s ease, box-shadow .25s ease; }
.vo-pdp-options label.vo-swatch:hover { border-color: #111; }
.vo-pdp-options input:checked + label.vo-swatch { border-color: #111; background: #fff; box-shadow: inset 0 0 0 1px #111; }
.vo-pdp-options label.vo-swatch[data-unavailable="true"] { background: #f4f4f4; color: #bbb; }
@media (min-width: 768px) {
    .vo-pdp-layout { max-width: 1320px; margin-inline: auto; }
    .vo-pdp-gallery[data-gallery-layout="thumbnails"] { display: grid; grid-template-columns: 76px minmax(0, 560px); justify-content: end; gap: 0 24px; align-items: start; }
    .vo-pdp-gallery[data-gallery-layout="thumbnails"] > .relative { grid-column: 2; grid-row: 1; }
    .vo-pdp-gallery[data-gallery-layout="thumbnails"] > [data-gallery-thumbs] { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 1fr !important; gap: 12px; margin: 0; }
    .vo-pdp-gallery[data-gallery-layout="thumbnails"] > [data-gallery-thumbs] li { aspect-ratio: 2 / 3; width: 76px; height: auto; }
}

/* ---------- Luxury finish ---------- */
/* Header over the hero with no inverse logo file: show the normal logo in white */
.vo-header[data-logo-whiten]:not([data-header-scrolled="true"]) a > img:not([data-inverse-logo]) { filter: brightness(0) invert(1); transition: filter .35s ease; }
html { scroll-behavior: smooth; }
::selection { background: #111; color: #fff; }

/* Header: hairline, compact once the page scrolls */
.vo-header { border-bottom: 1px solid transparent; transition: border-color .35s ease, box-shadow .35s ease, background-color .35s ease; }
.vo-header[data-header-scrolled="true"] { border-bottom-color: #ececec; box-shadow: 0 8px 30px #0000000d; }
.vo-header[data-header-scrolled="true"] .vo-header-row,
.vo-header[data-header-scrolled="true"] [data-header-row] { padding-block: 2px; }
.vo-header [data-nav] a,
.vo-header .vo-nav-link { position: relative; letter-spacing: .12em; }
@media (hover: hover) {
    .vo-header .vo-nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
    .vo-header .vo-nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
}

/* Collection tiles: slow zoom, title opens up */
.vo-collection-card[data-placement="overlay"] .vo-collection-image img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.vo-collection-card[data-placement="overlay"] .vo-collection-image::after { transition: background-color .6s ease; }
.vo-collection-card[data-placement="overlay"] h3 { transition: letter-spacing .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) {
    .vo-collection-card[data-placement="overlay"]:hover .vo-collection-image img { transform: scale(1.06); }
    .vo-collection-card[data-placement="overlay"]:hover .vo-collection-image::after { background: rgba(0, 0, 0, .26); }
    .vo-collection-card[data-placement="overlay"]:hover h3 { letter-spacing: .14em; }
}

/* Product cards: soft zoom and a quiet quick-add */
.vo-catalog-product .vo-card-media img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity .6s ease; }
@media (hover: hover) {
    .vo-catalog-product:hover .vo-card-media img { transform: scale(1.04); }
    .vo-catalog-product .vo-card-media :is(button, .vo-quick-add) { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
    .vo-catalog-product:hover .vo-card-media :is(button, .vo-quick-add) { opacity: 1; transform: none; }
}
.vo-catalog-product h3 a { transition: color .3s ease; }
.vo-catalog-product:hover h3 a { color: #111; }

/* View all: fill sweeps in */
.vo-catalog[data-view-all="bottom"] .vo-catalog-header > a[href]:not(.vo-content-button) { position: relative; overflow: hidden; isolation: isolate; letter-spacing: .16em; transition: color .45s ease; }
.vo-catalog[data-view-all="bottom"] .vo-catalog-header > a[href]:not(.vo-content-button)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #111; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.vo-catalog[data-view-all="bottom"] .vo-catalog-header > a[href]:not(.vo-content-button):hover { background: transparent; color: #fff; }
.vo-catalog[data-view-all="bottom"] .vo-catalog-header > a[href]:not(.vo-content-button):hover::before { transform: scaleX(1); transform-origin: left; }

/* Footer: editorial luxury. Band, refined columns, bottom bar, faint signature wordmark */
footer.mx-footer { --mx-pad: clamp(24px, 5vw, 88px); --mx-ink: var(--vo-heading, #111); --mx-rule: color-mix(in srgb, var(--mx-ink) 12%, transparent); position: relative; overflow: hidden; border-top: 0; background: var(--vo-bg, #f4f1ec); }
footer.mx-footer > .vo-shell { position: relative; z-index: 1; max-width: none; padding: 64px var(--mx-pad) 0; }

/* Band */
.mx-footer__band { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin: 0 var(--mx-pad); padding: 88px 0 56px; border-bottom: 1px solid var(--mx-rule); }
.mx-footer__eyebrow { margin: 0 0 18px; color: color-mix(in srgb, var(--mx-ink) 55%, transparent); font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
footer .mx-footer__headline { margin: 0; max-width: 14ch; color: var(--mx-ink); font-family: var(--mx-display, "Anton", Impact, sans-serif); font-size: clamp(44px, 6.4vw, 104px); font-weight: 400; letter-spacing: -.005em; line-height: .92; text-transform: uppercase; }
.mx-footer__band-actions { display: flex; flex: none; align-items: center; gap: 28px; }
.mx-footer__btn { position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden; isolation: isolate; padding: 18px 34px; border: 1px solid var(--mx-ink); background: var(--mx-ink); color: var(--vo-bg, #fff); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-decoration: none; text-transform: uppercase; transition: color .45s ease, gap .45s cubic-bezier(.2, .7, .2, 1); }
.mx-footer__btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--vo-bg, #fff); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mx-footer__btn:hover { color: var(--mx-ink); gap: 20px; }
.mx-footer__btn:hover::before { transform: scaleX(1); transform-origin: left; }
.mx-footer__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.mx-footer__link { position: relative; padding-bottom: 4px; color: var(--mx-ink); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-decoration: none; text-transform: uppercase; }
.mx-footer__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.mx-footer__link:hover::after { transform: scaleX(.35); }

/* Columns */
footer .vo-content-flow > .vo-content-group:first-child { align-items: flex-start; padding: 8px 0 56px; }
footer .vo-content-flow > .vo-content-group:first-child > * { flex: 1 1 0; }
footer .vo-content-flow > .vo-content-group:first-child > :first-child { flex: 1.6 1 0; }
footer .vo-eyebrow,
footer .vo-footer-tagline,
footer .vo-content-group:has(> .vo-footer-contact) > .vo-content-block:first-child p { margin: 0 0 22px; color: var(--mx-ink); font-family: var(--vo-font); font-size: 11px; font-weight: 600; letter-spacing: .28em; line-height: 1.4; opacity: 1; text-transform: uppercase; }
footer .vo-footer-brand { display: grid; justify-items: start; gap: 0; }
footer .vo-footer-logo-img { display: block; height: auto; max-width: 100%; margin-bottom: 20px; }
footer .vo-footer-wordmark { margin: 0 0 20px; font-size: 24px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; }
footer .vo-footer-about { margin: 0 0 20px; max-width: 34ch; color: color-mix(in srgb, var(--mx-ink) 65%, transparent); font-size: 13px; line-height: 1.8; }
footer ul { gap: 12px; }
footer .vo-nav-link { position: relative; color: color-mix(in srgb, var(--mx-ink) 72%, transparent); font-size: 14px; letter-spacing: .01em; opacity: 1; transition: color .3s ease; }
footer .vo-nav-link:hover { color: var(--mx-ink); transform: none; }
@media (hover: hover) {
    footer .vo-nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
    footer .vo-nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
}
footer .vo-footer-contact { display: grid; grid-template-columns: 1fr; gap: 10px; color: color-mix(in srgb, var(--mx-ink) 72%, transparent); font-size: 14px; }
footer :is(.vo-social, [data-social]) a { color: var(--mx-ink); transition: opacity .3s ease, transform .3s ease; }
footer :is(.vo-social, [data-social]) a:hover { opacity: .6; transform: translateY(-2px); }

/* Bottom bar */
footer hr { margin: 0; border-color: var(--mx-rule); opacity: 1; }
footer .vo-content-flow > .vo-content-group:last-child { align-items: center; padding: 26px 0 30px; }
footer .vo-content-flow > .vo-content-group:last-child p { margin: 0; color: color-mix(in srgb, var(--mx-ink) 55%, transparent); font-size: 10px; letter-spacing: .2em; opacity: 1; text-transform: uppercase; }
footer .vo-content-flow > .vo-content-group:last-child a { color: inherit; }

/* Back to top and signature wordmark */
.mx-footer__top { position: absolute; z-index: 2; top: 28px; right: var(--mx-pad); display: inline-flex; align-items: center; gap: 12px; color: var(--mx-ink); font-size: 10px; letter-spacing: .28em; opacity: .7; text-decoration: none; text-transform: uppercase; transition: opacity .3s ease; }
.mx-footer__top svg { width: 36px; height: 36px; padding: 10px; border: 1px solid var(--mx-rule); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.3; transition: background-color .4s ease, color .4s ease, border-color .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.mx-footer__top:hover { opacity: 1; }
.mx-footer__top:hover svg { border-color: var(--mx-ink); background: var(--mx-ink); color: var(--vo-bg, #fff); transform: translateY(-3px); }
.mx-footer__mark { position: relative; overflow: hidden; margin-top: -6px; line-height: .74; pointer-events: none; user-select: none; }
.mx-footer__mark span { display: block; padding-inline: var(--mx-pad); font-family: var(--mx-display, "Anton", Impact, sans-serif); font-size: clamp(90px, 20.5vw, 330px); letter-spacing: .02em; text-align: center; text-transform: uppercase; white-space: nowrap; background: linear-gradient(180deg, color-mix(in srgb, var(--mx-ink) 9%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(16%); }
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .mx-footer__mark span { animation: mx-mark-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
        .mx-footer__headline { animation: mx-head-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    }
}
@keyframes mx-mark-rise { from { opacity: 0; transform: translateY(60%); letter-spacing: .16em; } to { opacity: 1; transform: translateY(16%); letter-spacing: .02em; } }
@keyframes mx-head-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
    .mx-footer__band { flex-direction: column; align-items: flex-start; gap: 28px; padding: 76px 0 40px; }
    .mx-footer__band-actions { flex-wrap: wrap; gap: 20px; }
    footer .mx-footer__headline { font-size: 46px; }
    footer.mx-footer > .vo-shell { padding: 44px 20px 0; }
    footer .vo-content-flow > .vo-content-group:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-bottom: 36px; }
    footer .vo-content-flow > .vo-content-group:first-child > :first-child { grid-column: 1 / -1; }
    footer .vo-footer-logo-img { width: 140px !important; margin-bottom: 0; }
    footer .vo-nav-link, footer .vo-footer-contact { font-size: 13px; }
    footer .vo-content-flow > .vo-content-group:last-child { align-items: flex-start; gap: 6px; }
    .mx-footer__top { top: 22px; right: 20px; }
    .mx-footer__top span { display: none; }
    .mx-footer__mark span { font-size: 24vw; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .vo-collection-card img, .vo-catalog-product img { transition: none !important; }
}