/* =====================================================================
   REVIVER THEME  -  Burgundy Wine / Soft Cream / Deep Black
   Loaded AFTER style.css. Everything visual (colours, header,
   cards, footer, popups) is controlled here.

   Palette
     Burgundy Wine  #5B0F18
     Soft Cream     #F8F1E7
     Deep Black     #0B0B0B
   ===================================================================== */

:root {
    --rv-wine: #5B0F18;
    --rv-wine-deep: #3E0A11;
    --rv-wine-soft: #7A1B27;
    --rv-cream: #F8F1E7;
    --rv-cream-2: #F0E6D6;
    --rv-paper: #FCF9F3;
    --rv-black: #0B0B0B;
    --rv-muted: #6E655C;
    --rv-line: rgba(11, 11, 11, .14);
    --rv-line-light: rgba(248, 241, 231, .16);

    --rv-display: "Archivo", "DM Sans", "Helvetica Neue", Arial, sans-serif;
    --rv-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

    /* old variable names used by style.css */
    --black: #0B0B0B;
    --white: #FCF9F3;
    --off-white: #F8F1E7;
    --light-gray: #F0E6D6;
    --text: #0B0B0B;
    --muted: #6E655C;
    --border: rgba(11, 11, 11, .14);
    --rv-ink: #0B0B0B;
    --rv-paper: #F8F1E7;
    --rv-accent: #5B0F18;
    --rv-header-navy: #0B0B0B;
    --rv-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */

html { scroll-padding-top: 90px; }

body {
    background: var(--rv-cream);
    color: var(--rv-black);
    font-family: var(--rv-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, .section-title, .footer-brand h2 {
    font-family: var(--rv-display);
    font-weight: 800;
    letter-spacing: -.02em;
}

::selection { background: var(--rv-wine); color: var(--rv-cream); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--rv-wine);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 3000;
    padding: 10px 16px;
    background: var(--rv-wine);
    color: var(--rv-cream);
    font-size: 13px;
    text-decoration: none;
}

.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}


/* =====================================================================
   ANNOUNCEMENT BAR
   ===================================================================== */

.announcement-bar {
    background: var(--rv-wine);
    color: var(--rv-cream);
    font-size: 10px;
    letter-spacing: .2em;
}


/* =====================================================================
   HEADER
   Desktop: logo LEFT, menu MIDDLE, icons RIGHT
   ===================================================================== */

.site-header {
    background: var(--rv-black) !important;
    color: var(--rv-cream);
    border-bottom: 1px solid var(--rv-line-light);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.site-header.is-scrolled {
    background: rgba(11, 11, 11, .96) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.site-header .header-inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(24px, 3vw, 56px);
    height: 76px;
    max-width: none;
    margin: 0;
    padding: 0 clamp(20px, 3.6vw, 64px);
}

/* wordmark: bold, extended, prominent */

.site-header .brand-logo {
    position: static !important;
    left: auto !important;
    transform: none !important;
    grid-column: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    color: var(--rv-cream);
    text-decoration: none;
}

.brand-logo-text {
    font-family: var(--rv-display);
    font-size: 31px;
    font-weight: 900;
    font-stretch: 118%;
    letter-spacing: .09em;
    line-height: 1;
    color: var(--rv-cream);
    text-transform: uppercase;
}

.site-header .main-navigation {
    grid-column: 2;
    justify-self: center;
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(18px, 2.3vw, 40px);
    position: static;
}

.site-header .main-navigation a {
    position: relative;
    color: var(--rv-cream);
    font-family: var(--rv-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    padding: 8px 0;
    opacity: .82;
    transition: opacity .25s ease, color .25s ease;
}

.site-header .main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--rv-cream);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--rv-ease);
}

.site-header .main-navigation a:hover,
.site-header .main-navigation a[aria-current="page"] { opacity: 1; }

.site-header .main-navigation a:hover::after,
.site-header .main-navigation a[aria-current="page"]::after { transform: scaleX(1); }

.site-header .header-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header .header-action {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--rv-cream);
    font-size: 0;
    cursor: pointer;
    transition: transform .25s var(--rv-ease), opacity .25s ease;
}

.site-header .header-action:hover { opacity: .75; transform: translateY(-1px); }

.site-header .header-action svg { display: block; }

.site-header .cart-count {
    position: absolute;
    top: 3px;
    right: 1px;
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 99px;
    background: var(--rv-cream);
    color: var(--rv-black);
    font-family: var(--rv-body);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* the burger button only exists on small screens */

.site-header .mobile-menu-button {
    display: none !important;
    width: 44px;
    height: 44px;
    margin-left: -10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--rv-cream);
    cursor: pointer;
    place-items: center;
}

.burger { display: grid; gap: 5px; width: 22px; }

.burger i {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .35s var(--rv-ease), opacity .2s ease;
}

.mobile-menu-button[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.mobile-menu-button[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* search drop-down */

.site-header .search-panel {
    background: var(--rv-cream);
    border-bottom: 1px solid var(--rv-line);
}

.site-header .search-form input {
    background: var(--rv-paper);
    color: var(--rv-black);
    border: 1px solid var(--rv-line);
    font-family: var(--rv-body);
}

.site-header .search-form button {
    background: var(--rv-wine);
    color: var(--rv-cream);
    border: 0;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 11px;
}

.site-header .search-form button:hover { background: var(--rv-black); }


/* =====================================================================
   HEADER: TABLETS + PHONES (separate layout, not a shrunk desktop)
   menu button LEFT, REVIVER CENTRE, search + bag RIGHT
   ===================================================================== */

@media (max-width: 1024px) {

    .site-header .header-inner {
        grid-template-columns: 52px minmax(0, 1fr) auto;
        column-gap: 0;
        height: 60px;
        padding: 0 14px;
    }

    .site-header .mobile-menu-button { display: grid !important; grid-column: 1; }

    .site-header .brand-logo { grid-column: 2; justify-self: center; }

    .brand-logo-text { font-size: 25px; letter-spacing: .08em; }

    .site-header .main-navigation { display: none !important; }

    .site-header .header-actions { grid-column: 3; gap: 2px; margin-right: -8px; }

    .site-header .header-action { width: 42px; height: 42px; }

    /* mobile menu panel */

    .site-header .mobile-navigation {
        background: var(--rv-cream) !important;
        border-bottom: 1px solid var(--rv-line);
        padding: 8px 22px 18px !important;
    }

    .site-header .mobile-navigation a {
        min-height: 56px;
        font-family: var(--rv-display);
        font-size: 20px !important;
        font-weight: 800;
        font-stretch: 108%;
        letter-spacing: .02em !important;
        text-transform: uppercase;
        color: var(--rv-black);
        border-bottom: 1px solid var(--rv-line);
    }

    .site-header .mobile-navigation a.mobile-nav-sub {
        min-height: 46px;
        padding-left: 18px !important;
        font-family: var(--rv-body);
        font-size: 14px !important;
        font-weight: 500;
        font-stretch: 100%;
        letter-spacing: .14em !important;
        color: var(--rv-muted);
    }

    .mobile-nav-social { display: flex; gap: 12px; padding-top: 16px; }

    .site-header .mobile-navigation .mobile-nav-social a {
        min-height: 0;
        width: auto;
        padding: 11px 18px !important;
        border: 1px solid var(--rv-black);
        font-family: var(--rv-body);
        font-size: 12px !important;
        font-weight: 600;
        letter-spacing: .14em !important;
    }
}

@media (min-width: 1025px) {
    .mobile-navigation { display: none !important; }
    body.menu-open::after { display: none; }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .site-header .main-navigation { gap: 16px; }
    .site-header .main-navigation a { font-size: 11px; letter-spacing: .14em; }
    .brand-logo-text { font-size: 27px; }
}

.mobile-nav-social { display: none; }

@media (max-width: 1024px) { .mobile-nav-social { display: flex; } }


/* =====================================================================
   INTRO SCREEN (first visit)
   ===================================================================== */

.reviver-intro { background: var(--rv-black); }

.intro-light-one { background: radial-gradient(circle, rgba(91, 15, 24, .6), transparent 66%) !important; }
.intro-light-two { background: radial-gradient(circle, rgba(248, 241, 231, .1), transparent 66%) !important; }

.intro-wordmark {
    font-family: var(--rv-display);
    font-weight: 900;
    font-stretch: 118%;
    color: var(--rv-cream);
}

.intro-wordmark span { color: var(--rv-wine-soft); }

.intro-start {
    background: var(--rv-cream);
    color: var(--rv-black);
    border: 0;
    transition: background .3s ease, color .3s ease, transform .3s var(--rv-ease);
}

.intro-start:hover { background: var(--rv-wine); color: var(--rv-cream); transform: translateY(-2px); }


/* =====================================================================
   HERO
   ===================================================================== */

.hero { background: var(--rv-black); }

/* The photo comes from Admin > Site Images (falls back to the original). */

.hero-placeholder-image {
    background-color: var(--rv-black);
    background-image:
        linear-gradient(90deg, rgba(11, 11, 11, .84) 0%, rgba(11, 11, 11, .56) 34%, rgba(11, 11, 11, .14) 68%, rgba(11, 11, 11, .05) 100%),
        var(--hero-desktop, url("../images/reviver-hero.png"));
}

@media (max-width: 600px) {

    .hero-placeholder-image {
        background-image:
            linear-gradient(0deg, rgba(11, 11, 11, .9) 0%, rgba(11, 11, 11, .5) 38%, rgba(11, 11, 11, .06) 72%),
            var(--hero-mobile, var(--hero-desktop, url("../images/reviver-hero.png")));
    }

    .hero-placeholder-image.has-mobile-image { background-position: center, center !important; }
}

/* no circles, no side caption over the photograph */

.hero-placeholder-image::before,
.hero-placeholder-image::after,
.hero::before,
.hero::after { content: none !important; display: none !important; }

.hero-side-note { display: none !important; }

.hero-eyebrow { color: var(--rv-cream); opacity: .75; letter-spacing: .26em; }

.hero-title {
    font-family: var(--rv-display);
    font-weight: 900;
    font-stretch: 112%;
    color: var(--rv-cream);
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.hero-description { color: rgba(248, 241, 231, .86); }

.hero .hero-button {
    background: var(--rv-cream);
    color: var(--rv-black);
}

.hero .hero-button::before { background: var(--rv-wine); }

.hero .hero-button-arrow { background: var(--rv-black); color: var(--rv-cream); }

.hero .hero-button:hover,
.hero .hero-button:focus-visible { background: var(--rv-cream); color: var(--rv-cream); }

.hero .hero-button:hover .hero-button-arrow,
.hero .hero-button:focus-visible .hero-button-arrow { background: var(--rv-cream); color: var(--rv-wine); }

.hero-bottom-line { color: rgba(248, 241, 231, .7); }


/* =====================================================================
   TRUST STRIP + MARQUEE
   ===================================================================== */

.trust-strip {
    background: var(--rv-cream-2);
    border-top: 1px solid var(--rv-line);
    border-bottom: 1px solid var(--rv-line);
}

.trust-item { border-color: var(--rv-line); }

.trust-title {
    font-family: var(--rv-display);
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--rv-black);
}

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

.reviver-marquee {
    background: var(--rv-wine);
    color: var(--rv-cream);
    border: 0;
}

.reviver-marquee span {
    font-family: var(--rv-display);
    font-weight: 800;
    font-stretch: 112%;
    color: var(--rv-cream);
}

.reviver-marquee i { color: var(--rv-cream); opacity: .55; }


/* =====================================================================
   SECTIONS, CATEGORIES, PRODUCT CARDS
   ===================================================================== */

.section { background: transparent; }

.section-eyebrow,
.shop-results-label,
.brand-statement-eyebrow {
    color: var(--rv-wine);
    font-weight: 700;
    letter-spacing: .24em;
}

.section-title {
    font-size: clamp(30px, 4.6vw, 58px);
    letter-spacing: -.035em;
    color: var(--rv-black);
}

.section-link {
    color: var(--rv-black);
    border-bottom: 1px solid var(--rv-black);
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    transition: color .25s ease, border-color .25s ease;
}

.section-link:hover { color: var(--rv-wine); border-color: var(--rv-wine); }

/* category cards */

.category-card { background: var(--rv-black); overflow: hidden; border-radius: 0; }

.category-card img,
.category-card .category-slide img {
    transition: transform .9s var(--rv-ease);
}

.category-card:hover img { transform: scale(1.06); }

.category-card-content h3 {
    font-family: var(--rv-display);
    font-weight: 900;
    font-stretch: 112%;
    color: var(--rv-cream);
    letter-spacing: .01em;
}

.category-card-content p { color: rgba(248, 241, 231, .8); }

.category-no-image { background: var(--rv-wine-deep); color: var(--rv-cream); }

.rv-arrow { background: var(--rv-cream); color: var(--rv-black); }
.rv-arrow:hover { background: var(--rv-wine); color: var(--rv-cream); }

/* product cards */

.product-card { background: transparent; color: var(--rv-black); text-decoration: none; }

.product-image-wrap {
    background: var(--rv-cream-2);
    overflow: hidden;
    border-radius: 0;
}

.product-image {
    transition: transform .9s var(--rv-ease), opacity .4s ease;
}

.product-card:hover .product-image { transform: scale(1.06); }

.product-info { padding-top: 14px; }

.product-name {
    font-family: var(--rv-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .01em;
    color: var(--rv-black);
    text-decoration: none;
}

.product-category { color: var(--rv-muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.product-price { color: var(--rv-black); font-weight: 700; }

.product-price-old { color: var(--rv-muted); font-weight: 400; text-decoration: line-through; margin-left: 8px; }

.product-view {
    background: var(--rv-cream);
    color: var(--rv-black);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
}

.rv-badge { background: var(--rv-cream); color: var(--rv-black); }
.rv-badge-sale { background: var(--rv-wine); color: var(--rv-cream); }
.rv-badge-dark { background: var(--rv-black); color: var(--rv-cream); }


/* ---------- Promotional banner (Admin > Site Images) ---------- */

.promo-banner {
    position: relative;
    margin: 0;
    min-height: clamp(280px, 42vw, 520px);
    overflow: hidden;
    background: var(--rv-black);
}

.promo-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 11, 11, .72), rgba(11, 11, 11, .1) 70%);
}

.promo-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
    min-height: inherit;
    max-width: 640px;
    padding: clamp(28px, 5vw, 72px);
    color: var(--rv-cream);
}

.promo-banner-eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .26em; opacity: .8; }

.promo-banner-content h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 62px);
    font-stretch: 112%;
    line-height: 1;
    color: var(--rv-cream);
    text-transform: uppercase;
}

.promo-banner-content p { margin: 0; max-width: 460px; font-size: 15px; line-height: 1.6; opacity: .9; }

.promo-banner-button {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    margin-top: 8px;
    padding: 0 30px;
    background: var(--rv-cream);
    color: var(--rv-black);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .3s ease, color .3s ease, transform .3s var(--rv-ease);
}

.promo-banner-button:hover { background: var(--rv-wine); color: var(--rv-cream); transform: translateY(-2px); }


/* ---------- About + final call to action ---------- */

.brand-statement { background: var(--rv-black); color: var(--rv-cream); }

.brand-statement#about { background: var(--rv-wine); }

.brand-statement-title {
    font-family: var(--rv-display);
    font-weight: 900;
    font-stretch: 112%;
    color: var(--rv-cream);
    letter-spacing: -.035em;
}

.brand-statement-eyebrow { color: rgba(248, 241, 231, .72); }

.brand-statement-text { color: rgba(248, 241, 231, .88); }

.brand-statement.has-media {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: stretch;
}

.brand-statement-media { min-height: 360px; overflow: hidden; }

.brand-statement-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 800px) {
    .brand-statement.has-media { grid-template-columns: 1fr; }
    .brand-statement-media { min-height: 0; aspect-ratio: 4 / 4.6; }
}

.hero-button-final,
.brand-statement .hero-button {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    padding: 0 34px;
    border: 0;
    background: var(--rv-cream);
    color: var(--rv-black);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .3s ease, color .3s ease, transform .3s var(--rv-ease);
}

.hero-button-final:hover,
.brand-statement .hero-button:hover { background: var(--rv-wine); color: var(--rv-cream); transform: translateY(-3px); }


/* =====================================================================
   FOOTER
   ===================================================================== */

.site-footer {
    background: var(--rv-black);
    color: var(--rv-cream);
    border-top: 3px solid var(--rv-wine);
}

.footer-brand h2 {
    font-family: var(--rv-display);
    font-weight: 900;
    font-stretch: 118%;
    letter-spacing: .09em;
    color: var(--rv-cream);
}

.footer-brand p { color: rgba(248, 241, 231, .7); }

.footer-column h3 {
    color: var(--rv-cream);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-family: var(--rv-body);
}

.footer-column a {
    color: rgba(248, 241, 231, .72);
    transition: color .25s ease, transform .25s ease;
}

.footer-column a:hover { color: var(--rv-cream); transform: translateX(3px); }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }

.footer-social a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(248, 241, 231, .3);
    border-radius: 50%;
    color: var(--rv-cream);
    transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--rv-ease);
}

.footer-social a:hover { background: var(--rv-cream); color: var(--rv-wine); border-color: var(--rv-cream); transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid var(--rv-line-light); color: rgba(248, 241, 231, .58); }


/* =====================================================================
   FLOATING "CHAT WITH US"
   ===================================================================== */

.rv-chat {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 20px 0 16px;
    border: 1px solid var(--rv-black);
    border-radius: 999px;
    background: var(--rv-cream);
    color: var(--rv-black);
    font-family: var(--rv-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(11, 11, 11, .22);
    transition: transform .3s var(--rv-ease), background .3s ease, color .3s ease, box-shadow .3s ease, padding .3s ease;
    -webkit-tap-highlight-color: transparent;
}

.rv-chat svg { color: var(--rv-wine); flex: 0 0 auto; transition: color .3s ease; }

.rv-chat:hover { background: var(--rv-wine); color: var(--rv-cream); border-color: var(--rv-wine); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(91, 15, 24, .35); }

.rv-chat:hover svg { color: var(--rv-cream); }

.rv-chat:active { transform: scale(.95); }

.rv-chat-label { white-space: nowrap; max-width: 140px; overflow: hidden; transition: max-width .35s var(--rv-ease), opacity .25s ease; }

@media (max-width: 700px) {

    .rv-chat { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); height: 48px; padding: 0 16px 0 14px; font-size: 12px; }

    /* after scrolling, only the icon stays so content is never covered */
    .rv-chat.is-compact { padding: 0; width: 48px; justify-content: center; }
    .rv-chat.is-compact .rv-chat-label { max-width: 0; opacity: 0; }
    .rv-chat.is-compact { gap: 0; }

    /* pages with a sticky buy bar: sit above it */
    body.page-checkout .rv-chat,
    body.page-product .rv-chat { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}


/* =====================================================================
   REWARD POPUP
   ===================================================================== */

.rv-reward {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: grid;
    place-items: center;
    padding: 18px;
}

.rv-reward[hidden] { display: none; }

.rv-reward-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, .66);
    opacity: 0;
    transition: opacity .4s ease;
}

.rv-reward.is-open .rv-reward-backdrop { opacity: 1; }

.rv-reward-card {
    position: relative;
    width: min(420px, 100%);
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    background: var(--rv-cream);
    color: var(--rv-black);
    text-align: center;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
    opacity: 0;
    transform: translateY(28px) scale(.94);
    transition: opacity .45s ease, transform .6s var(--rv-ease);
}

.rv-reward.is-open .rv-reward-card { opacity: 1; transform: none; }

.rv-reward-close {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--rv-cream);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: transform .3s var(--rv-ease);
}

.rv-reward-close:hover { transform: rotate(90deg); }

.rv-reward-top {
    position: relative;
    display: grid;
    place-items: center;
    height: 150px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 120%, rgba(248, 241, 231, .16), transparent 60%),
        var(--rv-wine);
}

.rv-reward-badge {
    display: grid;
    place-items: center;
    align-content: center;
    width: 104px;
    height: 104px;
    border: 2px solid var(--rv-cream);
    border-radius: 50%;
    color: var(--rv-cream);
    transform: scale(.3) rotate(-30deg);
    opacity: 0;
}

.rv-reward.is-open .rv-reward-badge { animation: rvBadge .9s .25s var(--rv-ease) forwards; }

.rv-reward-badge strong { font-family: var(--rv-display); font-size: 38px; font-weight: 900; line-height: .95; }
.rv-reward-badge span { font-size: 11px; font-weight: 800; letter-spacing: .3em; padding-left: .3em; }

@keyframes rvBadge {
    0% { transform: scale(.3) rotate(-30deg); opacity: 0; }
    65% { transform: scale(1.12) rotate(4deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.rv-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--rv-cream);
    opacity: 0;
    transform: rotate(45deg);
}

.rv-spark-1 { left: 18%; top: 28%; }
.rv-spark-2 { left: 80%; top: 22%; }
.rv-spark-3 { left: 28%; top: 72%; width: 4px; height: 4px; }
.rv-spark-4 { left: 72%; top: 70%; }
.rv-spark-5 { left: 10%; top: 54%; width: 4px; height: 4px; }
.rv-spark-6 { left: 90%; top: 50%; width: 4px; height: 4px; }

.rv-reward.is-open .rv-spark { animation: rvSpark 2.4s ease-out .5s infinite; }
.rv-reward.is-open .rv-spark-2 { animation-delay: .8s; }
.rv-reward.is-open .rv-spark-3 { animation-delay: 1.1s; }
.rv-reward.is-open .rv-spark-4 { animation-delay: 1.4s; }
.rv-reward.is-open .rv-spark-5 { animation-delay: .65s; }
.rv-reward.is-open .rv-spark-6 { animation-delay: 1.7s; }

@keyframes rvSpark {
    0% { opacity: 0; transform: rotate(45deg) scale(.2); }
    25% { opacity: .95; transform: rotate(45deg) scale(1.3); }
    100% { opacity: 0; transform: rotate(45deg) translateY(-14px) scale(.4); }
}

.rv-reward-body { padding: 26px 26px 28px; }

.rv-reward-kicker {
    margin: 0 0 10px;
    color: var(--rv-wine);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3em;
}

.rv-reward-body h2 {
    margin: 0 0 10px;
    font-family: var(--rv-display);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.rv-reward-text { margin: 0 0 20px; color: var(--rv-muted); font-size: 15px; line-height: 1.55; }

.rv-reward-code {
    margin: 0 0 18px;
    padding: 14px 10px 12px;
    border: 1.5px dashed var(--rv-wine);
    background: var(--rv-paper);
}

.rv-reward-code-label { display: block; margin-bottom: 4px; color: var(--rv-muted); font-size: 10px; font-weight: 700; letter-spacing: .26em; }

.rv-reward-code strong {
    display: block;
    font-family: var(--rv-display);
    font-size: 40px;
    font-weight: 900;
    font-stretch: 115%;
    letter-spacing: .14em;
    padding-left: .14em;
    color: var(--rv-wine);
    filter: blur(14px);
    opacity: .25;
}

.rv-reward.is-open .rv-reward-code strong { animation: rvReveal 1s .9s ease-out forwards; }

@keyframes rvReveal {
    to { filter: blur(0); opacity: 1; }
}

.rv-reward-claim {
    width: 100%;
    min-height: 56px;
    border: 0;
    background: var(--rv-black);
    color: var(--rv-cream);
    font-family: var(--rv-body);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .24em;
    cursor: pointer;
    transition: background .3s ease, transform .2s var(--rv-ease);
}

.rv-reward-claim:hover { background: var(--rv-wine); }
.rv-reward-claim:active { transform: scale(.97); }
.rv-reward-claim:disabled { cursor: default; }

.rv-reward.is-claimed .rv-reward-claim { background: var(--rv-wine); }

.rv-reward-confirm { margin: 16px 0 0; color: var(--rv-black); font-size: 14px; line-height: 1.55; font-weight: 500; }

.rv-reward-shop {
    display: inline-block;
    margin-top: 14px;
    color: var(--rv-wine);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--rv-wine);
}


/* =====================================================================
   SHOP
   ===================================================================== */

.shop-hero { background: var(--rv-black); color: var(--rv-cream); }

.shop-hero h1 {
    font-family: var(--rv-display);
    font-weight: 900;
    font-stretch: 112%;
    color: var(--rv-cream);
    text-transform: uppercase;
}

.shop-hero .shop-eyebrow,
.shop-hero .shop-description { color: rgba(248, 241, 231, .7); }

.rv-cat-media { background: var(--rv-cream-2); }
.rv-cat-card.is-active .rv-cat-media { outline-color: var(--rv-wine); }
.rv-cat-name { font-family: var(--rv-display); font-weight: 800; font-stretch: 108%; }

.rv-filterbar { background: rgba(248, 241, 231, .96); border-color: var(--rv-line); }

.rv-chip { background: transparent; border-color: var(--rv-black); color: var(--rv-black); transition: background .25s ease, color .25s ease; }
.rv-chip:hover { background: var(--rv-cream-2); }
.rv-chip.is-active { background: var(--rv-wine); border-color: var(--rv-wine); color: var(--rv-cream); }

.rv-sort-form select { background: var(--rv-paper); border-color: var(--rv-black); color: var(--rv-black); }

.shop-section,
.shop-empty { background: transparent; }

.shop-empty a {
    display: inline-block;
    margin-top: 14px;
    padding: 14px 26px;
    background: var(--rv-black);
    color: var(--rv-cream);
    text-decoration: none;
    letter-spacing: .14em;
    font-size: 12px;
    text-transform: uppercase;
}


/* =====================================================================
   PRODUCT PAGE
   ===================================================================== */

.product-page { background: var(--rv-cream); }

.product-gallery { background: var(--rv-cream-2); }

.product-detail-category { color: var(--rv-wine); letter-spacing: .22em; font-weight: 700; }

.product-detail-title { font-family: var(--rv-display); font-weight: 900; letter-spacing: -.03em; }

.product-detail-price { font-weight: 800; color: var(--rv-black); }

.product-detail-old-price { color: var(--rv-muted); }

.size-option span,
.color-option span,
.quantity-selector {
    border-color: var(--rv-black);
    background: transparent;
    color: var(--rv-black);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.size-option span:hover,
.color-option span:hover { border-color: var(--rv-wine); }

.size-option input:checked + span,
.color-option input:checked + span,
.size-option.is-active span,
.color-option.is-active span {
    background: var(--rv-black);
    border-color: var(--rv-black);
    color: var(--rv-cream);
}

.add-to-bag-button {
    background: var(--rv-wine);
    color: var(--rv-cream);
    border: 0;
    letter-spacing: .24em;
    transition: background .3s ease, transform .2s var(--rv-ease);
}

.add-to-bag-button:hover:not(:disabled) { background: var(--rv-black); }
.add-to-bag-button:active:not(:disabled) { transform: scale(.985); }
.add-to-bag-button:disabled { background: #8c7b7e; }

.rv-product-notes { background: var(--rv-cream-2); color: var(--rv-black); border-left: 3px solid var(--rv-wine); border-radius: 0; }

.rv-form-message { background: #f4e4e1; border-color: #dbb5b0; color: var(--rv-wine); border-radius: 0; }

.product-information-row { border-color: var(--rv-line); }

.gallery-nav { background: var(--rv-cream); color: var(--rv-black); }
.gallery-nav:hover { background: var(--rv-wine); color: var(--rv-cream); }

.rv-dot.is-active { background: var(--rv-cream); }


/* =====================================================================
   BAG DRAWER
   ===================================================================== */

.rv-bag { background: var(--rv-cream); color: var(--rv-black); }

.rv-bag-head { border-color: var(--rv-line); }
.rv-bag-head h2 { font-family: var(--rv-display); font-weight: 900; letter-spacing: .2em; }

.rv-bag-image,
.rv-co-thumb,
.rv-cat-ph { background: var(--rv-cream-2); }

.rv-bag-item { border-color: var(--rv-line); }

.rv-bag-qty,
.rv-bag-size { border-color: var(--rv-line); }

.rv-bag-foot { background: var(--rv-paper); border-color: var(--rv-line); }

.rv-bag-discount {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--rv-wine);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.rv-bag-checkout { background: var(--rv-wine); color: var(--rv-cream); }
.rv-bag-checkout:hover { background: var(--rv-black); }

.rv-bag-note { color: var(--rv-muted); }
.rv-bag-continue { background: var(--rv-black); color: var(--rv-cream); }


/* =====================================================================
   CART PAGE
   ===================================================================== */

.cart-page { background: var(--rv-cream); }

.cart-header h1,
.cart-summary h2 { font-family: var(--rv-display); font-weight: 900; letter-spacing: -.03em; }

.cart-item,
.cart-summary { background: var(--rv-paper); border-color: var(--rv-line); border-radius: 0; }

.cart-item-image { background: var(--rv-cream-2); }

.checkout-button,
.primary-button {
    background: var(--rv-wine);
    color: var(--rv-cream);
    border: 0;
    border-radius: 0;
    letter-spacing: .22em;
    transition: background .3s ease, transform .2s var(--rv-ease);
}

.checkout-button:hover,
.primary-button:hover { background: var(--rv-black); color: var(--rv-cream); }

.update-cart-button,
.remove-item-button,
.continue-shopping { color: var(--rv-black); }

.rv-free-ship-bar span { background: var(--rv-wine); }

.cart-summary-total strong { color: var(--rv-black); }

.rv-discount-row { color: var(--rv-wine); }
.rv-discount-row strong { color: var(--rv-wine); }

.checkout-error { background: #f4e4e1; border: 1px solid #dbb5b0; color: var(--rv-wine); border-radius: 0; }

/* discount code box (cart + checkout) */

.rv-coupon { margin: 18px 0; }

.rv-coupon label {
    display: block;
    margin-bottom: 8px;
    color: var(--rv-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

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

.rv-coupon-row input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--rv-black);
    background: var(--rv-paper);
    color: var(--rv-black);
    font: inherit;
    font-size: 16px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rv-coupon-row button {
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    background: var(--rv-black);
    color: var(--rv-cream);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    cursor: pointer;
    transition: background .25s ease;
}

.rv-coupon-row button:hover { background: var(--rv-wine); }

.rv-coupon-msg { min-height: 18px; margin: 8px 0 0; font-size: 13px; color: var(--rv-wine); }

.rv-coupon-remove {
    padding: 0;
    border: 0;
    background: none;
    color: var(--rv-muted);
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}


/* =====================================================================
   CHECKOUT
   ===================================================================== */

.rv-checkout { background: var(--rv-cream); }

.rv-co-top h1 { font-family: var(--rv-display); font-weight: 900; letter-spacing: .14em; }

.rv-steps a.is-active b,
.rv-steps a.is-done b { background: var(--rv-wine); color: var(--rv-cream); }
.rv-steps a.is-active { color: var(--rv-black); }
.rv-steps b { background: var(--rv-cream-2); }

.rv-co-summary { background: var(--rv-paper); border-color: var(--rv-line); }

.rv-co-summary-title,
.rv-co-total span { font-family: var(--rv-display); font-style: normal; font-weight: 800; }

.rv-co-section > h2 b { background: var(--rv-wine); color: var(--rv-cream); }

.rv-field input,
.rv-field textarea,
.rv-field select { border-bottom-color: rgba(11, 11, 11, .3); }

.rv-field input:focus,
.rv-field textarea:focus,
.rv-field select:focus { border-bottom-color: var(--rv-wine); }

.rv-info-box { background: var(--rv-cream-2); border-color: #dfcfb6; color: var(--rv-wine); }

.rv-card { background: var(--rv-paper); border-color: var(--rv-line); }
.rv-card:has(input:checked) { border-color: var(--rv-wine); background: #f6ebe3; }
.rv-card input { accent-color: var(--rv-wine); }

.rv-pay-notice { background: #f4e4e1; border-color: #dbb5b0; color: var(--rv-wine); }
.rv-pay-notice hr { border-color: #dbb5b0; }

.rv-method span { background: var(--rv-paper); border-color: var(--rv-line); }
.rv-method input:checked + span { background: var(--rv-wine); border-color: var(--rv-wine); }

.rv-send-to { background: var(--rv-cream-2); }

.rv-copy { background: var(--rv-paper); border-color: var(--rv-line); }
.rv-copy.is-copied { background: var(--rv-wine); border-color: var(--rv-wine); }

.rv-btn { border-radius: 0; border-color: var(--rv-black); }
.rv-btn-primary { background: var(--rv-wine); border-color: var(--rv-wine); color: var(--rv-cream); }
.rv-btn-primary:hover { background: var(--rv-black); border-color: var(--rv-black); }
.rv-btn-outline { background: transparent; color: var(--rv-black); }
.rv-btn-outline:hover { background: var(--rv-black); color: var(--rv-cream); }

.rv-sticky-bar { background: rgba(248, 241, 231, .98); border-color: var(--rv-line); }

.rv-co-lines div,
.rv-co-lines strong { color: var(--rv-muted); }

.rv-co-lines [data-sum-row="discount"],
.rv-co-lines [data-sum-row="discount"] strong { color: var(--rv-wine); }

.rv-err { color: var(--rv-wine); }
.rv-field.has-error input { border-bottom-color: var(--rv-wine); }


/* =====================================================================
   ORDER SUCCESS + TRACKING
   ===================================================================== */

.order-success-page,
.track-order-page { background: var(--rv-cream); }

.success-card,
.success-side-card,
.tracking-card,
.tracking-side-card { background: var(--rv-paper); border-color: var(--rv-line); border-radius: 0; }

.success-primary-button,
.track-submit-button,
.tracking-shop-button { background: var(--rv-black); color: var(--rv-cream); border-radius: 0; }

.success-primary-button:hover,
.track-submit-button:hover,
.tracking-shop-button:hover { background: var(--rv-wine); }

.success-secondary-button { border-color: var(--rv-black); color: var(--rv-black); border-radius: 0; }

.rv-wa-button { background: var(--rv-wine) !important; border-color: var(--rv-wine) !important; }
.rv-wa-button:hover { background: var(--rv-black) !important; border-color: var(--rv-black) !important; }

.success-order-number,
.success-eyebrow,
.track-eyebrow,
.track-card-eyebrow { color: var(--rv-wine); }

.success-icon { background: var(--rv-wine); color: var(--rv-cream); }


/* =====================================================================
   SMALL SCREEN DETAILS
   ===================================================================== */

html, body { overflow-x: clip; }

@media (max-width: 640px) {
    .section-title { font-size: clamp(28px, 8.2vw, 38px); }
}


/* ---------- Mobile menu panel: sits right under the header ---------- */

@media (max-width: 1024px) {

    .site-header .mobile-navigation {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        height: auto !important;
        max-height: calc(100vh - var(--rv-header-h, 60px) - 40px);
        max-height: calc(100dvh - var(--rv-header-h, 60px) - 40px);
        overflow-y: auto;
        z-index: 1001;
        box-shadow: 0 28px 60px rgba(0, 0, 0, .3);
    }

    body.menu-open::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 990;
        background: rgba(11, 11, 11, .55);
    }
}


/* =====================================================================
   ORDER TRACKING (customer)
   ===================================================================== */

.rv-track { background: var(--rv-cream); padding: 40px 16px 90px; }

.rv-track-wrap { max-width: 980px; margin: 0 auto; }

.rv-track-head { margin-bottom: 22px; }

.rv-track-head h1 { margin: 6px 0 0; font-size: clamp(30px, 5vw, 48px); }

.rv-track-card {
    margin-bottom: 18px;
    padding: 26px;
    background: var(--rv-paper);
    border: 1px solid var(--rv-line);
}

.rv-track-card h2 { margin: 0 0 16px; font-size: 18px; letter-spacing: -.01em; }
.rv-track-card h2 small { color: var(--rv-muted); font-family: var(--rv-body); font-size: 12px; font-weight: 500; letter-spacing: 0; }

.rv-track-summary { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

.rv-track-label { display: block; color: var(--rv-muted); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.rv-track-number { display: block; margin: 4px 0; font-family: var(--rv-display); font-size: clamp(20px, 4vw, 28px); font-weight: 900; letter-spacing: .01em; word-break: break-all; }

.rv-track-sub { color: var(--rv-muted); font-size: 14px; }

.rv-track-status span,
.rv-st-pill,
.rv-track-history-dot {
    background: #efe9db;
    color: #7a5b14;
}

.rv-track-status span {
    display: inline-block;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.rv-track-status-confirmed span, .rv-st-pill.rv-st-confirmed, .rv-track-history-dot.rv-st-confirmed { background: #e3eefc; color: #1d4f91; }
.rv-track-status-processing span, .rv-st-pill.rv-st-processing, .rv-track-history-dot.rv-st-processing { background: #f1e8fa; color: #5b2d8a; }
.rv-track-status-shipped span, .rv-st-pill.rv-st-shipped, .rv-track-history-dot.rv-st-shipped { background: #fdf0dc; color: #8a5200; }
.rv-track-status-delivered span, .rv-st-pill.rv-st-delivered, .rv-track-history-dot.rv-st-delivered { background: #e4f4e8; color: #146c2e; }
.rv-track-status-cancelled span, .rv-st-pill.rv-st-cancelled, .rv-track-history-dot.rv-st-cancelled { background: #f6dede; color: #8c1c1c; }

.rv-track-message {
    margin: 0 0 4px;
    font-family: var(--rv-display);
    font-size: clamp(20px, 3.4vw, 28px);
    font-weight: 900;
    letter-spacing: -.02em;
}

.rv-track-message-cancelled { color: #8c1c1c; }

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

.rv-cancel-banner {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 18px;
    padding: 14px 16px;
    background: #f6dede;
    color: #8c1c1c;
}

.rv-cancel-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #8c1c1c; color: #fff; font-size: 22px; line-height: 1; }
.rv-cancel-banner small { display: block; font-size: 12px; opacity: .8; }

/* ---------- the timeline ---------- */

.rv-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 34px 0 6px;
    padding: 0;
    list-style: none;
}

.rv-timeline::before,
.rv-timeline::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 10%;
    height: 3px;
}

.rv-timeline::before { right: 10%; background: rgba(11, 11, 11, .12); }

.rv-timeline::after {
    width: calc(var(--rv-progress, 0%) * .8);
    background: var(--rv-wine);
    transition: width 1s var(--rv-ease);
}

.rv-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.rv-step-dot {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(11, 11, 11, .22);
    background: var(--rv-paper);
    color: var(--rv-cream);
}

.rv-step.is-done .rv-step-dot { background: var(--rv-wine); border-color: var(--rv-wine); }

.rv-step.is-current .rv-step-dot {
    border: 3px solid var(--rv-wine);
    background: var(--rv-cream);
    animation: rvPulse 2.2s ease-out infinite;
}

.rv-step.is-current .rv-step-dot i { width: 14px; height: 14px; border-radius: 50%; background: var(--rv-wine); }

@keyframes rvPulse {
    0% { box-shadow: 0 0 0 0 rgba(91, 15, 24, .4); }
    100% { box-shadow: 0 0 0 16px rgba(91, 15, 24, 0); }
}

.rv-step-text strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rv-muted);
}

.rv-step.is-done .rv-step-text strong,
.rv-step.is-current .rv-step-text strong { color: var(--rv-black); }

.rv-step-text small { display: block; margin-top: 4px; color: var(--rv-muted); font-size: 12px; }

/* cancelled orders: the normal journey is greyed out, not "completed" */

.rv-timeline.is-cancelled::after { background: #9b928a; }
.rv-timeline.is-cancelled .rv-step.is-done .rv-step-dot { background: #9b928a; border-color: #9b928a; }
.rv-timeline.is-cancelled .rv-step-text strong { color: var(--rv-muted); }
.rv-timeline.is-cancelled { opacity: .85; }

@media (max-width: 640px) {

    .rv-track-card { padding: 20px 18px; }

    .rv-timeline { grid-template-columns: 1fr; margin-top: 24px; }

    .rv-timeline::before,
    .rv-timeline::after { display: none; }

    .rv-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; padding-bottom: 26px; }

    .rv-step:last-child { padding-bottom: 0; }

    .rv-step::before {
        content: "";
        position: absolute;
        left: 18px;
        top: 38px;
        bottom: 0;
        width: 3px;
        background: rgba(11, 11, 11, .12);
    }

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

    .rv-step.is-done::before { background: var(--rv-wine); }

    .rv-timeline.is-cancelled .rv-step.is-done::before { background: #9b928a; }

    .rv-step-text { padding-top: 6px; }
}

/* ---------- items, details, history ---------- */

.rv-track-columns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }

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

.rv-track-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rv-line); }
.rv-track-item:last-child { border-bottom: 0; }

.rv-track-thumb { display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; background: var(--rv-cream-2); color: var(--rv-muted); font-size: 8px; letter-spacing: .2em; text-decoration: none; }
.rv-track-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rv-track-item-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14px; }
.rv-track-item-info span { color: var(--rv-muted); font-size: 13px; }

.rv-track-facts { margin: 0; }
.rv-track-facts div { padding: 12px 0; border-bottom: 1px solid var(--rv-line); }
.rv-track-facts div:last-child { border-bottom: 0; }
.rv-track-facts dt { color: var(--rv-muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.rv-track-facts dd { margin: 0; font-size: 15px; line-height: 1.5; }

.rv-track-history { margin: 0; padding: 0; list-style: none; }

.rv-track-history li { position: relative; display: flex; gap: 14px; padding: 0 0 20px 0; }
.rv-track-history li:last-child { padding-bottom: 0; }

.rv-track-history li::before { content: ""; position: absolute; left: 6px; top: 18px; bottom: 0; width: 2px; background: var(--rv-line); }
.rv-track-history li:last-child::before { display: none; }

.rv-track-history-dot { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; }

.rv-track-history strong { display: block; font-size: 15px; }
.rv-track-history span { display: block; color: var(--rv-muted); font-size: 14px; }
.rv-track-history small { display: block; margin-top: 3px; color: var(--rv-muted); font-size: 12px; }

.rv-track-help { margin: 8px 0 26px; color: var(--rv-muted); font-size: 14px; }
.rv-track-help a { color: var(--rv-wine); font-weight: 700; }

.rv-track-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; align-items: end; }
.rv-track-form .rv-btn { grid-column: 1 / -1; margin-top: 6px; }

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

.rv-track-list { margin: 0; padding: 0; list-style: none; }
.rv-track-list li { border-bottom: 1px solid var(--rv-line); }
.rv-track-list li:last-child { border-bottom: 0; }

.rv-track-list a { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 14px 0; color: inherit; text-decoration: none; }
.rv-track-list a:hover strong { color: var(--rv-wine); }

.rv-track-list-main strong { display: block; font-size: 15px; word-break: break-all; }
.rv-track-list-main small { color: var(--rv-muted); font-size: 12px; }

.rv-track-list-status { display: flex; align-items: center; gap: 10px; }

.rv-st-pill { padding: 6px 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.rv-new-update { padding: 4px 9px; background: var(--rv-wine); color: var(--rv-cream); font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* small dot beside "Track order" when there is a new update */

.rv-dot-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--rv-wine-soft);
    box-shadow: 0 0 0 0 rgba(122, 27, 39, .6);
    vertical-align: middle;
    animation: rvPulse 2.2s ease-out infinite;
}

.site-header .main-navigation .rv-dot-badge { background: var(--rv-cream); }
