/* Productos relacionados (promo-related) */
.promo-box {
    background: #FDFDFD;
    border-radius: 10px;
    padding: 16px;
    margin-block: 10px;
    font-family: Inter, sans-serif;
  }
  
  .promo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;   /* misma fila en móvil y escritorio */
  }
  
  .promo-row input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    accent-color: #6F8CFF;
    border-radius: 6px;
  }
  
  .promo-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0;
    min-width: 0;
    cursor: pointer;
  }
  
  .promo-content img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    background: #fff;
  }
  
  .promo-info { flex: 1 1 auto; min-width: 0; }
  
  .promo-title {
    font-weight: 500;
    color: #5073EE;
    margin: 0;
    font-size: 12px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .promo-price { font-size: 13px; margin: 4px 0 0; color: #333; }
  .promo-price strong { font-weight: 700; }
  
  /* ---------- Desplegable (mismo diseño que la referencia) ---------- */
  .promo-dd {
    position: relative;
    flex: 0 0 auto;
    min-width: 96px;
    max-width: 100%;
    margin-left: auto;
  }
  
  .promo-dd__btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 9px 12px !important;
    background: #fff !important;
    border: 1px solid #BFD9F2 !important;
    border-radius: 8px !important;
    color: #111 !important;
    font-size: 14px !important;
    line-height: 1.2;
    text-align: center;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .15s, box-shadow .15s;
  }
  
  .promo-dd__btn:hover,
  .promo-dd__btn:active { background: #fff !important; color: #111 !important; border-color: #8FBDE8 !important; }
  
  .promo-dd__btn:focus-visible,
  .promo-dd.is-open .promo-dd__btn {
    background: #fff !important;
    border-color: #6F9FD8 !important;
    box-shadow: 0 0 0 3px rgba(111, 159, 216, .25);
  }
  
  .promo-dd__text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    padding: 0 14px;   /* espacio simétrico para que el texto quede centrado */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .promo-dd__chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -4px;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #6b7280;
    border-bottom: 1.5px solid #6b7280;
    transform: rotate(45deg);
    transition: transform .15s;
  }
  
  .promo-dd.is-open .promo-dd__chevron { transform: rotate(-135deg); margin-top: -1px; }
  
  .promo-dd__list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    width: max-content;
    max-width: 260px;
    max-height: 240px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #DCE8F5;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(10, 17, 40, .14);
    outline: none;
  }
  
  .promo-dd__list[hidden] { display: none; }
  .promo-dd.is-up .promo-dd__list { top: auto; bottom: calc(100% + 6px); }
  
  .promo-dd__opt {
    margin: 0;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #111;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
  }
  
  .promo-dd__opt + .promo-dd__opt { margin-top: 2px; }
  .promo-dd__opt.is-active { background: #EEF4FB; }
  
  .promo-dd__opt[aria-selected="true"] {
    background: #0A1128;
    color: #fff;
  }
  
  .promo-dd__opt.is-disabled {
    opacity: .4;
    text-decoration: line-through;
    cursor: not-allowed;
  }
  
  /* Móvil: misma disposición que escritorio, solo más compacto */
  @media (max-width: 480px) {
    .promo-box { padding: 12px; }
    .promo-row { gap: 8px; }
    .promo-content { gap: 10px; }
    .promo-title { font-size: 14px; }
    .promo-dd { min-width: 78px; margin-left: 0; }
    .promo-dd__btn { padding: 9px 10px !important; }
    .promo-dd__chevron { right: 10px; }
    .promo-dd__text { padding: 0 12px; }
    .promo-dd__list { left: auto; right: 0; }   /* la lista no se sale de la pantalla */
  }
  
  @media (prefers-reduced-motion: reduce) {
    .promo-dd__btn, .promo-dd__chevron { transition: none; }
  }