/* Limit the fix to the audited empty-cart recommendation grid. */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products {
  margin-inline: 0;
}

/* Keep existing icon artwork; enlarge only its interactive box. */
@media (max-width: 767px) {
  #brx-header button#brxe-4f3137 {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

#brx-header #brxe-sytsng > a.mini-cart-link {
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Absorb Stripe's documented-by-observation -4px focus gutter inside its
   own outer elements. Do not clip the page or alter iframe internals. */
body.single-product .summary #payment-method-message,
body.single-product .summary #wcpay-express-checkout-element {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 4px;
}

.weebtoys-fit-guide {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid #e7e0ef;
  border-radius: 8px;
  background: #f9f7fc;
  color: #252132;
  font-size: 16px;
  line-height: 1.5;
}

.weebtoys-fit-guide p {
  margin: 0;
}

.weebtoys-fit-guide p + p {
  margin-top: 6px;
}

#brx-header button#brxe-4f3137:focus-visible,
#brx-header #brxe-sytsng > a.mini-cart-link:focus-visible {
  outline: 2px solid #5b3d91;
  outline-offset: 2px;
}

/* Woo Blocks keeps a 132px intrinsic product column at the smallest size.
   Preserve its four-column placement while allowing the text track to shrink. */
@media (max-width: 359px) {
  body.woocommerce-cart table.wc-block-cart-items {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
  }
  body.woocommerce-cart .wc-block-cart-items__row {
    grid-template-columns: 64px minmax(0, 1fr) 0 auto;
  }
  body.woocommerce-cart .wc-block-cart-item__image {
    width: 64px;
  }
  body.woocommerce-cart .wc-block-cart-item__product {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
