/* Tibor - Calculadora Stickers. Ajustada al lenguaje visual de Roll Up. */
.tibor-stickers-calc {
	--tsc-navy: #0b3989;
	--tsc-navy-hover: #012b4e;
	--tsc-border: #e2e8f0;
	--tsc-muted: #667a8a;
	--tsc-soft: #f5f8fb;
	font-family: 'Inter', Arial, sans-serif;
	color: #1f2d3a;
	max-width: 520px;
}

.tsc-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.tsc-head-ic {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(11,57,137,.08);
	color: var(--tsc-navy);
	flex: none;
}

.tsc-head svg,
.tsc-segment svg,
.tsc-add svg,
.tsc-drop svg {
	width: 20px;
	height: 20px;
}

.tsc-head h2 {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--tsc-navy);
	margin: 0;
	letter-spacing: 0;
}

.tsc-head p {
	margin: 3px 0 0;
	color: var(--tsc-muted);
	font-size: 14px;
}

.tsc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.tsc-field {
	margin-bottom: 16px;
}

.tsc-field label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--tsc-muted);
	margin-bottom: 7px;
}

.tsc-input {
	display: flex;
	align-items: center;
	min-height: 44px;
	border: 1.5px solid var(--tsc-border);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.tsc-input input,
.tsc-field select {
	width: 100%;
	min-height: 44px;
	border: 1.5px solid var(--tsc-border);
	border-radius: 10px;
	background: #fff;
	color: var(--tsc-navy);
	font-size: 15px;
	font-weight: 600;
	padding: 0 12px;
}

.tsc-input input {
	border: 0;
	min-width: 0;
}

.tsc-input span {
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	border-left: 1.5px solid var(--tsc-border);
	color: var(--tsc-muted);
	font-size: 13px;
	font-weight: 700;
	padding: 0 12px;
}

.tsc-segment {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tsc-plazo {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tsc-segment button {
	flex: 1 1 auto;
	min-width: 120px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 14px;
	border: 1.5px solid var(--tsc-border);
	border-radius: 10px;
	background: #fff;
	color: #33475b;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s, box-shadow .15s, transform .06s;
}

.tsc-segment button:hover {
	border-color: var(--tsc-navy);
}

.tsc-segment button:active {
	transform: translateY(1px);
}

.tsc-segment button[aria-pressed="true"] {
	border-color: var(--tsc-navy);
	background: rgba(11,57,137,.08);
	color: var(--tsc-navy);
	box-shadow: inset 0 0 0 1px var(--tsc-navy);
}

.tsc-drop {
	border: 1.5px dashed var(--tsc-border);
	border-radius: 10px;
	background: var(--tsc-soft);
	padding: 24px 16px 26px;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}

.tsc-drop:hover,
.tsc-drop.is-drag {
	border-color: var(--tsc-navy);
	background: rgba(11,57,137,.06);
}

.tsc-drop-ic {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	color: var(--tsc-navy);
	margin-bottom: 8px;
	box-shadow: 0 2px 8px rgba(11,57,137,.12);
}

.tibor-stickers-calc .tsc-drop-ic svg {
	display: block !important;
	width: 24px !important;
	height: 24px !important;
	max-width: 24px !important;
	max-height: 24px !important;
}

.tsc-drop-main {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 6px;
}

.tsc-drop-main b {
	color: #1f2d3a;
	font-size: 14px;
}

.tsc-drop-main span,
.tsc-drop small {
	color: var(--tsc-muted);
	font-size: 13px;
}

.tsc-drop small {
	display: block;
	margin-top: 10px;
}

.tsc-browse {
	border: none;
	border-radius: 999px;
	background: var(--tsc-navy);
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	padding: 11px 18px;
	transition: background .12s, transform .06s;
}

.tsc-browse:hover {
	background: var(--tsc-navy-hover);
}

.tsc-browse:active {
	transform: translateY(1px);
}

.tsc-steps {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	color: #6b7b95;
}

.tsc-steps i {
	display: block;
	flex: 1 1 18px;
	height: 2px;
	min-width: 12px;
	border-radius: 999px;
	background: #c9d9ec;
}

.tsc-step {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.tsc-step span {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 50%;
	border: 1px solid #c9d9ec;
	background: #eef4f9;
	color: #6b7b95;
	font-weight: 800;
}

.tsc-step b {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tsc-step.is-active {
	color: var(--tsc-navy);
}

.tsc-step.is-active span {
	border-color: var(--tsc-navy);
	background: #fff;
	color: var(--tsc-navy);
	box-shadow: 0 0 0 3px rgba(11,57,137,.08);
}

.tsc-files {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 10px 0 0;
	padding: 0;
}

.tsc-file {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border: 1px solid var(--tsc-border);
	border-radius: 10px;
	background: #fff;
}

.tsc-file-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--tsc-navy);
	font-size: 13px;
	font-weight: 700;
}

.tsc-file button {
	border: 0;
	background: transparent;
	color: #b32d2e;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 6px;
	border-radius: 6px;
}

.tsc-file button:hover {
	background: #fbeae7;
}

.tsc-price {
	margin: 18px 0 14px;
	padding: 14px 16px;
	background: var(--tsc-soft);
	border: 1px solid var(--tsc-border);
	border-radius: 12px;
}

.tsc-price > div:first-child {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.tsc-price span {
	color: var(--tsc-muted);
	font-size: 13px;
	font-weight: 600;
}

.tsc-total {
	color: var(--tsc-navy);
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

.tsc-breakdown {
	margin: 0 0 10px;
	padding: 0 0 10px;
	border-bottom: 1px solid var(--tsc-border);
}

.tsc-breakdown > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 2px 0;
}

.tsc-breakdown dt,
.tsc-breakdown dd {
	margin: 0;
	color: var(--tsc-muted);
	font-size: 14px;
	font-weight: 600;
}

.tsc-breakdown dd {
	color: var(--tsc-navy);
	white-space: nowrap;
}

.tsc-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.tsc-meta span {
	border: 1px solid var(--tsc-border);
	border-radius: 999px;
	background: #fff;
	color: var(--tsc-navy);
	padding: 5px 9px;
}

.tsc-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 50px;
	padding: 15px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--tsc-navy);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	transition: background .2s, opacity .2s, transform .06s;
}

.tsc-add:hover:not(:disabled) {
	background: var(--tsc-navy-hover);
}

.tsc-add:active:not(:disabled) {
	transform: translateY(1px);
}

.tsc-add:disabled {
	opacity: .6;
	background: var(--tsc-navy);
	cursor: not-allowed;
}

.tsc-msg {
	min-height: 20px;
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 700;
	color: #b32d2e;
}

.tsc-msg.is-error {
	color: #b42318;
}

.tsc-msg.is-ok,
.tsc-msg.is-info {
	color: var(--tsc-navy);
}

.tibor-stickers-product .summary {
	position: sticky;
	top: 18px;
	align-self: start;
}

body.tibor-stickers-product {
	padding-bottom: 0;
}

body.tibor-stickers-product .t26-chrome.t26-footer {
	padding-bottom: 96px;
}

body.tibor-stickers-product .tsc-sticky {
	position: fixed !important;
	inset: auto 0 0 0;
	z-index: 999;
	isolation: isolate;
	background: #fff;
}

body.tibor-stickers-product .tsc-sticky .tvc-add {
	border-radius: 999px;
	background: var(--tsc-navy, #0b3989);
	color: #fff;
	min-width: 220px;
}

body.tibor-stickers-product .tsc-sticky .tvc-add:hover:not(:disabled) {
	background: var(--tsc-navy-hover, #012b4e);
}

@media (max-width: 980px) {
	body.tibor-stickers-product.tibor-mobile-menu-open .tsc-sticky {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
}

@media (max-width: 780px) {
	.tibor-stickers-calc {
		max-width: 100%;
	}

	body.tibor-stickers-product .t26-chrome.t26-footer {
		padding-bottom: calc(80px + env(safe-area-inset-bottom));
	}

	body.tibor-stickers-product .tsc-sticky {
		padding-bottom: env(safe-area-inset-bottom);
	}

	body.tibor-stickers-product .tsc-sticky .tvc-sticky-inner {
		width: 100%;
		min-height: 64px;
		padding: 8px 16px;
		gap: 12px;
	}

	body.tibor-stickers-product .tsc-sticky .tvc-sticky-p {
		flex: 0 0 auto;
	}

	body.tibor-stickers-product .tsc-sticky .tvc-add {
		flex: 1 1 220px;
		width: auto;
		min-width: 0;
		max-width: 250px;
		margin-left: auto;
		padding: 12px 16px;
		white-space: nowrap;
	}

	.tsc-grid,
	.tsc-plazo {
		grid-template-columns: 1fr;
	}

	.tsc-price > div:first-child {
		align-items: flex-start;
		flex-direction: column;
	}

	.tsc-total {
		font-size: 26px;
	}

	.tsc-steps {
		align-items: flex-start;
		gap: 6px;
	}

	.tsc-step {
		flex-direction: column;
		align-items: center;
		text-align: center;
		font-size: 11px;
		white-space: normal;
	}

	.tsc-step b {
		white-space: normal;
	}

	.tsc-steps i {
		margin-top: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tibor-stickers-calc *,
	.tsc-add {
		transition: none !important;
	}
}


/* ── Fecha de entrega dentro del chip de plazo (19 ago 2026) ──────────────────
   El nombre arriba y el rango debajo, para que se vea qué se está eligiendo.
   Va al FINAL del archivo y sin !important: gana por orden. Borrar este bloque
   entero lo deja exactamente como estaba. */
.tsc-plazo button > span {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.2;
}
.tsc-plazo button small {
	display: block;
	margin-top: 2px;
	font-size: 11.5px;
	font-weight: 500;
	opacity: .72;
	white-space: nowrap;
}
