/* ==========================================================================
   PDP INFO — assets/css/pdp/pdp-info.css
   Painel direito: cat · título · estrelas · preço · urgência · campos · CTAs · trust
   ========================================================================== */

.senv-pdp-info {
  background-color: #0E0C0B;
  padding: 56px 56px 64px;
  min-height: 640px;
}

/* Categoria */
.senv-pdp-cat {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--senv-gold);
  text-decoration: none;
  margin-bottom: 8px;
}

/* Título */
.senv-pdp-title {
  font-family: var(--senv-font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--senv-offwhite);
  margin: 0 0 10px;
  line-height: 1.1;
}

/* Estrelas */
.senv-pdp-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.senv-pdp-stars__icons {
  font-size: 13px;
  color: var(--senv-gold);
  letter-spacing: 2px;
}
.senv-pdp-stars__count {
  font-family: var(--senv-font-body);
  font-size: 12px;
  color: #665C56;
}

/* Bloco de preço */
.senv-pdp-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.senv-pdp-price {
  font-family: var(--senv-font-heading);
  font-size: 36px;
  font-weight: 400;
  color: var(--senv-offwhite);
}
.senv-pdp-price--old {
  font-family: var(--senv-font-body);
  font-size: 14px;
  color: #665C56;
  text-decoration: line-through;
  font-weight: 300;
}
/* WooCommerce price_html (produto variável) */
.senv-pdp-price .price,
.senv-pdp-price .woocommerce-Price-amount {
  font-family: var(--senv-font-heading);
  font-size: 36px;
  font-weight: 400;
  color: var(--senv-offwhite);
}
.senv-pdp-price del .woocommerce-Price-amount {
  font-size: 14px;
  color: #665C56;
  text-decoration: line-through;
  font-family: var(--senv-font-body);
  font-weight: 300;
}
.senv-pdp-price ins { text-decoration: none; }

/* Badge de desconto */
.senv-pdp-discount {
  font-family: var(--senv-font-body);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background-color: #c0392b;
  padding: 2px 8px;
  border-radius: 2px;
  align-self: center;
}

/* Parcelamento e PIX */
.senv-pdp-installment {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 13px;
  color: #665C56;
  margin-bottom: 4px;
}
.senv-pdp-pix {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 13px;
  color: var(--senv-gold);
  margin-bottom: 16px;
}

/* Urgência / estoque */
.senv-pdp-urgency {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #1C1715;
  border-radius: 2px;
  padding: 8px 12px;
  margin-bottom: 16px;
  font-family: var(--senv-font-body);
  font-size: 11px;
  color: var(--senv-nude);
  max-width: 400px;
}
.senv-pdp-urgency__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #c0392b;
  flex-shrink: 0;
}
.senv-pdp-urgency--out .senv-pdp-urgency__dot { background-color: #665C56; }

/* Divider */
.senv-pdp-divider {
  height: 1px;
  background-color: #1C1715;
  margin: 20px 0;
  max-width: 560px;
}

/* ── Campos (tamanho / cor / qty) ── */

.senv-pdp-field { margin-bottom: 20px; }
.senv-pdp-field__label {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--senv-gold);
  margin-bottom: 10px;
}

/* Tamanhos */
.senv-pdp-sizes {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.senv-pdp-size-btn {
  width: 48px;
  height: 40px;
  background: #1C1715;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 3px;
  font-family: var(--senv-font-body);
  font-size: 12px;
  color: #665C56;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.senv-pdp-size-btn:hover { border-color: var(--senv-gold); color: var(--senv-gold); }
.senv-pdp-size-btn.is-selected {
  background-color: var(--senv-gold);
  border-color: var(--senv-gold);
  color: var(--senv-noir);
}

/* Tamanho indisponível para a cor selecionada */
.senv-pdp-size-btn.is-unavailable,
.senv-pdp-size-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, .06) !important;
  color: #3D3530 !important;
  background: #161210 !important;
  position: relative;
}
/* Risco diagonal indicando indisponível */
.senv-pdp-size-btn.is-unavailable::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - .5px),
    rgba(255,255,255,.15) calc(50% - .5px),
    rgba(255,255,255,.15) calc(50% + .5px),
    transparent calc(50% + .5px)
  );
  pointer-events: none;
}

.senv-pdp-size-guide {
  font-family: var(--senv-font-body);
  font-size: 11px;
  color: var(--senv-gold);
  text-decoration: none;
}

/* Cores */
.senv-pdp-colors {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.senv-pdp-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: outline .15s, border-color .15s;
  padding: 0;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.senv-pdp-color-swatch.is-selected {
  border-color: var(--senv-gold);
  outline-color: var(--senv-gold);
}
.senv-pdp-color-name {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 12px;
  color: var(--senv-offwhite);
  margin-top: 4px;
}

/* Quantidade */
.senv-pdp-qty {
  display: flex;
  align-items: center;
  background: #1C1715;
  border: 1px solid rgba(184, 146, 74, .25);
  border-radius: 2px;
  width: 100px;
  height: 40px;
}
.senv-pdp-qty__btn {
  width: 32px;
  height: 100%;
  background: transparent;
  border: none;
  font-family: var(--senv-font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--senv-offwhite);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
.senv-pdp-qty__btn:hover { color: var(--senv-gold); }
.senv-pdp-qty__input {
  flex: 1;
  background: transparent;
  border: none;
  text-align: center;
  font-family: var(--senv-font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--senv-offwhite);
  -moz-appearance: textfield;
}
.senv-pdp-qty__input::-webkit-inner-spin-button,
.senv-pdp-qty__input::-webkit-outer-spin-button { appearance: none; }

/* ── CTAs ── */

.senv-pdp-cta-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  max-width: 560px;
}

/* Base compartilhada — alta especificidade para bater WooCommerce .button */
.senv-single-product-page .senv-pdp-cta,
.senv-single-product-page .senv-pdp-cta.button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--senv-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, opacity .2s, border-color .2s;
  height: 52px;
  line-height: 1;
  /* Reset WooCommerce */
  box-shadow: none;
  text-shadow: none;
}

/* ADICIONAR AO CARRINHO — fundo gold, texto noir */
.senv-single-product-page .senv-pdp-cta--add,
.senv-single-product-page .senv-pdp-cta--add.button,
.senv-single-product-page .senv-pdp-cta--add.single_add_to_cart_button {
  flex: 1;
  background-color: var(--senv-gold) !important;
  color: var(--senv-noir) !important;
  border: none !important;
}
.senv-single-product-page .senv-pdp-cta--add:hover,
.senv-single-product-page .senv-pdp-cta--add.single_add_to_cart_button:hover {
  opacity: .88 !important;
  background-color: var(--senv-gold) !important;
}

/* ♡ Salvar — borda discreta, offwhite */
.senv-single-product-page .senv-pdp-cta--wish {
  padding: 0 20px;
  background-color: transparent !important;
  color: var(--senv-offwhite) !important;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  font-size: 13px;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.senv-single-product-page .senv-pdp-cta--wish:hover {
  border-color: var(--senv-gold) !important;
  color: var(--senv-gold) !important;
}
.senv-single-product-page .senv-pdp-cta--wish.is-wishlisted {
  border-color: var(--senv-gold) !important;
  color: var(--senv-gold) !important;
}

/* Ocultar completamente modal e tooltip nativos do TI Wishlist */
.tinv-modal,
.tinv-overlay,
.tinvwl-tooltip,
.tinv-wishlist-clear,
.senv-tinvwl-hidden .tinvwl_add_to_wishlist_button {
  /* visibilidade controlada via JS; ocultar tooltip permanentemente */
}
.tinvwl-tooltip { display: none !important; }

/* COMPRAR AGORA — surface-2, offwhite */
.senv-single-product-page .senv-pdp-cta--buy {
  width: 100%;
  max-width: 560px;
  display: flex;
  background-color: #1C1715 !important;
  color: var(--senv-offwhite) !important;
  border: 1px solid #2F2925 !important;
  margin-bottom: 20px;
}
.senv-single-product-page .senv-pdp-cta--buy:hover {
  border-color: var(--senv-gold) !important;
  color: var(--senv-gold) !important;
}

/* Esgotado */
.senv-pdp-cta--disabled {
  flex: 1;
  background-color: #2F2925 !important;
  color: #665C56 !important;
  cursor: not-allowed;
}

/* Select visível fallback */
.senv-attr-select-visible {
  width: 100%;
  max-width: 360px;
  background: #1C1715;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 2px;
  padding: 10px 14px;
  font-family: var(--senv-font-body);
  font-size: 13px;
  color: var(--senv-offwhite);
  cursor: pointer;
}

/* Trust bar */
.senv-pdp-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--senv-font-body);
  font-size: 10px;
  color: #665C56;
  margin-top: 16px;
}
.senv-pdp-trust__sep { color: #3D3530; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .senv-pdp-info { padding: 32px 24px; min-height: unset; }
}
@media (max-width: 600px) {
  .senv-pdp-info { padding: 24px 20px; }
  .senv-pdp-title { font-size: 32px; }
  .senv-pdp-cta-row { max-width: 100%; }
  .senv-single-product-page .senv-pdp-cta--buy { max-width: 100%; }
}
