/* Promeat Cobertura */
:root {
	--pc-green: #2E7D32;
	--pc-dark: #044313;
	--pc-light: #56BB3E;
	--pc-soft: #F1F7EE;
	--pc-line: #DCE8D7;
	--pc-text: #54595F;
}

/* ---------- Botón selector (cápsula) ---------- */
.pc-selector-wrap { display: flex; }
.pc-selector {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 8px 14px; border: 1.5px solid var(--pc-line); border-radius: 40px;
	background: #fff; color: var(--pc-dark);
	font: 600 13px/1.2 Poppins, system-ui, sans-serif; letter-spacing: .3px; text-transform: uppercase;
	cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s, box-shadow .2s;
}
.pc-selector:hover { border-color: var(--pc-light); background: var(--pc-soft); }
.pc-selector:focus-visible { outline: 2px solid var(--pc-light); outline-offset: 2px; }
.pc-selector__pin { color: var(--pc-green); flex: 0 0 auto; }
.pc-selector__chev { opacity: .6; flex: 0 0 auto; }
.pc-selector:not(.pc-selector--set) .pc-selector__label { color: var(--pc-green); }

/* ---------- Popup ---------- */
.pc-modal[hidden] { display: none !important; }
.pc-modal { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pc-modal__backdrop { position: absolute; inset: 0; background: rgba(4, 30, 10, .55); opacity: 0; transition: opacity .25s; }
.pc-modal__box {
	position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto;
	background: #fff; border-radius: 24px; padding: 34px 28px 28px; text-align: center;
	box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45);
	transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s ease, opacity .25s ease;
	font-family: Poppins, system-ui, sans-serif;
}
.pc-modal--in .pc-modal__backdrop { opacity: 1; }
.pc-modal--in .pc-modal__box { transform: none; opacity: 1; }
.pc-modal__x {
	position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
	background: var(--pc-soft); color: var(--pc-dark); font-size: 22px; line-height: 1; cursor: pointer; padding: 0;
}
.pc-modal__x:hover { background: var(--pc-line); }
.pc-modal--locked .pc-modal__x { display: none; }
.pc-modal__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%;
	background: var(--pc-soft); color: var(--pc-green); margin-bottom: 12px;
}
.pc-modal__icon--warn { background: #FFF2E8; color: #E36A00; font: 800 26px/1 Poppins, sans-serif; }
.pc-modal__title { margin: 0 0 8px !important; font: 800 24px/1.2 Poppins, sans-serif !important; color: var(--pc-dark) !important; letter-spacing: -.3px; }
.pc-modal__text { margin: 0 0 20px !important; font-size: 14.5px; line-height: 1.55; color: var(--pc-text); }

.pc-field { display: block; text-align: left; margin: 0 0 14px; }
.pc-field > span { display: block; font-size: 13px; font-weight: 600; color: var(--pc-dark); margin-bottom: 6px; }
.pc-field > span em { font-weight: 400; font-style: normal; color: #8A8F94; }
.pc-field select {
	width: 100%; height: 50px; padding: 0 42px 0 16px; border: 1.5px solid var(--pc-line) !important; border-radius: 14px !important;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23044313' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 16px center;
	-webkit-appearance: none; appearance: none; font: 500 15px Poppins, sans-serif; color: var(--pc-dark); cursor: pointer;
}
.pc-field select:focus { border-color: var(--pc-light) !important; outline: none; box-shadow: 0 0 0 3px rgba(86, 187, 62, .18); }

.pc-info {
	background: var(--pc-soft); border: 1px solid var(--pc-line); border-radius: 12px;
	padding: 12px 14px; margin: 0 0 16px; text-align: left; font-size: 13.5px; line-height: 1.6; color: var(--pc-dark);
}
.pc-info[hidden] { display: none; }

.pc-btn {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border: 0; border-radius: 40px;
	background: var(--pc-green); color: #fff !important; font: 700 16px Poppins, sans-serif; cursor: pointer; text-decoration: none !important;
	box-shadow: 0 10px 22px -12px rgba(46, 125, 50, .8); transition: background .2s, transform .2s;
}
.pc-btn:hover { background: var(--pc-dark); transform: translateY(-1px); }
.pc-btn[disabled] { background: #B9CDB3; box-shadow: none; cursor: not-allowed; transform: none; }
.pc-btn--wa { background: #25D366; }
.pc-btn--wa:hover { background: #1EBE5A; }
.pc-btn--loading { opacity: .7; pointer-events: none; }

.pc-out-links { display: flex; justify-content: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.pc-link { background: none; border: 0; padding: 0; color: var(--pc-green) !important; font: 600 14px Poppins, sans-serif; cursor: pointer; text-decoration: underline; }

html.pc-noscroll, html.pc-noscroll body { overflow: hidden !important; }

/* Celular: hoja inferior */
@media (max-width: 600px) {
	.pc-modal { align-items: flex-end; padding: 0; }
	.pc-modal__box { max-width: none; border-radius: 22px 22px 0 0; padding: 30px 20px 24px; transform: translateY(40px); max-height: 90vh; }
	.pc-modal__title { font-size: 21px !important; }
}

/* Checkout */
.pc-hidden-field { display: none !important; }

/* ---------- Protección frente a los estilos globales de botones del tema ---------- */
html body button.pc-selector,
html body button.pc-selector:hover,
html body button.pc-selector:focus {
	background-color: #fff; background-image: none; color: var(--pc-dark);
	border: 1.5px solid var(--pc-line); border-radius: 40px; box-shadow: none;
	padding: 8px 14px; margin: 0; width: auto; min-width: 0; height: auto; min-height: 0;
	font: 600 13px/1.2 Poppins, system-ui, sans-serif; letter-spacing: .3px; text-transform: uppercase; text-decoration: none;
}
html body button.pc-selector:hover { border-color: var(--pc-light); background-color: var(--pc-soft); }
html body .pc-modal button.pc-modal__x {
	background: var(--pc-soft); color: var(--pc-dark); border: 0; border-radius: 50%; box-shadow: none;
	width: 36px; height: 36px; min-height: 0; padding: 0; font-size: 22px; line-height: 1;
}
html body .pc-modal button.pc-modal__x:hover { background: var(--pc-line); }
html body .pc-modal button.pc-btn {
	background: var(--pc-green); background-image: none; color: #fff; border: 0; border-radius: 40px;
	width: 100%; min-height: 52px; padding: 0 20px; font: 700 16px Poppins, sans-serif; text-transform: none; letter-spacing: 0;
	box-shadow: 0 10px 22px -12px rgba(46, 125, 50, .8);
}
html body .pc-modal button.pc-btn:hover { background: var(--pc-dark); }
html body .pc-modal button.pc-btn[disabled] { background: #B9CDB3; color: #fff; box-shadow: none; }
html body .pc-modal button.pc-link {
	background: none; border: 0; padding: 0; box-shadow: none; min-height: 0; width: auto;
	color: var(--pc-green); font: 600 14px Poppins, sans-serif; text-transform: none; text-decoration: underline;
}

/* Carrito: municipio de la calculadora de envío (lista) */
html body select.pc-calc-city {
	width: 100% !important; height: 56px !important; min-height: 56px !important; padding: 0 44px 0 16px !important; margin: 0 !important;
	border: 1px solid #D5DFD1 !important; border-radius: 10px !important; box-shadow: none !important;
	background: #F9FAFA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23222' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center !important;
	-webkit-appearance: none !important; appearance: none !important;
	font: 400 14.4px/1.5 Roboto, sans-serif !important; color: #69727D !important; cursor: pointer;
}
html body select.pc-calc-city:focus { border-color: #56BB3E !important; outline: none !important; box-shadow: 0 0 0 3px rgba(86, 187, 62, .18) !important; }
