/* Dukan cart page */
.dkc-cart-page {
	--dkcp-ink: #2f3851;
	--dkcp-ink-2: #4b556f;
	--dkcp-muted: #7a8193;
	--dkcp-line: #e3e6ec;
	--dkcp-soft: #f6f7f9;
	--dkcp-accent: #f6c33b;
}
.dkc-cart-page .site-main,
.dkc-cart-page main#content { max-width: 1200px; margin: 0 auto; padding: 0 16px 48px; }
.dkc-cart-page .woocommerce { color: var(--dkcp-ink); }

.dkcp-crumbs { display: flex; gap: 6px; margin: 22px 0 10px; font-size: 13px; color: var(--dkcp-muted); }
.dkcp-crumbs a { color: var(--dkcp-ink-2); text-decoration: underline; }
.dkcp-title { margin: 0 0 20px; font-size: 34px; font-weight: 800; color: var(--dkcp-ink); }

/* Slim banner */
.dkcp-banner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 72px;
	margin-bottom: 26px;
	padding: 14px 22px;
	border: 1px solid #f0dfae;
	border-radius: 10px;
	background: #fdf6e3;
	overflow: hidden;
	color: var(--dkcp-ink);
}
.dkcp-banner strong { font-size: 16px; font-weight: 800; position: relative; z-index: 1; }
.dkcp-banner svg { flex: 0 0 auto; position: relative; z-index: 1; }
.dkcp-banner-art { position: absolute; inset-block: 0; left: 0; width: 140px; display: flex; align-items: center; justify-content: center; opacity: .9; }
.dkc-cart-page .dkcp-banner-art img { height: 64px !important; width: auto; object-fit: contain; }

/* Steps */
.dkcp-steps { display: flex; justify-content: center; margin: 0 auto 28px; padding: 0; max-width: 620px; list-style: none; }
.dkcp-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; color: var(--dkcp-muted); }
.dkcp-step + .dkcp-step::before { content: ""; position: absolute; top: 22px; right: calc(-50% + 30px); left: calc(50% + 30px); height: 1px; background: var(--dkcp-line); }
.dkcp-step-dot { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--dkcp-line); border-radius: 50%; background: #fff; color: var(--dkcp-muted); position: relative; z-index: 1; }
.dkcp-step.is-current { color: var(--dkcp-ink); font-weight: 800; }
.dkcp-step.is-current .dkcp-step-dot { background: var(--dkcp-ink); border-color: var(--dkcp-ink); color: #fff; }

/* Cart table */
.dkc-cart-page table.shop_table.cart { width: 100%; margin: 0 0 24px; border: 1px solid var(--dkcp-line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; }
.dkc-cart-page table.shop_table.cart thead th { padding: 14px 16px; background: var(--dkcp-soft); border: 0; border-bottom: 1px solid var(--dkcp-line); color: var(--dkcp-ink-2); font-size: 13px; font-weight: 700; }
.dkc-cart-page table.shop_table.cart td { padding: 16px; border: 0; border-top: 1px solid var(--dkcp-line); vertical-align: middle; }
.dkc-cart-page table.shop_table.cart tbody tr:first-child td { border-top: 0; }
.dkc-cart-page table.cart td.product-thumbnail { width: 96px; }
.dkc-cart-page table.cart td.product-thumbnail img { width: 72px !important; height: 90px !important; object-fit: cover; border-radius: 8px; }
.dkc-cart-page table.cart td.product-name a { color: var(--dkcp-ink); font-weight: 700; text-decoration: none; }
.dkc-cart-page table.cart td.product-price,
.dkc-cart-page table.cart td.product-subtotal { font-weight: 800; white-space: nowrap; }
.dkc-cart-page table.cart td.product-price del { color: var(--dkcp-muted); font-weight: 400; margin-inline-start: 6px; }
.dkc-cart-page table.cart td.product-remove { width: 44px; text-align: center; }
.dkc-cart-page table.cart a.remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--dkcp-muted) !important; font-size: 22px; font-weight: 400; text-decoration: none; }
.dkc-cart-page table.cart a.remove:hover { background: #fdecec; color: #c0392b !important; }

/* Quantity stepper */
.dkc-cart-page .quantity.dkcp-qty { display: inline-flex; align-items: center; border: 1px solid var(--dkcp-line); border-radius: 6px; overflow: hidden; background: #fff; }
.dkc-cart-page .dkcp-qty button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 36px; padding: 0; border: 0; border-radius: 0; background: #fff; color: var(--dkcp-ink); font-size: 18px; line-height: 1; cursor: pointer; }
.dkc-cart-page .dkcp-qty button:hover { background: var(--dkcp-soft); }
.dkc-cart-page .dkcp-qty input.qty { width: 46px; height: 36px; margin: 0; padding: 0; border: 0; border-inline: 1px solid var(--dkcp-line); border-radius: 0; text-align: center; font-weight: 700; color: var(--dkcp-ink); -moz-appearance: textfield; }
.dkc-cart-page .dkcp-qty input.qty::-webkit-outer-spin-button,
.dkc-cart-page .dkcp-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Coupon / update row */
.dkc-cart-page table.cart td.actions { padding: 14px 16px; background: #fff; }
.dkc-cart-page table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; float: right; }
.dkc-cart-page table.cart td.actions .coupon label { display: none; }
.dkc-cart-page table.cart td.actions .coupon .input-text { width: 200px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--dkcp-line); border-radius: 6px; }
.dkc-cart-page .woocommerce button.button,
.dkc-cart-page .woocommerce a.button,
.dkc-cart-page .woocommerce input.button {
	min-height: 44px;
	padding: 10px 18px;
	border: 1.5px solid var(--dkcp-ink);
	border-radius: 6px;
	background: var(--dkcp-ink);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
}
.dkc-cart-page .woocommerce button.button:hover,
.dkc-cart-page .woocommerce a.button:hover { background: #222a3f; color: #fff; }
.dkc-cart-page .woocommerce button.button[name="update_cart"] { float: left; background: var(--dkcp-muted); border-color: var(--dkcp-muted); }
.dkc-cart-page .woocommerce button.button[name="update_cart"]:disabled { opacity: .55; }

/* Totals */
.dkc-cart-page .cart-collaterals { display: flex; justify-content: flex-start; }
.dkc-cart-page .cart-collaterals .cart_totals { float: none; width: min(480px, 100%); padding: 24px; border: 1px solid var(--dkcp-line); border-radius: 10px; background: var(--dkcp-soft); }
.dkc-cart-page .cart_totals h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; color: var(--dkcp-ink); }
.dkc-cart-page .cart_totals table.shop_table { border: 0; margin: 0 0 16px; background: transparent; }
.dkc-cart-page .cart_totals table.shop_table th,
.dkc-cart-page .cart_totals table.shop_table td { padding: 14px 0; border: 0; border-top: 1px solid var(--dkcp-line); background: transparent; font-size: 14px; }
.dkc-cart-page .cart_totals .order-total td { font-size: 18px; font-weight: 800; }
.dkc-cart-page .cart_totals .wc-proceed-to-checkout { padding: 0; }
.dkc-cart-page .cart_totals .wc-proceed-to-checkout a.checkout-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 0; font-size: 17px; }

/* Recommendations */
.dkcp-recs { margin-top: 44px; }
.dkcp-recs-title { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; font-size: 24px; font-weight: 800; color: var(--dkcp-ink); }
.dkcp-recs-title::before, .dkcp-recs-title::after { content: ""; flex: 1; height: 1px; background: var(--dkcp-line); }
.dkcp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.dkcp-card { display: flex; flex-direction: column; gap: 8px; }
.dkcp-card-img { display: block; border-radius: 10px; overflow: hidden; background: var(--dkcp-soft); line-height: 0; }
.dkc-cart-page .dkcp-card-img img { width: 100%; height: 300px !important; object-fit: cover; }
.dkcp-card-name { color: var(--dkcp-ink); font-weight: 700; line-height: 1.5; text-decoration: none; }
.dkcp-card-price { font-weight: 800; }
.dkcp-card-price del { color: var(--dkcp-muted); font-weight: 400; font-size: 13px; }
.dkc-cart-page .woocommerce a.dkcp-card-btn, .dkc-cart-page a.dkcp-card-btn { align-self: flex-start; min-height: 38px; padding: 6px 16px; border: 1.5px solid var(--dkcp-ink); border-radius: 6px; background: #fff; color: var(--dkcp-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.dkc-cart-page .woocommerce a.dkcp-card-btn:hover, .dkc-cart-page a.dkcp-card-btn:hover { background: var(--dkcp-ink); color: #fff; }
.dkc-cart-page a.added_to_cart { display: none; }
.dkcp-back { margin: 30px 0 0; text-align: center; }
.dkcp-back-link { color: var(--dkcp-ink); font-weight: 700; text-decoration: underline; }

/* Empty state */
.dkc-cart-page .cart-empty.woocommerce-info { margin-bottom: 10px; padding: 18px 20px; border: 1px solid var(--dkcp-line); border-radius: 10px; background: var(--dkcp-soft); color: var(--dkcp-ink); }
.dkc-cart-page .cart-empty.woocommerce-info::before { display: none; }

@media (max-width: 768px) {
	.dkcp-title { font-size: 26px; }
	.dkcp-banner { padding: 12px 16px; }
	.dkcp-banner strong { font-size: 14px; }
	.dkcp-banner-art { display: none; }
	.dkcp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.dkc-cart-page .dkcp-card-img img { height: 220px !important; }
	.dkc-cart-page table.shop_table_responsive.cart tr td { padding: 10px 14px; }
	.dkc-cart-page table.cart td.actions .coupon { float: none; width: 100%; }
	.dkc-cart-page table.cart td.actions .coupon .input-text { flex: 1; width: auto; }
	.dkc-cart-page .woocommerce button.button[name="update_cart"] { float: none; width: 100%; margin-top: 10px; }
	.dkcp-step-label { font-size: 12px; }
}
