* {
    box-sizing: border-box;
}


body {

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f5f5;

    color: #222;

}


.container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 30px;

}


header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

}


h1 {

    margin: 0;

    font-size: 28px;

}


.search input {

    width: 420px;

    padding: 13px 16px;

    border:
        1px solid #ccc;

    border-radius: 6px;

    font-size: 16px;

}


.filters {

    display: flex;

    gap: 10px;

    margin-bottom: 20px;

}


select,
button {

    padding: 10px 14px;

    border:
        1px solid #ccc;

    border-radius: 6px;

    background: white;

    font-size: 14px;

}


button {

    cursor: pointer;

}


.status {

    margin-bottom: 10px;

    color: #666;

    font-size: 14px;

}


table {

    width: 100%;

    border-collapse: collapse;

    background: white;

}


th,
td {

    padding: 12px 14px;

    border-bottom:
        1px solid #eee;

    text-align: left;

}


th {

    background: #eee;

    font-weight: 600;

}


tbody tr {

    cursor: pointer;

}


tbody tr:hover {

    background: #f2f2f2;

}


.modal {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.45);

    display: flex;

    align-items: center;

    justify-content: center;

}


.hidden {

    display: none;

}


.modal-content {

    position: relative;

    background: white;

    width: 600px;

    max-width: 90%;

    padding: 35px;

    border-radius: 10px;

}


.close {

    position: absolute;

    right: 15px;

    top: 10px;

    border: none;

    font-size: 28px;

    background: none;

}


.detail-row {

    display: grid;

    grid-template-columns: 160px 1fr;

    padding: 9px 0;

    border-bottom:
        1px solid #eee;

}


.detail-label {

    font-weight: bold;

    color: #666;

}

.discontinued-badge {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 7px;
    border-radius: 4px;
    background: #f8d7da;
    color: #842029;
    font-size: 11px;
    font-weight: 600;
}

.discontinued-colours {
    margin-top: 5px;
    color: #9a6700;
    font-size: 11px;
    font-weight: 600;
}