#searchResultQuery {
    margin-top: 24px;
}

#searchResultQuery .tfy-home-results-state {
    border: 1px solid #e3e6eb;
    border-radius: 12px;
    padding: 16px;
    background: #ffffff;
    color: #4b5563;
    font-size: 14px;
}

#searchResultQuery .tfy-home-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#searchResultQuery .tfy-home-result-section {
    border: 1px solid #e3e6eb;
    border-radius: 14px;
    background: #ffffff;
    padding: 16px;
}

#searchResultQuery .tfy-home-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

#searchResultQuery .tfy-home-result-head h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

#searchResultQuery .tfy-home-result-more {
    font-size: 14px;
    text-decoration: underline;
}

#searchResultQuery .tfy-home-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#searchResultQuery .tfy-home-result-card {
    border-radius: 17px;
    border: 1px solid #FF4AB7;
    background: #FFF;
    box-shadow: 0 12px 23.7px -3px rgba(172, 190, 213, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#searchResultQuery .tfy-home-result-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f5f7fa;
}

#searchResultQuery .tfy-home-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #0b57d0;
}

#searchResultQuery .tfy-home-result-thumb-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #6b7280;
}

#searchResultQuery .tfy-home-result-body {
    padding: 14px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 215px;
}

#searchResultQuery .tfy-home-result-brief {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.35;
}

#searchResultQuery .tfy-home-result-body h4 {
    margin: 0;
    font-size: 19px;
    line-height: 1.25;
}

#searchResultQuery .tfy-home-result-body h4 a {
    color: #122361;
    text-decoration: none;
}

#searchResultQuery .tfy-home-result-reviews {
    display: flex;
    align-items: center;
    gap: 8px;
}

#searchResultQuery .tfy-home-result-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

#searchResultQuery .tfy-home-star {
    line-height: 1;
    font-size: 17px;
}

#searchResultQuery .tfy-home-star.is-filled {
    color: #FF4AB7;
}

#searchResultQuery .tfy-home-star.is-empty {
    color: #ffc8ea;
}

#searchResultQuery .tfy-home-result-review-text {
    color: #6b7280;
    font-size: 13px;
}

#searchResultQuery .tfy-home-result-price-row {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#searchResultQuery .tfy-home-result-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

#searchResultQuery .tfy-home-result-price-label {
    color: #6b7280;
    font-size: 15px;
}

#searchResultQuery .tfy-home-result-price strong {
    color: #0b57d0;
    font-size: 31px;
    line-height: 1;
}

#searchResultQuery .tfy-home-result-details {
    min-width: 138px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #FF4AB7;
    background: linear-gradient(90deg, #F74BB3 0%, #022CC4 100%);
    padding: 10px 14px;
    line-height: 1.1;
}

#searchResultQuery .tfy-home-result-details:hover {
    color: #fff;
    opacity: 0.94;
}

#searchResultQuery .tfy-home-result-empty {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 1024px) {
    #searchResultQuery .tfy-home-result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #searchResultQuery .tfy-home-result-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #searchResultQuery .tfy-home-result-body h4 {
        font-size: 18px;
    }

    #searchResultQuery .tfy-home-result-price-label {
        font-size: 14px;
    }

    #searchResultQuery .tfy-home-result-price strong {
        font-size: 28px;
    }
}

#searchResultQuery .tfy-home-result-section.tfy-fade-in {
    animation: tfyFadeInUp 220ms ease-out;
}

@keyframes tfyFadeInUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    #searchResultQuery .tfy-home-result-section.tfy-fade-in {
        animation: none !important;
    }
}
