/*
Theme Name: Boutique Victorienne — Riverbank Child
Theme URI: https://boutiquevictorienne.fr/
Description: Univers éditorial et marchand Gutenberg conçu pour Boutique Victorienne, thème enfant de Riverbank.
Author: Boutique Victorienne
Template: riverbank
Version: 1.0.20
Text Domain: boutique-victorienne
*/

:root {
  --bv-ink: #171318;
  --bv-aubergine: #432536;
  --bv-garnet: #702c3d;
  --bv-brass: #b7975f;
  --bv-brass-ink: #795b2b;
  --bv-ivory: #f1e6d6;
  --bv-paper: #fbf7ef;
  --bv-rose: #dcc0b8;
  --bv-green: #36463e;
  --bv-muted: #6b6065;
  --bv-line: rgba(84, 52, 61, 0.2);
  --bv-heading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Baskerville, Georgia, serif;
  --bv-sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --bv-wide: 1380px;
  --bv-gutter: max(24px, 4vw);
  --bv-shadow: 0 28px 80px rgba(24, 12, 18, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.bv-site {
  margin: 0;
  overflow-x: hidden;
  background: var(--bv-paper);
  color: var(--bv-ink);
  font-family: var(--bv-sans);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.bv-menu-is-open {
  overflow: hidden;
}

.wp-site-blocks {
  padding: 0;
  overflow: visible;
}

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

a {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a,
button,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--bv-brass);
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--bv-rose);
  color: var(--bv-ink);
}

.bv-kicker,
.bv-kicker a {
  color: var(--bv-brass);
  font-family: var(--bv-sans);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-decoration: none;
  text-transform: uppercase;
}

.bv-frame {
  position: relative;
}

.bv-frame::after {
  position: absolute;
  z-index: 3;
  inset: 18px;
  border: 1px solid rgba(183, 151, 95, 0.62);
  content: "";
  pointer-events: none;
}

.wp-element-button,
.wp-block-button__link,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.wc-block-components-button {
  min-height: 48px;
  border: 1px solid var(--bv-garnet) !important;
  border-radius: 0 !important;
  background: var(--bv-garnet) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: var(--bv-sans) !important;
  font-size: 0.7rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.13em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.button:hover,
button.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wc-block-components-button:hover {
  border-color: var(--bv-ink) !important;
  background: var(--bv-ink) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.is-style-outline > .wp-block-button__link {
  border-color: currentColor !important;
  background: transparent !important;
  color: inherit !important;
}

.is-style-outline > .wp-block-button__link:hover {
  border-color: var(--bv-brass) !important;
  background: var(--bv-brass) !important;
  color: var(--bv-ink) !important;
}

/* Header */
.bv-skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--bv-ivory);
  color: var(--bv-ink);
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateY(-180%);
}

.bv-skip-link:focus {
  transform: translateY(0);
}

.bv-announcement {
  position: relative;
  z-index: 1004;
  display: grid;
  min-height: 34px;
  place-items: center;
  padding: 7px var(--bv-gutter);
  background: var(--bv-ink);
  color: var(--bv-ivory);
}

.bv-announcement p {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.bv-announcement p span {
  margin-inline: 0.7rem;
  color: var(--bv-brass);
}

.bv-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(84, 52, 61, 0.12);
  background: rgba(251, 247, 239, 0.96);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 180ms ease, background 180ms ease;
  backdrop-filter: blur(16px);
}

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

.bv-site-header.is-scrolled {
  background: rgba(251, 247, 239, 0.985);
  box-shadow: 0 12px 40px rgba(31, 18, 24, 0.09);
}

.bv-header-shell {
  display: grid;
  width: min(var(--bv-wide), calc(100% - (2 * var(--bv-gutter))));
  min-height: 94px;
  margin-inline: auto;
  grid-template-columns: minmax(225px, 0.85fr) minmax(520px, 2fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 54px);
}

.bv-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
  color: var(--bv-ink);
  text-decoration: none;
}

.bv-monogram {
  position: relative;
  display: inline-grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border: 1px solid var(--bv-brass);
  place-items: center;
  transform: rotate(45deg);
}

.bv-monogram::before {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(183, 151, 95, 0.48);
  content: "";
}

.bv-monogram::after {
  position: absolute;
  width: 25px;
  height: 1px;
  background: var(--bv-brass);
  content: "";
  transform: rotate(-45deg);
}

.bv-monogram i {
  position: absolute;
  font-family: var(--bv-heading);
  font-size: 1.25rem;
  font-style: normal;
  line-height: 1;
  transform: rotate(-45deg);
}

.bv-monogram i:first-child {
  margin: -9px 0 0 -11px;
}

.bv-monogram i:last-child {
  margin: 10px -10px 0 0;
}

.bv-brand-words {
  display: grid;
  line-height: 1;
}

.bv-brand-words strong {
  font-family: var(--bv-heading);
  font-size: clamp(1.15rem, 1.5vw, 1.52rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.bv-brand-words small {
  margin-top: 6px;
  color: var(--bv-garnet);
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.bv-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.8vw, 31px);
}

.bv-desktop-nav a,
.bv-cart-link {
  position: relative;
  padding-block: 12px;
  color: var(--bv-ink);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.bv-desktop-nav a::after,
.bv-cart-link::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--bv-brass);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.bv-desktop-nav a:hover::after,
.bv-cart-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.bv-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.bv-cart-link span {
  color: var(--bv-brass);
}

.bv-menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--bv-ink);
  cursor: pointer;
  font: 650 0.65rem/1 var(--bv-sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bv-menu-lines {
  display: grid;
  width: 21px;
  gap: 5px;
}

.bv-menu-lines i {
  display: block;
  height: 1px;
  background: currentColor;
}

.bv-menu-lines i:last-child {
  width: 14px;
  justify-self: end;
}

.bv-mobile-drawer {
  position: fixed;
  z-index: 1010;
  top: 0;
  right: 0;
  display: flex;
  width: min(470px, 94vw);
  height: 100dvh;
  overflow-y: auto;
  flex-direction: column;
  padding: 28px clamp(26px, 6vw, 48px) 38px;
  background: var(--bv-ink);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.28);
  color: var(--bv-ivory);
}

.bv-mobile-drawer::before,
.bv-mobile-drawer::after {
  position: absolute;
  border: 1px solid rgba(183, 151, 95, 0.32);
  content: "";
  pointer-events: none;
}

.bv-mobile-drawer::before {
  inset: 12px;
}

.bv-mobile-drawer::after {
  inset: 17px;
  border-color: rgba(183, 151, 95, 0.12);
}

.bv-mobile-drawer > * {
  position: relative;
  z-index: 2;
}

.bv-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(241, 230, 214, 0.18);
}

.bv-mobile-eyebrow {
  color: var(--bv-brass);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bv-menu-close {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(241, 230, 214, 0.32);
  background: transparent;
  color: var(--bv-ivory);
  cursor: pointer;
  font: 300 2rem/1 var(--bv-heading);
  place-items: center;
}

.bv-mobile-nav {
  display: grid;
  margin-block: 18px auto;
}

.bv-mobile-nav a {
  display: grid;
  padding: 13px 0;
  border-bottom: 1px solid rgba(241, 230, 214, 0.12);
  color: var(--bv-ivory);
  font-family: var(--bv-heading);
  font-size: clamp(1.55rem, 7vw, 2.25rem);
  line-height: 1;
  text-decoration: none;
  grid-template-columns: 35px 1fr;
  transition: color 160ms ease, padding-left 160ms ease;
}

.bv-mobile-nav a span {
  padding-top: 7px;
  color: var(--bv-brass);
  font-family: var(--bv-sans);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
}

.bv-mobile-nav a:hover {
  padding-left: 6px;
  color: var(--bv-brass);
}

.bv-mobile-drawer-foot {
  display: grid;
  padding-top: 24px;
  border-top: 1px solid rgba(241, 230, 214, 0.18);
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bv-mobile-drawer-foot a {
  color: var(--bv-ivory);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bv-mobile-drawer-foot p {
  margin: 10px 0 0;
  color: rgba(241, 230, 214, 0.68);
  font-family: var(--bv-heading);
  font-size: 1rem;
  grid-column: 1 / -1;
}

.bv-menu-backdrop {
  position: fixed;
  z-index: 1005;
  inset: 0;
  border: 0;
  background: rgba(12, 8, 11, 0.66);
  backdrop-filter: blur(3px);
}

/* Home */
.bv-hero {
  min-height: min(780px, calc(100vh - 128px));
  color: var(--bv-ivory);
}

.bv-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(12, 9, 12, 0.92) 0%, rgba(12, 9, 12, 0.6) 48%, rgba(12, 9, 12, 0.08) 78%) !important;
  opacity: 1 !important;
}

.bv-hero .wp-block-cover__image-background {
  object-position: 58% center;
}

.bv-hero-inner {
  position: relative;
  width: min(var(--bv-wide), calc(100% - (2 * var(--bv-gutter))));
  padding-block: clamp(110px, 16vh, 190px) 100px;
}

.bv-hero h1 {
  max-width: 900px;
  margin: 22px 0 28px;
  color: var(--bv-ivory);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-wrap: balance;
}

.bv-hero-lead {
  max-width: 650px;
  margin: 0 0 35px;
  color: rgba(241, 230, 214, 0.86);
  font-family: var(--bv-heading);
  line-height: 1.52;
}

.bv-hero-actions {
  gap: 14px;
}

.bv-hero .is-style-outline > .wp-block-button__link {
  color: var(--bv-ivory) !important;
}

.bv-hero-note {
  position: absolute;
  right: 0;
  bottom: -48px;
  min-width: 260px;
  padding: 18px 25px 22px;
  border: 1px solid rgba(183, 151, 95, 0.6);
  background: rgba(23, 19, 24, 0.72);
  backdrop-filter: blur(10px);
}

.bv-hero-note p {
  margin: 0 0 4px;
  color: var(--bv-brass);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bv-hero-note h2 {
  margin: 0;
  color: var(--bv-ivory);
  font-size: 1.55rem;
  font-weight: 400;
}

.bv-section {
  padding-block: clamp(80px, 9vw, 140px);
}

.bv-section-heading {
  margin-bottom: clamp(38px, 5vw, 68px);
  gap: 30px;
}

.bv-section-heading h2 {
  max-width: 930px;
  margin: 12px 0 0;
  letter-spacing: -0.035em;
}

.bv-section-note {
  width: min(360px, 100%);
  margin: 0 0 7px;
  padding-left: 22px;
  border-left: 1px solid var(--bv-brass);
  color: var(--bv-muted);
  font-family: var(--bv-heading);
  font-size: 1.05rem;
  line-height: 1.55;
}

.bv-collections {
  padding-top: clamp(105px, 11vw, 165px);
}

.bv-collection-row {
  margin-bottom: 1.2rem;
  gap: 1.2rem;
}

.bv-collection-row-second {
  margin-top: 1.2rem;
}

.bv-collection-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  isolation: isolate;
}

.bv-collection-card::after {
  position: absolute;
  z-index: 2;
  inset: 13px;
  border: 1px solid rgba(241, 230, 214, 0.45);
  content: "";
  pointer-events: none;
}

.bv-collection-card .wp-block-cover__image-background {
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), filter 650ms ease;
}

.bv-collection-card:hover .wp-block-cover__image-background {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.bv-collection-card .wp-block-cover__background {
  background: linear-gradient(0deg, rgba(18, 12, 16, 0.86), rgba(18, 12, 16, 0.02) 68%) !important;
  opacity: 1 !important;
}

.bv-collection-card .wp-block-cover__inner-container {
  align-self: end;
  padding: clamp(28px, 4vw, 55px);
}

.bv-collection-card .bv-card-number {
  position: absolute;
  top: 28px;
  right: 30px;
  margin: 0;
  color: rgba(241, 230, 214, 0.78);
  font-family: var(--bv-heading);
  font-size: 1.05rem;
}

.bv-collection-card h3 {
  margin: 7px 0 12px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
}

@media (min-width: 783px) {
  .bv-collection-row-second > .wp-block-column:first-child .bv-collection-card h3 {
    font-size: clamp(2.65rem, 4.1vw, 4.2rem);
    white-space: nowrap;
  }
}

.bv-collection-card p:not(.bv-kicker, .bv-card-number) {
  max-width: 450px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--bv-heading);
  font-size: 1.12rem;
  line-height: 1.5;
}

.bv-collection-card .wp-block-buttons {
  margin-top: 22px;
}

.bv-collection-card .wp-block-button__link {
  color: #fff !important;
}

.bv-manifesto {
  position: relative;
  padding-block: clamp(90px, 10vw, 150px);
}

.bv-manifesto::before {
  position: absolute;
  top: 0;
  right: 7vw;
  width: 1px;
  height: 100%;
  background: rgba(183, 151, 95, 0.22);
  content: "";
}

.bv-manifesto .wp-block-columns {
  gap: clamp(55px, 8vw, 130px);
}

.bv-manifesto h2 {
  margin: 16px 0 30px;
  letter-spacing: -0.035em;
}

.bv-manifesto p:not(.bv-kicker, .bv-image-caption) {
  max-width: 620px;
  color: rgba(241, 230, 214, 0.82);
}

.bv-image-stage {
  position: relative;
  padding: 20px 20px 0 0;
}

.bv-image-stage::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 46%;
  height: 82%;
  border: 1px solid rgba(183, 151, 95, 0.58);
  content: "";
}

.bv-image-stage figure {
  position: relative;
  z-index: 1;
  margin: 0;
}

.bv-image-stage img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bv-image-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 45px;
  margin: 0;
  padding: 13px 17px;
  background: var(--bv-paper);
  color: var(--bv-garnet);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bv-products-section {
  min-height: 500px;
}

.bv-products-empty {
  display: none;
}

.bv-products-section:not(:has(.wp-block-woocommerce-product-collection)) {
  min-height: 0;
}

.bv-products-section:not(:has(.wp-block-woocommerce-product-collection)) > .bv-section-heading,
.bv-products-section:not(:has(.wp-block-woocommerce-product-collection)) > .bv-centered-action {
  display: none !important;
}

.bv-products-section:not(:has(.wp-block-woocommerce-product-collection)) > .bv-products-empty {
  position: relative;
  display: grid;
  min-height: 470px;
  overflow: hidden;
  padding: clamp(55px, 7vw, 105px);
  border: 1px solid rgba(183, 151, 95, 0.58);
  background:
    radial-gradient(circle at 91% 16%, rgba(183, 151, 95, 0.15), transparent 28%),
    linear-gradient(132deg, #2b1725 0%, #3a1d2f 56%, #1b1319 100%);
  color: var(--bv-ivory);
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: clamp(45px, 8vw, 125px);
  align-items: end;
}

.bv-products-section:not(:has(.wp-block-woocommerce-product-collection)) > .bv-products-empty::before {
  position: absolute;
  top: -0.28em;
  right: clamp(20px, 6vw, 90px);
  color: rgba(241, 230, 214, 0.045);
  content: "BV";
  font-family: var(--bv-heading);
  font-size: clamp(14rem, 28vw, 31rem);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.bv-products-section:not(:has(.wp-block-woocommerce-product-collection)) > .bv-products-empty::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(241, 230, 214, 0.14);
  content: "";
  pointer-events: none;
}

.bv-products-empty > * {
  position: relative;
  z-index: 1;
}

.bv-products-empty-copy,
.bv-products-empty-aside {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
}

.bv-products-empty .bv-kicker {
  color: var(--bv-gold);
}

.bv-products-empty h2 {
  max-width: 780px;
  margin: 14px 0 25px;
  color: var(--bv-ivory);
  font-size: clamp(3.35rem, 6vw, 6.8rem) !important;
  line-height: 0.92;
}

.bv-products-empty-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(241, 230, 214, 0.78);
  font-family: var(--bv-heading);
  line-height: 1.55;
}

.bv-products-empty-aside {
  padding-top: 30px;
  border-top: 1px solid rgba(183, 151, 95, 0.58);
}

.bv-products-empty-aside > p {
  margin-top: 0;
  color: rgba(241, 230, 214, 0.76);
}

.bv-products-empty .wp-block-buttons {
  margin-top: 27px;
}

.bv-products-empty .is-style-outline .wp-block-button__link {
  border-color: rgba(241, 230, 214, 0.55) !important;
  color: var(--bv-ivory) !important;
}

.bv-product-grid {
  --wc-block-grid-gap: clamp(16px, 2vw, 29px);
}

.bv-product-grid .wc-block-product,
.bv-product-grid .product {
  position: relative;
  margin-bottom: 46px;
  text-align: left;
}

.bv-product-grid .wc-block-components-product-image,
.bv-product-grid .wc-block-grid__product-image,
.woocommerce ul.products li.product a img {
  overflow: hidden;
  margin: 0 0 22px !important;
  background: #efe6dc;
}

.bv-product-grid .wc-block-components-product-image img,
.bv-product-grid .wc-block-grid__product-image img,
.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 450ms ease;
}

.bv-product-grid .wc-block-product:hover img,
.woocommerce ul.products li.product:hover img {
  transform: scale(1.025);
}

.bv-product-grid .wp-block-post-title,
.bv-product-grid .wc-block-components-product-name,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 8px;
  color: var(--bv-ink);
  font-family: var(--bv-heading);
  font-size: clamp(1.35rem, 1.8vw, 1.7rem) !important;
  font-weight: 500;
  line-height: 1.08;
}

.bv-product-grid .wp-block-post-title a,
.bv-product-grid .wc-block-components-product-name,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: inherit;
  text-decoration: none;
}

.bv-product-grid .wc-block-components-product-price,
.bv-product-grid .price,
.woocommerce ul.products li.product .price {
  color: var(--bv-garnet) !important;
  font-size: 0.86rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bv-product-grid .wp-block-button,
.woocommerce ul.products li.product .button {
  width: 100%;
  margin-top: 13px !important;
}

.bv-product-grid .wp-block-button__link,
.woocommerce ul.products li.product .button {
  width: 100%;
  text-align: center;
}

.bv-centered-action {
  margin-top: 25px;
  justify-content: center;
}

.bv-centered-action .wp-block-button__link {
  color: var(--bv-garnet) !important;
}

.bv-universe {
  position: relative;
  padding-block: clamp(90px, 10vw, 150px);
}

.bv-universe::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(112, 44, 61, 0.32), transparent 38%);
  content: "";
  pointer-events: none;
}

.bv-universe > * {
  position: relative;
}

.bv-universe h2 {
  margin: 12px 0 25px;
}

.bv-universe-lead {
  width: min(700px, 90%);
  margin: 0 auto clamp(45px, 7vw, 88px);
  color: rgba(241, 230, 214, 0.75);
  font-family: var(--bv-heading);
  line-height: 1.55;
}

.bv-universe-grid {
  gap: clamp(18px, 2vw, 34px);
}

.bv-universe-grid .wp-block-column:nth-child(2) {
  margin-top: 70px;
}

.bv-universe-grid figure {
  overflow: hidden;
  margin-bottom: 25px;
}

.bv-universe-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 500ms ease;
}

.bv-universe-grid .wp-block-column:hover img {
  transform: scale(1.025);
}

.bv-universe-grid h3 {
  margin: 9px 0 0;
  color: var(--bv-ivory);
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
}

.bv-journal-query .wp-block-post-template {
  gap: clamp(24px, 3vw, 44px);
}

.bv-journal-card {
  height: 100%;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--bv-line);
}

.bv-journal-card .wp-block-post-featured-image {
  overflow: hidden;
  margin: 0 0 25px;
  background: #e9dfd5;
}

.bv-journal-card .wp-block-post-featured-image img {
  transition: transform 500ms ease, filter 500ms ease;
}

.bv-journal-card:hover .wp-block-post-featured-image img {
  filter: contrast(1.03);
  transform: scale(1.025);
}

.bv-journal-card .wp-block-post-terms {
  margin: 0 0 10px;
}

.bv-journal-card .wp-block-post-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 2.6vw, 2.7rem);
  line-height: 1;
}

.bv-journal-card .wp-block-post-title a {
  color: var(--bv-ink);
  text-decoration: none;
}

.bv-journal-card .wp-block-post-excerpt {
  color: var(--bv-muted);
}

.bv-journal-card .wp-block-post-excerpt__more-link {
  display: block;
  margin-top: 18px;
  color: var(--bv-garnet);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bv-service-ribbon {
  padding-block: 52px;
  border-top: 1px solid var(--bv-line);
  background: #f2e9dd;
}

.bv-service-ribbon .wp-block-columns {
  gap: 0;
}

.bv-service-ribbon .wp-block-column {
  position: relative;
  padding: 18px clamp(28px, 4vw, 62px);
  border-right: 1px solid var(--bv-line);
}

.bv-service-ribbon .wp-block-column:first-child {
  padding-left: 0;
}

.bv-service-ribbon .wp-block-column:last-child {
  padding-right: 0;
  border: 0;
}

.bv-service-ribbon h3 {
  margin: 4px 0 8px;
  font-size: 1.55rem;
}

.bv-service-ribbon p {
  margin: 0 0 8px;
  color: var(--bv-muted);
  font-size: 0.86rem;
}

.bv-service-ribbon .bv-service-icon {
  color: var(--bv-garnet);
  font-family: var(--bv-heading);
  font-size: 1.25rem;
}

.bv-service-ribbon a {
  color: var(--bv-garnet);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Journal index and article */
.bv-journal-hero,
.bv-page-hero,
.bv-category-heading,
.bv-not-found {
  position: relative;
  padding-block: clamp(110px, 14vw, 190px);
}

.bv-journal-hero::before,
.bv-page-hero::before,
.bv-category-heading::before,
.bv-not-found::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(183, 151, 95, 0.14), transparent 26%),
    radial-gradient(circle at 85% 75%, rgba(112, 44, 61, 0.36), transparent 28%);
  content: "";
  pointer-events: none;
}

.bv-journal-hero > *,
.bv-page-hero > *,
.bv-category-heading > *,
.bv-not-found > * {
  position: relative;
}

.bv-journal-hero h1,
.bv-page-hero .wp-block-post-title,
.bv-category-heading .wp-block-query-title,
.bv-not-found h1 {
  margin: 18px 0 28px;
  letter-spacing: -0.04em;
}

.bv-journal-hero > p:last-child,
.bv-not-found > p:last-of-type {
  width: min(760px, 92%);
  margin-inline: auto;
  color: rgba(241, 230, 214, 0.75);
  font-family: var(--bv-heading);
  line-height: 1.55;
}

.bv-journal-list {
  padding-block: clamp(80px, 10vw, 145px);
}

.bv-journal-query-index .wp-block-post-template {
  gap: clamp(55px, 7vw, 100px) clamp(28px, 5vw, 72px);
}

.bv-journal-card-large {
  padding-bottom: 35px;
}

.bv-journal-card-large:nth-child(even) {
  margin-top: 80px;
}

.bv-journal-card-large .wp-block-post-title {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.bv-journal-card-large .wp-block-post-date {
  color: var(--bv-muted);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bv-wp-article {
  padding-top: clamp(70px, 8vw, 120px);
}

.bv-wp-article-head .wp-block-post-title {
  max-width: 1080px;
  margin: 22px auto 28px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-wrap: balance;
}

.bv-article-deck {
  width: min(790px, 92%);
  margin: 0 auto 25px;
  color: #655860;
  font-family: var(--bv-heading);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.55;
}

.bv-wp-article-content .bv-article-introduction {
  margin: 0 0 clamp(45px, 6vw, 75px);
  padding-bottom: clamp(34px, 5vw, 55px);
  border-bottom: 1px solid var(--bv-brass);
  color: #5b4b53;
  font-family: var(--bv-heading);
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  line-height: 1.62;
}

.bv-article-deck .wp-block-post-excerpt__more-link {
  display: none;
}

.bv-wp-article-meta {
  color: var(--bv-muted);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bv-wp-article-meta p {
  margin: 0;
}

.bv-wp-article-cover {
  margin-top: clamp(45px, 6vw, 75px) !important;
  box-shadow: var(--bv-shadow);
}

.bv-wp-article-cover img {
  aspect-ratio: 16 / 8.3;
  object-fit: cover;
}

.bv-wp-article-content {
  padding-block: clamp(75px, 9vw, 125px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.84;
}

.bv-wp-article-content p {
  color: #2f2930;
}

.bv-wp-article-content a {
  color: var(--bv-garnet);
  text-decoration-color: rgba(112, 44, 61, 0.38);
}

.bv-wp-article-content a:hover {
  text-decoration-color: currentColor;
}

.bv-wp-article-content .bv-chapter-number {
  display: flex;
  margin: clamp(65px, 9vw, 115px) 0 10px;
  align-items: center;
  gap: 16px;
  color: var(--bv-brass);
  font-family: var(--bv-heading);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.bv-wp-article-content .bv-chapter-number:first-child {
  margin-top: 0;
}

.bv-wp-article-content .bv-article-introduction + .bv-chapter-number {
  margin-top: 0;
}

/* The editorial design already provides its own chapter rhythm; the legacy TOC
   plugin would otherwise interrupt the introduction before the first heading. */
body.single-post #ez-toc-container {
  display: none !important;
}

.bv-wp-article-content .bv-chapter-number::after {
  width: 72px;
  height: 1px;
  background: var(--bv-brass);
  content: "";
}

.bv-wp-article-content h2 {
  margin: 0 0 22px;
  color: var(--bv-ink);
  font-size: clamp(2.7rem, 5.2vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.bv-wp-article-content .bv-section-intro {
  margin-bottom: 42px;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--bv-brass);
  color: #5b4b53;
  font-family: var(--bv-heading);
  font-size: clamp(1.22rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.bv-wp-article-content h3 {
  margin: clamp(45px, 6vw, 75px) 0 17px;
  color: var(--bv-garnet);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.08;
}

.bv-wp-article-content .wp-block-image.alignwide {
  width: min(1140px, 92vw);
  max-width: none;
  margin-block: clamp(45px, 7vw, 80px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.bv-wp-article-content .wp-block-image.alignwide img {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  box-shadow: var(--bv-shadow);
}

.bv-wp-article-content figcaption {
  margin-top: 12px;
  color: var(--bv-muted);
  font-family: var(--bv-sans);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.bv-wp-article-content .bv-article-facts,
.bv-wp-article-content ul:not(.wp-block-navigation__container) {
  margin-block: 36px;
  padding: 24px 28px 24px 55px;
  border: 1px solid rgba(112, 44, 61, 0.18);
  border-left: 3px solid var(--bv-garnet);
  background: rgba(220, 192, 184, 0.43);
}

.bv-wp-article-content li + li {
  margin-top: 8px;
}

.bv-wp-article-footer {
  width: min(790px, 88vw);
  margin: 0 auto clamp(90px, 11vw, 150px);
  padding-top: 22px;
  border-top: 1px solid var(--bv-line);
  font-family: var(--bv-heading);
}

.bv-wp-article-footer p {
  margin: 0;
}

.bv-related-journal {
  padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 10vw, 145px);
  border-top: 1px solid var(--bv-line);
}

.bv-related-journal > h2 {
  margin: 12px 0 55px;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

/* Generic pages */
.bv-page-hero {
  min-height: 440px;
  display: grid;
  place-items: center;
}

.bv-page-content {
  padding-block: clamp(75px, 9vw, 125px);
}

.bv-page-content > .wp-block-post-content > .bv-page-lead,
.bv-page-content .bv-page-lead {
  margin: 0 auto clamp(55px, 7vw, 90px);
  color: #5b4b53;
  font-family: var(--bv-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.62rem);
  line-height: 1.58;
}

.bv-page-content h2 {
  margin-top: clamp(60px, 8vw, 100px);
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 4.8vw, 4.5rem);
  letter-spacing: -0.03em;
}

.bv-page-content h3 {
  margin-top: 40px;
  color: var(--bv-garnet);
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
}

.bv-page-content p,
.bv-page-content li {
  line-height: 1.75;
}

.bv-story-split {
  margin-block: clamp(65px, 8vw, 105px);
  gap: clamp(40px, 7vw, 100px);
}

.bv-story-split figure {
  position: relative;
  margin: 0;
}

.bv-story-split figure::after {
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--bv-brass);
  content: "";
}

.bv-story-split img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.bv-story-split h2 {
  margin-top: 12px;
}

.bv-values-grid {
  margin-block: clamp(70px, 9vw, 120px);
  gap: 20px;
}

.bv-values-grid > .wp-block-group,
.bv-measure-steps .wp-block-column {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--bv-line);
  background: rgba(241, 230, 214, 0.34);
}

.bv-values-grid h3,
.bv-measure-steps h3 {
  margin: 8px 0 14px;
}

.bv-value-number {
  margin: 0;
  color: var(--bv-brass);
  font-family: var(--bv-heading);
  font-size: 1.25rem;
}

.bv-editorial-callout,
.bv-note-card {
  position: relative;
  margin-block: clamp(60px, 8vw, 105px);
  padding: clamp(38px, 6vw, 75px);
  border: 1px solid var(--bv-line);
  background: var(--bv-ivory);
}

.bv-editorial-callout::before,
.bv-note-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--bv-garnet);
  content: "";
}

.bv-editorial-callout h2,
.bv-note-card h3 {
  margin-top: 12px;
}

.bv-measure-steps,
.bv-service-columns {
  margin-block: clamp(55px, 7vw, 90px);
  gap: 20px;
}

.bv-size-table {
  margin-block: 35px 70px;
  overflow-x: auto;
}

.bv-size-table table,
.bv-page-content table {
  width: 100%;
  border-collapse: collapse;
}

.bv-size-table th,
.bv-size-table td,
.bv-page-content th,
.bv-page-content td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--bv-line);
  text-align: left;
}

.bv-size-table th,
.bv-page-content th {
  color: var(--bv-garnet);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bv-size-table figcaption {
  margin-top: 12px;
  color: var(--bv-muted);
  font-size: 0.75rem;
}

.bv-service-columns .wp-block-column {
  padding: clamp(28px, 4vw, 50px);
  border-top: 1px solid var(--bv-brass);
  background: rgba(241, 230, 214, 0.28);
}

.bv-check-list {
  padding: 28px 30px 28px 58px;
  border-left: 3px solid var(--bv-garnet);
  background: rgba(220, 192, 184, 0.35);
}

.bv-check-list li + li {
  margin-top: 10px;
}

.bv-page-content details.wp-block-details {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--bv-line);
}

.bv-page-content details.wp-block-details:last-of-type {
  border-bottom: 1px solid var(--bv-line);
}

.bv-page-content details summary {
  position: relative;
  padding: 25px 52px 25px 0;
  cursor: pointer;
  color: var(--bv-ink);
  font-family: var(--bv-heading);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  list-style: none;
}

.bv-page-content details summary::-webkit-details-marker {
  display: none;
}

.bv-page-content details summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--bv-brass);
  content: "+";
  font-size: 1.8rem;
  transform: translateY(-50%);
}

.bv-page-content details[open] summary::after {
  content: "−";
}

.bv-page-content details > p {
  margin: 0;
  padding: 0 65px 28px 0;
  color: var(--bv-muted);
}

.bv-contact-layout {
  margin-block: clamp(55px, 7vw, 90px);
  gap: 0;
}

.bv-contact-card {
  height: 100%;
  padding: clamp(38px, 6vw, 75px);
  background: var(--bv-aubergine);
  color: var(--bv-ivory);
}

.bv-contact-card h2 {
  margin-top: 14px;
  color: var(--bv-ivory);
  font-size: clamp(2rem, 4vw, 4rem);
  overflow-wrap: anywhere;
}

.bv-contact-card p:not(.bv-kicker) {
  color: rgba(241, 230, 214, 0.78);
}

.bv-contact-layout figure,
.bv-contact-layout img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  margin: 0;
  object-fit: cover;
}

.bv-about-hero .wp-block-cover__background {
  background: linear-gradient(0deg, rgba(23, 19, 24, 0.72), rgba(23, 19, 24, 0.34)) !important;
  opacity: 1 !important;
}

.bv-about-hero .wp-block-group {
  color: var(--bv-ivory);
}

.bv-about-hero .wp-block-post-title {
  margin: 18px 0 20px;
  font-weight: 400;
}

.bv-about-content {
  padding-bottom: clamp(90px, 10vw, 145px);
}

/* Legal */
.bv-legal-hero .wp-block-cover__image-background {
  object-position: center 58%;
}

.bv-legal-hero .wp-block-cover__inner-container {
  color: var(--bv-ivory);
}

.bv-legal-hero .wp-block-post-title {
  max-width: 1050px;
  margin: 16px 0 22px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.bv-legal-hero p:last-child {
  max-width: 680px;
  color: rgba(241, 230, 214, 0.78);
  font-family: var(--bv-heading);
}

.bv-legal-layout {
  width: min(var(--bv-wide), calc(100% - (2 * var(--bv-gutter))));
  margin: 0 auto;
  padding-block: clamp(70px, 9vw, 125px);
  gap: clamp(45px, 7vw, 105px);
}

.bv-legal-nav {
  position: sticky;
  top: 135px;
  display: grid;
  padding: 28px;
  border: 1px solid var(--bv-line);
  background: rgba(241, 230, 214, 0.42);
}

.admin-bar .bv-legal-nav {
  top: 167px;
}

.bv-legal-nav span {
  margin-bottom: 18px;
  color: var(--bv-brass);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bv-legal-nav a {
  padding: 12px 0;
  border-top: 1px solid var(--bv-line);
  color: var(--bv-ink);
  font-family: var(--bv-heading);
  font-size: 1.08rem;
  line-height: 1.25;
  text-decoration: none;
}

.bv-legal-nav a:hover {
  color: var(--bv-garnet);
}

.bv-legal-content {
  min-width: 0;
}

.bv-legal-content .wp-block-post-content > p:first-child {
  color: #5b4b53;
  font-family: var(--bv-heading);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.58;
}

.bv-legal-content h2 {
  margin: clamp(50px, 7vw, 80px) 0 18px;
  color: var(--bv-ink);
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  line-height: 1;
}

.bv-legal-content h3 {
  margin-top: 38px;
  color: var(--bv-garnet);
  font-size: 1.7rem;
}

.bv-legal-content p,
.bv-legal-content li {
  line-height: 1.78;
}

.bv-legal-content table {
  width: 100%;
  border-collapse: collapse;
}

.bv-legal-content td,
.bv-legal-content th {
  padding: 13px;
  border: 1px solid var(--bv-line);
  text-align: left;
  vertical-align: top;
}

/* Shop and WooCommerce */
.bv-shop-hero .wp-block-cover__inner-container,
.bv-shop-hero .wp-block-query-title,
.bv-category-heading {
  color: var(--bv-ivory);
}

.bv-shop-hero .wp-block-query-title,
.bv-category-heading .wp-block-query-title {
  max-width: 950px;
  margin: 16px 0 20px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.bv-shop-hero .term-description,
.bv-shop-hero .wp-block-term-description,
.bv-category-heading .wp-block-term-description {
  max-width: 700px;
  color: rgba(241, 230, 214, 0.8);
  font-family: var(--bv-heading);
  font-size: 1.25rem;
  line-height: 1.55;
}

.bv-category-heading {
  padding-block: clamp(90px, 12vw, 160px);
}

.bv-category-heading .woocommerce-breadcrumb,
.bv-category-heading .woocommerce-breadcrumb a {
  color: rgba(241, 230, 214, 0.64);
}

.bv-shop-content {
  min-height: 500px;
  padding-block: clamp(65px, 8vw, 115px);
}

.woocommerce-breadcrumb,
.wc-block-components-breadcrumbs {
  margin-bottom: 38px !important;
  color: var(--bv-muted) !important;
  font-size: 0.64rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce-breadcrumb a,
.wc-block-components-breadcrumbs a {
  color: var(--bv-garnet) !important;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.wc-block-components-notice-banner {
  border: 1px solid var(--bv-line) !important;
  border-top: 3px solid var(--bv-brass) !important;
  border-radius: 0 !important;
  background: var(--bv-ivory) !important;
  color: var(--bv-ink) !important;
}

.bv-shop-advice {
  padding-block: clamp(85px, 10vw, 145px);
}

.bv-shop-advice h2 {
  margin: 15px 0 28px;
}

.bv-shop-advice > p:last-child {
  color: rgba(241, 230, 214, 0.78);
  font-family: var(--bv-heading);
  line-height: 1.55;
}

body.single-product main,
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main {
  padding-block: clamp(55px, 7vw, 100px);
}

.single-product .woocommerce div.product,
.single-product div.product {
  display: grid;
  width: min(var(--bv-wide), calc(100% - (2 * var(--bv-gutter))));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  gap: clamp(45px, 7vw, 105px);
}

/* WooCommerce block themes place the whole product template in a `.product`
   group. It is a page shell, not the classic two-column product element. */
.single-product .wp-site-blocks > .wp-block-group.woocommerce.product {
  display: block;
  width: 100%;
  margin: 0;
}

.single-product .wp-site-blocks > .wp-block-group.woocommerce.product > main {
  width: 100%;
}

.single-product main > .wp-block-columns {
  margin-top: clamp(45px, 6vw, 80px);
  align-items: flex-start;
  gap: clamp(45px, 7vw, 105px);
}

.single-product main > .wp-block-columns > .wp-block-column:last-child {
  padding-top: clamp(10px, 2vw, 28px);
}

.single-product .wp-block-woocommerce-product-image-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #eee4da;
  box-shadow: var(--bv-shadow);
  object-fit: cover;
}

.single-product .wp-block-post-excerpt {
  margin-bottom: 30px;
  color: #5b4b53;
  font-family: var(--bv-heading);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.62;
}

.single-product .wp-block-add-to-cart-form form.cart {
  display: flex;
  margin-block: 30px !important;
  gap: 12px;
}

.single-product .wp-block-add-to-cart-form .quantity .qty {
  min-height: 50px;
  border: 1px solid var(--bv-line);
  border-radius: 0;
  background: transparent;
}

.single-product .wp-block-woocommerce-product-meta {
  padding-block: 22px;
  border-block: 1px solid var(--bv-line);
  color: var(--bv-muted);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-transform: uppercase;
}

.single-product main > .wp-block-woocommerce-product-details {
  margin-top: clamp(75px, 9vw, 130px);
}

.single-product .woocommerce div.product div.images,
.single-product .woocommerce div.product div.summary,
.single-product div.product div.images,
.single-product div.product div.summary {
  float: none;
  width: auto;
  margin: 0;
}

.single-product div.product div.images img {
  background: #eee4da;
}

.single-product div.product div.images .woocommerce-product-gallery__image:first-child img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.single-product div.product .summary {
  align-self: start;
  padding-top: 25px;
}

.single-product div.product .product_title,
.single-product .wp-block-post-title {
  margin: 10px 0 18px;
  font-family: var(--bv-heading);
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.single-product div.product .price,
.single-product .wc-block-components-product-price {
  margin: 0 0 28px !important;
  color: var(--bv-garnet) !important;
  font-size: 1.15rem !important;
  font-weight: 700;
}

.single-product div.product .woocommerce-product-details__short-description {
  margin-bottom: 32px;
  color: #5b4b53;
  font-family: var(--bv-heading);
  font-size: 1.25rem;
  line-height: 1.6;
}

.single-product div.product form.cart {
  display: flex;
  margin-block: 30px !important;
  gap: 12px;
}

.single-product div.product form.cart .quantity .qty {
  min-height: 50px;
  border: 1px solid var(--bv-line);
  border-radius: 0;
  background: transparent;
}

.single-product div.product .product_meta {
  display: grid;
  padding-block: 22px;
  border-block: 1px solid var(--bv-line);
  color: var(--bv-muted);
  font-size: 0.69rem;
  letter-spacing: 0.07em;
  line-height: 1.9;
  text-transform: uppercase;
}

.single-product .woocommerce-tabs,
.single-product .related,
.single-product .upsells {
  width: min(var(--bv-wide), calc(100% - (2 * var(--bv-gutter))));
  margin: clamp(75px, 9vw, 130px) auto 0;
  grid-column: 1 / -1;
}

.single-product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  border-bottom: 1px solid var(--bv-line);
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 24px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
  padding: 15px 0 !important;
  color: var(--bv-muted) !important;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bv-garnet) !important;
}

.single-product .woocommerce-tabs h2,
.single-product .related > h2,
.single-product .upsells > h2 {
  margin-bottom: 35px;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
}

.woocommerce table.shop_table,
.wc-block-cart-items,
.wc-block-checkout__main,
.wc-block-components-sidebar {
  border-color: var(--bv-line) !important;
  border-radius: 0 !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--bv-line) !important;
  border-radius: 0 !important;
  background: #fffdf8 !important;
  color: var(--bv-ink) !important;
  font-family: var(--bv-sans);
}

textarea {
  min-height: 140px;
}

/* Footer */
.bv-site-footer {
  position: relative;
  padding: clamp(75px, 9vw, 125px) var(--bv-gutter) 26px;
  overflow: hidden;
  background: var(--bv-ink);
  color: var(--bv-ivory);
}

.bv-site-footer::before {
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(183, 151, 95, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(183, 151, 95, 0.025), 0 0 0 110px rgba(183, 151, 95, 0.018);
  content: "";
}

.bv-footer-ornament {
  display: flex;
  width: min(var(--bv-wide), 100%);
  margin: 0 auto clamp(55px, 7vw, 85px);
  align-items: center;
  gap: 18px;
  color: var(--bv-brass);
}

.bv-footer-ornament span {
  height: 1px;
  flex: 1;
  background: rgba(183, 151, 95, 0.4);
}

.bv-footer-ornament i {
  font-family: var(--bv-heading);
  font-size: 1rem;
  font-style: normal;
  letter-spacing: 0.18em;
}

.bv-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(var(--bv-wide), 100%);
  margin-inline: auto;
  grid-template-columns: minmax(300px, 1.75fr) repeat(3, minmax(150px, 0.75fr));
  gap: clamp(35px, 5vw, 80px);
}

.bv-brand-footer {
  color: var(--bv-ivory);
}

.bv-brand-footer .bv-brand-words small {
  color: var(--bv-brass);
}

.bv-footer-intro > p {
  max-width: 410px;
  margin: 32px 0 25px;
  color: rgba(241, 230, 214, 0.68);
  font-family: var(--bv-heading);
  font-size: 1.12rem;
  line-height: 1.6;
}

.bv-footer-journal {
  color: var(--bv-brass);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.bv-footer-grid nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.bv-footer-grid h2 {
  margin: 2px 0 18px;
  color: var(--bv-brass);
  font-family: var(--bv-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.bv-footer-grid nav a {
  width: fit-content;
  color: rgba(241, 230, 214, 0.75);
  font-family: var(--bv-heading);
  font-size: 0.98rem;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.bv-footer-grid nav a:hover {
  color: var(--bv-ivory);
  transform: translateX(3px);
}

.bv-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(var(--bv-wide), 100%);
  margin: clamp(60px, 8vw, 95px) auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(241, 230, 214, 0.14);
  justify-content: space-between;
  gap: 20px;
  color: rgba(241, 230, 214, 0.62);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bv-footer-bottom p {
  margin: 0;
}

.bv-index-fallback {
  padding-block: clamp(70px, 9vw, 120px);
}

/* Responsive */
@media (max-width: 1200px) {
  .bv-header-shell {
    grid-template-columns: minmax(215px, 0.8fr) minmax(470px, 1.8fr) auto;
    gap: 20px;
  }

  .bv-desktop-nav {
    gap: 16px;
  }

  .bv-brand-words strong {
    font-size: 1.12rem;
  }
}

@media (max-width: 1080px) {
  .bv-header-shell {
    min-height: 82px;
    grid-template-columns: 1fr auto;
  }

  .bv-desktop-nav {
    display: none;
  }

  .bv-menu-toggle {
    display: inline-flex;
  }

  .bv-footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .bv-footer-grid nav:last-child {
    grid-column: 2 / -1;
  }

  .single-product .woocommerce div.product,
  .single-product div.product {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .single-product main > .wp-block-columns {
    gap: 45px;
  }
}

@media (max-width: 782px) {
  :root {
    --bv-gutter: 20px;
  }

  /* Riverbank reapplies root padding after the child stylesheet. Removing it
     here keeps full-width blocks and fixed navigation aligned to the viewport. */
  .wp-site-blocks {
    padding-inline: 0 !important;
  }

  body .wp-site-blocks > main.wp-block-group.alignfull {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .bv-site-header.is-menu-open {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .admin-bar .bv-site-header {
    top: 46px;
  }

  .bv-frame::after {
    inset: 10px;
  }

  .bv-announcement p {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .bv-announcement p span {
    margin-inline: 0.3rem;
  }

  .bv-header-shell {
    width: calc(100% - 32px);
  }

  .bv-cart-link {
    display: none;
  }

  .bv-brand-words strong {
    font-size: 1.05rem;
  }

  .bv-monogram {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .bv-hero {
    min-height: 690px;
  }

  .bv-hero .wp-block-cover__background {
    background: linear-gradient(0deg, rgba(12, 9, 12, 0.94) 0%, rgba(12, 9, 12, 0.62) 52%, rgba(12, 9, 12, 0.15) 100%) !important;
  }

  .bv-hero .wp-block-cover__image-background {
    object-position: 64% center;
  }

  .bv-hero-inner {
    padding-block: 190px 80px;
  }

  .bv-hero h1 {
    font-size: clamp(3.55rem, 15vw, 5.5rem) !important;
    line-height: 0.88;
  }

  .bv-hero-note {
    display: none;
  }

  .bv-section-heading {
    display: block !important;
  }

  .bv-section-note {
    width: 100%;
    margin-top: 25px;
  }

  .bv-collection-row {
    gap: 1rem;
  }

  .bv-collection-card,
  .bv-collection-card-large {
    min-height: 500px !important;
  }

  .bv-collection-card h3 {
    font-size: 3.5rem;
  }

  .bv-products-section:not(:has(.wp-block-woocommerce-product-collection)) > .bv-products-empty {
    min-height: 0;
    padding: 68px 28px;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .bv-products-empty h2 {
    max-width: 100%;
    font-size: clamp(2.65rem, 11vw, 4.6rem) !important;
  }

  .bv-manifesto .wp-block-columns,
  .bv-story-split,
  .bv-contact-layout {
    gap: 55px;
  }

  .bv-manifesto .wp-block-column:last-child {
    padding-inline: 7px;
  }

  .bv-universe-grid .wp-block-column:nth-child(2) {
    margin-top: 0;
  }

  .bv-universe-grid img {
    aspect-ratio: 4 / 3;
  }

  .bv-service-ribbon .wp-block-column {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--bv-line);
  }

  .bv-service-ribbon .wp-block-column:last-child {
    border-bottom: 0;
  }

  .bv-journal-card-large:nth-child(even) {
    margin-top: 0;
  }

  .bv-wp-article {
    padding-top: 60px;
  }

  .bv-wp-article-head .wp-block-post-title {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(3.15rem, 13vw, 5.4rem) !important;
  }

  .bv-wp-article-cover {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  .bv-wp-article-content {
    width: 100%;
    margin-inline: auto;
  }

  .bv-wp-article-content .wp-block-image.alignwide {
    width: 100%;
    margin-inline: auto;
    transform: none;
  }

  .bv-wp-article-footer {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .bv-legal-layout {
    width: calc(100% - 40px);
  }

  .bv-legal-nav {
    position: static;
  }

  .single-product .woocommerce div.product,
  .single-product div.product {
    grid-template-columns: 1fr;
  }

  .single-product main > .wp-block-columns {
    gap: 34px;
  }

  .single-product main > .wp-block-columns > .wp-block-column:last-child {
    padding-top: 0;
  }

  .single-product div.product .summary {
    padding-top: 0;
  }

  .bv-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bv-footer-intro {
    grid-column: 1 / -1;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(241, 230, 214, 0.14);
  }

  .bv-footer-grid nav:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .bv-announcement p {
    max-width: 310px;
  }

  .bv-brand-words small {
    display: none;
  }

  .bv-header-actions {
    gap: 4px;
  }

  .bv-menu-toggle > span:last-child {
    display: none;
  }

  .bv-mobile-drawer {
    width: 100vw;
  }

  .bv-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.1rem) !important;
  }

  .bv-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bv-hero-actions .wp-block-button,
  .bv-hero-actions .wp-block-button__link {
    width: 100%;
  }

  .bv-collection-card .wp-block-cover__inner-container {
    padding: 30px;
  }

  .bv-values-grid > .wp-block-group,
  .bv-measure-steps .wp-block-column,
  .bv-editorial-callout,
  .bv-note-card {
    padding: 28px;
  }

  .bv-page-content details > p {
    padding-right: 0;
  }

  .bv-page-content details summary {
    padding-right: 40px;
  }

  .bv-contact-layout figure,
  .bv-contact-layout img {
    min-height: 300px;
  }

  .bv-footer-grid {
    grid-template-columns: 1fr;
  }

  .bv-footer-intro,
  .bv-footer-grid nav:last-child {
    grid-column: auto;
  }

  .bv-footer-grid nav {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(241, 230, 214, 0.12);
  }

  .bv-footer-bottom {
    flex-direction: column;
  }

  .bv-size-table {
    width: calc(100vw - 40px);
    margin-left: calc(50% - 50vw + 20px);
  }
}

/* Readability pass: keep fine editorial details legible without flattening the
   contrast between paper sections, image covers and dark rooms. */
.bv-kicker,
.bv-kicker a {
  color: var(--bv-brass-ink);
  font-size: 0.75rem;
}

.wp-block-cover .bv-kicker,
.wp-block-cover .bv-kicker a,
.bv-manifesto .bv-kicker,
.bv-manifesto .bv-kicker a,
.bv-products-empty .bv-kicker,
.bv-products-empty .bv-kicker a,
.bv-universe .bv-kicker,
.bv-universe .bv-kicker a,
.bv-contact-card .bv-kicker,
.bv-contact-card .bv-kicker a,
.bv-mobile-drawer .bv-kicker,
.bv-mobile-drawer .bv-kicker a,
.bv-not-found .bv-kicker,
.bv-not-found .bv-kicker a,
.has-bv-ink-background-color .bv-kicker,
.has-bv-ink-background-color .bv-kicker a,
.has-bv-aubergine-background-color .bv-kicker,
.has-bv-aubergine-background-color .bv-kicker a,
.has-bv-green-background-color .bv-kicker,
.has-bv-green-background-color .bv-kicker a {
  color: var(--bv-brass);
}

.bv-desktop-nav a,
.bv-cart-link,
.wp-element-button,
.wp-block-button__link,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.wc-block-components-button {
  font-size: 0.75rem !important;
}

.bv-announcement p,
.bv-mobile-drawer-foot a,
.bv-hero-note p,
.bv-image-caption,
.bv-journal-card-large .wp-block-post-date,
.bv-wp-article-content figcaption,
.woocommerce-breadcrumb,
.wc-block-components-breadcrumbs,
.single-product .wp-block-woocommerce-product-meta,
.bv-footer-grid h2,
.bv-legal-nav span {
  font-size: 0.72rem !important;
}

.bv-legal-nav span {
  color: var(--bv-brass-ink);
}

.bv-service-ribbon p {
  font-size: 0.95rem;
}

.bv-service-ribbon a {
  font-size: 0.75rem;
}

.bv-brand-words small {
  font-size: 0.62rem;
}

.bv-mobile-eyebrow,
.bv-mobile-nav small,
.bv-journal-card .wp-block-post-excerpt__more-link,
.bv-wp-article-meta,
.bv-size-table th,
.bv-page-content th,
.single-product div.product .product_meta,
.single-product .woocommerce-tabs ul.tabs li a,
.bv-footer-journal,
.bv-footer-bottom {
  font-size: 0.75rem;
}

.bv-product-grid .price,
.woocommerce ul.products li.product .price {
  font-size: 1rem !important;
}

.bv-wp-article-content {
  font-size: clamp(1rem, 1.38vw, 1.1rem);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
