/* AC14 Avisos de disponibilidad — carrito y Mi cuenta */

/* Botones */
.ac14av-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 16px; border-radius: 10px; border: 1.5px solid transparent;
    font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
    cursor: pointer; transition: background .15s, color .15s, border-color .15s, filter .15s;
}
.ac14av-btn--ok { background: #12b76a; color: #fff !important; }
.ac14av-btn--ok:hover { filter: brightness(.92); }
.ac14av-btn--suave { background: #fff; border-color: #d0d5dd; color: #344054 !important; }
.ac14av-btn--suave:hover { background: #e4e7ec; }

/* Recuadro del carrito */
.ac14av-cartbox { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; }
.ac14av-cartbox__fila {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 16px; border: 1px solid; border-radius: 14px;
}
.ac14av-cartbox__fila--ok { background: #f6fef9; border-color: #abefc6; color: #054f31; }
.ac14av-cartbox__fila--espera { background: #fffcf5; border-color: #fedf89; color: #93370d; }
.ac14av-cartbox__ico {
    flex: 0 0 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; color: #fff;
}
.ac14av-cartbox__fila--ok .ac14av-cartbox__ico { background: #12b76a; }
.ac14av-cartbox__fila--espera .ac14av-cartbox__ico { background: #f79009; }
.ac14av-cartbox__txt { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.4; }
.ac14av-cartbox__txt strong { font-size: 14px; }
.ac14av-cartbox__txt span { overflow: hidden; text-overflow: ellipsis; }

/* Pestaña «Pendientes de stock» */
.ac14av__cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ac14av__tit { margin: 0 0 4px !important; font-size: 22px !important; font-weight: 800 !important; color: #111; }
.ac14av__sub { margin: 0; max-width: 620px; font-size: 13.5px; line-height: 1.5; color: #667085; }

.ac14av-vacio {
    text-align: center; padding: 44px 20px; color: #98a2b3;
    background: #fff; border: 1px dashed #d0d5dd; border-radius: 14px;
}
.ac14av-vacio h3 { margin: 12px 0 6px; font-size: 17px; color: #344054; }
.ac14av-vacio p { margin: 0 auto; max-width: 420px; font-size: 13.5px; line-height: 1.5; }

.ac14av-lista { display: flex; flex-direction: column; gap: 12px; }
.ac14av-item {
    display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 16px;
    padding: 14px 16px; background: #fff; border: 1px solid #e8e8ea; border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.ac14av-item--disponible { border-color: #abefc6; background: #fbfffd; }
.ac14av-item--descatalogado { background: #fafafa; }
.ac14av-item__img img { display: block; width: 76px; height: 76px; object-fit: contain; background: #f6f6f7; border-radius: 10px; padding: 6px; box-sizing: border-box; }
.ac14av-item--sin_stock .ac14av-item__img img, .ac14av-item--descatalogado .ac14av-item__img img { filter: grayscale(1); opacity: .6; }
.ac14av-item__sku { font-size: 11.5px; color: #8a8a90; margin-bottom: 3px; letter-spacing: .02em; }
.ac14av-item__nombre { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; color: #111 !important; text-decoration: none !important; }
.ac14av-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; color: #667085; }
.ac14av-item__nota { margin-top: 8px; font-size: 12.5px; color: #667085; }
.ac14av-item__sinprev { display: flex; align-items: flex-start; gap: 7px; margin-top: 8px; padding: 8px 12px; font-size: 13px; line-height: 1.4; color: #475467; background: #f2f4f7; border: 1px solid #e4e7ec; border-radius: 8px; }
.ac14av-item__sinprev svg { flex: none; margin-top: 2px; color: #667085; }
.ac14av-item__acc { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }

.ac14av-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ac14av-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ac14av-chip--ok { background: #ecfdf3; color: #067647; }
.ac14av-chip--espera { background: #fffaeb; color: #b54708; }
.ac14av-chip--desc { background: #f2f4f7; color: #475467; }

@media (max-width: 640px) {
    .ac14av-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
    .ac14av-item__img img { width: 64px; height: 64px; }
    .ac14av-item__acc { grid-column: 1 / -1; flex-direction: row; }
    .ac14av-item__acc .ac14av-btn { flex: 1; }
    .ac14av-cartbox__fila .ac14av-btn { width: 100%; }
}
