/*
 * RavLORS storefront design system: "walnut and steel".
 *
 * One palette, one type pairing, one spacing rhythm, applied to every page. Bagisto 2.5's Tailwind
 * colours and fonts are CSS variables, so they are mapped onto the palette first; the components
 * that need more than colour are styled below, in page order.
 *
 *   Type     Fraunces (variable, optical sizes) for display and product names, Inter for everything
 *            else. Display 380, product names 460, the wordmark is outlines (brand/).
 *            Small labels: Inter 11-12px, capitals, wide tracking. Self-hosted (fonts/).
 *   Colour   Paper #F7F4EF, bone #EFE9E0 (image wells), ink #1A1714, walnut #7A4E2D (the rosewood
 *            of the handles: links and accents on light), brass #C9A86F (accents on dark),
 *            night #15120F (dark bands). Light only.
 *   Space    4px base; sections 120 / 88 / 64px; page gutter 60 / 32 / 20px.
 *   Shape    2px corners on controls; photographs square-cornered; hairline rules, no heavy shadows.
 */

@font-face {
    font-family: "Fraunces";
    src: url("fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- Tokens ---------- */

:root,
html[data-mode="dark"] {
    --rv-paper: #f7f4ef;
    --rv-bone: #efe9e0;
    --rv-surface: #ffffff;
    --rv-raised: #f2eee7;
    --rv-ink: #1a1714;
    --rv-ink-2: #3b3631;
    --rv-muted: #6b635a;
    --rv-faint: #a39a8e;
    --rv-line: #e4ded4;
    --rv-line-strong: #cbc2b4;
    --rv-night: #15120f;
    --rv-night-2: #1f1b17;
    --rv-on-night: #f3eee6;
    --rv-on-night-muted: #b9afa2;
    --rv-night-line: rgb(243 238 230 / 14%);
    --rv-accent: var(--lors-theme-accent, #7a4e2d);
    --rv-accent-strong: var(--lors-theme-accent-strong, #5e3a20);
    --rv-accent-soft: var(--lors-theme-accent-soft, #efe3d6);
    --rv-on-accent: var(--lors-theme-on-accent, #ffffff);
    --rv-brass: #c9a86f;
    --rv-sale: #8e3323;
    --rv-star: #e8a317;
    --rv-success: #2f6b47;
    --rv-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --rv-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --rv-display-weight: 380;
    --rv-title-weight: 460;
    --rv-radius: 2px;
    --rv-ease: cubic-bezier(.2, .7, .2, 1);
    --rv-gutter: 60px;
    --rv-section: 120px;
    --rv-max: 1320px;
    --rv-shadow: 0 1px 2px rgb(26 23 20 / 6%), 0 18px 40px -24px rgb(26 23 20 / 28%);

    --lors-paper: var(--rv-paper);
    --lors-surface: var(--rv-surface);
    --lors-raised: var(--rv-raised);
    --lors-sunken: var(--rv-bone);
    --lors-ink: var(--rv-ink);
    --lors-ink-2: var(--rv-ink-2);
    --lors-muted: var(--rv-muted);
    --lors-line: var(--rv-line);
    --lors-line-strong: var(--rv-line-strong);
    --lors-accent: var(--rv-accent);
    --lors-accent-strong: var(--rv-accent-strong);
    --lors-on-accent: var(--rv-on-accent);
    --lors-on-ink: var(--rv-paper);
    --lors-shadow: var(--rv-shadow);
    --lors-radius: var(--rv-radius);
    --lors-radius-sm: var(--rv-radius);
    --lors-font: var(--rv-sans);
    --lors-heading-font: var(--rv-serif);
    --lors-heading-color: var(--rv-ink);
    --lors-ease: var(--rv-ease);
    --lors-menu-surface-ink: var(--rv-ink);

    color-scheme: light;
}

@media (max-width: 1023px) {
    :root { --rv-gutter: 32px; --rv-section: 88px; }
}

@media (max-width: 767px) {
    :root { --rv-gutter: 20px; --rv-section: 64px; }
}

/* Bagisto's Tailwind palette and fonts, mapped to the brand. */
:root {
    --color-white: var(--rv-surface);
    --color-black: var(--rv-ink);
    --color-navyBlue: var(--rv-ink);
    --color-lightOrange: var(--rv-raised);
    --color-zinc-50: var(--rv-raised);
    --color-zinc-100: var(--rv-raised);
    --color-zinc-200: var(--rv-line);
    --color-zinc-300: var(--rv-line-strong);
    --color-zinc-400: var(--rv-faint);
    --color-zinc-500: var(--rv-muted);
    --color-zinc-600: var(--rv-ink-2);
    --color-zinc-700: var(--rv-ink-2);
    --color-zinc-800: var(--rv-ink);
    --color-zinc-900: var(--rv-ink);
    --color-gray-50: var(--rv-raised);
    --color-gray-100: var(--rv-raised);
    --color-gray-200: var(--rv-line);
    --color-gray-300: var(--rv-line-strong);
    --color-gray-400: var(--rv-faint);
    --color-gray-500: var(--rv-muted);
    --color-gray-600: var(--rv-ink-2);
    --color-gray-700: var(--rv-ink-2);
    --color-gray-800: var(--rv-ink);
    --color-gray-900: var(--rv-ink);
    --color-neutral-200: var(--rv-line);
    --color-neutral-500: var(--rv-muted);
    --color-slate-400: var(--rv-faint);
    --color-slate-500: var(--rv-muted);
    --font-poppins: var(--rv-sans);
    --font-dmserif: var(--rv-serif);
    --font-sans: var(--rv-sans);
}

/* ---------- Base and type ---------- */

html,
body,
main#main,
main#main.bg-white {
    background: var(--rv-paper);
}

body {
    color: var(--rv-ink);
    font-family: var(--rv-sans);
    font-size: 16px;
    line-height: 1.6;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--rv-ink);
    color: var(--rv-paper);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--rv-accent);
    outline-offset: 3px;
}

h1, h2, h3, h4 {
    color: var(--rv-ink);
}

.font-dmserif {
    font-family: var(--rv-serif);
    font-weight: var(--rv-display-weight);
    letter-spacing: 0;
}

main h1:not([class*="text-"]):not([class*="lors-"]):not([class*="rv-"]),
main h2:not([class*="text-"]):not([class*="lors-"]):not([class*="rv-"]) {
    font-family: var(--rv-serif);
    font-weight: var(--rv-display-weight);
    line-height: 1.08;
    text-wrap: balance;
}

main h1:not([class*="text-"]):not([class*="lors-"]):not([class*="rv-"]) {
    font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem);
}

main h2:not([class*="text-"]):not([class*="lors-"]):not([class*="rv-"]) {
    font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.6rem);
}

/* A small label above a heading. */
.rv-kicker {
    margin: 0 0 18px;
    font-family: var(--rv-sans);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--rv-accent);
}

.rv-kicker--light {
    color: var(--rv-brass);
}

/* Section headings: the serif, large, sentence case. */
.rv-heading {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.6rem);
    font-weight: var(--rv-display-weight);
    line-height: 1.04;
    letter-spacing: -0.005em;
    color: var(--rv-ink);
    text-wrap: balance;
}

.rv-heading--light {
    color: var(--rv-on-night);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Buttons and links ---------- */

.rv-btn,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: var(--rv-radius);
    font-family: var(--rv-sans);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .25s var(--rv-ease), border-color .25s var(--rv-ease), color .25s var(--rv-ease);
}

.rv-btn--dark,
.primary-button {
    background: var(--rv-ink);
    border-color: var(--rv-ink);
    color: var(--rv-paper);
}

.rv-btn--dark:hover,
.primary-button:hover {
    background: var(--rv-accent);
    border-color: var(--rv-accent);
    color: var(--rv-on-accent);
}

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

.rv-btn--outline:hover,
.secondary-button:hover {
    background: var(--rv-ink);
    color: var(--rv-paper);
}

.rv-btn--light {
    background: var(--rv-paper);
    border-color: var(--rv-paper);
    color: var(--rv-ink);
}

.rv-btn--light:hover {
    background: var(--rv-brass);
    border-color: var(--rv-brass);
    color: var(--rv-night);
}

/* Button text keeps its own colour wherever the button sits (drawers, panels, links). */
a.primary-button,
a.primary-button:visited,
a.rv-btn--dark,
a.rv-btn--dark:visited {
    color: var(--rv-paper);
}

a.secondary-button,
a.secondary-button:visited,
a.rv-btn--outline,
a.rv-btn--outline:visited {
    color: var(--rv-ink);
}

a.primary-button:hover,
a.rv-btn--dark:hover,
a.secondary-button:hover,
a.rv-btn--outline:hover {
    color: var(--rv-paper);
}

.primary-button:disabled,
.secondary-button:disabled,
.rv-btn[aria-disabled="true"] {
    opacity: .4;
    cursor: not-allowed;
}

.rv-btn[aria-busy="true"] {
    opacity: .7;
    cursor: progress;
}

/* A text link with a rule that draws in on hover. */
.rv-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--rv-ink);
}

.rv-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 1px;
    background: currentColor;
    transform-origin: left;
    transition: transform .35s var(--rv-ease);
}

.rv-link:hover::after {
    transform: scaleX(.35);
}

.rv-link--light {
    color: var(--rv-on-night);
}

/* ---------- Fields ---------- */

main input[type="text"],
main input[type="email"],
main input[type="tel"],
main input[type="password"],
main input[type="number"],
main input[type="search"],
main select,
main textarea {
    border-radius: var(--rv-radius);
    border-color: var(--rv-line-strong);
    background-color: var(--rv-surface);
    color: var(--rv-ink);
    font-family: var(--rv-sans);
}

main input:focus,
main select:focus,
main textarea:focus {
    border-color: var(--rv-ink);
    box-shadow: none;
}

/* ---------- Stars (from a number: --rv-rating 0-5) ---------- */

.rv-stars {
    --rv-rating: 0;
    position: relative;
    display: inline-block;
    width: 84px;
    height: 15px;
    flex: none;
    background: var(--rv-line-strong);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 15'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M7.5 0l2.2 4.9 5.3.5-4 3.6 1.2 5.2-4.7-2.8-4.7 2.8L4 9l-4-3.6 5.3-.5z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 15'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M7.5 0l2.2 4.9 5.3.5-4 3.6 1.2 5.2-4.7-2.8-4.7 2.8L4 9l-4-3.6 5.3-.5z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
}

.rv-stars::after {
    content: "";
    position: absolute;
    inset: 0;
    width: calc(var(--rv-rating) / 5 * 100%);
    background: var(--rv-star);
}

.rv-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--rv-muted);
    text-decoration: none;
}

/* ---------- Promise bar (above the header) ---------- */

.rv-promise {
    background: var(--rv-night);
    color: var(--rv-on-night);
}

.rv-promise__list {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: 0 var(--rv-gutter);
    list-style: none;
}

.rv-promise__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    font-size: 12px;
    letter-spacing: .04em;
    line-height: 1.4;
}

.rv-promise__item + .rv-promise__item {
    border-left: 1px solid var(--rv-night-line);
}

.rv-promise__item svg {
    color: var(--rv-brass);
}

@media (max-width: 767px) {
    .rv-promise__list {
        display: grid;
        padding: 0;
    }

    .rv-promise__item {
        grid-area: 1 / 1;
        justify-content: center;
        padding: 9px 16px;
        opacity: 0;
        animation: rv-promise-cycle 12s infinite;
    }

    .rv-promise__item + .rv-promise__item {
        border: 0;
    }

    .rv-promise__item:nth-child(2) { animation-delay: 4s; }
    .rv-promise__item:nth-child(3) { animation-delay: 8s; }
    .rv-promise__item:first-child { animation-delay: -.36s; }
    .rv-promise__item:first-child:nth-last-child(2),
    .rv-promise__item:first-child:nth-last-child(2) ~ .rv-promise__item {
        animation-name: rv-promise-cycle-2;
        animation-duration: 8s;
    }
    .rv-promise__item:only-child { opacity: 1; animation: none; }
}

@keyframes rv-promise-cycle-2 {
    0% { opacity: 0; }
    4.5%, 50% { opacity: 1; }
    54.5%, 100% { opacity: 0; }
}

/* Each line fades in while the previous one fades out, so one line is always readable. */
@keyframes rv-promise-cycle {
    0% { opacity: 0; }
    3%, 33.4% { opacity: 1; }
    36.4%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .rv-promise__item { animation: none !important; opacity: 0; }
    .rv-promise__item:first-child { opacity: 1; }
}

/* ---------- Promotions (lors/core: Marketing > Promotions > Cart Rules) ---------- */

/* Site-wide announcement bar: the running promotion marked for it, with its real countdown. */
html .lors-announce {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
    padding: 9px 48px;
    background: var(--rv-accent);
    color: #fff;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .01em;
    text-align: center;
}

html .lors-announce a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

html .lors-announce__clock,
html .lors-promo__countdown {
    display: inline-flex;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

html .lors-announce__clock {
    padding: 2px 8px;
    border-radius: 2px;
    background: rgb(0 0 0 / 22%);
}

html .lors-announce__close {
    color: #fff;
}

/* A coupon code inside a promotion message: a chip that copies the code (script in ravlors::head). */
.rv-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 2px;
    padding: 1px 8px;
    border: 1px dashed currentColor;
    border-radius: 2px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: copy;
}

.rv-code::after {
    content: attr(data-label);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .75;
}

/* Product page offers: a ticket under the price. */
html .lors-promos {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

html .lors-promo {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 0;
    padding: 14px 16px 14px 46px;
    border: 1px dashed var(--rv-accent);
    border-radius: var(--rv-radius);
    background: var(--rv-accent-soft);
    color: var(--rv-accent-strong);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

html .lors-promo::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

html .lors-promo--applied {
    border-style: solid;
    border-color: var(--rv-success);
    background: #eaf3ec;
    color: var(--rv-success);
}

/* Product page: what a real sale saves. */
.rv-savings {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--rv-sale);
}

.rv-savings__badge {
    padding: 3px 8px;
    border-radius: 2px;
    background: var(--rv-sale);
    color: #fff;
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* The delivery note in the cart drawer (under the items). */
.fixed .lors-delivery-note {
    margin: 0;
    padding: 18px 24px 0;
    font-weight: 500;
    color: var(--rv-ink-2) !important;
}

.fixed .lors-delivery-note + .rv-progress {
    margin: 10px 24px 4px;
}

/* Free-delivery progress under the cart's delivery note. */
.rv-progress {
    position: relative;
    height: 6px;
    margin: 8px 0 4px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--rv-line);
}

.rv-progress__fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: var(--rv-accent);
    transition: width .6s var(--rv-ease);
}

.rv-progress--reached .rv-progress__fill {
    background: var(--rv-success);
}

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

/* Solid, not frosted: a backdrop filter would trap the phone menu drawer (position: fixed) inside it.
   The cart and menu drawers live inside the header, so it sits above the announcement bar (20) and the
   product page's sticky buy bar (30); otherwise they cover the drawer. */
header.sticky {
    z-index: 40;
    background: var(--rv-paper);
    border-bottom: 1px solid var(--rv-line);
    box-shadow: none;
    transition: box-shadow .3s var(--rv-ease);
}

html.rv-scrolled header.sticky {
    box-shadow: 0 10px 30px -22px rgb(26 23 20 / 35%);
}

header .border-b,
header .border {
    border-color: var(--rv-line);
}

/* Layout, two tiers: search on the left, the logo centred, account and bag on the right; the
   navigation centred on its own row beneath, so it is balanced at every width and never crowds the logo. */
@media (min-width: 1024px) {
    header .rv-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-rows: 108px auto;
        align-items: center;
        column-gap: 32px;
        max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
        min-height: 0;
        margin: 0 auto;
        padding: 0 var(--rv-gutter) !important;
        border: 0;
    }

    header .rv-header__left,
    header .rv-header__right {
        display: contents;
    }

    header .rv-header__logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        display: flex;
    }

    header .rv-header__right > .relative {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        width: auto;
    }

    header .rv-header__right > div:last-child {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        gap: 24px;
        margin-top: 0;
    }

    header .rv-header .rv-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        justify-content: center;
        border-top: 1px solid var(--rv-line);
    }

    header .rv-header .rv-nav__list {
        justify-content: center;
        gap: clamp(28px, 3.4vw, 52px);
    }

    header .rv-header .rv-nav__link {
        min-height: 50px;
    }

    header .rv-header .rv-nav__link::after {
        bottom: 12px;
    }
}

/* The logo: the round stag emblem (Settings > Channels > logo), never stretched, large enough that its
   lettering and antlers stay readable. */
header .rv-header__logo img,
header .rv-mheader__logo img,
a.min-h-7\.5 > img[height="29"] {
    width: auto;
    height: 88px;
    max-width: none;
    object-fit: contain;
}

a.min-h-7\.5 > img[height="29"] {
    height: 64px;
}

/* Phones and tablets: menu, logo centred, bag; search on its own row. */
@media (max-width: 1023px) {
    header .rv-mheader {
        padding: 14px var(--rv-gutter) 12px;
        gap: 12px;
        box-shadow: none;
    }

    header .rv-mheader__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
    }

    header .rv-mheader__left {
        display: contents;
    }

    header .rv-mheader__left > :not(.rv-mheader__logo) {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    header .rv-mheader__logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        max-height: none;
    }

    header .rv-mheader__logo img {
        height: 58px;
    }

    header .rv-mheader__row > :last-child {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
}

/* Header menu (ravlors::lors.navigation.desktop). */
header .rv-nav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
}

header .rv-nav__list {
    display: flex;
    align-items: stretch;
    gap: clamp(14px, 2vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}

header .rv-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

header .rv-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
    min-height: 44px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    color: var(--rv-ink-2);
    transition: color .2s var(--rv-ease);
}

header .rv-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    height: 1px;
    background: var(--rv-ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--rv-ease);
}

header .rv-nav__item:hover > .rv-nav__link,
header .rv-nav__item:focus-within > .rv-nav__link,
header .rv-nav__link[aria-current="page"] {
    color: var(--rv-ink);
}

header .rv-nav__item:hover > .rv-nav__link::after,
header .rv-nav__item:focus-within > .rv-nav__link::after,
header .rv-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}

header .rv-nav__item--parent > .rv-nav__link {
    padding-right: 14px;
}

header .rv-nav__item--parent > .rv-nav__link::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -5px;
    border-right: 1.2px solid currentColor;
    border-bottom: 1.2px solid currentColor;
    transform: rotate(45deg);
}

/* A plain dropdown. */
header .rv-nav__sub {
    position: absolute;
    top: 100%;
    left: -22px;
    z-index: 30;
    min-width: 230px;
    margin: 0;
    padding: 14px 0;
    list-style: none;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
    box-shadow: var(--rv-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s var(--rv-ease), transform .25s var(--rv-ease), visibility 0s .25s;
}

header .rv-nav__sub a {
    display: block;
    padding: 9px 22px;
    font-size: 14px;
    color: var(--rv-ink-2);
    text-decoration: none;
}

header .rv-nav__sub a:hover {
    color: var(--rv-ink);
    background: var(--rv-raised);
}

header .rv-nav__item:hover > .rv-nav__sub,
header .rv-nav__item:focus-within > .rv-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

/* The mega menu: full width under the header. */
header .rv-nav__item--mega {
    position: static;
}

header .rv-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--rv-paper);
    border-top: 1px solid var(--rv-line);
    border-bottom: 1px solid var(--rv-line);
    box-shadow: 0 30px 60px -40px rgb(26 23 20 / 45%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .22s var(--rv-ease), transform .3s var(--rv-ease), visibility 0s .3s;
}

header .rv-nav__item--mega:hover > .rv-mega,
header .rv-nav__item--mega:focus-within > .rv-mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: .06s, .06s, 0s;
}

header .rv-mega__inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, .8fr) minmax(0, 2fr);
    gap: 56px;
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: 44px var(--rv-gutter) 48px;
}

header .rv-mega__label {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rv-line);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rv-muted);
}

header .rv-mega__cats,
header .rv-mega__subs,
header .rv-mega__upcoming,
header .rv-mega__products {
    margin: 0;
    padding: 0;
    list-style: none;
}

header .rv-mega__cat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    font-family: var(--rv-serif);
    font-size: 26px;
    line-height: 1.2;
    color: var(--rv-ink);
    text-decoration: none;
    font-weight: var(--rv-title-weight);
}

header .rv-mega__cat:hover span:first-child {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

header .rv-mega__count {
    font-family: var(--rv-sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--rv-muted);
}

header .rv-mega__subs {
    margin: 4px 0 14px;
}

header .rv-mega__subs a,
header .rv-mega__upcoming a {
    display: inline-flex;
    gap: 8px;
    padding: 5px 0;
    font-size: 14px;
    color: var(--rv-ink-2);
    text-decoration: none;
}

header .rv-mega__subs a:hover,
header .rv-mega__upcoming a:hover {
    color: var(--rv-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

header .rv-mega__col--quiet a {
    color: var(--rv-muted);
}

header .rv-mega__all {
    display: inline-flex;
    gap: 8px;
    margin-top: 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rv-ink);
    text-decoration: underline;
    text-underline-offset: 6px;
}

header .rv-mega__products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

header .rv-mega__product {
    display: grid;
    gap: 4px;
    color: var(--rv-ink);
    text-decoration: none;
}

header .rv-mega__product img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin-bottom: 10px;
    object-fit: cover;
    background: var(--rv-bone);
    transition: opacity .3s var(--rv-ease);
}

header .rv-mega__product:hover img {
    opacity: .9;
}

header .rv-mega__product-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

header .rv-mega__product-price {
    font-size: 14px;
    color: var(--rv-muted);
}

@media (min-width: 1024px) and (max-width: 1279px) {
    header .rv-mega__inner {
        grid-template-columns: 1fr .8fr 1.6fr;
        gap: 36px;
    }

    header .rv-nav__link {
        font-size: 12px;
    }
}

/* Bagisto's own category bar stays hidden behind the header menu. */
header .rv-nav ~ v-desktop-category,
header .rv-nav + v-desktop-category,
header .rv-nav ~ div:has(> .shimmer) {
    display: none !important;
}

/* Search: a quiet underlined field. */
header input[name="query"] {
    min-height: 42px;
    padding-right: 44px !important;
    padding-top: 10px;
    padding-bottom: 10px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rv-line-strong);
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--rv-ink);
}

header input[name="query"]::placeholder {
    color: var(--rv-muted);
}

header input[name="query"]:hover,
header input[name="query"]:focus {
    border-color: var(--rv-ink);
    background: transparent;
}

@media (min-width: 1024px) {
    header form:has(input[name="query"]) {
        width: clamp(220px, 22vw, 300px);
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    header .icon-camera {
        display: none;
    }
}

header .icon-cart,
header .icon-users,
header .icon-heart,
header .icon-compare,
header .icon-hamburger,
header .icon-search,
header .icon-camera {
    color: var(--rv-ink);
}

/* Light only: the mode switch is not offered. */
html .lors-mode-switch {
    display: none !important;
}

/* Header dropdowns (account, mini cart). */
header [class*="shadow-"][class*="absolute"],
.dropdown-content {
    border-radius: var(--rv-radius) !important;
}

/* Phone menu drawer. */
.fixed.inset-y-0 {
    background: var(--rv-paper);
}

.fixed.inset-y-0 .icon-cancel {
    color: var(--rv-ink);
}

/* Phone menu (ravlors::lors.navigation.mobile). Bagisto's own category tree after it is not shown. */
.rv-mnav {
    padding: 4px 0 12px;
}

.rv-mnav ~ * {
    display: none !important;
}

.rv-mnav__list,
.rv-mnav__sub {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-mnav__item {
    border-bottom: 1px solid var(--rv-line);
}

.rv-mnav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 20px;
    font-family: var(--rv-serif);
    font-size: 24px;
    font-weight: var(--rv-display-weight);
    color: var(--rv-ink);
    text-decoration: none;
    list-style: none;
    cursor: pointer;
}

.rv-mnav__link::-webkit-details-marker {
    display: none;
}

summary.rv-mnav__link::after {
    content: '';
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s var(--rv-ease);
}

.rv-mnav__group[open] summary.rv-mnav__link::after {
    transform: rotate(-135deg);
}

.rv-mnav__link--quiet {
    font-family: var(--rv-sans);
    font-size: 14px;
    font-weight: 500;
    min-height: 52px;
}

.rv-mnav__sub {
    padding: 0 20px 14px;
}

.rv-mnav__sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 15.5px;
    color: var(--rv-ink);
    text-decoration: none;
}

.rv-mnav__child {
    padding-left: 16px;
    color: var(--rv-ink-2) !important;
    font-size: 14.5px !important;
}

.rv-mnav__count {
    font-size: 12px;
    color: var(--rv-muted);
}

.rv-mnav__all {
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rv-mnav__upcoming {
    margin: 0;
    padding: 0 20px 18px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--rv-muted);
}

.rv-mnav__upcoming a {
    color: var(--rv-muted);
}

/* ---------- Homepage: shared section frame ---------- */

.rv-section {
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: var(--rv-section) var(--rv-gutter) 0;
}

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

.rv-section__intro {
    max-width: 42ch;
    margin: 0;
    color: var(--rv-muted);
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .rv-section__head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 36px;
    }
}

.rv-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 10px;
    background: var(--rv-surface);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--rv-ink);
}

.rv-tag--sale {
    background: var(--rv-sale);
    color: #fff;
}

.rv-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--rv-success);
    vertical-align: 1px;
}

/* ---------- Homepage: campaign ---------- */

.rv-campaign {
    background: var(--rv-night);
}

.rv-campaign__stage {
    position: relative;
    min-height: clamp(560px, 78vh, 820px);
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.rv-campaign__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.rv-campaign__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 50%;
}

.rv-campaign__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(21 18 15 / 72%) 0%, rgb(21 18 15 / 36%) 38%, rgb(21 18 15 / 0%) 62%);
}

.rv-campaign__content {
    width: 100%;
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: 96px var(--rv-gutter);
    color: var(--rv-on-night);
}

.rv-campaign__heading {
    max-width: 7.2em;
    margin: 0;
    font-family: var(--rv-serif);
    font-size: clamp(3.2rem, 1.6rem + 5.6vw, 7.4rem);
    font-weight: var(--rv-display-weight);
    line-height: .94;
    letter-spacing: -0.015em;
    color: var(--rv-on-night);
    text-wrap: balance;
}

.rv-campaign__text {
    max-width: 34ch;
    margin: 28px 0 0;
    font-size: clamp(16px, .95rem + .2vw, 18px);
    line-height: 1.65;
    color: rgb(243 238 230 / 82%);
}

.rv-campaign__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: 40px;
}

.rv-campaign__caption {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 2px 14px;
    max-width: 420px;
    margin-top: 48px;
    padding-top: 18px;
    border-top: 1px solid rgb(243 238 230 / 22%);
    color: var(--rv-on-night);
    text-decoration: none;
}

.rv-campaign__caption .rv-campaign__caption-label {
    grid-column: 1 / -1;
}

.rv-campaign__caption:hover .rv-campaign__caption-name {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rv-campaign__caption-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rv-brass);
}

.rv-campaign__caption-name {
    font-size: 13.5px;
    line-height: 1.4;
}

.rv-campaign__caption-price {
    font-size: 13.5px;
    font-weight: 600;
}

.rv-campaign__caption-price s {
    margin-left: 6px;
    font-weight: 400;
    color: var(--rv-on-night-muted);
}

@media (max-width: 767px) {
    .rv-campaign__stage {
        min-height: 0;
        display: block;
    }

    .rv-campaign__media {
        position: relative;
        inset: auto;
        aspect-ratio: 1 / 1;
    }

    .rv-campaign__media::after {
        background: linear-gradient(180deg, rgb(21 18 15 / 0%) 55%, rgb(21 18 15 / 100%) 100%);
    }

    .rv-campaign__media img {
        object-position: 50% 50%;
    }

    .rv-campaign__content {
        margin-top: -72px;
        padding: 0 var(--rv-gutter) 40px;
    }

    .rv-campaign__heading {
        font-size: clamp(2.9rem, 1.4rem + 8vw, 4rem);
    }

    .rv-campaign__text {
        margin-top: 18px;
    }

    .rv-campaign__actions {
        margin-top: 28px;
    }

    .rv-campaign__actions .rv-btn {
        flex: 1 1 100%;
    }

    .rv-campaign__caption {
        display: grid;
        margin-top: 32px;
    }
}

/* Campaign motion: the photograph settles from a slight zoom, the words rise in sequence, the
   photograph drifts a few pixels with the pointer and the scroll (ravlors::head). Transform and opacity
   only; nothing moves with reduced motion, and without animation everything is simply in place. */
@media (prefers-reduced-motion: no-preference) {
    .rv-campaign__media img {
        transform: translate3d(var(--rv-shift-x, 0), var(--rv-shift-y, 0), 0) scale(1.04);
        animation: rv-hero-settle 2.6s var(--rv-ease) backwards;
        transition: transform 1.2s var(--rv-ease);
        will-change: transform;
    }

    .rv-campaign__content > * {
        animation: rv-hero-rise 1.1s var(--rv-ease) both;
    }

    .rv-campaign__content > :nth-child(1) { animation-delay: .25s; }
    .rv-campaign__content > :nth-child(2) { animation-delay: .4s; }
    .rv-campaign__content > :nth-child(3) { animation-delay: .6s; }
    .rv-campaign__content > :nth-child(4) { animation-delay: .75s; }
    .rv-campaign__content > :nth-child(5) { animation-delay: .95s; }

    .rv-terms__item {
        animation: rv-hero-rise .9s var(--rv-ease) both;
        animation-delay: 1.05s;
    }

    .rv-terms__item:nth-child(2) { animation-delay: 1.15s; }
    .rv-terms__item:nth-child(3) { animation-delay: 1.25s; }
    .rv-terms__item:nth-child(4) { animation-delay: 1.35s; }
}

@keyframes rv-hero-settle {
    from { transform: translate3d(0, 0, 0) scale(1.12); }
    to { transform: translate3d(var(--rv-shift-x, 0), var(--rv-shift-y, 0), 0) scale(1.04); }
}

@keyframes rv-hero-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

/* The primary button fills from the left on hover. */
.rv-campaign .rv-btn--light {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .35s var(--rv-ease), border-color .35s var(--rv-ease);
}

.rv-campaign .rv-btn--light::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--rv-brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--rv-ease);
}

.rv-campaign .rv-btn--light:hover {
    background: var(--rv-paper);
    color: var(--rv-night);
}

.rv-campaign .rv-btn--light:hover::before {
    transform: scaleX(1);
}

/* The store's terms under the campaign. */
.rv-terms {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: 0 var(--rv-gutter);
    list-style: none;
    background: var(--rv-night);
    color: var(--rv-on-night);
}

.rv-terms__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 30px 28px 34px 0;
    border-top: 1px solid var(--rv-night-line);
}

.rv-terms__item + .rv-terms__item {
    padding-left: 28px;
    border-left: 1px solid var(--rv-night-line);
}

.rv-terms__icon {
    flex: none;
    margin-top: 2px;
    color: var(--rv-brass);
}

.rv-terms__title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--rv-on-night);
    text-decoration: none;
}

a.rv-terms__title:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rv-terms__text {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--rv-on-night-muted);
}

@media (max-width: 1023px) {
    .rv-terms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rv-terms__item:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 539px) {
    .rv-terms {
        grid-template-columns: 1fr;
    }

    .rv-terms__item,
    .rv-terms__item + .rv-terms__item {
        padding: 18px 0;
        border-left: 0;
    }
}

/* ---------- Homepage: the collection ---------- */

.rv-pieces {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px clamp(24px, 4vw, 64px);
}

.rv-pieces--single {
    grid-template-columns: minmax(0, 720px);
}

@media (min-width: 1180px) {
    .rv-pieces:has(> .rv-piece:nth-child(3)) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rv-pieces:has(> .rv-piece:nth-child(4)) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rv-piece {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rv-piece__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--rv-bone);
}

.rv-piece__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .6s var(--rv-ease), transform 1.2s var(--rv-ease);
}

.rv-piece__img--alt {
    opacity: 0;
}

@media (hover: hover) {
    .rv-piece:hover .rv-piece__img {
        transform: scale(1.025);
    }

    .rv-piece:hover .rv-piece__img--alt {
        opacity: 1;
    }
}

.rv-piece__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 26px;
}

.rv-piece__index {
    margin: 0 0 10px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--rv-accent);
}

.rv-piece__title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 28px;
}

.rv-piece__name {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: clamp(1.5rem, 1.15rem + 1vw, 2.1rem);
    font-weight: var(--rv-title-weight);
    line-height: 1.12;
    text-wrap: balance;
}

.rv-piece__name a,
.rv-heading a,
.rv-category__name {
    font-family: inherit;
}

.rv-piece__name a {
    font-family: var(--rv-serif);
    color: var(--rv-ink);
    text-decoration: none;
}

.rv-piece__name a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

.rv-piece__price {
    flex: none;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--rv-ink);
}

.rv-piece__price s {
    margin-left: 8px;
    font-weight: 400;
    color: var(--rv-muted);
}

.rv-piece .rv-rating {
    margin-top: 12px;
}

.rv-piece__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 22px 0 0;
    border-top: 1px solid var(--rv-line);
}

.rv-piece__specs > div {
    flex: 1 1 0;
    min-width: 110px;
    padding: 14px 16px 0 0;
}

.rv-piece__specs dt {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--rv-muted);
}

.rv-piece__specs dd {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--rv-ink);
}

.rv-piece__summary {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--rv-line);
    font-size: 15px;
    line-height: 1.6;
    color: var(--rv-muted);
}

.rv-piece__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
}

.rv-piece__actions .rv-btn {
    flex: 1 1 180px;
}

.rv-piece__status {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--rv-muted);
}

.rv-piece__status a {
    color: var(--rv-ink);
    font-weight: 600;
}

.rv-collection-feature__promise {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 36px;
    margin: 64px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--rv-line);
    list-style: none;
    font-size: 13px;
    color: var(--rv-muted);
}

.rv-collection-feature__promise li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 12px;
    background: var(--rv-accent);
    transform: rotate(45deg) translateY(-2px);
}

@media (max-width: 767px) {
    .rv-pieces {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .rv-piece__title-row {
        flex-direction: column;
        gap: 8px;
    }

    .rv-collection-feature__promise {
        justify-content: flex-start;
        margin-top: 48px;
    }
}

/* ---------- Homepage: product in detail ---------- */

.rv-detail {
    margin-top: var(--rv-section);
    background: var(--rv-night);
    color: var(--rv-on-night);
}

.rv-detail__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: stretch;
    max-width: 1600px;
    margin: 0 auto;
}

.rv-detail__media {
    position: relative;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
}

.rv-detail__media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: 30% 50%;
}

.rv-detail__body {
    align-self: center;
    padding: clamp(56px, 7vw, 112px) clamp(32px, 6vw, 96px);
}

.rv-detail__text {
    max-width: 46ch;
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--rv-on-night-muted);
}

.rv-sheet {
    margin: 36px 0 0;
    border-top: 1px solid var(--rv-night-line);
}

.rv-sheet__row {
    display: grid;
    grid-template-columns: minmax(130px, 40%) 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rv-night-line);
}

.rv-sheet dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--rv-on-night-muted);
    padding-top: 3px;
}

.rv-sheet dd {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: 21px;
    line-height: 1.3;
    color: var(--rv-on-night);
}

.rv-detail__buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    margin-top: 36px;
}

.rv-detail__price {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: 34px;
    line-height: 1;
}

.rv-detail__price s {
    margin-left: 10px;
    font-size: 20px;
    color: var(--rv-on-night-muted);
}

@media (max-width: 1023px) {
    .rv-detail__inner {
        grid-template-columns: 1fr;
    }

    .rv-detail__media img {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

/* ---------- Homepage: shop by category ---------- */

.rv-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

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

.rv-category {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--rv-bone);
    color: var(--rv-on-night);
    text-decoration: none;
    isolation: isolate;
}

.rv-categories__grid--1 .rv-category {
    aspect-ratio: 21 / 8;
}

.rv-category__media,
.rv-category__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rv-category__media {
    z-index: -1;
}

.rv-category__media img {
    object-fit: cover;
    transition: transform 1.2s var(--rv-ease);
}

.rv-category__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(21 18 15 / 0%) 45%, rgb(21 18 15 / 70%) 100%);
}

@media (hover: hover) {
    .rv-category:hover .rv-category__media img {
        transform: scale(1.03);
    }
}

.rv-category__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 4px;
    padding: clamp(20px, 2.6vw, 36px);
}

.rv-category__parent {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rv-brass);
}

.rv-category__name {
    font-family: var(--rv-serif);
    font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.9rem);
    line-height: 1.04;
}

.rv-category__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.rv-category__arrow {
    transition: transform .35s var(--rv-ease);
}

.rv-category:hover .rv-category__arrow {
    transform: translateX(6px);
}

.rv-categories__upcoming {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 4px;
    margin: 28px 0 0;
    font-size: 14px;
    color: var(--rv-muted);
}

.rv-categories__upcoming-label {
    margin-right: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rv-ink-2);
}

.rv-categories__upcoming a {
    color: var(--rv-muted);
    text-decoration: none;
}

.rv-categories__upcoming a:hover {
    color: var(--rv-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 1023px) {
    .rv-categories__grid--3,
    .rv-categories__grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .rv-categories__grid,
    .rv-categories__grid--3,
    .rv-categories__grid--4 {
        grid-template-columns: 1fr;
    }

    .rv-category,
    .rv-categories__grid--1 .rv-category {
        aspect-ratio: 4 / 3;
    }
}

/* ---------- Homepage: about RavLORS (static content) ---------- */

.rv-story {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 128px);
    align-items: end;
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: var(--rv-section) var(--rv-gutter) 0;
}

.rv-story__body .rv-heading {
    font-size: clamp(2.4rem, 1.5rem + 3vw, 4.4rem);
}

.rv-story__body p:not(.rv-kicker) {
    max-width: 52ch;
    margin: 22px 0 0;
    font-size: 17px;
    line-height: 1.75;
    color: var(--rv-ink-2);
}

.rv-story__body .rv-heading + p {
    margin-top: 32px;
}

.rv-story__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: 40px;
}

.rv-story__facts {
    margin: 0;
    border-top: 1px solid var(--rv-ink);
}

.rv-story__facts > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--rv-line);
}

.rv-story__facts dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rv-muted);
}

.rv-story__facts dd {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem);
    line-height: 1.2;
    color: var(--rv-ink);
}

@media (max-width: 1023px) {
    .rv-story {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

/* ---------- Homepage: customer reviews (a row that scrolls sideways) ---------- */

.rv-reviews__head {
    align-items: end;
}

.rv-reviews__aside {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
}

.rv-reviews__summary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    font-size: 13.5px;
    color: var(--rv-muted);
}

.rv-reviews__meta {
    display: grid;
    gap: 6px;
}

.rv-reviews__average {
    font-family: var(--rv-serif);
    font-size: 52px;
    font-weight: var(--rv-display-weight);
    line-height: 1;
    color: var(--rv-ink);
}

.rv-reviews__nav {
    display: none;
    gap: 8px;
}

.rv-reviews.is-scrollable .rv-reviews__nav {
    display: inline-flex;
}

.rv-reviews__arrow {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--rv-line-strong);
    border-radius: 50%;
    background: var(--rv-surface);
    color: var(--rv-ink);
    cursor: pointer;
    transition: border-color .2s var(--rv-ease), background .2s var(--rv-ease), color .2s var(--rv-ease);
}

.rv-reviews__arrow:hover:not(:disabled) {
    border-color: var(--rv-ink);
    background: var(--rv-ink);
    color: var(--rv-on-night);
}

.rv-reviews__arrow:disabled {
    opacity: .35;
    cursor: default;
}

.rv-reviews__arrow:focus-visible,
.rv-reviews__track:focus-visible,
.rv-review__photo:focus-visible {
    outline: 2px solid var(--rv-accent);
    outline-offset: 3px;
}

.rv-reviews__track {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 20px) / 3);
    gap: 20px;
    margin: 0;
    padding: 6px 2px 10px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
    cursor: grab;
}

.rv-reviews__track::-webkit-scrollbar {
    display: none;
}

.rv-reviews__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.rv-reviews__track.is-dragging .rv-review {
    pointer-events: none;
}

.rv-reviews__track img {
    -webkit-user-drag: none;
}

/* Progress bar: a hairline track with a walnut thumb that follows the row; click or drag it to move. */
.rv-reviews__bar {
    position: relative;
    display: none;
    height: 18px;
    margin: 18px auto 0;
    max-width: 360px;
    cursor: pointer;
    touch-action: none;
}

.rv-reviews.is-scrollable .rv-reviews__bar {
    display: block;
}

.rv-reviews__bar::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--rv-line);
    transform: translateY(-50%);
}

.rv-reviews__thumb {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: var(--rv-accent);
    transition: height .2s var(--rv-ease), margin .2s var(--rv-ease), background .2s var(--rv-ease);
    will-change: transform;
}

.rv-reviews__bar:hover .rv-reviews__thumb,
.rv-reviews__track.is-dragging ~ .rv-reviews__bar .rv-reviews__thumb {
    height: 4px;
    margin-top: -2px;
    background: var(--rv-accent-strong);
}

.rv-review {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 28px;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
    scroll-snap-align: start;
    transition: transform .45s var(--rv-ease), box-shadow .45s var(--rv-ease), border-color .45s var(--rv-ease);
}

@media (hover: hover) {
    .rv-review:hover {
        border-color: var(--rv-line-strong);
        box-shadow: var(--rv-shadow);
        transform: translateY(-4px);
    }
}

/* Entrance: the cards rise in one after another the first time the section scrolls into view (script adds
   .rv-reveal only when the section starts below the fold, and never with reduced motion). */
.rv-reviews.rv-reveal .rv-review {
    opacity: 0;
    transform: translateY(28px);
}

.rv-reviews.rv-reveal.is-visible .rv-review {
    opacity: 1;
    transform: none;
    transition: opacity .8s var(--rv-ease), transform .8s var(--rv-ease), box-shadow .45s var(--rv-ease), border-color .45s var(--rv-ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}

.rv-reviews.rv-reveal .rv-reviews__summary,
.rv-reviews.rv-reveal .rv-reviews__nav {
    opacity: 0;
    transform: translateY(12px);
}

.rv-reviews.rv-reveal.is-visible .rv-reviews__summary,
.rv-reviews.rv-reveal.is-visible .rv-reviews__nav {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--rv-ease) .1s, transform .7s var(--rv-ease) .1s;
}

@media (hover: hover) {
    .rv-reviews.rv-reveal.is-visible .rv-review:hover {
        transform: translateY(-4px);
        transition-delay: 0s;
    }
}

.rv-review__who {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rv-avatar {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--rv-raised);
    color: var(--rv-ink-2);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
}

.rv-avatar--0 { background: #efe3d6; color: #5e3a20; }
.rv-avatar--1 { background: #e3e7e9; color: #2f3d45; }
.rv-avatar--2 { background: #e6ece4; color: #2f4d37; }
.rv-avatar--3 { background: #f1e6cf; color: #6a4b12; }
.rv-avatar--4 { background: #ece4e8; color: #55323f; }
.rv-avatar--5 { background: #e7e2dc; color: #3b3631; }

.rv-review__person {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.rv-review__name {
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--rv-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rv-review__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--rv-success);
}

.rv-review__stars {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.rv-review__date {
    font-size: 12.5px;
    color: var(--rv-muted);
}

.rv-review__title {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: 21px;
    font-weight: var(--rv-title-weight);
    line-height: 1.25;
    color: var(--rv-ink);
}

.rv-review__text {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.7;
    color: var(--rv-ink-2);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.rv-review__photos {
    display: flex;
    gap: 8px;
}

.rv-review__photo {
    width: 64px;
    height: 64px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--rv-line);
    background: var(--rv-raised);
    cursor: zoom-in;
}

.rv-review__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rv-review__product {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--rv-line);
    font-size: 13px;
    line-height: 1.4;
    color: var(--rv-muted);
    text-decoration: none;
}

.rv-review__product img {
    flex: none;
    width: 40px;
    height: 40px;
    object-fit: cover;
    background: var(--rv-raised);
}

.rv-review__product span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rv-review__product:hover span {
    color: var(--rv-ink);
    text-decoration: underline;
}

.rv-photo-dialog {
    max-width: min(92vw, 900px);
    max-height: 90vh;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.rv-photo-dialog::backdrop {
    background: rgb(21 18 15 / 82%);
}

.rv-photo-dialog img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.rv-photo-dialog__close {
    position: absolute;
    top: -14px;
    right: -14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--rv-surface);
    color: var(--rv-ink);
    cursor: pointer;
}

@media (max-width: 1023px) {
    .rv-reviews__track {
        grid-auto-columns: calc((100% - 16px) / 2);
        gap: 16px;
    }
}

@media (max-width: 639px) {
    .rv-reviews__track {
        grid-auto-columns: 86%;
        gap: 12px;
    }

    .rv-review {
        padding: 22px;
    }

    .rv-reviews__average {
        font-size: 42px;
    }

    .rv-photo-dialog__close {
        top: 8px;
        right: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rv-reviews__track {
        scroll-behavior: auto;
    }

    .rv-review,
    .rv-reviews__thumb {
        transition: none;
    }

    .rv-review:hover {
        transform: none;
    }
}

/* ---------- Homepage: care and responsible ownership (static content) ---------- */

.rv-care {
    margin-top: var(--rv-section);
    background: var(--rv-night);
    color: var(--rv-on-night);
}

.rv-care__inner {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 112px);
    align-items: center;
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: var(--rv-section) var(--rv-gutter);
}

.rv-care__media {
    margin: 0;
}

.rv-care__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.rv-care__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: rv-step;
}

.rv-care__steps li {
    padding: 22px 0;
    border-top: 1px solid var(--rv-night-line);
    counter-increment: rv-step;
}

.rv-care__steps h3 {
    display: flex;
    gap: 14px;
    align-items: baseline;
    margin: 0;
    font-family: var(--rv-serif);
    font-size: 23px;
    font-weight: var(--rv-display-weight);
    color: var(--rv-on-night);
}

.rv-care__steps h3::before {
    content: counter(rv-step, decimal-leading-zero);
    font-family: var(--rv-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--rv-brass);
}

.rv-care__steps p {
    margin: 8px 0 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--rv-on-night-muted);
}

.rv-care__note {
    margin-top: 28px;
    padding: 22px 24px;
    border: 1px solid var(--rv-night-line);
    border-left: 2px solid var(--rv-brass);
}

.rv-care__note h3 {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--rv-on-night);
}

.rv-care__note p {
    margin: 8px 0 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--rv-on-night-muted);
}

.rv-care__note a {
    color: var(--rv-on-night);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 1023px) {
    .rv-care__inner {
        grid-template-columns: 1fr;
    }

    .rv-care__media img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 599px) {
    .rv-care__steps {
        grid-template-columns: 1fr;
    }
}

/* ---------- Homepage: FAQ (lors/core) ---------- */

html .lors-section.lors-faq {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 32px clamp(40px, 6vw, 112px);
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: var(--rv-section) var(--rv-gutter) 0;
    align-items: start;
}

html .lors-faq .lors-section__head {
    align-self: start;
    position: sticky;
    top: 120px;
    margin: 0;
    padding: 0;
    border: 0;
}

html .lors-faq .lors-section__title {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.6rem);
    font-weight: var(--rv-display-weight);
    line-height: 1.04;
    color: var(--rv-ink);
}

html .lors-faq__list {
    border-top: 1px solid var(--rv-line);
}

html .lors-faq__item {
    border: 0;
    border-bottom: 1px solid var(--rv-line);
    border-radius: 0;
    background: transparent;
}

html .lors-faq__item summary {
    position: relative;
    display: block;
    padding: 24px 48px 24px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--rv-ink);
    list-style: none;
    cursor: pointer;
}

html .lors-faq__item summary::-webkit-details-marker {
    display: none;
}

html .lors-faq__item summary::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    background:
        linear-gradient(var(--rv-ink), var(--rv-ink)) center / 14px 1.2px no-repeat,
        linear-gradient(var(--rv-ink), var(--rv-ink)) center / 1.2px 14px no-repeat;
    transition: transform .3s var(--rv-ease);
}

html .lors-faq__item[open] summary::after {
    transform: rotate(45deg);
}

html .lors-faq__item p {
    margin: 0;
    padding: 0 48px 26px 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--rv-ink-2);
}

@media (max-width: 1023px) {
    html .lors-section.lors-faq {
        grid-template-columns: 1fr;
    }
}

/* Older lors/core homepage sections, if switched back on, keep the brand's type. */
html .lors-section__title,
html .lors-hero__heading,
html .lors-promo__heading {
    font-family: var(--rv-serif);
    font-weight: var(--rv-display-weight);
}

/* ---------- Product cards (shop::components.products.card) ---------- */

.rv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.rv-card__media {
    position: relative;
    overflow: hidden;
    background: var(--rv-bone);
}

.rv-card__image {
    display: block;
}

.rv-card__img,
.rv-card__media .shimmer {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 1.1s var(--rv-ease);
}

@media (hover: hover) {
    .rv-card:hover .rv-card__img {
        transform: scale(1.03);
    }
}

.rv-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    margin: 0;
    padding: 5px 10px;
    background: var(--rv-surface);
    color: var(--rv-ink);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.rv-card__badge--sale {
    background: var(--rv-sale);
    color: #fff;
}

.rv-card__tools {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    gap: 8px;
}

.rv-card__tool {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 92%);
    color: var(--rv-ink);
    font-size: 19px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s var(--rv-ease), color .2s var(--rv-ease);
}

.rv-card:hover .rv-card__tool,
.rv-card__tool:focus-visible,
.rv-card__tool--on {
    opacity: 1;
}

@media (hover: none) {
    .rv-card__tool {
        opacity: 1;
    }
}

.rv-card__tool--on {
    color: var(--rv-sale);
}

.rv-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    padding-top: 18px;
}

.rv-card__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--rv-serif);
    font-size: 21px;
    line-height: 1.2;
    color: var(--rv-ink);
    text-decoration: none;
    font-weight: var(--rv-title-weight);
}

.rv-card__name:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.rv-card__rating {
    width: fit-content;
}

.rv-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--rv-ink);
}

.rv-card__price .line-through,
.rv-card__price s {
    font-weight: 400;
    color: var(--rv-muted);
}

.rv-card__add {
    margin-top: auto;
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--rv-ink);
    border-radius: var(--rv-radius);
    background: transparent;
    color: var(--rv-ink);
    font-family: var(--rv-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .25s var(--rv-ease), color .25s var(--rv-ease);
}

.rv-card__add:hover:not(:disabled) {
    background: var(--rv-ink);
    color: var(--rv-paper);
}

.rv-card__add:disabled {
    opacity: .4;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .rv-card__name {
        font-size: 18px;
    }

    .rv-card__price {
        font-size: 14px;
    }

    .rv-card__add {
        min-height: 44px;
        font-size: 11px;
        letter-spacing: .1em;
    }
}

/* Product grids (category, search, carousels): generous rhythm; one or two knives are not lost in empty columns. */
main .grid:has(> .rv-card) {
    gap: 56px 28px;
}

@media (min-width: 768px) {
    main .grid:has(> .rv-card:only-child) {
        grid-template-columns: minmax(0, 460px);
    }

    main .grid:has(> .rv-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 460px));
    }
}

@media (max-width: 767px) {
    main .grid:has(> .rv-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 14px;
    }
}

/* ---------- Product carousels ("You may also like", homepage carousels) ---------- */

.rv-collection {
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: var(--rv-section) var(--rv-gutter) 0;
}

.rv-collection__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rv-line);
}

.rv-collection__title {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem);
    font-weight: var(--rv-display-weight);
    line-height: 1.05;
    color: var(--rv-ink);
}

.rv-collection__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rv-ink);
    white-space: nowrap;
}

.rv-collection__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 56px 28px;
}

@media (max-width: 1179px) {
    .rv-collection__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .rv-collection__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 14px;
    }
}

/* Two knives: two generous columns, not two cards and two empty slots. */
.rv-collection__grid:has(> .rv-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* One knife: a horizontal feature, photograph beside its details. */
.rv-collection__grid:has(> .rv-card:only-child) {
    grid-template-columns: 1fr;
}

.rv-collection__grid > .rv-card:only-child {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(28px, 5vw, 80px);
    padding: clamp(20px, 3vw, 40px);
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
}

.rv-collection__grid > .rv-card:only-child .rv-card__body {
    padding-top: 0;
    max-width: 460px;
}

.rv-collection__grid > .rv-card:only-child .rv-card__name {
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
    -webkit-line-clamp: 3;
}

.rv-collection__grid > .rv-card:only-child .rv-card__price {
    margin-top: 6px;
    font-size: 17px;
}

.rv-collection__grid > .rv-card:only-child .rv-card__add {
    width: auto;
    padding: 0 34px;
    align-self: flex-start;
}

@media (max-width: 599px) {
    .rv-collection__grid > .rv-card:only-child {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        background: transparent;
        border: 0;
    }
}

/* ---------- Service strip (above the footer) ---------- */

.rv-services {
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: var(--rv-section) auto 0;
    padding: 0 var(--rv-gutter);
}

.rv-services__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rv-line);
    border-bottom: 1px solid var(--rv-line);
}

.rv-services__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 30px 24px;
}

.rv-services__item + .rv-services__item {
    border-left: 1px solid var(--rv-line);
}

.rv-services__icon {
    flex: none;
    font-size: 24px;
    line-height: 1;
    color: var(--rv-accent);
}

.rv-services__title {
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 14px;
    color: var(--rv-ink);
}

.rv-services__text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--rv-muted);
}

@media (max-width: 1023px) {
    .rv-services__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rv-services__item:nth-child(3) {
        border-left: 0;
    }

    .rv-services__item:nth-child(n + 3) {
        border-top: 1px solid var(--rv-line);
    }
}

@media (max-width: 479px) {
    .rv-services__item {
        flex-direction: column;
        gap: 10px;
        padding: 22px 12px;
    }
}

/* Homepage: the store's terms are already under the campaign. */
body:has(.rv-campaign) .rv-services {
    display: none;
}

/* ---------- Collection (category) pages ---------- */

html main .lors-category-heading {
    margin-top: 0;
    padding-top: clamp(40px, 5vw, 72px);
    border: 0;
}

html .lors-crumbs {
    margin-bottom: 22px;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--rv-muted);
}

html .lors-crumbs a {
    color: var(--rv-muted);
    text-decoration: none;
}

html .lors-crumbs a:hover {
    color: var(--rv-ink);
    text-decoration: underline;
}

html .lors-category-title {
    font-family: var(--rv-serif);
    font-size: clamp(3rem, 1.6rem + 4.4vw, 6rem);
    font-weight: var(--rv-display-weight);
    line-height: .98;
    letter-spacing: -0.01em;
    color: var(--rv-ink);
}

.rv-cat-intro {
    margin-top: 20px;
    padding-bottom: 8px;
}

.rv-cat-intro__text,
.rv-cat-intro__text * {
    max-width: 58ch;
    font-size: 17px;
    line-height: 1.7;
    color: var(--rv-muted);
}

.rv-cat-intro__text p {
    margin: 0;
}

/* Small collections: no filter column (it stays mounted: it starts the product request). */
.rv-filters--quiet {
    display: none !important;
}

/* Sort toolbar and filters. */
main .panel-side,
main [class*="max-w-[400px]"] {
    color: var(--rv-ink);
}

main select,
main .rounded-lg.border,
main .rounded-xl.border {
    border-color: var(--rv-line);
}

/* An empty collection, or filters with no result: said plainly, with a way forward. */
.rv-empty {
    display: grid;
    justify-items: center;
    gap: 16px;
    max-width: 620px;
    margin: 24px auto 0;
    padding: clamp(48px, 8vw, 104px) 28px;
    text-align: center;
    border-top: 1px solid var(--rv-line);
    border-bottom: 1px solid var(--rv-line);
}

.rv-empty__title {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
    font-weight: var(--rv-display-weight);
    line-height: 1.1;
    color: var(--rv-ink);
}

.rv-empty__text {
    margin: 0;
    max-width: 46ch;
    color: var(--rv-muted);
    line-height: 1.65;
}

.rv-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

/* ---------- Product page ---------- */

@media (min-width: 1180px) {
    main .rv-product {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr);
        gap: clamp(40px, 5vw, 88px);
        align-items: start;
        margin-top: 40px;
    }

    main .rv-product > div:first-child,
    main .rv-product > div:first-child > div,
    main .rv-gallery {
        width: 100%;
        min-width: 0;
    }

    main .rv-product__info {
        max-width: 560px;
    }

    main .rv-gallery {
        top: 112px;
        gap: 16px;
    }

    main .rv-gallery > div:first-child {
        flex: 0 0 76px;
        min-width: 76px;
        max-width: 76px;
    }

    main .rv-gallery__thumbs {
        max-height: 640px;
        gap: 10px;
    }

    main .rv-gallery__thumbs img {
        width: 76px;
        height: 76px;
        min-width: 76px;
        max-height: none;
        object-fit: cover;
        border-radius: 0;
        border: 1px solid transparent;
        background: var(--rv-bone);
        opacity: .7;
        transition: opacity .2s var(--rv-ease), border-color .2s var(--rv-ease);
    }

    main .rv-gallery__thumbs img:hover,
    main .rv-gallery__thumbs img.border-navyBlue {
        opacity: 1;
        border-color: var(--rv-ink);
    }

    main .rv-gallery__stage {
        flex: 1;
        max-width: none;
        max-height: none;
    }

    main .rv-gallery__stage img {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 0;
        background: var(--rv-bone);
        cursor: zoom-in;
    }

    main .rv-gallery .shimmer {
        min-width: 0;
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 0;
    }
}

/* Phones and tablets: a full-width swipe gallery, one square photo per slide. */
@media (max-width: 1179px) {
    main .scrollbar-hide.flex.w-screen {
        gap: 0;
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    main .scrollbar-hide.flex.w-screen > .relative.m-auto.flex {
        flex: 0 0 100vw;
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        overflow: hidden;
    }

    main .scrollbar-hide.flex.w-screen .inline-flex > .grid.w-screen {
        flex: 0 0 100vw;
        width: 100vw;
        max-height: none;
        background: var(--rv-bone);
    }

    main .scrollbar-hide.flex.w-screen .inline-flex > .grid.w-screen > img {
        width: 100vw;
        max-width: 100vw;
        height: auto;
        max-height: min(100vw, 80vh);
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

main .rv-product__info h1 {
    font-family: var(--rv-serif);
    font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.75rem);
    font-weight: var(--rv-title-weight);
    line-height: 1.04;
    letter-spacing: -0.005em;
    color: var(--rv-ink);
    text-wrap: balance;
}

main .rv-product__info h1 + div [class*="rounded-full"],
main .rv-product__info .rounded-full.border {
    border-color: var(--rv-line-strong);
    background: transparent;
}

main .rv-product__info p.text-2xl,
main .rv-product__info .text-2xl.font-medium\! {
    margin-top: 22px;
    font-family: var(--rv-sans);
    font-size: 24px;
    font-weight: 500 !important;
    color: var(--rv-ink);
}

main .rv-product__info p.text-lg.text-zinc-500 {
    font-size: 16px;
    line-height: 1.7;
    color: var(--rv-ink-2);
}

/* The purchase row: quantity, then Add to cart; Buy now beneath, the strongest button. */
main .rv-buybar {
    max-width: 100%;
    gap: 12px;
}

main .rv-buybar > div:first-child {
    min-height: 56px;
    border-radius: var(--rv-radius);
    border-color: var(--rv-line-strong);
    background: var(--rv-surface);
}

main .rv-buybar .secondary-button {
    min-height: 56px;
    flex: 1;
}

main .rv-buynow.primary-button {
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    margin-top: 12px;
}

@media (max-width: 767px) {
    main .rv-buybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        margin: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: var(--rv-paper);
        border-top: 1px solid var(--rv-line);
        box-shadow: 0 -12px 30px -24px rgb(26 23 20 / 40%);
        flex-wrap: nowrap;
    }

    main .rv-buybar > :not(:first-child) {
        flex: 1;
        min-width: 0;
    }

    body:has(.rv-buybar) {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    main .rv-buybar > div:first-child,
    main .rv-buybar .secondary-button {
        min-height: 50px;
    }

    main .rv-buybar .secondary-button {
        background: var(--rv-ink);
        color: var(--rv-paper);
    }

    main .rv-buynow.primary-button {
        min-height: 50px;
        background: transparent;
        color: var(--rv-ink);
    }
}

/* Description / Specifications / Reviews tabs. */
main [role="tablist"] {
    justify-content: center;
    gap: clamp(16px, 4vw, 56px);
    background: transparent;
    border-bottom: 1px solid var(--rv-line);
}

main [role="tablist"] [role="tab"] {
    padding: 20px 2px;
    border-radius: 0;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--rv-muted);
}

main [role="tablist"] [role="tab"][aria-selected="true"] {
    color: var(--rv-ink) !important;
    border-bottom: 1px solid var(--rv-ink);
}

main [role="tabpanel"],
main [role="tabpanel"] p,
main [role="tabpanel"] li,
#descritpion-tab,
#descritpion-tab p {
    color: var(--rv-ink-2);
    font-size: 16.5px;
    line-height: 1.8;
}

main [role="tabpanel"] {
    animation: none !important;
    max-width: 760px;
    margin-inline: auto;
}

main [role="tabpanel"] strong {
    color: var(--rv-ink);
    font-weight: 600;
}

main details > summary {
    color: var(--rv-ink);
}

main nav[aria-label="Breadcrumb"],
main .breadcrumbs {
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--rv-muted);
}

/* Specifications, delivery and payment (ravlors::product.details). */
/* Specifications and delivery: a full-width band under the product, two columns on wide screens. */
.rv-details {
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 56px auto 0;
    padding: 0 var(--rv-gutter);
}

.rv-details__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(32px, 5vw, 88px);
    border-top: 1px solid var(--rv-line);
}

@media (max-width: 1023px) {
    .rv-details__inner {
        grid-template-columns: 1fr;
    }
}

.rv-paywith {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 14px 0;
    border-top: 1px solid var(--rv-line);
    border-bottom: 1px solid var(--rv-line);
    color: var(--rv-muted);
    font-size: 12.5px;
}

.rv-paywith__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    letter-spacing: .04em;
}

.rv-marks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-mark {
    display: inline-flex;
    line-height: 0;
}

.rv-mark svg {
    display: block;
    border-radius: 3px;
    box-shadow: 0 0 0 1px var(--rv-line);
}

.rv-panel {
    padding: 24px 0;
    border-bottom: 1px solid var(--rv-line);
}

.rv-panel__title {
    margin: 0 0 16px;
    font-family: var(--rv-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rv-muted);
}

.rv-specs {
    display: grid;
    grid-template-columns: minmax(130px, auto) 1fr;
    gap: 0;
    margin: 0;
}

.rv-specs dt,
.rv-specs dd {
    padding: 10px 0;
    border-top: 1px solid var(--rv-line);
    font-size: 14.5px;
}

.rv-specs dt:first-of-type,
.rv-specs dd:first-of-type {
    border-top: 0;
}

.rv-specs dt {
    color: var(--rv-muted);
}

.rv-specs dd {
    margin: 0;
    color: var(--rv-ink);
    font-weight: 500;
}

.rv-facts {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-facts li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    align-items: start;
    font-size: 14px;
    line-height: 1.55;
    color: var(--rv-muted);
}

.rv-facts svg {
    margin-top: 1px;
    color: var(--rv-accent);
}

.rv-facts strong {
    display: block;
    color: var(--rv-ink);
    font-weight: 600;
}

.rv-facts a {
    color: var(--rv-ink);
    text-decoration: underline;
    text-decoration-color: var(--rv-line-strong);
    text-underline-offset: 3px;
}

.rv-facts a:hover {
    text-decoration-color: var(--rv-ink);
}

html .lors-stock {
    margin-top: 16px;
    font-size: 13.5px;
}

html .lors-purchase-help {
    margin-top: 14px;
    font-size: 13px;
    color: var(--rv-muted);
}

/* Under the title: the rating, linking to the reviews section. */
.rv-rating-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--rv-muted);
    font-size: 13.5px;
    text-decoration: none;
}

.rv-rating-line__score {
    font-weight: 600;
    color: var(--rv-ink);
}

.rv-rating-line:hover span:last-child {
    color: var(--rv-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Bagisto's own rating badge and lors/core's help links are replaced by the lines above and below. */
main .rv-native-rating,
main .rv-product__info .lors-purchase-help {
    display: none;
}

/* Under Buy now: express checkout, how to pay, the store's terms in short. */
.rv-purchase {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

/* Shown only once PayPal has drawn its button (blocked or slow scripts leave no empty gap). */
.rv-express:not(.is-ready) {
    display: none;
}

.rv-express__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--rv-muted);
}

.rv-express__divider::before,
.rv-express__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rv-line);
}

.rv-express__buttons,
#steps-container .paypal-button-container {
    position: relative;
    z-index: 0;
    isolation: isolate;
}

.rv-express__buttons {
    min-height: 48px;
}

.rv-express__status {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--rv-sale);
}

.rv-express__status:empty {
    display: none;
}

.rv-assure {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--rv-line);
    background: var(--rv-surface);
}

.rv-assure li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 16px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--rv-ink-2);
}

.rv-assure li + li {
    border-left: 1px solid var(--rv-line);
}

.rv-assure svg {
    color: var(--rv-accent);
}

.rv-assure a {
    color: var(--rv-ink);
    text-decoration: none;
}

.rv-assure a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 479px) {
    .rv-assure {
        grid-template-columns: 1fr;
    }

    .rv-assure li {
        flex-direction: row;
        align-items: center;
    }

    .rv-assure li + li {
        border-left: 0;
        border-top: 1px solid var(--rv-line);
    }
}

/* Reviews: their own section under the description. */
.rv-reviews-block {
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: var(--rv-section) auto 0;
    padding: 0 var(--rv-gutter);
}

.rv-reviews-block {
    overflow-x: clip;
}

.rv-reviews-block .container:has(.shimmer) {
    max-height: 340px;
    overflow: hidden;
}

.rv-reviews-block .shimmer,
.rv-reviews-block [class*="shimmer"] {
    max-width: 100%;
}

.rv-reviews-block > div > .container,
.rv-reviews-block .container {
    max-width: none;
    padding: 0 !important;
}

.rv-reviews-block .rv-reviews-title {
    margin: 0 0 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rv-line);
    font-family: var(--rv-serif);
    font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem);
    font-weight: var(--rv-display-weight);
    line-height: 1.1;
}

/* Related products: no large grey skeleton while they load (they are below the fold). */
.rv-associations > .container {
    display: none;
}

.rv-stars--lg {
    width: 112px;
    height: 20px;
    -webkit-mask-size: 112px 20px;
    mask-size: 112px 20px;
}

.rv-rv {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.rv-rv__summary {
    position: sticky;
    top: 130px;
    display: grid;
    gap: 24px;
    padding: 28px;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
}

.rv-rv__score {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rv-rv__average {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: 64px;
    font-weight: var(--rv-display-weight);
    line-height: 1;
    color: var(--rv-ink);
}

.rv-rv__based {
    margin: 8px 0 0;
    font-size: 13.5px;
    color: var(--rv-muted);
}

.rv-rv__bars {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-rv__bar {
    display: grid;
    grid-template-columns: 34px 1fr 28px;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    margin: 0 -8px;
    width: calc(100% + 16px);
    border: 0;
    border-radius: var(--rv-radius);
    background: transparent;
    color: var(--rv-ink-2);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
}

.rv-rv__bar:hover:not(:disabled),
.rv-rv__bar.is-active {
    background: var(--rv-raised);
}

.rv-rv__bar.is-active {
    color: var(--rv-ink);
    font-weight: 600;
}

.rv-rv__bar:disabled {
    cursor: default;
    opacity: .55;
}

.rv-rv__bar:focus-visible,
.rv-rv__chip:focus-visible,
.rv-rv__thumb:focus-visible,
.rv-rcard__photo:focus-visible,
.rv-rv__write:focus-visible {
    outline: 2px solid var(--rv-accent);
    outline-offset: 2px;
}

.rv-rv__bar-label span {
    color: var(--rv-star);
}

.rv-rv__bar-track {
    position: relative;
    height: 8px;
    overflow: hidden;
    background: var(--rv-line);
}

.rv-rv__bar-track span {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--rv-star);
}

.rv-rv__bar-count {
    text-align: right;
    color: var(--rv-muted);
    font-variant-numeric: tabular-nums;
}

.rv-rv__write {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid var(--rv-ink);
    border-radius: var(--rv-radius);
    background: var(--rv-surface);
    color: var(--rv-ink);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s var(--rv-ease), color .2s var(--rv-ease);
}

.rv-rv__write:hover {
    background: var(--rv-ink);
    color: var(--rv-on-night);
}

.rv-rv__main {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.rv-rv__label {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rv-ink);
}

.rv-rv__label span {
    color: var(--rv-muted);
    font-weight: 500;
}

.rv-rv__gallery-row {
    display: flex;
    gap: 10px;
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.rv-rv__thumb,
.rv-rcard__photo {
    flex: none;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--rv-line);
    background: var(--rv-raised);
    cursor: zoom-in;
    scroll-snap-align: start;
}

.rv-rv__thumb {
    width: 88px;
    height: 88px;
}

.rv-rv__thumb img,
.rv-rcard__photo img,
.rv-rcard__photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s var(--rv-ease);
}

.rv-rv__thumb:hover img,
.rv-rcard__photo:hover img {
    transform: scale(1.05);
}

.rv-rv__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rv-line);
}

.rv-rv__showing {
    min-height: 20px;
    margin: 0;
    font-size: 14px;
    color: var(--rv-muted);
}

.rv-rv__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rv-rv__chip {
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid var(--rv-line-strong);
    border-radius: 999px;
    background: var(--rv-surface);
    color: var(--rv-ink-2);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.rv-rv__chip:hover,
.rv-rv__chip.is-active {
    border-color: var(--rv-ink);
    color: var(--rv-ink);
}

.rv-rv__chip.is-active {
    background: var(--rv-ink);
    color: var(--rv-on-night);
}

.rv-rv__chip--clear {
    border-color: transparent;
    text-decoration: underline;
}

.rv-rv__none {
    margin: 0;
    padding: 32px;
    border: 1px dashed var(--rv-line-strong);
    color: var(--rv-muted);
    text-align: center;
}

.rv-rv__none button {
    margin-left: 6px;
    border: 0;
    background: none;
    color: var(--rv-ink);
    text-decoration: underline;
    cursor: pointer;
}

.rv-rv__more {
    justify-self: center;
    min-height: 48px;
    padding: 0 36px;
    border: 1px solid var(--rv-ink);
    border-radius: var(--rv-radius);
    background: var(--rv-surface);
    color: var(--rv-ink);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
}

.rv-rv__empty {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 56px 24px;
    border: 1px solid var(--rv-line);
    background: var(--rv-surface);
    text-align: center;
}

.rv-rv__empty p {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: 22px;
    color: var(--rv-ink);
}

.rv-reviews-block .rv-reviews-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 1023px) {
    .rv-rv {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .rv-rv__summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .rv-reviews-block .rv-reviews-list {
        grid-template-columns: 1fr;
    }

    .rv-rv__summary {
        padding: 22px;
    }

    .rv-rv__average {
        font-size: 52px;
    }

    .rv-rv__thumb {
        width: 76px;
        height: 76px;
    }
}

.rv-rcard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 24px 26px;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
}

.rv-rcard__who {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rv-rcard__person {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.rv-rcard__name {
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--rv-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rv-rcard__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

html .rv-rcard__verified.lors-review-verified {
    font-size: 12.5px;
}

.rv-rcard__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 0;
}

.rv-rcard__date {
    font-size: 12.5px;
    color: var(--rv-muted);
}

.rv-rcard__title {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: 20px;
    font-weight: var(--rv-title-weight);
    line-height: 1.25;
    color: var(--rv-ink);
}

.rv-rcard__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--rv-ink-2);
}

.rv-rcard__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rv-rcard__photo {
    width: 72px;
    height: 72px;
}

.rv-rcard__extras {
    margin-top: auto;
}

.rv-rcard__extras:empty {
    display: none;
}

/* Reviews (lors/core override of Bagisto's reviews). */
html .lors-review-verified {
    color: var(--rv-success);
    font-size: 13px;
    font-weight: 500;
}

/* ---------- Sign in and sign up with a provider (social_login) ---------- */

.rv-social {
    display: grid;
    gap: 10px;
    margin-bottom: 8px;
}

.rv-social__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid var(--rv-line-strong);
    border-radius: var(--rv-radius);
    background: var(--rv-surface);
    color: var(--rv-ink);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .2s var(--rv-ease), background-color .2s var(--rv-ease);
}

.rv-social__button:hover {
    border-color: var(--rv-ink);
}

.rv-social__icon,
.rv-social__icon svg {
    display: inline-flex;
    width: 22px;
    height: 22px;
}

.rv-social__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 6px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rv-muted);
}

.rv-social__divider::before,
.rv-social__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rv-line);
}

/* ---------- Wishlist without an account (ravlors::wishlist) ---------- */

.rv-header-wishlist {
    position: relative;
    display: inline-flex;
}

.rv-header-wishlist__count {
    position: absolute;
    top: -6px;
    right: -9px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--rv-ink);
    color: var(--rv-paper);
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}

.rv-wl {
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: clamp(40px, 6vw, 88px) var(--rv-gutter) 0;
}

.rv-wl__lede {
    max-width: 60ch;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--rv-muted);
}

.rv-wl__lede a {
    color: var(--rv-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rv-wl__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
    gap: 20px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.rv-wl__item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
}

.rv-wl__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--rv-bone);
}

.rv-wl__name {
    font-family: var(--rv-serif);
    font-size: 20px;
    font-weight: var(--rv-title-weight);
    line-height: 1.2;
    color: var(--rv-ink);
    text-decoration: none;
}

.rv-wl__price {
    margin: 8px 0 0;
    font-weight: 600;
}

.rv-wl__price s {
    margin-left: 8px;
    font-weight: 400;
    color: var(--rv-muted);
}

.rv-wl__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin-top: 16px;
}

.rv-wl__actions .rv-btn {
    min-height: 44px;
    padding: 0 20px;
}

.rv-wl__actions .rv-link {
    border: 0;
    background: none;
    cursor: pointer;
}

.rv-wl__status {
    margin: 10px 0 0;
    font-size: 13px;
}

.rv-wl__status:empty {
    display: none;
}

.rv-wl__empty {
    display: grid;
    justify-items: start;
    gap: 10px;
    margin-top: 40px;
    padding: 32px;
    border: 1px solid var(--rv-line);
    background: var(--rv-surface);
}

.rv-wl__empty-title {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: 26px;
}

@media (max-width: 479px) {
    .rv-wl__item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }
}

/* ---------- Order tracking (ravlors::track-order) ---------- */

.rv-track-page {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 88px) var(--rv-gutter) 0;
}

.rv-track-page__head {
    margin-bottom: 36px;
}

.rv-track-page__lede {
    max-width: 52ch;
    margin: 18px 0 0;
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--rv-muted);
}

.rv-track-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    padding: clamp(22px, 3vw, 36px);
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
}

.rv-track-form .rv-btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.rv-track-form__error {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 14px;
    border-left: 2px solid var(--rv-sale);
    background: #f8ece9;
    font-size: 14px;
    color: var(--rv-sale);
}

.rv-field {
    display: grid;
    align-content: start;
    gap: 8px;
}

.rv-field__label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--rv-ink-2);
}

.rv-field input {
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--rv-line-strong);
    border-radius: var(--rv-radius);
    background: var(--rv-paper);
    font: inherit;
    color: var(--rv-ink);
}

.rv-field input:focus {
    border-color: var(--rv-ink);
    outline: none;
}

@media (max-width: 599px) {
    .rv-track-form {
        grid-template-columns: 1fr;
    }

    .rv-track-form .rv-btn {
        justify-self: stretch;
    }
}

.rv-track-page__again {
    margin: 24px 0 0;
}

.rv-track-page__help {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--rv-line);
    font-size: 14.5px;
    color: var(--rv-muted);
}

.rv-track-page__help p {
    margin: 8px 0 0;
}

.rv-track-page__help a {
    color: var(--rv-ink);
}

.rv-track {
    padding: clamp(22px, 3vw, 36px);
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
}

.rv-track__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rv-line);
}

.rv-track__head .rv-kicker {
    margin-bottom: 6px;
}

.rv-track__date {
    margin: 0;
    font-size: 14px;
    color: var(--rv-muted);
}

.rv-track__status {
    margin: 0;
    padding: 6px 12px;
    background: var(--rv-ink);
    color: var(--rv-paper);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rv-track__status--stopped {
    background: var(--rv-sale);
}

.rv-track__notice {
    margin: 22px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--rv-ink-2);
}

.rv-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.rv-timeline__step {
    position: relative;
    display: grid;
    gap: 4px;
    padding-top: 26px;
    padding-right: 12px;
    color: var(--rv-muted);
}

.rv-timeline__step::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--rv-line);
}

.rv-timeline__step--done::before {
    background: var(--rv-ink);
}

.rv-timeline__step--current::before {
    background: linear-gradient(90deg, var(--rv-ink) 0 40%, var(--rv-line) 40%);
}

.rv-timeline__dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border: 2px solid var(--rv-line-strong);
    border-radius: 50%;
    background: var(--rv-surface);
}

.rv-timeline__step--done .rv-timeline__dot {
    border-color: var(--rv-ink);
    background: var(--rv-ink);
}

.rv-timeline__step--current .rv-timeline__dot {
    box-shadow: 0 0 0 5px rgb(26 23 20 / 12%);
}

.rv-timeline__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--rv-ink);
}

.rv-timeline__step:not(.rv-timeline__step--done) .rv-timeline__title {
    color: var(--rv-muted);
    font-weight: 500;
}

.rv-timeline__date {
    font-size: 12.5px;
}

@media (max-width: 599px) {
    .rv-timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rv-timeline__step {
        padding: 0 0 22px 32px;
    }

    .rv-timeline__step::before {
        top: 16px;
        bottom: 0;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .rv-timeline__step:last-child::before {
        display: none;
    }

    .rv-timeline__step--current::before {
        background: var(--rv-line);
    }
}

.rv-track__section {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--rv-line);
}

.rv-track__label {
    margin: 0 0 14px;
    font-family: var(--rv-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rv-muted);
}

.rv-track__shipments,
.rv-track__items {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-track__shipments li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    font-size: 14.5px;
}

.rv-track__carrier {
    font-weight: 600;
    color: var(--rv-ink);
}

.rv-track__number strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .04em;
}

.rv-track__shipments .rv-btn {
    min-height: 44px;
    margin-left: auto;
}

.rv-track__items li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    color: var(--rv-ink);
}

.rv-track__qty {
    color: var(--rv-muted);
}

.rv-track__total {
    padding-top: 12px;
    border-top: 1px solid var(--rv-line);
    font-weight: 600;
}

.rv-track__meta {
    margin: 14px 0 0;
    font-size: 13.5px;
    color: var(--rv-muted);
}

.rv-track-account {
    margin-bottom: 32px;
}

.rv-next {
    max-width: 560px;
    margin: 36px auto 0;
    padding: 28px;
    text-align: left;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
}

.rv-next__steps {
    margin: 0 0 22px;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--rv-ink-2);
}

/* ---------- CMS pages, contact, account ---------- */

html .lors-page {
    max-width: 46rem;
    padding-top: clamp(40px, 5vw, 80px);
}

html .lors-page__title {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rv-line);
    font-family: var(--rv-serif);
    font-size: clamp(2.6rem, 1.6rem + 3.2vw, 4.6rem);
    font-weight: var(--rv-display-weight);
    line-height: 1;
    color: var(--rv-ink);
}

html .lors-prose {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--rv-ink-2);
}

html .lors-prose h2,
html .lors-prose h3 {
    margin-top: 2.2em;
    font-family: var(--rv-serif);
    font-weight: var(--rv-display-weight);
    color: var(--rv-ink);
}

html .lors-prose h2 {
    font-size: 30px;
}

html .lors-prose h3 {
    font-size: 24px;
}

html .lors-prose a {
    color: var(--rv-accent);
    text-underline-offset: 3px;
}

html .lors-prose strong {
    color: var(--rv-ink);
}

html .lors-contact__form-card,
html .lors-contact-details {
    border-radius: var(--rv-radius) !important;
    box-shadow: none !important;
    border-color: var(--rv-line) !important;
    background: var(--rv-surface);
}

html .lors-contact__form-card button[type="submit"] {
    min-height: 52px;
    padding-inline: 30px;
    border-radius: var(--rv-radius);
    background: var(--rv-ink);
    color: var(--rv-paper);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html .lors-contact__form-card button[type="submit"]:hover {
    background: var(--rv-accent);
}

/* Store pages (About, contact, policies: lors/core page-styles). */
html body .lors-store-page__title {
    font-family: var(--rv-serif);
    font-size: clamp(2.8rem, 1.6rem + 3.6vw, 5rem);
    font-weight: var(--rv-display-weight);
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--rv-ink);
}

html body .lors-store-page__eyebrow {
    font-size: 11.5px;
    letter-spacing: .2em;
    color: var(--rv-accent);
}

html body .lors-store-page__lede {
    color: var(--rv-muted);
}

html body .lors-store-page h2,
html body .lors-contact__form-title {
    font-family: var(--rv-serif);
    font-weight: var(--rv-display-weight);
    letter-spacing: 0;
}

/* Account and sign-in pages: the serif titles, quiet panels. */
main .rounded-xl.border,
main .rounded-2xl.border,
main .rounded-lg.border {
    border-radius: var(--rv-radius);
}

main .rounded-xl.border-zinc-200,
main .rounded-2xl {
    border-color: var(--rv-line);
}

main h1.text-4xl,
main h2.text-4xl,
main h1.text-3xl:not(.rv-product__info h1),
main .font-dmserif.text-4xl,
main .font-dmserif.text-3xl {
    font-family: var(--rv-serif);
    font-weight: var(--rv-display-weight);
    letter-spacing: 0;
}

/* ---------- Cart and checkout ---------- */

main form .mb-4 > .flex.items-center.justify-between h2,
main h1.text-2xl {
    font-size: 1.5rem;
}

main h1.text-3xl.font-medium:not(.rv-product__info h1),
main h1.text-2xl,
main h2.text-2xl.font-medium,
main p.text-2xl.font-medium:not(.rv-product__info p) {
    font-family: var(--rv-serif);
    font-weight: var(--rv-display-weight);
    letter-spacing: 0;
}

.lors-delivery-note,
[class*="delivery-note"] {
    color: var(--rv-accent-strong) !important;
    font-weight: 500;
}

/* Cart and checkout header: the emblem centred like the main header, "Sign In" on the right, both on one
   line and inside the page width. */
.flex-wrap > .flex.w-full.justify-between:has(a.min-h-7\.5) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    border: 0 !important;
}

.flex-wrap:has(> .flex.w-full.justify-between a.min-h-7\.5) {
    border-bottom: 1px solid var(--rv-line);
    background: var(--rv-paper);
}

.flex-wrap > .flex.w-full.justify-between:has(a.min-h-7\.5) > :first-child {
    grid-column: 2;
    grid-row: 1;
}

.flex-wrap > .flex.w-full.justify-between:has(a.min-h-7\.5) > :not(:first-child) {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

/* Checkout steps (#steps-container): each step a framed white card with room around the fields, fields that
   keep the brand colours when the browser autofills them, and delivery and payment as full-width rows. */
#steps-container .z-10.rounded-lg.bg-white {
    border: 1px solid var(--rv-line);
    border-radius: 4px;
    background: var(--rv-surface) !important;
}

#steps-container .z-10.rounded-lg.bg-white:not(:has(.rv-methods)) > * {
    padding: 28px;
}

#steps-container .z-10.rounded-lg.bg-white:has(.rv-methods) {
    padding: 0 !important;
    border: 0;
    background: transparent !important;
}

#steps-container .border-b.border-zinc-200 {
    border-color: transparent;
}

#steps-container form h2.text-xl {
    font-family: var(--rv-serif);
    font-size: 1.35rem;
    font-weight: var(--rv-title-weight);
}

#steps-container label.required,
#steps-container form label:not(.rv-method__card) {
    font-size: .875rem;
    font-weight: 500;
    color: var(--rv-ink-2);
}

#steps-container input[type="text"],
#steps-container input[type="email"],
#steps-container input[type="tel"],
#steps-container input[type="number"],
#steps-container input[type="password"],
#steps-container select,
#steps-container textarea {
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid var(--rv-line-strong);
    border-radius: 4px;
    background-color: var(--rv-surface);
    color: var(--rv-ink);
    font-size: 1rem;
    transition: border-color .2s var(--rv-ease), box-shadow .2s var(--rv-ease);
}

#steps-container input:focus,
#steps-container select:focus,
#steps-container textarea:focus {
    border-color: var(--rv-accent);
    box-shadow: 0 0 0 3px var(--rv-accent-soft);
    outline: none;
}

#steps-container input:-webkit-autofill,
#steps-container input:-webkit-autofill:hover,
#steps-container input:-webkit-autofill:focus,
#steps-container select:-webkit-autofill {
    -webkit-text-fill-color: var(--rv-ink);
    box-shadow: 0 0 0 1000px var(--rv-surface) inset;
    caret-color: var(--rv-ink);
}

#steps-container input:-webkit-autofill:focus {
    box-shadow: 0 0 0 1000px var(--rv-surface) inset, 0 0 0 3px var(--rv-accent-soft);
}

#steps-container .grid.grid-cols-2 {
    column-gap: 16px;
}

.rv-methods {
    display: grid;
    gap: 12px;
}

.rv-method {
    position: relative;
}

.rv-method__card {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 10px;
    min-height: 76px;
    padding: 18px 20px;
    border: 1px solid var(--rv-line-strong);
    border-radius: 4px;
    background: var(--rv-surface);
    cursor: pointer;
    transition: border-color .2s var(--rv-ease), box-shadow .2s var(--rv-ease), background .2s var(--rv-ease);
}

.rv-method__card:hover {
    border-color: var(--rv-ink-2);
}

.rv-method__radio {
    flex: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--rv-line-strong);
    border-radius: 50%;
    background: var(--rv-surface);
    transition: border-color .2s var(--rv-ease), box-shadow .2s var(--rv-ease);
}

.rv-method__input:checked + .rv-method__card {
    border-color: var(--rv-accent);
    background: #fffdfa;
    box-shadow: 0 0 0 1px var(--rv-accent);
}

.rv-method__input:checked + .rv-method__card .rv-method__radio {
    border-color: var(--rv-accent);
    box-shadow: inset 0 0 0 5px var(--rv-accent);
}

.rv-method__input:focus-visible + .rv-method__card {
    outline: 2px solid var(--rv-accent);
    outline-offset: 2px;
}

.rv-method__text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.rv-method__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--rv-ink);
}

.rv-method__desc {
    font-size: .8125rem;
    line-height: 1.45;
    color: var(--rv-muted);
}

.rv-method__price {
    flex: none;
    font-size: 1.0625rem;
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--rv-ink);
}

.rv-method__marks {
    flex: none;
    display: flex;
    align-items: center;
}

.rv-method__marks .rv-marks {
    flex-wrap: nowrap;
    gap: 5px;
}

.rv-method__marks img {
    max-height: 25px;
    width: auto;
}

@media (max-width: 640px) {
    #steps-container .z-10.rounded-lg.bg-white:not(:has(.rv-methods)) > * {
        padding: 4px;
    }

    .rv-method__card {
        padding: 16px;
        column-gap: 12px;
    }

    .rv-method__marks {
        grid-column: 2 / -1;
    }

    .rv-method__radio {
        align-self: start;
        margin-top: 2px;
    }
}

/* ---------- Flash messages ---------- */

.fixed [class*="rounded-lg"][class*="shadow"],
.fixed [class*="rounded-xl"][class*="shadow"] {
    border-radius: var(--rv-radius) !important;
}

/* ---------- WhatsApp (lors::storefront.whatsapp) ---------- */

html .lors-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 14px;
    border-radius: 999px;
    background: var(--rv-night);
    color: var(--rv-on-night);
    font-family: var(--rv-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    box-shadow: 0 14px 30px -14px rgb(0 0 0 / 55%);
    transition: transform .25s var(--rv-ease), background-color .25s var(--rv-ease);
}

html .lors-whatsapp svg {
    width: 22px;
    height: 22px;
    flex: none;
    color: #25d366;
}

html .lors-whatsapp:hover {
    background: var(--rv-accent);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    html .lors-whatsapp {
        right: 14px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
    }

    html .lors-whatsapp span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    body:has(.rv-buybar) .lors-whatsapp {
        bottom: calc(86px + env(safe-area-inset-bottom));
    }
}

/* ---------- Footer (ravlors theme footer) ---------- */

.rv-footer {
    margin-top: var(--rv-section);
    background: var(--rv-night);
    color: var(--rv-on-night-muted);
    font-size: 14px;
}

.rv-footer a {
    color: var(--rv-on-night-muted);
    text-decoration: none;
    transition: color .2s var(--rv-ease);
}

.rv-footer a:hover {
    color: var(--rv-on-night);
}

.rv-footer__news {
    border-bottom: 1px solid var(--rv-night-line);
}

.rv-footer__newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 24px 64px;
    align-items: center;
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: 64px var(--rv-gutter);
}

.rv-footer__news-title {
    margin: 0;
    font-family: var(--rv-serif);
    font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem);
    font-weight: var(--rv-display-weight);
    line-height: 1;
    color: var(--rv-on-night);
}

.rv-footer__newsletter p {
    margin: 12px 0 0;
    color: var(--rv-on-night-muted);
}

.rv-footer__news-form {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--rv-on-night-muted);
}

.rv-footer__news-form > * {
    flex: 1;
}

.rv-footer__news-form input {
    width: 100%;
    min-height: 52px;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--rv-on-night) !important;
    font-size: 15px;
    box-shadow: none !important;
}

.rv-footer__news-form input::placeholder {
    color: var(--rv-on-night-muted);
}

.rv-footer__news-form button {
    flex: none;
    padding: 0 0 0 20px;
    border: 0;
    background: transparent;
    color: var(--rv-on-night);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
}

.rv-footer__news-form button:hover {
    color: var(--rv-brass);
}

.rv-footer__inner {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px;
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: 64px var(--rv-gutter) 56px;
}

.rv-footer__brand img {
    height: 96px;
    width: auto;
}

.rv-footer__brand p,
.rv-footer__address {
    max-width: 30ch;
    margin: 18px 0 0;
    font-style: normal;
    line-height: 1.6;
}

.rv-footer__address strong {
    color: var(--rv-on-night);
    font-weight: 500;
}

.rv-footer h3 {
    margin: 0 0 18px;
    font-family: var(--rv-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rv-on-night);
}

.rv-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.rv-footer__social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--rv-night-line);
    border-radius: 50%;
}

.rv-footer__social a:hover {
    border-color: var(--rv-on-night-muted);
}

.rv-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    max-width: calc(var(--rv-max) + 2 * var(--rv-gutter));
    margin: 0 auto;
    padding: 24px var(--rv-gutter) 28px;
    border-top: 1px solid var(--rv-night-line);
    font-size: 12.5px;
}

.rv-footer__bottom p {
    margin: 0;
}

.rv-footer .rv-marks {
    display: flex;
    gap: 6px;
}

.rv-footer .rv-mark svg {
    box-shadow: none;
}

@media (max-width: 1023px) {
    .rv-footer__newsletter {
        grid-template-columns: 1fr;
        padding: 48px var(--rv-gutter);
    }

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

    .rv-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 479px) {
    .rv-footer__inner {
        gap: 36px 20px;
    }
}

/* ---------- Customer photo, profile form, tracking hints ---------- */

img.h-15.w-15.rounded-full {
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    background: var(--rv-bone);
}

.rv-avatar-field label[for],
.rv-avatar-field div.h-50 {
    width: 160px !important;
    height: 160px !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 50% !important;
    overflow: hidden;
}

.rv-avatar-field img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50% !important;
}

@media (max-width: 767px) {
    .rv-avatar-field label[for],
    .rv-avatar-field div.h-50 {
        width: 120px !important;
        height: 120px !important;
        margin-inline: auto;
    }
}

.rv-optional {
    font-weight: 400;
    color: var(--rv-muted);
}

.rv-field__hint {
    font-size: 13px;
    line-height: 1.45;
    color: var(--rv-muted);
}

.rv-header-track {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--rv-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rv-header-track:hover {
    color: var(--rv-accent);
}

/* ---------- Preview notice and kit hero (templates/brand-theme) ---------- */

html .lors-notice {
    background: var(--rv-night);
    color: var(--rv-on-night);
}

/* ---------- Motion preferences ---------- */

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

/* Product questions (lors-core Seo\ProductFaq): the same heading as Customer Reviews. */
.lors-faq.container {
    margin-top: 64px;
}

.lors-faq .lors-faq__title {
    margin: 0 0 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rv-line);
    font-family: var(--rv-serif);
    font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem);
    font-weight: var(--rv-display-weight);
    line-height: 1.1;
}

/* Rewards offer and expected arrival (lors-core storefront.rewards-offer / storefront.arrival), under Buy now. */
.lors-rewards,
.lors-arrival {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 16px 18px;
    border: 1px solid var(--rv-line);
    border-radius: var(--rv-radius);
    background: var(--rv-surface);
    font-family: var(--rv-sans);
    color: var(--rv-ink);
}

.lors-rewards {
    border-color: color-mix(in srgb, var(--rv-brass) 55%, transparent);
    background: linear-gradient(135deg, #fbf6ec 0%, #f6efe1 100%);
}

.lors-rewards__icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rv-night);
    color: var(--rv-brass);
}

.lors-rewards__body,
.lors-arrival__body {
    min-width: 0;
}

.lors-rewards__title,
.lors-arrival__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.lors-rewards__title strong {
    color: var(--rv-accent);
    font-weight: 700;
}

.lors-rewards__text,
.lors-arrival__text {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--rv-muted);
}

.lors-rewards__coins {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.lors-rewards__coins li {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--rv-brass);
    color: var(--rv-night);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: lining-nums tabular-nums;
}

.lors-rewards__terms {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--rv-faint);
}

.lors-rewards--success {
    margin: 20px auto 0;
    max-width: 560px;
    text-align: left;
}

.lors-arrival__icon {
    flex: none;
    margin-top: 1px;
    color: var(--rv-accent);
}

.lors-arrival__title strong {
    color: var(--rv-success);
    font-weight: 700;
}

.lors-arrival__cutoff {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--rv-sale);
}

@media (max-width: 480px) {
    .lors-rewards,
    .lors-arrival {
        padding: 14px;
        gap: 12px;
    }

    .lors-rewards__icon {
        width: 34px;
        height: 34px;
    }
}
