/* ==========================================================================
   PDP UPSELL — assets/css/pdp/pdp-upsell.css
   "Complete o look": 3 cards produto + 1 bundle card com borda gold
   ========================================================================== */

.senv-pdp-upsell {
  background-color: #0C0A09;
  padding: 64px 0;
}

.senv-pdp-upsell__top-line {
  height: 1px;
  background-color: #1C1715;
  margin-bottom: 48px;
}

/* Eyebrow + título */
.senv-pdp-upsell__eye {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--senv-gold);
  margin-bottom: 8px;
}
.senv-pdp-upsell__title {
  font-family: var(--senv-font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--senv-offwhite);
  margin: 0 0 40px;
}

/* Grid: sem bundle → até 4 colunas iguais; com bundle → 2 cards + bundle */
.senv-pdp-upsell__grid {
  display: grid;
  gap: 24px;
}

/* Sem bundle: 3 ou 4 cards em colunas iguais */
.senv-pdp-upsell.no-bundle .senv-pdp-upsell__grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Com bundle: 2 cards (auto 1fr) + bundle card maior */
.senv-pdp-upsell.has-bundle .senv-pdp-upsell__grid {
  grid-template-columns: repeat(2, 1fr) minmax(320px, 460px);
}

/* Card produto */
.senv-pdp-upsell__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: #141210;
  overflow: hidden;
}
.senv-pdp-upsell__img {
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.senv-pdp-upsell__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.senv-pdp-upsell__card:hover .senv-pdp-upsell__img img {
  transform: scale(1.04);
}
.senv-pdp-upsell__name {
  display: block;
  font-family: var(--senv-font-heading);
  font-size: 13px;
  font-style: italic;
  color: #A09588;
  padding: 14px 16px 4px;
}
.senv-pdp-upsell__price {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 13px;
  color: var(--senv-offwhite);
  padding: 0 16px 14px;
}
.senv-pdp-upsell__btn {
  display: block;
  margin: 0 16px 16px;
  padding: 10px 0;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 2px;
  font-family: var(--senv-font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--senv-offwhite);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.senv-pdp-upsell__btn:hover {
  border-color: var(--senv-gold);
  color: var(--senv-gold);
}

/* Bundle card — borda gold, fundo surface */
.senv-pdp-upsell__bundle {
  border: 1px solid var(--senv-gold);
  background-color: #0E0C0B;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.senv-pdp-upsell__bundle-eye {
  font-family: var(--senv-font-body);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--senv-gold);
}
.senv-pdp-upsell__bundle-title {
  font-family: var(--senv-font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--senv-offwhite);
  margin: 0;
}
.senv-pdp-upsell__bundle-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.senv-pdp-upsell__bundle-items li {
  font-family: var(--senv-font-body);
  font-size: 12px;
  color: #A09588;
}
.senv-pdp-upsell__bundle-price {
  font-family: var(--senv-font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--senv-offwhite);
}
.senv-pdp-upsell__bundle-price small {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 11px;
  color: var(--senv-gold);
  margin-top: 4px;
  font-style: normal;
}
.senv-pdp-upsell__bundle-cta {
  width: 100%;
  height: 52px;
  background-color: var(--senv-gold);
  color: var(--senv-noir);
  border: none;
  border-radius: 2px;
  font-family: var(--senv-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s;
}
.senv-pdp-upsell__bundle-cta:hover { opacity: .88; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .senv-pdp-upsell.has-bundle .senv-pdp-upsell__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .senv-pdp-upsell__bundle { grid-column: span 2; }
  .senv-pdp-upsell.no-bundle .senv-pdp-upsell__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .senv-pdp-upsell.has-bundle .senv-pdp-upsell__grid,
  .senv-pdp-upsell.no-bundle .senv-pdp-upsell__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .senv-pdp-upsell__bundle { grid-column: span 2; padding: 28px 24px; }
  .senv-pdp-upsell__img { height: 200px; }
}
