.offer-page {
    overflow-x: hidden;
    background: #f2ece1;
    color: #1a1510;
    font-family: "Hanken Grotesk", sans-serif;
}

[data-offer-selected-need]:not([hidden]) {
    display: flex;
}

.offer-title-link {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.offer-card {
    min-height: auto;
    border: 1px solid rgba(26, 21, 16, .14);
    border-radius: 16px;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.offer-card:hover {
    z-index: 2;
    border-color: #a97e3c;
    box-shadow: 0 14px 30px rgba(26, 21, 16, .11);
    transform: translateY(-5px) scale(1.012);
}

.offer-card:hover .offer-title-link {
    color: #a97e3c;
}

.offer-detail .offer-arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform .25s ease;
}

.offer-detail:hover .offer-arrow {
    transform: translateX(4px);
}

.offer-search:focus {
    border-color: #a97e3c !important;
    outline: 2px solid rgba(169, 126, 60, .22);
    outline-offset: 2px;
}

.offer-chip {
    display: inline-flex;
    height: 40px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 18px;
    border: 1px solid rgba(26, 21, 16, .24);
    border-radius: 999px;
    background: transparent;
    color: #1a1510;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    white-space: nowrap;
    cursor: pointer;
}

.offer-chip[aria-pressed="true"] {
    border-color: #1a1510;
    background: #1a1510;
    color: #f2ece1;
}

.offer-booksy,
.offer-detail {
    border-radius: 10px;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.offer-grid {
    gap: 22px !important;
    border: 0 !important;
    background: transparent !important;
}

.offer-card__spacer {
    height: 12px !important;
    flex-basis: 12px !important;
}

.offer-booksy:hover {
    border-color: #a97e3c !important;
    background: #a97e3c;
    color: #1a1510 !important;
}

@media (min-width: 640px) {
    .offer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 639px) {
    .offer-grid {
        gap: 14px !important;
    }

    .offer-card {
        border-radius: 14px;
    }
}

@media (min-width: 1000px) {
    .offer-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 1023px) {
    .offer-page {
        padding-bottom: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-page * {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
