.fbt-wrapper-11760 {
    font-family: inherit;
    margin-bottom: 2em;
}

.fbt-title {
    font-size: 2em;
    margin-bottom: 0.2em;
}

.fbt-subtitle {
    color: #666;
    margin-bottom: 1.5em;
}

.fbt-products-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.fbt-product-card {
    flex: 1;
    min-width: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.fbt-product-card.active {
    border-color: #0056b3; /* Primary blue fallback */
    background: #f8fbff;
}

.fbt-card-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.fbt-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    width: 100%;
}

.fbt-checkbox {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.fbt-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

.fbt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.fbt-details {
    flex-grow: 1;
}

.fbt-product-title {
    font-size: 1.1em;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.fbt-price {
    font-weight: bold;
    color: #333;
}

.fbt-price del {
    color: #999;
    font-weight: normal;
    margin-right: 5px;
}

/* Variations Styling */
.fbt-variations-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    padding-left: 35px; /* Aligns roughly with details after checkbox */
}

.fbt-attribute-row {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.9em;
}

.fbt-attribute-label {
    min-width: 80px;
    margin-right: 10px;
    font-weight: 600;
}

.fbt-variation-select {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-width: 200px;
}

/* Total Box */
.fbt-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.fbt-total-text strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 4px;
}

.fbt-total-desc {
    color: #666;
    font-size: 0.9em;
}

.fbt-total-action {
    text-align: right;
}

.fbt-total-price-display {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.fbt-add-to-cart-btn {
    background-color: #0056b3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.fbt-add-to-cart-btn:hover {
    background-color: #004494;
}

.fbt-add-to-cart-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .fbt-products-container {
        flex-direction: column;
    }
    .fbt-variations-container {
        padding-left: 0;
    }
    .fbt-total-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .fbt-total-action {
        text-align: left;
        width: 100%;
    }
}