/*
 * Napoleon Store Specs — grid de especificações do produto (confproduct)
 * + refino do card do item no checkout (Rever Pedido). Pele cirúrgica:
 * verde #00AB66, painéis brancos, Inter, zero brega.
 */

/* ---- grid de specs (confproduct) ---- */
.np-specs { margin-top: 6px; }
.np-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: #F2F4F7;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  overflow: hidden;
}
.np-spec {
  background: #fff;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.np-spec-icon { color: #00AB66; margin-top: 2px; flex: 0 0 auto; }
.np-spec-body { min-width: 0; }
.np-spec-label {
  display: block;
  font-size: 11.5px;
  color: #667085;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.np-spec-value { display: block; font-size: 13.5px; font-weight: 600; color: #17191C; margin-top: 1px; }

/* chips dos itens grátis */
.np-specs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.np-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #027A48;
  background: rgba(0, 171, 102, 0.08);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: default;
}
.np-chip strong { font-weight: 700; }

/* tooltips educativos (hover no desktop, toque no mobile) */
.np-spec-help {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 5px;
  border-radius: 50%;
  background: #EEF0F2;
  color: #98A2B3;
  font-size: 9.5px;
  font-weight: 700;
  cursor: help;
  vertical-align: 1px;
}
.np-spec-help::after,
.np-chip[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(3px);
  width: 220px;
  background: #17191C;
  color: #fff;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 50;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
}
.np-spec-help:hover::after,
.np-spec-help:focus::after,
.np-spec-help.np-tip-open::after,
.np-chip[data-tip]:hover::after,
.np-chip.np-tip-open::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 575.98px) {
  .np-spec-help::after, .np-chip[data-tip]::after { width: 180px; }
}

/* ---- confproduct: venda do ciclo longo ---- */
.np-cycle-perk {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #027A48;
  background: rgba(0, 171, 102, 0.08);
  border-radius: 999px;
  padding: 3px 10px;
}
#sectionCycles .panel-check { position: relative; }
.np-cycle-best {
  position: absolute;
  top: -9px;
  right: 12px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #17191C;
  border-radius: 4px;
  padding: 3px 9px;
  z-index: 2;
}
.np-cycle-note { margin: 8px 0 0; font-size: 12.5px; color: #475467; line-height: 1.5; }
.np-cycle-note strong { color: #027A48; }

/* ---- checkout: card do item (Rever Pedido) ---- */
.np-cart-refined .cart-heading { display: none; }
.np-cart-refined .panel-body { padding: 6px 20px; }
.np-cart-refined .cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.np-cart-refined .cart-item-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 260px;
  min-width: 0;
}
.np-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 171, 102, 0.08);
  color: #00AB66;
  flex: 0 0 auto;
}
.np-cart-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #98A2B3;
}
.np-cart-nome { display: block; font-size: 15.5px; font-weight: 700; color: #17191C; line-height: 1.3; }
.np-cart-domain {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #475467;
  background: #F2F4F7;
  border-radius: 999px;
  padding: 2px 10px;
  margin-top: 5px;
}
.np-cart-refined .cart-item-pricing-dropdown .btn {
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  padding: 8px 12px;
}
.np-cart-refined .cart-item-price { font-weight: 700; color: #17191C; }
.np-cart-refined .cart-item-actions .btn { color: #98A2B3; }
.np-cart-refined .panel-footer { background: #FAFAFA; }
.np-cart-refined .panel-footer .btn { border-radius: 8px; }
