/* Home-only presentation. ID + root scope also protects against the static home/theme rules. */
#gmr-home #ultimos-pedidos {
  scroll-margin-top: calc(var(--admin-bar, 0px) + var(--theme-frame-size, 0px) + var(--header-sticky-height, var(--header-height, 100px)) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html:has(#gmr-home #ultimos-pedidos) { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(#gmr-home #ultimos-pedidos) { scroll-behavior: auto; }
}
#gmr-home .gmr-orders--home {
  --orders-ink: #184570;
  --orders-muted: #626a76;
  --orders-line: #d5d9e1;
  container-type: inline-size;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: auto;
  min-height: min-content;
  aspect-ratio: auto;
  margin: 40px 0 0;
  padding: 24px;
  border: 1px solid var(--orders-line);
  border-radius: 24px;
  background: #fff;
  color: var(--orders-ink);
  font-family: var(--gmr-font-ui, Inter, system-ui, sans-serif);
  text-align: left;
}
#gmr-home .gmr-orders--home *,
#gmr-home .gmr-orders--home *::before,
#gmr-home .gmr-orders--home *::after { box-sizing: border-box; }
#gmr-home .gmr-orders--home .gmr-orders-home__heading {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 0 20px; border-bottom: 1px solid var(--orders-line);
}
#gmr-home .gmr-orders--home .gmr-orders-home__heading > div { min-width: 0; }
#gmr-home .gmr-orders--home .gmr-orders-home__publish-group {
  display: flex; flex-direction: column; align-items: flex-end; gap: 7px;
  flex: 0 1 auto; max-width: 100%;
}
#gmr-home .gmr-orders--home .gmr-orders-home__heading .gmr-orders-home__tagline {
  width: max-content; max-width: 100%; margin: 0; color: #B42318;
  font-size: 13px; font-weight: 500; line-height: 1.45; text-align: right; overflow-wrap: anywhere;
}
#gmr-home .gmr-orders--home .gmr-orders-home__heading h2 {
  color: var(--orders-ink); font-size: 24px; font-weight: 700;
  line-height: 1.12; letter-spacing: -.02em; margin: 0 0 8px; text-align: left;
}
#gmr-home .gmr-orders--home .gmr-orders-home__heading p {
  font-size: 13px; line-height: 1.45; color: var(--orders-muted); margin: 0;
}
#gmr-home .gmr-orders--home .gmr-orders-home__publish {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--orders-ink); border-radius: 10px;
  color: #fff; background: var(--orders-ink); text-decoration: none; white-space: nowrap;
  font-size: 13px; line-height: 1.25; font-weight: 750;
}
#gmr-home .gmr-orders--home .gmr-orders__rows { display: grid; grid-auto-rows: auto; flex: 0 0 auto; }
#gmr-home .gmr-orders--home .gmr-orders-home__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 24px; padding: 18px 0;
  border: 0; border-bottom: 1px solid var(--orders-line); background: transparent; margin: 0;
}
#gmr-home .gmr-orders--home .gmr-orders-home__row:last-child { border-bottom: 0; }
#gmr-home .gmr-orders--home .gmr-orders-home__content { min-width: 0; }
#gmr-home .gmr-orders--home .gmr-orders-home__meta {
  margin: 0 0 5px; color: var(--orders-muted); font-size: 13px; line-height: 1.45;
}
#gmr-home .gmr-orders--home .gmr-orders-home__meta time { white-space: nowrap; }
#gmr-home .gmr-orders--home .gmr-orders-home__row h3 {
  margin: 0 0 6px; font-size: 18px; line-height: 1.3;
  letter-spacing: -.025em; font-weight: 750; overflow-wrap: anywhere;
}
#gmr-home .gmr-orders--home .gmr-orders-home__row h3 a { color: var(--orders-ink); text-decoration: none; }
#gmr-home .gmr-orders--home .gmr-orders-home__location {
  display: block;
  margin: 0; color: var(--orders-muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere;
}
#gmr-home .gmr-orders--home .gmr-orders-home__origin { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; vertical-align: middle; }
#gmr-home .gmr-orders--home .gmr-orders-home__route {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 6px;
  max-width: 100%; font-size: 11px; font-weight: 700; line-height: 1.5; vertical-align: middle;
}
#gmr-home .gmr-orders--home .gmr-orders-home__route .gmr-orders-home__origin { gap: 6px; }
#gmr-home .gmr-orders--home .gmr-orders-home__flag {
  display: inline-block; width: 24px; height: 16px; flex: 0 0 24px;
  overflow: hidden; border-radius: 2px; vertical-align: middle; font-size: 19px; line-height: 16px;
}
#gmr-home .gmr-orders--home .gmr-orders-home__actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
#gmr-home .gmr-orders--home .gmr-orders-home__actions a {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; color: var(--orders-ink); font-size: 13px;
  line-height: 1.25; font-weight: 700; text-decoration: none; white-space: nowrap;
}
#gmr-home .gmr-orders--home .gmr-orders-home__location .gmr-orders-home__more { display: inline; padding: 0; margin-left: 4px; color: var(--orders-ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
#gmr-home .gmr-orders--home .gmr-orders-home__more span { font-size: 1.4em; line-height: 1; }
#gmr-home .gmr-orders--home .gmr-orders-home__contact { padding: 9px 14px; border: 1px solid #bcc3ce; border-radius: 10px; background: #fff; }
#gmr-home .gmr-orders--home .gmr-orders-home__lock { display: block; width: 18px; height: 20px; flex: 0 0 18px; }
#gmr-home .gmr-orders--home .gmr-orders-home__footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  border-top: 1px solid var(--orders-line); padding-top: 16px;
}
#gmr-home .gmr-orders--home .gmr-orders-home__footer p { margin: 0; color: var(--orders-muted); font-size: 13px; line-height: 1.5; }
#gmr-home .gmr-orders--home .gmr-orders-home__footer a { color: var(--orders-ink); text-decoration: none; font-size: 13px; font-weight: 750; }
#gmr-home .gmr-orders--home .gmr-orders__empty { margin: 20px 0; color: var(--orders-muted); font-size: 13px; }
#gmr-home .gmr-orders--home .gmr-orders-home__row--demo {
  padding-inline: 14px; background: #fffbf2; border-left: 3px solid #b7791f;
}
#gmr-home .gmr-orders--home .gmr-orders-home__row--demo .gmr-orders-home__meta {
  color: #815209; font-weight: 700;
}
#gmr-home .gmr-orders--home .gmr-orders-home__demo-summary {
  margin: 8px 0 0; color: var(--orders-muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere;
}
#gmr-home .gmr-orders--home .gmr-orders-home__demo-notice {
  display: flex; flex-direction: column; gap: 6px; max-width: 190px;
  color: #815209; font-size: 12px; line-height: 1.45;
}
#gmr-home .gmr-orders--home a:hover { text-decoration: underline; text-underline-offset: 4px; }
#gmr-home .gmr-orders--home .gmr-orders-home__publish:hover { color: #fff; background: #123b63; text-decoration: none; }
#gmr-home .gmr-orders--home a:focus-visible { outline: 3px solid var(--orders-ink); outline-offset: 5px; }
@media (max-width: 760px) {
  #gmr-home .gmr-orders--home { aspect-ratio: auto; padding: 24px 20px; }
  #gmr-home .gmr-orders--home .gmr-orders-home__heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  #gmr-home .gmr-orders--home .gmr-orders-home__publish-group { align-self: stretch; }
  #gmr-home .gmr-orders--home .gmr-orders-home__row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 0; }
  #gmr-home .gmr-orders--home .gmr-orders-home__actions { justify-content: flex-start; flex-wrap: wrap; gap: 18px 28px; }
  #gmr-home .gmr-orders--home .gmr-orders-home__footer { align-items: flex-start; flex-direction: column; }
  #gmr-home .gmr-orders--home .gmr-orders__rows { grid-auto-rows: auto; }
}
