/* =================================================================
 * BFP Cart — Card-based premium design (Amazon / Myntra style)
 * Scope: WooCommerce BLOCK cart (.wc-block-cart) only
 * Brand: orange #ff4b1f -> #ff6a35, ink #17130f, beige #f8f5f1
 * Responsive: 1100 / 900 (stack) / 600 (phone) / 380
 * ============================================================== */

/* ---------- 1. Page shell ---------- */

.wp-block-woocommerce-cart .with-scroll-to-top__scroll-point {
	display: none !important;
}

.wp-block-woocommerce-cart .wc-block-components-notices {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 20px;
}

.wp-block-woocommerce-cart .wc-block-components-notices > *:not(:last-child) {
	display: none !important;
}

.wp-block-woocommerce-cart .wc-block-components-notice-banner {
	margin: 0 !important;
	padding: 12px 16px !important;
	border: 1px solid #bfe6cd !important;
	border-left: 3px solid #1c9e4f !important;
	border-radius: 12px !important;
	background: #e8f7ee !important;
	color: #176b3a !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	box-shadow: 0 4px 14px rgba(23, 19, 15, 0.05) !important;
}

.wp-block-woocommerce-cart .wc-block-components-notice-banner .wc-block-components-button {
	background: #17130f !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	letter-spacing: 0.5px !important;
	padding: 7px 16px !important;
	text-transform: uppercase !important;
}

.wp-block-woocommerce-cart .wc-block-components-notice-banner .wc-block-components-button:hover {
	background: #000 !important;
}

.wc-block-cart .wc-block-components-sidebar-layout {
	gap: 28px;
	align-items: start;
}

.wc-block-cart .wc-block-components-main {
	min-width: 0;
}

/* ---------- 2. Items: table chrome off, rows become cards ---------- */

.wc-block-cart-items {
	display: block !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	width: 100% !important;
}

.wc-block-cart-items thead {
	display: block !important;
	margin-bottom: 10px !important;
}

.wc-block-cart-items thead tr,
.wc-block-cart-items tbody {
	display: block !important;
}

.wc-block-cart-items thead th {
	display: inline-block !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	color: #9b9189 !important;
	font-size: 10.5px !important;
	font-weight: 800 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
}

.wc-block-cart-items thead th:last-child {
	float: right !important;
}

.wc-block-cart-items__row {
	display: grid !important;
	grid-template-columns: 110px minmax(0, 1fr) auto;
	grid-template-areas:
		"image  product  total"
		"image  quantity total";
	align-items: center;
	gap: 6px 18px;
	background: #fff !important;
	border: 1px solid #e9e5e2 !important;
	border-radius: 16px !important;
	padding: 18px !important;
	margin: 0 0 14px !important;
	box-shadow: 0 4px 16px rgba(23, 19, 15, 0.05) !important;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
	position: relative;
}

.wc-block-cart-items__row:hover {
	border-color: #ffd9c9 !important;
	box-shadow: 0 8px 22px -10px rgba(255, 75, 31, 0.3) !important;
}

.wc-block-cart-items__row td {
	display: block !important;
	border: 0 !important;
	padding: 0 !important;
	vertical-align: middle !important;
	background: transparent !important;
}

.wc-block-cart-item__image {
	grid-area: image;
	align-self: start;
	padding: 0 !important;
}

.wc-block-cart-item__image img {
	width: 110px !important;
	height: 110px !important;
	object-fit: cover !important;
	border-radius: 14px !important;
	border: 1px solid #f0ebe6 !important;
	display: block !important;
	background: #faf8f6 !important;
}

.wc-block-cart-item__product {
	grid-area: product;
	display: block !important;
	min-width: 0 !important;
}

.wc-block-cart-item__product .wc-block-components-product-name {
	display: block !important;
	color: #17130f !important;
	font-size: 15.5px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
	margin: 0 0 6px !important;
}

.wc-block-cart-item__product .wc-block-components-product-name:hover {
	color: #ea580c !important;
}

.wc-block-cart-item__prices {
	color: #6b584a !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	margin: 0 0 4px !important;
}

.wc-block-cart-item__prices .wc-block-components-product-price,
.wc-block-cart-item__prices .price {
	color: #6b584a !important;
}

.wc-block-cart-item__quantity {
	grid-area: quantity;
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
	margin-top: 6px !important;
}

.wc-block-cart-items__row .wc-block-cart-item__total {
	grid-area: total;
	text-align: right !important;
	white-space: nowrap !important;
	font-size: 19px !important;
	font-weight: 900 !important;
	color: #17130f !important;
	align-self: start;
	padding-top: 2px !important;
}

/* ---------- 3. Quantity stepper + remove ---------- */

.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	display: inline-flex !important;
	align-items: center !important;
	background: #faf8f6 !important;
	border: 1px solid #e9e5e2 !important;
	border-radius: 999px !important;
	overflow: hidden !important;
	box-shadow: none !important;
	margin: 0 !important;
	height: 38px !important;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector input {
	background: transparent !important;
	border: 0 !important;
	color: #17130f !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	width: 44px !important;
	height: 38px !important;
	text-align: center !important;
	padding: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	background: transparent !important;
	border: 0 !important;
	color: #17130f !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	width: 36px !important;
	height: 38px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	transition: background 0.15s ease, color 0.15s ease !important;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not(:disabled) {
	background: linear-gradient(135deg, #ff4b1f, #ff6a35) !important;
	color: #fff !important;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled {
	opacity: 0.3 !important;
	cursor: default !important;
}

.wc-block-cart-item__remove-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	color: #9b9189 !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	border: 1px solid #f0ebe6 !important;
	border-radius: 999px !important;
	padding: 8px 14px !important;
	background: #fff !important;
	margin: 0 !important;
	height: 38px !important;
	box-sizing: border-box !important;
	transition: all 0.15s ease !important;
}

.wc-block-cart-item__remove-link:hover {
	border-color: #ffd9c9 !important;
	background: #ffece4 !important;
	color: #c23a12 !important;
}

.wc-block-cart-item__remove-link svg {
	width: 13px !important;
	height: 13px !important;
}

/* ---------- 4. Order summary card ---------- */

.wc-block-cart__sidebar {
	min-width: 0;
	position: sticky;
	top: 20px;
}

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	background: linear-gradient(160deg, #ffffff 0%, #fdfbf9 100%) !important;
	border: 1px solid #e9e5e2 !important;
	border-radius: 18px !important;
	box-shadow: 0 6px 22px rgba(23, 19, 15, 0.06) !important;
	padding: 22px !important;
	margin: 0 0 16px !important;
	position: relative;
	overflow: hidden;
}

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, #ff4b1f, #ff6a35, #17130f);
}

.wc-block-cart__totals-title {
	color: #17130f !important;
	font-size: 17px !important;
	font-weight: 800 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	margin: 0 0 16px !important;
	padding: 0 0 12px !important;
	border-bottom: 1px solid #f4f1ee !important;
}

.wc-block-components-totals-coupon__button,
.wc-block-components-panel__button {
	color: #ea580c !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	letter-spacing: 0.3px !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input {
	border: 1.5px solid #d9cfc2 !important;
	border-radius: 10px !important;
	height: 42px !important;
	font-size: 13px !important;
	background: #fff !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus {
	border-color: #ff4b1f !important;
	box-shadow: 0 0 0 3px rgba(255, 75, 31, 0.14) !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-button {
	background: #17130f !important;
	border: 0 !important;
	border-radius: 10px !important;
	color: #fff !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	padding: 0 18px !important;
	height: 42px !important;
}

.wc-block-components-totals-item {
	padding: 9px 0 !important;
	font-size: 13.5px !important;
}

.wc-block-components-totals-item__label {
	color: #6b584a !important;
	font-weight: 600 !important;
}

.wc-block-components-totals-item__value {
	color: #17130f !important;
	font-weight: 700 !important;
}

.wc-block-components-totals-footer-item {
	margin-top: 6px !important;
	padding-top: 14px !important;
	border-top: 1px dashed #e9e5e2 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item {
	padding: 0 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: #17130f !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.7px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
	color: #17130f !important;
	font-size: 24px !important;
	font-weight: 900 !important;
}

/* ---------- 5. Checkout CTA + share cart ---------- */

.wc-block-cart__submit {
	margin: 0 !important;
}

.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-cart__submit-button {
	background: linear-gradient(135deg, #ff4b1f, #ff6a35) !important;
	border: 0 !important;
	border-radius: 12px !important;
	color: #fff !important;
	font-size: 14.5px !important;
	font-weight: 800 !important;
	letter-spacing: 0.3px !important;
	min-height: 54px !important;
	box-shadow: 0 10px 20px -10px rgba(255, 75, 31, 0.65) !important;
	transition: background 0.15s ease, transform 0.05s ease !important;
	text-transform: uppercase !important;
}

.wc-block-cart__submit-container .wc-block-components-button:hover,
.wc-block-cart__submit-button:hover {
	background: #f0400f !important;
	color: #fff !important;
}

.wc-block-cart__submit-container .wc-block-components-button:active {
	transform: translateY(1px);
}

.brikpanel-cshare-wrap {
	margin-top: 12px !important;
}

.brikpanel-cshare-wrap a,
.brikpanel-cshare-wrap button {
	width: 100% !important;
	border-radius: 10px !important;
	font-weight: 800 !important;
	font-size: 11.5px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	min-height: 42px !important;
	border: 1px solid #e9e5e2 !important;
	background: #fff !important;
	color: #17130f !important;
}

.brikpanel-cshare-wrap a:hover,
.brikpanel-cshare-wrap button:hover {
	border-color: #ffd9c9 !important;
	background: #fff8f4 !important;
}

.wc-block-cart__payment-options {
	margin-top: 14px !important;
}

.wc-block-cart .bfp-edd-card--cart {
	margin: 0 0 20px !important;
	max-width: none !important;
}

/* =================================================================
 * 6. RESPONSIVE
 * ============================================================== */

@media (max-width: 1100px) {
	.wc-block-cart .wc-block-components-sidebar-layout {
		gap: 20px;
	}

	.wc-block-cart-items__row {
		grid-template-columns: 92px minmax(0, 1fr) auto;
		gap: 6px 14px;
		padding: 16px !important;
	}

	.wc-block-cart-item__image img {
		width: 92px !important;
		height: 92px !important;
	}

	.wc-block-cart-items__row .wc-block-cart-item__total {
		font-size: 17px !important;
	}

	.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
		padding: 18px !important;
	}
}

@media (max-width: 900px) {
	.wc-block-cart .wc-block-components-sidebar-layout {
		flex-direction: column !important;
		gap: 18px !important;
	}

	.wc-block-cart .wc-block-components-sidebar,
	.wc-block-cart .wc-block-components-main {
		width: 100% !important;
		max-width: 100% !important;
	}

	.wc-block-cart__sidebar {
		position: static;
	}

	.wc-block-cart-items__row {
		grid-template-columns: 84px minmax(0, 1fr) auto;
		gap: 6px 14px;
		padding: 15px !important;
		border-radius: 14px !important;
	}

	.wc-block-cart-item__image img {
		width: 84px !important;
		height: 84px !important;
		border-radius: 12px !important;
	}

	.wc-block-cart-item__product .wc-block-components-product-name {
		font-size: 14.5px !important;
	}

	.wc-block-cart-items__row .wc-block-cart-item__total {
		font-size: 16.5px !important;
	}

	.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
	.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
		font-size: 22px !important;
	}
}

@media (max-width: 600px) {
	.wc-block-cart-items thead {
		display: none !important;
	}

	.wc-block-cart-items__row {
		grid-template-columns: 76px minmax(0, 1fr);
		grid-template-areas:
			"image  product"
			"image  total"
			"quantity quantity";
		gap: 8px 14px;
		padding: 14px !important;
		border-radius: 14px !important;
		margin-bottom: 12px !important;
	}

	.wc-block-cart-item__image {
		align-self: start;
	}

	.wc-block-cart-item__image img {
		width: 76px !important;
		height: 76px !important;
		border-radius: 11px !important;
	}

	.wc-block-cart-item__product .wc-block-components-product-name {
		font-size: 14px !important;
		line-height: 1.4 !important;
		margin-bottom: 4px !important;
	}

	.wc-block-cart-item__prices {
		font-size: 12.5px !important;
	}

	.wc-block-cart-items__row .wc-block-cart-item__total {
		grid-area: total;
		text-align: right !important;
		font-size: 16px !important;
		align-self: end;
		padding-top: 0 !important;
	}

	.wc-block-cart-item__quantity {
		grid-area: quantity;
		justify-content: space-between !important;
		margin-top: 4px !important;
		padding-top: 12px !important;
		border-top: 1px dashed #f0ebe6 !important;
		gap: 10px !important;
		flex-wrap: nowrap !important;
	}

	.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
		height: 36px !important;
	}

	.wc-block-cart-item__quantity .wc-block-components-quantity-selector input {
		width: 40px !important;
		height: 36px !important;
	}

	.wc-block-cart-item__quantity .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
		width: 34px !important;
		height: 36px !important;
	}

	.wc-block-cart-item__remove-link {
		height: 36px !important;
		padding: 7px 12px !important;
		font-size: 10.5px !important;
	}

	.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
		padding: 16px !important;
		border-radius: 14px !important;
	}

	.wc-block-cart__totals-title {
		font-size: 15.5px !important;
		margin-bottom: 12px !important;
	}

	.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
	.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
		font-size: 20px !important;
	}

	.wc-block-cart__submit-container .wc-block-components-button,
	.wc-block-cart__submit-button {
		min-height: 50px !important;
		font-size: 13px !important;
	}

	.wc-block-cart .bfp-edd-card--cart {
		margin-bottom: 16px !important;
	}
}

@media (max-width: 380px) {
	.wc-block-cart-items__row {
		grid-template-columns: 66px minmax(0, 1fr);
		padding: 12px !important;
	}

	.wc-block-cart-item__image img {
		width: 66px !important;
		height: 66px !important;
	}

	.wc-block-cart-item__product .wc-block-components-product-name {
		font-size: 13px !important;
	}

	.wc-block-cart-items__row .wc-block-cart-item__total {
		font-size: 15px !important;
	}

	.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
	.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
		font-size: 18px !important;
	}

	.wc-block-cart__submit-container .wc-block-components-button,
	.wc-block-cart__submit-button {
		font-size: 12px !important;
	}
}
/* ---------- 7. Sidebar tweaks + side-by-side CTAs ---------- */

/* Sidebar: tight padding, breathing room below */
.wc-block-cart .wc-block-components-sidebar {
	padding: 10px !important;
	margin-bottom: 30px !important;
}

/* Proceed to checkout + Share cart — side by side on one row */
.wc-block-cart .wc-block-cart__submit-container,
.wc-block-cart .wc-block-cart__submit {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	gap: 12px !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
}

.wc-block-cart .brikpanel-cshare-wrap {
	flex: 0 0 42% !important;
	margin: 0 !important;
	display: flex !important;
}

.wc-block-cart .wc-block-cart__submit-container > .wc-block-components-button,
.wc-block-cart .wc-block-cart__submit-button {
	flex: 1 1 auto !important;
	width: auto !important;
	margin: 0 !important;
}

.wc-block-cart .brikpanel-cshare-wrap a,
.wc-block-cart .brikpanel-cshare-wrap button {
	width: 100% !important;
	height: 100% !important;
	min-height: 54px !important;
}

/* On small phones stack them again (full width each) */
@media (max-width: 600px) {
	.wc-block-cart .wc-block-cart__submit-container,
	.wc-block-cart .wc-block-cart__submit {
		flex-direction: column !important;
		gap: 10px !important;
	}

	.wc-block-cart .brikpanel-cshare-wrap {
		flex: 1 1 auto !important;
	}
}

/* =================================================================
 * 7. Sidebar padding + CTA row + coupon row (user feedback pass)
 * ============================================================== */

/* Sidebar container: 30px default padding -> 10px, 30px bottom margin */
.wc-block-cart .wc-block-components-sidebar {
	padding: 10px !important;
	margin-bottom: 30px !important;
	box-sizing: border-box !important;
}

/* Sidebar inner blocks stop adding their own horizontal padding */
.wc-block-cart .wc-block-components-sidebar > * {
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: 100% !important;
}

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	padding: 18px !important;
}

/* Proceed to checkout + Share cart side by side */
.wc-block-cart__submit {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	gap: 10px !important;
	width: 100% !important;
}

.wc-block-cart__submit > * {
	flex: 1 1 calc(50% - 5px) !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.wc-block-cart__submit-container {
	flex: 1 1 calc(50% - 5px) !important;
	width: auto !important;
	margin: 0 !important;
	display: flex !important;
}

.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-cart__submit-button {
	width: 100% !important;
	min-height: 50px !important;
	font-size: 12.5px !important;
	padding: 0 12px !important;
	letter-spacing: 0.2px !important;
}

/* Share cart sits beside the checkout button, matching its height */
.brikpanel-cshare-wrap {
	flex: 1 1 calc(50% - 5px) !important;
	margin: 0 !important;
	display: flex !important;
	align-items: stretch !important;
}

.brikpanel-cshare-wrap a,
.brikpanel-cshare-wrap button {
	width: 100% !important;
	min-height: 50px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
}

/* Add coupons row: label left, chevron right, aligned with the rows below */
.wc-block-components-totals-coupon,
.wc-block-components-panel {
	width: 100% !important;
	border-bottom: 1px solid #f4f1ee !important;
	padding: 12px 0 !important;
	margin: 0 0 4px !important;
}

.wc-block-components-panel__button {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	color: #ea580c !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	background: none !important;
	border: 0 !important;
	cursor: pointer !important;
	text-align: left !important;
	line-height: 1.4 !important;
}

.wc-block-components-panel__button svg,
.wc-block-components-panel__button .wc-block-components-panel__button-icon {
	flex: 0 0 auto !important;
	margin-left: 8px !important;
	transition: transform 0.18s ease !important;
}

.wc-block-components-panel__button[aria-expanded="true"] svg,
.wc-block-components-panel__button[aria-expanded="true"] .wc-block-components-panel__button-icon {
	transform: rotate(180deg) !important;
}

/* Coupon form spacing under the toggle */
.wc-block-components-totals-coupon__form {
	margin: 12px 0 4px !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input {
	flex: 1 1 140px !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-button {
	flex: 0 0 auto !important;
}

/* Checkout summary totals rows align with the above */
.wc-block-components-totals-wrapper {
	padding: 0 !important;
	border: 0 !important;
}

.wc-block-components-totals-item {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
}

/* Phone: buttons full width, stacked */
@media (max-width: 600px) {
	.wc-block-cart .wc-block-components-sidebar {
		padding: 10px !important;
		margin-bottom: 30px !important;
	}

	.wc-block-cart__submit {
		flex-direction: column !important;
	}

	.wc-block-cart__submit > *,
	.wc-block-cart__submit-container,
	.brikpanel-cshare-wrap {
		flex: 1 1 100% !important;
		width: 100% !important;
	}

	.wc-block-cart__submit-container .wc-block-components-button,
	.wc-block-cart__submit-button,
	.brikpanel-cshare-wrap a,
	.brikpanel-cshare-wrap button {
		min-height: 48px !important;
		font-size: 12.5px !important;
	}

	.wc-block-components-panel__button {
		font-size: 13px !important;
	}
}

/* =================================================================
 * 7. Sidebar/spacing + coupon + CTA button row  (2026-11-22 follow-up)
 * ============================================================== */

/* Sidebar: 30px padding thi -> 10px, aur 30px margin-bottom */
.wc-block-cart .wc-block-components-sidebar {
	padding: 10px !important;
	margin-bottom: 30px !important;
}

/* Order-summary card ke andar ka padding bhi 10px (sidebar ke saath match) */
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	padding: 10px !important;
}

.wc-block-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
.wc-block-cart .wc-block-components-sidebar > * {
	margin-bottom: 10px !important;
}

/* Checkout + Share cart — side by side */
.wc-block-cart__submit {
	padding: 10px !important;
	margin: 0 !important;
}

.wc-block-cart__submit .wc-block-cart__submit-container,
.wc-block-cart__submit-container {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 10px !important;
}

.wc-block-cart__submit-container > *,
.wc-block-cart__submit-container > * > .wc-block-components-button {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.wc-block-cart__submit-button,
.wc-block-cart__submit-container .wc-block-components-button {
	width: 100% !important;
	font-size: 13px !important;
	white-space: nowrap !important;
	padding: 0 12px !important;
}

/* Share cart block ke andar ka button bhi equal width */
.wc-block-cart__submit .brikpanel-cshare-wrap,
.brikpanel-cshare-wrap {
	margin: 0 !important;
	flex: 1 1 0 !important;
	min-width: 0 !important;
}

.brikpanel-cshare-wrap a,
.brikpanel-cshare-wrap button {
	width: 100% !important;
	min-height: 54px !important;
	white-space: nowrap !important;
}

/* ---------- Coupon: label field ke UPAR, proper layout ---------- */

.wc-block-components-totals-coupon {
	padding: 0 !important;
	margin: 0 !important;
}

/* panel button (collapsed state) — ek clean link jaisa */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	width: 100% !important;
	padding: 10px 0 !important;
	margin: 0 !important;
	background: none !important;
	border: 0 !important;
	border-top: 1px solid #f4f1ee !important;
	border-bottom: 1px solid #f4f1ee !important;
	color: #ea580c !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.6px !important;
	cursor: pointer !important;
	text-align: left !important;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button:hover {
	color: #c23a12 !important;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button svg {
	margin-left: auto !important;
	width: 14px !important;
	height: 14px !important;
}

/* expanded form — field ke UPAR label */
.wc-block-components-totals-coupon__form {
	display: block !important;
	padding: 12px 0 4px !important;
	margin: 0 !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	margin: 0 0 34px !important; /* label ki jagah */
}

/* Label field ke UPAR (floating label ko upar push karo) */
.wc-block-components-totals-coupon__form .wc-block-components-text-input label {
	position: absolute !important;
	top: -18px !important;
	left: 0 !important;
	transform: none !important;
	color: #9b9189 !important;
	font-size: 10.5px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.7px !important;
	margin: 0 !important;
	pointer-events: none !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input {
	width: 100% !important;
	margin: 0 !important;
}

/* Apply button — full width, field ke niche */
.wc-block-components-totals-coupon__form .wc-block-components-button {
	width: 100% !important;
	margin: 8px 0 0 !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

/* Coupon ke kaam ke baad jo applied-coupon chip aata hai */
.wc-block-components-totals-coupon__form + *,
.wc-block-components-totals-discount {
	margin-top: 8px !important;
}

/* =================================================================
 * 8. Coupon — label upar NAHI, field left + Apply right  (final)
 * ============================================================== */

/* label ko poora chhupa do (heading "Cart totals" already hai) */
.wc-block-components-totals-coupon__form .wc-block-components-text-input label {
	display: none !important;
}

/* form ek row: input left (flex-1) + button right */
.wc-block-components-totals-coupon__form {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
	gap: 8px !important;
	padding: 12px 0 4px !important;
	margin: 0 !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input {
	display: block !important;
	position: static !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	margin: 0 !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input {
	width: 100% !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1.5px solid #d9cfc2 !important;
	border-radius: 10px !important;
	font-size: 13px !important;
	background: #fff !important;
	box-sizing: border-box !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input::placeholder {
	color: #a39b93 !important;
}

/* Apply button — field ke right me, auto width */
.wc-block-components-totals-coupon__form .wc-block-components-button {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 96px !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #17130f !important;
	border: 0 !important;
	border-radius: 10px !important;
	color: #fff !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	letter-spacing: 0.4px !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
	cursor: pointer !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-button:hover {
	background: #000 !important;
}

/* phone pe stack ho jaye */
@media (max-width: 600px) {
	.wc-block-components-totals-coupon__form {
		flex-wrap: wrap !important;
	}

	.wc-block-components-totals-coupon__form .wc-block-components-text-input {
		flex: 1 1 100% !important;
	}

	.wc-block-components-totals-coupon__form .wc-block-components-button {
		flex: 1 1 100% !important;
		width: 100% !important;
	}
}

/* =================================================================
 * 9. CART TOTALS CARD — NotifyFlow "device card" design language
 *    float label, bold heading, grey subtitle, inner grey panel,
 *    floating icon chip (top-right), full-width dark CTA, soft shadow
 * ============================================================== */

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	background: #ffffff !important;
	border: 1px solid #ececec !important;
	border-radius: 22px !important;
	box-shadow: 0 10px 30px -12px rgba(23, 19, 15, 0.16) !important;
	padding: 26px 24px 22px !important;
	margin: 0 0 20px !important;
	position: relative !important;
	overflow: visible !important;
}

/* the old orange top stripe is gone in the device-card look */
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block::before {
	display: none !important;
}

/* ---- heading block: eyebrow label + big title + subtitle ---- */

.wc-block-cart__totals-title {
	display: block !important;
	position: relative !important;
	margin: 0 0 6px !important;
	padding: 34px 0 0 !important;
	border: 0 !important;
	color: #111827 !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	letter-spacing: -0.3px !important;
	line-height: 1.15 !important;
	text-transform: none !important;
}

.wc-block-cart__totals-title::before {
	content: "Order Summary";
	position: absolute;
	top: 0;
	left: 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #9ca3af;
	line-height: 1.2;
}

.wc-block-cart__totals-title::after {
	content: "Review your items, then continue to secure checkout.";
	display: block;
	margin-top: 7px;
	font-size: 13.5px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.5;
	color: #6b7280;
	text-transform: none;
}

/* ---- floating icon chip, top-right (the "drag handle" square) ---- */

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block::after {
	content: "";
	position: absolute;
	top: 18px;
	right: 18px;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background-color: #176b3a;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px;
	box-shadow: 0 10px 22px -8px rgba(23, 107, 58, 0.55);
	z-index: 2;
}

/* ---- inner grey panel for the rows ---- */

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block > *:not(.wc-block-cart__totals-title) {
	position: relative;
	z-index: 1;
}

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-coupon-form-block,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-totals-block,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block > .wc-block-components-totals-wrapper {
	background: #f7f8f9 !important;
	border: 0 !important;
	border-radius: 14px !important;
	padding: 4px 16px !important;
	margin: 0 0 10px !important;
}

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-coupon-form-block {
	margin-top: 16px !important;
}

.wc-block-components-totals-item {
	padding: 10px 0 !important;
	font-size: 13.5px !important;
}

.wc-block-components-totals-item__label {
	color: #6b7280 !important;
	font-weight: 600 !important;
}

.wc-block-components-totals-item__value {
	color: #111827 !important;
	font-weight: 700 !important;
}

/* grand total row */
.wc-block-components-totals-footer-item {
	margin: 0 !important;
	padding: 12px 0 4px !important;
	border-top: 1px solid #e8e8e8 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item {
	padding: 0 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: #111827 !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.9px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
	color: #111827 !important;
	font-size: 25px !important;
	font-weight: 800 !important;
}

/* ---- coupon: collapsed link + expanded field/apply row ---- */

.wc-block-components-totals-coupon .wc-block-components-panel__button {
	border-top: 0 !important;
	border-bottom: 0 !important;
	color: #176b3a !important;
	font-size: 12px !important;
	letter-spacing: 0.7px !important;
	padding: 8px 0 !important;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button:hover {
	color: #0f5230 !important;
}

.wc-block-components-totals-coupon__form {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
	gap: 8px !important;
	padding: 10px 0 6px !important;
	margin: 0 !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input {
	display: block !important;
	position: static !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	margin: 0 !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input label {
	display: none !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input {
	width: 100% !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1.5px solid #dfe3e6 !important;
	border-radius: 11px !important;
	background: #fff !important;
	font-size: 13px !important;
	box-sizing: border-box !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus {
	border-color: #176b3a !important;
	box-shadow: 0 0 0 3px rgba(23, 107, 58, 0.14) !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-button {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 92px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #176b3a !important;
	border: 0 !important;
	border-radius: 11px !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: 0.6px !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
	cursor: pointer !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-button:hover {
	background: #0f5230 !important;
}

/* =================================================================
 * 10. CTA — full-width dark green button (device-card style)
 *     Share cart becomes a secondary outline button below it
 * ============================================================== */

.wc-block-cart__submit {
	padding: 0 !important;
	margin: 0 !important;
}

.wc-block-cart__submit .wc-block-cart__submit-container,
.wc-block-cart__submit-container {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-cart__submit-button {
	width: 100% !important;
	flex: 1 1 100% !important;
	min-height: 56px !important;
	background-color: #176b3a !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 14px !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	letter-spacing: 0.2px !important;
	text-transform: none !important;
	box-shadow: 0 10px 22px -10px rgba(23, 107, 58, 0.6) !important;
	padding: 0 18px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px !important;
}

/* plus glyph before the label (masked so it inherits currentColor) */
.wc-block-cart__submit-container .wc-block-components-button::before,
.wc-block-cart__submit-button::before {
	content: "";
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.wc-block-cart__submit-container .wc-block-components-button:hover,
.wc-block-cart__submit-button:hover {
	background-color: #0f5230 !important;
	color: #fff !important;
}

.brikpanel-cshare-wrap {
	margin: 0 !important;
	width: 100% !important;
	flex: 1 1 100% !important;
}

.brikpanel-cshare-wrap a,
.brikpanel-cshare-wrap button {
	width: 100% !important;
	min-height: 50px !important;
	border-radius: 14px !important;
	border: 1.5px solid #dfe3e6 !important;
	background: #fff !important;
	color: #111827 !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: 0.3px !important;
	text-transform: none !important;
}

.brikpanel-cshare-wrap a:hover,
.brikpanel-cshare-wrap button:hover {
	border-color: #176b3a !important;
	color: #176b3a !important;
	background: #f4faf6 !important;
}

/* ---- phone tweaks ---- */

@media (max-width: 600px) {
	.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
		padding: 20px 16px 16px !important;
		border-radius: 18px !important;
	}

	.wc-block-cart__totals-title {
		font-size: 20px !important;
		padding-top: 30px !important;
	}

	.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block::after {
		width: 46px;
		height: 46px;
		border-radius: 14px;
		background-size: 20px 20px;
		top: 14px;
		right: 14px;
	}

	.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
	.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
		font-size: 21px !important;
	}

	.wc-block-cart__submit-container .wc-block-components-button,
	.wc-block-cart__submit-button {
		min-height: 52px !important;
		font-size: 13.5px !important;
	}

	.wc-block-components-totals-coupon__form {
		flex-wrap: wrap !important;
	}

	.wc-block-components-totals-coupon__form .wc-block-components-text-input,
	.wc-block-components-totals-coupon__form .wc-block-components-button {
		flex: 1 1 100% !important;
		width: 100% !important;
	}
}

/* =================================================================
 * 11. Cart totals card — FINAL cleanup  (2026-11-22)
 *     Pairs with sections 9 & 10 above. Fixes:
 *     (a) empty grey boxes (Smart COD slot + empty totals wrapper)
 *     (b) buttons side-by-side -> full-width stacked
 *     (c) heading/subtitle spacing too tall
 *     (d) big amounts overflowing
 * ============================================================== */

/* ---------- (a) kill every empty inner box ---------- */

/* Empty wrappers never get the grey panel treatment */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper:empty,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-totals-block:empty,
.wc-block-cart__sidebar .wc-block-cart__payment-options:empty {
	display: none !important;
}

/* The "slot" wrapper only exists to host third-party content. When that
   content is empty (no COD selection, no extra fees) the wrapper is an
   empty grey bar — hide it unless it actually has visible text. */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper.slot-wrapper {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	border-radius: 0 !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-wrapper.slot-wrapper > * {
	background: transparent !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-wrapper.slot-wrapper:not(:has(.wc-smart-cod-blocks-summary)),
.wc-block-cart__sidebar .wc-block-components-totals-wrapper.slot-wrapper .wc-block-components-order-meta:empty {
	display: none !important;
}

/* Smart COD summary renders an empty 32px row when COD is off — hide it
   when it carries no meaningful text. */
.wc-block-cart__sidebar .wc-smart-cod-blocks-summary {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}

.wc-block-cart__sidebar .wc-smart-cod-blocks-summary:has(.css-0:empty),
.wc-block-cart__sidebar .wc-block-components-order-meta:has(.wc-smart-cod-blocks-summary:empty) {
	display: none !important;
}

/* ---------- (b) CTA + share cart: compact, side by side ---------- */

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit {
	display: grid !important;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important;
	align-items: stretch !important;
	gap: 8px !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit > div:empty {
	display: none !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit > :not(.wc-block-cart__submit-container):not(.brikpanel-cshare-wrap) {
	grid-column: 1 / -1;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit > .wc-block-cart__submit-container {
	grid-column: 1 !important;
	grid-row: 1 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit > .brikpanel-cshare-wrap {
	grid-column: 2 !important;
	grid-row: 1 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .wc-block-cart__submit-container,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .brikpanel-cshare-wrap {
	display: block !important;
	flex: none !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .brikpanel-cshare-btn {
	display: flex !important;
	flex: none !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 5px !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: 44px !important;
	min-height: 44px !important;
	padding: 6px 8px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: linear-gradient(135deg, #ff4b1f, #ff6a35) !important;
	color: #fff !important;
	box-shadow: 0 5px 12px -6px rgba(255, 75, 31, 0.5) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: normal !important;
	box-sizing: border-box !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .brikpanel-cshare-btn:hover,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .wc-block-cart__submit-button:focus-visible,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .brikpanel-cshare-btn:focus-visible {
	background: #f0400f !important;
	color: #fff !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .wc-block-components-button__text,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .brikpanel-cshare-btn__inner,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .brikpanel-cshare-btn__label {
	width: auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	white-space: nowrap !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: #fff !important;
	text-align: center !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .brikpanel-cshare-btn__inner {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 5px !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .wc-block-cart__submit-button::before {
	content: "" !important;
	display: block !important;
	width: 13px !important;
	height: 13px !important;
	flex: 0 0 13px !important;
	background: currentColor !important;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14v3'/%3E%3C/svg%3E") center / contain no-repeat !important;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14v3'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit .brikpanel-cshare-btn svg {
	width: 13px !important;
	height: 13px !important;
	flex: 0 0 13px !important;
}

/* ---------- (c) heading + subtitle: tighter ---------- */

.wc-block-cart__totals-title {
	padding-top: 0 !important;
	margin: 0 0 4px !important;
	font-size: 22px !important;
	line-height: 1.2 !important;
}

/* eyebrow label sits ABOVE the title without reserving 34px */
.wc-block-cart__totals-title::before {
	position: static;
	display: block;
	margin-bottom: 5px;
}

.wc-block-cart__totals-title::after {
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.45;
}

/* first inner panel needs less lead-in now */
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-coupon-form-block {
	margin-top: 12px !important;
}

/* ---------- (d) big amounts must never overflow ---------- */

.wc-block-components-totals-item {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	flex-wrap: nowrap !important;
}

.wc-block-components-totals-item__label {
	flex: 0 1 auto !important;
	min-width: 0 !important;
	white-space: normal !important;
}

.wc-block-components-totals-item__value {
	flex: 0 0 auto !important;
	text-align: right !important;
	white-space: nowrap !important;
	max-width: 100% !important;
}

/* the footer (grand total) row: label left, amount right, shrink-safe */
.wc-block-components-totals-footer-item,
.wc-block-components-totals-footer-item .wc-block-components-totals-item {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
	font-size: 22px !important;
	line-height: 1.15 !important;
	white-space: nowrap !important;
	flex: 0 0 auto !important;
}

/* very long amounts: allow the whole row to wrap instead of clipping */
@media (max-width: 480px) {
	.wc-block-components-totals-footer-item,
	.wc-block-components-totals-footer-item .wc-block-components-totals-item {
		flex-wrap: wrap !important;
	}

	.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
	.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
		font-size: 20px !important;
		text-align: left !important;
	}
}

/* ---------- phone: keep everything tidy ---------- */

@media (max-width: 600px) {
	.wc-block-cart__totals-title {
		font-size: 19px !important;
		padding-top: 0 !important;
	}

	.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
		padding: 18px 14px 14px !important;
	}

	.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block::after {
		width: 42px;
		height: 42px;
		border-radius: 12px;
		background-size: 18px 18px;
		top: 12px;
		right: 12px;
	}

	.wc-block-cart__submit-container .wc-block-components-button,
	.wc-block-cart__submit-button {
		min-height: 50px !important;
		font-size: 13px !important;
	}

	.brikpanel-cshare-wrap .brikpanel-cshare-btn {
		min-height: 46px !important;
		font-size: 12.5px !important;
	}
}

/* Unified cart summary: one wider surface includes totals and both CTAs.
   Keep the Blocks DOM intact so cart updates retain their native behaviour. */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
	column-gap: 24px !important;
	align-items: flex-start !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart__main {
	flex: 1 1 0% !important;
	min-width: 0 !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
	flex: 0 0 420px !important;
	width: 420px !important;
	max-width: 100% !important;
	min-width: 0 !important;
	padding: 18px !important;
	margin: 34px 0 30px !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-radius: 22px !important;
	box-shadow: 0 10px 30px -12px rgba(23, 19, 15, 0.16) !important;
	box-sizing: border-box !important;
	height: auto !important;
	min-height: 0 !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar::before {
	content: "Order Summary" !important;
	display: block !important;
	position: absolute !important;
	top: -34px !important;
	left: 0 !important;
	width: 100% !important;
	font-size: 10.5px !important;
	font-weight: 800 !important;
	line-height: 24px !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	color: #9b9189 !important;
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar::after {
	content: none !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	min-height: 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block::before {
	content: none !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block::after {
	background: linear-gradient(135deg, #ff4b1f, #ff6a35) !important;
	top: 0 !important;
	right: 0 !important;
	width: 36px !important;
	height: 36px !important;
	border-radius: 10px !important;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E"), linear-gradient(135deg, #ff4b1f, #ff6a35) !important;
	background-size: 18px 18px, 100% 100% !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	box-shadow: 0 5px 12px -6px rgba(255, 75, 31, 0.5) !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__totals-title {
	padding: 0 46px 0 0 !important;
	margin: 0 0 8px !important;
	min-height: 36px !important;
	display: flex !important;
	align-items: center !important;
	font-size: 20px !important;
	line-height: 1.25 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__totals-title::before,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__totals-title::after {
	content: none !important;
}

/* No nested coupon/amount card backgrounds or empty padded spacer bars. */
body.woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-coupon-form-block,
body.woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-totals-block,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	min-height: 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button {
	padding: 8px 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form {
	padding: 8px 0 !important;
	gap: 8px !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form .wc-block-components-text-input,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form .wc-block-components-text-input label {
	margin: 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form .wc-block-components-text-input input {
	border: 1.5px solid #ff4b1f !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus {
	border-color: #ff4b1f !important;
	box-shadow: 0 0 0 3px rgba(255, 75, 31, 0.14) !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form .wc-block-components-button {
	background: linear-gradient(135deg, #ff4b1f, #ff6a35) !important;
	color: #fff !important;
	padding: 0 10px !important;
	margin: 0 !important;
	box-shadow: 0 5px 12px -6px rgba(255, 75, 31, 0.5) !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form .wc-block-components-button:hover {
	background: #f0400f !important;
	color: #fff !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item {
	padding: 8px 0 !important;
	margin: 0 !important;
	border-top: 1px solid #ececec !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	box-sizing: border-box !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__description:empty {
	display: none !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 13px !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
	font-size: 18px !important;
	line-height: 1.3 !important;
	font-weight: 800 !important;
	flex: 0 1 auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
	text-align: right !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit {
	margin: 8px 0 0 !important;
}

@media (max-width: 1100px) {
	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
		flex-basis: 360px !important;
		width: 360px !important;
		padding: 16px !important;
	}
}

@media (max-width: 900px) {
	body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
		flex-direction: column !important;
		row-gap: 20px !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart__main,
	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
		flex: 0 1 auto !important;
		width: 100% !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
		padding: 15px !important;
	}
}

@media (max-width: 600px) {
	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
		padding: 14px !important;
	}
}

@media (max-width: 380px) {
	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
		padding: 12px !important;
	}
}


/* =========================================================
   Cart totals: label hard-left, value hard-right on every row
   (shipping "Flat rate", coupons, fees, subtotal). The label is
   allowed to grow so it pushes the value to the right edge, and
   any empty description div is collapsed so it cannot steal that
   space from the value.
   ========================================================= */
body.woocommerce-cart .wc-block-components-totals-item {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: nowrap !important;
	gap: 12px !important;
}
body.woocommerce-cart .wc-block-components-totals-item__label {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	text-align: left !important;
}
body.woocommerce-cart .wc-block-components-totals-item__value {
	flex: 0 0 auto !important;
	margin-left: auto !important;
	text-align: right !important;
	white-space: nowrap !important;
}
body.woocommerce-cart .wc-block-components-totals-item__description:empty {
	display: none !important;
}
