.inventory-table-wrap{width:100%;overflow-x:auto;margin-top:18px;border:1px solid #bde5df;border-radius:16px;background:#fff}
.inventory-table{min-width:1120px;margin:0}
.inventory-table th{background:#effcf9;color:#155b5b;font-size:12px;white-space:nowrap}
.inventory-table td{padding:14px 12px;white-space:nowrap}
.inventory-table tbody tr:hover{background:#f7fffd}
.inventory-product{display:grid;grid-template-columns:76px minmax(150px,1fr);align-items:center;gap:12px;white-space:normal}
.inventory-product img,.inventory-product .inventory-no-photo{width:76px;height:62px;object-fit:contain;border-radius:10px;background:#f1eee7;display:grid;place-items:center;font-size:12px;color:#6d675f}
.inventory-product>div{display:flex;flex-direction:column;gap:4px}
.inventory-status{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:850}
.inventory-status.status-waiting{background:#fff1cf;color:#805800}.inventory-status.status-for_sale{background:#dffff1;color:#08754c}.inventory-status.status-reserved{background:#dff5ff;color:#096787}.inventory-status.status-sold_out{background:#f1f1f1;color:#676767}
.inventory-table .inventory-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px}.inventory-table .inventory-actions a,.inventory-table .inventory-actions button{min-height:36px;padding:7px 10px;border:1px solid #9bded6;border-radius:9px;background:#fff;color:#155b5b;text-align:center;font:inherit;font-size:13px;font-weight:800;text-decoration:none;cursor:pointer}.inventory-table .inventory-actions button{background:linear-gradient(135deg,#35dbff,#31ffa9);border-color:#25cdb4;color:#103f3d}.inventory-table .stock-alert{display:block;color:#a15c00;font-size:11px;font-weight:800;white-space:normal}
@media(max-width:700px){.inventory-table-wrap{border-radius:12px}.inventory-table{min-width:980px}.inventory-product{grid-template-columns:60px 150px}.inventory-product img,.inventory-product .inventory-no-photo{width:60px;height:54px}}
.article-overview-wrap{margin-top:0}.article-overview{min-width:1160px}.article-overview .inventory-product small{color:#6d675f}.article-row-actions{display:flex;flex-direction:column;gap:6px;min-width:108px}.article-row-actions a,.article-row-actions button{display:flex;justify-content:center;align-items:center;width:100%;min-height:36px;padding:7px 10px;border:1px solid #9bded6;border-radius:9px;background:#fff;color:#155b5b;text-align:center;font:inherit;font-size:13px;font-weight:800;text-decoration:none;cursor:pointer}.article-row-actions a.sell{background:linear-gradient(135deg,#35dbff,#31ffa9);border-color:#25cdb4;color:#103f3d}.article-row-actions button{border-color:#e2b5b5;color:#8f2929}.article-row-actions form{margin:0}
.inventory-table-wrap{overflow-x:visible}.inventory-table,.article-overview{width:100%;min-width:0;table-layout:fixed}.inventory-table th,.inventory-table td{white-space:normal;overflow-wrap:anywhere}.article-overview th:nth-child(1){width:22%}.article-overview th:nth-child(2){width:10%}.article-overview.is-admin th:nth-child(3){width:10%}.article-overview.is-admin th:nth-child(4){width:10%}.article-overview.is-admin th:nth-child(5){width:8%}.article-overview.is-admin th:nth-child(6){width:9%}.article-overview.is-admin th:nth-child(7){width:6%}.article-overview.is-admin th:nth-child(8){width:10%}.article-overview.is-admin th:nth-child(9){width:15%}.article-overview .inventory-product{grid-template-columns:58px minmax(0,1fr)}.article-overview .inventory-product img,.article-overview .inventory-product .inventory-no-photo{width:58px;height:50px}.article-overview .article-row-actions{min-width:118px}.article-overview .article-row-actions a,.article-overview .article-row-actions button{padding:7px 8px;font-size:12px;white-space:nowrap;overflow-wrap:normal;word-break:normal;hyphens:none}.article-overview td:last-child{overflow-wrap:normal;word-break:normal}
@media(max-width:850px){
  .inventory-table-wrap{border:0;background:transparent;overflow:visible}.inventory-table thead{display:none}.inventory-table,.inventory-table tbody{display:block;width:100%}.inventory-table tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-bottom:14px;border:1px solid #bde5df;border-radius:14px;background:#fff;overflow:hidden}.inventory-table tbody td{display:flex;flex-direction:column;gap:5px;padding:12px;border-bottom:1px solid #e4efed;white-space:normal}.inventory-table tbody td:first-child{grid-column:1/-1;background:#f5fffc}.inventory-table tbody td:last-child{grid-column:1/-1;border-bottom:0}.inventory-table tbody td:before{display:block;color:#60716f;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.article-overview.is-admin td:nth-child(2):before{content:'Inseratstatus'}.article-overview.is-admin td:nth-child(3):before{content:'Lagerstatus'}.article-overview.is-admin td:nth-child(4):before{content:'Letzte Inventur'}.article-overview.is-admin td:nth-child(5):before{content:'Einkauf'}.article-overview.is-admin td:nth-child(6):before{content:'Verkauf'}.article-overview.is-admin td:nth-child(7):before{content:'Stück'}.article-overview.is-admin td:nth-child(8):before{content:'Lagerort'}.article-overview.is-admin td:nth-child(9):before{content:'Aktionen'}.article-overview.is-user td:nth-child(2):before{content:'Inseratstatus'}.article-overview.is-user td:nth-child(3):before{content:'Verkaufspreis'}.article-overview.is-user td:nth-child(4):before{content:'Aktionen'}.inventory-table:not(.article-overview) td:nth-child(2):before{content:'Status'}.inventory-table:not(.article-overview) td:nth-child(3):before{content:'Letzte Inventur'}.inventory-table:not(.article-overview) td:nth-child(4):before{content:'Einkauf'}.inventory-table:not(.article-overview) td:nth-child(5):before{content:'Verkauf'}.inventory-table:not(.article-overview) td:nth-child(6):before{content:'Stück'}.inventory-table:not(.article-overview) td:nth-child(7):before{content:'Lagerort'}.inventory-table:not(.article-overview) td:nth-child(8):before{content:'Aktionen'}.article-row-actions,.inventory-table .inventory-actions{display:grid;grid-template-columns:repeat(3,1fr);min-width:0}.inventory-product{grid-template-columns:64px minmax(0,1fr)}
}
@media(max-width:480px){.inventory-table tbody tr{grid-template-columns:1fr}.inventory-table tbody td,.inventory-table tbody td:first-child,.inventory-table tbody td:last-child{grid-column:1}.article-row-actions,.inventory-table .inventory-actions{grid-template-columns:1fr}}
.article-row-actions button.danger{border-color:#e08f8f;background:#fff5f5;color:#9f2020}.article-row-actions button.danger:hover{background:#ffe5e5}
