/**
 * Mishtam — Cart page (empty + filled)
 */

.mishtam-theme.ms-cart-page .entry-header {
	display: none;
}

.mishtam-theme.ms-cart-page .entry-content {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
}

/* Astra caps entry-content children (~1200px) — narrower than header ms-container-wide */
.mishtam-theme.ms-cart-page .entry-content[data-ast-blocks-layout] > .woocommerce,
.mishtam-theme.ms-cart-page .entry-content > .woocommerce {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
}

.mishtam-theme.ms-cart-page .entry-content .ms-cart-hero,
.mishtam-theme.ms-cart-page .entry-content .ms-cart-body {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.mishtam-theme.ms-cart-page #primary,
.mishtam-theme.ms-cart-page .site-main,
.mishtam-theme.ms-cart-page article.ast-article-single {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

/* ===== Page shell ===== */
.mishtam-theme.ms-cart-page.ast-plain-container.ast-no-sidebar #primary,
.mishtam-theme.ms-cart-page #primary.site-main {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
}

.mishtam-theme.ms-cart-page .site-content > .ast-container {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.mishtam-theme.ms-cart-page .ast-woocommerce-container {
	padding: 0 !important;
	margin: 0 !important;
	width: 100%;
	max-width: 100%;
}

/* Centered content — exact same width/inset as header ms-container--wide */
.mishtam-theme.ms-cart-page .ms-cart-hero__inner.ms-container,
.mishtam-theme.ms-cart-page .ms-cart-body > .ms-container {
	width: 100%;
	max-width: var(--ms-container-wide);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-inline: var(--ms-container-x);
	box-sizing: border-box;
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper:not(:empty) + .ms-cart-body,
.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper:not(:empty) ~ .ms-cart-body {
	padding-top: var(--space-3);
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper {
	max-width: var(--ms-container-wide);
	margin-inline: auto;
	padding: var(--space-3) var(--ms-container-x) 0;
	box-sizing: border-box;
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-message,
.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-info,
.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-error,
.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper ul.woocommerce-error {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	position: relative;
	margin: 0 0 var(--space-3);
	padding: var(--space-3) var(--space-4);
	padding-left: calc(var(--space-4) + 28px);
	border-radius: var(--ms-radius-md);
	font-size: var(--ms-small);
	font-weight: 500;
	line-height: 1.45;
	list-style: none;
	box-shadow: var(--ms-shadow-xs);
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper ul.woocommerce-error li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper ul.woocommerce-error {
	flex-direction: column;
	gap: var(--space-1);
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-left: 4px solid var(--ms-error);
	color: #991b1b;
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-error::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23dc2626'/%3E%3Cpath d='M12 8v5M12 16h.01' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-message {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-left: 4px solid var(--ms-success);
	color: #166534;
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-message::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' fill='%2316a34a'/%3E%3Cpath d='M8 12l3 3 5-6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-info {
	background: var(--ms-primary-light);
	border: 1px solid rgba(212, 20, 106, 0.2);
	border-left: 4px solid var(--ms-primary);
	color: var(--ms-text);
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-message::before,
.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-info::before,
.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper .woocommerce-error::before {
	content: "";
	position: absolute;
	left: var(--space-4);
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	margin: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.mishtam-theme.ms-cart-page .woocommerce-notices-wrapper:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ===== Hero ===== */
.mishtam-theme .ms-cart-hero {
	position: relative;
	width: 100%;
	margin: 0;
	padding: var(--space-5) 0 var(--space-5);
	overflow: hidden;
}

/* Full-bleed hero — floral image across banner, light shields for text + CTA */
.mishtam-theme .ms-cart-hero::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background-image:
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.96) 0%,
			rgba(255, 255, 255, 0.92) 35%,
			rgba(255, 255, 255, 0.75) 60%,
			rgba(255, 255, 255, 0.35) 85%,
			rgba(255, 255, 255, 0.15) 100%
		),
		url("../images/cart-hero-bg.png");
	background-size: cover, cover;
	background-position: center, center;
	background-repeat: no-repeat, no-repeat;
	border-bottom: 1px solid var(--ms-border-light);
	z-index: 0;
	pointer-events: none;
}

.mishtam-theme .ms-cart-hero::after {
	content: none;
	display: none;
}

.mishtam-theme .ms-cart-hero__inner {
	position: relative;
	z-index: 1;
}

.mishtam-theme .ms-cart-hero__crumbs,
.mishtam-theme .ms-cart-hero__crumbs .woocommerce-breadcrumb {
	font-size: 13px;
	font-weight: 600;
	color: #401020 !important;
	margin: 0 0 var(--space-4);
	line-height: 1.5;
}

.mishtam-theme .ms-cart-hero__crumbs a,
.mishtam-theme .ms-cart-hero__crumbs .woocommerce-breadcrumb a {
	color: #800020 !important;
	font-weight: 600;
	text-decoration: none;
	transition: color var(--ms-duration) var(--ms-ease);
}

.mishtam-theme .ms-cart-hero__crumbs a:hover,
.mishtam-theme .ms-cart-hero__crumbs .woocommerce-breadcrumb a:hover {
	color: var(--ms-primary) !important;
}

.mishtam-theme .ms-cart-hero__crumb-sep {
	margin: 0 0.35em;
	opacity: 0.75;
}

.mishtam-theme .ms-cart-hero__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	flex-wrap: wrap;
}

.mishtam-theme .ms-cart-hero__title {
	margin: 0;
	font-size: clamp(1.875rem, 3.5vw, 2.75rem);
	font-weight: 800;
	letter-spacing: var(--ms-letter-tight);
	color: #5c0017 !important;
	line-height: 1.15;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.mishtam-theme .ms-cart-hero__intro {
	margin: var(--space-2) 0 0;
	max-width: 38rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.55;
	color: #2b121e !important;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.mishtam-theme .ms-cart-hero__titles {
	position: relative;
	max-width: 36rem;
}

.mishtam-theme .ms-cart-hero__continue {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.65rem 1.2rem;
	font-size: 14px;
	font-weight: 600;
	color: var(--ms-primary);
	text-decoration: none;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--ms-radius-pill);
	box-shadow: 0 2px 14px rgba(31, 31, 31, 0.1);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background var(--ms-duration) var(--ms-ease), color var(--ms-duration) var(--ms-ease), border-color var(--ms-duration) var(--ms-ease), box-shadow var(--ms-duration) var(--ms-ease);
}

.mishtam-theme .ms-cart-hero__continue:hover {
	background: var(--ms-primary);
	color: #ffffff;
	border-color: var(--ms-primary);
	box-shadow: 0 4px 18px rgba(227, 28, 121, 0.28);
}

/* ===== Body ===== */
.mishtam-theme .ms-cart-body {
	padding: var(--space-4) 0 var(--space-7);
	background: var(--ms-bg);
}

.mishtam-theme .ms-cart-stock-toast {
	margin: 0;
	padding: var(--space-3) var(--space-4);
	padding-left: calc(var(--space-4) + 28px);
	border-radius: var(--ms-radius-md);
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-left: 4px solid var(--ms-error);
	color: #991b1b;
	font-size: var(--ms-small);
	font-weight: 600;
	line-height: 1.45;
	box-shadow: var(--ms-shadow-xs);
	position: relative;
}

.mishtam-theme .ms-cart-stock-toast.is-visible {
	position: fixed;
	left: 50%;
	bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
	z-index: 100060;
	width: min(560px, calc(100vw - var(--space-8)));
	margin: 0;
	transform: translateX(-50%);
	box-shadow: 0 12px 40px rgba(26, 21, 32, 0.18);
	animation: msCartToastSlideUp 0.28s var(--ms-ease);
}

.mishtam-theme .ms-cart-stock-toast[hidden] {
	display: none !important;
}

.mishtam-theme .ms-cart-stock-toast::before {
	content: "";
	position: absolute;
	left: var(--space-4);
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23dc2626'/%3E%3Cpath d='M12 8v5M12 16h.01' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

@keyframes msCartToastSlideUp {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

.mishtam-theme.ms-cart-page .quantity .plus.is-at-max {
	opacity: 0.38;
	cursor: not-allowed;
}

.mishtam-theme.ms-cart-page .quantity.is-limit-hit {
	animation: msCartQtyShake 0.35s var(--ms-ease);
}

@keyframes msCartQtyShake {
	0%,
	100% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-3px);
	}
	75% {
		transform: translateX(3px);
	}
}

/* ===== Grid — 55% items / 45% summary */
.mishtam-theme .ms-cart__form {
	width: 100%;
}

.mishtam-theme .ms-cart__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
	gap: var(--space-5);
	align-items: start;
	width: 100%;
}

.mishtam-theme .ms-cart__main {
	min-width: 0;
	width: 100%;
}

.mishtam-theme .ms-cart__aside {
	min-width: 0;
	width: 100%;
	position: sticky;
	top: calc(var(--ms-header-height) + var(--space-4));
}

/* Reset legacy WooCommerce cart floats */
.mishtam-theme.ms-cart-page .woocommerce-cart-form,
.mishtam-theme.ms-cart-page .cart-collaterals,
.mishtam-theme.ms-cart-page .cart-collaterals .cart_totals,
.mishtam-theme.ms-cart-page .cart-collaterals .cross-sells,
.mishtam-theme.ms-cart-page .cart-collaterals .shipping_calculator {
	float: none !important;
	clear: both !important;
	width: 100% !important;
}

/* ===== Cart table ===== */
.mishtam-theme.ms-cart-page .woocommerce-cart-form {
	margin: 0;
}

.mishtam-theme.ms-cart-page .ms-cart-table-wrap {
	background: var(--ms-bg);
	border: 1px solid var(--ms-border);
	border-radius: var(--ms-radius-lg);
	box-shadow: var(--ms-shadow-card);
	overflow: hidden;
	width: 100%;
}

.mishtam-theme.ms-cart-page table.shop_table.cart {
	width: 100%;
	border: 0;
	border-radius: 0;
	margin: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.mishtam-theme.ms-cart-page table.shop_table.cart thead th {
	padding: var(--space-3) var(--space-4);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ms-text-muted);
	background: var(--ms-bg-soft);
	border-bottom: 1px solid var(--ms-border);
	white-space: nowrap;
	vertical-align: middle;
}

.mishtam-theme.ms-cart-page table.shop_table.cart thead .product-remove,
.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-remove {
	width: 44px;
	padding-inline: var(--space-2);
	text-align: center;
}

.mishtam-theme.ms-cart-page table.shop_table.cart thead .product-thumbnail,
.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-thumbnail {
	width: 96px;
	padding-inline: var(--space-3);
}

.mishtam-theme.ms-cart-page table.shop_table.cart thead .product-name,
.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-name {
	width: auto;
	text-align: left;
	min-width: 0;
}

.mishtam-theme.ms-cart-page table.shop_table.cart thead .product-price,
.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-price {
	width: 1%;
	text-align: center;
	white-space: nowrap;
}

.mishtam-theme.ms-cart-page table.shop_table.cart thead .product-quantity,
.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-quantity {
	width: 1%;
	text-align: center;
	padding-inline: var(--space-2);
	white-space: nowrap;
}

.mishtam-theme.ms-cart-page table.shop_table.cart thead .product-subtotal,
.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-subtotal {
	width: 1%;
	text-align: left !important;
	padding-left: var(--space-4);
	padding-right: var(--space-3);
	overflow: visible;
	white-space: nowrap;
}

.mishtam-theme.ms-cart-page table.shop_table.cart thead th.product-subtotal {
	text-align: left !important;
}

.mishtam-theme.ms-cart-page table.shop_table.cart tbody td.product-subtotal .amount,
.mishtam-theme.ms-cart-page table.shop_table.cart tbody td.product-subtotal .woocommerce-Price-amount {
	display: block;
	text-align: left;
}

.mishtam-theme.ms-cart-page table.shop_table.cart tbody td {
	padding: var(--space-4);
	vertical-align: middle;
	border-bottom: 1px solid var(--ms-border-light);
}

.mishtam-theme.ms-cart-page table.shop_table.cart tbody td.product-quantity {
	text-align: center;
}

.mishtam-theme.ms-cart-page table.shop_table.cart tbody td::before {
	display: none !important;
	content: none !important;
}

@media (min-width: 1024px) {
	.mishtam-theme.ms-cart-page table.shop_table.cart tbody tr {
		display: table-row !important;
	}
}

.mishtam-theme.ms-cart-page table.shop_table.cart tbody tr:last-child td {
	border-bottom: 0;
}

.mishtam-theme.ms-cart-page table.shop_table.cart .product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: var(--ms-radius-md);
	border: 1px solid var(--ms-border-light);
	background: var(--ms-bg-soft);
}

.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-subtotal {
	font-size: var(--ms-price);
	font-weight: 700;
	color: var(--ms-primary);
	white-space: nowrap;
}

.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-price {
	font-size: var(--ms-price);
	font-weight: 700;
	color: var(--ms-text);
	white-space: nowrap;
}

.mishtam-theme.ms-cart-page .ms-cart-item__name {
	display: inline-block;
	font-size: var(--ms-card-title);
	font-weight: 600;
	color: var(--ms-text);
	text-decoration: none;
	line-height: 1.35;
	transition: color var(--ms-duration) var(--ms-ease);
}

.mishtam-theme.ms-cart-page a.ms-cart-item__name:hover {
	color: var(--ms-primary);
}

.mishtam-theme.ms-cart-page .ms-cart-item__price-meta {
	display: inline-flex;
	flex-direction: column;
	align-items: inherit;
	gap: 2px;
}

.mishtam-theme.ms-cart-page .ms-cart-item__price-meta--subtotal {
	align-items: flex-start;
}

.mishtam-theme.ms-cart-page .ms-cart-item__price-label {
	display: none;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ms-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.mishtam-theme.ms-cart-page .ms-cart-item__price-value {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	line-height: inherit;
}

.mishtam-theme.ms-cart-page table.shop_table.cart .product-name dl.variation {
	margin: var(--space-2) 0 0;
	font-size: var(--ms-small);
	color: var(--ms-text-muted);
}

.mishtam-theme.ms-cart-page table.shop_table.cart .product-name dl.variation dt {
	font-weight: 600;
}

.mishtam-theme.ms-cart-page table.shop_table.cart .product-remove .remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--ms-radius-pill);
	background: var(--ms-bg-soft);
	color: var(--ms-text-muted);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	transition: background var(--ms-duration) var(--ms-ease), color var(--ms-duration) var(--ms-ease);
}

.mishtam-theme.ms-cart-page table.shop_table.cart .product-remove .remove::before,
.mishtam-theme.ms-cart-page table.shop_table.cart .product-remove .remove::after {
	content: none !important;
	display: none !important;
}

.mishtam-theme.ms-cart-page table.shop_table.cart .product-remove .remove:hover {
	background: var(--ms-primary-light);
	color: var(--ms-primary);
}

/* Quantity */
.mishtam-theme.ms-cart-page .product-quantity .quantity {
	max-width: 100%;
}

.mishtam-theme.ms-cart-page .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--ms-border);
	border-radius: var(--ms-radius-md);
	overflow: hidden;
	background: var(--ms-bg);
	flex-shrink: 0;
}

.mishtam-theme.ms-cart-page .quantity .qty {
	width: 2.5rem;
	min-height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--ms-border);
	border-right: 1px solid var(--ms-border);
	border-radius: 0;
	text-align: center;
	font-size: var(--ms-body);
	font-weight: 600;
	color: var(--ms-text);
	background: transparent;
	-moz-appearance: textfield;
	flex-shrink: 0;
}

.mishtam-theme.ms-cart-page .quantity .qty::-webkit-outer-spin-button,
.mishtam-theme.ms-cart-page .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.mishtam-theme.ms-cart-page .quantity .minus,
.mishtam-theme.ms-cart-page .quantity .plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	min-height: 40px;
	padding: 0;
	border: 0;
	background: var(--ms-bg-soft);
	color: var(--ms-text);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	transition: background var(--ms-duration) var(--ms-ease), color var(--ms-duration) var(--ms-ease);
}

.mishtam-theme.ms-cart-page .quantity .minus:hover,
.mishtam-theme.ms-cart-page .quantity .plus:hover {
	background: var(--ms-primary-light);
	color: var(--ms-primary);
}

/* Sidebar coupon */
.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon {
	margin: 0 0 var(--space-4);
	padding-bottom: var(--space-4);
	border-bottom: 1px solid var(--ms-border-light);
}

.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__label {
	display: block;
	margin: 0 0 var(--space-2);
	font-size: var(--ms-small);
	font-weight: 600;
	color: var(--ms-text);
}

.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__row {
	display: flex;
	gap: var(--space-2);
}

.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__row .input-text {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 42px;
	border: 1px solid var(--ms-border);
	border-radius: var(--ms-radius-md);
	padding: var(--space-2) var(--space-3);
	font-size: var(--ms-small);
	background: var(--ms-bg);
}

.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__row .input-text:focus {
	outline: none;
	border-color: var(--ms-primary);
	box-shadow: 0 0 0 2px var(--ms-primary-light);
}

.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__btn.button {
	flex-shrink: 0;
	min-height: 42px;
	padding: 0 var(--space-4);
	border-radius: var(--ms-radius-md) !important;
	background: var(--ms-bg) !important;
	border: 1px solid var(--ms-border) !important;
	color: var(--ms-text) !important;
	font-size: var(--ms-small) !important;
	font-weight: 600 !important;
}

.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__btn.button:hover {
	border-color: var(--ms-primary) !important;
	color: var(--ms-primary) !important;
}

.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__btn.button:disabled,
.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__btn.button:disabled:hover {
	opacity: 0.45;
	cursor: not-allowed;
	border-color: var(--ms-border) !important;
	color: var(--ms-text-muted) !important;
	background: var(--ms-bg-soft) !important;
}

.mishtam-theme.ms-cart-page .ms-cart-coupon-notices {
	margin: var(--space-2) 0 0;
}

.mishtam-theme.ms-cart-page .ms-cart-coupon-notices__item {
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: 1.45;
	font-weight: 500;
}

.mishtam-theme.ms-cart-page .ms-cart-coupon-notices__item--error {
	color: #b45309;
}

.mishtam-theme.ms-cart-page .ms-cart-coupon-notices__item--success {
	color: var(--ms-success);
}

.mishtam-theme.ms-cart-page .ms-cart-coupon-notices__item--info {
	color: var(--ms-text-muted);
}

.mishtam-theme.ms-cart-page .ms-cart-update-hidden {
	display: none !important;
}

/* ===== Order summary ===== */
.mishtam-theme.ms-cart-page .cart-collaterals {
	width: 100%;
	float: none;
}

.mishtam-theme.ms-cart-page .ms-cart-totals {
	background: var(--ms-bg);
	border: 1px solid var(--ms-border);
	border-radius: var(--ms-radius-lg);
	box-shadow: var(--ms-shadow-card);
	padding: var(--space-6);
	overflow: hidden;
}

/* Override Astra `.cart_totals > h2` gray full-bleed header bar */
.mishtam-theme.ms-cart-page .cart-collaterals .cart_totals > .ms-cart-totals__title,
.mishtam-theme.ms-cart-page .ms-cart-totals > .ms-cart-totals__title,
.mishtam-theme.ms-cart-page .ms-cart-totals__title {
	margin: 0 0 var(--space-5) !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 0 !important;
	border-radius: 0 !important;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: var(--ms-letter-tight);
	color: var(--ms-text);
	line-height: 1.3;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table {
	width: 100%;
	border: 0;
	margin: 0;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table th,
.mishtam-theme.ms-cart-page .ms-cart-totals__table td {
	padding: var(--space-3) 0;
	border: 0;
	border-bottom: 1px solid var(--ms-border-light);
	font-size: var(--ms-body);
	vertical-align: top;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table th {
	font-weight: 500;
	color: var(--ms-text-muted);
	text-align: left;
	width: auto;
	white-space: nowrap;
	padding-right: var(--space-4);
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table td {
	text-align: right;
	font-weight: 600;
	color: var(--ms-text);
	white-space: nowrap;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.order-total th,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.order-total td {
	padding-top: var(--space-4);
	border-bottom: 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--ms-text);
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.order-total td {
	color: var(--ms-primary);
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.order-total td .woocommerce-Price-amount,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.order-total td .amount {
	font-weight: 800;
}

/* Discount / coupon rows */
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.ms-discount-fee-row th,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.cart-discount th {
	font-size: var(--ms-small);
	font-weight: 600;
	color: var(--ms-text-muted);
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.ms-discount-fee-row td,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.cart-discount td,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.ms-discount-fee-row td .amount,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.ms-discount-fee-row td .woocommerce-Price-amount,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.ms-discount-fee-row td bdi,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.cart-discount td .amount,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.cart-discount td .woocommerce-Price-amount,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.cart-discount td bdi {
	font-size: var(--ms-small);
	font-weight: 700;
	color: var(--ms-success) !important;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.ms-discount-fee-row td.ms-discount-fee-row__amount {
	white-space: nowrap;
}

/* Delivery row — price only (address set at checkout) */
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.woocommerce-shipping-totals td {
	white-space: normal;
	vertical-align: middle;
	font-weight: 500;
}

.mishtam-theme.ms-cart-page .ms-shipping-notice {
	display: block;
	margin: 0 0 0 auto;
	max-width: 13.5rem;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.45;
	color: var(--ms-accent) !important;
	text-align: right;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.woocommerce-shipping-totals ul#shipping_method,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.woocommerce-shipping-totals .woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.woocommerce-shipping-totals li {
	margin: 0;
	padding: 0;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.woocommerce-shipping-totals .shipping_method {
	display: none !important;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.woocommerce-shipping-totals label {
	display: inline;
	margin: 0;
	padding: 0;
	cursor: default;
	font-weight: 600;
}

.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.woocommerce-shipping-totals .ms-delivery-summary__price,
.mishtam-theme.ms-cart-page .ms-cart-totals__table tr.woocommerce-shipping-totals .ms-delivery-summary__price .woocommerce-Price-amount {
	font-weight: 700;
	color: var(--ms-primary);
}

.mishtam-theme.ms-cart-page .ms-cart-totals__note {
	margin: var(--space-3) 0 var(--space-4);
	font-size: var(--ms-small);
	line-height: 1.5;
	color: var(--ms-text-muted);
}

.mishtam-theme.ms-cart-page .wc-proceed-to-checkout {
	margin: 0;
	padding: 0;
}

.mishtam-theme.ms-cart-page .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--ms-btn-height);
	padding: 0 var(--space-5);
	border-radius: var(--ms-radius-md) !important;
	background: var(--ms-gradient-primary) !important;
	border: none !important;
	color: var(--ms-text-inverse) !important;
	font-size: var(--ms-button) !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-align: center;
	box-shadow: 0 4px 16px var(--ms-primary-glow);
	transition: transform var(--ms-duration) var(--ms-ease), box-shadow var(--ms-duration) var(--ms-ease);
}

.mishtam-theme.ms-cart-page .wc-proceed-to-checkout a.checkout-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px var(--ms-primary-glow);
	color: var(--ms-text-inverse) !important;
}

/* ===== Cross-sells ===== */
.mishtam-theme.ms-cart-page .ms-cart__cross-sells {
	margin-top: var(--space-7);
	padding-top: var(--space-6);
	border-top: 1px solid var(--ms-border-light);
}

.mishtam-theme.ms-cart-page .ms-cart__cross-sells .cross-sells {
	float: none;
	width: 100%;
	margin: 0;
}

.mishtam-theme.ms-cart-page .ms-cart__cross-sells .cross-sells > h2 {
	margin: 0 0 var(--space-5);
	font-size: var(--ms-h3);
	font-weight: 700;
	letter-spacing: var(--ms-letter-tight);
	color: var(--ms-text);
}

/* ===== Empty cart ===== */
.mishtam-theme .ms-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-6);
	padding: var(--space-2) 0 var(--space-4);
}

.mishtam-theme .ms-cart-empty__card {
	width: 100%;
	max-width: 520px;
	margin-inline: auto;
	padding: var(--space-7) var(--space-6);
	text-align: center;
	background: var(--ms-bg);
	border: 1px solid var(--ms-border);
	border-radius: var(--ms-radius-xl);
	box-shadow: var(--ms-shadow-card);
}

.mishtam-theme .ms-cart-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin: 0 auto var(--space-5);
	color: var(--ms-primary);
}

.mishtam-theme .ms-cart-empty__icon svg {
	width: 100%;
	height: 100%;
}

.mishtam-theme .ms-cart-empty__title {
	margin: 0 0 var(--space-3);
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 700;
	letter-spacing: var(--ms-letter-tight);
	color: var(--ms-text);
}

.mishtam-theme .ms-cart-empty__text {
	margin: 0 auto var(--space-5);
	max-width: 26rem;
	font-size: var(--ms-body);
	line-height: 1.6;
	color: var(--ms-text-muted);
}

.mishtam-theme .ms-cart-empty__actions {
	margin-bottom: var(--space-5);
}

.mishtam-theme .ms-cart-empty__actions .ms-btn {
	min-width: 200px;
}

.mishtam-theme .ms-cart-empty__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2);
}

.mishtam-theme .ms-cart-empty__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-4) var(--space-6);
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 640px;
}

.mishtam-theme .ms-cart-empty__trust li {
	position: relative;
	padding-left: 1.25rem;
	font-size: var(--ms-small);
	font-weight: 500;
	color: var(--ms-text-muted);
}

.mishtam-theme .ms-cart-empty__trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ms-primary);
	opacity: 0.75;
}

/* ===== Responsive ===== */
@media (min-width: 1024px) {
	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart tbody tr,
	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart tbody td {
		display: table-row !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart tbody td {
		display: table-cell !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart tbody td.product-subtotal,
	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart thead th.product-subtotal {
		text-align: left !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart tbody td.product-price,
	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart thead th.product-price {
		text-align: center !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart tbody td.product-quantity,
	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart thead th.product-quantity {
		text-align: center !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table_responsive.cart tbody td::before {
		display: none !important;
		content: none !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart {
		table-layout: auto;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-label {
		display: none;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-meta {
		align-items: flex-start;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-value,
	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-value .amount,
	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-value .woocommerce-Price-amount,
	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-value bdi {
		color: var(--ms-primary);
		font-weight: 700;
	}
}

@media (max-width: 1023px) {
	.mishtam-theme .ms-cart__grid {
		grid-template-columns: 1fr;
		gap: var(--space-5);
	}

	.mishtam-theme .ms-cart__aside {
		position: static;
	}

	.mishtam-theme.ms-cart-page .ms-cart-item__price-label {
		display: block;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-price,
	.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-subtotal {
		font-size: var(--ms-small);
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-price,
	.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-price .ms-cart-item__price-value {
		font-weight: 600;
		color: var(--ms-text-muted);
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-subtotal,
	.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-subtotal .ms-cart-item__price-value,
	.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-subtotal .ms-cart-item__price-value .amount,
	.mishtam-theme.ms-cart-page table.shop_table.cart tbody .product-subtotal .ms-cart-item__price-value .woocommerce-Price-amount {
		font-size: 1.125rem;
		font-weight: 700;
		color: var(--ms-primary);
	}

	.mishtam-theme.ms-cart-page {
		overflow-x: hidden;
	}

	.mishtam-theme.ms-cart-page .ms-cart__form,
	.mishtam-theme.ms-cart-page .ms-cart__main,
	.mishtam-theme.ms-cart-page .ms-cart-table-wrap,
	.mishtam-theme.ms-cart-page .woocommerce-cart-form {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	.mishtam-theme .ms-cart-hero {
		padding: var(--space-4) 0 var(--space-4);
		overflow: hidden;
	}

	.mishtam-theme .ms-cart-hero::before {
		left: 0;
		width: 100%;
		transform: none;
		background-image:
			linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.88) 0%,
				rgba(255, 255, 255, 0.72) 55%,
				rgba(255, 255, 255, 0.85) 100%
			),
			url("../images/cart-hero-bg.png");
		background-position: center, center 35%;
		background-size: cover, cover;
	}

	.mishtam-theme .ms-cart-hero__continue {
		align-self: stretch;
		justify-content: center;
		width: 100%;
	}

	.mishtam-theme .ms-cart-hero__head {
		flex-direction: column;
		align-items: stretch;
		gap: var(--space-3);
	}

	.mishtam-theme .ms-cart-hero__title {
		font-size: 1.75rem;
	}

	.mishtam-theme .ms-cart-body {
		padding: var(--space-4) 0 var(--space-6);
	}

	.mishtam-theme.ms-cart-page .ms-cart-table-wrap {
		border: 0;
		box-shadow: none;
		background: transparent;
		overflow: visible;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart {
		display: block;
		width: 100%;
		max-width: 100%;
		table-layout: auto;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart thead {
		display: none;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart tbody {
		display: block;
		width: 100%;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item {
		display: grid !important;
		grid-template-columns: 72px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb name name"
			"thumb price price"
			"footer footer footer";
		gap: var(--space-2) var(--space-3);
		align-items: center;
		position: relative;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		margin-bottom: var(--space-3);
		padding: var(--space-4);
		background: var(--ms-bg);
		border: 1px solid var(--ms-border);
		border-radius: var(--ms-radius-lg);
		box-shadow: var(--ms-shadow-card);
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart tbody td {
		display: block !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: 100%;
		padding: 0 !important;
		border: 0 !important;
		text-align: left !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart tbody td::before {
		display: none !important;
		content: none !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-remove {
		position: absolute;
		top: var(--space-3);
		right: var(--space-3);
		z-index: 2;
		width: auto !important;
		padding: 0 !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-thumbnail {
		grid-area: thumb;
		align-self: start;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-thumbnail img {
		width: 72px;
		height: 72px;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-thumbnail a {
		display: block;
		line-height: 0;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-name {
		grid-area: name;
		padding-right: 2.25rem;
		min-width: 0;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-name .ms-cart-item__name {
		font-size: 0.9375rem;
		line-height: 1.35;
		word-break: break-word;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-price {
		grid-area: price;
		margin-top: 0;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .ms-cart-item--single-qty .product-price {
		display: none !important;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .ms-cart-item--multi-qty {
		grid-template-areas:
			"thumb name name"
			"thumb price price"
			"footer footer footer";
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .ms-cart-item--single-qty {
		grid-template-areas:
			"thumb name name"
			"footer footer footer";
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-price::before {
		content: none;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-quantity,
	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal {
		grid-area: footer;
		box-sizing: border-box;
		margin-top: var(--space-2);
		padding: 0;
		border-top: 0;
		display: flex;
		align-items: center;
		align-self: center;
		min-height: 2.5rem;
		overflow: visible;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-quantity {
		justify-self: start;
		justify-content: flex-start;
		flex-wrap: wrap;
		width: auto;
		max-width: none;
		z-index: 1;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal {
		justify-self: end;
		justify-content: flex-end;
		text-align: right !important;
		width: auto;
		max-width: none;
		pointer-events: none;
		z-index: 1;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-quantity::before {
		display: none;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-quantity .quantity {
		flex-shrink: 0;
		max-width: none;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-meta,
	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-meta--subtotal {
		display: inline-flex;
		flex-direction: column;
		align-items: flex-end;
		justify-content: center;
		gap: 2px;
		min-width: 0;
		height: auto;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-label {
		display: block;
		width: auto;
		text-align: right;
		line-height: 1;
		font-size: 10px;
		font-weight: 700;
		color: var(--ms-text-muted);
		text-transform: uppercase;
		letter-spacing: 0.06em;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-value {
		display: block;
		width: auto;
		text-align: right;
		line-height: 1.2;
		font-size: 1.125rem;
		font-weight: 700;
		font-variant-numeric: tabular-nums;
		color: var(--ms-primary);
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-value .amount,
	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-value .woocommerce-Price-amount,
	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal .ms-cart-item__price-value bdi {
		color: inherit;
		font-weight: inherit;
		font-size: inherit;
	}

	.mishtam-theme.ms-cart-page table.shop_table.cart .product-subtotal::before {
		display: none;
	}

	.mishtam-theme.ms-cart-page .ms-cart-totals {
		padding: var(--space-5);
	}

	.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__row {
		flex-direction: column;
		align-items: stretch;
	}

	.mishtam-theme.ms-cart-page .ms-cart-sidebar-coupon__btn.button {
		width: 100%;
	}

	.mishtam-theme .ms-cart__aside {
		position: static;
	}

	.mishtam-theme.ms-cart-page .ms-cart-actions-row td.actions {
		padding: var(--space-4);
	}

	.mishtam-theme .ms-cart-empty__card {
		padding: var(--space-6) var(--space-4);
	}

	.mishtam-theme .ms-cart-empty__chips {
		overflow-x: auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding-bottom: var(--space-1);
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.mishtam-theme .ms-cart-empty__chips::-webkit-scrollbar {
		display: none;
	}

	.mishtam-theme .ms-cart-empty__chips .ms-showcase__chip {
		flex-shrink: 0;
	}

	.mishtam-theme .ms-cart-empty__trust {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-3);
	}
}
