/* Full-site commerce and system flows */
.bb-flow-main {
  width: 100%;
  max-width: none;
  padding-top: 0;
}

.bb-flow-heading {
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bb-line);
}

.bb-flow-heading .bb-eyebrow,
.bb-page-header .bb-eyebrow {
  margin: 0 0 6px;
  color: var(--bb-action);
  font-size: 12px;
  font-weight: 800;
}

.bb-flow-heading h1,
.bb-page-header h1 {
  max-width: 780px;
  margin: 0;
  color: var(--bb-ink);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.bb-flow-heading > p:last-child {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--bb-muted);
}

.bb-flow-main .bb-page-content {
  padding-top: 34px;
  padding-bottom: 34px;
}

.bb-no-js-notice {
  margin-bottom: 22px;
  border: 1px solid var(--bb-line);
  border-left: 4px solid var(--bb-brand-700);
  border-radius: var(--bb-radius);
  padding: 18px;
  background: var(--bb-surface-soft);
  color: var(--bb-ink);
}

.bb-no-js-notice p {
  margin: 5px 0 10px;
  color: var(--bb-muted);
}

.bb-no-js-notice a {
  color: var(--bb-action);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bb-flow-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
  margin-bottom: 54px;
  border-top: 1px solid var(--bb-line);
  border-bottom: 1px solid var(--bb-line);
}

.bb-flow-trust .bb-trust-item {
  display: grid;
  min-height: 94px;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
}

.bb-flow-trust .bb-trust-item + .bb-trust-item {
  border-left: 1px solid var(--bb-line);
}

.bb-flow-trust .bb-trust-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--bb-line);
  background: var(--bb-surface-soft);
  color: var(--bb-brand-700);
}

.bb-flow-trust .bb-icon {
  width: 24px;
  height: 24px;
}

.bb-flow-trust b {
  color: var(--bb-ink);
  font-size: 14px;
}

.bb-flow-trust small {
  color: var(--bb-muted);
  font-size: 12px;
}

/* Native and block notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
  position: relative;
  border: 1px solid var(--bb-line) !important;
  border-left: 4px solid var(--bb-action) !important;
  border-radius: var(--bb-radius) !important;
  background: var(--bb-surface-soft) !important;
  color: var(--bb-ink) !important;
  box-shadow: none !important;
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
  border-left-color: var(--bb-error) !important;
}

.woocommerce-message,
.wc-block-components-notice-banner.is-success {
  border-left-color: var(--bb-success) !important;
}

.wc-block-components-notice-banner > svg {
  fill: currentColor;
}

.wc-block-components-notice-banner__content a,
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  min-height: 30px;
  color: var(--bb-action);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wc-block-components-notice-snackbar {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background: var(--bb-brand-900);
  color: #ffffff;
  box-shadow: 0 12px 36px rgb(20 30 30 / 0.18);
}

.bb-cart-undo {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(360px, calc(100% - 48px));
  min-height: 56px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--bb-radius);
  background: var(--bb-brand-900);
  color: #ffffff;
  box-shadow: 0 12px 36px rgb(20 30 30 / 0.22);
}

.bb-cart-undo span {
  min-width: 0;
  flex: 1;
  font-size: 14px;
  font-weight: 650;
}

.bb-cart-undo button {
  min-width: 64px;
  min-height: 36px;
  border: 0;
  border-radius: var(--bb-radius-sm);
  background: #ffffff;
  color: var(--bb-brand-900);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.bb-cart-undo button:focus-visible {
  outline: 3px solid var(--bb-focus);
  outline-offset: 3px;
}

.bb-cart-undo button:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* Shared Woo block controls */
.wc-block-components-button,
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-select .wc-block-components-select__select,
.wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
  border-radius: var(--bb-radius) !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-select .wc-block-components-select__select,
.wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
  min-height: 48px;
  border: 1px solid var(--bb-control-line) !important;
  background: var(--bb-field) !important;
  color: var(--bb-ink) !important;
  box-shadow: none !important;
}

.wc-blocks-components-select__container {
  border-color: var(--bb-control-line) !important;
  background: var(--bb-field) !important;
  color: var(--bb-ink) !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.wc-block-components-select .wc-block-components-select__select:focus,
.woocommerce input.input-text:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
  border-color: var(--bb-action) !important;
  outline: 2px solid color-mix(in srgb, var(--bb-action) 34%, transparent);
  outline-offset: 1px;
}

.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label {
  color: var(--bb-muted) !important;
}

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  min-height: 50px;
  border: 1px solid var(--bb-action) !important;
  border-radius: var(--bb-radius) !important;
  background: var(--bb-action) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 140ms var(--bb-ease-out);
}

.wc-block-components-button:not(.is-link):active,
.wc-block-cart__submit-button:active,
.wc-block-components-checkout-place-order-button:active {
  transform: scale(0.97);
}

.wc-block-components-button:disabled,
.wc-block-components-button[aria-disabled="true"] {
  border-color: var(--bb-disabled) !important;
  background: var(--bb-disabled) !important;
  color: var(--bb-on-disabled) !important;
  cursor: not-allowed;
}

/* Cart */
.wp-block-woocommerce-cart {
  font-size: 14px;
}

.wc-block-cart .wc-block-components-sidebar-layout {
  align-items: start;
  gap: clamp(34px, 5vw, 76px);
}

.wc-block-cart .wc-block-components-main {
  width: calc(66.666% - 38px);
  padding-right: 0;
}

.wc-block-cart .wc-block-components-sidebar {
  position: sticky;
  top: 118px;
  width: 33.333%;
  margin-top: 0;
  border-left: 1px solid var(--bb-line);
  padding-left: clamp(24px, 3vw, 42px);
}

.wc-block-cart-items {
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
}

.wc-block-cart-items thead th {
  border-bottom: 1px solid var(--bb-line) !important;
  padding: 0 0 14px !important;
  color: var(--bb-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.wc-block-cart-items__row td {
  border-bottom: 1px solid var(--bb-line) !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  vertical-align: top !important;
}

.wc-block-cart-item__image {
  width: 126px !important;
  padding-right: 18px !important;
}

.wc-block-cart-item__image img {
  width: 108px !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bb-surface-soft);
}

.wc-block-cart-item__product {
  padding-right: 24px !important;
}

.wc-block-components-product-name {
  display: inline-block;
  max-width: 44ch;
  color: var(--bb-ink) !important;
  font-size: 15px !important;
  font-weight: 780;
  line-height: 1.35;
}

.wc-block-components-product-metadata,
.wc-block-components-product-details {
  margin-top: 8px !important;
  color: var(--bb-muted) !important;
  font-size: 12px !important;
}

.wc-block-components-product-details li {
  margin: 2px 0;
}

.wc-block-components-quantity-selector {
  min-width: 112px;
  min-height: 42px;
  border: 1px solid var(--bb-control-line) !important;
  border-radius: var(--bb-radius) !important;
  background: var(--bb-field);
}

.wc-block-components-quantity-selector input {
  min-width: 38px;
  color: var(--bb-ink) !important;
}

.wc-block-components-quantity-selector button {
  min-width: 34px !important;
  min-height: 40px !important;
  color: var(--bb-ink) !important;
}

.wc-block-cart-item__remove-link {
  min-height: 34px;
  margin-top: 8px !important;
  color: var(--bb-muted) !important;
  font-size: 12px !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.wc-block-cart-item__total {
  color: var(--bb-ink);
  font-weight: 800;
}

.wc-block-cart__totals-title {
  margin: 0 0 18px !important;
  color: var(--bb-ink);
  font-size: 22px !important;
  line-height: 1.2;
  text-align: left !important;
}

.wc-block-components-totals-wrapper {
  border-top: 1px solid var(--bb-line) !important;
  padding: 17px 0 !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
  color: var(--bb-ink);
}

.wc-block-components-totals-footer-item {
  font-size: 18px !important;
  font-weight: 850 !important;
}

.bowbar-cart-shipping-note {
  display: block;
  margin-top: 8px;
  color: var(--bb-muted);
  font-size: 12px;
  line-height: 1.5;
}

.wc-block-cart__submit-container {
  margin-top: 18px;
}

.wc-block-components-payment-method-icons {
  justify-content: flex-start !important;
  gap: 8px;
}

.wc-block-components-payment-method-icon {
  max-height: 24px !important;
  filter: none !important;
}

.wp-block-woocommerce-empty-cart-block {
  max-width: 1040px;
  margin: 0 auto;
}

.wc-block-cart__empty-cart__title {
  margin: 12px 0 34px !important;
  color: var(--bb-ink);
  font-size: clamp(24px, 3vw, 36px) !important;
}

.wc-block-cart__empty-cart__title::before {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border: 1px solid var(--bb-line);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--bb-surface) 0 36%, transparent 37%),
    var(--bb-surface-soft);
  content: "";
}

.wp-block-woocommerce-empty-cart-block .wp-block-separator {
  border-color: var(--bb-line);
}

.wp-block-woocommerce-empty-cart-block .wp-block-heading {
  color: var(--bb-ink);
  font-size: 22px;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
  gap: 18px;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
  border: 0;
  text-align: left;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bb-surface-soft);
}

/* Classic cart compatibility */
.woocommerce-cart-form,
.cart-collaterals {
  min-width: 0;
}

.woocommerce-cart-form table.shop_table {
  width: 100%;
  border: 0 !important;
  border-collapse: collapse !important;
}

.woocommerce-cart-form table.shop_table th {
  border-bottom: 1px solid var(--bb-line);
  padding: 12px 10px;
  color: var(--bb-muted);
  font-size: 11px;
  text-align: left;
}

.woocommerce-cart-form table.shop_table td {
  border-bottom: 1px solid var(--bb-line);
  padding: 20px 10px;
}

.woocommerce-cart-form .product-thumbnail img {
  width: 86px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bb-surface-soft);
}

.woocommerce-cart-form .product-remove a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--bb-muted) !important;
}

.woocommerce-cart-form .quantity input {
  width: 72px;
  min-height: 42px;
  border: 1px solid var(--bb-control-line);
  background: var(--bb-field);
  color: var(--bb-ink);
  text-align: center;
}

.cart-collaterals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 48px;
  margin-top: 36px;
}

.cart-collaterals .cart_totals {
  width: auto !important;
  grid-column: 2;
  border-left: 1px solid var(--bb-line);
  padding-left: 32px;
}

.cart-collaterals .shop_table {
  border: 0 !important;
}

.cart-collaterals .shop_table th,
.cart-collaterals .shop_table td {
  border-bottom: 1px solid var(--bb-line);
  padding: 14px 0 !important;
}

/* Checkout */
.wc-block-checkout .wc-block-components-sidebar-layout {
  align-items: start;
}

.b27_antom_payments_ckp_text {
  color: #515864 !important;
}

.wc-block-checkout .wc-block-components-main {
  padding-right: 0;
}

.wc-block-checkout .wc-block-components-sidebar {
  border-left: 1px solid var(--bb-line);
  padding-left: clamp(24px, 3vw, 42px);
}

@media (min-width: 1024px) {
  .wc-block-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(32px, 4vw, 64px);
  }

  .wc-block-checkout .wc-block-components-main,
  .wc-block-checkout .wc-block-components-sidebar {
    width: auto !important;
    min-width: 0;
  }

  .wc-block-checkout .wc-block-components-sidebar {
    position: sticky;
    top: 118px;
    align-self: start;
  }
}

.wc-block-components-checkout-step {
  margin: 0 0 14px !important;
  border-bottom: 1px solid var(--bb-line);
  padding: 8px 0 30px !important;
}

.wc-block-components-checkout-step__heading {
  margin-bottom: 16px !important;
}

.wc-block-components-checkout-step__title {
  color: var(--bb-ink) !important;
  font-size: 21px !important;
  font-weight: 820 !important;
  line-height: 1.25 !important;
}

.wc-block-checkout__guest-checkout-notice {
  border-left: 3px solid var(--bb-brand-700);
  padding: 10px 14px;
  background: var(--bb-surface-soft);
  color: var(--bb-muted);
  font-size: 12px;
}

.wc-block-components-address-form {
  gap: 14px !important;
}

.wc-block-components-address-form__address_2-toggle {
  min-height: 38px;
  color: var(--bb-action) !important;
  font-weight: 720;
}

.wc-block-components-checkbox {
  min-height: 44px;
  align-items: center;
}

.wc-block-components-checkbox__input {
  width: 20px !important;
  height: 20px !important;
  border-color: var(--bb-control-line) !important;
  background: var(--bb-field) !important;
}

.wc-block-components-checkbox__input:checked {
  border-color: var(--bb-action) !important;
  background: var(--bb-action) !important;
}

.wc-block-components-radio-control__option {
  min-height: 58px;
  border: 1px solid var(--bb-line) !important;
  border-radius: var(--bb-radius) !important;
  background: var(--bb-field) !important;
}

.wc-block-components-radio-control__option + .wc-block-components-radio-control__option {
  margin-top: 8px;
}

.wc-block-components-radio-control__option-checked {
  border-color: var(--bb-action) !important;
  box-shadow: inset 3px 0 0 var(--bb-action);
}

.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option {
  border: 1px solid var(--bb-line) !important;
  background: var(--bb-field) !important;
}

.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content {
  color: var(--bb-muted) !important;
}

.wc-block-components-checkout-order-summary__title {
  min-height: 54px;
  border-bottom: 1px solid var(--bb-line) !important;
  color: var(--bb-ink);
}

.wc-block-components-order-summary-item {
  border-bottom: 1px solid var(--bb-line) !important;
  padding: 18px 0 !important;
}

.wc-block-components-order-summary-item__image {
  width: 72px !important;
}

.wc-block-components-order-summary-item__image img {
  width: 64px !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bb-surface-soft);
}

.wc-block-components-order-summary-item__description,
.wc-block-components-order-summary-item__total-price {
  color: var(--bb-ink) !important;
}

.wc-block-checkout__terms {
  color: var(--bb-muted) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.wc-block-checkout__terms a {
  color: var(--bb-action) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wc-block-components-validation-error {
  color: var(--bb-error) !important;
  font-size: 12px !important;
  font-weight: 700;
}

.wc-block-components-spinner::after {
  border-color: var(--bb-line);
  border-top-color: var(--bb-action);
}

.bb-is-busy {
  cursor: progress;
}

.wc-block-components-skeleton__element {
  background: var(--bb-surface-soft) !important;
  opacity: 0.72;
  animation: bb-flow-pulse 950ms linear infinite alternate;
}

@keyframes bb-flow-pulse {
  to {
    opacity: 0.42;
  }
}

/* Classic checkout compatibility */
.woocommerce form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  gap: clamp(36px, 5vw, 72px);
}

.woocommerce form.checkout .col2-set,
.woocommerce form.checkout #order_review_heading,
.woocommerce form.checkout #order_review {
  float: none;
  width: auto;
}

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

.woocommerce form.checkout #order_review {
  border-left: 1px solid var(--bb-line);
  padding-left: 32px;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border: 0 !important;
  border-collapse: collapse !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  border-bottom: 1px solid var(--bb-line) !important;
  padding: 14px 0 !important;
}

/* Facebook-only account gate */
.bb-account-guest .bb-page-content {
  padding-top: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(46px, 7vw, 90px);
}

.bb-auth-page {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  border: 1px solid var(--bb-line);
  background: var(--bb-surface);
}

.bb-auth-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--bb-brand-solid) 88%, #152b2a), color-mix(in srgb, var(--bb-brand-solid) 68%, #77485a));
  color: #ffffff;
}

.bb-auth-visual::before,
.bb-auth-visual::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 0.22);
  content: "";
}

.bb-auth-visual::before {
  inset: 34px;
}

.bb-auth-visual::after {
  top: 92px;
  right: 0;
  width: 58%;
  height: 1px;
  border-width: 1px 0 0;
}

.bb-auth-visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-auth-visual-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 51%, rgb(255 255 255 / 0.07) 51% 52%, transparent 52%),
    linear-gradient(24deg, transparent 0 67%, rgb(255 255 255 / 0.06) 67% 68%, transparent 68%);
}

.bb-auth-visual-copy {
  position: absolute;
  right: clamp(34px, 6vw, 72px);
  bottom: clamp(40px, 7vw, 76px);
  left: clamp(34px, 6vw, 72px);
  z-index: 1;
}

.bb-auth-visual-copy p {
  max-width: 12ch;
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 850;
  line-height: 1.06;
}

.bb-auth-visual-copy span {
  color: rgb(255 255 255 / 0.78);
}

.bb-auth-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 78px);
}

.bb-auth-brand {
  margin: 0 0 22px;
  color: var(--bb-action);
  font-size: 13px;
  font-weight: 850;
}

.bb-auth-card h1 {
  margin: 0;
  color: var(--bb-ink);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
}

.bb-auth-subtitle {
  margin: 16px 0 28px;
  color: var(--bb-muted);
}

.bb-auth-native,
.bowbar-fb-login {
  width: 100%;
}

.bowbar-fb-login [hidden] {
  display: none !important;
}

.bowbar-fb-login__button,
.bowbar-fb-login__send-code,
.bowbar-fb-login__verify-code,
.bowbar-fb-login__complete-registration,
.bowbar-fb-login__continue {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 50px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #28589c !important;
  border-radius: var(--bb-radius) !important;
  background: #28589c !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 140ms var(--bb-ease-out);
}

.bowbar-fb-login__button:active,
.bowbar-fb-login__send-code:active,
.bowbar-fb-login__verify-code:active,
.bowbar-fb-login__complete-registration:active {
  transform: scale(0.97);
}

.bowbar-fb-login__registration {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.bowbar-fb-login__registration label {
  display: grid;
  gap: 6px;
  color: var(--bb-muted);
  font-size: 12px;
  font-weight: 700;
}

.bowbar-fb-login__registration input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--bb-control-line);
  border-radius: var(--bb-radius);
  padding: 0 14px;
  background: var(--bb-field);
  color: var(--bb-ink);
}

.bowbar-fb-login__note,
.bb-auth-note,
.bowbar-fb-login__message {
  color: var(--bb-muted) !important;
  font-size: 12px !important;
  line-height: 1.55;
}

.bb-auth-note {
  margin: 18px 0 0;
}

.bb-auth-unavailable,
.bowbar-fb-login-error {
  border-left: 3px solid var(--bb-error);
  padding: 12px 14px;
  background: var(--bb-surface-soft);
  color: var(--bb-error);
}

.bowbar-fb-login__processing {
  position: fixed !important;
  z-index: 1000 !important;
  display: grid !important;
  inset: 0 !important;
  place-items: center;
  padding: 24px;
  background: rgb(20 30 30 / 0.56) !important;
}

.bowbar-fb-login__processing[hidden] {
  display: none !important;
}

.bowbar-fb-login__processing-card {
  width: min(440px, 100%);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  padding: 34px;
  background: var(--bb-surface);
  color: var(--bb-ink);
  box-shadow: 0 18px 60px rgb(20 30 30 / 0.22);
  text-align: center;
  transform-origin: center;
  transition:
    opacity 200ms var(--bb-ease-out),
    transform 200ms var(--bb-ease-out);
}

.bowbar-fb-login__processing-spinner {
  display: block;
  width: 34px;
  height: 34px;
  margin: 18px auto;
  border: 3px solid var(--bb-line);
  border-top-color: var(--bb-action);
  border-radius: 50%;
  animation: bb-flow-spin 700ms linear infinite;
}

@keyframes bb-flow-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Authenticated account */
.bb-account-authenticated .bb-page-content {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: 70px;
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
}

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
  grid-row: 1;
  grid-column: 1 / -1;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: auto;
  grid-row: 2;
  grid-column: 1;
  border-right: 1px solid var(--bb-line);
  padding-right: 22px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  min-height: 46px;
  align-items: center;
  border-left: 3px solid transparent;
  padding: 0 14px;
  color: var(--bb-muted);
  font-weight: 720;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  border-left-color: var(--bb-action);
  background: var(--bb-surface-soft);
  color: var(--bb-ink);
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: auto;
  min-width: 0;
  grid-row: 2;
  grid-column: 2;
}

.bowbar-account-dashboard-card h1,
.bb-account-section-heading h1,
.bowbar-account-address-overview h2,
.bowbar-account-empty-state h2,
.woocommerce-MyAccount-content > h2 {
  margin: 0;
  color: var(--bb-ink);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
}

.bb-account-section-heading {
  margin-bottom: 28px;
}

.bb-account-section-heading .bowbar-account-kicker {
  margin: 0 0 5px;
}

.bowbar-account-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
}

.bowbar-account-brand strong {
  color: var(--bb-brand-900);
  font-size: 15px;
}

.bowbar-account-brand span,
.bowbar-account-kicker {
  color: var(--bb-action);
  font-size: 11px;
  font-weight: 850;
}

.bowbar-account-greeting {
  margin: 14px 0 2px;
  color: var(--bb-ink);
  font-size: 18px;
  font-weight: 760;
}

.bowbar-account-summary,
.bowbar-account-address-overview > p,
.bowbar-account-empty-state > p {
  color: var(--bb-muted);
}

.bowbar-account-context-note {
  max-width: 720px;
  border-left: 3px solid var(--bb-brand-700);
  padding: 12px 14px;
  background: var(--bb-surface-soft);
  color: var(--bb-muted);
  font-size: 13px;
}

.bowbar-account-quick-links,
.bowbar-account-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.bowbar-account-quick-card,
.bowbar-account-address-card {
  display: grid;
  min-height: 172px;
  align-content: start;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  padding: 24px;
  background: var(--bb-surface);
}

.bowbar-account-quick-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--bb-action);
}

.bowbar-account-quick-icon .bb-icon {
  width: 24px;
  height: 24px;
}

.bowbar-account-quick-card strong,
.bowbar-account-address-card h3 {
  color: var(--bb-ink);
  font-size: 17px;
}

.bowbar-account-quick-card small,
.bowbar-account-address-text {
  margin-top: 5px;
  color: var(--bb-muted);
}

.bowbar-account-address-card .bowbar-btn {
  align-self: end;
  margin-top: 20px;
}

.bowbar-btn {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bb-action);
  border-radius: var(--bb-radius);
  padding: 0 18px;
  color: var(--bb-action);
  font-weight: 780;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 140ms var(--bb-ease-out);
}

.bowbar-btn:active {
  transform: scale(0.97);
}

.bowbar-btn--primary {
  background: var(--bb-action);
  color: #ffffff;
}

.woocommerce-orders-table,
.woocommerce-table--order-details,
.woocommerce-table--customer-details {
  width: 100%;
  border: 0 !important;
  border-collapse: collapse !important;
  color: var(--bb-ink);
}

.woocommerce-orders-table th,
.woocommerce-table--order-details th {
  border-bottom: 1px solid var(--bb-line) !important;
  padding: 13px 10px !important;
  color: var(--bb-muted);
  font-size: 11px;
  text-align: left;
}

.woocommerce-orders-table td,
.woocommerce-table--order-details td {
  border-bottom: 1px solid var(--bb-line) !important;
  padding: 17px 10px !important;
}

.woocommerce-orders-table .woocommerce-button,
.woocommerce-MyAccount-content .woocommerce-button {
  min-height: 38px !important;
  padding: 0 13px !important;
  font-size: 12px !important;
}

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

.woocommerce-Address {
  width: auto !important;
  min-height: 190px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  padding: 22px;
}

.woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.woocommerce-Address-title h3 {
  color: var(--bb-ink);
}

.woocommerce-Address address {
  color: var(--bb-muted);
  font-style: normal;
}

.woocommerce-EditAccountForm fieldset,
.woocommerce-address-fields {
  max-width: 780px;
}

.woocommerce form .form-row {
  margin-bottom: 14px;
}

.woocommerce form .form-row label {
  margin-bottom: 5px;
  color: var(--bb-muted);
  font-size: 12px;
  font-weight: 720;
}

/* Order result, pay, and detail */
.bb-checkout-flow.bb-order-result .bb-page-content {
  width: min(960px, calc(100% - 64px));
  padding-top: clamp(36px, 6vw, 76px);
}

.bb-order-result-shell {
  display: grid;
  gap: 28px;
}

.bb-order-verification {
  width: min(680px, 100%);
  margin: 0 auto;
  border-top: 4px solid var(--bb-brand-700);
  padding-top: clamp(28px, 5vw, 48px);
}

.bb-order-verification h1 {
  margin: 0;
  color: var(--bb-ink);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.06;
}

.bb-order-verification header > p:last-child,
.bb-order-verification-context {
  color: var(--bb-muted);
}

.bb-order-verification form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  padding: clamp(20px, 4vw, 32px);
  background: var(--bb-surface-soft);
}

.bb-order-verification-context a {
  color: var(--bb-action);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bb-order-result-hero {
  border-top: 4px solid var(--bb-success);
  padding: clamp(28px, 5vw, 52px) 0 8px;
}

.bb-order-result-hero.is-error {
  border-top-color: var(--bb-error);
}

.bb-order-result-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--bb-success);
  font-size: 24px;
  font-weight: 900;
}

.bb-order-result-hero.is-error .bb-order-result-icon {
  color: var(--bb-error);
}

.bb-order-result-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--bb-ink);
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.05;
}

.bb-order-result-hero > p:not(.bb-eyebrow) {
  max-width: 720px;
  color: var(--bb-muted);
}

.bb-order-guest-note {
  border-left: 3px solid var(--bb-brand-700);
  padding: 10px 14px;
  background: var(--bb-surface-soft);
  font-size: 13px;
}

.bb-order-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.bb-order-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--bb-line);
  border-bottom: 1px solid var(--bb-line);
}

.bb-order-overview > div {
  min-width: 0;
  padding: 20px;
}

.bb-order-overview > div + div {
  border-left: 1px solid var(--bb-line);
}

.bb-order-overview dt {
  color: var(--bb-muted);
  font-size: 11px;
}

.bb-order-overview dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--bb-ink);
  font-weight: 780;
}

.woocommerce-order-details,
.woocommerce-customer-details {
  margin-top: 18px;
}

.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-order-pay h2 {
  color: var(--bb-ink);
  font-size: 22px;
}

.woocommerce-customer-details address {
  border: 1px solid var(--bb-line) !important;
  border-radius: var(--bb-radius) !important;
  padding: 20px !important;
  background: var(--bb-surface-soft);
  color: var(--bb-muted);
}

#order_review {
  display: grid;
  gap: 24px;
}

#payment {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius) !important;
  background: var(--bb-surface-soft) !important;
}

#payment .payment_box {
  background: var(--bb-surface) !important;
  color: var(--bb-muted) !important;
}

/* Legal, generic, search, and safe system states */
.bb-legal-page .bb-page-main {
  width: 100%;
  max-width: none;
}

.bb-legal-page .bb-page-content {
  width: min(920px, calc(100% - 64px));
  padding-top: clamp(34px, 6vw, 76px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.bb-legal-page .bb-page-content > h1:first-child {
  margin: 0 0 34px;
  color: var(--bb-ink);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
}

.bb-legal-page .bb-page-content h2 {
  margin: 44px 0 12px;
  color: var(--bb-ink);
  font-size: 22px;
}

.bb-legal-page .bb-page-content p,
.bb-legal-page .bb-page-content li {
  color: var(--bb-muted);
  line-height: 1.8;
}

.bb-legal-page .bb-page-content a {
  color: var(--bb-action);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.error404 .bb-page-main {
  display: grid;
  min-height: 64vh;
  place-items: center;
  padding-top: 52px;
  padding-bottom: 72px;
}

.error404 .bb-empty-state {
  width: min(720px, 100%);
  text-align: left;
}

.bb-empty-state h1 {
  margin: 0;
  color: var(--bb-ink);
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.03;
}

.bb-empty-state > p:not(.bb-eyebrow) {
  max-width: 620px;
  color: var(--bb-muted);
}

.bb-empty-search {
  max-width: 560px;
  margin-top: 28px;
}

.bb-empty-search .search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.bb-empty-search input[type="search"] {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--bb-control-line);
  border-radius: var(--bb-radius);
  padding: 0 14px;
  background: var(--bb-field);
  color: var(--bb-ink);
}

.bb-empty-search input[type="submit"] {
  min-height: 48px;
  border: 1px solid var(--bb-action);
  border-radius: var(--bb-radius);
  padding: 0 18px;
  background: var(--bb-action);
  color: #ffffff;
  font-weight: 780;
}

.bb-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.search-results .bb-post {
  border-bottom: 1px solid var(--bb-line);
  padding: 24px 0;
}

.search-results .bb-post h2 {
  margin: 0;
  font-size: 22px;
}

.search-no-results .bb-empty-state {
  padding: 68px 0;
}

/* Responsive flow layout */
@media (max-width: 1023px) {
  .wc-block-cart .wc-block-components-sidebar {
    top: 98px;
  }

  .wc-block-checkout .wc-block-components-sidebar-layout {
    display: block;
  }

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

  .wc-block-checkout .wc-block-components-sidebar {
    position: static;
    margin-top: 28px;
    border-top: 1px solid var(--bb-line);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }

  .bb-auth-page {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  }

  .woocommerce-account .woocommerce {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 32px;
  }

  .bb-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-order-overview > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--bb-line);
  }

  .bb-order-overview > div:nth-child(4) {
    border-top: 1px solid var(--bb-line);
  }
}

@media (max-width: 781px) {
  .bb-cart-undo {
    right: 12px;
    bottom: calc(var(--bb-bottom-nav-height) + 88px);
    width: calc(100% - 24px);
  }

  .bb-flow-heading {
    padding-top: 26px;
    padding-bottom: 20px;
  }

  .bb-flow-heading h1 {
    font-size: 32px;
  }

  .bb-flow-main .bb-page-content {
    width: 100%;
    padding: 22px 12px 30px;
  }

  .bb-flow-trust {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .bb-flow-trust .bb-trust-item {
    min-height: 72px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
  }

  .bb-flow-trust .bb-trust-item + .bb-trust-item {
    border-top: 1px solid var(--bb-line);
    border-left: 0;
  }

  .bb-flow-trust .bb-trust-icon {
    width: 40px;
    height: 40px;
  }

  .wc-block-cart .wc-block-components-sidebar-layout,
  .wc-block-checkout .wc-block-components-sidebar-layout {
    display: block;
  }

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

  .wc-block-cart .wc-block-components-sidebar,
  .wc-block-checkout .wc-block-components-sidebar {
    position: static;
    margin-top: 28px;
    border-top: 1px solid var(--bb-line);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }

  .wc-block-checkout .wc-block-components-sidebar {
    display: none !important;
  }

  .wc-block-cart-items thead {
    display: none;
  }

  .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    padding: 18px 0;
    border-bottom: 1px solid var(--bb-line);
  }

  .wc-block-cart-items__row td {
    display: block !important;
    border: 0 !important;
    padding: 0 !important;
  }

  .wc-block-cart-item__image {
    grid-row: 1 / span 2 !important;
    grid-column: 1 !important;
    width: 96px !important;
    padding-right: 14px !important;
  }

  .wc-block-cart-item__image img {
    width: 82px !important;
  }

  .wc-block-cart-item__product {
    grid-row: 1 !important;
    grid-column: 2 / -1 !important;
    padding-right: 0 !important;
  }

  .wc-block-cart-item__total {
    grid-row: 2 !important;
    grid-column: 2 / -1 !important;
    margin-top: 10px;
    text-align: right !important;
  }

  .wc-block-cart__submit-container {
    position: fixed !important;
    z-index: 22;
    right: 0;
    bottom: var(--bb-bottom-nav-height) !important;
    left: 0;
    margin-right: 0;
    margin-left: 0;
    border-top: 1px solid var(--bb-line);
    padding: 10px 12px;
    background: color-mix(in srgb, var(--bb-surface) 96%, transparent);
    backdrop-filter: blur(14px);
  }

  .wc-block-checkout__actions {
    position: static !important;
    margin: 0 !important;
    border: 0;
    padding: 0 !important;
    background: transparent;
    backdrop-filter: none;
  }

  .wc-block-checkout__actions_row {
    position: fixed !important;
    z-index: 22;
    right: 0;
    bottom: var(--bb-bottom-nav-height) !important;
    left: 0;
    margin-right: 0 !important;
    margin-left: 0 !important;
    border-top: 1px solid var(--bb-line);
    padding: 10px 12px !important;
    background: color-mix(in srgb, var(--bb-surface) 96%, transparent);
    backdrop-filter: blur(14px);
  }

  .bb-cart-filled .bb-page-content,
  .bb-checkout-flow:not(.bb-order-result):not(.bb-order-pay) .bb-page-content {
    padding-bottom: calc(112px + var(--bb-bottom-nav-height));
  }

  .cart-collaterals,
  .woocommerce form.checkout {
    grid-template-columns: 1fr;
  }

  .cart-collaterals .cart_totals,
  .woocommerce form.checkout #order_review_heading,
  .woocommerce form.checkout #order_review {
    width: 100% !important;
    grid-column: 1;
    border-top: 1px solid var(--bb-line);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }

  .bb-auth-page {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .bb-auth-visual {
    min-height: 240px;
  }

  .bb-auth-visual-copy {
    right: 26px;
    bottom: 28px;
    left: 26px;
  }

  .bb-auth-visual-copy p {
    max-width: 15ch;
    font-size: 30px;
  }

  .bb-auth-card {
    padding: 32px 24px 38px;
  }

  .woocommerce-account .woocommerce {
    display: block;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    overflow-x: auto;
    margin-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid var(--bb-line);
    padding-right: 0;
    scrollbar-width: none;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    width: max-content;
    min-width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a {
    min-width: max-content;
    border-bottom: 3px solid transparent;
    border-left: 0;
    padding: 0 16px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    border-bottom-color: var(--bb-action);
  }

  .bowbar-account-quick-links,
  .bowbar-account-address-grid,
  .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table,
  .woocommerce-orders-table tbody,
  .woocommerce-orders-table tr,
  .woocommerce-orders-table td {
    display: block;
    width: 100%;
  }

  .woocommerce-orders-table tr {
    border-bottom: 1px solid var(--bb-line);
    padding: 14px 0;
  }

  .woocommerce-orders-table td {
    display: grid;
    grid-template-columns: minmax(92px, 0.4fr) minmax(0, 1fr);
    border: 0 !important;
    padding: 6px 0 !important;
  }

  .woocommerce-orders-table td::before {
    color: var(--bb-muted);
    font-size: 11px;
    font-weight: 750;
  }

  .bb-checkout-flow.bb-order-result .bb-page-content,
  .bb-legal-page .bb-page-content {
    width: calc(100% - 24px);
  }
}

@media (max-width: 520px) {
  .bb-flow-heading {
    width: calc(100% - 24px);
  }

  .bb-flow-heading h1 {
    font-size: 29px;
  }

  .bb-flow-heading > p:last-child {
    font-size: 13px;
  }

  .wc-block-cart-items__row {
    grid-template-columns: 80px minmax(0, 1fr) !important;
  }

  .wc-block-cart-item__image {
    width: 88px !important;
  }

  .wc-block-cart-item__image img {
    width: 74px !important;
  }

  .wc-block-components-product-name {
    font-size: 14px !important;
  }

  .bb-auth-visual {
    min-height: 220px;
  }

  .bb-auth-card {
    padding: 28px 20px 34px;
  }

  .bb-auth-card h1 {
    font-size: 30px;
  }

  .bb-order-overview {
    grid-template-columns: 1fr;
  }

  .bb-order-overview > div + div,
  .bb-order-overview > div:nth-child(3) {
    border-top: 1px solid var(--bb-line);
    border-left: 0;
  }

  .bb-empty-search .search-form {
    grid-template-columns: 1fr;
  }
}

@media (hover: hover) and (pointer: fine) {
  .wc-block-components-button:not(.is-link):not(:disabled):hover,
  .wc-block-cart__submit-button:hover,
  .wc-block-components-checkout-place-order-button:hover,
  .bowbar-btn--primary:hover {
    border-color: var(--bb-action-hover) !important;
    background: var(--bb-action-hover) !important;
  }

  .bowbar-account-quick-card:hover,
  .bowbar-account-address-card:hover {
    border-color: var(--bb-action);
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    color: var(--bb-action);
  }
}

:root[data-theme="dark"] .wp-block-woocommerce-cart,
:root[data-theme="dark"] .wp-block-woocommerce-checkout,
:root[data-theme="dark"] .wc-block-cart,
:root[data-theme="dark"] .wc-block-checkout,
:root[data-theme="dark"] .wc-block-components-sidebar-layout,
:root[data-theme="dark"] .wc-block-components-main,
:root[data-theme="dark"] .wc-block-components-sidebar,
:root[data-theme="dark"] .woocommerce-MyAccount-content,
:root[data-theme="dark"] .woocommerce-MyAccount-navigation,
:root[data-theme="dark"] .bb-auth-page,
:root[data-theme="dark"] .bowbar-account-quick-card,
:root[data-theme="dark"] .bowbar-account-address-card,
:root[data-theme="dark"] .woocommerce-Address,
:root[data-theme="dark"] .bb-order-result-shell {
  background: var(--bb-surface) !important;
  color: var(--bb-ink) !important;
}

:root[data-theme="dark"] .wc-block-components-totals-wrapper,
:root[data-theme="dark"] .wc-block-components-checkout-step,
:root[data-theme="dark"] .wc-block-components-checkout-order-summary__title,
:root[data-theme="dark"] .wc-block-components-order-summary-item,
:root[data-theme="dark"] .wc-block-cart-items__row td,
:root[data-theme="dark"] .woocommerce-orders-table th,
:root[data-theme="dark"] .woocommerce-orders-table td,
:root[data-theme="dark"] .woocommerce-table--order-details th,
:root[data-theme="dark"] .woocommerce-table--order-details td {
  border-color: var(--bb-line) !important;
}

:root[data-theme="dark"] .wc-block-components-product-name,
:root[data-theme="dark"] .wc-block-components-totals-item__label,
:root[data-theme="dark"] .wc-block-components-totals-item__value,
:root[data-theme="dark"] .wc-block-components-checkout-step__title,
:root[data-theme="dark"] .wc-block-components-order-summary-item__description,
:root[data-theme="dark"] .wc-block-components-order-summary-item__total-price,
:root[data-theme="dark"] .wc-block-cart__totals-title,
:root[data-theme="dark"] .wc-block-components-formatted-money-amount,
:root[data-theme="dark"] .wc-block-components-product-price,
:root[data-theme="dark"] .wc-block-components-radio-control__label,
:root[data-theme="dark"] .wc-block-components-checkbox__label {
  color: var(--bb-ink) !important;
}

:root[data-theme="dark"] .wc-block-components-product-metadata,
:root[data-theme="dark"] .wc-block-components-product-details,
:root[data-theme="dark"] .wc-block-components-totals-item__description,
:root[data-theme="dark"] .wc-block-checkout__terms,
:root[data-theme="dark"] .wc-block-components-radio-control__description {
  color: var(--bb-muted) !important;
}

:root[data-theme="dark"] .wc-block-components-radio-control__option,
:root[data-theme="dark"] .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option,
:root[data-theme="dark"] .wc-block-components-address-card,
:root[data-theme="dark"] .wc-block-components-panel,
:root[data-theme="dark"] .wc-block-components-totals-coupon,
:root[data-theme="dark"] .wc-block-components-totals-shipping,
:root[data-theme="dark"] .wc-block-components-order-summary {
  border-color: var(--bb-line) !important;
  background: var(--bb-field) !important;
  color: var(--bb-ink) !important;
}

:root[data-theme="dark"] .wc-block-components-radio-control__option-checked,
:root[data-theme="dark"] .wc-block-components-radio-control__option--checked-option-highlighted {
  border-color: var(--bb-action) !important;
  background: color-mix(in srgb, var(--bb-action) 11%, var(--bb-field)) !important;
}

:root[data-theme="dark"] .wc-block-components-quantity-selector,
:root[data-theme="dark"] .wc-block-components-quantity-selector input,
:root[data-theme="dark"] .wc-block-components-quantity-selector button {
  border-color: var(--bb-control-line) !important;
  background: var(--bb-field) !important;
  color: var(--bb-ink) !important;
}

:root[data-theme="dark"] .wc-block-components-payment-method-icon {
  border-radius: 3px;
  background: #ffffff;
  padding: 2px;
}

:root[data-theme="dark"] .wc-block-checkout__payment-method iframe,
:root[data-theme="dark"] .wc-stripe-elements-field,
:root[data-theme="dark"] #stripe-card-element,
:root[data-theme="dark"] .payment_method_stripe iframe,
:root[data-theme="dark"] .payment_method_antom_payments iframe {
  color-scheme: light;
  border-radius: var(--bb-radius);
  background: #ffffff !important;
}

:root[data-theme="dark"] .bowbar-fb-login__processing {
  background: rgb(0 0 0 / 0.68) !important;
}

:root[data-theme="dark"] .bowbar-fb-login__processing-card,
:root[data-theme="dark"] .bowbar-fb-login__registration input {
  border-color: var(--bb-line);
  background: var(--bb-surface);
  color: var(--bb-ink);
}

:root[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
:root[data-theme="dark"] .bowbar-account-context-note,
:root[data-theme="dark"] .bb-order-guest-note,
:root[data-theme="dark"] .woocommerce-customer-details address,
:root[data-theme="dark"] #payment,
:root[data-theme="dark"] #payment .payment_box {
  border-color: var(--bb-line) !important;
  background: var(--bb-surface-soft) !important;
  color: var(--bb-ink) !important;
}

:root[data-theme="dark"] .wc-block-components-button:not(.is-link),
:root[data-theme="dark"] .wc-block-cart__submit-button,
:root[data-theme="dark"] .wc-block-components-checkout-place-order-button,
:root[data-theme="dark"] .bb-empty-search input[type="submit"],
:root[data-theme="dark"] .bowbar-btn--primary {
  border-color: #963854 !important;
  background: #963854 !important;
  color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
  .bowbar-fb-login__processing-card {
    transform: none;
  }

  .bowbar-fb-login__processing-spinner {
    animation-duration: 1.4s !important;
  }

  .wc-block-components-skeleton__element {
    animation: none;
    opacity: 0.58;
  }
}
