/* ご購入特典：カート・購入手続き内の独立した案内 */
.abr-threshold-gifts {
    clear: both;
    width: 100%;
}
.abr-gift-box {
    box-sizing: border-box;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #a18b61;
    background: #faf8f2;
    color: #29251f;
    line-height: 1.7;
}
.abr-gift-box h2 {
    margin: 0 0 12px;
    color: inherit;
    font-size: 20px;
}
.abr-gift-product {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 16px;
}
.abr-gift-product img {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    object-fit: cover;
}
.abr-gift-product h3 {
    margin: 0 0 8px;
    color: inherit;
    font-size: 16px;
}
.abr-gift-box .abr-gift-button {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 10px 16px;
    border: 1px solid #5d4531;
    border-radius: 3px;
    background: #5d4531;
    color: #fff;
    font: inherit;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
}
.abr-gift-box .abr-gift-secondary {
    background: transparent;
    color: #5d4531;
}
.abr-gift-button:disabled {
    opacity: 0.6;
    cursor: wait;
}
.abr-gift-button:focus-visible {
    outline: 3px solid #856c40;
    outline-offset: 3px;
}
.abr-gift-fine {
    margin-top: 16px;
    font-size: 12px;
}
.abr-gift-warning,
.abr-gift-status {
    font-weight: 600;
}
.abr-gift-status:empty {
    display: none;
}
@media (max-width: 480px) {
    /* 小さい画面でも商品画像と選択肢を近くに表示 */
    .abr-gift-box {
        padding: 14px;
    }
    .abr-gift-product {
        gap: 12px;
    }
    .abr-gift-product img {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }
}

/* 金額別に選べる特典 */
.abr-gift-rule + .abr-gift-rule {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #d7cbb4;
}
.abr-gift-rule > h3 {
    margin: 0 0 10px;
    color: inherit;
    font-size: 18px;
}
.abr-gift-product h4 {
    margin: 0 0 8px;
    color: inherit;
    font-size: 16px;
}

/* 管理画面：特典ごとの設定枠 */
.abr-gift-admin-rule {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid #c3c4c7;
    background: #fff;
}
.abr-gift-admin-rule > summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}
.abr-gift-admin-rule .select2-container {
    max-width: 100%;
}
