:root {
  --ink: #231f1b;
  --soft-ink: #5d564e;
  --paper: #fbfaf6;
  --wash: #f1ede3;
  --sage: #73806f;
  --clay: #b06f4a;
  --moss: #4f684f;
  --line: #ddd5c8;
  --white: #fff;
  --font-main: "Elms Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-main);
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand img {
  width: clamp(12rem, 15vw, 15rem);
  height: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8vw;
}
.site-nav { display: flex; align-items: center; gap: 4vw; font-size: 14px; font-weight: 700; }
.site-nav a { color: var(--ink); font-size: medium; }
.site-nav a:hover { color: var(--ink); }
.mobile-nav-head { display: none; }
.nav-dropdown { position: relative; }
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 18px;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: medium;
  justify-content: flex-start;
  text-align: left;
}
.nav-dropdown-trigger i { font-size: 11px; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 240px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(35, 31, 27, .14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 4px;
}
.nav-dropdown-menu a:hover { background: var(--wash); }
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink) !important;
  font-size: 20px;
}
.cart-link span {
  position: absolute;
  top: -12px;
  right: -14px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--clay);
  color: var(--paper);
  font-size: 11px;
  line-height: 1;
}
.mobile-cart-link { display: none; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}
.nav-toggle i {
  color: var(--ink);
  font-size: 20px;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 28;
  background: rgba(35, 31, 27, .42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 0;
  overflow: hidden;
  background: var(--wash);
}
.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100%;
  padding: clamp(56px, 9vw, 130px) clamp(20px, 7vw, 96px);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .8s ease, transform 5.8s ease;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .38);
  pointer-events: none;
}
.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--paper);
  text-shadow: 0 3px 18px rgba(35, 31, 27, .46);
}
.hero-dots {
  position: absolute;
  left: clamp(20px, 7vw, 96px);
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 9px;
}
.hero-dots button {
  width: 36px;
  height: 4px;
  min-height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}
.hero-dots button.is-active {
  background: var(--ink);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--font-main);
  line-height: 1.05;
}
h1 { margin: 0 0 20px; font-size: clamp(48px, 8vw, 104px); }
h2 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 58px); }
h3 { margin: 0 0 8px; font-size: 28px; }
.hero-inner p:not(.eyebrow), .page-hero p, .section-heading p, .lead {
  max-width: 640px;
  color: var(--soft-ink);
  font-size: 18px;
}
.hero-inner p:not(.eyebrow) { color: rgba(251,250,246,.92); }
.hero-inner .eyebrow { color: var(--paper); }
.hero-inner .button.secondary {
  border-color: var(--paper);
  color: var(--paper);
}
.hero-actions, .cart-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.button.secondary, .product-meta button {
  background: transparent;
  color: var(--ink);
}
.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--clay);
  font-weight: 700;
}

.story-band, .product-detail, .checkout-layout, .shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.product-detail, .checkout-layout, .shop-layout {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 7vw, 96px);
}

.story-band {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding-inline: 0;
}
.story-band > div {
  padding: clamp(34px, 6vw, 86px) clamp(20px, 7vw, 96px);
}
.story-band img, .product-detail > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}
.story-band img {
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 0;
}
.section, .why, .content-page, .cart-page {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 7vw, 96px);
}
.muted { background: var(--wash); }
.section-heading {
  margin-bottom: 24px;
  text-align: center;
}
.section-heading p {
  margin-left: auto;
  margin-right: auto;
}

.carousel { position: relative; }
.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 14px;
}
.carousel-controls button {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.carousel-controls button:disabled { opacity: .38; cursor: not-allowed; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 calc((100% - 66px) / 4);
  scroll-snap-align: start;
}
.product-carousel .carousel-item {
  flex-basis: calc((100% - 66px) / 4);
}
.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}
.carousel-pagination button {
  width: 9px;
  height: 9px;
  min-height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(35, 31, 27, .26);
}
.carousel-pagination button.is-active {
  width: 28px;
  background: var(--ink);
}
.category-grid, .product-grid, .why-grid {
  display: flex;
  gap: 22px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.category-card, .product-card, .form-panel, .order-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.category-card {
  position: relative;
  display: block;
  min-height: 100%;
  background: var(--ink);
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.category-card img, .product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--wash);
}
.category-card img {
  aspect-ratio: 5 / 4;
  height: 100%;
}
.category-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 22px;
  color: var(--paper);
}
.category-card h3,
.category-card p {
  text-shadow: 0 2px 14px rgba(0,0,0,.38);
}
.category-card p {
  margin: 0;
  color: rgba(251,250,246,.84);
}
.product-card div { padding: 22px; }
.product-card p, .why p, .content-page div { color: var(--soft-ink); }
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.price {
  display: block;
  margin: 0 0 22px;
  font-size: 28px;
}
.product-meta .price,
.rbs-cart__unit-price .price,
.rbs-product-detail__price .price {
  margin: 0;
}
.price--sale {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.price--sale del {
  color: var(--soft-ink);
  font-size: .82em;
  font-weight: 700;
}
.price--sale strong {
  color: #9a3a26;
}
.why {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 44px;
  background: var(--wash);
}
.reason-card {
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 28px;
  text-align: center;
  transition: transform .22s ease;
}
.reason-icon {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--moss);
  color: var(--wash);
  font-size: 37px;
  transition: width .22s ease, height .22s ease, font-size .22s ease, margin .22s ease, background .22s ease;
}
.reason-card h3 { margin: 0; }
.reason-card p {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .24s ease, opacity .2s ease, margin .22s ease;
}
.reason-card:hover,
.reason-card:focus-within {
  transform: translateY(-3px);
}
.reason-card:hover .reason-icon,
.reason-card:focus-within .reason-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  font-size: 22px;
}
.reason-card:hover p,
.reason-card:focus-within p {
  max-height: 120px;
  margin-top: 12px;
  opacity: .82;
}

.page-hero {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 7vw, 96px);
  background: var(--wash);
}
.page-hero.compact h1 { font-size: clamp(42px, 6vw, 76px); }
.shop-layout {
  align-items: start;
  grid-template-columns: 230px 1fr;
}
.shop-layout .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shop-layout .product-card { width: auto; }
.shop-filter {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
}
.shop-filter a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}
.shop-filter a.active { background: var(--ink); color: var(--paper); }

.buy-box, .form-panel {
  display: grid;
  gap: 16px;
}
label { display: grid; gap: 6px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.form-panel, .order-summary { padding: 24px; }
.checkout-layout { align-items: start; grid-template-columns: 1fr 360px; }
.order-summary { display: grid; gap: 14px; }
.order-summary div, .summary-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.summary-total { border: 0; font-size: 20px; }

.cart-page table, .panel table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
th, td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 4px;
  background: #eef5ed;
  color: #315032;
}
.notice.error { background: #f8e8e4; color: #7d2f21; }
.content-page {
  max-width: 900px;
  margin: 0 auto;
}
.content-page h1 { font-size: clamp(42px, 6vw, 80px); }

.cart-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 700;
}
.cart-breadcrumbs a { color: var(--ink); }
.cart-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(44px, 7vw, 86px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}
.cart-empty h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
}
.cart-empty p {
  max-width: 520px;
  margin: 0;
  color: var(--soft-ink);
}
.rbs-cart__table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}
.rbs-cart__row {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) .7fr .65fr .8fr .35fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.rbs-cart__row:last-child { border-bottom: 0; }
.rbs-cart__row--head {
  padding-block: 12px;
  background: var(--wash);
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rbs-cart__product {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
}
.rbs-cart__product-media {
  display: grid;
  width: 104px;
  aspect-ratio: 1 / 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}
.rbs-cart__product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rbs-cart__product-placeholder {
  color: var(--soft-ink);
  font-size: 12px;
}
.rbs-cart__product-copy {
  display: grid;
  gap: 6px;
}
.rbs-cart__product-title {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}
.rbs-cart__product-variation,
.rbs-cart__product-meta {
  margin: 0;
  color: var(--soft-ink);
  font-size: 13px;
}
.rbs-cart__product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rbs-cart__stock {
  color: var(--moss);
  font-weight: 800;
}
.rbs-cart__stock.is-out-of-stock { color: #a83224; }
.rbs-cart__qty input {
  max-width: 92px;
}
.rbs-cart__line-total-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rbs-cart__line-total-price,
.rbs-cart__unit-price {
  font-weight: 800;
}
.rbs-cart__row-update,
.rbs-cart__remove-btn {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 4px;
}
.rbs-cart__row-update {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.rbs-cart__remove-btn {
  border-color: #e3b5aa;
  background: #fff7f4;
  color: #a83224;
}
.rbs-cart__footer {
  margin-top: 22px;
}
.rbs-cart__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.rbs-cart__summary-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}
.rbs-cart__summary-row span {
  color: var(--soft-ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-page {
  display: grid;
  place-items: center;
  padding: clamp(54px, 8vw, 110px) clamp(20px, 7vw, 96px);
}
.auth-card {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.auth-card h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
}
.auth-card p {
  margin: 0;
  color: var(--soft-ink);
}
.account-details {
  display: grid;
  gap: 10px;
  margin: 0;
}
.account-details div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.account-details dt {
  color: var(--soft-ink);
  font-weight: 800;
}
.account-details dd {
  margin: 0;
  font-weight: 800;
}
.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rbs-product-detail {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 7vw, 96px);
}
.rbs-product-detail__media-col {
  min-width: 0;
}
.rbs-product-gallery__stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.rbs-product-gallery__panel {
  display: none;
  min-height: 100%;
}
.rbs-product-gallery__panel.is-active {
  display: grid;
}
.rbs-product-gallery__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rbs-product-gallery__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--ink);
}
.rbs-product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.rbs-product-gallery__thumbs button {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}
.rbs-product-gallery__thumbs button.is-active {
  border-color: var(--moss);
}
.rbs-product-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.rbs-product-gallery__thumbs i {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 33, 29, .78);
  color: var(--paper);
}
.rbs-product-gallery__placeholder {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  color: var(--soft-ink);
  background: var(--wash);
}
.rbs-product-detail__summary {
  display: grid;
  align-content: start;
  gap: 18px;
}
.rbs-product-detail__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 700;
}
.rbs-product-detail__breadcrumbs a { color: var(--ink); }
.rbs-product-detail__title {
  margin: 0;
  font-size: clamp(42px, 6vw, 80px);
}
.rbs-product-detail__excerpt {
  margin: 0;
  color: var(--soft-ink);
  font-size: 18px;
}
.rbs-product-detail__price-stock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.rbs-product-detail__price {
  font-size: 30px;
}
.rbs-product-detail__stock {
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf5ea;
  color: var(--moss);
  font-size: 13px;
  font-weight: 800;
}
.rbs-product-detail__stock.is-out-of-stock {
  background: #fae7e2;
  color: #8a2d1f;
}
.rbs-product-detail__meta {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}
.rbs-product-detail__meta td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
.rbs-product-detail__meta tr:last-child td { border-bottom: 0; }
.rbs-product-detail__meta td:first-child {
  width: 36%;
  color: var(--soft-ink);
}
.rbs-product-detail__cart-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.rbs-product-variations {
  flex-basis: 100%;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 4px;
  border: 0;
}
.rbs-product-variations legend {
  padding: 0;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rbs-product-variations div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.rbs-product-variations button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}
.rbs-product-variations button.is-active {
  border-color: var(--moss);
  background: var(--moss);
  color: var(--wash);
}
.rbs-product-detail__cart-qty {
  max-width: 130px;
}
.rbs-product-detail__cart-actions {
  display: flex;
}
.rbs-product-detail__content {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.rbs-product-detail__content h2 {
  font-size: clamp(30px, 4vw, 48px);
}
.rbs-product-detail__wysiwyg {
  max-width: 860px;
  color: var(--soft-ink);
}
.product-detail-list {
  display: grid;
  gap: 22px;
  width: min(980px, 100%);
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--wash);
}
.product-detail-list h3 {
  margin: 0 0 8px;
  color: var(--soft-ink);
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
}
.product-detail-list p {
  margin: 0;
}
.product-detail-list ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 22px;
}
.product-detail-list li {
  padding-left: 2px;
  line-height: 1.55;
}
.product-detail-list strong {
  color: var(--ink);
  font-weight: 800;
}

.rbs-checkout {
  padding: clamp(42px, 7vw, 92px) clamp(20px, 7vw, 96px);
}
.rbs-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.rbs-checkout__main,
.rbs-checkout__summary {
  display: grid;
  gap: 18px;
}
.rbs-checkout__panel,
.rbs-checkout__summary {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.rbs-checkout__panel.is-readonly {
  background: var(--wash);
}
.rbs-checkout__panel.is-readonly .rbs-checkout__panel-head p::after {
  content: " Using billing details.";
  color: var(--moss);
  font-weight: 800;
}
.rbs-checkout__panel-head {
  margin-bottom: 18px;
}
.rbs-checkout__panel-head h2,
.rbs-checkout__panel-head h3 {
  margin: 0 0 6px;
  font-size: 28px;
}
.rbs-checkout__panel-head p {
  margin: 0;
  color: var(--soft-ink);
}
.rbs-checkout__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.rbs-checkout__field--full {
  grid-column: 1 / -1;
}
.rbs-checkout__checkbox {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.rbs-checkout__checkbox input {
  width: auto;
}
.rbs-checkout__sidebar {
  position: sticky;
  top: 112px;
}
.rbs-checkout__summary-items {
  display: grid;
  gap: 12px;
}
.rbs-checkout__summary-item,
.rbs-checkout__summary-total,
.rbs-checkout__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rbs-checkout__summary-item span {
  display: block;
  color: var(--soft-ink);
  font-size: 13px;
}
.rbs-checkout__summary-total {
  font-size: 18px;
  font-weight: 800;
}
.rbs-checkout__shipping-note {
  margin: -4px 0 4px;
  color: var(--soft-ink);
  font-size: 13px;
}
.rbs-checkout__summary .button {
  width: 100%;
}
.rbs-checkout__payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}
.rbs-checkout__payment-method i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--moss);
  color: var(--wash);
}
.rbs-checkout__payment-method strong,
.rbs-checkout__payment-method span {
  display: block;
}
.rbs-checkout__payment-method span {
  color: var(--soft-ink);
  font-size: 13px;
}
.rbs-checkout__payment-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 18px;
}
.rbs-checkout__summary-payment {
  display: grid;
  gap: 14px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.rbs-checkout__summary-payment .rbs-checkout__panel-head {
  margin-bottom: 0;
}
.rbs-checkout__summary-payment .rbs-checkout__panel-head h2 {
  font-size: 22px;
}
.rbs-checkout__payment-layout--summary {
  grid-template-columns: 1fr;
}
.rbs-checkout__payment-layout--summary .rbs-checkout__payment-qr {
  justify-items: center;
}
.rbs-checkout__payment-layout--summary .rbs-checkout__payment-qr img {
  max-width: 210px;
}
.rbs-checkout__payment-qr {
  display: grid;
  gap: 10px;
  align-content: start;
}
.rbs-checkout__payment-qr img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}
.rbs-checkout__payment-qr a {
  font-weight: 800;
}
.rbs-checkout__payment-card {
  display: grid;
  gap: 14px;
}
.rbs-checkout__payment-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}
.rbs-checkout__payment-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.rbs-checkout__payment-card dt {
  color: var(--soft-ink);
  font-weight: 800;
}
.rbs-checkout__payment-card dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}
.rbs-checkout__payment-card small {
  display: block;
  margin-top: 6px;
  color: var(--soft-ink);
}
.rbs-receipt-upload {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px dashed var(--moss);
  border-radius: 8px;
  background: var(--wash);
  cursor: pointer;
}
.rbs-receipt-upload > span {
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rbs-receipt-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.rbs-receipt-upload strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 6px;
  background: var(--moss);
  color: var(--wash);
}
.rbs-receipt-upload em {
  color: var(--soft-ink);
  font-size: 13px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 58px clamp(20px, 7vw, 96px) 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: var(--ink);
  color: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.footer-logo img {
  width: 148px;
  padding: 8px 10px;
  border-radius: 4px;
  background: var(--paper);
}
.footer-brand p, .footer-contact, .footer-col p {
  color: rgba(251,250,246,.72);
}
.footer-col h3 {
  margin: 0 0 16px;
  font: 800 13px/1.2 Inter, Arial, sans-serif;
  font-family: var(--font-main);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links {
  display: grid;
  gap: 9px;
}
.footer-links a,
.footer-contact a,
.footer-bottom a {
  color: rgba(251,250,246,.82);
}
.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: var(--white);
}
.footer-contact {
  display: grid;
  gap: 12px;
  margin: 0;
}
.footer-contact div {
  display: grid;
  gap: 2px;
}
.footer-contact dt {
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-contact dd { margin: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(251,250,246,.66);
}
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 16px; }

@media (max-width: 1024px) {
  .hero-slider { aspect-ratio: 16 / 8; }
  .category-grid .carousel-item {
    flex-basis: calc((100% - 44px) / 3);
  }
  .product-carousel .carousel-item {
    flex-basis: calc((100% - 22px) / 2);
  }
  .story-band img {
    aspect-ratio: 1 / 1;
  }
  .why {
    grid-template-columns: 1fr;
  }
  .why > div:first-child {
    text-align: center;
  }
  .why > div:first-child .eyebrow,
  .why > div:first-child h2 {
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-slider { aspect-ratio: 16 / 9; }
  .nav-toggle { display: inline-flex; }
  .mobile-cart-link { display: inline-flex; }
  .desktop-cart-link { display: none; }
  .site-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    width: min(86vw, 360px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 22px;
    background: #fbfaf6;
    border-right: 1px solid var(--line);
    box-shadow: 30px 0 80px rgba(35, 31, 27, .18);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .24s ease;
  }
  .site-nav.open { transform: translateX(0); }
  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
  }
  .mobile-nav-head img { width: 128px; }
  .mobile-nav-head button {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    background: none;
    color: var(--ink);
    border: none;
    font-size: large;
  }
  .site-nav > a,
  .site-nav > a, .nav-dropdown-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 14px;
  }
  .nav-dropdown {
    display: grid;
    gap: 6px;
  }
  .nav-dropdown-menu {
    display: grid;
    position: static;
    min-width: 0;
    background: none;
    box-shadow: none;
    border: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu {
    transform: translateX(10px);
  }
  .nav-dropdown:not(.is-open) .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown-menu a {
    padding: 8px 0;
    border-radius: 0;
    color: var(--ink);
  }
  .story-band, .product-detail, .checkout-layout, .shop-layout, .why {
    grid-template-columns: 1fr;
  }
  .story-band {
    padding-inline: clamp(20px, 7vw, 96px);
    gap: 24px;
    padding: clamp(56px, 8vw, 110px) clamp(20px, 7vw, 96px);
  }
  .story-band > div {
    padding: 0;
  }
  .story-band img {
    order: -1;
    border-radius: 8px;
  }
  .category-grid, .product-grid {
    display: flex;
  }
  .carousel-item {
    flex-basis: calc((100% - 22px) / 2);
  }
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-layout .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-filter { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rbs-cart__row--head {
    display: none;
  }
  .rbs-cart__row {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    padding: 16px;
  }
  .rbs-cart__product {
    grid-template-columns: 88px 1fr;
  }
  .rbs-cart__product-media {
    width: 88px;
  }
  .rbs-cart__unit-price,
  .rbs-cart__qty,
  .rbs-cart__line-total,
  .rbs-cart__remove {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .rbs-cart__unit-price::before,
  .rbs-cart__qty::before,
  .rbs-cart__line-total::before,
  .rbs-cart__remove::before {
    content: attr(data-label);
    color: var(--soft-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .rbs-cart__summary {
    justify-content: stretch;
  }
  .rbs-cart__summary > * {
    width: 100%;
  }
  .rbs-cart__summary-row {
    justify-content: space-between;
  }
  .rbs-product-detail,
  .rbs-checkout__layout {
    grid-template-columns: 1fr;
  }
  .rbs-checkout__sidebar {
    position: static;
  }
  .rbs-product-detail__cart-form {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .hero-slider { aspect-ratio: 4 / 5.5; }
  .hero-slide { align-items: flex-end; }
  .hero-inner h1 { font-size: clamp(38px, 12vw, 56px); }
  .hero-actions { display: none; }
  .carousel-item { flex-basis: 100%; }
  .product-carousel .carousel-item { flex-basis: 100%; }
  .carousel-track { gap: 14px; }
  .why-grid, .shop-filter, .shop-layout .product-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid, .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
  .footer-bottom div { flex-wrap: wrap; }
  table { display: block; overflow-x: auto; }
  .rbs-cart__product {
    grid-template-columns: 76px 1fr;
  }
  .rbs-cart__product-media {
    width: 76px;
  }
  .rbs-checkout__grid {
    grid-template-columns: 1fr;
  }
  .rbs-checkout__payment-layout {
    grid-template-columns: 1fr;
  }
  .rbs-product-detail__cart-form,
  .rbs-product-detail__cart-actions,
  .rbs-product-detail__cart-actions .button {
    width: 100%;
  }
  .rbs-product-detail__cart-qty {
    max-width: none;
  }
}
