/* Hub CTA */
.gift-quiz-open-btn {
    display: inline-block;
    color: #fff !important;
    border: 0;
    cursor: pointer;
    min-width: 180px;
}

.gift-quiz-open-btn:hover,
.gift-quiz-open-btn:focus {
    color: #fff !important;
    opacity: 0.95;
}

/* Modal shell */
#giftQuizModal .modal-content.gift-quiz {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.gift-quiz__header {
    align-items: flex-start;
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 0;
}

.gift-quiz__body {
    padding: 0.75rem 1.5rem 1rem;
}

.gift-quiz__footer {
    padding: 0.75rem 1.5rem 1.25rem;
    justify-content: space-between;
}

.gift-quiz__progress {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.gift-quiz__progress-bar {
    display: block;
    height: 100%;
    background: linear-gradient(0deg, #FF753A, #F95D2C);
    transition: width 0.25s ease;
}

.gift-quiz__question {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Choice buttons */
.gift-quiz__choice {
    width: 100%;
    min-height: 4.25rem;
    padding: 0.85rem 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.gift-quiz__choice:hover,
.gift-quiz__choice:focus {
    border-color: #F95D2C;
    box-shadow: 0 0 0 2px rgba(249, 93, 44, 0.15);
    background: #fffaf7;
    outline: none;
}

.gift-quiz__choice.is-active {
    border-color: #F95D2C;
    background: #fff3ec;
    box-shadow: 0 0 0 2px rgba(249, 93, 44, 0.2);
}

.gift-quiz__choice-title {
    display: block;
    font-weight: 700;
    color: #222;
}

.gift-quiz__choice-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
}

.gift-quiz__choice--wide {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Result cards */
.gift-quiz__card {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 0.85rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gift-quiz__card img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.65rem;
}

.gift-quiz__card-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    text-align: center;
}

.gift-quiz__card-price {
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.gift-quiz__card .btn {
    margin-top: auto;
    color: #fff !important;
}

.gift-quiz__redirect {
    text-align: center;
    padding: 1rem 0.5rem 0.5rem;
}

.gift-quiz__redirect .btn {
    color: #fff !important;
    min-width: 220px;
}

@media (max-width: 575.98px) {
    .gift-quiz__body,
    .gift-quiz__header,
    .gift-quiz__footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .gift-quiz__choice {
        min-height: 3.5rem;
        font-size: 0.9rem;
    }
}
