/**
 * EC Card - Rinker風カードスタイル
 */

.ec-card {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin: 1.5em 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    gap: 16px;
}

.ec-card-image {
    flex: 0 0 auto;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-card-image img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 4px;
}

.ec-card-content {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ec-card-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ec-card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ec-card-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s, transform 0.2s;
    min-width: 120px;
}

.ec-card-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Plugin Boutique - ピンク */
.ec-btn-pb {
    background: linear-gradient(135deg, #e91e8c, #c2185b);
    color: #fff !important;
}

/* Amazon - オレンジ */
.ec-btn-amazon {
    background: linear-gradient(135deg, #ff9900, #e68a00);
    color: #fff !important;
}

/* Beatcloud - 青 */
.ec-btn-beatcloud {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: #fff !important;
}

/* サウンドハウス - 緑 */
.ec-btn-soundhouse {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: #fff !important;
}

/* 楽天 - 赤 */
.ec-btn-rakuten {
    background: linear-gradient(135deg, #bf0000, #990000);
    color: #fff !important;
}

/* Yahoo - 赤紫 */
.ec-btn-yahoo {
    background: linear-gradient(135deg, #ff0033, #cc0029);
    color: #fff !important;
}

/* デフォルト - グレー */
.ec-btn-default {
    background: linear-gradient(135deg, #666, #444);
    color: #fff !important;
}

/* レスポンシブ */
@media (max-width: 600px) {
    .ec-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ec-card-image {
        width: 120px;
    }

    .ec-card-content {
        min-width: auto;
        width: 100%;
    }

    .ec-card-buttons {
        justify-content: center;
    }

    .ec-card-btn {
        flex: 1;
        min-width: 100px;
    }
}
