
.ttk-price-card{width:100%;background:linear-gradient(90deg,#fc5fa3,#ee6e18ec);padding:16px;border-radius:12px;display:flex;justify-content:space-between;align-items:center;color:#fff;font-family:Arial;margin-top:12px;box-shadow:0 6px 20px rgba(255,106,136,.25);}
.ttk-price-left{display:flex;flex-direction:column;gap:6px;}
.ttk-current-price{font-size:22px;font-weight:700;display:flex;align-items:center;}
.ttk-current-price span{font-size:28px;font-weight:800;margin-left:4px;}
.ttk-price-info-row{display:flex;align-items:center;gap:10px;}
.ttk-old-price{text-decoration:line-through;opacity:.9;font-size:14px;}
.ttk-save-tag{background:rgba(255,255,255,.25);padding:4px 8px;border-radius:6px;font-size:12px;font-weight:700;}
.ttk-price-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px;}
.ttk-flash-btn{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.2);padding:6px 12px;border-radius:8px;font-size:12px;font-weight:700;}
.ttk-flash-icon{width:14px;height:14px;}
.ttk-timer-text{font-size:13px;font-weight:500;}
.ttk-timer-text span{font-weight:800;}
.store-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    background-image: url("../img/JBL-Logo.svg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.tiktok-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden; /* impede a imagem de vazar */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff; /* opcional */
    flex-shrink: 0;
}

.tiktok-logo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* garante que fique no tamanho certo */
    display: block;
}
/* MODELOS DISPONÍVEIS */
.model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.model-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.2s;
    cursor: pointer;
}

.model-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.model-item img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
    object-fit: cover;
}

.model-item span {
    font-size: 14px;
    color: #333;
    text-align: center;
}

/* Container do pop-up (fundo escuro) */
.store-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

/* Card do pop-up */
.store-popup-content {
    background: #fff;
    width: 90%;
    max-width: 420px;
    border-radius: 16px;
    padding: 20px;
    animation: popupFade .25s ease-out;
}

/* Animação */
@keyframes popupFade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Header */
.store-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.store-popup-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.close-btn {
    background: #eee;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

/* Corpo */
.store-popup-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.store-badge {
    display: inline-block;
    background: #dfffe0;
    color: #2a9d2a;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.store-popup-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Avatar CORRIGIDO */
.store-popup-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* Nome da loja */
.store-popup-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Texto menor abaixo */
.store-popup-sub {
    font-size: 12px !important;
    color: #555;
    line-height: 1.3;
}
/* POPUP CHAT */
.chat-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.chat-popup-content {
    background: #fff;
    width: 90%;
    max-width: 430px;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

/* Header */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chat-header h3 {
    font-size: 20px;
    font-weight: 700;
}

/* Corpo do chat */
.chat-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 5px;
}

.chat-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.chat-msg.seller .chat-bubble {
    background: #111;
    color: #fff;
}

.chat-msg.client {
    justify-content: flex-end;
}

.chat-msg.client .chat-bubble {
    background: #f1f1f1;
    color: #333;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 75%;
    font-size: 14px;
    line-height: 1.3;
}

/* Perguntas */
.chat-questions {
    padding-top: 12px;
}

.chat-question-title {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

.chat-question-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    text-align: left;
    font-size: 14px;
    margin-bottom: 8px;
    cursor: pointer;
}

.chat-question-btn:hover {
    background: #f5f5f5;
}
/* ---------------- POPUP DA LOJA ---------------- */

.store-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

.store-popup-content {
    background: #fff;
    width: 90%;
    max-width: 420px;
    border-radius: 16px;
    padding: 20px;
    animation: popupFade .25s ease-out;
}

/* Animação */
@keyframes popupFade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.store-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.close-btn {
    background: #eee;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.store-popup-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.store-badge {
    display: inline-block;
    background: #dfffe0;
    color: #2a9d2a;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.store-popup-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-popup-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
/* Melhor layout dos cupons */
.coupon-box {
    display: flex;
    gap: 12px;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid #eee;
}

.coupon-icon {
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ddd;
}

.coupon-info {
    flex: 1;
}

.coupon-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.coupon-desc {
    font-size: 13px;
    color: #555;
    margin: 0 0 6px 0;
}

.coupon-code {
    display: inline-block;
    background: #fff;
    border: 1px dashed #999;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
}
.coupon-code {
    border: 2px dashed #999;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
}
.coupon-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #fafafa;
    border-radius: 14px;
    border: 1px solid #eee;
}
/* POPUP DE SELEÇÃO DE MODELOS (OFICIAL) */
#model-popup .store-popup-content {
  max-width: 480px;
  width: 92%;
  padding: 18px;
}

#model-popup .store-popup-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* Card do modelo */
.model-select-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: .15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Hover / Selecionado */
.model-select-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.model-select-item.selected {
  border: 2px solid #000;
  box-shadow: 0 6px 22px rgba(0,0,0,0.15);
}

/* Imagem */
.model-select-item img {
  width: 100%;
  max-width: 140px;
  height: 90px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 10px;
}

/* Nome */
.model-select-item span {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* Botão */
.confirm-btn {
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  border-radius: 10px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 16px;
  opacity: .45;
  transition: .15s;
}

.confirm-btn.enabled {
  opacity: 1;
}
body {
    font-family: "Inter", Arial, sans-serif;
    letter-spacing: -0.3px;
}
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.5px;
}


















