.bottom-nav {
  flex-wrap: wrap; /* permite a barra verde quebrar linha, sem mexer no resto */
}

.guarantee-bar {
  width: 100%;
  order: -1; /* força ficar em cima dos outros itens */
  background: linear-gradient(90deg, #e8f8e8 0%, #ffffff 70%);
  color: #2e8b3d;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
}
.buy-btn {
  border-radius: 3px !important;
}
.buy-btn {
  display: flex;
  flex: 0 1 auto;
  width: 200px;
  margin-left: auto;
  align-items: stretch;
  height: 46px;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: #fff !important;
  font-weight: 700;
}

.buy-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  background: #ffd9c2 !important;
  color: #ff4907 !important;
}

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

.buy-btn-text {
  flex: 1;
  display: flex;
  flex-direction: column;  
  align-items: center;
  justify-content: center;
  background: #ff4907;      
  padding: 4px 12px;    
  line-height: 1.2;     
}

.buy-btn-title {
  font-size: 15px;
  font-weight: 700;
}

.buy-btn-subtitle {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
}

/* ===== Back Redirect Popup (50% OFF) ===== */
.back-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: backPopupFade 0.25s ease-out;
}

@keyframes backPopupFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.back-popup-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 340px;
  width: 100%;
  padding: 28px 20px 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: backPopupZoom 0.3s ease-out;
}

@keyframes backPopupZoom {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.back-popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}

.back-popup-badge {
  display: inline-block;
  background: #ff4907;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.back-popup-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}

.back-popup-title {
  font-family: 'TikTokDisplayFont', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #161823;
  line-height: 1.2;
  margin: 4px 0 10px;
}

.back-popup-prices {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.back-popup-old {
  font-size: 15px;
  color: #999;
  text-decoration: line-through;
}

.back-popup-new {
  font-family: 'TikTokDisplayFont', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #ff4907;
}

.back-popup-sub {
  font-size: 12px;
  color: #666;
  margin: 0 0 16px;
}

.back-popup-cta {
  display: block;
  background: #ff4907;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 10px;
  animation: backPopupPulse 1.4s infinite;
}

@keyframes backPopupPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.back-popup-decline {
  background: none;
  border: none;
  color: #999;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

/* ===== Seletor de opções (estilo Kwai Shop) ===== */
.option-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.option-sheet {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px 24px;
  animation: sheetUp 0.3s ease;
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.option-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.option-sheet-title {
  font-size: 17px;
  font-weight: 700;
  color: #161823;
}

.option-sheet-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #8a8b8f;
  cursor: pointer;
  padding: 0 4px;
}

.option-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f7f8;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option-card.selected {
  border-color: #fe2c55;
  background: #fff5f6;
}

.option-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
}

.option-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.option-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #161823;
}

.option-card-desc {
  font-size: 12px;
  color: #8a8b8f;
}

.option-card-price {
  font-size: 16px;
  font-weight: 700;
  color: #fe2c55;
  white-space: nowrap;
}

.option-sheet-confirm {
  width: 100%;
  background: linear-gradient(90deg, #fe2c55, #ff0050);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.option-sheet-confirm:active {
  transform: scale(0.98);
}
