/* Shared customer access: the homepage and Agenda use the same component. */
.account-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 12px;
  min-height: 46px;
  padding: 12px 16px;
  box-sizing: border-box;
  border: 1px solid rgba(226, 189, 116, .42);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(199, 154, 72, .09), rgba(199, 154, 72, .035));
  color: #f3eee4;
  font: 700 14px/20px var(--sans, Arial, sans-serif);
  letter-spacing: .1px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.account-access svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #e2bd74;
}
.account-access:hover {
  border-color: #e2bd74;
  background-color: rgba(199, 154, 72, .12);
  color: #fff;
}
.account-access:focus-visible {
  outline: 2px solid #e2bd74;
  outline-offset: 4px;
}
.header-tools { gap: 14px; }
.header-tools .language-picker select { height: 46px; border-radius: 12px; }
.agenda-topbar { min-height: 80px; padding: 16px 0; }
@media (max-width: 760px) {
  /* Keep the brand and language together; access gets an uncluttered row. */
  .header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  .header-main > .brand { grid-area: 1 / 1 / 2 / 2; }
  .header-tools { display: contents; }
  .header-tools > .language-picker { grid-area: 1 / 2 / 2 / 3; }
  .header-tools > .account-access { grid-area: 2 / 1 / 3 / 3; justify-self: end; }
}
@media (max-width: 620px) {
  .account-access { gap: 10px; padding: 11px 13px; font-size: 13px; }
  .agenda-topbar { gap: 12px; min-height: 76px; padding: 14px 0; }
}
@media (max-width: 360px) {
  .agenda-topbar { flex-wrap: wrap; }
  .agenda-topbar > .account-access { margin-left: auto; }
  #productos, #video-agenda, #planes-agenda { scroll-margin-top: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-access { transition: none; }
}
