.ec-body {
  margin: 0;
  background: #f4f6f8;
  color: #1d2327;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ec-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #162e3d;
  color: #fff;
}
.ec-top a { color: #fff; text-decoration: none; }
.ec-top__brand { font-weight: 800; }
.ec-top__nav { display: flex; flex-wrap: wrap; gap: 0.85rem; font-size: 0.92rem; }
@media (max-width: 720px) {
  .ec-top__nav { display: none; }
}
.ec-main { width: min(100% - 1.5rem, 960px); margin: 1rem auto 3rem; }
body.ec-page .ec-main { min-height: 42vh; margin: 1.25rem auto 2rem; }
body.ec-page .ec-card > a,
body.ec-page .ec-hero a {
  color: #0369a1;
  font-weight: 650;
}
.ec-card, .ec-offer, .ec-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}
.ec-card { padding: 1rem; margin-bottom: 0.85rem; }
.ec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.85rem; }
.ec-offer { overflow: hidden; display: flex; flex-direction: column; }
.ec-offer a { color: inherit; text-decoration: none; display: block; }
.ec-offer img, .ec-cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #162e3d; display: block; }
.ec-offer__body, .ec-pad { padding: 0.85rem 1rem 1rem; }
.ec-muted { color: #64748b; font-size: 0.85rem; }
.ec-price del { color: #94a3b8; margin-right: 0.35rem; }
.ec-price strong { color: #162e3d; }
.ec-points { color: #0f766e; font-weight: 700; }
.ec-btn, button.ec-btn, a.ec-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  min-height: 44px; padding: 0.45rem 0.9rem; border-radius: 12px; border: 0;
  background: #162e3d; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer;
}
.ec-btn--ok { background: #0f766e; }
.ec-btn--line, button.ec-btn.ec-btn--line, a.ec-btn.ec-btn--line {
  background: #fff; color: #162e3d; border: 1px solid #e5e7eb;
}
.ec-btn--danger { background: #b91c1c; }
.ec-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.ec-field { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 0.75rem; }
.ec-field[hidden] { display: none; }
.ec-field input, .ec-field textarea, .ec-field select {
  min-height: 44px; min-width: 0; border: 1px solid #e5e7eb; border-radius: 12px; padding: 0.45rem 0.7rem; font: inherit;
}
.ec-field textarea { min-height: 96px; }
.ec-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.ec-alert { padding: 0.7rem 0.85rem; border-radius: 12px; }
.ec-alert--ok { background: #ecfdf5; color: #065f46; }
.ec-alert--erro { background: #fef2f2; color: #991b1b; }
.ec-alert--aviso { background: #fffbeb; color: #92400e; }
.ec-steps { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.ec-steps span { padding: 0.25rem 0.55rem; border-radius: 999px; background: #e5e7eb; font-size: 0.8rem; }
.ec-steps span.is-on { background: #162e3d; color: #fff; }
.ec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.ec-table th, .ec-table td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.ec-table th { font-size: 0.78rem; color: #64748b; }
.ec-tabs { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.ec-tabs a,
.ec-tabs button { padding: 0.4rem 0.7rem; border-radius: 999px; background: #fff; border: 1px solid #e5e7eb; color: inherit; text-decoration: none; font: inherit; cursor: pointer; }
.ec-tabs a.is-on,
.ec-tabs button.is-on,
.ec-tabs .ec-btn:not(.ec-btn--line) { background: #162e3d; color: #fff; border-color: #162e3d; }
.ec-sheet__ico { width: 3rem; height: 3rem; border-radius: 999px; display: grid; place-items: center; background: #fde8e8; color: #dc2626; font-size: 1.25rem; }
.ec-selo { display: inline-flex; align-items: center; min-height: 22px; padding: 0 0.45rem; border-radius: 999px; background: #e8f6fd; color: #162e3d; font-size: 0.75rem; font-weight: 700; }
#ec-map { height: 420px; border-radius: 16px; border: 1px solid #e5e7eb; }
.ec-sheet {
  position: fixed; inset: 0; z-index: 11000; display: none; align-items: flex-end; justify-content: center;
}
.ec-sheet.is-open { display: flex; }
.ec-sheet__back {
  position: absolute; inset: 0; border: 0; cursor: pointer;
  background: rgba(15, 23, 42, 0.55);
}
.ec-sheet__panel {
  position: relative; z-index: 1; width: min(100%, 28rem); max-height: min(92dvh, 760px); overflow: auto;
  background: #fff; border-radius: 22px 22px 0 0; padding: 1rem;
  box-shadow: 0 -18px 48px rgba(10, 18, 24, 0.28);
}
@media (min-width: 640px) {
  .ec-sheet { align-items: center; padding: 1.5rem 0; }
  .ec-sheet__panel { border-radius: 18px; }
}
html.ec-cart-open,
html.ec-cart-open body { overflow: hidden; }
html.ec-cart-open .public-bottom-nav,
html.ec-cart-open .site-header,
html.ec-cart-open .ec-cart-fab {
  display: none !important;
}
.ec-cart-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #162e3d;
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 46, 61, 0.32);
  cursor: pointer;
}
.ec-cart-fab:not([hidden]) {
  display: inline-flex;
}
.ec-cart-fab:focus-visible {
  outline: 2px solid #00a2ed;
  outline-offset: 3px;
}
.ec-cart-fab__icon {
  display: block;
  width: 22px;
  height: 22px;
}
.ec-cart-fab__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #00a2ed;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.ec-cart-fab__badge[hidden] {
  display: none !important;
}
@media (min-width: 769px) {
  .ec-cart-fab {
    bottom: 1.25rem;
  }
}
.ec-cart {
  margin: 0.75rem 0 0.4rem;
  padding: 0.85rem 0.9rem 1rem;
  border: 1px solid #e8eef3;
  border-radius: 16px;
  background: #fff;
}
.ec-cart header { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.35rem; color: #162e3d; }
.ec-cart header strong { font-size: 1rem; }
.ec-cart__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0.45rem 0.65rem;
  align-items: center;
  padding: 0.55rem 0;
  border-top: 1px solid #eef2f6;
  color: #162e3d;
}
.ec-cart__row img, .ec-cart__ph { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #f4f7fa; }
.ec-cart__row > span { font-size: 0.92rem; }
.ec-cart__row > strong { font-size: 0.95rem; }
.ec-cart__qty { grid-column: 2 / -1; display: flex; align-items: center; gap: 0.5rem; }
.ec-cart__step {
  display: inline-flex; align-items: center; gap: 0.1rem;
  border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; overflow: hidden;
}
.ec-cart__step button {
  min-width: 34px; min-height: 34px; border: 0; background: none; color: #162e3d; font-size: 1rem; cursor: pointer;
}
.ec-cart__step b { min-width: 1.5rem; text-align: center; font-size: 0.9rem; }
.ec-cart__del {
  min-width: 34px; min-height: 34px; border: 1px solid #f1d6db; border-radius: 999px;
  background: #fff; color: #b3261e; cursor: pointer;
}
.ec-cart__sub { display: flex; justify-content: space-between; align-items: center; margin: 0.35rem 0 0.75rem; color: #162e3d; font-weight: 700; }
.ec-cart .ec-btn { width: 100%; }
.ec-cart .ec-btn + .ec-btn { margin-top: 0.5rem; }
.ec-cart__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.5rem 0.5rem 0.5rem;
  color: #64748b;
}
.ec-cart__empty-ico {
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  color: #162e3d;
  font-size: 1.6rem;
}
.ec-cart__empty strong { color: #162e3d; font-size: 1.05rem; }
.ec-cart__empty span { max-width: 19rem; font-size: 0.88rem; line-height: 1.5; }
.ec-cart__empty .ec-btn { margin-top: 0.9rem; min-width: 12rem; }
.ec-sheet .ec-cart { border: 0; padding: 0; margin: 0; }
.ec-sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  margin: -0.25rem 0 0.35rem;
}
.ec-sheet__head strong { color: #162e3d; font-size: 1.05rem; }
.ec-sheet__head button {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0;
  background: #f4f7fa; color: #162e3d; display: grid; place-items: center; cursor: pointer;
}
.ec-sheet--cart .ec-sheet__panel {
  padding: 1rem 1rem calc(1.15rem + env(safe-area-inset-bottom));
}
@media (min-width: 640px) {
  .ec-sheet--cart .ec-sheet__panel { padding-bottom: 1.15rem; }
}
.perfil-visitante__more { position: relative; margin-left: auto; }
.perfil-visitante__more .perfil-visitante__signout-icon { margin-top: 2.85rem; margin-left: 0; }

.perfil-visitante__tile--activity > .perfil-visitante__rail--bento,
.perfil-visitante__rail--bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
  gap: 10px;
  overflow: visible;
  flex-wrap: unset;
  padding: 4px 0 0.75rem;
  margin: 0 0 0.85rem;
  border-bottom: 1px solid #e8eef3;
}
.perfil-visitante__rail--bento .perfil-visitante__rail-item {
  min-width: 0;
  min-height: 0;
  justify-content: center;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  padding: 0.45rem 0.2rem 0.35rem;
}
.perfil-visitante__rail--bento .perfil-visitante__rail-item:hover {
  border: 0;
  background: transparent;
}
.perfil-visitante__rail--bento .perfil-visitante__rail-icon,
.perfil-visitante__rail--bento .perfil-visitante__rail-icon .bi {
  width: auto;
  height: auto;
  background: transparent;
  color: #162e3d;
  font-size: 1.45rem;
  box-shadow: none;
  filter: none;
  text-shadow: none;
}
.perfil-visitante__rail--bento .perfil-visitante__rail-label {
  max-width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  color: #162e3d;
}

.perfil-visitante__profile--loja .perfil-visitante__rating-sep { display: none; }
.perfil-visitante__profile--loja .perfil-visitante__rating-count {
  color: #64748b;
  font-weight: 500;
}
.perfil-visitante__profile--loja .perfil-visitante__name { font-size: 1.2rem; }
@media (min-width: 769px) {
  .perfil-visitante__profile--loja .perfil-visitante__name { font-size: 1.35rem; }
}
.perfil-visitante__profile--loja .perfil-visitante__more .perfil-visitante__signout-icon {
  margin-top: 0.15rem;
}

.ec-loja-card {
  margin-top: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 16px;
}
.ec-loja-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.ec-loja-card__head strong {
  font-size: 1.05rem;
  color: #162e3d;
}
.ec-loja-card__head .ec-muted { display: block; margin-top: 2px; font-size: 0.82rem; }
.ec-loja-card__head > i { color: #94a3b8; font-size: 1.05rem; }
.ec-loja-card__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 10px;
  text-align: center;
  margin: 0 0 12px;
}
.ec-loja-card__stats div {
  padding: 0.65rem 0.35rem 0.55rem;
  border: 1px solid #e8eef3;
  border-radius: 12px;
  background: #fff;
}
.ec-loja-card__stats b {
  display: block;
  font-size: 1.4rem;
  line-height: 1.15;
  color: #162e3d;
  font-weight: 700;
}
.ec-loja-card__stats span { color: #64748b; font-size: 0.74rem; }
.ec-loja-card__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.ec-loja-card .ec-btn,
.ec-visit-card .ec-btn {
  min-height: 46px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
}
.ec-loja-card .ec-btn--line,
.ec-visit-card .ec-btn--line {
  background: #fff;
  color: #162e3d;
  border: 1px solid #e5e7eb;
}
.ec-loja-card__hist {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin-top: 10px;
  padding: 0.75rem;
  border: 1px solid #e8eef3;
  border-radius: 12px;
  background: #fff;
  color: #162e3d;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.ec-loja-card__hist > i { margin-left: auto; color: #94a3b8; }

.ec-loja-reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.1rem 0 0.65rem;
}
.ec-loja-reviews-head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #16324a;
  letter-spacing: -0.02em;
}
.ec-loja-reviews-head button {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 0;
  background: none;
  color: #64748b;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0;
}


.ec-visit-card {
  margin-top: 10px;
  padding: 18px 16px 16px;
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(22, 46, 61, 0.06);
}
.ec-visit-card__balance {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.ec-visit-card__amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
  color: #162e3d;
}
.ec-visit-card__cur {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-0.55rem);
}
.ec-visit-card__amount strong {
  font-size: 2.85rem;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.ec-visit-card.is-masked .ec-visit-card__amount strong {
  letter-spacing: 0.14em;
}
.ec-visit-card__eye {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 0.15rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #64748b;
  cursor: pointer;
}
.ec-visit-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.ec-visit-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: #eef2f6;
  color: #162e3d;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.ec-visit-card__cta--loud {
  background: #162e3d;
  color: #fff;
}
.ec-visit-card__cut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: 14px;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #e7f5fc 0%, #f3f8fb 100%);
  color: #162e3d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.ec-visit-card__cut--warn {
  background: linear-gradient(135deg, #fff6e5 0%, #fffaf0 100%);
}
.ec-visit-card__cut--static { cursor: default; }
.ec-visit-card__cut-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  font-size: 0.84rem;
}
.ec-visit-card__cut-ico {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #009ee3;
  box-shadow: 0 1px 4px rgba(22, 46, 61, 0.08);
  font-size: 0.85rem;
}
.ec-visit-card__cut--warn .ec-visit-card__cut-ico { color: #c4851a; }
.ec-visit-card__cut-val {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  white-space: nowrap;
  color: #162e3d;
}
.ec-visit-card__cut-val small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
}
.ec-visit-card__cut-val b {
  font-size: 0.95rem;
  font-weight: 700;
}
.ec-visit-card__warn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 12px 0 0;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  background: #fff8e8;
  color: #9a6b12;
  border: 0;
  border-radius: 12px;
}
.ec-visit-card__warn span { flex: 1; font-weight: 600; }
.ec-visit-card__warn > .bi:last-child { color: #c4a056; }
.ec-visit-card__nivel {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 8px;
  color: #162e3d;
  font-size: 0.88rem;
  font-weight: 700;
}
.ec-visit-card__nivel span { color: #64748b; font-weight: 600; font-size: 0.8rem; }
.ec-visit-card .ec-progress { margin: 8px 0 0; height: 6px; background: #e2e8f0; }
.ec-visit-card .ec-progress i { background: #009ee3; }
.ec-visit-card .ec-btn {
  min-height: 44px;
  border-radius: 10px;
  font-size: 0.88rem;
}
.ec-visit-card .ec-btn--line {
  background: #f6f8fa;
  border-color: transparent;
}
.ec-progress { height: 8px; background: #e8eef3; border-radius: 999px; overflow: hidden; }
.ec-progress i { display: block; height: 100%; background: #162e3d; }

.ec-tx { padding: 0 0 0.4rem; }
.ec-tx__hero {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin: 0 0 14px;
  color: #162e3d;
}
.ec-tx__hero strong {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.ec-tx__hero small {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}
.ec-tx__warn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 12px;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #fff8e8;
  color: #9a6b12;
  font-size: 0.8rem;
  font-weight: 600;
}
.ec-tx__list {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef2f6;
  overflow: hidden;
}
.ec-tx__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
}
.ec-tx__row:last-child { border-bottom: 0; }
.ec-tx__ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.85rem;
}
.ec-tx__ico.is-in { background: #e8f7ee; color: #0f766e; }
.ec-tx__ico.is-out { background: #f1f5f9; color: #64748b; }
.ec-tx__copy { min-width: 0; }
.ec-tx__copy b {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #162e3d;
  letter-spacing: -0.01em;
}
.ec-tx__copy small {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 0.75rem;
}
.ec-tx__val {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ec-tx__val.is-in { color: #0f766e; }
.ec-tx__val.is-out { color: #162e3d; }
.ec-ms { padding: 0 0 0.4rem; }
.ec-ms__hero {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin: 0 0 6px;
  color: #162e3d;
}
.ec-ms__hero strong {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.ec-ms__hero small {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}
.ec-ms__meta {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
}
.ec-ms__bar {
  height: 6px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: #e8eef3;
  overflow: hidden;
}
.ec-ms__bar i {
  display: block;
  height: 100%;
  background: #00a2ed;
  border-radius: inherit;
}
.ec-ms__list {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef2f6;
  overflow: hidden;
}
.ec-ms__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
}
.ec-ms__row:last-child { border-bottom: 0; }
.ec-ms__ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f6fd;
  color: #0284c7;
  font-size: 0.95rem;
}
.ec-ms__row.is-done .ec-ms__ico { background: #e8f7ee; color: #0f766e; }
.ec-ms__row.is-wait .ec-ms__ico { background: #fff6e5; color: #c4851a; }
.ec-ms__copy { min-width: 0; }
.ec-ms__copy b {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #162e3d;
  letter-spacing: -0.01em;
}
.ec-ms__copy small {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1.35;
}
.ec-ms__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 4.2rem;
}
.ec-ms__val {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f766e;
  white-space: nowrap;
}
.ec-ms__row.is-done .ec-ms__val { color: #94a3b8; }
.ec-ms__side small {
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 650;
}
.ec-ms__row.is-wait .ec-ms__side small { color: #c4851a; }
.ec-ms__act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: #162e3d;
  color: #fff;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.ec-ms__act:hover { filter: brightness(1.06); color: #fff; }
.ec-ms__empty {
  margin: 0.4rem 0 0;
  color: #94a3b8;
  font-size: 0.85rem;
}
.ec-ms__empty a {
  color: #00a2ed;
  font-weight: 700;
  text-decoration: none;
}
.ec-ms__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.ec-ms__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #eef2f6;
  color: #162e3d;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.ec-ms__tab.is-on {
  background: #162e3d;
  color: #fff;
}
.ec-ms__row.is-spend .ec-ms__ico { background: #e8f6fd; color: #0284c7; }
.ec-ms__row.is-spend .ec-ms__val { color: #162e3d; }
.ec-ms__cupom {
  padding: 0.2rem 0.9rem 1.1rem;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}
.ec-ms__cupom:last-child { border-bottom: 0; }
.ec-ms__hint {
  margin: 0.35rem 0 0;
  text-align: center;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}

.ec-lv { padding: 0.05rem 0 0.15rem; }
.ec-lv__hero { margin: 0; color: #162e3d; }
.ec-lv__hero strong {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.ec-lv__meta {
  margin: 0.28rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
}
.ec-lv__bar {
  height: 4px;
  margin: 0.9rem 0 0;
  border-radius: 999px;
  background: #e8eef3;
  overflow: hidden;
}
.ec-lv__bar i {
  display: block;
  height: 100%;
  background: #00a2ed;
  border-radius: inherit;
}
.ec-lv__path {
  --ec-lv-ico: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.ec-lv__path::before {
  content: "";
  position: absolute;
  left: calc(var(--ec-lv-ico) / 2);
  top: 1.15rem;
  bottom: 1.15rem;
  width: 1px;
  background: #e8eef3;
  transform: translateX(-0.5px);
}
.ec-lv__step {
  position: relative;
  display: grid;
  grid-template-columns: var(--ec-lv-ico) minmax(0, 1fr) auto;
  column-gap: 0.85rem;
  align-items: center;
  min-height: var(--ec-lv-ico);
  margin: 0;
  padding: 0.85rem 0;
}
.ec-lv__ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--ec-lv-ico);
  height: var(--ec-lv-ico);
  border-radius: 999px;
  background: #eef2f6;
  color: #94a3b8;
  font-size: 0.92rem;
}
.ec-lv__step.is-done .ec-lv__ico { background: #e8f7ee; color: #0f766e; }
.ec-lv__step.is-now .ec-lv__ico {
  background: #162e3d;
  color: #00a2ed;
  box-shadow: 0 0 0 3px rgba(0, 162, 237, 0.14);
}
.ec-lv__step.is-next .ec-lv__ico { background: #e8f6fd; color: #0284c7; }
.ec-lv__copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}
.ec-lv__copy b {
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #162e3d;
  line-height: 1.25;
}
.ec-lv__copy small {
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1.35;
}
.ec-lv__step.is-lock .ec-lv__copy b { color: #94a3b8; font-weight: 550; }
.ec-lv__side {
  align-self: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1;
}
.ec-lv__step.is-now .ec-lv__side { color: #00a2ed; }
.ec-lv__step.is-done .ec-lv__side { color: #0f766e; }
.ec-lv__empty {
  margin: 1rem 0 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.ec-tx__empty {
  margin: 1.2rem 0 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.88rem;
}

.ec-body { padding-bottom: 5rem; }
body.ec-page { padding-bottom: 0; }

.ec-hero { margin: 0 0 1rem; }
.ec-hero h1 { margin: 0 0 0.25rem; font-size: 1.55rem; color: #162e3d; }
.ec-search {
  display: flex; gap: 0.5rem; margin: 0.85rem 0;
}
.ec-search input {
  flex: 1; min-height: 44px; border: 1px solid #e5e7eb; border-radius: 12px; padding: 0.45rem 0.75rem; font: inherit;
}
.ec-offer h2 { margin: 0 0 0.2rem; font-size: 0.95rem; }
.ec-offer__cta {
  display: block; margin-top: 0.55rem; text-align: center;
  min-height: 40px; line-height: 40px; border-radius: 12px;
  background: #162e3d; color: #fff; font-weight: 700; text-decoration: none;
}
.ec-badge {
  position: absolute; top: 10px; left: 10px;
  background: #162e3d; color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.45rem; border-radius: 8px;
}
.ec-offer { position: relative; }
.ec-save { color: #0f766e; font-size: 0.8rem; font-weight: 700; }

.ec-prod {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.75rem; background: #fff; border: 1px solid #e8eef3; border-radius: 16px; margin-bottom: 0.65rem;
}
.ec-prod .ec-row { grid-column: 1 / -1; }
.ec-prod img, .ec-prod__ph {
  width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: #e8eef3;
}
.ec-prod h2 { margin: 0 0 0.15rem; font-size: 0.95rem; }
.ec-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; display: inline-block; margin-right: 0.3rem; }
.ec-dot--off { background: #94a3b8; }

.ec-wizard {
  background: #fff; border-radius: 22px 22px 0 0; padding: 0.4rem 1rem 1.2rem;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}
@media (min-width: 720px) {
  .ec-wizard { border-radius: 22px; padding: 1rem 1.25rem 1.4rem; }
}
.ec-wizard__handle {
  width: 42px; height: 5px; border-radius: 999px; background: #d6dee6; margin: 0.35rem auto 0.8rem;
}
.ec-wizard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.ec-wizard__top h1 { margin: 0; font-size: 1.35rem; color: #162e3d; }
.ec-wizard__close {
  width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: #162e3d; text-decoration: none;
}
.ec-stepper { display: flex; align-items: center; gap: 0.35rem; margin: 0.9rem 0 1rem; font-size: 0.82rem; }
.ec-stepper span {
  display: inline-flex; align-items: center; gap: 0.3rem; color: #94a3b8;
}
.ec-stepper span i, .ec-stepper span b {
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #e8eef3; color: #64748b; font-size: 0.7rem; font-style: normal;
}
.ec-stepper span.is-on { color: #162e3d; font-weight: 700; }
.ec-stepper span.is-done { color: #64748b; }
.ec-stepper span[data-perfil-ec-go] { cursor: pointer; }
.ec-stepper span.is-on b, .ec-stepper span.is-done i { background: #162e3d; color: #fff; }
.ec-stepper em { flex: 1; height: 2px; background: #e8eef3; font-size: 0; }
.ec-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-bottom: 0.9rem; }
.ec-seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ec-photo {
  position: relative; width: 88px; height: 88px; border-radius: 16px; overflow: hidden;
  border: 1px dashed #cbd5e1; background: #f8fafc; color: #162e3d;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; cursor: pointer;
}
.ec-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ec-var { margin-bottom: 0.15rem; }
.ec-wizard__foot .ec-btn:only-child { grid-column: 1 / -1; }
.ec-sub { margin: 0 0 0.85rem; color: #64748b; font-size: 0.92rem; }
.ec-label { margin: 0.2rem 0 0.15rem; font-weight: 700; color: #162e3d; }
.ec-hint { display: block; margin: 0.2rem 0 0.7rem; color: #94a3b8; font-size: 0.8rem; font-weight: 500; }
.ec-hint[hidden] { display: none !important; }
.ec-q {
  display: flex; align-items: center; gap: 0.45rem;
  border: 1px solid #e5e7eb; border-radius: 12px; padding: 0 0.75rem; min-height: 46px; margin-bottom: 0.75rem; background: #fff;
}
.ec-q i { color: #94a3b8; }
.ec-q input { border: 0; flex: 1; min-height: 42px; font: inherit; background: transparent; outline: none; }
.ec-btn--block { width: 100%; margin-bottom: 0.85rem; }
.ec-utabs { display: flex; border-bottom: 1px solid #e8eef3; margin: 0 0 0.35rem; }
.ec-utabs button {
  flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 0.7rem 0.2rem; color: #94a3b8; font: inherit; font-weight: 700; cursor: pointer;
}
.ec-utabs button.is-on { color: #162e3d; border-bottom-color: #162e3d; }
.ec-item { border-bottom: 1px solid #eef2f6; }
.ec-pcard {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0.55rem; align-items: center;
  padding: 0.8rem 0;
}
.ec-pcard img, .ec-pcard__ph, .ec-chip img, .ec-chip .ec-pcard__ph {
  width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #f4f6f8;
}
.ec-pcard__main { min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.ec-pcard__main strong, .ec-chip strong { color: #162e3d; font-size: 0.95rem; }
.ec-pcard__price { color: #162e3d; font-weight: 800; }
.ec-pcard__vis { display: inline-flex; align-items: center; gap: 0.3rem; color: #16a34a; font-size: 0.78rem; font-weight: 700; }
.ec-pcard__vis i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.ec-pcard__vis.is-off { color: #94a3b8; }
.ec-pcard__vis.is-off i { background: #94a3b8; }
.ec-pcard__edit, .ec-pcard__more {
  border: 0; background: none; color: #162e3d; font: inherit; font-weight: 700; cursor: pointer; padding: 0.35rem;
}
.ec-pcard__edit { display: inline-flex; align-items: center; gap: 0.25rem; color: #1d4ed8; }
.ec-pcard__acts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ec-pcard__acts .ec-pcard__edit,
.ec-pcard__acts .ec-pcard__more {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  background: #f4f7fa;
  color: #162e3d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
}
.ec-pcard__acts .ec-pcard__edit:hover,
.ec-pcard__acts .ec-pcard__more:hover,
.ec-pcard__acts .ec-pcard__edit:focus-visible,
.ec-pcard__acts .ec-pcard__more:focus-visible {
  background: #162e3d;
  color: #fff;
  outline: none;
}
.ec-pmenu {
  margin: 0 0 0.8rem; padding: 0.35rem 0.8rem 0.55rem; border: 1px solid #e8eef3; border-radius: 16px; background: #fff;
  box-shadow: 0 10px 28px rgba(22, 46, 61, 0.06);
}
.ec-pmenu__kicker { margin: 0.45rem 0 0.2rem; color: #94a3b8; font-size: 0.75rem; font-weight: 700; }
.ec-pmenu__top { display: flex; justify-content: space-between; gap: 0.5rem; padding-bottom: 0.45rem; border-bottom: 1px solid #eef2f6; }
.ec-pmenu__top strong { color: #162e3d; }
.ec-pmenu form { margin: 0; }
.ec-pmenu__act {
  display: flex; align-items: center; gap: 0.7rem; width: 100%;
  border: 0; background: none; padding: 0.7rem 0; text-align: left; cursor: pointer; font: inherit; color: #162e3d;
}
.ec-pmenu__act i { font-size: 1.1rem; }
.ec-pmenu__act b { display: block; }
.ec-pmenu__act small, .ec-switch small, .ec-linkrow small, .ec-chip span { display: block; color: #94a3b8; font-size: 0.78rem; font-weight: 500; }
.ec-photos { display: flex; gap: 0.55rem; overflow-x: auto; padding: 0.15rem 0 0.8rem; }
.ec-thumb {
  position: relative; width: 86px; height: 86px; flex: 0 0 auto; border-radius: 14px; overflow: hidden;
  background: #f4f6f8; border: 1px solid #e8eef3;
}
.ec-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ec-thumb button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: #fff; color: #162e3d; cursor: pointer; display: grid; place-items: center; font-size: 0.7rem;
}
.ec-photoadd {
  position: relative; width: 86px; height: 86px; flex: 0 0 auto; border: 1px dashed #cbd5e1; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  color: #162e3d; font-size: 0.68rem; font-weight: 700; text-align: center; cursor: pointer; background: #fff;
}
.ec-photoadd input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ec-field .ec-count { align-self: flex-end; margin-top: -0.35rem; color: #94a3b8; font-size: 0.75rem; }
.ec-field .ec-money, .ec-vrow .ec-money {
  display: flex; align-items: center; gap: 0.3rem; min-height: 44px; padding: 0 0.7rem;
  border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; color: #64748b; font-weight: 700;
}
.ec-field .ec-money input, .ec-vrow .ec-money input {
  border: 0; min-height: 40px; padding: 0; width: 100%; border-radius: 0; font-weight: 600; color: #162e3d;
}
.ec-switch {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  margin: 0.85rem 0; cursor: pointer;
}
.ec-switch b { display: block; color: #162e3d; }
.ec-switch input {
  appearance: none; width: 46px; height: 28px; border-radius: 999px; background: #d6dee6;
  position: relative; cursor: pointer; flex: 0 0 auto; border: 0;
}
.ec-switch input::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  transition: transform 0.15s ease;
}
.ec-switch input:checked { background: #16324a; }
.ec-switch input:checked::after { transform: translateX(18px); }
.ec-chip {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem; margin-bottom: 0.4rem;
  border: 1px solid #e8eef3; border-radius: 14px; background: #f8fafc;
}
.ec-chip button {
  margin-left: auto; border: 0; background: none; color: #1d4ed8; font: inherit; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.ec-pane-vars .ec-switch { margin: 0.35rem 0 0.7rem; }
.ec-pane-vars .ec-field { margin-bottom: 0.65rem; }
.ec-pane-vars .ec-wizard__foot { margin-top: 1.1rem; }
.ec-varbox { margin: 0.15rem 0 0.85rem; }
.ec-vrow {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 36px;
  gap: 10px 12px;
  align-items: start;
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid #e8eef3;
  border-radius: 16px;
  background: #fff;
}
.ec-vrow--head { display: none; }
.ec-vphoto {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
  cursor: pointer;
}
.ec-vphoto.is-on { border-style: solid; border-color: #e8eef3; }
.ec-vphoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ec-vphoto img[hidden],
.ec-vphoto__ph[hidden] { display: none !important; }
.ec-vphoto__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 700;
}
.ec-vphoto__ph i { font-size: 1.05rem; color: #162e3d; }
.ec-vphoto input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ec-vphoto__x[hidden] { display: none !important; }
.ec-vphoto__x {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #162e3d;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}
.ec-vrow__main { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ec-vrow__top { display: flex; align-items: center; gap: 8px; }
.ec-vrow__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ec-vrow input[type="color"][hidden] { display: none !important; }
.ec-varbox:not(.is-cor) .ec-vrow__top > [data-ec-var-cor] { display: none !important; }
.ec-varbox:not(.is-com-cores) .ec-vcores { display: none !important; }
.ec-vcores {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid #eef2f6;
}
.ec-vcores__label {
  margin: 0 0 8px;
  color: #162e3d;
  font-size: 0.78rem;
  font-weight: 700;
}
.ec-vcor {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 36px;
  gap: 8px 10px;
  align-items: start;
  margin: 0 0 8px;
  padding: 8px;
  border-radius: 12px;
  background: #f8fafc;
}
.ec-vphoto--sm { width: 44px; height: 44px; border-radius: 12px; }
.ec-vcor__main { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ec-vcor__top { display: flex; align-items: center; gap: 8px; }
.ec-vcor__top input:not([type="color"]):not([type="hidden"]) {
  min-height: 40px;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.3rem 0.6rem;
  font: inherit;
  background: #fff;
}
.ec-vcor input[type="color"] {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
}
.ec-vcores .ec-addline { padding-top: 0.15rem; }
.ec-vrow input[type="color"] {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
}
.ec-vrow__nome,
.ec-vrow input:not([type="color"]):not([type="hidden"]):not([type="file"]) {
  min-height: 40px;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.3rem 0.6rem;
  font: inherit;
}
.ec-vrow .ec-money { min-height: 40px; padding: 0 0.45rem; gap: 0.2rem; }
.ec-vrow .ec-money em { font-style: normal; color: #94a3b8; font-weight: 700; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.02em; }
.ec-vrow .ec-money input { border: 0; min-height: 36px; min-width: 0; padding: 0; }
.ec-vrow__del {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #fff5f5;
  color: #b91c1c;
  cursor: pointer;
}
.ec-addline {
  display: inline-flex; align-items: center; gap: 0.3rem; border: 0; background: none;
  color: #1d4ed8; font: inherit; font-weight: 700; cursor: pointer; padding: 0.35rem 0 0.6rem;
}
.ec-linkrow {
  display: flex; align-items: center; gap: 0.7rem; width: 100%; margin: 0.2rem 0 0.4rem; padding: 0.75rem;
  border: 1px solid #e8eef3; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: #162e3d;
}
.ec-linkrow b { display: block; }
.ec-linkrow .bi-chevron-right { margin-left: auto; color: #94a3b8; }
.ec-pcard__cat { color: #94a3b8; font-size: 0.78rem; }
.ec-stepper span { cursor: pointer; }
.ec-stepper span.is-done b { background: #162e3d; color: #fff; }
.ec-pricecards, .ec-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; margin-bottom: 0.85rem; }
.ec-pricecard, .ec-place {
  display: flex; flex-direction: column; gap: 0.15rem; min-height: 100%;
  border: 1px solid #e5e7eb; border-radius: 14px; padding: 0.65rem; background: #fff; cursor: pointer;
}
.ec-place { align-items: flex-start; text-align: left; }
.ec-pricecard input, .ec-place input { accent-color: #162e3d; margin: 0 0 0.2rem; }
.ec-pricecard b, .ec-place b { color: #162e3d; font-size: 0.82rem; }
.ec-pricecard small, .ec-place small { color: #64748b; font-size: 0.72rem; line-height: 1.35; }
.ec-place i { font-size: 1.15rem; color: #162e3d; }
.ec-pricecard.is-on, .ec-place.is-on { border-color: #16324a; background: #f4f8fb; box-shadow: inset 0 0 0 1px #16324a; }
.ec-field .ec-money em { font-style: normal; color: #94a3b8; font-weight: 600; font-size: 0.78rem; white-space: nowrap; }
.ec-field .ec-money .bi-whatsapp { color: #16a34a; }
.ec-seg button {
  min-height: 42px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; color: #64748b;
  font: inherit; font-weight: 700; cursor: pointer;
}
.ec-seg button.is-on { background: #162e3d; color: #fff; border-color: #162e3d; }
.ec-wizard__foot {
  display: grid; grid-template-columns: 1fr; gap: 0.55rem; margin-top: 1rem;
}
.ec-wizard__foot .ec-btn { width: 100%; }
.ec-kv { width: 100%; border-collapse: collapse; }
.ec-kv th, .ec-kv td { padding: 0.55rem 0; border-bottom: 1px solid #eef2f6; text-align: left; }
.ec-kv th { color: #64748b; font-weight: 500; width: 48%; }
.ec-preview {
  display: grid; grid-template-columns: 88px 1fr; gap: 0.75rem; align-items: center;
  padding: 0.7rem; border: 1px solid #e8eef3; border-radius: 14px; margin-bottom: 1rem;
}
.ec-preview img, .ec-preview__ph { width: 88px; height: 72px; object-fit: cover; border-radius: 10px; background: #e8eef3; }
.ec-check {
  display: flex; gap: 0.5rem; align-items: center; min-height: 44px;
  padding: 0.45rem 0.7rem; border: 1px solid #e5e7eb; border-radius: 12px; cursor: pointer;
}
.ec-check.is-on { border-color: #162e3d; background: #f4f8fb; }
.ec-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.ec-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; }
.ec-grid-2 > *, .ec-grid-3 > * { min-width: 0; }
@media (max-width: 379px) {
  .ec-grid-3:not(.ec-grid-3--keep) { grid-template-columns: 1fr 1fr; }
  .ec-grid-3:not(.ec-grid-3--keep) > :last-child { grid-column: 1 / -1; }
}

.ec-ghost {
  display: block; width: 100%; margin: 0.35rem 0 0; padding: 0.45rem;
  border: 0; background: none; color: #64748b; font: inherit; font-weight: 700;
  cursor: pointer; text-align: center;
}

/* Ofertas — cabeçalho da lista */
.ec-headrow { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.65rem; }
.ec-headrow .ec-sub { flex: 1; min-width: 0; margin: 0; }
.ec-headrow .ec-btn, .ec-btn--add {
  flex: 0 0 auto; min-height: 38px; padding: 0.35rem 0.85rem; font-size: 0.85rem; border-radius: 12px;
}
.ec-utabs { display: flex; margin: 0 0 0.2rem; border-bottom: 1px solid #eef2f6; }
.ec-utabs button {
  flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 0.7rem 0.2rem; color: #94a3b8; font: inherit; font-weight: 700; cursor: pointer;
}
.ec-utabs button.is-on { color: #162e3d; border-bottom-color: #162e3d; }
.ec-utabs b {
  display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem;
  margin-left: 0.2rem; padding: 0 0.32rem; border-radius: 999px;
  background: #e8f6fd; color: #16324a; font-size: 0.72rem;
}
.ec-utabs button.is-on b { background: #16324a; color: #fff; }

/* Ofertas — cartão da lista */
.ec-item--oferta { border-bottom: 1px solid #eef2f6; padding: 0; }
.ec-item--oferta:last-of-type { border-bottom: 0; }
.ec-ocard { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.95rem 0; }
.ec-ocard__img, .ec-ocard__ph {
  flex: 0 0 auto; width: 84px; height: 84px; border-radius: 14px; object-fit: contain; background: #f4f6f8;
}
.ec-ocard__body { flex: 1; min-width: 0; }
.ec-ocard__top { display: flex; align-items: flex-start; gap: 0.45rem; }
.ec-ocard__top strong { flex: 1; min-width: 0; color: #162e3d; font-size: 0.98rem; }
.ec-ocard__st {
  display: inline-flex; align-items: center; gap: 0.32rem; min-height: 22px; padding: 0 0.5rem;
  border-radius: 999px; background: #ecfdf5; color: #15803d; font-size: 0.74rem; font-weight: 700; white-space: nowrap;
}
.ec-ocard__st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ec-ocard__st--agendada { background: #eff6ff; color: #1d4ed8; }
.ec-ocard__st--pausada { background: #f1f5f9; color: #64748b; }
.ec-ocard__desc { margin: 0.15rem 0 0.4rem; color: #64748b; font-size: 0.82rem; line-height: 1.35; }
.ec-ocard__preco { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.45rem; margin: 0; }
.ec-ocard__preco strong { color: #162e3d; font-size: 1.15rem; }
.ec-ocard__preco del { color: #94a3b8; font-size: 0.85rem; }
.ec-ocard__pts {
  display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; padding: 0.32rem 0.65rem;
  border-radius: 999px; background: #e8f6fd; color: #16324a; font-size: 0.78rem; font-weight: 700;
}
.ec-ocard__pts .bi-star-fill { color: #00a2ed; font-size: 0.72rem; }
.ec-ocard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 0.75rem;
  flex-wrap: wrap; margin-top: 0.55rem;
}
.ec-ocard__acts { display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; margin: 0; }
.ec-ocard__acts form { margin: 0; }
.ec-ocard__acts .ec-btn { min-height: 34px; padding: 0 0.75rem; font-size: 0.82rem; border-radius: 10px; }

.ec-linkrow {
  display: flex; align-items: center; gap: 0.7rem; width: 100%; margin: 0.55rem 0 0.2rem; padding: 0.85rem 0.9rem;
  border: 1px solid #e8eef3; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: #162e3d;
}
.ec-linkrow b { display: block; font-size: 0.95rem; }
.ec-linkrow .bi-chevron-right { margin-left: auto; color: #94a3b8; }

/* Ofertas — wizard */
.ec-stepper { display: flex; align-items: center; gap: 0.4rem; margin: 0.35rem 0 1.1rem; font-size: 0.82rem; }
.ec-stepper span {
  display: inline-flex; align-items: center; gap: 0.35rem; color: #94a3b8; white-space: nowrap;
}
.ec-stepper span i, .ec-stepper span b {
  width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #e8eef3; color: #64748b; font-size: 0.72rem; font-style: normal; font-weight: 800;
}
.ec-stepper span.is-on { color: #162e3d; font-weight: 800; }
.ec-stepper span.is-done { color: #162e3d; }
.ec-stepper span[data-perfil-ec-go] { cursor: pointer; }
.ec-stepper span.is-on b, .ec-stepper span.is-done i, .ec-stepper span.is-done b { background: #162e3d; color: #fff; }
.ec-stepper em { flex: 1; height: 2px; background: #e8eef3; font-size: 0; min-width: 12px; }
.ec-stepper em.is-on { background: #162e3d; }

.ec-tipos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.9rem; }
.ec-tipo {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 48px; padding: 0.6rem 0.7rem;
  border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; cursor: pointer;
}
.ec-tipo input { accent-color: #16324a; margin: 0; }
.ec-tipo i { color: #16324a; }
.ec-tipo b { color: #162e3d; font-size: 0.9rem; font-weight: 600; }
.ec-tipo.is-on { border-color: #16324a; background: #f4f8fb; box-shadow: inset 0 0 0 1px #16324a; }
.ec-selrow { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 0.65rem; align-items: end; margin-bottom: 0.75rem; }
.ec-selrow .ec-field { margin-bottom: 0; }
.ec-selthumb {
  width: 88px; height: 72px; border: 1px solid #e5e7eb; border-radius: 14px;
  background: #f8fafc; overflow: hidden; display: grid; place-items: center; cursor: pointer;
}
.ec-selthumb img { width: 100%; height: 100%; object-fit: cover; }
.ec-selthumb i { color: #cbd5e1; font-size: 1.3rem; }

.ec-date {
  position: relative; display: flex; align-items: center; gap: 0.4rem;
  min-height: 44px; padding: 0 0.55rem 0 0.7rem;
  border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
}
.ec-date i { color: #64748b; font-size: 0.95rem; flex: 0 0 auto; }
.ec-field .ec-date input[type="date"] {
  flex: 1; min-width: 0; min-height: 42px; border: 0; padding: 0; background: transparent; font: inherit; font-size: 0.82rem;
}
.ec-date input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer;
}
.ec-grid-3--keep .ec-field .ec-hint { margin: 0.2rem 0 0; font-size: 0.68rem; line-height: 1.3; }
.ec-field textarea.ec-area--short { min-height: 72px; }

.ec-rev { padding: 0.15rem 0 0.35rem; border: 0; background: transparent; }
.ec-rev__top { display: flex; align-items: flex-start; gap: 0.8rem; }
.ec-rev__top img, .ec-rev__ph { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 14px; object-fit: contain; background: #f4f6f8; }
.ec-rev__top > div { min-width: 0; flex: 1; }
.ec-rev__top strong { display: block; color: #162e3d; font-size: 1rem; }
.ec-rev .ec-ocard__preco { margin-top: 0.15rem; }
.ec-rev .ec-ocard__pts { margin-top: 0.45rem; }
.ec-rev__facts {
  list-style: none; margin: 0.55rem 0 0; padding: 0.15rem 0 0;
  border: 0; background: transparent;
}
.ec-rev__facts li { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.38rem 0; color: #162e3d; font-size: 0.86rem; }
.ec-rev__facts li i { flex: 0 0 auto; color: #64748b; margin-top: 0.1rem; }
.ec-note {
  display: flex; align-items: flex-start; gap: 0.5rem; margin: 0.75rem 0 0;
  padding: 0.7rem 0.85rem; border-radius: 12px; background: #eff6ff; color: #1e40af; font-size: 0.82rem;
}
.ec-media { display: flex; gap: 0.55rem; flex-wrap: wrap; margin: 0.35rem 0 0.85rem; }
.ec-media img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.ec-qr { display: flex; justify-content: center; padding: 1rem 0; }
.ec-code { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.04em; text-align: center; color: #162e3d; }
.ec-redeem { display: grid; gap: 0.45rem; margin: 0.85rem 0; }
.ec-redeem p { display: flex; justify-content: space-between; margin: 0; }

/* Modal do perfil — painel estreito (mobile e desktop) */
[data-perfil-ec-body] .ec-headrow {
  flex-wrap: wrap;
}
[data-perfil-ec-body] .ec-utabs button {
  min-width: 0;
  padding: 0.65rem 0.3rem;
  font-size: 0.8rem;
}
[data-perfil-ec-body] .ec-pcard {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 0.3rem 0.55rem;
}
[data-perfil-ec-body] .ec-pcard > img,
[data-perfil-ec-body] .ec-pcard > .ec-pcard__ph {
  width: 52px;
  height: 52px;
  grid-column: 1;
  grid-row: 1;
}
[data-perfil-ec-body] .ec-pcard__main { grid-column: 2; grid-row: 1; }
[data-perfil-ec-body] .ec-pcard__acts {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
}
[data-perfil-ec-body] .ec-stepper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
[data-perfil-ec-body] .ec-grid-2 { grid-template-columns: 1fr; }
[data-perfil-ec-body] .ec-selrow { grid-template-columns: 1fr auto; }

@media (max-width: 639px) {
  .perfil-visitante__tile--activity > .perfil-visitante__rail--bento,
  .perfil-visitante__rail--bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 4px;
  }
  .perfil-visitante__rail--bento .perfil-visitante__rail-icon,
  .perfil-visitante__rail--bento .perfil-visitante__rail-icon .bi {
    font-size: 1.28rem;
  }
  .perfil-visitante__rail--bento .perfil-visitante__rail-label {
    font-size: 0.7rem;
    line-height: 1.2;
  }
  .perfil-visitante__rail-label-rest { display: none; }

  .ec-search { flex-direction: column; }
  .ec-search input, .ec-search select, .ec-search .ec-btn { width: 100%; }

  .ec-headrow {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .ec-headrow .ec-btn, .ec-btn--add { width: 100%; justify-content: center; }

  .ec-utabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ec-utabs button {
    flex: 1 0 auto;
    min-width: 0;
    padding: 0.65rem 0.35rem;
    font-size: 0.78rem;
  }

  .ec-pcard {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 0.25rem 0.55rem;
  }
  .ec-pcard > img,
  .ec-pcard > .ec-pcard__ph {
    width: 48px;
    height: 48px;
    grid-column: 1;
    grid-row: 1;
  }
  .ec-pcard__main { grid-column: 2; grid-row: 1; }
  .ec-pcard__acts {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .ec-ocard { gap: 0.65rem; }
  .ec-ocard__img, .ec-ocard__ph { width: 64px; height: 64px; border-radius: 12px; }
  .ec-ocard__foot { gap: 0.45rem; }
  .ec-ocard__acts { width: 100%; }
  .ec-ocard__acts .ec-btn { flex: 1 1 auto; justify-content: center; }

  .ec-stepper { gap: 0.2rem; overflow-x: auto; }
  .ec-stepper span { font-size: 0; gap: 0; }
  .ec-stepper span i,
  .ec-stepper span b { font-size: 0.72rem; }
  .ec-stepper em { min-width: 8px; }

  .ec-grid-2 { grid-template-columns: 1fr; }
  .ec-selrow { grid-template-columns: 1fr; }
  .ec-selrow .ec-selthumb { width: 100%; height: 88px; }
  .ec-wizard__top { flex-direction: column; }
  .ec-wizard__top .ec-btn { width: 100%; }
  .ec-loja-card__actions { grid-template-columns: 1fr; }
  .ec-rev__top { flex-direction: column; }
}

@media (max-width: 379px) {
  .perfil-visitante__rail--bento .perfil-visitante__rail-label {
    font-size: 0.64rem;
  }
}

/* —— Vitrine pública /economia/ —— */
.ec-market .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.ec-page--market {
  background: #f3f6f8;
}

body.ec-page--market .ec-main {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 52vh;
}

.ec-market {
  color: #162e3d;
}

.ec-market__inner {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.ec-market__hero {
  position: relative;
  padding: 1.75rem 0 4.25rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(0, 162, 237, 0.28), transparent 55%),
    linear-gradient(165deg, #0d2433 0%, #162e3d 55%, #123044 100%);
  color: #fff;
  overflow: hidden;
}

.ec-market__hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56px;
  background: linear-gradient(180deg, transparent, #f3f6f8);
  pointer-events: none;
}

.ec-market__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.ec-market__hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.ec-market__lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
}

.ec-market__search {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9.5rem, 13rem) auto;
  gap: 0.55rem;
  margin: -2.4rem 0 1rem;
  padding: 0.7rem;
  background: #fff;
  border: 1px solid rgba(22, 46, 61, 0.08);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(22, 46, 61, 0.12);
}

.ec-market__field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 0.85rem;
  border: 1px solid #e5edf2;
  border-radius: 12px;
  background: #f7fafc;
}

.ec-market__field i { color: #94a3b8; font-size: 1rem; flex: 0 0 auto; }
.ec-market__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: #162e3d;
  outline: none;
}
.ec-market__field:focus-within {
  border-color: #00a2ed;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 162, 237, 0.18);
}

.ec-market__search-btn {
  min-height: 48px;
  min-width: 7.25rem;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 12px;
  background: #00a2ed;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ec-market__search-btn:hover { background: #008fd1; }
.ec-market__search-btn:active { transform: translateY(1px); }

.ec-market__wallet,
.ec-market__guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.1rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(22, 46, 61, 0.07);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(22, 46, 61, 0.05);
}

.ec-market__wallet-saldo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
}
.ec-market__wallet-saldo > span:first-child {
  width: 100%;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
}
.ec-market__wallet-saldo strong {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ec-market__wallet-saldo small {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}

.ec-market__wallet-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ec-market__wallet-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0 0.8rem;
  border-radius: 12px;
  border: 1px solid #e5edf2;
  background: #fff;
  color: #162e3d;
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}
.ec-market__wallet-nav a:hover {
  border-color: #00a2ed;
  color: #0369a1;
}

.ec-market__guest p {
  margin: 0.2rem 0 0;
  color: #64748b;
  font-size: 0.88rem;
}
.ec-market__guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 12px;
  background: #162e3d;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.ec-market__guest-btn:hover { background: #1c3d51; }

.ec-market__how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}
.ec-market__how li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(22, 46, 61, 0.06);
  border-radius: 14px;
}
.ec-market__how i {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8f6fd;
  color: #00a2ed;
  font-size: 1.05rem;
}
.ec-market__how strong {
  display: block;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}
.ec-market__how span {
  display: block;
  margin-top: 0.12rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.ec-market__toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.1rem;
  flex-wrap: wrap;
  margin: 0 0 0.95rem;
}
.ec-market__toolbar-copy h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.ec-market__toolbar-copy p {
  margin: 0.15rem 0 0;
  color: #64748b;
  font-size: 0.85rem;
}

.ec-market__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.ec-market__filters a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid #e5edf2;
  background: #fff;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}
.ec-market__filters a.is-on {
  background: #162e3d;
  border-color: #162e3d;
  color: #fff;
}
.ec-market__map-link {
  gap: 0.3rem;
  color: #0369a1 !important;
  border-color: transparent !important;
  background: transparent !important;
}
.ec-market__map-link:hover { color: #00a2ed !important; }

.ec-market__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 2.5rem;
}

.ec-deal {
  background: #fff;
  border: 1px solid rgba(22, 46, 61, 0.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(22, 46, 61, 0.04);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.15s ease;
}
.ec-deal:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 162, 237, 0.28);
  box-shadow: 0 16px 36px rgba(22, 46, 61, 0.12);
}
.ec-deal__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.ec-deal__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f4f7fa;
  overflow: hidden;
}
.ec-deal__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f4f7fa;
}
.ec-deal__cover {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 162, 237, 0.35), transparent 50%),
    linear-gradient(160deg, #16324a, #0d2433);
  color: rgba(255, 255, 255, 0.55);
  font-size: 2rem;
}
.ec-deal__badge,
.ec-deal__pts {
  position: absolute;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 24px;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.ec-deal__badge {
  left: 10px;
  background: rgba(22, 46, 61, 0.88);
  color: #fff;
}
.ec-deal__pts {
  right: 10px;
  background: #00a2ed;
  color: #fff;
}
.ec-deal__pts .bi { font-size: 0.62rem; }

.ec-deal__body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.9rem 1rem 1rem;
  flex: 1;
}
.ec-deal__store {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
  margin: 0;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}
.ec-deal__store span::before {
  content: "·";
  margin-right: 0.4rem;
  color: #cbd5e1;
}
.ec-deal__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ec-deal__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0.15rem 0 0;
}
.ec-deal__price del {
  color: #94a3b8;
  font-size: 0.82rem;
}
.ec-deal__price strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.ec-deal__price em {
  font-style: normal;
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 700;
}
.ec-deal__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.65rem;
  color: #00a2ed;
  font-size: 0.84rem;
  font-weight: 700;
}
.ec-deal:hover .ec-deal__cta { color: #0369a1; }

.ec-market__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin: 0 0 2.5rem;
  padding: 2.4rem 1.2rem;
  background: #fff;
  border: 1px dashed #d6dee6;
  border-radius: 16px;
}
.ec-market__empty i {
  font-size: 1.8rem;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}
.ec-market__empty h3 {
  margin: 0;
  font-size: 1.05rem;
}
.ec-market__empty p {
  margin: 0;
  max-width: 22rem;
  color: #64748b;
  font-size: 0.9rem;
}
.ec-market__empty-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 0.7rem;
  padding: 0 1rem;
  border-radius: 12px;
  background: #162e3d;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 960px) {
  .ec-market__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .ec-market__how { grid-template-columns: 1fr; }
  .ec-market__search {
    grid-template-columns: 1fr 1fr;
  }
  .ec-market__field--q { grid-column: 1 / -1; }
  .ec-market__search-btn { width: 100%; }
}

@media (max-width: 640px) {
  .ec-market__inner { width: min(100% - 1.25rem, 1120px); }
  .ec-market__hero { padding: 1.35rem 0 3.6rem; }
  .ec-market__search {
    grid-template-columns: 1fr;
    margin-top: -1.9rem;
    padding: 0.6rem;
  }
  .ec-market__wallet,
  .ec-market__guest {
    flex-direction: column;
    align-items: stretch;
  }
  .ec-market__wallet-nav a,
  .ec-market__guest-btn { justify-content: center; }
  .ec-market__filters { width: 100%; }
  .ec-market__grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .ec-deal:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ec-deal,
  .ec-market__search-btn { transition: none; }
  .ec-deal:hover { transform: none; }
}

