#post-2091 > .entry-content > .woocommerce,
#post-8 > .entry-content > .woocommerce {
	display: none !important;
}

.ssm-cart-app,
.ssm-checkout-app {
	max-width: 100%;
	margin: 1.5em 0;
}

.ssm-cart-empty {
	font-size: 1.05em;
}

/* ---------- Cart ---------- */

.ssm-cart-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	align-items: start;
}

.ssm-cart-table {
	width: 65%;
	box-sizing: border-box;
	padding-right: 4.53%;
	border-collapse: collapse;
	border-bottom: 1px solid #d8d8de;
}

.ssm-cart-table thead th {
	text-transform: uppercase;
	font-size: 0.875em;
	line-height: 1.4;
	color: #333;
	font-weight: 500;
	text-align: left;
	padding: 8px 16px 12px 0;
	white-space: nowrap;
}

.ssm-cart-table thead th:last-child {
	text-align: right;
	padding-right: 16px;
}

.ssm-cart-table td {
	padding: 20px 0 20px 16px;
	border-top: 1px solid #d8d8de;
	vertical-align: top;
}

.ssm-cart-table td:first-child {
	padding-left: 0;
}

.ssm-cart-table td:last-child {
	padding-right: 16px;
}

.ssm-product-cell {
	display: flex;
	gap: 1.1em;
}

.ssm-thumb {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
	background: #eee;
}

.ssm-product-info {
	display: flex;
	flex-direction: column;
	gap: 0.3em;
	font-size: 0.875em;
	line-height: 1.4;
}

.ssm-product-name {
	font-weight: 400;
	font-size: 1em;
	display: block;
}

.ssm-product-price {
	color: inherit;
}

.ssm-product-desc {
	font-size: 0.875em;
	color: #757575;
}

.ssm-qty-row {
	display: flex;
	align-items: center;
	gap: 0.8em;
	margin-top: 0.4em;
}

.ssm-qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	box-sizing: border-box;
	width: 107px;
	height: 34px;
}

.ssm-qty-stepper button {
	flex: 0 0 30px;
	width: 30px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 0.9em;
	line-height: 1;
	color: currentColor;
	opacity: 0.6;
	box-sizing: border-box;
}

.ssm-qty-stepper button:hover {
	opacity: 1;
	background: transparent;
}

.ssm-qty-stepper button:first-child {
	border-radius: 4px 0 0 4px;
}

.ssm-qty-stepper button:last-child {
	border-radius: 0 4px 4px 0;
}

.ssm-qty-input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	text-align: center;
	font-size: 0.875em;
	box-sizing: border-box;
	-moz-appearance: textfield;
}

.ssm-qty-input::-webkit-outer-spin-button,
.ssm-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ssm-remove {
	background: none;
	border: none;
	cursor: pointer;
	color: inherit;
	font-size: 0.85em;
	padding: 0.3em;
	text-decoration: underline;
	opacity: 0.75;
}

.ssm-remove:hover {
	color: #c0392b;
	opacity: 1;
}

.ssm-total-cell {
	text-align: right;
	font-weight: 400;
	font-size: 0.875em;
	line-height: 1.8;
	white-space: nowrap;
}

.ssm-cart-sidebar {
	width: 35%;
	box-sizing: border-box;
	padding-left: 2.26%;
	background: transparent;
	border-radius: 0;
	padding-top: 1.6em;
}

.ssm-cart-sidebar h3,
.ssm-order-summary h3 {
	margin-top: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 0.78em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #767b8a;
	font-weight: 600;
}

/* ---------- Coupon ---------- */

.ssm-coupon {
	border-top: 1px solid #e2e2e8;
	border-bottom: 1px solid #e2e2e8;
	margin: 1em 0;
}

.ssm-coupon-toggle {
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	padding: 0.9em 0;
	font-size: 0.95em;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #333;
}

.ssm-chevron {
	transition: transform 0.2s ease;
	font-size: 0.8em;
}

.ssm-coupon-toggle-open .ssm-chevron {
	transform: rotate(180deg);
}

.ssm-coupon-body {
	display: none;
	gap: 0.6em;
	padding-bottom: 1em;
}

.ssm-coupon-body.ssm-coupon-open {
	display: flex;
}

.ssm-coupon-input {
	flex: 1;
	padding: 0.6em 0.7em;
	border: 1px solid #d5d7de;
	border-radius: 3px;
}

.ssm-coupon-apply {
	white-space: nowrap;
}

.ssm-totals-row {
	display: flex;
	justify-content: space-between;
	padding: 0.7em 0;
	font-size: 0.98em;
}

.ssm-totals-estimated {
	border-top: 1px solid #e2e2e8;
	font-size: 1.15em;
	font-weight: 700;
	margin-bottom: 1.2em;
}

.ssm-checkout-btn {
	display: block;
	width: 100%;
	text-align: center;
	text-decoration: none !important;
}

.ssm-cart-app .button,
.ssm-checkout-app .button {
	text-decoration: none !important;
}

/* ---------- Checkout ---------- */

.ssm-checkout-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 3em;
	align-items: start;
}

.ssm-billing-form h3 {
	margin: 1.6em 0 0.8em;
	font-size: 1.2em;
}

.ssm-billing-form h3:first-child {
	margin-top: 0;
}

.ssm-billing-form p {
	margin-bottom: 1em;
}

.ssm-guest-note {
	font-size: 0.88em;
	color: #888;
	margin-top: -0.5em;
}

.ssm-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
	margin-bottom: 1em;
}

.ssm-billing-form input[type="text"],
.ssm-billing-form input[type="email"],
.ssm-billing-form input[type="tel"] {
	width: 100%;
	padding: 0.75em 0.8em;
	border: 1px solid #d5d7de;
	border-radius: 4px;
	font-family: inherit;
	font-size: 1em;
	box-sizing: border-box;
}

.ssm-select-label {
	display: block;
	font-size: 0.8em;
	color: #767b8a;
}

.ssm-select-label select {
	width: 100%;
	padding: 0.7em 0.8em;
	border: 1px solid #d5d7de;
	border-radius: 4px;
	font-family: inherit;
	font-size: 1em;
	margin-top: 0.3em;
	background: #fff;
}

.ssm-payment-warning {
	background: #fdecea;
	border: 1px solid #f3c6c0;
	color: #611a15;
	padding: 1em 1.1em;
	border-radius: 4px;
	font-size: 0.92em;
}

.ssm-terms {
	font-size: 0.85em;
	color: #767b8a;
	margin-top: 1.3em;
}

.ssm-checkout-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1em;
}

.ssm-return-cart {
	font-size: 0.92em;
}

.ssm-order-summary {
	background: #f7f7f9;
	padding: 1.6em;
	border-radius: 8px;
}

.ssm-summary-item {
	display: flex;
	align-items: flex-start;
	gap: 1em;
	padding: 0.9em 0;
	border-bottom: 1px solid #e2e2e8;
}

.ssm-summary-thumb-wrap {
	position: relative;
	flex-shrink: 0;
}

.ssm-summary-thumb-wrap .ssm-thumb {
	width: 52px;
	height: 52px;
}

.ssm-qty-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	background: #6b7280;
	color: #fff;
	font-size: 0.72em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ssm-summary-info {
	flex: 1;
}

.ssm-summary-name {
	font-weight: 600;
	font-size: 0.95em;
}

.ssm-summary-desc {
	font-size: 0.82em;
	color: #888;
	margin-top: 0.15em;
}

.ssm-summary-price {
	font-weight: 600;
	white-space: nowrap;
	font-size: 0.95em;
}

.ssm-totals-total {
	border-top: 1px solid #e2e2e8;
	font-weight: 700;
	font-size: 1.15em;
}

.ssm-order-confirm {
	background: #eafaf1;
	border: 1px solid #a8dfc0;
	padding: 2em;
	border-radius: 6px;
	text-align: center;
}

@media (max-width: 782px) {
	.ssm-cart-layout,
	.ssm-checkout-grid {
		grid-template-columns: 1fr;
	}
	.ssm-cart-table thead {
		display: none;
	}
	.ssm-cart-table tr {
		display: block;
	}
	.ssm-cart-table td {
		display: block;
		width: 100%;
	}
	.ssm-total-cell {
		text-align: left;
		margin-top: 0.6em;
	}
	.ssm-field-row {
		grid-template-columns: 1fr;
	}
}

/* ---------- Mini cart (header drawer) ---------- */

.woocommerce-mini-cart-item {
	position: relative;
	list-style: none;
	padding: 0.8em 0;
	border-bottom: 1px solid #e2e2e8;
	display: block;
	overflow: hidden;
}

.woocommerce-mini-cart-item:first-child {
	padding-top: 0;
}

.ssm-mini-cart-link {
	display: flex;
	align-items: center;
	gap: 0.8em;
	text-decoration: none;
	font-size: 0.92em;
}

.ssm-mini-thumb {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
	background: #eee;
}

.woocommerce-mini-cart-item .quantity {
	font-size: 0.85em;
	color: #666;
	white-space: nowrap;
}

.ssm-mini-remove {
	position: absolute;
	top: 0.9em;
	right: 0;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e2e2e8;
	color: #333 !important;
	text-decoration: none !important;
	line-height: 1 !important;
	font-size: 14px;
}

.ssm-mini-remove:hover {
	background: #c0392b;
	color: #fff !important;
}

.woocommerce-mini-cart__empty-message {
	padding: 1.3em;
	margin: 0;
}

#ssm-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: #2c2c2c;
	color: #fff;
	padding: 0.8em 1.4em;
	border-radius: 6px;
	font-size: 0.95em;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
	z-index: 99999;
}

#ssm-toast.ssm-toast-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
