/* ==================== NAVBAR STYLES ==================== */
body.product-page .navbar.navbar-light {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 240, 0.96));
	border-bottom: 1px solid rgba(182, 114, 46, 0.14);
	box-shadow: 0 10px 24px rgba(120, 73, 24, 0.06);
}

body.product-page .navbar.navbar-light .container {
	width: 100%;
	max-width: 100%;
	display: flex;
	align-items: center;
	min-height: 78px;
	padding-left: 1rem;
	padding-right: 1rem;
}

body.product-page .navbar.navbar-light .navbar-brand {
	order: 0;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding: 0.7rem 0;
	margin-left: 20px;
	margin-right: 2rem;
}

body.product-page .navbar.navbar-light .navbar-collapse {
	order: 1;
	flex: 1 1 auto;
}

body.product-page .navbar.navbar-light .navbar-toggler {
	order: 2;
	margin-left: auto;
	border: 1px solid rgba(182, 114, 46, 0.14);
	border-radius: 999px;
	padding: 0.4rem 0.65rem;
	background: rgba(255, 255, 255, 0.92);
}

body.product-page .navbar.navbar-light .navbar-nav {
	gap: 0.35rem;
}

body.product-page .navbar.navbar-light .nav-item {
	height: 78px;
}

body.product-page .navbar.navbar-light .nav-item.active {
	border-bottom: none;
}

body.product-page .navbar.navbar-light .nav-item .nav-link {
	border-radius: 999px;
	padding: 0.7rem 1rem;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

body.product-page .navbar.navbar-light .nav-item .nav-link:hover,
body.product-page .navbar.navbar-light .nav-item .nav-link:focus,
body.product-page .navbar.navbar-light .nav-item .nav-link.active {
	background: rgba(191, 124, 57, 0.1);
	color: #9a4f1d;
	transform: translateY(-1px);
}

body.product-page .navbar.navbar-light .shopping-cart .nav-link,
body.product-page .navbar.navbar-light .wishlist .nav-link,
body.product-page .navbar.navbar-light .logged-in .nav-link,
body.product-page .navbar.navbar-light .shopping-cart a,
body.product-page .navbar.navbar-light .wishlist a,
body.product-page .navbar.navbar-light .logged-in a,
body.product-page .navbar.navbar-light .btn-login-area .nav-link,
body.product-page .navbar.navbar-light .btn-login-area a {
	border-radius: 999px;
}

body.product-page .navbar.navbar-light .shopping-cart .nav-link,
body.product-page .navbar.navbar-light .wishlist .nav-link,
body.product-page .navbar.navbar-light .logged-in .nav-link {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(182, 114, 46, 0.12);
	box-shadow: 0 4px 16px rgba(120, 73, 24, 0.06);
	padding: 0;
}

body.product-page .navbar.navbar-light .btn-login-area .nav-link {
	background: linear-gradient(135deg, #b85f22, #d8862d);
	color: white;
	padding: 0.8rem 1.2rem;
	box-shadow: 0 10px 20px rgba(184, 95, 34, 0.2);
}

body.product-page .navbar.navbar-light .btn-login-area .nav-link:hover,
body.product-page .navbar.navbar-light .btn-login-area .nav-link:focus {
	background: linear-gradient(135deg, #a95118, #c87520);
	color: white;
}

/* Brand Styles */
.webshop-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	min-width: 0;
}

.webshop-brand-mark {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(145deg, #fff6ea, #ffffff);
	border: 1px solid rgba(182, 114, 46, 0.14);
	box-shadow: 0 8px 24px rgba(120, 73, 24, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.webshop-brand-mark img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.webshop-brand-fallback {
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #a5541f;
}

.webshop-brand-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.webshop-brand-title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.05;
	color: #3a2415;
	white-space: nowrap;
}

.webshop-brand-tagline {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b17649;
	white-space: nowrap;
}

/* Filter Styles */
.field-filter-dropdown {
	width: 100%;
	height: auto;
	border: 1px solid var(--gray-300);
	border-radius: var(--border-radius-sm);
	background: white;
}

.field-filter-dropdown summary {
	list-style: none;
	cursor: pointer;
	padding: 0.5rem 0.75rem;
	font-size: 13px;
	color: var(--gray-700);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-height: 40px;
}

.field-filter-dropdown summary::-webkit-details-marker {
	display: none;
}

.field-filter-dropdown .filter-options {
	padding: 0 0.75rem 0.75rem;
	max-height: 220px;
	overflow-y: auto;
}

.field-filter-summary-label {
	min-width: 0;
	flex: 1 1 auto;
	display: block;
	line-height: 1.2;
}

.field-filter-summary-actions {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	flex: 0 0 auto;
}

.field-filter-caret {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	color: var(--gray-600);
	font-size: 11px;
	line-height: 1;
}

.field-filter-clear {
	display: none;
	width: 18px;
	height: 18px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--gray-600);
	font-size: 14px;
	line-height: 1;
	padding: 0;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin: 0;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

.field-filter-dropdown.has-active-selection .field-filter-clear {
	display: inline-flex;
}

.price-filter-clear.is-visible {
	display: inline-flex;
}

.field-filter-clear:hover,
.field-filter-clear:focus {
	background: var(--gray-100);
	color: var(--gray-800);
	outline: none;
}

#price-filters .price-slider-wrap {
	position: relative;
	height: 24px;
	margin: 0 4px;
	cursor: pointer;
}

#price-filters .price-slider-track,
#price-filters .price-slider-range {
	position: absolute;
	top: 10px;
	height: 4px;
	border-radius: 999px;
}

#price-filters .price-slider-track {
	left: 0;
	right: 0;
	background: var(--gray-300);
	pointer-events: none;
}

#price-filters .price-slider-range {
	background: var(--primary);
	pointer-events: none;
}

#price-filters .price-range-input {
	position: absolute;
	left: 0;
	top: 2px;
	width: 100%;
	height: 20px;
	margin: 0;
	pointer-events: none;
	appearance: none;
	background: transparent;
}

#price-filters .price-min-range {
	z-index: 2;
}

#price-filters .price-max-range {
	z-index: 3;
}

#price-filters .price-range-input.is-active {
	z-index: 4;
}

#price-filters .price-range-input:focus {
	outline: none;
}

#price-filters .price-range-input::-webkit-slider-thumb {
	pointer-events: auto;
	appearance: none;
	width: 16px;
	height: 16px;
	border: 2px solid var(--primary);
	border-radius: 50%;
	background: white;
	cursor: pointer;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

#price-filters .price-range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border: 2px solid var(--primary);
	border-radius: 50%;
	background: white;
	cursor: pointer;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

#price-filters .price-range-input.is-active::-webkit-slider-thumb,
#price-filters .price-range-input:focus::-webkit-slider-thumb {
	transform: scale(1.08);
	box-shadow: 0 0 0 3px rgba(177, 118, 73, 0.18), 0 0 0 2px rgba(255, 255, 255, 0.95);
}

#price-filters .price-range-input.is-active::-moz-range-thumb,
#price-filters .price-range-input:focus::-moz-range-thumb {
	transform: scale(1.08);
	box-shadow: 0 0 0 3px rgba(177, 118, 73, 0.18), 0 0 0 2px rgba(255, 255, 255, 0.95);
}

#price-filters .price-filter-selects {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 8px;
	align-items: center;
}

#price-filters .price-filter-select {
	height: 32px;
	font-size: 13px;
	padding: 0.375rem 0.5rem;
}

#price-filters .price-filter-separator {
	font-size: 13px;
	color: var(--gray-600);
}

/* Hide striked price and green info on listings */
body[data-path="products"] .product-price .striked-price,
body[data-path="products"] .product-price .product-info-green,
body[data-path="all-products"] .product-price .striked-price,
body[data-path="all-products"] .product-price .product-info-green,
body[data-path="vmks-all-products"] .product-price .striked-price,
body[data-path="vmks-all-products"] .product-price .product-info-green {
	display: none !important;
}

/* ==================== PRODUCT GRID CARD FIXES ==================== */

body[data-path="products"] #products-grid-area .item-card,
body[data-path="vmks-all-products"] #products-grid-area .item-card,
body[data-path="all-products"] #products-grid-area .item-card {
	display: flex;
	flex-direction: column;
	padding: 6px;
	max-width: 33.3333%;
	min-width: 300px;
	height: 486px;
}

body[data-path="products"] #products-grid-area .item-card .card,
body[data-path="vmks-all-products"] #products-grid-area .item-card .card,
body[data-path="all-products"] #products-grid-area .item-card .card {
	width: 100%;
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

body[data-path="products"] #products-grid-area .item-card .card-img-container,
body[data-path="vmks-all-products"] #products-grid-area .item-card .card-img-container,
body[data-path="all-products"] #products-grid-area .item-card .card-img-container {
	height: 210px;
	min-height: 210px;
	max-height: 210px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	background: #fff;
	overflow: hidden;
}

body[data-path="products"] #products-grid-area .item-card .card-img-container a,
body[data-path="vmks-all-products"] #products-grid-area .item-card .card-img-container a,
body[data-path="all-products"] #products-grid-area .item-card .card-img-container a {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

body[data-path="products"] #products-grid-area .item-card .card-img,
body[data-path="vmks-all-products"] #products-grid-area .item-card .card-img,
body[data-path="all-products"] #products-grid-area .item-card .card-img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	margin-top: 0;
	object-fit: contain;
	object-position: center;
	display: block;
}

body[data-path="products"] #products-grid-area .item-card .no-image,
body[data-path="vmks-all-products"] #products-grid-area .item-card .no-image,
body[data-path="all-products"] #products-grid-area .item-card .no-image {
	height: 210px;
	min-height: 210px;
	max-height: 210px;
	border-radius: 0;
}

/* Card Body - Strictly bounded inside card */
body[data-path="products"] #products-grid-area .item-card .card-body,
body[data-path="vmks-all-products"] #products-grid-area .item-card .card-body,
body[data-path="all-products"] #products-grid-area .item-card .card-body {
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 8px 10px;
}

/* Override grid.js inline margin-top: 1rem on title wrapper */
body[data-path="products"] #products-grid-area .item-card .card-body > div:first-child,
body[data-path="vmks-all-products"] #products-grid-area .item-card .card-body > div:first-child,
body[data-path="all-products"] #products-grid-area .item-card .card-body > div:first-child {
	margin-top: 6px !important;
}

/* Vertical spacing fixes */
.product-title {
	margin-bottom: 4px;
	line-height: 1.35;
}

.product-category {
	margin-bottom: 6px;
}

.vmks-mrp-note {
	margin-top: 4px;
}

.in-stock,
.out-of-stock {
	margin-top: 6px;
}

/* Push price section to bottom */
.product-price {
	margin-top: auto;
	min-height: 42px;
	align-content: center;
}

/* ── DESKTOP: button hidden, reveals on card hover ── */
@media (hover: hover) {
	body[data-path="products"] #products-grid-area .item-card .btn-add-to-cart-list,
	body[data-path="vmks-all-products"] #products-grid-area .item-card .btn-add-to-cart-list,
	body[data-path="all-products"] #products-grid-area .item-card .btn-add-to-cart-list,
	body[data-path="products"] #products-grid-area .item-card .btn-explore-variants,
	body[data-path="vmks-all-products"] #products-grid-area .item-card .btn-explore-variants,
	body[data-path="all-products"] #products-grid-area .item-card .btn-explore-variants {
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease, box-shadow 0.2s ease;
		visibility: visible !important;
	}

	body[data-path="products"] #products-grid-area .item-card:hover .btn-add-to-cart-list,
	body[data-path="vmks-all-products"] #products-grid-area .item-card:hover .btn-add-to-cart-list,
	body[data-path="all-products"] #products-grid-area .item-card:hover .btn-add-to-cart-list,
	body[data-path="products"] #products-grid-area .item-card:hover .btn-explore-variants,
	body[data-path="vmks-all-products"] #products-grid-area .item-card:hover .btn-explore-variants,
	body[data-path="all-products"] #products-grid-area .item-card:hover .btn-explore-variants {
		opacity: 1;
		transform: translateY(0);
	}

	body[data-path="products"] #products-grid-area .item-card .btn-add-to-cart-list:hover,
	body[data-path="vmks-all-products"] #products-grid-area .item-card .btn-add-to-cart-list:hover,
	body[data-path="all-products"] #products-grid-area .item-card .btn-add-to-cart-list:hover,
	body[data-path="products"] #products-grid-area .item-card .btn-explore-variants:hover,
	body[data-path="vmks-all-products"] #products-grid-area .item-card .btn-explore-variants:hover,
	body[data-path="all-products"] #products-grid-area .item-card .btn-explore-variants:hover {
		background: linear-gradient(135deg, #1f8f4d 0%, #56b869 100%);
		box-shadow: 0 4px 12px rgba(31, 143, 77, 0.35);
	}
}

/* ── MOBILE: button always visible ── */
@media (hover: none) {
	body[data-path="products"] #products-grid-area .item-card .btn-add-to-cart-list,
	body[data-path="vmks-all-products"] #products-grid-area .item-card .btn-add-to-cart-list,
	body[data-path="all-products"] #products-grid-area .item-card .btn-add-to-cart-list,
	body[data-path="products"] #products-grid-area .item-card .btn-explore-variants,
	body[data-path="vmks-all-products"] #products-grid-area .item-card .btn-explore-variants,
	body[data-path="all-products"] #products-grid-area .item-card .btn-explore-variants {
		opacity: 1 !important;
		transform: none !important;
		visibility: visible !important;
	}
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 575.98px) {
	.product-price {
		grid-template-columns: minmax(0, 1fr) auto !important;
	}

	.product-price .vmks-striked-mrp {
		grid-column: 1 / 2;
		justify-self: start !important;
	}

	.product-price .vmks-off-badge {
		grid-column: 2 / 3;
		grid-row: 1 / 3;
		align-self: center;
	}

	/* Center cards on mobile — minimal, no other changes */
	body[data-path="products"] #products-grid-area .item-card,
	body[data-path="vmks-all-products"] #products-grid-area .item-card,
	body[data-path="all-products"] #products-grid-area .item-card {
		margin-left: auto;
		margin-right: auto;
	}
}

/* ==================== PRODUCT DETAIL PAGE – MOBILE FIX ==================== */
@media (max-width: 575.98px) {
	/* Full-width product details panel */
	.product-container .product-details {
		max-width: 100% !important;
		width: 100% !important;
	}

	/* Full-width Add to Cart button */
	.product-container .btn-add-to-cart,
	.product-container .btn-add-to-cart-list {
		width: 100% !important;
		display: block !important;
		text-align: center;
		padding: 12px 16px !important;
		font-size: 15px !important;
		border-radius: 8px !important;
	}

	/* Stack image + details vertically */
	.product-container.item-main {
		flex-direction: column !important;
	}

	/* Cart UOM / qty controls full width */
	.product-container .item-cart .w-30-40 {
		width: 100% !important;
	}
}

@media (max-width: 991.98px) {
	body.product-page .navbar.navbar-light .container {
		min-height: 68px;
		padding-left: 0.85rem;
		padding-right: 0.85rem;
	}

	body.product-page .navbar.navbar-light .navbar-brand {
		margin-left: 20px;
		margin-right: 1rem;
	}

	body.product-page .navbar.navbar-light .navbar-collapse {
		order: 3;
		width: 100%;
		flex-basis: 100%;
	}

	body.product-page .navbar.navbar-light .nav-item {
		height: auto;
		width: 100%;
	}

	body.product-page .navbar.navbar-light .nav-item .nav-link {
		width: 100%;
		margin: 0.15rem 0;
	}

	body.product-page .navbar.navbar-light .shopping-cart .nav-link,
	body.product-page .navbar.navbar-light .wishlist .nav-link,
	body.product-page .navbar.navbar-light .logged-in .nav-link {
		width: 100%;
		justify-content: flex-start;
		padding: 0.8rem 1rem;
	}

	.webshop-brand-mark {
		width: 44px;
		height: 44px;
		border-radius: 14px;
	}

	.webshop-brand-title {
		font-size: 0.92rem;
	}

	.webshop-brand-tagline {
		font-size: 0.66rem;
	}
}

/* ==================== CUSTOMER REVIEWS PAGE – RESPONSIVE ==================== */

/* Header row: title + Write Review button */
.reviews-full-page .reviews-header,
.ratings-reviews-section .reviews-header {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--gray-900);
}

/* Rating summary container: side-by-side on desktop, stacked on mobile */
.rating-summary-section {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1rem;
}

.rating-summary-numbers {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.rating-summary-numbers h2 {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.rating-progress-bar-section {
	flex: 1;
	min-width: 0;
}

.rating-progress-bar-section .rating-bar-title {
	font-size: 12px;
	color: var(--gray-600);
	margin-bottom: 2px;
}

.rating-progress-bar {
	height: 8px;
	border-radius: 4px;
	background: var(--gray-200);
	margin-bottom: 8px;
}

.progress-bar-cosmetic {
	background: linear-gradient(90deg, #1f8f4d, #56b869);
	border-radius: 4px;
}

@media (max-width: 767.98px) {
	/* Stack title + button vertically */
	.reviews-full-page .d-flex,
	.ratings-reviews-section .d-flex {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.reviews-full-page .reviews-header,
	.ratings-reviews-section .reviews-header {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100%;
	}

	.reviews-full-page .write-a-review-btn,
	.ratings-reviews-section .write-a-review-btn {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100%;
	}

	.reviews-full-page .write-a-review-btn .btn-write-review,
	.ratings-reviews-section .write-a-review-btn .btn-write-review {
		width: 100%;
	}

	/* Stack rating number + progress bars vertically */
	.rating-summary-section {
		flex-direction: column;
	}

	.rating-summary-numbers,
	.rating-progress-bar-section {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100%;
		margin-left: 0 !important;
	}

	/* Fix progress bar rows on mobile */
	.rating-progress-bar-section .row {
		display: flex;
		align-items: center;
		gap: 8px;
		flex-wrap: nowrap;
	}

	.rating-progress-bar-section .col-md-7 {
		flex: 1 1 auto;
	}

	.rating-progress-bar-section .col-sm-1 {
		flex: 0 0 auto;
		white-space: nowrap;
	}
}

/* ==================== LIST VIEW MOBILE FIXES ==================== */
@media (max-width: 767.98px) {
	.list-row {
		flex-wrap: nowrap !important;
		padding: 14px 16px !important;
		margin: 0 0 16px 0 !important;
		width: 100% !important;
		border: 1px solid rgba(182, 114, 46, 0.12) !important;
		border-radius: 14px !important;
		align-items: flex-start !important;
		background: #ffffff;
		box-shadow: 0 4px 16px rgba(182, 114, 46, 0.04) !important;
	}

	.list-row .list-image {
		width: 105px !important;
		min-width: 105px !important;
		max-width: 105px !important;
		flex: 0 0 105px !important;
		height: 105px !important;
		padding: 6px !important;
		border-radius: 12px !important;
		border: 1px solid rgba(182, 114, 46, 0.12) !important;
		background: #fff9f5 !important;
		align-self: flex-start !important;
	}

	.list-row .text-left {
		width: calc(100% - 105px) !important;
		max-width: calc(100% - 105px) !important;
		flex: 1 1 auto !important;
		padding-left: 14px !important;
		padding-right: 0 !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: flex-start !important;
		min-height: 105px !important;
	}

	.list-row .text-left > div:first-child {
		display: contents !important;
	}

	.list-row .text-left .col-8 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		padding: 0 !important;
		margin: 0 0 4px 0 !important;
		order: 1 !important;
	}

	.list-row .text-left .col-8 a {
		font-size: 14px !important;
		font-weight: 700 !important;
		letter-spacing: -0.01em !important;
		line-height: 1.3 !important;
		color: #1f272e !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.list-row .product-code,
	.list-row .text-left > .mt-2,
	.list-row .text-left > div[style*="margin-bottom: 15px;"] {
		display: none !important;
	}

	.list-row .product-price {
		order: 2 !important;
		margin: 0 !important;
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 2px 8px !important;
		align-items: baseline !important;
	}
	
	.list-row .product-price .vmks-price-value {
		font-size: 1.25rem !important;
		font-weight: 800 !important;
		color: #111827 !important;
		line-height: 1 !important;
	}

	.list-row .product-price .vmks-off-badge {
		align-self: center !important;
		padding: 4px 8px !important;
		font-size: 0.75rem !important;
		border-radius: 6px !important;
	}

	.list-row .product-price .vmks-striked-mrp {
		font-size: 0.85rem !important;
		color: #9ca3af !important;
	}

	.list-row .vmks-mrp-note {
		order: 3 !important;
		margin: 2px 0 0 0 !important;
		font-size: 0.72rem !important;
		color: #6b7280 !important;
		letter-spacing: 0.01em !important;
		line-height: 1 !important;
	}

	.list-row .out-of-stock,
	.list-row .in-stock {
		order: 4 !important;
		font-size: 11.5px !important;
		margin: 6px 0 0 0 !important;
		line-height: 1 !important;
	}

	.list-row .cart-action-container {
		order: 5 !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		padding: 0 !important;
		margin: auto 0 0 0 !important;
		display: flex !important;
		justify-content: flex-end !important;
		gap: 8px !important;
	}

	.list-row .cart-action-container .btn-add-to-cart-list,
	.list-row .cart-action-container .go-to-cart {
		float: none !important;
		margin: 0 !important;
		min-width: 110px !important;
		width: auto !important;
		padding: 6px 16px !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		height: auto !important;
		max-height: unset !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		letter-spacing: 0.02em !important;
		border-radius: 999px !important;
		background: #111827 !important;
		border-color: #111827 !important;
		color: #ffffff !important;
		box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15) !important;
		transition: transform 0.15s ease, background 0.15s ease !important;
	}
	
	.list-row .cart-action-container .btn-add-to-cart-list:active {
		transform: scale(0.97) !important;
		background: #000000 !important;
	}

	.list-row .cart-indicator {
		position: static !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		margin: 0 !important;
		min-width: 36px !important;
		border-radius: 999px !important;
		font-weight: 700 !important;
	}

	.list-row .hidden,
	.list-row .cart-action-container .hidden,
	.list-row .cart-action-container .btn.hidden,
	.list-row .cart-indicator.hidden {
		display: none !important;
	}
}

/* ==================== MOBILE FILTER UI ==================== */
@media (max-width: 767.98px) {
	.mobile-filter-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		background: #ffffff;
		color: #b85f22;
		padding: 6px 14px;
		border-radius: 6px;
		font-size: 13px;
		font-weight: 600;
		box-shadow: 0 2px 8px rgba(184, 95, 34, 0.15);
		border: 1px solid rgba(184, 95, 34, 0.2);
		transition: background 0.2s ease, box-shadow 0.2s ease;
		margin-left: auto;
		flex-shrink: 0;
	}

	.mobile-filter-toggle:active {
		background: #fdfafa;
		box-shadow: 0 1px 4px rgba(184, 95, 34, 0.1);
	}

	.mobile-filter-toggle svg {
		width: 14px;
		height: 14px;
		fill: none;
		stroke: currentColor;
	}

	#product-filters {
		position: fixed !important;
		top: 0;
		left: -100%;
		width: 100vw;
		height: 100vh;
		height: -webkit-fill-available;
		background: #ffffff;
		z-index: 1050;
		overflow-y: auto;
		padding: 72px 24px 100px;
		transition: left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
		display: block !important;
		visibility: hidden;
		box-shadow: none;
	}

	#product-filters.is-open {
		left: 0;
		visibility: visible;
	}

	.mobile-filter-close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		border-radius: 50%;
		background: #f3f4f6;
		color: #4b5563;
		border: none;
		position: absolute;
		top: 20px;
		right: 20px;
		z-index: 1051;
		transition: background 0.2s;
	}

	.mobile-filter-close:active {
		background: #e5e7eb;
	}

	body.mobile-filter-open {
		overflow: hidden !important;
	}

	#product-filters .title-section {
		margin-top: 0 !important;
		margin-bottom: 24px !important;
		border-bottom: 1px solid #f3f4f6;
		padding-bottom: 16px;
	}

	#product-filters .filters-title {
		font-size: 1.25rem !important;
		font-weight: 800;
		color: #1f272e;
		margin: 0 !important;
	}

	#product-filters .clear-filters {
		font-size: 14px;
		font-weight: 600;
		color: #b85f22 !important;
		margin: 0 !important;
		text-decoration: none;
	}
}

@media (min-width: 768px) {
	.mobile-filter-toggle,
	.mobile-filter-close {
		display: none !important;
	}
}

/* ==================== WISHLIST HEART POSITIONING ==================== */
.item-card, .list-row {
	position: relative !important;
}

.list-row .list-image {
	position: static !important; 
}

.item-card .like-action-list,
.list-row .like-action-list {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	z-index: 20 !important;
	width: 32px !important;
	height: 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border-radius: 50% !important;
	box-shadow: 0 4px 12px rgba(120, 73, 24, 0.1) !important;
	cursor: pointer !important;
	transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
	border: 1px solid rgba(182, 114, 46, 0.1) !important;
	margin: 0 !important;
}

/* For list view, pull slightly from edges if card has thick padding */
@media (max-width: 767.98px) {
	.list-row .like-action-list {
		top: 14px !important;
		right: 16px !important;
	}
}

.item-card .like-action-list:hover,
.list-row .like-action-list:hover,
.item-card .like-action-list:active,
.list-row .like-action-list:active {
	transform: scale(1.08) !important;
	box-shadow: 0 6px 16px rgba(120, 73, 24, 0.15) !important;
	background: #ffffff !important;
}

.item-card .like-action-list svg,
.list-row .like-action-list svg {
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	fill: transparent !important;
	stroke: #6b7280 !important;
	stroke-width: 2 !important;
	transition: all 0.2s ease !important;
	pointer-events: none !important;
}

/* Wished state */
.item-card .like-action-list.like-action-wished svg,
.list-row .like-action-list.like-action-wished svg {
	fill: #ef4444 !important;
	stroke: #ef4444 !important;
}

/* ==================== CART PAGE MOBILE FIXES ==================== */
@media (max-width: 767.98px) {
	.cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
		display: block !important;
		width: 100% !important;
	}

	.cart-table thead {
		display: none !important;
	}

	.cart-table tbody tr {
		margin-bottom: 16px !important;
		border: 1px solid rgba(182, 114, 46, 0.12) !important;
		border-radius: 12px !important;
		padding: 16px !important;
		background: #ffffff !important;
		box-shadow: 0 4px 16px rgba(182, 114, 46, 0.04) !important;
		position: relative !important;
	}

	.cart-table td {
		padding: 0 !important;
		border: none !important;
		text-align: left !important;
	}

	.cart-table td:nth-child(1) {
		margin-bottom: 16px !important;
	}

	.cart-table td:nth-child(1) .d-flex {
		align-items: flex-start !important;
	}

	.cart-item-image {
		width: 72px !important;
		height: 72px !important;
		min-width: 72px !important;
		border-radius: 8px !important;
		overflow: hidden !important;
		border: 1px solid rgba(182, 114, 46, 0.1) !important;
		background: #fff9f5 !important;
		margin-right: 14px !important;
	}

	.cart-item-image img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}

	.item-title {
		font-size: 15px !important;
		font-weight: 700 !important;
		line-height: 1.3 !important;
		margin-bottom: 4px !important;
		color: #1f272e !important;
	}
	
	.item-subtitle {
		font-size: 13px !important;
		color: #6b7280 !important;
	}

	.cart-table td:nth-child(2) .d-flex {
		justify-content: space-between !important;
		align-items: center !important;
		background: #f9fafb !important;
		padding: 8px 12px !important;
		border-radius: 8px !important;
		margin-bottom: 0 !important;
	}

	.cart-table .number-spinner {
		margin: 0 !important;
		width: auto !important;
	}

	.cart-table .number-spinner .btn {
		padding: 0 !important;
		width: 32px !important;
		height: 32px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		background: #ffffff !important;
		border: 1px solid #e5e7eb !important;
		box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
		border-radius: 6px !important;
		color: #374151 !important;
		font-weight: 600 !important;
	}

	.cart-table .number-spinner input {
		height: 32px !important;
		width: 48px !important;
		max-width: 48px !important;
		min-width: 48px !important;
		border: none !important;
		background: transparent !important;
		padding: 0 !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		color: #111827 !important;
	}

	.remove-cart-item {
		margin-left: 12px !important;
		color: #ef4444 !important;
		background: #fef2f2 !important;
		width: 32px !important;
		height: 32px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		border-radius: 8px !important;
	}
	
	.remove-cart-item svg {
		fill: currentColor !important;
		width: 14px !important;
		height: 14px !important;
	}

	.sm-item-subtotal {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		flex-direction: row-reverse !important;
		margin-top: 16px !important;
		padding-top: 16px !important;
		border-top: 1px solid #f3f4f6 !important;
	}

	.sm-item-subtotal > div {
		font-size: 1.15rem !important;
		font-weight: 800 !important;
		color: #111827 !important;
	}

	.sm-item-subtotal .item-rate {
		font-size: 13px !important;
		font-weight: 600 !important;
		color: #6b7280 !important;
	}

	.cart-table tfoot tr {
		border: none !important;
		box-shadow: none !important;
		padding: 20px 8px 16px !important;
		margin: 0 !important;
		background: transparent !important;
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		border-top: 2px dashed #f3f4f6 !important;
		border-radius: 0 !important;
	}

	.cart-table tfoot td {
		display: block !important;
		width: auto !important;
		font-size: 18px !important;
		font-weight: 800 !important;
		color: #111827 !important;
	}

	.cart-table tfoot td:nth-child(1) {
		margin: 0 !important;
	}
}

/* ==================== CUSTOMER PROFILE MOBILE MENU FIX ==================== */
@media (max-width: 991.98px) {
	/* Hide unwanted portal menu items from the mobile standard navbar dropdown */
	.navbar-collapse .nav-item a[href*="/project"],
	.navbar-collapse .nav-item a[href*="/timesheet"],
	.navbar-collapse .nav-item a[href*="/newsletter"],
	.navbar-collapse .nav-item a[href*="/material-request"] {
		display: none !important;
	}
	
	/* Also completely collapse the parent list item */
	.navbar-collapse .nav-item:has(> a[href*="/project"]),
	.navbar-collapse .nav-item:has(> a[href*="/timesheet"]),
	.navbar-collapse .nav-item:has(> a[href*="/newsletter"]),
	.navbar-collapse .nav-item:has(> a[href*="/material-request"]) {
		display: none !important;
	}
}

/* ==================== ORDER DETAIL PAGE – HEADER ALIGNMENT FIX ==================== */

/* Title (left) + Actions+Name column (right) on the same row */
body[data-path="order"] .page-header-wrapper {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	flex-wrap: nowrap !important;
	gap: 8px !important;
}

body[data-path="order"] .page-header {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

body[data-path="order"] .page-header h3 {
	margin: 0 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	font-size: 1.05rem !important;
	line-height: 2 !important;
}

body[data-path="order"] .page-header-actions-block {
	flex: 0 0 auto !important;
	margin-left: 0 !important;
}

/* Status indicator row: take full width, hide original customer name col */
body[data-path="order"] .indicator-container .col-2.text-right {
	display: none !important;
}

body[data-path="order"] .indicator-container .col-10 {
	flex: 0 0 100% !important;
	max-width: 100% !important;
}

@media (max-width: 575.98px) {
	body[data-path="order"] .page-header h3 {
		font-size: 0.9rem !important;
	}

	#vmks-customer-name-badge {
		max-width: 140px !important;
		font-size: 0.78rem !important;
	}
}

/* ==================== SIGNUP PHONE FIELD – intl-tel-input overrides ==================== */

/* Stretch the iti wrapper to fill the form-group */
.vmks-phone-group .iti {
	width: 100%;
	display: flex !important;
}

/* The actual input must grow and match Bootstrap's form-control height */
.vmks-phone-group .iti input[type="tel"],
.vmks-phone-group .iti input[type="tel"].form-control {
	flex: 1 1 auto;
	width: 100% !important;
	height: calc(1.5em + 0.75rem + 2px);
	padding-left: 90px !important; /* room for flag + dial code */
	font-size: 0.875rem;
	border-radius: 4px;
}

/* Flag button sizing */
.vmks-phone-group .iti__flag-container {
	top: 0;
	bottom: 0;
}

.vmks-phone-group .iti__selected-flag {
	height: 100%;
	padding: 0 8px 0 10px;
	border-right: 1px solid #ced4da;
	background: #f8f9fa;
	border-radius: 4px 0 0 4px;
}

/* Dropdown list scroll cap */
.vmks-phone-group .iti__country-list {
	max-height: 220px;
	overflow-y: auto;
	z-index: 9999;
}

/* Dial code color */
.vmks-phone-group .iti__selected-dial-code {
	color: #495057;
	font-size: 0.82rem;
	margin-left: 4px;
}