.test-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/static/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.test-header h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
}

.test-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.welcome-screen h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.welcome-screen ul {
    text-align: left;
    color: #555;
    line-height: 2;
    margin: 30px 0;
}

.btn-start-test {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 15px 40px;
    font-size: 1.2em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-start-test:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.progress-container {
    margin-bottom: 30px;
}

.progress {
    height: 30px;
    border-radius: 15px;
    background: #f0f0f0;
}

.progress-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.question-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.question-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    padding: 15px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1.05em;
}

.option-btn:hover {
    border-color: var(--accent-color);
    background: #f0f8f0;
}

.option-btn.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    font-weight: bold;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-nav {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.btn-prev {
    background: #6c757d;
    color: white;
}

.btn-next {
    background: var(--accent-color);
    color: white;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.results-container {
    text-align: center;
}

.results-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.flower-recommendation {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-color);
}

.flower-recommendation h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.flower-recommendation p {
    color: #555;
    margin: 0;
}

.hidden {
    display: none;
}

.product-purchase-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.product-image {
    flex: 1;
    min-width: 250px;
}

.product-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 15px;
}

.product-info p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.price-tag {
    background: var(--primary-color);
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.price {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
}

.btn-purchase {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 18px 45px;
    font-size: 1.3em;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    display: block;
    width: 100%;
    max-width: 400px;
}

.btn-purchase:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ef3f3f 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

@media (max-width: 768px) {
    .product-purchase-section {
        flex-direction: column;
        text-align: center;
    }

    .product-image img {
        max-width: 100%;
    }

    .btn-purchase {
        max-width: 100%;
    }
}

/* Best Sellers Slider */
.best-sellers-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin: 60px 0 0 0;
    overflow: hidden;
}

.slider-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.slide-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    min-width: 250px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slide-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.slide-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slide-info h5 {
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
}

.slide-price {
    color: var(--accent-color);
    font-size: 1.2em;
    font-weight: bold;
}

.slide-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.slide-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .slider-title {
        font-size: 1.5em;
    }
    
    .slide-card {
        min-width: 200px;
    }
}