/* Toptan satış sayfası */
.tp { max-width: 1200px; margin: 0 auto; padding: 20px 16px 48px; }
.tp-head h1 { font-size: 26px; font-weight: 800; margin: 0; }
.tp-lead { margin: 6px 0 0; font-size: 14px; color: #555; max-width: 60ch; line-height: 1.5; }
.tp-lock { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #fff8e1; border: 1px solid #f3dfa0; font-size: 14px; }
.tp-lock p { margin: 0; }
.tp-lock-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid #d8d2c4; background: #fff; color: #222; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.tp-btn-main { background: #b5651d; border-color: #b5651d; color: #fff; }
.tp-filter { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.tp-filter input, .tp-filter select { min-height: 38px; padding: 0 10px; border: 1px solid #d8d2c4; border-radius: 10px; font-size: 14px; background: #fff; }
.tp-filter input { flex: 1 1 220px; min-width: 0; }
.tp-filter select { flex: 0 1 220px; min-width: 0; }
.tp-grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tp-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tp-card { display: flex; flex-direction: column; border: 1px solid #ece7dc; border-radius: 12px; overflow: hidden; background: #fff; }
.tp-img { position: relative; display: block; aspect-ratio: 4 / 5; background: #f7f4ee; }
.tp-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tp-out { position: absolute; inset: auto 0 0 0; padding: 4px; text-align: center; font-size: 12px; color: #fff; background: rgba(0,0,0,.65); }
.tp-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 10px; }
.tp-name { font-size: 13px; line-height: 1.3; color: #222; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.tp-price { margin: auto 0 0; font-size: 12px; color: #2e7d32; font-weight: 600; }
.tp-price b { font-size: 16px; color: #2e7d32; }
.tp-retail { margin: 0; font-size: 12px; color: #888; }
.tp-add { display: flex; gap: 6px; margin-top: 6px; }
.tp-add input { width: 58px; min-height: 38px; border: 1px solid #d8d2c4; border-radius: 10px; text-align: center; font-size: 14px; }
.tp-add .tp-btn { flex: 1; padding: 0 8px; }
.tp-hidden { margin-top: auto; padding: 8px; border-radius: 10px; background: #f7f4ee; font-size: 12px; font-weight: 600; color: #6b4a1e; text-align: center; text-decoration: none; }
.tp-empty { margin-top: 24px; color: #666; }
.tp-pages { margin-top: 20px; }
.tp-add .tp-btn { font-size: 13px; white-space: nowrap; }
.tp-save { margin: 2px 0 0; display: inline-block; padding: 2px 8px; border-radius: 999px; background: #fff4d6; color: #6b4a00; font-size: 11px; font-weight: 700; }
.tp-retail { margin-top: auto; } .tp-retail + .tp-price { margin-top: 0; }
