/* Amazon Card Link - amazon-card-link.css */
/* 画像のデザインに100%忠実なカードリンクスタイル */

.acl-card-wrap {
    margin: 1.5em 0;
}

.acl-card {
    display: block;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none !important;
    color: inherit !important;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    max-width: 680px;
}

.acl-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
    border-color: #a0a8a8;
    text-decoration: none !important;
    color: inherit !important;
}

.acl-card-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

/* 左側：テキスト情報エリア */
.acl-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 商品タイトル */
.acl-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f1111;
    line-height: 1.45;
    margin: 0 0 4px 0;
    word-break: break-word;
}

/* ドメイン */
.acl-card-domain {
    font-size: 12px;
    color: #007600;
    margin: 0 0 4px 0;
}

/* 価格行 */
.acl-card-price {
    font-size: 13px;
    color: #0f1111;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.acl-card-price-note {
    color: #565959;
    font-size: 11px;
}

.acl-card-price-detail {
    color: #007185;
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
}

/* 購入ボタン */
.acl-card-btn {
    display: inline-block;
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    border: 1px solid #a88734;
    border-radius: 3px;
    color: #111 !important;
    font-size: 13px;
    font-weight: normal;
    padding: 6px 14px;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(255,255,255,.4) inset;
    width: fit-content;
}

.acl-card:hover .acl-card-btn {
    background: linear-gradient(to bottom, #f5d78e, #eeb933);
}

/* 右側：商品画像 */
.acl-card-img-wrap {
    flex-shrink: 0;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acl-card-img {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    display: block;
}

/* レスポンシブ */
@media (max-width: 480px) {
    .acl-card-body {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .acl-card-img-wrap {
        width: 80px;
        align-self: flex-end;
    }
}
