/**
 * SelvaMart – WooCommerce product loop and single product (rich layout and alignment).
 */

/* ========== Product loop (shop / shortcode) ========== */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	clear: both;
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

/* SelvaMart 1.6.7: compact marketplace product cards and account forms */
.single-product .woocommerce .related.products {
	max-width: 980px !important;
	margin: 2rem auto 0 !important;
}

.single-product .woocommerce .related.products h2 {
	margin-bottom: 0.85rem !important;
	font-size: 1.18rem !important;
	line-height: 1.25 !important;
}

.single-product .woocommerce .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 1rem !important;
}

.single-product .woocommerce .related.products ul.products li.product,
.dokan-single-store .seller-items ul.products li.product {
	min-height: 0 !important;
	border-radius: 8px !important;
}

.single-product .woocommerce .related.products ul.products li.product a.woocommerce-LoopProduct-link::before,
.single-product .woocommerce .related.products ul.products li.product a.woocommerce-loop-product__link::before,
.dokan-single-store .seller-items ul.products li.product a.woocommerce-LoopProduct-link::before,
.dokan-single-store .seller-items ul.products li.product a.woocommerce-loop-product__link::before {
	display: none !important;
	content: none !important;
}

.single-product .woocommerce .related.products ul.products li.product a.woocommerce-LoopProduct-link,
.single-product .woocommerce .related.products ul.products li.product a.woocommerce-loop-product__link,
.dokan-single-store .seller-items ul.products li.product a.woocommerce-LoopProduct-link,
.dokan-single-store .seller-items ul.products li.product a.woocommerce-loop-product__link {
	display: grid !important;
	grid-template-rows: 155px auto auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.single-product .woocommerce .related.products ul.products li.product img,
.dokan-single-store .seller-items ul.products li.product img {
	width: 100% !important;
	height: 155px !important;
	max-height: 155px !important;
	margin: 0 !important;
	padding: 0.8rem !important;
	object-fit: contain !important;
	background: #f4f7f9 !important;
}

.single-product .woocommerce .related.products ul.products li.product .woocommerce-loop-product__title,
.dokan-single-store .seller-items ul.products li.product .woocommerce-loop-product__title {
	min-height: 3em !important;
	margin: 0.75rem 0.85rem 0 !important;
	font-size: 0.92rem !important;
	line-height: 1.45 !important;
}

.single-product .woocommerce .related.products ul.products li.product .price,
.dokan-single-store .seller-items ul.products li.product .price {
	margin: 0.35rem 0.85rem 0 !important;
	font-size: 0.98rem !important;
}

.single-product .woocommerce .related.products ul.products li.product .button,
.single-product .woocommerce .related.products ul.products li.product a.button,
.dokan-single-store .seller-items ul.products li.product .button,
.dokan-single-store .seller-items ul.products li.product a.button {
	width: calc(100% - 1.7rem) !important;
	min-height: 40px !important;
	margin: auto 0.85rem 0.85rem !important;
	padding: 0.55rem 0.75rem !important;
	font-size: 0.88rem !important;
}

.dokan-single-store .seller-items ul.products li.product a[href*="enquiry"],
.dokan-single-store .seller-items ul.products li.product .enquiry,
.dokan-single-store .seller-items ul.products li.product .enquiry-button,
.dokan-single-store .seller-items ul.products li.product .quoteup-button,
.dokan-single-store .seller-items ul.products li.product .request-quote-button {
	width: auto !important;
	min-height: 34px !important;
	margin: 0 0.85rem 0.85rem !important;
	padding: 0.45rem 0.75rem !important;
	border-radius: 6px !important;
	font-size: 0.78rem !important;
	line-height: 1 !important;
}

.woocommerce-account #selvamart-content-wrap,
.woocommerce-account .selvamart-content-wrap {
	width: min(100% - 32px, 1180px) !important;
	max-width: 1180px !important;
}

.woocommerce-account .woocommerce {
	width: 100% !important;
	max-width: 100% !important;
}

.woocommerce-account .woocommerce h2,
.woocommerce-account .entry-title {
	line-height: 1.15 !important;
}

.woocommerce-account .woocommerce .u-columns,
#customer_login.col2-set {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 1.5rem !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	clear: both !important;
}

.woocommerce-account .woocommerce .u-columns::before,
.woocommerce-account .woocommerce .u-columns::after,
#customer_login::before,
#customer_login::after {
	display: none !important;
	content: none !important;
}

.woocommerce-account .woocommerce .u-column1,
.woocommerce-account .woocommerce .u-column2,
.woocommerce-account .woocommerce .col-1,
.woocommerce-account .woocommerce .col-2 {
	flex: 1 1 calc(50% - 1.5rem) !important;
	min-width: min(100%, 320px) !important;
	max-width: 100% !important;
	width: auto !important;
	float: none !important;
	clear: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
	width: 100% !important;
	max-width: 100% !important;
	padding: 1.25rem !important;
	border: 1px solid #e6eaf0 !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	box-shadow: 0 14px 40px rgba(17, 24, 39, 0.06) !important;
}

.woocommerce-account form .form-row,
.woocommerce-account form .woocommerce-form-row {
	float: none !important;
	width: 100% !important;
	margin: 0 0 0.95rem !important;
}

.woocommerce-account form label {
	display: block !important;
	margin-bottom: 0.35rem !important;
	color: #263142 !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
}

.woocommerce-account form input.input-text,
.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"] {
	width: 100% !important;
	min-height: 46px !important;
	padding: 0.65rem 0.8rem !important;
	border: 1px solid #d8dee8 !important;
	border-radius: 8px !important;
	font-size: 0.98rem !important;
}

.woocommerce-account form .button {
	width: auto !important;
	min-width: 130px !important;
	min-height: 42px !important;
	padding-inline: 1.25rem !important;
}

@media (max-width: 900px) {
	.single-product .woocommerce .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.woocommerce-account .woocommerce .u-columns {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 520px) {
	.single-product .woocommerce .related.products ul.products {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 767px) {

	.woocommerce-shop ul.products,
	.woocommerce.archive ul.products,
	.woocommerce-page.archive ul.products,
	.tax-product_cat ul.products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.75rem !important;
		padding: 0 !important;
		margin: 0 0 2rem !important;
		overflow-x: visible !important;
	}

	.woocommerce-shop ul.products li.product,
	.woocommerce.archive ul.products li.product,
	.tax-product_cat ul.products li.product {
		flex: none !important;
		width: 100% !important;
		border-radius: 10px !important;
	}

	.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link,
	.woocommerce.archive ul.products li.product a.woocommerce-LoopProduct-link,
	.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link {
		min-height: 160px !important;
		padding: 0.5rem !important;
	}

	.woocommerce-shop ul.products li.product img,
	.woocommerce.archive ul.products li.product img,
	.tax-product_cat ul.products li.product img {
		max-height: 140px !important;
	}

	.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
	.woocommerce.archive ul.products li.product .woocommerce-loop-product__title,
	.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.85rem !important;
		margin: 0.5rem 0.5rem 0 !important;
		min-height: 2.5em !important;
	}

	.woocommerce-shop ul.products li.product .price,
	.woocommerce.archive ul.products li.product .price,
	.tax-product_cat ul.products li.product .price {
		font-size: 0.95rem !important;
		margin: 0.25rem 0.5rem 0 !important;
	}

	.woocommerce-shop ul.products li.product .button,
	.woocommerce.archive ul.products li.product .button,
	.tax-product_cat ul.products li.product .button {
		margin: 0.5rem !important;
		padding: 0.45rem 0.6rem !important;
		font-size: 0.8rem !important;
		min-height: 36px !important;
	}
}

@media (min-width: 768px) {

	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

@media (min-width: 1024px) {

	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

/* Card container */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	background: #fff;
	border: 1px solid var(--selvamart-border, #e5e7eb);
	border-radius: 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s, border-color 0.2s;
	list-style: none;
	float: none !important;
	width: auto !important;
	margin: 0;
	min-width: 0;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.09);
	border-color: #2e7d32;
}

/* Image wrapper (first link = product image link) */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product>a:first-of-type {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background: #f8f9fa;
	min-height: clamp(300px, 34vw, 430px);
	padding: 1rem;
	text-decoration: none;
	color: inherit;
}

.woocommerce ul.products li.product img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: clamp(280px, 31vw, 400px);
	object-fit: contain;
	object-position: center;
	display: block;
	padding: 0;
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
	transition: transform 0.35s ease;
}

@media (max-width: 767px) {

	.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
	.woocommerce ul.products li.product a.woocommerce-loop-product__link,
	.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link,
	.woocommerce ul.products li.product>a:first-of-type {
		min-height: 340px;
	}

	.woocommerce ul.products li.product img {
		max-height: 310px;
	}
}

.woocommerce ul.products li.product:hover img {
	transform: scale(1.04);
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--selvamart-primary, #0d6efd);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.35rem 0.6rem;
	border-radius: 6px;
	z-index: 2;
	letter-spacing: 0.02em;
}

/* Card body (title, price, buttons) – consistent padding */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .button {
	margin-left: 1rem;
	margin-right: 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin-top: 1rem;
	margin-bottom: 0;
	padding: 0;
	font-size: 1rem;
	line-height: 1.4;
	font-weight: 600;
	color: var(--selvamart-text, #1f2937);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}

.woocommerce ul.products li.product .price {
	margin-top: 0.5rem;
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--selvamart-text);
}

.woocommerce ul.products li.product .price del {
	color: var(--selvamart-muted, #6b7280);
	margin-right: 0.4rem;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--selvamart-primary, #0d6efd);
}

.woocommerce ul.products li.product .star-rating {
	margin-top: 0.35rem;
}

/* Buttons row */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button {
	margin-top: auto;
	margin-bottom: 1rem;
	margin-left: 1rem;
	margin-right: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.65rem 1rem;
	border-radius: 4px;
	border: 1px solid #ff6546;
	background: #ff6546;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 0.9375rem;
	box-shadow: 0 8px 16px rgba(255, 101, 70, 0.18);
	transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
	cursor: pointer;
}

.woocommerce ul.products li.product .button:hover {
	transform: translateY(-1px);
	background: #ffc327;
	border-color: #ffc327;
	color: #111111 !important;
	box-shadow: 0 10px 20px rgba(255, 195, 39, 0.22);
}

/* Loop toolbar */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 1.25rem;
}

.woocommerce .woocommerce-ordering select {
	padding: 0.5rem 0.75rem;
	border-radius: 8px;
	border: 1px solid var(--selvamart-border);
	font-size: 0.9375rem;
}

.woocommerce .woocommerce-result-count {
	color: #4b5563;
	font-size: 0.95rem;
}

.woocommerce .woocommerce-ordering {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.woocommerce nav.woocommerce-pagination {
	margin: 2.5rem 0 1rem;
	text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 0.35rem;
	border: 0;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 42px;
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	color: #111827;
	background: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	border-color: #ff6546;
	background: #ff6546;
	color: #ffffff;
}

/* Shop header */
.woocommerce .woocommerce-products-header,
.selvamart-shop-archive__header {
	margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-products-header .woocommerce-products-header__title,
.selvamart-shop-archive__header .page-title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
}

.woocommerce .products::before,
.woocommerce .products::after {
	content: none !important;
}

.woocommerce .woocommerce-notices-wrapper {
	max-width: 1160px;
	margin-left: auto;
	margin-right: auto;
}

.woocommerce span.onsale {
	min-height: 0;
	min-width: 0;
	line-height: 1;
}

.woocommerce ul.products li.product .added_to_cart {
	margin: 0 1rem 1rem;
	color: #ff6546;
	font-weight: 700;
	text-decoration: none;
}

.woocommerce ul.products li.product .added_to_cart:hover {
	color: #111827;
}

@media (max-width: 767px) {

	.woocommerce .woocommerce-result-count,
	.woocommerce .woocommerce-ordering {
		float: none;
		width: 100%;
		text-align: left;
	}

	.woocommerce .woocommerce-ordering select {
		width: 100%;
		min-height: 44px;
	}

	.woocommerce nav.woocommerce-pagination ul {
		display: flex;
	}
}

/* ========== Single product ========== */
.selvamart-single-product-wrapper {
	margin-bottom: 2rem;
}

.selvamart-single-product__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: start;
	margin-bottom: 2rem;
}

@media (min-width: 992px) {
	.selvamart-single-product__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}

/* Gallery column */
.selvamart-single-product__gallery {
	min-width: 0;
}

.selvamart-single-product__gallery .woocommerce-product-gallery {
	margin: 0;
}

.selvamart-single-product__gallery .woocommerce-product-gallery__image img {
	width: auto;
	max-width: 100%;
	max-height: min(72vh, 720px);
	height: auto;
	border-radius: 12px;
	display: block;
	margin-inline: auto;
	object-fit: contain;
}

.selvamart-single-product__gallery .flex-control-thumbs {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.75rem;
	list-style: none;
	padding: 0;
	margin-left: 0;
}

.selvamart-single-product__gallery .flex-control-thumbs li {
	margin: 0;
}

.selvamart-single-product__gallery .flex-control-thumbs li img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	border: 2px solid transparent;
	transition: border-color 0.2s ease;
}

.selvamart-single-product__gallery .flex-control-thumbs li img.flex-active {
	border-color: var(--selvamart-primary);
}

/* Summary column */
.selvamart-single-product__summary {
	min-width: 0;
}

.selvamart-single-product__summary .product_title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	line-height: 1.3;
	color: var(--selvamart-text);
}

.selvamart-single-product__summary .woocommerce-product-rating {
	margin-bottom: 1rem;
}

.selvamart-single-product__summary .price {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--selvamart-text);
}

.selvamart-single-product__summary .price ins {
	text-decoration: none;
	color: var(--selvamart-primary);
}

.selvamart-single-product__summary .woocommerce-product-details__short-description {
	margin-bottom: 1.25rem;
	line-height: 1.6;
	color: var(--selvamart-muted);
}

.selvamart-single-product__summary .cart {
	margin-bottom: 1.5rem;
}

.selvamart-single-product__summary .single_add_to_cart_button {
	padding: 0.75rem 1.5rem;
	border-radius: 10px;
	background: var(--selvamart-primary);
	color: #fff !important;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.2s ease;
}

.selvamart-single-product__summary .single_add_to_cart_button:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.selvamart-single-product__summary .quantity input {
	width: 4rem;
	padding: 0.5rem 0.5rem;
	border-radius: 8px;
	border: 1px solid var(--selvamart-border);
	font-size: 1rem;
}

/* Tabs (description, reviews, etc.) */
.selvamart-single-product__tabs {
	border-top: 1px solid var(--selvamart-border);
	padding-top: 1.5rem;
}

.woocommerce .woocommerce-tabs ul.tabs {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
	display: flex;
	gap: 0.5rem;
	border-bottom: 1px solid var(--selvamart-border);
}

.woocommerce .woocommerce-tabs ul.tabs li {
	margin: 0;
}

.woocommerce .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
	color: var(--selvamart-muted);
	font-weight: 600;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.woocommerce .woocommerce-tabs ul.tabs li.active a,
.woocommerce .woocommerce-tabs ul.tabs li a:hover {
	color: var(--selvamart-primary);
	border-bottom-color: var(--selvamart-primary);
}

.woocommerce .woocommerce-tabs .panel {
	padding: 1.25rem 0;
	line-height: 1.6;
}

/* Related / upsells */
.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.woocommerce .related.products,
.woocommerce .upsells.products {
	clear: both;
	width: 100%;
	margin-top: 2rem;
}

.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	width: 100%;
	clear: both;
}

@media (max-width: 767px) {

	.woocommerce .related.products ul.products,
	.woocommerce .upsells.products ul.products {
		display: flex;
		grid-template-columns: none;
	}
}

@media (min-width: 768px) {

	.woocommerce .related.products ul.products,
	.woocommerce .upsells.products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

@media (min-width: 1200px) {

	.woocommerce .related.products ul.products,
	.woocommerce .upsells.products ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ========== Cart and checkout responsive layout ========== */
.selvamart-checkout,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
	width: min(1180px, 100%);
	margin-inline: auto;
}

.woocommerce-checkout .woocommerce,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .wp-block-post-content,
.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .wc-block-checkout,
.woocommerce-checkout .wc-block-components-sidebar-layout,
.woocommerce-checkout .wc-block-components-main,
.woocommerce-checkout .wc-block-components-sidebar {
	max-width: none !important;
}

.woocommerce-checkout .woocommerce,
.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .wc-block-checkout {
	width: 100% !important;
}

/* SelvaMart 1.6.6 marketplace card correction */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.dokan-single-store .seller-items ul.products li.product {
	display: flex !important;
	flex-direction: column !important;
	min-height: 0 !important;
	border-radius: 8px !important;
	overflow: hidden !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product>a:first-of-type {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	overflow: visible !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link::before,
.woocommerce ul.products li.product a.woocommerce-loop-product__link::before {
	content: "";
	display: block;
	width: 100%;
	aspect-ratio: 1 / 0.92;
	background: #f4f7f9;
}

.woocommerce ul.products li.product img {
	width: 100% !important;
	height: 210px !important;
	max-height: 210px !important;
	margin: -210px auto 0 !important;
	padding: 1rem !important;
	object-fit: contain !important;
	background: transparent !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	min-height: 3.05em !important;
	margin: 0.9rem 1rem 0 !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	word-break: normal;
	overflow-wrap: anywhere;
}

.woocommerce ul.products li.product .price {
	min-height: 1.6em;
	margin: 0.45rem 1rem 0 !important;
	font-size: 1.05rem !important;
	line-height: 1.35 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button {
	width: calc(100% - 2rem) !important;
	justify-content: center !important;
	margin: auto 1rem 1rem !important;
	white-space: normal !important;
	text-align: center !important;
}

.woocommerce .related.products,
.woocommerce .upsells.products {
	max-width: 1120px;
	margin-inline: auto;
}

.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products,
.dokan-single-store .seller-items ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
	gap: 1.25rem !important;
	align-items: stretch !important;
	overflow: visible !important;
}

.dokan-single-store .seller-items ul.products li.product img {
	height: 210px !important;
	max-height: 210px !important;
}

@media (max-width: 767px) {

	.woocommerce .related.products ul.products,
	.woocommerce .upsells.products ul.products,
	.dokan-single-store .seller-items ul.products {
		display: grid !important;
		grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
	}

	.woocommerce ul.products li.product img,
	.dokan-single-store .seller-items ul.products li.product img {
		height: 190px !important;
		max-height: 190px !important;
		margin-top: -190px !important;
	}

	.woocommerce ul.products li.product a.woocommerce-LoopProduct-link::before,
	.woocommerce ul.products li.product a.woocommerce-loop-product__link::before {
		aspect-ratio: 1 / 0.96;
	}
}

.woocommerce-checkout .wc-block-checkout {
	margin-inline: auto;
	padding: 0;
}

.woocommerce-checkout .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
	width: 100%;
}

.woocommerce-checkout .wc-block-components-main {
	width: 100% !important;
	padding-right: 0 !important;
}

.woocommerce-checkout .wc-block-components-sidebar {
	position: sticky;
	top: 110px;
	width: 100% !important;
	padding-left: 0 !important;
}

.woocommerce-checkout .wc-block-components-checkout-step,
.woocommerce-checkout .wc-block-components-order-summary,
.woocommerce-checkout .wc-block-checkout__actions_row,
.woocommerce-checkout .wc-block-components-totals-wrapper {
	max-width: none !important;
}

.woocommerce-checkout .wc-block-components-checkout-step {
	padding: clamp(1rem, 2vw, 1.5rem);
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}

.woocommerce-checkout .wc-block-components-checkout-step+.wc-block-components-checkout-step {
	margin-top: 1rem;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.woocommerce-checkout .wc-block-components-country-input .components-combobox-control input.components-combobox-control__input {
	min-height: 48px;
}

/* ========== Core Checkout 2-Column Grid Layout ========== */
.woocommerce-checkout form.checkout,
.selvamart-checkout form.checkout {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}

.selvamart-checkout-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 2rem !important;
	align-items: flex-start !important;
	width: 100% !important;
}

.selvamart-checkout-col-billing {
	min-width: 0 !important;
	width: 100% !important;
}

.selvamart-checkout-col-order {
	min-width: 0 !important;
	width: 100% !important;
	position: relative !important;
}

.selvamart-order-summary-sticky {
	position: sticky !important;
	top: 170px !important;
	background: #ffffff !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 20px !important;
	padding: 2rem !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Completely disable coupon section on Checkout page */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout .selvamart-checkout-coupon-card {
	display: none !important;
}

/* Clean container card styles for billing, shipping, and additional fields */
.woocommerce-checkout #customer_details {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
	width: 100% !important;
}

.woocommerce-checkout .col2-set {
	width: 100% !important;
	float: none !important;
	display: block !important;
	margin: 0 !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05) !important;
	padding: clamp(1.25rem, 2.5vw, 1.85rem) !important;
	margin-bottom: 1.75rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.woocommerce-checkout .woocommerce-billing-fields>h3,
.woocommerce-checkout .woocommerce-shipping-fields>h3,
.woocommerce-checkout .woocommerce-additional-fields>h3 {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 0 1.25rem 0 !important;
	padding-bottom: 0.75rem !important;
	border-bottom: 2px solid #f1f5f9 !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
}

/* ── Form Row Alignment & Input Grid System ── */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 1.15rem 1rem !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout .form-row {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	float: none !important;
	clear: none !important;
}

.woocommerce-checkout .form-row.form-row-wide,
.woocommerce-checkout .form-row.notes,
.woocommerce-checkout #order_comments_field,
.woocommerce-checkout #billing_company_field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #shipping_company_field,
.woocommerce-checkout #shipping_country_field,
.woocommerce-checkout #shipping_state_field,
.woocommerce-checkout #shipping_address_1_field,
.woocommerce-checkout #shipping_address_2_field {
	width: 100% !important;
	flex: 0 0 100% !important;
	max-width: 100% !important;
}

.woocommerce-checkout .form-row.form-row-first {
	width: calc(50% - 0.5rem) !important;
	flex: 0 0 calc(50% - 0.5rem) !important;
	max-width: calc(50% - 0.5rem) !important;
}

.woocommerce-checkout .form-row.form-row-last {
	width: calc(50% - 0.5rem) !important;
	flex: 0 0 calc(50% - 0.5rem) !important;
	max-width: calc(50% - 0.5rem) !important;
}

@media (max-width: 640px) {

	.woocommerce-checkout .form-row.form-row-first,
	.woocommerce-checkout .form-row.form-row-last {
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

.woocommerce-checkout .form-row label {
	display: flex !important;
	align-items: center !important;
	gap: 4px !important;
	width: 100% !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	margin: 0 0 0.45rem 0 !important;
	line-height: 1.3 !important;
	text-align: left !important;
	float: none !important;
}

.woocommerce-checkout .form-row .required {
	color: #dc2626 !important;
	text-decoration: none !important;
	font-weight: 800 !important;
	margin-left: 2px !important;
}

.woocommerce-checkout .form-row .woocommerce-input-wrapper {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	position: relative !important;
}

/* Beautiful Modern Inputs & Textareas */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 10px !important;
	padding: 10px 14px !important;
	font-size: 0.95rem !important;
	color: #1e293b !important;
	background: #ffffff !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
	outline: none !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-checkout textarea,
.woocommerce-checkout textarea#order_comments {
	min-height: 110px !important;
	height: 110px !important;
	width: 100% !important;
	max-width: 100% !important;
	line-height: 1.5 !important;
	resize: vertical !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
	border-color: #0f834d !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(15, 131, 77, 0.14) !important;
}

/* Select2 / Country / State inputs */
.woocommerce-checkout .select2.select2-container,
.woocommerce-checkout .select2-container--default,
.woocommerce-checkout .select2-container {
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
}

.woocommerce-checkout .select2-container .select2-selection--single {
	min-height: 48px !important;
	height: 48px !important;
	width: 100% !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 10px !important;
	padding: 0 14px !important;
	display: flex !important;
	align-items: center !important;
	background: #ffffff !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
}

.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
	border-color: #0f834d !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(15, 131, 77, 0.14) !important;
	outline: none !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 46px !important;
	padding-left: 0 !important;
	font-size: 0.95rem !important;
	color: #1e293b !important;
	width: 100% !important;
	display: block !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	height: 46px !important;
	right: 12px !important;
}

.woocommerce-checkout-review-order-table,
.woocommerce-cart-form__contents {
	width: 100% !important;
	border-collapse: collapse !important;
	table-layout: auto !important;
}

.woocommerce-cart .woocommerce,
.woocommerce-cart .selvamart-cart,
.woocommerce-cart-form {
	width: 100% !important;
	display: block !important;
	overflow-x: auto !important;
	margin-bottom: 2rem !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td,
.woocommerce-cart-form__contents th,
.woocommerce-cart-form__contents td {
	padding: 1rem 0.85rem !important;
	vertical-align: middle !important;
}

.woocommerce-cart-form__contents th.product-remove,
.woocommerce-cart-form__contents td.product-remove {
	width: 48px !important;
	text-align: center !important;
	white-space: nowrap !important;
}

.woocommerce-cart-form__contents th.product-thumbnail,
.woocommerce-cart-form__contents td.product-thumbnail {
	width: 80px !important;
	text-align: center !important;
	white-space: nowrap !important;
}

.woocommerce-cart-form__contents th.product-thumbnail img,
.woocommerce-cart-form__contents td.product-thumbnail img {
	width: 64px !important;
	height: 64px !important;
	object-fit: cover !important;
	border-radius: 8px !important;
	display: block !important;
	margin: 0 auto !important;
}

.woocommerce-cart-form__contents th.product-name,
.woocommerce-cart-form__contents td.product-name {
	text-align: left !important;
	white-space: normal !important;
	min-width: 220px !important;
}

.woocommerce-cart-form__contents th.product-price,
.woocommerce-cart-form__contents td.product-price,
.woocommerce-cart-form__contents th.product-quantity,
.woocommerce-cart-form__contents td.product-quantity,
.woocommerce-cart-form__contents th.product-subtotal,
.woocommerce-cart-form__contents td.product-subtotal {
	text-align: center !important;
	white-space: nowrap !important;
}

.woocommerce-checkout #payment ul.payment_methods {
	padding: 0;
	border: 0;
}

.woocommerce-checkout #payment div.payment_box {
	width: 100%;
	margin: 0.75rem 0;
	box-sizing: border-box;
}

/* ── Override old orange button with green gradient ── */
.woocommerce-checkout #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	width: 100% !important;
	min-height: 52px !important;
	border-radius: 12px !important;
	background: linear-gradient(135deg, #0f834d 0%, #16a34a 100%) !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	font-size: 1.05rem !important;
	letter-spacing: 0.02em !important;
	text-align: center !important;
	border: none !important;
	box-shadow: 0 8px 24px rgba(15, 131, 77, 0.35) !important;
	transition: all 0.25s ease !important;
	cursor: pointer !important;
	display: block !important;
	text-decoration: none !important;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background: linear-gradient(135deg, #0d7343 0%, #15803d 100%) !important;
	box-shadow: 0 12px 32px rgba(15, 131, 77, 0.45) !important;
	transform: translateY(-2px) !important;
	color: #ffffff !important;
}

/* ── Razorpay Payment Method — Premium Branded Styling ── */
.woocommerce-checkout #payment .payment_method_razorpay {
	background: #ffffff !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 14px !important;
	padding: 1rem 1.25rem !important;
	margin-bottom: 0.75rem !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce-checkout #payment .payment_method_razorpay:has(input:checked),
.woocommerce-checkout #payment .payment_method_razorpay.wc_payment_method_selected {
	border-color: #2c6fad !important;
	box-shadow: 0 0 0 3px rgba(44, 111, 173, 0.12) !important;
}

.woocommerce-checkout #payment .payment_method_razorpay label {
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
	cursor: pointer !important;
	width: 100% !important;
}

/* Razorpay Logo via CSS image — the official Razorpay logo in-label */
.woocommerce-checkout #payment .payment_method_razorpay label::after {
	content: '' !important;
	display: inline-block !important;
	width: 80px !important;
	height: 22px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 25'%3E%3Crect width='100' height='25' rx='4' fill='%232c6fad'/%3E%3Ctext x='50' y='17' font-family='Arial,sans-serif' font-size='11' font-weight='800' fill='white' text-anchor='middle'%3ERazorpay%3C/text%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	background-position: center !important;
	margin-left: auto !important;
	flex-shrink: 0 !important;
}

/* Razorpay payment description box */
.woocommerce-checkout #payment .payment_method_razorpay .payment_box {
	background: linear-gradient(135deg, #f0f6ff 0%, #e8f0ff 100%) !important;
	border: 1px solid #c7d8f0 !important;
	border-radius: 10px !important;
	padding: 1rem !important;
	margin-top: 0.75rem !important;
	font-size: 0.88rem !important;
	color: #1e3a5f !important;
}

/* Razorpay logo badge row above the trust badges */
.selvamart-razorpay-badge {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.6rem !important;
	padding: 0.65rem 1.25rem !important;
	background: #2c6fad !important;
	border: none !important;
	border-radius: 10px !important;
	margin-bottom: 1.25rem !important;
	font-size: 0.78rem !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	box-shadow: 0 4px 12px rgba(44, 111, 173, 0.3) !important;
}

.selvamart-razorpay-logo {
	height: 22px !important;
	width: auto !important;
	vertical-align: middle !important;
	filter: brightness(0) invert(1) !important;
	max-width: 90px !important;
}

@media (max-width: 1024px) {
	.woocommerce-checkout form.checkout {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout .wc-block-components-sidebar-layout {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout .wc-block-components-sidebar {
		position: static;
	}

	.woocommerce-checkout #order_review_heading,
	.woocommerce-checkout #order_review {
		grid-column: auto;
	}
}

@media (max-width: 767px) {

	.single-product .selvamart-single-product-wrapper,
	.single-product .selvamart-single-product,
	.single-product .product {
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
	}

	.single-product .selvamart-single-product__grid {
		display: block;
		width: 100%;
		margin: 0;
	}

	.single-product .selvamart-single-product__gallery,
	.single-product div.product div.images,
	.single-product .woocommerce-product-gallery,
	.single-product .woocommerce-product-gallery__wrapper,
	.single-product .woocommerce-product-gallery__image {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		margin: 0 !important;
		overflow: hidden;
	}

	.single-product .woocommerce-product-gallery__image a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 100%;
		background: #f8fafc;
	}

	.single-product .selvamart-single-product__gallery .woocommerce-product-gallery__image img,
	.single-product div.product div.images img,
	.single-product .woocommerce-product-gallery img,
	.single-product .wp-post-image {
		width: auto !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: 78vh !important;
		object-fit: contain !important;
		object-position: center top !important;
		margin: 0 auto !important;
		display: block !important;
	}

	.single-product .selvamart-single-product__summary,
	.single-product div.product div.summary {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		padding: 1rem;
		box-sizing: border-box;
	}

	.single-product .flex-control-thumbs {
		overflow-x: auto;
		padding-inline: 1rem;
	}

	.selvamart-checkout,
	.woocommerce-cart .woocommerce,
	.woocommerce-checkout .woocommerce {
		width: 100%;
	}

	.woocommerce-checkout form.checkout {
		display: block;
		width: 100%;
		max-width: 100%;
		padding: 0 0.75rem 1rem;
		box-sizing: border-box;
	}

	.woocommerce-checkout .form-row-first,
	.woocommerce-checkout .form-row-last {
		float: none;
		width: 100%;
	}

	.woocommerce-checkout #customer_details,
	.woocommerce-checkout #order_review,
	.woocommerce-checkout .woocommerce-billing-fields,
	.woocommerce-checkout .woocommerce-shipping-fields,
	.woocommerce-checkout .woocommerce-additional-fields,
	.woocommerce-checkout-review-order,
	.woocommerce-checkout-payment {
		border-radius: 8px;
		padding: 1rem;
		margin-bottom: 1rem;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.woocommerce-checkout-review-order-table,
	.woocommerce-checkout-review-order-table thead,
	.woocommerce-checkout-review-order-table tbody,
	.woocommerce-checkout-review-order-table tfoot,
	.woocommerce-checkout-review-order-table tr,
	.woocommerce-checkout-review-order-table th,
	.woocommerce-checkout-review-order-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.woocommerce-checkout-review-order-table tr {
		border-bottom: 1px solid #e5e7eb;
		padding: 0.55rem 0;
	}

	.woocommerce-checkout-review-order-table th,
	.woocommerce-checkout-review-order-table td {
		padding: 0.35rem 0;
		text-align: left;
	}

	.woocommerce-checkout-review-order-table td.product-total,
	.woocommerce-checkout-review-order-table tfoot td {
		font-weight: 800;
	}

	.woocommerce-cart-form {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* SelvaMart 1.6.7 final WooCommerce UI overrides */
.single-product .woocommerce .related.products {
	max-width: 980px !important;
	margin: 2rem auto 0 !important;
}

.single-product .woocommerce .related.products h2 {
	margin-bottom: 0.85rem !important;
	font-size: 1.18rem !important;
	line-height: 1.25 !important;
}

.single-product .woocommerce .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 1rem !important;
}

.single-product .woocommerce .related.products ul.products li.product a.woocommerce-LoopProduct-link::before,
.single-product .woocommerce .related.products ul.products li.product a.woocommerce-loop-product__link::before,
.dokan-single-store .seller-items ul.products li.product a.woocommerce-LoopProduct-link::before,
.dokan-single-store .seller-items ul.products li.product a.woocommerce-loop-product__link::before {
	display: none !important;
	content: none !important;
}

.single-product .woocommerce .related.products ul.products li.product a.woocommerce-LoopProduct-link,
.single-product .woocommerce .related.products ul.products li.product a.woocommerce-loop-product__link,
.dokan-single-store .seller-items ul.products li.product a.woocommerce-LoopProduct-link,
.dokan-single-store .seller-items ul.products li.product a.woocommerce-loop-product__link {
	display: grid !important;
	grid-template-rows: 155px auto auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.single-product .woocommerce .related.products ul.products li.product img,
.dokan-single-store .seller-items ul.products li.product img {
	width: 100% !important;
	height: 155px !important;
	max-height: 155px !important;
	margin: 0 !important;
	padding: 0.8rem !important;
	object-fit: contain !important;
	background: #f4f7f9 !important;
}

.single-product .woocommerce .related.products ul.products li.product .woocommerce-loop-product__title,
.dokan-single-store .seller-items ul.products li.product .woocommerce-loop-product__title {
	min-height: 3em !important;
	margin: 0.75rem 0.85rem 0 !important;
	font-size: 0.92rem !important;
	line-height: 1.45 !important;
}

.single-product .woocommerce .related.products ul.products li.product .price,
.dokan-single-store .seller-items ul.products li.product .price {
	margin: 0.35rem 0.85rem 0 !important;
	font-size: 0.98rem !important;
}

.single-product .woocommerce .related.products ul.products li.product .button,
.single-product .woocommerce .related.products ul.products li.product a.button,
.dokan-single-store .seller-items ul.products li.product .button,
.dokan-single-store .seller-items ul.products li.product a.button {
	width: calc(100% - 1.7rem) !important;
	min-height: 40px !important;
	margin: auto 0.85rem 0.85rem !important;
	padding: 0.55rem 0.75rem !important;
	font-size: 0.88rem !important;
}

.dokan-single-store .seller-items ul.products li.product a[href*="enquiry"],
.dokan-single-store .seller-items ul.products li.product .enquiry,
.dokan-single-store .seller-items ul.products li.product .enquiry-button,
.dokan-single-store .seller-items ul.products li.product .quoteup-button,
.dokan-single-store .seller-items ul.products li.product .request-quote-button {
	width: auto !important;
	min-height: 34px !important;
	margin: 0 0.85rem 0.85rem !important;
	padding: 0.45rem 0.75rem !important;
	border-radius: 6px !important;
	font-size: 0.78rem !important;
	line-height: 1 !important;
}

.woocommerce-account #selvamart-content-wrap,
.woocommerce-account .selvamart-content-wrap {
	width: min(100% - 32px, 1180px) !important;
	max-width: 1180px !important;
}

.woocommerce-account .woocommerce {
	width: 100% !important;
	max-width: 100% !important;
}

.woocommerce-account .woocommerce .u-columns,
#customer_login.col2-set {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 1.5rem !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	clear: both !important;
}

.woocommerce-account .woocommerce .u-columns::before,
.woocommerce-account .woocommerce .u-columns::after,
#customer_login::before,
#customer_login::after {
	display: none !important;
	content: none !important;
}

.woocommerce-account .woocommerce .u-column1,
.woocommerce-account .woocommerce .u-column2,
.woocommerce-account .woocommerce .col-1,
.woocommerce-account .woocommerce .col-2 {
	flex: 1 1 calc(50% - 1.5rem) !important;
	min-width: min(100%, 320px) !important;
	max-width: 100% !important;
	width: auto !important;
	float: none !important;
	clear: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
	width: 100% !important;
	max-width: 100% !important;
	padding: 1.25rem !important;
	border: 1px solid #e6eaf0 !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	box-shadow: 0 14px 40px rgba(17, 24, 39, 0.06) !important;
}

.woocommerce-account form .form-row,
.woocommerce-account form .woocommerce-form-row {
	float: none !important;
	width: 100% !important;
	margin: 0 0 0.95rem !important;
}

.woocommerce-account form label {
	display: block !important;
	margin-bottom: 0.35rem !important;
	color: #263142 !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
}

.woocommerce-account form input.input-text,
.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"] {
	width: 100% !important;
	min-height: 46px !important;
	padding: 0.65rem 0.8rem !important;
	border: 1px solid #d8dee8 !important;
	border-radius: 8px !important;
	font-size: 0.98rem !important;
}

.woocommerce-account form .button {
	width: auto !important;
	min-width: 130px !important;
	min-height: 42px !important;
	padding-inline: 1.25rem !important;
}

@media (max-width: 900px) {
	.single-product .woocommerce .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.woocommerce-account .woocommerce .u-columns {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 520px) {
	.single-product .woocommerce .related.products ul.products {
		grid-template-columns: 1fr !important;
	}
}

/* ========== Native Cart Table Coupon & Actions Layout ========== */
.woocommerce-cart table.cart td.actions {
	padding: 1.25rem 1rem !important;
	background: #f8fafc;
	border-top: 2px solid #e2e8f0;
}

.woocommerce-cart table.cart td.actions .coupon,
.woocommerce-cart .selvamart-native-coupon-wrap {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	float: left !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-cart table.cart td.actions .coupon input.input-text,
.woocommerce-cart .selvamart-native-coupon-wrap input.input-text {
	min-width: 180px !important;
	width: auto !important;
	height: 44px !important;
	padding: 0 14px !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 8px !important;
	font-size: 0.9rem !important;
	background: #ffffff !important;
	outline: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	transition: border-color 0.2s, box-shadow 0.2s !important;
}

.woocommerce-cart table.cart td.actions .coupon input.input-text:focus,
.woocommerce-cart .selvamart-native-coupon-wrap input.input-text:focus {
	border-color: #0f834d !important;
	box-shadow: 0 0 0 3px rgba(15, 131, 77, 0.15) !important;
}

.woocommerce-cart table.cart td.actions .coupon button.button,
.woocommerce-cart .selvamart-native-coupon-wrap button.button {
	height: 44px !important;
	padding: 0 20px !important;
	background: #0f834d !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	transition: background 0.2s, transform 0.15s !important;
}

.woocommerce-cart table.cart td.actions .coupon button.button:hover,
.woocommerce-cart .selvamart-native-coupon-wrap button.button:hover {
	background: #0b683d !important;
	transform: translateY(-1px) !important;
}

.woocommerce-cart table.cart td.actions>button.button[name="update_cart"] {
	height: 44px !important;
	padding: 0 20px !important;
	background: #ffffff !important;
	color: #334155 !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 8px !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	float: right !important;
	cursor: pointer !important;
	transition: all 0.2s !important;
}

.woocommerce-cart table.cart td.actions>button.button[name="update_cart"]:hover {
	background: #f1f5f9 !important;
	border-color: #94a3b8 !important;
	color: #0f172a !important;
}

@media (max-width: 768px) {
	.woocommerce-cart table.cart td.actions {
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
	}

	.woocommerce-cart table.cart td.actions .coupon,
	.woocommerce-cart .selvamart-native-coupon-wrap {
		width: 100% !important;
		float: none !important;
		display: flex !important;
	}

	.woocommerce-cart table.cart td.actions .coupon input.input-text,
	.woocommerce-cart .selvamart-native-coupon-wrap input.input-text {
		flex: 1 !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.woocommerce-cart table.cart td.actions>button.button[name="update_cart"] {
		width: 100% !important;
		float: none !important;
	}
}

/* ========== Prominent Checkout Page Layout ========== */
.selvamart-checkout {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 1rem 1rem 3rem;
}

/* Notice group styling (e.g. zone match or checkout notices) */
.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout ul.woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
	width: 100% !important;
	margin-bottom: 1.5rem !important;
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	padding: 1rem 1.25rem !important;
	box-sizing: border-box !important;
}

.woocommerce-checkout .woocommerce-message {
	background: #f0fdf4 !important;
	border-color: #86efac !important;
	color: #166534 !important;
}

.woocommerce-checkout ul.woocommerce-error {
	background: #fef2f2 !important;
	border-color: #fca5a5 !important;
	color: #991b1b !important;
}

/* Order Summary Header & Title */
.selvamart-order-review-title,
.woocommerce-checkout #order_review_heading {
	font-size: 1.25rem !important;
	color: #0f172a !important;
	font-weight: 800 !important;
	margin: 0 0 1.25rem 0 !important;
	padding-bottom: 0.85rem !important;
	border-bottom: 2px solid #f1f5f9 !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
}

.selvamart-order-title-icon {
	font-size: 1.35rem;
}

/* Order Review Container in Right Column */
.selvamart-checkout .woocommerce-checkout-review-order {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/* Review Order Table */
.selvamart-checkout .woocommerce-checkout-review-order-table {
	width: 100% !important;
	background: #ffffff !important;
	border-collapse: collapse !important;
	margin-bottom: 1.25rem !important;
}

.selvamart-checkout .woocommerce-checkout-review-order-table th,
.selvamart-checkout .woocommerce-checkout-review-order-table td {
	padding: 0.85rem 0.25rem !important;
	border-bottom: 1px solid #f1f5f9 !important;
	font-size: 0.92rem !important;
	vertical-align: middle !important;
}

.selvamart-checkout .woocommerce-checkout-review-order-table thead th {
	font-size: 0.8rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	color: #64748b !important;
	font-weight: 700 !important;
	border-bottom: 2px solid #e2e8f0 !important;
	padding-bottom: 0.6rem !important;
}

.selvamart-checkout .woocommerce-checkout-review-order-table .product-name {
	color: #1e293b !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}

.selvamart-checkout .woocommerce-checkout-review-order-table .product-name .product-quantity {
	display: inline-block;
	background: #f1f5f9;
	color: #475569;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 4px;
	margin-left: 4px;
}

.selvamart-checkout .woocommerce-checkout-review-order-table .product-total,
.selvamart-checkout .woocommerce-checkout-review-order-table .cart-subtotal td {
	font-weight: 700 !important;
	color: #0f172a !important;
	text-align: right !important;
	white-space: nowrap !important;
}

.selvamart-checkout .woocommerce-checkout-review-order-table .cart-subtotal th,
.selvamart-checkout .woocommerce-checkout-review-order-table .cart-subtotal td {
	border-top: 1.5px solid #e2e8f0 !important;
	font-weight: 700 !important;
}

/* Shipping Methods on Checkout */
.selvamart-checkout .woocommerce-shipping-totals th {
	vertical-align: top !important;
	padding-top: 1rem !important;
	font-weight: 700 !important;
	color: #334155 !important;
}

.selvamart-checkout .woocommerce-shipping-totals td {
	text-align: right !important;
}

.selvamart-checkout ul#shipping_method {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	text-align: right !important;
}

.selvamart-checkout ul#shipping_method li {
	margin-bottom: 0.6rem !important;
	padding: 0.6rem 0.75rem !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	display: block !important;
	text-align: left !important;
	font-size: 0.86rem !important;
	line-height: 1.35 !important;
	cursor: pointer !important;
	transition: border-color 0.2s ease !important;
}

.selvamart-checkout ul#shipping_method li:hover {
	border-color: #0f834d !important;
}

.selvamart-checkout ul#shipping_method li input[type="radio"] {
	margin-right: 6px !important;
	accent-color: #0f834d !important;
}

.selvamart-checkout ul#shipping_method li label {
	display: inline !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	cursor: pointer !important;
}

/* Total Row */
.selvamart-checkout .order-total th {
	border-top: 2px solid #e2e8f0 !important;
	border-bottom: none !important;
	font-size: 1.1rem !important;
	color: #0f172a !important;
	font-weight: 800 !important;
	padding-top: 1rem !important;
}

.selvamart-checkout .order-total td {
	border-top: 2px solid #e2e8f0 !important;
	border-bottom: none !important;
	font-size: 1.4rem !important;
	color: #0f834d !important;
	font-weight: 800 !important;
	text-align: right !important;
	padding-top: 1rem !important;
	white-space: nowrap !important;
}

/* Payment Box */
.selvamart-checkout #payment {
	background: #f8fafc !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 14px !important;
	padding: 1.25rem !important;
	margin-top: 1.25rem !important;
}

.selvamart-checkout #payment ul.payment_methods {
	padding: 0 !important;
	margin: 0 0 1rem 0 !important;
	list-style: none !important;
	border: none !important;
}

.selvamart-checkout #payment ul.payment_methods li {
	margin-bottom: 0.75rem !important;
	padding: 0.85rem 1rem !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 10px !important;
	transition: all 0.2s ease !important;
}

.selvamart-checkout #payment ul.payment_methods li:hover {
	border-color: #0f834d !important;
}

.selvamart-checkout #payment ul.payment_methods li input[type="radio"] {
	margin-right: 8px !important;
	accent-color: #0f834d !important;
}

.selvamart-checkout #payment ul.payment_methods li label {
	font-weight: 700 !important;
	color: #0f172a !important;
	font-size: 0.95rem !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
}

.selvamart-checkout #payment div.payment_box {
	background: #f1f5f9 !important;
	border-radius: 8px !important;
	padding: 0.85rem 1rem !important;
	font-size: 0.85rem !important;
	color: #475569 !important;
	margin-top: 0.65rem !important;
	line-height: 1.45 !important;
}

.selvamart-checkout #payment div.payment_box::before {
	border-bottom-color: #f1f5f9 !important;
}

/* Place Order Button */
.selvamart-checkout #place_order {
	width: 100% !important;
	min-height: 52px !important;
	background: linear-gradient(135deg, #0f834d 0%, #086b3e 100%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 12px !important;
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.03em !important;
	text-transform: uppercase !important;
	box-shadow: 0 4px 16px rgba(15, 131, 77, 0.35) !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	margin-top: 1rem !important;
}

.selvamart-checkout #place_order:hover {
	background: linear-gradient(135deg, #0b683d 0%, #05502e 100%) !important;
	box-shadow: 0 6px 22px rgba(15, 131, 77, 0.45) !important;
	transform: translateY(-1px) !important;
}

/* Security Trust Badges */
.selvamart-checkout-trust-badge {
	margin-top: 1.25rem;
	padding-top: 1.15rem;
	border-top: 1px dashed #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.selvamart-trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	color: #64748b;
	font-weight: 500;
}

.selvamart-trust-icon {
	font-size: 1rem;
	line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.selvamart-checkout-grid {
		grid-template-columns: 1fr !important;
		gap: 2rem !important;
	}

	.selvamart-order-summary-sticky {
		position: static !important;
	}
}

@media (max-width: 640px) {

	.woocommerce-checkout .form-row-first,
	.woocommerce-checkout .form-row-last {
		width: 100% !important;
		flex: 0 0 100% !important;
	}

	.woocommerce-billing-fields,
	.woocommerce-shipping-fields,
	.woocommerce-additional-fields,
	.selvamart-order-summary-sticky {
		padding: 1.25rem 1rem !important;
		border-radius: 12px !important;
	}
}

/* Premium Checkout UI Redesign (v4.0.0) */

/* ── Premium Checkout Header ── */
.selvamart-checkout-header {
	background: #ffffff !important;
	border-bottom: 1.5px solid #e8edf4 !important;
	padding: 0 !important;
	position: sticky !important;
	top: 0 !important;
	z-index: 9999 !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

.selvamart-checkout-header-inner {
	max-width: 1280px !important;
	margin: 0 auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 1.5rem !important;
	padding: 0.85rem 2rem !important;
}

.selvamart-checkout-header-brand a {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.7rem !important;
	text-decoration: none !important;
	color: #1e293b !important;
	transition: opacity 0.2s !important;
}

.selvamart-checkout-header-brand a:hover {
	opacity: 0.85 !important;
}

.selvamart-checkout-brand-icon {
	font-size: 1.75rem !important;
	line-height: 1 !important;
}

.selvamart-checkout-brand-title strong {
	font-size: 1.25rem !important;
	font-weight: 900 !important;
	color: #0f834d !important;
	letter-spacing: -0.025em !important;
	line-height: 1.15 !important;
}

.selvamart-checkout-header-secure .selvamart-secure-badge {
	display: flex !important;
	align-items: center !important;
	gap: 0.6rem !important;
	background: #f0fdf4 !important;
	border: 1px solid #86efac !important;
	padding: 0.55rem 1.1rem !important;
	border-radius: 999px !important;
}

.selvamart-checkout-header-secure .selvamart-secure-badge:hover {
	background: #dcfce7 !important;
	border-color: #4ade80 !important;
}

.selvamart-secure-icon {
	font-size: 1.1rem !important;
	line-height: 1 !important;
}

.selvamart-secure-text {
	display: flex !important;
	flex-direction: column !important;
	line-height: 1.15 !important;
}

.selvamart-secure-text strong {
	font-size: 0.77rem !important;
	font-weight: 800 !important;
	color: #15803d !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
}

.selvamart-secure-text span {
	font-size: 0.68rem !important;
	color: #16a34a !important;
	font-weight: 500 !important;
}

/* ── Page Content Wrapper: Remove generic padding on checkout ── */
.woocommerce-checkout #selvamart-content-wrap,
.woocommerce-checkout .selvamart-content-wrap {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	max-width: none !important;
}

/* ── Checkout Outer Wrapper ── */
.selvamart-checkout {
	max-width: 1280px !important;
	margin: 0 auto !important;
	padding: 2rem 1.5rem 4rem !important;
}

/* ── Visual 4-Step Checkout Stepper ── */
.selvamart-checkout-stepper-wrap {
	max-width: 680px !important;
	margin: 0 auto 2.5rem auto !important;
	padding: 1.5rem 2rem !important;
	background: #ffffff !important;
	border-radius: 16px !important;
	border: 1px solid #e2e8f0 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

.selvamart-checkout-stepper {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
}

.selvamart-step {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 0.5rem !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	color: #94a3b8 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	min-width: 60px !important;
}

.selvamart-step-bullet {
	width: 38px !important;
	height: 38px !important;
	border-radius: 50% !important;
	background: #f8fafc !important;
	border: 2px solid #e2e8f0 !important;
	display: inline-grid !important;
	place-items: center !important;
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	color: #94a3b8 !important;
	transition: all 0.3s ease !important;
}

.selvamart-step--done {
	color: #0f834d !important;
}

.selvamart-step--done .selvamart-step-bullet {
	background: #0f834d !important;
	border-color: #0f834d !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(15, 131, 77, 0.3) !important;
}

.selvamart-step--active .selvamart-step-name {
	color: #0f172a !important;
	font-weight: 800 !important;
}

.selvamart-step--active .selvamart-step-bullet {
	background: #ffffff !important;
	border: 3px solid #0f834d !important;
	color: #0f834d !important;
	font-weight: 900 !important;
	box-shadow: 0 0 0 5px rgba(15, 131, 77, 0.12) !important;
}

.selvamart-step-divider {
	flex: 1 !important;
	height: 3px !important;
	background: #e2e8f0 !important;
	margin: 0 0.4rem !important;
	margin-bottom: 1.6rem !important;
	border-radius: 3px !important;
}

.selvamart-step-divider--active {
	background: linear-gradient(90deg, #0f834d 0%, #34d399 100%) !important;
}

/* ── Checkout Intro Headline & Trust Pills ── */
.selvamart-checkout-intro {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 1.25rem !important;
	padding: 1.5rem 2rem !important;
	background: linear-gradient(135deg, #f0fdf4 0%, #fafff8 100%) !important;
	border: 1px solid #bbf7d0 !important;
	border-radius: 18px !important;
	margin-bottom: 2rem !important;
	box-shadow: 0 2px 8px rgba(15, 131, 77, 0.06) !important;
}

.selvamart-checkout-headline {
	font-size: clamp(1.45rem, 2.2vw, 1.9rem) !important;
	font-weight: 900 !important;
	color: #0f172a !important;
	margin: 0 0 0.3rem 0 !important;
	letter-spacing: -0.03em !important;
	line-height: 1.15 !important;
}

.selvamart-checkout-subheadline {
	font-size: 0.9rem !important;
	color: #64748b !important;
	margin: 0 !important;
	line-height: 1.55 !important;
}

.selvamart-checkout-intro-right {
	display: flex !important;
	align-items: center !important;
	gap: 0.55rem !important;
	flex-wrap: wrap !important;
}

.selvamart-intro-feature {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.4rem !important;
	background: #ffffff !important;
	border: 1px solid #d1fae5 !important;
	border-radius: 999px !important;
	padding: 0.4rem 0.95rem !important;
	font-size: 0.77rem !important;
	font-weight: 700 !important;
	color: #15803d !important;
	box-shadow: 0 1px 4px rgba(15, 131, 77, 0.1) !important;
	transition: all 0.2s ease !important;
}

.selvamart-intro-feature:hover {
	background: #f0fdf4 !important;
	border-color: #86efac !important;
}

/* ── Grid Layout — 50/50 ── */
.selvamart-checkout-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 2rem !important;
	align-items: flex-start !important;
}

/* ── Billing / Shipping Cards ── */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 18px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
	padding: 2rem !important;
	margin-bottom: 1.5rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
	transition: box-shadow 0.2s ease !important;
}

.woocommerce-checkout .woocommerce-billing-fields:hover,
.woocommerce-checkout .woocommerce-shipping-fields:hover,
.woocommerce-checkout .woocommerce-additional-fields:hover {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07) !important;
}

.woocommerce-checkout .woocommerce-billing-fields>h3,
.woocommerce-checkout .woocommerce-shipping-fields>h3,
.woocommerce-checkout .woocommerce-additional-fields>h3 {
	font-size: 1.1rem !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	margin: 0 0 1.25rem 0 !important;
	padding-bottom: 0.85rem !important;
	border-bottom: 2px solid #f0fdf4 !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
}

/* ── Order Summary Sticky Card ── */
.selvamart-order-summary-sticky {
	position: sticky !important;
	top: 90px !important;
	background: #ffffff !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 20px !important;
	padding: 2rem !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

.selvamart-order-review-title {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	font-size: 1.1rem !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	margin: 0 0 1.25rem 0 !important;
	padding-bottom: 1rem !important;
	border-bottom: 2px solid #f0fdf4 !important;
}

.selvamart-order-item-badge {
	background: #f0fdf4 !important;
	border: 1px solid #86efac !important;
	border-radius: 999px !important;
	padding: 0.2rem 0.7rem !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	color: #15803d !important;
}

/* ── Trust Badge Strip in Sidebar ── */
.selvamart-checkout-trust-badge {
	margin-top: 1.5rem !important;
	padding-top: 1.25rem !important;
	border-top: 1px solid #f1f5f9 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0.9rem !important;
}

.selvamart-trust-item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 0.75rem !important;
	font-size: 0.82rem !important;
	color: #475569 !important;
}

.selvamart-trust-item strong {
	display: block !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	font-size: 0.83rem !important;
	margin-bottom: 2px !important;
}

.selvamart-trust-item span {
	font-size: 0.76rem !important;
	color: #94a3b8 !important;
	display: block !important;
	line-height: 1.4 !important;
}

.selvamart-trust-icon {
	font-size: 1.25rem !important;
	line-height: 1 !important;
	flex-shrink: 0 !important;
	margin-top: 2px !important;
}

/* ── Place Order Button ── */
.woocommerce-checkout #place_order {
	width: 100% !important;
	min-height: 52px !important;
	border-radius: 12px !important;
	background: linear-gradient(135deg, #0f834d 0%, #16a34a 100%) !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	font-size: 1.05rem !important;
	letter-spacing: 0.02em !important;
	text-align: center !important;
	border: none !important;
	box-shadow: 0 8px 24px rgba(15, 131, 77, 0.35) !important;
	transition: all 0.25s ease !important;
	cursor: pointer !important;
}

.woocommerce-checkout #place_order:hover {
	background: linear-gradient(135deg, #0d7343 0%, #15803d 100%) !important;
	box-shadow: 0 12px 32px rgba(15, 131, 77, 0.45) !important;
	transform: translateY(-2px) !important;
}

.woocommerce-checkout #place_order:active {
	transform: translateY(0) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.selvamart-checkout-grid {
		grid-template-columns: 1fr !important;
	}

	.selvamart-order-summary-sticky {
		position: static !important;
	}
}

@media (max-width: 768px) {
	.selvamart-checkout {
		padding: 1.5rem 1rem 3rem !important;
	}

	.selvamart-checkout-stepper-wrap {
		padding: 1.25rem 1rem !important;
	}

	.selvamart-checkout-intro {
		padding: 1.25rem !important;
	}
}

@media (max-width: 640px) {
	.selvamart-checkout {
		padding: 1rem 0.75rem 2.5rem !important;
	}

	.woocommerce-checkout .form-row-first,
	.woocommerce-checkout .form-row-last {
		width: 100% !important;
		flex: 0 0 100% !important;
	}

	.selvamart-step-name {
		display: none !important;
	}

	.selvamart-checkout-intro {
		flex-direction: column !important;
		align-items: flex-start !important;
	}
}

/* ── Product Cells in Order Review ── */
.selvamart-checkout-prod-cell {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	padding: 6px 0 !important;
}

.selvamart-checkout-prod-thumb-wrap {
	flex-shrink: 0 !important;
	width: 56px !important;
	height: 56px !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	border: 1px solid #e2e8f0 !important;
	background: #f8fafc !important;
}

.selvamart-checkout-prod-thumb-wrap img,
.selvamart-checkout-prod-thumb {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.selvamart-checkout-prod-info {
	display: flex !important;
	flex-direction: column !important;
	gap: 3px !important;
	line-height: 1.35 !important;
}

.selvamart-checkout-prod-title {
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	color: #1e293b !important;
}

.selvamart-checkout-prod-vendor {
	font-size: 0.74rem !important;
	color: #0f834d !important;
	font-weight: 600 !important;
}

/* ── Checkout Footer ── */
.selvamart-checkout-footer {
	background: #f1f5f9 !important;
	border-top: 1px solid #e2e8f0 !important;
	padding: 2.5rem 1.5rem 2rem !important;
	margin-top: 3rem !important;
}

.selvamart-checkout-footer-inner {
	max-width: 1280px !important;
	margin: 0 auto !important;
}

.selvamart-checkout-guarantees {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
	gap: 1.25rem !important;
	margin-bottom: 2rem !important;
}

.selvamart-checkout-guarantee-card {
	display: flex !important;
	align-items: flex-start !important;
	gap: 1rem !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 14px !important;
	padding: 1.25rem !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.selvamart-checkout-guarantee-card:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07) !important;
}

.selvamart-guarantee-icon {
	font-size: 1.8rem !important;
	line-height: 1 !important;
	flex-shrink: 0 !important;
}

.selvamart-guarantee-info strong {
	display: block !important;
	font-size: 0.9rem !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	margin-bottom: 3px !important;
}

.selvamart-guarantee-info span {
	font-size: 0.78rem !important;
	color: #64748b !important;
	line-height: 1.45 !important;
}

.selvamart-checkout-footer-bottom {
	border-top: 1px solid #e2e8f0 !important;
	padding-top: 1.5rem !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 1rem !important;
}

.selvamart-checkout-copyright {
	margin: 0 !important;
	font-size: 0.83rem !important;
	color: #94a3b8 !important;
}

.selvamart-checkout-policy-links {
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
	flex-wrap: wrap !important;
}

.selvamart-checkout-policy-links a {
	color: #64748b !important;
	text-decoration: none !important;
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	transition: color 0.15s ease !important;
}

.selvamart-checkout-policy-links a:hover {
	color: #0f834d !important;
}

.selvamart-policy-sep {
	color: #cbd5e1 !important;
}