/**
 * Kats Add to Cart — Merged stylesheet (v2)
 *
 * Sources merged:
 *   - Original base file
 *   - File #3: global overrides (replaces base properties, no parent selector)
 *   - File #2: QV overrides (scoped under `.kats-atc-qv`)
 *
 * Structure:
 *   1. GLOBAL BASE — original base with file #3 patches merged in.
 *                    WooCommerce/theme-adjacent selectors (`a.added_to_cart`,
 *                    `.iconwrapperflex`, `.w-iconbox`) are scoped to ATC
 *                    contexts so they don't leak onto unrelated elements.
 *   2. QV-SCOPED  — file #2 rules unique to `.kats-atc-qv` (duplicates of
 *                   file #3 removed; `!important` defenses kept)
 *   3. QV COUNTER-SCOPES — restores pre-file-#3 behavior for a few properties
 *                          inside `.kats-atc-qv` so the QV looks unchanged
 *   4. MODAL CHROME — popup-box styles gated with `:has(.kats-atc-qv)` so
 *                     the theme's default popup styling is preserved for
 *                     every other popup on the site.
 *
 * @package Kats_Add_To_Cart
 */


/* ============================================================================
 *  1. GLOBAL BASE (original base + file #3 patches)
 * ============================================================================ */

/* ---- Custom property defaults ---- */

.kats-atc-wrapper {
	--kats-atc-active-bg: #2c6e49;
	--kats-atc-active-text: #ffffff;
	--kats-atc-inactive-border: #d5d5d5;
	--kats-atc-unavailable-opacity: 0.35;
	--kats-atc-radius: 8px;
}

/* ---- Wrapper ---- */

.kats-atc-wrapper {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 100%;
}

.kats-atc-wrapper--qv {
	gap: 10px;
}

.kats-atc-qv-product-title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	color: #111;
}

/* ---- Hidden elements (file #3) ---- */

.kats-atc-selector-title,
.kats-atc-selector-subtitle,
.kats-atc-qty-head,
.kats-atc-selling-facts {
	display: none;
}

/* ---- Selector header (still needed for `.kats-atc-selector-current`) ---- */

.kats-atc-selector-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.kats-atc-selector-current {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: #555;
	white-space: nowrap;
	margin-top: 2px;
}

.kats-atc-selector-current-value {
	color: var(--kats-atc-active-bg);
	margin-left: 3px;
}

.kats-atc-wrapper--qv .kats-atc-selector-current--qv {
	flex-basis: 100%;
	margin: 0 0 4px;
}

/* ---- Rows ---- */

.kats-atc-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Variation row: forced 1 column (file #3) */
.kats-atc-row--variations {
	display: grid;
	grid-template-columns: 1fr !important;
	gap: 5px;
	margin-bottom: 10px;
}

.kats-atc-row--types {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kats-atc-row--types .kats-atc-btn--outline {
	flex: 1 1 0;
	min-width: 100px;
}

.kats-atc-section-label {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 4px 0 0;
}

/* ---- Base button ---- */

.kats-atc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 8px 18px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	border-radius: var(--kats-atc-radius);
	cursor: pointer;
	transition: background-color 0.2s ease,
	            border-color 0.2s ease,
	            color 0.2s ease,
	            box-shadow 0.2s ease,
	            opacity 0.2s ease;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

/* ---- Outline button (file #3: justify-content center) ---- */

.kats-atc-btn--outline {
	background-color: #fff;
	border: 1.5px solid var(--kats-atc-inactive-border);
	color: inherit;
	text-align: left;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
	padding: 8px 8px 7px;
	gap: 5px;
}

.kats-atc-btn--outline:hover:not([disabled]) {
	border-color: var(--kats-atc-active-bg);
	box-shadow: 0 0 0 1px var(--kats-atc-active-bg);
}

.kats-atc-btn--outline:focus-visible {
	outline: 2px solid var(--kats-atc-active-bg);
	outline-offset: 2px;
}

/* ---- Option head (file #3: align-items center) ---- */

.kats-atc-option-head {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1px;
}

/* ---- Option label (file #3: 400/16/1.3) ---- */

.kats-atc-option-label {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
}

/* katc-small on its own line (file #3) */
.kats-atc-option-label .katc-small {
	display: block;
	font-size: 0.75em;
	font-weight: 400;
	opacity: 0.7;
}

/* ---- Option check ---- */

.kats-atc-option-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid var(--kats-atc-inactive-border);
	font-size: 13px;
	line-height: 1;
	color: transparent;
	background: #fff;
	flex: 0 0 auto;
	transition: background-color 0.2s ease,
	            border-color 0.2s ease,
	            color 0.2s ease;
}

/* ---- Option meta ---- */

.kats-atc-option-meta {
	font-size: 13px;
	line-height: 1.3;
	color: #767676;
	display: none;
}

.kats-atc-btn--outline[data-option-under-text] .kats-atc-option-meta {
	display: block;
}

.kats-atc-btn--outline[data-low-stock] .kats-atc-option-meta {
	display: block;
}

.kats-atc-option-meta--low-stock {
	color: #c0392b;
}

.kats-atc-option-badge {
	display: none;
}

/* ---- Selected state ---- */

.kats-atc-btn--outline[aria-pressed="true"] {
	background-color: #eef6f1;
	color: inherit;
	border-color: var(--kats-atc-active-bg);
	box-shadow: 0 0 0 1px var(--kats-atc-active-bg);
}

.kats-atc-btn--outline[aria-pressed="true"] .kats-atc-option-check {
	color: #fff;
	background: var(--kats-atc-active-bg);
	border-color: var(--kats-atc-active-bg);
}

.kats-atc-btn--outline[aria-pressed="true"] .kats-atc-option-badge {
	display: none;
}

/* ---- Unavailable ---- */

.kats-atc-btn--unavailable,
.kats-atc-btn--unavailable:hover {
	opacity: var(--kats-atc-unavailable-opacity);
	cursor: not-allowed;
	border-color: var(--kats-atc-inactive-border);
	background-color: transparent;
	color: inherit;
	box-shadow: none;
}

.kats-atc-btn--unavailable[data-low-stock] .kats-atc-option-meta--low-stock {
	display: none !important;
}

/* ---- Dimmed / match-type ---- */

.kats-atc-btn--dimmed {
	opacity: 0.55;
}

.kats-atc-btn--match-type {
	border-color: var(--kats-atc-active-bg);
	opacity: 1;
}

/* ---- Add-to-cart button (file #3: pill, FA icon, font-size 0 to hide label) ---- */

.kats-atc-btn--atc {
	background-color: #789b4a;
	border: none;
	border-radius: 50px;
	color: var(--kats-atc-active-text);
	font-weight: 600;
	width: 100%;
	text-transform: uppercase;
	font-size: 0; /* hides the dynamic variation label */
	transition: background-color 0.2s ease;
}

.kats-atc-btn--atc:hover:not([disabled]) {
	background-color: #2a5135;
}

.kats-atc-btn--atc:focus-visible {
	outline: 2px solid var(--kats-atc-active-bg);
	outline-offset: 2px;
}

.kats-atc-btn--atc::before {
	content: '\f07a'; /* FontAwesome cart */
	font-family: FontAwesome;
	font-size: 1rem;
	font-weight: 600;
	padding-right: 9px;
	position: relative;
}

.kats-atc-btn--atc::after {
	content: 'ADD TO CART';
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.6px;
}

.kats-atc-btn--atc[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.kats-atc-btn--atc.kats-atc-btn--disabled {
	opacity: var(--kats-atc-unavailable-opacity);
	cursor: not-allowed;
}

.kats-atc-btn--atc.kats-atc-btn--oos,
.kats-atc-btn--atc.kats-atc-btn--oos:hover,
.kats-atc-btn--atc.kats-atc-btn--oos:focus-visible {
	background-color: #b6b6b6 !important;
	border: none !important;
	color: #ffffff !important;
	opacity: 1 !important;
	filter: none !important;
	font-size: 0 !important;
	letter-spacing: 0.6px;
	cursor: not-allowed;
}

.kats-atc-btn--atc.kats-atc-btn--oos::before,
.kats-atc-btn--atc.kats-atc-btn--oos::after {
	content: none !important;
}

.kats-atc-btn--atc.kats-atc-btn--oos::after {
	content: attr(data-oos-label) !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.6px;
}

/* ---- ATC loading state (file #3: replace icon/label with spinner) ---- */

.kats-atc-btn--atc[aria-busy="true"],
.kats-atc-btn--atc.kats-atc-btn--loading {
	pointer-events: none;
	cursor: default;
	opacity: 0.7;
	position: relative;
}

.kats-atc-btn--atc.kats-atc-btn--loading::before,
.kats-atc-btn--atc[aria-busy="true"]::before {
	content: none;
}

.kats-atc-btn--atc.kats-atc-btn--loading::after,
.kats-atc-btn--atc[aria-busy="true"]::after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	border-radius: 50%;
	letter-spacing: 0;
	vertical-align: middle;
	animation: kats-atc-spin 0.7s linear infinite;
}

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

/* ---- QV flat layout ---- */

.kats-atc-wrapper--qv {
	flex-direction: row;
	flex-wrap: wrap;
}

.kats-atc-wrapper--qv > .kats-atc-btn--atc {
	flex-basis: 100%;
}

.kats-atc-wrapper--qv .kats-atc-option-label {
	font-size: 18px;
}

/* ---- Notices (file #3: font-size 1rem !important) ---- */

.kats-atc-notice {
	display: none;
	padding: 8px 14px;
	font-size: 1rem !important;
	line-height: 1.4;
	border-radius: var(--kats-atc-radius);
	margin-top: 6px;
	width: 100%;
	box-sizing: border-box;
}

.kats-atc-notice--success {
	background-color: #ecf7ed;
	color: #1e6e2e;
	border: 1px solid #b7dfbf;
}

.kats-atc-notice--error {
	background-color: #fdecea;
	color: #b71c1c;
	border: 1px solid #f5c6cb;
}

.kats-atc-notice__link {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	margin-left: 6px;
}

.kats-atc-notice__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 2px;
}

/* Hide Woo's stock "View cart" link — scoped so it only hides the one Woo
   injects next to OUR ATC, not other "view cart" links sitewide. Covers:
   siblings of the wrapper (typical product page), inside/siblings of the QV,
   and siblings of a <form> that contains the wrapper. */
.kats-atc-wrapper ~ a.added_to_cart.wc-forward,
.kats-atc-wrapper + a.added_to_cart.wc-forward,
form:has(.kats-atc-wrapper) ~ a.added_to_cart.wc-forward,
form:has(.kats-atc-wrapper) + a.added_to_cart.wc-forward,
.kats-atc-qv a.added_to_cart.wc-forward,
.kats-atc-qv ~ a.added_to_cart.wc-forward {
	display: none !important;
}

/* ---- ATC success flash ---- */

.kats-atc-btn--atc.kats-atc-btn--success {
	background-color: #1e6e2e;
	border-color: #1e6e2e;
}

/* ---- Price change cue ---- */

.kats-atc-price-changed {
	animation: kats-atc-price-flash 0.75s ease;
}

@keyframes kats-atc-price-flash {
	0% {
		background-color: rgba(44, 110, 73, 0.18);
		box-shadow: 0 0 0 0 rgba(44, 110, 73, 0.22);
	}
	100% {
		background-color: transparent;
		box-shadow: 0 0 0 8px rgba(44, 110, 73, 0);
	}
}

/* ---- Quantity row (file #3: remove border/padding, add margin-bottom) ---- */

.kats-atc-qty-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: none;
	padding: 0 !important;
	margin-bottom: 10px;
}

.kats-atc-qty-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #333;
}

.kats-atc-qty-stock {
	font-size: 13px;
	font-weight: 500;
	color: #666;
}

/* ---- Quantity controls (file #3: gap 0) ---- */

.kats-atc-qty-controls {
	display: flex;
	align-items: center;
	gap: 0;
}

/* ---- Quantity stepper (file #3: #cccccc border, 7px radius) ---- */

.kats-atc-qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid #cccccc;
	border-radius: 7px;
	overflow: hidden;
}

/* ---- Quantity +/- buttons (file #3: width 50, appearance none, etc.) ---- */

.kats-atc-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	-webkit-appearance: none;
	appearance: none;
	width: 50px;
	height: 40px;
	background: #ffffff;
	border: none;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	color: #333;
	cursor: pointer;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s ease;
}

.kats-atc-qty-btn:hover {
	background: #f5f5f5;
}

.kats-atc-qty-btn:focus {
	outline: none;
}

.kats-atc-qty-btn:focus-visible {
	outline: 2px solid var(--kats-atc-active-bg);
	outline-offset: -2px;
}

.kats-atc-qty-btn:active {
	background: #ececec;
}

/* ---- Quantity input (file #3: width 50, height 40 !important, etc.) ---- */

.kats-atc-qty-input {
	width: 50px;
	height: 40px !important;
	text-align: center;
	border: none;
	border-left: 1.5px solid var(--kats-atc-inactive-border);
	border-right: 1.5px solid var(--kats-atc-inactive-border);
	font-size: 16px; /* prevents iOS auto-zoom on focus */
	font-weight: 600;
	font-family: inherit;
	color: #333;
	background: #fff;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	appearance: none;
	border-radius: 0;
	box-shadow: none !important;
	padding: 0;
	margin: 0;
}

.kats-atc-qty-input:hover,
.kats-atc-qty-input:focus {
	box-shadow: none !important;
}

.kats-atc-qty-input:focus {
	outline: none;
}

.kats-atc-qty-input:focus-visible {
	outline: 2px solid var(--kats-atc-active-bg);
	outline-offset: -2px;
}

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

/* ---- Shipping text (file #3: margin-left 10) ---- */

.kats-atc-qty-shipping {
	font-size: 13px;
	color: #666;
	margin-left: 10px;
}

.kats-atc-wrapper--qv .kats-atc-qty-row {
	flex-basis: 100%;
}

/* ---- Price block ---- */

.kats-atc-price-block {
	margin-bottom: 16px;
}

.kats-atc-price-block .price {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
	margin: 0;
}

.kats-atc-price-block .kats-atc-price-sep {
	margin: 0 4px;
	opacity: .6;
}

.kats-atc-stock-notice {
	margin-top: 14px;
}

.kats-atc-stock-notice__title {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #ff9f98;
	border-radius: 10px;
	background: #fff4f3;
	color: #a83f37;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.kats-atc-stock-notice__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	flex: 0 0 auto;
}

.kats-atc-stock-notice__body {
	margin: 12px 0 0;
	color: #4a4a4a;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 500;
}

/* ---- Selling facts (kept in case they're ever un-hidden) ---- */

.kats-atc-fact {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 12px 8px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fafafa;
}

.kats-atc-fact-title {
	font-size: 13px;
	font-weight: 600;
	color: #222;
	margin-bottom: 2px;
}

.kats-atc-fact-desc {
	font-size: 12px;
	color: #666;
}

/* ---- Image block ---- */

.kats-atc-image-block {
	margin-bottom: 16px;
}

.kats-atc-gallery-main {
	overflow: hidden;
	border-radius: 8px;
	background: #f8f8f8;
}

.kats-atc-gallery-img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}
@media (max-width: 767px) {
	.kats-atc-gallery-img {
		margin-top: -25px;
		margin-bottom: -10px;
		max-width: 200px;
	}
}

/* ---- 2-column layout w/ image ---- */

.kats-atc-with-image {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	column-gap: 35px;
	align-items: center;
}

.kats-atc-with-image > .kats-atc-image-block {
	grid-column: 1;
	grid-row: 1 / span 20;
	margin-bottom: 0;
}

.kats-atc-with-image > *:not(.kats-atc-image-block) {
	grid-column: 2;
}

/* ---- QV outline buttons: 3-per-row flex ---- */

.kats-atc-wrapper--qv > .kats-atc-btn--outline {
	flex: 1 1 calc(33.333% - 8px);
	min-width: 0;
	max-width: 100%;
}

/* ---- Icon wrapper (file #3) ----
   `.iconwrapperflex` sits as an UNCLE of `.kats-atc-wrapper` (i.e. sibling of
   the wrapper's parent, not of the wrapper itself). So we target it by first
   selecting the wrapper's parent via `:has(> .kats-atc-wrapper)`, then
   jumping sideways. Handles both DOM orders (uncle before or after parent).
   Inside the QV popup, a plain descendant selector is enough.            */

:has(> .kats-atc-wrapper) ~ .iconwrapperflex,
.iconwrapperflex:has(~ :has(> .kats-atc-wrapper)),
.kats-atc-qv .iconwrapperflex {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 15px;
	row-gap: 0;
}

:has(> .kats-atc-wrapper) ~ .iconwrapperflex .w-iconbox,
.iconwrapperflex:has(~ :has(> .kats-atc-wrapper)) .w-iconbox,
.kats-atc-qv .iconwrapperflex .w-iconbox {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: nowrap;
}

/* ---- Responsive: mobile ---- */

@media (max-width: 767px) {
	.kats-atc-selector-head {
		flex-direction: column;
		gap: 4px;
	}

	.kats-atc-option-label {
		font-size: 14px;
	}

	.kats-atc-with-image {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 12px;
	}

	.kats-atc-with-image > .kats-atc-image-block {
		grid-column: 1;
		grid-row: auto;
	}

	.kats-atc-with-image > *:not(.kats-atc-image-block) {
		grid-column: 1;
	}

	/* Qty input/buttons (file #3: width 40) */
	.kats-atc-qty-input {

		height: 48px;
		width: 100%;
		font-size: 16px!important;
	}

	.kats-atc-qty-btn {
		width: 40px;
		height: 48px;
		font-size: 22px;
	}

	.kats-atc-qty-stepper {
		width: auto;
	}

	.kats-atc-wrapper--qv > .kats-atc-btn--outline {
		flex: 1 1 calc(33.333% - 8px);
		min-width: 0;
	}

	/* Icon wrapper mobile (file #3) — same uncle scoping as desktop */
	:has(> .kats-atc-wrapper) ~ .iconwrapperflex,
	.iconwrapperflex:has(~ :has(> .kats-atc-wrapper)),
	.kats-atc-qv .iconwrapperflex {
		grid-template-columns: 1fr;
	}

	:has(> .kats-atc-wrapper) ~ .iconwrapperflex .w-iconbox,
	.iconwrapperflex:has(~ :has(> .kats-atc-wrapper)) .w-iconbox,
	.kats-atc-qv .iconwrapperflex .w-iconbox {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
	}
}

/* ---- Responsive: small phone ---- */

@media (max-width: 480px) {
	.kats-atc-price-block .price {
		font-size: 24px;
	}
}

/* ---- Responsive: tablet+ (file #3: cap stepper/shipping) ---- */

@media (min-width: 768px) {
	.kats-atc-qty-stepper {
		max-width: 150px;
	}

	.kats-atc-qty-shipping {
		flex: 1;
	}
}

/* ---- Responsive: large desktop (file #3: cap wrapper width) ---- */

@media (min-width: 1281px) {
	.kats-atc-wrapper {
		max-width: 550px;
	}
}

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
	.kats-atc-btn,
	.kats-atc-option-check,
	.kats-atc-qty-btn {
		transition: none;
	}

	.kats-atc-btn--atc.kats-atc-btn--loading::after,
	.kats-atc-btn--atc[aria-busy="true"]::after {
		animation: none;
	}

	.kats-atc-price-changed {
		animation: none;
	}

	.kats-atc-notice {
		transition: none;
	}
}


/* ============================================================================
 *  2. QV-SCOPED OVERRIDES (file #2, redundancies removed)
 * ============================================================================
 *  Most of file #2's rules are now covered by file #3 globally, so they're
 *  dropped here. What remains:
 *    (a) QV-unique layout (image block, outline button flex)
 *    (b) `!important` defenses that file #3 dropped — kept as armor against
 *        themes that may target the same selectors with higher specificity
 * ============================================================================ */

/* QV outline buttons: full width (override the base 3-per-row flex) */
.kats-atc-qv .kats-atc-wrapper--qv .kats-atc-btn--outline {
	flex: 1 1 calc(100% - 0px) !important;
	min-width: 0;
	max-width: 100%;
}

/* QV image block */
.kats-atc-qv .kats-atc-gallery-main {
	background: none !important;
}

.kats-atc-qv .kats-atc-with-image {
	column-gap: 25px;
	align-items: center;
}

.kats-atc-qv .kats-atc-image-block {
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

/* !important defense for option label inside QV (values match file #3,
   but file #3 lacks !important — if a theme ever wins specificity, we want
   these to stick) */
.kats-atc-qv .kats-atc-option-label {
	font-weight: 400 !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
}

/* Same defense for the 1-column variation grid inside QV */
body .kats-atc-qv .kats-atc-wrapper .kats-atc-row--variations {
	grid-template-columns: 1fr !important;
}

@media (max-width: 767px) {
	.kats-atc-qv span.kats-atc-option-label {
		font-size: 14px !important;
	}
}


/* ============================================================================
 *  3. QV COUNTER-SCOPES
 * ============================================================================
 *  File #3 introduces new styles for quantity stepper & buttons that weren't
 *  addressed in file #2. Applied globally, those would change how the QV
 *  looks today. These selectors restore the pre-file-#3 behavior inside
 *  `.kats-atc-qv` so the popup renders the same as before.
 *
 *  DELETE any block below if you WANT file #3's newer look inside QV too.
 * ============================================================================ */

/* Stepper border: restore CSS-var color and radius */
.kats-atc-qv .kats-atc-qty-stepper {
	border: 1.5px solid var(--kats-atc-inactive-border);
	border-radius: var(--kats-atc-radius);
}

/* Qty buttons: restore 40px desktop width + old hover/active colors */
.kats-atc-qv .kats-atc-qty-btn {
	width: 40px;
}

.kats-atc-qv .kats-atc-qty-btn:hover {
	background-color: #f0f0f0;
	border-color: var(--kats-atc-active-bg);
}

.kats-atc-qv .kats-atc-qty-btn:active {
	background-color: var(--kats-atc-active-bg);
	color: var(--kats-atc-active-text);
	transition: background-color 0.05s ease, color 0.05s ease;
}

/* Mobile: restore 48px qty-btn width inside QV (file #3 drops it to 40px) */
@media (max-width: 767px) {
	.kats-atc-qv .kats-atc-qty-btn {
		width: 48px;
	}
}


.kats-atc-qv .kats-atc-price-block .price {
color: #34503A;
}

h3.kats-atc-qv-product-title {
padding-top: 10px;
padding-bottom: 15px;
margin-bottom: 0;
color: #34503A;
font-size: 25px;
line-height: 1.2;
}

@media (max-width: 767px) {
h3.kats-atc-qv-product-title {
padding-top: 0;
padding-bottom: 0;
line-height: 1;
}
}


/* Pop up fix for desktop */
@media (min-width: 768px) {
.g-cols.via_flex.type_default > div > .vc_column-inner {
padding-left: 10px;
}
}
