body.woocommerce-cart .jam-cart-head { margin: 4px 0 18px; }
body.woocommerce-cart .jam-cart-head h1 {
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: clamp(24px, 4vw, 32px);
letter-spacing: .5px;
line-height: 1.1;
text-transform: uppercase;
color: var(--jam-red);
margin: 0 0 8px;
}
body.woocommerce-cart .woocommerce-cart-form { margin: 0 0 26px; }
body.woocommerce-cart .shop_table.cart {
width: 100%;
margin: 0;
border: 0;
border-collapse: separate;
border-spacing: 0;
background: var(--white);
border-radius: var(--card-r);
box-shadow: var(--shadow-card);
overflow: hidden;
}
body.woocommerce-cart .shop_table.cart thead th {
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: 12px;
letter-spacing: .8px;
text-transform: uppercase;
color: #8a8a8a;
text-align: left;
padding: 14px 12px;
background: #fafafa;
border-bottom: 1px solid #ededed;
}
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td {
background: var(--white);
}
body.woocommerce-cart .shop_table.cart tbody td {
padding: 16px 12px;
line-height: 1.4;
border-top: 0;
border-bottom: 1px solid #f0f0f0;
vertical-align: middle;
}
body.woocommerce-cart .shop_table.cart tbody tr:last-child td { border-bottom: 0; }
body.woocommerce-cart .shop_table.cart th.product-remove,
body.woocommerce-cart .shop_table.cart td.product-remove { width: 54px; text-align: center; }
body.woocommerce-cart .shop_table.cart th.product-thumbnail,
body.woocommerce-cart .shop_table.cart td.product-thumbnail { width: 86px; }
body.woocommerce-cart .shop_table.cart th.product-price,
body.woocommerce-cart .shop_table.cart th.product-quantity,
body.woocommerce-cart .shop_table.cart th.product-subtotal { width: 130px; }
body.woocommerce-cart .shop_table.cart .product-remove .remove {
display: inline-flex; align-items: center; justify-content: center;
width: 26px; height: 26px;
border-radius: 50%;
background: #f1f1f1;
color: #8a8a8a;
font-size: 19px;
line-height: 1;
text-decoration: none;
transition: background .15s, color .15s;
}
body.woocommerce-cart .shop_table.cart .product-remove .remove:hover,
body.woocommerce-cart .shop_table.cart .product-remove .remove:focus-visible {
background: var(--jam-red);
color: #fff;
}
body.woocommerce-cart .shop_table.cart .product-thumbnail img {
display: block;
width: 70px; height: 70px;
object-fit: cover;
border-radius: 10px;
}
body.woocommerce-cart .shop_table.cart .product-name a {
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: 15px;
line-height: 1.3;
color: var(--ink);
text-decoration: none;
}
body.woocommerce-cart .shop_table.cart .product-name a:hover { color: var(--jam-red); }
body.woocommerce-cart .shop_table.cart .product-price,
body.woocommerce-cart .shop_table.cart .product-subtotal {
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: 15px;
white-space: nowrap;
}
body.woocommerce-cart .shop_table.cart tbody td.product-subtotal { color: var(--jam-red); }
body.woocommerce-cart .quantity.jam-qty { display: inline-flex; align-items: center; gap: 6px; }
body.woocommerce-cart .quantity.jam-qty input.qty {
width: 52px;
padding: 9px 4px;
text-align: center;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: 15px;
color: var(--ink);
background: #fff;
border: 2px solid #e4e4e4;
border-radius: 10px;
-moz-appearance: textfield;
}
body.woocommerce-cart .quantity.jam-qty input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .quantity.jam-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.woocommerce-cart .quantity.jam-qty input.qty:focus { outline: none; border-color: var(--jam-red); }
body.woocommerce-cart .jam-qty-btn {
--qty-lip: 2px;
--qty-lip-bias: 0.75px;
position: relative;
display: inline-flex;
flex: 0 0 32px;
width: 32px; height: 32px;
padding: 0;
border: 0;
border-radius: 50%;
background: var(--jam-grad);
color: var(--cream);
font-size: 0;
cursor: pointer;
box-shadow: 0 var(--qty-lip) 0 var(--jam-red-deep);
transition: transform .14s var(--spring), box-shadow .14s;
}
body.woocommerce-cart .jam-qty-btn::before,
body.woocommerce-cart .jam-qty-btn::after {
content: '';
position: absolute;
left: 50%;
top: 50%;
background: currentColor;
border-radius: 1px;
transform: translate(-50%, calc(-50% + var(--qty-lip-bias)));
}
body.woocommerce-cart .jam-qty-btn::before { width: 13px; height: 2.5px; }
body.woocommerce-cart .jam-qty-plus::after { width: 2.5px; height: 13px; }
body.woocommerce-cart .jam-qty-btn:active {
transform: translateY(var(--qty-lip));
box-shadow: 0 0 0 var(--jam-red-deep);
}
body.woocommerce-cart .jam-qty-btn[disabled] {
background: #ededed;
color: #b9b9b9;
box-shadow: none;
cursor: default;
transform: none;
}
body.woocommerce-cart .shop_table.cart td.actions {
background: #fafafa;
border-top: 1px solid #ededed;
padding: 14px 12px;
overflow: hidden;
}
body.woocommerce-cart .shop_table.cart td.actions .button {
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: 13px;
letter-spacing: .4px;
text-transform: uppercase;
white-space: nowrap;
padding: 11px 20px;
border-radius: var(--pill);
background: #fff;
color: var(--jam-red);
border: 2px solid var(--jam-red);
cursor: pointer;
transition: background .15s, color .15s;
}
body.woocommerce-cart .shop_table.cart td.actions .button:hover:not([disabled]) { background: var(--jam-red); color: #fff; }
body.woocommerce-cart .shop_table.cart td.actions .button[disabled] { color: #b9b9b9; border-color: #e4e4e4; cursor: default; }
body.woocommerce-cart .shop_table.cart td.actions button[name="update_cart"] { float: right; }
body.woocommerce-cart .shop_table.cart td.actions .coupon { display: inline-flex; gap: 8px; vertical-align: middle; }
body.woocommerce-cart .shop_table.cart td.actions label[for="coupon_code"] { display: none; }
body.woocommerce-cart .shop_table.cart td.actions input {
max-width: 100%;
padding: 11px 14px;
border: 2px solid #e4e4e4;
border-radius: var(--pill);
background: #fff;
font-family: var(--font-body);
font-size: 14px;
}
body.woocommerce-cart .shop_table.cart td.actions input:focus { outline: none; border-color: var(--jam-red); }
body.woocommerce-cart .woocommerce-cart-form.jam-cart-js td.actions { display: none; }
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
position: relative;
scroll-margin-top: calc(var(--header-h) + 16px);
margin: 0 0 18px;
padding: 14px 18px 14px 52px;
border: 0;
border-radius: var(--card-r);
background: var(--white);
box-shadow: var(--shadow-card);
color: var(--ink);
font-family: var(--font-display);
font-weight: 600;
font-size: 15px;
line-height: 1.4;
text-align: left;
list-style: none;
}
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before {
content: '';
font-family: inherit;
position: absolute;
left: 16px;
top: 50%;
width: 24px;
height: 24px;
margin-top: -12px;
border-radius: 50%;
background: #1f7a43 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8'/%3E%3C/svg%3E") center / 15px no-repeat;
}
body.woocommerce-cart .woocommerce-error::before { background: var(--jam-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5v7'/%3E%3Cpath d='M12 17.6v.2'/%3E%3C/svg%3E") center / 15px no-repeat; }
body.woocommerce-cart .woocommerce-info::before  { background: var(--gold-mid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 11v6.5'/%3E%3Cpath d='M12 6.6v.2'/%3E%3C/svg%3E") center / 15px no-repeat; }
body.woocommerce-cart .woocommerce-error li { margin: 0; padding: 0; list-style: none; }
body.woocommerce-cart .woocommerce-error li + li { margin-top: 4px; }
body.woocommerce-cart .woocommerce-message a,
body.woocommerce-cart .woocommerce-info a,
body.woocommerce-cart .woocommerce-error a {
color: var(--jam-red);
font-weight: var(--display-weight);
text-decoration: underline;
text-underline-offset: 2px;
}
body.woocommerce-cart .woocommerce-message .button,
body.woocommerce-cart .woocommerce-info .button,
body.woocommerce-cart .woocommerce-error .button { float: none; }
body.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }
body.woocommerce-cart .cart-collaterals { display: flex; justify-content: flex-end; }
body.woocommerce-cart .cart_totals {
width: 100%;
max-width: 420px;
background: var(--white);
border-radius: var(--card-r);
box-shadow: var(--shadow-card);
padding: 22px 22px 24px;
}
body.woocommerce-cart .cart_totals h2 {
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: 19px;
letter-spacing: .5px;
text-transform: uppercase;
color: var(--ink);
margin: 0 0 14px;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
width: 100%;
border: 0;
border-radius: 0;
border-collapse: collapse;
margin: 0 0 18px;
background: transparent;
}
body.woocommerce-cart .cart-collaterals .cart_totals table tr th,
body.woocommerce-cart .cart-collaterals .cart_totals table tr td {
width: auto;
padding: 11px 0;
font-size: 15px;
line-height: 1.4;
text-align: left;
vertical-align: middle;
border: 0;
background: var(--white);
}
body.woocommerce-cart .cart-collaterals .cart_totals table tr td { text-align: right; }
body.woocommerce-cart .cart-collaterals .cart_totals table tr th {
font-family: var(--font-body);
font-weight: 600;
color: #666;
}
body.woocommerce-cart .cart-collaterals .cart_totals table tr.cart-subtotal th,
body.woocommerce-cart .cart-collaterals .cart_totals table tr.cart-subtotal td { border-bottom: 1px solid #f0f0f0; }
body.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th {
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: 17px;
text-transform: uppercase;
color: var(--ink);
}
body.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total td {
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: 23px;
color: var(--jam-red);
}
body.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
display: block;
margin: 0;
width: 100%;
text-align: center;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: 16px;
letter-spacing: .6px;
text-transform: uppercase;
color: var(--cream);
background: var(--jam-grad);
--cta-pad-y: 15px;
padding: calc(var(--cta-pad-y) + var(--lip-bias)) 20px calc(var(--cta-pad-y) - var(--lip-bias));
border-radius: var(--pill);
text-decoration: none;
box-shadow: 0 4px 0 var(--jam-red-deep);
transition: transform .16s var(--spring), box-shadow .16s;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { color: var(--cream); }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:active {
transform: translateY(var(--lip));
box-shadow: 0 0 0 var(--jam-red-deep);
}
@media (max-width: 768px) {
body.woocommerce-cart .shop_table.cart {
display: block;
width: 100%;
max-width: 100%;
background: transparent;
box-shadow: none;
border-radius: 0;
}
body.woocommerce-cart .shop_table.cart thead { display: none; }
body.woocommerce-cart .shop_table.cart tbody,
body.woocommerce-cart .shop_table.cart tr,
body.woocommerce-cart .shop_table.cart td { display: block; width: auto; }
body.woocommerce-cart .shop_table.cart tbody tr.cart_item {
position: relative;
background: var(--white);
border-radius: var(--card-r);
box-shadow: var(--shadow-card);
padding: 14px 14px 10px 96px;
margin: 0 0 12px;
min-height: 96px;
}
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td { border: 0; padding: 3px 0; }
body.woocommerce-cart .shop_table.cart td.product-thumbnail { position: absolute; left: 14px; top: 14px; width: 70px; }
body.woocommerce-cart .shop_table.cart td.product-remove { position: absolute; right: 10px; top: 10px; width: auto; }
body.woocommerce-cart .shop_table.cart td.product-name { padding-right: 34px; }
body.woocommerce-cart .shop_table.cart td.product-name a { line-height: 1.25; }
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-price::before,
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-quantity::before,
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-subtotal::before {
content: attr(data-title);
float: left;
font-family: var(--font-body);
font-weight: 600;
font-size: 13px;
color: #8a8a8a;
}
body.woocommerce-cart .shop_table.cart td.product-quantity { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.woocommerce-cart .shop_table.cart td.actions { background: var(--white); border-radius: var(--card-r); box-shadow: var(--shadow-card); border-top: 0; }
body.woocommerce-cart .shop_table.cart td.actions button[name="update_cart"] { float: none; width: 100%; }
body.woocommerce-cart .shop_table.cart td.actions .coupon { display: block; }
body.woocommerce-cart .shop_table.cart td.actions .coupon input,
body.woocommerce-cart .shop_table.cart td.actions .coupon .button { width: 100%; margin-bottom: 8px; }
body.woocommerce-cart .cart-collaterals { display: block; }
body.woocommerce-cart .cart_totals { max-width: none; }
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td {
background: var(--white);
}
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-name {
text-align: left !important;
padding-right: 40px;
}
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-price,
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-subtotal {
display: flex;
justify-content: space-between;
align-items: baseline;
}
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-thumbnail,
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-remove {
display: block;
}
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-name::before,
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-thumbnail::before,
body.woocommerce-cart .shop_table.cart tbody tr.cart_item td.product-remove::before {
content: none;
display: none;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table { display: table; }
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody tr { display: table-row; }
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody tr th,
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody tr td {
display: table-cell;
background: var(--white);
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody tr td::before {
content: none;
display: none;
}
}
