:root {
	--wm-accent: #7cb342;
	--wm-accent-dark: #689f38;
	--wm-border: #e2e2e2;
	--wm-text-muted: #767676;
	--wm-radius: 6px;
}

/* ---------- Preview buttons ---------- */
.wm-preview-buttons {
	display: flex !important;
	gap: 10px;
	margin: 14px 0 22px;
	flex-wrap: wrap;
	clear: both !important;
	float: none !important;
	width: 100%;
	position: static !important;
}
.wm-preview-btn {
	border: none !important;
	border-radius: var(--wm-radius) !important;
	padding: 10px 18px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	cursor: pointer;
	background: #6b6f76 !important;
	color: #fff !important;
	transition: background .15s ease;
	text-transform: none !important;
}
.wm-preview-btn:hover { background: #55585e !important; }
.wm-preview-btn--primary { background: #2b6cb0 !important; }
.wm-preview-btn--primary:hover { background: #235a92 !important; }

/* ---------- Two-column product layout (uses the theme's existing
   .images / .summary.entry-summary float columns — not rebuilt, just
   spaced and widened to match the reference proportions) ---------- */
.themetechmount-single-product-info .woocommerce-product-gallery {
	width: 55% !important;
	float: left !important;
}
.themetechmount-single-product-info .summary.entry-summary {
	width: 40% !important;
	float: right !important;
	clear: none !important;
}
.wm-preview-buttons {
	width: 55% !important;
	float: left !important;
	clear: left !important;
}
@media (max-width: 900px) {
	.themetechmount-single-product-info .woocommerce-product-gallery,
	.themetechmount-single-product-info .summary.entry-summary,
	.wm-preview-buttons {
		width: 100% !important;
		float: none !important;
	}
}

/* ---------- Purchase box ---------- */
.wm-purchase-box {
	border: 1px solid var(--wm-border) !important;
	border-radius: var(--wm-radius) !important;
	padding: 22px !important;
	background: #fff !important;
	box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
	margin-bottom: 20px;
	width: 100%;
}
.wm-purchase-box .price {
	font-size: 28px !important;
	display: block;
	margin-bottom: 10px;
}
.wm-purchase-box .quantity {
	display: none !important;
}
.wm-checklist {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.wm-checklist li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #444;
	margin-bottom: 6px;
}
.wm-checklist li .dashicons {
	color: var(--wm-accent-dark);
	font-size: 16px;
	width: 16px;
	height: 16px;
}
.wm-sales-count {
	font-size: 12px;
	color: var(--wm-text-muted);
	margin-bottom: 10px;
}
.wm-last-update-badge {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-size: 12px;
	background: #f3f4f5;
	border-radius: 4px;
	padding: 5px 10px;
	margin-bottom: 14px;
	color: #555;
}
.wm-badge-version { font-weight: 700; color: #333; }
.wm-purchase-box .cart {
	margin: 14px 0 0 !important;
}
.wm-purchase-box .single_add_to_cart_button {
	width: 100%;
	text-align: center;
	background: var(--wm-accent) !important;
	border-color: var(--wm-accent) !important;
	color: #fff !important;
	font-weight: 700;
	padding: 14px 20px !important;
	font-size: 15px;
}
.wm-purchase-box .single_add_to_cart_button:hover {
	background: var(--wm-accent-dark) !important;
	border-color: var(--wm-accent-dark) !important;
}
.wm-short-description {
	margin-top: 16px;
	font-size: 13px;
	color: var(--wm-text-muted);
}

/* ---------- Features tab ---------- */
.wm-features-list {
	columns: 2;
	column-gap: 30px;
	list-style: disc;
	padding-left: 20px;
}
.wm-features-list li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 640px) { .wm-features-list { columns: 1; } }

/* ---------- Attributes tab ---------- */
.wm-attributes-table {
	width: 100%;
	max-width: 560px;
	border-collapse: collapse;
}
.wm-attributes-table th,
.wm-attributes-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--wm-border);
	font-size: 13px;
	vertical-align: top;
}
.wm-attributes-table th {
	width: 40%;
	color: #333;
	font-weight: 600;
}
.wm-toggle-attributes {
	margin-top: 12px;
	background: none;
	border: none;
	color: #2b6cb0;
	font-weight: 600;
	cursor: pointer;
	font-size: 13px;
	padding: 0;
}

/* ---------- Version history tab ---------- */
.wm-version-block {
	border-bottom: 1px solid var(--wm-border);
	padding: 16px 0;
}
.wm-version-block:first-child { padding-top: 0; }
.wm-version-block h3 {
	font-size: 15px;
	margin: 0 0 8px;
}
.wm-version-date {
	font-weight: 400;
	color: var(--wm-text-muted);
	font-size: 12px;
}
.wm-version-notes {
	background: #f7f7f8;
	border-radius: var(--wm-radius);
	padding: 10px 16px;
}
.wm-version-notes ul { margin: 0; padding-left: 18px; }
.wm-version-notes li { font-size: 13px; margin-bottom: 4px; }
.wm-last-update { font-size: 13px; color: var(--wm-text-muted); margin-top: 14px; }

/* ---------- Modal (live preview / video) ---------- */
.wm-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.7);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
}
.wm-modal-box {
	position: relative;
	width: 100%;
	max-width: 1100px;
	height: 85vh;
	background: #000;
	border-radius: 6px;
	overflow: hidden;
}
.wm-modal-box iframe {
	width: 100%;
	height: 100%;
	border: 0;
}
.wm-modal-close {
	position: absolute;
	top: -38px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
body.wm-modal-open { overflow: hidden; }

/* ---------- Reviews restriction notice ---------- */
.wm-review-restricted {
	background: #fff8e5;
	border: 1px solid #f0d999;
	border-radius: var(--wm-radius);
	padding: 12px 16px;
	font-size: 13px;
}

/* ---------- Shop / archive loop cards ---------- */
.wm-loop-sales {
	font-size: 11px;
	color: var(--wm-text-muted);
	margin: 2px 0 4px;
}
.wm-loop-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}
.wm-loop-actions .wm-loop-cart-btn a.add_to_cart_button,
.wm-loop-actions .wm-loop-cart-btn a.added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #f1f1f1;
	color: #333;
	font-size: 0;
	position: relative;
}
.wm-loop-actions .wm-loop-cart-btn a.add_to_cart_button::before {
	content: "\f174";
	font-family: dashicons;
	font-size: 18px;
}
.wm-loop-preview-btn {
	flex: 1;
	text-align: center;
	border: 1px solid var(--wm-border);
	border-radius: var(--wm-radius);
	padding: 9px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #2b6cb0;
	text-decoration: none;
}
.wm-loop-preview-btn:hover { background: #f5f8fb; }
