:root {
  --primary-color: #D59A93;
  /* O rosé clássico da Lumas */
  --primary-hover: #ba8884;
  --secondary-color: #111111;
  --light-color: #FFFFFF;
  --gray-color: #969696;
  --bg-light: #f9f9f9;
}

body {
  font-family: var(--font-sans, 'Inter', sans-serif);
  color: var(--secondary-color);
}

.breadcrumb {
  background-color: transparent;
  padding: 0.75rem 0;
  margin-bottom: 20px;
}

.item-mini-histórico a {
  color: var(--gray-color);
  text-decoration: none;
  font-size: 0.85rem;
  font-style: italic;
  display: flex;
  align-items: center;
}

.item-mini-histórico-active {
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-style: italic;
}

.icon-arrow {
  font-size: 12px !important;
  color: var(--gray-color);
  margin: 0 8px;
}

/* GALERIA DE IMAGENS E FLUTUANTES */

.product-images {
  position: relative;
  /* Fundamental para os elementos flutuarem nela */
}

.product-image-main {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: var(--bg-light);
  border-radius: 12px;
  cursor: pointer;
}

/* Tag de Categoria Flutuante (Top Left) */
.product-material-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--secondary-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
  z-index: 10;
}

/* Coração Favorito Flutuante (Top Right) */
.btn-favorito-floating {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--light-color);
  color: var(--secondary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.btn-favorito-floating:hover {
  transform: translateY(-3px);
  color: var(--primary-color);
}

.heart-active {
  color: var(--primary-color) !important;
  font-weight: 900;
  /* FontAwesome Solid */
}

/* Miniaturas */
.product-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-thumbnails::-webkit-scrollbar {
  display: none;
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  background-color: var(--bg-light);
  opacity: 0.6;
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: var(--primary-color);
  opacity: 1;
}

/* ==========================================
   INFORMAÇÕES DO PRODUTO (LADO DIREITO)
   ========================================== */
.product-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 5px;
  color: #111;
}

.product-subtitle {
  font-size: 0.95rem;
  color: var(--gray-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

.product-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1;
}

.product-installments {
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-top: 5px;
  margin-bottom: 30px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.section-label-optional {
  margin-bottom: 0;
  margin-right: 8px;
}

/* Quadrados de Tamanho Arredondados */
.size-option {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.95rem;
  color: #555;
  background: #fff;
}

.size-option.active,
.size-option:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Pílula de Quantidade (Estilo Figma) */
.quantity-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 5px 15px;
  background: white;
  height: 45px;
}

.quantity-pill button {
  background: none;
  border: none;
  color: #555;
  font-size: 1rem;
  cursor: pointer;
  padding: 0 10px;
}

.quantity-pill input {
  width: 40px;
  border: none;
  text-align: center;
  font-weight: 600;
  color: var(--secondary-color);
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
}

.quantity-pill input::-webkit-outer-spin-button,
.quantity-pill input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ==========================================
   BOTÃO COMPRAR E PAGAMENTO
   ========================================== */
.btn-buy-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 100%;
  padding: 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(213, 154, 147, 0.3);
}

.btn-buy-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  color: white;
}

.btn-buy-primary:disabled {
  background-color: #ccc;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.payment-options-box {
  background: transparent;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.payment-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.payment-icon {
  font-size: 1.5rem;
  color: #666;
  width: 30px;
}

.payment-text h6 {
  margin: 0 0 2px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.payment-text p {
  margin: 0;
  font-size: 0.8rem;
  color: #888;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--cor-secundaria-escura);
  margin-top: 20px;
}

/* ==========================================
   ACORDEÃO (SANFONA) - FRETE E DESCRIÇÃO
   ========================================== */
.custom-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #eaeaea;
  background: transparent;
}

.custom-accordion .accordion-button {
  background: transparent;
  padding: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: none;
  font-family: 'Inter', sans-serif;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background: transparent;
}

.custom-accordion .accordion-button:not(.collapsed):focus {
  box-shadow: none;
}

.custom-accordion .accordion-button::after {
  background-size: 1rem;
}

.custom-accordion .accordion-body {
  padding: 0 0 25px 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   PRODUTOS RELACIONADOS
   ========================================== */
.section-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 2rem;
  margin-bottom: 10px;
  color: #111;
}

.section-subtitle {
  color: var(--gray-color);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.related-product {
  border: none;
  background: transparent;
}

span.product-old-price {
  text-decoration: line-through;
}

/* Animação do coração */
@keyframes heart-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
  }

  100% {
    transform: scale(1);
  }
}

.heart-anim {
  animation: heart-pulse 0.4s ease-out;
}