.td6-cart-page { background: #fff; color: var(--td6-ink); min-height: 60vh; }
.td6-cart-content { padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(4rem, 7vw, 7rem); }
.td6-cart-content > .td6-container { max-width: 1280px; }
.td6-cart-panel { width: 100%; margin: 0 auto; color: #292929; }
.td6-cart-panel a { color: #222; }
.td6-cart-panel .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 350px); grid-template-areas: "notices notices" "cart totals"; align-items: start; gap: 0 2rem; }
.td6-cart-panel .woocommerce-notices-wrapper { grid-area: notices; }
.td6-cart-panel .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 1.75rem; }
.td6-cart-panel .woocommerce-cart-form { grid-area: cart; min-width: 0; margin: 0; padding: clamp(1rem, 2vw, 1.75rem); border: 1px solid #deded9; background: #fff; }
.td6-cart-panel .cart-collaterals { grid-area: totals; width: 100%; max-width: none; margin: 0; }
.td6-cart-panel .cart-count { margin: 0 0 1rem; color: #666; font-size: .92rem; }
.td6-cart-panel .cart-count strong { color: #202020; }
.td6-cart-panel table.shop_table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.td6-cart-panel table.shop_table th, .td6-cart-panel table.shop_table td { padding: 1rem .65rem; border: 0; border-bottom: 1px solid #deded9; vertical-align: middle; text-align: left; }
.td6-cart-panel table.shop_table th { color: #555; font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.td6-cart-panel .shop_table.cart { table-layout: fixed; }
.td6-cart-panel .shop_table.cart th.product-remove { width: 34px; }
.td6-cart-panel .shop_table.cart th.product-thumbnail { width: 100px; }
.td6-cart-panel .shop_table.cart th.product-name { width: auto; }
.td6-cart-panel .shop_table.cart th.product-price, .td6-cart-panel .shop_table.cart th.product-subtotal { width: 82px; }
.td6-cart-panel .shop_table.cart th.product-quantity { width: 146px; }
.td6-cart-panel table.shop_table .product-thumbnail img { display: block; width: 84px; height: 84px; object-fit: cover; }
.td6-cart-panel .product-name { overflow-wrap: anywhere; }
.td6-cart-panel .product-name > a { display: inline-block; margin-bottom: .35rem; font-size: 1rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.td6-cart-panel .product-name > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.td6-cart-panel .shop_table.cart dl.variation { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .15rem .45rem; margin: .2rem 0 0; color: #696969; font-size: .79rem; line-height: 1.48; }
.td6-cart-panel .shop_table.cart dl.variation dt, .td6-cart-panel .shop_table.cart dl.variation dd { float: none; margin: 0; padding: 0; }
.td6-cart-panel .shop_table.cart dl.variation dt { font-weight: 650; }
.td6-cart-panel .shop_table.cart dl.variation dd p { margin: 0; }
.td6-cart-panel .product-price, .td6-cart-panel .product-subtotal { white-space: nowrap; font-size: .95rem; font-weight: 650; }
.td6-cart-panel .product-remove a { display: inline-grid; place-items: center; width: 30px; height: 30px; color: #777; font-size: 1.35rem; line-height: 1; text-decoration: none; }
.td6-cart-panel .product-remove a:hover { color: #111; }
.td6-cart-panel .product-quantity .quantity { display: inline-flex; align-items: center; margin: 0; }
.td6-cart-panel .product-quantity .number-button { display: inline-grid; grid-template-columns: repeat(3, 40px); align-items: stretch; gap: 0; }
.td6-cart-panel .product-quantity .number-button > input[type="button"], .td6-cart-panel .product-quantity .number-button > input[type="number"] { box-sizing: border-box; width: 40px !important; height: 40px; min-height: 40px; margin: 0; padding: 0; border: 1px solid #bdbdb8; border-radius: 0; text-align: center; }
.td6-cart-panel .product-quantity .number-button > input[type="button"] { background: #f4f4f2; color: #202020; font: inherit; font-weight: 700; cursor: pointer; }
.td6-cart-panel .product-quantity .number-button > input:first-child { border-radius: 4px 0 0 4px; }
.td6-cart-panel .product-quantity .number-button > input:last-child { border-radius: 0 4px 4px 0; }
.td6-cart-panel .product-quantity .number-button > input + input { border-left: 0; }
.td6-cart-panel .product-quantity .number-button > input[type="button"]:hover, .td6-cart-panel .product-quantity .number-button > input[type="button"]:focus-visible { background: #e5e5e0; }
.td6-cart-panel input.input-text, .td6-cart-panel input[type="text"] { box-sizing: border-box; min-height: 46px; padding: .65rem .8rem; border: 1px solid #aaa; border-radius: 4px; background: #fff; color: #222; font: inherit; }
.td6-cart-panel button, .td6-cart-panel .button, .td6-cart-panel input[type="submit"] { box-sizing: border-box; min-height: 46px; padding: .72rem 1.15rem; border: 1px solid #202020; border-radius: 4px; background: #202020; color: #fff; font: inherit; font-size: .82rem; font-weight: 750; letter-spacing: .035em; line-height: 1.2; text-transform: uppercase; cursor: pointer; }
.td6-cart-panel button:hover, .td6-cart-panel .button:hover, .td6-cart-panel input[type="submit"]:hover { border-color: #444; background: #444; color: #fff; }
.td6-cart-panel .shop_table.cart td.actions { display: grid; grid-template-columns: minmax(310px, 1fr) max-content max-content; align-items: stretch; gap: 16px; padding: 1.25rem 0 0; border-bottom: 0; }
.td6-cart-panel .actions .coupon { display: flex; float: none; align-items: stretch; gap: 16px; min-width: 0; margin: 0; }
.td6-cart-panel .actions .coupon input { flex: 1 1 auto; width: auto; min-width: 0; height: 46px; min-height: 46px; padding-block: 0; line-height: 44px; }
.td6-cart-panel .actions .coupon button, .td6-cart-panel .actions .button[name="update_cart"], .td6-cart-panel .actions .empty-cart-button { display: inline-flex; align-items: center; justify-content: center; width: auto; height: 46px; min-height: 46px; margin: 0; white-space: nowrap; text-align: center; }
.td6-cart-panel .actions .empty-cart-button { min-width: 118px; border-color: #777; background: #fff; color: #333; }
.td6-cart-panel .actions .empty-cart-button:hover, .td6-cart-panel .actions .empty-cart-button:focus-visible { border-color: #202020; background: #f0f0ed; color: #111; }
.td6-cart-panel .actions button:disabled { opacity: .48; cursor: not-allowed; }
.td6-cart-panel .cart_totals { padding: 1.5rem; border: 1px solid #d8d8d3; background: #f4f4f2; }
.td6-cart-panel .cart_totals h2 { margin: 0 0 1rem; color: #171717; font-size: 1.45rem; letter-spacing: .02em; text-transform: uppercase; }
.td6-cart-panel .cart_totals table th, .td6-cart-panel .cart_totals table td { padding: .85rem 0; border-bottom: 1px solid #d5d5d0; }
.td6-cart-panel .cart_totals table th { width: 45%; color: #555; }
.td6-cart-panel .cart_totals table td { text-align: right; }
.td6-cart-panel .cart_totals .order-total th, .td6-cart-panel .cart_totals .order-total td { color: #111; font-size: 1rem; }
.td6-cart-panel .wc-proceed-to-checkout { margin: 1.25rem 0 0; padding: 0; }
.td6-cart-panel .wc-proceed-to-checkout a.checkout-button, .td6-cart-panel .wc-proceed-to-checkout a.continue-shopping { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; padding: .8rem 1rem; text-align: center; text-decoration: none; }
.td6-cart-panel .wc-proceed-to-checkout a.continue-shopping { margin-top: 12px; border: 1px solid #666; background: transparent; color: #222; }
.td6-cart-panel .wc-proceed-to-checkout a.continue-shopping:hover { border-color: #202020; background: #fff; color: #111; }
.td6-cart-panel .woocommerce-message, .td6-cart-panel .woocommerce-info, .td6-cart-panel .woocommerce-error { grid-column: 1 / -1; margin: 0; padding: 1rem; background: #f1f1ee; }
.td6-cart-panel .wc-empty-cart-message, .td6-cart-panel .return-to-shop { grid-column: 1 / -1; }
.td6-cart-panel .cart-empty { margin: 0; padding: 2rem 0; color: #555; text-align: center; }
.td6-cart-panel .return-to-shop { margin: 1rem 0 0; }
.td6-cart-panel .return-to-shop a { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; text-align: center; }
@media (max-width: 1020px) {
 .td6-cart-panel .woocommerce { grid-template-columns: 1fr; grid-template-areas: "notices" "cart" "totals"; }
 .td6-cart-panel .cart-collaterals { max-width: 540px; margin: 1.5rem 0 0 auto; }
}
@media (max-width: 700px) {
 .td6-cart-content { padding-top: 1.75rem; }
 .td6-cart-panel .woocommerce-cart-form { padding: .85rem; }
 .td6-cart-panel table.shop_table thead { display: none; }
 .td6-cart-panel table.shop_table, .td6-cart-panel table.shop_table tbody, .td6-cart-panel table.shop_table tr, .td6-cart-panel table.shop_table td { display: block; width: 100%; }
 .td6-cart-panel table.shop_table tr.cart_item { position: relative; padding: 1rem 0; border-bottom: 1px solid #d8d8d3; }
 .td6-cart-panel table.shop_table tr.cart_item td { box-sizing: border-box; padding: .35rem 0; border: 0; }
 .td6-cart-panel table.shop_table tr.cart_item .product-remove { position: absolute; z-index: 1; top: .55rem; right: 0; width: auto; }
 .td6-cart-panel table.shop_table tr.cart_item .product-thumbnail { padding-right: 2.5rem; }
 .td6-cart-panel table.shop_table .product-thumbnail img { width: 88px; height: 88px; }
 .td6-cart-panel table.shop_table tr.cart_item .product-name { padding: .65rem 2.4rem .8rem 0; }
 .td6-cart-panel table.shop_table tr.cart_item .product-price, .td6-cart-panel table.shop_table tr.cart_item .product-quantity, .td6-cart-panel table.shop_table tr.cart_item .product-subtotal { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: .75rem; }
 .td6-cart-panel table.shop_table tr.cart_item .product-price::before, .td6-cart-panel table.shop_table tr.cart_item .product-quantity::before, .td6-cart-panel table.shop_table tr.cart_item .product-subtotal::before { content: attr(data-title); color: #666; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
 .td6-cart-panel .shop_table.cart td.actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; padding-top: 1.15rem; }
 .td6-cart-panel .actions .coupon { grid-column: 1 / -1; width: 100%; }
 .td6-cart-panel .actions .coupon input { min-width: 0; }
 .td6-cart-panel .actions .button[name="update_cart"], .td6-cart-panel .actions .empty-cart-button { width: 100%; min-width: 0; }
 .td6-cart-panel .cart-collaterals { max-width: none; margin: .5rem 0 0; }
 .td6-cart-panel .cart_totals { padding: 1.1rem; }
}
@media (max-width: 430px) {
 .td6-cart-panel .actions .coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
 .td6-cart-panel .actions .coupon button { padding-inline: .8rem; }
}
