/** Shopify CDN: Minification failed

Line 6:12 Unexpected "*"

**/
.ebike-quiz-* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F9F7F3 !important;
    margin: 0;
    padding: 0;
}

.ebike-quiz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background-color: #F9F7F3;
}

.ebike-quiz-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ebike-quiz-title,          
.ebike-question-title,      
.ebike-no-results h3,       
.ebike-option-title         
{
    color: #7A8B6F !important;
}

.ebike-quiz-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.ebike-quiz-subtitle {
    font-size: 1.8rem;
    color: #7A8B6F;
    margin-bottom: 3rem;
}

.ebike-progress-container {
    background: #E5E7EB;
    height: 12px;
    border-radius: 20px;
    margin-bottom: 4rem;
    overflow: hidden;
}

.ebike-progress-bar {
    background: linear-gradient(90deg, #7A8B60, #8BA573) !important;
    height: 100% !important;
    border-radius: 20px !important;
    transition: width 0.6s ease !important;
    width: 0% !important;
    display: block !important; 
}

.ebike-question-container {
    background-color: transparent;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.ebike-question-number {
    color: #7A8B60;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ebike-question-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 4rem;
}

.ebike-question-subtitle {
    color: #7A8B60;
    margin-bottom: 3rem;
    font-size: 1.4rem;
}

.ebike-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.ebike-option-card {
    border: 2px solid #E5E7EB;
    border-radius: 20px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
}

.ebike-option-card:hover {
    border-color: #7A8B60;
    box-shadow: 0 8px 25px rgba(122, 139, 96, 0.15);
    transform: translateY(-2px);
}

.ebike-option-card.selected {
    border-color: #7A8B60;
    background: rgba(122, 139, 96, 0.05);
    box-shadow: 0 8px 25px rgba(122, 139, 96, 0.2);
}

.ebike-option-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.ebike-option-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ebike-option-description {
    color: #7A8B60;
    font-size: 1.2rem;
    line-height: 1.4;
}

.ebike-range-container {
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.ebike-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    border-radius: 20px;
    background: #E5E7EB;
    outline: none;
    margin: 2rem 0;
    cursor: pointer;
}

.ebike-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #7A8B60;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(122, 139, 96, 0.3);
    transition: all 0.2s ease;
}

.ebike-range-slider::-moz-range-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #7A8B60;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(122, 139, 96, 0.3);
}

.ebike-range-labels {
    display: flex;
    justify-content: space-between;
    color: #6B7280;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.ebike-range-value {
    text-align: center;
    font-size: 2.2rem;
    color: #7A8B60;
    font-weight: 600;
    margin: 2rem 0;
}

.ebike-navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.ebike-btn-previous, .ebike-btn-confirm {
    padding: 1.2rem 3rem;
    border: 1px solid #7A8B6F;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #F9F7F3;
    color: #7A8B6F;
}

.ebike-btn-previous:hover, .ebike-btn-confirm:hover {
    background: #7A8B6F;
    color: #F9F7F3;
}

.ebike-results-container {
    display: none;
    animation: fadeIn 0.8s ease;
}

.ebike-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1200px;
}

.ebike-no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 3rem 1rem;
    background-color: F9F7F3;
    border-radius: 12px;
    border: 2px dashed #7A8B60;
}

.ebike-no-results h3 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.ebike-no-results p {
    color: #7A8B60;
    font-size: 1.5rem;
}

.ebike-restart-quiz {
    text-align: center;
    margin-top: 4rem;
}

.ebike-restart-btn {
    background: none;
    border: 1px solid #7A8B60;
    color: #7A8B60;
    padding: 1.3rem 2.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ebike-restart-btn:hover {
    background: #7A8B6F;
    color: #F9F7F3;
}

.ebike-loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #F9F7F3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.ebike-loading-text {
    font-size: 1.5rem;
    color: #7A8B6F;
    margin-top: 1.5rem;
    font-weight: 600;
}

.ebike-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #F9F7F3;
    border-top: 4px solid #7A8B6F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 产品卡片样式 */
.ebike-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ebike-product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.ebike-product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #F9F7F3;
}

.ebike-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ebike-product-card:hover .ebike-product-image {
    transform: scale(1.05);
}

.ebike-product-emoji {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #7A8B6F;
    background: #F9F7F3;
}

.ebike-quick-view-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #F9F7F3 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
}

.ebike-quick-view-btn:hover {
    background: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transform: scale(1.05) !important;
}

.ebike-quick-view-btn .visually-hidden,
.ebike-quick-view-btn .text {
    display: none !important;
}

.ebike-quick-view-icon {
    width: 20px !important;
    height: 20px !important;
    color: #7A8B6F !important;
}

.ebike-product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ebike-match-badge {
    background: #F9F7F3;
    color: #7A8B6F;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
    width: fit-content;
    border: 1px solid #7A8B6F!important;
}

.ebike-product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
}

.ebike-product-title:hover {
    color: #7A8B6F;
}

.ebike-price-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ebike-price-original {
    color: #7A8B6F;
    text-decoration: line-through;
    font-size: 1.1rem;
}

.ebike-price-current {
    color: #7A8B6F;
    font-size: 1.4rem;
    font-weight: 700;
}

.ebike-save-badge {
    background: red;
    color: #F9F7F3;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ebike-view-detail-btn {
    background: #F9F7F3;
    color: #7A8B6F;
    border: 1px solid #7A8B6F;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
    margin-bottom: 1rem;
}

.ebike-view-detail-btn:hover {
    background: #7A8B6F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 139, 96, 0.3);
    color: #F9F7F3;
}

.ebike-compare-btn {
    background: #F9F7F3 !important;
    color: #7A8B6F !important;
    border: 1px solid #7A8B6F !important;
    padding: 1.55rem 1.55rem !important;
    border-radius: 20px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ebike-compare-btn:hover {
    background: #7A8B6F !important;
    color: #F9F7F3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(122, 139, 96, 0.3) !important;
}

.ebike-compare-btn.selected {
    background: #7A8B6F !important;
    color: #F9F7F3 !important;
    box-shadow: 0 2px 8px rgba(122, 139, 96, 0.3) !important;
}

.ebike-compare-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.ebike-compare-panel {
    position: fixed !important;
    background: #7A8B6F !important;
    color:#F9F7F3 !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 99999 !important;
    font-family: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.ebike-compare-panel[style*="display: block"] {
    display: block !important;
}

.ebike-compare-panel:hover {
    background: #7A8B6F !important;
    box-shadow: 0 6px 25px rgba(122, 139, 96, 0.5) !important;
}

@media (min-width: 769px) {
    .ebike-compare-panel:hover {
        transform: translateY(-10%) translateY(-2px) !important; 
    }
}

@media (max-width: 768px) {
    .ebike-compare-panel:hover {
        transform: translateX(-50%) translateY(-2px) !important;  
    }
}

.ebike-compare-content {
    display: flex !important;
    align-items: center !important;
    font-weight: 600 !important;
}

.ebike-compare-text {
    font-size: 1rem !important;
    color: #F9F7F3 !important;
}

.ebike-compare-count {
    font-size: 0.9rem !important;
    color: #F9F7F3 !important;
}

/* 桌面端和手机端样式 */
@media (min-width: 769px) {
    .ebike-compare-panel {
        right: 20px !important;
        top: 50% !important;
    }
    
    .ebike-compare-content {
        flex-direction: column !important;
    }
}

@media (max-width: 768px) {
    .ebike-quiz-container {
        padding: 1.5rem;
    }
    
    .ebike-quiz-title {
        font-size: 2.5rem;
    }
    
    .ebike-options-grid {
        grid-template-columns: 1fr;
    }
    
    .ebike-navigation-buttons {
        flex-direction: column;
    }
    
    .ebike-btn-previous, .ebike-btn-confirm {
        width: 100%;
    }
    
    .ebike-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .ebike-results-container .ebike-quiz-title {
        font-size: 2rem;
    }
    
    .ebike-product-image-container {
        height: 200px;
    }
    
    .ebike-compare-panel {
    bottom: 65px !important; 
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    top: auto !important;
    }
    
    .ebike-compare-content {
        flex-direction: row !important;
    }
}

/* Toast 提示样式 */
.ebike-compare-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid;
}

.ebike-compare-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.ebike-compare-toast-add {
    background: #F9F7F3;
    color: #7A8B6F;
    border-color: #7A8B6F;
}

.ebike-compare-toast-remove {
    background: #7A8B6F;
    color: #F9F7F3;
    border-color: #7A8B6F;
}

.ebike-compare-toast-warning {
    background: #F9F7F3;
    color: #F59E0B;
    border-color: #F59E0B;
}

/* Compare弹窗样式 */
.ebike-compare-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ebike-compare-modal.show {
    opacity: 1;
}

.ebike-compare-modal-content {
    background: #F9F7F3;
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.ebike-compare-modal-header {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #F9F7F3;
    padding-bottom: 1rem;
    /* 移除重复的display: flex; */
}

.ebike-compare-modal-header h2 {
    color: #7A8B6F;
    font-size: 2rem;
    margin: 0;
    position: absolute; 
    left: 50%;
    transform: translateX(-50%); 
}

.ebike-compare-close {
    background: #F9F7F3;
    border: 1px solid #7A8B6F!important;
    font-size: 2rem;
    color: #7A8B6F;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 1; 
}

.ebike-compare-close:hover {
    background: #F9F7F3;
}

.ebike-compare-products-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ebike-compare-product-header {
    text-align: center;
    padding: 1.5rem;
    background: #F9F7F3;
    border-radius: 16px;
}

.ebike-compare-product-image {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.ebike-compare-product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.ebike-compare-product-price {
    margin-bottom: 1rem;
}

.ebike-compare-product-price .original-price {
    color: #7A8B6F;
    text-decoration: line-through;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.ebike-compare-product-price .current-price {
    color: #7A8B6F;
    font-size: 1.3rem;
    font-weight: 700;
}

.ebike-compare-product-price .save-amount {
    background: red;
    color: #F9F7F3;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.ebike-compare-remove-btn {
    background: #F9F7F3;
    color: #7A8B6F;
    border: 0.5px solid #7A8B6F;
    padding: 1.2rem 1.2rem;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ebike-compare-remove-btn:hover {
    background: #7A8B6F;
    color: #F9F7F3;
}

.ebike-compare-specifications {
    margin-top: 2rem;
}

.ebike-compare-specifications h3 {
    color: #7A8B6F;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.ebike-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ebike-compare-table th {
    background: #7A8B6F;
    color: #F9F7F3;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-left: 1px solid #F9F7F3;
}

.ebike-compare-table td {
    padding: 1rem;
    border-bottom: 1px solid #7A8B6F;
    border-left: 1px solid #7a8b60;
    border-right: 1px solid #7a8b60;
}

.ebike-compare-table tr:nth-child(even) {
    background: #F9F7F3;
}

.ebike-compare-table .spec-name {
    font-weight: 600;
    color: #7A8B6F;
    background: #F9F7F3 !important;
    width: 200px;
}

.ebike-compare-table .spec-value {
    color:rgb(80, 88, 74);
}

.no-specifications {
    text-align: center;
    color: #7A8B6F;
    font-style: italic;
    padding: 2rem;
}

/* 动画关键帧 */
@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ebike-question-fade-out {
    animation: fadeOut 0.4s ease forwards;
}

.ebike-question-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

.ebike-question-container.hidden {
    opacity: 0;
}

/* 响应式样式补充 */
@media (max-width: 992px) {
    .ebike-results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ebike-compare-modal-content {
        padding: 1.5rem;
    }
    
    .ebike-compare-products-header {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ebike-compare-modal-content {
        margin: 1rem;
        padding: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .ebike-compare-products-header {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .ebike-compare-table {
        font-size: 0.9rem;
    }
    
    .ebike-compare-table th,
    .ebike-compare-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .ebike-compare-table .spec-name {
        width: 120px;
        font-size: 0.85rem;
    }
    
    .ebike-compare-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        text-align: center;
        transform: translateY(-100%);
    }
    
    .ebike-compare-toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .ebike-results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ebike-product-image-container {
        height: 400px;
    }
    
    .ebike-price-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .ebike-compare-modal-content {
        margin: 0.5rem;
        padding: 1rem;
        max-height: calc(100vh - 1rem);
    }
    
    .ebike-compare-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .ebike-compare-product-header {
        padding: 1rem;
    }
    
    .ebike-compare-product-image {
        height: 120px;
    }
    
    .ebike-compare-table {
        font-size: 0.8rem;
        min-width: 500px;
    }
    
    .ebike-compare-table th,
    .ebike-compare-table td {
        padding: 0.6rem 0.4rem;
    }
    
    .ebike-compare-specifications {
        overflow-x: auto;
    }
}

@media (max-width: 375px) {
    .ebike-results-grid {
        gap: 1rem;
    }
    
    .ebike-compare-modal-content {
        margin: 0.25rem;
        padding: 0.8rem;
    }
}

.ebike-quiz-header {
    margin-bottom: 2rem;
}

.ebike-results-container .ebike-quiz-title {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}