/* ---------------------------------------------------------------------------
   Saved items.

   The list a heart fills. Deliberately plain: it is a holding place, and the
   decision it exists for is "buy this now or let it go", so each row offers
   exactly those two and nothing else.
   ------------------------------------------------------------------------ */

.saved-section { padding: 26px 0 40px; }

.saved-head {
    margin: 0 0 4px;
    font-size: 22px;
    color: #1e1e1e;
}

.saved-count,
.saved-note {
    margin: 0 0 18px;
    font-size: 13.5px;
    color: #6b7280;
}

.saved-note { color: #1f6f3a; }

/* ---- nothing saved yet --------------------------------------------------- */
.saved-empty {
    max-width: 420px;
    margin: 30px auto;
    padding: 34px 24px;
    border: 1px dashed #e0d9d2;
    border-radius: 16px;
    text-align: center;
}

.saved-empty i {
    font-size: 30px;
    color: #c8bdb3;
}

.saved-empty p {
    margin: 14px 0 0;
    font-size: 15px;
    color: #1e1e1e;
}

.saved-empty-how {
    font-size: 13.5px !important;
    color: #6b7280 !important;
}

.saved-shop {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 20px;
    border-radius: 24px;
    background: #7d0a0a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* ---- the list ------------------------------------------------------------ */
.saved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
    gap: 16px;
}

.saved-card {
    display: flex;
    gap: 14px;
    padding: 12px;
    border: 1px solid #ece6df;
    border-radius: 14px;
    background: #fff;
}

.saved-card-art {
    flex: none;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f3ee;
    color: #c8bdb3;
}

.saved-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saved-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.saved-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e1e1e;
    text-decoration: none;
    /* Two lines, then an ellipsis: a long name must not push the price out. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.saved-card-price {
    margin: 6px 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #7d0a0a;
}

.saved-card-price s {
    margin-left: 6px;
    font-size: 13px;
    font-weight: 400;
    color: #9aa0a6;
}

.saved-card-do {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.saved-card-do form { margin: 0; }

.saved-add {
    padding: 8px 14px;
    border: 1px solid #7d0a0a;
    border-radius: 20px;
    background: #7d0a0a;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.saved-drop {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ece6df;
    border-radius: 50%;
    background: #fff;
    color: #b3131b;
    font-size: 14px;
    cursor: pointer;
}

.saved-drop:hover { background: #fdf1f1; }

@media (max-width: 480px) {
    .saved-section { padding: 18px 0 30px; }
    .saved-grid { gap: 12px; }
    .saved-card { padding: 10px; gap: 11px; }
    .saved-card-art { width: 72px; height: 72px; }
}
