.admin-bar .site-header { top: 32px; }
.woo-surface .woocommerce-breadcrumb { margin-bottom: .85rem; color: var(--muted); }
.woo-surface h1.product_title, .woocommerce-products-header__title { font: 400 clamp(2.25rem, 4.5vw, 4rem)/1.04 var(--serif); letter-spacing: -.045em; }
.woo-surface .woocommerce-result-count, .woo-surface .woocommerce-ordering { margin: 1rem 0; }
.woocommerce-ordering select { min-height: 2.65rem; padding: .4rem .72rem; border: 1px solid var(--line); border-radius: 0; background: white; }
.woo-surface ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.7rem 1rem; clear: both; }
.woo-surface ul.products::before, .woo-surface ul.products::after { display: none; }
.woo-surface ul.products li.product, .woo-surface ul.products li.product.first, .woo-surface ul.products li.product.last { width: auto; float: none; margin: 0; display: flex; flex-direction: column; min-width: 0; }
.woo-surface ul.products li.product a img { aspect-ratio: 1; object-fit: contain; border: 1px solid #eee; background: #fff; }
.woo-surface ul.products li.product .woocommerce-loop-product__title { padding: 0; font-size: 1rem; font-weight: 500; }
.woo-surface ul.products li.product .price { color: var(--ink); font-size: .95rem; margin-top: .4rem; }
.woo-surface ul.products li.product .button { align-self: flex-start; margin-top: .4rem; }
.woo-surface div.product div.images .woocommerce-product-gallery__wrapper { width: 75%; max-width: 31.5rem; margin-inline: auto; }
.woo-surface div.product div.images .woocommerce-product-gallery__image { background: #fff; border: 1px solid var(--line); }
.woo-surface div.product div.images .woocommerce-product-gallery__wrapper img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.woo-surface div.product .summary .price { color: var(--ink); }
.woo-surface .woocommerce .button, .woo-surface .button:not(.button-outline), .woo-surface .single_add_to_cart_button,
.woo-surface button[name="woocommerce_checkout_place_order"], .woo-surface .wc-block-components-button:not(.is-link),
.woo-surface .wc-block-cart__submit-button { border-radius: 0; background: var(--ink); color: #fff; border: 1px solid var(--ink); min-height: 2.65rem; padding: .6rem 1.05rem; font-weight: 500; text-decoration: none; }
.woo-surface .woocommerce .button:hover, .woo-surface .button:not(.button-outline):hover, .woo-surface .wc-block-components-button:not(.is-link):hover { background: #383838; color: #fff; }
.woo-surface .woocommerce-checkout input.input-text, .woo-surface .woocommerce-checkout textarea, .woo-surface .woocommerce-checkout select:not([multiple]),
.woo-surface .woocommerce-cart input.input-text { min-height: 2.75rem; border: 1px solid #aaa; border-radius: 0; padding: .55rem .7rem; background: #fff; }
.woo-surface #customer_details { margin-bottom: 2rem; }
.woo-surface .woocommerce-cart-form .quantity input { width: 4rem; }
.proteingo-cart-quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--line); background: white; }
.woo-surface .proteingo-cart-quantity .quantity { display: block; width: 2.65rem; border: 0; }
.woo-surface .woocommerce-cart-form .proteingo-cart-quantity .qty { width: 100%; height: 100%; min-height: 2.4rem; padding: .1rem; border: 0; text-align: center; appearance: textfield; }
.proteingo-cart-quantity .qty::-webkit-inner-spin-button, .proteingo-cart-quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.proteingo-cart-quantity button { min-width: 2.4rem; min-height: 2.4rem; padding: 0; border: 0; background: white; font-size: 1.05rem; }
.proteingo-cart-quantity button[data-cart-step="-1"] { border-inline-end: 1px solid var(--line); }
.proteingo-cart-quantity button[data-cart-step="1"] { border-inline-start: 1px solid var(--line); }
.proteingo-cart-quantity button:hover:not(:disabled) { background: var(--soft); }
.proteingo-auto-update-cart .woocommerce-cart-form button[name="update_cart"] { display: none; }
.woo-surface table.shop_table, .woo-surface .wc-block-components-order-summary { border-color: var(--line); border-radius: 0; }
.woo-surface .woocommerce-message, .woo-surface .woocommerce-info { border-top-color: var(--ink); background: var(--soft); }
.woo-surface .woocommerce-message::before, .woo-surface .woocommerce-info::before { color: var(--ink); }
.woo-surface #payment { background: var(--soft); border-radius: 0; }
.woocommerce-cart .woo-surface .page-title, .woocommerce-checkout .woo-surface .page-title { margin-bottom: 1.7rem; }
.woo-surface ul.products .proteingo-catalog-cart { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; margin-top: auto; }
.proteingo-catalog-quantity { display: inline-flex; width: min(100%, 8.6rem); border: 1px solid var(--line); }
.proteingo-catalog-quantity:has(.qty[type="hidden"]) { display: none; }
.woo-surface .proteingo-catalog-quantity .quantity { display: block; float: none; flex: 1; min-width: 0; margin: 0; border: 0; }
.woo-surface .proteingo-catalog-quantity .qty { width: 100%; min-height: 2.75rem; padding: .15rem; border: 0; border-radius: 0; background: white; text-align: center; font-variant-numeric: tabular-nums; appearance: textfield; }
.proteingo-catalog-quantity .qty::-webkit-inner-spin-button, .proteingo-catalog-quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.proteingo-catalog-quantity button { flex: 0 0 2.75rem; min-height: 2.75rem; padding: 0; border: 0; background: white; font-size: 1.15rem; }
.proteingo-catalog-quantity button[data-quantity-down] { border-inline-end: 1px solid var(--line); }
.proteingo-catalog-quantity button[data-quantity-up] { border-inline-start: 1px solid var(--line); }
.proteingo-catalog-quantity button:hover:not(:disabled) { background: var(--soft); }
.woo-surface ul.products .proteingo-catalog-cart .button { width: 100%; margin: 0; padding-inline: .45rem; }
.woo-surface ul.products .proteingo-catalog-cart .button, .woo-surface div.product button.single_add_to_cart_button.button { background: #fff; color: var(--ink); border-color: var(--ink); }
.woo-surface ul.products .proteingo-catalog-cart .button:hover, .woo-surface div.product button.single_add_to_cart_button.button:hover { background: var(--soft); color: var(--ink); }
.proteingo-catalog-cart .button[aria-disabled="true"] { cursor: wait; opacity: .6; }
.proteingo-catalog-view-cart { font-size: .875rem; text-decoration: underline; text-underline-offset: .18em; }
.proteingo-catalog-view-cart:hover, .proteingo-catalog-view-cart:focus-visible { color: #d8642b; }
.proteingo-catalog-status:not(.screen-reader-text) { font-size: .875rem; color: #922b20; }
@media (max-width: 840px) {
  .woo-surface ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .woo-surface ul.products { gap: 1.4rem .65rem; }
  .woo-surface ul.products li.product .button { display: flex; width: 100%; justify-content: center; }
}
