.gp-aff-card {
    margin: 4em auto;
    padding: 2.5em;
    background: transparent;
    border: 1px solid #333;
    max-width: 780px;
}

.gp-aff-inner {
    display: flex;
    gap: 2.5em;
    align-items: flex-start;
}

/* 左：商品画像 */
.gp-aff-image {
    flex: 0 0 180px;
    width: 180px;
}

.gp-aff-image img {
    display: block;
    width: 180px;
    max-width: 180px;
    height: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: transform 0.3s;
}

/* 右：商品情報 */
.gp-aff-content {
    flex: 1 1 auto;
    min-width: 0;
}

.gp-aff-label {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: #666;
    margin-bottom: 0.5em;
}

.gp-aff-maker {
    font-size: 12px;
    color: #888;
    margin-bottom: 0.3em;
}

.gp-aff-title {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.5em 0;
    font-weight: 500;
}

.gp-aff-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.gp-aff-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    border: 1px solid #444;
    color: #fa8072;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.05em;
    transition: 0.2s;
}

.gp-aff-btn:hover {
    border-color: #fa8072;
    background: rgba(250, 128, 114, 0.03);
}

/* メルカリだけ少し控えめ */
.gp-aff-btn:last-child {
    color: #888;
    border-style: dashed;
}

.gp-aff-btn:last-child:hover {
    color: #fa8072;
    border-style: solid;
}

@media (max-width: 640px) {
    .gp-aff-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gp-aff-image {
        flex: none;
        width: auto;
        margin-bottom: 1em;
    }

    .gp-aff-image img {
        width: 180px;
        max-width: 100%;
    }

    .gp-aff-content {
        width: 100%;
    }
}