.offers {
    a.item {
        color: inherit;
        display: block;
        text-decoration: none;

        background-color: #FFF;
        padding: 4px;
        border-radius: 5px;
        box-shadow: 0px 5px 5px 0 rgba(0,0,0,.02);

        > div {
            padding: 10px 10px 5px 10px;
            display: flex;
            align-items: center;
            gap: 6px;
            justify-content: space-between;

            h4 {
                margin: 0;
                font-size: 16px;
                font-weight: 700;
                line-height: 1.1;
                overflow: hidden;
                text-overflow: ellipsis;
                /*white-space: nowrap;*/
                max-width: 80%;

                sup {
                    white-space: nowrap;
                    color: #F5A623;
                }
            }

            div {
                color: #999;
            }
        }

        picture {
            display: block;
            position: relative;
            width: 100%;
            aspect-ratio: 3 / 4;
            border-radius: 7px;
            overflow: hidden;
            background: #eee;

            img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .price {
            position: absolute;
            top: 11px;
            left: 11px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background-color: #FFFA;
            backdrop-filter: blur(8px);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            padding: 9px 12px 9px 10px;
            font-weight: 600;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;

            > .tip {
                display: inline-flex;
                align-items: center;
                gap: 0;
            }

            > .tip > img {
                display: block;
                width: 16px;
                height: 16px;
                flex-shrink: 0;
            }

            > .tip > span {
                display: inline-block;
                max-width: 0;
                overflow: hidden;
                white-space: nowrap;
                font-size: 13px;
                font-weight: 500;
                transition: max-width 0.3s ease, margin 0.3s ease;
            }
        }

        .icon {
            position: absolute;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: #FFFA;
            backdrop-filter: blur(8px);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            display: grid;
            place-items: center;

            img {
                display: block;
                width: 20px;
                height: 20px;
                object-fit: contain;
            }

            &.ski.tip {
                box-sizing: border-box;
                width: auto;
                min-width: 38px;
                height: 38px;
                padding: 0 9px;
                border-radius: 9999px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 0;

                > span {
                    display: inline-block;
                    max-width: 0;
                    overflow: hidden;
                    white-space: nowrap;
                    font-size: 13px;
                    font-weight: 500;
                    transition: max-width 0.3s ease, margin 0.3s ease;
                }
            }

            &.ski {
                top: 10px;
                right: 10px;
            }

            &.share {
                bottom: 10px;
                left: 10px;
            }

            &.favorite {
                right: 10px;
                bottom: 10px;
            }
        }

        @media (hover: hover) and (pointer: fine) {
            .price:hover > .tip > span,
            .icon.ski.tip:hover > span {
                max-width: 11em;
            }

            .price:hover > .tip > span {
                margin-left: 6px;
            }

            .icon.ski.tip:hover > span {
                margin: 0 6px;
            }
        }

        .price.open > .tip > span,
        .icon.ski.tip.open > span {
            max-width: 11em;
        }

        .price.open > .tip > span {
            margin-left: 6px;
        }

        .icon.ski.tip.open > span {
            margin: 0 6px;
        }

        small {
            display: block;
            color: #999;
            font-size: 13px;
            padding: 0 10px 5px 10px;
        }
    }
}

.offer {
    width: 100%;
    margin-bottom: 10px;
    padding: 20px;
    box-sizing: border-box;

    .gallery {
        position: relative;
        width: 100%;
        aspect-ratio: 3 / 4;
        border-radius: 7px;
        overflow: hidden;
        background: #eee;
    }

    .gallery > a {
        display: block;
        width: 100%;
        height: 100%;
    }

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

    .gallery .price-pill {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 1;
        background-color: #FFFC;
        backdrop-filter: blur(8px);
        padding: 8px 14px;
        border-radius: 7px;
        font-size: 15px;
        font-weight: 600;
        color: #222;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }

    .book .price-pill {
        background-color: #FFFC;
        backdrop-filter: blur(8px);
        padding: 8px 14px;
        border-radius: 7px;
        font-size: 15px;
        font-weight: 600;
        color: #222;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        white-space: nowrap;
    }

    .gallery .icon-btn {
        position: absolute;
        z-index: 3;
        width: 36px;
        height: 36px;
        border: none;
        border-radius: 50%;
        background: #FFFC;
        backdrop-filter: blur(8px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        overflow: hidden;
        -webkit-tap-highlight-color: transparent;
    }

    .gallery .icon-btn:active {
        filter: brightness(0.96);
    }

    .gallery .icon-btn svg,
    .gallery .icon-btn img {
        display: block;
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .gallery .icon-btn.share {
        bottom: 10px;
        left: 10px;
    }

    .gallery .icon-btn.share svg {
        transform: translateX(-1px);
    }

    .heart {
        position: absolute;
        bottom: 10px;
        right: 10px;
        z-index: 3;
        width: 36px;
        height: 36px;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: #FFFC;
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0,0,0,0.12);
        -webkit-tap-highlight-color: transparent;
    }

    .heart img {
        width: 22px;
        height: 22px;
        display: block;
        object-fit: contain;
    }

    .heart:active {
        filter: brightness(0.96);
    }

    .ski-in-out-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 3;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #FFFC;
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.12);
        pointer-events: none;
    }

    .ski-in-out-badge img {
        width: 22px;
        height: 22px;
        display: block;
        object-fit: contain;
    }

    .gallery .dots {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        z-index: 2;
        pointer-events: none;
    }

    .gallery .dots-dot {
        display: block;
        width: 12px;
        height: 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(0, 0, 0, 0.12);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
        transition: width 0.28s ease, background 0.2s ease;
        flex-shrink: 0;
    }

    .gallery .dots-dot--active {
        width: 25px;
        background: rgba(255, 255, 255, 0.92);
    }

    .info {
        display: block;
        text-decoration: none;
        color: #717171;
        margin-top: 12px;
    }

    .info > div {
        display: flex;
        align-items: center;
        gap: 6px;
        justify-content: space-between;
    }

    .info .star {
        font-size: 14px;
        color: var(--red);
        font-weight: 700;
    }

    .info h4 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #000;
    }

    .info h4 sup {
        font-size: 0.68em;
        font-weight: 600;
        letter-spacing: 0.03em;
        vertical-align: super;
        margin-left: 0.2em;
        color: #F5A623;
    }

    .info p {
        margin: 0;
        margin-top: 3px;
        font-size: 14px;
        color: #717171;
        line-height: 1.3;
    }

    .book {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-top: 10px;

        .price {
            font-size: 20px;
            font-weight: 600;
            color: #222;
            white-space: nowrap;
        }

        > a {
            display: block;
            text-align: center;
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 0.02em;
            background-color: var(--blue);
            color: var(--white);
            padding: 10px 25px;
            border-radius: 7px;
        }

        > a:hover {
            background-color: var(--blue-strong);
        }
    }

}