.scratch-page {
    min-height: 600px;
    background: #f3f4f6;
    color: #24262b;
}

.scratch-hero {
    width: 100%;
    overflow: hidden;
}

.scratch-hero__image {
    display: block;
    width: 100%;
    height: auto;
}

.scratch-content {
    position: relative;
    margin-top: 30px;
    padding-bottom: 48px;
}

.scratch-feature {
    display: grid;
    grid-template-columns: 710px minmax(0, 1fr);
    height: 435px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--site-shadow);
}

.scratch-carousel {
    position: relative;
    width: 710px;
    height: 435px;
    min-width: 0;
    overflow: hidden;
    background: #f7e1cd;
}

.scratch-carousel__slides,
.scratch-carousel__slide {
    width: 100%;
    height: 100%;
}

.scratch-carousel__slide {
    position: absolute;
    inset: 0;
    display: block;
    visibility: hidden;
    transition: none;
    will-change: transform;
}

.scratch-carousel__slide.is-active {
    visibility: visible;
}

.scratch-carousel.is-enhanced .scratch-carousel__slide[hidden] {
    display: none;
}

.scratch-carousel.is-enhanced .scratch-carousel__slide.is-active,
.scratch-carousel.is-enhanced .scratch-carousel__slide.is-transitioning {
    display: block;
    visibility: visible;
}

.scratch-carousel.is-enhanced.is-animating .scratch-carousel__slide.is-transitioning {
    transition: transform .52s cubic-bezier(.22, .61, .36, 1);
}

.scratch-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scratch-carousel__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 44px;
    padding: 10px 112px 10px 16px;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .72) 52%, rgba(0, 0, 0, 0) 100%);
}

.scratch-carousel__dots {
    position: absolute;
    right: 18px;
    bottom: 0;
    z-index: 3;
    display: flex;
    height: 44px;
    align-items: center;
    gap: 0;
}

.scratch-carousel__dot {
    position: relative;
    width: 24px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.scratch-carousel__dot::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(255, 255, 255, .42);
    content: "";
    transform: translate(-50%, -50%);
}

.scratch-carousel__dot.is-active::before { background: #fff; }
.scratch-carousel__empty { display: grid; height: 100%; place-items: center; color: #9b7b64; }

.scratch-news {
    height: 435px;
    padding: 20px 30px 8px;
    background: #fff;
}

.scratch-news__header,
.scratch-section__header {
    display: flex;
    align-items: center;
}

.scratch-news__header {
    height: 32px;
    min-height: 32px;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.scratch-news__header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.scratch-news__header a,
.scratch-section__header a {
    margin-left: auto;
    color: var(--site-red);
    font-size: 13px;
}

.scratch-news__header a { line-height: 32px; }

.scratch-news__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.scratch-news__list li {
    position: relative;
    padding-left: 18px;
}

.scratch-news__list li::before {
    position: absolute;
    top: 20px;
    left: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--site-red);
    content: "";
}

.scratch-news__list a {
    display: block;
    overflow: hidden;
    color: var(--site-text);
    font-size: 18px;
    line-height: 44px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scratch-news__empty { color: #999; }

.scratch-section {
    margin-bottom: 30px;
    padding: 32px 24px 30px;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--site-shadow);
}

.scratch-section__header {
    height: 54px;
    margin-bottom: 38px;
    border-bottom: 2px solid rgba(0, 0, 0, .2);
}

.scratch-section__header h2 {
    position: relative;
    z-index: 1;
    top: 2px;
    align-self: stretch;
    width: 205px;
    min-width: 205px;
    margin: 0;
    padding: 11px 24px;
    border-radius: 14px 14px 0 0;
    color: #fff;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    background: #e0000f;
}

.scratch-section__line {
    display: none;
}

.scratch-section__header a {
    display: flex;
    height: 54px;
    align-items: center;
    padding-left: 22px;
    color: #c9002b;
    font-size: 16px;
}

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

.scratch-product {
    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: #2c2e33;
    text-align: center;
    box-shadow: 0 8px 22px rgba(23, 32, 39, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.scratch-product: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__image {
    display: flex;
    width: 279px;
    height: 406px;
    min-height: 406px;
    align-items: center;
    align-self: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
}

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

.scratch-product 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-products__empty {
    grid-column: 1 / -1;
    margin: 28px 0;
    color: #999;
    text-align: center;
}

@media (max-width: 1024px) {
    .scratch-feature { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); }
    .scratch-carousel { width: 100%; }
    .scratch-products { grid-template-columns: repeat(3, 274px); }
}

@media (max-width: 768px) {
    .scratch-content { width: calc(100% - 24px); margin-top: 16px; padding: 0 0 36px; }
    .scratch-feature { display: block; height: auto; }
    .scratch-carousel { width: 100%; max-width: 100%; height: auto; aspect-ratio: 710 / 435; }
    .scratch-news { width: 100%; max-width: 100%; height: auto; min-width: 0; padding: 20px 16px 16px; }
    .scratch-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .scratch-product { width: 100%; height: auto; min-height: 0; }
    .scratch-product__image { width: 100%; height: auto; min-height: 0; aspect-ratio: 279 / 406; }
    .scratch-product strong { min-height: 62px; font-size: 16px; line-height: 22px; }
}

@media (max-width: 480px) {
    .scratch-news__header h2 { font-size: 22px; }
    .scratch-news__list a { font-size: 16px; line-height: 44px; }
    .scratch-news__list li::before { top: 20px; }
    .scratch-section { padding: 18px 14px 22px; }
    .scratch-section__header { height: 38px; margin-bottom: 16px; }
    .scratch-section__header h2 { width: 126px; min-width: 126px; padding: 7px 14px; font-size: 18px; line-height: 24px; }
    .scratch-section__header a { height: 38px; padding-left: 12px; font-size: 14px; }
    .scratch-products { gap: 16px 10px; }
    .scratch-product strong { min-height: 58px; padding: 8px 6px; font-size: 14px; line-height: 20px; }
}
