/* Área Padrões — catálogo prateleira + recomprar */

.portal-padroes-page .portal-pad-hero--compact {
  margin-bottom: 4px;
}

.portal-padroes-page .portal-pad-hero--compact .portal-hero__eyebrow {
  margin: 0;
}

/* Cabeçalho unificado — Comprar de novo + prateleiras */
.portal-pad-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.portal-pad-block-head__copy {
  min-width: 0;
}

.portal-pad-block-head__title {
  margin: 0 0 4px;
  font-size: clamp(1.08rem, 2.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 236, 210, 0.96);
}

.portal-pad-block-head__hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 210, 140, 0.48);
}

.portal-pad-block-head__count {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 120, 0.12);
  background: rgba(255, 200, 90, 0.04);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 210, 140, 0.5);
}

.portal-pad-section--reorder {
  margin-bottom: 8px;
}

.portal-pad-shelf-block--suggested .portal-pad-block-head__title {
  color: rgba(180, 220, 255, 0.92);
}

.portal-pad-shelf-block--suggested .portal-pad-block-head__hint {
  color: rgba(160, 200, 240, 0.52);
}

.portal-pad-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.portal-pad-section__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 236, 210, 0.92);
}

.portal-pad-section__hint {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 210, 140, 0.42);
}

.portal-pad-perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  position: relative;
}

.portal-pad-perk {
  display: flex;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 210, 120, 0.1);
  background: linear-gradient(155deg, rgba(18, 14, 10, 0.96), rgba(8, 6, 5, 0.98));
}

.portal-pad-perk__icon {
  flex-shrink: 0;
  font-size: 14px;
  color: rgba(255, 200, 90, 0.75);
  margin-top: 2px;
}

.portal-pad-perk__title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 236, 210, 0.9);
}

.portal-pad-perk__detail {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 210, 140, 0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-pad-perk__detail-line {
  display: block;
}

.portal-pad-perk__highlight {
  display: block;
  color: rgba(110, 210, 130, 0.92);
  font-weight: 600;
}

.portal-pad-reorder-wrap {
  position: relative;
}

.portal-pad-carousel-wrap::after {
  content: "";
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 56px;
  height: calc(100% - 8px);
  pointer-events: none;
  background: linear-gradient(to right, transparent, rgba(8, 6, 5, 0.92));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portal-pad-carousel-wrap.is-overflow:not(.is-at-end)::after {
  opacity: 1;
}

.portal-pad-carousel-nav {
  display: none;
}

.portal-pad-shelf-wrap {
  position: relative;
}

.portal-pad-shelf-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 2px 4px 6px;
  scrollbar-width: none;
}

.portal-pad-shelf-track::-webkit-scrollbar {
  display: none;
}

.portal-pad-shelf-track .portal-pad-product {
  flex: 0 0 min(220px, 78vw);
  scroll-snap-align: start;
  min-width: 0;
}

.portal-pad-shelf-track .portal-pad-product__hit {
  height: 100%;
}

.portal-pad-reorder {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.portal-pad-reorder::-webkit-scrollbar {
  display: none;
}

.portal-pad-reorder__card {
  flex: 0 0 min(300px, 88vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 210, 120, 0.14);
  background: linear-gradient(165deg, rgba(24, 18, 12, 0.98), rgba(8, 6, 5, 0.99));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.portal-pad-reorder__card--andamento {
  border-color: rgba(96, 165, 250, 0.35);
  background: linear-gradient(165deg, rgba(14, 22, 34, 0.98), rgba(8, 12, 18, 0.99));
  box-shadow: 0 10px 28px rgba(30, 64, 120, 0.22);
}

.portal-pad-reorder__card--andamento .portal-pad-reorder__head-copy {
  background: linear-gradient(155deg, rgba(16, 26, 40, 0.98), rgba(8, 12, 18, 0.99));
  border-right-color: rgba(96, 165, 250, 0.12);
}

.portal-pad-reorder__head-eyebrow--andamento {
  color: rgba(147, 197, 253, 0.72);
}

.portal-pad-reorder__chip--status {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.16);
  color: rgba(191, 219, 254, 0.95);
}

.portal-pad-reorder__chip--bling {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.14);
  color: rgba(167, 243, 208, 0.95);
}

.portal-pad-reorder__action--track {
  opacity: 0.92;
  cursor: default;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.28);
  color: rgba(191, 219, 254, 0.95);
}

.portal-pad-reorder__action--track:disabled {
  opacity: 0.92;
}

.portal-pad-track {
  margin: 0 0.85rem 0.65rem;
  padding: 0.55rem 0.65rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(30, 58, 95, 0.28);
}

/* Pós-entrega: ouro suave (tema premium) — sai do azul “em trânsito” */
.portal-pad-track.is-delivered {
  border-color: rgba(240, 184, 64, 0.28);
  background: rgba(240, 184, 64, 0.08);
}

.portal-pad-track.is-delivered .portal-pad-track__carrier {
  color: rgba(250, 220, 150, 0.95);
  letter-spacing: 0.01em;
}

.portal-pad-track.is-delivered .portal-pad-track__node.is-done .portal-pad-track__dot,
.portal-pad-track.is-delivered .portal-pad-track__node.is-done:not(:last-child)::after {
  background: rgba(240, 184, 64, 0.75);
  border-color: rgba(240, 184, 64, 0.75);
}

.portal-pad-track.is-delivered .portal-pad-track__wa.is-locked {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.portal-pad-track.is-delivered .portal-pad-track__wa-toggle input:checked + .portal-pad-track__wa-track {
  background: rgba(240, 184, 64, 0.45);
}

.portal-pad-track.is-wa-pending .portal-pad-track__wa.is-locked {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.portal-pad-track__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
  margin-bottom: 0.45rem;
}

.portal-pad-track__carrier {
  font-size: 0.72rem;
  font-weight: 650;
  color: rgba(191, 219, 254, 0.95);
  opacity: 1;
  transform: none;
  transition: none;
}

/* Em trânsito: some até o aviso WA sair; entregue sempre visível.
   Transição SÓ com .is-animating — remount desktop com is-revealed não piscа. */
.portal-pad-track:not(.is-delivered) .portal-pad-track__carrier:not(.is-revealed) {
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  visibility: hidden;
}

.portal-pad-track:not(.is-delivered) .portal-pad-track__carrier.is-revealed {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.portal-pad-track:not(.is-delivered) .portal-pad-track__carrier.is-revealed.is-animating {
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
}

/* Sai para a esquerda (handoff com o aviso WA) */
.portal-pad-track:not(.is-delivered) .portal-pad-track__carrier.is-revealed.is-exiting {
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
}

.portal-pad-track.is-delivered .portal-pad-track__carrier {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: none;
}

.portal-pad-track__wa {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  position: relative;
}

/* Countdown ao lado do WA — overlay, zero impacto na altura */
.portal-pad-track__eta {
  position: absolute;
  right: calc(100% + 0.35rem);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: rgba(250, 220, 150, 0.92);
  white-space: nowrap;
  pointer-events: none;
}

/* Overlay absoluto — não empurra layout / não quebra linha */
.portal-pad-track__wa-status {
  position: absolute;
  right: calc(100% + 0.35rem);
  top: 50%;
  transform: translate(0, -50%);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  max-width: none;
  overflow: visible;
}

.portal-pad-track__wa-status.is-showing {
  opacity: 1;
}

/* Entra pela direita (oposto da transportadora saindo à esquerda) */
.portal-pad-track__wa-status.blur-in-expand {
  -webkit-animation: blur-in-expand 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation: blur-in-expand 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
}

.portal-pad-track__wa-status.blur-out-contract {
  -webkit-animation: blur-out-contract 0.85s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
  animation: blur-out-contract 0.85s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
}

@-webkit-keyframes blur-in-expand {
  0% {
    letter-spacing: -0.08em;
    -webkit-filter: blur(3px);
    filter: blur(3px);
    opacity: 0;
    transform: translate(12px, -50%);
  }
  100% {
    letter-spacing: 0.01em;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes blur-in-expand {
  0% {
    letter-spacing: -0.08em;
    -webkit-filter: blur(3px);
    filter: blur(3px);
    opacity: 0;
    transform: translate(12px, -50%);
  }
  100% {
    letter-spacing: 0.01em;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@-webkit-keyframes blur-out-contract {
  0% {
    letter-spacing: 0.01em;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
    transform: translate(0, -50%);
  }
  100% {
    letter-spacing: -0.08em;
    -webkit-filter: blur(3px);
    filter: blur(3px);
    opacity: 0;
    transform: translate(12px, -50%);
  }
}

@keyframes blur-out-contract {
  0% {
    letter-spacing: 0.01em;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
    transform: translate(0, -50%);
  }
  100% {
    letter-spacing: -0.08em;
    -webkit-filter: blur(3px);
    filter: blur(3px);
    opacity: 0;
    transform: translate(12px, -50%);
  }
}

.portal-pad-track__wa-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.92;
}

.portal-pad-track__wa.is-unverified {
  opacity: 0.72;
}

.portal-pad-track__wa-toggle {
  position: relative;
  width: 28px;
  height: 16px;
  flex-shrink: 0;
}

.portal-pad-track__wa-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.portal-pad-track__wa-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
  transition: background 0.15s ease;
}

.portal-pad-track__wa-toggle input:checked + .portal-pad-track__wa-track {
  background: rgba(37, 211, 102, 0.55);
}

.portal-pad-track__wa-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(248, 250, 252, 0.95);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.portal-pad-track__wa-toggle input:checked + .portal-pad-track__wa-track::after {
  transform: translateX(12px);
}

.portal-pad-track__wa-toggle input:focus-visible + .portal-pad-track__wa-track {
  outline: 2px solid rgba(147, 197, 253, 0.7);
  outline-offset: 1px;
}

.portal-pad-track__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.2rem;
}

.portal-pad-track__node {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  position: relative;
}

.portal-pad-track__node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  left: calc(50% + 6px);
  right: calc(-50% + 6px);
  height: 1px;
  background: rgba(148, 163, 184, 0.35);
}

.portal-pad-track__node.is-done:not(:last-child)::after,
.portal-pad-track__node.is-current:not(:last-child)::after {
  background: rgba(96, 165, 250, 0.55);
}

.portal-pad-track__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(148, 163, 184, 0.55);
  background: transparent;
  z-index: 1;
  flex-shrink: 0;
}

.portal-pad-track__node.is-done .portal-pad-track__dot {
  border-color: rgba(96, 165, 250, 0.9);
  background: rgba(59, 130, 246, 0.95);
}

.portal-pad-track__node.is-current .portal-pad-track__dot {
  border-color: rgba(147, 197, 253, 0.95);
  background: rgba(147, 197, 253, 0.35);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.portal-pad-track__name {
  font-size: 0.6rem;
  line-height: 1.15;
  text-align: center;
  color: rgba(148, 163, 184, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  word-break: break-word;
}

.portal-pad-track__node.is-done .portal-pad-track__name,
.portal-pad-track__node.is-current .portal-pad-track__name {
  color: rgba(226, 232, 240, 0.92);
}

.portal-pad-track__at {
  font-size: 0.52rem;
  line-height: 1.2;
  text-align: center;
  color: rgba(148, 163, 184, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.portal-pad-track__node.is-current .portal-pad-track__at {
  color: rgba(186, 230, 253, 0.88);
}

/* Escala tipográfica pela qtde de eventos (API dinâmica) */
.portal-pad-track[data-steps="1"] .portal-pad-track__name,
.portal-pad-track[data-steps="2"] .portal-pad-track__name {
  font-size: 0.68rem;
  -webkit-line-clamp: 3;
}

.portal-pad-track[data-steps="1"] .portal-pad-track__at,
.portal-pad-track[data-steps="2"] .portal-pad-track__at {
  font-size: 0.58rem;
}

.portal-pad-track[data-steps="3"] .portal-pad-track__name,
.portal-pad-track[data-steps="4"] .portal-pad-track__name {
  font-size: 0.56rem;
}

.portal-pad-track[data-steps="3"] .portal-pad-track__at,
.portal-pad-track[data-steps="4"] .portal-pad-track__at {
  font-size: 0.5rem;
}

.portal-pad-track[data-steps="5"] .portal-pad-track__steps,
.portal-pad-track[data-steps="6"] .portal-pad-track__steps {
  gap: 0.1rem;
}

.portal-pad-track[data-steps="5"] .portal-pad-track__dot,
.portal-pad-track[data-steps="6"] .portal-pad-track__dot {
  width: 8px;
  height: 8px;
}

.portal-pad-track[data-steps="5"] .portal-pad-track__node:not(:last-child)::after,
.portal-pad-track[data-steps="6"] .portal-pad-track__node:not(:last-child)::after {
  top: 4px;
  left: calc(50% + 5px);
  right: calc(-50% + 5px);
}

.portal-pad-track[data-steps="5"] .portal-pad-track__name,
.portal-pad-track[data-steps="6"] .portal-pad-track__name {
  font-size: 0.48rem;
  line-height: 1.1;
}

.portal-pad-track[data-steps="5"] .portal-pad-track__at,
.portal-pad-track[data-steps="6"] .portal-pad-track__at {
  font-size: 0.44rem;
  white-space: normal;
  line-height: 1.15;
  word-break: break-word;
}

.portal-pad-track[data-steps="5"] .portal-pad-track__node.is-current .portal-pad-track__dot,
.portal-pad-track[data-steps="6"] .portal-pad-track__node.is-current .portal-pad-track__dot {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* ── Topo do card: valores (esq) + fotos (dir) ── */
.portal-pad-reorder__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  min-height: 136px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.portal-pad-reorder__head-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 12px 12px 12px 14px;
  background: linear-gradient(155deg, rgba(22, 16, 10, 0.98), rgba(10, 7, 4, 0.99));
  border-right: 1px solid rgba(255, 210, 120, 0.08);
  container-type: inline-size;
  container-name: reorder-head;
}

.portal-pad-reorder__head-eyebrow {
  margin: 2px 0 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.42);
}

.portal-pad-reorder__head-total {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255, 200, 90, 0.98);
}

.portal-pad-reorder__head-breakdown {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  /* Escala com a largura do texto do card (cqw); no mobile não quebra linha */
  font-size: clamp(6.5px, 4.2cqw, 9px);
  white-space: nowrap;
  color: rgba(255, 210, 140, 0.48);
}

.portal-pad-reorder__head-breakdown strong {
  font-weight: 600;
}

.portal-pad-reorder__head-breakdown strong.is-free {
  color: rgba(110, 210, 130, 0.92);
}

.portal-pad-reorder__profile-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 9px;
  font-weight: 600;
  color: rgba(150, 235, 170, 0.88);
}

.portal-pad-reorder__profile-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(110, 210, 130, 0.18);
  color: rgba(110, 210, 130, 0.98);
  font-size: 9px;
  line-height: 1;
}

.portal-pad-reorder__head-sep {
  opacity: 0.45;
}

.portal-pad-reorder__head-promo {
  margin: 4px 0 0;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(110, 210, 130, 0.2);
  background: rgba(110, 210, 130, 0.08);
  font-size: 9px;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(150, 235, 170, 0.9);
}

/* coluna direita — fotos */
.portal-pad-reorder__head-media {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
}

.portal-pad-reorder__head-media--gallery {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.portal-pad-reorder__head-media--gallery:focus-visible {
  outline: 2px solid rgba(255, 200, 90, 0.55);
  outline-offset: -2px;
}

.portal-pad-reorder__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  z-index: 1;
}

.portal-pad-reorder__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.portal-pad-reorder__dot.is-active {
  background: rgba(255, 160, 40, 0.95);
}

.portal-pad-reorder__hero-img {
  flex: 1;
  display: block;
  width: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 10px 8px 4px;
  box-sizing: border-box;
}

.portal-pad-reorder__hero-alert {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e53935;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.22);
}

.portal-pad-reorder__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 12px 14px 8px;
}

.portal-pad-reorder__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portal-pad-reorder__chip {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 120, 0.2);
  background: rgba(255, 200, 90, 0.06);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.62);
}

.portal-pad-reorder__chip--muted {
  border-color: rgba(255, 210, 120, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 210, 140, 0.38);
}

.portal-pad-reorder__lines-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portal-pad-reorder__lines-viewport {
  overflow: hidden;
}

.portal-pad-reorder__lines-viewport--scroll {
  --pad-reorder-line-h: 28px;
  overflow: hidden;
  position: relative;
  padding: 3px 2px;
  margin: 0 -2px;
  box-sizing: content-box;
}

.portal-pad-reorder__lines-viewport--scroll .portal-pad-reorder__line {
  min-height: var(--pad-reorder-line-h);
  box-sizing: border-box;
}

.portal-pad-reorder__lines-viewport--scroll .portal-pad-reorder__lines {
  transition: transform 0.28s ease;
  will-change: transform;
}

.portal-pad-reorder__lines-head,
.portal-pad-reorder__lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-pad-reorder__lines-head li,
.portal-pad-reorder__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px 52px 58px;
  gap: 6px;
  align-items: center;
}

.portal-pad-reorder__lines-head li {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.32);
}

.portal-pad-reorder__lines-head li span:not(:first-child) {
  text-align: right;
}

.portal-pad-reorder__line {
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 230, 190, 0.78);
  box-sizing: border-box;
  padding: 6px 4px;
  margin: 0;
  border-radius: 8px;
  border: 1px solid transparent;
  border-left-width: 3px;
  border-left-color: transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.portal-pad-reorder__line.is-active {
  background: rgba(255, 180, 60, 0.12);
  border-color: rgba(255, 200, 90, 0.28);
  border-left-color: rgba(255, 180, 60, 0.95);
}

.portal-pad-reorder__line.is-active .portal-pad-reorder__line-name {
  color: rgba(255, 244, 220, 0.98);
  font-weight: 600;
}

.portal-pad-reorder__line.is-active .portal-pad-reorder__line-total {
  color: rgba(255, 210, 100, 1);
}

.portal-pad-reorder__line-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 236, 210, 0.9);
}

.portal-pad-reorder__line-qty,
.portal-pad-reorder__line-unit,
.portal-pad-reorder__line-total {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.portal-pad-reorder__line-total {
  font-weight: 600;
  color: rgba(255, 210, 140, 0.88);
}

.portal-pad-reorder__line--off-catalog {
  opacity: 0.72;
  color: rgba(255, 230, 190, 0.55);
}

.portal-pad-reorder__line-badge {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 180, 100, 0.65);
}

.portal-pad-reorder__action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.portal-pad-reorder__totals {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 210, 120, 0.1);
}

.portal-pad-reorder__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: rgba(255, 210, 140, 0.52);
}

.portal-pad-reorder__total-row span:last-child {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 230, 190, 0.82);
}

.portal-pad-reorder__money--free {
  color: rgba(110, 210, 130, 0.92) !important;
  font-weight: 600;
}

.portal-pad-reorder__total-row--grand {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 210, 120, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 236, 210, 0.92);
}

.portal-pad-reorder__total-row--grand span:last-child {
  font-size: 14px;
  color: rgba(255, 200, 90, 0.98);
}

.portal-pad-reorder__promo {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(110, 210, 130, 0.22);
  background: linear-gradient(135deg, rgba(110, 210, 130, 0.1), rgba(255, 200, 90, 0.06));
  font-size: 10px;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(150, 235, 170, 0.92);
}

.portal-pad-reorder__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 120, 0.28);
  background: rgba(255, 200, 90, 0.14);
  color: rgba(255, 228, 170, 0.95);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-pad-reorder__action:hover {
  background: rgba(255, 200, 90, 0.24);
  border-color: rgba(255, 210, 120, 0.42);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.portal-pad-reorder__action:active {
  transform: scale(0.98);
}

.portal-pad-reorder__action.is-added {
  transform: scale(1.02);
  background: rgba(76, 175, 80, 0.35);
  border-color: rgba(129, 199, 132, 0.55);
  box-shadow: 0 0 0 2px rgba(129, 199, 132, 0.2);
}

.portal-pad-reorder__action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 120, 0.24);
  background: rgba(255, 200, 90, 0.1);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.portal-pad-reorder__action-label {
  line-height: 1.2;
}

.portal-pad-catalog-head {
  margin-bottom: 14px;
  min-width: 0;
}

.portal-pad-shelf-area {
  margin-top: 8px;
}

.portal-pad-shelf-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.portal-pad-shelf-block__head {
  /* legado — usar .portal-pad-block-head */
  display: none;
}

.portal-pad-shelf-block__title {
  /* legado */
}

.portal-pad-shelf-block__hint {
  /* legado */
}

.portal-pad-shelf-block__count {
  /* legado */
}

.portal-pad-shelf-block--suggested {
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 210, 120, 0.12);
}

.portal-pad-product__shelf-badge {
  /* legado — badges unificados em .portal-pad-thumb__badges */
  display: none;
}

.portal-pad-product--suggested .portal-pad-product__hit {
  border-color: rgba(140, 190, 240, 0.16);
  background: linear-gradient(165deg, rgba(18, 22, 32, 0.55), rgba(8, 10, 14, 0.85));
}

.portal-pad-product--suggested.is-active .portal-pad-product__hit,
.portal-pad-product--suggested .portal-pad-product__hit:hover {
  border-color: rgba(140, 190, 240, 0.32);
}

.portal-pad-filters-wrap {
  position: relative;
}

.portal-pad-filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  padding: 2px 4px 6px;
}

.portal-pad-filters::-webkit-scrollbar {
  display: none;
}

.portal-pad-filter {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 120, 0.14);
  background: rgba(255, 200, 90, 0.04);
  color: rgba(255, 210, 140, 0.55);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.portal-pad-filter.is-active {
  background: rgba(255, 200, 90, 0.14);
  border-color: rgba(255, 210, 120, 0.32);
  color: rgba(255, 228, 170, 0.95);
}

.portal-pad-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 16px;
  align-items: start;
}

.portal-pad-shelf-main {
  min-width: 0;
}

.portal-pad-product {
  position: relative;
}

.portal-pad-product__add {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 120, 0.28);
  background: rgba(255, 200, 90, 0.14);
  color: rgba(255, 228, 170, 0.95);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.portal-pad-product__add:hover {
  background: rgba(255, 200, 90, 0.24);
  border-color: rgba(255, 210, 120, 0.42);
}

.portal-pad-product__add.is-added {
  transform: scale(1.08);
  background: rgba(76, 175, 80, 0.35);
  border-color: rgba(129, 199, 132, 0.55);
}

.portal-pad-product__hit {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 210, 120, 0.1);
  background: linear-gradient(155deg, rgba(18, 14, 10, 0.96), rgba(8, 6, 5, 0.98));
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.portal-pad-product.is-active .portal-pad-product__hit {
  border-color: rgba(255, 200, 90, 0.38);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.portal-pad-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  margin-bottom: 10px;
}

.portal-pad-thumb--sm {
  width: 64px;
  height: 64px;
  margin-bottom: 0;
}

.portal-pad-thumb--reorder {
  width: 100%;
  height: 108px;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 210, 120, 0.1);
  background: rgba(0, 0, 0, 0.28);
}

.portal-pad-thumb--reorder img {
  padding: 10px;
}

.portal-pad-thumb--lg {
  margin-bottom: 16px;
}

.portal-pad-thumb--gallery {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.portal-pad-thumb--gallery:focus-visible {
  outline: 2px solid rgba(255, 200, 90, 0.55);
  outline-offset: 2px;
}

.portal-pad-thumb__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  z-index: 2;
}

.portal-pad-thumb--gallery .portal-pad-thumb__dots {
  pointer-events: auto;
}

.portal-pad-thumb__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.portal-pad-thumb--gallery .portal-pad-thumb__dot {
  cursor: pointer;
}

.portal-pad-thumb__dot.is-active {
  background: rgba(255, 200, 90, 0.95);
}

.portal-pad-thumb__nav {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  pointer-events: none;
}

.portal-pad-thumb__nav-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.55);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  user-select: none;
  -webkit-user-select: none;
}

.portal-pad-thumb__nav-btn:hover,
.portal-pad-thumb__nav-btn:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(255, 200, 90, 0.55);
  outline-offset: 1px;
}

.portal-pad-detail__media .portal-pad-thumb {
  position: relative;
}

.portal-pad-thumb__stage {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.portal-pad-thumb img,
.portal-pad-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.portal-pad-thumb__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
  will-change: opacity;
}

.portal-pad-thumb__img.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .portal-pad-thumb__img {
    transition: none;
    will-change: auto;
  }
}

.portal-pad-thumb__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 200, 90, 0.45);
}

.portal-pad-thumb__badges {
  position: absolute;
  top: 3px;
  left: 3px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: calc(100% - 38px);
  pointer-events: none;
}

.portal-pad-thumb__badge {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.portal-pad-thumb__badge--suggest {
  border: 1px solid rgba(140, 190, 255, 0.38);
  background: rgba(10, 16, 26, 0.84);
  color: rgba(190, 225, 255, 0.96);
}

.portal-pad-thumb__badge--attr {
  border: 1px solid rgba(255, 210, 150, 0.34);
  background: rgba(12, 8, 4, 0.84);
  color: rgba(255, 228, 180, 0.96);
}

.portal-pad-product__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 18px;
  margin-bottom: 6px;
}

.portal-pad-tag {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 200, 90, 0.12);
  color: rgba(255, 220, 150, 0.85);
}

.portal-pad-stock {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portal-pad-stock--ok {
  color: rgba(140, 220, 160, 0.85);
}

.portal-pad-stock--low {
  color: rgba(255, 200, 120, 0.88);
}

.portal-pad-product__name {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 236, 210, 0.92);
}

.portal-pad-product__stock-line {
  margin: 0 0 8px;
}

.portal-pad-product__stock-line .portal-pad-stock {
  margin-bottom: 0;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: none;
}

.portal-pad-product__stock-line.is-low .portal-pad-stock {
  color: rgba(255, 180, 120, 0.95);
}

.portal-pad-stock-ticker {
  min-height: 1.35em;
}

.portal-pad-stock-ticker__text {
  display: inline-block;
  transition: opacity 0.35s ease;
}

.portal-pad-stock-ticker__text.is-replenishment {
  color: rgba(140, 200, 255, 0.95);
}

.portal-pad-product__rate {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 228, 170, 0.98);
}

.portal-pad-product__rate span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 210, 140, 0.5);
}

.portal-pad-product__pack {
  margin: 0 0 8px;
  font-size: 10px;
  color: rgba(255, 210, 140, 0.42);
}

.portal-pad-product__insight {
  margin: 0;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.4;
  color: rgba(150, 235, 170, 0.88);
  background: rgba(110, 210, 130, 0.08);
  border: 1px solid rgba(110, 210, 130, 0.16);
}

.portal-pad-product__insight strong {
  font-weight: 600;
  color: rgba(180, 245, 195, 0.98);
}

.portal-pad-product__insight--suggest {
  color: rgba(190, 220, 255, 0.88);
  background: rgba(100, 160, 220, 0.1);
  border-color: rgba(140, 190, 240, 0.18);
}

.portal-pad-product__sku {
  margin: 0 0 4px;
  font-size: 10px;
  color: rgba(255, 196, 100, 0.42);
}

.portal-pad-product__dims {
  margin: 0 0 8px;
  font-size: 11px;
  color: rgba(255, 210, 140, 0.5);
}

.portal-pad-product__price {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 228, 170, 0.95);
}

.portal-pad-product__price span {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 210, 140, 0.45);
}

.portal-pad-product__min {
  margin: 0;
  font-size: 10px;
  color: rgba(255, 210, 140, 0.38);
}

.portal-pad-detail {
  position: sticky;
  top: 12px;
  padding: 12px 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 210, 120, 0.12);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255, 200, 90, 0.06), transparent 55%),
    linear-gradient(165deg, rgba(20, 15, 11, 0.98), rgba(8, 6, 5, 0.99));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.portal-pad-detail__media {
  margin-bottom: 10px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 210, 120, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.portal-pad-detail__media .portal-pad-thumb--lg {
  margin-bottom: 0;
  min-height: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.portal-pad-detail__media .portal-pad-thumb--lg img,
.portal-pad-detail__media .portal-pad-thumb--lg .portal-pad-thumb__img {
  padding: 6px;
}

.portal-pad-detail--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  color: rgba(255, 210, 140, 0.45);
  font-size: 13px;
  text-align: center;
  box-shadow: none;
}

.portal-pad-detail__head {
  margin-bottom: 8px;
}

.portal-pad-detail__head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.portal-pad-detail__sku {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 196, 100, 0.48);
}

.portal-pad-detail__suggest {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(120, 180, 255, 0.2);
  font-size: 9px;
  font-weight: 600;
  color: rgba(170, 210, 255, 0.78);
  background: rgba(80, 140, 220, 0.08);
}

.portal-pad-detail__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: rgba(255, 236, 210, 0.96);
}

.portal-pad-detail__price {
  margin-bottom: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 120, 0.12);
  background: linear-gradient(135deg, rgba(255, 200, 90, 0.08), rgba(255, 200, 90, 0.02));
}

.portal-pad-detail__price-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 5px;
  line-height: 1.35;
}

.portal-pad-detail__price-unit {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 228, 170, 0.98);
}

.portal-pad-detail__price-suffix,
.portal-pad-detail__price-sep,
.portal-pad-detail__price-pack {
  font-size: 10px;
  color: rgba(255, 210, 140, 0.55);
}

.portal-pad-detail__price-sep {
  opacity: 0.45;
}

.portal-pad-detail__price-base {
  margin-left: 4px;
  text-decoration: line-through;
  color: rgba(255, 210, 140, 0.32);
}

.portal-pad-detail__pay-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 210, 120, 0.08);
}

.portal-pad-detail__pay-line {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 210, 140, 0.62);
}

.portal-pad-detail__pay-line strong {
  font-weight: 700;
  color: rgba(140, 230, 170, 0.88);
}

.portal-pad-detail__pay-line--card {
  color: rgba(255, 220, 160, 0.68);
}

.portal-pad-detail__stock-line {
  margin: 6px 0 0;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 210, 140, 0.42);
}

.portal-pad-detail__stock-line.is-low {
  color: rgba(255, 170, 110, 0.82);
}

.portal-pad-detail__stock-line.portal-pad-stock-ticker.is-replenishment,
.portal-pad-detail__stock-line .portal-pad-stock-ticker__text.is-replenishment {
  color: rgba(140, 200, 255, 0.92);
}

.portal-pad-detail__desc {
  margin: 0 0 12px;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 120, 0.08);
  background: rgba(255, 200, 90, 0.03);
}

.portal-pad-detail__desc-title {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.55);
}

.portal-pad-detail__desc-text {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 235, 200, 0.82);
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-pad-detail__desc.is-expanded .portal-pad-detail__desc-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.portal-pad-detail__desc-toggle {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 200, 110, 0.88);
  cursor: pointer;
}

.portal-pad-detail__desc-toggle:hover {
  color: rgba(255, 220, 150, 1);
}

.portal-pad-detail__facts {
  margin-bottom: 8px;
}

.portal-pad-detail__facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.portal-pad-detail__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 210, 120, 0.06);
  background: rgba(0, 0, 0, 0.16);
}

.portal-pad-detail__fact-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 196, 100, 0.38);
}

.portal-pad-detail__fact-value {
  font-size: 10px;
  line-height: 1.3;
  color: rgba(255, 236, 210, 0.86);
}

.portal-pad-detail__fact--muted .portal-pad-detail__fact-value {
  color: rgba(255, 210, 140, 0.38);
}

.portal-pad-detail__insight {
  margin-bottom: 8px;
}

.portal-pad-detail__insight .portal-pad-product__insight {
  margin: 0;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 210, 120, 0.08);
  background: rgba(255, 200, 90, 0.03);
  font-size: 10px;
  line-height: 1.35;
}

.portal-pad-detail__insight .portal-pad-product__insight--suggest {
  border-color: rgba(120, 180, 255, 0.14);
  background: rgba(80, 140, 220, 0.05);
  color: rgba(180, 215, 255, 0.75);
}

.portal-pad-coverage {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.portal-pad-coverage--info {
  color: rgba(170, 220, 255, 0.92);
  background: rgba(90, 150, 220, 0.12);
  border: 1px solid rgba(120, 180, 240, 0.22);
}

.portal-pad-coverage--urgent {
  color: rgba(255, 210, 170, 0.96);
  background: rgba(220, 120, 60, 0.14);
  border: 1px solid rgba(240, 150, 80, 0.28);
}

.portal-pad-specs {
  margin: 0 0 14px;
}

.portal-pad-specs__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 210, 120, 0.08);
}

.portal-pad-specs__row dt {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 196, 100, 0.42);
}

.portal-pad-specs__row dd {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 236, 210, 0.88);
}

.portal-pad-specs__hint {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: rgba(255, 210, 140, 0.4);
}

.portal-pad-detail__buy {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 210, 120, 0.08);
}

.portal-pad-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portal-pad-detail__qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.portal-pad-detail__qty-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.42);
}

.portal-pad-detail__qty-hint {
  flex: 1 1 100%;
  font-size: 9px;
  color: rgba(255, 210, 140, 0.34);
}

.portal-pad-qty--compact button {
  width: 30px;
  height: 30px;
  font-size: 14px;
}

.portal-pad-qty--compact input {
  width: 44px;
  height: 30px;
  font-size: 12px;
}

.portal-pad-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 120, 0.18);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.portal-pad-qty button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: rgba(255, 200, 90, 0.08);
  color: rgba(255, 228, 170, 0.9);
  font-size: 16px;
  cursor: pointer;
}

.portal-pad-qty button:hover {
  background: rgba(255, 200, 90, 0.16);
}

.portal-pad-qty input {
  width: 52px;
  height: 36px;
  padding: 0;
  border: none;
  border-left: 1px solid rgba(255, 210, 120, 0.12);
  border-right: 1px solid rgba(255, 210, 120, 0.12);
  background: transparent;
  color: rgba(255, 228, 170, 0.95);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
}

.portal-pad-qty input::-webkit-outer-spin-button,
.portal-pad-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.portal-pad-btn.is-added {
  box-shadow: 0 0 0 2px rgba(129, 199, 132, 0.35);
}

.portal-pad-btn {
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 120, 0.22);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portal-pad-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.portal-pad-btn--primary {
  background: linear-gradient(135deg, rgba(255, 200, 90, 0.22), rgba(255, 170, 60, 0.14));
  border-color: rgba(255, 210, 120, 0.28);
  color: rgba(255, 236, 210, 0.96);
}

.portal-pad-btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(255, 200, 90, 0.3), rgba(255, 170, 60, 0.2));
}

.portal-pad-btn--ghost {
  background: transparent;
  color: rgba(255, 210, 140, 0.65);
}

.portal-pad-btn--ghost:hover:not(:disabled) {
  border-color: rgba(255, 210, 120, 0.32);
  color: rgba(255, 228, 170, 0.88);
}

.portal-pad-promo {
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 200, 90, 0.28);
  background: rgba(255, 200, 90, 0.04);
}

.portal-pad-promo__eyebrow {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 196, 100, 0.45);
}

.portal-pad-promo__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 500;
}

.portal-pad-promo__body {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 230, 190, 0.72);
}

.portal-pad-promo__valid {
  margin: 0 0 14px;
  font-size: 11px;
  color: rgba(255, 210, 140, 0.42);
}

/* Desktop — carrossel horizontal (peek + setas) */
@media (min-width: 901px) {
  .portal-pad-carousel-wrap::after {
    display: block;
    width: 72px;
  }

  .portal-pad-carousel-wrap.is-overflow:not(.is-at-end):hover::after {
    opacity: 0.65;
  }

  .portal-pad-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 210, 120, 0.22);
    border-radius: 50%;
    background: rgba(12, 10, 8, 0.88);
    color: rgba(255, 228, 170, 0.92);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.92);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(8px);
  }

  .portal-pad-carousel-nav svg {
    width: 18px;
    height: 18px;
  }

  .portal-pad-carousel-nav--prev {
    left: -6px;
  }

  .portal-pad-carousel-nav--next {
    right: -6px;
  }

  .portal-pad-carousel-wrap.is-overflow:hover .portal-pad-carousel-nav:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }

  .portal-pad-carousel-nav:hover {
    background: rgba(255, 200, 90, 0.14);
    border-color: rgba(255, 210, 120, 0.38);
  }

  .portal-pad-carousel-nav[hidden] {
    display: none !important;
  }

  .portal-pad-reorder {
    gap: 16px;
    padding: 2px 4px 4px;
    scroll-padding-inline: 4px;
  }

  .portal-pad-reorder__card {
    flex: 0 0 clamp(300px, calc((100% - 32px) / 3.15), 360px);
    scroll-snap-align: start;
  }

  .portal-pad-shelf-track .portal-pad-product {
    flex: 0 0 clamp(220px, calc((100% - 24px) / 2.15), 260px);
  }

  .portal-pad-filters-wrap.portal-pad-carousel-wrap::after {
    height: calc(100% - 4px);
  }

  .portal-pad-filters-wrap .portal-pad-carousel-nav {
    width: 30px;
    height: 30px;
  }

  .portal-pad-filters-wrap .portal-pad-carousel-nav svg {
    width: 16px;
    height: 16px;
  }

  .portal-pad-filters-wrap .portal-pad-carousel-nav--prev {
    left: -4px;
  }

  .portal-pad-filters-wrap .portal-pad-carousel-nav--next {
    right: -4px;
  }

  .portal-pad-reorder__head {
    grid-template-columns: minmax(0, 1fr) 128px;
    min-height: 142px;
  }

  .portal-pad-reorder__head-total {
    font-size: 1.42rem;
  }
}

@media (max-width: 900px) {
  .portal-pad-reorder__head-breakdown {
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: clamp(6.5px, 4.8cqw, 9px);
    letter-spacing: -0.01em;
  }

  .portal-pad-reorder__chips {
    flex-wrap: nowrap;
  }

  .portal-pad-perks {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin: 0 -4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .portal-pad-perks::-webkit-scrollbar {
    display: none;
  }

  .portal-pad-perk {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: center;
  }

  .portal-pad-layout {
    grid-template-columns: 1fr;
  }

  .portal-pad-detail {
    position: static;
  }

  .portal-pad-product__add {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
    font-size: 16px;
  }
}

/* Modal — confirmar repetir pedido com carrinho não vazio */
body.portal-pad-modal-open {
  overflow: hidden;
}

.portal-pad-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.portal-pad-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.portal-pad-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.72);
  backdrop-filter: blur(4px);
}

.portal-pad-modal__panel {
  position: relative;
  width: min(100%, 420px);
  padding: 22px 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 210, 120, 0.22);
  background: linear-gradient(165deg, rgba(32, 26, 18, 0.98), rgba(18, 14, 10, 0.98));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.portal-pad-modal__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 228, 170, 0.96);
}

.portal-pad-modal__lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 230, 190, 0.78);
}

.portal-pad-modal__lines {
  margin: 0 0 18px;
  padding: 12px 14px;
  list-style: none;
  border-radius: 10px;
  background: rgba(255, 200, 90, 0.05);
  border: 1px solid rgba(255, 210, 120, 0.12);
}

.portal-pad-modal__lines li {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 220, 160, 0.82);
}

.portal-pad-modal__lines li + li {
  margin-top: 6px;
}

.portal-pad-modal__more {
  color: rgba(255, 196, 100, 0.55) !important;
  font-style: italic;
}

.portal-pad-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-pad-modal__actions .portal-pad-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
}

/* Loading — catálogo / views do portal */
.portal-pad-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: min(36vh, 280px);
  padding: 28px 20px;
  text-align: center;
}

.portal-pad-loading__ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 210, 120, 0.14);
  border-top-color: rgba(255, 196, 90, 0.92);
  animation: portal-pad-spin 0.85s linear infinite;
}

.portal-pad-loading__text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 220, 170, 0.78);
  letter-spacing: 0.01em;
}

@keyframes portal-pad-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Banner — vendedor exclusivo (entre Comprar de novo e Mix habitual) */
.portal-seller-banner {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 4px 0 2px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(243, 182, 37, 0.22);
  background:
    linear-gradient(105deg, rgba(243, 182, 37, 0.09), transparent 42%),
    #100c07;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.portal-seller-banner--cta {
  grid-template-columns: 54px minmax(0, 1fr) auto;
}

.portal-seller-banner__photo-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.portal-seller-banner__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: 2px solid rgba(255, 210, 84, 0.8);
}

.portal-seller-banner__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 210, 84, 0.55);
  background: rgba(255, 200, 90, 0.12);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 214, 150, 0.96);
}

.portal-seller-banner__status {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 13px;
  height: 13px;
  border: 2px solid #100c07;
  border-radius: 50%;
  background: #22c55e;
}

.portal-seller-banner__copy {
  min-width: 0;
}

.portal-seller-banner__eyebrow {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f3b625;
}

.portal-seller-banner__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff7e4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-seller-banner__desc {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.3;
  color: #a99a7d;
}

.portal-seller-banner__br {
  display: none;
}

.portal-seller-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 214, 94, 0.65);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffd55a, #dda014);
  color: #201400;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.18s ease;
}

.portal-seller-banner__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

@media (max-width: 640px) {
  .portal-seller-banner--cta {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
  }

  .portal-seller-banner__photo-wrap {
    width: 46px;
    height: 46px;
  }

  .portal-seller-banner__eyebrow {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .portal-seller-banner__name {
    font-size: 14px;
  }

  .portal-seller-banner__desc {
    font-size: 11px;
    margin-top: 3px;
  }

  .portal-seller-banner__br {
    display: block;
  }

  .portal-seller-banner__cta {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .portal-seller-banner--cta {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .portal-seller-banner__photo-wrap {
    width: 42px;
    height: 42px;
  }

  .portal-seller-banner__cta {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 34px;
  }
}

/* Shell webchat SimpleDesk — desktop canto / mobile tela cheia */
html.portal-seller-webchat-open {
  overflow: hidden;
}

.portal-seller-webchat {
  position: fixed;
  inset: 0;
  z-index: 12000;
}

.portal-seller-webchat[hidden] {
  display: none !important;
}

.portal-seller-webchat__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 6, 3, 0.55);
  cursor: pointer;
}

.portal-seller-webchat__panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #100c07;
  border: 1px solid rgba(243, 182, 37, 0.28);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.portal-seller-webchat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  min-height: 52px;
  padding: 10px 12px 10px 14px;
  border-bottom: 1px solid rgba(243, 182, 37, 0.18);
  background:
    linear-gradient(105deg, rgba(243, 182, 37, 0.1), transparent 50%),
    #16100a;
}

.portal-seller-webchat__head-copy {
  min-width: 0;
}

.portal-seller-webchat__eyebrow {
  margin: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f3b625;
}

.portal-seller-webchat__title {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff7e4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-seller-webchat__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.portal-seller-webchat__close,
.portal-seller-webchat__restart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 214, 94, 0.35);
  border-radius: 10px;
  background: rgba(255, 210, 84, 0.08);
  color: #ffe6a8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: 0.16s ease;
}

.portal-seller-webchat__restart {
  font-size: 0;
}

.portal-seller-webchat__restart svg {
  display: block;
  transition: transform 0.16s ease;
}

.portal-seller-webchat__restart.is-loading {
  cursor: wait;
  opacity: 0.85;
  pointer-events: none;
}

.portal-seller-webchat__restart.is-loading svg {
  animation: portal-seller-webchat-spin 0.75s linear infinite;
}

@keyframes portal-seller-webchat-spin {
  to {
    transform: rotate(360deg);
  }
}

.portal-seller-webchat__close:hover,
.portal-seller-webchat__restart:hover:not(:disabled) {
  background: rgba(255, 210, 84, 0.16);
  border-color: rgba(255, 214, 94, 0.55);
}

.portal-seller-webchat__frame-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #0b0906;
}

.portal-seller-webchat.is-restarting .portal-seller-webchat__frame-wrap::after {
  content: "Nova conversa…";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 9, 6, 0.72);
  color: #ffe6a8;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.portal-seller-webchat__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

/* Desktop: painel no canto */
@media (min-width: 641px) {
  .portal-seller-webchat__backdrop {
    background: rgba(8, 6, 3, 0.28);
  }

  .portal-seller-webchat__panel {
    right: 20px;
    bottom: 20px;
    width: min(400px, calc(100vw - 40px));
    height: min(640px, calc(100vh - 40px));
    border-radius: 18px;
  }
}

/* Mobile: quase tela cheia */
@media (max-width: 640px) {
  .portal-seller-webchat__panel {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 0;
  }

  .portal-seller-webchat__head {
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
  }
}
