/* HEADER */
.mbr-header {
  background: #ffffff;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(8,8,158,0.12);
  border-bottom: 3px solid #c00055;
  flex-shrink: 0;
}
.mbr-header img { max-height: 70px; object-fit: contain; }
.mbr-header-title {
  font-size: 0.95rem;
  color: #08089e;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-align: right;
}

/* BANNER */
.mbr-banner {
  background: linear-gradient(135deg, #08089e 0%, #6a0070 55%, #c00055 100%);
  color: #fff;
  text-align: center;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.mbr-banner::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.mbr-banner::after {
  content: "";
  position: absolute;
  bottom: -30px; left: -30px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.mbr-banner h1 { font-size: 2rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.mbr-banner p { font-size: 0.97rem; margin-top: 8px; opacity: 0.95; }

/* MAIN */
.mbr-container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CARD */
.mbr-product-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(8,8,158,0.13);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 5px solid #c00055;
  transition: opacity 0.4s ease;
}
.mbr-product-card.mbr-switching {
  opacity: 0;
  pointer-events: none;
}

/* CARROSSEL */
.mbr-carousel-section {
  background: #f5f5fe;
  padding: 28px 28px 20px;
  border-right: 1px solid #f5e0da;
}

/* RIBBON DE DESCONTO */
.mbr-discount-badge {
  position: absolute;
  top: 18px;
  right: -32px;
  width: 130px;
  background: #c00055;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  padding: 6px 0;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
  letter-spacing: 0.5px;
  display: none;
  z-index: 10;
}
.mbr-discount-badge.mbr-visible { display: block; }

.mbr-carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #d0d0f0;
  background: #fff;
}
.mbr-carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mbr-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8,8,158,0.82);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.mbr-carousel-btn:hover,
.mbr-carousel-btn:active { background: #c00055; }
.mbr-btn-prev { left: 10px; }
.mbr-btn-next { right: 10px; }

.mbr-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.mbr-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #c8c8ee;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.mbr-dot.mbr-active { background: #c00055; transform: scale(1.3); }
.mbr-carousel-counter {
  text-align: center;
  font-size: 0.78rem;
  color: #6060b0;
  margin-top: 6px;
}

/* MINIATURAS */
.mbr-thumb-strip {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}
.mbr-thumb-strip::-webkit-scrollbar { display: none; }
.mbr-thumb-strip img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #d0d0f0;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mbr-thumb-strip img:hover,
.mbr-thumb-strip img.mbr-active {
  border-color: #c00055;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(192,0,85,0.28);
}

/* BARRA DE PROGRESSO */
.mbr-progress-bar {
  height: 4px;
  background: #d0d0f0;
  border-radius: 4px;
  margin-top: 14px;
  overflow: hidden;
}
.mbr-progress-fill {
  height: 100%;
  background: #c00055;
  border-radius: 4px;
  width: 0%;
  transition: width linear;
}

/* INFO DO PRODUTO */
.mbr-product-info { padding: 30px 34px 38px; }

.mbr-badge-promo {
  display: inline-block;
  background: #c00055;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mbr-badge-promo.mbr-hidden { display: none; }

.mbr-badge-saldao {
  display: inline-block;
  background: linear-gradient(135deg, #08089e, #c00055);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(192,0,85,0.3);
}
.mbr-badge-saldao.mbr-hidden { display: none; }

.mbr-product-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #08089e;
  line-height: 1.4;
  margin-bottom: 22px;
}
.mbr-product-detalhes {
  font-size: 1rem;
  font-weight: 800;
  color: #08089e;
  line-height: 1.4;
}
.mbr-price-block {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0ff 0%, #fff0f8 100%);
  border: 1.5px solid #c8c8ee;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 26px;
}
.mbr-price-de {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 4px;
}
.mbr-price-de.mbr-hidden { display: none; }
.mbr-price-por-label {
  font-size: 0.8rem;
  color: #08089e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.mbr-price-por {
  font-size: 2.6rem;
  font-weight: 900;
  color: #c00055;
  line-height: 1.1;
}
.mbr-price-por span:first-child {
  font-size: 1.2rem;
  vertical-align: top;
  padding-top: 7px;
  display: inline-block;
}
.mbr-price-note {
  font-size: 0.78rem;
  color: #888;
  margin-top: 4px;
}
.mbr-price-note.mbr-hidden { display: none; }
.mbr-economy {
  display: inline-block;
  background: #d4edda;
  color: #155724;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-top: 10px;
}
.mbr-economy.mbr-hidden { display: none; }

.mbr-divider { border: none; border-top: 1.5px solid #f5ece8; margin: 22px 0; }

.mbr-features { list-style: none; }
.mbr-features li {
  padding: 7px 0;
  font-size: 0.95rem;
  color: #1a1a5e;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mbr-features li::before {
  content: "✓";
  color: #08089e;
  font-weight: 900;
  font-size: 1rem;
  background: #e0e0ff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mbr-cta-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #08089e 0%, #c00055 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 17px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 26px;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(192,0,85,0.3);
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}
.mbr-cta-btn:hover,
.mbr-cta-btn:active { opacity: 0.9; transform: translateY(-2px); }

/* INDICADOR DE PRODUTO */
.mbr-product-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 24px;
}
.mbr-prod-dot {
  width: 32px; height: 6px;
  border-radius: 4px;
  background: #c8c8ee;
  transition: background 0.3s, width 0.3s;
  cursor: pointer;
  border: none;
}
.mbr-prod-dot.mbr-active { background: #c00055; width: 48px; }

/* FOOTER */
.mbr-footer {
  text-align: center;
  padding: 24px;
  background: #08089e;
  color: #a0a0d8;
  font-size: 0.82rem;
  margin-top: auto;
  flex-shrink: 0;
}

@media (min-width: 700px) {
  .mbr-product-card { flex-direction: row; }
  .mbr-carousel-section { width: 50%; }
  .mbr-product-info { flex: 1; }
}

.mbr-carousel-track img {
  min-width: 100%;
  max-height: 40vh;
  object-fit: contain;
  padding: 12px;
  background: #fff;
}
@media (min-height: 900px) {
  .mbr-carousel-track img { max-height: 50vh; }
}
