/* 8.6.5 WoodMart Price Tracker actions in WoodMart 8.2.6.
 * WoodMart 8.2.6 uses <a>::before for action icons, while 8.6.5 uses a nested
 * .wd-action-icon span and action-specific CSS variables. Keep original widget
 * controls but bridge its visual output to the earlier theme framework. */
.wd-pt-btn.wd-action-btn > a::before { content: none !important; display: none !important; }
.wd-pt-btn.wd-action-btn > a { gap: 0; }
.wd-pt-btn.wd-action-btn .wd-action-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  font-size: var(--wd-action-icon-size, 1.1em);
  line-height: 1;
  color: var(--wd-action-icon-color, var(--wd-action-color, var(--color-gray-800)));
  transition: color .25s ease;
}
.wd-pt-btn.wd-action-btn .wd-action-icon::before {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
}
.wd-pt-btn.wd-style-text .wd-action-icon { margin-inline-end: .3em; }
.wd-pt-btn.wd-style-text .wd-action-text {
  color: var(--wd-action-text-color, var(--wd-action-color, var(--color-gray-800)));
  transition: color .25s ease;
}
.wd-pt-btn.wd-style-icon .wd-action-icon { font-size: var(--wd-action-icon-size, 20px); }
.wd-pt-btn.wd-style-icon .wd-action-text { display: none; }
.wd-pt-btn.wd-action-btn > a:hover .wd-action-icon {
  color: var(--wd-action-icon-color-hover, var(--wd-action-color-hover, var(--color-gray-500)));
}
.wd-pt-btn.wd-style-text > a:hover .wd-action-text {
  color: var(--wd-action-text-color-hover, var(--wd-action-color-hover, var(--color-gray-500)));
}
.wd-pt-btn .wd-check-icon { display: none; }
.wd-pt-btn .wd-pt-remove .wd-check-icon {
  position: absolute; display: flex;
  align-items: center; justify-content: center;
  inset-inline-end: -.2em; top: -.35em;
  width: .65em; height: .65em; border-radius: 50%;
  background: var(--wd-primary-color); color: #fff;
}
.wd-pt-btn .wd-pt-remove .wd-check-icon::before { content: "✓"; font: 600 .45em/1 Arial, sans-serif; }
.wd-popup-pt .wd-pt-add { cursor: pointer; }
.wd-pt-btn.wd-disabled { opacity: .6; pointer-events: none; }

/* ==========================================================================
   v1.0.2 - Use WoodMart 8.2.6 global settings for the 8.6.5 price tracker markup
   (moved here from the Code Snippet "Price Tracker - use WoodMart 8.2.6 global styles")
   ========================================================================== */
/* Price Tracker (8.6.5 markup) -> WoodMart 8.2.6 theme globals */
:is(.wd-popup-pt,.wd-pt-content) .btn.btn-accent,
:is(.wd-popup-pt,.wd-pt-content) .btn.btn-default {
	min-height: var(--btn-height, 42px);
	padding: 5px 20px;
	font-size: var(--btn-font-size, 14px);
	transition: color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
:is(.wd-popup-pt,.wd-pt-content) .btn.btn-accent {
	font-family: var(--btn-accented-font-family);
	font-weight: var(--btn-accented-font-weight);
	text-transform: var(--btn-accented-transform, var(--btn-transform, uppercase));
	border-radius: var(--btn-accented-brd-radius);
	color: var(--btn-accented-color);
	background-color: var(--btn-accented-bgcolor);
	box-shadow: var(--btn-accented-box-shadow);
}
:is(.wd-popup-pt,.wd-pt-content) .btn.btn-accent:hover {
	color: var(--btn-accented-color-hover);
	background-color: var(--btn-accented-bgcolor-hover);
	box-shadow: var(--btn-accented-box-shadow-hover);
}
:is(.wd-popup-pt,.wd-pt-content) .btn.btn-default {
	font-family: var(--btn-default-font-family);
	font-weight: var(--btn-default-font-weight);
	text-transform: var(--btn-default-transform, var(--btn-transform, uppercase));
	border-radius: var(--btn-default-brd-radius);
	color: var(--btn-default-color);
	background-color: var(--btn-default-bgcolor);
	box-shadow: var(--btn-default-box-shadow);
}
:is(.wd-popup-pt,.wd-pt-content) .btn.btn-default:hover {
	color: var(--btn-default-color-hover);
	background-color: var(--btn-default-bgcolor-hover);
	box-shadow: var(--btn-default-box-shadow-hover);
}
/* 8.2.6 caps .wd-scroll-content at 50vh -> stray inner scrollbar in the popup */
#wd-popup-pt.wd-scroll-content { max-height: none; overflow: visible; }
/* \f191 does not exist in the 8.2.6 icon font -> use the bell already used by the button */
.wd-pt-signed-icon::before {
	content: "";
	display: block;
	width: 1em;
	height: 1em;
	background-color: var(--color-gray-200);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* "Stop tracking" badge: theme check glyph instead of an Arial character */
.wd-pt-btn .wd-pt-remove .wd-check-icon::before {
	content: "\f107";
	font-family: "woodmart-font";
	font-weight: 400;
	font-size: .4em;
	line-height: 1;
}
/* My Account empty state styled like the theme's other empty pages */
.wd-empty-block.wd-empty-pt { margin-block: 5vw; text-align: center; }
.wd-empty-block.wd-empty-pt::before {
	content: "";
	display: block;
	width: 1em;
	height: 1em;
	margin: 0 auto 20px;
	font-size: 150px;
	background-color: rgba(var(--bgcolor-black-rgb), .07);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wd-empty-pt .wd-empty-block-title {
	margin-bottom: 15px;
	color: var(--wd-title-color);
	font-family: var(--wd-title-font);
	font-weight: var(--wd-title-font-weight);
	font-style: var(--wd-title-font-style);
	font-size: 48px;
	line-height: 1.2;
}
.wd-empty-pt .wd-empty-block-text { max-width: 535px; margin-inline: auto; margin-bottom: 0; font-size: 110%; }
.wd-empty-pt .wd-empty-block-btn { margin-top: 25px; padding: 5px 28px; min-height: 48px; font-size: 14px; }
@media (max-width: 768px) { .wd-empty-pt .wd-empty-block-title { font-size: 32px; } }
/* My Account table: 8.2.6 ignores --wd-btn-icon -> set the theme glyphs directly */
.wd-desired-price-opener .wd-action-icon::before {
	font-family: "woodmart-font";
	font-weight: 400;
	font-size: 16px;
	line-height: 1;
}
.wd-desired-price-opener .wd-action-icon::before { content: "\f116"; }
