.bgft-add { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-block: 1rem; }
.bgft-checkout [hidden] { display: none !important; }
.bgft-checkout fieldset { display: grid; gap: .75rem; margin-block: 1rem; }
.bgft-checkout label { display: grid; gap: .25rem; }
.bgft-checkout input, .bgft-checkout textarea { max-width: 100%; }
.bgft-add input[type=number], .bgft-checkout input[type=number] { width: 7ch; }
.bgft-table { overflow-x: auto; }
.bgft-table table { width: 100%; border-collapse: collapse; }
.bgft-table th, .bgft-table td { padding: .5rem; text-align: left; border-bottom: 1px solid #ddd; }
.bgft-add button, .bgft-checkout button { background: #502b20; color: #fff; border: 0; border-radius: .3rem; padding: .55rem .85rem; cursor: pointer; }
.bgft-checkout button:disabled { opacity: .65; cursor: wait; }

.bgft-checkout .bgft-table tbody .bgft-product-with-image {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    overflow-wrap: anywhere;
}
.bgft-checkout .bgft-table tbody .bgft-product-with-image > img {
    display: block;
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    max-width: none;
    object-fit: contain;
}
@media (max-width: 600px) {
    .bgft-checkout .bgft-table tbody .bgft-product-with-image > img {
        width: 64px;
        height: 64px;
    }
}
