/* WooCommerce 11.x — classic templates and block checkout/cart. */
.woocommerce, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { --wc-primary: var(--biz-navy); --wc-red: #8f1d2c; color: var(--biz-navy); }
.woocommerce .woocommerce-breadcrumb { margin: 1.5rem 0 3rem; color: var(--biz-ink-soft); font-size: .75rem; }
.woocommerce .woocommerce-breadcrumb a { color: inherit; text-underline-offset: .2rem; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 2rem; }
.woocommerce .woocommerce-ordering select { min-height: 3rem; padding: .7rem 2.5rem .7rem .8rem; border: .0625rem solid var(--biz-line); background: var(--biz-white); }

.woocommerce ul.products, .wc-block-product-template { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem) !important; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .wc-block-product { float: none !important; width: auto !important; margin: 0 !important; padding: 0 0 1.5rem !important; background: var(--biz-white); border: .0625rem solid var(--biz-line); transition: border-color .3s var(--biz-ease), box-shadow .3s var(--biz-ease); }
.woocommerce ul.products li.product:hover, .wc-block-product:hover { border-color: rgba(154,116,66,.6); box-shadow: var(--biz-shadow); transform: none; }
.woocommerce ul.products li.product a img, .wc-block-components-product-image img { aspect-ratio: 4 / 3; margin: 0 0 1.25rem !important; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .wc-block-components-product-name { padding: 0 1.25rem !important; color: var(--biz-navy); font: 400 clamp(1.25rem,2vw,1.7rem)/1.25 'Libre Baskerville',Georgia,serif; }
.woocommerce ul.products li.product .price, .wc-block-components-product-price { padding: 0 1.25rem; color: var(--biz-navy) !important; font-weight: 700; }
.woocommerce ul.products li.product .button { width: calc(100% - 2.5rem); margin: 1rem 1.25rem 0 !important; }
.woocommerce span.onsale { top: .75rem !important; left: .75rem !important; min-width: 0; min-height: 0; padding: .45rem .65rem; border-radius: 0; color: #fff; background: var(--biz-navy); font-size: .68rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.biz-product-format { display: inline-block; margin-bottom: .75rem; color: var(--biz-brass); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.woocommerce div.product { padding: clamp(2rem,5vw,5rem) 0; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { margin-bottom: 3rem; }
.woocommerce div.product .product_title { font-size: clamp(2.3rem,5vw,4.5rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--biz-navy); font-size: 1.3rem; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.woocommerce .quantity .qty { min-height: 3.15rem; padding: .75rem; border: .0625rem solid var(--biz-navy); }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 2rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 0; padding: 0; border-bottom: .0625rem solid var(--biz-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.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 a { padding: 1rem 1.25rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--biz-navy); border-bottom: .18rem solid var(--biz-brass); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 52rem; margin: 2rem 0; }
.woocommerce table.shop_attributes { border: .0625rem solid var(--biz-line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 1rem; border-color: var(--biz-line); }

.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { margin: 0 0 1.5rem !important; padding: 1.2rem 1.3rem 1.2rem 3rem !important; border: .0625rem solid var(--biz-line) !important; border-top: .18rem solid var(--biz-brass) !important; border-radius: 0 !important; color: var(--biz-navy) !important; background: var(--biz-paper) !important; }
.woocommerce-error { border-top-color: #8f1d2c !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--biz-brass); }

.woocommerce table.shop_table { border: .0625rem solid var(--biz-line); border-collapse: collapse; border-radius: 0; }
.woocommerce table.shop_table th { padding: 1rem; color: #fff; background: var(--biz-navy); }
.woocommerce table.shop_table td { padding: 1rem; border-color: var(--biz-line); }
.woocommerce-cart table.cart img { width: 6rem; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: .5rem; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 12rem; min-height: 3.15rem; padding: .7rem; border: .0625rem solid var(--biz-navy); }
.cart_totals, .woocommerce-checkout-review-order, .wc-block-components-sidebar { padding: clamp(1.25rem,3vw,2rem); background: var(--biz-paper); border: .0625rem solid var(--biz-line); }
.woocommerce .cart-collaterals .cart_totals { width: min(100%,36rem); }

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password { padding: clamp(1.5rem,4vw,2.75rem); border: .0625rem solid var(--biz-line); border-radius: 0; background: var(--biz-white); }
.woocommerce form .form-row { position: relative; margin: 0 0 1.25rem; padding: .8rem 0 0; }
.woocommerce form .form-row label { color: var(--biz-ink-soft); font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.woocommerce form .form-row .select2-container .select2-selection--single { min-height: 3.4rem; border: 0; border-bottom: .09rem solid var(--biz-navy); border-radius: 0; background: transparent; }
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered { padding: 1rem 0 .55rem; line-height: 1.8; }
.woocommerce-checkout #payment { border-radius: 0; background: var(--biz-paper); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--biz-line); }
.woocommerce-checkout #payment div.payment_box { color: var(--biz-navy); background: #fff; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }

/* My Account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: minmax(13rem,17rem) minmax(0,1fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; position: sticky; top: 7rem; padding: .65rem; background: var(--biz-paper); border: .0625rem solid var(--biz-line); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; border-bottom: .0625rem solid var(--biz-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: flex; min-height: 3.4rem; align-items: center; padding: .8rem 1rem; color: var(--biz-navy); font-size: .78rem; font-weight: 700; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; transition: color .22s ease, background-color .22s ease; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation a:hover { color: #fff; background: var(--biz-navy); }
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { font-size: 1.1rem; }
.biz-account-welcome { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: .0625rem solid var(--biz-line); }
.biz-account-welcome h2 { margin: 0 0 .75rem; font-size: clamp(2rem,4vw,3.4rem); }
.biz-account-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.biz-account-card { min-height: 12rem; display: flex; flex-direction: column; padding: 1.4rem; color: var(--biz-navy); background: var(--biz-white); border: .0625rem solid var(--biz-line); text-decoration: none; transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.biz-account-card:hover { background: #fff; border-color: var(--biz-brass); box-shadow: 0 .8rem 2rem rgba(19,38,58,.09); }
.biz-account-card strong { font: 400 1.25rem/1.3 'Libre Baskerville',Georgia,serif; }
.biz-account-card span { margin-top: .75rem; color: var(--biz-ink-soft); font-size: .85rem; }
.biz-account-card i { margin-top: auto; font-style: normal; }
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.woocommerce-Address { float: none !important; width: auto !important; padding: 1.5rem; border: .0625rem solid var(--biz-line); }
.woocommerce-Address-title h2 { font-size: 1.45rem; }
.woocommerce-pagination ul.page-numbers { display: flex; border: 0 !important; gap: .35rem; }
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.woocommerce-pagination ul.page-numbers a, .woocommerce-pagination ul.page-numbers span { min-width: 2.8rem; min-height: 2.8rem; display: grid; place-items: center; border: .0625rem solid var(--biz-line); }
.woocommerce-pagination ul.page-numbers span.current { color: #fff; background: var(--biz-navy); }

/* Woo blocks */
.wc-block-components-button { border-radius: 0 !important; background: var(--biz-navy) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input { border-radius: 0 !important; }
.wc-block-components-product-badge { border-radius: 0 !important; }
.wc-block-components-order-summary .wc-block-components-order-summary-item { padding: 1rem 0; }

@media (max-width: 62rem) {
  .woocommerce ul.products, .wc-block-product-template { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce-MyAccount-navigation { position: static; overflow-x: auto; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; min-width: max-content; }
  .woocommerce-account .woocommerce-MyAccount-navigation li { border-right: .0625rem solid var(--biz-line); border-bottom: 0; }
}
@media (max-width: 43.75rem) {
  .woocommerce ul.products, .wc-block-product-template, .biz-account-cards, .woocommerce-Addresses { grid-template-columns: 1fr; }
  .woocommerce-cart table.cart td.actions .coupon { display: grid; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; }
  .woocommerce table.shop_table_responsive tr td::before { color: var(--biz-ink-soft); }
}
