/* =========================================================
   PDP — BLOQUE 1 · ENTRADA (Nombre + Precio)
   Objetivo: anclar y calmar
   Scope: .lqsp-titleflow y .lqsp-priceflow
   ========================================================= */

.lqsp-titleflow {
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* Reducido para acercar el subtítulo al título principal */

  padding-top: 0;
  /* aire arriba */

  background: transparent;
}

/* Nombre del producto */
.lqsp-titleflow .product_title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #1d1d1f;
}

/* =========================
   ACLARATORIO CONDICIÓN
========================= */
/* Subtítulo / Capacidad / Configuración */
.lqsp-titleflow .lq-card-condition {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #86868B;
  margin-top: 4px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* =========================
   CHIPS PDP (estilo pill, armonizando con badge descuento)
========================= */
.lqsp-chipsflow .offer-card__chips {
  display: flex;
  gap: 6px;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  /* Aire antes del precio */
}

.lqsp-chipsflow .offer-card__chips .lq-chip {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  /* Pill style identical to sale badge */
  line-height: 1;
}

.lqsp-chipsflow .offer-card__chips .lq-chip--custom {
  background: #f1f2f4;
  color: #333;
}

.lqsp-chipsflow .offer-card__chips .lq-chip--cvn {
  background: #f0ecfc !important;
  /* Soft background */
  color: #5A37E6 !important;
}

.lqsp-chipsflow .offer-card__chips .lq-chip--ship {
  background: #e6f6ec !important;
  color: #00a650 !important;
}



/* Mobile fine-tuning */
@media (max-width: 980px) {


  .lqsp-titleflow .product_title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.022em;
    color: #1D1D1F;
  }
}

.lq-shipping-dynamic {
  color: #5a4bde;
  /* Violeta tech en lugar de verde ML */
  padding-top: 24px;
  font-weight: 600;
  font-size: 14px;
}
/* =========================================================
   STICKY HEADER (INTEGRADO EN HEADER)
   ========================================================= */

.lq-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 20px;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.lq-sticky-header.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.lq-sticky-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.lq-sticky-header__left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.lq-sticky-header__img-wrap {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: #fbfbfd;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lq-sticky-header__img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.lq-sticky-header__content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lq-sticky-header__name {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.lq-sticky-header__price {
    font-size: 13px;
    color: #86868b;
    font-weight: 500;
}

.lq-sticky-header__buy {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 480px) {
    .lq-sticky-header__name {
        max-width: 150px;
    }
}
