/* ==========================================================================
   LIFESTYLE RESERVE — FRONTEND STYLES (LR AMAZON AFILIADOS)
   TODOS OS SELETORES COM PREFIXO lr- PARA ZERO CONFLITO COM ELEMENTOR
   ========================================================================== */

/* Preço Dinâmico nos Cards e Menções */
.lr-preco {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  color: #a37432;
  transition: opacity 0.2s ease;
  min-height: 1.2em;
}

.lr-preco-info {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: #7a6352;
  line-height: 1.35;
  margin-top: 4px;
}

.lr-preco-indisponivel {
  color: #8c7664;
  font-style: italic;
  font-weight: 600;
}

/* ==========================================================================
   POP-UP DE PROMOÇÕES (OFERTAS DO MOMENTO)
   DESKTOP: Modal Elegante | MOBILE: Janela Deslizante Inferior (Bottom Sheet)
   ========================================================================== */
.lr-promo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 18, 13, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.lr-promo-overlay.lr-active {
  opacity: 1;
  visibility: visible;
}

.lr-promo-modal {
  background: #fdfbf7;
  color: #2b231d;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  border-radius: 12px;
  border: 1px solid #e6dcd0;
  box-shadow: 0 16px 40px rgba(44, 29, 17, 0.25);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.lr-promo-overlay.lr-active .lr-promo-modal {
  transform: translateY(0) scale(1);
}

/* Cabeçalho do Pop-up */
.lr-promo-header {
  padding: 18px 24px 14px 24px;
  border-bottom: 1px solid #ece4da;
  position: relative;
  background: #fbf8f3;
}

.lr-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #a37432;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.lr-promo-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.lr-promo-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  color: #1a120d;
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
}

.lr-promo-subtitle {
  font-size: 0.88rem;
  color: #634f40;
  margin: 4px 0 0 0;
  line-height: 1.4;
}

.lr-promo-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  background: #f0e8dc;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c1d11;
  transition: background 0.2s ease, transform 0.15s ease;
  padding: 0;
}

.lr-promo-close:hover {
  background: #2c1d11;
  color: #ffffff;
  transform: scale(1.05);
}

.lr-promo-close svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Corpo da Lista de Produtos */
.lr-promo-body {
  padding: 16px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lr-promo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #eadecf;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44, 29, 17, 0.03);
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.lr-promo-item:hover {
  border-color: #a37432;
  transform: translateY(-1px);
}

.lr-promo-info {
  flex-grow: 1;
}

.lr-promo-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1a120d;
  margin-bottom: 4px;
  line-height: 1.3;
}

.lr-promo-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.lr-promo-old-price {
  font-size: 0.82rem;
  color: #8c7664;
  text-decoration: line-through;
}

.lr-promo-cur-price {
  font-size: 1.08rem;
  font-weight: 700;
  color: #a37432;
}

.lr-promo-discount-tag {
  background: #d9534f;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.lr-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #2c1d11;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.lr-promo-btn:hover {
  background: #a37432;
}

.lr-promo-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Rodapé com Divulgação Legal Obrigatória da Amazon */
.lr-promo-footer {
  padding: 12px 20px;
  background: #fbf8f3;
  border-top: 1px solid #ece4da;
  text-align: center;
}

.lr-promo-disclosure {
  font-size: 0.75rem;
  color: #7a6352;
  margin: 0;
  line-height: 1.4;
  font-style: italic;
}

/* ==========================================================================
   ADAPTAÇÃO MOBILE: JANELA DESLIZANTE INFERIOR (BOTTOM SHEET)
   ========================================================================== */
@media (max-width: 600px) {
  .lr-promo-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .lr-promo-modal {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    border-bottom: none;
  }

  .lr-promo-overlay.lr-active .lr-promo-modal {
    transform: translateY(0);
  }

  .lr-promo-header {
    padding: 16px 20px 12px 20px;
  }

  .lr-promo-title {
    font-size: 1.25rem;
  }

  .lr-promo-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .lr-promo-btn {
    width: 100%;
    padding: 10px;
  }
}
