/* 咖啡机产品目录组件样式 - 使用特定前缀避免冲突 */
.coffee-catalog-component * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.coffee-catalog-component {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.coffee-catalog-component .coffee-catalog {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 产品区域样式 */
.coffee-catalog-component .product-section {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    position: relative;
}

.coffee-catalog-component .product-section:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.coffee-catalog-component .product-section:last-child {
    border-bottom: none;
}

/* 产品图片区域 */
.coffee-catalog-component .product-image {
    flex: 0 0 430px;
    width: 430px;
    /* height: 430px; */
/*     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #f7f7f7 0%, #e3e3e3 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.coffee-catalog-component .logo {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.coffee-catalog-component .image-placeholder {
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 20px;
}

/* 产品图片样式 */
.coffee-catalog-component .product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* 产品信息区域 */
.coffee-catalog-component .product-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 品牌信息 */
.coffee-catalog-component .brand-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.coffee-catalog-component .brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

/* 图标样式 */
.coffee-catalog-component .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-align: center;
}

.coffee-catalog-component .brand-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.coffee-catalog-component .feature-icon {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.coffee-catalog-component .solution-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
}

/* 规格信息 */
.coffee-catalog-component .specifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.coffee-catalog-component .spec-item {
    font-size: 14px;
    color: #495057;
}

.coffee-catalog-component .spec-item strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 饮品种类 */
.coffee-catalog-component .beverage-types {
    background: #fff3cd;
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
}

.coffee-catalog-component .beverage-title {
    font-weight: 600;
    color: #856404;
    margin-bottom: 8px;
    font-size: 16px;
}

.coffee-catalog-component .beverage-list {
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

/* 特点 */
.coffee-catalog-component .features {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #d1ecf1;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #17a2b8;
}

.coffee-catalog-component .feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coffee-catalog-component .feature-text {
    color: #0c5460;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.coffee-catalog-component .feature-text:last-child {
    margin-bottom: 0;
}

/* 方案 */
.coffee-catalog-component .solutions {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8d7da;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
}

.coffee-catalog-component .solution-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coffee-catalog-component .solution-item {
    color: #721c24;
    font-size: 14px;
    line-height: 1.5;
    padding-left: 15px;
    position: relative;
}

.coffee-catalog-component .solution-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

/* 支付方式 */
.coffee-catalog-component .payment-methods {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.coffee-catalog-component .payment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #d4edda;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #c3e6cb;
}

.coffee-catalog-component .payment-icon {
    color: #155724;
    font-weight: bold;
    font-size: 16px;
}

.coffee-catalog-component .payment-text {
    color: #155724;
    font-size: 14px;
    font-weight: 500;
}

/* 新款标识 */
.coffee-catalog-component .new-model-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .coffee-catalog-component .product-section {
        flex-direction: column;
    }
    
    .coffee-catalog-component .product-image {
        flex: none;
        width: 100%;
        height: 300px;
        min-height: 300px;
    }
    
    .coffee-catalog-component .product-info {
        padding: 20px;
    }
    
    .coffee-catalog-component .specifications {
        grid-template-columns: 1fr;
    }
    
    .coffee-catalog-component .payment-methods {
        flex-direction: column;
        gap: 10px;
    }
    
    .coffee-catalog-component .brand-name {
        font-size: 20px;
    }
    
    .coffee-catalog-component .new-model-badge {
        position: static;
        margin-bottom: 15px;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .coffee-catalog-component .coffee-catalog {
        border-radius: 15px;
    }
    
    .coffee-catalog-component .product-info {
        padding: 15px;
        gap: 15px;
    }
    
    .coffee-catalog-component .specifications,
    .coffee-catalog-component .features,
    .coffee-catalog-component .solutions {
        padding: 15px;
    }
}

/* 动画效果 */
@keyframes coffeeCatalogFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coffee-catalog-component .product-section {
    animation: coffeeCatalogFadeInUp 0.6s ease-out;
}

.coffee-catalog-component .product-section:nth-child(1) { animation-delay: 0.1s; }
.coffee-catalog-component .product-section:nth-child(2) { animation-delay: 0.2s; }
.coffee-catalog-component .product-section:nth-child(3) { animation-delay: 0.3s; }
.coffee-catalog-component .product-section:nth-child(4) { animation-delay: 0.4s; }
.coffee-catalog-component .product-section:nth-child(5) { animation-delay: 0.5s; }
.coffee-catalog-component .product-section:nth-child(6) { animation-delay: 0.6s; }
.coffee-catalog-component .product-section:nth-child(7) { animation-delay: 0.7s; }
.coffee-catalog-component .product-section:nth-child(8) { animation-delay: 0.8s; }
.coffee-catalog-component .product-section:nth-child(9) { animation-delay: 0.9s; }
.coffee-catalog-component .product-section:nth-child(10) { animation-delay: 1.0s; }

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

