/* v118: page-scoped presentation only; cart/checkout values remain WooCommerce output. */
body.woocommerce-cart #main-content.content-page,
body.woocommerce-checkout #main-content.content-page { padding-top: 26px; }
body.woocommerce-cart #main-content > article > h1,
body.woocommerce-checkout #main-content > article > h1 {
 margin: 0 0 14px;
 font-size: 30px;
 line-height: 1.2;
 font-weight: 600;
 letter-spacing: -.025em;
}
#hc-selectable-cart .hc-cart-help { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: #68717d; }
#hc-selectable-cart .hc-cart-layout { gap: 28px; }
#hc-selectable-cart .hc-select-all { min-height: 44px; padding: 6px 0; gap: 10px; font-size: 13px; font-weight: 500; border-color: #e9ebee; }
#hc-selectable-cart .hc-select-all span { font-size: 12px; color: #727982; }
#hc-selectable-cart input[type=checkbox] { width: 20px; height: 20px; margin: 0; }
#hc-selectable-cart .hc-cart-row {
 --hc-cart-image-size: 84px;
 grid-template-columns: 24px var(--hc-cart-image-size) minmax(0, 1fr);
 align-items: start;
 column-gap: 12px;
 row-gap: 0;
 padding: 8px 0;
 margin: 0;
 border-color: #e9ebee;
}
#hc-selectable-cart .hc-row-check { min-height: 44px; padding: 0; justify-content: center; align-self: center; }
#hc-selectable-cart .hc-cart-image { display: block; width: var(--hc-cart-image-size); height: var(--hc-cart-image-size); background: #f7f7f8; border-radius: 4px; overflow: hidden; }
#hc-selectable-cart .hc-cart-image img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; margin: 0; }
#hc-selectable-cart .hc-cart-details { min-width: 0; min-height: var(--hc-cart-image-size); display: flex; flex-direction: column; }
#hc-selectable-cart .hc-cart-media { min-width: 0; }
#hc-selectable-cart .hc-cart-media > .hc-item-remove { display: block; min-width: 48px; width: 100%; min-height: 24px; margin: 0; padding: 2px 0 0; border: 0; border-radius: 0; background: none; color: #737983; font-size: 11px; font-weight: 400; line-height: 20px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
#hc-selectable-cart .hc-cart-name {
 display: -webkit-box;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 2;
 overflow: hidden;
 overflow-wrap: anywhere;
 min-height: 40px;
 margin: 0;
 color: #20242a;
 font-size: 15px;
 line-height: 20px;
 font-weight: 500;
 text-decoration: none;
}
#hc-selectable-cart .hc-cart-details .variation { margin: 4px 0 0; font-size: 12px; line-height: 1.4; color: #727982; overflow-wrap: anywhere; }
#hc-selectable-cart .hc-cart-details .variation p { margin: 0; font-size: inherit; line-height: inherit; }
#hc-selectable-cart .hc-cart-price-note { display: block; margin-top: 4px; color: #727982; font-size: 12px; line-height: 1.4; }
#hc-selectable-cart .hc-cart-item-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 6px; margin-top: auto; }
#hc-selectable-cart .hc-cart-prices { min-width: 0; max-width: 100%; flex: 1 1 80px; }
#hc-selectable-cart .hc-unit-price { display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; min-height: 44px; margin: 0; color: #005bea; font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
#hc-selectable-cart .hc-unit-price small { color: #7a8088; font-size: 10px; font-weight: 400; }
#hc-selectable-cart .hc-line-total.screen-reader-text { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#hc-selectable-cart .hc-qty-controls { display: grid; grid-template-columns: 44px minmax(28px, max(28px, calc(var(--hc-cart-qty-digits, 2) * 1ch + 6px))) 44px; align-items: center; gap: 0; margin: 0 0 0 auto; }
#hc-selectable-cart .hc-qty-controls button[data-qty-step] { min-width: 44px; width: 44px; min-height: 44px; height: 44px; padding: 0; border: 5px solid #fff; border-radius: 7px; background: #f4f5f6; background-clip: padding-box; color: #5e646c; font-size: 22px; font-weight: 400; line-height: 1; box-shadow: none; }
#hc-selectable-cart .hc-qty-controls .hc-item-qty { width: 100%!important; min-width: 28px; height: 44px; margin: 0; padding: 0; border: 0; background: #fff; color: #30353b; font-size: 16px!important; font-weight: 400; box-shadow: none; }
#hc-selectable-cart .hc-qty-controls .hc-item-remove { grid-column: 1 / -1; justify-self: end; min-width: 48px; min-height: 28px; margin: 0; padding: 3px 0; border: 0; background: none; color: #737983; font-size: 11px; font-weight: 400; line-height: 1.4; text-decoration: underline; text-underline-offset: 2px; }
#hc-selectable-cart .hc-qty-controls button[data-qty-step]:not(:disabled):hover { background: #e9edf2; color: #005bea; }
#hc-selectable-cart .hc-kept { margin: 4px 0 0; color: #727982; font-size: 11px; line-height: 1.4; }
#hc-selectable-cart .hc-cart-summary > h2 { font-size: 20px; font-weight: 600; }

/* Preserve Woo's native review table and column semantics, including totals. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
 --hc-checkout-image-size: 76px;
 --hc-checkout-item-gap: 12px;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead .product-name { width: 72%; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead .product-total { width: 28%; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .cart_item { font-family: inherit; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .cart_item > td { padding-top: 6px; padding-bottom: 6px; border-color: #e9ebee; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .hc-checkout-product-thumbnail { border-radius: 4px; background: #f7f7f8; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .hc-checkout-product-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 40px; color: #20242a; font-size: 15px; font-weight: 500; line-height: 20px; overflow-wrap: anywhere; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-name dl.variation { color: #727982; font-size: 12px; line-height: 1.4; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .hc-checkout-line-summary { min-height: var(--hc-checkout-image-size); flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 6px; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .cart_item > .product-total { vertical-align: top; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .hc-checkout-line-price { color: #005bea; font-size: 17px; font-weight: 600; line-height: 1.35; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .hc-checkout-line-quantity { padding: 3px 8px; border-radius: 3px; background: #f4f5f6; color: #626972; font-size: 13px; font-weight: 400; }
@media (max-width: 767px) {
 body.woocommerce-cart #main-content.content-page,
 body.woocommerce-checkout #main-content.content-page { padding-top: 20px; }
 body.woocommerce-cart #main-content > article > h1,
 body.woocommerce-checkout #main-content > article > h1 { margin-bottom: 10px; font-size: 26px; }
 #hc-selectable-cart .hc-cart-layout { gap: 20px; }
 #hc-selectable-cart .hc-cart-row { --hc-cart-image-size: 76px; grid-template-columns: 20px var(--hc-cart-image-size) minmax(0, 1fr); column-gap: 8px; padding: 6px 0; }
 #hc-selectable-cart .hc-cart-name { font-size: 14px; line-height: 20px; }
 #hc-selectable-cart .hc-unit-price { font-size: 16px; }
 #hc-selectable-cart .hc-cart-summary { padding: 0; }
 body.woocommerce-checkout .woocommerce-checkout-review-order-table { --hc-checkout-image-size: 72px; --hc-checkout-item-gap: 10px; }
 body.woocommerce-checkout .woocommerce-checkout-review-order-table .hc-checkout-product-name { font-size: 14px; }
 body.woocommerce-checkout .woocommerce-checkout-review-order-table .hc-checkout-line-price { font-size: 15px; }
}
@media (max-width: 374px) {
 #hc-selectable-cart .hc-cart-row { --hc-cart-image-size: 68px; column-gap: 6px; }
 #hc-selectable-cart .hc-cart-item-bottom { margin-top: auto; gap: 0 2px; }
 #hc-selectable-cart .hc-cart-prices { flex-basis: 64px; }
 #hc-selectable-cart .hc-unit-price { min-height: 44px; font-size: 15px; }
 #hc-selectable-cart .hc-unit-price { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
 #hc-selectable-cart .hc-qty-controls { grid-template-columns: 44px minmax(28px, max(28px, calc(var(--hc-cart-qty-digits, 2) * 1ch + 6px))) 44px; }
 body.woocommerce-checkout .woocommerce-checkout-review-order-table .hc-checkout-line-price { font-size: 14px; }
 body.woocommerce-checkout .woocommerce-checkout-review-order-table .hc-checkout-line-quantity { padding-inline: 4px; font-size: 12px; }
 body.woocommerce-checkout .woocommerce-checkout-review-order-table { --hc-checkout-image-size: 64px; --hc-checkout-item-gap: 8px; }
}

/* Compact, real Woo fee rows. Remove the oversized decorative summary card, not its amounts. */
#hc-selectable-cart .hc-cart-summary { padding: 0; border: 0; border-radius: 0; background: #fff; }
#hc-selectable-cart .hc-cart-summary .cart_totals { margin: 0; padding: 0; }
#hc-selectable-cart .hc-cart-summary table.shop_table { margin: 0!important; border: 0!important; border-collapse: collapse; }
#hc-selectable-cart .hc-cart-summary table.shop_table th,
#hc-selectable-cart .hc-cart-summary table.shop_table td { padding: 7px 0!important; background: #fff; border-color: #eceef1; font-size: 13px; font-weight: 400; line-height: 1.4; vertical-align: top; }
#hc-selectable-cart .hc-cart-summary table.shop_table td { text-align: right; }
#hc-selectable-cart .hc-cart-summary table.shop_table td::before { font-weight: 400; }
#hc-selectable-cart .hc-cart-summary .woocommerce-shipping-methods { margin: 0; padding: 0; }
#hc-selectable-cart .hc-cart-summary .woocommerce-shipping-methods li,
#hc-selectable-cart .hc-cart-summary .woocommerce-shipping-methods label { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.4; }
#hc-selectable-cart .hc-cart-summary .woocommerce-shipping-destination { display: inline-block; margin: 0 8px 0 0; font-size: 12px; line-height: 1.4; }
#hc-selectable-cart .hc-cart-summary .woocommerce-shipping-calculator { display: inline; margin: 0; }
#hc-selectable-cart .hc-cart-summary .shipping-calculator-button { display: inline-flex; align-items: center; min-height: 32px; font-size: 12px; line-height: 1.4; }
#hc-selectable-cart .hc-cart-summary .shipping-calculator-form p { margin: 6px 0; font-size: 12px; }
#hc-selectable-cart .hc-cart-summary table.shop_table .order-total th,
#hc-selectable-cart .hc-cart-summary table.shop_table .order-total td { padding-top: 10px!important; font-size: 15px; font-weight: 600; }
#hc-selectable-cart .hc-cart-summary .order-total strong { font-size: 18px; }
#hc-selectable-cart .hc-cart-summary .wc-proceed-to-checkout { padding: 10px 0 0; }
#hc-selectable-cart .hc-cart-summary .checkout-button { min-height: 44px; margin: 0!important; padding: 11px 14px!important; font-size: 14px!important; line-height: 1.5; }
#hc-selectable-cart .hc-coupon { margin-top: 12px; font-size: 12px; }
#hc-selectable-cart .hc-coupon label { font-size: 12px; }
#hc-selectable-cart .hc-coupon input { min-height: 44px; }
#hc-selectable-cart .hc-coupon button { min-height: 44px; padding: 6px 12px; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td { padding-top: 7px; padding-bottom: 7px; font-size: 13px; line-height: 1.4; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot p { margin: 3px 0; font-size: 12px; line-height: 1.4; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td { font-size: 15px; font-weight: 600; }

/* Woo appends a bare nbsp after the product-name filter. Do not let that
   whitespace create a second anonymous line below the image/name grid. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .cart_item > td.product-name {
 font-size: 0;
 line-height: 0;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .cart_item > td.product-name > * {
 font-size: 14px;
 line-height: 1.4;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .cart_item > td.product-name > dl.variation {
 font-size: 12px;
 line-height: 1.4;
}

/* v120: only the requested cart clutter; shared header/navigation remain unchanged. */
body.woocommerce-cart .h88-catalogue-notice,
body.woocommerce-checkout .h88-catalogue-notice { display: none; }
body.woocommerce-cart #main-content.content-page { padding-top: 8px; }
body.woocommerce-cart #main-content > article > h1 {
 position: absolute;
 width: 1px;
 height: 1px;
 min-height: 0;
 margin: -1px;
 padding: 0;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 white-space: nowrap;
 border: 0;
}
body.woocommerce-checkout .hc-checkout-development-note {
 margin: 8px 0;
 padding: 0;
 color: #68717d;
 font-size: 12px;
 font-weight: 400;
 line-height: 1.4;
}

/* v121: full-cart swipe reveal. The original delete click handler remains authoritative. */
#hc-selectable-cart .hc-cart-row.hc-swipe-row { display: block; position: relative; padding: 0; overflow: hidden; }
#hc-selectable-cart .hc-cart-row-content { position: relative; z-index: 1; display: grid; grid-template-columns: 24px var(--hc-cart-image-size) minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 8px 0; min-width: 0; background: #fff; touch-action: pan-y pinch-zoom; transform: translateX(var(--hc-swipe-x, 0px)); transition: transform 160ms ease-out; }
#hc-selectable-cart .hc-cart-row.is-swiping .hc-cart-row-content { transition: none; user-select: none; }
#hc-selectable-cart .hc-cart-delete-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 84px; z-index: 0; background: #d8253a; }
#hc-selectable-cart .hc-cart-delete-panel[hidden] { display: none!important; }
#hc-selectable-cart .hc-cart-delete { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 44px; padding: 8px; border: 0; border-radius: 0; background: #d8253a; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
#hc-selectable-cart .hc-cart-delete:disabled { opacity: .65; cursor: wait; }
#hc-selectable-cart .hc-cart-row:not(.is-swipe-open) .hc-cart-delete-panel { pointer-events: none; }
#hc-selectable-cart .hc-cart-actions-toggle { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); background: transparent; color: #747c86; cursor: pointer; }
#hc-selectable-cart .hc-cart-actions-toggle .dashicons { width: 20px; height: 20px; font-size: 20px; }
#hc-selectable-cart .hc-cart-actions-toggle:focus-visible { top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; overflow: visible; clip: auto; background: #fff; }
#hc-selectable-cart .hc-cart-row :focus-visible { outline: 2px solid #438bff; outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
 #hc-selectable-cart .hc-cart-actions-toggle { top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; overflow: visible; clip: auto; }
 #hc-selectable-cart .hc-cart-name { padding-right: 44px; }
}
@media (max-width: 767px) { #hc-selectable-cart .hc-cart-row-content { grid-template-columns: 20px var(--hc-cart-image-size) minmax(0, 1fr); column-gap: 8px; padding: 6px 0; } }
@media (max-width: 374px) { #hc-selectable-cart .hc-cart-row-content { column-gap: 6px; } }
@media (prefers-reduced-motion: reduce) { #hc-selectable-cart .hc-cart-row-content { transition: none; } }

#hc-selectable-cart.hc-swipe-no-pointer .hc-cart-actions-toggle { top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; overflow: visible; clip: auto; }
#hc-selectable-cart.hc-swipe-no-pointer .hc-cart-name { padding-right: 44px; }
