.shoe-catalog {
    padding: 24px 12px 40px;
    color: #242424;
    font-family: 'Roboto', sans-serif;
}

.shoe-heading {
    width: min(100%, 880px);
    margin: 0 auto 24px;
    text-align: center;
}

.shoe-heading h1 {
    margin: 0 0 12px;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.shoe-heading p {
    margin: 0 auto 8px;
    font-size: 17px;
    line-height: 1.55;
}

.shoe-heading .shoe-request-note {
    color: #555;
    font-size: 15px;
}

.shoe-toolbar {
    display: flex;
    align-items: end;
    gap: 14px 22px;
    width: min(100%, 1440px);
    margin: 0 auto 20px;
    padding: 15px 18px;
    background: #f4f5f7;
    border-radius: 6px;
}

.shoe-toolbar label {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.shoe-toolbar select {
    min-width: 190px;
    min-height: 42px;
    padding: 8px 36px 8px 10px;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #222;
    font: inherit;
}

.shoe-count {
    margin: 0 0 10px auto;
}

.shoe-empty {
    width: min(100%, 1440px);
    margin: 0 auto 20px;
    padding: 20px;
    background: #fff3f3;
    border: 1px solid #efc8c8;
    text-align: center;
}

.shoe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 320px));
    justify-content: start;
    gap: 18px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.shoe-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(20, 21, 26, .12);
}

.shoe-card[hidden] {
    display: none;
}

.shoe-image-button {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #e5e8ed;
    border: 0;
    cursor: zoom-in;
}

.shoe-image-button img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .2s ease;
}

.shoe-image-button:hover img,
.shoe-image-button:focus-visible img {
    transform: scale(1.025);
}

.shoe-image-button:focus-visible {
    outline: 3px solid #f12224;
    outline-offset: -3px;
}

.shoe-details {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
}

.shoe-return {
    width: min(100%, 760px);
    margin: 34px auto 0;
    padding: 22px;
    background: #f4f5f7;
    border-radius: 6px;
    text-align: center;
}

.shoe-return h2 {
    margin: 0 0 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
}

.shoe-return p {
    margin: 0 0 12px;
    line-height: 1.5;
}

.shoe-return a {
    display: inline-block;
    padding: 10px 16px;
    color: #fff;
    background: #d71517;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-decoration: none;
}

.shoe-return a:hover,
.shoe-return a:focus-visible {
    background: #a91113;
}

.shoe-lightbox {
    width: min(94vw, 1400px);
    max-width: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
}

.shoe-lightbox::backdrop {
    background: rgba(0, 0, 0, .88);
}

.shoe-lightbox img {
    display: block;
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.shoe-lightbox-close {
    position: absolute;
    z-index: 1;
    top: -18px;
    right: -8px;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    font-size: 34px;
    line-height: 38px;
    background: #f12224;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 560px) {
    .shoe-catalog {
        padding: 14px 10px 30px;
    }

    .shoe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .shoe-heading {
        margin-bottom: 18px;
    }

    .shoe-heading p {
        font-size: 15px;
    }

    .shoe-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 7px;
        padding: 12px;
    }

    .shoe-toolbar select {
        width: 100%;
    }

    .shoe-count {
        margin: 3px 0 0;
    }

    .shoe-details {
        flex-direction: column;
        gap: 2px;
        padding: 9px 10px;
        font-size: 14px;
        text-align: left;
    }
}
