/**
 * WCVTP Frontend Styling & Built-in Side Cart Drawer
 * RTL & LTR Support - Author: Sara Ghiasi
 */

.wcvtp-container {
	margin: 25px 0;
	font-family: inherit;
	color: #334155;
	direction: rtl;
	text-align: right;
}

/* Completely hide default WooCommerce added_to_cart link after AJAX add to cart */
.wcvtp-container .added_to_cart.wc-forward,
.wcvtp-table .added_to_cart.wc-forward,
.wcvtp-td-action .added_to_cart {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

[dir="ltr"] .wcvtp-container {
	direction: ltr;
	text-align: left;
}

/* Toolbar & Filters - Exact matching #fbf8f2 and #e6d5b1 colors as requested */
.wcvtp-toolbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
	padding: 15px;
	background: #fbf8f2 !important;
	border: 1px solid #e6d5b1 !important;
	border-radius: 10px;
}

.wcvtp-toolbar-left, .wcvtp-toolbar-right {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

/* Prevent labels from breaking onto two lines (رفع دوخطی شدن متن‌ها) */
.wcvtp-sort-box label,
.wcvtp-perpage-box label,
.wcvtp-filter-group label,
.wcvtp-filter-title,
.wcvtp-table thead th,
.wcvtp-meta-left span,
.wcvtp-meta-right span {
	white-space: nowrap !important;
	flex-shrink: 0;
}

.wcvtp-search-box {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 260px;
}

/* Search icon removed as requested */
.wcvtp-search-icon {
	display: none !important;
}

.wcvtp-live-search {
	width: 100%;
	padding: 8px 14px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	background: #ffffff !important;
	transition: all 0.2s;
}

.wcvtp-live-search:focus {
	outline: none !important;
	border-color: #3b82f6 !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.wcvtp-sort-box, .wcvtp-perpage-box {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	font-size: 13px;
	color: #475569;
}

.wcvtp-sort-select, .wcvtp-perpage-select {
	padding: 6px 12px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	font-size: 13px !important;
	cursor: pointer;
}

/* Filters Area - Exact matching #fbf8f2 and #e6d5b1 colors as requested */
.wcvtp-filters-area {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: #fbf8f2 !important;
	border: 1px solid #e6d5b1 !important;
	border-top: none !important;
	border-radius: 0 0 10px 10px;
	margin-top: -15px;
	margin-bottom: 20px;
}

.wcvtp-filter-title {
	font-weight: 600;
	font-size: 13px;
	color: #1e293b;
}

.wcvtp-filter-group {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px;
	font-size: 12px;
}

.wcvtp-filter-group select {
	padding: 4px 10px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	background: #fff !important;
}

/* Reset filters button exact requested #e6d5b1 color */
.wcvtp-reset-filters {
	background: #e6d5b1 !important;
	border: 1px solid #d4c19a !important;
	color: #0d4543 !important;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	margin-right: auto;
	white-space: nowrap !important;
}

[dir="ltr"] .wcvtp-reset-filters {
	margin-right: 0;
	margin-left: auto;
}

.wcvtp-reset-filters:hover {
	background: #d4c19a !important;
	color: #0d4543 !important;
}

/* Meta Bar (Date & Total Records) - Exact styling requested */
.wcvtp-meta-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	background: #fbf8f2;
	border: 1px solid #e6d5b1;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #0d4543;
	margin-bottom: 15px;
}

/* Table Wrapper */
.wcvtp-table-wrapper {
	overflow-x: auto;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.wcvtp-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	margin: 0 !important;
}

.wcvtp-table thead th {
	padding: 14px 12px;
	font-weight: 600;
	font-size: 13px;
	text-align: center !important;
	border-bottom: 2px solid #cbd5e1;
	white-space: nowrap !important;
}

[dir="ltr"] .wcvtp-table thead th {
	text-align: center !important;
}

/* Clickable Sort Headers */
.wcvtp-table thead th.clickable-sort {
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s;
}

.wcvtp-table thead th.clickable-sort:hover {
	filter: brightness(0.9);
}

.wcvtp-sort-indicator {
	font-size: 11px;
	opacity: 0.7;
	margin-left: 4px;
	display: inline-block;
}

[dir="ltr"] .wcvtp-sort-indicator {
	margin-left: 0;
	margin-right: 4px;
}

.wcvtp-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition: background-color 0.15s ease;
}

.wcvtp-table tbody tr:hover {
	background-color: #f8fafc;
}

.wcvtp-table tbody tr.wcvtp-row-outofstock {
	opacity: 0.65;
	background-color: #f8fafc;
}

.wcvtp-table td {
	padding: 12px;
	vertical-align: middle;
	font-size: 13px;
	text-align: center !important;
}

.wcvtp-th-checkbox, .wcvtp-td-checkbox {
	width: 40px;
	text-align: center !important;
}

.wcvtp-td-image img {
	width: 55px;
	height: 55px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	transition: transform 0.2s;
	margin: 0 auto;
}

.wcvtp-img-zoom:hover img {
	transform: scale(1.08);
}

.wcvtp-sku-text {
	font-family: monospace, sans-serif;
	background: #f1f5f9;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 12px;
	color: #475569;
	display: inline-block;
}

.wcvtp-attr-text {
	display: inline-block;
	color: inherit;
	font-weight: 500;
	font-size: 13px;
}

/* Force direction: ltr on RGB color codes and columns exactly as requested */
.wcvtp-td-attr[data-attr-col*="rgb"],
.wcvtp-td-attr[data-attr-col*="color"],
.wcvtp-attr-text.rgb-value {
	direction: ltr !important;
	text-align: center !important;
	display: inline-block;
}

.wcvtp-price-html {
	font-weight: 700;
	color: #0f172a;
	display: inline-block;
}

.wcvtp-price-html del {
	color: #94a3b8;
	font-weight: 400;
	font-size: 12px;
	margin-left: 5px;
}

[dir="ltr"] .wcvtp-price-html del {
	margin-left: 0;
	margin-right: 5px;
}

.wcvtp-price-html ins {
	text-decoration: none;
	color: #16a34a;
}

/* Stock Badges */
.wcvtp-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.wcvtp-badge-instock {
	color: #15803d;
}

.wcvtp-badge-lowstock {
	background: #fef9c3;
	color: #854d0e;
}

.wcvtp-badge-outofstock {
	background: #fee2e2;
	color: #b91c1c;
}

.wcvtp-badge-backorder {
	background: #e0e7ff;
	color: #4338ca;
}

/* Quantity Box */
.wcvtp-qty-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	overflow: hidden;
	margin: 0 auto;
}

.wcvtp-qty-btn {
	background: #f1f5f9;
	border: none;
	width: 28px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	cursor: pointer;
	color: #475569;
	transition: background 0.15s;
}

.wcvtp-qty-btn:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.wcvtp-qty-input {
	width: 45px !important;
	height: 32px !important;
	border: none !important;
	text-align: center !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 0 !important;
	-moz-appearance: textfield;
}

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

/* Buttons */
.wcvtp-btn-add, .wcvtp-bulk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 5px !important;
	border: none;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
	margin: 0 auto;
}

.wcvtp-btn-disabled {
	background: #e2e8f0;
	color: #94a3b8;
	border: none;
	padding: 8px 16px;
	border-radius: 5px !important;
	font-size: 13px;
	cursor: not-allowed;
	margin: 0 auto;
}

.wcvtp-spinner {
	display: none;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wcvtp-spin 0.6s linear infinite;
}

@keyframes wcvtp-spin {
	to { transform: rotate(360deg); }
}

.wcvtp-btn-add.loading .wcvtp-btn-text,
.wcvtp-bulk-btn.loading .wcvtp-btn-text {
	opacity: 0.5;
}

.wcvtp-btn-add.loading .wcvtp-spinner,
.wcvtp-bulk-btn.loading .wcvtp-spinner {
	display: inline-block;
}

.wcvtp-btn-add.success {
	background-color: #16a34a !important;
}

/* Footer & Pagination */
.wcvtp-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	margin-top: 15px;
	padding: 15px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

.wcvtp-footer-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

.wcvtp-showing-info {
	font-size: 13px;
	color: #64748b;
}

.wcvtp-pagination {
	display: flex;
	gap: 5px;
}

.wcvtp-page-link {
	padding: 6px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #334155;
	font-size: 13px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.15s;
}

.wcvtp-page-link:hover {
	background: #f1f5f9;
}

.wcvtp-page-link.active {
	background: #0d4543 !important;
	color: #ffffff !important;
	border-color: #0d4543 !important;
}

/* Floating Cart Button & Header Cart Icon */
.wcvtp-floating-cart-btn {
	position: fixed;
	bottom: 25px;
	left: 25px;
	width: 58px;
	height: 58px;
	background: #0d4543;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
	z-index: 99998;
	text-decoration: none;
	transition: transform 0.2s, background 0.2s;
}

[dir="ltr"] .wcvtp-floating-cart-btn {
	left: auto;
	right: 25px;
}

.wcvtp-floating-cart-btn:hover {
	transform: scale(1.08);
	background: #b4a377;
	color: #ffffff;
}

.wcvtp-floating-cart-btn .dashicons,
.wcvtp-header-cart-btn .dashicons {
	font-size: 26px;
	width: 26px;
	height: 26px;
}

.wcvtp-cart-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background: #ef4444;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
}

.wcvtp-header-cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	color: inherit;
	text-decoration: none;
}

/* ==========================================
   Side Cart Drawer - Opening strictly from RIGHT side (!important)
   ========================================== */
.wcvtp-side-cart-drawer {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 999999 !important;
	pointer-events: none;
	visibility: hidden;
	transition: visibility 0.3s ease;
}

.wcvtp-side-cart-drawer.open {
	pointer-events: auto;
	visibility: visible;
}

.wcvtp-drawer-overlay {
	position: absolute;
	top: 0;
	right: 0 !important;
	left: 0 !important;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wcvtp-side-cart-drawer.open .wcvtp-drawer-overlay {
	opacity: 1;
}

.wcvtp-drawer-content {
	position: absolute !important;
	top: 0 !important;
	right: -450px !important;
	left: auto !important;
	width: 100% !important;
	max-width: 400px !important;
	height: 100% !important;
	background: #ffffff;
	box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	direction: rtl;
	text-align: right;
}

.wcvtp-side-cart-drawer.open .wcvtp-drawer-content {
	right: 0 !important;
	left: auto !important;
}

.wcvtp-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
}

.wcvtp-drawer-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}

.wcvtp-drawer-close {
	background: transparent;
	border: none;
	font-size: 26px;
	color: #64748b;
	cursor: pointer;
	line-height: 1;
	padding: 0 6px;
	transition: color 0.2s;
}

.wcvtp-drawer-close:hover {
	color: #ef4444;
}

.wcvtp-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}

.wcvtp-drawer-empty {
	text-align: center;
	padding: 40px 20px;
	color: #64748b;
}

.wcvtp-drawer-item-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wcvtp-drawer-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #f1f5f9;
	position: relative;
}

.wcvtp-drawer-item:last-child {
	border-bottom: none;
}

.wcvtp-drawer-item-remove {
	position: absolute;
	top: 14px;
	left: 0 !important;
	right: auto !important;
	background: #fee2e2;
	color: #ef4444;
	border: none;
	border-radius: 6px;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.2s;
}

.wcvtp-drawer-item-remove:hover {
	background: #ef4444;
	color: #ffffff;
}

.wcvtp-drawer-item-img img {
	width: 55px;
	height: 55px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

.wcvtp-drawer-item-info {
	flex: 1;
	padding-left: 30px;
}

.wcvtp-drawer-item-title {
	margin: 0 0 4px 0;
	font-size: 13px;
	font-weight: 600;
}

.wcvtp-drawer-item-title a {
	color: #0f172a;
	text-decoration: none;
}

.wcvtp-drawer-item-title a:hover {
	color: #2563eb;
}

.wcvtp-drawer-item-qty-price {
	font-size: 13px;
	color: #475569;
	margin-top: 4px;
}

.wcvtp-drawer-qty {
	font-weight: 700;
	color: #334155;
}

.wcvtp-drawer-equals {
	color: #64748b;
}

.wcvtp-drawer-item-total {
	font-weight: 700;
	color: #16a34a;
}

.wcvtp-drawer-footer {
	padding: 18px 20px;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
}

.wcvtp-drawer-subtotal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}

.wcvtp-drawer-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wcvtp-drawer-btn-checkout {
	display: block;
	text-align: center;
	padding: 12px;
	border-radius: 8px;
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	transition: background 0.2s;
}

.wcvtp-drawer-btn-viewcart {
	display: block;
	text-align: center;
	padding: 10px;
	border-radius: 8px;
	background: #e2e8f0;
	color: #334155;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	transition: background 0.2s;
}

.wcvtp-drawer-btn-viewcart:hover {
	background: #cbd5e1;
	color: #0f172a;
}

/* ==========================================
   Fully Responsive Mobile Layout
   ========================================== */
@media screen and (max-width: 768px) {
	.wcvtp-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 12px;
	}
	.wcvtp-toolbar-left, .wcvtp-toolbar-right {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 10px;
	}
	.wcvtp-search-box {
		width: 100%;
		min-width: 100%;
	}
	.wcvtp-sort-box, .wcvtp-perpage-box {
		justify-content: space-between;
		width: 100%;
	}
	.wcvtp-sort-select, .wcvtp-perpage-select {
		flex: 1;
	}
	.wcvtp-filters-area {
		flex-direction: column;
		align-items: stretch;
		padding: 14px 12px;
		gap: 12px;
	}
	.wcvtp-filter-group {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 4px;
	}
	.wcvtp-filter-group select {
		width: 100%;
		padding: 8px 12px !important;
		font-size: 13px !important;
	}
	.wcvtp-reset-filters {
		width: 100%;
		text-align: center;
		padding: 8px 12px;
		margin: 6px 0 0 0 !important;
	}
	.wcvtp-meta-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 10px 12px;
	}
	.wcvtp-table thead {
		display: none;
	}
	.wcvtp-table tbody tr {
		display: block;
		padding: 15px;
		margin-bottom: 15px;
		border: 1px solid #e2e8f0;
		border-radius: 10px;
		box-shadow: 0 2px 4px rgba(0,0,0,0.03);
	}
	.wcvtp-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 8px 0;
		border-bottom: 1px dashed #f1f5f9;
		text-align: left;
	}
	[dir="rtl"] .wcvtp-table td {
		text-align: right;
	}
	.wcvtp-table td:last-child {
		border-bottom: none;
		padding-top: 12px;
	}
	.wcvtp-table td::before {
		content: attr(data-label);
		font-weight: 600;
		color: #64748b;
		margin-left: 15px;
		white-space: nowrap !important;
	}
	[dir="rtl"] .wcvtp-table td::before {
		margin-left: 0;
		margin-right: 15px;
	}
}

/* Sale/Auction button */
.wcvtp-sale-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #0d4543;
	color: #ffffff;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s;
	border: none;
	cursor: pointer;
}

.wcvtp-sale-btn:hover {
	background: #b4a377 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}

/* Min product price */
.wcvtp-min-unit-price {
	font-weight: 700;
	color: #0d4543;
	direction: ltr;
	display: inline-block;
}

/* Group Variations Modal Popup */
.wcvtp-group-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99995;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.25s ease-in-out;
	font-family: inherit;
	direction: rtl;
}
.wcvtp-group-modal.wcvtp-modal-open {
	opacity: 1;
	visibility: visible;
}
.wcvtp-group-modal .wcvtp-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(13, 69, 67, 0.6);
	backdrop-filter: blur(4px);
}
.wcvtp-group-modal .wcvtp-modal-content {
	position: relative;
	background: #ffffff;
	width: 90%;
	max-width: 680px;
	max-height: 85vh;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 2px solid #e6d5b1;
	transform: translateY(20px) scale(0.96);
	transition: transform 0.25s ease-in-out;
	z-index: 2;
}
.wcvtp-group-modal.wcvtp-modal-open .wcvtp-modal-content {
	transform: translateY(0) scale(1);
}
.wcvtp-group-modal .wcvtp-modal-header {
	background: #fbf8f2;
	border-bottom: 1px solid #e6d5b1;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.wcvtp-group-modal .wcvtp-modal-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #0d4543;
}
.wcvtp-group-modal .wcvtp-modal-close {
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #0d4543;
	cursor: pointer;
	padding: 0 6px;
	transition: color 0.15s;
}
.wcvtp-group-modal .wcvtp-modal-close:hover {
	color: #b4a377;
}
.wcvtp-group-modal .wcvtp-modal-body {
	padding: 20px;
	overflow-y: auto;
	max-height: calc(85vh - 70px);
}
.wcvtp-group-modal .wcvtp-modal-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}
.wcvtp-group-modal .wcvtp-modal-table th {
	background: #fbf8f2 !important;
	color: #0d4543 !important;
	padding: 10px 12px;
	font-weight: 700;
	text-align: center;
	border-bottom: 2px solid #e6d5b1;
	font-size: 13px;
}
.wcvtp-group-modal .wcvtp-modal-table td {
	padding: 12px;
	text-align: center;
	border-bottom: 1px solid #e6d5b1;
	font-size: 13px;
	color: #0f172a;
	vertical-align: middle;
}
.wcvtp-group-modal .wcvtp-modal-table tr:last-child td {
	border-bottom: none;
}
.wcvtp-group-modal .wcvtp-btn-add {
	border-radius: 5px !important;
	padding: 8px 16px;
	font-weight: 600;
	font-size: 13px;
}
@media (max-width: 600px) {
	.wcvtp-group-modal .wcvtp-modal-content {
		width: 95%;
		max-height: 90vh;
	}
}


/* ========== Optimized v2.8.1 additions ========== */

/* اطمینان از نمایش dashicons */
.wcvtp-floating-cart-btn .dashicons,
.wcvtp-header-cart-btn .dashicons,
.wcvtp-bulk-btn .dashicons {
	font-family: dashicons !important;
	display: inline-block;
	line-height: 1;
	font-weight: normal;
	font-style: normal;
	speak: never;
	text-decoration: inherit;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	vertical-align: middle;
}

.wcvtp-floating-cart-btn .dashicons-cart:before,
.wcvtp-header-cart-btn .dashicons-cart:before,
.wcvtp-bulk-btn .dashicons-cart:before {
	content: "\f174";
}

/* دکمه غیرفعال بعد از اتمام موجودی */
.wcvtp-btn-add.wcvtp-btn-disabled,
button.wcvtp-btn-disabled,
.wcvtp-td-action .wcvtp-btn-disabled {
	background: #94a3b8 !important;
	background-color: #94a3b8 !important;
	color: #ffffff !important;
	cursor: not-allowed !important;
	opacity: 0.75 !important;
	pointer-events: none !important;
	border: none !important;
}

.wcvtp-row-outofstock {
	opacity: 0.65;
}
