/* ==========================================================================
   Whytelight — shop
   Archive band, masonry grid, the print page and its configurator, basket,
   and enough of WooCommerce's cart/checkout to stop them looking unstyled.
   ========================================================================== */

/* --- Shop head ---------------------------------------------------------- */

.wl-shophead {
  background: var(--coll-bg);
  color: var(--c-white);
  transition: background var(--dur-slow) var(--ease-out);
  padding-block: 9.375rem 3.125rem;
}

.wl-shophead__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: end;
}

.wl-shophead__kicker {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.wl-shophead__title {
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.wl-shophead__tools {
  display: grid;
  gap: 1.125rem;
  justify-items: end;
}

.wl-shopsearch {
  width: 100%;
  max-width: 440px;
}

.wl-shopsearch__input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  padding-block: 0.75rem;
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: 1.625rem;
  letter-spacing: 0.03em;
  color: var(--c-white);
  outline: none;
  transition: border-color var(--dur-fast) ease;
}

.wl-shopsearch__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.wl-shopsearch__input:focus {
  border-bottom-color: var(--c-white);
}

/* Collection filters: underlined labels. */
.wl-filters {
  display: flex;
  gap: 1.375rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wl-filter {
  border-bottom: 1.5px solid transparent;
  padding-block: 0.3125rem;
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-white);
  opacity: 0.6;
  transition: opacity var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.wl-filter:hover,
.wl-filter:focus-visible {
  opacity: 1;
  color: var(--c-white);
  text-decoration: none;
}

.wl-filter.is-on {
  opacity: 1;
  border-bottom-color: var(--c-white);
}

/* Refine row: rounded pills. */
.wl-refine {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2.125rem;
  padding-top: 1.375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  animation: wl-fade 0.5s ease both;
}

.wl-refine__label {
  color: rgba(255, 255, 255, 0.6);
  margin-right: 0.75rem;
}

.wl-pill {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.5625rem 1.125rem;
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.wl-pill:hover,
.wl-pill:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-white);
  text-decoration: none;
}

.wl-pill.is-on {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: var(--c-white);
}

/* --- Grid --------------------------------------------------------------- */

.wl-shopgrid {
  padding-block: 3.75rem 7.5rem;
}

.wl-shopgrid__count {
  margin-bottom: 1.875rem;
}

/* Masonry via CSS columns, so each print keeps its own aspect ratio. */
.wl-masonry {
  columns: 3;
  column-gap: 1.875rem;
}

.wl-masonry > * {
  break-inside: avoid;
  margin-bottom: 2.75rem;
  display: block;
}

/* Fixed grids, for "related" rows. */
.wl-grid {
  display: grid;
  gap: 1.875rem;
  list-style: none;
}

.wl-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --- Related ------------------------------------------------------------ */

.wl-related__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.125rem;
}

.wl-related__title {
  font-size: var(--fs-h2-sm);
  letter-spacing: 0.04em;
  margin-bottom: 2.125rem;
}

.wl-related__head .wl-related__title {
  margin-bottom: 0;
}

/* --- The print page ----------------------------------------------------- */

.wl-print__split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 100vh;
}

.wl-print__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--coll-bg);
  transition: background 0.8s ease;
  display: grid;
  place-items: center;
  padding: 7.5rem 3.75rem 3.75rem;
  overflow: hidden;
}

.wl-print__figure {
  position: relative;
  width: 100%;

  /* As in the design: no wider than 640px, and never taller than the panel
     (the screen less the header and the caption line). */
  max-width: min(640px, 100%, calc((100vh - 200px) * var(--ratio, 1.5)));
  margin: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  animation: wl-rise 1s ease both;
}

.wl-print__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wl-print__stagemeta {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 1.875rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}

.wl-print__panel {
  padding: 9.375rem 4.375rem 6.25rem;
  max-width: 640px;
}

.wl-print__back {
  display: inline-block;
  margin-bottom: 2.5rem;
}

.wl-print__collection {
  margin-bottom: 1rem;
}

.wl-print__collection a {
  color: inherit;
}

.wl-print__collection a:hover {
  color: inherit;
  text-decoration: underline;
}

.wl-print__title {
  font-size: clamp(2.75rem, 4.2vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.375rem;
}

.wl-print__story {
  color: var(--t-muted);
  font-size: 1.0625rem;
  max-width: 48ch;
  margin-bottom: 2.75rem;
}

.wl-print__story p {
  margin-bottom: 1rem;
}

.wl-print__story p:last-child {
  margin-bottom: 0;
}

/* --- Configurator ------------------------------------------------------- */

.wl-configurator {
  display: grid;
  gap: 2.125rem;
}

.wl-optgroup {
  border: 0;
  padding: 0;
  margin: 0;
}

.wl-optgroup[hidden] {
  display: none;
}

.wl-optgroup__label {
  font-family: var(--f-body);
  font-weight: var(--fw-label);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--t-caption);
  padding: 0;
  margin-bottom: 0.875rem;
}

.wl-optgroup__options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* The paper list stacks, because each row carries a note and a price. */
.wl-optgroup--list .wl-optgroup__options {
  display: grid;
  gap: 0.5rem;
}

.wl-option {
  display: block;
}

.wl-option[hidden] {
  display: none;
}

/* The real radio, kept accessible but out of sight. */
.wl-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.wl-option__box {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  justify-content: space-between;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-ui);
  padding: 0.75rem 1.125rem;
  background: var(--c-white);
  color: var(--c-ink);
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}

.wl-optgroup--list .wl-option__box {
  padding: 0.875rem 1.125rem;
}

.wl-option__box:hover {
  border-color: var(--c-ink);
}

/* Selected. */
.wl-option input:checked + .wl-option__box {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-white);
}

/* Focus ring on the box, since the input itself is invisible. */
.wl-option input:focus-visible + .wl-option__box {
  outline: 2px solid var(--a-base);
  outline-offset: 2px;
}

.wl-option__text {
  display: grid;
  gap: 2px;
}

.wl-option__label {
  font-size: 0.84375rem;
  font-weight: 500;
}

.wl-optgroup--list .wl-option__label {
  font-size: 0.90625rem;
  font-weight: var(--fw-label);
}

.wl-option__note {
  font-size: 0.8125rem;
  color: var(--t-caption);
  transition: color var(--dur-fast) ease;
}

.wl-option input:checked + .wl-option__box .wl-option__note {
  color: var(--t-footer-link);
}

.wl-option__add {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  color: var(--a-link);
  flex: none;
  transition: color var(--dur-fast) ease;
}

.wl-option input:checked + .wl-option__box .wl-option__add {
  color: var(--a-warm);
}

.wl-option__swatch {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex: none;
}

/* Frame colour and size sit side by side on a wide panel. */
.wl-optgroup--swatch .wl-option__box {
  padding: 0.5625rem 1rem 0.5625rem 0.5625rem;
  justify-content: flex-start;
}

/* --- Price and add to basket -------------------------------------------- */

.wl-configurator__foot {
  border-top: 1px solid var(--c-line);
  padding-top: 1.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  flex-wrap: wrap;
}

.wl-configurator__price {
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* WooCommerce wraps prices in its own span; neutralise its styling. */
.wl-configurator__price .woocommerce-Price-amount {
  font: inherit;
  color: inherit;
}

.wl-configurator__config {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--t-caption);
}

.wl-configurator__terms {
  font-size: 0.84375rem;
  color: var(--t-caption);
}

/* --- WooCommerce cart, checkout and notices -----------------------------
   The theme drops WooCommerce's stylesheets, so these pages need enough here
   to be usable. Deliberately plain: they are transactional, and the design
   never specified them. Worth a proper pass before launch.
   -------------------------------------------------------------------------- */

.woocommerce-notices-wrapper:not(:empty) {
  max-width: var(--wrap-mid);
  margin: 0 auto;
  padding: 1rem var(--gutter) 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  border-left: 2px solid var(--a-base);
  background: var(--c-cream);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.woocommerce-error {
  border-left-color: #9a2c2c;
}

.woocommerce-message .button,
.woocommerce-info .button {
  order: 2;
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

/*
 * The classic forms only. WooCommerce also puts woocommerce-checkout and
 * woocommerce-account on <body>, so unscoped these squeezed the whole page,
 * footer included, to the mid width.
 */
.woocommerce .cart,
.woocommerce-cart-form,
form.woocommerce-checkout,
.woocommerce-account .woocommerce,
.woocommerce-order-received .woocommerce-order {
  max-width: var(--wrap-mid);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}

.woocommerce table.shop_table th {
  font-family: var(--f-body);
  font-weight: var(--fw-label);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--t-caption);
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  display: inline-block;
  background: var(--c-ink);
  color: var(--c-white);
  border: 0;
  border-radius: var(--radius-ui);
  padding: 1rem 1.75rem;
  font-family: var(--f-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  cursor: pointer;
}

.woocommerce .button:hover {
  background: var(--t-body);
  color: var(--c-white);
  text-decoration: none;
}

.woocommerce form .form-row {
  display: grid;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.woocommerce form .form-row label {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--t-caption);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--c-line-strong);
  border-radius: 0;
  padding: 0.75rem 0;
  font-size: 1rem;
  background: transparent;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--c-ink);
}

.woocommerce h2,
.woocommerce h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

#order_review_heading,
.woocommerce-billing-fields h3 {
  margin-top: 2.5rem;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1200px) {
  .wl-masonry { columns: 2; }
  .wl-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .wl-shophead {
    padding-block: 7rem 2.5rem;
  }

  .wl-shophead__top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .wl-shophead__tools {
    justify-items: start;
  }

  .wl-filters {
    justify-content: flex-start;
  }

  /* The sticky split becomes two stacked blocks: a sticky panel on a phone
     leaves no room for the thing it is sticky against. */
  .wl-print__split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .wl-print__stage {
    position: static;
    height: auto;
    min-height: 60vh;
    padding: 7rem var(--gutter) 3.5rem;
  }

  .wl-print__stagemeta {
    position: static;
    margin-top: 1.5rem;
  }

  .wl-print__panel {
    padding: 3.5rem var(--gutter) 4.5rem;
    max-width: none;
  }

  .wl-print__title {
    font-size: 2.25rem;
  }

  .wl-configurator__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .wl-configurator__foot .wl-btn {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .wl-masonry { columns: 1; }
  .wl-grid--4 { grid-template-columns: 1fr; }

  .wl-shophead__title { font-size: 2.5rem; }

  .wl-shopsearch__input { font-size: 1.25rem; }
}

/* --- Configurator states ---------------------------------------------- */

/* An option that clashes with the current picks. Still clickable: choosing it
   moves the other groups to the nearest combination that exists. */
.wl-option.is-unavailable .wl-option__box {
  opacity: 0.45;
}

.wl-option.is-unavailable input:checked + .wl-option__box {
  opacity: 1;
}

.wl-configurator__unavailable {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--a-link);
}

.wl-configurator__unavailable[hidden] {
  display: none;
}

/* Touch screens: every option at least a fingertip tall. */
@media (pointer: coarse) {
  .wl-option__box {
    min-height: 44px;
  }

  .wl-optgroup__options {
    gap: 0.625rem;
  }
}

/* --- Tablet (641-900px) ------------------------------------------------
   The print still stacks above the configurator, but the photograph no longer
   takes a whole phone-height screen and the options sit in a readable column
   rather than stretching edge to edge.
   -------------------------------------------------------------------------- */

@media (min-width: 641px) and (max-width: 900px) {
  .wl-print__stage {
    min-height: 0;
    padding: 6.5rem var(--gutter) 3rem;
  }

  .wl-print__figure {
    max-width: min(560px, 100%);
    margin-inline: auto;
  }

  .wl-print__panel {
    max-width: 640px;
    margin-inline: auto;
  }

  .wl-configurator__foot {
    flex-direction: row;
    align-items: center;
  }
}

/* --- WooCommerce block basket and checkout ------------------------------
   On a current install the Basket and Checkout pages are built from
   WooCommerce blocks rather than the classic templates. Their own stylesheet
   handles layout; these rules bring the type, buttons and links into the
   design's system.
   -------------------------------------------------------------------------- */

.wc-block-cart,
.wc-block-checkout,
.wp-block-woocommerce-empty-cart-block,
.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control input,
.wc-block-components-select select,
.wc-block-components-textarea {
  font-family: var(--f-body);
}

/* Basket and checkout pages: the heading lines up with the table under it. */
.wl-main--shop .wl-pagehead {
  padding-bottom: 2rem;
}

/* A working page, not a showcase: a smaller title, so the form starts on screen. */
.wl-main--shop .wl-pagehead__title {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
}

.wl-main--shop .wl-prose {
  max-width: none;
  padding-bottom: var(--sp-section);
}

/*
 * The checkout and basket blocks are "wide" blocks, which the prose column
 * breaks out to the mid wrap. Here the column is already the full wrap, so
 * that pushed the form out past the page title. Keep them in the column.
 */
.wl-main--shop .wl-prose .alignwide,
.wl-main--shop .wl-prose .alignfull {
  width: auto;
  max-width: none;
  margin-inline: 0;
}

/* --- Checkout, in the site's own type and fields ----------------------- */

.wc-block-components-checkout-step__title,
.wc-block-components-checkout-order-summary__title-text {
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}

.wc-block-components-checkout-step__description,
.wc-block-checkout__terms,
.wc-block-components-address-form__address_2-toggle {
  font-size: 0.875rem;
  color: var(--t-muted);
}

.wc-block-checkout__terms a,
.wc-block-components-address-form__address_2-toggle {
  color: var(--a-link);
}

/* Fields: hairline boxes in the site's border colour, ink when in use. */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox .components-combobox-control input,
.wc-block-components-select .wc-blocks-components-select__select,
.wc-block-components-select select,
.wc-block-components-textarea {
  border: 1px solid var(--c-line-strong) !important;
  border-radius: var(--radius-ui) !important;
  background: var(--c-white) !important;
  color: var(--c-ink) !important;
  box-shadow: none !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-components-combobox .components-combobox-control input:focus,
.wc-block-components-select select:focus,
.wc-block-components-textarea:focus {
  border-color: var(--c-ink) !important;
  box-shadow: 0 0 0 1px var(--c-ink) !important;
  outline: none;
}

.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-select label {
  color: var(--t-caption);
}

.wc-block-components-checkbox__input,
.wc-block-components-radio-control__input {
  accent-color: var(--c-ink);
  border-color: var(--c-line-strong) !important;
}

.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option {
  border-radius: var(--radius-ui);
}

/* Order summary: a cream panel, held clear of the fixed header. */
.wc-block-checkout__sidebar {
  top: 110px;
}

.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--c-cream);
  border: 1px solid var(--c-line) !important;
  border-radius: var(--radius-img);
}

.wp-block-woocommerce-checkout-order-summary-block {
  font-size: 0.9375rem;
}

/* On a narrow screen the summary folds into a bar at the top of the form;
   the panel styling left an empty cream strip above it there. */
@media (max-width: 782px) {
  .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
    background: none;
    border: 0 !important;
  }
}

.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-totals-item__value,
.wc-block-components-order-summary-item__total-price {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  letter-spacing: 0;
  color: var(--c-ink);
}

.wc-block-components-order-summary-item__quantity {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-cream);
}

.wc-block-components-checkout-place-order-button {
  width: 100%;
  min-height: 3.5rem;
}

@media (max-width: 640px) {
  .wc-block-components-checkout-step__title,
  .wc-block-components-checkout-order-summary__title-text {
    font-size: 1.5rem;
  }
}

.wc-block-cart-items__header,
.wc-block-cart .wc-block-cart__totals-title {
  font-family: var(--f-mono);
  font-size: var(--fs-caption);
  font-weight: 400;
  letter-spacing: var(--ls-caption);
  text-transform: uppercase;
  color: var(--t-caption);
}

.wc-block-cart-item__product .wc-block-components-product-name {
  font-size: 1.5rem;
}

.wc-block-components-product-details,
.wc-block-components-product-metadata {
  font-size: 0.8125rem;
  color: var(--t-muted);
}

.wc-block-components-quantity-selector {
  border-radius: var(--radius-ui);
  border-color: var(--c-line-strong);
}

/* Empty basket: the design's quiet line, not WooCommerce's 170px sad face. */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  display: none;
}

.wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block h2,
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-components-checkout-step__title,
.wc-block-components-title {
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  letter-spacing: 0.02em;
  color: var(--c-ink);
}

.wc-block-cart__empty-cart__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
}

.wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title) {
  font-size: 1.75rem;
  margin-block: 3rem 1.5rem;
}

.wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots::before {
  color: var(--t-caption);
}

/* "New in store" and other product grids. */
.wc-block-grid__product-link,
.wc-block-grid__product a,
.wc-block-components-product-name {
  color: var(--c-ink);
  text-decoration: none;
}

.wc-block-grid__product-title,
.wc-block-components-product-name {
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: 1.375rem;
  letter-spacing: 0.03em;
}

.wc-block-grid__product-price,
.wc-block-components-product-price {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--t-caption);
}

.wc-block-grid__product-image img {
  border-radius: var(--radius-img);
}

/* Buttons: the design's ink button everywhere. */
.wp-block-woocommerce-empty-cart-block .wp-block-button__link,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-components-button:not(.is-link) {
  background: var(--c-ink);
  color: var(--c-white);
  border: 0;
  border-radius: var(--radius-ui);
  padding: 0.875rem 1.5rem;
  font-family: var(--f-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur-fast) ease;
}

.wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wc-block-components-button:not(.is-link):hover {
  background: #474238;
  color: var(--c-white);
}

.wc-block-components-button:not(.is-link):focus-visible,
.wc-block-grid__product-add-to-cart .wp-block-button__link:focus-visible {
  outline: 2px solid var(--a-base);
  outline-offset: 2px;
}

/* Totals: prices in the display face, as in the design's basket drawer. */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: 1.75rem;
}
