/*
 * Bundle & Save — pensado primero para móvil.
 * Toma del tema: la tipografía del texto, el color del botón «Añadir al carrito» (acento)
 * y la tipografía y el color del título del producto (--bas-display / --bas-ink).
 */
.bas-box,
.bas-sheet {
	--bas-accent: #111;
	--bas-accent-fg: #fff;
	--bas-ink: #111;
	--bas-display: inherit;
	--bas-text: #1f2937;
	--bas-muted: #6b7280;
	--bas-line: #e2e5ea;
	--bas-surface: #fff;
	--bas-tint: #f5f7fa;
	--bas-error: #d32f2f;
	--bas-radius: 14px;
}
@supports (color: color-mix(in srgb, red, blue)) {
	.bas-box,
	.bas-sheet {
		--bas-tint: color-mix(in srgb, var(--bas-accent) 6%, #fff);
		--bas-accent-soft: color-mix(in srgb, var(--bas-accent) 14%, #fff);
	}
}

.bas-box {
	box-sizing: border-box;
	flex: 1 0 100%;
	width: 100%;
	max-width: 600px;
	margin: 4px 0 18px;
	font: inherit;
	color: var(--bas-text);
	line-height: 1.35;
	text-align: left;
	-webkit-tap-highlight-color: transparent;
}
.bas-box *,
.bas-box *::before,
.bas-box *::after,
.bas-sheet *,
.bas-sheet *::before,
.bas-sheet *::after { box-sizing: border-box; }
.bas-box [hidden],
.bas-sheet[hidden] { display: none !important; }

/* El formulario del tema suele ser flex en fila: el bloque ocupa su propia línea y el botón todo el ancho. */
form.cart.bas-form { flex-wrap: wrap; }
.bas-form-hide-qty .quantity { display: none !important; }
.bas-form-hide-qty .woocommerce-variation-add-to-cart,
form.cart.bas-form-hide-qty:not(.variations_form) { display: flex; flex-wrap: wrap; }
.bas-form-hide-qty .single_add_to_cart_button {
	flex: 1 1 100%;
	width: 100%;
	min-height: 52px;
	margin-left: 0 !important;
}
.bas-form-own-variations table.variations,
.bas-form-own-variations .reset_variations,
.bas-form-own-variations .woocommerce-variation-price { display: none !important; }

/* ---------- Título ---------- */
.bas-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-family: var(--bas-display);
	font-size: 17px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bas-ink);
	line-height: 1.1;
	text-align: center;
}
.bas-head::before,
.bas-head::after {
	content: "";
	flex: 1;
	height: 2px;
	border-radius: 2px;
	background: var(--bas-line);
}

/* ---------- Packs ---------- */
.bas-tiers {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bas-tier {
	position: relative;
	border-radius: var(--bas-radius);
	background: var(--bas-surface);
	box-shadow: inset 0 0 0 1.5px var(--bas-line);
	transition: box-shadow 0.15s ease, background-color 0.15s ease;
}
.bas-tier.is-selected {
	background: var(--bas-tint);
	box-shadow: inset 0 0 0 2px var(--bas-accent), 0 6px 18px -10px var(--bas-accent);
}
.bas-tier.has-badge { margin-top: 6px; }

.bas-box .bas-tier-head {
	display: grid;
	grid-template-columns: 22px 1fr auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 14px;
	font: inherit;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}
.bas-tier-head input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.bas-radio {
	position: relative;
	width: 22px;
	height: 22px;
	border: 2px solid #c3c8d0;
	border-radius: 50%;
	background: #fff;
	transition: border-color 0.15s ease;
}
.bas-radio::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--bas-accent);
	transform: scale(0);
	transition: transform 0.15s ease;
}
.bas-tier.is-selected .bas-radio { border-color: var(--bas-accent); }
.bas-tier.is-selected .bas-radio::after { transform: scale(1); }
.bas-tier-head input:focus-visible + .bas-radio {
	outline: 2px solid var(--bas-accent);
	outline-offset: 3px;
}

.bas-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.bas-label-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}
.bas-label {
	font-family: var(--bas-display);
	font-size: 18px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--bas-ink);
	line-height: 1.1;
}
.bas-pill {
	padding: 3px 7px;
	border-radius: 6px;
	background: var(--bas-accent);
	color: var(--bas-accent-fg);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}
.bas-sub {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	font-size: 13px;
	color: var(--bas-muted);
}
.bas-sub > span { white-space: nowrap; }
.bas-sub-save {
	color: var(--bas-accent);
	font-weight: 700;
}
.bas-sub .woocommerce-Price-amount { font-weight: inherit; }

.bas-prices {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: right;
	white-space: nowrap;
}
.bas-price {
	font-size: 18px;
	font-weight: 800;
	color: var(--bas-ink);
	line-height: 1.1;
}
.bas-regular {
	font-size: 13px;
	color: var(--bas-muted);
}
.bas-regular:empty { display: none; }
.bas-prices .woocommerce-Price-amount { font-weight: inherit; }
.bas-box.is-pending .bas-prices,
.bas-box.is-pending .bas-sub { visibility: hidden; }

.bas-badge {
	position: absolute;
	top: 0;
	right: 14px;
	transform: translateY(-55%);
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--bas-ink);
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
	white-space: nowrap;
}

/* ---------- Camisetas del pack ---------- */
.bas-units {
	display: none;
	flex-direction: column;
	gap: 10px;
	padding: 0 12px 12px;
}
.bas-tier.is-selected .bas-units { display: flex; }

.bas-unit {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px;
	border-radius: 12px;
	background: var(--bas-surface);
	box-shadow: inset 0 0 0 1px var(--bas-line);
}
.bas-unit.is-error { box-shadow: inset 0 0 0 1.5px var(--bas-error); }

.bas-box .bas-unit-product {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	color: inherit;
	font: inherit;
	text-align: left;
}
.bas-box .bas-unit-product.is-changeable { cursor: pointer; }
.bas-box .bas-unit-product:focus-visible {
	outline: 2px solid var(--bas-accent);
	outline-offset: 3px;
	border-radius: 8px;
}

.bas-thumb {
	position: relative;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background: #f1f3f5;
}
.bas-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	object-fit: cover;
}
.bas-unit-num {
	position: absolute;
	top: -6px;
	left: -6px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #9aa1ab;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	transition: background-color 0.15s ease;
}
.bas-unit.is-complete .bas-unit-num { background: var(--bas-accent); color: var(--bas-accent-fg); }
.bas-unit.is-error .bas-unit-num { background: var(--bas-error); }

.bas-unit-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.bas-unit-name {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	color: var(--bas-ink);
	line-height: 1.25;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.bas-unit-meta {
	font-size: 13px;
	color: var(--bas-muted);
}
.bas-change {
	flex: 0 0 auto;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--bas-accent-soft, #eef2f7);
	color: var(--bas-accent);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}
.bas-unit-product.is-changeable:hover .bas-change {
	background: var(--bas-accent);
	color: var(--bas-accent-fg);
}

.bas-unit-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 8px;
}
.bas-box .bas-field {
	position: relative;
	display: block;
	height: 50px;
	margin: 0;
	border: 1.5px solid var(--bas-line);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.bas-box .bas-field:focus-within {
	border-color: var(--bas-accent);
	box-shadow: 0 0 0 3px var(--bas-accent-soft, rgba(0, 0, 0, 0.08));
}
.bas-field-label {
	position: absolute;
	top: 8px;
	left: 11px;
	font-size: 11px;
	font-weight: 700;
	color: var(--bas-muted);
	line-height: 1;
	pointer-events: none;
}
.bas-field-value {
	position: absolute;
	right: 26px;
	bottom: 8px;
	left: 11px;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	color: var(--bas-ink);
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
	pointer-events: none;
}
.bas-field:not(.is-filled) .bas-field-value {
	color: var(--bas-muted);
	font-weight: 400;
}
.bas-box select.bas-select {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0 10px;
	border: 0;
	border-radius: 10px;
	background: transparent none;
	box-shadow: none;
	color: transparent;
	font-size: 16px; /* 16px evita el zoom automático del iPhone al tocar */
	opacity: 0;
	cursor: pointer;
}
.bas-field-arrow {
	position: absolute;
	top: 50%;
	right: 11px;
	width: 7px;
	height: 7px;
	margin-top: -5px;
	border-right: 2px solid var(--bas-muted);
	border-bottom: 2px solid var(--bas-muted);
	transform: rotate(45deg);
	pointer-events: none;
}
.bas-unit.is-error .bas-field:not(.is-filled) { border-color: var(--bas-error); }

/* El tema pone su propia fuente a botones y campos: forzamos la del texto. */
.bas-box button,
.bas-box select,
.bas-sheet button,
.bas-sheet input { font-family: inherit !important; }

.bas-error {
	margin: 0 12px 12px !important;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fdecea;
	color: var(--bas-error);
	font-size: 13px;
	font-weight: 600;
}

/* ================================================================== */
/* Panel para elegir camiseta                                          */
/* ================================================================== */
html.bas-lock,
html.bas-lock body { overflow: hidden !important; }

.bas-sheet {
	position: fixed;
	inset: 0;
	z-index: 999999;
	font-family: inherit;
	color: var(--bas-text);
}
.bas-sheet-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 25, 0.5);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.bas-sheet-panel {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	max-height: 88vh;
	max-height: 88dvh;
	border-radius: 20px 20px 0 0;
	background: #fff;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.18);
	transform: translateY(100%);
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bas-sheet.is-open .bas-sheet-backdrop { opacity: 1; }
.bas-sheet.is-open .bas-sheet-panel { transform: none; }

.bas-sheet-grip {
	width: 40px;
	height: 4px;
	margin: 8px auto 0;
	border-radius: 4px;
	background: #d5d9df;
}
.bas-sheet-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px 6px;
}
.bas-sheet-title {
	font-family: var(--bas-display);
	font-size: 20px;
	font-weight: normal;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--bas-ink);
	line-height: 1.1;
}
.bas-sheet .bas-sheet-close {
	all: unset;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f1f3f5;
	color: #333;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.bas-sheet .bas-sheet-close:focus-visible { outline: 2px solid var(--bas-accent); outline-offset: 2px; }

.bas-sheet-search-wrap { padding: 6px 16px 12px; }
.bas-sheet input.bas-sheet-search {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 14px 0 40px;
	border: 1.5px solid var(--bas-line);
	border-radius: 12px;
	background: #f7f8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px 50%;
	box-shadow: none;
	color: var(--bas-text);
	font: inherit;
	font-size: 16px;
}
.bas-sheet input.bas-sheet-search:focus {
	border-color: var(--bas-accent);
	outline: none;
	background-color: #fff;
}

.bas-sheet-list {
	flex: 1;
	min-height: 200px;
	overflow-y: auto;
	padding: 0 16px calc(16px + env(safe-area-inset-bottom));
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
.bas-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.bas-sheet .bas-card {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 6px 6px 10px;
	border-radius: 14px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--bas-line);
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: box-shadow 0.12s ease, transform 0.12s ease;
}
.bas-sheet .bas-card:active { transform: scale(0.98); }
.bas-sheet .bas-card:hover,
.bas-sheet .bas-card:focus-visible { box-shadow: inset 0 0 0 2px var(--bas-accent); outline: none; }
.bas-sheet .bas-card.is-current { box-shadow: inset 0 0 0 2px var(--bas-accent); background: var(--bas-tint); }
.bas-card-img {
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: 10px;
	background: #f3f4f6;
}
.bas-card-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bas-card-name {
	display: -webkit-box;
	overflow: hidden;
	padding: 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--bas-ink);
	line-height: 1.25;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.bas-card-price {
	padding: 0 4px;
	font-size: 13px;
	color: var(--bas-muted);
}

.bas-sheet-msg {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 40px 10px;
	color: var(--bas-muted);
	font-size: 14px;
	text-align: center;
}
.bas-sheet .bas-sheet-retry {
	all: unset;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--bas-accent);
	color: var(--bas-accent-fg);
	cursor: pointer;
}
.bas-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid var(--bas-line);
	border-top-color: var(--bas-accent);
	border-radius: 50%;
	animation: bas-spin 0.7s linear infinite;
}
@keyframes bas-spin { to { transform: rotate(360deg); } }

/* ---------- Pantallas grandes ---------- */
@media (min-width: 768px) {
	.bas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bas-sheet-panel {
		top: 50%;
		right: auto;
		bottom: auto;
		left: 50%;
		width: min(760px, calc(100vw - 48px));
		max-height: 82vh;
		border-radius: 20px;
		opacity: 0;
		transform: translate(-50%, -46%);
		transition: transform 0.22s ease, opacity 0.22s ease;
	}
	.bas-sheet.is-open .bas-sheet-panel { opacity: 1; transform: translate(-50%, -50%); }
	.bas-sheet-grip { display: none; }
	.bas-sheet-head { padding-top: 18px; }
}
@media (min-width: 1024px) {
	.bas-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Pantallas muy estrechas */
@media (max-width: 360px) {
	.bas-box .bas-tier-head { gap: 10px; padding: 12px; }
	.bas-label,
	.bas-price { font-size: 16px; }
	.bas-change { padding: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.bas-tier,
	.bas-radio::after,
	.bas-sheet-backdrop,
	.bas-sheet-panel { transition: none; }
}

/* ================================================================== */
/* Mejoras (borrador): precio, calidad, guía de tallas, barra fija    */
/* ================================================================== */
.bas-from { font-size: .8em; font-weight: 600; opacity: .75; margin-right: 2px; }

.bas-extras { display: none; padding: 0 12px 10px; }
.bas-tier.is-selected .bas-extras { display: block; }
.bas-units-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--bas-ink);
}
.bas-box .bas-sg-link,
.bas-box .bas-qcard {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	font-family: inherit !important;
}
.bas-box .bas-sg-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--bas-accent-soft, #eef2f7);
	color: var(--bas-accent);
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
}
.bas-box .bas-sg-link:focus-visible,
.bas-box .bas-qcard:focus-visible { outline: 2px solid var(--bas-accent); outline-offset: 2px; }

.bas-quality { margin: 0 0 10px; }
.bas-quality-title { margin: 0 0 8px !important; font-size: 12px; font-weight: 700; color: var(--bas-muted); }
.bas-quality-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bas-box .bas-qcard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--bas-line);
	color: var(--bas-text);
	text-align: left;
	transition: box-shadow .12s ease;
}
.bas-box .bas-qcard.is-active { box-shadow: inset 0 0 0 2px var(--bas-accent); background: var(--bas-tint); }
.bas-qcard-badge {
	position: absolute;
	top: -9px;
	right: 8px;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--bas-ink);
	color: #fff;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.4;
	white-space: nowrap;
}
.bas-qcard-top { display: flex; flex-direction: column; gap: 1px; }
.bas-qcard-name { font-size: 13.5px; font-weight: 800; color: var(--bas-ink); line-height: 1.2; }
.bas-qcard-price { font-size: 13px; font-weight: 700; color: var(--bas-accent); }
.bas-box .bas-qcard-list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.bas-box .bas-qcard-list li {
	position: relative;
	margin: 0 0 2px !important;
	padding: 0 0 0 14px !important;
	font-size: 11.5px;
	line-height: 1.3;
	color: var(--bas-muted);
	list-style: none !important;
}
.bas-box .bas-qcard-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--bas-accent);
	font-weight: 800;
}

/* Guía de tallas dentro del panel */
.bas-sheet.is-info .bas-sheet-search-wrap { display: none; }
.bas-sheet.is-info .bas-sheet-list { min-height: 0; padding-top: 4px; }
.bas-sg-intro { margin: 0 0 14px !important; font-size: 14px; line-height: 1.45; color: var(--bas-text); }
.bas-sg-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.bas-sheet .bas-sg-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 12px; font-weight: 700; color: var(--bas-muted); }
.bas-sheet .bas-sg-field input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 12px;
	border: 1.5px solid var(--bas-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	color: var(--bas-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
}
.bas-sheet .bas-sg-field input:focus { border-color: var(--bas-accent); outline: none; }
.bas-sg-result {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 14px;
	padding: 12px;
	border-radius: 12px;
	background: var(--bas-tint);
	box-shadow: inset 0 0 0 1.5px var(--bas-accent);
	font-size: 14px;
	color: var(--bas-ink);
}
.bas-sg-result[hidden] { display: none !important; }
.bas-sg-result strong { font-size: 18px; }
.bas-sheet .bas-sg-apply {
	all: unset;
	box-sizing: border-box;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--bas-accent);
	color: var(--bas-accent-fg);
	font-family: inherit !important;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}
.bas-sheet .bas-sg-apply[hidden] { display: none; }
.bas-sheet .bas-sg-table { width: 100%; margin: 0; border-collapse: collapse; border: 0; font-size: 14px; }
.bas-sheet .bas-sg-table th,
.bas-sheet .bas-sg-table td { padding: 10px 8px; border: 0; border-bottom: 1px solid var(--bas-line); background: none; text-align: left; }
.bas-sheet .bas-sg-table th { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--bas-muted); }
.bas-sheet .bas-sg-table td:first-child { font-weight: 800; color: var(--bas-ink); }
.bas-sheet .bas-sg-table tr.is-rec td { background: var(--bas-tint); }
.bas-sheet .bas-sg-table tr.is-rec td:first-child { color: var(--bas-accent); }

/* Barra de compra fija abajo (móvil y tablet) */
.bas-sticky {
	--bas-accent: #111;
	--bas-accent-fg: #fff;
	--bas-ink: #111;
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99990;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -6px 24px rgba(10, 20, 40, .14);
	font-family: inherit;
	transform: translateY(110%);
	transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.bas-sticky.is-visible { transform: none; }
html.bas-lock .bas-sticky { transform: translateY(110%); }
body.bas-sticky-on { padding-bottom: 76px; }
.bas-sticky-img { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #f1f3f5; }
.bas-sticky-info { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.bas-sticky-name { overflow: hidden; font-size: 13px; font-weight: 700; color: var(--bas-ink); line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.bas-sticky-line { overflow: hidden; font-size: 12.5px; color: #6b7280; white-space: nowrap; text-overflow: ellipsis; }
.bas-sticky-price { color: var(--bas-ink); font-weight: 800; }
.bas-sticky .bas-sticky-btn {
	all: unset;
	box-sizing: border-box;
	flex: 0 0 auto;
	padding: 0 16px;
	height: 46px;
	line-height: 46px;
	border-radius: 999px;
	background: var(--bas-accent);
	color: var(--bas-accent-fg);
	font-family: inherit !important;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
	white-space: nowrap;
}
@media (min-width: 1025px) {
	.bas-sticky { display: none; }
	body.bas-sticky-on { padding-bottom: 0; }
}
@media (max-width: 360px) {
	.bas-quality-cards { grid-template-columns: 1fr; }
	.bas-sticky .bas-sticky-btn { padding: 0 12px; font-size: 13px; }
}
