/* Supra Ventas — tienda. Colores de marca: amarillo #FFC400, negro #0E0E0E. */

.svp-wrap,
.svc-corte,
.sva-wrap {
	--sv-am: #ffc400;
	--sv-am2: #ffe27a;
	--sv-am3: #e8af00;
	--sv-ne: #0e0e0e;
	--sv-ne2: #1c1c1f;
	--sv-gr: #8a8a93;
	--sv-ok: #2bd47d;
	--sv-rojo: #ff4d4f;
	font-family: inherit;
	box-sizing: border-box;
}
.svp-wrap *,
.svc-corte *,
.sva-wrap * {
	box-sizing: border-box;
}

/* =================================================================
 * Barra de envío gratis
 * =============================================================== */

.svp-wrap {
	margin: 14px 0;
}
.svp-wrap.svp-en-cajon {
	margin: 12px 16px;
}
.svp-barra {
	position: relative;
	background: var(--sv-ne);
	background-image: radial-gradient(120% 140% at 100% 0%, rgba(255, 196, 0, 0.16), transparent 55%);
	color: #fff;
	border-radius: 16px;
	padding: 14px 16px 16px;
	box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.55);
	overflow: visible;
	transition: transform 0.3s ease;
}
.svp-barra.svp-oculta,
.svp-barra.svp-hueco {
	display: none;
}
.svp-barra.svp-sube {
	animation: svp-latido 0.7s ease;
}
@keyframes svp-latido {
	0% { transform: scale(1); }
	35% { transform: scale(1.025); }
	100% { transform: scale(1); }
}

.svp-txt {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.svp-ico {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--sv-am);
	color: var(--sv-ne);
}
.svp-ico svg {
	width: 24px;
	height: 24px;
}
.svp-tit {
	margin: 0 !important;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.01em;
}
.svp-tit b {
	font-weight: 900;
	color: var(--sv-am);
}
.svp-tit .svp-falta {
	font-style: italic;
	font-size: 1.12em;
}
.svp-sub {
	margin: 2px 0 0 !important;
	font-size: 12.5px;
	line-height: 1.3;
	color: #b9b9c0;
}

.svp-pista {
	position: relative;
	height: 14px;
	border-radius: 99px;
	background: #2a2a2f;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
	margin-right: 44px;
}
.svp-relleno {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	min-width: 14px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--sv-am3), var(--sv-am) 55%, var(--sv-am2));
	box-shadow: 0 0 14px rgba(255, 196, 0, 0.55);
	transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: hidden;
}
.svp-vacia .svp-relleno {
	min-width: 0;
	box-shadow: none;
}
/* Rayas en movimiento */
.svp-relleno::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.22) 0 8px,
		rgba(255, 255, 255, 0) 8px 16px
	);
	background-size: 22.6px 22.6px;
	animation: svp-rayas 0.9s linear infinite;
}
@keyframes svp-rayas {
	to { background-position: 22.6px 0; }
}
/* Destello que recorre la barra */
.svp-brillo {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40%;
	left: -40%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
	animation: svp-brillo 2.6s ease-in-out infinite;
}
@keyframes svp-brillo {
	0% { left: -40%; }
	60%, 100% { left: 110%; }
}

.svp-camion {
	position: absolute;
	top: 50%;
	left: 0;
	width: 30px;
	height: 30px;
	margin-left: -15px;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: var(--sv-ne);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45), 0 0 0 3px var(--sv-ne);
	transition: left 1.1s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 2;
}
.svp-camion svg {
	width: 20px;
	height: 20px;
	animation: svp-bache 0.6s ease-in-out infinite alternate;
}
@keyframes svp-bache {
	from { transform: translateY(0.5px); }
	to { transform: translateY(-1.2px); }
}
.svp-vacia .svp-camion {
	display: none;
}

.svp-meta-ico {
	position: absolute;
	right: -44px;
	top: 50%;
	transform: translateY(-50%);
	height: 26px;
	min-width: 38px;
	padding: 0 6px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	border: 1.5px dashed #55555c;
	color: #b9b9c0;
	font-size: 9.5px;
	letter-spacing: 0.04em;
}
.svp-meta-ico b {
	font-weight: 900;
}
.svp-cerca .svp-meta-ico {
	border-color: var(--sv-am);
	color: var(--sv-am);
	animation: svp-parpadeo 1.2s ease-in-out infinite;
}
@keyframes svp-parpadeo {
	50% { box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.18); }
}

/* Ya tiene envío gratis */
.svp-logro {
	background: linear-gradient(135deg, #ffd23f, var(--sv-am) 45%, var(--sv-am3));
	color: var(--sv-ne);
	box-shadow: 0 12px 30px -12px rgba(255, 196, 0, 0.75);
}
.svp-logro .svp-tit,
.svp-logro .svp-tit b {
	color: var(--sv-ne);
}
.svp-logro .svp-sub {
	color: rgba(14, 14, 14, 0.72);
}
.svp-logro .svp-ico {
	background: var(--sv-ne);
	color: var(--sv-am);
	animation: svp-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.svp-logro .svp-pista {
	background: rgba(14, 14, 14, 0.18);
	box-shadow: none;
}
.svp-logro .svp-relleno {
	background: var(--sv-ne);
	box-shadow: none;
}
.svp-logro .svp-relleno::before {
	background-image: repeating-linear-gradient(-45deg, rgba(255, 196, 0, 0.28) 0 8px, transparent 8px 16px);
}
.svp-logro .svp-camion {
	display: none;
}
.svp-logro .svp-meta-ico {
	border: 0;
	background: var(--sv-ne);
	color: var(--sv-am);
	min-width: 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	right: -40px;
}
.svp-logro .svp-meta-ico svg {
	width: 18px;
	height: 18px;
}
@keyframes svp-pop {
	0% { transform: scale(0.4) rotate(-20deg); }
	100% { transform: scale(1) rotate(0); }
}

/* Confeti */
.svp-confeti {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: visible;
	z-index: 5;
}
.svp-confeti i {
	position: absolute;
	top: 60%;
	width: 7px;
	height: 11px;
	border-radius: 2px;
	opacity: 0;
	animation: svp-confeti 1.3s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes svp-confeti {
	0% { opacity: 1; transform: translate(0, 0) rotate(0); }
	70% { opacity: 1; }
	100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 60px)) rotate(var(--r)); }
}

/* =================================================================
 * Contador de corte
 * =============================================================== */

.svc-corte {
	margin: 14px 0;
}
.svc-card {
	border-radius: 16px;
	border: 1.5px solid #e6e6e9;
	background: #fff;
	overflow: hidden;
	color: var(--sv-ne);
}
.svc-cab {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	background: #f4f4f5;
	font-size: 14px;
	line-height: 1.25;
}
.svc-cab b {
	display: block;
	font-weight: 800;
}
.svc-cab b em {
	font-style: italic;
	font-weight: 900;
	background: var(--sv-am);
	padding: 0 6px;
	border-radius: 5px;
}
.svc-cab small {
	display: block;
	font-size: 12px;
	color: #57575e;
	margin-top: 1px;
}
.svc-abierto .svc-cab {
	background: var(--sv-ne);
	color: #fff;
}
.svc-abierto .svc-cab b em {
	color: var(--sv-ne);
}
.svc-ico {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	background: var(--sv-am);
	color: var(--sv-ne);
}
.svc-ico svg {
	width: 19px;
	height: 19px;
}
.svc-abierto .svc-ico svg {
	animation: svc-tic 1s steps(2) infinite;
}
@keyframes svc-tic {
	50% { transform: rotate(8deg); }
}

.svc-fila {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	border-top: 1px solid #ededf0;
}
.svc-nom b {
	display: block;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}
.svc-nom small {
	display: block;
	font-size: 12px;
	color: #57575e;
	margin-top: 2px;
}
.svc-reloj {
	display: flex;
	align-items: center;
	gap: 3px;
	font-variant-numeric: tabular-nums;
	font-weight: 900;
	font-size: 19px;
	line-height: 1;
}
.svc-reloj span {
	display: inline-block;
	min-width: 32px;
	text-align: center;
	padding: 7px 4px;
	border-radius: 8px;
	background: var(--sv-ne);
	color: var(--sv-am);
}
.svc-reloj i {
	font-style: normal;
	color: #b0b0b6;
	animation: svc-dos 1s steps(1) infinite;
}
@keyframes svc-dos {
	50% { opacity: 0.25; }
}
.svc-urg .svc-reloj span {
	background: var(--sv-rojo);
	color: #fff;
	animation: svc-urg 1s ease-in-out infinite;
}
.svc-urg .svc-nom small {
	color: #d42f31;
	font-weight: 700;
}
@keyframes svc-urg {
	50% { box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.2); }
}
.svc-sig {
	font-size: 13px;
	font-weight: 700;
	color: #57575e;
	background: #f4f4f5;
	padding: 6px 10px;
	border-radius: 8px;
	white-space: nowrap;
}
.svc-cerrado .svc-nom b {
	color: #57575e;
}

/* Versión compacta (cajón) */
.svc-corte.svc-compacto {
	margin: 0 16px 12px;
}
.svc-linea {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	font-size: 13px;
	line-height: 1.3;
	padding: 9px 12px;
	border-radius: 12px;
	background: #f4f4f5;
	color: var(--sv-ne);
}
.svc-mini {
	font-variant-numeric: tabular-nums;
	font-weight: 900;
	background: var(--sv-ne);
	color: var(--sv-am);
	padding: 3px 7px;
	border-radius: 6px;
	margin-left: auto;
}
.svc-mini span {
	display: inline;
}
.svc-mini i {
	font-style: normal;
}
.svc-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sv-ok);
	box-shadow: 0 0 0 0 rgba(43, 212, 125, 0.6);
	animation: svc-pulso 1.6s infinite;
}
.svc-cerrado .svc-dot {
	background: var(--sv-gr);
	animation: none;
}
.svc-urg .svc-dot {
	background: var(--sv-rojo);
}
@keyframes svc-pulso {
	70% { box-shadow: 0 0 0 7px rgba(43, 212, 125, 0); }
	100% { box-shadow: 0 0 0 0 rgba(43, 212, 125, 0); }
}

/* =================================================================
 * Avísame cuando llegue
 * =============================================================== */

.sva-wrap {
	margin: 14px 0;
}
.sva {
	border-radius: 16px;
	border: 2px solid var(--sv-ne);
	background: #fffbea;
	padding: 14px;
	color: var(--sv-ne);
	animation: sva-entra 0.35s ease;
}
@keyframes sva-entra {
	from { opacity: 0; transform: translateY(-6px); }
}
.sva-cab {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.sva-cab b {
	display: block;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.sva-cab small {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.35;
	color: #3f3f45;
}
.sva-ico {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--sv-am);
	color: var(--sv-ne);
	font-weight: 900;
	font-size: 18px;
}
.sva-ico svg {
	width: 21px;
	height: 21px;
	transform-origin: 50% 10%;
	animation: sva-campana 2.4s ease-in-out infinite;
}
@keyframes sva-campana {
	0%, 70%, 100% { transform: rotate(0); }
	75% { transform: rotate(14deg); }
	80% { transform: rotate(-12deg); }
	85% { transform: rotate(8deg); }
	90% { transform: rotate(-5deg); }
}
.sva-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0 !important;
}
.sva-form input {
	flex: 1 1 180px;
	min-width: 0;
	height: 44px;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1.5px solid #d9d9de !important;
	border-radius: 10px !important;
	background: #fff !important;
	font: inherit;
	font-size: 15px;
	color: var(--sv-ne);
}
.sva-form input[name="cantidad"],
.sva-form input[name="whatsapp"] {
	flex-basis: 140px;
}
.sva-form input:focus {
	outline: none;
	border-color: var(--sv-ne) !important;
	box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.45);
}
.sva-form .sva-trampa {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0;
}
.sva-form button {
	flex: 1 1 100%;
	height: 46px;
	border: 0;
	border-radius: 10px;
	background: var(--sv-ne);
	color: var(--sv-am);
	font: inherit;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sva-form button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5);
}
.sva-form button.sva-cargando {
	opacity: 0.6;
	cursor: wait;
}
.sva-msg {
	margin: 8px 0 0 !important;
	font-size: 13px;
}
.sva-msg:empty {
	display: none;
}
.sva-msg.sva-err {
	color: #c62828;
	font-weight: 600;
}
.sva.sva-ok {
	background: #eefcf4;
	border-color: var(--sv-ok);
}
.sva.sva-ok .sva-ico {
	background: var(--sv-ok);
	color: #fff;
}

/* =================================================================
 * Repetir pedido
 * =============================================================== */

.svr-caja {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 18px 0 24px;
	padding: 16px 18px;
	border-radius: 16px;
	background: #0e0e0e;
	color: #fff;
}
.svr-caja b {
	display: block;
	font-size: 17px;
	font-weight: 900;
	color: #ffc400;
}
.svr-caja span {
	display: block;
	font-size: 13px;
	color: #c9c9cf;
	margin-top: 2px;
}
.svr-btn,
.woocommerce-orders-table a.sv-repetir,
.woocommerce a.button.sv-repetir {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	background: #ffc400 !important;
	color: #0e0e0e !important;
	font-weight: 900 !important;
	text-decoration: none !important;
	border-radius: 10px !important;
	border: 0 !important;
	padding: 12px 18px !important;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce-orders-table a.sv-repetir,
.woocommerce a.button.sv-repetir {
	padding: 7px 12px !important;
	font-size: 13px !important;
}
.svr-btn:hover,
.woocommerce a.button.sv-repetir:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -8px rgba(255, 196, 0, 0.9);
}
.svr-btn svg {
	width: 18px;
	height: 18px;
}

/* =================================================================
 * Agrega de último momento
 * =============================================================== */

.svu-wrap {
	margin: 14px 0;
	font-family: inherit;
}
.svu-wrap[hidden] {
	display: none !important;
}
.svu {
	border: 2px solid #0e0e0e;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
	color: #0e0e0e;
	box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.6);
}
.svu-cab {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 12px 14px;
	background: #ffc400;
}
.svu-rayo {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: #0e0e0e;
	color: #ffc400;
}
.svu-rayo svg {
	width: 19px;
	height: 19px;
	animation: svu-rayo 2.2s ease-in-out infinite;
}
@keyframes svu-rayo {
	0%, 80%, 100% { transform: scale(1); }
	88% { transform: scale(1.25) rotate(-8deg); }
}
.svu-cab b {
	display: block;
	font-size: 15px;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
.svu-cab small {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.3;
	color: rgba(14, 14, 14, 0.8);
}
.svu-lista {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.svu-item {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 8px 12px;
	align-items: center;
	padding: 12px 14px;
	margin: 0 !important;
	border-top: 1px solid #ededf0;
	transition: background 0.3s ease;
}
.svu-item:first-child {
	border-top: 0;
}
.svu-foto img {
	display: block;
	width: 58px !important;
	height: 58px !important;
	object-fit: cover;
	border-radius: 10px;
	background: #f4f4f5;
	margin: 0 !important;
}
.svu-info {
	min-width: 0;
}
.svu-info b {
	display: block;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}
.svu-info small {
	display: block;
	font-size: 12px;
	color: #57575e;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.svu-tag {
	display: inline-block;
	margin-bottom: 3px;
	padding: 2px 7px;
	border-radius: 20px;
	background: #f4f4f5;
	font-size: 10.5px;
	font-weight: 800;
	line-height: 1.4;
}
.svu-tag.svu-top {
	background: #fff1c2;
	color: #7a5800;
}
.svu-precio {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	font-weight: 900;
}
.svu-precio em {
	font-style: normal;
	font-weight: 600;
	font-size: 12px;
	color: #57575e;
}
.svu-acc {
	grid-column: 1 / -1;
	display: flex;
	gap: 8px;
	align-items: center;
}
.svu-qty {
	display: flex;
	align-items: stretch;
	height: 40px;
	border: 1.5px solid #d9d9de;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.svu-qty button {
	width: 34px;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #f4f4f5 !important;
	color: #0e0e0e !important;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	box-shadow: none !important;
}
.svu-qty input {
	width: 46px !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #fff !important;
	text-align: center;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	color: #0e0e0e;
	-moz-appearance: textfield;
}
.svu-qty input::-webkit-outer-spin-button,
.svu-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.svu-add {
	flex: 1;
	height: 40px;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: #0e0e0e !important;
	color: #ffc400 !important;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.2s ease;
}
.svu-add:hover {
	transform: translateY(-1px);
}
.svu-add:disabled {
	cursor: wait;
	opacity: 0.85;
}
.svu-item.svu-ok {
	background: #eefcf4;
}
.svu-item.svu-ok .svu-add {
	background: #2bd47d !important;
	color: #fff !important;
}
.svu-err {
	grid-column: 1 / -1;
	margin: 0 !important;
	font-size: 12.5px;
	font-weight: 600;
	color: #c62828;
}

/* =================================================================
 * Cotización PDF
 * =============================================================== */

.svq-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 10px 0 0 !important;
	padding: 11px 14px !important;
	border: 1.5px solid #0e0e0e !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #0e0e0e !important;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.15s ease;
}
.svq-btn:hover {
	background: #fff7d6 !important;
}
.svq-btn svg {
	width: 18px;
	height: 18px;
}
.svq-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 16px;
	background: rgba(14, 14, 14, 0.55);
	font-family: inherit;
	animation: sva-entra 0.2s ease;
}
.svq-caja {
	position: relative;
	width: 100%;
	max-width: 400px;
	padding: 22px 20px 20px;
	border-radius: 18px;
	background: #fff;
	color: #0e0e0e;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
	border-top: 6px solid #ffc400;
}
.svq-caja > b {
	display: block;
	font-size: 20px;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
}
.svq-caja > small {
	display: block;
	margin: 4px 0 14px;
	font-size: 13px;
	color: #57575e;
	line-height: 1.4;
}
.svq-caja label {
	display: grid;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
}
.svq-caja label em {
	font-style: normal;
	font-weight: 500;
	color: #8a8a93;
}
.svq-caja input {
	height: 44px;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1.5px solid #d9d9de !important;
	border-radius: 10px !important;
	font: inherit;
	font-size: 15px;
}
.svq-caja input:focus {
	outline: none;
	border-color: #0e0e0e !important;
	box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.45);
}
.svq-ir {
	width: 100%;
	height: 48px;
	margin-top: 14px;
	border: 0;
	border-radius: 10px;
	background: #0e0e0e;
	color: #ffc400;
	font: inherit;
	font-size: 15px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	cursor: pointer;
}
.svq-ir:disabled {
	opacity: 0.7;
	cursor: wait;
}
.svq-x {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: #f4f4f5;
	color: #0e0e0e;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 480px) {
	.svp-tit { font-size: 14px; }
	.svc-reloj { font-size: 16px; }
	.svc-reloj span { min-width: 27px; padding: 6px 3px; }
	.svc-fila { padding: 10px 12px; }
	.svr-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.svp-relleno,
	.svp-camion { transition: none; }
	.svp-relleno::before,
	.svp-brillo,
	.svp-camion svg,
	.svc-abierto .svc-ico svg,
	.svc-reloj i,
	.svc-dot,
	.sva-ico svg,
	.svu-rayo svg,
	.svc-urg .svc-reloj span { animation: none; }
}


/* Supra Ventas — nuevo look del medidor de mayoreo (plugin Supra Precios).
   Solo estilos: no cambia cómo calcula ni cómo se mueve. */

.supra-precios-medidor .medidor {
	--m-am: #ffc400;
	--m-am2: #ffe27a;
	--m-am3: #e8af00;
	--m-ne: #0e0e0e;
	position: relative;
	padding: 18px 18px 16px !important;
	border: 0 !important;
	border-radius: 18px !important;
	background: #0e0e0e !important;
	background-image: radial-gradient(130% 120% at 100% 0%, rgba(255, 196, 0, 0.22), transparent 55%), radial-gradient(80% 90% at 0% 100%, rgba(255, 196, 0, 0.08), transparent 60%) !important;
	box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.65) !important;
	color: #fff !important;
	overflow: hidden;
}

/* Precio grande */
.supra-precios-medidor .med-top {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 16px;
	margin-bottom: 14px !important;
}
.supra-precios-medidor .med-precio {
	display: flex !important;
	flex-direction: column;
	gap: 2px;
}
.supra-precios-medidor .med-precio .num {
	font-size: 40px !important;
	line-height: 1 !important;
	font-weight: 900 !important;
	font-style: italic;
	letter-spacing: -0.03em;
	color: var(--m-am) !important;
	text-shadow: 0 0 22px rgba(255, 196, 0, 0.35);
}
.supra-precios-medidor .med-precio .num.subio {
	animation: smed-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes smed-pop {
	0% { transform: scale(0.85); }
	100% { transform: scale(1); }
}
.supra-precios-medidor .med-precio [data-med-sub] {
	font-size: 12.5px !important;
	color: #b9b9c0 !important;
	text-transform: none;
}

/* Mensaje: píldora amarilla */
.supra-precios-medidor .med-msg {
	max-width: 290px;
	padding: 8px 12px !important;
	border-radius: 12px !important;
	background: var(--m-am) !important;
	color: var(--m-ne) !important;
	font-size: 12.5px !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
	text-align: left !important;
	box-shadow: 0 6px 18px -8px rgba(255, 196, 0, 0.7);
}
.supra-precios-medidor .med-msg em {
	font-style: normal;
	font-weight: 900;
	color: var(--m-ne) !important;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}
.supra-precios-medidor .med-msg.tope {
	background: linear-gradient(90deg, #2bd47d, #20b869) !important;
	color: #fff !important;
}
.supra-precios-medidor .med-msg.tope em {
	color: #fff !important;
}

/* Pista */
.supra-precios-medidor .med-pista {
	position: relative !important;
	height: 14px !important;
	margin: 0 0 12px !important;
	border-radius: 99px !important;
	background: #2a2a2f !important;
	background-image: none !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7) !important;
	overflow: visible !important;
}
.supra-precios-medidor .med-fill {
	position: absolute !important;
	inset: 0 auto 0 0 !important;
	height: 100% !important;
	min-width: 14px;
	border-radius: 99px !important;
	background: linear-gradient(90deg, var(--m-am3), var(--m-am) 55%, var(--m-am2)) !important;
	box-shadow: 0 0 16px rgba(255, 196, 0, 0.6) !important;
	transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1) !important;
	overflow: hidden;
	z-index: 1;
}
.supra-precios-medidor .med-fill[style*="width:0%"],
.supra-precios-medidor .med-fill[style*="width: 0%"] {
	min-width: 0;
	box-shadow: none !important;
}
.supra-precios-medidor .med-fill::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.25) 0 7px, transparent 7px 14px);
	background-size: 19.8px 19.8px;
	animation: smed-rayas 0.9s linear infinite;
}
.supra-precios-medidor .med-fill::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40%;
	left: -40%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
	animation: smed-brillo 2.6s ease-in-out infinite;
}
@keyframes smed-rayas {
	to { background-position: 19.8px 0; }
}
@keyframes smed-brillo {
	0% { left: -40%; }
	60%, 100% { left: 110%; }
}
.supra-precios-medidor .med-fill.tope {
	background: linear-gradient(90deg, #20b869, #2bd47d) !important;
	box-shadow: 0 0 16px rgba(43, 212, 125, 0.6) !important;
}

/* Hitos: puntitos sobre la pista */
.supra-precios-medidor .med-hitos {
	position: absolute !important;
	inset: 0 !important;
	display: flex !important;
	justify-content: space-around;
	align-items: center;
	z-index: 2;
	pointer-events: none;
}
.supra-precios-medidor .med-hitos i {
	width: 4px !important;
	height: 4px !important;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35) !important;
	border: 0 !important;
}

/* Escalones: fichas */
.supra-precios-medidor .med-esc {
	gap: 6px !important;
}
.supra-precios-medidor .med-esc > span {
	position: relative;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	padding: 7px 2px 6px !important;
	border-radius: 10px !important;
	background: #1c1c1f !important;
	border: 1px solid #2c2c31 !important;
	color: #e4e4e8 !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	text-align: center;
	transition: transform 0.25s ease, background 0.25s ease;
}
.supra-precios-medidor .med-esc > span .amount,
.supra-precios-medidor .med-esc > span .woocommerce-Price-currencySymbol {
	color: inherit !important;
}
.supra-precios-medidor .med-esc > span small {
	font-size: 10px !important;
	font-weight: 600 !important;
	color: #8a8a93 !important;
}
.supra-precios-medidor .med-esc > span small::after {
	content: " pz";
}
.supra-precios-medidor .med-esc > span:last-child {
	border-color: rgba(255, 196, 0, 0.55) !important;
}
.supra-precios-medidor .med-esc > span:last-child::before {
	content: "MEJOR";
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	padding: 1px 5px;
	border-radius: 5px;
	background: var(--m-am);
	color: var(--m-ne);
	font-size: 8px;
	font-weight: 900;
	letter-spacing: 0.06em;
}
.supra-precios-medidor .med-esc > span.hecho {
	background: rgba(255, 196, 0, 0.14) !important;
	border-color: rgba(255, 196, 0, 0.35) !important;
	color: var(--m-am2) !important;
	text-decoration: line-through;
	text-decoration-color: rgba(255, 226, 122, 0.6);
}
.supra-precios-medidor .med-esc > span.hecho small {
	color: #c9b35a !important;
	text-decoration: none;
}
.supra-precios-medidor .med-esc > span.act {
	background: var(--m-am) !important;
	border-color: var(--m-am) !important;
	color: var(--m-ne) !important;
	transform: translateY(-2px) scale(1.06);
	box-shadow: 0 8px 18px -8px rgba(255, 196, 0, 0.9);
	z-index: 1;
}
.supra-precios-medidor .med-esc > span.act small {
	color: rgba(14, 14, 14, 0.75) !important;
}
.supra-precios-medidor .med-esc > span.act::before {
	content: "TU PRECIO";
	position: absolute;
	top: -9px;
	left: 50%;
	transform: translateX(-50%);
	padding: 1px 6px;
	border-radius: 5px;
	background: var(--m-ne);
	color: var(--m-am);
	font-size: 8px;
	font-weight: 900;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.supra-precios-medidor .med-precio .num { font-size: 34px !important; }
	.supra-precios-medidor .med-msg { max-width: none; width: 100%; }
	.supra-precios-medidor .med-esc { gap: 4px !important; }
	.supra-precios-medidor .med-esc > span { font-size: 11px !important; padding: 6px 1px 5px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.supra-precios-medidor .med-fill::before,
	.supra-precios-medidor .med-fill::after { animation: none; }
}


/* =================================================================
 * Celular: ajustes generales (1.3.3)
 * =============================================================== */

/* El medidor de mayoreo nunca debe ensanchar la página. */
.supra-precios-medidor,
.supra-precios-medidor .medidor {
	min-width: 0 !important;
	max-width: 100% !important;
	box-sizing: border-box;
}
.supra-precios-medidor .med-esc > span {
	min-width: 0 !important;
}
.supra-precios-medidor .med-esc > span .amount {
	white-space: nowrap;
}

/* Barra de envío gratis compacta dentro del cajón. */
.svp-wrap.svp-en-cajon {
	margin: 10px 16px !important;
}
.svp-en-cajon .svp-barra {
	padding: 10px 12px 12px;
	border-radius: 14px;
}
.svp-en-cajon .svp-txt {
	gap: 10px;
	margin-bottom: 9px;
}
.svp-en-cajon .svp-ico {
	flex-basis: 30px;
	width: 30px;
	height: 30px;
	border-radius: 9px;
}
.svp-en-cajon .svp-ico svg {
	width: 19px;
	height: 19px;
}
.svp-en-cajon .svp-tit {
	font-size: 13.5px;
}
.svp-en-cajon .svp-sub {
	display: none;
}
.svp-en-cajon .svp-pista {
	height: 11px;
}
.svp-en-cajon .svp-camion {
	width: 24px;
	height: 24px;
	margin-left: -12px;
}
.svp-en-cajon .svp-camion svg {
	width: 16px;
	height: 16px;
}

@media (max-width: 600px) {
	/* Medidor: fichas en carrusel horizontal, sin apretarse. */
	.supra-precios-medidor .medidor {
		padding: 16px 14px 12px !important;
	}
	.supra-precios-medidor .med-precio .num {
		font-size: 34px !important;
	}
	.supra-precios-medidor .med-msg {
		max-width: none;
		width: 100%;
	}
	.supra-precios-medidor .med-esc {
		display: flex !important;
		gap: 6px !important;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin: 0 -14px !important;
		padding: 11px 14px 4px !important;
		scroll-padding: 0 14px;
	}
	.supra-precios-medidor .med-esc::-webkit-scrollbar {
		display: none;
	}
	.supra-precios-medidor .med-esc > span {
		flex: 0 0 68px;
		scroll-snap-align: start;
		font-size: 12.5px !important;
		padding: 7px 2px 6px !important;
	}

	/* Avísame: un campo por renglón. */
	.sva-form input,
	.sva-form input[name="cantidad"],
	.sva-form input[name="whatsapp"] {
		flex: 1 1 100% !important;
	}
	.sva {
		padding: 12px;
	}

	/* Contador de corte un poco más compacto. */
	.svc-cab {
		padding: 10px 12px;
	}
	.svc-fila {
		padding: 10px 12px;
		gap: 8px;
	}
	.svc-nom b {
		font-size: 13.5px;
	}
	.svc-reloj {
		font-size: 16px;
		gap: 2px;
	}
	.svc-reloj span {
		min-width: 28px;
		padding: 6px 3px;
	}
	.svc-sig {
		font-size: 12px;
		padding: 5px 8px;
	}

	/* Barra de envío gratis. */
	.svp-barra {
		padding: 12px 14px 14px;
	}
	.svp-tit {
		font-size: 14px;
	}

	/* Agrega de último momento: carrusel de tarjetas en vez de lista larga. */
	.svu-lista {
		display: flex !important;
		gap: 10px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 12px !important;
	}
	.svu-lista::-webkit-scrollbar {
		display: none;
	}
	.svu-item {
		flex: 0 0 172px;
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 10px !important;
		border: 1.5px solid #ededf0 !important;
		border-radius: 14px;
		scroll-snap-align: start;
		text-align: center;
	}
	.svu-item:first-child {
		border-top: 1.5px solid #ededf0 !important;
	}
	.svu-foto img {
		width: 72px !important;
		height: 72px !important;
		margin: 0 auto !important;
	}
	.svu-info small {
		white-space: normal;
	}
	.svu-acc {
		flex-direction: column;
		gap: 6px;
		margin-top: auto;
	}
	.svu-qty {
		justify-content: space-between;
		height: 36px;
	}
	.svu-qty input {
		flex: 1;
	}
	.svu-add {
		width: 100%;
		flex: 0 0 auto;
		height: 38px;
		font-size: 13px;
	}
	.svu-cab b {
		font-size: 14px;
	}

	/* Cotización y repetir pedido. */
	.svq-caja {
		padding: 20px 16px 16px;
	}
	.svr-caja {
		padding: 14px;
	}
	.svr-btn {
		width: 100%;
		justify-content: center;
	}
}


/* Que ningún bloque ensanche la página en celular (grids del tema). */
.layout > *,
.pdp > *,
.woocommerce.grid > *,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
	min-width: 0;
}
.supra-precios-medidor,
.svu-wrap,
.svp-wrap,
.svc-corte,
.sva-wrap {
	contain: inline-size;
	max-width: 100%;
}

/* Cupones del carrito: que bajen de renglón en vez de salirse. */
.woocommerce-cart .coupon,
.woocommerce-cart-form .coupon {
	flex-wrap: wrap !important;
	gap: 8px;
}
.woocommerce-cart .coupon > #coupon_code {
	flex: 1 1 150px;
	min-width: 0;
}
.woocommerce-cart .coupon > .supra-cupon-frec {
	flex: 1 1 100%;
	min-width: 0;
}
.woocommerce-cart .supra-cupon-frec .coupon {
	flex-wrap: nowrap !important;
}
.woocommerce-cart .supra-cupon-frec .coupon input {
	min-width: 0;
	flex: 1 1 auto;
}
