/**
 * 商品価格表示とアフィリエイトリンク用スタイル
 *
 * @package collemi
 */

/* 価格表示のぼかし効果 */
.blurred-price-container {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.blurred-price {
    filter: blur(4px);
    transition: filter 0.3s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    color: #333;
    font-weight: 600;
}

/* ホバー時のブラー解除を無効化
.blurred-price-container:hover .blurred-price {
    filter: blur(0);
}
*/

/* 「クリックして表示」メッセージ用スタイル（非表示）
.price-reveal-message {
    font-size: 0.7rem;
    color: #777;
    margin-left: 5px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.blurred-price-container:hover .price-reveal-message {
    opacity: 0;
}
*/

/* アフィリエイトボタンスタイル */
.affiliate-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.affiliate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 6px;
    background-color: var(--accent-color, #C44569);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 130px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.affiliate-button:hover {
    background-color: var(--accent-color-dark, #B83B5E);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: white;
}

.affiliate-button:visited, 
.affiliate-button:focus, 
.affiliate-button:active {
    color: white;
    text-decoration: none;
}

.affiliate-button i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.affiliate-button.rakuten {
    background-color: #BF0000;
}

.affiliate-button.rakuten:hover {
    background-color: #A60000;
}

.affiliate-button.amazon {
    background-color: #FF9900;
}

.affiliate-button.amazon:hover {
    background-color: #E68A00;
}

.affiliate-button.mercari {
    background-color: #FF0211;
}

.affiliate-button.mercari:hover {
    background-color: #E00010;
}

.affiliate-button.official {
    background-color: #333333;
}

.affiliate-button.official:hover {
    background-color: #222222;
}

.affiliate-disclaimer {
    font-size: 0.75rem;
    color: #888;
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(248, 248, 248, 0.7);
    border-radius: 5px;
}

.product-info-label {
    font-weight: 600;
    color: #555;
    margin-right: 5px;
}

.product-info-value {
    color: var(--text-color, #333);
}

.product-info-value.brand {
    color: var(--accent-color, #C44569);
    font-weight: 500;
}

.product-info-value.category {
    color: #666;
    font-size: 0.9em;
}

.category-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    position: relative;
}

.category-link:hover {
    color: var(--accent-color, #C44569);
    text-decoration: underline;
}

.category-link:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color, #C44569);
    transition: width 0.3s ease;
}

.category-link:hover:after {
    width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .affiliate-buttons {
        flex-direction: column;
    }
    
    .affiliate-button {
        width: 100%;
    }
}
