.part-color-hero,
.part-color-overview,
.part-color-sets,
.part-color-not-found {
    width: 100%;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.part-color-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 18px;
    padding: 26px 28px;
    border: 1px solid #cfe0f4;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #f3f8ff 100%);
}

.part-color-eyebrow,
.part-color-section-label {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #075fe8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.part-color-hero h1 {
    margin: 10px 0 8px;
    color: #082452;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
}

.part-color-hero p,
.part-color-section-head p {
    margin: 0;
    color: #526b8a;
}

.part-color-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.part-color-btn {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bcd2ef;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
}

.part-color-btn--primary {
    color: #fff;
    border-color: #1766e8;
    background: #1766e8;
}

.part-color-btn--secondary {
    color: #0756bd;
    background: #fff;
}

.part-color-btn:focus-visible,
.part-color-sets a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .35);
    outline-offset: 3px;
}

.part-color-overview {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 28px;
    padding: 24px;
    border-radius: 18px;
}

.part-color-image {
    display: flex;
    min-height: 320px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e4f4;
    border-radius: 16px;
    background: #f7faff;
}

.part-color-image img {
    display: block;
    width: min(100%, 320px);
    height: 300px;
    padding: 16px;
    object-fit: contain;
    box-sizing: border-box;
}

.part-color-placeholder {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    color: #61758e;
}

.part-color-placeholder span {
    color: #082452;
    font-size: 24px;
    font-weight: 900;
}

.part-color-name {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 18px 0 22px;
}

.part-color-swatch {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border: 1px solid rgba(8, 36, 82, .18);
    border-radius: 18px;
    background: var(--part-color);
    box-shadow: 0 10px 24px rgba(16, 45, 84, .12);
}

.part-color-name h2 {
    margin: 0 0 5px;
    color: #082452;
    font-size: 30px;
}

.part-color-name p {
    margin: 0;
    color: #526b8a;
    font-weight: 800;
}

.part-color-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.part-color-facts > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid #d7e4f3;
    border-radius: 12px;
    background: #f8fbff;
}

.part-color-facts dt {
    margin-bottom: 6px;
    color: #60738d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.part-color-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #082452;
    font-weight: 800;
}

.part-color-fact-wide {
    grid-column: 1 / -1;
}

.part-color-sets {
    margin-top: 18px;
    padding: 20px;
    border-radius: 18px;
}

.part-color-section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.part-color-section-head h2 {
    margin: 0 0 6px;
    color: #082452;
}

.part-color-section-head > span {
    padding: 8px 12px;
    border: 1px solid #cfe0f4;
    border-radius: 999px;
    background: #eef6ff;
    color: #0756bd;
    font-weight: 800;
    white-space: nowrap;
}

.part-color-table-wrap {
    overflow-x: auto;
}

.part-color-sets table {
    width: 100%;
    min-width: 880px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.part-color-sets th {
    padding: 0 10px 7px;
    color: #60738d;
    font-size: 11px;
    letter-spacing: .05em;
    text-align: left;
    text-transform: uppercase;
}

.part-color-sets td {
    padding: 10px;
    border-top: 1px solid #d9e5f3;
    border-bottom: 1px solid #d9e5f3;
    background: #f9fbff;
    vertical-align: middle;
}

.part-color-sets td:first-child {
    border-left: 1px solid #d9e5f3;
    border-radius: 10px 0 0 10px;
}

.part-color-sets td:last-child {
    border-right: 1px solid #d9e5f3;
    border-radius: 0 10px 10px 0;
}

.part-color-sets a {
    color: #0756bd;
    font-weight: 800;
    text-decoration: none;
}

.part-color-set-image {
    display: flex;
    width: 76px;
    height: 58px;
    align-items: center;
    justify-content: center;
}

.part-color-set-thumb {
    width: 76px;
    height: 58px;
    object-fit: contain;
}

.part-color-set-placeholder {
    padding: 8px;
    border-radius: 8px;
    background: #ffcf00;
    color: #082452;
    font-weight: 900;
}

.part-color-empty {
    padding: 28px !important;
    color: #60738d;
    text-align: center;
}

.part-color-not-found {
    padding: 28px;
}

@media (max-width: 900px) {
    .part-color-hero,
    .part-color-section-head {
        flex-direction: column;
    }

    .part-color-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .part-color-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .part-color-hero,
    .part-color-overview,
    .part-color-sets {
        padding: 16px;
        border-radius: 14px;
    }

    .part-color-actions,
    .part-color-btn {
        width: 100%;
    }

    .part-color-facts {
        grid-template-columns: 1fr;
    }

    .part-color-fact-wide {
        grid-column: auto;
    }

    .part-color-image {
        min-height: 250px;
    }
}
