/* Price alternatives and native disclosure controls. */
.portada-metrica .offer-value .price-options,
.installment-price > .price-options {
  --price-option-fill: #f4e6d1;
  --price-option-ink: #143f42;
  margin: 0;
  width: min(100%, 15rem);
  border-color: #a8c3bb;
}
.installment-price .price-options::before {
  transition: transform 200ms cubic-bezier(.22, 1, .36, 1);
}
.portada-metrica .offer-value .price-options button,
.installment-price .price-options button {
  min-height: 44px;
  font-size: 14px;
}
.installment-rule {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  inline-size: min(100%, 15rem);
  margin-block: 8px 14px;
}
.installment-rule > span {
  height: 4px;
  background: #f4e6d1;
  transform-origin: left;
  transition: transform 200ms cubic-bezier(.22, 1, .36, 1), background-color 180ms ease-out;
}
.price-options[hidden] + .installment-rule { display: none; }
.price-options[data-selection="installments"] + .installment-rule > span { transform: scaleX(.78); }
.price-options[data-selection="installments"] + .installment-rule > span:not(:first-child) { background: #86aaa2; }
.installment-price :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.portada-metrica .home-offer-featured :focus-visible { outline: 2px solid #fff5e5; outline-offset: 3px; }
.installment-price .price-options button[aria-pressed="true"]:focus-visible { outline: 2px solid #143f42; outline-offset: -4px; }
.portada-metrica ::selection { color: #143f42; background: #e3d4e9; }
.disclosure-glyph { display: inline-flex; }
.disclosure-glyph svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.disclosure-glyph .stem { transform-origin: center; transition: transform 180ms cubic-bezier(.22,1,.36,1); }
.faq-list details[open] > summary > .disclosure-glyph,
.promotion-details[open] > summary > .disclosure-glyph { transform: none; }
details[open]:not([data-closing]) > summary .disclosure-glyph .stem { transform: scaleY(0); }

@media (prefers-reduced-motion: reduce) {
  .installment-rule > span, .installment-price .price-options::before,
  .disclosure-glyph .stem { transition: none; }
}
@media (forced-colors: active) {
  .installment-price button[aria-pressed="true"] { outline: 2px solid ButtonText; outline-offset: -4px; }
  .installment-rule > span { background: CanvasText; forced-color-adjust: none; }
  .price-options[data-selection="installments"] + .installment-rule > span:not(:first-child) { background: GrayText; }
}
