/* Creed Tiered Pricing — storefront
   Colors come from CSS variables set inline by the plugin (editable in WooCommerce → Tiered Pricing). */

.ctp {
	--ctp-accent: #0ea692;
	--ctp-panel: #000000;
	--ctp-card: #111111;
	--ctp-border: #2e2e2e;
	--ctp-text: #ffffff;
	--ctp-muted: #9a9a9a;
	--ctp-pill-bg: #0ea692;
	--ctp-pill-text: #ffffff;
	--ctp-button-text: #ffffff;
	--ctp-radius: 10px;
	--ctp-inner-radius: max(4px, calc(var(--ctp-radius) - 3px));
	--ctp-control-h: 52px;

	display: block;
	width: 100%;
	max-width: 100%;
	flex: 1 1 100%;
	min-width: 0;
	margin: 0 0 18px;
	font-family: inherit;
	line-height: 1.35;
	box-sizing: border-box;
	clear: both;
}
.ctp *, .ctp *::before, .ctp *::after { box-sizing: border-box; }

/* Themes / Elementor lay out form.cart as a flex row. Once the panel owns the quantity + button,
   the form only has one child, so give it a plain block layout and let the panel span the column. */
form.cart:has(> .ctp--wrap) { display: block !important; float: none !important; width: 100% !important; }
form.cart:has(> .ctp:not(.ctp--wrap)) { flex-wrap: wrap !important; }
.woocommerce div.product form.cart:has(> .ctp--wrap)::before,
.woocommerce div.product form.cart:has(> .ctp--wrap)::after { display: none; }

.ctp-panel {
	background: var(--ctp-panel);
	color: var(--ctp-text);
	border: 1px solid var(--ctp-border);
	border-radius: var(--ctp-radius);
	padding: 14px;
	overflow: hidden;
}

/* ---------- Heading ---------- */

.ctp-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 0 2px 12px;
}
.ctp-heading__title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--ctp-text);
}
.ctp-heading__sub {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ctp-accent);
	white-space: nowrap;
}

/* ---------- Tier cards ---------- */

.ctp-tiers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
}
.ctp-tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ctp-tiers--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ctp-tier {
	position: relative;
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 18px 10px 14px;
	background: var(--ctp-card);
	color: var(--ctp-text);
	border: 1px solid var(--ctp-border);
	border-radius: var(--ctp-inner-radius);
	text-align: center;
	font: inherit;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.ctp-tier:hover {
	border-color: color-mix(in srgb, var(--ctp-accent) 60%, var(--ctp-border));
	background: var(--ctp-card);
	color: var(--ctp-text);
}
.ctp-tier:focus { outline: none; }
.ctp-tier:focus-visible {
	outline: 2px solid var(--ctp-accent);
	outline-offset: 2px;
}
.ctp-tier.is-active {
	border-color: var(--ctp-accent);
	background: color-mix(in srgb, var(--ctp-accent) 7%, var(--ctp-card));
	box-shadow: 0 0 0 1px var(--ctp-accent), 0 14px 30px -16px var(--ctp-accent);
}

.ctp-tier__check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ctp-accent);
	color: var(--ctp-button-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(.6);
	transition: opacity .18s ease, transform .18s ease;
}
.ctp-tier__check svg { stroke-width: 3; }
.ctp-tier.is-active .ctp-tier__check { opacity: 1; transform: scale(1); }

.ctp-tier__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	color: var(--ctp-muted);
	margin-bottom: 2px;
	flex: 0 0 auto;
	transition: color .18s ease, background-color .18s ease;
}
.ctp-tier.is-active .ctp-tier__icon,
.ctp-tier:hover .ctp-tier__icon {
	color: var(--ctp-accent);
	background: color-mix(in srgb, var(--ctp-accent) 14%, transparent);
}

.ctp-tier__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	min-width: 0;
}
.ctp-tier__label {
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .01em;
	color: var(--ctp-text);
}
.ctp-tier__price {
	font-size: 12px;
	color: var(--ctp-muted);
	white-space: nowrap;
}
.ctp-tier__price b {
	color: var(--ctp-text);
	font-weight: 600;
}
.ctp-tier__foot {
	margin-top: auto;
	padding-top: 4px;
	min-height: 22px;
	display: inline-flex;
	align-items: center;
}
.ctp-tier__sub {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ctp-muted);
}

.ctp-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ctp-pill-bg);
	color: var(--ctp-pill-text);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.2;
	white-space: nowrap;
}
.ctp-pill svg { stroke-width: 2.4; }

/* ---------- Live summary ---------- */

.ctp-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px dashed var(--ctp-border);
	border-radius: var(--ctp-inner-radius);
	font-size: 13px;
	color: var(--ctp-muted);
}
.ctp-summary__qty { color: var(--ctp-text); font-weight: 600; }
.ctp-summary__x { opacity: .6; }
.ctp-summary__right { display: inline-flex; align-items: center; gap: 10px; }
.ctp-summary__save {
	color: var(--ctp-accent);
	font-weight: 700;
	font-size: 12px;
}
.ctp-summary__save[hidden] { display: none; }
.ctp-summary__total {
	color: var(--ctp-text);
	font-size: 16px;
	font-weight: 700;
}

/* ---------- Buy row: quantity + Add to cart (WooCommerce's own elements, restyled) ---------- */

.ctp-buy {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin-top: 12px;
	width: 100%;
}
.ctp-buy:empty { display: none; }

/* Neutralise theme / Elementor layout on the quantity wrapper */
.ctp-buy .quantity,
.woocommerce div.product form.cart .ctp-buy .quantity {
	display: inline-flex !important;
	align-items: stretch;
	flex: 0 0 auto !important;
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	height: var(--ctp-control-h);
	line-height: 1;
}
.ctp--style-button .ctp-buy .quantity {
	background: var(--ctp-card);
	border: 1px solid var(--ctp-border);
	border-radius: var(--ctp-inner-radius);
	overflow: hidden;
	transition: border-color .18s ease;
}
.ctp--style-button .ctp-buy .quantity:focus-within { border-color: var(--ctp-accent); }

.ctp-buy .quantity input.qty,
.woocommerce div.product form.cart .ctp-buy .quantity input.qty,
.woocommerce .quantity .ctp-buy input.qty {
	width: 54px !important;
	min-width: 0;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 4px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--ctp-text) !important;
	font: inherit;
	font-size: 16px !important;   /* ≥16px stops iOS zooming on focus */
	font-weight: 700 !important;
	text-align: center !important;
	line-height: 1 !important;
	-moz-appearance: textfield;
	appearance: textfield;
}
.ctp-buy .quantity input.qty::-webkit-outer-spin-button,
.ctp-buy .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ctp-buy .quantity input.qty:focus { outline: none !important; }

.ctp-buy .ctp-step {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 42px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ctp-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font: inherit;
	line-height: 1;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .15s ease, color .15s ease;
}
.ctp-buy .ctp-step:hover { background: rgba(255, 255, 255, .07); color: var(--ctp-accent); }
.ctp-buy .ctp-step:active { background: rgba(255, 255, 255, .12); }
.ctp-buy .ctp-step:focus { outline: none; }
.ctp-buy .ctp-step:focus-visible { outline: 2px solid var(--ctp-accent); outline-offset: -2px; }
.ctp-buy .ctp-step[disabled] { opacity: .35; cursor: default; background: transparent; color: var(--ctp-text); }
.ctp-buy .ctp-step svg { width: 16px; height: 16px; stroke-width: 2.6; }

/* Themes that inject their own +/- buttons: let them sit inside our box without fighting */
.ctp-buy .quantity > :not(input):not(.ctp-step) {
	display: inline-flex; align-items: center; justify-content: center;
	margin: 0; padding: 0 12px; border: 0; background: transparent; color: var(--ctp-text); height: 100%;
}

.ctp-buy .single_add_to_cart_button,
.woocommerce div.product form.cart .ctp-buy .single_add_to_cart_button,
.woocommerce div.product form.cart .ctp-buy .button {
	flex: 1 1 auto !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	width: auto !important;
	height: var(--ctp-control-h) !important;
	min-height: 0 !important;
	margin: 0 !important;
	float: none !important;
	white-space: nowrap;
	line-height: 1 !important;
}
.ctp--style-button .ctp-buy .single_add_to_cart_button,
.woocommerce div.product form.cart .ctp--style-button .ctp-buy .single_add_to_cart_button,
.woocommerce div.product form.cart .ctp--style-button .ctp-buy .button {
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: var(--ctp-inner-radius) !important;
	background: var(--ctp-accent) !important;
	color: var(--ctp-button-text) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: .02em !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: 0 10px 24px -12px var(--ctp-accent) !important;
	transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ctp--style-button .ctp-buy .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .ctp--style-button .ctp-buy .single_add_to_cart_button:hover {
	filter: brightness(1.08);
	background: var(--ctp-accent) !important;
	color: var(--ctp-button-text) !important;
	transform: translateY(-1px);
}
.ctp--style-button .ctp-buy .single_add_to_cart_button:active { transform: translateY(0); filter: brightness(.96); }
.ctp--style-button .ctp-buy .single_add_to_cart_button:focus-visible { outline: 2px solid var(--ctp-text); outline-offset: 2px; }
.ctp--style-button .ctp-buy .single_add_to_cart_button.disabled,
.ctp--style-button .ctp-buy .single_add_to_cart_button[disabled] { opacity: .5; filter: none; transform: none; }

.ctp-btn-total {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	opacity: .92;
}
.ctp-btn-total::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 16px;
	background: currentColor;
	opacity: .45;
}
.ctp-btn-total[hidden] { display: none; }

/* WooCommerce's "View cart" link that appears after an AJAX add: keep it tidy under the row */
.ctp-buy .added_to_cart { flex: 1 1 100%; margin: 0; font-size: 13px; color: var(--ctp-accent); }

/* ---------- Trust badges ---------- */

.ctp-badges {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
.ctp-badges--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ctp-badges--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ctp-badges--5, .ctp-badges--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ctp-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 11px 10px;
	background: var(--ctp-card);
	border: 1px solid var(--ctp-border);
	border-radius: var(--ctp-inner-radius);
	font-size: 13px;
	font-weight: 600;
	color: var(--ctp-text);
	line-height: 1.2;
}
.ctp-badge__icon { color: var(--ctp-accent); flex: 0 0 auto; }

/* ---------- Cart & checkout ---------- */

.ctp-cart-price ins { text-decoration: none; font-weight: 600; background: none; }
.ctp-cart-price del { opacity: .5; margin-left: 2px; font-weight: 400; }
.ctp-cart-mini-saved { display: none; }
.ctp-cart-pill {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #0ea692;
	color: #ffffff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	vertical-align: middle;
	white-space: nowrap;
}
.ctp-cart-saved {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: #0ea692;
	font-weight: 600;
}

/* ---------- Side cart / mini cart (Elementor Menu Cart + WooCommerce mini cart) ---------- */

:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) .ctp-cart-pill { display: none; }
/* Let the price parts flow inline with the "10 ×" prefix */
:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) .ctp-cart-price { display: contents; }
:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) .ctp-cart-price ins {
	color: #111111;
	font-size: 15px;
	font-weight: 700;
}
:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) .ctp-cart-price del {
	color: #8a8a8a;
	opacity: 1;
	font-size: 13px;
	margin: 0;
}
:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) .ctp-cart-mini-saved {
	display: block;
	flex: 1 1 100%;
	font-size: 12px;
	font-weight: 600;
	color: #0ea692;
}
/* Quantity prefix ("10 ×") readable instead of pale grey */
.elementor-menu-cart__product:has(.ctp-cart-price) .elementor-menu-cart__product-price,
.elementor-menu-cart__product:has(.ctp-cart-price) .product-quantity,
.woocommerce-mini-cart-item:has(.ctp-cart-price) .quantity {
	color: #555555 !important;
}
.elementor-menu-cart__product:has(.ctp-cart-price) .product-quantity { font-weight: 600; }
.elementor-menu-cart__product:has(.ctp-cart-price) .elementor-menu-cart__product-price .quantity {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
}

/* "Bulk discount: 15% off (10+ Vials)" → one tidy teal chip */
:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) dl.variation dt.variation-Bulkdiscount { display: none !important; }
:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) dl.variation dd.variation-Bulkdiscount {
	grid-column: 1 / -1;
	float: none !important;
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	max-width: 100%;
	margin: 6px 0 0 !important;
	padding: 3px 9px !important;
	border-radius: 999px;
	background: rgba(14, 166, 146, .12);
	color: #0b7f70 !important;
	font-size: 11px !important;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .02em;
	white-space: nowrap;
}
:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) dl.variation dd.variation-Bulkdiscount::before { content: "Bulk\00a0"; }
:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) dl.variation dd.variation-Bulkdiscount p {
	display: inline;
	margin: 0 !important;
	padding: 0;
	color: inherit;
	font: inherit;
}
:is(.elementor-menu-cart__product, .woocommerce-mini-cart-item) dl.variation:has(dd.variation-Bulkdiscount) {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

/* Side cart buttons in brand colors (Checkout = solid teal, View cart = outline) */
.elementor-menu-cart__footer-buttons .elementor-button,
.woocommerce-mini-cart__buttons .button {
	border-radius: 8px !important;
	font-weight: 700 !important;
	transition: filter .15s ease, background-color .15s ease, color .15s ease;
}
.elementor-menu-cart__footer-buttons .elementor-button--checkout,
.woocommerce-mini-cart__buttons .button.checkout {
	background: #0ea692 !important;
	border: 1px solid #0ea692 !important;
	color: #ffffff !important;
}
.elementor-menu-cart__footer-buttons .elementor-button--view-cart,
.woocommerce-mini-cart__buttons .button:not(.checkout) {
	background: #ffffff !important;
	border: 1px solid #111111 !important;
	color: #111111 !important;
}
.elementor-menu-cart__footer-buttons .elementor-button:hover,
.woocommerce-mini-cart__buttons .button:hover { filter: brightness(1.08); }

/* ---------- Details drawers (long description folded away) ---------- */

.woocommerce-tabs:has(.ctp-drawers) > ul.tabs,
.woocommerce-tabs:has(.ctp-drawers) > ul.wc-tabs { display: none !important; }
.woocommerce-tabs:has(.ctp-drawers),
.woocommerce-tabs .panel:has(.ctp-drawers),
.woocommerce-tabs .woocommerce-Tabs-panel:has(.ctp-drawers) {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}
.ctp-drawers { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ctp-drawer {
	margin: 0;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #ffffff;
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.ctp-drawer:hover { border-color: #cfcfcf; }
.ctp-drawer[open] { border-color: #0ea692; box-shadow: 0 10px 28px -20px rgba(14, 166, 146, .7); }
.ctp-drawer__summary {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 16px 18px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #111111;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}
.ctp-drawer__summary::-webkit-details-marker,
.ctp-drawer__summary::marker { display: none; content: ""; }
.ctp-drawer__summary:focus { outline: none; }
.ctp-drawer__summary:focus-visible { outline: 2px solid #0ea692; outline-offset: -2px; border-radius: 10px; }
.ctp-drawer__icon { flex: 0 0 auto; color: #0ea692; }
.ctp-drawer__title { flex: 1 1 auto; min-width: 0; }
.ctp-drawer__chev { flex: 0 0 auto; color: #0ea692; transition: transform .2s ease; }
.ctp-drawer[open] .ctp-drawer__chev { transform: rotate(180deg); }
.ctp-drawer__body {
	padding: 14px 18px 18px;
	border-top: 1px solid #eeeeee;
	font-size: 14px;
	line-height: 1.6;
	color: #333333;
}
.ctp-drawer__body > :first-child { margin-top: 0; }
.ctp-drawer__body > :last-child { margin-bottom: 0; }
.ctp-drawer__body h2, .ctp-drawer__body h3 { font-size: 15px; margin: 18px 0 6px; }
.ctp-drawer__body p { margin: 0 0 10px; }

/* ---------- Compact short description (lead line, spec grid, RUO note) ---------- */

.creed-lead { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #333333; }
.creed-specs {
	list-style: none;
	margin: 0 0 12px !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}
.creed-specs li {
	margin: 0 !important;
	padding: 8px 10px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: #fafafa;
	font-size: 13px;
	line-height: 1.3;
	color: #111111;
	list-style: none;
}
.creed-specs li::before, .creed-specs li::marker { content: none; }
.creed-specs li b {
	display: block;
	margin-bottom: 2px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #0ea692;
}
.creed-ruo { margin: 0 0 4px; font-size: 12px; color: #777777; }
@media (min-width: 900px) {
	.creed-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	.ctp-drawer, .ctp-drawer__chev { transition: none; }
}

/* ---------- Narrow columns (tablet side-by-side) ---------- */

@media (max-width: 900px) and (min-width: 561px) {
	.ctp-tier { padding: 14px 8px 12px; }
	.ctp-tier__label { font-size: 14px; }
	.ctp-badge { font-size: 11px; padding: 10px 4px; gap: 6px; text-align: center; }
	.ctp-badge__icon { width: 16px; height: 16px; }
	.ctp-heading { flex-wrap: wrap; row-gap: 2px; }
}

/* ---------- Mobile ---------- */

@media (max-width: 560px) {
	.ctp { margin-bottom: 14px; }
	.ctp-panel { padding: 12px; }

	.ctp-heading { margin-bottom: 10px; flex-wrap: wrap; row-gap: 2px; }

	.ctp-tiers,
	.ctp-tiers--2,
	.ctp-tiers--4 {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.ctp-tier {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "icon body foot";
		align-items: center;
		column-gap: 12px;
		padding: 11px 14px 11px 12px;
		text-align: left;
		min-height: 0;
	}
	.ctp-tier__icon { grid-area: icon; width: 40px; height: 40px; margin: 0; }
	.ctp-tier__body { grid-area: body; align-items: flex-start; }
	.ctp-tier__label { font-size: 15px; }
	.ctp-tier__foot { grid-area: foot; margin: 0; padding: 0; justify-self: end; }
	.ctp-tier__check { display: none; }

	.ctp-summary { font-size: 12px; padding: 9px 11px; }
	.ctp-summary__total { font-size: 15px; }

	.ctp { --ctp-control-h: 50px; }
	.ctp-buy { gap: 8px; }
	.ctp-buy .quantity input.qty,
	.woocommerce div.product form.cart .ctp-buy .quantity input.qty { width: 44px !important; }
	.ctp-buy .ctp-step { width: 38px; }
	.ctp--style-button .ctp-buy .single_add_to_cart_button,
	.woocommerce div.product form.cart .ctp--style-button .ctp-buy .single_add_to_cart_button { padding: 0 14px !important; font-size: 15px !important; }

	.ctp-badges,
	.ctp-badges--2,
	.ctp-badges--4,
	.ctp-badges--5,
	.ctp-badges--6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
	}
	.ctp-badges--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ctp-badges--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ctp-badge {
		flex-direction: column;
		gap: 6px;
		padding: 10px 6px;
		font-size: 11px;
		text-align: center;
	}
}

@media (max-width: 360px) {
	.ctp-badge { font-size: 10px; }
	.ctp-tier__label { font-size: 14px; }
	.ctp-btn-total { display: none; }
}

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

@media (prefers-reduced-motion: reduce) {
	.ctp-tier,
	.ctp-tier__check,
	.ctp-tier__icon,
	.ctp-buy .single_add_to_cart_button { transition: none; }
}

/* ---------- Admin preview stage ---------- */

.ctp--preview { margin: 0; }
