/* Cart presentation only. WooCommerce owns the forms, totals and requests. */
.cwt-site main.cwt-cart{--cwt-cart-panel:#fff;--cwt-cart-radius:18px;--cwt-cart-thumb:104px;--cwt-cart-sticky-top:24px}
.cwt-site .cwt-cart .cwt-page-heading{margin-bottom:28px}
.cwt-site .cwt-cart .cwt-page-heading h1{font-size:clamp(2rem,4vw,2.75rem);font-weight:500;letter-spacing:-.035em}
.cwt-cart-breadcrumb{font-size:.8125rem;color:var(--cwt-muted);margin-bottom:20px}
.cwt-cart-breadcrumb a{text-decoration:none}.cwt-cart-breadcrumb a:hover{text-decoration:underline}
.cwt-cart .cwt-page,.cwt-cart .woocommerce,.cwt-cart .woocommerce-cart-form,.cwt-cart .cart-collaterals{min-width:0}
.cwt-cart .woocommerce-cart-form{margin:0}
.cwt-site .cwt-cart table.shop_table{width:100%;border:0;border-radius:0;border-collapse:separate;border-spacing:0;font-size:.875rem;background:transparent;margin:0}
.cwt-site .cwt-cart table.cart{display:block}
.cwt-site .cwt-cart table.cart thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.cwt-site .cwt-cart table.cart tbody{display:block;padding-inline:24px;border:1px solid var(--cwt-line);border-radius:var(--cwt-cart-radius);background:var(--cwt-cart-panel)}
.cwt-site .cwt-cart table.cart tbody>tr:not(.cart_item){display:block;width:100%;background:transparent}
.cwt-site .cwt-cart table.cart tr.cart_item{display:grid;grid-template-columns:var(--cwt-cart-thumb) minmax(0,1fr) minmax(88px,auto);grid-template-rows:auto auto auto;column-gap:20px;row-gap:8px;align-items:start;padding:24px 0;border-bottom:1px solid var(--cwt-line);position:relative;background:transparent}
.cwt-site .cwt-cart table.cart tr.cart_item td{display:block;border:0;padding:0;margin:0;background:transparent;text-align:left!important;min-width:0;line-height:1.5}
.cwt-site .cwt-cart table.cart tr.cart_item td::before{display:none}
/* Explicit square dimensions prevent a spanning grid cell from stretching the image. */
.cwt-site .cwt-cart table.cart tr.cart_item .product-thumbnail{display:block!important;grid-column:1;grid-row:1/4;align-self:start;width:var(--cwt-cart-thumb);height:var(--cwt-cart-thumb)}
.cwt-site .cwt-cart table.cart .product-thumbnail a{display:block;width:100%;height:100%;border:1px solid var(--cwt-line);border-radius:12px;overflow:hidden;background:#f7f8f7}
.cwt-site .cwt-cart table.cart .product-thumbnail img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain;border-radius:0;margin:0}
.cwt-site .cwt-cart table.cart .product-name{grid-column:2;grid-row:1}
.cwt-site .cwt-cart .product-name a{color:var(--cwt-ink);text-decoration:none;font-weight:500;font-size:.9375rem;line-height:1.5;overflow-wrap:anywhere}
.cwt-cart .product-name a:hover{text-decoration:underline}
.cwt-cart .product-name :where(dl.variation,.backorder_notification){color:var(--cwt-muted);font-size:.8125rem;border:0;padding:0;margin:8px 0 0;overflow-wrap:anywhere}
.cwt-cart .product-name dl.variation{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 6px}
.cwt-cart .product-name dl.variation :where(dt,dd){float:none;margin:0;padding:0}
.cwt-cart .product-name dl.variation p{margin:0}.cwt-cart .product-name dl.variation dt{font-weight:500}
.cwt-site .cwt-cart table.cart .product-price{grid-column:2;grid-row:2;color:var(--cwt-muted);font-variant-numeric:tabular-nums}
.cwt-site .cwt-cart table.cart .product-quantity{grid-column:2;grid-row:3;align-self:end;margin-top:4px}
.cwt-site .cwt-cart table.cart .product-subtotal{grid-column:3;grid-row:1;font-weight:600;font-size:.9375rem;font-variant-numeric:tabular-nums;text-align:right!important;overflow-wrap:anywhere}
.cwt-site .cwt-cart table.cart .product-remove{grid-column:3;grid-row:3;justify-self:end;align-self:end}
.cwt-site .cwt-cart .product-remove a.remove{color:var(--cwt-muted)!important;background:transparent;display:grid;place-items:center;width:44px;height:44px;font-size:24px;line-height:1;font-weight:400;border-radius:50%;text-decoration:none}
.cwt-site .cwt-cart .product-remove a.remove:hover{color:#9f3030!important;background:#fbefef}
.cwt-site .cwt-cart .quantity.cwt-quantity{border-radius:10px;overflow:hidden;background:#fff;min-height:44px;width:120px}
.cwt-site .cwt-cart .quantity.cwt-quantity .qty{width:36px;min-height:42px;font-size:.875rem}
.cwt-site .cwt-cart .cwt-quantity-step{flex-basis:40px;width:40px;height:42px}
.cwt-site .cwt-cart .cwt-quantity-step:not(:disabled):hover{background:var(--cwt-surface)}
.cwt-site .cwt-cart .button{border-radius:10px;min-height:46px;padding:12px 20px}
.cwt-site .cwt-cart .button:disabled{opacity:.45;cursor:default}
.cwt-site .cwt-cart table.cart td.actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border:0;padding:20px 0;background:transparent;text-align:right!important}
.cwt-site .cwt-cart table.cart td.actions::before{display:none}
.cwt-site .cwt-cart table.cart td.actions>.button{margin-inline-start:auto;float:none}
.cwt-site .cwt-cart table.cart td.actions .coupon{display:flex;align-items:center;gap:8px;float:none!important;padding:0;margin:0;max-width:100%;min-width:0}
.cwt-cart .coupon label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.cwt-site .cwt-cart table.cart td.actions .coupon .input-text{width:160px;max-width:100%;margin:0;min-height:46px;border-radius:10px;font-size:1rem;float:none;padding:10px 12px}
.cwt-site .cwt-cart table.cart td.actions .coupon .button{float:none;width:auto;border:1px solid var(--cwt-line);background:#f7f8f7;color:var(--cwt-ink);margin:0}
.cwt-site .cwt-cart table.cart td.actions .coupon .button:hover{background:var(--cwt-surface);filter:none}
.cwt-site .cwt-cart .cart-collaterals{float:none;width:100%;margin:0}
.cwt-site .cwt-cart .cart-collaterals .cart_totals{float:none;width:100%;border:1px solid var(--cwt-line);border-radius:var(--cwt-cart-radius);padding:28px;margin:0;background:var(--cwt-cart-panel);box-shadow:0 8px 32px #182c2408}
.cwt-site .cwt-cart .cart_totals h2{font-size:1.375rem;font-weight:500;letter-spacing:-.025em;margin:0 0 20px}
.cwt-site .cwt-cart .cart_totals table.shop_table :where(th,td){padding:16px 0;border:0;border-top:1px solid var(--cwt-line);background:transparent;font-size:.875rem;vertical-align:top;line-height:1.6;overflow-wrap:anywhere}
.cwt-site .cwt-cart .cart_totals table.shop_table th{font-weight:400;text-align:left;width:36%;padding-right:12px;color:var(--cwt-muted)}
.cwt-site .cwt-cart .cart_totals table.shop_table td{text-align:right!important;font-variant-numeric:tabular-nums}
.cwt-site .cwt-cart .cart_totals table.shop_table .cart-subtotal :where(th,td){border:0;padding-top:0}
.cwt-site .cwt-cart .cart_totals table.shop_table .order-total :where(th,td){font-size:1.125rem;font-weight:600;color:var(--cwt-ink);padding-block:20px}
.cwt-cart .cart_totals .woocommerce-shipping-destination{font-size:.8125rem;color:var(--cwt-muted);margin-bottom:0}
.cwt-cart .cart_totals .woocommerce-shipping-methods{margin:0;padding:0;list-style:none}
.cwt-cart .shipping-calculator-form{text-align:left}
.cwt-cart .cart_totals .shipping-calculator-button{display:inline-block;font-size:.8125rem;margin-top:8px}
.cwt-cart .cart_totals .shipping-calculator-form :where(input,select){width:100%;border-radius:8px;font-size:1rem}
.cwt-cart .wc-proceed-to-checkout{padding:8px 0 0!important}
.cwt-site .cwt-cart .wc-proceed-to-checkout a.checkout-button{display:flex;justify-content:center;width:100%;min-height:52px;font-size:.9375rem;margin:0;border-radius:10px}
.cwt-continue-shopping{display:flex;justify-content:center;align-items:center;min-height:48px;border:1px solid var(--cwt-line);border-radius:10px;padding:12px;margin-top:12px;font-size:.875rem;font-weight:500;text-decoration:none}
.cwt-continue-shopping:hover{background:var(--cwt-surface)}
.cwt-cart .cart-empty{margin-block:32px 24px;border-radius:12px}.cwt-cart .return-to-shop{margin-bottom:48px}
/* The Cart Block keeps its Store API, quantity controls and checkout UI. */
.cwt-cart .wp-block-woocommerce-cart{color:var(--cwt-ink);font-family:var(--cwt-font);min-width:0}
.cwt-cart .wc-block-cart__main{padding-right:0;min-width:0}
.cwt-cart .wc-block-cart-items{border-collapse:collapse;background:var(--cwt-cart-panel)}
.cwt-cart .wc-block-cart-items__row{border-top:1px solid var(--cwt-line)}
.cwt-cart .wc-block-cart-item__image{vertical-align:top}
.cwt-cart .wc-block-cart-item__image a{display:block;aspect-ratio:1;max-width:104px}
.cwt-cart .wc-block-cart-item__image img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;border:1px solid var(--cwt-line);border-radius:12px;background:#f7f8f7}
.cwt-cart .wc-block-components-product-name{color:var(--cwt-ink);font-weight:500;overflow-wrap:anywhere}
/* The short description includes Brand; keep separate variation/item data visible. */
.cwt-cart .wc-block-cart-items .wc-block-components-product-metadata__description{display:none!important}
.cwt-cart .wc-block-cart .wc-block-cart__totals-title{font-family:var(--cwt-font);font-size:1.375rem;font-weight:500;text-transform:none}
.cwt-cart .wc-block-cart__sidebar{align-self:flex-start;height:auto;border:1px solid var(--cwt-line);padding:24px!important;border-radius:var(--cwt-cart-radius);background:var(--cwt-cart-panel);box-shadow:0 8px 32px #182c2408}
.cwt-cart .wc-block-components-totals-wrapper{border-color:var(--cwt-line)}
.cwt-cart .wc-block-components-quantity-selector{border:1px solid var(--cwt-line);border-radius:10px;background:#fff}
.cwt-cart .wc-block-cart-item__remove-link{color:var(--cwt-muted);min-height:36px}
.cwt-cart .wc-block-cart__submit-button{background:var(--cwt-ink);color:#fff;min-height:52px;border-radius:10px;font-weight:500;text-decoration:none}
.cwt-cart .wc-block-cart__submit-button:hover{background:#6f5116}
@media(min-width:1024px){
  .cwt-cart .cwt-page>.woocommerce{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,360px);gap:0 32px;align-items:start}
  .cwt-cart .cwt-page>.woocommerce>:not(.woocommerce-cart-form):not(.cart-collaterals){grid-column:1/-1}
  .cwt-cart .woocommerce-cart-form{grid-column:1;min-width:0}
  /* Stretch the containing column so the card can follow the full product list. */
  .cwt-site .cwt-cart .cart-collaterals{grid-column:2;align-self:stretch;min-width:0;width:100%}
  .cwt-cart .cart-collaterals .cart_totals,.cwt-cart .wc-block-cart__sidebar{position:sticky;top:var(--cwt-cart-sticky-top,24px)}
  .cwt-cart .cart-collaterals .cross-sells{float:none;width:100%;margin-bottom:24px}
  .cwt-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout{gap:32px;align-items:flex-start}
  .cwt-cart .wp-block-woocommerce-cart .wc-block-components-main{width:calc(100% - 392px);padding:0}
  .cwt-cart .wp-block-woocommerce-cart .wc-block-components-sidebar{width:360px;margin:0}
}
@media(max-width:1023px){
  .cwt-site .cwt-cart .cart-collaterals{margin-top:24px}
  .cwt-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout{display:flex;flex-direction:column;gap:24px}
  .cwt-cart .wp-block-woocommerce-cart .wc-block-components-main,.cwt-cart .wp-block-woocommerce-cart .wc-block-components-sidebar{width:100%;margin:0;padding-inline:0}
  .cwt-cart .cart-collaterals .cart_totals,.cwt-cart .wc-block-cart__sidebar{position:static}
}
@media(max-width:600px){
  .cwt-site main.cwt-cart{--cwt-cart-thumb:80px;--cwt-cart-radius:14px}
  .cwt-site .cwt-cart .cwt-page-heading{margin-bottom:20px}
  .cwt-site .cwt-cart table.cart tbody{padding-inline:16px}
  .cwt-site .cwt-cart table.cart tr.cart_item{grid-template-columns:var(--cwt-cart-thumb) minmax(0,1fr);grid-template-rows:auto auto auto auto;column-gap:14px;row-gap:6px;padding-block:20px}
  .cwt-site .cwt-cart table.cart tr.cart_item .product-thumbnail{grid-row:1/5}
  .cwt-site .cwt-cart table.cart tr.cart_item .product-name{grid-column:2;padding-right:36px}
  .cwt-site .cwt-cart .product-name a{font-size:.875rem}
  .cwt-site .cwt-cart table.cart .product-remove{position:absolute;grid-area:auto;right:-10px;top:12px}
  .cwt-site .cwt-cart table.cart .product-subtotal{grid-column:2;grid-row:4;margin-top:4px;text-align:left!important;font-size:.9375rem}
  .cwt-site .cwt-cart table.cart tr.cart_item .product-subtotal::before{display:inline;content:attr(data-title) ": ";font-size:.75rem;font-weight:400;color:var(--cwt-muted);float:none}
  .cwt-site .cwt-cart table.cart td.actions{flex-direction:column;align-items:stretch;gap:12px;padding-block:16px}
  .cwt-site .cwt-cart table.cart td.actions .coupon{width:100%;align-items:stretch}
  .cwt-site .cwt-cart table.cart td.actions .coupon .input-text{flex:1 1 0;min-width:0;width:0}
  .cwt-site .cwt-cart table.cart td.actions .coupon .button{flex:0 1 auto;max-width:55%;padding-inline:12px}
  .cwt-site .cwt-cart table.cart td.actions>.button{width:100%;margin:0}
  .cwt-site .cwt-cart .cart-collaterals .cart_totals,.cwt-cart .wc-block-cart__sidebar{padding:20px!important}
}
@media(max-width:359px){
  .cwt-site main.cwt-cart{--cwt-cart-thumb:64px}
  .cwt-site .cwt-cart table.cart tbody{padding-inline:12px}
  .cwt-site .cwt-cart table.cart tr.cart_item{column-gap:10px}
}
