.scratch-list-page {
    min-height: 720px;
    padding: 32px 0 60px;
    color: var(--site-text);
    background: var(--site-background);
}

.scratch-list-shell {
    width: min(1200px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
}

.scratch-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 26px;
    color: var(--site-muted);
    font-size: 16px;
    line-height: 24px;
}

.scratch-breadcrumb a:hover { color: var(--site-red); }

.scratch-list-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
}

.scratch-list-tab {
    display: inline-flex;
    width: 124px;
    min-width: 124px;
    height: 50px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8cbd2;
    border-radius: 4px;
    color: #b26c78;
    background: #f4e7ea;
    font-size: 20px;
    line-height: 1;
    white-space: nowrap;
}

.scratch-list-tab:hover {
    color: var(--site-red);
    border-color: rgba(201, 0, 43, .32);
    background: #f9edf0;
}

.scratch-list-tab.is-active {
    color: #fff;
    border-color: var(--site-red);
    background: var(--site-red);
}

.scratch-list-card {
    overflow: hidden;
    padding: 24px 40px 28px;
    border-top: 4px solid var(--site-red);
    border-radius: 10px;
    background: var(--site-card);
    box-shadow: 0 10px 30px rgba(23, 32, 39, .08);
}

.scratch-product-list .scratch-list-card {
    padding-right: 24px;
    padding-left: 24px;
    border-top-width: 4px;
}

.scratch-list-heading {
    display: flex;
    min-height: 78px;
    align-items: center;
    border-bottom: 1px solid #eceef1;
}

.scratch-list-heading h1 {
    margin: 0;
    color: #25272c;
    font-size: 26px;
}

.scratch-list-heading span {
    margin-left: auto;
    color: #a0a2a7;
    font-size: 14px;
}

.scratch-article-list {
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
}

.scratch-article-list li {
    display: grid;
    min-height: 52px;
    grid-template-columns: 10px minmax(0, 1fr) 100px;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #eceef1;
}

.scratch-article-list__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--site-red);
}

.scratch-article-list a {
    overflow: hidden;
    color: #383b40;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scratch-article-list a:hover { color: var(--site-red); }

.scratch-article-list time {
    color: #999ca2;
    font-size: 14px;
    text-align: right;
}

.scratch-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 274px);
    gap: 24px 16px;
    justify-content: space-between;
    padding: 28px 0 8px;
}

.scratch-product-card {
    display: flex;
    width: 274px;
    height: 485px;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-top: 4px solid transparent;
    border-radius: 5px;
    background: #fff;
    color: #2d3035;
    text-align: center;
    box-shadow: 0 8px 22px rgba(23, 32, 39, .12);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.scratch-product-card:hover {
    border-top-color: var(--site-red);
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(23, 32, 39, .18), 0 8px 20px rgba(201, 0, 43, .14);
}

.scratch-product-card__image {
    display: flex;
    width: 279px;
    height: 406px;
    min-height: 406px;
    padding: 0;
    align-items: center;
    align-self: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.scratch-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scratch-product-card__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffb30b, #ed003b);
}

.scratch-product-card strong {
    display: flex;
    min-height: 75px;
    flex: 1;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 12px;
    overflow: hidden;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scratch-product-card time {
    display: none;
}

.scratch-list-empty {
    margin: 0;
    padding: 90px 20px;
    color: #999ca2;
    text-align: center;
}

.scratch-load-more {
    display: flex;
    min-height: 76px;
    padding-top: 24px;
    align-items: center;
    justify-content: center;
}

.scratch-load-more__button,
.scratch-load-more__end {
    display: inline-flex;
    min-width: 150px;
    min-height: 36px;
    padding: 7px 22px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    color: #999ca2;
    text-align: center;
    background: #f1f2f4;
}

.scratch-load-more__button:hover {
    color: var(--site-red);
    background: #f9e9ec;
}

.scratch-load-more__button[aria-disabled="true"] {
    pointer-events: none;
}

.scratch-pagination {
    display: flex;
    gap: 8px;
    min-height: 76px;
    padding-top: 24px;
    align-items: center;
    justify-content: center;
}

.scratch-pagination a,
.scratch-pagination span {
    display: inline-flex;
    min-width: 38px;
    height: 36px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e4e8;
    border-radius: 3px;
    color: #666a70;
    background: #fff;
}

.scratch-pagination a:hover,
.scratch-pagination .is-active {
    border-color: var(--site-red);
    color: #fff;
    background: var(--site-red);
}

.scratch-pagination .is-disabled {
    color: #b9bbc0;
    background: #f5f6f8;
}

@media (max-width: 1024px) {
    .scratch-product-grid { grid-template-columns: repeat(3, 274px); }
}

@media (max-width: 960px) {
    .scratch-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scratch-product-card { width: 100%; height: auto; min-height: 0; }
    .scratch-product-card__image { width: 100%; height: auto; min-height: 0; aspect-ratio: 279 / 406; }
    .scratch-product-card strong { min-height: 70px; }
}

@media (max-width: 767px) {
    .scratch-list-page { min-height: 0; padding: 24px 0 38px; }
    .scratch-list-shell { width: calc(100% - 24px); }
    .scratch-breadcrumb { margin-bottom: 14px; font-size: 15px; line-height: 24px; }
    .scratch-list-tabs { gap: 8px; margin-bottom: 16px; }
    .scratch-list-tab { width: auto; min-width: 0; height: 44px; flex: 1; padding: 0 8px; font-size: 17px; }
    .scratch-list-card { padding: 0 16px 20px; }
    .scratch-product-list .scratch-list-card { padding-right: 16px; padding-left: 16px; border-top-width: 3px; }
    .scratch-list-heading { min-height: 64px; }
    .scratch-list-heading h1 { font-size: 22px; }
    .scratch-article-list li { grid-template-columns: 8px minmax(0, 1fr); padding: 11px 0; }
    .scratch-article-list a { white-space: normal; overflow-wrap: anywhere; }
    .scratch-article-list time { grid-column: 2; text-align: left; }
    .scratch-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .scratch-product-card strong { min-height: 62px; padding: 8px 6px; font-size: 16px; line-height: 22px; }
    .scratch-pagination { gap: 5px; flex-wrap: wrap; }
}

@media (max-width: 420px) {
    .scratch-product-card strong { min-height: 58px; font-size: 14px; line-height: 20px; }
    .scratch-pagination a,
    .scratch-pagination span { min-width: 34px; height: 34px; padding: 0 9px; }
}
