.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count {
  color: var(--rb-text-dim);
}

.woocommerce .woocommerce-products-header,
.woocommerce .woocommerce-notices-wrapper,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: clamp(20px, 3vw, 40px);
}

.woocommerce .woocommerce-products-header__title {
  margin-top: 0;
  font-size: clamp(3rem, 8vw, 7rem);
}

.woocommerce .woocommerce-ordering select {
  min-height: 44px;
  border: 1px solid var(--rb-line);
  border-radius: 0;
  background: var(--rb-surface);
  color: var(--rb-text);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product.product-card {
  float: none;
  width: auto;
  margin: 0;
}

.product-card__inner {
  position: relative;
  min-width: 0;
}

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--rb-raised);
}

.wishlist-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--rb-line);
  border-radius: 0;
  background: var(--rb-bg);
  color: var(--rb-text);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wishlist-toggle svg {
  width: 20px;
  height: 20px;
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.wishlist-toggle.is-active {
  border-color: var(--rb-accent);
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

.wishlist-toggle.is-active svg {
  fill: currentColor;
}

.wishlist-toggle--card {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  width: 44px;
  padding: 0;
  border-color: rgb(255 255 255 / 24%);
  border-radius: 50%;
  background: rgb(0 0 0 / 68%);
  backdrop-filter: blur(8px);
}

.wishlist-toggle--card.is-active {
  border-color: var(--rb-accent);
  background: var(--rb-accent);
}

.product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.woocommerce ul.products li.product.product-card .product-card__image {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 700ms var(--rb-ease);
}

.product-card__badges {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.product-card__tag {
  padding: 6px 9px;
  background: var(--rb-bg);
  color: var(--rb-text);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.product-card__tag--sale {
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

.product-card__tag--stock {
  background: var(--rb-surface);
}

.product-card__action {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 240ms var(--rb-ease), transform 240ms var(--rb-ease);
}

.woocommerce ul.products li.product.product-card .product-card__action .button,
.woocommerce ul.products li.product.product-card .product-card__action .added_to_cart {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--rb-accent);
  border-radius: 0;
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.woocommerce ul.products li.product.product-card .product-card__action .added_to_cart {
  border-color: var(--rb-bg);
  background: var(--rb-bg);
  color: var(--rb-text);
}

.product-card__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
}

.product-card__category,
.product-card__category a {
  color: var(--rb-text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.woocommerce ul.products li.product.product-card .product-card__name {
  margin: 0;
  padding: 0;
  color: var(--rb-text);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.product-card__name a {
  text-decoration: none;
}

.woocommerce ul.products li.product.product-card .product-card__prices {
  margin-top: 2px;
  color: var(--rb-text);
  font-size: 0.82rem;
  font-weight: 600;
}

.product-card__prices del {
  margin-right: 6px;
  color: var(--rb-text-muted);
  font-size: 0.72rem;
  opacity: 1;
}

.product-card__prices ins {
  text-decoration: none;
}

.product-card__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.color-swatch {
  width: 14px;
  height: 14px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  background: var(--rb-swatch-color);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 35%);
}

.color-swatch--unset {
  background: linear-gradient(135deg, var(--rb-raised) 45%, var(--rb-text-muted) 46% 54%, var(--rb-raised) 55%);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--rb-accent);
  background: var(--rb-surface);
  color: var(--rb-text);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  border-radius: 0;
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
  border-color: var(--rb-line);
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 44px;
  min-height: 44px;
  padding: 13px;
  color: var(--rb-text);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

.single-product .site-main--shop {
  padding-top: clamp(28px, 5vw, 72px);
}

.single-product .woocommerce-breadcrumb {
  margin-bottom: clamp(28px, 4vw, 56px);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(40px, 7vw, 112px);
}

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

.woocommerce div.product div.images {
  align-self: start;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport {
  background: var(--rb-raised);
}

.woocommerce div.product div.images img {
  width: 100%;
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  float: none;
  width: auto;
  background: var(--rb-raised);
}

.woocommerce div.product div.images .flex-control-thumbs img {
  border: 1px solid transparent;
  opacity: 0.55;
}

.woocommerce div.product div.images .flex-control-thumbs img.flex-active {
  border-color: var(--rb-accent);
  opacity: 1;
}

.woocommerce div.product div.summary {
  align-self: start;
  padding-top: clamp(4px, 2vw, 24px);
}

.product-summary__kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.product-summary__categories,
.product-summary__categories a,
.product-summary__status {
  color: var(--rb-text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.product-summary__status {
  padding: 6px 9px;
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

.woocommerce div.product .product_title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.woocommerce div.product .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
  font-size: 0.75rem;
}

.woocommerce .star-rating,
.woocommerce .star-rating::before {
  color: var(--rb-accent);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  margin: 26px 0;
  color: var(--rb-text);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  margin-right: 10px;
  color: var(--rb-text-muted);
  font-size: 0.8em;
  opacity: 1;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
}

.woocommerce-product-details__short-description {
  margin-bottom: 30px;
  color: var(--rb-text-dim);
  line-height: 1.75;
}

.woocommerce div.product form.cart {
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--rb-line);
}

.woocommerce div.product form.cart .variations {
  margin-bottom: 24px;
}

.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  width: 100%;
}

.woocommerce div.product form.cart .variations tr + tr {
  margin-top: 22px;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  padding: 0;
  text-align: left;
}

.woocommerce div.product form.cart .variations label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.woocommerce div.product form.cart .variations select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--rb-line);
  border-radius: 0;
  background: var(--rb-surface);
  color: var(--rb-text);
}

.woocommerce div.product form.cart .variations select.variation-select--enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variation-option {
  display: inline-flex;
  min-width: 48px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--rb-line);
  background: transparent;
  color: var(--rb-text);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.variation-option:hover,
.variation-option[aria-pressed="true"] {
  border-color: var(--rb-accent);
}

.variation-option[aria-pressed="true"] {
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

.variation-option:disabled {
  cursor: not-allowed;
  opacity: 0.3;
  text-decoration: line-through;
}

.variation-option__swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: var(--rb-swatch-color);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 35%);
}

.variation-option__swatch--unset {
  background: linear-gradient(135deg, var(--rb-raised) 45%, var(--rb-text-muted) 46% 54%, var(--rb-raised) 55%);
}

.variation-option[aria-pressed="true"] .variation-option__swatch {
  box-shadow: 0 0 0 1px var(--rb-accent-ink);
}

.woocommerce div.product form.cart .reset_variations {
  display: inline-block;
  margin-top: 12px;
  color: var(--rb-text-dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce div.product .single_variation_wrap {
  margin-top: 22px;
}

.woocommerce div.product .woocommerce-variation-description,
.woocommerce div.product .woocommerce-variation-availability {
  color: var(--rb-text-dim);
}

.woocommerce div.product form.cart .quantity {
  margin-right: 8px;
}

.woocommerce .quantity .qty {
  min-width: 68px;
  min-height: 50px;
  border: 1px solid var(--rb-line);
  border-radius: 0;
  background: var(--rb-surface);
  color: var(--rb-text);
}

.woocommerce div.product form.cart .button {
  min-height: 50px;
  padding-inline: clamp(24px, 4vw, 52px);
}

.woocommerce div.product form.cart .button.disabled {
  background: var(--rb-text-muted);
  color: var(--rb-bg);
}

.woocommerce div.product .stock {
  color: var(--rb-text-dim);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce div.product .stock.out-of-stock {
  color: #e59a9a;
}

.woocommerce div.product .product_meta {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--rb-line);
  color: var(--rb-text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.woocommerce div.product .product_meta a {
  color: var(--rb-text-dim);
  text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .up-sells.products {
  grid-column: 1 / -1;
}

.woocommerce div.product .woocommerce-tabs {
  margin-top: clamp(48px, 8vw, 112px);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: clamp(20px, 4vw, 52px);
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--rb-line);
}

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

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

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 16px 0;
  color: var(--rb-text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--rb-text);
  box-shadow: 0 1px 0 var(--rb-accent);
}

.woocommerce div.product .woocommerce-tabs .panel {
  max-width: 900px;
  margin: 0;
  padding-top: 36px;
  color: var(--rb-text-dim);
  line-height: 1.75;
}

.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product .related.products > h2,
.woocommerce div.product .up-sells.products > h2 {
  margin-top: 0;
  color: var(--rb-text);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.woocommerce div.product .related.products,
.woocommerce div.product .up-sells.products {
  margin-top: clamp(48px, 8vw, 112px);
}

.quick-view-modal[hidden] {
  display: none;
}

.quick-view-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
}

.quick-view-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 78%);
  backdrop-filter: blur(8px);
}

.quick-view-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100vh - clamp(24px, 6vw, 80px));
  overflow: auto;
  border: 1px solid var(--rb-line);
  background: var(--rb-surface);
  box-shadow: 0 24px 80px rgb(0 0 0 / 55%);
}

.quick-view-modal__close {
  position: sticky;
  z-index: 4;
  top: 12px;
  float: right;
  width: 44px;
  height: 44px;
  margin: 12px 12px -56px 0;
  padding: 0;
  border: 1px solid var(--rb-line);
  background: var(--rb-bg);
  color: var(--rb-text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.quick-view-modal__loading,
.quick-view-modal__error {
  display: grid;
  min-height: 320px;
  place-items: center;
  gap: 20px;
  padding: 48px;
  color: var(--rb-text-dim);
  text-align: center;
}

.quick-view-product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  min-height: 580px;
}

.quick-view-product__gallery {
  min-width: 0;
  padding: clamp(16px, 3vw, 32px);
  background: var(--rb-raised);
}

.quick-view-product__figure {
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  margin: 0;
  overflow: hidden;
}

.quick-view-product__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view-product__thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.quick-view-product__thumbnail {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--rb-bg);
  cursor: pointer;
  opacity: 0.55;
}

.quick-view-product__thumbnail.is-active,
.quick-view-product__thumbnail:hover {
  border-color: var(--rb-accent);
  opacity: 1;
}

.quick-view-product__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view-product__summary {
  align-self: center;
  padding: clamp(36px, 6vw, 76px);
}

.quick-view-product__categories,
.quick-view-product__categories a {
  color: var(--rb-text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.quick-view-product__title {
  margin: 16px 0 0;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
}

.quick-view-product__price {
  margin: 24px 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
}

.wishlist-toggle--quick-view {
  margin-bottom: 20px;
}

.single-product .summary .wishlist-toggle--single {
  width: 100%;
  margin: 0 0 24px;
}

.real-body-wishlist__empty {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(40px, 8vw, 88px) 24px;
  border: 1px solid var(--rb-line);
  text-align: center;
}

.real-body-wishlist__empty h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 4.5rem);
}

.real-body-wishlist__empty p {
  margin: 0 0 28px;
  color: var(--rb-text-dim);
}

.real-body-wishlist-page .entry-content {
  max-width: none;
}

.quick-view-product__price del {
  margin-right: 8px;
  color: var(--rb-text-muted);
  font-size: 0.8em;
}

.quick-view-product__price ins {
  text-decoration: none;
}

.quick-view-product__description {
  color: var(--rb-text-dim);
  line-height: 1.65;
}

.quick-view-product form.cart {
  margin: 28px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--rb-line);
}

.quick-view-product form.cart .variations,
.quick-view-product form.cart .variations tbody,
.quick-view-product form.cart .variations tr,
.quick-view-product form.cart .variations th,
.quick-view-product form.cart .variations td {
  display: block;
  width: 100%;
}

.quick-view-product form.cart .variations tr + tr {
  margin-top: 20px;
}

.quick-view-product form.cart .variations th,
.quick-view-product form.cart .variations td {
  padding: 0;
  text-align: left;
}

.quick-view-product form.cart .variations label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-view-product form.cart .variations select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--rb-line);
  border-radius: 0;
  background: var(--rb-surface);
  color: var(--rb-text);
}

.quick-view-product form.cart .variations select.variation-select--enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quick-view-product .single_variation_wrap {
  margin-top: 20px;
}

.quick-view-product form.cart .quantity {
  margin-right: 8px;
}

.quick-view-product form.cart .button {
  min-height: 50px;
  padding-inline: clamp(20px, 3vw, 40px);
}

.quick-view-product__notices {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 0;
  padding: 16px;
}

.quick-view-product__notices:empty {
  display: none;
}

.quick-view-product__notices .button {
  flex: 0 0 auto;
}

.quick-view-product__link {
  display: inline-block;
  margin-top: 28px;
  color: var(--rb-text-dim);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

@media (hover: hover) {
  .product-card__inner:hover .product-card__image,
  .product-card__inner:focus-within .product-card__image {
    transform: scale(1.04);
  }

  .product-card__inner:hover .product-card__action,
  .product-card__inner:focus-within .product-card__action {
    opacity: 1;
    transform: none;
  }
}

@media (hover: none) {
  .product-card__action {
    position: static;
    margin-top: 12px;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
  }

  .woocommerce .woocommerce-ordering select {
    width: 100%;
  }

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

  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related.products,
  .woocommerce div.product .up-sells.products {
    grid-column: 1;
  }

  .woocommerce div.product .woocommerce-tabs {
    margin-top: 32px;
  }

  .quick-view-modal {
    align-items: end;
    padding: 0;
  }

  .quick-view-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
  }

  .quick-view-product {
    grid-template-columns: 1fr;
  }

  .quick-view-product__gallery {
    padding: 12px;
  }

  .quick-view-product__figure {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .product-card__badges {
    top: 8px;
    left: 8px;
  }

  .product-card__tag {
    padding: 5px 7px;
    font-size: 0.54rem;
  }

  .product-summary__kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .woocommerce div.product form.cart .quantity,
  .woocommerce div.product form.cart .button {
    float: none;
    width: 100%;
    margin: 0;
  }

  .woocommerce div.product form.cart .button {
    margin-top: 8px;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs {
    gap: 18px;
    overflow-x: auto;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
  }

  .quick-view-product__summary {
    padding: 32px 20px 44px;
  }

  .quick-view-product form.cart .quantity,
  .quick-view-product form.cart .button {
    float: none;
    width: 100%;
    margin: 0;
  }

  .quick-view-product form.cart .button {
    margin-top: 8px;
  }

  .quick-view-product__notices {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product.product-card .product-card__image,
  .product-card__action {
    transition: none;
  }
}

.cart-drawer-root {
  position: fixed;
  z-index: 1100;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer-root.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 72%);
  opacity: 0;
  cursor: default;
  transition: opacity 300ms var(--rb-ease);
}

.cart-drawer-root.is-open .cart-drawer__backdrop {
  opacity: 1;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(460px, 100%);
  height: 100%;
  flex-direction: column;
  border-left: 1px solid var(--rb-line);
  background: var(--rb-surface);
  box-shadow: -24px 0 72px rgb(0 0 0 / 45%);
  transform: translateX(100%);
  transition: transform 380ms var(--rb-ease);
}

.admin-bar .cart-drawer {
  top: 32px;
  height: calc(100% - 32px);
}

.cart-drawer-root.is-open .cart-drawer {
  transform: none;
}

.cart-drawer__header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rb-line);
}

.cart-drawer__header h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-size: 1.75rem;
}

.cart-drawer__count {
  color: var(--rb-text-muted);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.72rem;
}

.cart-drawer__close {
  display: grid;
  width: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--rb-line);
  background: transparent;
  color: var(--rb-text);
  font-size: 1.6rem;
  line-height: 1;
}

.real-body-cart-drawer__fragment {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.cart-drawer__empty {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 40px 24px;
  color: var(--rb-text-dim);
  text-align: center;
}

.cart-drawer__empty-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid var(--rb-line);
  border-radius: 50%;
  color: var(--rb-text-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-drawer__empty-title {
  margin: 0 0 6px;
  color: var(--rb-text);
  font-weight: 700;
}

.cart-drawer__empty-text {
  margin: 0;
}

.cart-drawer__notices {
  flex: 0 0 auto;
  padding: 16px 24px 0;
}

.cart-drawer__notices .woocommerce-error,
.cart-drawer__notices .woocommerce-message,
.cart-drawer__notices .woocommerce-info {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.75rem;
}

.cart-drawer__body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 24px;
}

.cart-drawer__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rb-line);
}

.cart-drawer-item__image img {
  display: block;
  width: 84px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--rb-raised);
}

.cart-drawer-item__details {
  min-width: 0;
}

.cart-drawer-item__name {
  display: block;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.cart-drawer-item__meta {
  margin-top: 8px;
  color: var(--rb-text-muted);
  font-size: 0.68rem;
}

.cart-drawer-item__meta dl,
.cart-drawer-item__meta p {
  margin: 0;
}

.cart-drawer-item__meta dt,
.cart-drawer-item__meta dd {
  display: inline;
  margin: 0;
}

.cart-drawer-item__meta dd + dt::before {
  content: " / ";
}

.cart-drawer-item__quantity {
  display: inline-grid;
  grid-template-columns: 32px 42px 32px;
  margin-top: 14px;
  border: 1px solid var(--rb-line);
}

.cart-drawer-item__quantity button,
.cart-drawer-item__quantity input {
  width: 100%;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rb-text);
  text-align: center;
}

.cart-drawer-item__quantity button {
  font-size: 1rem;
}

.cart-drawer-item__quantity button:disabled {
  color: var(--rb-text-muted);
  cursor: not-allowed;
}

.cart-drawer-item__quantity input {
  border-inline: 1px solid var(--rb-line);
  appearance: textfield;
}

.cart-drawer-item__quantity input::-webkit-inner-spin-button,
.cart-drawer-item__quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.cart-drawer-item__side {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  text-align: right;
  white-space: nowrap;
}

.cart-drawer-item__side strong {
  font-size: 0.78rem;
}

.cart-drawer-item__remove,
.cart-drawer__cart-link {
  color: var(--rb-text-muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-drawer__footer {
  flex: 0 0 auto;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--rb-line);
  background: var(--rb-bg);
}

.cart-drawer__shipping {
  margin-bottom: 18px;
}

.cart-drawer__shipping p {
  margin: 0 0 9px;
  color: var(--rb-text-dim);
  font-size: 0.7rem;
  text-align: center;
}

.cart-drawer__shipping .cart-drawer__shipping-requirement {
  color: var(--rb-text-muted);
  font-size: 0.62rem;
}

.cart-drawer__shipping-track {
  height: 3px;
  overflow: hidden;
  background: var(--rb-line);
}

.cart-drawer__shipping-track span {
  display: block;
  width: var(--rb-shipping-progress);
  height: 100%;
  background: var(--rb-accent);
}

.cart-drawer__totals {
  display: grid;
  gap: 8px;
  margin: 0;
}

.cart-drawer__totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.cart-drawer__totals dt,
.cart-drawer__totals dd {
  margin: 0;
  font-size: 0.72rem;
}

.cart-drawer__totals dt {
  color: var(--rb-text-dim);
}

.cart-drawer__total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--rb-line);
}

.cart-drawer__totals .cart-drawer__total dt,
.cart-drawer__totals .cart-drawer__total dd {
  color: var(--rb-text);
  font-size: 1rem;
  font-weight: 800;
}

.cart-drawer__actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  text-align: center;
}

.cart-drawer__checkout {
  width: 100%;
}

.cart-drawer-root.is-updating .real-body-cart-drawer__fragment {
  opacity: 0.58;
  pointer-events: none;
}

@media (max-width: 782px) {
  .admin-bar .cart-drawer {
    top: 46px;
    height: calc(100% - 46px);
  }
}

@media (max-width: 480px) {
  .cart-drawer__header,
  .cart-drawer__footer {
    padding-inline: 18px;
  }

  .cart-drawer__body {
    padding-inline: 18px;
  }

  .cart-drawer-item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-drawer-item__image img {
    width: 68px;
  }

  .cart-drawer-item__side {
    grid-column: 2;
    align-items: center;
    flex-direction: row;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer,
  .cart-drawer__backdrop {
    transition: none;
  }
}

/* Cart, checkout, and order confirmation. WooCommerce remains the markup owner. */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
  max-width: none;
}

.woocommerce-cart .entry-content > header,
.woocommerce-checkout .entry-content > header {
  margin-bottom: clamp(36px, 6vw, 72px);
}

.woocommerce-cart .entry-content > header h1,
.woocommerce-checkout .entry-content > header h1 {
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 8rem);
}

.woocommerce form .form-row {
  padding: 0;
  margin-bottom: 20px;
}

.woocommerce form .form-row label,
.wc-block-components-address-form label,
.wc-block-components-checkbox label {
  color: var(--rb-text-dim);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.woocommerce form .form-row .required {
  color: var(--rb-accent);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single,
.woocommerce-cart .coupon .input-text,
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-textarea {
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--rb-line);
  border-radius: 0;
  background: var(--rb-surface);
  box-shadow: none;
  color: var(--rb-text);
}

.woocommerce form .form-row textarea,
.wc-block-components-textarea {
  min-height: 132px;
  resize: vertical;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce .select2-container--default.select2-container--open .select2-selection--single,
.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
.wc-block-components-textarea:focus {
  border-color: var(--rb-accent);
  outline: 1px solid var(--rb-accent);
  outline-offset: 0;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 10px 36px 10px 0;
  color: var(--rb-text);
  line-height: 30px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 12px;
  right: 10px;
}

.select2-dropdown {
  border-color: var(--rb-line);
  border-radius: 0;
  background: var(--rb-surface);
  color: var(--rb-text);
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.wc-block-components-notice-banner {
  border: 1px solid var(--rb-line);
  border-top: 3px solid var(--rb-accent);
  border-radius: 0;
  background: var(--rb-surface);
  color: var(--rb-text);
}

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

.woocommerce-error a,
.woocommerce-info a,
.woocommerce-message a,
.wc-block-components-notice-banner a {
  color: inherit;
}

.woocommerce table.shop_table {
  border: 1px solid var(--rb-line);
  border-collapse: collapse;
  border-radius: 0;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 18px;
  border-color: var(--rb-line);
}

.woocommerce table.shop_table th {
  color: var(--rb-text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.woocommerce table.shop_table td {
  border-top: 1px solid var(--rb-line);
}

.woocommerce-cart table.cart img {
  width: 88px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--rb-raised);
}

.woocommerce-cart table.cart .product-name a {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
}

.woocommerce-cart table.cart .product-name .variation {
  margin-top: 8px;
  color: var(--rb-text-muted);
  font-size: 0.7rem;
}

.woocommerce-cart table.cart .product-name .variation dt,
.woocommerce-cart table.cart .product-name .variation dd {
  margin-bottom: 2px;
}

.woocommerce a.remove {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--rb-text-muted) !important;
  font-size: 1.3rem;
}

.woocommerce a.remove:hover {
  background: var(--rb-accent);
  color: var(--rb-accent-ink) !important;
}

.woocommerce-cart table.cart td.actions {
  padding: 18px;
}

.woocommerce-cart table.cart td.actions .coupon {
  display: flex;
  gap: 10px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: min(260px, 50vw);
  margin: 0;
}

.woocommerce-cart .cart-collaterals {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(28px, 5vw, 56px);
}

.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  width: min(100%, 560px);
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--rb-line);
  background: var(--rb-surface);
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.woocommerce-cart .cart-collaterals .cart_totals table {
  margin-bottom: 24px;
  border: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td {
  padding-inline: 0;
}

.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  margin: 0;
  font-size: 0.75rem;
}

.woocommerce ul#shipping_method {
  color: var(--rb-text-dim);
}

.woocommerce ul#shipping_method li {
  margin-bottom: 8px;
}

.woocommerce ul#shipping_method input,
.woocommerce form .form-row input[type="checkbox"],
.woocommerce form .form-row input[type="radio"],
.wc-block-components-checkbox input,
.wc-block-components-radio-control__input {
  accent-color: var(--rb-accent);
}

.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .checkout_coupon {
  margin: 0 0 28px;
  padding: 22px;
  border: 1px solid var(--rb-line);
  border-radius: 0;
  background: var(--rb-surface);
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 0 clamp(40px, 6vw, 96px);
  align-items: start;
}

.woocommerce-checkout form.checkout > .col2-set {
  grid-row: 1 / span 2;
  grid-column: 1;
}

.woocommerce-checkout form.checkout > #order_review_heading,
.woocommerce-checkout form.checkout > #order_review {
  grid-column: 2;
}

.woocommerce-checkout form.checkout > #order_review_heading {
  margin-top: 0;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
}

.woocommerce-checkout .col2-set .col-2 {
  margin-top: 36px;
}

.woocommerce-checkout #order_review {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--rb-line);
  background: var(--rb-surface);
}

.woocommerce-checkout #order_review table.shop_table {
  margin: 0 0 24px;
  border: 0;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
  padding-inline: 0;
}

.woocommerce-checkout #payment {
  border-radius: 0;
  background: var(--rb-bg);
}

.woocommerce-checkout #payment ul.payment_methods {
  border-color: var(--rb-line);
}

.woocommerce-checkout #payment div.payment_box {
  background: var(--rb-raised);
  color: var(--rb-text-dim);
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--rb-raised);
}

.woocommerce-checkout #payment div.form-row {
  padding: 20px;
}

.woocommerce-checkout #payment #place_order {
  float: none;
  width: 100%;
}

.woocommerce-order-received .woocommerce-order {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--rb-accent);
  background: var(--rb-surface);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.woocommerce-order-received ul.order_details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--rb-line);
}

.woocommerce-order-received ul.order_details li {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 0;
  background: var(--rb-bg);
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
  margin: 0;
}

.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.woocommerce-order-received .woocommerce-customer-details address {
  padding: 22px;
  border: 1px solid var(--rb-line);
  border-radius: 0;
  background: var(--rb-surface);
}

/* My Account. */
.woocommerce-account .woocommerce::after {
  display: table;
  clear: both;
  content: "";
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  width: min(28%, 300px);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  border: 1px solid var(--rb-line);
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li + li {
  border-top: 1px solid var(--rb-line);
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--rb-text-dim);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::after {
  content: "\2192";
  color: var(--rb-text-muted);
  font-size: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover::after,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible::after,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::after {
  color: inherit;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: right;
  width: calc(100% - min(28%, 300px) - clamp(32px, 6vw, 88px));
  min-width: 0;
}

.woocommerce-account .woocommerce-MyAccount-content > :first-child,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:empty + * {
  margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.75;
}

.woocommerce-account .woocommerce-MyAccount-content mark {
  padding: 0 3px;
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-column__title {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
  margin-bottom: 28px;
}

.woocommerce-account .woocommerce-orders-table__cell-order-number a {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  text-decoration: none;
  text-transform: uppercase;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions {
  white-space: nowrap;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
  margin: 3px;
  padding: 9px 12px;
  font-size: 0.65rem;
}

.woocommerce-account .woocommerce-pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.woocommerce-account .woocommerce-pagination .button {
  margin: 0;
}

.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after {
  display: none;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  float: none;
  width: auto;
  padding: 22px;
  border: 1px solid var(--rb-line);
  background: var(--rb-surface);
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h2 {
  margin: 0 0 18px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title .edit {
  float: none;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce-account .woocommerce-Addresses address,
.woocommerce-account .woocommerce-customer-details address {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--rb-text-dim);
  line-height: 1.8;
}

.woocommerce-account .woocommerce-address-fields,
.woocommerce-account .edit-account,
.woocommerce-account .lost_reset_password {
  max-width: 760px;
}

.woocommerce-account .edit-account fieldset {
  margin: 32px 0;
  padding: 22px;
  border: 1px solid var(--rb-line);
}

.woocommerce-account .edit-account legend {
  padding: 0 10px;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.woocommerce-account:not(.logged-in) .woocommerce {
  max-width: 1080px;
  margin-inline: auto;
}

.woocommerce-account #customer_login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 52px);
}

.woocommerce-account #customer_login::before,
.woocommerce-account #customer_login::after {
  display: none;
}

.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
  float: none;
  width: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--rb-line);
  background: var(--rb-surface);
}

.woocommerce-account #customer_login h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.woocommerce-account form.login,
.woocommerce-account form.register {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.woocommerce-account form.login .form-row,
.woocommerce-account form.register .form-row {
  margin-bottom: 18px;
}

.woocommerce-account form.login .woocommerce-form-login__rememberme {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-right: 14px;
}

.woocommerce-account form.login .woocommerce-form-login__submit,
.woocommerce-account form.register .woocommerce-form-register__submit,
.woocommerce-account .lost_reset_password .button,
.woocommerce-account .edit-account .button,
.woocommerce-account .woocommerce-address-fields .button {
  min-height: 48px;
}

.woocommerce-account .lost_password {
  margin: 20px 0 0;
}

.woocommerce-account .lost_reset_password {
  margin-inline: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--rb-line);
  background: var(--rb-surface);
}

.woocommerce-account .woocommerce-customer-details,
.woocommerce-account .woocommerce-order-details {
  margin-top: clamp(32px, 5vw, 56px);
}

@media (max-width: 900px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 36px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li + li {
    border-top: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--rb-line);
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li:nth-child(2n) {
    border-left: 1px solid var(--rb-line);
  }
}

@media (max-width: 680px) {
  .woocommerce-account #customer_login,
  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li:nth-child(2n) {
    border-left: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
  }

  .woocommerce-account .woocommerce-orders-table__cell-order-actions {
    white-space: normal;
  }

  .woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
    display: block;
    width: 100%;
    margin: 6px 0;
    text-align: center;
  }
}

/* WooCommerce Cart and Checkout Blocks. */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  max-width: none;
  color: var(--rb-text);
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
  gap: clamp(32px, 6vw, 88px);
}

.wp-block-woocommerce-cart .wc-block-components-main,
.wp-block-woocommerce-checkout .wc-block-components-main {
  width: auto;
  padding-right: 0;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar,
.wp-block-woocommerce-checkout .wc-block-components-sidebar {
  width: auto;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--rb-line);
  background: var(--rb-surface);
}

.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wc-block-components-totals-wrapper h2 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}

.wc-block-components-checkout-step {
  padding-left: 52px;
  border-color: var(--rb-line);
}

.wc-block-components-checkout-step__container::after {
  border-color: var(--rb-line);
}

.wc-block-components-checkout-step__description,
.wc-block-components-formatted-money-amount,
.wc-block-components-product-metadata,
.wc-block-components-totals-item__description,
.wc-block-components-address-card address {
  color: var(--rb-text-dim);
}

.wc-block-components-address-card,
.wc-block-components-radio-control,
.wc-block-components-order-summary,
.wc-block-checkout__payment-method .wc-block-components-radio-control {
  border-color: var(--rb-line);
  border-radius: 0;
  background: var(--rb-surface);
}

.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control__option {
  border-color: var(--rb-line);
}

.wc-block-cart-items {
  border-collapse: collapse;
}

.wc-block-cart-items th,
.wc-block-cart-items td,
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary-item {
  border-color: var(--rb-line) !important;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--rb-raised);
}

.wc-block-components-product-name {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.wc-block-components-quantity-selector {
  border-color: var(--rb-line);
  border-radius: 0;
  background: var(--rb-bg);
}

.wc-block-components-quantity-selector input,
.wc-block-components-quantity-selector button {
  color: var(--rb-text) !important;
}

.wc-block-cart-item__remove-link,
.wc-block-components-button.wc-block-components-totals-coupon-link {
  color: var(--rb-text-dim);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wc-block-components-button:not(.is-link) {
  min-height: 52px;
  border: 1px solid var(--rb-accent);
  border-radius: 0;
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wc-block-components-button:not(.is-link):hover {
  background: transparent;
  color: var(--rb-text);
}

.wc-block-components-totals-coupon__form {
  align-items: stretch;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input {
  flex: 1;
}

.wc-block-checkout__actions_row {
  align-items: center;
  gap: 20px;
}

.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button {
  color: var(--rb-text-dim);
}

@media (max-width: 900px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout form.checkout > .col2-set,
  .woocommerce-checkout form.checkout > #order_review_heading,
  .woocommerce-checkout form.checkout > #order_review {
    grid-row: auto;
    grid-column: 1;
  }

  .woocommerce-checkout form.checkout > #order_review_heading {
    margin-top: 44px;
  }

  .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
  .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
    flex-direction: column;
  }

  .wp-block-woocommerce-cart .wc-block-components-main,
  .wp-block-woocommerce-cart .wc-block-components-sidebar,
  .wp-block-woocommerce-checkout .wc-block-components-main,
  .wp-block-woocommerce-checkout .wc-block-components-sidebar {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .woocommerce-cart table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    display: block;
    margin-bottom: 18px;
    border: 1px solid var(--rb-line);
  }

  .woocommerce-cart table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    min-height: 52px;
    border: 0;
    border-bottom: 1px solid var(--rb-line);
  }

  .woocommerce-cart table.shop_table_responsive tr td:last-child,
  .woocommerce-page table.shop_table_responsive tr td:last-child {
    border-bottom: 0;
  }

  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-thumbnail {
    display: block;
    text-align: center !important;
  }

  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-thumbnail::before {
    display: none;
  }

  .woocommerce-cart table.cart img {
    width: min(160px, 42vw);
  }

  .woocommerce-cart table.cart td.actions .coupon {
    display: grid;
    grid-template-columns: 1fr;
  }

  .woocommerce-cart table.cart td.actions .coupon .input-text,
  .woocommerce-cart table.cart td.actions .coupon .button,
  .woocommerce-cart table.cart td.actions > .button {
    float: none;
    width: 100%;
  }

  .woocommerce-cart table.cart td.actions > .button {
    margin-top: 10px;
  }

  .woocommerce-order-received ul.order_details {
    grid-template-columns: 1fr 1fr;
  }

  .wc-block-components-checkout-step {
    padding-left: 0;
  }

  .wc-block-components-checkout-step::before {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }

  .wc-block-checkout__actions_row {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .woocommerce-order-received ul.order_details {
    grid-template-columns: 1fr;
  }

  .wp-block-woocommerce-cart .wc-block-components-sidebar,
  .wp-block-woocommerce-checkout .wc-block-components-sidebar,
  .woocommerce-checkout #order_review,
  .woocommerce-cart .cart-collaterals .cart_totals {
    padding: 18px;
  }
}

/* ── Catalog layout with filter sidebar ──────────────────────────────────── */

.rb-catalog {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(24px, 4vw, 48px);
}

/* Sidebar */
.rb-catalog__sidebar {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Toolbar */
.rb-catalog__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(14px, 2vw, 20px);
  border-bottom: 1px solid var(--rb-line);
}

.rb-catalog__filters-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--rb-line);
  background: transparent;
  color: var(--rb-text);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Loading overlay */
.rb-catalog__loop {
  transition: opacity 200ms var(--rb-ease);
}

.rb-catalog__loop.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Result count inside loop */
.rb-shop-loop__header {
  margin-bottom: clamp(14px, 2vw, 22px);
}

/* ── Filter form ──────────────────────────────────────────────────────────── */

.rb-filter-form {
  display: grid;
  gap: 0;
}

.rb-filter-section {
  padding-block: clamp(16px, 2.5vw, 24px);
  border-bottom: 1px solid var(--rb-line);
}

.rb-filter-section:first-child {
  padding-top: 0;
}

.rb-filter-section__title {
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

/* Price range */
.rb-price-range__track {
  position: relative;
  height: 3px;
  margin: 8px 0 10px;
  background: var(--rb-line);
}

.rb-price-range__fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--rb-accent);
  pointer-events: none;
}

.rb-price-range__thumb {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  pointer-events: none;
}

.rb-price-range__thumb::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  border-radius: 50%;
  background: var(--rb-accent);
  box-shadow: 0 0 0 3px var(--rb-bg);
  cursor: pointer;
  pointer-events: all;
}

.rb-price-range__thumb::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--rb-accent);
  box-shadow: 0 0 0 3px var(--rb-bg);
  cursor: pointer;
  pointer-events: all;
}

.rb-price-range__thumb:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--rb-bg), 0 0 0 5px var(--rb-accent);
}

.rb-price-range__thumb:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px var(--rb-bg), 0 0 0 5px var(--rb-accent);
}

.rb-price-range__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.rb-price-range__value {
  color: var(--rb-text-dim);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Color swatches */
.rb-filter-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rb-color-option {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.rb-color-option__swatch {
  display: block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  background: var(--rb-raised);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 30%);
  transition: box-shadow 150ms var(--rb-ease);
}

.rb-color-option__swatch.is-checked,
.rb-color-option:hover .rb-color-option__swatch {
  box-shadow: 0 0 0 2px var(--rb-bg), 0 0 0 4px var(--rb-accent);
}

.rb-color-option__label {
  font-size: 0.68rem;
  color: var(--rb-text-dim);
}

/* Sizes */
.rb-filter-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rb-size-option {
  display: inline-flex;
  min-width: 42px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--rb-line);
  color: var(--rb-text-dim);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 150ms var(--rb-ease), background 150ms var(--rb-ease), color 150ms var(--rb-ease);
}

.rb-size-option:hover,
.rb-size-option.is-checked {
  border-color: var(--rb-accent);
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

/* Toggle switches */
.rb-filter-toggles {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rb-filter-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--rb-text-dim);
  font-size: 0.72rem;
  font-weight: 600;
}

.rb-filter-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rb-filter-toggle__track {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 36px;
  height: 20px;
  border: 1px solid var(--rb-line);
  border-radius: 10px;
  background: transparent;
  transition: background 200ms var(--rb-ease), border-color 200ms var(--rb-ease);
}

.rb-filter-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rb-text-muted);
  transition: transform 200ms var(--rb-ease), background 200ms var(--rb-ease);
}

.rb-filter-toggle input:checked + .rb-filter-toggle__track {
  border-color: var(--rb-accent);
  background: var(--rb-accent);
}

.rb-filter-toggle input:checked + .rb-filter-toggle__track::after {
  background: var(--rb-accent-ink);
  transform: translateX(16px);
}

.rb-filter-toggle input:focus-visible + .rb-filter-toggle__track {
  outline: 2px solid var(--rb-accent);
  outline-offset: 3px;
}

/* Clear/Apply actions */
.rb-filter-actions {
  display: flex;
  gap: 10px;
  padding-top: clamp(16px, 2.5vw, 24px);
}

.rb-filter-reset {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--rb-line);
  background: transparent;
  color: var(--rb-text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.rb-filter-reset:hover {
  border-color: var(--rb-text-muted);
  color: var(--rb-text);
}

/* ── Responsive catalog ───────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .rb-catalog {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

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

  .rb-catalog__sidebar {
    position: fixed;
    z-index: 400;
    top: 0;
    left: 0;
    width: min(300px, 88vw);
    height: 100%;
    max-height: 100%;
    padding: 24px;
    border-right: 1px solid var(--rb-line);
    background: var(--rb-surface);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 320ms var(--rb-ease);
    box-shadow: 4px 0 40px rgb(0 0 0 / 50%);
  }

  .rb-catalog__sidebar.is-open {
    transform: none;
  }

  .rb-catalog__filters-toggle {
    display: inline-flex;
  }
}

.admin-bar .rb-catalog__sidebar {
  top: 32px;
  height: calc(100% - 32px);
}

@media (max-width: 782px) {
  .admin-bar .rb-catalog__sidebar {
    top: 46px;
    height: calc(100% - 46px);
  }
}

/* Mobile sidebar backdrop (injected by JS) */
.rb-catalog-backdrop {
  display: none;
}

@media (max-width: 820px) {
  .rb-catalog-backdrop {
    display: block;
    position: fixed;
    z-index: 399;
    inset: 0;
    background: rgb(0 0 0 / 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms var(--rb-ease);
  }

  .rb-catalog-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── WayForPay payment method ─────────────────────────────────────────────── */
/* WayForPay for WooCommerce (wordpress.org/plugins/woo-wayforpay).
   Payment logic is handled entirely by the plugin; these rules only
   adjust the gateway logo and the redirect notice in the payment box. */

.wc_payment_method.payment_method_wayforpay label img {
  max-width: 96px;
  max-height: 26px;
  margin-left: 10px;
  vertical-align: middle;
  object-fit: contain;
}

.wc_payment_method.payment_method_wayforpay .payment_box {
  color: var(--rb-text-dim);
}

/* ── Nova Poshta shipping ─────────────────────────────────────────────────── */
/* Common CSS patterns for Nova Poshta WooCommerce shipping plugins.
   Standard .form-row inputs already inherit theme styles from the checkout
   section above. These rules target plugin-specific containers and states.
   Adjust selector prefixes to match the installed plugin's actual markup. */

/* Wrapper rows — most plugins use standard woo form-row; some add own wrappers */
#nova_poshta_city_field,
#nova_poshta_warehouse_field,
.np-field-row,
[class*="nova-post-field"] {
  margin-bottom: 20px;
}

/* City autocomplete — inherits input styles; adds a spinner while searching */
#nova_poshta_city,
.np-city-input,
[id*="nova_post_city"] {
  width: 100%;
}

.np-city-loading #nova_poshta_city,
.np-loading [id*="nova_post_city"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v4M12 18v4M4.93 4.93l2.83 2.83M16.24 16.24l2.83 2.83M2 12h4M18 12h4M4.93 19.07l2.83-2.83M16.24 7.76l2.83-2.83'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

/* Warehouse select — inherits standard select styles */
#nova_poshta_warehouse,
.np-warehouse-select,
[id*="nova_post_warehouse"] {
  width: 100%;
}

/* Delivery type (відділення / поштомат / кур'єр) radio group */
.np-delivery-types,
.nova-post-delivery-types,
[class*="delivery-type-list"] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.np-delivery-types label,
.nova-post-delivery-types label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--rb-line);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
}

.np-delivery-types input[type="radio"]:checked + label,
.nova-post-delivery-types input[type="radio"]:checked + label,
.np-delivery-types label:has(input:checked),
.nova-post-delivery-types label:has(input:checked) {
  border-color: var(--rb-accent);
  background: var(--rb-accent);
  color: var(--rb-accent-ink);
}

/* ── GDPR Cookie Consent banner (WebToffee) ───────────────────────────────── */
/* Overrides for GDPR Cookie Consent by WebToffee (free, wordpress.org/
   plugins/gdpr-cookie-consent). Configure banner colors in the plugin's
   Appearance settings first; these rules only correct radius/font conflicts. */

.wt-cli-cookie-bar-container,
.wt-cli-cookie-popup-container {
  font-family: "Manrope", system-ui, sans-serif;
  border-radius: 0 !important;
}

.wt-cli-settings-btn,
.wt-cli-accept-btn,
.wt-cli-reject-btn {
  border-radius: 0 !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
}

/* ── Product page link & attribute colours ────────────────────────────────── */

/* Short description and tab panel links inherit body text colour instead of
   browser default blue */
.woocommerce-product-details__short-description a,
.woocommerce div.product .woocommerce-tabs .panel a {
  color: var(--rb-text-dim);
}

/* Attribute term links in the "Additional information" tab */
.woocommerce div.product .woocommerce-product-attributes a {
  color: var(--rb-text-dim);
  text-decoration: none;
}

.woocommerce div.product .woocommerce-product-attributes a:hover {
  color: var(--rb-text);
  text-decoration: underline;
}

/* ── Checkout & Cart block notice colours ─────────────────────────────────── */

/* WooCommerce block error notices (e.g. "no payment methods") use a pink/red
   scheme by default. Re-map to the theme surface so they read dark-on-dark. */
.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner.wc-block-components-notice-banner--error,
.wc-block-store-notice.is-error,
[class*="wc-block"][class*="notice"][class*="error"] {
  border-color: var(--rb-line) !important;
  border-top-color: #c0392b !important;
  background: var(--rb-surface) !important;
  color: var(--rb-text) !important;
}

.wc-block-components-notice-banner.is-error svg,
.wc-block-components-notice-banner.is-error path {
  fill: #c0392b;
}

/* Checkout block inputs — boost specificity over WC Blocks defaults */
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-combobox input,
.wp-block-woocommerce-checkout .wc-block-components-textarea,
.wp-block-woocommerce-checkout select,
.wp-block-woocommerce-cart .wc-block-components-text-input input,
.wp-block-woocommerce-cart .wc-block-components-combobox input {
  background: var(--rb-surface) !important;
  color: var(--rb-text) !important;
  border-color: var(--rb-line) !important;
  border-radius: 0 !important;
}

/* Checkout block: fix link colours inside payment/terms text */
.wp-block-woocommerce-checkout a,
.wc-block-checkout__terms a {
  color: var(--rb-text-dim);
}

.wp-block-woocommerce-checkout a:hover,
.wc-block-checkout__terms a:hover {
  color: var(--rb-text);
}
