/* ============================================================
   Cool & Comfy premium — Basket page. Preview only.
   Pure re-skin: every selector below targets stock WooCommerce
   markup. No functional change.
   ============================================================ */

.cc-cart-page{background:var(--cc-cream);padding:44px 0 88px}

/* Breadcrumbs */
.cc-crumbs{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;
	letter-spacing:.08em;text-transform:uppercase;color:var(--cc-stone-light);margin:0 0 26px}
.cc-crumbs a{color:var(--cc-stone);text-decoration:none}
.cc-crumbs a:hover{color:var(--cc-gold-deep)}
.cc-crumb-sep{opacity:.5}

/* Page heading */
.cc-page-head{margin:0 0 36px;max-width:760px}
.cc-page-h1{font-family:var(--cc-font-d);font-weight:500;font-size:clamp(34px,4.6vw,54px);
	line-height:1.08;letter-spacing:-.01em;color:var(--cc-ink);margin:0 0 14px}
.cc-page-h1 em{font-style:italic;color:var(--cc-navy)}
.cc-page-head .cc-lede{margin:0}

/* Layout: cart + reassurance column */
.cc-cart-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:44px;align-items:start}
.cc-cart-grid--empty{grid-template-columns:minmax(0,1fr)}
.cc-cart-grid--empty .cc-cart-main{max-width:760px}

/* Trust card */
.cc-trust-card{background:var(--cc-paper);border:1px solid var(--cc-line);border-radius:var(--cc-radius);
	padding:30px 28px;box-shadow:var(--cc-shadow-sm);position:sticky;top:110px}
.cc-trust-card h2{font-family:var(--cc-font-d);font-weight:500;font-size:22px;color:var(--cc-ink);margin:0 0 20px}
.cc-trust-card ul{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:18px}
.cc-trust-card li{display:flex;gap:14px;align-items:flex-start}
.cc-trust-card li svg{width:26px;height:26px;flex:none;fill:none;stroke:var(--cc-gold-deep);
	stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
.cc-trust-card li div{display:grid;gap:3px}
.cc-trust-card li strong{font-size:15px;color:var(--cc-ink)}
.cc-trust-card li span{font-size:14px;color:var(--cc-stone);line-height:1.55}
.cc-trust-help{font-size:14px;color:var(--cc-stone);margin:0;padding-top:18px;border-top:1px solid var(--cc-line)}
.cc-trust-help a{color:var(--cc-gold-deep);font-weight:600;text-decoration:none}
.cc-trust-help a:hover{text-decoration:underline}

/* ---------- Stock WooCommerce cart, re-skinned ---------- */

/* Empty-basket state */
.cc-cart-main .wc-empty-cart-message{text-align:center;padding:56px 24px 8px;max-width:640px;margin:0 auto}
.cc-cart-main .cart-empty.woocommerce-info{background:none;border:0;box-shadow:none;padding:0;margin:0 0 10px;
	font-family:var(--cc-font-d);font-weight:500;font-size:clamp(26px,3.4vw,36px);color:var(--cc-ink);line-height:1.2}
.cc-cart-main .cart-empty.woocommerce-info::before{display:none}
.cc-cart-main .return-to-shop{margin:0 0 34px;text-align:center}
.cc-cart-main .return-to-shop .button.wc-backward{background:none;color:var(--cc-ink);
	border:1px solid var(--cc-line-dark);border-radius:999px;padding:12px 30px;font-weight:600;font-size:15px;
	text-decoration:none;display:inline-block}
.cc-cart-main .return-to-shop .button.wc-backward:hover{border-color:var(--cc-ink)}
.cc-empty-ctas{text-align:center;padding:0 24px 64px;max-width:640px;margin:0 auto}
.cc-empty-ctas-lede{color:var(--cc-stone);font-size:15px;margin:0 0 22px}
.cc-empty-ctas-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* Notices inside the cart */
.cc-cart-main .woocommerce-notices-wrapper:empty{display:none}
.cc-cart-main .woocommerce-message,.cc-cart-main .woocommerce-info,.cc-cart-main .woocommerce-error{
	background:var(--cc-paper);border:1px solid var(--cc-line);border-left:4px solid var(--cc-gold);
	border-radius:10px;color:var(--cc-ink);font-size:15px;padding:16px 20px 16px 52px}
.cc-cart-main .woocommerce-message::before,.cc-cart-main .woocommerce-info::before,
.cc-cart-main .woocommerce-error::before{color:var(--cc-gold-deep);left:20px}
.cc-cart-main .woocommerce-error{border-left-color:#b0442f}

/* Cart table → elegant rows */
.cc-cart-main .woocommerce-cart-form{background:var(--cc-paper);border:1px solid var(--cc-line);
	border-radius:var(--cc-radius);overflow:hidden;box-shadow:var(--cc-shadow-sm)}
.cc-cart-main table.shop_table.cart{width:100%;border:0;margin:0;border-collapse:collapse;background:none}
.cc-cart-main table.shop_table.cart thead th{background:var(--cc-navy-deep);color:#f4efe2;
	font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
	padding:16px 18px;text-align:left;border:0}
.cc-cart-main table.shop_table.cart tbody td{padding:20px 18px;border:0;
	border-bottom:1px solid var(--cc-line);vertical-align:middle;background:none}
.cc-cart-main table.shop_table.cart tbody tr:last-child td{border-bottom:0}
.cc-cart-main td.product-thumbnail img{width:96px;height:96px;object-fit:cover;border-radius:10px}
.cc-cart-main td.product-name a{color:var(--cc-ink);font-weight:600;font-size:16px;text-decoration:none}
.cc-cart-main td.product-name a:hover{color:var(--cc-gold-deep)}
.cc-cart-main td.product-name dl.variation{font-size:13.5px;color:var(--cc-stone);margin:8px 0 0}
.cc-cart-main td.product-name dl.variation dt{font-weight:600}
.cc-cart-main td.product-price,.cc-cart-main td.product-subtotal{font-size:16px;font-weight:600;
	color:var(--cc-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.cc-cart-main td.product-subtotal{font-family:var(--cc-font-d);font-size:18px}

/* Remove link */
.cc-cart-main a.remove{display:inline-flex;align-items:center;justify-content:center;
	width:30px;height:30px;border-radius:50%;border:1px solid var(--cc-line-dark);
	color:var(--cc-stone) !important;font-size:17px !important;line-height:1;font-weight:400 !important;text-decoration:none}
.cc-cart-main a.remove:hover{background:#b0442f;border-color:#b0442f;color:#fff !important}

/* Quantity stepper */
.cc-cart-main td.product-quantity .quantity{display:inline-flex;align-items:stretch;
	border:1px solid var(--cc-line-dark);border-radius:999px;overflow:hidden;background:#fff}
.cc-cart-main td.product-quantity .quantity input.qty{width:52px;height:44px;border:0;text-align:center;
	font-size:16px;font-weight:600;color:var(--cc-ink);background:none;-moz-appearance:textfield;appearance:textfield}
.cc-cart-main td.product-quantity .quantity input.qty::-webkit-outer-spin-button,
.cc-cart-main td.product-quantity .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.cc-cart-main td.product-quantity .quantity .minus,.cc-cart-main td.product-quantity .quantity .plus{
	width:40px;background:none;border:0;color:var(--cc-gold-deep);font-size:20px;cursor:pointer;line-height:1}
.cc-cart-main td.product-quantity .quantity .minus:hover,.cc-cart-main td.product-quantity .quantity .plus:hover{background:var(--cc-gold-soft)}

/* Actions row: coupon + update */
.cc-cart-main table.shop_table.cart td.actions{padding:22px 18px;background:var(--cc-cream-deep)}
.cc-cart-main td.actions .coupon{display:flex;gap:10px;flex-wrap:wrap;align-items:center;float:none}
.cc-cart-main td.actions .coupon label{display:none}
.cc-cart-main td.actions .coupon input#coupon_code{width:230px;max-width:100%;height:50px;padding:0 18px;
	border:1px solid var(--cc-line-dark);border-radius:999px;background:#fff;font-size:15px;color:var(--cc-ink)}
.cc-cart-main td.actions .coupon input#coupon_code:focus{border-color:var(--cc-gold);outline:none}
.cc-cart-main td.actions .button{background:none;color:var(--cc-ink);border:1px solid var(--cc-line-dark);
	border-radius:999px;padding:14px 28px;font-weight:600;font-size:15px;cursor:pointer;float:none;margin:0}
.cc-cart-main td.actions .button:hover{border-color:var(--cc-ink)}
.cc-cart-main td.actions .button[name="update_cart"]{float:right}

/* Continue shopping link */
.cc-cart-main .cc-continue{margin:26px 0 0}
.cc-cart-main .cc-continue a{color:var(--cc-ink);font-weight:600;font-size:15px;text-decoration:none;
	border-bottom:2px solid var(--cc-gold);padding-bottom:2px}
.cc-cart-main .cc-continue a:hover{color:var(--cc-gold-deep)}

/* Totals → premium summary card */
.cc-cart-main .cart-collaterals{margin-top:36px}
.cc-cart-main .cart-collaterals .cart_totals{background:var(--cc-paper);border:1px solid var(--cc-line);
	border-radius:var(--cc-radius);box-shadow:var(--cc-shadow-sm);padding:32px 30px;float:none;width:100%}
.cc-cart-main .cart_totals h2{font-family:var(--cc-font-d);font-weight:500;font-size:24px;
	color:var(--cc-ink);margin:0 0 18px}
.cc-cart-main .cart_totals table.shop_table{border:0;margin:0 0 22px;background:none;border-collapse:collapse}
.cc-cart-main .cart_totals table.shop_table th,
.cc-cart-main .cart_totals table.shop_table td{border:0;border-bottom:1px solid var(--cc-line);
	padding:13px 0;background:none;font-size:15px}
.cc-cart-main .cart_totals table.shop_table th{color:var(--cc-stone);font-weight:600;text-align:left}
.cc-cart-main .cart_totals table.shop_table td{text-align:right;font-variant-numeric:tabular-nums;color:var(--cc-ink)}
.cc-cart-main .cart_totals table.shop_table tr.order-total th,
.cc-cart-main .cart_totals table.shop_table tr.order-total td{border-bottom:0;padding-top:18px}
.cc-cart-main .cart_totals table.shop_table tr.order-total td{font-family:var(--cc-font-d);
	font-size:24px;font-weight:600}
.cc-cart-main .cart_totals .woocommerce-shipping-destination{font-size:13.5px;color:var(--cc-stone)}
.cc-cart-main .wc-proceed-to-checkout{padding:0}
.cc-cart-main .wc-proceed-to-checkout a.checkout-button{display:block;text-align:center;text-decoration:none;
	background:var(--cc-gold);color:#fff;font-weight:700;font-size:17px;letter-spacing:.02em;
	border-radius:999px;padding:18px 32px;box-shadow:0 10px 26px -10px rgba(192,127,46,.65);
	transition:transform .18s ease,background .18s ease}
.cc-cart-main .wc-proceed-to-checkout a.checkout-button:hover{background:var(--cc-gold-deep);transform:translateY(-1px)}
.cc-cart-main .wc-proceed-to-checkout .cc-continue{display:block;text-align:center;margin-top:14px}

/* Responsive */
@media (max-width:1080px){
	.cc-cart-grid{grid-template-columns:minmax(0,1fr)}
	.cc-trust-card{position:static;max-width:640px}
}
@media (max-width:768px){
	.cc-cart-page{padding:32px 0 64px}
	.cc-cart-main .woocommerce-cart-form{border-radius:12px}
	.cc-cart-main table.shop_table.cart thead{display:none}
	.cc-cart-main table.shop_table.cart tbody td{display:block;padding:10px 18px;border-bottom:0}
	.cc-cart-main table.shop_table.cart tbody tr{border-bottom:1px solid var(--cc-line)}
	.cc-cart-main td.product-thumbnail{padding-top:18px !important}
	.cc-cart-main td.product-subtotal{padding-bottom:18px !important}
	.cc-cart-main td.actions .button[name="update_cart"]{float:none;width:100%;margin-top:12px}
	.cc-cart-main td.actions .coupon{width:100%}
	.cc-cart-main td.actions .coupon input#coupon_code{flex:1}
	.cc-cart-main .cart_totals{padding:26px 22px}
}
@media (prefers-reduced-motion:reduce){
	.cc-cart-main .wc-proceed-to-checkout a.checkout-button{transition:none}
	.cc-cart-main .wc-proceed-to-checkout a.checkout-button:hover{transform:none}
}
/* ============================================================
   Enhancement pass (v1.12.3) — focus detail, hover refinement,
   empty-state polish. Visual only; stock WooCommerce markup intact.
   ============================================================ */

/* Calm entrance for the page head and trust card */
.cc-cart-page .cc-page-head{animation:ccCartIn .5s ease backwards}
@keyframes ccCartIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* Focus rings everywhere they are missing */
.cc-crumbs a:focus-visible,
.cc-cart-main td.product-name a:focus-visible,
.cc-cart-main a.remove:focus-visible,
.cc-cart-main .cc-continue a:focus-visible,
.cc-cart-main td.actions .button:focus-visible,
.cc-cart-main .wc-proceed-to-checkout a.checkout-button:focus-visible,
.cc-trust-help a:focus-visible,
.cc-empty-ctas-row .cc-btn:focus-visible{
	outline:2px solid var(--cc-gold);outline-offset:2px}

/* Product rows: name link gets a steadier hover */
.cc-cart-main td.product-name a{transition:color .16s ease}
.cc-cart-main a.remove{transition:background .18s ease,border-color .18s ease,color .18s ease}

/* Quantity stepper: steadier focus on the number field */
.cc-cart-main td.product-quantity .quantity input.qty:focus{outline:none;box-shadow:inset 0 0 0 2px rgba(192,127,46,.35)}
.cc-cart-main td.product-quantity .quantity .minus,
.cc-cart-main td.product-quantity .quantity .plus{transition:background .16s ease;color .16s ease}

/* Coupon + actions: consistent focus */
.cc-cart-main td.actions .coupon input#coupon_code{transition:border-color .15s ease,box-shadow .15s ease}
.cc-cart-main td.actions .coupon input#coupon_code:focus{border-color:var(--cc-gold);outline:none;box-shadow:0 0 0 3px rgba(192,127,46,.18)}
.cc-cart-main td.actions .button{transition:border-color .16s ease,background .16s ease,color .16s ease}

/* Totals card: calm breathing on the place-order CTA */
.cc-cart-main .wc-proceed-to-checkout a.checkout-button:focus-visible{transform:none}

/* Notices: links inside notices stay legible */
.cc-cart-main .woocommerce-message a,
.cc-cart-main .woocommerce-info a,
.cc-cart-main .woocommerce-error a{color:var(--cc-gold-deep);font-weight:600}

/* Empty basket: a little more ceremony */
.cc-cart-main .cart-empty.woocommerce-info{letter-spacing:-.01em}
.cc-empty-ctas-lede{max-width:44ch;margin-left:auto;margin-right:auto}
.cc-empty-ctas-row .cc-btn{min-width:190px}

/* Trust card: sticky offset keeps it clear of the toolbar reveal */
@media (min-width:1081px){
	.cc-trust-card{top:120px}
}

/* Mobile: tighter, thumb-friendly rows */
@media (max-width:768px){
	.cc-cart-main td.product-thumbnail img{width:84px;height:84px}
	.cc-cart-main td.product-name a{font-size:15.5px}
	.cc-cart-main table.shop_table.cart tbody tr{border:1px solid var(--cc-line);border-radius:12px;margin-bottom:16px;display:block;background:var(--cc-paper)}
	.cc-cart-main table.shop_table.cart tbody td{border-bottom:1px solid var(--cc-line)}
	.cc-cart-main table.shop_table.cart tbody tr:last-child td:not(.actions){border-bottom:1px solid var(--cc-line)}
	.cc-cart-main table.shop_table.cart td.actions{border-bottom:0;border-radius:0 0 12px 12px}
	.cc-cart-main table.shop_table.cart{border:0;background:none}
	.cc-cart-main .woocommerce-cart-form{border:0;background:none;box-shadow:none}
	.cc-cart-main td.actions .coupon input#coupon_code{font-size:16px} /* stops iOS zoom on focus */
}
@media (prefers-reduced-motion:reduce){
	.cc-cart-page .cc-page-head{animation:none}
}
