.my-cv-form{ --my-cv-active: #111111; display: flex !important; flex-direction: column !important; gap: 20px; max-width: 480px; width: 100%; }
.my-cv-form .my-cv-attributes{
	display: flex !important;
	flex-direction: column !important;
	gap: 18px;
	width: 100%;
}
.my-cv-form .my-cv-group{
	display: flex !important;
	flex-direction: column !important;
	gap: 10px;
	width: 100%;
}
.my-cv-form .my-cv-label{ font-weight: 600; font-size: 14px; color: #222; }
.my-cv-form .my-cv-hidden-select{ display: none !important; }
.my-cv-form .my-cv-swatches{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 16px; }
.my-cv-form .my-cv-swatch{
	cursor: pointer;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 10px 4px 4px;
	border-radius: 30px;
	border: 1px solid transparent;
	transition: border-color .18s ease, background-color .18s ease, transform .12s ease;
}
.my-cv-form .my-cv-swatch:hover{ background-color: #f5f5f5; }
.my-cv-form .my-cv-swatch:active{ transform: scale(.96); }
.my-cv-form .my-cv-swatch-label{
	font-size: 13px;
	color: #333;
	white-space: nowrap;
	transition: color .18s ease;
}
.my-cv-form .my-cv-swatches-color .my-cv-swatch-shape{
	width: 30px;
	height: 30px;
	border-radius: 50%;
	flex-shrink: 0;
	border: 2px solid #e2e2e2;
	transition: border-color .18s ease, box-shadow .18s ease, transform .15s ease;
}
.my-cv-form .my-cv-swatches-color .my-cv-swatch.selected .my-cv-swatch-shape{
	border-color: var(--my-cv-active);
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--my-cv-active);
	transform: scale(1.06);
}
.my-cv-form .my-cv-swatches-color .my-cv-swatch.selected .my-cv-swatch-label{
	color: var(--my-cv-active);
	font-weight: 600;
}
.my-cv-form .my-cv-swatches-button .my-cv-swatch{
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 8px 14px;
}
.my-cv-form .my-cv-swatches-button .my-cv-swatch-shape{
	width: 14px;
	height: 14px;
	border-radius: 50%;
	flex-shrink: 0;
	border: 2px solid #cfcfcf;
	transition: border-color .18s ease, background-color .18s ease, transform .15s ease;
}
.my-cv-form .my-cv-swatches-button .my-cv-swatch.selected{
	border-color: var(--my-cv-active);
	background-color: #f7f7f7;
}
.my-cv-form .my-cv-swatches-button .my-cv-swatch.selected .my-cv-swatch-shape{
	border-color: var(--my-cv-active);
	background-color: var(--my-cv-active);
	transform: scale(1.1);
}
.my-cv-form .my-cv-swatches-button .my-cv-swatch.selected .my-cv-swatch-label{
	color: var(--my-cv-active);
	font-weight: 600;
}
.my-cv-form .my-cv-swatch.disabled{
	opacity: .35;
	cursor: not-allowed;
	pointer-events: none;
	position: relative;
}
.my-cv-form .my-cv-swatches-color .my-cv-swatch.disabled .my-cv-swatch-shape::after{
	content: "";
	position: absolute;
	top: 50%; left: 0;
	width: 30px; height: 2px;
	background: #999;
	transform: rotate(-45deg);
}
.my-cv-form .my-cv-reset-btn{
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 20px;
	padding: 6px 14px;
	margin: -4px 0 0;
	font-size: 12.5px;
	color: #666;
	cursor: pointer;
	transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .12s ease;
}
.my-cv-form .my-cv-reset-btn::before{
	content: "";
	width: 11px;
	height: 11px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2'/%3E%3Cpath d='M19 6l-1 14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1L5 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2'/%3E%3Cpath d='M19 6l-1 14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1L5 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.my-cv-form .my-cv-reset-btn:hover{
	color: #fff;
	background-color: var(--my-cv-active);
	border-color: var(--my-cv-active);
}
.my-cv-form .my-cv-reset-btn:active{ transform: scale(.95); }
.my-cv-form .my-cv-info{ min-height: 34px; }
.my-cv-form .my-cv-price{
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 20px;
	font-weight: 700;
	color: #161616;
	line-height: 1.5;
	opacity: 0;
}
.my-cv-form .my-cv-price:empty{ opacity: 0; }
.my-cv-form .my-cv-price.my-cv-animate-in{
	opacity: 1;
	animation: my-cv-price-pop .35s ease;
}
@keyframes my-cv-price-pop {
	0%   { opacity: 0; transform: translateY(6px); }
	100% { opacity: 1; transform: translateY(0); }
}
.my-cv-form .my-cv-price .price{
	display: inline-flex !important;
	align-items: baseline !important;
	gap: 8px !important;
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}
.my-cv-form .my-cv-price ins{
	text-decoration: none !important;
	font-weight: 700 !important;
	font-size: 1em !important;
	color: var(--my-cv-active) !important;
}
.my-cv-form .my-cv-price del{
	text-decoration: line-through !important;
	opacity: .55 !important;
	font-size: .7em !important;
	font-weight: 400 !important;
	color: #888 !important;
	margin: 0 !important;
}
.my-cv-form .my-cv-discount-badge{
	display: inline-flex;
	align-items: center;
	background-color: #ffe9e9;
	color: #e33b3b;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 9px;
	border-radius: 20px;
	white-space: nowrap;
}
.my-cv-form .my-cv-stock{ font-size: 13px; color: #666; margin-top: 4px; width: 100%; }
.my-cv-form .my-cv-actions{
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
}
.my-cv-form .my-cv-qty{
	flex: 0 0 70px !important;
	width: 70px !important;
	max-width: 70px !important;
	height: 44px !important;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-sizing: border-box !important;
	transition: border-color .15s ease;
}
.my-cv-form .my-cv-qty:focus{ border-color: var(--my-cv-active); outline: none; }
.my-cv-form .my-cv-add-btn{
	position: relative;
	overflow: hidden;
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 140px;
	height: 44px !important;
	max-height: 44px;
	margin: 0;
	padding: 0 16px;
	border: none;
	border-radius: 8px;
	background: var(--my-cv-active) !important;
	color: #fff !important;
	font-size: 15px;
	line-height: normal;
	white-space: nowrap;
	box-sizing: border-box !important;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease, background-color .2s ease;
	box-shadow: 0 2px 6px rgba(17,17,17,.15);
}
.my-cv-form .my-cv-add-btn:hover:not(:disabled){
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(17,17,17,.28);
}
.my-cv-form .my-cv-add-btn:active:not(:disabled){
	transform: translateY(0) scale(.97);
	box-shadow: 0 2px 6px rgba(17,17,17,.2);
}
.my-cv-form .my-cv-add-btn:disabled{
	opacity: .4;
	cursor: not-allowed;
	box-shadow: none;
}
.my-cv-form .my-cv-add-btn-label{
	position: relative;
	z-index: 1;
}
.my-cv-form .my-cv-add-btn .my-cv-ripple{
	position: absolute;
	border-radius: 50%;
	background: rgba(255,255,255,.5);
	transform: scale(0);
	pointer-events: none;
	animation: my-cv-ripple-anim .55s ease-out;
}
@keyframes my-cv-ripple-anim {
	to { transform: scale(2.6); opacity: 0; }
}
.my-cv-form .my-cv-add-btn.added{
	background-color: #2e7d32;
}
.my-cv-form .my-cv-wishlist-btn{
	flex: 0 0 44px !important;
	width: 44px !important;
	height: 44px !important;
	max-width: 44px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 1px solid #e2e2e2;
	border-radius: 50%;
	background: #fff;
	color: #999;
	cursor: pointer;
	box-sizing: border-box !important;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .12s ease;
}
.my-cv-form .my-cv-wishlist-btn svg{
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	transition: fill .18s ease, stroke .18s ease;
}
.my-cv-form .my-cv-wishlist-btn:hover{
	border-color: var(--my-cv-active) !important;
	color: var(--my-cv-active) !important;
}
.my-cv-form .my-cv-wishlist-btn:hover svg{
	stroke: var(--my-cv-active) !important;
}
.my-cv-form .my-cv-wishlist-btn:active{ transform: scale(.9); }
.my-cv-form .my-cv-wishlist-btn.active{
	border-color: var(--my-cv-active);
	background-color: var(--my-cv-active);
	color: #fff;
	animation: my-cv-heart-pop .35s ease;
}
.my-cv-form .my-cv-wishlist-btn.active svg{
	fill: #fff;
	stroke: #fff;
}
@keyframes my-cv-heart-pop {
	0%   { transform: scale(1); }
	35%  { transform: scale(1.25); }
	100% { transform: scale(1); }
}
.my-cv-form,
.my-cv-form .my-cv-label,
.my-cv-form .my-cv-swatch-label,
.my-cv-form .my-cv-price,
.my-cv-form .my-cv-price .price,
.my-cv-form .my-cv-price ins,
.my-cv-form .my-cv-price del,
.my-cv-form .my-cv-discount-badge,
.my-cv-form .my-cv-stock,
.my-cv-form .my-cv-qty,
.my-cv-form .my-cv-add-btn,
.my-cv-form .my-cv-add-btn-label,
.my-cv-form .my-cv-reset-btn{
	font-weight: 500 !important;
}

/* ---------- ریست دکمه‌ها (جلوگیری از اثر استایل قالب) ---------- */
.my-cv-form .my-cv-add-btn,
.my-cv-form .my-cv-reset-btn,
.my-cv-form .my-cv-wishlist-btn{
	-webkit-appearance:none;appearance:none;
	font-family:inherit;text-transform:none;letter-spacing:normal;text-shadow:none;
	min-height:0;outline:0;
}
.my-cv-form .my-cv-add-btn,
.my-cv-form .my-cv-add-btn:hover:not(:disabled),
.my-cv-form .my-cv-add-btn:focus:not(:disabled){
	background:var(--my-cv-active) !important;color:#fff !important;border:none !important;
}
.my-cv-form .my-cv-add-btn.added,
.my-cv-form .my-cv-add-btn.added:hover{background:#2e7d32 !important;}
.my-cv-form .my-cv-add-btn:focus-visible,
.my-cv-form .my-cv-reset-btn:focus-visible,
.my-cv-form .my-cv-wishlist-btn:focus-visible,
.my-cv-form .sacp-wl-btn:focus-visible{outline:2px solid var(--my-cv-active);outline-offset:2px;}
.my-cv-form .my-cv-reset-btn{
	background:#fff !important;color:#666 !important;border:1px solid #e2e2e2 !important;
	height:auto !important;line-height:1.6 !important;width:auto !important;
}
.my-cv-form .my-cv-reset-btn:hover{
	background:var(--my-cv-active) !important;color:#fff !important;border-color:var(--my-cv-active) !important;
}

/* ---------- دکمهٔ علاقه‌مندی (افزونهٔ SACP Wishlist) هم‌اندازه با دکمهٔ خرید ---------- */
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn{
	--s:44px;
	flex:0 0 44px !important;
	width:44px !important;min-width:44px !important;max-width:44px;
	height:44px !important;
	margin:0 !important;padding:0 !important;
	border-radius:50% !important;
	box-shadow:none !important;
	align-self:center;
}
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn svg{width:20px !important;height:20px !important;}

/* ---------- دایره‌های رنگ کوچک برای لوپ/گرید (شورت‌کد custom_variation_colors) ---------- */
ul.my-cv-dots{
	list-style:none;margin:0;padding:0;
	display:flex;flex-wrap:wrap;align-items:center;gap:6px;
}
ul.my-cv-dots .my-cv-dot{
	box-sizing:border-box;display:block;flex:0 0 auto;
	width:var(--d,16px);height:var(--d,16px);
	margin:0;padding:0;border-radius:50%;
	border:2px solid #fff;
	box-shadow:0 0 0 1px #d6d6d6;
	cursor:default;
	transition:transform .15s ease,box-shadow .15s ease;
}
ul.my-cv-dots .my-cv-dot:hover{transform:scale(1.15);box-shadow:0 0 0 1px #111;}
ul.my-cv-dots .my-cv-dot.is-unavailable{opacity:.35;}
ul.my-cv-dots .my-cv-dots-more{
	list-style:none;margin:0;padding:0 2px;
	font-size:12px;line-height:1;color:#777;font-weight:500;
}

/* ==========================================================
   دکمهٔ قلب: کاملاً گرد + رنگ‌های ثابت
   (جلوگیری از رنگ صورتیِ پیش‌فرض المنتور/قالب هنگام هاور)
   ========================================================== */
.my-cv-form .my-cv-actions .my-cv-wishlist-btn,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn{
	box-sizing:border-box !important;
	aspect-ratio:1 / 1;
	border-radius:50% !important;
	background-color:#fff !important;
	border:1px solid #e2e2e2 !important;
	color:#999 !important;
	box-shadow:none !important;
	overflow:hidden;
}
/* هاور (غیرفعال): کادر و آیکون رنگ فعال، پس‌زمینه سفید */
.my-cv-form .my-cv-actions .my-cv-wishlist-btn:hover,
.my-cv-form .my-cv-actions .my-cv-wishlist-btn:focus,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn:hover,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn:focus{
	background-color:#fff !important;
	border-color:var(--my-cv-active) !important;
	color:var(--my-cv-active) !important;
}
/* فعال (و فعال + هاور): پر با رنگ فعال، بدون صورتی */
.my-cv-form .my-cv-actions .my-cv-wishlist-btn.active,
.my-cv-form .my-cv-actions .my-cv-wishlist-btn.active:hover,
.my-cv-form .my-cv-actions .my-cv-wishlist-btn.active:focus,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.active,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.is-active,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.is-added,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.in-wishlist,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn[aria-pressed="true"],
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.active:hover,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.is-active:hover,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.is-added:hover,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.in-wishlist:hover,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn[aria-pressed="true"]:hover{
	background-color:var(--my-cv-active) !important;
	border-color:var(--my-cv-active) !important;
	color:#fff !important;
}
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn svg{
	stroke:currentColor;
}
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.active svg,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.is-active svg,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.is-added svg,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn.in-wishlist svg,
.my-cv-form .my-cv-actions .sacp-wl-btn.sacp-wl-btn[aria-pressed="true"] svg{
	fill:currentColor;
}
