html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.saved-body,
.product-body,
.list-head > div {
    min-width: 0;
}

.saved-body h3,
.product-body h3,
.list-head h1,
.public-hero h1 {
    overflow-wrap: anywhere;
    hyphens: none;
}

.share-button {
    min-height: 48px;
    border: 0;
    background: var(--orange);
    color: #fff;
    box-shadow: 0 8px 22px rgba(238, 108, 57, .24);
}

.share-button:hover {
    background: var(--orange-dark);
    color: #fff;
}

.reserve-box summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 10px;
    align-items: center;
    min-height: 64px;
    padding: 10px 14px;
    text-align: left;
}

.reserve-box summary::before {
    display: none;
}

.reserve-summary-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #e4f2e8;
    color: #34845b;
    font-size: 19px;
    font-weight: 800;
}

.reserve-box summary strong,
.reserve-box summary small {
    display: block;
}

.reserve-box summary strong {
    color: var(--teal);
    font-size: 13px;
    line-height: 1.25;
}

.reserve-box summary small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
}

.reserve-box summary > b {
    color: var(--teal);
    font-size: 18px;
    transition: transform .2s ease;
}

.reserve-box[open] summary > b {
    transform: rotate(180deg);
}

.reserve-box form > p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.reserve-box form button {
    min-height: 48px;
    font-size: 13px;
}

@media (max-width: 620px) {
    .site-header {
        gap: 10px;
    }

    .brand {
        min-width: 0;
        flex-shrink: 1;
    }

    .brand strong {
        font-size: 18px;
    }

    .top-nav {
        flex-shrink: 0;
    }

    .public-hero {
        padding: 42px 0 46px;
    }

    .public-hero h1 {
        margin: 10px 0 14px;
        font-size: clamp(34px, 10.5vw, 43px);
        line-height: 1.08;
    }

    .public-hero p {
        max-width: 310px;
        margin-inline: auto;
        font-size: 14px;
    }

    .search-hero {
        padding: 25px 0 34px;
    }

    .list-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .list-head h1 {
        margin-bottom: 0;
        font-size: 27px;
        line-height: 1.15;
    }

    .share-button {
        width: 100%;
        justify-content: center;
        font-size: 14px;
    }

    .search-form {
        margin-top: 30px;
    }

    .search-form label {
        font-size: 34px;
    }

    .search-form > p {
        max-width: 330px;
        margin-inline: auto;
    }

    .search-box input {
        font-size: 16px;
    }

    .results-head,
    .saved-head,
    .public-list .saved-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .saved-head h2,
    .public-list h2 {
        font-size: 31px;
        line-height: 1.1;
    }

    .public-hint {
        max-width: 320px;
        margin: 0;
        line-height: 1.5;
    }

    .share-inline {
        width: 100%;
    }

    .share-inline button {
        width: 100%;
        min-height: 48px;
        background: var(--orange);
        font-size: 13px;
    }

    .product-card,
    .saved-card {
        display: flex;
        min-width: 0;
        flex-direction: column;
    }

    .product-image,
    .saved-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        flex: none;
        overflow: hidden;
        font-size: 0;
    }

    .product-image img,
    .saved-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-body,
    .saved-body {
        width: 100%;
        padding: 18px;
    }

    .product-body h3,
    .saved-body h3 {
        min-height: 0;
        margin: 7px 0;
        font-size: 19px;
        line-height: 1.28;
    }

    .product-body > strong,
    .saved-body > strong {
        margin-bottom: 14px;
        font-size: 19px;
    }

    .button-shop,
    .button-add {
        width: 100%;
        min-height: 46px;
        font-size: 13px;
    }

    .reserve-box {
        width: 100%;
    }

    .reserve-box summary {
        min-height: 70px;
        padding: 12px 15px;
    }

    .reserve-box summary strong {
        font-size: 14px;
    }

    .reserve-box form {
        gap: 9px;
        padding: 8px 15px 16px;
    }

    .reserve-box form label {
        font-size: 11px;
    }

    .reserve-box input {
        min-height: 46px;
        font-size: 16px;
    }

    .delete-form button {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .owner-reserved {
        top: 12px;
        right: 12px;
        bottom: auto;
        padding: 6px 10px;
        font-size: 10px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
        padding-block: 30px;
    }

    .site-footer nav {
        width: 100%;
        flex-wrap: wrap;
        margin: 3px 0;
    }
}

@media (max-width: 390px) {
    .top-nav .top-cta {
        padding: 7px 9px;
        font-size: 10px;
    }

    .search-box button {
        padding-inline: 14px;
    }
}
