/* Temascotizamos – selector de ubicación (mismos colores y tipografía del carrito). */
.tc-zona, .tc-zona-chip, .tc-zona-note, .tc-zona-tag {
	--z-ink: #1b2340;
	--z-navy: #22346b;
	--z-teal: #139fae;
	--z-teal-soft: #e8f6f7;
	--z-red: #d6385a;
	--z-muted: #6a7187;
	--z-line: #e4e7ee;
	--z-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}
.tc-zona *, .tc-zona *::before, .tc-zona *::after { box-sizing: border-box; }
html.tc-zona-lock, html.tc-zona-lock body { overflow: hidden; }

.tc-zona-pin { flex: none; vertical-align: -3px; }

/* ---------- Ventana ---------- */
.tc-zona {
	--z-blue: #2f5bd3;
	position: fixed; inset: 0; z-index: 999999;
	display: flex; align-items: center; justify-content: center;
	padding: 16px; font-family: inherit;
}
.tc-zona[hidden] { display: none; }
.tc-zona__backdrop {
	position: absolute; inset: 0;
	background: rgba(20, 28, 56, .55); backdrop-filter: blur(3px);
	opacity: 0; transition: opacity .2s ease;
}
.tc-zona__card {
	position: relative;
	width: 100%; max-width: 440px;
	background: #fff; border-radius: 30px;
	padding: 18px 30px 34px;
	box-shadow: 0 24px 64px rgba(20, 28, 56, .28);
	color: var(--z-ink);
	opacity: 0; transform: translateY(14px) scale(.98);
	transition: opacity .22s ease, transform .22s ease;
}
.tc-zona.is-open .tc-zona__backdrop { opacity: 1; }
.tc-zona.is-open .tc-zona__card { opacity: 1; transform: none; }
.tc-zona.is-loading .tc-zona__card { opacity: .7; pointer-events: none; }

/* Círculos azules y rojos */
.tc-zona__bg { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.tc-zona__dot { position: absolute; border-radius: 50%; }
.tc-zona__dot--blue { width: 230px; height: 230px; top: -110px; right: -80px; background: var(--z-navy); }
.tc-zona__dot--red { width: 190px; height: 190px; bottom: -120px; left: -80px; background: var(--z-red); }
.tc-zona__dot--blue-sm { width: 20px; height: 20px; top: 34px; left: 40px; background: var(--z-blue); opacity: .85; }
.tc-zona__dot--red-sm { width: 14px; height: 14px; top: 132px; left: 34px; background: var(--z-red); opacity: .8; }
.tc-zona__card > *:not(.tc-zona__bg) { position: relative; z-index: 1; }

.tc-zona__x {
	position: absolute !important; top: 14px; right: 14px; z-index: 3 !important;
	width: 36px; height: 36px; padding: 0; margin: 0;
	border: 0; border-radius: 50%;
	background: #fff; color: var(--z-navy);
	font-size: 24px; line-height: 36px; cursor: pointer;
	box-shadow: 0 2px 8px rgba(20, 28, 56, .2);
}
.tc-zona__x[hidden] { display: none; }

/* Gato dentro de un círculo azul, con círculos rojo y azul alrededor */
.tc-zona__hero { --d: 168px; position: relative; width: var(--d); height: var(--d); margin: 4px auto 14px; }
.tc-zona__halo {
	position: absolute; inset: 0; border-radius: 50%;
	background: var(--z-blue);
	box-shadow: 0 0 0 9px rgba(47, 91, 211, .14);
}
.tc-zona__halo::before, .tc-zona__halo::after { content: ""; position: absolute; border-radius: 50%; box-shadow: 0 0 0 5px #fff; }
.tc-zona__halo::before { width: 30px; height: 30px; background: var(--z-red); right: -10px; top: 8px; z-index: 2; }
.tc-zona__halo::after { width: 16px; height: 16px; background: var(--z-navy); left: -6px; bottom: 22px; z-index: 2; }
.tc-zona__peek { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.tc-zona__cat { position: absolute; left: -4%; top: 2%; width: 112%; height: auto; max-width: none; }

.tc-zona__title {
	display: flex; align-items: center; gap: 10px;
	margin: 0 0 10px !important; padding: 0;
	font-family: var(--z-display) !important; font-weight: 600 !important;
	font-size: 28px !important; line-height: 1.15 !important; letter-spacing: -.01em;
	color: var(--z-ink) !important;
}
.tc-zona__title .tc-zona-pin { width: 28px; height: 28px; color: var(--z-navy); }
.tc-zona__text { margin: 0 0 20px; font-size: 15.5px; line-height: 1.5; color: var(--z-ink); }
.tc-zona__text strong { font-weight: 700; }
.tc-zona__label {
	display: block; margin: 0 0 8px;
	font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--z-ink);
}

/* Lista desplegable */
.tc-zona__select { position: relative; }
.tc-zona__toggle {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	width: 100%; height: 56px; margin: 0; padding: 0 18px 0 20px;
	background: #fff !important; color: var(--z-ink) !important;
	border: 1.5px solid var(--z-line) !important; border-radius: 16px !important;
	font: inherit; font-size: 16px; text-align: left; text-transform: none; letter-spacing: 0;
	cursor: pointer; box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tc-zona__toggle:hover, .tc-zona__toggle[aria-expanded="true"] { border-color: var(--z-navy) !important; }
.tc-zona__toggle:focus-visible { outline: 3px solid rgba(47, 91, 211, .3); outline-offset: 2px; }
.tc-zona__current.is-placeholder { color: var(--z-muted); }
.tc-zona__caret { flex: none; color: var(--z-navy); transition: transform .2s ease; }
.tc-zona__toggle[aria-expanded="true"] .tc-zona__caret { transform: rotate(180deg); }

.tc-zona__list {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5;
	margin: 0; padding: 8px; list-style: none;
	background: #fff; border-radius: 18px;
	box-shadow: 0 18px 44px rgba(20, 28, 56, .22);
	max-height: 280px; overflow-y: auto;
	animation: tc-zona-drop .16s ease;
}
.tc-zona__list[hidden] { display: none; }
@keyframes tc-zona-drop { from { opacity: 0; transform: translateY(-6px); } }
.tc-zona__item {
	position: relative; display: flex; align-items: center; gap: 12px;
	margin: 0; padding: 13px 14px; border-radius: 12px;
	font-size: 16px; color: #4b5266; cursor: pointer; outline: none;
}
.tc-zona__item::before {
	content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%;
	background: var(--z-blue);
}
.tc-zona__item:nth-child(even)::before { background: var(--z-red); }
.tc-zona__item:hover, .tc-zona__item:focus { background: #f2f5fc; color: var(--z-ink); }
.tc-zona__item.is-current { color: var(--z-navy); font-weight: 700; }
.tc-zona__item.is-current::after {
	content: ""; margin-left: auto; width: 18px; height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2322346b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Celular: se abre desde abajo */
@media (max-width: 560px) {
	.tc-zona { align-items: flex-end; padding: 0; }
	.tc-zona__card { max-width: none; border-radius: 28px 28px 0 0; padding: 14px 20px calc(26px + env(safe-area-inset-bottom)); transform: translateY(40px); }
	.tc-zona__card { max-height: 92vh; overflow-y: auto; }
	.tc-zona__hero { --d: 132px; }
	.tc-zona__list { position: static; margin-top: 8px; max-height: none; box-shadow: 0 0 0 1.5px var(--z-line); }
	.tc-zona__title { font-size: 24px !important; }
	.tc-zona__list { max-height: 46vh; }
}
@media (prefers-reduced-motion: reduce) {
	.tc-zona__card, .tc-zona__backdrop, .tc-zona__list { transition: none; animation: none; }
}

/* ---------- Botón "Bogotá D.C. · Cambiar" ---------- */
.tc-zona-chip {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0; padding: 8px 14px 8px 12px;
	background: #fff !important; color: var(--z-ink) !important;
	border: 1px solid var(--z-line) !important; border-radius: 999px !important;
	font: inherit; font-size: 14px; line-height: 1.2; text-transform: none; letter-spacing: 0;
	cursor: pointer; white-space: nowrap;
	box-shadow: 0 4px 14px rgba(20, 28, 56, .10);
}
.tc-zona-chip:hover { border-color: var(--z-teal) !important; }
.tc-zona-chip .tc-zona-pin { color: var(--z-teal); }
.tc-zona-chip__txt { font-weight: 600; }
.tc-zona-chip__cta { color: var(--z-teal); font-weight: 600; font-size: 13px; padding-left: 8px; border-left: 1px solid var(--z-line); }

.tc-zona-float { position: fixed; left: 16px; bottom: 16px; z-index: 99990; }
@media (max-width: 560px) { .tc-zona-float { left: 12px; bottom: 12px; } .tc-zona-chip { font-size: 13px; } }

/* ---------- Nota bajo el precio del producto ---------- */
.tc-zona-note {
	display: flex; align-items: center; gap: 6px;
	margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--z-muted);
}
.tc-zona-note .tc-zona-pin { color: var(--z-teal); }
.tc-zona-note button {
	padding: 0; margin: 0; border: 0; background: none !important;
	color: var(--z-teal) !important; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer;
}

/* ---------- Etiqueta en el resumen de Finalizar compra ---------- */
.tc-zona-row td { padding: 0 0 10px !important; border: 0 !important; width: 100%; }
.tc-zona-tag {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px; border-radius: 999px;
	font-size: 13px; font-weight: 600;
	background: var(--z-teal-soft); color: #0e7480;
}
.tc-zona-tag--nacional { background: #eef1f9; color: var(--z-navy); }
