.list-container {
    display: grid;
    gap: 16px;
    overflow-x: hidden;
}

.result-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.list-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    border: 1px solid rgba(24, 21, 18, 0.08);
    padding: 1rem;
    border-radius: 22px;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    min-height: 320px;
}

.result-card.featured {
    border-color: rgba(234, 107, 45, 0.35);
    box-shadow: 0 18px 38px rgba(234, 107, 45, 0.12);
}

.featured-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(234, 107, 45, 0.12);
    color: #b74b18;
    font-size: 0.78rem;
    font-weight: 700;
}

.featured-badge.secondary {
    background: rgba(24, 21, 18, 0.08);
    color: #181512;
}

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

.list-item img {
    max-width: 100%;
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 14px;
    background: #f8f4ef;
}

.result-copy {
    display: grid;
    gap: 6px;
}

.list-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    word-wrap: break-word;
    max-width: 100%;
    white-space: normal;
    color: #181512;
}

.list-item p {
    font-size: 0.93rem;
    margin: 0;
}

.result-meta {
    color: #6f645c;
}

.result-price {
    color: #1f1a16;
    font-weight: 700;
}

.result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.result-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(24, 21, 18, 0.06);
    color: #514741;
    font-size: 0.8rem;
    font-weight: 700;
}

.result-tag.strong {
    background: rgba(234, 107, 45, 0.14);
    color: #b74b18;
}

.result-tag.medium {
    background: rgba(24, 21, 18, 0.08);
    color: #181512;
}

.result-tag.light {
    background: rgba(24, 21, 18, 0.04);
}

.result-actions {
    margin-top: auto;
}

.result-link {
    position: relative;
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #181512;
    color: white !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}

.result-link-label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 32px);
    transform: translate(-50%, -50%);
    display: block;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.results-toolbar {
    padding: 14px 18px;
}

.results-overview {
    margin-bottom: 2px;
}

.results-explainer {
    margin: 12px 0 0;
    color: #6f645c;
    line-height: 1.6;
}

.result-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.compact-action {
    min-width: 0;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.extended-search-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 4px;
    color: #6f645c;
}

.extended-search-divider hr {
    flex: 1;
    border: none;
    border-top: 1px solid rgba(24, 21, 18, 0.12);
}

.extended-search-divider h2 {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wish-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: gray;
}

.wish-icon {
    font-size: 2.4rem;
    color: gray;
    display: inline-block;
}

.in-wishlist {
    color: #d73737;
}

.not-in-wishlist {
    color: rgba(24, 21, 18, 0.32);
}

@media (max-width: 640px) {
    .result-toolbar-actions {
        display: grid;
    }
}
