.ih-envios-link {
	display: inline-block;
	margin: 0 0 1rem;
	font-weight: 600;
}

.ih-envios-section,
#product-shipping-title {
	scroll-margin-top: 11rem;
}

@media (min-width: 768px) {
	.ih-envios-section,
	#product-shipping-title {
		scroll-margin-top: 7rem;
	}
}

.ih-envios-section h2,
#cart-shipping-container > h2 {
	color: #242424;
}

.ih-envios-resumen {
	margin: 0 0 1rem;
	padding: .25rem .85rem;
	border: 1px solid #dce5dc;
	border-radius: 8px;
	background: #f6f8f5;
	color: #242424;
	line-height: 1.35;
	text-align: left;
}

.ih-envios-resumen[hidden] { display: none; }
.ih-envios-summary-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: .5rem;
	padding: .65rem 0;
	font-size: 13px;
}
.ih-envios-summary-row + .ih-envios-summary-row { border-top: 1px solid #e2e8df; }
.ih-envios-summary-label { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.ih-envios-summary-label strong { font-weight: 500; }
.ih-envios-summary-price { font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ih-envios-summary-service { display: block; margin-top: .2rem; font-size: 12px; color: #555; }
.ih-envios-summary-badge { padding: .1rem .35rem; border-radius: 3px; background: #e2ebdd; color: #344b2d; font-size: 10px; font-weight: 600; }
.ih-envios-summary-row.is-suggested .ih-envios-summary-label strong { font-weight: 700; }
.ih-envios-details { margin: 1rem 0; border-top: 1px solid #e1e1dc; border-bottom: 1px solid #e1e1dc; color: #444; text-align: left; }
.ih-envios-details > summary { cursor: pointer; padding: .85rem 0; font-size: 13px; font-weight: 500; }
.ih-envios-details > summary:focus-visible { outline: 2px solid #667748; outline-offset: 3px; }
.ih-envios-details-body { padding: 0 0 .85rem; font-size: 13px; line-height: 1.45; }
.ih-envios-special { display: inline-block; margin: .4rem 0; font-size: 12px; }

.ih-envios-convenio,
.ih-envios-sin-opciones {
	color: #5b5b5b;
}


.ih-envios-recomendado .js-shipping-radio { outline: 2px solid rgba(40, 115, 80, .28); outline-offset: 1px; }

/* Product-only compact rendering; cart keeps the regular summary and native toggles. */
.ih-envios-product-view .ih-envios-resumen {
	margin: 0 0 .5rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.ih-envios-product-view .ih-envios-resumen[hidden] { display: none !important; }
.ih-envios-product-view .js-other-shipping-options,
.ih-envios-product-view .js-other-pickup-options { display: block !important; }
.ih-envios-product-view .js-toggle-more-shipping-options { display: none !important; }
.ih-envios-product-view .js-shipping-list-item[hidden] { display: none !important; }
.ih-envios-product-view .js-shipping-list-item { margin-bottom: .35rem !important; }
.ih-envios-product-view .js-shipping-radio { padding: .65rem .75rem; }
.ih-envios-product-view .radio-button-content { padding: 0; }
.ih-envios-product-view .radio-button-container { margin-bottom: .5rem !important; }
.ih-envios-product-view .radio-button-item.mb-2 { margin-bottom: .35rem !important; }
.ih-envios-product-view .font-medium.d-flex.align-items-center.mb-3 { margin-bottom: .35rem !important; }
.ih-envios-product-view .ih-envios-product-minimum [data-component="option.name"]::after {
	content: "Menor precio";
	display: inline-block;
	margin-left: .45rem;
	padding: .12rem .4rem;
	border-radius: 3px;
	background: #e2ebdd;
	color: #344b2d;
	font-size: 10px;
	font-weight: 600;
	vertical-align: middle;
}
.ih-envios-product-view .ih-envios-product-selected:not(.ih-envios-product-minimum) [data-component="option.name"]::after {
	content: "Seleccionado";
	background: #eceeea;
	color: #444;
}
.ih-envios-product-controls { line-height: 1.4; }
.ih-envios-product-more { min-height: 2.25rem; padding: .35rem 0; text-align: left; text-underline-offset: 2px; }
.ih-envios-product-more:focus-visible { outline: 2px solid #667748; outline-offset: 2px; }
.ih-envios-product-view .ih-envios-details { margin: .6rem 0; }
.ih-envios-product-view .ih-envios-details > summary { padding: .55rem 0; }
.ih-envios-product-view .js-product-branches-container { margin-top: .2rem; }
.ih-envios-section { margin-bottom: .5rem; }

.ih-product-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.ih-product-columns .product-images,
.ih-product-columns .product-info { min-width: 0; width: 100%; }
.ih-product-secondary { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; margin: 1rem 0 1.5rem; }
.ih-product-secondary-column { min-width: 0; }
.ih-product-secondary-trust { font-size: .95rem; }
.ih-product-trust-block { margin-bottom: .5rem; }
.ih-product-disclosure { border-top: 1px solid #e1e1dc; border-bottom: 1px solid #e1e1dc; }
.ih-product-disclosure > summary { cursor: pointer; padding: .9rem 0; font-weight: 600; }
.ih-product-disclosure > summary:focus-visible { outline: 2px solid #667748; outline-offset: 3px; }
.ih-product-disclosure-content { padding: 0 0 .75rem; }
.ih-product-disclosure-content > * { max-width: 100%; }
@media (max-width: 767px) {
	.ih-product-columns { display: block; }
	.ih-product-secondary { grid-template-columns: minmax(0, 1fr); gap: .5rem; margin: .75rem 0 1rem; }
	.ih-product-secondary-column + .ih-product-secondary-column { border-top: 1px solid #e5e5e0; padding-top: .75rem; }
	.ih-product-secondary .ih-rf { margin: .35rem 0 .75rem; }
	.ih-product-secondary .ih-rf-item { flex-basis: min(72vw, 280px); }
	.ih-product-disclosure > summary { padding: .75rem 0; }
}

/* The theme has no sr-only utility. Keep the live announcement out of the visual list. */
.ih-envios-product-live { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.ih-envios-product-view .js-product-shipping-label { margin-bottom: .5rem !important; padding-bottom: 0 !important; color: #666; }
.ih-envios-product-view .js-shipping-calculator-response > .font-medium { margin-bottom: .4rem !important; }
.ih-envios-product-view .radio-button-container { margin-bottom: .65rem !important; }
