/*
Theme Name: Retrovibe Analog
Theme URI: https://retrovibe.analog
Author: Retrovibe Analog
Author URI: https://retrovibe.analog
Description: A custom, WooCommerce-compatible WordPress theme for Retrovibe Analog — the digital home for physical music collectors. Editorial, gallery-grade design with no page-builder dependency. Preserves the exact Retrovibe visual identity: Ivory, Jet Black and Antique Gold, with Cormorant Garamond as the editorial voice and Inter as the interface.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: retrovibe
Tags: custom-menu, featured-images, translation-ready, e-commerce, editorial, blog
WC requires at least: 8.0
WC tested up to: 9.4
*/

/* =========================================================================
   1. Design tokens — the locked Retrovibe palette & type system
   ========================================================================= */
:root {
  /* Brand core */
  --rv-ivory: #f7f3ec;
  --rv-jet: #111111;
  --rv-gold: #c7a35a;
  --rv-white: #ffffff;

  /* Semantic surfaces & text (warmed, never pure) */
  --rv-background: #f7f3ec;
  --rv-foreground: #161514;
  --rv-card: #ffffff;
  --rv-secondary: #efe9dd;
  --rv-muted: #efe9dd;
  --rv-muted-foreground: #6c665b;
  --rv-border: #e4ddce;
  --rv-accent: #c7a35a;
  --rv-accent-strong: #b8925a;
  --rv-on-dark: #f7f3ec;

  /* Type families — logo type is reserved for the mark only */
  --rv-font-serif: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  --rv-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --rv-container: 1360px;
  --rv-radius: 0.25rem;
  --rv-gutter: 1.5rem;
}

/* =========================================================================
   2. Reset & base
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--rv-background);
  color: var(--rv-foreground);
  font-family: var(--rv-font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}

a:hover {
  color: var(--rv-accent);
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 400;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--rv-accent);
  outline-offset: 3px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: var(--rv-jet);
  color: var(--rv-ivory);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* =========================================================================
   3. Layout helpers
   ========================================================================= */
.rv-container {
  width: 100%;
  max-width: var(--rv-container);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .rv-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .rv-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.rv-eyebrow {
  display: block;
  font-family: var(--rv-font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--rv-accent);
}

.rv-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (min-width: 1024px) {
  .rv-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.rv-section--tight {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .rv-section--tight {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.rv-section--alt {
  background-color: rgba(239, 233, 221, 0.4);
}

/* Editorial "read more" / door-ajar link */
.rv-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rv-font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(22, 21, 20, 0.75);
}

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

.rv-link__arrow {
  display: inline-block;
  transition: transform 0.5s ease;
}

.rv-link:hover .rv-link__arrow,
.group:hover .rv-link__arrow {
  transform: translateX(4px);
}

.rv-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(199, 163, 90, 0.5);
  font-family: var(--rv-font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--rv-foreground);
}

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

/* Buttons (WooCommerce + forms) */
.rv-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background-color: var(--rv-jet);
  color: var(--rv-ivory);
  font-family: var(--rv-font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border: 1px solid var(--rv-jet);
  border-radius: var(--rv-radius);
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.rv-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: transparent;
  color: var(--rv-jet);
  border-color: var(--rv-jet);
}

.rv-button--ghost {
  background-color: transparent;
  color: var(--rv-foreground);
  border-color: var(--rv-border);
}

.rv-button--ghost:hover {
  border-color: var(--rv-jet);
  color: var(--rv-jet);
  background-color: transparent;
}

/* =========================================================================
   4. Site header
   ========================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: background-color 0.7s ease, border-color 0.7s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-branding {
  position: relative;
  display: block;
  height: 40px;
}

@media (min-width: 768px) {
  .site-branding {
    height: 44px;
  }
}

.site-branding__logo {
  height: 100%;
  width: auto;
  transition: opacity 0.7s ease;
}

.site-branding__logo--light {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.site-branding__logo--dark {
  opacity: 0;
}

/* Primary nav */
.primary-nav {
  display: none;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
  }
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.primary-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(247, 243, 236, 0.9);
  transition: color 0.7s ease;
}

.primary-nav a:hover {
  color: var(--rv-accent);
}

.site-header__cta {
  display: none;
}

/* Mirrors the Vercel build: the CTA appears from the sm breakpoint up. */
@media (min-width: 640px) {
  .site-header__cta {
    display: inline-flex;
  }
}

.site-header__cta span {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(199, 163, 90, 0.5);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rv-ivory);
  transition: color 0.7s ease;
}

/* Scrolled / solid state (also default on interior pages) */
.site-header.is-scrolled,
.site-header.is-solid {
  background-color: rgba(247, 243, 236, 0.85);
  border-bottom-color: rgba(228, 221, 206, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled .site-branding__logo--light,
.site-header.is-solid .site-branding__logo--light {
  opacity: 0;
}

.site-header.is-scrolled .site-branding__logo--dark,
.site-header.is-solid .site-branding__logo--dark {
  opacity: 1;
}

.site-header.is-scrolled .primary-nav a,
.site-header.is-solid .primary-nav a {
  color: var(--rv-muted-foreground);
}

.site-header.is-scrolled .primary-nav a:hover,
.site-header.is-solid .primary-nav a:hover {
  color: var(--rv-accent);
}

.site-header.is-scrolled .site-header__cta span,
.site-header.is-solid .site-header__cta span {
  color: var(--rv-foreground);
}

/* Mobile menu toggle */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 0;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--rv-ivory);
  transition: background-color 0.7s ease, transform 0.3s ease, opacity 0.3s ease;
}

.site-header.is-scrolled .menu-toggle span,
.site-header.is-solid .menu-toggle span {
  background-color: var(--rv-foreground);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--rv-border);
  background-color: var(--rv-background);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.5rem;
}

@media (min-width: 768px) {
  .mobile-nav ul {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Mirrors the Vercel build: small uppercase sans, not large serif. */
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--rv-font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(22, 21, 20, 0.8);
  border-bottom: 1px solid rgba(228, 221, 206, 0.5);
}

.mobile-nav a:hover {
  color: var(--rv-accent);
}

.mobile-nav li:last-child a {
  border-bottom: 0;
}

/* =========================================================================
   5. Hero — the threshold
   ========================================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--rv-jet);
}

.hero__media {
  position: absolute;
  inset: 0;
}

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

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 24, 20, 0.85) 0%,
    rgba(35, 30, 24, 0.25) 55%,
    rgba(35, 30, 24, 0.4) 100%
  );
}

.hero__inner {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .hero__inner {
    padding-bottom: 7rem;
  }
}

.hero__content {
  max-width: 48rem;
}

.hero__eyebrow {
  display: block;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #dcc38a;
}

.hero__title {
  font-family: var(--rv-font-serif);
  font-weight: 300;
  /* Stepped to mirror the Vercel build exactly: 3rem → 4.5rem → 5.5rem. */
  font-size: 3rem;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--rv-on-dark);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 5.5rem;
  }
}

.hero__subtitle {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgba(247, 243, 236, 0.9);
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 3rem;
}

.hero__enter {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--rv-on-dark);
}

.hero__enter span {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(220, 195, 138, 0.6);
}

.hero__enter:hover {
  color: #dcc38a;
}

.hero__scroll {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2rem;
  color: #dcc38a;
}

.hero__scroll-rule {
  width: 2.5rem;
  height: 1px;
  background-color: rgba(220, 195, 138, 0.5);
}

.hero__scroll-label {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}

/* =========================================================================
   6. Philosophy
   ========================================================================= */
.philosophy__statement {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .philosophy__statement {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }
}

.philosophy__aside {
  grid-column: span 3;
}

.philosophy__kicker {
  margin-top: 1.5rem;
  font-family: var(--rv-font-serif);
  font-size: 1.125rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--rv-muted-foreground);
}

.philosophy__body {
  grid-column: span 9;
}

.philosophy__lede {
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(1.875rem, 3.4vw, 2.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--rv-foreground);
  text-wrap: balance;
}

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

.philosophy__note {
  margin-top: 2.5rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

.commitments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem 3rem;
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(228, 221, 206, 0.7);
}

@media (min-width: 640px) {
  .commitments {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .commitments {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 8rem;
  }
}

.commitment__index {
  display: block;
  font-family: var(--rv-font-serif);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--rv-accent);
}

.commitment__word {
  margin-top: 1.25rem;
  font-family: var(--rv-font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--rv-foreground);
}

.commitment__body {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

/* =========================================================================
   7. Section headers (shared editorial header)
   ========================================================================= */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    margin-bottom: 5rem;
  }
}

.section-head__title-wrap {
  grid-column: span 8;
}

.section-head__title {
  margin-top: 1.5rem;
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rv-foreground);
  text-wrap: balance;
}

.section-head__intro {
  grid-column: span 4;
  max-width: 24rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

/* =========================================================================
   8. Worlds / categories grid — the previews
   ========================================================================= */
.worlds__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem 2.5rem;
}

@media (min-width: 640px) {
  .worlds__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .worlds__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem 3rem;
  }
}

.preview {
  display: flex;
  flex-direction: column;
}

.preview__media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--rv-secondary);
  aspect-ratio: 4 / 3;
}

.preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}

.preview:hover .preview__media img {
  transform: scale(1.04);
}

.preview__meta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.preview__num-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.preview__num {
  font-family: var(--rv-font-serif);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1;
  color: var(--rv-accent);
}

.preview__rule {
  flex: 1;
  height: 1px;
  background-color: var(--rv-border);
}

.preview__title {
  font-family: var(--rv-font-serif);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--rv-foreground);
  text-wrap: balance;
}

.preview__lede {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

.preview__link {
  margin-top: 0.25rem;
}

.preview:hover .rv-link {
  color: var(--rv-accent);
}

/* =========================================================================
   9. Curated selections + WooCommerce product cards
   ========================================================================= */
.selections__head {
  max-width: 42rem;
  margin-bottom: 5rem;
}

.selections__title {
  margin-top: 1.5rem;
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rv-foreground);
  text-wrap: balance;
}

.selections__intro {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

.selections__grid,
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem 2.5rem;
  margin: 0;
}

@media (min-width: 768px) {
  .selections__grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3rem;
  }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

.woocommerce ul.products li.product::before {
  display: none;
}

.selection {
  display: flex;
  flex-direction: column;
}

.selection__media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--rv-secondary);
  aspect-ratio: 4 / 5;
}

.selection__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
  margin: 0;
}

.selection:hover .selection__media img,
.woocommerce ul.products li.product:hover .selection__media img {
  transform: scale(1.03);
}

.selection__meta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.selection__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.selection__no {
  font-family: var(--rv-font-serif);
  font-size: 0.875rem;
  font-weight: 300;
  font-style: italic;
  color: var(--rv-accent);
}

.selection__detail {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--rv-muted-foreground);
}

.selection__title {
  font-family: var(--rv-font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--rv-foreground);
}

.selection__origin {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rv-muted-foreground);
}

.selection__note {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

.selection__price,
.woocommerce ul.products li.product .price {
  display: block;
  margin: 0.25rem 0 0;
  font-family: var(--rv-font-serif) !important;
  font-size: 1.125rem !important;
  font-weight: 400;
  font-style: italic;
  color: var(--rv-foreground) !important;
}

.woocommerce ul.products li.product .price del {
  opacity: 0.5;
  font-weight: 300;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.selection__link {
  margin-top: 0.75rem;
}

.selections__footer {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

/* Product card meta wrapper for archive loops */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  font-family: var(--rv-font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--rv-foreground);
}

.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce ul.products li.product a.button {
  margin-top: 1rem;
}

/* =========================================================================
   10. Journal (featured post)
   ========================================================================= */
.journal__head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .journal__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 4rem;
  }
}

.journal__title {
  margin-top: 1.5rem;
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rv-foreground);
  text-wrap: balance;
}

.journal__feature {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .journal__feature {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
}

.journal__media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--rv-secondary);
  aspect-ratio: 3 / 2;
  grid-column: span 7;
}

.journal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}

.journal__feature:hover .journal__media img {
  transform: scale(1.03);
}

.journal__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  grid-column: span 5;
}

.journal__category {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--rv-accent);
}

.journal__feature-title {
  font-family: var(--rv-font-serif);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--rv-foreground);
  text-wrap: balance;
}

.journal__excerpt {
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

.journal__feature-meta {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.journal__reading {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--rv-muted-foreground);
}

/* =========================================================================
   11. Community invitation
   ========================================================================= */
.community__inner {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.community__title {
  margin-top: 1.5rem;
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--rv-foreground);
  text-wrap: balance;
}

.community__note {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

.community__form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 28rem;
}

@media (min-width: 640px) {
  .community__form {
    flex-direction: row;
    align-items: flex-end;
  }
}

.community__field {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.community__label {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--rv-muted-foreground);
}

.community__input {
  width: 100%;
  padding-bottom: 0.5rem;
  border: 0;
  border-bottom: 1px solid var(--rv-border);
  background: transparent;
  font-family: var(--rv-font-serif);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--rv-foreground);
  transition: border-color 0.4s ease;
}

.community__input::placeholder {
  color: rgba(108, 102, 91, 0.5);
}

.community__input:focus {
  outline: none;
  border-bottom-color: var(--rv-accent);
}

.community__submit {
  flex-shrink: 0;
  padding: 0 0 0.5rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(199, 163, 90, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--rv-foreground);
  transition: color 0.4s ease;
}

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

.community__footnote {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(108, 102, 91, 0.8);
}

.community__footnote a {
  border-bottom: 1px solid rgba(199, 163, 90, 0.4);
  color: rgba(22, 21, 20, 0.8);
}

.community__footnote a:hover {
  color: var(--rv-accent);
}

/* =========================================================================
   12. Site footer
   ========================================================================= */
.site-footer {
  border-top: 1px solid rgba(228, 221, 206, 0.7);
  background-color: var(--rv-background);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
}

.site-footer__brand {
  grid-column: span 2;
}

@media (min-width: 640px) {
  .site-footer__brand {
    grid-column: span 3;
  }
}

@media (min-width: 1024px) {
  .site-footer__brand {
    grid-column: span 4;
  }
}

.site-footer__logo {
  height: 46px;
  width: auto;
}

.site-footer__tagline {
  margin-top: 1.5rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .footer-col {
    grid-column: span 2;
  }
}

.footer-col__heading {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--rv-muted-foreground);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a,
.footer-col address {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(22, 21, 20, 0.8);
}

.footer-col address {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-style: normal;
}

.site-footer__baseline {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(228, 221, 206, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .site-footer__baseline {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__copy,
.site-footer__legal a {
  font-size: 0.75rem;
  color: var(--rv-muted-foreground);
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* =========================================================================
   13. Blog / archive / single / page
   ========================================================================= */
.page-hero {
  padding-top: 9rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(228, 221, 206, 0.7);
}

@media (min-width: 1024px) {
  .page-hero {
    padding-top: 11rem;
    padding-bottom: 4rem;
  }
}

.page-hero__title {
  margin-top: 1.25rem;
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rv-foreground);
  text-wrap: balance;
}

.page-hero__desc {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem 2.5rem;
}

@media (min-width: 640px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem 3rem;
  }
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--rv-secondary);
  aspect-ratio: 3 / 2;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__meta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.post-card__category {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--rv-accent);
}

.post-card__title {
  font-family: var(--rv-font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--rv-foreground);
  text-wrap: balance;
}

.post-card__excerpt {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--rv-muted-foreground);
  text-wrap: pretty;
}

.post-card__date {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--rv-muted-foreground);
}

/* Single post / page article */
.entry {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.entry__media {
  margin: 0 0 3rem;
  overflow: hidden;
  background-color: var(--rv-secondary);
}

.entry__media img {
  width: 100%;
  height: auto;
}

.entry__wrap {
  max-width: 44rem;
  margin: 0 auto;
}

.entry__content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--rv-foreground);
}

.entry__content > * + * {
  margin-top: 1.5rem;
}

.entry__content h2 {
  margin-top: 3rem;
  font-family: var(--rv-font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--rv-foreground);
}

.entry__content h3 {
  margin-top: 2.5rem;
  font-family: var(--rv-font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--rv-foreground);
}

.entry__content a {
  color: var(--rv-foreground);
  border-bottom: 1px solid rgba(199, 163, 90, 0.5);
}

.entry__content a:hover {
  color: var(--rv-accent);
}

.entry__content blockquote {
  margin: 2.5rem 0;
  padding-left: 1.75rem;
  border-left: 2px solid var(--rv-accent);
  font-family: var(--rv-font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--rv-foreground);
}

.entry__content img {
  border-radius: var(--rv-radius);
}

.entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--rv-muted-foreground);
}

.entry__footer {
  max-width: 44rem;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rv-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.tag-link {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--rv-border);
  border-radius: 999px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--rv-muted-foreground);
}

.tag-link:hover {
  border-color: var(--rv-accent);
  color: var(--rv-accent);
}

/* Pagination */
.rv-pagination {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

.rv-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.rv-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--rv-foreground);
}

.rv-pagination .page-numbers.current {
  background-color: var(--rv-jet);
  color: var(--rv-ivory);
  border-color: var(--rv-jet);
}

.rv-pagination .page-numbers:hover:not(.current) {
  border-color: var(--rv-accent);
  color: var(--rv-accent);
}

/* Comments */
.comments-area {
  max-width: 44rem;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--rv-border);
}

.comments-title,
.comment-reply-title {
  font-family: var(--rv-font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--rv-foreground);
  margin-bottom: 1.5rem;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.comment-body {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rv-border);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.rv-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-card);
  font-family: var(--rv-font-sans);
  font-size: 0.95rem;
  color: var(--rv-foreground);
}

.comment-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rv-muted-foreground);
}

/* =========================================================================
   14. WooCommerce specifics
   ========================================================================= */
.woocommerce .rv-container,
.woocommerce-page .rv-container {
  padding-top: 9rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .woocommerce .rv-container,
  .woocommerce-page .rv-container {
    padding-top: 11rem;
  }
}

.woocommerce-products-header__title,
.woocommerce .product_title,
.woocommerce-page h1.entry-title {
  font-family: var(--rv-font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--rv-foreground);
}

.woocommerce-products-header__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
}

.woocommerce div.product .product_title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--rv-font-serif);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--rv-foreground);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  font-size: 0.8125rem;
  color: var(--rv-muted-foreground);
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  background-color: var(--rv-accent);
  color: var(--rv-jet);
  font-family: var(--rv-font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 999px;
  min-height: auto;
  min-width: auto;
  padding: 0.35rem 0.75rem;
  line-height: 1;
}

.woocommerce .star-rating span::before,
.woocommerce p.stars a::before {
  color: var(--rv-accent);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--rv-accent);
  background-color: var(--rv-card);
  font-family: var(--rv-font-sans);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--rv-accent);
}

.woocommerce table.shop_table,
.woocommerce table.cart {
  border-color: var(--rv-border);
}

.woocommerce-breadcrumb {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rv-muted-foreground);
  margin-bottom: 0;
}

/* --- Editorial shop page header (from inc/woocommerce.php hooks) --- */
.rv-page-header {
  padding-top: 9rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--rv-border);
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .rv-page-header {
    padding-top: 11rem;
    padding-bottom: 4.5rem;
    margin-bottom: 5.5rem;
  }
}

.rv-page-title {
  font-family: var(--rv-font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--rv-foreground);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: 1.02;
  margin: 1.25rem 0 0;
}

.rv-page-lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--rv-muted-foreground);
  font-size: 1rem;
  line-height: 1.7;
}

.rv-page-header .rv-breadcrumb {
  margin-top: 2rem;
}

/* Shop wrapper spacing (hooked wrappers) */
.rv-shop-wrap .rv-container {
  padding-top: 0;
  padding-bottom: 6rem;
}

/* Toolbar: result count + ordering */
.rv-shop-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--rv-border);
}

.rv-shop-toolbar .woocommerce-result-count {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.6875rem;
}

/* --- Product loop as a quiet gallery grid --- */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem 2.5rem;
  margin: 0;
}

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

@media (min-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 4.5rem 3rem;
  }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  text-align: left;
}

.woocommerce ul.products li.product a img {
  margin-bottom: 1.5rem;
  border-radius: var(--rv-radius);
  background-color: var(--rv-secondary);
  transition: opacity 0.7s ease;
}

.woocommerce ul.products li.product:hover a img {
  opacity: 0.9;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--rv-font-serif) !important;
  font-weight: 400;
  font-size: 1.5rem !important;
  line-height: 1.15;
  color: var(--rv-foreground);
  padding: 0 !important;
  margin: 0 0 0.5rem !important;
}

.woocommerce ul.products li.product .price {
  font-family: var(--rv-font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--rv-muted-foreground);
}

.woocommerce ul.products li.product .price del {
  opacity: 0.5;
  margin-right: 0.5rem;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--rv-foreground);
}

/* Loop add-to-cart: a quiet gold-underlined link, not a loud button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  display: inline-block;
  margin-top: 1rem;
  padding: 0;
  background: none;
  color: var(--rv-foreground);
  font-family: var(--rv-font-sans);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 0;
  border-bottom: 1px solid var(--rv-accent);
  border-radius: 0;
  padding-bottom: 0.35rem;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .added_to_cart:hover {
  background: none;
  color: var(--rv-accent);
}

/* Quiet "Selected" ribbon replacing the sale flash */
.rv-flash {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background-color: var(--rv-jet);
  color: var(--rv-ivory);
  font-family: var(--rv-font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

/* Single product layout */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .woocommerce div.product {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: start;
  }
  .woocommerce div.product .woocommerce-product-gallery {
    width: 100% !important;
    margin-bottom: 0;
  }
  .woocommerce div.product .summary.entry-summary {
    width: 100% !important;
    margin-bottom: 0;
    position: sticky;
    top: 7rem;
  }
  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related.products,
  .woocommerce div.product .upsells.products {
    grid-column: 1 / -1;
  }
}

.woocommerce div.product form.cart .button {
  background-color: var(--rv-jet);
  color: var(--rv-ivory);
  font-family: var(--rv-font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1rem 2.25rem;
  border-radius: var(--rv-radius);
  transition: background-color 0.4s ease;
}

.woocommerce div.product form.cart .button:hover {
  background-color: var(--rv-walnut);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--rv-accent);
}

.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--rv-foreground);
  margin-bottom: 2.5rem;
}

/* Buttons across cart / checkout */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background-color: var(--rv-jet);
  color: var(--rv-ivory);
  font-family: var(--rv-font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: var(--rv-radius);
  padding: 0.9rem 1.75rem;
  transition: background-color 0.4s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background-color: var(--rv-walnut);
  color: var(--rv-ivory);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background-color: var(--rv-walnut);
}

/* Editorial empty state */
.rv-empty {
  padding: 4rem 0;
  max-width: 34rem;
}

.rv-empty__lede {
  font-family: var(--rv-font-serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--rv-muted-foreground);
}

/* =========================================================================
   14b. Post navigation, search form, buttons, page links
   ========================================================================= */
.post-navigation {
  border-top: 1px solid var(--rv-border);
  padding-top: 3rem;
  margin-top: 1rem;
}

.post-nav__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .post-nav__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.post-nav__link--next {
  text-align: right;
}

.post-nav__dir {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--rv-accent);
}

.post-nav__title {
  font-family: var(--rv-font-serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--rv-foreground);
  transition: color 0.4s ease;
}

.post-nav__link:hover .post-nav__title {
  color: var(--rv-walnut);
}

/* Search form */
.rv-search__row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.rv-search__field {
  flex: 1 1 auto;
}

.rv-search__submit,
.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--rv-jet);
  color: var(--rv-ivory);
  font-family: var(--rv-font-sans);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: var(--rv-radius);
  cursor: pointer;
  transition: background-color 0.4s ease;
  white-space: nowrap;
}

.rv-search__submit:hover,
.rv-btn:hover {
  background-color: var(--rv-walnut);
  color: var(--rv-ivory);
}

.rv-btn--dark {
  background-color: var(--rv-jet);
}

/* Paginated single-post links */
.page-links {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rv-muted-foreground);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  color: var(--rv-foreground);
}

.page-links a:hover {
  border-color: var(--rv-accent);
  color: var(--rv-accent);
}

/* =========================================================================
   15. Utilities & motion
   ========================================================================= */
.rv-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}

.rv-fade.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .rv-fade {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================================
   16. Vercel parity — World pages, Journal & Listening Room
   Added in 1.2.0. These templates were present in 1.1.0 but their styling
   layer was missing, causing all inner pages to collapse into document flow.
   ========================================================================= */

/* Shared editorial rows */
.rv-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rv-eyebrow-row--wide { gap: 1.5rem; }
.rv-eyebrow-row__rule,
.rv-meta-rule {
  display: inline-block;
  width: 3rem;
  height: 1px;
  background: var(--rv-border);
}
.rv-eyebrow-row__rule--flex { flex: 1; width: auto; }
.section-head--split {
  display: grid;
  gap: 2rem;
}
.section-head__note {
  max-width: 34rem;
  color: var(--rv-muted-foreground);
  line-height: 1.75;
}
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 7fr) minmax(18rem, 5fr);
    align-items: end;
    gap: 4rem;
  }
  .section-head--split .section-head__note { justify-self: end; }
}

/* --- Shared World archive: /cds, /hifi, /audiophile --------------------- */
.world-hero,
.vinyl-hero {
  padding: clamp(8rem, 12vw, 11rem) 0 clamp(5rem, 8vw, 8rem);
  background: var(--rv-background);
}
.world-hero__grid,
.vinyl-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(3.5rem, 7vw, 7rem);
}
@media (min-width: 900px) {
  .world-hero__grid,
  .vinyl-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  }
}
.world-hero__copy,
.vinyl-hero__copy { max-width: 36rem; }
.world-hero__eyebrow-row,
.vinyl-hero__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.1rem;
}
.world-hero__rule,
.vinyl-hero__eyebrow-rule {
  width: 3.5rem;
  height: 1px;
  background: var(--rv-border);
}
.world-hero__title,
.vinyl-hero__title {
  margin: 0;
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(3.6rem, 6.3vw, 6.25rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--rv-foreground);
  text-wrap: balance;
}
.world-hero__tagline,
.vinyl-hero__lede {
  margin-top: 2rem;
  max-width: 31rem;
  font-family: var(--rv-font-serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  color: var(--rv-foreground);
}
.world-hero__body,
.vinyl-hero__body {
  margin-top: 1.6rem;
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--rv-muted-foreground);
}
.world-hero__actions,
.vinyl-hero__actions { margin-top: 2.4rem; }
.world-hero__media,
.vinyl-hero__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--rv-secondary);
}
.world-hero__media img,
.vinyl-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem 2rem;
  margin-top: 4rem;
}
@media (min-width: 680px) { .explore-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .explore-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.explore-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--rv-secondary);
}
.explore-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.explore-card:hover .explore-card__media img { transform: scale(1.025); }
.explore-card__meta { padding-top: 1.5rem; }
.explore-card__num-row { display:flex; align-items:center; gap:1rem; margin-bottom:1rem; }
.explore-card__num {
  font-size:.69rem; letter-spacing:.22em; text-transform:uppercase; color:var(--rv-accent);
}
.explore-card__rule { height:1px; width:2.5rem; background:var(--rv-border); }
.explore-card__title {
  font-family:var(--rv-font-serif); font-size:clamp(1.8rem,2.4vw,2.35rem); font-weight:300; line-height:1.05;
}
.explore-card__lede {
  margin-top:1rem; max-width:26rem; color:var(--rv-muted-foreground); line-height:1.75; font-size:.94rem;
}
.explore-card__cta { margin-top:1.25rem; display:inline-flex; }
.world-closing,
.vinyl-outro {
  margin-top: clamp(6rem, 10vw, 10rem);
  padding-top: clamp(4rem, 6vw, 6rem);
  border-top: 1px solid var(--rv-border);
  max-width: 54rem;
}
.world-closing__line,
.vinyl-outro__lede {
  margin-top:1.4rem;
  font-family:var(--rv-font-serif);
  font-size:clamp(2.2rem,4.2vw,4rem);
  line-height:1.02;
  font-weight:300;
  letter-spacing:-.025em;
}
.world-closing__note,
.vinyl-outro__note {
  margin-top:1.4rem; max-width:38rem; color:var(--rv-muted-foreground); line-height:1.8;
}
.world-closing__cta,
.vinyl-outro__cta { display:inline-flex; margin-top:2rem; }

/* Detail subrooms */
.detail-room,
.vinyl-room {
  min-height: 78vh;
  padding: clamp(8rem, 12vw, 11rem) 0 clamp(5rem, 8vw, 8rem);
  background: var(--rv-background);
}
.detail-room__inner,
.vinyl-room__inner { max-width: 860px; }
.detail-room__back,
.vinyl-room__back { display:inline-flex; gap:.7rem; margin-bottom:4rem; }
.detail-room__eyebrow,
.vinyl-room__eyebrow { margin-bottom:1.5rem; }
.detail-room__title,
.vinyl-room__title {
  font-family:var(--rv-font-serif); font-size:clamp(3.5rem,7vw,6.6rem); font-weight:300; line-height:.95; letter-spacing:-.035em;
}
.detail-room__note,
.vinyl-room__note {
  margin-top:2rem; max-width:43rem; font-family:var(--rv-font-serif); font-size:clamp(1.25rem,2vw,1.7rem); font-style:italic; line-height:1.45;
}
.detail-room__arranging,
.vinyl-room__arranging { margin-top:2rem; max-width:38rem; color:var(--rv-muted-foreground); line-height:1.8; }

/* --- Journal ------------------------------------------------------------ */
.journal-hero { padding: clamp(8rem,12vw,11rem) 0 clamp(4rem,7vw,7rem); }
.journal-hero__grid { display:grid; gap:3rem; align-items:end; }
@media (min-width:900px) { .journal-hero__grid { grid-template-columns:minmax(0,7fr) minmax(18rem,4fr); gap:6rem; } }
.journal-hero__title,
.desk-hero__title,
.reader-title {
  margin-top:1.8rem; font-family:var(--rv-font-serif); font-weight:300; letter-spacing:-.035em; line-height:.95; color:var(--rv-foreground);
}
.journal-hero__title { font-size:clamp(4rem,7vw,6.8rem); }
.journal-hero__lede { margin-top:2rem; max-width:40rem; font-family:var(--rv-font-serif); font-size:clamp(1.35rem,2.1vw,1.8rem); line-height:1.4; }
.journal-hero__body { margin-top:1.5rem; max-width:39rem; color:var(--rv-muted-foreground); line-height:1.85; }
.journal-hero__plate { align-self:end; }
.journal-plate { border-top:1px solid var(--rv-border); border-bottom:1px solid var(--rv-border); padding:1.2rem 0; }
.journal-plate__row { display:flex; justify-content:space-between; gap:1rem; font-size:.69rem; text-transform:uppercase; letter-spacing:.2em; }
.journal-plate__season { color:var(--rv-accent); }
.journal-plate__note { margin-top:1rem; color:var(--rv-muted-foreground); font-size:.88rem; line-height:1.6; }
.journal-hero__figure { margin-top:clamp(3rem,6vw,6rem); overflow:hidden; aspect-ratio:16/7; }
.journal-hero__figure img { width:100%; height:100%; object-fit:cover; }

.featured-story,
.editorial-desks,
.journal-recent,
.curated-archive,
.desk-list { padding:clamp(5rem,8vw,8rem) 0; }
.featured-story { background:var(--rv-secondary); }
.featured-story__grid { display:grid; gap:3rem; align-items:center; margin-top:2.5rem; }
@media(min-width:900px){ .featured-story__grid { grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:5rem; } }
.featured-story__media { display:block; overflow:hidden; aspect-ratio:4/3; }
.featured-story__media img { width:100%; height:100%; object-fit:cover; }
.featured-story__meta,
.reader-meta,
.reader-byline,
.article-card__meta,
.article-card__byline { display:flex; align-items:center; flex-wrap:wrap; gap:.7rem; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--rv-muted-foreground); }
.featured-story__desk,
.reader-meta__desk,
.article-card__desk { color:var(--rv-accent); }
.reader-meta__rule,
.article-card__sep { width:2rem; height:1px; background:var(--rv-border); }
.featured-story__title { margin-top:1.2rem; font-family:var(--rv-font-serif); font-size:clamp(2.6rem,4vw,4.5rem); font-weight:300; line-height:.98; letter-spacing:-.03em; }
.featured-story__dek { margin-top:1.4rem; color:var(--rv-muted-foreground); line-height:1.75; max-width:34rem; }
.featured-story__byline { margin-top:1.5rem; }
.featured-story__cta { margin-top:2rem; }

.desks-grid { display:grid; grid-template-columns:1fr; border-top:1px solid var(--rv-border); margin-top:3rem; }
@media(min-width:700px){ .desks-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(min-width:1100px){ .desks-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.desks-grid__cell { border-bottom:1px solid var(--rv-border); padding:2.25rem 0; }
@media(min-width:700px){ .desks-grid__cell { padding:2.5rem; border-right:1px solid var(--rv-border); } }
.desk-card__meta { display:flex; align-items:center; gap:1rem; }
.desk-card__roman { color:var(--rv-accent); font-family:var(--rv-font-serif); font-size:1rem; }
.desk-card__tag { font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color:var(--rv-muted-foreground); }
.desk-card__title { margin-top:1.2rem; font-family:var(--rv-font-serif); font-size:2rem; font-weight:300; }
.desk-card__desc { margin-top:.8rem; line-height:1.7; color:var(--rv-muted-foreground); }
.desk-card__enter { display:inline-flex; margin-top:1.2rem; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; }

.journal-grid { display:grid; grid-template-columns:1fr; gap:3.5rem 2rem; }
@media(min-width:680px){ .journal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(min-width:1050px){ .journal-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.article-card__media { display:block; overflow:hidden; aspect-ratio:4/3; background:var(--rv-secondary); }
.article-card__media img { width:100%; height:100%; object-fit:cover; transition:transform .7s ease; }
.article-card:hover .article-card__media img { transform:scale(1.025); }
.article-card__body { padding-top:1.4rem; }
.article-card__dot { width:3px; height:3px; border-radius:50%; background:var(--rv-border); }
.article-card__title { margin-top:.9rem; font-family:var(--rv-font-serif); font-size:clamp(1.7rem,2.5vw,2.3rem); font-weight:300; line-height:1.05; }
.article-card__dek { margin-top:.85rem; color:var(--rv-muted-foreground); line-height:1.7; }
.article-card__byline { margin-top:1rem; }
.article-card--horizontal { display:grid; gap:2rem; }
@media(min-width:760px){ .article-card--horizontal { grid-template-columns:minmax(0,4fr) minmax(0,6fr); align-items:center; } }
.desk-hero { padding:clamp(8rem,12vw,11rem) 0 4rem; }
.desk-hero__title { font-size:clamp(3.8rem,6.5vw,6rem); }
.desk-hero__lede { margin-top:1.5rem; max-width:42rem; font-family:var(--rv-font-serif); font-size:1.4rem; line-height:1.5; color:var(--rv-muted-foreground); }
.desk-empty { color:var(--rv-muted-foreground); }
.desk-back { margin-top:4rem; }

/* Journal/Listening readers */
.reader-head { padding:clamp(8rem,12vw,11rem) 0 3.5rem; }
.reader-head__inner { max-width:920px; }
.reader-crumbs { display:flex; gap:.65rem; margin-bottom:2.5rem; font-size:.68rem; text-transform:uppercase; letter-spacing:.16em; color:var(--rv-muted-foreground); }
.reader-title { font-size:clamp(3.5rem,6.5vw,6.5rem); }
.reader-dek { margin-top:1.8rem; max-width:48rem; font-family:var(--rv-font-serif); font-size:clamp(1.25rem,2vw,1.65rem); line-height:1.45; color:var(--rv-muted-foreground); }
.reader-byline { margin-top:2rem; }
.reader-hero { margin-bottom:4rem; }
.reader-hero__frame { aspect-ratio:16/8.5; overflow:hidden; background:var(--rv-secondary); }
.reader-hero__frame img { width:100%; height:100%; object-fit:cover; }
.reader-body { display:grid; gap:3rem; padding-bottom:4rem; }
.reader-body__col { max-width:760px; margin:0 auto; font-family:var(--rv-font-serif); font-size:1.2rem; line-height:1.85; }
.reader-body__col p + p { margin-top:1.6rem; }
.reader-facts { max-width:760px; margin:0 auto 1rem; width:100%; border-top:1px solid var(--rv-border); border-bottom:1px solid var(--rv-border); padding:1.2rem 0; }
.reader-facts__row { display:grid; grid-template-columns:1fr 2fr; gap:1rem; padding:.55rem 0; }
.reader-facts dt { font-size:.68rem; text-transform:uppercase; letter-spacing:.15em; color:var(--rv-muted-foreground); }
.reader-facts dd { margin:0; }
.reader-exchanges { margin-top:3rem; }
.reader-exchange { padding:2rem 0; border-top:1px solid var(--rv-border); }
.reader-exchange__q { font-family:var(--rv-font-sans); font-size:.72rem; letter-spacing:.15em; text-transform:uppercase; color:var(--rv-accent); }
.reader-exchange__a { margin-top:1rem; }
.reader-foot { padding:2rem 0 7rem; }
.rv-textlink { display:inline-flex; align-items:center; gap:.65rem; font-size:.72rem; text-transform:uppercase; letter-spacing:.16em; }
.rv-textlink__arrow { transition:transform .3s ease; }
.rv-textlink:hover .rv-textlink__arrow { transform:translateX(.2rem); }
.rv-textlink:hover .rv-textlink__arrow--back { transform:translateX(-.2rem); }

/* --- Listening Room ----------------------------------------------------- */
.lr-hero { position:relative; min-height:100vh; display:flex; align-items:flex-end; color:var(--rv-on-dark); overflow:hidden; }
.lr-hero__media,
.lr-hero__scrim { position:absolute; inset:0; }
.lr-hero__media img { width:100%; height:100%; object-fit:cover; }
.lr-hero__scrim { background:linear-gradient(90deg,rgba(10,10,10,.72) 0%,rgba(10,10,10,.34) 52%,rgba(10,10,10,.16) 100%); }
.lr-hero__inner { position:relative; z-index:1; padding-top:10rem; padding-bottom:clamp(5rem,9vw,8rem); max-width:880px; }
.lr-hero__title { margin-top:1.5rem; font-family:var(--rv-font-serif); font-size:clamp(4rem,8vw,7.4rem); font-weight:300; line-height:.92; letter-spacing:-.04em; }
.lr-hero__lede { margin-top:2rem; max-width:48rem; font-family:var(--rv-font-serif); font-size:clamp(1.25rem,2vw,1.7rem); line-height:1.45; }
.lr-philosophy,
.lr-sessions,
.lr-systems,
.lr-spotlights,
.lr-records,
.lr-acoustics,
.lr-evenings,
.lr-conversations { padding:clamp(5.5rem,9vw,9rem) 0; }
.lr-philosophy,
.lr-systems,
.lr-records,
.lr-evenings { background:var(--rv-secondary); }
.tenets-grid { display:grid; gap:2rem; margin-top:3.5rem; }
@media(min-width:750px){ .tenets-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.tenet { border-top:1px solid var(--rv-border); padding-top:1.5rem; }
.tenet__index { color:var(--rv-accent); font-family:var(--rv-font-serif); }
.tenet__title { margin-top:.8rem; font-family:var(--rv-font-serif); font-size:2rem; font-weight:300; }
.tenet__text { margin-top:.8rem; color:var(--rv-muted-foreground); line-height:1.75; }
.feature-grid { display:grid; gap:3rem 2rem; margin-top:3rem; }
@media(min-width:700px){ .feature-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.feature-card__media { display:block; aspect-ratio:4/5; overflow:hidden; background:var(--rv-secondary); }
.feature-card__media img { width:100%; height:100%; object-fit:cover; transition:transform .75s ease; }
.feature-card:hover .feature-card__media img { transform:scale(1.025); }
.feature-card__body { padding-top:1.4rem; }
.feature-card__kicker { font-size:.68rem; text-transform:uppercase; letter-spacing:.18em; color:var(--rv-accent); }
.feature-card__title { margin-top:.7rem; font-family:var(--rv-font-serif); font-size:2rem; font-weight:300; line-height:1.05; }
.feature-card__dek { margin-top:.8rem; color:var(--rv-muted-foreground); line-height:1.7; }
.systems-grid { display:grid; gap:2rem; margin-top:3rem; }
@media(min-width:850px){ .systems-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.system-card { background:var(--rv-background); }
.system-card__media { aspect-ratio:4/3; overflow:hidden; }
.system-card__media img { width:100%; height:100%; object-fit:cover; }
.system-card__body { padding:1.7rem; }
.system-card__character { font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--rv-accent); }
.system-card__name { margin-top:.6rem; font-family:var(--rv-font-serif); font-size:2.1rem; font-weight:300; }
.system-card__dek { margin-top:.8rem; color:var(--rv-muted-foreground); line-height:1.7; }
.system-card__specs { margin-top:1.5rem; border-top:1px solid var(--rv-border); }
.system-card__spec { display:grid; grid-template-columns:1fr 1.6fr; gap:1rem; padding:.7rem 0; border-bottom:1px solid var(--rv-border); font-size:.78rem; }
.pick { display:grid; gap:1rem; padding:1.6rem 0; border-top:1px solid var(--rv-border); }
@media(min-width:760px){ .pick { grid-template-columns:minmax(0,3fr) minmax(0,5fr) minmax(0,2fr); align-items:start; } }
.pick__title { font-family:var(--rv-font-serif); font-size:1.7rem; font-weight:300; }
.pick__meta,.pick__by { display:block; margin-top:.4rem; font-size:.68rem; text-transform:uppercase; letter-spacing:.13em; color:var(--rv-muted-foreground); }
.pick__note { line-height:1.7; }
.lr-acoustics__grid { display:grid; gap:4rem; align-items:center; }
@media(min-width:900px){ .lr-acoustics__grid { grid-template-columns:minmax(0,6fr) minmax(0,5fr); } }
.lr-acoustics__media { aspect-ratio:4/3; overflow:hidden; }
.lr-acoustics__media img { width:100%; height:100%; object-fit:cover; }
.lr-acoustics__title { margin-top:1rem; font-family:var(--rv-font-serif); font-size:clamp(2.8rem,4.8vw,4.8rem); font-weight:300; line-height:1; }
.lr-acoustics__lede { margin-top:1.2rem; color:var(--rv-muted-foreground); line-height:1.75; }
.lr-acoustics__points { margin-top:2rem; }
.lr-acoustics__points li { padding:1rem 0; border-top:1px solid var(--rv-border); line-height:1.65; color:var(--rv-muted-foreground); }
.lr-acoustics__point-title { color:var(--rv-foreground); font-weight:500; }
.evenings-list { margin-top:3rem; border-top:1px solid var(--rv-border); }
.evening { display:grid; grid-template-columns:9rem 1fr; gap:2rem; padding:1.5rem 0; border-bottom:1px solid var(--rv-border); }
.evening__when { font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--rv-accent); }
.evening__title { font-family:var(--rv-font-serif); font-size:1.65rem; font-weight:300; }
.evening__note { margin-top:.45rem; color:var(--rv-muted-foreground); line-height:1.65; }
.lr-closing { padding:clamp(6rem,10vw,10rem) 0; background:var(--rv-jet); color:var(--rv-on-dark); text-align:center; }
.lr-closing__inner { max-width:800px; }
.lr-closing__title { margin-top:1rem; font-family:var(--rv-font-serif); font-size:clamp(3.4rem,6vw,6rem); font-weight:300; line-height:.95; }
.lr-closing__lede { margin:1.5rem auto 0; max-width:42rem; font-family:var(--rv-font-serif); font-size:1.25rem; line-height:1.55; color:rgba(247,243,236,.78); }
.rv-button--light { display:inline-flex; margin-top:2rem; border:1px solid rgba(247,243,236,.6); color:var(--rv-on-dark); padding:.9rem 1.2rem; font-size:.7rem; text-transform:uppercase; letter-spacing:.16em; }

/* Mobile polish */
@media(max-width:899px){
  .world-hero__media,.vinyl-hero__media { max-width:38rem; }
  .world-hero__title,.vinyl-hero__title { max-width:11ch; }
  .journal-hero__figure { aspect-ratio:4/3; }
  .evening { grid-template-columns:1fr; gap:.6rem; }
}
/* ==========================================================
   RETROVIBE ANALOG — SINGLE PRODUCT
   Editorial product architecture
   ========================================================== */

.single-product .rv-album-page {
    background: var(--rv-background);
    color: var(--rv-foreground);
}

/* MAIN WIDTH */
.single-product .rv-album-page .rv-container {
    width: min(1280px, calc(100% - 80px));
    margin-inline: auto;
}


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

.single-product .rv-album-hero {
    padding: 90px 0 110px;
}

.single-product .rv-album-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 110px;
    align-items: center;
}

.single-product .rv-album-cover {
    width: 100%;
}

.single-product .rv-album-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* ==========================================================
   PRODUCT INTRO
   ========================================================== */

.single-product .rv-album-intro {
    max-width: 520px;
}

.single-product .rv-eyebrow {
    display: block;
    margin-bottom: 26px;

    font-family: var(--rv-font-sans);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.34em;
    text-transform: uppercase;

    color: var(--rv-gold);
}

.single-product .rv-album-artist {
    margin: 0 0 12px;

    font-family: var(--rv-font-sans);
    font-size: 15px;
    line-height: 1.5;

    color: var(--rv-muted-foreground);
}

.single-product .rv-album-title {
    margin: 0 0 28px;

    font-family: var(--rv-font-serif);
    font-size: clamp(46px, 4vw, 72px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;

    color: var(--rv-foreground);
}

.single-product .rv-album-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;

    margin-bottom: 38px;

    font-family: var(--rv-font-sans);
    font-size: 13px;
    line-height: 1.5;

    color: var(--rv-muted-foreground);
}

.single-product .rv-album-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 18px;
    color: var(--rv-gold);
}

.single-product .rv-album-price {
    margin-bottom: 28px;

    font-family: var(--rv-font-serif);
    font-size: 32px;
    line-height: 1;

    color: var(--rv-foreground);
}


/* ==========================================================
   ADD TO CART
   ========================================================== */

.single-product .rv-album-buy form.cart {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 0;
}

.single-product .rv-album-buy .quantity {
    margin: 0 !important;
}

.single-product .rv-album-buy .qty {
    width: 64px;
    height: 50px;

    border: 1px solid var(--rv-border);
    border-radius: 0;

    background: transparent;
    color: var(--rv-foreground);

    text-align: center;
}

.single-product .rv-album-buy .single_add_to_cart_button {
    min-height: 50px;
    padding: 0 30px;

    border: 1px solid var(--rv-foreground) !important;
    border-radius: 0 !important;

    background: var(--rv-foreground) !important;
    color: var(--rv-background) !important;

    font-family: var(--rv-font-sans);
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.single-product .rv-album-buy .single_add_to_cart_button:hover {
    background: transparent !important;
    color: var(--rv-foreground) !important;
}


/* ==========================================================
   PRESSING / SPECIFICATIONS
   ========================================================== */

.single-product .rv-album-edition {
    padding: 105px 0;
    border-top: 1px solid var(--rv-border);
}

.single-product .rv-section-heading {
    margin-bottom: 54px;
}

.single-product .rv-section-heading .rv-eyebrow {
    margin-bottom: 16px;
}

.single-product .rv-section-heading h2 {
    margin: 0;

    font-family: var(--rv-font-serif);
    font-size: clamp(38px, 3vw, 56px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;

    color: var(--rv-foreground);
}

.single-product .rv-album-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid var(--rv-border);
}

.single-product .rv-spec {
    min-height: 112px;
    padding: 22px 26px 22px 0;

    border-bottom: 1px solid var(--rv-border);
}

.single-product .rv-spec span {
    display: block;
    margin-bottom: 10px;

    font-family: var(--rv-font-sans);
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: var(--rv-muted-foreground);
}

.single-product .rv-spec strong {
    display: block;

    font-family: var(--rv-font-serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;

    color: var(--rv-foreground);
}


/* ==========================================================
   NOTES & TRACKLIST
   ========================================================== */

.single-product .rv-album-notes {
    padding: 110px 0 130px;

    border-top: 1px solid var(--rv-border);
}

.single-product .rv-album-notes-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
    gap: 120px;
    align-items: start;
}

.single-product .rv-album-description {
    max-width: 760px;

    font-family: var(--rv-font-sans);
    font-size: 15px;
    line-height: 1.8;

    color: var(--rv-muted-foreground);
}

.single-product .rv-album-description p {
    margin: 0 0 1em;
}

.single-product .rv-album-description strong {
    color: var(--rv-foreground);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

    .single-product .rv-album-page .rv-container {
        width: min(100% - 40px, 1280px);
    }

    .single-product .rv-album-hero {
        padding: 50px 0 70px;
    }

    .single-product .rv-album-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .single-product .rv-album-intro {
        max-width: none;
    }

    .single-product .rv-album-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-product .rv-album-notes-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 560px) {

    .single-product .rv-album-page .rv-container {
        width: calc(100% - 32px);
    }

    .single-product .rv-album-specs {
        grid-template-columns: 1fr;
    }

    .single-product .rv-album-title {
        font-size: 44px;
    }

    .single-product .rv-album-buy form.cart {
        flex-wrap: wrap;
    }
}
/* =========================================================
   RETROVIBE ANALOG — VINYL SINGLE PRODUCT FINAL
   ========================================================= */

.single-product .rv-album-page {
    width: 100%;
    background: #f7f3ec;
    color: #161514;
}

.single-product .rv-album-page * {
    box-sizing: border-box;
}


/* MAIN CONTAINER */

.single-product .rv-album-page .rv-container {
    width: min(1280px, calc(100% - 96px));
    margin-left: auto;
    margin-right: auto;
}


/* HERO */

.single-product .rv-album-hero {
    padding: 90px 0 110px;
}

.single-product .rv-album-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 96px;
    align-items: center;
}


/* COVER */

.single-product .rv-album-cover,
.single-product .rv-album-media {
    width: 100%;
}

.single-product .rv-album-cover img,
.single-product .rv-album-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* TEXT SIDE */

.single-product .rv-album-intro {
    max-width: 520px;
}

.single-product .rv-album-kicker,
.single-product .rv-eyebrow {
    margin: 0 0 18px;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #c7a35a;
}

.single-product .rv-album-artist {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.5;
    color: #625d54;
}

.single-product .rv-album-title {
    margin: 0 0 25px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(52px, 5vw, 78px);
    line-height: .98;
    font-weight: 400;
    letter-spacing: -.025em;
    color: #161514;
}

.single-product .rv-album-edition {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.7;
    color: #6c665b;
}

.single-product .rv-album-price {
    margin: 0 0 30px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    line-height: 1;
    color: #161514;
}


/* BUY */

.single-product .rv-album-buy form.cart {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 0;
}

.single-product .rv-album-buy .quantity {
    margin: 0 !important;
}

.single-product .rv-album-buy input.qty {
    width: 66px;
    height: 54px;
    border: 1px solid #d8d0c2;
    background: transparent;
    text-align: center;
}

.single-product .rv-album-buy .single_add_to_cart_button {
    min-height: 54px;
    padding: 0 36px !important;

    border: 1px solid #161514 !important;
    border-radius: 0 !important;

    background: #161514 !important;
    color: #fff !important;

    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .18em;
    text-transform: uppercase;
}


/* PRESSING SECTION */

.single-product .rv-album-pressing {
    padding: 100px 0;
    border-top: 1px solid #e4ddce;
}

.single-product .rv-album-pressing-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 100px;
    align-items: start;
}


/* HEADINGS */

.single-product .rv-album-section-title,
.single-product .rv-section-title {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 400;
    color: #161514;
}


/* SPECS */

.single-product .rv-album-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 55px;
}

.single-product .rv-album-specs > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;

    padding: 18px 0;
    border-bottom: 1px solid #e4ddce;
}

.single-product .rv-album-specs span {
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8a8378;
}

.single-product .rv-album-specs strong {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: #161514;
}


/* NOTES / TRACKLIST */

.single-product .rv-album-notes {
    padding: 100px 0 130px;
    border-top: 1px solid #e4ddce;
}

.single-product .rv-album-notes-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 100px;
    align-items: start;
}

.single-product .rv-album-description {
    max-width: 720px;

    font-size: 15px;
    line-height: 1.85;
    color: #504c45;
}

.single-product .rv-album-description p {
    margin: 0 0 18px;
}


/* TABLET */

@media (max-width: 900px) {

    .single-product .rv-album-page .rv-container {
        width: min(100% - 64px, 1280px);
    }

    .single-product .rv-album-hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .single-product .rv-album-intro {
        max-width: 720px;
    }

    .single-product .rv-album-pressing-grid,
    .single-product .rv-album-notes-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}


/* MOBILE */

@media (max-width: 560px) {

    .single-product .rv-album-page .rv-container {
        width: calc(100% - 44px);
    }

    .single-product .rv-album-hero {
        padding: 50px 0 70px;
    }

    .single-product .rv-album-title {
        font-size: 44px;
    }

    .single-product .rv-album-specs {
        grid-template-columns: 1fr;
    }

    .single-product .rv-album-pressing,
    .single-product .rv-album-notes {
        padding: 65px 0;
    }

    .single-product .rv-album-buy form.cart {
        flex-wrap: wrap;
    }
}
/* =========================================================
   RETROVIBE ANALOG — SINGLE PRODUCT FINAL LAYOUT
   ========================================================= */

.single-product .rv-album-page {
    width: 100%;
    overflow: hidden;
}

.single-product .rv-album-page .rv-container {
    width: min(1180px, calc(100% - 80px));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO */

.single-product .rv-album-hero {
    padding: 80px 0 90px;
}

.single-product .rv-album-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr) !important;
    gap: 90px !important;
    align-items: center !important;
}

.single-product .rv-album-cover {
    width: 100%;
    max-width: 520px;
}

.single-product .rv-album-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.single-product .rv-album-intro {
    max-width: 520px !important;
}

.single-product .rv-album-kicker {
    display: block;
    margin-bottom: 14px;
    color: #c7a35a;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.single-product .rv-album-artist {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.4;
}

.single-product .rv-album-title {
    margin: 0 0 18px !important;
    font-size: clamp(38px, 4vw, 62px) !important;
    line-height: 1.03 !important;
    letter-spacing: -.035em;
    font-weight: 400;
}

.single-product .rv-album-meta {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.6;
}

.single-product .rv-album-price {
    margin: 20px 0;
    font-size: 24px;
    line-height: 1.2;
}

/* BUY AREA */

.single-product .rv-album-buy form.cart {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-top: 24px !important;
}

.single-product .rv-album-buy .quantity {
    float: none !important;
    margin: 0 !important;
}

.single-product .rv-album-buy input.qty {
    width: 64px !important;
    min-height: 48px;
    border: 1px solid #d9d0c1;
    background: transparent;
    text-align: center;
}

.single-product .rv-album-buy button.single_add_to_cart_button {
    min-height: 48px;
    padding: 0 28px !important;
    border: 1px solid #111 !important;
    border-radius: 0 !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 12px !important;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* PRESSING DETAILS */

.single-product .rv-album-pressing {
    padding: 80px 0;
    border-top: 1px solid rgba(17,17,17,.10);
}

.single-product .rv-album-pressing-grid {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 90px !important;
}

.single-product .rv-album-section-label {
    color: #c7a35a;
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.single-product .rv-album-section-title {
    margin: 10px 0 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 400;
}

.single-product .rv-album-specs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 0 45px !important;
}

.single-product .rv-album-spec {
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(17,17,17,.08);
}

.single-product .rv-album-spec-label {
    font-size: 12px;
    color: #6c665b;
}

.single-product .rv-album-spec-value {
    font-size: 14px;
    font-weight: 600;
}

/* NOTES & TRACKLIST */

.single-product .rv-album-notes {
    padding: 80px 0 110px;
    border-top: 1px solid rgba(17,17,17,.10);
}

.single-product .rv-album-notes-grid {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 90px !important;
}

.single-product .rv-album-description {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.8;
}

.single-product .rv-album-description p {
    margin-top: 0;
    margin-bottom: 10px;
}

/* REMOVE DEFAULT WOOCOMMERCE SPACING/ODDITIES */

.single-product .rv-woocommerce,
.single-product .site-main.rv-woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-product div.product {
    margin: 0 !important;
}

/* TABLET */

@media (max-width: 900px) {

    .single-product .rv-album-page .rv-container {
        width: min(100% - 48px, 1180px);
    }

    .single-product .rv-album-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
    }

    .single-product .rv-album-cover,
    .single-product .rv-album-intro {
        max-width: 650px !important;
    }

    .single-product .rv-album-pressing-grid,
    .single-product .rv-album-notes-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }

    .single-product .rv-album-specs {
        grid-template-columns: 1fr !important;
    }
}

/* MOBILE */

@media (max-width: 560px) {

    .single-product .rv-album-page .rv-container {
        width: calc(100% - 32px);
    }

    .single-product .rv-album-hero {
        padding: 45px 0 60px;
    }

    .single-product .rv-album-title {
        font-size: 38px !important;
    }

    .single-product .rv-album-pressing,
    .single-product .rv-album-notes {
        padding: 55px 0;
    }

    .single-product .rv-album-spec {
        grid-template-columns: 105px 1fr;
    }
}

/* =========================================================================
   Single Product — the editorial "record" layout
   (woocommerce/content-single-product.php). Reuses the ivory/jet/gold
   design tokens; no new colours or fonts.
   ========================================================================= */
.rv-record {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 3rem var(--rv-gutter) 5rem;
}

/* --- The Album: artwork + acquisition summary --------------------------- */
.rv-record__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .rv-record__hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: start;
  }
}

.rv-record__art {
  position: relative;
}

/* Square, framed artwork — override WooCommerce gallery defaults. */
.rv-record__art .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.rv-record__art .woocommerce-product-gallery__image img {
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background-color: var(--rv-white);
}

@media (min-width: 900px) {
  .rv-record__summary {
    position: sticky;
    top: 7rem;
  }
}

.rv-record__title {
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  color: var(--rv-foreground);
  margin: 0.75rem 0 0;
  text-wrap: balance;
}

.rv-record__artist {
  font-family: var(--rv-font-serif);
  font-style: italic;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--rv-muted-foreground);
  margin: 0.5rem 0 0;
}

.rv-record__artist a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rv-border);
}

.rv-record__artist a:hover {
  color: var(--rv-accent);
  border-color: var(--rv-accent);
}

.rv-record__acquire {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.75rem 0 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rv-border);
}

.rv-record__price {
  font-family: var(--rv-font-serif);
  font-size: 1.75rem;
  color: var(--rv-foreground);
}

.rv-record__price del {
  color: var(--rv-muted-foreground);
  opacity: 0.7;
  margin-right: 0.5rem;
}

.rv-record__price ins {
  text-decoration: none;
}

.rv-record__stock {
  font-family: var(--rv-font-sans);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rv-muted-foreground);
}

.rv-record__stock .stock.out-of-stock {
  color: var(--rv-accent-strong);
}

.rv-record__standfirst {
  font-family: var(--rv-font-serif);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--rv-muted-foreground);
  margin-top: 1.5rem;
}

/* --- Shared section rhythm --------------------------------------------- */
.rv-record__body {
  margin-top: 4rem;
}

.rv-record__section {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--rv-border);
}

.rv-record__section:first-child {
  border-top: 0;
  margin-top: 0;
}

.rv-record__heading {
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--rv-foreground);
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rv-record__heading .rv-eyebrow {
  order: -1;
}

/* --- The Pressing: specs definition list -------------------------------- */
.rv-record__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

@media (min-width: 640px) {
  .rv-record__specs {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
  }
}

.rv-record__spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rv-border);
}

.rv-record__spec dt {
  font-family: var(--rv-font-sans);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rv-muted-foreground);
  margin: 0;
  white-space: nowrap;
}

.rv-record__spec dd {
  font-family: var(--rv-font-sans);
  font-size: 0.9375rem;
  color: var(--rv-foreground);
  margin: 0;
  text-align: right;
}

.rv-record__spec dd a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rv-accent);
  transition: color 0.3s ease;
}

.rv-record__spec dd a:hover {
  color: var(--rv-accent);
}

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

/* --- The Record: tracklist --------------------------------------------- */
.rv-record__sides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .rv-record__sides {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3.5rem;
  }
}

.rv-record__side-label {
  font-family: var(--rv-font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rv-accent-strong);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rv-border);
}

.rv-record__tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.rv-record__track {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.55rem 0;
  font-family: var(--rv-font-sans);
  font-size: 0.9375rem;
  color: var(--rv-foreground);
}

.rv-record__track-pos {
  min-width: 2.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--rv-muted-foreground);
}

.rv-record__track-title {
  flex: 1;
}

.rv-record__track-dur {
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  color: var(--rv-muted-foreground);
}

/* --- Release Notes: prose ---------------------------------------------- */
.rv-record__prose {
  max-width: 40rem;
  font-family: var(--rv-font-serif);
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--rv-foreground);
}

.rv-record__prose p {
  margin: 0 0 1.25rem;
}

.rv-record__prose p:last-child {
  margin-bottom: 0;
}

/* --- Related records inherit the archive loop styling ------------------ */
.rv-record .related.products {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--rv-border);
}

.rv-record .related.products > h2 {
  font-family: var(--rv-font-serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--rv-foreground);
  margin-bottom: 2.5rem;
}
/* =========================================================
   RETROVIBE — SINGLE PRODUCT HERO ALIGNMENT
   Reference: v0 /preview/single-product
   ========================================================= */

.single-product .rv-record {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.single-product .rv-record__hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr) !important;
    gap: 64px !important;
    align-items: start !important;
    padding: 72px 0 90px !important;
}

.single-product .rv-record__art {
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
}

.single-product .rv-record__art .woocommerce-product-gallery {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}

.single-product .rv-record__art .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

.single-product .rv-record__art .woocommerce-product-gallery__image {
    width: 100% !important;
}

.single-product .rv-record__art .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
}

.single-product .rv-record__summary {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 !important;
    padding: 18px 0 0 !important;
    float: none !important;
    position: static !important;
}

.single-product .rv-record__title {
    margin: 14px 0 8px !important;
    font-size: clamp(44px, 4vw, 62px) !important;
    line-height: 1 !important;
    font-weight: 300 !important;
}

.single-product .rv-record__artist {
    margin: 0 0 26px !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
}

.single-product .rv-record__acquire {
    margin-top: 28px !important;
    padding-top: 28px !important;
    border-top: 1px solid var(--rv-border) !important;
}

@media (max-width: 900px) {
    .single-product .rv-record {
        width: calc(100% - 64px) !important;
    }

    .single-product .rv-record__hero {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
        padding: 60px 0 70px !important;
    }

    .single-product .rv-record__summary {
        max-width: none !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 560px) {
    .single-product .rv-record {
        width: calc(100% - 32px) !important;
    }

    .single-product .rv-record__hero {
        gap: 36px !important;
        padding: 40px 0 55px !important;
    }

    .single-product .rv-record__title {
        font-size: 38px !important;
    }
/* =========================================================
   RETROVIBE — SINGLE PRODUCT HERO VISIBILITY FIX
   ========================================================= */

.single-product .rv-record__summary .rv-eyebrow {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--rv-accent) !important;
}

.single-product .rv-record__title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--rv-foreground) !important;
}

.single-product .rv-record__artist {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.single-product .rv-record__summary .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: var(--rv-foreground) !important;
    color: var(--rv-background) !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;

    min-height: 50px !important;
    padding: 0 30px !important;

    border: 1px solid var(--rv-foreground) !important;
    border-radius: 0 !important; }
}
/* =========================================================
   RETROVIBE — SINGLE PRODUCT ADD TO COLLECTION
   ========================================================= */

.single-product .rv-record__summary .single_add_to_cart_button,
.single-product .rv-record__summary button.single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 50px !important;
    padding: 0 30px !important;

    background: var(--rv-foreground) !important;
    background-color: var(--rv-foreground) !important;

    color: var(--rv-background) !important;

    border: 1px solid var(--rv-foreground) !important;
    border-radius: 0 !important;

    font-family: var(--rv-font-sans) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    opacity: 1 !important;
    visibility: visible !important;
}

.single-product .rv-record__summary .single_add_to_cart_button:hover {
    background: transparent !important;
    color: var(--rv-foreground) !important;
}
/* =========================================================
   RETROVIBE — SINGLE PRODUCT HERO FINAL ALIGNMENT
   Mirrors the v0 visual composition
   ========================================================= */

/* HERO GRID */
.single-product .rv-record__hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 4.5rem !important;
    align-items: start !important;

    max-width: var(--rv-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;

    padding: 3rem var(--rv-gutter) 5rem !important;
}

/* LEFT ARTWORK */
.single-product .rv-record__art {
    position: relative !important;
}

.single-product .rv-record__art .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

.single-product .rv-record__art .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
}

/* RIGHT SUMMARY */
.single-product .rv-record__summary {
    display: block !important;
    position: sticky !important;
    top: 7rem !important;
    padding-top: 1.1rem !important;
}

/* GENRE */
.single-product .rv-record__summary .rv-eyebrow {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    margin: 0 0 1.15rem !important;

    color: var(--rv-accent) !important;
    font-family: var(--rv-font-sans) !important;
    font-size: .68rem !important;
    font-weight: 600 !important;
    letter-spacing: .22em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

/* TITLE */
.single-product .rv-record__summary .rv-record__title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    margin: 0 0 .7rem !important;

    color: var(--rv-foreground) !important;
    font-family: var(--rv-font-serif) !important;
    font-size: clamp(2.8rem, 4vw, 4rem) !important;
    font-weight: 300 !important;
    line-height: 1.02 !important;
    letter-spacing: -.02em !important;
}

/* ARTIST */
.single-product .rv-record__summary .rv-record__artist {
    display: block !important;
    margin: 0 0 1.6rem !important;

    font-family: var(--rv-font-serif) !important;
    font-size: 1.15rem !important;
    font-style: italic !important;
    line-height: 1.4 !important;
}

/* ACQUISITION AREA */
.single-product .rv-record__summary .rv-record__acquire {
    display: flex !important;
    align-items: baseline !important;
    gap: 1.2rem !important;

    margin: 0 0 1.4rem !important;
    padding-top: 1.8rem !important;

    border-top: 1px solid var(--rv-border) !important;
}

/* PRICE */
.single-product .rv-record__summary .rv-record__price {
    font-family: var(--rv-font-serif) !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
}

/* CART ROW */
.single-product .rv-record__summary form.cart {
    display: flex !important;
    align-items: stretch !important;
    gap: .8rem !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

/* QUANTITY */
.single-product .rv-record__summary form.cart .quantity {
    margin: 0 !important;
}

.single-product .rv-record__summary form.cart .qty {
    width: 62px !important;
    min-height: 50px !important;
    padding: 0 10px !important;

    border: 1px solid var(--rv-border) !important;
    border-radius: 0 !important;
    background: transparent !important;

    text-align: center !important;
    font-size: 14px !important;
}

/* SHORT DESCRIPTION */
.single-product .rv-record__standfirst {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    margin-top: 1.5rem !important;

    color: var(--rv-muted-foreground) !important;
    font-family: var(--rv-font-serif) !important;
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
}
/* ==========================================================
   RETROVIBE — INNER PAGES HEADER FIX
   Keep homepage untouched
   ========================================================== */

body:not(.home) .site-header {
    position: relative !important;
    width: 100% !important;
    background: var(--rv-background) !important;
    border-bottom: 1px solid var(--rv-border) !important;
}

body:not(.home) .site-header__inner {
    width: min(1180px, calc(100% - 64px)) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;

    padding: 26px 0 !important;
    min-height: 92px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Tablet */
@media (max-width: 900px) {
    body:not(.home) .site-header__inner {
        width: calc(100% - 44px) !important;
        padding: 22px 0 !important;
        min-height: 82px !important;
    }
}

/* Mobile */
@media (max-width: 560px) {
    body:not(.home) .site-header__inner {
        width: calc(100% - 32px) !important;
        padding: 18px 0 !important;
        min-height: 72px !important;
    }
}
/* =========================================================
   SINGLE PRODUCT — TRACKLIST FINAL POLISH
   ========================================================= */

.single-product .rv-record__tracklist {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
}

.single-product .rv-record__sides {
    gap: 3rem;
}

.single-product .rv-record__side-label {
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(22, 21, 20, 0.12);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.single-product .rv-record__track {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.58rem 0;
}

.single-product .rv-record__track-pos {
    opacity: 0.55;
    font-size: 0.72rem;
}

.single-product .rv-record__track-title {
    line-height: 1.45;
}

.single-product .rv-record__track-dur {
    opacity: 0.6;
    font-size: 0.72rem;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .single-product .rv-record__sides {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .single-product .rv-record__tracklist {
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }
}

/* Retrovibe Analog — Master Collection / Archive styles
Paste at the END of /wp-content/themes/retrovibe-analog/style.css
*/

/* --- Format navigation strip ------------------------------------------ */
.rv-archive-nav {
  border-top: 1px solid var(--rv-border);
  border-bottom: 1px solid var(--rv-border);
  margin-bottom: 3rem;
}

.rv-archive-nav__list { display: flex; flex-wrap: wrap; gap: 2rem; padding: 1.1rem 0; }

.rv-archive-nav__link {
  position: relative;
  display: inline-block;
  padding-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rv-muted-foreground);
  background: none;
  border: 0;
  cursor: pointer;
}

.rv-archive-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background-color: var(--rv-foreground);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.rv-archive-nav__link:hover { color: var(--rv-foreground); }
.rv-archive-nav__link.is-active { color: var(--rv-foreground); }
.rv-archive-nav__link.is-active::after,
.rv-archive-nav__link:hover::after { transform: scaleX(1); }

/* --- Two-column layout ------------------------------------------------- */
.rv-archive { padding-bottom: 5rem; }
.rv-archive__layout { display: block; }
.rv-archive__main { min-width: 0; }

.rv-archive__drawer {
  display: block;
  margin-bottom: 2rem;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
}

.rv-archive__drawer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--rv-foreground);
  background: none;
  border: 0;
  cursor: pointer;
}

.rv-archive__drawer-toggle::after { content: "+"; font-size: 1rem; color: var(--rv-muted-foreground); }
.rv-archive__drawer.is-open > .rv-archive__drawer-toggle::after { content: "\\2212"; }

.rv-archive__sidebar { padding: 0.5rem 1.1rem 1.25rem; }
.rv-archive__drawer:not(.is-open) .rv-archive__sidebar { display: none; }

.rv-archive__filters-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--rv-border);
}

.rv-archive__clear {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rv-muted-foreground);
  border: 0;
  border-bottom: 1px solid var(--rv-border);
  padding: 0 0 2px;
  background: none;
  cursor: pointer;
}
.rv-archive__clear:hover { color: var(--rv-accent); border-color: var(--rv-accent); }

/* --- Filter groups ----------------------------------------------------- */
.rv-filter { border-bottom: 1px solid var(--rv-border); }

.rv-filter__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rv-foreground);
  background: none;
  border: 0;
  cursor: pointer;
}

.rv-filter__chevron {
  position: relative;
  width: 9px; height: 9px;
  border-right: 1px solid var(--rv-muted-foreground);
  border-bottom: 1px solid var(--rv-muted-foreground);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.rv-filter[open] > .rv-filter__summary .rv-filter__chevron {
    transform: rotate(-135deg);
}

.rv-filter__list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-bottom: 1rem;
}

.rv-filter:not([open]) .rv-filter__list {
    display: none;
}

.rv-filter__option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
  color: var(--rv-muted-foreground);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.rv-filter__box {
  flex-shrink: 0;
  width: 13px; height: 13px;
  border: 1px solid var(--rv-border);
  border-radius: 2px;
  background-color: var(--rv-white);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.rv-filter__option.is-checked .rv-filter__box {
  border-color: var(--rv-accent);
  background-color: var(--rv-accent);
  box-shadow: inset 0 0 0 2px var(--rv-white);
}

.rv-filter__option:hover { color: var(--rv-foreground); }
.rv-filter__option:hover .rv-filter__box { border-color: var(--rv-accent); }
.rv-filter__option.is-checked { color: var(--rv-foreground); }
.rv-filter__name { flex: 1; }
.rv-filter__count { font-size: 0.6875rem; color: var(--rv-muted-foreground); opacity: 0.7; font-variant-numeric: tabular-nums; }

/* --- Toolbar ----------------------------------------------------------- */
.rv-shop-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-bottom: 1.75rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rv-border);
}

.rv-result-count {
  margin: 0;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rv-muted-foreground);
}

.rv-archive-search { position: relative; flex: 1 1 220px; max-width: 320px; }

.rv-archive-search input[type="search"] {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 0.9rem;
  background-color: var(--rv-white);
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  font-family: var(--rv-font-sans);
  font-size: 0.8125rem;
  color: var(--rv-foreground);
}
.rv-archive-search input[type="search"]::placeholder { color: var(--rv-muted-foreground); letter-spacing: 0.04em; }
.rv-archive-search input[type="search"]:focus { outline: none; border-color: var(--rv-accent); }

.rv-archive-search__submit {
  position: absolute;
  right: 0.4rem; top: 50%;
  transform: translateY(-50%);
  width: 1.6rem; height: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0;
  color: var(--rv-muted-foreground);
  font-size: 0.95rem; cursor: pointer;
}
.rv-archive-search__submit:hover { color: var(--rv-accent); }

.rv-ordering { margin: 0 0 0 auto; }
.rv-ordering select {
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  font-family: var(--rv-font-sans);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rv-foreground);
  cursor: pointer;
}

/* --- Product grid ------------------------------------------------------ */
.rv-archive__main ul.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
  margin: 0;
}

@media (min-width: 640px) {
  .rv-archive__main ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .rv-archive__main ul.products { grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2.5rem; }
}

/* --- Catalogue card ---------------------------------------------------- */
.rv-card__link { display: flex; flex-direction: column; }

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

.rv-card__art img { width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform 1.2s ease; }
.rv-card__link:hover .rv-card__art img { transform: scale(1.03); }

.rv-card__labels {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  display: flex; flex-direction: column;
  gap: 0.4rem; align-items: flex-start;
}

.rv-card__label {
  padding: 0.25rem 0.55rem;
  background-color: rgba(247, 243, 236, 0.9);
  border: 1px solid var(--rv-accent);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rv-accent-strong);
}

.rv-card__view {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(17,17,17,0.72), rgba(17,17,17,0));
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rv-on-dark);
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.rv-card__link:hover .rv-card__view,
.rv-card__link:focus-visible .rv-card__view { opacity: 1; transform: translateY(0); }

.rv-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    margin-top: 0.95rem;
}

.rv-card__artist {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.220em;
    line-height: 1.2;
    color: var(--rv-muted-foreground);
    margin-bottom: 0.25rem;
}

.rv-card__title {
    font-family: var(--rv-font-serif);
    font-size: 1.42rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--rv-foreground);
    margin: 0;
}

.rv-card__link:hover .rv-card__title {
    color: var(--rv-accent-strong);
}

.rv-card__specs {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: var(--rv-muted-foreground);
}

.rv-card__title + .rv-card__meta {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--rv-muted-foreground);
}

.rv-card__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.40rem;
    margin-top: 0.55rem;
}

.rv-card__condition {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--rv-muted-foreground);
    border: 1px solid var(--rv-border);
    padding: 0.14rem 0.42rem;
    border-radius: 999px;
}

.rv-card__price {
    font-family: var(--rv-font-serif);
    font-size: 1.08rem;
    font-style: italic;
    color: var(--rv-foreground);
    margin: 0.1rem;
}

.rv-card__price del {
    opacity: 0.5;
    margin-right: 0.4rem;
    font-style: normal;
}

.rv-card__price ins {
    text-decoration: none;
}

/* --- Empty state ------------------------------------------------------- */
.rv-empty {
  padding: 4rem 0;
  text-align: center;
}
.rv-empty__lede {
  font-family: var(--rv-font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--rv-muted-foreground);
}

/* --- Pagination -------------------------------------------------------- */
.rv-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rv-border);
}

.rv-pagination__btn {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rv-foreground);
  background: none;
  border: 0;
  cursor: pointer;
}
.rv-pagination__btn:disabled { color: var(--rv-border); cursor: default; }
.rv-pagination__btn:not(:disabled):hover { color: var(--rv-accent); }

.rv-pagination__status {
  font-family: var(--rv-font-serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.1em;
  color: var(--rv-muted-foreground);
  font-variant-numeric: tabular-nums;
}
.rv-pagination__status .is-current { color: var(--rv-foreground); }

/* --- Desktop: sidebar rail, drawer chrome hidden ----------------------- */
@media (min-width: 1024px) {
  .rv-archive__layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 4rem;
    align-items: start;
  }
  .rv-archive__drawer { display: contents; }
  .rv-archive__drawer-toggle { display: none; }
  /* Beat the mobile not(is-open) hide rule (specificity 0,3,0). */
  .rv-archive__drawer:not(.is-open) .rv-archive__sidebar,
  .rv-archive__drawer.is-open .rv-archive__sidebar { display: block; }
  .rv-archive__sidebar { position: sticky; top: 6.5rem; padding: 0; }
}
/* Remove WooCommerce clearfix pseudo-items from archive product grid */
.rv-archive__main ul.products::before,
.rv-archive__main ul.products::after,
.rv-archive__products ul.products::before,
.rv-archive__products ul.products::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   RETROVIBE ARCHIVE — V0 EXACT PORT
   Archive header class bridge
   ========================================================= */

.rv-shop-header {
    padding-top: 9rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--rv-border);
    margin-bottom: 4rem;
}

.rv-shop-header__title {
    font-family: var(--rv-font-serif);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--rv-foreground);
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    line-height: 1.02;
    margin: 1.25rem 0 0;
}

.rv-shop-header__desc {
    max-width: 34rem;
    margin-top: 1.5rem;
    color: var(--rv-muted-foreground);
    font-size: 1rem;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .rv-shop-header {
        padding-top: 11rem;
        padding-bottom: 4.5rem;
        margin-bottom: 5.5rem;
    }
}
/* =========================================================
   RETROVIBE ARCHIVE — isolate containers from legacy Woo CSS
   ========================================================= */

.woocommerce .rv-shop-archive .rv-container,
.woocommerce-page .rv-shop-archive .rv-container {
    padding-top: 0;
    padding-bottom: 0;
}