/* ==========================================================================
   Oferta — Tablet Pad 17 Pro Max 10,1" HD 2026
   Página de oferta no padrão TikTok Shop (largura 480px).
   Independente de bundle externo: todos os tokens ficam aqui.
   ========================================================================== */

:root {
  --pann-primary: #fe2c55;
  --pann-primary-hover: #e0224a;
  --pann-fg: #161823;
  --pann-muted-fg: #6b7280;
  --pann-border: #e5e7eb;
  --pann-muted: #f5f5f5;
  --pann-warning: #f59e0b;
  --pann-success: #059669;
  --pann-success-light: #d1fae5;
  --pann-accent-fg: #c2185b;
  --sup-off: 0px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--pann-fg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.tt-shell {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  padding-bottom: 103px;
}

@media (min-width: 640px) {
  .tt-shell { box-shadow: 0 0 20px rgba(0, 0, 0, .05); }
}

/* ------------------------------------------------------------- header */

.tt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pann-border);
}

.tt-header-inner {
  height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tt-brand { display: flex; align-items: center; gap: 6px; padding-left: 4px; }
.tt-brand img.logo { height: 24px; width: auto; object-fit: contain; }
.tt-brand img.seal { height: 16px; width: 16px; object-fit: contain; }

.tt-header-actions { display: flex; align-items: center; gap: 16px; }

.tt-icon-btn {
  padding: 8px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: transform .08s ease;
}
.tt-icon-btn:active { transform: scale(.95); }

/* ----------------------------------------------------------- carrossel */

.tt-carousel { position: relative; }

.tt-carousel-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.tt-carousel-track::-webkit-scrollbar { display: none; }

.tt-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 1 / 1;
  background: #fff;
}
.tt-slide img { width: 100%; height: 100%; object-fit: contain; }

.tt-carousel-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  line-height: 1.2;
}

.tt-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.tt-arrow.prev { left: 8px; }
.tt-arrow.next { right: 8px; }

.tt-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
  pointer-events: none;
}
.tt-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .25);
  transition: all .2s;
  pointer-events: auto;
}
.tt-dot.active { background: #111; width: 16px; }

/* ------------------------------------------------------------ preço */

.tt-pricebar {
  padding: 12px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(90deg, hsl(347, 100%, 62%) 0%, hsl(4, 100%, 63%) 50%, hsl(25, 100%, 55%) 100%);
}

.tt-pricebar .left { min-width: 0; }
.tt-pricebar .row { display: flex; align-items: center; gap: 8px; }

.tt-off-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, .9);
  color: var(--pann-primary);
  padding: 2px 6px;
  border-radius: 6px;
  flex: none;
}

.tt-price-now { font-size: 22px; font-weight: 800; line-height: 1; }
.tt-price-old { margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .7); text-decoration: line-through; }

.tt-flash { text-align: right; flex: none; white-space: nowrap; }
.tt-flash .tag { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 13px; font-weight: 600; }
.tt-flash .timer { font-size: 15px; }
.tt-flash .timer strong { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------- bloco info */

.tt-info { padding: 12px; }

.tt-save {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff5f7;
  color: var(--pann-accent-fg);
  box-shadow: inset 0 0 0 1px rgba(254, 44, 85, .15);
}
.tt-save .inner { display: inline-flex; align-items: center; gap: 8px; }
.tt-save .inner b { font-variant-numeric: tabular-nums; font-weight: 800; }

.tt-badges { margin-top: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.tt-chip {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fafafa;
  color: #404040;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}

.tt-chip--today {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 6px;
  color: #fff;
  background: var(--pann-primary);
  box-shadow: 0 2px 10px -3px rgba(254, 44, 85, .7);
  animation: ttTodayPulse 2.6s ease-in-out infinite;
  will-change: transform;
}
.tt-chip--today::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
  animation: ttTodayShine 3.6s ease-in-out infinite;
}
.tt-chip--today .txt { position: relative; z-index: 1; }

.tt-today-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #fff;
  animation: ttTodayDot 1.8s ease-out infinite;
}

@keyframes ttTodayPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes ttTodayShine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes ttTodayDot {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
  70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.tt-title-row { margin-top: 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tt-title-left { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }

.tt-title-off {
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  flex: none;
  margin-top: 4px;
  background: linear-gradient(135deg, #ff4b5c, #e5223a);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.tt-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--pann-fg);
}

.tt-save-btn { padding: 6px; border-radius: 999px; flex: none; transition: background .15s; }
.tt-save-btn:hover { background: #f5f5f5; }

.tt-rating { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.tt-rating .score { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--pann-warning); font-variant-numeric: tabular-nums; }
.tt-rating .txt { color: var(--pann-muted-fg); font-weight: 500; }
.tt-rating .sep { color: var(--pann-muted-fg); }

.tt-limited {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: #b91c1c;
  background: rgba(254, 226, 226, .7);
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #fee2e2;
}

.tt-ping { position: relative; display: flex; width: 8px; height: 8px; flex: none; }
.tt-ping i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #ef4444;
  opacity: .7;
  animation: ttPing 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
.tt-ping b { position: relative; width: 8px; height: 8px; border-radius: 999px; background: #dc2626; }

@keyframes ttPing {
  0% { transform: scale(1); opacity: .7; }
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.tt-hint {
  margin: 10px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: -.005em;
  color: var(--pann-muted-fg);
}
.tt-hint svg { margin-top: 3px; flex: none; color: rgba(254, 44, 85, .7); }
.tt-hint strong { font-weight: 600; color: var(--pann-fg); }

.tt-divider { height: 1px; background: var(--pann-border); margin: 12px 0; border: 0; }

/* -------------------------------------------------------------- frete */

.tt-ship-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tt-ship-row .line { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.tt-ship-row .free {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--pann-success-light);
  color: var(--pann-success);
  font-weight: 600;
}
.tt-ship-row .fee { margin-top: 4px; font-size: 12px; color: var(--pann-muted-fg); }
.tt-ship-row .fee s { text-decoration: line-through; }

/* ---------------------------------------------------- proteção do cliente */

.tt-section { padding: 12px; }

.tt-prot {
  cursor: pointer;
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(135deg, #fff, hsl(210, 40%, 98%));
  box-shadow: inset 0 0 0 1px var(--pann-border), 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .12s ease;
}
.tt-prot:active { transform: scale(.995); }

.tt-prot-head { display: flex; align-items: center; justify-content: space-between; }
.tt-prot-head .inner { display: inline-flex; align-items: center; gap: 8px; }

.tt-shield-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 1px 3px rgba(5, 150, 105, .35);
  flex: none;
}

.tt-prot-head .title { font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.tt-prot-head .sub { font-size: 11px; color: var(--pann-muted-fg); }

.tt-prot-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  font-size: 12.5px;
}
.tt-prot-grid div { display: flex; align-items: flex-start; gap: 6px; line-height: 1.35; }
.tt-prot-grid span.tick {
  margin-top: 3px;
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  background: var(--pann-success-light);
  color: var(--pann-success);
}

.tt-gap { height: 8px; background: var(--pann-muted); }

/* ---------------------------------------------------------- avaliações */

.tt-sec-head { display: flex; align-items: center; justify-content: space-between; }
.tt-sec-head h2 { margin: 0; font-size: 14px; font-weight: 600; }
.tt-sec-head h2 span { color: var(--pann-muted-fg); font-weight: 400; }
.tt-sec-head .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--pann-muted-fg);
}

.tt-review-score { margin-top: 4px; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.tt-review-score b { font-weight: 600; }
.tt-review-score .of { color: var(--pann-muted-fg); }
.tt-stars { display: inline-flex; align-items: center; gap: 2px; color: var(--pann-warning); }

.tt-review { margin-top: 16px; }
.tt-review-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tt-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  background: var(--pann-muted);
}
.tt-review-head .name { font-size: 14px; font-weight: 500; }

.tt-review-meta { margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.tt-review-meta .when {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .01em;
  color: #a3a3a3;
  white-space: nowrap;
}

.tt-review p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; }
.tt-review-photo { margin-top: 8px; display: flex; gap: 8px; }
.tt-review-photo img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
  background: var(--pann-muted);
}

/* --------------------------------------------------------------- loja */

.tt-store { display: flex; align-items: center; justify-content: space-between; }
.tt-store .inner { display: flex; align-items: center; gap: 12px; }
.tt-store .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 0 0 1px var(--pann-border);
}
.tt-store .name-row { display: flex; align-items: center; gap: 6px; }
.tt-store .name { font-size: 15px; font-weight: 700; }
.tt-store .sold { font-size: 12px; color: var(--pann-muted-fg); }
.tt-store .visit {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pann-muted);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  transition: transform .1s;
}
.tt-store .visit:active { transform: scale(.95); }

/* ------------------------------------------------------ sobre o produto */

.tt-details { margin-top: 8px; font-size: 12px; font-weight: 600; }
.tt-detail-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 13px;
}
.tt-detail-grid dt { color: var(--pann-muted-fg); }
.tt-detail-grid dd { margin: 0; }

.tt-desc { margin-top: 8px; font-size: 13px; line-height: 1.5; }
.tt-desc h3 { margin: 12px 0 0; font-size: 14px; font-weight: 700; }
.tt-desc p { margin: 8px 0 0; }
.tt-desc p + p { margin-top: 4px; }
.tt-desc img { width: 100%; object-fit: contain; margin-top: 8px; }

.tt-terms { padding: 16px 12px; }
.tt-terms button { width: 100%; text-align: center; font-size: 10px; color: rgba(107, 114, 128, .5); }

/* ------------------------------------------------------------ nav fixa */

.tt-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-top: 1px solid var(--pann-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .06);
}

.tt-nav-inner {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 8px 8px calc(14px + env(safe-area-inset-bottom));
}

.tt-nav-icon {
  width: 40px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--pann-muted-fg);
}
.tt-nav-icon span { margin-top: 2px; line-height: 1; }

.tt-btn-cart {
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: 12px;
  background: var(--pann-muted);
  color: var(--pann-fg);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .1s;
}

.tt-btn-buy {
  flex: 1.3;
  min-width: 0;
  height: 44px;
  border-radius: 12px;
  background: var(--pann-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform .1s;
}

.tt-btn-cart:active, .tt-btn-buy:active { transform: scale(.97); }

/* --------------------------------------------------- modal proteção */

.tt-modal { position: fixed; inset: 0; z-index: 120; display: none; }
.tt-modal.is-open { display: block; }

.tt-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .22s ease;
}

.tt-modal-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(.96);
  opacity: 0;
  width: calc(100% - 32px);
  max-width: 400px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 24px 20px 20px;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35);
  transition: transform .26s cubic-bezier(.2, .9, .3, 1.1), opacity .22s ease;
}

.tt-modal.is-open .tt-modal-bg { opacity: 1; }
.tt-modal.is-open .tt-modal-box { transform: translate(-50%, -50%) scale(1); opacity: 1; }

.tt-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-modal-x:active { transform: scale(.94); }

.tt-prot-shield {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, .12), 0 10px 24px -8px rgba(5, 150, 105, .55);
}

.tt-modal h3.tt-modal-title {
  text-align: center;
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f172a;
}

.tt-modal .brand-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; }
.tt-modal .brand-line img { height: 22px; width: auto; object-fit: contain; }

.tt-modal .lede {
  text-align: center;
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569;
}

.tt-modal .checks {
  margin-top: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.tt-modal .checks div { display: flex; gap: 10px; align-items: flex-start; }
.tt-modal .checks span.mark { color: #16a34a; font-weight: 800; }
.tt-modal .checks span.txt { font-size: 13.5px; font-weight: 700; color: #0f172a; }

.tt-modal .modal-cta {
  margin-top: 16px;
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

/* ------------------------------------------------ modal de cor/estoque */

.tt-sheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
}
.tt-sheet.is-open { display: flex; }

.tt-sheet-box {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 16px 16px 0 0;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tt-sheet-head {
  flex: 0 0 auto;
  position: relative;
  padding: 14px 14px 12px;
  border-bottom: 1px solid #f1f2f4;
}
.tt-sheet-grab { width: 36px; height: 4px; border-radius: 99px; background: #e6e8eb; margin: 0 auto 12px; }
.tt-sheet-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  font-size: 22px;
  line-height: 1;
  color: #8a8f98;
}

.tt-sheet-summary { display: flex; gap: 12px; align-items: center; padding-right: 32px; }
.tt-sheet-summary img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: #f7f7f8;
  border: 1px solid #f1f2f4;
  flex: 0 0 auto;
}

.tt-sheet-price-row { display: flex; align-items: baseline; gap: 3px; }
.tt-sheet-price-row .cur { font-size: 14px; font-weight: 800; color: var(--pann-primary); }
.tt-sheet-price-row .val {
  font-size: 26px;
  font-weight: 900;
  color: var(--pann-primary);
  letter-spacing: -1px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tt-sheet-tags { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.tt-sheet-tags span { font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 8px; }
.tt-sheet-tags .free { background: #e8f8ef; color: #0e9f6e; }
.tt-sheet-tags .spec { background: #f3f4f6; color: #161823; }

.tt-sheet-sel {
  margin-top: 6px;
  font-size: 12.5px;
  color: #8a8f98;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tt-sheet-sel strong { color: #161823; }

.tt-sheet-body { flex: 1 1 auto; overflow-y: auto; padding: 12px 14px 14px; }

.tt-field-label { font-size: 12.5px; font-weight: 700; color: #161823; margin-bottom: 8px; }
.tt-select-label { font-size: 12px; font-weight: 600; display: block; margin-bottom: 6px; color: #161823; }
.tt-select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 12px;
  background: #fff;
  font-size: 16px; /* evita zoom no iOS */
  color: #161823;
}

.tt-color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.tt-color-card {
  border: 1.5px solid #eceef1;
  border-radius: 10px;
  padding: 6px;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.tt-color-card.on { border-color: var(--pann-primary); background: #fff5f7; }

.tt-color-card .thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.tt-color-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tt-color-card .qty-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--pann-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  border-radius: 99px;
}
.tt-color-card .label { margin-top: 5px; font-size: 11.5px; font-weight: 800; color: #161823; }
.tt-color-card .price { font-size: 11.5px; font-weight: 700; color: #8a8f98; margin-top: 1px; }
.tt-color-card.on .price { color: var(--pann-primary); }

.tt-color-card .stepper {
  margin-top: 6px;
  border-top: 1px dashed #f0d6de;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.tt-color-card .stepper button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid #e6e8eb;
  background: #fff;
  font-size: 15px;
  line-height: 1;
  color: #161823;
}
.tt-color-card .stepper span { font-size: 13px; font-weight: 800; }
.tt-color-card .remove {
  width: 100%;
  margin-top: 6px;
  border-radius: 6px;
  padding: 4px 0;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--pann-primary);
}

.tt-sheet-foot {
  flex: 0 0 auto;
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid #f1f2f4;
  background: #fff;
}

.tt-sheet-cta {
  width: 100%;
  border-radius: 10px;
  padding: 12px;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: #d5d6d9;
  line-height: 1.2;
}
.tt-sheet-cta:not(:disabled) { background: var(--pann-primary); }
.tt-sheet-cta small { display: block; font-size: 11.5px; font-weight: 600; opacity: .9; margin-top: 2px; }

.tt-sheet-trust {
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: #5b6068;
  font-weight: 600;
  text-align: center;
}

/* ------------------------------------------------------ widget suporte */

#sup-btn {
  position: fixed;
  right: 14px;
  bottom: calc(16px + var(--sup-off, 0px));
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, #22252f, #0e0f14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .30), 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}
#sup-btn:hover { transform: translateY(-2px); }
#sup-btn:active { transform: scale(.96); }
#sup-btn svg { width: 25px; height: 25px; }
#sup-btn i {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #14161d;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .20);
}

#sup-panel {
  position: fixed;
  inset: auto 12px calc(12px + var(--sup-off, 0px)) 12px;
  max-width: 400px;
  margin-left: auto;
  z-index: 9999;
  background: #fff;
  border: 1px solid #eceef3;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
  display: none;
  flex-direction: column;
  overflow: hidden;
  max-height: 78dvh;
}
#sup-panel.open { display: flex; }

#sup-head {
  padding: 13px 14px;
  background: #12131a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#sup-head b { font-size: 14px; display: block; }
#sup-head span { font-size: 11px; opacity: .72; }
#sup-head button { color: #fff; font-size: 22px; line-height: 1; opacity: .8; }

#sup-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafafb;
}

.sup-m {
  max-width: 86%;
  font-size: 13.5px;
  line-height: 1.55;
  padding: 10px 12px;
  border-radius: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}
.sup-a { align-self: flex-start; background: #fff; border: 1px solid #eef0f4; color: #1a1a2e; }
.sup-u { align-self: flex-end; background: #12131a; color: #fff; }

.sup-sug { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: #fafafb; }
.sup-sug button {
  background: #fff;
  border: 1px solid #e6e8ee;
  color: #374151;
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 999px;
}

#sup-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #eef0f4; background: #fff; }
#sup-in {
  flex: 1;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 16px;
  outline: none;
  font-family: inherit;
}
#sup-in:focus { border-color: #12131a; }
#sup-send { background: #12131a; color: #fff; border-radius: 12px; padding: 0 16px; font-weight: 700; font-size: 14px; }
#sup-send:disabled { opacity: .5; }

.sup-dots { display: inline-block; width: 34px; letter-spacing: 2px; animation: supBlink 1s steps(4) infinite; }
@keyframes supBlink { 0% { opacity: .3; } 50% { opacity: 1; } 100% { opacity: .3; } }

/* --------------------------------------------------- acessibilidade */

@media (prefers-reduced-motion: reduce) {
  .tt-chip--today,
  .tt-chip--today::after,
  .tt-today-dot,
  .tt-ping i { animation: none; }
  .tt-carousel-track { scroll-behavior: auto; }
}
