/* Professional product catalog */
.product-list-wrap {
    display: grid;
    gap: 22px;
}

.product-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.product-list-head h1 {
    margin: 7px 0 0;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.product-list-head p {
    max-width: 760px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.product-success {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #f0fdf4;
    color: #166534;
    font-size: 13px;
}

.product-success > span {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #dcfce7;
    font-weight: 900;
}

.catalog-toolbar {
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}

.catalog-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(190px, .5fr) auto;
    gap: 14px;
    align-items: end;
}

.catalog-search,
.catalog-select {
    display: grid;
    gap: 7px;
}

.catalog-search > span,
.catalog-select > span {
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.catalog-search input,
.catalog-select select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #fff;
    color: #0f172a;
    padding: 0 13px;
    outline: none;
}

.catalog-search input:focus,
.catalog-select select:focus {
    border-color: #64748b;
    box-shadow: 0 0 0 4px rgba(100, 116, 139, .10);
}

.catalog-filter-actions {
    display: flex;
    gap: 8px;
}

.product-catalog-panel {
    overflow: hidden;
}

.product-table td:first-child {
    min-width: 280px;
    white-space: normal;
}

.product-name {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.product-description {
    max-width: 540px;
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.product-price {
    color: #0f172a;
    font-weight: 800;
}

.status-pill {
    gap: 7px;
}

.status-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 999px;
    background: #94a3b8;
}

.status-pill-live .status-dot {
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .10);
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.product-actions form {
    margin: 0;
}

.product-delete-btn {
    min-height: 40px;
    border-color: #fecaca;
    background: #fff;
    color: #b91c1c;
}

.product-delete-btn:hover {
    border-color: #fca5a5;
    background: #fef2f2;
}

.catalog-pagination {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-top: 1px solid #eef2f7;
}

.catalog-page-status {
    min-width: 120px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.btnx.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 820px) {
    .product-list-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-list-head .btnx {
        width: 100%;
    }

    .catalog-filter-form {
        grid-template-columns: 1fr;
    }

    .catalog-filter-actions .btnx {
        flex: 1;
    }
}

@media (max-width: 720px) {
    .product-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-actions .btnx {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .catalog-filter-actions,
    .catalog-pagination {
        flex-direction: column;
    }

    .catalog-filter-actions .btnx,
    .catalog-pagination .btnx {
        width: 100%;
    }

    .catalog-page-status {
        order: -1;
    }
}
