* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  padding-top: 50px;
  padding-bottom: 70px;
}

/* Top Navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  color: #333;
}

.close-btn {
  font-size: 24px;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

/* Main Content */
.main-content {
  background: white;
  min-height: 100vh;
}

/* Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: white;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 450px;
  object-fit: contain;
  display: block;
  background: white;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 15px 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #333;
}

/* Oferta Relâmpago - Banner em gradiente (vermelho-rosa → laranja) */
.flash-offer-banner {
  background: linear-gradient(90deg, #e91e63 0%, #ff5722 50%, #ff9800 100%);
  color: #fff;
  padding: 14px 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.flash-offer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flash-discount-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.95);
  color: #c62828;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 8px;
}

.flash-price-block {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flash-price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.flash-offer-left .icon-check {
  color: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
}

.flash-price-old {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: line-through;
}

.flash-offer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.flash-offer-right .icon-lightning {
  color: #fff;
  margin-bottom: 2px;
}

.flash-offer-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.flash-timer {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* Abaixo do banner: seção preço (parcelas) */
.price-section {
  background: #fff;
  color: #333;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

/* Variação do produto */
.variant-section {
  background: #fff;
  padding: 12px 15px 14px;
  border-bottom: 1px solid #eee;
}

.variant-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.variant-sub {
  font-size: 12px;
  color: #666;
}

.variant-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.variant-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.variant-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-card img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.variant-title {
  font-size: 13px;
  font-weight: 800;
  color: #333;
  line-height: 1.2;
}

.variant-meta {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

.variant-card.selected {
  border-color: #e91e63;
  background: #fce4ec;
}

.installment-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.installment-row .icon-card {
  color: #666;
  flex-shrink: 0;
}

.installment-row .chevron {
  margin-left: auto;
  font-size: 18px;
  color: #999;
}

.timer {
  font-size: 12px;
  font-weight: 600;
}

/* Product Info - Tema atualizado */
.product-info {
  padding: 16px 15px;
  border-bottom: 1px solid #eee;
}

.product-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #333;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-title .bookmark-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #333;
}

.rating-star {
  color: #ffc107;
  font-size: 16px;
}

.rating-text {
  color: #333;
}

.sold {
  color: #333;
}

/* Frete - Tema atualizado */
.shipping-block {
  padding: 14px 15px;
  border-bottom: 1px solid #eee;
}

.shipping-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  margin-bottom: 6px;
}

.shipping-row .icon-truck {
  color: #666;
  flex-shrink: 0;
}

.frete-badge {
  background: #26a69a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.frete-text {
  flex: 1;
  font-size: 14px;
}

.shipping-row .chevron {
  font-size: 18px;
  color: #999;
}

.shipping-fee {
  font-size: 13px;
  color: #666;
  margin: 0;
  padding-left: 30px;
}

/* Opções (idade) - Tema atualizado */
.options-block {
  padding: 14px 15px;
  border-bottom: 1px solid #eee;
}

.options-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
}

.options-row .icon-grid {
  color: #666;
  flex-shrink: 0;
}

.option-btn {
  background: #f0f0f0;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}

.options-label {
  flex: 1;
  font-size: 13px;
  color: #666;
}

.options-row .chevron {
  font-size: 18px;
  color: #999;
}

/* Proteção do cliente - Tema atualizado */
.protection-block {
  padding: 14px 15px;
  border-bottom: 1px solid #eee;
}

.protection-header {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  margin-bottom: 12px;
}

.protection-header .icon-shield {
  color: #4caf50;
  flex-shrink: 0;
}

.protection-title {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}

.protection-header .chevron {
  font-size: 18px;
  color: #999;
}

.protection-list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 30px;
}

.protection-list li {
  font-size: 13px;
  color: #333;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.protection-list .check {
  color: #4caf50;
  font-weight: 700;
}


/* Reviews Section */
.reviews-section {
  padding: 20px;
  border-top: 8px solid #f5f5f5;
}

.reviews-section h2 {
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 600;
}

.review-card {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.review-header {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.review-avatar,
.review-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-avatar-placeholder {
  background: linear-gradient(135deg, #ff6433 0%, #e5532a 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.review-product {
  font-size: 11px;
  color: #888;
  margin-top: 6px;
}

.review-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.stars {
  color: #ffa000;
  font-size: 12px;
  margin: 2px 0;
}

.location {
  font-size: 12px;
  color: #999;
}

.review-text {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #333;
}

.review-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.review-images img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

/* Store Section */
.store-section {
  padding: 20px;
  border-top: 8px solid #f5f5f5;
}

.store-section h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.store-logo,
.store-logo-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f0f0f0;
  padding: 6px;
  object-fit: contain;
}

.store-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.store-details {
  flex: 1;
}

.store-details h4 {
  font-size: 15px;
  font-weight: 600;
}

.store-details p {
  font-size: 12px;
  color: #666;
}

.follow-btn {
  background: white;
  border: 1px solid #ddd;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Description Section */
.description-section {
  padding: 20px;
  border-top: 8px solid #f5f5f5;
}

.description-section h2 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}

.description-section h3 {
  font-size: 14px;
  margin: 18px 0 8px;
  font-weight: 600;
}

.description-section p {
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
}

.description-section ul {
  margin-left: 20px;
  margin-bottom: 12px;
}

.description-section li {
  font-size: 13px;
  line-height: 1.7;
  color: #333;
}

.highlight-box {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 6px;
  margin: 15px 0;
}

.highlight-box p {
  margin: 0;
  font-size: 13px;
}

/* Accordion Section */
.accordion-section {
  border-top: 1px solid #eee;
}

.accordion-btn {
  width: 100%;
  padding: 16px 20px;
  background: white;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.accordion-icon {
  font-size: 20px;
  color: #999;
  transform: rotate(0deg);
  transition: transform 0.3s;
}

.accordion-btn:hover .accordion-icon {
  transform: rotate(90deg);
}

/* Bottom Spacing */
.bottom-spacing {
  height: 30px;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  align-items: center;
  padding: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 8px;
  color: #333;
  font-size: 10px;
  min-width: 55px;
}

.nav-item svg {
  margin-bottom: 3px;
  width: 20px;
  height: 20px;
}

.reviews-text {
  font-size: 9px;
  text-align: center;
  line-height: 1.2;
}

.buy-btn {
  flex: 1;
  background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
}

.buy-btn:active {
  transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 360px) {
  .price {
    font-size: 24px;
  }

  .product-title {
    font-size: 16px;
  }

  .carousel-slide img {
    height: 380px;
  }
}

/* Added Modal styles for Store and Chat popups */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s;
  /* Centralizando popup */
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

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

.modal-content {
  background-color: white;
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  /* Bordas arredondadas em todos os lados para modal centralizado */
  border-radius: 16px;
  overflow: hidden;
  animation: slideUp 0.3s;
  display: flex;
  flex-direction: column;
  margin: 20px;
}

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

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* Store Modal Specific Styles */
.store-profile {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}

.modal-store-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0f0f0;
  padding: 8px;
  object-fit: contain;
}

.modal-store-logo.store-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.store-rating h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.rating-stars {
  color: #ffa000;
  font-size: 14px;
}

.rating-count {
  color: #666;
  font-size: 13px;
}

.store-details-list {
  margin-bottom: 25px;
}

.detail-item {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
}

.detail-item svg {
  color: #666;
  flex-shrink: 0;
}

.detail-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.detail-item p {
  font-size: 13px;
  color: #666;
}

.about-store h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-store p {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

/* Chat Modal Specific Styles */
.chat-modal {
  max-height: 90vh;
}

.chat-header {
  background: #f5f5f5;
}

.chat-title-section {
  display: flex;
  gap: 12px;
  align-items: center;
}

.chat-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  padding: 6px;
  object-fit: contain;
}

.chat-logo.store-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.chat-title-section h2 {
  font-size: 16px;
}

.online-status {
  font-size: 12px;
  color: #4caf50;
  font-weight: normal;
}

.chat-body {
  background: #f9f9f9;
  padding: 15px;
}

.chat-messages {
  margin-bottom: 20px;
  min-height: 100px;
}

.chat-message {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  animation: messageSlideIn 0.3s;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  padding: 5px;
  object-fit: contain;
  flex-shrink: 0;
}

.message-avatar.store-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 0;
}

.message-bubble {
  background: white;
  padding: 12px 15px;
  border-radius: 12px;
  max-width: 75%;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.user-message {
  flex-direction: row-reverse;
}

.user-message .message-bubble {
  background: #2d2d2d;
  color: white;
  border-radius: 12px;
}

.frequent-questions {
  background: white;
  padding: 15px;
  border-radius: 12px;
}

.frequent-questions h4 {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
  font-weight: 500;
}

.question-btn {
  display: block;
  width: 100%;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  border-radius: 8px;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.question-btn:hover {
  background: #eeeeee;
  border-color: #d0d0d0;
}

.question-btn:active {
  transform: scale(0.98);
}

/* ========== Carrinho / Finalizar compra (Pop-up) ========== */
.cart-modal {
  align-items: flex-start;
  padding: 0;
}

.cart-modal-content {
  width: 100%;
  max-width: 480px;
  max-height: 95vh;
  overflow-y: auto;
  background: #fff;
  margin: 0 auto;
}

.cart-modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.cart-back-btn,
.cart-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  padding: 4px 8px;
}

.cart-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #333;
}

.cart-secure-msg {
  font-size: 12px;
  color: #4caf50;
  padding: 8px 16px;
  margin: 0;
}

.cart-step {
  padding: 16px;
  padding-bottom: 24px;
}

.cart-step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.cart-frete-info {
  background: #e0f7fa;
  color: #00695c;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
}

.cart-address-form label,
.cart-form-section > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.cart-form-section {
  margin-bottom: 20px;
}

.cart-address-form input,
.cart-address-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.cart-phone-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.cart-phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 12px;
  background: #f5f5f5;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.cart-flag-br {
  font-size: 20px;
  line-height: 1;
}

.cart-phone-wrap input {
  flex: 1;
  margin: 0;
  border: none;
  border-radius: 0;
  min-width: 0;
}

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

.cart-btn-primary {
  width: 100%;
  background: #e91e63;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.cart-btn-primary:active {
  opacity: 0.9;
}

.cart-address-summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 12px;
}

.cart-address-summary .cart-pin {
  font-size: 18px;
}

.cart-address-summary strong {
  display: block;
  font-size: 14px;
}

.cart-address-summary p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #666;
}

.cart-seller {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cart-seller span {
  font-weight: 400;
  color: #666;
  float: right;
}

.cart-item-block {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.3;
}

.cart-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.cart-flash-badge {
  background: #ffebee;
  color: #c62828;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.cart-return-badge {
  font-size: 12px;
  color: #2e7d32;
}

.cart-item-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 18px;
  color: #e53935;
}

.cart-item-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}

.cart-item-discount {
  font-size: 12px;
  color: #c62828;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 8px;
}

.cart-qty-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
}

.cart-shipping-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #333;
  padding: 10px 0;
}

.cart-summary-block {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  margin: 16px 0;
}

.cart-summary-block h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}

.cart-summary-line.sub {
  padding-left: 12px;
  color: #666;
}

.cart-summary-line.discount span:last-child {
  color: #e53935;
}

.cart-savings {
  font-size: 13px;
  color: #333;
  margin: 10px 0;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  padding-top: 8px;
  border-top: 1px solid #ddd;
}

.cart-total-line strong {
  color: #e53935;
}

.cart-payment-options {
  margin-bottom: 20px;
}

.cart-payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.cart-payment-pix {
  border-color: #e91e63;
  background: #fce4ec;
}

.cart-payment-option input {
  margin: 0;
}

.cart-payment-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cart-payment-disabled input:disabled {
  cursor: not-allowed;
}

.cart-payment-icon {
  font-size: 14px;
  font-weight: 600;
}

.pix-icon {
  background: linear-gradient(135deg, #00c9a7, #00a896);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
}

.cart-unavailable {
  margin-left: auto;
  font-size: 12px;
  color: #999;
}

.cart-pix-instruction {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.cart-pix-qr-placeholder {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  background: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
}

.cart-pix-qr-loading {
  font-size: 14px;
  color: #666;
}

.cart-pix-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.cart-pix-qr-error {
  font-size: 13px;
  color: #c62828;
  text-align: center;
  padding: 0 8px;
}

.cart-pix-code-block label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.cart-pix-code-wrap {
  margin-bottom: 16px;
}

.cart-pix-code-wrap textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 12px;
  resize: none;
  box-sizing: border-box;
}

.cart-pix-copy {
  margin-top: 8px;
  padding: 8px 16px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.cart-pix-total {
  font-size: 15px;
  margin-bottom: 16px;
}

.cart-btn-payment-done {
  background: #4caf50;
}
