/* ============================================================
   BespokeSword Cart Skin — pixel-faithful Figma "Shopping Cart"
   All rules scoped under .bsw-cart.
   ============================================================ */

.bsw-cart,
.bsw-cart *,
.bsw-cart *::before,
.bsw-cart *::after { box-sizing: border-box; }

.bsw-cart {
	font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 16px;
	color: #000;
}

/* ---------- Header ---------- */
.bsw-cart .bsw-head { margin-bottom: 64px; }

.bsw-cart .bsw-title {
	font-weight: 700;
	font-size: 64px;
	line-height: 72px;
	letter-spacing: -1.28px;
	color: #000;
	margin: 0 0 16px;
	padding: 0;
}

.bsw-cart .bsw-subtitle {
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	color: #444748;
	margin: 0;
	padding: 0;
}

/* ---------- Main grid ---------- */
.bsw-cart .bsw-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 32px;
	align-items: start;
}

.bsw-cart .bsw-items { grid-column: span 8; }
.bsw-cart .bsw-summary-col { grid-column: span 4; }

.bsw-cart .bsw-items .woocommerce-cart-form {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin: 0;
}

/* ---------- Item card ---------- */
.bsw-cart .bsw-card {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 32px;
	background: #fff;
	border: 1px solid rgba(196, 199, 199, 0.3);
	border-radius: 24px;
	padding: 33px;
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.bsw-cart .bsw-card-image { grid-column: span 4; }
.bsw-cart .bsw-card-content {
	grid-column: span 8;
	display: flex;
	flex-direction: column;
}

/* Standard products have no builder configuration to review. Keep the same
   visual system, but use a denser card instead of preserving empty space. */
.bsw-cart .bsw-card--standard {
	grid-template-columns: repeat(12, minmax(0, 1fr));
	padding: 24px 32px;
}
.bsw-cart .bsw-card--standard .bsw-card-image {
	grid-column: span 4;
	align-self: center;
}
.bsw-cart .bsw-card--standard .bsw-card-content { grid-column: span 8; }
.bsw-cart .bsw-card--standard .bsw-image-box {
	width: 100%;
	height: 180px;
	max-height: 180px;
	aspect-ratio: auto;
}
.bsw-cart .bsw-card--standard .bsw-card-head { margin-bottom: 12px; }
.bsw-cart .bsw-card--standard .bsw-card-desc { margin-bottom: 0; }
.bsw-cart .bsw-card--standard .bsw-card-utility { padding-top: 16px; }

/* image */
.bsw-cart .bsw-image-box {
	background: #f9f9f9;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
}
.bsw-cart .bsw-image-box a { display: block; width: 100%; height: 100%; }
.bsw-cart .bsw-image-box img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	opacity: 0.9;
	margin: 0;
}

/* head row: badge + title | price */
.bsw-cart .bsw-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}
	.bsw-cart .bsw-card-head-left {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding-top: 2px;
	}
	.bsw-cart .bsw-badges {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px;
	}
	.bsw-cart .bsw-badge {
		display: inline-block;
	background: #f4f4f4;
	color: #444748;
	font-size: 10px;
	line-height: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 4px;
}
.bsw-cart .bsw-card-name,
.bsw-cart .bsw-card-name a {
	font-weight: 700;
	font-size: 24px;
	line-height: 32px;
	color: #000;
	text-decoration: none;
	margin: 0;
}
.bsw-cart .bsw-card-name a:hover { color: #000; opacity: 0.8; }

.bsw-cart .bsw-card-price {
	font-weight: 700;
	font-size: 18px;
	line-height: 28px;
	color: #000;
	white-space: nowrap;
	text-align: right;
}
.bsw-cart .bsw-card-price del {
	display: block;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #5d5f5f;
	opacity: 1;
}
.bsw-cart .bsw-card-price ins { text-decoration: none; background: transparent; }
.bsw-cart .bsw-card-price .woocommerce-Price-amount { color: inherit; }

/* description */
.bsw-cart .bsw-card-desc {
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #5d5f5f;
	margin: 0 0 24px;
	padding: 0;
}

/* specs grid (2 columns) */
.bsw-cart .bsw-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	row-gap: 8px;
	margin-bottom: 32px;
}
.bsw-cart .bsw-spec {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	min-height: 25px;
	padding-bottom: 5px;
	border-bottom: 1px solid rgba(196, 199, 199, 0.3);
}
.bsw-cart .bsw-spec-label {
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 13px;
	line-height: 15px;
	color: #444748;
}
.bsw-cart .bsw-spec-price {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 20px;
	color: #1c1b1b;
	white-space: nowrap;
}

/* utility row */
.bsw-cart .bsw-card-utility {
	margin-top: auto;
	padding-top: 25px;
	border-top: 1px solid rgba(196, 199, 199, 0.3);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.bsw-cart .bsw-card-remove-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.bsw-cart .bsw-qty { display: none; }      /* hidden per Figma; preserved for cart updates */
.bsw-cart .bsw-remove,
.bsw-cart .bsw-remove.remove {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	font-weight: 400 !important;
	font-size: 14px !important;
	line-height: 20px !important;
	color: #5d5f5f !important;
	text-decoration: none !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 4px 7px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: transparent !important;
	box-shadow: none !important;
	text-indent: 0 !important;
	overflow: visible !important;
	opacity: 1 !important;
	font-family: "Readex Pro", sans-serif !important;
	transition: background-color .18s ease, color .18s ease;
}
.bsw-cart .bsw-remove:hover,
.bsw-cart .bsw-remove.remove:hover,
.bsw-cart .bsw-remove:focus-visible,
.bsw-cart .bsw-remove.remove:focus-visible {
	color: #000 !important;
	background: rgba(93, 95, 95, 0.08) !important;
	outline: none !important;
}
.bsw-cart .bsw-remove::before,
.bsw-cart .bsw-remove::after,
.bsw-cart .bsw-remove.remove::before,
.bsw-cart .bsw-remove.remove::after {
	content: none !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.bsw-cart .bsw-remove-x { font-size: 11px !important; line-height: 1; }

/* ---------- Order Summary ---------- */
.bsw-cart .bsw-summary {
	background: #fff;
	border: 1px solid rgba(196, 199, 199, 0.3);
	border-radius: 24px;
	padding: 33px;
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.bsw-cart .bsw-summary-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.bsw-cart .bsw-summary-title {
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
	color: #000;
	margin: 0;
	padding: 0;
}
.bsw-cart .bsw-summary-count {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 9px;
	border-radius: 999px;
	background: #f3f3f2;
	color: #5d5f5f;
	font-size: 11px;
	font-weight: 500;
	line-height: 18px;
	white-space: nowrap;
}
.bsw-cart .bsw-summary-body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* compact itemized receipt */
.bsw-cart .bsw-summary-items {
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(196, 199, 199, 0.45);
	border-bottom: 1px solid rgba(196, 199, 199, 0.45);
}
.bsw-cart .bsw-summary-item {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 11px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(196, 199, 199, 0.28);
}
.bsw-cart .bsw-summary-item:last-child { border-bottom: 0; }
.bsw-cart .bsw-summary-item[hidden] { display: none !important; }
.bsw-cart .bsw-summary-item__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 7px;
	background: #f8f8f7;
}
.bsw-cart .bsw-summary-item__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.bsw-cart .bsw-summary-item__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
}
.bsw-cart .bsw-summary-item__main,
.bsw-cart .bsw-summary-service {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 10px;
}
.bsw-cart .bsw-summary-item__name {
	min-width: 0;
	overflow: hidden;
	color: #111;
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.bsw-cart .bsw-summary-item__price {
	color: #111;
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	white-space: nowrap;
}
.bsw-cart .bsw-summary-item__price .woocommerce-Price-amount { color: inherit; }
.bsw-cart .bsw-summary-item__meta {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 5px;
	overflow: hidden;
	color: #747777;
	font-size: 11px;
	line-height: 16px;
	white-space: nowrap;
}
.bsw-cart .bsw-summary-item__meta span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
}
.bsw-cart .bsw-summary-service {
	margin-top: 3px;
	color: #555959;
	font-size: 11.5px;
	line-height: 17px;
}
.bsw-cart .bsw-summary-service small {
	font: inherit;
	color: #777b7b;
}
.bsw-cart .bsw-summary-service .woocommerce-Price-amount { color: inherit; }
.bsw-cart .bsw-summary-items-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 38px;
	margin: 0;
	padding: 8px 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #444748;
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	cursor: pointer;
}
.bsw-cart .bsw-summary-items-toggle:hover,
.bsw-cart .bsw-summary-items-toggle:focus-visible {
	background: #f7f7f6;
	color: #000;
	outline: none;
}
.bsw-cart .bsw-summary-items-toggle svg { transition: transform .2s ease; }
.bsw-cart .bsw-summary-items-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* coupon */
.bsw-cart .bsw-coupon {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 8px;
	position: relative;
}
.bsw-cart .bsw-coupon-label {
	font-weight: 400;
	font-size: 10px;
	line-height: 15px;
	letter-spacing: 1px;
	color: #444748;
	margin: 0;
}
.bsw-cart .bsw-coupon-row {
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid rgba(196, 199, 199, 0.5);
	padding-bottom: 5px;
}
.bsw-cart .bsw-coupon-input {
	flex: 1 0 0;
	min-width: 0;
	border: 0 !important;
	background: transparent !important;
	padding: 1px 0 !important;
	margin: 0 !important;
	font-size: 16px;
	letter-spacing: 1.4px;
	color: #000;
	box-shadow: none !important;
	outline: none !important;
	border-radius: 0 !important;
}
.bsw-cart .bsw-coupon-input::placeholder { color: #6b7280; letter-spacing: 1.4px; opacity: 1; }
.bsw-cart .bsw-coupon-apply {
	flex: 0 0 auto;
	background: #e2e2e2;
	color: #000;
	border: 0;
	border-radius: 0;
	padding: 4px 8px;
	font-size: 11px;
	letter-spacing: 1.1px;
	line-height: 16.5px;
	cursor: pointer;
	min-height: 0;
	width: auto;
}
.bsw-cart .bsw-coupon-apply:hover { background: #d6d6d6; color: #000; }
.bsw-cart .bsw-coupon-available {
	flex: 0 0 auto;
	min-height: 24px;
	margin: 0;
	padding: 3px 7px;
	border: 1px solid #9dc9a8;
	border-radius: 4px;
	background: #edf7ef;
	color: #216b37;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 16px;
	white-space: nowrap;
	cursor: pointer;
}
.bsw-cart .bsw-coupon-available:hover,
.bsw-cart .bsw-coupon-available:focus-visible {
	border-color: #5e9f70;
	background: #e2f2e6;
	color: #174f29;
	outline: none;
}
.bsw-cart .bsw-coupon-options {
	box-sizing: border-box;
	position: absolute;
	top: 35px;
	left: 0;
	right: 0;
	z-index: 30;
	max-height: 193px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid rgba(196, 199, 199, 0.72);
	border-radius: 8px;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}
.bsw-cart .bsw-coupon-options[hidden] { display: none; }
.bsw-cart .bsw-coupon-option {
	display: grid;
	grid-template-columns: 82px minmax(64px, 1fr) auto auto;
	align-items: center;
	gap: 9px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid rgba(196, 199, 199, 0.42);
	border-radius: 0;
	background: #fff;
	color: #000;
	text-align: left;
	cursor: pointer;
}
.bsw-cart .bsw-coupon-option:last-child { border-bottom: 0; }
.bsw-cart .bsw-coupon-option:hover,
.bsw-cart .bsw-coupon-option:focus-visible {
	background: #f3f8f4;
	outline: none;
}
.bsw-cart .bsw-coupon-option__code {
	display: block;
	width: 82px;
	min-width: 0;
	overflow: hidden;
	color: #4c5450;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .7px;
	line-height: 18px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.bsw-cart .bsw-coupon-option__label {
	min-width: 0;
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.bsw-cart .bsw-coupon-option__saving {
	color: #5f6661;
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	white-space: nowrap;
}
.bsw-cart .bsw-coupon-option__best {
	padding: 2px 5px;
	border-radius: 99px;
	background: #e4f3e7;
	color: #24713b;
	font-size: 9px;
	font-weight: 600;
	line-height: 14px;
	white-space: nowrap;
}
.bsw-cart .bsw-coupon-applied-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
.bsw-cart .bsw-coupon-applied {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 10px;
	min-height: 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.bsw-cart .bsw-coupon-applied__label {
	min-width: 0;
	overflow: hidden;
	color: #444748;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.bsw-cart .bsw-coupon-applied__amount {
	color: #111;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	white-space: nowrap;
}
.bsw-cart .bsw-coupon-applied__amount .woocommerce-Price-amount { color: inherit; }
.bsw-cart .bsw-coupon-applied__undo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 4px 7px;
	border: 0;
	background: #e2e2e2;
	color: #000;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .8px;
	line-height: 15px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
.bsw-cart .bsw-coupon-applied__undo:hover,
.bsw-cart .bsw-coupon-applied__undo:focus-visible { background: #d6d6d6; color: #000; outline: none; }
.bsw-cart .bsw-coupon-applied__undo[aria-disabled="true"] { cursor: wait; opacity: .72; }
.bsw-cart .bsw-coupon-apply[aria-disabled="true"] { cursor: wait; opacity: .72; }
.bsw-cart .bsw-coupon-feedback {
	min-height: 18px;
	margin-top: 2px;
	font-size: 12px;
	line-height: 18px;
}
.bsw-cart .bsw-coupon-feedback[hidden] { display: none; }
.bsw-cart .bsw-coupon-feedback__message { margin: 0; font: inherit; }
.bsw-cart .bsw-coupon-feedback--success,
.bsw-cart .bsw-coupon-feedback__message--success { color: #16803a; }
.bsw-cart .bsw-coupon-feedback--error,
.bsw-cart .bsw-coupon-feedback__message--error { color: #c62828; }
.bsw-cart .bsw-row-discount {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

/* totals rows */
.bsw-cart .bsw-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
}
.bsw-cart .bsw-row-label,
.bsw-cart .bsw-row-value {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #444748;
}
.bsw-cart .bsw-row-value { text-align: right; }
.bsw-cart .bsw-row-value.bsw-row-strong { color: #000; }
.bsw-cart .bsw-row-value .woocommerce-Price-amount { color: inherit; }
.bsw-cart .bsw-row-coupon .bsw-row-label,
.bsw-cart .bsw-row-coupon .bsw-row-value,
.bsw-cart .bsw-row-discount .woocommerce-Price-amount { color: #000; }
.bsw-cart .bsw-row-discount .woocommerce-remove-coupon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	border: 0;
	background: #e2e2e2;
	color: #000;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 400;
	line-height: 16.5px;
	letter-spacing: 1.1px;
	text-decoration: none;
	text-transform: uppercase;
}
.bsw-cart .bsw-row-discount .woocommerce-remove-coupon:hover { background: #d6d6d6; color: #000; }
.bsw-cart .bsw-row-divider { border-bottom: 1px solid rgba(196, 199, 199, 0.5); padding-bottom: 17px; }
.bsw-cart .bsw-row-total { padding-top: 8px; }
.bsw-cart .bsw-total-label {
	font-weight: 700;
	font-size: 18px;
	line-height: 28px;
	color: #000;
}
.bsw-cart .bsw-total-value {
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
	color: #000;
}
.bsw-cart .bsw-total-value .woocommerce-Price-amount { color: inherit; }

/* checkout button */
.bsw-cart .bsw-checkout {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #111 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 8px !important;
	padding: 16px 24px !important;
	font-weight: 500;
	font-size: 18px;
	line-height: 16px;
	text-decoration: none;
	margin: 16px 0 0;
	width: 100%;
}
.bsw-cart .bsw-checkout:hover { background: #626262 !important; color: #fff !important; }
.bsw-cart .bsw-checkout .bsw-arrow { flex: 0 0 auto; }

/* secure checkout */
.bsw-cart .bsw-secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #444748;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	margin-top: 16px;
}
.bsw-cart .bsw-secure svg { flex: 0 0 auto; }

/* hidden native controls */
.bsw-cart .bsw-hidden-actions { display: none; }

/* ---------- Empty cart state ---------- */
body.woocommerce-cart .bsw-empty-cart-panel {
	box-sizing: border-box;
	width: min(100% - 32px, 920px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	min-height: 260px;
	margin: 72px auto 24px !important;
	padding: 48px 32px !important;
	background: #fff !important;
	border: 1px solid rgba(196, 199, 199, 0.35) !important;
	border-radius: 24px;
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
	font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-align: center;
}

body.woocommerce-cart .wc-empty-cart-message:not(:has(.bsw-empty-cart-panel)) {
	display: none !important;
}

body.woocommerce-cart .bsw-empty-cart-panel .cart-empty.woocommerce-info {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none;
	color: #000 !important;
	font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 36px;
	text-align: center;
}

body.woocommerce-cart .bsw-empty-cart-panel .cart-empty.woocommerce-info::before,
body.woocommerce-cart .bsw-empty-cart-panel .cart-empty.woocommerce-info::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-cart .bsw-empty-cart-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
}

body.woocommerce-cart .bsw-empty-cart-button,
body.woocommerce-cart .bsw-empty-cart-button.button,
body.woocommerce-cart .bsw-empty-cart-button.ast-button,
body.woocommerce-cart .bsw-empty-cart-button.ast-outline-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

body.woocommerce-cart .return-to-shop {
	display: none !important;
}

@media (max-width: 544px) {
	body.woocommerce-cart .bsw-empty-cart-panel {
		width: min(100% - 24px, 920px);
		margin-top: 40px !important;
		padding: 36px 20px !important;
	}

	body.woocommerce-cart .bsw-empty-cart-panel .cart-empty.woocommerce-info {
		font-size: 24px;
		line-height: 31px;
	}

	body.woocommerce-cart .bsw-empty-cart-actions {
		width: 100%;
	}

	body.woocommerce-cart .bsw-empty-cart-button,
	body.woocommerce-cart .bsw-empty-cart-button.button,
	body.woocommerce-cart .bsw-empty-cart-button.ast-button,
	body.woocommerce-cart .bsw-empty-cart-button.ast-outline-button {
		width: 100%;
	}
}

body.woocommerce-cart .wc-block-components-notice-banner.is-info > svg {
	display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bsw-cart .bsw-items { grid-column: 1 / -1; }
	.bsw-cart .bsw-summary-col { grid-column: 1 / -1; }
	.bsw-cart .bsw-title { font-size: 44px; line-height: 50px; letter-spacing: -0.8px; }
	.bsw-cart .bsw-head { margin-bottom: 40px; }
}

@media (min-width: 1025px) {
	.bsw-cart .bsw-summary-col {
		position: sticky;
		top: 24px;
	}
}

@media (max-width: 768px) {
	.bsw-cart .bsw-card { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
	.bsw-cart .bsw-card-image,
	.bsw-cart .bsw-card-content { grid-column: 1 / -1; }
	.bsw-cart .bsw-image-box { aspect-ratio: 16 / 10; }
	.bsw-cart .bsw-card--standard { padding: 20px; }
	.bsw-cart .bsw-card--standard .bsw-card-image,
	.bsw-cart .bsw-card--standard .bsw-card-content { grid-column: 1 / -1; }
	.bsw-cart .bsw-card--standard .bsw-image-box { width: 100%; height: 160px; max-height: 160px; aspect-ratio: auto; }
	.bsw-cart .bsw-card--standard .bsw-card-utility { margin-top: 24px; }
	.bsw-cart .bsw-specs { grid-template-columns: 1fr; }
	.bsw-cart .bsw-title { font-size: 36px; line-height: 42px; }
	.bsw-cart .bsw-summary { padding: 22px; }
	.bsw-cart .bsw-summary-item { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
	.bsw-cart .bsw-summary-item__image { width: 42px; height: 42px; }
	.bsw-cart .bsw-coupon-row { gap: 6px; }
	.bsw-cart .bsw-coupon-available { padding-inline: 6px; }
	.bsw-cart .bsw-coupon-option { grid-template-columns: 72px minmax(58px, 1fr) auto auto; gap: 6px; padding-inline: 10px; }
	.bsw-cart .bsw-coupon-option__code { width: 72px; font-size: 10px; }
}
