:root {
  --blue: #0b5ed7;
  --blue2: #1b76e8;
  --blue-soft: #eef5ff;
  --ink: #111827;
  --muted: #667085;
  --line: #e6e9ef;
  --bg: #f6f7f9;
  --surface: #fff;
  --green: #118a4e;
  --green-soft: #ebf8f1;
  --danger: #c9333f;
  --gold: #f3b51b;
  --shadow: 0 14px 38px rgba(15, 23, 42, .08);
  --radius: 16px;
  --shell: 1240px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Canva Sans", "DM Sans", "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px
}

a {
  text-decoration: none;
  color: inherit
}

button,
input,
select,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

.shell {
  width: min(var(--shell), calc(100% - 32px));
  margin-inline: auto
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(14px)
}

.trust-strip {
  background: #0b315f;
  color: #e9f2ff;
  font-size: 12px
}

.trust-strip-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 12px
}

.trust-strip a {
  margin-left: auto;
  color: #fff
}

.trust-separator {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .22)
}

.header-main {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  gap: 24px;
  align-items: center
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: linear-gradient(140deg, #0b5ed7, #2b88ef);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(11, 94, 215, .18)
}

.brand-mark svg {
  width: 23px;
  height: 23px
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: -.35px
}

.brand-copy small {
  font-size: 10px;
  color: #667085;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .8px
}

.global-search {
  height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid #d9dee7;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: .2s;
  max-width: 680px;
  width: 100%;
  justify-self: center
}

.global-search:focus-within {
  border-color: #9fc5f6;
  box-shadow: 0 0 0 4px rgba(11, 94, 215, .08)
}

.global-search>svg {
  margin-left: 15px;
  color: #7a8493
}

.global-search input {
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  background: transparent;
  color: var(--ink)
}

.global-search button {
  height: 100%;
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 0 22px;
  font-weight: 700
}

.header-actions {
  display: flex;
  gap: 4px
}

.header-action {
  position: relative;
  min-width: 64px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #3d4653;
  font-size: 10px;
  font-weight: 650
}

.header-action:hover {
  background: var(--blue-soft);
  color: var(--blue)
}

.header-action b {
  position: absolute;
  top: 2px;
  right: 7px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--blue);
  color: white;
  font-size: 9px;
  display: grid;
  place-items: center
}

.category-nav {
  border-top: 1px solid #f0f2f5
}

.category-nav-inner {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: auto;
  scrollbar-width: none
}

.category-nav-inner::-webkit-scrollbar {
  display: none
}

.category-nav a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #4f5968
}

.category-nav a:hover,
.category-nav a.active {
  background: var(--blue-soft);
  color: var(--blue)
}

.category-nav .compare-link {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--blue)
}

.category-nav .compare-link svg {
  width: 16px;
  height: 16px
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1800/650;
  overflow: hidden;
  background: #0b315f
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease
}

.hero-slide.active {
  opacity: 1;
  visibility: visible
}

.hero-image-link {
  display: block;
  width: 100%;
  height: 100%
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block
}

.hero-slide::after {
  display: none
}

.hero-copy {
  display: none
}

.hero-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .48);
  background: rgba(10, 25, 44, .42);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18)
}

.hero-control.prev {
  left: 18px
}

.hero-control.next {
  right: 18px
}

.hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(7, 23, 42, .18)
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .62);
  padding: 0
}

.hero-dot.active {
  width: 26px;
  border-radius: 20px;
  background: #fff
}

.sponsor-marquee {
  background: linear-gradient(180deg, #fff, #f7faff);
  border-top: 1px solid #e7edf5;
  border-bottom: 1px solid #dfe7f1;
  overflow: hidden
}

.sponsor-track {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 0 18px;
  animation: sponsor-left 28s linear infinite;
  will-change: transform
}

.sponsor-item {
  width: 170px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  filter: none;
  flex: 0 0 auto
}

.sponsor-item img {
  width: 100%;
  max-width: 170px;
  max-height: 50px;
  object-fit: contain;
  display: block
}

@keyframes sponsor-left {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(calc(-50% - 17px))
  }
}

.section {
  padding: 42px 0
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -.7px
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted)
}

.section-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: .2s
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d7dce5
}

.product-media {
  aspect-ratio: 1/1;
  background: #fff;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid #f0f2f4
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  display: block
}

.product-body {
  padding: 14px
}

.product-label {
  display: inline-block;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 8px
}

.product-name {
  font-size: 13px;
  line-height: 1.4;
  min-height: 37px;
  color: #313946;
  margin-bottom: 8px
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6b7280;
  font-size: 10px;
  margin: 7px 0 9px
}

.rating-stars {
  display: flex;
  gap: 1px
}

.rating-star {
  width: 13px;
  height: 13px;
  color: #c9ced6;
  stroke: currentColor;
  fill: transparent
}

.rating-star.filled {
  color: var(--gold);
  fill: var(--gold);
  stroke: var(--gold)
}

.rating strong {
  color: #323a46;
  font-size: 11px
}

.old-price {
  color: #9299a5;
  text-decoration: line-through;
  font-size: 10px
}

.price {
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -.6px;
  margin-top: 2px
}

.installments {
  color: var(--green);
  font-size: 10px;
  margin-top: 4px
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 13px
}

.btn {
  min-height: 42px;
  border-radius: 9px;
  border: 1px solid var(--line);
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750;
  font-size: 12px
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff
}

.btn-primary:hover {
  background: #084fad
}

.btn-secondary {
  background: #fff;
  color: #2f3845
}

.btn-danger {
  background: #fff1f2;
  color: #b42332;
  border-color: #ffd7dc
}

.btn svg {
  width: 16px;
  height: 16px
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden
}

.benefit {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 19px
}

.benefit+.benefit {
  border-left: 1px solid var(--line)
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center
}

.benefit strong {
  display: block;
  font-size: 12px
}

.benefit span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px
}

.auth-shell {
  min-height: calc(100vh - 155px);
  display: grid;
  place-items: center;
  padding: 34px 16px
}

.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow)
}

.auth-card h1 {
  margin: 0 0 7px;
  font-size: 25px;
  letter-spacing: -.7px
}

.auth-card>p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px
}

.form-group {
  margin-bottom: 15px
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 750;
  color: #394252;
  margin-bottom: 6px
}

.input {
  width: 100%;
  height: 45px;
  border: 1px solid #d9dee6;
  border-radius: 9px;
  padding: 0 12px;
  outline: 0;
  background: #fff
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: #94bdf0;
  box-shadow: 0 0 0 4px rgba(11, 94, 215, .07)
}

.textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #d9dee6;
  border-radius: 9px;
  padding: 11px;
  outline: 0;
  resize: vertical
}

.select {
  width: 100%;
  height: 45px;
  border: 1px solid #d9dee6;
  border-radius: 9px;
  padding: 0 11px;
  background: #fff
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 16px
}

.alert-error {
  background: #fff0f1;
  color: #a62531;
  border: 1px solid #ffd3d7
}

.alert-success {
  background: #eefaf3;
  color: #137a48;
  border: 1px solid #ccefdc
}

.help-text {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.45
}

.auth-links {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted)
}

.auth-links a {
  color: var(--blue);
  font-weight: 700
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(247, 249, 252, .985);
  display: grid;
  place-items: center;
  padding: 20px;
  transition: .3s
}

.search-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.search-stage {
  width: min(760px, 100%);
  transform: translateY(-25px)
}

.search-stage-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px
}

.search-stage h1 {
  text-align: center;
  font-size: 34px;
  letter-spacing: -1px;
  margin: 0 0 7px
}

.search-stage>p {
  text-align: center;
  color: var(--muted);
  margin: 0 0 22px
}

.search-box-large {
  height: 64px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d7dce4;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .12)
}

.search-box-large>svg {
  margin-left: 18px;
  color: #7c8795
}

.search-box-large input {
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 14px;
  font-size: 15px
}

.search-box-large button {
  height: 100%;
  width: 68px;
  border: 0;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center
}

.suggestions {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-top: 9px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: none
}

.suggestions.active {
  display: block
}

.suggestion-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #f0f2f4;
  background: #fff;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  text-align: left
}

.suggestion-row:hover {
  background: #fafbfd
}

.suggestion-row:last-child {
  border-bottom: 0
}

.suggestion-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #edf0f3
}

.suggestion-title {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.suggestion-meta {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px
}

.suggestion-offer {
  text-align: right
}

.suggestion-price {
  font-size: 12px;
  font-weight: 800
}

.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: #606b78;
  font-size: 8px
}

.store-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: contain;
  border: 1px solid #e8ebef;
  background: #fff
}

.results-shell {
  padding: 28px 0 60px
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px
}

.results-toolbar h1 {
  font-size: 24px;
  margin: 0 0 4px
}

.results-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 11px
}

.result-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 180px;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 11px
}

.result-card img {
  width: 190px;
  height: 160px;
  object-fit: contain;
  background: #fff
}

.result-main h2 {
  font-size: 15px;
  margin: 3px 0 8px
}

.result-source {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px
}

.result-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end
}

.recommend-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  padding: 6px 8px;
  border-radius: 7px
}

.result-price {
  font-size: 25px;
  font-weight: 850;
  margin: 12px 0 4px
}

.result-side .btn {
  width: 100%;
  margin-top: auto
}

.product-page {
  padding: 30px 0 60px
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 26px
}

.product-gallery {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain
}

.product-buybox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 175px
}

.product-buybox h1 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.6px;
  margin: 8px 0
}

.product-buybox .price {
  font-size: 34px
}

.stock {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  margin: 12px 0
}

.description-card {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px
}

.description-card h2 {
  margin-top: 0
}

.description-card p {
  color: #59616d;
  line-height: 1.7;
  font-size: 13px
}

.checkout-shell {
  padding: 30px 0 60px
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px
}

.panel h1,
.panel h2 {
  margin-top: 0
}

.order-summary {
  position: sticky;
  top: 175px
}

.summary-product {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 11px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line)
}

.summary-product img {
  width: 72px;
  height: 72px;
  object-fit: contain
}

.summary-lines {
  padding: 14px 0
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 8px 0
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 14px
}

.summary-total strong {
  font-size: 24px
}

.security-note {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  margin-top: 13px
}

.security-note svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px
}

.tracking-page {
  padding: 30px 0 70px
}

.tracking-card {
  max-width: 820px;
  margin: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px
}

.tracking-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px
}

.status-pill {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 800
}

.timeline {
  margin-top: 24px
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  min-height: 94px
}

.timeline-step:last-child {
  min-height: auto
}

.timeline-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #dce1e7;
  background: #fff;
  color: #8d96a3;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2
}

.timeline-node svg {
  width: 18px;
  height: 18px
}

.timeline-step.done .timeline-node {
  background: var(--green);
  border-color: var(--green);
  color: #fff
}

.timeline-line {
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 0;
  width: 4px;
  background: #e4e7eb;
  border-radius: 10px;
  overflow: hidden
}

.timeline-step.done-line .timeline-line {
  background: var(--green)
}

.timeline-step.loading-line .timeline-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -55px;
  width: 100%;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(145, 153, 163, .95), transparent);
  animation: lineDown 1.2s linear infinite
}

@keyframes lineDown {
  to {
    transform: translateY(150px)
  }
}

.timeline-copy strong {
  display: block;
  font-size: 12px;
  margin-top: 2px
}

.timeline-copy span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px
}

.tracking-search {
  display: flex;
  gap: 8px;
  margin-bottom: 16px
}

.tracking-search input {
  flex: 1
}

.legal-page {
  padding: 34px 0 70px
}

.legal-card {
  max-width: 900px;
  margin: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px
}

.legal-card h1 {
  font-size: 30px;
  margin-top: 0
}

.legal-card h2 {
  font-size: 18px;
  margin-top: 28px
}

.legal-card p,
.legal-card li {
  font-size: 12px;
  line-height: 1.75;
  color: #535d6a
}

.legal-meta {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 20px
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 100vh;
  background: #f6f7f9
}

.admin-sidebar {
  background: #111827;
  color: #cbd5e1;
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 800;
  padding: 7px 8px 22px
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 8px;
  font-size: 12px
}

.admin-nav a:hover,
.admin-nav a.active {
  background: #1f2937;
  color: #fff
}

.admin-nav svg {
  width: 17px;
  height: 17px
}

.admin-content {
  padding: 26px
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px
}

.admin-top h1 {
  margin: 0;
  font-size: 26px
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px
}

.stat small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .5px
}

.stat strong {
  display: block;
  font-size: 25px;
  margin-top: 6px
}

.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: auto
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px
}

.table th,
.table td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid #edf0f3;
  font-size: 11px
}

.table th {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  background: #fbfcfd
}

.table tr:last-child td {
  border-bottom: 0
}

.thumb-sm {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 7px
}

.admin-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  max-width: 900px
}

.admin-form h2 {
  margin-top: 0
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.badge {
  display: inline-flex;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 800;
  background: #f0f2f5;
  color: #59616d
}

.badge-active {
  background: var(--green-soft);
  color: var(--green)
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: 40px
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
  padding: 35px 0
}

.footer-grid>div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px
}

.footer-grid p,
.footer-grid a {
  font-size: 11px;
  color: var(--muted)
}

.footer-grid>div>strong {
  font-size: 11px
}

.footer-bottom {
  border-top: 1px solid #f0f2f4;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7c8490;
  font-size: 9px
}

.footer-brand {
  margin-bottom: 6px
}

@media(max-width:1050px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr)
  }

  .benefit:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .benefit:nth-child(4) {
    border-top: 1px solid var(--line)
  }

  .header-main {
    grid-template-columns: auto 1fr
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end
  }

  .global-search {
    grid-column: 1/-1;
    grid-row: 2;
    max-width: none;
    margin-bottom: 10px
  }

  .site-header {
    position: relative
  }

  .product-buybox,
  .order-summary {
    position: static
  }

  .stats {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:760px) {
  .shell {
    width: min(100% - 20px, var(--shell))
  }

  .trust-strip-inner {
    justify-content: center;
    min-height: 28px;
    font-size: 9px
  }

  .trust-strip-inner>:nth-child(2),
  .trust-strip-inner>:nth-child(3),
  .trust-strip a {
    display: none
  }

  .header-main {
    min-height: auto;
    padding: 10px 0;
    gap: 8px
  }

  .brand-mark {
    width: 37px;
    height: 37px
  }

  .brand-copy strong {
    font-size: 15px
  }

  .brand-copy small {
    font-size: 8px
  }

  .header-action {
    min-width: 37px;
    width: 37px;
    height: 37px
  }

  .header-action span {
    display: none
  }

  .global-search {
    height: 43px
  }

  .global-search button {
    padding: 0 15px
  }

  .category-nav-inner {
    height: 39px
  }

  .category-nav .compare-link {
    margin-left: 0
  }

  .hero-slider {
    aspect-ratio: 1800/650;
    min-height: 0
  }

  .hero-control {
    display: none
  }

  .hero-dots {
    bottom: 8px
  }

  .sponsor-track {
    min-height: 1200px;
    gap: 24px
  }

  .sponsor-item {
    width: 132px;
    height: 40px
  }

  .sponsor-item img {
    max-width: 132px;
    max-height: 40px
  }

  .section {
    padding: 28px 0
  }

  .section-head h2 {
    font-size: 21px
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px
  }

  .product-body {
    padding: 11px
  }

  .product-name {
    font-size: 11px
  }

  .price {
    font-size: 19px
  }

  .benefits {
    grid-template-columns: 1fr
  }

  .benefit+.benefit,
  .benefit:nth-child(3),
  .benefit:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .search-stage {
    transform: none
  }

  .search-stage h1 {
    font-size: 26px
  }

  .search-box-large {
    height: 57px
  }

  .result-card {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px
  }

  .result-card img {
    width: 90px;
    height: 90px
  }

  .result-side {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left
  }

  .result-price {
    margin: 0
  }

  .result-side .btn {
    width: auto;
    margin: 0
  }

  .product-detail,
  .checkout-grid {
    grid-template-columns: 1fr
  }

  .product-buybox {
    padding: 18px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 0
  }

  .admin-shell {
    grid-template-columns: 1fr
  }

  .admin-sidebar {
    position: relative;
    height: auto
  }

  .admin-nav {
    flex-direction: row;
    overflow: auto
  }

  .admin-content {
    padding: 16px
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }

  .legal-card {
    padding: 20px
  }

  .tracking-card {
    padding: 18px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important
  }

  .hero-slide {
    transition: none
  }

  .sponsor-track,
  .timeline-step.loading-line .timeline-line::after {
    animation: none !important
  }
}

/* Utility classes used instead of inline styles so CSP can block inline CSS. */
.btn-block {
  width: 100%
}

.text-link {
  color: var(--blue)
}

.terms-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 16px
}

.panel-narrow {
  max-width: 720px;
  margin-inline: auto
}

.input-static {
  display: flex;
  align-items: center
}

.auth-card-center {
  text-align: center
}

.brand-mark-center {
  margin: 0 auto 15px
}

.result-filter-panel {
  padding: 14px;
  margin-bottom: 14px
}

.form-group-compact {
  margin: 0
}

.tracking-search-form {
  display: flex;
  gap: 8px;
  width: 100%
}

.order-code-title {
  margin: 3px 0 5px;
  font-size: 22px
}

.summary-product-spaced {
  margin-top: 17px
}

.checkbox-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px
}

.admin-inline-form {
  display: flex;
  gap: 6px
}

.select-compact {
  height: 38px
}

.admin-actions-spaced {
  margin-bottom: 14px
}

.admin-form-spaced {
  margin-bottom: 18px
}

.suggestion-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 3px
}

.suggestion-price-inline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px
}

/* Static HTML + API architecture */
[hidden] {
  display: none !important
}

.page-message {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px
}

.loading-block {
  min-height: 140px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #dfe5ec;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .7s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.product-card .rating {
  min-height: 18px
}

.source-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: contain
}

.result-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px
}

.result-card>img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff
}

.result-title {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4
}

.result-source {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px
}

.result-side {
  text-align: right
}

.result-price {
  font-size: 23px;
  font-weight: 800
}

.recommendation {
  display: inline-flex;
  margin-top: 7px;
  padding: 5px 7px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 8px;
  font-weight: 800
}

.result-side .btn {
  margin-top: 10px;
  width: 100%
}

.search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 25
}

.suggestion-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #eef1f4;
  cursor: pointer
}

.suggestion-row:last-child {
  border-bottom: 0
}

.suggestion-row:hover {
  background: #f8fafc
}

.suggestion-row img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px
}

.suggestion-row strong {
  font-size: 11px
}

.suggestion-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px
}

.suggestion-side {
  display: flex;
  align-items: center;
  gap: 7px
}

.suggestion-side .source-logo {
  width: 24px;
  height: 24px
}

.suggestion-side b {
  font-size: 10px;
  white-space: nowrap
}

.auth-error {
  margin-bottom: 14px
}

.password-hint {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px
}

.user-chip strong {
  font-size: 11px
}

.user-chip small {
  display: block;
  font-size: 8px;
  color: var(--muted)
}

.product-meta-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 8px 0
}

.quantity-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: end;
  margin: 15px 0
}

.checkout-status {
  margin-top: 12px
}

.tracking-product {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px
}

.tracking-product img {
  width: 70px;
  height: 70px;
  object-fit: contain
}

.tracking-meta {
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px
}

.account-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px
}

.account-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.order-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px
}

.order-row small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px
}

.status-inline {
  font-size: 9px;
  font-weight: 800;
  color: var(--green)
}

.admin-login-gate {
  min-height: 55vh;
  display: grid;
  place-items: center
}

.admin-empty {
  padding: 25px;
  color: var(--muted);
  font-size: 11px
}

.admin-product-link {
  color: var(--blue);
  font-weight: 700
}

.admin-image-preview {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 12px
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.admin-form-grid .full {
  grid-column: 1/-1
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  display: grid;
  place-items: center;
  padding: 15px;
  z-index: 3000
}

.modal-card {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(15, 23, 42, .2);
  padding: 20px
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  display: grid;
  place-items: center
}

.icon-btn svg {
  width: 17px;
  height: 17px
}

@media(max-width:760px) {
  .result-card {
    grid-template-columns: 82px 1fr
  }

  .result-card>img {
    width: 82px;
    height: 82px
  }

  .result-side {
    grid-column: 1/-1;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center
  }

  .result-side .btn {
    width: auto;
    margin-top: 0
  }

  .account-grid {
    grid-template-columns: 1fr
  }

  .admin-form-grid {
    grid-template-columns: 1fr
  }

  .admin-form-grid .full {
    grid-column: auto
  }

  .quantity-row {
    grid-template-columns: 1fr
  }
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 10px
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1
}

.auth-divider span {
  padding: 0 4px
}

.btn-google {
  background: #fff;
  color: #273142;
  border-color: #d9dee6;
  font-weight: 700
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #c8ced8
}

.google-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #d7dce5;
  font-weight: 800;
  color: #4285f4;
  background: #fff
}

/* v5: autenticação, vendedor, usuários e comparador */
.google-logo-image {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.header-action-admin {
  color: #0b5ed7
}

.seller-sidebar {
  background: #0c2546
}

.admin-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px
}

.admin-section-heading h2 {
  margin: 0 0 4px;
  font-size: 18px
}

.avatar-mini {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: #0b5ed7;
  font-weight: 800;
  flex: 0 0 34px
}

.btn-small {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 10px
}

.admin-users-table .select {
  min-width: 120px
}

.search-suggestions {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-top: 9px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-height: 380px;
  overflow-y: auto
}

.search-suggestions[hidden] {
  display: none
}

.search-box-large button {
  width: auto;
  min-width: 118px;
  padding: 0 20px;
  font-weight: 800
}

.search-suggestions .suggestion-row {
  cursor: pointer
}

.page-message strong {
  display: block;
  margin-bottom: 6px
}

.seller-shell .stat strong {
  font-variant-numeric: tabular-nums
}

@media(max-width:760px) {
  .search-box-large button {
    min-width: 92px;
    padding: 0 12px
  }

  .admin-users-table {
    min-width: 700px
  }

  .admin-section-heading {
    flex-direction: column
  }
}

.search-stage {
  position: relative
}

.search-stage .search-suggestions {
  position: static;
  left: auto;
  right: auto;
  top: auto
}

.search-stage #promoSearchIcon {
  display: grid;
  place-items: center;
  margin-left: 18px;
  color: #7c8795;
  flex: 0 0 auto
}

.search-stage #promoSearchIcon svg {
  width: 20px;
  height: 20px
}

/* v8: página de produto completa, múltiplas mídias, checkout por CEP e DEVFRONT independente do banco */
.devfront-badge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 5000;
  padding: 9px 12px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .24)
}

.admin-product-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0
}

.admin-product-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap
}

.admin-tab {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #4b5563;
  font-size: 10px;
  font-weight: 800
}

.admin-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff
}

.admin-product-search {
  width: min(330px, 100%)
}

.admin-product-search span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #4b5563;
  margin-bottom: 5px
}

.admin-row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.admin-products-table {
  min-width: 1030px
}

.admin-form-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px
}

.admin-form-section>h2,
.admin-form-section .admin-section-heading h2 {
  margin: 0 0 12px;
  font-size: 17px
}

.textarea-compact {
  min-height: 82px
}

.textarea-large {
  min-height: 180px
}

.textarea-specs {
  min-height: 170px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6
}

.media-manager-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px
}

.media-manager-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fafb;
  padding: 8px;
  transition: .2s
}

.media-manager-card>img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 8px
}

.media-manager-banners {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.media-manager-banners .media-manager-card>img,
.media-manager-card.banner-preview>img {
  aspect-ratio: 1800/650;
  object-fit: cover
}

.media-manager-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: 8px
}

.media-manager-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 9px
}

.media-manager-option {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 750
}

.media-marked-remove {
  opacity: .42;
  border-color: #f3b5bb;
  background: #fff1f2
}

.admin-sticky-actions {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
  backdrop-filter: blur(10px)
}

.product-market-page {
  padding: 22px 0 52px;
  background: #f4f5f7
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  white-space: nowrap
}

.product-breadcrumb a {
  color: var(--blue)
}

.product-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis
}

.market-product-card {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(300px, .8fr) 330px;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .035)
}

.market-gallery {
  min-width: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px
}

.market-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 560px;
  overflow: auto
}

.market-thumb {
  width: 64px;
  height: 64px;
  border: 1px solid #d9dee7;
  border-radius: 9px;
  background: #fff;
  padding: 4px;
  display: grid;
  place-items: center
}

.market-thumb.active {
  border: 2px solid var(--blue)
}

.market-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.market-main-image {
  height: 520px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden
}

.market-main-image>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block
}

.market-product-info {
  padding: 4px 0
}

.market-condition {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 8px
}

.market-product-title {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.55px;
  margin: 0 0 9px
}

.market-product-info .rating {
  font-size: 11px;
  margin: 0 0 14px
}

.market-short-description {
  font-size: 13px;
  line-height: 1.55;
  color: #596273;
  margin: 14px 0 18px
}

.market-old-price {
  font-size: 12px;
  color: #8c95a3;
  text-decoration: line-through
}

.market-price {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 1px 0 22px
}

.market-identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px
}

.identity-pill {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fafbfc
}

.identity-pill span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 3px
}

.identity-pill strong {
  display: block;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis
}

.market-buybox {
  align-self: start;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04)
}

.delivery-title {
  display: flex;
  gap: 10px;
  color: #334155
}

.delivery-title>svg {
  color: var(--blue);
  flex: 0 0 auto
}

.delivery-title strong {
  display: block;
  font-size: 12px
}

.delivery-title span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4
}

.market-stock {
  font-size: 12px;
  font-weight: 800;
  margin: 19px 0 10px
}

.market-stock.in-stock {
  color: var(--green)
}

.market-stock.out-stock {
  color: var(--danger)
}

.market-qty {
  display: block;
  margin-bottom: 12px
}

.market-qty>span {
  display: block;
  font-size: 10px;
  font-weight: 750;
  color: #4b5563;
  margin-bottom: 5px
}

.market-buy-button,
.market-compare-button {
  width: 100%;
  margin-top: 8px
}

.market-safeguards {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px
}

.safeguard-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  color: #64748b;
  font-size: 10px;
  line-height: 1.4
}

.safeguard-row svg {
  width: 17px;
  height: 17px;
  color: var(--blue)
}

.market-seller-box {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 15px
}

.market-seller-box span,
.market-seller-box small {
  display: block;
  color: var(--muted);
  font-size: 9px
}

.market-seller-box strong {
  display: block;
  margin: 4px 0;
  font-size: 13px;
  color: var(--blue)
}

.product-content-card {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px
}

.product-content-card h2 {
  margin: 0 0 18px;
  font-size: 21px;
  letter-spacing: -.45px
}

.product-section-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: end;
  margin-bottom: 16px
}

.product-section-head h2 {
  margin: 0
}

.product-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 10px
}

.product-banner-stack {
  display: grid;
  gap: 12px
}

.product-banner-stack img {
  width: 100%;
  aspect-ratio: 1800/650;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.product-specs>h2 {
  grid-column: 1/-1
}

.spec-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden
}

.spec-group h3 {
  margin: 0;
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  font-size: 12px
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) 1.2fr;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid #eef1f4;
  font-size: 11px
}

.spec-row:last-child {
  border-bottom: 0
}

.spec-row span {
  color: #667085
}

.spec-row strong {
  font-weight: 650
}

.product-description-full p {
  white-space: pre-line;
  color: #4b5563;
  line-height: 1.75;
  margin: 0;
  font-size: 13px
}

.seller-detail-row {
  display: flex;
  align-items: center;
  gap: 13px
}

.seller-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue)
}

.seller-detail-row strong {
  font-size: 14px
}

.seller-detail-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px
}

.purchase-gate-card {
  width: min(720px, 100%);
  padding: 24px
}

.purchase-gate-card .modal-head {
  align-items: flex-start
}

.purchase-gate-card h2 {
  margin: 4px 0 0;
  font-size: 23px;
  letter-spacing: -.5px
}

.purchase-step {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 850;
  color: var(--blue)
}

.purchase-intro {
  margin: 0 0 18px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5
}

.purchase-gate-form>.form-group:first-child,
.purchase-gate-form>.form-group:nth-child(2) {
  max-width: none
}

.address-grid {
  display: grid;
  grid-template-columns: 2fr .8fr;
  gap: 0 12px
}

.address-grid .form-group:nth-child(3) {
  grid-column: 1/-1
}

.cep-status {
  padding: 9px 11px;
  margin: -5px 0 14px;
  border-radius: 8px;
  background: #f8fafc;
  color: #667085;
  font-size: 10px;
  border: 1px solid #edf0f4
}

.cep-status.loading {
  color: #6a5a00;
  background: #fffbe7;
  border-color: #f6e9a8
}

.cep-status.success {
  color: #126f43;
  background: #eefaf3;
  border-color: #cdeedc
}

.cep-status.error {
  color: #a62531;
  background: #fff0f1;
  border-color: #ffd3d7
}

.checkout-grid-v2 {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr)
}

.checkout-address-panel h1 {
  margin: 3px 0 6px
}

.checkout-step-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  font-weight: 850
}

.checkout-address-grid {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 130px;
  gap: 0 10px
}

.checkout-address-wide {
  grid-column: auto
}

.checkout-pay-button {
  margin-top: 4px
}

.checkout-summary-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 12px
}

.checkout-summary-note svg {
  color: var(--blue);
  width: 16px;
  height: 16px;
  flex: 0 0 auto
}

@media(max-width:1100px) {
  .market-product-card {
    grid-template-columns: minmax(380px, 1fr) minmax(280px, .75fr)
  }

  .market-buybox {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px
  }

  .market-buybox .delivery-title,
  .market-buybox .market-safeguards,
  .market-buybox .market-seller-box {
    grid-column: 1/-1
  }

  .market-buybox .market-buy-button,
  .market-buybox .market-compare-button {
    margin: 0
  }

  .media-manager-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }
}

@media(max-width:760px) {
  .devfront-badge {
    left: 10px;
    right: 10px;
    bottom: 10px;
    text-align: center
  }

  .admin-product-toolbar {
    align-items: stretch;
    flex-direction: column
  }

  .admin-product-search {
    width: 100%
  }

  .media-manager-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .media-manager-banners {
    grid-template-columns: 1fr
  }

  .market-product-card {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 20px
  }

  .market-gallery {
    grid-template-columns: 1fr
  }

  .market-thumbnails {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow: auto
  }

  .market-main-image {
    height: 360px
  }

  .market-product-title {
    font-size: 21px
  }

  .market-price {
    font-size: 30px
  }

  .market-buybox {
    grid-column: auto;
    display: block
  }

  .market-buybox .market-buy-button,
  .market-buybox .market-compare-button {
    margin-top: 8px
  }

  .product-content-card {
    padding: 17px
  }

  .product-section-head {
    display: block
  }

  .product-section-head p {
    margin-top: 5px
  }

  .product-specs {
    grid-template-columns: 1fr
  }

  .product-specs>h2 {
    grid-column: auto
  }

  .spec-row {
    grid-template-columns: 1fr 1.2fr
  }

  .address-grid {
    grid-template-columns: 1fr 1fr
  }

  .address-grid .form-group:first-child,
  .address-grid .form-group:nth-child(3),
  .address-grid .form-group:nth-child(4) {
    grid-column: 1/-1
  }

  .checkout-grid-v2 {
    grid-template-columns: 1fr
  }

  .checkout-address-grid {
    grid-template-columns: 1fr 1fr
  }

  .checkout-address-grid .form-group:nth-child(2) {
    grid-column: 1/-1
  }

  .checkout-address-grid .form-group:nth-child(5) {
    grid-column: 1/-1
  }
}

/* ===== Admin marketplace / central de vendas ===== */
.admin-marketplace-page {
  background: #f5f6f8;
  color: #202124
}

.admin-marketplace-shell {
  grid-template-columns: 258px minmax(0, 1fr);
  background: #f5f6f8
}

.admin-marketplace-sidebar {
  background: #fff;
  color: #314158;
  border-right: 1px solid #e6e9ef;
  padding: 18px 14px;
  box-shadow: none
}

.admin-marketplace-logo {
  color: #12223a;
  padding: 8px 10px 24px;
  gap: 10px
}

.admin-marketplace-logo>span:first-child {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center
}

.admin-marketplace-logo>span:first-child svg {
  width: 19px;
  height: 19px
}

.admin-marketplace-logo>span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.admin-marketplace-logo strong {
  font-size: 14px
}

.admin-marketplace-logo small {
  font-size: 9px;
  color: #7b8492;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em
}

.admin-marketplace-nav {
  gap: 5px
}

.admin-marketplace-nav a,
.admin-sidebar-bottom a {
  min-height: 43px;
  border-radius: 10px;
  padding: 0 11px;
  color: #4b5565;
  font-size: 11px;
  font-weight: 700
}

.admin-marketplace-nav a:hover,
.admin-marketplace-nav a.active,
.admin-sidebar-bottom a:hover {
  background: #eef5ff;
  color: var(--blue)
}

.admin-marketplace-nav a.active {
  box-shadow: inset 3px 0 0 var(--blue)
}

.admin-nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f4f7fb;
  flex: 0 0 28px
}

.admin-marketplace-nav a.active .admin-nav-icon {
  background: #dcecff;
  color: var(--blue)
}

.admin-nav-icon svg {
  width: 15px;
  height: 15px
}

.admin-sidebar-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  border-top: 1px solid #edf0f4;
  padding-top: 12px
}

.admin-sidebar-bottom a {
  display: flex;
  align-items: center;
  gap: 9px
}

.admin-marketplace-content {
  padding: 0 34px 44px;
  min-width: 0
}

.admin-marketplace-topbar {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e5e8ed;
  margin-bottom: 26px
}

.admin-marketplace-topbar h1 {
  margin: 3px 0 5px;
  font-size: 29px;
  letter-spacing: -.75px
}

.admin-marketplace-topbar p {
  margin: 0;
  color: #6b7280;
  font-size: 12px
}

.admin-eyebrow,
.admin-panel-kicker {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--blue);
  font-weight: 850
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px
}

.admin-mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  border: 1px solid #d8e8ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .05em
}

.admin-market-dashboard {
  display: grid;
  gap: 18px
}

.admin-dashboard-skeleton {
  min-height: 240px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #697386;
  font-size: 11px
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px
}

.admin-kpi-card {
  background: #fff;
  border: 1px solid #e3e7ed;
  border-radius: 16px;
  padding: 17px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  transition: .18s;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .025)
}

.admin-kpi-card:hover {
  border-color: #cbdcf5;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
  transform: translateY(-1px)
}

.admin-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #edf5ff;
  color: var(--blue)
}

.admin-kpi-icon svg {
  width: 20px;
  height: 20px
}

.admin-kpi-copy small {
  display: block;
  color: #717b89;
  font-size: 10px;
  margin-bottom: 5px
}

.admin-kpi-copy strong {
  display: block;
  color: #151b26;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.7px
}

.admin-kpi-copy span {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 750
}

.admin-market-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 18px
}

.admin-market-panel {
  background: #fff;
  border: 1px solid #e3e7ed;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .025)
}

.admin-market-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px
}

.admin-market-panel-head h2 {
  margin: 4px 0 0;
  font-size: 18px;
  letter-spacing: -.35px
}

.admin-panel-link {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.admin-quick-action {
  min-height: 86px;
  border: 1px solid #edf0f4;
  border-radius: 13px;
  padding: 13px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  transition: .18s
}

.admin-quick-action:hover {
  border-color: #c9dcf7;
  background: #fbfdff
}

.admin-quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eef5ff;
  color: var(--blue);
  display: grid;
  place-items: center
}

.admin-quick-icon svg {
  width: 18px;
  height: 18px
}

.admin-quick-action strong {
  display: block;
  font-size: 11px;
  color: #253044
}

.admin-quick-action span:not(.admin-quick-icon):not(.admin-quick-arrow) {
  display: block;
  color: #7b8492;
  font-size: 9px;
  line-height: 1.45;
  margin-top: 3px
}

.admin-quick-arrow {
  color: #9aa3af;
  font-size: 22px
}

.admin-health-list {
  display: grid;
  gap: 2px
}

.admin-health-row {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 2px;
  border-bottom: 1px solid #f0f2f5
}

.admin-health-row:last-child {
  border-bottom: 0
}

.admin-health-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue)
}

.admin-health-row strong {
  display: block;
  font-size: 10px
}

.admin-health-row small {
  display: block;
  margin-top: 3px;
  color: #7b8492;
  font-size: 9px
}

.admin-health-row b {
  color: var(--blue);
  font-size: 9px
}

.admin-product-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px
}

.admin-product-preview-card {
  min-width: 0;
  border: 1px solid #edf0f4;
  border-radius: 13px;
  padding: 11px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 11px;
  align-items: center
}

.admin-product-preview-card:hover {
  border-color: #cbdcf5
}

.admin-product-preview-card img {
  width: 62px;
  height: 62px;
  border-radius: 9px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eef1f4
}

.admin-product-preview-card strong {
  display: block;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.admin-product-preview-card span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 800
}

.admin-product-preview-card small {
  display: block;
  margin-top: 5px;
  color: #7a8492;
  font-size: 8px
}

.admin-preview-empty {
  padding: 24px;
  color: #7a8492;
  font-size: 10px
}

.admin-market-table-wrap {
  overflow: auto;
  margin: 0 -2px
}

.admin-market-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px
}

.admin-market-table th,
.admin-market-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #edf0f4;
  font-size: 10px
}

.admin-market-table th {
  color: #7a8492;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .06em
}

.admin-market-table tbody tr:last-child td {
  border-bottom: 0
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  background: #f1f3f5;
  color: #586273
}

.admin-status-pill.success {
  background: #eaf8f0;
  color: #13834c
}

.admin-status-pill.warning {
  background: #fff7df;
  color: #8c6500
}

.admin-status-pill.neutral {
  background: #eef2f7;
  color: #526071
}

.admin-market-error {
  background: #fff;
  border: 1px solid #ffd4d9;
  border-radius: 16px;
  padding: 22px;
  color: #a42834
}

.admin-market-error strong {
  display: block;
  font-size: 14px
}

.admin-market-error p {
  margin: 7px 0 0;
  font-size: 10px;
  line-height: 1.5
}

/* Também moderniza as páginas internas do admin sem alterar a identidade azul. */
.admin-page:not(.admin-marketplace-page) .admin-sidebar {
  background: #fff;
  color: #435066;
  border-right: 1px solid #e4e8ee;
  box-shadow: none
}

.admin-page:not(.admin-marketplace-page) .admin-logo {
  color: #172033
}

.admin-page:not(.admin-marketplace-page) .admin-nav a {
  color: #596474
}

.admin-page:not(.admin-marketplace-page) .admin-nav a:hover,
.admin-page:not(.admin-marketplace-page) .admin-nav a.active {
  background: #eef5ff;
  color: var(--blue)
}

.admin-page:not(.admin-marketplace-page) .admin-content {
  background: #f5f6f8
}

.admin-page:not(.admin-marketplace-page) .table-wrap,
.admin-page:not(.admin-marketplace-page) .admin-form,
.admin-page:not(.admin-marketplace-page) .admin-form-section {
  box-shadow: 0 5px 18px rgba(15, 23, 42, .025)
}

@media(max-width:1100px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .admin-market-main-grid {
    grid-template-columns: 1fr
  }

  .admin-product-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:760px) {
  .admin-marketplace-shell {
    grid-template-columns: 1fr
  }

  .admin-marketplace-sidebar {
    position: relative;
    height: auto;
    padding: 10px
  }

  .admin-marketplace-logo {
    padding-bottom: 12px
  }

  .admin-marketplace-nav {
    display: flex;
    flex-direction: row;
    overflow: auto;
    padding-bottom: 3px
  }

  .admin-marketplace-nav a {
    min-width: max-content
  }

  .admin-sidebar-bottom {
    position: static;
    border-top: 1px solid #edf0f4;
    margin-top: 7px;
    padding-top: 7px
  }

  .admin-marketplace-content {
    padding: 0 14px 30px
  }

  .admin-marketplace-topbar {
    min-height: auto;
    padding: 19px 0;
    align-items: flex-start;
    flex-direction: column
  }

  .admin-topbar-actions {
    width: 100%;
    flex-wrap: wrap
  }

  .admin-topbar-actions .btn {
    flex: 1
  }

  .admin-kpi-grid {
    grid-template-columns: 1fr 1fr
  }

  .admin-kpi-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 13px
  }

  .admin-kpi-icon {
    width: 38px;
    height: 38px
  }

  .admin-kpi-copy strong {
    font-size: 22px
  }

  .admin-quick-grid {
    grid-template-columns: 1fr
  }

  .admin-product-preview-grid {
    grid-template-columns: 1fr
  }

  .admin-market-panel {
    padding: 15px
  }
}

/* ===== Admin subpages in the same Central de vendas language ===== */
.admin-subpage .admin-marketplace-content {
  padding-top: 0
}

.admin-subpage .admin-top {
  min-height: 112px;
  margin: 0 0 22px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e5e8ed
}

.admin-subpage .admin-top h1 {
  margin: 0 0 6px;
  font-size: 27px;
  letter-spacing: -.65px;
  color: #172033
}

.admin-subpage .admin-top .help-text {
  margin: 0;
  color: #707a89;
  max-width: 720px
}

.admin-subpage .admin-form {
  max-width: none;
  border-color: #e3e7ed;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .025)
}

.admin-subpage .admin-form-section {
  background: #fff;
  border: 1px solid #e3e7ed;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .025)
}

.admin-subpage .product-admin-form {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none
}

.admin-subpage .table-wrap {
  border-color: #e3e7ed;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .025)
}

.admin-subpage .table th {
  height: 42px;
  background: #fafbfc;
  color: #737d8c;
  font-size: 8px;
  letter-spacing: .075em
}

.admin-subpage .table td {
  padding-top: 13px;
  padding-bottom: 13px;
  background: #fff
}

.admin-subpage .admin-product-toolbar {
  background: #fff;
  border: 1px solid #e3e7ed;
  border-radius: 15px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .025)
}

.admin-subpage .admin-product-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap
}

.admin-subpage .admin-tab {
  border: 1px solid #e3e7ed;
  background: #fff;
  color: #5f6978;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 9px;
  font-weight: 800
}

.admin-subpage .admin-tab.active {
  background: #eef5ff;
  border-color: #cfe2ff;
  color: var(--blue)
}

.admin-subpage .admin-product-search {
  min-width: min(360px, 100%)
}

.admin-subpage .admin-sticky-actions {
  position: sticky;
  bottom: 14px;
  z-index: 5;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border: 1px solid #e3e7ed;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .12)
}

@media(max-width:760px) {
  .admin-subpage .admin-top {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column
  }

  .admin-subpage .admin-top>.btn {
    width: 100%
  }

  .admin-subpage .admin-product-toolbar {
    padding: 10px
  }

  .admin-subpage .admin-product-search {
    min-width: 100%
  }
}

/* ===== v10 · produto/rodapé inspirados na experiência de grandes marketplaces ===== */
.benefits .benefit-icon {
  width: 26px;
  height: 26px;
  border-radius: 0;
  background: transparent;
  color: #53657d;
  display: grid;
  place-items: center;
  flex: 0 0 26px
}

.benefits .benefit-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.65
}

.benefits .benefit {
  padding: 20px 18px;
  gap: 13px
}

.product-market-page {
  padding: 18px 0 0;
  background: #ededed
}

.product-market-page>.shell {
  padding-bottom: 34px
}

.product-breadcrumb {
  min-height: 42px;
  color: #5f6368;
  font-size: 12px
}

.product-breadcrumb a {
  color: #3483fa
}

.product-breadcrumb span {
  color: #8c8c8c
}

.market-product-card-v10 {
  grid-template-columns: minmax(490px, 1.18fr) minmax(300px, .72fr) 330px;
  gap: 26px;
  border: 0;
  border-radius: 8px;
  padding: 28px 26px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  align-items: start
}

.market-product-card-v10 .market-gallery {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px
}

.market-product-card-v10 .market-thumbnails {
  gap: 10px;
  max-height: 540px;
  scrollbar-width: thin
}

.market-product-card-v10 .market-thumb {
  width: 50px;
  height: 50px;
  border: 1px solid #bfbfbf;
  border-radius: 6px;
  padding: 2px;
  background: #fff;
  transition: border-color .16s, box-shadow .16s
}

.market-product-card-v10 .market-thumb:hover,
.market-product-card-v10 .market-thumb.active {
  border: 2px solid #3483fa;
  box-shadow: none
}

.market-product-card-v10 .market-main-image {
  height: 520px;
  border-radius: 0;
  background: #fff
}

.market-product-card-v10 .market-main-image>img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain
}

.market-product-info {
  padding: 4px 0 0
}

.market-condition {
  font-size: 12px;
  color: #737373;
  margin-bottom: 10px
}

.market-product-title {
  font-size: 23px;
  line-height: 1.27;
  letter-spacing: -.38px;
  margin: 0 0 11px;
  font-weight: 600;
  color: #333
}

.market-rating-row {
  min-height: 24px
}

.market-rating-row .rating {
  margin: 0 0 18px;
  color: #3483fa
}

.market-rating-row .rating strong {
  color: #3483fa;
  font-weight: 400
}

.market-rating-row .rating-star {
  width: 14px;
  height: 14px
}

.market-short-description {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 8px 0 16px
}

.market-old-price {
  font-size: 13px;
  color: #999;
  margin-bottom: 2px
}

.market-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px
}

.market-price {
  font-size: 36px;
  font-weight: 300;
  color: #333;
  letter-spacing: -1.1px;
  margin: 0
}

.market-discount {
  font-size: 13px;
  color: #00a650;
  font-weight: 500
}

.market-payment-hint {
  font-size: 12px;
  color: #00a650;
  margin-bottom: 24px
}

.market-product-highlights {
  border-top: 1px solid #eee;
  padding-top: 18px;
  display: grid;
  gap: 11px
}

.market-highlight {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
  font-size: 12px;
  line-height: 1.35
}

.market-highlight span {
  color: #777
}

.market-highlight strong {
  font-weight: 500;
  color: #333;
  min-width: 0;
  overflow-wrap: anywhere
}

.market-buybox {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 18px;
  box-shadow: none;
  background: #fff
}

.delivery-title {
  gap: 11px
}

.delivery-title>svg {
  width: 20px;
  height: 20px;
  color: #00a650;
  background: transparent
}

.delivery-title strong {
  font-size: 14px;
  font-weight: 500;
  color: #00a650
}

.delivery-title span {
  font-size: 11px;
  color: #666;
  line-height: 1.45;
  margin-top: 4px
}

.market-stock {
  font-size: 14px;
  color: #333 !important;
  margin: 22px 0 12px
}

.market-stock.in-stock {
  font-weight: 600
}

.market-stock.out-stock {
  color: #c9333f !important
}

.market-qty>span {
  font-size: 12px;
  color: #333
}

.market-qty-select {
  height: 42px;
  border-radius: 6px
}

.market-buy-button,
.market-compare-button {
  min-height: 46px;
  border-radius: 6px;
  font-size: 13px
}

.market-buy-button {
  background: #3483fa;
  border-color: #3483fa
}

.market-buy-button:hover {
  background: #2968c8
}

.market-compare-button {
  background: rgba(65, 137, 230, .15);
  border-color: transparent;
  color: #3483fa
}

.market-compare-button:hover {
  background: rgba(65, 137, 230, .22)
}

.market-safeguards {
  gap: 12px
}

.safeguard-row {
  grid-template-columns: 20px 1fr;
  font-size: 11px;
  color: #666
}

.safeguard-row svg {
  color: #3483fa;
  background: transparent
}

.market-seller-box strong {
  color: #3483fa;
  font-weight: 500;
  font-size: 14px
}

.product-content-card {
  border: 0;
  border-radius: 8px;
  padding: 30px 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  margin-top: 18px
}

.product-content-card h2 {
  font-size: 22px;
  font-weight: 500;
  color: #333
}

.product-section-head p {
  font-size: 11px
}

.product-banner-stack img {
  border: 0;
  border-radius: 6px
}

.spec-group {
  border-color: #e7e7e7
}

.spec-group h3 {
  background: #f5f5f5
}

.spec-row {
  font-size: 12px
}

.product-description-full p {
  font-size: 14px;
  color: #555;
  line-height: 1.72
}

.seller-avatar-clean {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #3483fa;
  background: transparent;
  flex: 0 0 42px
}

.seller-avatar-clean svg {
  width: 30px;
  height: 30px
}

.seller-detail-row p {
  font-size: 12px
}

/* Recomendações no formato de vitrine horizontal, sem copiar identidade/marca de terceiros. */
.related-market-section {
  position: relative;
  margin-top: 18px;
  background: #fff;
  border-radius: 8px;
  padding: 20px 20px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  overflow: visible
}

.related-market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px
}

.related-market-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.2px;
  color: #222
}

.related-market-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 46px;
  justify-content: flex-end
}

.related-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7d7d7
}

.related-dot.active {
  background: #3483fa
}

.related-market-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity
}

.related-market-viewport::-webkit-scrollbar {
  display: none
}

.related-market-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  grid-template-rows: 1fr;
  gap: 20px;
  min-width: max-content;
  padding-bottom: 2px
}

.related-product-card {
  width: 174px;
  display: flex;
  flex-direction: column;
  color: #333;
  scroll-snap-align: start
}

.related-product-media {
  width: 174px;
  height: 174px;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  overflow: hidden
}

.related-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block
}

.related-product-body {
  padding-top: 14px
}

.related-product-name {
  font-size: 12px;
  line-height: 1.35;
  height: 34px;
  overflow: hidden;
  color: #333
}

.related-old-price {
  margin-top: 9px;
  font-size: 10px;
  color: #888;
  text-decoration: line-through
}

.related-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px
}

.related-price-row strong {
  font-size: 23px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.5px
}

.related-price-row span {
  font-size: 10px;
  color: #00a650;
  font-weight: 700
}

.related-sales {
  font-size: 10px;
  color: #888;
  margin-top: 3px
}

.related-installments,
.related-shipping {
  font-size: 11px;
  color: #00a650;
  margin-top: 6px
}

.related-shipping {
  font-weight: 600
}

.related-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-10%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #fff;
  color: #3483fa;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .12);
  z-index: 2;
  transition: opacity .15s, visibility .15s
}

.related-nav svg {
  width: 22px;
  height: 22px
}

.related-prev {
  left: -29px
}

.related-prev svg {
  transform: rotate(180deg)
}

.related-next {
  right: -29px
}

.related-nav.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

/* Cards gerais do catálogo mais próximos da linguagem visual da referência. */
.product-card {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  background: #fff
}

.product-card:hover {
  border: 0;
  box-shadow: 0 7px 24px rgba(0, 0, 0, .12);
  transform: translateY(-2px)
}

.product-media {
  border-bottom: 1px solid #eee;
  background: #f7f7f7
}

.product-media img {
  padding: 14px
}

.product-body {
  padding: 15px 15px 18px
}

.product-label {
  color: #00a650;
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px
}

.product-name {
  color: #333
}

.price {
  font-weight: 400;
  font-size: 25px
}

.installments {
  color: #00a650
}

/* Rodapé expansível no padrão visual solicitado, adaptado à Conecta Mix. */
.site-footer.marketplace-footer {
  position: relative;
  background: #fff;
  border-top: 4px solid #eee;
  margin-top: 0;
  color: #333
}

.footer-more-panel {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd
}

.footer-more-panel[hidden] {
  display: none
}

.footer-more-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 38px;
  padding: 46px 0 28px
}

.footer-more-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px
}

.footer-more-column strong {
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #222
}

.footer-more-column a {
  font-size: 11px;
  color: #6b6b6b;
  line-height: 1.35
}

.footer-more-column a:hover {
  color: #3483fa
}

.footer-toggle-row {
  height: 62px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #fff
}

.footer-more-toggle {
  height: 34px;
  margin-bottom: -1px;
  padding: 0 19px;
  border: 1px solid #ddd;
  border-bottom-color: #fff;
  border-radius: 5px 5px 0 0;
  background: #fff;
  color: #222;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  box-shadow: none
}

.footer-toggle-icon {
  width: 14px;
  height: 14px;
  transform: rotate(-90deg);
  transition: transform .2s
}

.footer-expanded .footer-toggle-icon {
  transform: rotate(90deg)
}

.footer-compact {
  background: #fff
}

.footer-compact-inner {
  padding: 16px 0 18px
}

.footer-compact-links {
  display: flex;
  align-items: center;
  gap: 19px;
  flex-wrap: wrap;
  margin-bottom: 9px
}

.footer-compact-links a {
  font-size: 10px;
  color: #333
}

.footer-compact-links a:hover {
  color: #3483fa
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #777;
  font-size: 9px;
  line-height: 1.4
}

/* desativa o rodapé antigo quando alguma folha antiga ainda o referencia */
.marketplace-footer .footer-grid,
.marketplace-footer .footer-bottom {
  display: none !important
}

@media(max-width:1200px) {
  .market-product-card-v10 {
    grid-template-columns: minmax(420px, 1fr) minmax(280px, .72fr)
  }

  .market-product-card-v10 .market-buybox {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px
  }

  .market-product-card-v10 .market-buybox .delivery-title,
  .market-product-card-v10 .market-buybox .market-safeguards,
  .market-product-card-v10 .market-buybox .market-seller-box {
    grid-column: 1/-1
  }

  .market-product-card-v10 .market-buybox .market-buy-button,
  .market-product-card-v10 .market-buybox .market-compare-button {
    margin: 0
  }

  .footer-more-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 45px
  }
}

@media(max-width:760px) {
  .product-market-page {
    padding-top: 8px
  }

  .product-breadcrumb {
    min-height: 34px;
    font-size: 10px
  }

  .market-product-card-v10 {
    grid-template-columns: 1fr;
    padding: 14px 12px;
    gap: 16px;
    border-radius: 0;
    margin-inline: -10px
  }

  .market-product-card-v10 .market-gallery {
    grid-template-columns: 1fr
  }

  .market-product-card-v10 .market-thumbnails {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow: auto
  }

  .market-product-card-v10 .market-main-image {
    height: 330px
  }

  .market-product-title {
    font-size: 20px
  }

  .market-price {
    font-size: 31px
  }

  .market-product-highlights {
    gap: 9px
  }

  .market-highlight {
    grid-template-columns: 105px 1fr
  }

  .market-product-card-v10 .market-buybox {
    grid-column: auto;
    display: block
  }

  .market-product-card-v10 .market-buybox .market-buy-button,
  .market-product-card-v10 .market-buybox .market-compare-button {
    margin-top: 8px
  }

  .product-content-card {
    padding: 20px 16px;
    border-radius: 0;
    margin-inline: -10px
  }

  .related-market-section {
    margin-inline: -10px;
    border-radius: 0;
    padding: 18px 14px 22px
  }

  .related-market-head h2 {
    font-size: 18px
  }

  .related-market-track {
    gap: 14px;
    grid-auto-columns: 148px
  }

  .related-product-card,
  .related-product-media {
    width: 148px
  }

  .related-product-media {
    height: 148px
  }

  .related-nav {
    display: none
  }

  .footer-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 24px;
    padding: 34px 0 24px
  }

  .footer-toggle-row {
    height: 54px
  }

  .footer-compact-links {
    gap: 10px 16px
  }

  .footer-compact-inner {
    padding: 14px 0 18px
  }
}

.product-card-market .product-name {
  display: block;
  min-height: 38px;
  margin-bottom: 8px
}

.product-card-market .old-price {
  margin-top: 6px
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 7px
}

.product-price-row .price {
  margin: 0
}

.product-discount {
  font-size: 10px;
  color: #00a650;
  font-weight: 700
}

.product-sales {
  font-size: 10px;
  color: #888;
  margin-top: 3px
}

.product-shipping {
  font-size: 10px;
  color: #00a650;
  font-weight: 650;
  margin-top: 7px
}

/* ==========================================================
   V12 — MARKETPLACE PROFISSIONAL / HEADER / PRIVACIDADE / CHECKOUT
   ========================================================== */
:root {
  --market-blue: #0969da;
  --market-blue-dark: #0756b9;
  --market-blue-deep: #064990;
  --market-blue-soft: #eaf3ff;
  --market-header-text: #fff;
}

/* Header azul inspirado em padrões consolidados de marketplace, sem copiar identidade visual alheia. */
.marketplace-blue-header {
  background: var(--market-blue);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(4, 50, 112, .18);
  backdrop-filter: none
}

.header-blue-main {
  background: var(--market-blue)
}

.header-market-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(320px, 720px) auto;
  align-items: center;
  gap: 26px
}

.brand-on-blue {
  color: #fff
}

.brand-mark-white {
  background: #fff;
  color: var(--market-blue);
  box-shadow: 0 7px 18px rgba(0, 34, 82, .18)
}

.brand-copy-white strong {
  color: #fff;
  font-size: 20px
}

.brand-copy-white small {
  color: rgba(255, 255, 255, .74)
}

.global-search-market {
  height: 44px;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  max-width: none;
  background: #fff
}

.global-search-market input {
  font-size: 14px;
  padding: 0 16px;
  color: #2f3440
}

.global-search-market button {
  width: 50px;
  padding: 0;
  background: #fff;
  color: #52606f;
  border-left: 1px solid #e7e9ee;
  display: grid;
  place-items: center
}

.global-search-market button:hover {
  background: #f7f8fa;
  color: var(--market-blue)
}

.header-promise {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap
}

.header-promise svg {
  width: 18px;
  height: 18px
}

.header-blue-lower {
  background: var(--market-blue)
}

.header-market-lower {
  min-height: 44px;
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  color: #fff
}

.header-location {
  position: relative;
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  text-align: left;
  min-width: 0
}

.header-location>svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto
}

.header-location-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.08
}

.header-location-copy small {
  font-size: 9px;
  color: rgba(255, 255, 255, .72)
}

.header-location-copy strong {
  font-size: 11px;
  max-width: 135px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.market-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: auto;
  scrollbar-width: none
}

.market-nav::-webkit-scrollbar {
  display: none
}

.market-nav a {
  padding: 8px 9px;
  border-radius: 5px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  white-space: nowrap
}

.market-nav a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff
}

.market-nav .nav-compare {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700
}

.market-nav .nav-compare svg {
  width: 15px;
  height: 15px
}

.header-market-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap
}

.header-market-actions a {
  color: #fff;
  font-size: 12px;
  padding: 7px 8px;
  border-radius: 5px
}

.header-market-actions a:hover {
  background: rgba(255, 255, 255, .12)
}

.header-cart {
  display: grid !important;
  place-items: center;
  padding-inline: 8px !important
}

.header-cart svg {
  width: 22px;
  height: 22px
}

.location-nudge {
  position: absolute;
  z-index: 2200;
  top: 42px;
  left: 0;
  width: 330px;
  padding: 18px;
  background: #fff;
  color: #242933;
  border: 1px solid #d7dce4;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .2);
  cursor: default
}

.location-nudge:before {
  content: "";
  position: absolute;
  top: -7px;
  left: 26px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #d7dce4;
  border-top: 1px solid #d7dce4;
  transform: rotate(45deg)
}

.location-nudge strong {
  display: block;
  font-size: 15px;
  margin-bottom: 7px
}

.location-nudge p {
  margin: 0 0 14px;
  color: #5e6877;
  font-size: 12px;
  line-height: 1.5
}

.location-nudge-actions {
  display: flex;
  gap: 8px
}

.btn-link {
  background: transparent;
  border-color: transparent;
  color: var(--market-blue)
}

/* Hero e faixa de fontes incorporados diretamente no HTML. */
.hero-slider-embedded {
  aspect-ratio: 1920/650;
  background: #dfe9f7
}

.source-marquee {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  background: #fff;
  border-top: 1px solid #e5e9ef;
  border-bottom: 1px solid #e5e9ef;
  min-height: 80px;
  overflow: hidden
}

.source-marquee-label {
  padding: 0 22px 0 max(18px, calc((100vw - var(--shell))/2));
  font-size: 11px;
  font-weight: 800;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap
}

.source-marquee-window {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent)
}

.source-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 13px 0;
  animation: source-right 30s linear infinite;
  will-change: transform
}

.source-item {
  width: 160px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto
}

.source-item img {
  max-width: 250px;
  max-height: 122px;
  object-fit: contain;
  display: block
}

@keyframes source-right {
  from {
    transform: translateX(calc(-50% - 17px))
  }

  to {
    transform: translateX(0)
  }
}

@media (prefers-reduced-motion:reduce) {
  .source-track {
    animation: none
  }

  .hero-slide {
    transition: none
  }
}

/* Atalhos em cartões no lugar da faixa antiga de quatro itens. */
.section-tight {
  padding: 24px 0 8px
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px
}

.shortcut-card {
  min-height: 300px;
  background: #fff;
  border: 1px solid #dfe3e9;
  border-radius: 11px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .04)
}

.shortcut-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: #333b47
}

.shortcut-art {
  height: 116px;
  margin: 10px 0 3px;
  display: grid;
  place-items: center;
  color: #303743;
  background: radial-gradient(circle, #f4f6f8 0 45%, transparent 46%)
}

.shortcut-art svg {
  width: 72px;
  height: 72px;
  stroke-width: 1.35
}

.shortcut-card p {
  margin: 6px 0 16px;
  color: #596273;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  min-height: 52px
}

.shortcut-card a {
  margin-top: auto;
  height: 32px;
  display: grid;
  place-items: center;
  background: #eaf3ff;
  color: var(--market-blue);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800
}

.shortcut-card a:hover {
  background: #dbeaff
}

/* Consentimento inicial. */
.privacy-consent {
  position: fixed;
  z-index: 8000;
  left: 18px;
  bottom: 18px;
  width: min(460px, calc(100vw - 36px));
  background: #fff;
  border: 1px solid #d7dce3;
  border-radius: 10px;
  box-shadow: 0 15px 42px rgba(15, 23, 42, .22);
  padding: 15px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px
}

.privacy-consent-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--market-blue-soft);
  color: var(--market-blue);
  display: grid;
  place-items: center
}

.privacy-consent-icon svg {
  width: 17px;
  height: 17px
}

.privacy-consent-copy strong {
  font-size: 13px
}

.privacy-consent-copy p {
  margin: 4px 0 7px;
  color: #5f6875;
  font-size: 10px;
  line-height: 1.45
}

.privacy-consent-copy a {
  color: var(--market-blue);
  font-size: 10px;
  font-weight: 700
}

.privacy-consent-actions {
  grid-column: 1/-1;
  display: flex;
  justify-content: flex-end;
  gap: 7px
}

.privacy-options-card {
  width: min(520px, 100%)
}

.privacy-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line)
}

.privacy-option-row strong {
  display: block;
  font-size: 12px
}

.privacy-option-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4
}

.privacy-required {
  font-size: 9px;
  color: var(--green);
  font-weight: 800;
  white-space: nowrap
}

.privacy-option-row input {
  width: 18px;
  height: 18px
}

/* Modal de localização. */
.location-modal-card {
  width: min(620px, 100%);
  padding: 24px
}

.location-modal-card .modal-head {
  align-items: flex-start
}

.location-modal-card .modal-head h2 {
  margin: 0 0 5px;
  font-size: 22px
}

.location-auto-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #cfe0f8;
  border-radius: 10px;
  background: #f7fbff;
  color: #1f2937;
  padding: 14px;
  text-align: left
}

.location-auto-button>svg {
  width: 24px;
  height: 24px;
  color: var(--market-blue)
}

.location-auto-button span {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.location-auto-button strong {
  font-size: 12px
}

.location-auto-button small {
  font-size: 9px;
  color: #687385
}

.location-modal-status {
  margin: 11px 0;
  padding: 10px 11px;
  border-radius: 8px;
  background: #f7f8fa;
  border: 1px solid #eceff3;
  color: #687385;
  font-size: 10px
}

.location-modal-status.loading {
  background: #fff9e8;
  border-color: #f6e4a5;
  color: #755c00
}

.location-modal-status.success {
  background: #edf9f3;
  border-color: #ccebdc;
  color: #117246
}

.location-modal-status.error {
  background: #fff0f2;
  border-color: #ffd5da;
  color: #a52633
}

.location-divider {
  position: relative;
  text-align: center;
  margin: 16px 0;
  color: #8b93a0;
  font-size: 9px
}

.location-divider:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e6e9ef
}

.location-divider span {
  position: relative;
  background: #fff;
  padding: 0 10px
}

.location-cep-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px
}

.location-result {
  margin-top: 12px;
  border: 1px solid #cfe0f8;
  border-radius: 10px;
  padding: 12px;
  background: #f8fbff
}

.location-result-copy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #3d4653;
  font-size: 10px;
  line-height: 1.5;
  margin-bottom: 10px
}

.location-result-copy svg {
  width: 16px;
  height: 16px;
  color: var(--market-blue);
  flex: 0 0 auto
}

/* Tela de preparação da compra. */
.checkout-preparing {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 24px
}

.checkout-preparing-box {
  text-align: center;
  max-width: 420px
}

.checkout-preparing-box h2 {
  font-size: 26px;
  line-height: 1.16;
  letter-spacing: -.6px;
  margin: 0 0 24px
}

.checkout-preparing-box p {
  font-size: 11px;
  color: #6b7280;
  margin-top: 16px
}

.checkout-preparing-spinner {
  width: 34px;
  height: 34px;
  margin: auto;
  border: 3px solid #dbe9fb;
  border-top-color: var(--market-blue);
  border-radius: 50%;
  animation: loaderSpin .7s linear infinite
}

.checkout-prep-error {
  width: min(440px, 100%)
}

.checkout-prep-error h2 {
  margin-top: 0
}

.checkout-prep-error p {
  color: var(--muted)
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px
}

/* Checkout amplo, inspirado em padrões de marketplace, com identidade Conecta Mix. */
.checkout-market-page {
  background: #fff
}

.checkout-market-shell {
  padding: 34px 0 70px
}

.checkout-market-title {
  font-size: 25px;
  letter-spacing: -.5px;
  margin: 0 0 26px
}

.checkout-market-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start
}

.checkout-column {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.checkout-card {
  background: #fff;
  border: 1px solid #dddfe4;
  border-radius: 15px;
  padding: 22px 24px
}

.checkout-card h2 {
  font-size: 18px;
  margin: 0 0 16px;
  letter-spacing: -.25px
}

.fulfillment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f2f4;
  border-radius: 12px;
  padding: 2px;
  max-width: 510px;
  margin-bottom: 15px
}

.fulfillment-tab {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #343b46
}

.fulfillment-tab.active {
  background: #fff;
  border-color: #6ba5ef;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
  color: #1e5db4
}

.fulfillment-tab span {
  display: block;
  font-size: 9px;
  color: var(--green);
  margin-top: 2px
}

.address-summary-box {
  border: 1px solid #6aa4ee;
  border-radius: 10px;
  padding: 14px 15px;
  display: flex;
  align-items: flex-start;
  gap: 9px
}

.address-summary-box>svg {
  color: var(--market-blue);
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px
}

.address-summary-main {
  flex: 1;
  min-width: 0
}

.address-summary-main strong {
  display: block;
  font-size: 12px
}

.address-summary-main small {
  display: block;
  color: #667085;
  font-size: 10px;
  margin-top: 3px;
  line-height: 1.4
}

.address-change {
  border: 0;
  background: transparent;
  color: var(--market-blue);
  font-weight: 700;
  font-size: 10px;
  padding: 3px
}

.delivery-option {
  margin-top: 15px;
  padding: 14px 0 0;
  border-top: 1px solid #eef0f3;
  display: flex;
  gap: 9px;
  align-items: flex-start
}

.delivery-option input {
  margin-top: 3px
}

.delivery-option strong {
  display: block;
  font-size: 12px
}

.delivery-option small {
  display: block;
  color: #717986;
  font-size: 9px;
  margin-top: 4px
}

.delivery-price {
  margin-left: auto;
  font-size: 11px;
  color: var(--green);
  font-weight: 800;
  white-space: nowrap
}

.pickup-list {
  display: grid;
  gap: 9px
}

.pickup-option {
  display: flex;
  gap: 10px;
  padding: 13px;
  border: 1px solid #e1e4e8;
  border-radius: 10px
}

.pickup-option input {
  margin-top: 3px
}

.pickup-option strong {
  display: block;
  font-size: 12px
}

.pickup-option small {
  display: block;
  color: #667085;
  font-size: 9px;
  margin-top: 4px;
  line-height: 1.45
}

.payment-methods {
  display: grid;
  gap: 5px
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid #eef0f3
}

.payment-method:last-child {
  border-bottom: 0
}

.payment-method-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #e1e4e8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #4a5565
}

.payment-method-icon svg {
  width: 19px;
  height: 19px
}

.payment-method-copy strong {
  display: block;
  font-size: 12px
}

.payment-method-copy small {
  display: block;
  color: #7a8492;
  font-size: 9px;
  margin-top: 2px
}

.checkout-summary-market {
  position: sticky;
  top: 132px;
  background: #fff;
  border: 1px solid #dddfe4;
  border-radius: 15px;
  padding: 22px 24px
}

.checkout-summary-market h2 {
  font-size: 18px;
  margin: 0 0 17px
}

.summary-product-market {
  display: flex;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8eaed
}

.summary-product-market img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 7px;
  background: #f6f7f8
}

.summary-product-market strong {
  display: block;
  font-size: 11px;
  line-height: 1.35
}

.summary-product-market small {
  display: block;
  color: #6b7280;
  font-size: 9px;
  margin-top: 3px
}

.summary-pricing {
  padding: 12px 0;
  border-bottom: 1px solid #e8eaed;
  display: grid;
  gap: 9px
}

.summary-price-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px
}

.summary-price-row.discount {
  color: var(--green)
}

.summary-total-market {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0
}

.summary-total-market span {
  font-weight: 800
}

.summary-total-market strong {
  font-size: 20px
}

.coupon-entry-button {
  width: 100%;
  border: 0;
  background: #eef5ff;
  color: var(--market-blue);
  border-radius: 7px;
  padding: 10px;
  font-size: 10px;
  font-weight: 800;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px
}

.coupon-entry-button svg {
  width: 16px;
  height: 16px
}

.checkout-finalize {
  width: 100%;
  height: 48px;
  font-size: 13px
}

.checkout-validation {
  font-size: 9px;
  color: #6b7280;
  line-height: 1.4;
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 6px
}

.checkout-validation svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--market-blue)
}

.coupon-modal-card {
  width: min(650px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto
}

.coupon-code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line)
}

.coupon-list {
  display: grid;
  gap: 9px;
  padding-top: 16px
}

.coupon-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 11px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 11px
}

.coupon-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 9px;
  background: #f6f7f8
}

.coupon-card strong {
  display: block;
  font-size: 12px
}

.coupon-card p {
  margin: 3px 0 0;
  color: #667085;
  font-size: 9px;
  line-height: 1.4
}

.coupon-percent {
  color: var(--green);
  font-weight: 850;
  font-size: 12px
}

.coupon-apply {
  margin-top: 5px
}

/* Login/cadastro isolados do header para recuperar o visual de autenticação. */
body.auth-page {
  min-height: 100vh;
  background: linear-gradient(145deg, #f4f8fd, #fff 60%);
  overflow: auto
}

body.auth-page .auth-shell {
  min-height: 100vh;
  padding: 22px 16px
}

body.auth-page .auth-card {
  width: min(470px, 100%);
  padding: 30px 32px;
  border-radius: 20px;
  box-shadow: 0 20px 58px rgba(15, 23, 42, .1)
}

.auth-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px
}

.auth-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--market-blue);
  color: #fff;
  display: grid;
  place-items: center
}

.auth-brand-mark svg {
  width: 21px;
  height: 21px
}

.auth-brand strong {
  font-size: 18px
}

/* Admin: cupons */
.coupon-admin-image {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f6f8;
  border: 1px solid #e5e7eb
}

.coupon-admin-chip {
  display: flex;
  align-items: center;
  gap: 9px
}

.coupon-admin-chip strong {
  display: block;
  font-size: 11px
}

.coupon-admin-chip small {
  display: block;
  color: #6b7280;
  font-size: 9px;
  margin-top: 3px
}

@media(max-width:1120px) {
  .header-market-row {
    grid-template-columns: auto minmax(280px, 1fr)
  }

  .header-promise {
    display: none
  }

  .header-market-lower {
    grid-template-columns: 160px 1fr
  }

  .header-market-actions {
    grid-column: 2;
    justify-self: end
  }

  .market-nav {
    grid-row: 2;
    grid-column: 1/-1;
    padding-bottom: 6px
  }

  .header-blue-lower {
    padding-bottom: 4px
  }

  .shortcut-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .checkout-market-grid {
    grid-template-columns: minmax(0, 1fr) 330px
  }
}

@media(max-width:760px) {
  .header-market-row {
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 9px;
    padding-top: 9px;
    padding-bottom: 8px
  }

  .brand-copy-white small {
    display: none
  }

  .brand-mark-white {
    width: 38px;
    height: 38px
  }

  .brand-copy-white strong {
    font-size: 16px
  }

  .global-search-market {
    grid-column: 1/-1;
    grid-row: 2;
    height: 42px
  }

  .header-promise {
    display: none
  }

  .header-market-lower {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-bottom: 5px
  }

  .header-location {
    min-width: 0
  }

  .header-location-copy strong {
    max-width: 170px
  }

  .market-nav {
    display: none
  }

  .header-market-actions {
    grid-column: 2
  }

  .header-market-actions>a:not(.header-cart) {
    display: none
  }

  .header-cart {
    display: grid !important
  }

  .location-nudge {
    left: 0;
    top: 43px;
    width: min(320px, calc(100vw - 24px))
  }

  .hero-slider-embedded {
    aspect-ratio: 16/7
  }

  .hero-control {
    width: 38px;
    height: 38px
  }

  .hero-control.prev {
    left: 8px
  }

  .hero-control.next {
    right: 8px
  }

  .hero-dots {
    bottom: 8px
  }

  .source-marquee {
    grid-template-columns: 1fr
  }

  .source-marquee-label {
    padding: 8px 12px 0;
    font-size: 8px
  }

  .source-track {
    min-height: 58px
  }

  .source-item {
    width: 120px;
    height: 38px
  }

  .source-item img {
    max-width: 110px;
    max-height: 32px
  }

  .shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px
  }

  .shortcut-card {
    min-height: 250px;
    padding: 14px 12px
  }

  .shortcut-title {
    font-size: 12px
  }

  .shortcut-art {
    height: 92px
  }

  .shortcut-art svg {
    width: 58px;
    height: 58px
  }

  .shortcut-card p {
    font-size: 10px;
    min-height: 44px
  }

  .privacy-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto
  }

  .privacy-consent-actions {
    justify-content: stretch
  }

  .privacy-consent-actions .btn {
    flex: 1
  }

  .location-modal-card {
    padding: 18px
  }

  .location-cep-form {
    grid-template-columns: 1fr
  }

  .location-cep-form .btn {
    height: 42px
  }

  .checkout-market-shell {
    padding: 20px 0 90px
  }

  .checkout-market-title {
    font-size: 21px;
    margin-bottom: 17px
  }

  .checkout-market-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .checkout-card {
    padding: 17px 15px
  }

  .checkout-summary-market {
    position: static;
    padding: 17px 15px
  }

  .fulfillment-tabs {
    max-width: none
  }

  .checkout-summary-market {
    order: -1
  }

  .checkout-market-grid>.checkout-summary-market {
    order: 2
  }

  .coupon-card {
    grid-template-columns: 42px 1fr
  }

  .coupon-card img {
    width: 42px;
    height: 42px
  }

  .coupon-card>div:last-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between
  }

  body.auth-page .auth-shell {
    padding: 12px
  }

  .body.auth-page .auth-card,
  body.auth-page .auth-card {
    padding: 22px 18px;
    border-radius: 16px
  }
}

/* V12.13 - origem da oferta nas recomendações do comparador */
.suggestion-price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px
}

.suggestion-source-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  padding: 3px;
  flex: 0 0 auto
}

.location-result-fields {
  display: grid;
  grid-template-columns: minmax(120px, .55fr) 1fr;
  gap: 10px;
  margin: 12px 0
}

.location-result-fields .input {
  width: 100%
}

@media(max-width:560px) {
  .location-result-fields {
    grid-template-columns: 1fr
  }
}

/* ==========================================================
   V13 — HEADER, PERFIL, CARRINHO, CHAT E LOADER
   ========================================================== */

/* Canva Sans permanece como primeira opção quando instalada no dispositivo.
   DM Sans é carregada como webfont compatível para garantir que a tipografia seja realmente aplicada. */
:root{--font-ui:"Canva Sans","DM Sans","Helvetica Neue",Helvetica,Arial,-apple-system,BlinkMacSystemFont,sans-serif}
html,body,button,input,select,textarea{font-family:var(--font-ui)}

.header-market-row{
  min-height:76px;
  grid-template-columns:minmax(270px,350px) minmax(360px,720px) minmax(190px,240px);
  gap:22px
}
.header-identity{display:flex;align-items:center;gap:13px;min-width:0}
.company-logo-link{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:112px;height:46px;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(1,39,91,.18)}
.company-logo-link img{width:100%;height:100%;object-fit:contain;display:block}
.header-region-wrap{position:relative;min-width:0}.header-region-button{position:relative;min-width:0;display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#fff;text-align:left;padding:5px 3px;border-radius:7px;cursor:pointer}
.header-region-button:hover,.header-region-button:focus-visible{background:rgba(255,255,255,.10);outline:none}
.mg-flag-icon{width:28px;height:20px;flex:0 0 auto}
.header-region-copy{display:flex;flex-direction:column;min-width:0;line-height:1.08}
.header-region-copy small{font-size:9px;color:rgba(255,255,255,.72)}
.header-region-copy strong{font-size:11px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:175px}
.global-search-market{height:46px;border-radius:7px;box-shadow:0 2px 8px rgba(0,0,0,.16)}
.global-search-market input{font-size:14px}
.header-profile-button{min-width:0;border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:9px;padding:6px 9px;border-radius:9px;cursor:pointer;text-align:left;justify-self:end}
.header-profile-button:hover,.header-profile-button:focus-visible{background:rgba(255,255,255,.11);outline:none}
.profile-avatar{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#fff;color:var(--market-blue);border:2px solid rgba(255,255,255,.55)}
.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-avatar svg{width:58%;height:58%}
.header-profile-avatar{width:38px;height:38px;flex:0 0 38px}
.header-profile-copy{display:flex;flex-direction:column;min-width:0;line-height:1.08}
.header-profile-copy small{font-size:9px;color:rgba(255,255,255,.72)}
.header-profile-copy strong{font-size:11px;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.header-market-lower{grid-template-columns:minmax(0,1fr) auto;gap:18px;min-height:42px}
.header-cart{position:relative}
.cart-count{position:absolute;top:0;right:-2px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#fff;color:var(--market-blue);border:1px solid rgba(0,0,0,.06);font-size:9px;font-weight:800;display:grid;place-items:center}

.profile-modal-card{width:min(480px,100%)}
.profile-modal-card h2{margin:0 0 4px;font-size:21px}
.profile-guest{display:grid;justify-items:center;text-align:center;padding:16px 0 8px}
.profile-guest .profile-modal-avatar,.profile-edit-avatar .profile-modal-avatar{width:82px;height:82px;background:#eef5ff;color:var(--market-blue);border-color:#d9e8fc}
.profile-guest strong{margin-top:11px;font-size:15px}.profile-guest p{margin:5px 0 0;color:var(--muted);font-size:11px}
.profile-guest-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.profile-guest-actions .btn{text-align:center}
.profile-edit-form{display:grid;gap:13px}.profile-edit-avatar{display:flex;align-items:center;gap:14px;padding:8px 0 4px}.profile-edit-avatar input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}

/* Chat de atendimento */
.support-chat{position:fixed;right:20px;bottom:20px;z-index:6500;font-family:var(--font-ui)}
.support-chat-toggle{width:54px;height:54px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--market-blue);color:#fff;box-shadow:0 12px 32px rgba(9,105,218,.30);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.support-chat-toggle:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(9,105,218,.36)}
.support-chat-toggle svg{width:23px;height:23px}
.support-chat-panel{position:absolute;right:0;bottom:66px;width:min(350px,calc(100vw - 28px));background:#fff;border:1px solid #e1e6ee;border-radius:16px;overflow:hidden;box-shadow:0 22px 60px rgba(15,23,42,.22)}
.support-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #eef1f5;background:#fff}
.support-chat-head>div{display:flex;flex-direction:column;gap:2px}.support-chat-head strong{font-size:13px}.support-chat-head small{font-size:9px;color:#707988}
.support-chat-body{padding:16px;background:#f8fafc}.chat-bubble{max-width:88%;padding:10px 12px;border-radius:12px;font-size:11px;line-height:1.45}.chat-bubble-agent{background:#fff;border:1px solid #e6eaf0;color:#303846;border-bottom-left-radius:4px}
.support-chat-choices{display:grid;gap:7px;margin-top:12px}.support-chat-choices button{width:100%;min-height:39px;border:1px solid #dce3ec;border-radius:9px;background:#fff;color:#303846;text-align:left;padding:9px 11px;font-weight:650;font-size:10px;cursor:pointer}.support-chat-choices button:hover{border-color:#b8d3f8;background:#f4f8ff;color:var(--market-blue)}.support-chat-choices .specialist-choice{background:var(--market-blue);border-color:var(--market-blue);color:#fff}.support-chat-choices .specialist-choice:hover{background:var(--market-blue-dark);color:#fff}

/* Loader realmente animado */
@keyframes loaderSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes loaderPulse{0%,100%{transform:scale(.9);opacity:.45}50%{transform:scale(1);opacity:1}}
.checkout-preparing-spinner{position:relative;width:40px;height:40px;border-width:4px;animation:loaderSpin .72s linear infinite;box-shadow:0 0 0 1px rgba(9,105,218,.02)}
.checkout-preparing-spinner:after{content:"";position:absolute;inset:10px;border-radius:50%;background:var(--market-blue);animation:loaderPulse .9s ease-in-out infinite}

/* Carrinho */
.cart-page{background:#f5f6f8;min-height:100vh}.cart-shell{padding:28px 0 70px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.cart-panel,.cart-summary{background:#fff;border:1px solid #e3e7ed;border-radius:14px}.cart-panel{overflow:hidden}.cart-page-head{padding:20px 22px;border-bottom:1px solid #edf0f4}.cart-page-head h1{margin:0;font-size:24px}.cart-page-head p{margin:5px 0 0;color:var(--muted);font-size:11px}.cart-item{display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:16px;padding:18px 20px;border-bottom:1px solid #edf0f4;align-items:center}.cart-item:last-child{border-bottom:0}.cart-item-media{width:104px;height:104px;border:1px solid #edf0f4;border-radius:10px;display:grid;place-items:center;overflow:hidden;background:#fff}.cart-item-media img{width:100%;height:100%;object-fit:contain}.cart-item-info h2{font-size:14px;margin:0 0 7px;font-weight:600}.cart-item-info .rating{margin-bottom:8px}.cart-item-price{font-size:19px;font-weight:700}.cart-item-controls{display:flex;align-items:center;gap:7px;margin-top:10px}.cart-qty{width:70px}.cart-remove{border:0;background:transparent;color:#b4232f;font-size:10px;font-weight:650;cursor:pointer;padding:6px}.cart-item-action{display:grid;gap:8px;min-width:126px}.cart-summary{padding:20px;position:sticky;top:142px}.cart-summary h2{margin:0 0 18px;font-size:17px}.cart-summary-row{display:flex;justify-content:space-between;gap:14px;font-size:11px;margin:9px 0}.cart-summary-total{padding-top:13px;margin-top:13px;border-top:1px solid #e9edf2;font-size:15px;font-weight:800}.cart-empty{padding:48px 20px;text-align:center}.cart-empty svg{width:42px;height:42px;color:#8090a5}.cart-empty h2{font-size:18px;margin:12px 0 5px}.cart-empty p{font-size:11px;color:var(--muted);margin:0 0 16px}

@media(max-width:1120px){.header-market-row{grid-template-columns:minmax(245px,310px) minmax(300px,1fr) auto}.header-profile-copy{display:none}.header-profile-button{padding:5px}.header-market-lower{grid-template-columns:1fr auto}}
@media(max-width:760px){.header-market-row{grid-template-columns:1fr auto}.header-identity{min-width:0}.company-logo-link{width:88px;height:39px}.header-region-copy strong{max-width:125px;font-size:10px}.global-search-market{grid-column:1/-1}.header-profile-button{grid-column:2;grid-row:1}.header-market-lower{display:flex;justify-content:flex-end;min-height:40px}.header-market-actions>a:not(.header-cart){display:none}.support-chat{right:12px;bottom:78px}.cart-layout{grid-template-columns:1fr}.cart-summary{position:static}.cart-item{grid-template-columns:80px minmax(0,1fr)}.cart-item-media{width:80px;height:80px}.cart-item-action{grid-column:1/-1;grid-template-columns:1fr 1fr}.profile-guest-actions{grid-template-columns:1fr}}
@media(max-width:430px){.company-logo-link{width:74px}.header-region-copy small{display:none}.header-region-copy strong{max-width:110px}.mg-flag-icon{width:24px}.cart-item{padding:14px;gap:11px}.cart-page-head{padding:17px}.support-chat-panel{width:calc(100vw - 24px)}}

/* V14 — imagens do header são declaradas diretamente em cada HTML */
.company-header-logo{width:100%;height:100%;display:block;object-fit:contain}.header-profile-avatar>img{width:100%;height:100%;display:block;object-fit:cover}


/* V16 — previsão de entrega, Envio Full e painel móvel do vendedor */
.shipping-service-selector{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.shipping-service-button{width:100%;min-height:78px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;text-align:left;color:var(--text);cursor:pointer;transition:.18s ease}
.shipping-service-button:hover{border-color:#9fc5f6;background:#f8fbff}.shipping-service-button.active{border-color:var(--blue);box-shadow:0 0 0 2px rgba(11,94,215,.08);background:#f7fbff}.shipping-service-icon{width:36px;height:36px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.shipping-service-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.shipping-service-button strong{display:block;font-size:12px}.shipping-service-button small{display:block;color:var(--muted);font-size:9px;line-height:1.4;margin-top:3px}.shipping-service-button b{font-size:10px;color:var(--green);white-space:nowrap}.shipping-full-button.active{background:#f1f7ff}
.delivery-forecast-card,.delivery-code-card{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff;display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:flex-start}.delivery-forecast-icon,.delivery-code-lock{width:44px;height:44px;border-radius:12px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.delivery-forecast-icon svg,.delivery-code-lock svg{width:22px;height:22px}.delivery-forecast-copy small,.delivery-code-copy small{display:block;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.5px}.delivery-forecast-copy strong,.delivery-code-copy strong{display:block;font-size:17px;margin:3px 0}.delivery-forecast-copy>span,.delivery-code-copy>span{display:block;color:var(--muted);font-size:10px;line-height:1.45}.delivery-window-pill{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:7px 9px;border-radius:9px;background:#eef6ff;color:var(--blue);font-size:10px;font-weight:700}.delivery-window-pill svg{width:15px;height:15px}.delivery-code-card{background:#fffaf0;border-color:#f4dfad}.delivery-code-lock{background:#fff0c9;color:#8a6400}.delivery-code-copy strong{font-size:24px;letter-spacing:3px;font-variant-numeric:tabular-nums}
.timeline-stage-image{width:21px;height:21px;display:block}.timeline-step:not(.done) .timeline-stage-image{filter:brightness(0) saturate(100%) invert(61%) sepia(8%) saturate(541%) hue-rotate(175deg) brightness(94%);opacity:.9}.timeline-step.done .timeline-stage-image{filter:none}.timeline-node{overflow:hidden}
.seller-orders-content{min-width:0}.seller-orders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.seller-order-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;min-width:0}.seller-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #edf0f3}.seller-order-head small,.seller-order-next small{display:block;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.5px}.seller-order-head strong{font-size:15px}.seller-order-product{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center;padding:13px 0}.seller-order-product img{width:58px;height:58px;object-fit:contain;border:1px solid var(--line);border-radius:10px}.seller-order-product strong{display:block;font-size:11px;line-height:1.35}.seller-order-product small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.seller-order-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.seller-order-info{padding:9px;border-radius:10px;background:#f8fafc}.seller-order-info small{display:block;color:var(--muted);font-size:8px}.seller-order-info strong{display:block;margin-top:3px;font-size:10px}.seller-order-address,.seller-order-window{display:flex;gap:7px;align-items:flex-start;margin-top:10px;padding:10px;border-radius:10px;background:#f8fafc;color:#4d5866;font-size:9px;line-height:1.45}.seller-order-address svg,.seller-order-window svg{width:16px;height:16px;flex:0 0 auto;color:var(--blue)}.seller-order-update{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);display:grid;gap:9px}.seller-order-next strong{display:block;margin-top:3px;font-size:13px}.seller-order-field{display:grid;gap:5px}.seller-order-field>span{font-size:8px;font-weight:800;color:#5d6673;text-transform:uppercase;letter-spacing:.35px}.seller-field-help{font-size:8px;color:var(--muted);line-height:1.4;margin:-3px 0 2px}.seller-code-warning{color:#8a6400}.seller-time-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.delivery-code-input{font-size:17px;letter-spacing:3px;font-weight:800;text-align:center;font-variant-numeric:tabular-nums}
@media(max-width:1000px){.seller-orders-grid{grid-template-columns:1fr}}
@media(max-width:760px){.shipping-service-selector{grid-template-columns:1fr}.shipping-service-button{grid-template-columns:34px 1fr auto;min-height:72px}.seller-orders-grid{grid-template-columns:1fr;gap:10px}.seller-order-card{padding:13px;border-radius:13px}.seller-order-info-grid{grid-template-columns:1fr 1fr}.seller-time-grid{grid-template-columns:1fr 1fr}.seller-order-update .btn{width:100%;min-height:44px}.delivery-forecast-card,.delivery-code-card{grid-template-columns:40px 1fr;padding:13px}.delivery-forecast-icon,.delivery-code-lock{width:40px;height:40px}.delivery-code-copy strong{font-size:21px}.admin-sidebar.seller-sidebar{padding:12px}.seller-sidebar .admin-nav{display:flex;gap:5px;overflow-x:auto;padding-bottom:3px}.seller-sidebar .admin-nav a{white-space:nowrap;flex:0 0 auto}.seller-orders-content{padding:12px}.seller-orders-content .admin-top{align-items:flex-start}.seller-orders-content .admin-top h1{font-size:22px}}
@media(max-width:420px){.seller-order-info-grid,.seller-time-grid{grid-template-columns:1fr}.shipping-service-button{grid-template-columns:32px 1fr}.shipping-service-button>b{grid-column:2}.delivery-code-copy strong{font-size:19px}}

/* =========================================================
   V18 — PRODUTOS AFILIADOS / PROMO PROFISSIONAL
========================================================= */

.promo-search-overlay {
  padding: 0;
  overflow: hidden;
  background: #071a33;
}

.promo-search-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.promo-search-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 22, 47, .82) 0%, rgba(5, 22, 47, .60) 45%, rgba(5, 22, 47, .36) 100%),
    linear-gradient(180deg, rgba(4, 19, 43, .18), rgba(4, 19, 43, .48));
}

.promo-search-stage,
.promo-search-progress {
  position: relative;
  z-index: 2;
}

.promo-search-stage {
  width: min(850px, calc(100% - 36px));
  transform: none;
  color: #fff;
}

.promo-search-kicker {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
}

.promo-search-stage h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 760px;
  margin: 0 auto 14px;
  text-wrap: balance;
}

.promo-search-stage>p {
  color: rgba(255,255,255,.84);
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 14px;
  line-height: 1.55;
}

.promo-search-box {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 0;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.promo-search-suggestions {
  width: min(760px, 100%);
  max-height: min(420px, 48vh);
  overflow-y: auto;
  margin: 10px auto 0;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}

.promo-suggestion-row .rating {
  margin-top: 4px;
}

.suggestion-platform-name {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  text-align: right;
}

.promo-search-progress {
  width: min(620px, calc(100% - 36px));
  text-align: center;
  color: #fff;
}

.promo-search-progress h2 {
  font-size: clamp(26px, 4vw, 43px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 25px 0 8px;
}

.promo-search-progress>p {
  color: rgba(255,255,255,.75);
  margin: 0 0 22px;
  font-size: 13px;
}













.promo-results-page {
  min-height: 65vh;
}

.promo-affiliate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.promo-affiliate-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 3px 14px rgba(15,23,42,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.promo-affiliate-card:hover {
  transform: translateY(-3px);
  border-color: #cbd9ed;
  box-shadow: 0 16px 38px rgba(15,23,42,.09);
}

.promo-affiliate-media {
  height: 210px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg,#fff,#fafbfd);
  border-bottom: 1px solid #eef1f5;
  padding: 18px;
}

.promo-affiliate-media>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.affiliate-source-corner {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.96);
  border: 1px solid #e4e9ef;
  box-shadow: 0 8px 22px rgba(15,23,42,.10);
}

.affiliate-source-corner img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.promo-affiliate-body {
  padding: 14px;
}

.promo-affiliate-body h3 {
  min-height: 42px;
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #263244;
}

.promo-affiliate-source {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.promo-affiliate-source img {
  width: 22px;
  height: 22px;
  border: 1px solid #e5e9ef;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.promo-affiliate-description {
  min-height: 34px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-affiliate-price {
  margin: 10px 0 2px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #172033;
}

.promo-affiliate-buy {
  width: 100%;
  margin-top: 11px;
}

/* Transição para plataforma afiliada */
body.affiliate-transition-open { overflow: hidden; }

.affiliate-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 32px;
  background: rgba(255,255,255,.985);
  animation: affiliateTransitionIn .24s ease both;
}

.affiliate-transition[hidden] { display: none; }

@keyframes affiliateTransitionIn {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

.affiliate-transition-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 1px solid #e1e7ef;
  border-radius: 50%;
  background: #fff;
  color: #5d6877;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.affiliate-transition-close svg { width: 20px; height: 20px; }

.affiliate-transition-inner {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: minmax(0,1fr) 180px minmax(0,1fr);
  align-items: center;
  gap: 25px;
}

.affiliate-transition-product,
.affiliate-transition-destination {
  min-width: 0;
  text-align: center;
}

.affiliate-transition-product>img {
  width: min(300px,100%);
  height: 280px;
  object-fit: contain;
  background: #fff;
}

.affiliate-transition-product>strong {
  display: block;
  max-width: 330px;
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.4;
}

.affiliate-transition-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #1173e8;
}

.affiliate-transition-arrows svg {
  width: 54px;
  height: 54px;
  stroke: currentColor;
  fill: none;
  animation: affiliateArrow 1.25s ease-in-out infinite;
}

.affiliate-transition-arrows svg:nth-child(2) { animation-delay: .14s; }
.affiliate-transition-arrows svg:nth-child(3) { animation-delay: .28s; }

@keyframes affiliateArrow {
  0%,100% { opacity: .25; transform: translateX(-3px); }
  50% { opacity: 1; transform: translateX(5px); }
}

.affiliate-transition-destination>span {
  display: block;
  margin-bottom: 15px;
  color: #667183;
  font-size: 12px;
}

.affiliate-transition-logo-box {
  width: 190px;
  height: 150px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.affiliate-transition-logo-box img {
  max-width: 170px;
  max-height: 115px;
  object-fit: contain;
}

.affiliate-transition-destination>strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
}

.affiliate-transition-note {
  max-width: 630px;
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.affiliate-transition-now { min-width: 170px; }


.affiliate-auto-import-section { border: 1px solid #d7e5f7; background: linear-gradient(180deg,#fbfdff 0%,#fff 100%); }
.affiliate-import-mode-row { max-width: 420px; margin-bottom: 14px; }
.affiliate-import-mode-row .form-group { margin: 0; }
.affiliate-preview-content { min-width: 0; }
.affiliate-preview-title-row > div { min-width: 0; }
.affiliate-preview-title-row h3 { margin-top: 9px; }
.affiliate-preview-compare { margin-top: 3px; color: var(--muted); font-size: 11px; text-decoration: line-through; }
.affiliate-preview-meta { margin-top: 8px; font-size: 10px; font-weight: 700; color: #526075; }
.affiliate-preview-description { margin: 9px 0 0; color: #5c6676; font-size: 10px; line-height: 1.55; white-space: pre-line; }
.affiliate-import-confirm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.affiliate-import-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.affiliate-auto-active { margin: 0; }
#affiliateManualPanel[hidden],#affiliateAutoPanel[hidden] { display: none !important; }
@media (max-width:760px){.affiliate-import-confirm-row{align-items:stretch;flex-direction:column}.affiliate-import-actions{display:grid;grid-template-columns:1fr 1fr}.affiliate-import-actions .btn{width:100%}}

/* Painel do vendedor — produto afiliado */
.seller-product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.affiliate-import-heading,
.admin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
}

.affiliate-import-heading {
  justify-content: flex-start;
  margin-bottom: 17px;
}

.affiliate-import-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
}

.affiliate-import-icon svg { width: 23px; height: 23px; }

.affiliate-url-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 10px;
}

.affiliate-url-row .form-group { margin: 0; }
.affiliate-url-row .btn { min-height: 43px; }

.affiliate-import-loading {
  margin-top: 13px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce8f7;
  border-radius: 12px;
  background: #f7fbff;
}

.affiliate-import-loading[hidden] { display: none; }
.affiliate-import-loading strong,.affiliate-import-loading small { display: block; }
.affiliate-import-loading small { margin-top: 3px; color: var(--muted); }

.affiliate-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid #e2e7ee;
  border-radius: 10px;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
}
.affiliate-source-badge img { width: 23px; height: 23px; object-fit: contain; }

.affiliate-preview-card {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 18px;
  margin-top: 15px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.affiliate-preview-image-wrap {
  min-height: 170px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fafbfc;
}
.affiliate-preview-image-wrap img { width: 100%; height: 170px; object-fit: contain; }
.affiliate-preview-title-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.affiliate-preview-title-row h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.affiliate-platform-logo { width: 40px; height: 40px; object-fit: contain; border: 1px solid #e4e9ef; border-radius: 10px; background: #fff; padding: 4px; }
.affiliate-preview-price { margin-top: 10px; font-size: 25px; font-weight: 800; }
.affiliate-save-form { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: end; gap: 10px; margin-top: 14px; }
.affiliate-save-form .form-group { margin: 0; }
.switch-row { min-height: 43px; display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; }

.seller-affiliate-list { display: grid; gap: 9px; margin-top: 14px; }
.seller-affiliate-card { display: grid; grid-template-columns: 90px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.seller-affiliate-media img { width: 82px; height: 82px; object-fit: contain; }
.seller-affiliate-main { min-width: 0; }
.seller-affiliate-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.seller-affiliate-head strong { font-size: 12px; line-height: 1.4; }
.seller-affiliate-head .affiliate-platform-logo { width: 31px; height: 31px; }
.seller-affiliate-meta { margin-top: 5px; font-size: 9px; font-weight: 700; color: #4f5b6d; }
.seller-affiliate-actions { display: flex; gap: 6px; align-items: center; }

@media (max-width: 1050px) {
  .promo-affiliate-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .promo-search-stage { width: min(100% - 24px, 680px); }
  .promo-search-stage h1 { font-size: 34px; }
  .promo-search-stage>p { font-size: 12px; }
  .promo-search-box { height: 58px; }
  .promo-search-box button { width: auto; min-width: 92px; }
  .promo-affiliate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .promo-affiliate-media { height: 165px; padding: 12px; }
  .affiliate-source-corner { width: 36px; height: 36px; top: 8px; right: 8px; }
  .affiliate-source-corner img { width: 25px; height: 25px; }
  .promo-affiliate-body { padding: 11px; }
  .promo-affiliate-body h3 { font-size: 11px; min-height: 37px; }
  .promo-affiliate-price { font-size: 19px; }
  .promo-affiliate-description { display: none; }
  .affiliate-transition { padding: 22px 14px; gap: 17px; }
  .affiliate-transition-inner { grid-template-columns: minmax(0,1fr) 88px minmax(0,1fr); gap: 6px; }
  .affiliate-transition-product>img { height: 170px; }
  .affiliate-transition-logo-box { width: 130px; height: 105px; }
  .affiliate-transition-logo-box img { max-width: 115px; max-height: 85px; }
  .affiliate-transition-arrows svg { width: 31px; height: 31px; margin-left: -7px; }
  .affiliate-transition-product>strong,.affiliate-transition-destination>strong { font-size: 11px; }
  .affiliate-transition-destination>span { font-size: 9px; }
  .affiliate-url-row { grid-template-columns: 1fr; }
  .affiliate-url-row .btn { width: 100%; }
  .affiliate-preview-card { grid-template-columns: 110px minmax(0,1fr); gap: 11px; padding: 10px; }
  .affiliate-preview-image-wrap,.affiliate-preview-image-wrap img { min-height: 110px; height: 110px; }
  .affiliate-preview-title-row h3 { font-size: 14px; }
  .affiliate-save-form { grid-template-columns: 1fr; }
  .affiliate-save-form .btn { width: 100%; }
  .seller-affiliate-card { grid-template-columns: 72px minmax(0,1fr); }
  .seller-affiliate-media img { width: 68px; height: 68px; }
  .seller-affiliate-actions { grid-column: 1/-1; justify-content: flex-end; }
}

@media (max-width: 430px) {
  .promo-affiliate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .promo-affiliate-media { height: 135px; }
  .promo-affiliate-body { padding: 9px; }
  .promo-affiliate-source img { width: 19px; height: 19px; }
  .promo-affiliate-price { font-size: 17px; }
  .promo-affiliate-buy { min-height: 38px; }
  .affiliate-transition-inner { grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr); }
  .affiliate-transition-product>img { height: 130px; }
  .affiliate-transition-logo-box { width: 95px; height: 82px; }
  .affiliate-transition-logo-box img { max-width: 85px; max-height: 65px; }
  .affiliate-transition-arrows svg { width: 25px; height: 25px; margin-left: -10px; }
  .affiliate-transition-note { font-size: 9px; }
}

/* V19 — Promo: carregamento somente por textos, sem spinner/barra */
.promo-text-only-progress{
  display:grid;
  place-items:center;
  align-content:center;
  min-height:240px;
}
.promo-text-only-progress h2{
  margin:0;
  max-width:780px;
  font-size:clamp(30px,5vw,56px);
  line-height:1.05;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.promo-text-only-progress>p{
  margin-top:14px;
  color:rgba(255,255,255,.74);
  font-size:13px;
}
/* v20: pagamento transparente Mercado Pago */
.card-payment-panel,.pix-result-panel{margin-top:18px;padding:18px;border:1px solid #dfe5ee;border-radius:14px;background:#fbfdff}
.payment-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.payment-panel-head strong{font-size:15px}.payment-panel-head span{font-size:11px;color:#667085}
.mp-card-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mp-card-form .card-wide{grid-column:1/-1}.mp-secure-field{height:46px;padding:12px 13px;border:1px solid #d6dce6;border-radius:10px;background:#fff}.mp-secure-field:focus-within{border-color:#1677e8;box-shadow:0 0 0 3px rgba(22,119,232,.10)}
.payment-inline-status{grid-column:1/-1;min-height:18px;font-size:12px;color:#667085}.payment-inline-status.error{color:#b42318}.payment-inline-status.success{color:#067647}
.pix-result-grid{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:center}.pix-qr-wrap{width:210px;height:210px;padding:12px;border:1px solid #e3e8ef;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center}.pix-qr-wrap img{display:block;max-width:100%;max-height:100%}.pix-result-copy h3{margin:8px 0 6px;font-size:20px}.pix-result-copy p{margin:0 0 14px;color:#667085;font-size:12px;line-height:1.55}.payment-success-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:#e9f8ef;color:#087a3e;font-size:10px;font-weight:800}.pix-copy-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:12px}.pix-copy-row textarea{min-height:78px;resize:none;border:1px solid #d6dce6;border-radius:10px;padding:10px;font:500 11px/1.4 "DM Sans",sans-serif;color:#344054;background:#fff}
.visually-hidden{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}
@media(max-width:720px){.mp-card-form{grid-template-columns:1fr}.mp-card-form .card-wide{grid-column:auto}.pix-result-grid{grid-template-columns:1fr}.pix-qr-wrap{width:min(230px,100%);height:auto;aspect-ratio:1;margin:auto}.pix-copy-row{grid-template-columns:1fr}.payment-panel-head{align-items:flex-start;flex-direction:column}}

.affiliate-ml-note{margin:10px 0 0;padding:10px 12px;border:1px solid #dbe8ff;background:#f7faff;border-radius:10px;color:#4b5f7a;line-height:1.45}.affiliate-ml-note code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em;background:#edf3ff;padding:2px 5px;border-radius:5px}

/* === Avaliações V22 === */
.admin-review-toolbar{display:flex;align-items:center;gap:10px;margin:0 0 16px}.admin-review-toolbar label{font-weight:700;font-size:13px}.admin-review-toolbar .select{width:min(220px,100%)}.review-admin-modal{max-width:760px}.review-admin-cell{display:flex;align-items:center;gap:10px;min-width:240px}.review-admin-cell>div{min-width:0}.review-admin-cell strong,.review-admin-cell small{display:block}.review-admin-cell small{max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.review-admin-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;background:#eef3f9;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.review-admin-avatar img{width:100%;height:100%;object-fit:cover}.review-admin-avatar svg{width:20px;height:20px}.review-admin-rating{display:flex;align-items:center;gap:7px}.review-stars-mini{display:inline-flex;align-items:center;gap:2px;color:#c9d1dc}.review-stars-mini svg{width:16px;height:16px;fill:transparent;stroke:currentColor}.review-stars-mini svg.filled{color:#f5a623;fill:#f5a623}.review-status-select{min-width:120px}
.product-reviews-section{display:block}.product-reviews-section>.product-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.product-review-list{display:grid;gap:14px;margin-top:18px}.product-review-card{border-top:1px solid var(--border);padding-top:18px}.product-review-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.product-review-avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;background:#f1f4f8;display:flex;align-items:center;justify-content:center}.product-review-avatar img{width:100%;height:100%;object-fit:cover}.product-review-avatar svg{width:21px;height:21px}.product-review-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.product-review-meta strong{width:100%;font-size:14px}.review-source-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}.review-source-badge.verified{background:#eaf8ef;color:#087a3c}.review-source-badge.store{background:#eaf3ff;color:#0b5ed7}.review-date{font-size:11px;color:var(--muted)}.product-review-text{margin:12px 0 0;line-height:1.65;color:#334155}.product-review-image{margin-top:12px;width:min(260px,100%);max-height:260px;object-fit:cover;border-radius:12px;border:1px solid var(--border)}.product-review-form-wrap{margin-top:18px;padding:18px;border:1px solid #cfe0ff;background:#f7fbff;border-radius:14px}.product-review-form-wrap>div>strong{font-size:16px}.product-review-form-wrap>div>p{margin:4px 0 14px;color:var(--muted);font-size:12px}.product-review-form{display:grid;gap:12px}.review-empty{padding:24px;border:1px dashed var(--border);border-radius:12px;text-align:center;color:var(--muted)}.review-empty strong,.review-empty span{display:block}.review-empty strong{color:var(--text);margin-bottom:4px}.review-loading{padding:20px;color:var(--muted)}
@media(max-width:720px){.product-reviews-section>.product-section-head{align-items:flex-start;flex-direction:column}.product-review-top{grid-template-columns:auto 1fr}.product-review-top>.review-stars-mini{grid-column:2}.review-admin-cell{min-width:190px}.admin-review-toolbar{align-items:stretch;flex-direction:column}.admin-review-toolbar .select{width:100%}}

/* ===== V24: verificação, busca segura, respostas e afiliados manuais ===== */
.verified-name{display:inline-flex!important;align-items:center;gap:5px;flex-wrap:wrap}
.verified-badge{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;color:#0b5ed7;vertical-align:middle;flex:0 0 auto}
.verified-badge svg{width:17px;height:17px;fill:#0b5ed7;stroke:#fff;stroke-width:1.9}
.header-profile-copy strong .verified-badge{width:14px;height:14px;margin-left:3px}.header-profile-copy strong .verified-badge svg{width:14px;height:14px}
.profile-verified-identity{display:flex;align-items:center;gap:7px;padding:10px 12px;margin:0 0 12px;border:1px solid #d8e7ff;background:#f7fbff;border-radius:10px;color:#17345e}

.global-search-market{position:relative}
.global-search-suggestions{position:absolute;z-index:120;left:0;right:0;top:calc(100% + 7px);background:#fff;border:1px solid #dbe2ec;border-radius:10px;box-shadow:0 14px 36px rgba(20,38,68,.18);overflow:hidden;max-height:430px;overflow-y:auto}
.global-search-suggestions[hidden]{display:none!important}
.global-search-suggestion{width:100%;border:0;background:#fff;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 11px;text-align:left;cursor:pointer;border-bottom:1px solid #edf1f6}
.global-search-suggestion:last-child{border-bottom:0}.global-search-suggestion:hover,.global-search-suggestion:focus-visible{background:#f5f9ff;outline:0}
.global-search-suggestion>img{width:46px;height:46px;object-fit:contain;border-radius:7px;background:#fff}
.global-search-suggestion-copy{display:grid;gap:3px;min-width:0}.global-search-suggestion-copy>strong{font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.global-search-suggestion-copy .rating{font-size:9px}.global-search-suggestion-copy .rating-stars svg{width:11px;height:11px}.global-search-suggestion>b{font-size:12px;white-space:nowrap;color:#111827}
.global-search-suggestion-title{display:flex;align-items:center;gap:7px;min-width:0}.global-search-suggestion-title>strong{font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.global-search-recommended-tag{flex:0 0 auto;display:inline-flex;align-items:center;min-height:18px;padding:2px 7px;border-radius:999px;background:#eaf4ff;color:#0969da;border:1px solid #cfe3fb;font-size:8px;line-height:1;font-weight:800;letter-spacing:.01em}.global-search-suggestion[data-kind="affiliate"]{background:#fbfdff}.global-search-suggestion[data-kind="affiliate"]:hover,.global-search-suggestion[data-kind="affiliate"]:focus-visible{background:#f1f7ff}

.review-admin-reply{margin:14px 0 0 56px;padding:13px 14px;border-left:3px solid #0b5ed7;background:#f7fbff;border-radius:0 10px 10px 0}.review-admin-reply-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.review-admin-reply p{margin:7px 0 0;color:#334155;line-height:1.55;font-size:13px}
.review-reply-admin-box{margin:14px 0 0 56px;display:grid;gap:8px;padding:12px;border:1px dashed #b8c9e5;border-radius:10px;background:#fbfdff}.review-reply-admin-box>strong{font-size:12px;color:#17345e}.review-reply-admin-box .textarea{min-height:88px}.review-reply-admin-box .btn{justify-self:start}

.affiliate-mode-head,.affiliate-criteria-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.affiliate-mode-head h2,.affiliate-criteria-head h2{margin-bottom:4px}
.toggle-row{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700}.toggle-row input{width:18px;height:18px;accent-color:#0b5ed7}
.affiliate-star-picker{display:flex;align-items:center;gap:4px;min-height:40px}.affiliate-star-button{border:0;background:transparent;padding:2px;cursor:pointer;color:#c8d0dc}.affiliate-star-button svg{width:25px;height:25px;fill:transparent;stroke:currentColor}.affiliate-star-button.active{color:#f5a623}.affiliate-star-button.active svg{fill:#f5a623}.affiliate-star-button:focus-visible{outline:2px solid #0b5ed7;outline-offset:2px;border-radius:5px}
.affiliate-add-criterion{display:inline-flex;gap:6px;align-items:center}.affiliate-add-criterion svg{width:16px;height:16px}
.affiliate-criteria-editor{display:grid;gap:8px}.affiliate-criterion-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 40px;gap:8px;align-items:center}.affiliate-criterion-remove{width:40px;height:40px}

.promo-affiliate-card{cursor:pointer;position:relative}.promo-affiliate-card:focus-visible{outline:3px solid rgba(11,94,215,.25);outline-offset:2px}
.affiliate-rating-wrap{display:inline-flex;align-items:center;gap:5px;position:relative;width:max-content;max-width:100%;outline:none}.affiliate-rating-plus{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;border:1px solid #cfd8e6;border-radius:50%;background:#fff;color:#0b5ed7;padding:0;cursor:pointer}.affiliate-rating-plus svg{width:12px;height:12px}
.affiliate-rating-popover{display:none;position:absolute;z-index:30;left:0;top:calc(100% + 8px);width:min(260px,80vw);padding:11px;background:#fff;border:1px solid #d8e0eb;border-radius:10px;box-shadow:0 12px 30px rgba(19,36,66,.18);color:#1f2937}.affiliate-rating-wrap:hover .affiliate-rating-popover,.affiliate-rating-wrap:focus-within .affiliate-rating-popover,.affiliate-rating-wrap.open .affiliate-rating-popover{display:block}.affiliate-rating-popover>strong{display:block;font-size:12px;margin-bottom:8px}.affiliate-rating-criterion{display:flex;justify-content:space-between;gap:14px;padding:5px 0;border-top:1px solid #eef1f5;font-size:11px}.affiliate-rating-criterion:first-of-type{border-top:0}.affiliate-rating-criterion b{color:#0b5ed7}

@media(max-width:720px){.global-search-suggestion{grid-template-columns:42px minmax(0,1fr)}.global-search-suggestion>b{grid-column:2}.global-search-suggestion>img{width:40px;height:40px}.review-admin-reply,.review-reply-admin-box{margin-left:0}.affiliate-mode-head,.affiliate-criteria-head{flex-direction:column}.affiliate-criterion-row{grid-template-columns:minmax(0,1fr) 92px 40px}}
.global-search-market{overflow:visible}
.global-search-market .global-search-suggestion{height:auto;width:100%;padding:9px 11px;background:#fff;color:inherit;border:0;border-bottom:1px solid #edf1f6;display:grid;place-items:initial;grid-template-columns:48px minmax(0,1fr) auto;text-align:left;font-weight:400}
.global-search-market .global-search-suggestion:hover,.global-search-market .global-search-suggestion:focus-visible{background:#f5f9ff;color:inherit}
.global-search-market .global-search-suggestion:last-child{border-bottom:0}
@media(max-width:720px){.global-search-market .global-search-suggestion{grid-template-columns:42px minmax(0,1fr)}}


/* V25 — sessão sem flash, uploads por arrastar/colar, afiliados e hero administrável */
html:not(.cm-session-ready) .header-profile-button{visibility:hidden}
.image-drop-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.image-drop-zone{min-height:92px;border:1.5px dashed #b8c5d8;border-radius:12px;background:#f8fbff;display:flex;align-items:center;justify-content:center;gap:10px;padding:18px;text-align:center;color:#526579;cursor:pointer;transition:.18s ease;outline:none}
.image-drop-zone svg{width:22px;height:22px;stroke:currentColor;fill:none}.image-drop-zone:hover,.image-drop-zone:focus,.image-drop-zone.drag-over{border-color:#0b5ed7;background:#eef5ff;color:#0b5ed7;box-shadow:0 0 0 3px rgba(11,94,215,.08)}
.home-affiliate-card{position:relative}.home-affiliate-source{display:flex;align-items:center;gap:6px;color:#667085;font-size:11px;margin:5px 0}.home-affiliate-source img{width:20px;height:20px;object-fit:contain;border-radius:4px}
.hero-loading{min-height:240px;display:grid;place-items:center}.admin-hero-manager{margin-top:20px}.admin-hero-add-form{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(150px,.6fr) minmax(220px,1fr) auto;gap:12px;align-items:end}.admin-hero-duration{display:flex;align-items:center;gap:8px}.admin-hero-duration span{font-size:12px;color:var(--muted)}.admin-hero-plus svg{width:16px;height:16px}.admin-hero-list{display:grid;gap:12px;margin-top:18px}.admin-hero-card{display:grid;grid-template-columns:34px 190px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}.admin-hero-card>img{width:190px;aspect-ratio:16/6;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.admin-hero-order{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef4ff;color:#0b5ed7;font-weight:800}.admin-hero-card-fields{display:grid;grid-template-columns:150px minmax(180px,1fr) auto;gap:10px;align-items:end}.admin-hero-card-fields label{display:grid;gap:5px}.admin-hero-card-fields label>span{font-size:11px;color:var(--muted);font-weight:700}.admin-hero-card-actions{display:flex;gap:8px}.admin-hero-minus{font-size:22px;line-height:1;min-width:40px}
@media(max-width:980px){.admin-hero-add-form{grid-template-columns:1fr 1fr}.admin-hero-card{grid-template-columns:30px 130px minmax(0,1fr)}.admin-hero-card>img{width:130px}.admin-hero-card-fields{grid-template-columns:1fr 1fr}.admin-hero-card-actions{grid-column:1/-1}}
@media(max-width:680px){.admin-hero-add-form{grid-template-columns:1fr}.admin-hero-card{grid-template-columns:1fr}.admin-hero-order{display:none}.admin-hero-card>img{width:100%}.admin-hero-card-fields{grid-template-columns:1fr}.admin-hero-card-actions{grid-column:auto}}



/* V27 — selo verificado em roseta, perfil corrigido, editor modal e áreas de upload */
.verified-badge.instagram-verified{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;vertical-align:-3px;background:transparent!important;border-radius:0!important;box-shadow:none!important;color:inherit!important}
.verified-badge.instagram-verified svg{display:block!important;width:18px;height:18px;overflow:visible}
.header-profile-copy strong .verified-badge.instagram-verified{width:15px;height:15px;min-width:15px;margin-left:4px;vertical-align:-2px}.header-profile-copy strong .verified-badge.instagram-verified svg{width:15px;height:15px}
.profile-verified-identity .verified-badge.instagram-verified{width:20px;height:20px;min-width:20px}.profile-verified-identity .verified-badge.instagram-verified svg{width:20px;height:20px}

.profile-modal-card{width:min(520px,calc(100vw - 28px));padding:22px;overflow-x:hidden}
.profile-modal-card .modal-head{align-items:flex-start;gap:14px}.profile-modal-card .modal-head>div{min-width:0}.profile-modal-card .modal-head h2{line-height:1.2}
.profile-edit-form{width:100%;min-width:0}.profile-edit-form .form-group{min-width:0}.profile-edit-form .input{width:100%;max-width:100%}
.profile-edit-avatar{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;align-items:center;padding:6px 0 10px}.profile-edit-avatar .profile-modal-avatar{grid-row:1/3;width:88px;height:88px}.profile-edit-avatar .btn{justify-self:start}.profile-edit-avatar input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.profile-verified-identity{min-width:0}.profile-verified-identity strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:520px){.profile-modal-card{padding:17px}.profile-edit-avatar{grid-template-columns:72px minmax(0,1fr)}.profile-edit-avatar .profile-modal-avatar{width:72px;height:72px}.profile-guest-actions{grid-template-columns:1fr}}

.image-drop-zone{position:relative;user-select:none}.image-drop-zone.drag-over{transform:translateY(-1px)}.image-drop-zone-text{min-width:0;overflow-wrap:anywhere}

.modal-open{overflow:hidden}
.editor-modal-backdrop{z-index:5000;padding:18px}.editor-modal-card{width:min(1180px,100%);height:min(92vh,920px);display:grid;grid-template-rows:auto minmax(0,1fr);background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 32px 80px rgba(15,23,42,.28);overflow:hidden}
.editor-modal-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;border-bottom:1px solid var(--line);background:#fff}.editor-modal-head>div{display:grid;gap:2px}.editor-modal-head strong{font-size:15px}.editor-modal-head small{color:var(--muted);font-size:11px}
.editor-modal-frame{width:100%;height:100%;border:0;background:#f7f9fc}
body.editor-embed{background:#f7f9fc}.editor-embed .admin-sidebar{display:none!important}.editor-embed .admin-shell{grid-template-columns:1fr!important;min-height:auto!important}.editor-embed .admin-content{padding:18px!important;max-width:1120px;width:100%;margin:0 auto}.editor-embed .admin-top>a[href*="produtos"],.editor-embed .admin-top>a[href="/vendedor/produtos"]{display:none!important}.editor-embed .affiliate-list-section{display:none!important}.editor-embed .devfront-badge{display:none!important}
@media(max-width:760px){.editor-modal-backdrop{padding:0}.editor-modal-card{width:100%;height:100dvh;border-radius:0;border:0}.editor-modal-head{padding:12px}.editor-embed .admin-content{padding:12px!important}}

.home-product-section+.home-product-section{margin-top:-16px}.section-kicker{display:block;margin-bottom:4px;color:var(--market-blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}

.auth-forgot-link{display:block;width:max-content;margin:10px auto 0;border:0;background:transparent;color:var(--market-blue);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.auth-forgot-link:hover{text-decoration:underline}
.auth-flow-card{width:min(460px,calc(100vw - 28px));overflow:hidden}.auth-flow-card .modal-head{align-items:flex-start}.auth-flow-card h2{margin:0 0 4px}.auth-code-form,.auth-recovery-form,.auth-token-form,.auth-password-change-form{display:grid;gap:12px}.auth-code-input,.auth-token-input{text-align:center;font-size:24px;font-weight:800;letter-spacing:.28em}.auth-choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.password-change-question{text-align:center;padding:10px 0}.password-change-question strong{font-size:16px}.password-change-question p{margin:7px auto 0;max-width:340px}.auth-flow-card .btn-link{border:0;background:transparent;color:var(--market-blue);font-weight:700;cursor:pointer}
@media(max-width:520px){.auth-choice-actions{grid-template-columns:1fr}.auth-code-input,.auth-token-input{font-size:21px}}

/* ==========================================================
   V29 — header único, selo verificado estável, termos,
   Pix modal, redirecionamento afiliado e painéis mobile
   ========================================================== */

/* O selo não herda stroke/fill das regras SVG globais. */
.verified-badge.instagram-verified{width:18px;height:18px;min-width:18px;display:inline-flex!important;align-items:center;justify-content:center;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible;line-height:1;vertical-align:-3px}
.verified-badge.instagram-verified .instagram-verified-svg{display:block!important;width:18px!important;height:18px!important;overflow:visible!important;fill:none!important;stroke:none!important;stroke-width:0!important}
.verified-badge.instagram-verified .instagram-verified-seal{fill:#0095f6!important;stroke:none!important;stroke-width:0!important}
.verified-badge.instagram-verified .instagram-verified-check{fill:none!important;stroke:#fff!important;stroke-width:2.15!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.header-profile-copy strong .verified-badge.instagram-verified{width:15px;height:15px;min-width:15px}.header-profile-copy strong .verified-badge.instagram-verified .instagram-verified-svg{width:15px!important;height:15px!important}

/* Header público canônico. */
.mobile-nav-toggle{display:none;border:0;background:transparent;color:#fff;width:42px;height:42px;border-radius:9px;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:0;cursor:pointer}
.mobile-nav-toggle:hover,.mobile-nav-toggle:focus-visible{background:rgba(255,255,255,.12);outline:none}
.mobile-nav-toggle>span{display:block;width:21px;height:2px;border-radius:999px;background:currentColor;transition:.18s ease}
.mobile-nav-toggle[aria-expanded="true"]>span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.mobile-nav-toggle[aria-expanded="true"]>span:nth-child(2){opacity:0}
.mobile-nav-toggle[aria-expanded="true"]>span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.mobile-header-nav{display:none}

@media(max-width:760px){
  .marketplace-blue-header{position:sticky;top:0;z-index:1400;overflow:visible}
  .header-blue-main{position:relative;z-index:2}
  .header-blue-main .header-market-row{min-height:60px;display:grid!important;grid-template-columns:minmax(0,1fr) 42px 42px!important;gap:7px!important;align-items:center;padding-top:8px!important;padding-bottom:8px!important}
  .header-market-row .header-identity{display:none!important}
  .header-market-row .global-search-market{grid-column:1!important;grid-row:1!important;height:42px!important;min-width:0;margin:0!important}
  .global-search-market input{min-width:0;padding-left:12px;font-size:13px}
  .global-search-market button{width:43px;min-width:43px}
  .header-market-row .header-profile-button{grid-column:2!important;grid-row:1!important;width:42px;height:42px;padding:2px!important;display:flex;justify-content:center;border-radius:10px}
  .header-market-row .header-profile-avatar{width:36px;height:36px;flex:0 0 36px}
  .header-market-row .header-profile-copy{display:none!important}
  .mobile-nav-toggle{display:flex;grid-column:3;grid-row:1}
  .header-blue-lower{display:none!important}
  .mobile-header-nav:not([hidden]){display:grid;position:absolute;left:0;right:0;top:100%;z-index:1;background:#fff;border-top:1px solid #e4e8ef;border-bottom:1px solid #dfe4eb;box-shadow:0 18px 34px rgba(15,23,42,.18);padding:8px 16px 12px;gap:2px}
  .mobile-header-nav a{min-height:44px;display:flex;align-items:center;padding:0 10px;border-radius:9px;color:#263244;font-size:13px;font-weight:700}
  .mobile-header-nav a:hover,.mobile-header-nav a:focus-visible{background:#eef5ff;color:#0969da;outline:none}
  .global-search-suggestions{position:fixed!important;left:12px!important;right:12px!important;top:58px!important;max-height:min(64vh,430px)!important;z-index:1600!important}
}

/* Página de termos inspirada em documentação jurídica clara, sem copiar texto de terceiros. */
.terms-reference-body{background:#ededed;color:#111827}
.terms-reference-page{padding:26px 16px 60px;min-height:70vh}
.terms-reference-shell{width:min(715px,100%);margin:0 auto}
.terms-breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;margin-bottom:28px;color:#111827}
.terms-breadcrumb a{color:#1877f2}.terms-breadcrumb span[aria-hidden="true"]{font-size:22px;line-height:1;color:#111}
.terms-reference-page h1{margin:0 0 24px;font-size:24px;letter-spacing:-.35px;color:#101820}
.terms-reference-card{background:#fff;border:0;border-radius:7px;box-shadow:0 5px 18px rgba(0,0,0,.10);padding:20px 20px 30px;font-family:Arial,Helvetica,sans-serif;color:#050505}
.terms-reference-card p,.terms-reference-card li{font-size:15.5px;line-height:1.42;color:#050505}
.terms-reference-card p{margin:0 0 17px}.terms-reference-card a{color:#1877f2;text-decoration:none}.terms-reference-card a:hover{text-decoration:underline}
.terms-updated{font-size:15px!important;margin-bottom:14px!important}.terms-summary-label{font-size:13px!important;margin-bottom:17px!important}
.terms-highlight-list{margin:10px 0 24px;padding-left:31px}.terms-highlight-list li{padding-left:2px;margin:0 0 19px}
.terms-reference-card h2{font-size:16px;margin:26px 0 9px;color:#050505}
@media(max-width:760px){.terms-reference-page{padding:20px 12px 42px}.terms-breadcrumb{margin-bottom:20px}.terms-reference-page h1{font-size:21px;margin-bottom:18px}.terms-reference-card{padding:17px 16px 26px}.terms-reference-card p,.terms-reference-card li{font-size:14.5px;line-height:1.48}}

/* Pix abre como janela/modal, não como uma seção que força scroll. */
.pix-payment-modal{z-index:5200;padding:18px;overscroll-behavior:contain}
.pix-payment-card{width:min(780px,100%);max-height:min(92vh,820px);padding:22px;overflow:auto}
.pix-payment-head{align-items:flex-start;border-bottom:1px solid #e9edf3;padding-bottom:14px;margin-bottom:18px}
.pix-payment-head h2{margin:8px 0 4px;font-size:24px}.pix-payment-head p{margin:0;color:#667085;font-size:12px}
.pix-payment-card .pix-result-grid{grid-template-columns:220px minmax(0,1fr)}
.pix-payment-card .pix-result-copy h3{margin-top:0}
@media(max-width:720px){.pix-payment-modal{padding:0;align-items:end}.pix-payment-card{width:100%;max-width:none;max-height:94dvh;border-radius:18px 18px 0 0;border-bottom:0;padding:18px 14px 22px}.pix-payment-card .pix-result-grid{grid-template-columns:1fr;gap:16px}.pix-payment-card .pix-qr-wrap{width:min(220px,70vw);margin:auto}.pix-payment-head h2{font-size:21px}.pix-payment-card .btn{min-height:46px}}

/* Tela intermediária antes de sair para uma plataforma afiliada. */
.affiliate-redirect-page{min-height:100vh;background:#f3f5f8;font-family:"DM Sans",sans-serif;color:#172033}
.affiliate-redirect-main{min-height:100vh;display:grid;place-items:center;padding:24px}
.affiliate-redirect-card{width:min(560px,100%);background:#fff;border:1px solid #e1e6ed;border-radius:20px;box-shadow:0 24px 65px rgba(15,23,42,.13);padding:28px;text-align:center}
.affiliate-redirect-brand{display:flex;align-items:center;justify-content:center;gap:8px;color:#0969da;font-size:14px}.affiliate-redirect-shield{width:24px;height:24px;border-radius:8px;background:#0969da;color:#fff;display:grid;place-items:center;font-weight:900}
.affiliate-redirect-route{display:flex;align-items:center;justify-content:center;margin:27px auto 22px;width:min(330px,100%)}
.affiliate-redirect-node{width:60px;height:60px;border:1px solid #dbe2eb;border-radius:16px;background:#fff;display:grid;place-items:center;flex:0 0 60px;font-weight:900;color:#0969da;overflow:hidden}.affiliate-redirect-node img{width:42px;height:42px;object-fit:contain}.partner-node{color:#334155}
.affiliate-redirect-line{height:2px;background:#d9e2ee;flex:1;position:relative;overflow:hidden}.affiliate-redirect-line i{position:absolute;inset:0;background:linear-gradient(90deg,transparent,#0969da,transparent);animation:affiliate-route 1.1s linear infinite;transform:translateX(-100%)}
@keyframes affiliate-route{to{transform:translateX(100%)}}
.affiliate-redirect-kicker{display:block;color:#0969da;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.09em}.affiliate-redirect-card h1{margin:7px 0 10px;font-size:25px;letter-spacing:-.5px}.affiliate-redirect-card>p{margin:0 auto 16px;max-width:460px;color:#667085;font-size:13px;line-height:1.6}.affiliate-redirect-domain{display:inline-flex;max-width:100%;padding:8px 11px;border-radius:999px;background:#f0f6ff;color:#49617e;font-size:10px;overflow-wrap:anywhere}.affiliate-redirect-domain strong{color:#0969da;margin-left:4px}
.affiliate-redirect-progress{height:5px;background:#e8edf4;border-radius:999px;overflow:hidden;margin:24px 0 8px}.affiliate-redirect-progress span{display:block;height:100%;width:100%;background:#0969da;transform-origin:left;animation:affiliate-countdown 3s linear forwards}@keyframes affiliate-countdown{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.affiliate-redirect-countdown{font-size:10px!important;margin-bottom:18px!important}.affiliate-redirect-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.affiliate-redirect-actions .btn{min-height:44px}
@media(max-width:560px){.affiliate-redirect-main{padding:14px}.affiliate-redirect-card{padding:22px 16px;border-radius:16px}.affiliate-redirect-card h1{font-size:21px}.affiliate-redirect-actions{grid-template-columns:1fr}.affiliate-redirect-route{width:min(260px,100%)}}
@media(prefers-reduced-motion:reduce){.affiliate-redirect-line i,.affiliate-redirect-progress span{animation:none!important;transform:none!important}}

/* Navegação e conteúdo dos painéis em telas pequenas. */
.admin-mobile-nav-toggle{display:none}
@media(max-width:760px){
  .admin-shell,.admin-marketplace-shell,.seller-shell{display:block!important;min-height:100dvh!important;width:100%!important;overflow-x:hidden}
  .admin-sidebar,.admin-marketplace-sidebar,.admin-sidebar.seller-sidebar{position:relative!important;top:auto!important;width:100%!important;height:auto!important;min-height:0!important;padding:10px 12px!important;z-index:80}
  .admin-logo,.admin-marketplace-logo{padding:6px 6px 10px!important;min-height:44px}
  .admin-mobile-nav-toggle{display:flex;width:100%;min-height:44px;border:1px solid rgba(120,135,155,.22);border-radius:10px;background:rgba(255,255,255,.08);color:inherit;align-items:center;gap:5px;padding:0 12px;font:700 12px/1 "DM Sans",sans-serif;cursor:pointer}
  .admin-mobile-nav-toggle>span{display:block;width:18px;height:2px;border-radius:999px;background:currentColor}.admin-mobile-nav-toggle>span:nth-child(2){width:14px}.admin-mobile-nav-toggle b{margin-left:5px}
  .admin-sidebar:not(.mobile-open) .admin-nav,.admin-sidebar:not(.mobile-open) .admin-sidebar-bottom{display:none!important}
  .admin-sidebar.mobile-open .admin-nav{display:flex!important;flex-direction:column!important;gap:4px!important;overflow:visible!important;padding:8px 0 2px!important}
  .admin-sidebar.mobile-open .admin-nav a{width:100%!important;min-width:0!important;min-height:46px!important;white-space:normal!important;flex:0 0 auto!important}
  .admin-sidebar.mobile-open .admin-sidebar-bottom{display:block!important;position:static!important;left:auto!important;right:auto!important;bottom:auto!important;margin:7px 0 0!important;padding:7px 0 0!important}
  .admin-sidebar.mobile-open .admin-sidebar-bottom a{min-height:46px!important}
  .admin-content,.admin-marketplace-content,.seller-orders-content{width:100%!important;min-width:0!important;padding:12px!important}
  .admin-marketplace-topbar,.admin-top{gap:12px!important;align-items:stretch!important;flex-direction:column!important;margin-bottom:16px!important}
  .admin-marketplace-topbar{padding:12px 0!important}
  .admin-marketplace-topbar h1,.admin-top h1{font-size:22px!important;line-height:1.18}
  .admin-topbar-actions,.admin-top-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:8px!important}
  .admin-topbar-actions .btn,.admin-top-actions .btn,.admin-top>a.btn{width:100%!important;min-height:44px!important}
  .admin-kpi-grid,.stats{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .admin-market-panel,.admin-form,.admin-form-section{padding:13px!important;border-radius:13px!important;min-width:0!important}
  .admin-form-grid,.form-row,.seller-time-grid{grid-template-columns:1fr!important}
  .admin-form-grid .full{grid-column:auto!important}
  .admin-market-table-wrap,.table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  .admin-market-table,.admin-users-table{min-width:680px!important}
  .seller-orders-grid{grid-template-columns:1fr!important}.seller-order-card{min-width:0!important}.seller-order-info-grid{grid-template-columns:1fr!important}
  .seller-order-update .select,.seller-order-update .input,.seller-order-update .btn{width:100%!important;min-height:44px!important}
  .admin-section-heading{flex-direction:column!important;align-items:stretch!important}.admin-section-heading .btn{width:100%;min-height:44px}
  .modal-card:not(.profile-modal-card){max-width:100%;max-height:94dvh}
}
@media(max-width:430px){.admin-kpi-grid,.stats{grid-template-columns:1fr!important}.admin-topbar-actions,.admin-top-actions{grid-template-columns:1fr!important}}
@media(min-width:761px){.auth-page .auth-shell{min-height:calc(100vh - 116px)}}
@media(max-width:760px){.auth-page .auth-shell{min-height:calc(100dvh - 60px);padding-top:24px}}
/* O mesmo header público também aparece nos painéis; a navegação operacional continua logo abaixo. */
@media(min-width:761px){
  .admin-page>.site-header+.admin-shell .admin-sidebar{top:116px;height:calc(100vh - 116px)}
  .admin-page>.site-header+.admin-shell .admin-marketplace-sidebar{top:116px;height:calc(100vh - 116px)}
}
body.editor-embed>.site-header{display:none!important}

/* V31 — loader da compra, previsão de entrega, perfil e faixa de parceiros */
.checkout-preparing{background:radial-gradient(circle at 50% 42%,#f7fbff 0,#fff 46%,#fff 100%)}
.checkout-preparing-box{width:min(460px,100%);display:grid;justify-items:center;gap:0;padding:24px;text-align:center}
.checkout-preparing-logo{position:relative;width:112px;height:112px;display:grid;place-items:center;margin:0 auto 24px}
.checkout-preparing-logo img{position:relative;z-index:2;width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(9,105,218,.12));animation:checkoutLogoFloat 1.7s ease-in-out infinite}
.checkout-loader-ring{position:absolute;inset:0;border-radius:50%;border:3px solid rgba(9,105,218,.11);border-top-color:var(--market-blue);border-right-color:#73b4ff;animation:loaderSpin .9s linear infinite;box-shadow:0 0 0 10px rgba(9,105,218,.035)}
.checkout-loader-ring:after{content:"";position:absolute;inset:10px;border-radius:50%;border:1px solid rgba(9,105,218,.14);animation:loaderSpin 1.6s linear infinite reverse}
.checkout-preparing-box h2{font-size:27px;margin:0 0 9px;letter-spacing:-.65px}.checkout-preparing-box p{font-size:12px;line-height:1.55;margin:0;color:#667085;max-width:360px}
.checkout-loader-dots{display:flex;gap:7px;margin-top:20px}.checkout-loader-dots i{width:7px;height:7px;border-radius:50%;background:var(--market-blue);animation:checkoutDot 1.05s ease-in-out infinite}.checkout-loader-dots i:nth-child(2){animation-delay:.14s}.checkout-loader-dots i:nth-child(3){animation-delay:.28s}
@keyframes checkoutLogoFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.035)}}
@keyframes checkoutDot{0%,60%,100%{transform:translateY(0);opacity:.28}30%{transform:translateY(-5px);opacity:1}}

.product-delivery-estimates{display:grid;gap:8px;margin:13px 0 2px;padding:12px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}
.delivery-estimate-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px;border-radius:10px;background:#f8fbff}
.delivery-estimate-row.free{background:#f7fbf8}.delivery-estimate-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eaf3ff;color:var(--market-blue)}.delivery-estimate-icon.free{background:#eaf8ef;color:#00a650}.delivery-estimate-icon svg{width:17px;height:17px}
.delivery-estimate-copy{min-width:0}.delivery-estimate-label{display:block;font-size:9px;font-weight:800;color:#5f6b7a;text-transform:uppercase;letter-spacing:.04em}.delivery-estimate-copy strong{display:block;margin:2px 0;font-size:12px;color:#1f2937}.delivery-estimate-copy small{display:block;font-size:8px;line-height:1.35;color:#738093}.delivery-estimate-price{font-size:10px;color:#00a650;white-space:nowrap}.delivery-estimate-note{font-size:8px;line-height:1.4;color:#7a8493;padding:0 3px}

.profile-avatar-upload{border-radius:14px;transition:background .18s ease,box-shadow .18s ease}.profile-avatar-upload.drag-over{background:#f2f7ff;box-shadow:0 0 0 2px rgba(9,105,218,.16) inset}.profile-avatar-upload-actions{display:grid;gap:5px;min-width:0}.profile-avatar-upload-actions .help-text{margin:0;line-height:1.35}.profile-form-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.profile-logout-button{min-width:96px;color:#b4232f;border-color:#f2c7cc}.profile-logout-button:hover{background:#fff5f6;border-color:#e6aab1}

.admin-partner-manager{margin-top:20px}.admin-partner-add-form{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(230px,1.1fr) minmax(220px,1fr) auto;gap:12px;align-items:end}.admin-partner-list{display:grid;gap:12px;margin-top:18px}.admin-partner-card{display:grid;grid-template-columns:34px 180px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}.admin-partner-card>img{width:180px;height:74px;object-fit:contain;border:1px solid #edf0f4;border-radius:10px;background:#fff;padding:8px}.admin-partner-card-fields{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(180px,1fr) minmax(190px,1fr) auto;gap:10px;align-items:end}.admin-partner-card-fields label{display:grid;gap:5px}.admin-partner-card-fields label>span{font-size:11px;color:var(--muted);font-weight:700}.admin-partner-card-actions{display:flex;gap:8px}.source-item-loading{min-width:160px}.source-item[href]{cursor:pointer;transition:transform .18s ease}.source-item[href]:hover{transform:translateY(-2px)}
@media(max-width:900px){.admin-partner-add-form{grid-template-columns:1fr 1fr}.admin-partner-add-form .btn{width:100%}.admin-partner-card{grid-template-columns:30px 130px minmax(0,1fr)}.admin-partner-card>img{width:130px}.admin-partner-card-fields{grid-template-columns:1fr 1fr}.admin-partner-card-actions{grid-column:1/-1}}
@media(max-width:600px){.checkout-preparing-logo{width:96px;height:96px}.checkout-preparing-logo img{width:56px;height:56px}.checkout-preparing-box h2{font-size:23px}.profile-form-actions{grid-template-columns:1fr}.profile-logout-button{width:100%}.delivery-estimate-row{grid-template-columns:32px minmax(0,1fr)}.delivery-estimate-price{grid-column:2}.admin-partner-add-form{grid-template-columns:1fr}.admin-partner-card{grid-template-columns:1fr;padding:11px}.admin-partner-card>.admin-hero-order{display:none}.admin-partner-card>img{width:100%;height:84px}.admin-partner-card-fields{grid-template-columns:1fr}.admin-partner-card-actions{grid-column:auto}.source-marquee{grid-template-columns:1fr}.source-marquee-label{display:none}.source-track{gap:20px}.source-item{width:130px}}



/* ==========================================================
   V32 — NOTIFICAÇÕES DE COMPRAS E ENVIOS
   ========================================================== */
@media(min-width:761px){
  .header-market-row{grid-template-columns:minmax(270px,350px) minmax(330px,1fr) minmax(155px,225px) 44px!important;gap:14px!important}
}
.header-notification-wrap{position:relative;display:flex;align-items:center;justify-content:center;justify-self:end}
.header-notification-button{position:relative;width:42px;height:42px;border:0;border-radius:10px;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .16s ease,transform .16s ease}
.header-notification-button:hover,.header-notification-button:focus-visible,.header-notification-button[aria-expanded="true"]{background:rgba(255,255,255,.13);outline:none}
.header-notification-button:active{transform:scale(.96)}
.header-notification-button>svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.header-notification-badge{position:absolute;right:1px;top:1px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ff3b5c;color:#fff;border:2px solid var(--market-blue);display:grid;place-items:center;font-size:9px;font-weight:800;line-height:1}
.header-notifications-panel{position:fixed;z-index:6100;top:68px;right:max(16px,calc((100vw - 1180px)/2));width:min(420px,calc(100vw - 24px));max-height:min(72vh,590px);overflow:hidden;background:#fff;border:1px solid #e2e6ec;border-radius:14px;box-shadow:0 24px 70px rgba(15,23,42,.24);color:#151a22;font-family:var(--font-ui)}
.header-notifications-panel[hidden]{display:none!important}
.header-notifications-panel::before{content:"";position:absolute;top:-7px;right:17px;width:14px;height:14px;background:#fff;border-left:1px solid #e2e6ec;border-top:1px solid #e2e6ec;transform:rotate(45deg);z-index:2}
.notifications-panel-head{position:relative;z-index:3;min-height:52px;display:grid;grid-template-columns:36px 1fr 36px;align-items:center;border-bottom:1px solid #e9edf2;padding:0 10px;background:#fff}
.notifications-panel-head>strong{grid-column:2;text-align:center;font-size:15px;font-weight:750}
.notifications-panel-head:not(.notifications-shipping-head)>strong{grid-column:1/3;text-align:left;padding-left:7px}
.notifications-close,.notifications-back{width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#3d4652;display:grid;place-items:center;cursor:pointer}
.notifications-close{grid-column:3}.notifications-back{grid-column:1}
.notifications-close:hover,.notifications-back:hover{background:#f1f3f6}.notifications-close svg,.notifications-back svg{width:18px;height:18px}
.notifications-home{padding:8px 0 10px}
.notifications-menu-item{width:100%;display:grid;grid-template-columns:46px minmax(0,1fr) auto 22px;gap:10px;align-items:center;border:0;background:#fff;padding:13px 15px;text-align:left;cursor:pointer;color:#171c24}
.notifications-menu-item:hover{background:#f7f8fa}
.notifications-menu-icon{width:42px;height:42px;border-radius:12px;background:#eaf3ff;color:var(--market-blue);display:grid;place-items:center}.notifications-menu-icon svg{width:22px;height:22px}
.notifications-menu-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.notifications-menu-copy strong{font-size:13px}.notifications-menu-copy small{font-size:10px;color:#7b8490;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notifications-menu-count{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ff3b5c;color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center}.notifications-chevron{width:16px;height:16px;color:#222b37}
.notifications-shipping-body{min-height:310px;max-height:calc(min(72vh,590px) - 53px);overflow:auto;background:#fff}
.notifications-loading{min-height:310px;display:grid;place-items:center;align-content:center;gap:10px;color:#77818e;font-size:11px}.notifications-loading .spinner{width:28px;height:28px}
.notifications-empty{min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px 24px}.notifications-empty-art{width:118px;height:92px;border-radius:50%;background:linear-gradient(145deg,#f4f6f8,#fff);display:grid;place-items:center;margin-bottom:17px;position:relative}.notifications-empty-art::after{content:"";position:absolute;width:92px;height:1px;background:#cdd3da;bottom:4px}.notifications-empty-art svg{width:48px;height:48px;color:#69717b}.notifications-empty>strong{font-size:13px;margin-bottom:5px}.notifications-empty>p{max-width:300px;margin:0;color:#7a838f;font-size:10.5px;line-height:1.5}.notifications-empty>.btn{margin-top:16px;min-width:120px;text-align:center}
.notifications-order-list{display:grid}
.notifications-order-card{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 15px;border-bottom:1px solid #edf0f4}.notifications-order-card:last-child{border-bottom:0}.notifications-order-card:hover{background:#fbfcfd}
.notifications-order-image{width:64px;height:64px;border:1px solid #e7eaf0;border-radius:10px;background:#fff;overflow:hidden;display:grid;place-items:center}.notifications-order-image img{width:100%;height:100%;object-fit:contain}
.notifications-order-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.notifications-order-copy>strong{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notifications-order-status{font-size:10px;font-weight:750;color:#14804a}.notifications-order-copy small{font-size:9px;color:#7b8490}
.notifications-follow{min-height:34px;border:1px solid #cfe0fa;border-radius:8px;background:#eef5ff;color:var(--market-blue);padding:0 10px;font-size:10px;font-weight:800;cursor:pointer}.notifications-follow:hover{background:#e0edff;border-color:#b7d2f8}
.mobile-notification-link{border:0;background:transparent;text-align:left;font:inherit;cursor:pointer;width:100%;gap:9px}.mobile-notification-link svg{width:18px;height:18px}
@media(max-width:1120px) and (min-width:761px){.header-market-row{grid-template-columns:minmax(225px,290px) minmax(260px,1fr) auto 42px!important}.header-notifications-panel{right:14px}}
@media(max-width:760px){
  .header-notification-wrap{display:none!important}
  .mobile-header-nav .mobile-notification-link{min-height:44px;display:flex;align-items:center;padding:0 10px;border-radius:9px;color:#263244;font-size:13px;font-weight:700}
  .mobile-header-nav .mobile-notification-link:hover,.mobile-header-nav .mobile-notification-link:focus-visible{background:#eef5ff;color:#0969da;outline:none}
  .header-notifications-panel{top:66px;left:10px;right:10px;width:auto;max-height:calc(100dvh - 78px);border-radius:13px}
  .header-notifications-panel::before{display:none}
  .notifications-shipping-body{max-height:calc(100dvh - 132px)}
  .notifications-order-card{grid-template-columns:54px minmax(0,1fr);padding:12px}.notifications-order-image{width:54px;height:54px}.notifications-follow{grid-column:2;width:max-content}
}

/* V33 — painel de notificações com segunda tela estática */
.notifications-view[hidden]{display:none!important}
.notifications-menu-image{background:#0969da!important;overflow:hidden}
.notifications-menu-image img{display:block;width:24px;height:24px;object-fit:contain}
.notifications-empty-art img{display:block;width:112px;height:78px;object-fit:contain}
.notifications-order-product-image{display:block;width:100%;height:100%;object-fit:contain}
.notifications-follow:disabled{opacity:.55;cursor:not-allowed}


/* ==========================================================
   V34 — carrinho ao lado das notificações + destino afiliado somente com logo
   ========================================================== */
@media(min-width:761px){
  .header-market-row{grid-template-columns:minmax(270px,350px) minmax(330px,1fr) minmax(155px,225px) 42px 42px!important;gap:9px!important}
  .header-cart-top{display:grid!important;width:42px;height:42px;padding:0!important;border-radius:10px;color:#fff;justify-self:end;place-items:center;transition:background .16s ease,transform .16s ease}
  .header-cart-top:hover,.header-cart-top:focus-visible{background:rgba(255,255,255,.13);outline:none}
  .header-cart-top:active{transform:scale(.96)}
  .header-cart-top svg{width:22px;height:22px}
}
@media(max-width:1120px) and (min-width:761px){
  .header-market-row{grid-template-columns:minmax(225px,290px) minmax(260px,1fr) auto 42px 42px!important}
}
@media(max-width:760px){
  .header-cart-top{display:none!important}
}
.affiliate-transition-destination{display:grid;place-items:center}
.affiliate-transition-logo-box{
  width:min(300px,100%);
  height:280px;
  margin:0 auto;
  display:grid;
  place-items:center;
  background:#fff;
}
.affiliate-transition-logo-box img{
  width:100%;
  height:100%;
  max-width:300px;
  max-height:280px;
  object-fit:contain;
}
@media(max-width:760px){
  .affiliate-transition-logo-box{width:100%;height:170px}
  .affiliate-transition-logo-box img{max-width:100%;max-height:170px}
}
@media(max-width:430px){
  .affiliate-transition-logo-box{width:100%;height:130px}
  .affiliate-transition-logo-box img{max-width:100%;max-height:130px}
}

/* ===== V35: carrossel de recomendados + popover de critérios estável ===== */
.recommended-carousel{position:relative}
.recommended-viewport{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;padding:4px 2px 18px}
.recommended-viewport::-webkit-scrollbar{display:none}
#recommendedProducts.recommended-product-track{display:grid;grid-auto-flow:column;grid-auto-columns:220px;grid-template-columns:none;gap:14px;min-width:max-content;align-items:stretch}
#recommendedProducts.recommended-product-track>.product-card{scroll-snap-align:start;width:220px;height:100%}
.recommended-nav{position:absolute;top:43%;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;border:1px solid #e3e8f0;background:#fff;color:var(--market-blue);display:grid;place-items:center;box-shadow:0 4px 16px rgba(15,23,42,.16);z-index:20;cursor:pointer;transition:.18s ease}
.recommended-nav:hover{transform:translateY(-50%) scale(1.04);box-shadow:0 7px 22px rgba(15,23,42,.2)}
.recommended-nav svg{width:20px;height:20px}
.recommended-prev{left:-24px}
.recommended-prev svg{transform:rotate(180deg)}
.recommended-next{right:-24px}
.recommended-nav.hidden{opacity:0;visibility:hidden;pointer-events:none}
.affiliate-rating-floating-popover{position:fixed;z-index:10000;padding:11px;background:#fff;border:1px solid #d8e0eb;border-radius:10px;box-shadow:0 14px 34px rgba(19,36,66,.22);color:#1f2937;pointer-events:none}
.affiliate-rating-floating-popover>strong{display:block;font-size:12px;margin-bottom:8px}
.home-affiliate-card .affiliate-rating-wrap{z-index:2}
.home-affiliate-card .affiliate-rating-plus:hover,.home-affiliate-card .affiliate-rating-plus:focus-visible{background:#edf5ff;border-color:#8fb9f4;box-shadow:0 0 0 3px rgba(11,94,215,.08)}
@media(max-width:1100px){#recommendedProducts.recommended-product-track{grid-auto-columns:205px}#recommendedProducts.recommended-product-track>.product-card{width:205px}.recommended-prev{left:-12px}.recommended-next{right:-12px}}
@media(max-width:720px){#recommendedProducts.recommended-product-track{grid-auto-columns:min(78vw,190px)}#recommendedProducts.recommended-product-track>.product-card{width:min(78vw,190px)}.recommended-nav{width:42px;height:42px;top:41%}.recommended-prev{left:4px}.recommended-next{right:4px}}

/* V37 — respostas com identidade e feedbacks administrativos */
.review-store-disclosure{font-size:10px;color:#7b8490;font-weight:600}
.review-admin-reply-head{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.review-admin-reply-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;overflow:hidden;background:#fff;border:1px solid #dbe5f2;display:grid;place-items:center}
.review-admin-reply-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.review-admin-reply-identity{min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.product-review-card.review-direct-target{outline:2px solid #0b5ed7;outline-offset:8px;border-radius:8px;background:#f8fbff;transition:background .3s ease,outline-color .3s ease}
.notifications-reply-list{display:grid}
.notifications-reply-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:11px;align-items:start;padding:14px 15px;border-bottom:1px solid #edf0f4;background:#fff}
.notifications-reply-card:last-child{border-bottom:0}.notifications-reply-card:hover{background:#fbfcfd}.notifications-reply-card.is-unread{background:#f6faff}
.notifications-reply-avatar{width:44px;height:44px;border:1px solid #e2e8f0;border-radius:50%;overflow:hidden;background:#fff;display:grid;place-items:center}
.notifications-reply-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.notifications-reply-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.notifications-reply-name-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.notifications-reply-name{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notifications-reply-rating{font-size:10px;font-weight:800;color:#d98200;white-space:nowrap}
.notifications-reply-product{font-size:9px;color:#687483;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notifications-reply-description{margin:2px 0 0;font-size:10px;line-height:1.45;color:#394454;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.notifications-reply-date{font-size:9px;color:#8a94a1}
.notifications-review-follow{align-self:center;min-height:34px;border:1px solid #cfe0fa;border-radius:8px;background:#eef5ff;color:var(--market-blue);padding:0 10px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.notifications-review-follow:hover{background:#e0edff;border-color:#b7d2f8}.notifications-review-follow:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:720px){.notifications-reply-card{grid-template-columns:42px minmax(0,1fr);padding:12px}.notifications-reply-avatar{width:40px;height:40px}.notifications-review-follow{grid-column:2;width:max-content}.review-admin-reply-avatar{width:32px;height:32px;flex-basis:32px}}

/* V38 — respostas administrativas discretas e autenticação adicional por e-mail */
.review-admin-reply-head{position:relative}.review-admin-reply-actions{margin-left:auto;display:inline-flex;align-items:center;gap:4px}.review-admin-reply-action{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#697586;display:grid;place-items:center;cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}.review-admin-reply-action:hover{background:#e9f2ff;color:#0b5ed7}.review-admin-reply-action.danger:hover{background:#fff0f1;color:#c5293b}.review-admin-reply-action:active{transform:scale(.96)}.review-admin-reply-action:disabled{opacity:.5;cursor:not-allowed}.review-admin-reply-action svg{width:16px;height:16px}.review-reply-trigger{margin:9px 0 0 56px;padding:0;border:0;background:transparent;color:#657184;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.review-reply-trigger:hover{color:#0b5ed7;text-decoration:underline}.review-reply-admin-box{animation:reviewComposerIn .16s ease}.review-reply-composer-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.review-reply-admin-box .btn-link{background:transparent;border:0;color:#637083}.review-reply-admin-box .btn-link:hover{color:#0b5ed7}@keyframes reviewComposerIn{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}

.auth-login-mfa-panel{margin-top:18px;padding:18px;border:1px solid #d7e4f7;border-radius:14px;background:#f8fbff}.auth-login-mfa-panel h2{margin:0 0 5px;font-size:20px}.auth-login-mfa-panel>.help-text{margin:0 0 14px}.auth-login-mfa-form{display:grid;gap:10px}.auth-code-input{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.auth-code-input.auth-code-valid{border-color:#20a464!important;background:#f1fbf6!important;box-shadow:0 0 0 3px rgba(32,164,100,.12)!important}.auth-code-input.auth-code-invalid{border-color:#d63b4a!important;background:#fff6f7!important;box-shadow:0 0 0 3px rgba(214,59,74,.10)!important}

.profile-security-card{margin-top:16px;padding:15px;border:1px solid #dce6f4;border-radius:14px;background:#fbfdff;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.profile-security-copy strong{display:block;font-size:14px}.profile-security-copy p{margin:5px 0 0;line-height:1.5}.profile-security-action{display:grid;justify-items:end;gap:7px}.profile-security-status{font-size:10px;font-weight:800;border-radius:999px;padding:4px 8px}.profile-security-status.is-enabled{background:#e9f8ef;color:#08763c}.profile-security-status.is-disabled{background:#f1f3f6;color:#66717f}.profile-security-verify{grid-column:1/-1;display:grid;gap:8px;padding-top:12px;border-top:1px solid #e6edf6}.profile-security-verify[hidden]{display:none}.profile-security-verify>label{font-size:11px;font-weight:700;color:#344154}.profile-security-verify .auth-code-input{max-width:210px;text-align:center;font-size:22px;font-weight:800;letter-spacing:.24em}.profile-security-verify-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.profile-security-verify .btn-link{border:0;background:transparent;color:#657184}.profile-security-verify .btn-link:hover{color:#0b5ed7}
@media(max-width:600px){.review-reply-trigger{margin-left:0}.review-admin-reply-actions{margin-left:0}.review-admin-reply-head{flex-wrap:wrap}.review-admin-reply-identity{flex:1}.profile-security-card{grid-template-columns:1fr}.profile-security-action{justify-items:start}.profile-security-verify{grid-column:auto}.profile-security-verify .auth-code-input{max-width:100%}}


/* V39 — resposta da equipe em destaque dourado e identificação transparente de conteúdo institucional */
.review-admin-reply{border-left:3px solid #c99519;background:linear-gradient(90deg,#fff3c9 0%,#fff9e8 100%);box-shadow:inset 0 0 0 1px rgba(201,149,25,.10)}
.review-admin-reply-avatar{border-color:#e3c36d;background:#fffaf0}
.review-admin-reply .verified-badge.instagram-verified .instagram-verified-seal{fill:#c99519!important}
.review-admin-reply-action:hover{background:#fff0bd;color:#9a6b00}
.review-admin-reply-action.danger:hover{background:#fff0f1;color:#c5293b}
.review-admin-reply p{color:#3c3219}
.review-store-disclosure{color:#7a6840;font-weight:600}


/* V40 — resposta da equipe limpa, verificado azul e texto alinhado à identidade */
.review-admin-reply{border-left:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.review-admin-reply-avatar{border-color:#dbe5f2!important;background:#fff!important}
.review-admin-reply .verified-badge.instagram-verified .instagram-verified-seal{fill:#0095f6!important}
.review-admin-reply-action:hover{background:#e9f2ff!important;color:#0b5ed7!important}
.review-admin-reply-action.danger:hover{background:#fff0f1!important;color:#c5293b!important}
.review-admin-reply p{margin:7px 0 0 44px!important;color:#334155!important;line-height:1.55}
.review-store-disclosure{font-size:10px;color:#7b8490!important;font-weight:600}
@media(max-width:720px){.review-admin-reply{margin-left:0}.review-admin-reply p{margin-left:42px!important}}


/* V41 — avaliações do modelo com apresentação pública uniforme */
.review-store-disclosure{display:none!important}


/* ===== V42 · Central Administrativa · referência de app corporativo em azul ===== */
.admin-marketplace-page{
  --admin-rail:#0b5ed7;
  --admin-rail-2:#0878e8;
  --admin-nav-text:#4e5b6e;
  --admin-nav-muted:#98a3b3;
  --admin-panel-line:#e3e8f0;
  background:#f3f6fa;
}
.admin-marketplace-page .header-blue-main{background:#fff;border-bottom:1px solid #e7ebf1}
.admin-marketplace-page .marketplace-blue-header{background:#fff;box-shadow:none}
.admin-marketplace-page .header-blue-lower{display:none}
.admin-marketplace-page .header-market-row{min-height:60px}
.admin-marketplace-page .header-profile-button,.admin-marketplace-page .header-notification-button,.admin-marketplace-page .header-cart-top{color:#526174}
.admin-marketplace-page .header-profile-copy small{color:#98a3b3}
.admin-marketplace-page .header-profile-copy strong{color:#233047}
.admin-marketplace-page .global-search-market{border:1px solid #e2e7ee;box-shadow:none;background:#f7f9fc}
.admin-marketplace-page .global-search-market input,.admin-marketplace-page .global-search-market button{background:#f7f9fc}
.admin-marketplace-page .header-region-copy small,.admin-marketplace-page .header-region-copy strong{color:#526174}

.admin-marketplace-shell{grid-template-columns:284px minmax(0,1fr);background:#f3f6fa;min-height:calc(100vh - 60px)}
.admin-marketplace-sidebar{
  position:sticky;top:60px;height:calc(100vh - 60px);overflow:auto;
  background:#fff;color:var(--admin-nav-text);border-right:1px solid #dfe5ed;
  padding:16px 14px 18px 70px;box-shadow:2px 0 10px rgba(25,45,75,.03)
}
.admin-marketplace-sidebar::before{
  content:"";position:absolute;z-index:0;left:0;top:0;bottom:0;width:54px;
  background:linear-gradient(180deg,var(--admin-rail) 0%,var(--admin-rail-2) 100%);
}
.admin-marketplace-sidebar>*{position:relative;z-index:1}
.admin-marketplace-logo{position:relative;min-height:48px;padding:4px 5px 15px;color:#1b2739;gap:10px;border-bottom:1px solid #eef1f5;margin-bottom:12px}
.admin-marketplace-logo>span:first-child{
  position:absolute;left:-59px;top:1px;width:38px;height:38px;border-radius:50%;
  background:#fff;color:var(--admin-rail);box-shadow:0 4px 13px rgba(0,0,0,.14)
}
.admin-marketplace-logo strong{font-size:13px;letter-spacing:-.15px}
.admin-marketplace-logo small{font-size:8px;letter-spacing:.04em;color:#8b96a6;text-transform:none}
.admin-compose-button{
  min-height:38px;display:flex;align-items:center;justify-content:center;gap:8px;
  margin:0 1px 16px;border-radius:3px;background:var(--admin-rail);color:#fff;
  font-size:10px;font-weight:800;box-shadow:0 5px 12px rgba(11,94,215,.18)
}
.admin-compose-button:hover{background:#084da9}
.admin-compose-icon{width:18px;height:18px;display:grid;place-items:center}
.admin-compose-icon svg{width:15px;height:15px}
.admin-nav-section{display:block;padding:10px 8px 5px;color:#a1a9b5;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.admin-marketplace-nav{gap:1px}
.admin-marketplace-nav a,.admin-sidebar-bottom a{
  min-height:36px;border-radius:4px;padding:0 8px;color:#536073;font-size:10px;font-weight:650;position:relative
}
.admin-marketplace-nav a:hover,.admin-marketplace-nav a.active,.admin-sidebar-bottom a:hover{background:#eef5ff;color:var(--admin-rail)}
.admin-marketplace-nav a.active{box-shadow:none;font-weight:800}
.admin-nav-icon{
  position:absolute;left:-56px;width:30px;height:30px;border-radius:50%;
  background:transparent;color:rgba(255,255,255,.82);display:grid;place-items:center
}
.admin-marketplace-nav a:hover .admin-nav-icon{background:rgba(255,255,255,.12);color:#fff}
.admin-marketplace-nav a.active .admin-nav-icon{background:#fff;color:var(--admin-rail);box-shadow:0 3px 9px rgba(0,40,100,.16)}
.admin-nav-icon svg{width:15px;height:15px}
.admin-sidebar-bottom{left:70px;right:14px;bottom:14px;padding-top:10px;background:#fff}
.admin-sidebar-bottom .admin-nav-icon{left:-56px;background:rgba(255,255,255,.1);color:#fff}

.admin-marketplace-content{padding:0 28px 44px;min-width:0}
.admin-marketplace-topbar{min-height:104px;margin-bottom:18px;border-bottom:1px solid #dfe5ed}
.admin-marketplace-topbar h1{font-size:24px;color:#1e2a3d;letter-spacing:-.45px}
.admin-marketplace-topbar p{font-size:10px;color:#7b8797}
.admin-eyebrow,.admin-panel-kicker{color:var(--admin-rail);font-size:8px}
.admin-topbar-actions .btn{border-radius:4px;min-height:36px}
.admin-kpi-grid{gap:10px}
.admin-kpi-card,.admin-market-panel,.admin-subpage .admin-form,.admin-subpage .admin-form-section,.admin-subpage .table-wrap,.admin-subpage .admin-product-toolbar{
  border-radius:6px;border-color:var(--admin-panel-line);box-shadow:0 2px 8px rgba(28,45,70,.025)
}
.admin-kpi-card{padding:14px;background:#fff}
.admin-kpi-icon,.admin-quick-icon{border-radius:50%;background:#edf5ff;color:var(--admin-rail)}
.admin-quick-action{border-radius:5px;min-height:76px}
.admin-product-preview-card{border-radius:5px}
.admin-status-pill{border-radius:4px}
.admin-subpage .admin-top{min-height:96px;margin-bottom:16px}
.admin-subpage .admin-top h1{font-size:23px}
.admin-subpage .admin-tab{border-radius:4px}
.admin-subpage .admin-sticky-actions{border-radius:6px}
.seller-affiliate-content{padding-bottom:50px}

@media(max-width:760px){
  .admin-marketplace-page .header-blue-main{background:var(--market-blue)}
  .admin-marketplace-page .header-region-copy small,.admin-marketplace-page .header-region-copy strong{color:#fff}
  .admin-marketplace-shell{grid-template-columns:1fr;min-height:auto}
  .admin-marketplace-sidebar{position:relative;top:auto;height:auto;padding:10px 12px;overflow:visible;border-right:0;border-bottom:1px solid #dfe5ed}
  .admin-marketplace-sidebar::before{display:none}
  .admin-marketplace-logo{padding:5px 4px 10px;margin:0}
  .admin-marketplace-logo>span:first-child{position:static;width:34px;height:34px;border-radius:9px;background:var(--admin-rail);color:#fff;box-shadow:none}
  .admin-compose-button{margin:8px 0 6px;min-height:40px}
  .admin-nav-section{display:none}
  .admin-marketplace-nav{display:none!important;flex-direction:column;overflow:visible}
  .admin-marketplace-sidebar.mobile-open .admin-marketplace-nav{display:flex!important}
  .admin-nav-icon{position:static;width:28px;height:28px;border-radius:7px;background:#edf5ff;color:var(--admin-rail)}
  .admin-marketplace-nav a.active .admin-nav-icon{box-shadow:none;background:#dcecff}
  .admin-sidebar-bottom{display:none;position:static}
  .admin-marketplace-content{padding:0 12px 30px}
}

/* V42: no painel administrativo, o verde do layout de referência é substituído pela identidade azul. */
.admin-marketplace-page input[type="checkbox"],
.admin-marketplace-page input[type="radio"]{accent-color:var(--admin-rail)}
.admin-marketplace-page .badge-active,
.admin-marketplace-page .admin-status-pill.success,
.admin-marketplace-page .alert-success{background:#eaf3ff;color:#0b5ed7;border-color:#cfe1ff}


/* =========================================================
   V43 — Central Administrativa com barra lateral somente ícones
   A navegação textual foi removida visualmente no desktop para
   preservar uma área útil maior e evitar o estouro horizontal.
   ========================================================= */
@media (min-width: 761px) {
  .admin-marketplace-shell {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .admin-marketplace-sidebar {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    padding: 10px 7px 14px !important;
    background: linear-gradient(180deg, var(--admin-rail) 0%, var(--admin-rail-2) 100%) !important;
    color: #fff !important;
    border-right: 1px solid rgba(7, 66, 155, .22) !important;
    box-shadow: 2px 0 12px rgba(11,94,215,.08) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: none;
  }
  .admin-marketplace-sidebar::-webkit-scrollbar { display: none; }
  .admin-marketplace-sidebar::before { display: none !important; }

  .admin-marketplace-logo {
    display: grid !important;
    place-items: center !important;
    width: 50px !important;
    min-height: 50px !important;
    margin: 0 auto 8px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
  }
  .admin-marketplace-logo > span:first-child {
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--admin-rail) !important;
    box-shadow: 0 4px 14px rgba(0,35,90,.2) !important;
  }
  .admin-marketplace-logo > span:not(:first-child) { display: none !important; }

  .admin-compose-button {
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 4px auto 12px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.10) !important;
    box-shadow: none !important;
    color: #fff !important;
    display: grid !important;
    place-items: center !important;
  }
  .admin-compose-button:hover,
  .admin-compose-button:focus-visible {
    background: rgba(255,255,255,.20) !important;
  }
  .admin-compose-button > span:last-child { display: none !important; }
  .admin-compose-icon {
    width: 30px !important;
    height: 30px !important;
  }
  .admin-compose-icon svg { width: 18px !important; height: 18px !important; }

  .admin-nav-section { display: none !important; }
  .admin-marketplace-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .admin-marketplace-nav a,
  .admin-sidebar-bottom a {
    display: grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: rgba(255,255,255,.86) !important;
    position: relative !important;
  }
  .admin-marketplace-nav a > span:not(.admin-nav-icon),
  .admin-sidebar-bottom a > span:not(.admin-nav-icon) { display: none !important; }
  .admin-nav-icon {
    position: static !important;
    left: auto !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: currentColor !important;
    display: grid !important;
    place-items: center !important;
  }
  .admin-nav-icon svg { width: 18px !important; height: 18px !important; }
  .admin-marketplace-nav a:hover,
  .admin-marketplace-nav a:focus-visible,
  .admin-sidebar-bottom a:hover,
  .admin-sidebar-bottom a:focus-visible {
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
  }
  .admin-marketplace-nav a.active {
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
  }
  .admin-marketplace-nav a.active .admin-nav-icon {
    background: #fff !important;
    color: var(--admin-rail) !important;
    box-shadow: 0 4px 12px rgba(0,35,90,.20) !important;
  }

  .admin-sidebar-bottom {
    position: absolute !important;
    left: 7px !important;
    right: 7px !important;
    bottom: 12px !important;
    padding: 8px 0 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
  }
  .admin-sidebar-bottom .admin-nav-icon {
    left: auto !important;
    background: transparent !important;
    color: inherit !important;
  }

  .admin-marketplace-content {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    overflow-x: clip;
  }
  .admin-marketplace-content > *,
  .admin-marketplace-content .admin-form,
  .admin-marketplace-content .admin-form-section,
  .admin-marketplace-content .table-wrap,
  .admin-marketplace-content .admin-product-toolbar,
  .admin-marketplace-content .admin-sticky-actions {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
  .admin-marketplace-content .admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .admin-marketplace-content input,
  .admin-marketplace-content select,
  .admin-marketplace-content textarea {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .admin-marketplace-content .table-wrap { overflow-x: auto !important; }
}

/* V43: telas menores continuam sem painel textual lateral; o menu vira uma
   faixa azul horizontal de ícones para não consumir a largura do conteúdo. */
@media (max-width: 760px) {
  .admin-marketplace-page .admin-marketplace-sidebar {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    padding: 7px 9px !important;
    background: linear-gradient(90deg, var(--admin-rail), var(--admin-rail-2)) !important;
    border-bottom: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
  }
  .admin-marketplace-page .admin-marketplace-sidebar::-webkit-scrollbar { display:none; }
  .admin-marketplace-page .admin-marketplace-logo {
    width: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    margin: 0 3px 0 0 !important;
    border: 0 !important;
  }
  .admin-marketplace-page .admin-marketplace-logo > span:first-child {
    position: static !important;
    width: 34px !important;
    height: 34px !important;
    background:#fff !important;
    color:var(--admin-rail) !important;
    border-radius:50% !important;
  }
  .admin-marketplace-page .admin-marketplace-logo > span:not(:first-child),
  .admin-marketplace-page .admin-nav-section,
  .admin-marketplace-page .admin-compose-button > span:last-child,
  .admin-marketplace-page .admin-marketplace-nav a > span:not(.admin-nav-icon),
  .admin-marketplace-page .admin-sidebar-bottom a > span:not(.admin-nav-icon),
  .admin-marketplace-page .admin-mobile-nav-toggle { display:none !important; }
  .admin-marketplace-page .admin-compose-button {
    display:grid !important;place-items:center !important;
    flex:0 0 40px !important;width:40px !important;height:40px !important;min-height:40px !important;
    margin:0 !important;padding:0 !important;border-radius:10px !important;
    background:rgba(255,255,255,.12) !important;color:#fff !important;
  }
  .admin-marketplace-page .admin-marketplace-nav {
    display:flex !important;flex-direction:row !important;align-items:center !important;
    gap:4px !important;overflow:visible !important;padding:0 !important;flex:0 0 auto !important;
  }
  .admin-marketplace-page .admin-marketplace-nav a {
    display:grid !important;place-items:center !important;flex:0 0 40px !important;
    width:40px !important;height:40px !important;min-height:40px !important;padding:0 !important;
    border-radius:10px !important;background:transparent !important;color:rgba(255,255,255,.88) !important;
  }
  .admin-marketplace-page .admin-nav-icon {
    position:static !important;width:30px !important;height:30px !important;border-radius:9px !important;
    background:transparent !important;color:inherit !important;
  }
  .admin-marketplace-page .admin-marketplace-nav a.active .admin-nav-icon {
    background:#fff !important;color:var(--admin-rail) !important;
  }
  .admin-marketplace-page .admin-sidebar-bottom {
    display:block !important;position:static !important;flex:0 0 40px !important;
    margin:0 !important;padding:0 !important;background:transparent !important;border:0 !important;
  }
  .admin-marketplace-page .admin-sidebar-bottom a {
    display:grid !important;place-items:center !important;width:40px !important;height:40px !important;min-height:40px !important;padding:0 !important;
    color:rgba(255,255,255,.88) !important;
  }
  .admin-marketplace-page .admin-marketplace-content {
    width:100% !important;max-width:100% !important;padding:14px 12px 30px !important;overflow-x:hidden !important;
  }
}


/* =========================================================
   V44 — rail administrativo conectado ao header, mobile real,
   notificações visíveis, checkout simplificado e ícones em imagem.
   ========================================================= */
/* O rail começa exatamente após o header de 60px. Esta regra tem
   especificidade suficiente para sobrescrever o legado que usava 116px. */
@media (min-width:761px){
  .admin-marketplace-page>.site-header+.admin-marketplace-shell>.admin-marketplace-sidebar,
  .admin-marketplace-page>.site-header+.admin-shell>.admin-marketplace-sidebar{
    top:60px!important;
    height:calc(100vh - 60px)!important;
    height:calc(100dvh - 60px)!important;
  }
}

/* Em mobile a barra continua à esquerda — somente ícones — em vez de virar
   uma faixa horizontal que empurra/quebra o formulário. */
@media (max-width:760px){
  .admin-marketplace-page .header-blue-main{background:var(--market-blue)!important}
  .admin-marketplace-page .header-profile-button,
  .admin-marketplace-page .header-notification-button,
  .admin-marketplace-page .mobile-nav-toggle{color:#fff!important}
  .admin-marketplace-page .admin-marketplace-shell{
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    width:100%!important;
    min-height:calc(100dvh - 60px)!important;
    overflow:visible!important;
  }
  .admin-marketplace-page .admin-marketplace-sidebar{
    position:sticky!important;
    top:60px!important;
    align-self:start!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:5px!important;
    width:52px!important;
    min-width:52px!important;
    max-width:52px!important;
    height:calc(100dvh - 60px)!important;
    min-height:0!important;
    padding:7px 5px 9px!important;
    background:linear-gradient(180deg,var(--admin-rail),var(--admin-rail-2))!important;
    border:0!important;
    border-right:1px solid rgba(7,66,155,.22)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    scrollbar-width:none!important;
    z-index:90!important;
  }
  .admin-marketplace-page .admin-marketplace-sidebar::-webkit-scrollbar{display:none!important}
  .admin-marketplace-page .admin-marketplace-logo{
    display:grid!important;place-items:center!important;flex:0 0 38px!important;
    width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;
    padding:0!important;margin:0 0 2px!important;border:0!important;
  }
  .admin-marketplace-page .admin-marketplace-logo>span:first-child{
    width:34px!important;height:34px!important;background:#fff!important;color:var(--admin-rail)!important;border-radius:50%!important;
  }
  .admin-marketplace-page .admin-compose-button{
    flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:40px!important;
    margin:0 0 4px!important;padding:0!important;border-radius:10px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;
  }
  .admin-marketplace-page .admin-marketplace-nav{
    display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important;
    width:100%!important;overflow:visible!important;padding:0!important;flex:0 0 auto!important;
  }
  .admin-marketplace-page .admin-marketplace-nav a,
  .admin-marketplace-page .admin-sidebar-bottom a{
    display:grid!important;place-items:center!important;flex:0 0 40px!important;
    width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;
    border-radius:10px!important;background:transparent!important;color:rgba(255,255,255,.9)!important;
  }
  .admin-marketplace-page .admin-nav-icon{position:static!important;width:30px!important;height:30px!important;background:transparent!important;color:inherit!important}
  .admin-marketplace-page .admin-marketplace-nav a.active .admin-nav-icon{background:#fff!important;color:var(--admin-rail)!important}
  .admin-marketplace-page .admin-sidebar-bottom{
    display:block!important;position:static!important;margin-top:auto!important;width:100%!important;
    padding:7px 0 0!important;background:transparent!important;border:0!important;border-top:1px solid rgba(255,255,255,.14)!important;
  }
  .admin-marketplace-page .admin-marketplace-content{
    grid-column:2!important;width:100%!important;min-width:0!important;max-width:100%!important;
    padding:12px 9px 28px!important;overflow-x:hidden!important;
  }
  .admin-marketplace-page .admin-content .admin-top,
  .admin-marketplace-page .admin-marketplace-topbar{padding-top:4px!important;margin-top:0!important}
  .admin-marketplace-page .admin-form-grid{grid-template-columns:1fr!important}
  .admin-marketplace-page .admin-form-grid .full{grid-column:auto!important}
  .admin-marketplace-page .admin-sticky-actions{left:52px!important;width:calc(100% - 52px)!important;max-width:calc(100% - 52px)!important}
}
@media(max-width:430px){
  .admin-marketplace-page .admin-marketplace-shell{grid-template-columns:48px minmax(0,1fr)!important}
  .admin-marketplace-page .admin-marketplace-sidebar{width:48px!important;min-width:48px!important;max-width:48px!important;padding-left:4px!important;padding-right:4px!important}
  .admin-marketplace-page .admin-marketplace-content{padding-left:8px!important;padding-right:8px!important}
  .admin-marketplace-page .admin-sticky-actions{left:48px!important;width:calc(100% - 48px)!important;max-width:calc(100% - 48px)!important}
}

/* Sino de notificações sempre presente no header. */
.header-notification-wrap{display:flex!important;visibility:visible!important;opacity:1!important}
.header-notification-button{display:grid!important;visibility:visible!important;opacity:1!important}
.header-notification-button>svg{display:block!important;width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){
  .header-blue-main .header-market-row{grid-template-columns:minmax(0,1fr) 42px 42px 42px!important}
  .header-market-row .header-profile-button{grid-column:2!important}
  .header-market-row .header-notification-wrap{grid-column:3!important;grid-row:1!important;display:flex!important}
  .header-market-row .header-notification-button{width:42px!important;height:42px!important;color:#fff!important}
  .mobile-nav-toggle{grid-column:4!important;grid-row:1!important}
  .mobile-header-nav .mobile-notification-link{display:none!important}
}

/* Loader de compra: somente texto + círculo animado, como a referência. */
.checkout-preparing{background:#fff!important}
.checkout-preparing-box.checkout-preparing-simple{width:min(360px,100%)!important;padding:20px!important;display:grid!important;justify-items:center!important;text-align:center!important}
.checkout-preparing-box.checkout-preparing-simple h2{max-width:290px!important;margin:0 0 38px!important;font-size:27px!important;line-height:1.18!important;letter-spacing:-.55px!important;color:#101828!important}
.checkout-preparing-box.checkout-preparing-simple .checkout-preparing-spinner{width:22px!important;height:22px!important;border:4px solid #e7eef8!important;border-top-color:#0b5ed7!important;border-right-color:#0b5ed7!important;border-radius:50%!important;animation:loaderSpin .68s linear infinite!important;box-shadow:none!important}
.checkout-preparing-box.checkout-preparing-simple .checkout-preparing-spinner:after{display:none!important}
@media(max-width:520px){.checkout-preparing-box.checkout-preparing-simple h2{font-size:23px!important;margin-bottom:30px!important}}

/* Botão de localização agora usa um arquivo de imagem antes do texto. */
.location-auto-button>img{width:38px;height:38px;flex:0 0 38px;object-fit:contain;display:block}
.location-auto-button>svg{display:none!important}

/* Retirada em breve com cadeado e componentes de entrega/pagamento usando imagens. */
.fulfillment-tab{min-height:56px;display:flex;align-items:center;justify-content:center}
.fulfillment-tab .fulfillment-tab-content{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:100%!important;margin-top:0!important;font-size:inherit!important;color:inherit!important}
.fulfillment-tab .fulfillment-tab-content>img{width:18px!important;height:18px!important;flex:0 0 18px!important;object-fit:contain!important;display:block!important;margin:0 auto!important}
.fulfillment-tab .fulfillment-tab-copy{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;line-height:1.1!important;font-size:inherit!important;color:inherit!important;margin-top:0!important}
.fulfillment-tab .fulfillment-tab-copy strong{display:block!important;font-size:12px!important;font-weight:800!important;color:inherit!important;line-height:1.15!important;margin:0!important}
.fulfillment-tab .fulfillment-tab-copy small{display:block!important;font-size:9px!important;font-weight:700!important;color:var(--green)!important;line-height:1.15!important;margin:2px 0 0!important}
.fulfillment-tab-locked{cursor:not-allowed!important;opacity:1!important;color:#343b46!important;background:transparent!important}
.fulfillment-tab-locked .fulfillment-tab-copy small{color:#7b8490!important}
.fulfillment-tab-locked>span{opacity:1!important}
.shipping-service-icon{overflow:hidden;background:transparent!important}
.shipping-service-icon img{width:36px;height:36px;display:block;object-fit:contain}
.payment-method-icon{overflow:hidden;background:#fff!important;border:0!important}
.payment-method-icon img{width:38px;height:38px;display:block;object-fit:contain}

/* Checkout mobile: cards e linhas não ultrapassam a viewport. */
@media(max-width:760px){
  .checkout-market-shell>.shell{padding-left:10px!important;padding-right:10px!important}
  .checkout-market-grid{grid-template-columns:1fr!important;gap:12px!important}
  .checkout-card,.checkout-summary-market{min-width:0!important;width:100%!important;padding:14px!important}
  .fulfillment-tabs{max-width:none!important;width:100%!important}
  .address-summary-box{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important}
  .address-summary-box>svg{display:none!important}
  .address-change{align-self:start!important}
  .location-modal-card{width:calc(100vw - 18px)!important;max-width:calc(100vw - 18px)!important;padding:18px 14px!important}
  .address-grid{grid-template-columns:1fr!important}
  .address-grid .form-group{grid-column:auto!important}
  .shipping-service-selector{grid-template-columns:1fr!important}
}


/* V45 - autenticação renovada, atalhos com imagens e selo de Envio Full. */
.auth-shell-modern{padding:34px 16px 48px;min-height:calc(100vh - 120px)!important;background:radial-gradient(circle at 15% 20%,rgba(11,94,215,.08),transparent 30%),linear-gradient(145deg,#f6f9fe 0%,#fff 55%,#f2f7ff 100%)}
body.auth-page .auth-card-modern{width:min(920px,100%);padding:0;border-radius:24px;overflow:hidden;display:grid;grid-template-columns:minmax(300px,.9fr) minmax(390px,1.1fr);border:1px solid #dce4ef;box-shadow:0 28px 80px rgba(15,23,42,.13)}
.auth-promo-panel{position:relative;display:flex;flex-direction:column;min-height:590px;padding:38px 36px;color:#fff;background:linear-gradient(145deg,#0757c9 0%,#0b5ed7 48%,#174ea6 100%);overflow:hidden}
.auth-promo-panel:before,.auth-promo-panel:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.auth-promo-panel:before{width:290px;height:290px;right:-145px;top:-95px;background:rgba(255,255,255,.1)}.auth-promo-panel:after{width:220px;height:220px;left:-110px;bottom:-90px;background:rgba(255,255,255,.07)}
.auth-brand-inverse{justify-content:flex-start;margin:0;position:relative;z-index:1;color:#fff}.auth-brand-inverse .auth-brand-mark{background:#fff;color:#0b5ed7;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.auth-brand-mark i{font-size:23px;line-height:1}.auth-promo-copy{position:relative;z-index:1;margin:auto 0 24px}.auth-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;padding:7px 10px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}.auth-promo-copy h2{font-size:31px;line-height:1.1;letter-spacing:-1.1px;margin:17px 0 12px;max-width:390px}.auth-promo-copy p{font-size:12px;line-height:1.65;color:rgba(255,255,255,.8);max-width:390px;margin:0}
.auth-feature-list{position:relative;z-index:1;display:grid;gap:11px}.auth-feature{display:grid;grid-template-columns:36px 1fr;gap:11px;align-items:center;padding:11px 12px;border:1px solid rgba(255,255,255,.15);border-radius:13px;background:rgba(255,255,255,.08)}.auth-feature>i{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.13);display:grid;place-items:center;font-size:17px}.auth-feature strong,.auth-feature small{display:block}.auth-feature strong{font-size:11px}.auth-feature small{font-size:9px;line-height:1.4;margin-top:2px;color:rgba(255,255,255,.72)}
.auth-form-panel{padding:42px 46px;background:#fff}.auth-mobile-brand{display:none}.auth-form-kicker{display:block;color:#0b5ed7;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}.auth-form-panel>h1{font-size:29px;letter-spacing:-.9px;margin:0 0 7px}.auth-form-panel>p{font-size:12px;color:#667085;line-height:1.55;margin:0 0 22px}.auth-modern-form .form-group{margin-bottom:14px}
.auth-input-wrap{position:relative}.auth-input-wrap>.bi:first-child{position:absolute;left:13px;top:50%;transform:translateY(-50%);z-index:2;color:#7b8798;font-size:16px;pointer-events:none}.auth-input-wrap .input{height:48px;padding-left:41px;border-radius:11px;background:#fbfcfe;border-color:#dce2ea;transition:border-color .18s,box-shadow .18s,background .18s}.auth-input-wrap .input:focus{background:#fff;border-color:#7eb0ef;box-shadow:0 0 0 4px rgba(11,94,215,.08)}.auth-input-password .input{padding-right:46px}.auth-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#667085;display:grid;place-items:center}.auth-password-toggle:hover{background:#eef5ff;color:#0b5ed7}.auth-password-toggle i{font-size:16px}
.auth-submit-button{height:47px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;margin-top:4px}.auth-submit-button i{font-size:15px}.auth-forgot-link{margin:12px auto 0;display:flex;align-items:center;justify-content:center;gap:6px}.auth-divider{margin:20px 0 15px}.auth-divider span{padding:0 10px;background:#fff;color:#8893a3;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.auth-google-button{height:45px;border-radius:11px;gap:9px}.auth-links{margin-top:17px;font-size:11px}.auth-security-footnote{display:flex!important;align-items:flex-start;justify-content:center;gap:6px;margin:17px 0 0!important;padding-top:15px;border-top:1px solid #edf0f4;font-size:9px!important;color:#7a8492!important;text-align:center}.auth-security-footnote i{color:#118a4e;font-size:12px;margin-top:1px}.password-hint{display:flex;align-items:center;gap:5px;margin-top:6px}.auth-terms-check{margin:2px 0 15px}
.auth-login-mfa-panel{margin-top:6px}.auth-code-input{letter-spacing:.28em;text-align:center;font-size:20px;font-weight:800}.auth-code-valid{border-color:#46a879!important;box-shadow:0 0 0 4px rgba(17,138,78,.08)!important}.auth-code-invalid{border-color:#d45b65!important;box-shadow:0 0 0 4px rgba(201,51,63,.08)!important}
.shortcut-art{background:none}.shortcut-art img{width:84px;height:84px;object-fit:contain;display:block;filter:drop-shadow(0 7px 12px rgba(15,23,42,.05))}.shortcut-card:hover .shortcut-art img{transform:translateY(-2px);transition:transform .18s ease}
.shipping-full-brand{display:inline-flex;align-items:center;gap:2px;color:var(--green);font-weight:850}.shipping-full-brand i{font-size:12px;color:var(--green)}.shipping-full-button.active{border-color:#8fd0ad;background:#f4fbf7;box-shadow:0 0 0 2px rgba(17,138,78,.08)}.shipping-full-button.active .shipping-service-icon{background:#e9f8ef}.shipping-full-button.active .shipping-service-icon img{filter:saturate(1.08)}
.checkout-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.checkout-summary-heading h2{margin:0}.summary-full-tag{display:inline-flex;align-items:center;gap:4px;padding:6px 9px;border-radius:999px;background:#eaf8f0;color:var(--green);border:1px solid #c9ead7;font-size:10px;font-weight:850;line-height:1}.summary-full-tag i{font-size:11px}
@media(max-width:860px){body.auth-page .auth-card-modern{grid-template-columns:1fr;width:min(520px,100%)}.auth-promo-panel{display:none}.auth-form-panel{padding:34px 32px}.auth-mobile-brand{display:block}.auth-mobile-brand .auth-brand{justify-content:flex-start;margin:0 0 26px}.auth-form-panel>h1{font-size:27px}}
@media(max-width:520px){.auth-shell-modern{padding:14px 10px 32px!important}.auth-form-panel{padding:25px 18px}.auth-mobile-brand .auth-brand{margin-bottom:21px}.auth-form-panel>h1{font-size:24px}.auth-form-panel>p{margin-bottom:18px}.auth-input-wrap .input{height:46px}.auth-card-register .auth-form-panel{padding-top:22px}.summary-full-tag{padding:5px 7px}}


/* V46 - compartilhamento de produto */
.market-product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 11px;
}

.market-product-title-row .market-product-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.product-share-wrap {
  flex: 0 0 auto;
  position: relative;
}

.product-share-button {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #d8e4f6;
  border-radius: 10px;
  background: #fff;
  color: #0969da;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease, color .16s ease;
}

.product-share-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-share-button:hover {
  background: #f2f7ff;
  border-color: #a9c9f7;
}

.product-share-button:active {
  transform: translateY(1px);
}

.product-share-button.copied {
  color: #08783e;
  border-color: #b8dfca;
  background: #f1fbf6;
}

.product-share-button:focus-visible {
  outline: 3px solid rgba(9,105,218,.2);
  outline-offset: 2px;
}

.product-share-feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .market-product-title-row {
    gap: 10px;
  }

  .product-share-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
  }

  .product-share-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
  }
}

/* ==========================================================
   V47 — NOTIFICAÇÕES DE PEDIDOS PARA ADMIN/CEO + ÍCONES IMG
   ========================================================== */
.header-notification-image{display:block!important;width:21px!important;height:21px!important;object-fit:contain;filter:brightness(0) invert(1)}
.admin-marketplace-page .header-notification-image{filter:none;opacity:.72}
.mobile-notification-image{display:block;width:18px;height:18px;object-fit:contain}
.notifications-control-image{display:block;width:18px;height:18px;object-fit:contain}
.notifications-close img.notifications-control-image,.notifications-back img.notifications-control-image{width:18px;height:18px}
.notifications-menu-icon>img{display:block;width:22px;height:22px;object-fit:contain}
.notifications-menu-image>img{width:24px;height:24px}
.notifications-chevron{display:block;width:16px;height:16px;object-fit:contain}
.notifications-admin-order-list{display:grid}
.notifications-admin-order-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 15px;border-bottom:1px solid #edf0f4;background:#fff;transition:background .16s ease}
.notifications-admin-order-card:last-child{border-bottom:0}
.notifications-admin-order-card:hover{background:#fbfcfd}
.notifications-admin-order-card.is-unread{background:#f4f9ff}
.notifications-admin-order-image{width:58px;height:58px;border:1px solid #e4e9f0;border-radius:10px;background:#fff;overflow:hidden;display:grid;place-items:center}
.notifications-admin-order-image img{display:block;width:100%;height:100%;object-fit:contain}
.notifications-admin-order-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.notifications-admin-order-title{display:flex;align-items:center;gap:7px;min-width:0}
.notifications-admin-order-title>strong{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notifications-admin-order-new{flex:0 0 auto;padding:2px 6px;border-radius:999px;background:#e5f1ff;color:#0969da;font-size:8.5px;font-weight:850;text-transform:uppercase;letter-spacing:.03em}
.notifications-admin-order-customer{font-size:10px;font-weight:700;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notifications-admin-order-meta,.notifications-admin-order-code{font-size:9px;color:#7b8490;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notifications-admin-order-follow{min-height:34px;border:1px solid #b9d6fb;border-radius:8px;background:#eaf3ff;color:#0969da;padding:0 10px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.notifications-admin-order-follow:hover{background:#dcecff;border-color:#9fc8fa}
.notifications-admin-order-follow:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:720px){
  .notifications-admin-order-card{grid-template-columns:50px minmax(0,1fr);padding:12px}
  .notifications-admin-order-image{width:50px;height:50px}
  .notifications-admin-order-follow{grid-column:2;width:max-content}
}
.admin-orders-table tr.admin-order-target td{background:#eef6ff!important;box-shadow:inset 0 1px 0 #b9d6fb,inset 0 -1px 0 #b9d6fb}
.admin-orders-table tr.admin-order-target td:first-child{box-shadow:inset 3px 0 0 #0969da,inset 0 1px 0 #b9d6fb,inset 0 -1px 0 #b9d6fb}
#adminOrdersBody tr.admin-order-target td{background:#eef6ff!important;box-shadow:inset 0 1px 0 #b9d6fb,inset 0 -1px 0 #b9d6fb}
#adminOrdersBody tr.admin-order-target td:first-child{box-shadow:inset 3px 0 0 #0969da,inset 0 1px 0 #b9d6fb,inset 0 -1px 0 #b9d6fb}

/* V48 — mídia de produto: imagens ilimitadas por produto + vídeos */
.media-manager-videos .media-manager-card>video,
.media-video-card>video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  object-fit: contain;
  background: #0f172a;
  border-radius: 8px;
}

.market-main-image>video,
.market-product-card-v10 .market-main-image>video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.market-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.market-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #111827;
}

.market-video-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: #0b5ed7;
  font-size: 11px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(15,23,42,.2);
}


/* V49 - Login e cadastro: retorno ao design compacto anterior.
   Este bloco apenas neutraliza ajustes genéricos do layout V45 quando a página
   usa o cartão legado, sem alterar autenticação, e-mail, MFA ou outras telas. */
body.auth-page .auth-shell:not(.auth-shell-modern) .auth-divider{margin:18px 0;color:var(--muted);font-size:10px}
body.auth-page .auth-shell:not(.auth-shell-modern) .auth-divider span{padding:0 4px;background:transparent;color:inherit;font-size:inherit;text-transform:none;letter-spacing:normal}
body.auth-page .auth-shell:not(.auth-shell-modern) .auth-links{margin-top:16px;font-size:12px}
body.auth-page .auth-shell:not(.auth-shell-modern) .auth-forgot-link{display:block;width:max-content;margin:10px auto 0;gap:0}
body.auth-page .auth-shell:not(.auth-shell-modern) .password-hint{display:block;font-size:9px;color:var(--muted);margin-top:5px}
body.auth-page .auth-shell:not(.auth-shell-modern) .auth-card{width:min(440px,100%);padding:28px;border-radius:18px}
body.auth-page .auth-shell:not(.auth-shell-modern) .auth-card h1{font-size:25px;margin:0 0 7px;letter-spacing:-.7px}
body.auth-page .auth-shell:not(.auth-shell-modern) .auth-card>p{margin:0 0 22px;font-size:13px}
body.auth-page .auth-shell:not(.auth-shell-modern) .input{height:45px;padding:0 12px;border-radius:9px;background:#fff}
body.auth-page .auth-shell:not(.auth-shell-modern) .auth-brand{justify-content:center;margin-bottom:20px}
@media(max-width:520px){body.auth-page .auth-shell:not(.auth-shell-modern){padding:24px 12px}body.auth-page .auth-shell:not(.auth-shell-modern) .auth-card{padding:22px 18px}}

/* V51 — gestão de contas, cargos e exclusão */
.admin-user-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;min-width:142px}
.admin-users-table td:last-child{text-align:right}
.admin-users-table .select{min-width:190px}
@media (max-width:760px){.admin-user-actions{justify-content:flex-start}.admin-users-table .select{min-width:170px}}

/* V58 — Google Identity Services no login/cadastro.
   O botão é renderizado pela biblioteca oficial do Google; o contêiner apenas
   mantém alinhamento e responsividade do layout existente. */
.google-gis-shell{width:100%;display:flex;justify-content:center;align-items:center;min-height:44px;overflow:hidden}
.google-gis-button{width:100%;min-height:44px;display:flex;justify-content:center;align-items:center;position:relative}
.google-gis-button>div{margin-inline:auto!important;max-width:100%!important}
.google-gis-button iframe{max-width:100%!important}
.google-gis-button.is-loading{opacity:.58;pointer-events:none}
@media(max-width:520px){.google-gis-shell,.google-gis-button{min-height:42px}}


/* V63 — cadastro de produto por comando de IA */
.admin-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.admin-add-product-menu{position:relative}
.admin-add-product-menu>summary{list-style:none;cursor:pointer;user-select:none}
.admin-add-product-menu>summary::-webkit-details-marker{display:none}
.admin-add-product-menu>summary::after{content:"▾";font-size:11px;margin-left:8px;transition:transform .18s ease}
.admin-add-product-menu[open]>summary::after{transform:rotate(180deg)}
.admin-add-product-options{position:absolute;right:0;top:calc(100% + 8px);width:min(330px,calc(100vw - 28px));padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 48px rgba(15,23,42,.16);z-index:80;display:grid;gap:4px}
.admin-add-product-options a{display:grid;gap:3px;padding:11px 12px;border-radius:10px;color:var(--text);text-decoration:none}
.admin-add-product-options a:hover,.admin-add-product-options a:focus-visible{background:#f2f7ff;outline:none}
.admin-add-product-options strong{font-size:13px}.admin-add-product-options small{color:var(--muted);font-size:11px;line-height:1.35}
.product-command-modal{z-index:5600;padding:18px;align-items:center;justify-content:center;overflow:auto}
.product-command-card{width:min(920px,100%);max-height:min(94dvh,980px);padding:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:18px}
.product-command-head{padding:18px 20px;border-bottom:1px solid var(--line);margin:0;align-items:flex-start}
.product-command-head h2{margin:0;font-size:22px}.product-command-head p{margin:5px 0 0;color:var(--muted);font-size:13px}
.product-command-close{font-size:26px;line-height:1;font-family:Arial,sans-serif}
.product-command-body{padding:18px 20px 22px;overflow:auto}
.product-command-input{min-height:180px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.55;resize:vertical}
.product-command-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 0}
.product-command-orientation{margin-top:14px;border:1px solid #d9e7fb;background:#f7fbff;border-radius:14px;padding:14px}
.product-command-orientation-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.product-command-orientation-head>div{display:grid;gap:2px}.product-command-orientation-head small{color:var(--muted);font-size:11px}
.product-command-prompt{min-height:290px;background:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.5;resize:vertical}
.product-command-preview{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}
.product-command-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.product-command-preview-head>div{display:grid;gap:2px}.product-command-preview-head small{color:var(--muted);font-size:11px}
.product-command-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.product-command-preview-item{min-width:0;border:1px solid #e6ebf2;background:#fbfcfe;border-radius:11px;padding:10px 11px}.product-command-preview-item.wide{grid-column:1/-1}.product-command-preview-item dt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:800;margin:0 0 4px}.product-command-preview-item dd{margin:0;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text)}
.product-command-final-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.product-command-images{margin-top:12px}.product-command-image-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;margin-top:9px}.product-command-image-preview img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:#f7f9fc}
.product-command-required{margin-top:12px;padding:10px 12px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:12px;line-height:1.45}
.product-command-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.product-command-card .alert{margin-top:14px}
@media(max-width:760px){.admin-top-actions{width:100%;justify-content:flex-start}.admin-add-product-menu{width:100%}.admin-add-product-menu>summary{width:100%;justify-content:center}.admin-add-product-options{left:0;right:auto;width:100%}.product-command-modal{padding:0;align-items:end}.product-command-card{width:100%;max-width:none;max-height:96dvh;border-radius:18px 18px 0 0}.product-command-head{padding:15px 14px}.product-command-body{padding:14px}.product-command-preview-grid{grid-template-columns:1fr}.product-command-final-fields{grid-template-columns:1fr 1fr}.product-command-actions{position:sticky;bottom:-14px;background:#fff;padding:12px 0 14px;z-index:3}.product-command-actions .btn{flex:1}}
@media(max-width:480px){.product-command-final-fields{grid-template-columns:1fr}.product-command-toolbar .btn{flex:1}.product-command-orientation-head{align-items:flex-start;flex-direction:column}.product-command-actions{flex-direction:column-reverse}}

/* V64 — banners configuráveis entre as seções da página inicial */
.admin-section-banner-manager{margin-top:20px}
.admin-section-banner-add-form{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(180px,.9fr) minmax(150px,.7fr) minmax(210px,1fr) minmax(200px,1fr) auto;gap:12px;align-items:end}
.admin-section-banner-list{display:grid;gap:12px;margin-top:18px}
.admin-section-banner-card{display:grid;grid-template-columns:34px 220px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}
.admin-section-banner-card>img{width:220px;aspect-ratio:16/5;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:#f7f9fc}
.admin-section-banner-card-fields{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(150px,.7fr) minmax(210px,1fr) minmax(210px,1fr);gap:10px;align-items:end}
.admin-section-banner-card-fields label{display:grid;gap:5px}.admin-section-banner-card-fields label>span{font-size:11px;color:var(--muted);font-weight:700}
.admin-section-banner-file{grid-column:1/3}.admin-section-banner-card-actions{display:flex;gap:8px;justify-content:flex-end;grid-column:3/5}
.home-inline-banners{padding:14px 0}
.home-inline-banner-carousel{position:relative;width:100%;overflow:hidden;border-radius:16px;background:#f2f5fa;box-shadow:0 6px 22px rgba(20,44,82,.08)}
.home-inline-banner-slide{display:none}.home-inline-banner-slide.active{display:block}
.home-inline-banner-link{display:block;width:100%;line-height:0}
.home-inline-banner-link img{display:block;width:100%;aspect-ratio:16/4;min-height:110px;max-height:310px;object-fit:cover}
.home-inline-banner-control{position:absolute;top:50%;z-index:3;width:38px;height:38px;border:1px solid rgba(17,40,74,.12);border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);box-shadow:0 4px 16px rgba(20,44,82,.14);transform:translateY(-50%);cursor:pointer}
.home-inline-banner-control svg{width:18px;height:18px}.home-inline-banner-control.prev{left:12px}.home-inline-banner-control.next{right:12px}
.home-inline-banner-dots{position:absolute;left:50%;bottom:10px;z-index:3;display:flex;gap:6px;transform:translateX(-50%);padding:5px 8px;border-radius:999px;background:rgba(0,0,0,.2)}
.home-inline-banner-dot{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.58);cursor:pointer}.home-inline-banner-dot.active{width:20px;border-radius:999px;background:#fff}
@media(max-width:1180px){.admin-section-banner-add-form{grid-template-columns:1fr 1fr 1fr}.admin-section-banner-add-form>button{align-self:end}.admin-section-banner-card-fields{grid-template-columns:1fr 1fr}.admin-section-banner-file,.admin-section-banner-card-actions{grid-column:auto}.admin-section-banner-card-actions{justify-content:flex-start}}
@media(max-width:760px){.admin-section-banner-add-form{grid-template-columns:1fr}.admin-section-banner-card{grid-template-columns:1fr}.admin-section-banner-card>.admin-hero-order{display:none}.admin-section-banner-card>img{width:100%}.admin-section-banner-card-fields{grid-template-columns:1fr}.admin-section-banner-file,.admin-section-banner-card-actions{grid-column:auto}.home-inline-banners{padding:9px 0}.home-inline-banner-carousel{border-radius:12px}.home-inline-banner-link img{aspect-ratio:16/5;min-height:92px}.home-inline-banner-control{width:34px;height:34px}.home-inline-banner-control.prev{left:8px}.home-inline-banner-control.next{right:8px}}


/* V65 — prioridade por avaliações e selo Popular */
.product-media,.related-product-media{position:relative}
.product-popular-badge{position:absolute;z-index:3;top:10px;left:10px;display:inline-flex;align-items:center;gap:5px;max-width:calc(100% - 20px);padding:6px 9px;border-radius:999px;background:#fff3e8;border:1px solid #ffd3ad;color:#b54708;font-size:10px;font-weight:800;line-height:1;box-shadow:0 2px 8px rgba(79,38,0,.10);pointer-events:none}
.product-popular-badge svg{width:13px;height:13px;flex:0 0 auto;fill:#f97316;stroke:#c2410c;stroke-width:1.2;stroke-linejoin:round}
.related-popular-badge{top:7px;left:7px;padding:5px 7px;font-size:9px}
.related-popular-badge svg{width:12px;height:12px}
@media(max-width:720px){.product-popular-badge{top:7px;left:7px;padding:5px 7px;font-size:9px}.product-popular-badge svg{width:12px;height:12px}}

.market-condition-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:2px}
.market-condition-row .market-condition{margin:0}
.product-popular-inline{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#fff3e8;border:1px solid #ffd3ad;color:#b54708;font-size:10px;font-weight:800;line-height:1}
.product-popular-inline svg{width:13px;height:13px;fill:#f97316;stroke:#c2410c;stroke-width:1.2;stroke-linejoin:round}
.promo-affiliate-media{position:relative}

/* V66 — avaliações em lote por comando no painel administrativo */
.admin-review-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.review-command-input{min-height:210px}
.review-command-preview{margin-top:16px}
.review-command-list{display:grid;gap:10px;max-height:46vh;overflow:auto;padding-right:2px}
.review-command-item{border:1px solid #e4eaf2;border-radius:13px;background:#fbfcfe;padding:12px;display:grid;gap:9px}
.review-command-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.review-command-item-head>div:first-child{display:grid;gap:2px;min-width:0}.review-command-item-head small{font-size:10px;color:var(--muted)}
.review-command-item-rating{display:flex;align-items:center;gap:6px;white-space:nowrap}.review-command-item-rating strong{font-size:12px}
.review-command-item p{margin:0;font-size:12px;line-height:1.55;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}
.review-command-item-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.review-command-prompt{min-height:330px}
@media(max-width:760px){.admin-review-actions{width:100%;justify-content:flex-start}.admin-review-actions .btn{flex:1}.review-command-list{max-height:none}.review-command-item-head{flex-direction:column}.review-command-item-rating{align-self:flex-start}}

/* V68 — telefone operacional visível somente nos painéis autenticados de pedidos */
.order-contact-cell{display:grid;gap:5px;min-width:155px}.order-contact-cell>strong{font-size:11px;white-space:nowrap}.order-contact-actions{display:flex;flex-wrap:wrap;gap:5px}.order-contact-link{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:4px 8px;border:1px solid #d8e0e8;border-radius:7px;background:#fff;color:#0b5fc7;font-size:9px;font-weight:800;text-decoration:none}.order-contact-link:hover{background:#f3f7fb;border-color:#b7c9db}.seller-order-contact{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:11px;border:1px solid #dce8f5;border-radius:11px;background:#f5f9ff}.seller-order-contact-copy{min-width:0}.seller-order-contact-copy small{display:block;color:#56708c;font-size:8px;font-weight:800;letter-spacing:.35px}.seller-order-contact-copy strong{display:block;margin-top:3px;font-size:13px;color:#14283d}.seller-order-contact-copy span{display:block;margin-top:3px;color:#68798a;font-size:8px;line-height:1.35}.seller-order-contact-actions{display:flex;gap:6px;flex:0 0 auto}.seller-contact-btn{min-height:32px;padding:7px 10px;font-size:9px;text-decoration:none}
@media(max-width:620px){.seller-order-contact{align-items:stretch;flex-direction:column}.seller-order-contact-actions{width:100%}.seller-contact-btn{flex:1}.order-contact-cell{min-width:140px}}

/* V73 — consentimento, faixa de parceiros e atendimento responsivo */
.privacy-consent-icon{overflow:hidden;background:#fff;border:1px solid #e7ebf0}
.privacy-consent-icon img{width:24px;height:24px;display:block;object-fit:contain}

.source-marquee{grid-template-columns:1fr;min-height:76px}
.source-marquee-window{width:100%;min-width:0;overflow:hidden}
.source-track{gap:28px;padding:13px 20px}
.source-item{width:150px;height:50px;padding:5px 10px;border-radius:10px;box-sizing:border-box;overflow:hidden}
.source-item img{width:100%;height:100%;max-width:130px;max-height:40px;object-fit:contain;object-position:center;display:block}

.support-chat-panel.support-chat-agent{width:min(390px,calc(100vw - 28px));height:min(760px,calc(100vh - 100px));display:flex;flex-direction:column;background:#fff;border:1px solid #e4e8ef;border-radius:22px;box-shadow:0 26px 80px rgba(15,23,42,.22);overflow:hidden;transition:width .2s ease,height .2s ease,border-radius .2s ease}
.support-chat-panel.support-chat-agent[hidden]{display:none}
.support-chat-panel.support-chat-agent.is-expanded{width:min(520px,calc(100vw - 36px));height:min(860px,calc(100vh - 54px))}
.support-chat-agent-head{min-height:54px;padding:10px 13px;border-bottom:1px solid #edf0f4;background:#fff}
.support-chat-head-left{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;min-width:0}
.support-chat-head-left>svg{width:16px;height:16px;color:#5f6875;flex:0 0 auto}
.support-chat-head-logo{width:24px;height:24px;object-fit:contain;border-radius:7px;flex:0 0 auto}
.support-chat-head-left strong{font-size:13px;white-space:nowrap}
.support-chat-head-actions{display:flex;align-items:center;gap:3px}
.support-chat-head-button{width:30px;height:30px;border:0;background:transparent;border-radius:8px;display:grid;place-items:center;color:#303846;cursor:pointer}
.support-chat-head-button:hover{background:#f3f6fa}
.support-chat-head-button svg{width:15px;height:15px}
.support-chat-notice{margin:0 14px;padding:11px 12px;display:grid;grid-template-columns:18px minmax(0,1fr) 26px;gap:8px;align-items:center;border-radius:11px;background:#eef5ff;color:#4b5f78;font-size:10px;line-height:1.35}
.support-chat-notice>svg{width:16px;height:16px;color:var(--market-blue)}
.support-chat-notice button{width:26px;height:26px;border:0;border-radius:7px;background:transparent;display:grid;place-items:center;color:#566172;cursor:pointer}
.support-chat-notice button:hover{background:rgba(255,255,255,.7)}
.support-chat-notice button svg{width:13px;height:13px}
.support-chat-agent-body{display:flex;flex-direction:column;min-height:0;flex:1;padding:0 16px 12px;background:#fff;overflow:auto}
.support-chat-agent-hero{display:grid;justify-items:center;text-align:center;padding:44px 10px 34px}
.support-chat-agent-hero img{width:86px;height:70px;object-fit:contain;margin-bottom:12px}
.support-chat-agent-hero strong{font-size:19px;line-height:1.2;color:#1e2632}
.support-chat-agent-hero span{margin-top:5px;color:#5f6875;font-size:11px}
.support-chat-conversation{display:grid;gap:9px;margin-bottom:14px}
.support-chat-agent-message,.support-chat-user-message{max-width:88%;padding:10px 12px;border-radius:12px;font-size:11px;line-height:1.45}
.support-chat-agent-message{justify-self:start;background:#f4f7fb;color:#303846;border-bottom-left-radius:4px}
.support-chat-user-message{justify-self:end;background:var(--market-blue);color:#fff;border-bottom-right-radius:4px}
.support-chat-agent-message strong{display:block;font-size:11px;margin-bottom:3px}
.support-chat-agent-message p{margin:0}
.support-chat-agent-message a{display:inline-flex;margin-top:7px;color:var(--market-blue);font-weight:800;text-decoration:none}
.support-chat-agent-choices{margin-top:auto;gap:0;border-top:1px solid #edf0f4}
.support-chat-agent-choices button{min-height:47px;border:0;border-bottom:1px solid #edf0f4;border-radius:0;padding:10px 6px;background:#fff;display:grid;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:8px;text-align:left;color:#303846;font-size:11px;font-weight:600}
.support-chat-agent-choices button:first-child{border-top:0}
.support-chat-agent-choices button:hover{background:#f8fbff;color:var(--market-blue);border-color:#edf0f4}
.support-chat-agent-choices button>svg:first-child{width:18px;height:18px;color:var(--market-blue)}
.support-chat-agent-choices button>svg:last-child{width:13px;height:13px;color:#94a0b2}
.support-chat-composer{margin:0 14px 8px;border:2px solid #88aef3;border-radius:18px;min-height:96px;padding:10px 11px 8px;display:flex;flex-direction:column;gap:7px;background:#fff;box-shadow:0 0 0 2px rgba(9,105,218,.05)}
.support-chat-composer textarea{width:100%;min-height:37px;max-height:84px;resize:none;border:0;outline:0;background:transparent;color:#27313d;font:inherit;font-size:11px;line-height:1.45;padding:0}
.support-chat-composer textarea::placeholder{color:#8a93a1}
.support-chat-composer-actions{display:flex;align-items:center;justify-content:space-between}
.support-chat-composer-tool,.support-chat-send{width:32px;height:32px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.support-chat-composer-tool{background:transparent;color:#4a5565}
.support-chat-send{background:#eef1f5;color:#7a8595}
.support-chat-composer:focus-within .support-chat-send{background:var(--market-blue);color:#fff}
.support-chat-composer-tool svg,.support-chat-send svg{width:16px;height:16px}
.support-chat-disclaimer{padding:0 16px 10px;text-align:center;color:#98a1ad;font-size:8px;line-height:1.35}

@media(max-width:760px){
  .source-marquee{min-height:66px}
  .source-track{gap:18px;padding:10px 12px}
  .source-item{width:118px;height:44px;padding:5px 8px}
  .source-item img{max-width:102px;max-height:34px}
  .support-chat{right:10px;bottom:74px;left:auto}
  .support-chat-panel.support-chat-agent{right:0;bottom:64px;width:min(390px,calc(100vw - 20px));height:min(680px,calc(100dvh - 98px));border-radius:18px}
  .support-chat-panel.support-chat-agent.is-expanded{position:fixed;inset:10px;width:auto;height:auto;max-width:none;max-height:none;border-radius:16px}
  .support-chat-agent-hero{padding:30px 10px 24px}
  .support-chat-agent-hero img{width:74px;height:60px}
}
@media(max-width:430px){
  .source-track{gap:14px}
  .source-item{width:104px;height:40px;padding:4px 6px}
  .source-item img{max-width:92px;max-height:31px}
  .support-chat-panel.support-chat-agent{width:calc(100vw - 20px)}
  .support-chat-agent-head{padding:9px 10px}
  .support-chat-notice{margin:0 10px}
  .support-chat-agent-body{padding-left:12px;padding-right:12px}
  .support-chat-composer{margin-left:10px;margin-right:10px}
}
.support-chat-head-actions{flex-direction:row!important}

/* V74 — ícones 3D fornecidos para as categorias de notificações. */
.notifications-menu-icon.notification-art-image{
  background:#f7f9fc!important;
  overflow:hidden;
  border:1px solid #edf1f6;
}
.notifications-menu-icon.notification-art-image>img{
  width:34px!important;
  height:34px!important;
  object-fit:contain;
  display:block;
}

/* V74 — rodapé no final real da página, sem subir quando o conteúdo é curto. */
body.cm-page-with-footer{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
}
body.cm-page-with-footer>main{
  flex:1 0 auto;
}
body.cm-page-with-footer>#siteFooter.site-footer{
  flex:0 0 auto;
  margin-top:auto!important;
}
