.bf-custom-fields-container {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bf-section {
    margin-bottom: 25px;
}

.bf-section:last-child {
    margin-bottom: 0;
}

.bf-section h3 {
    font-size: 1.2rem;
    color: #87994a;
    /* Soft pink floral accent */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.bf-section h3 i {
    margin-right: 10px;
    font-size: 20px;
    color: #87994a;
}

.bf-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .bf-field-group {
        grid-template-columns: 1fr;
    }
}

.bf-field {
    display: flex;
    flex-direction: column;
}

.bf-field label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.bf-field input {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.bf-field input:focus {
    border-color: #87994a;
    box-shadow: 0 0 0 4px rgba(214, 51, 132, 0.1);
    outline: none;
    background: #fff;
}

.bf-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

/* Chrome/Safari placeholder style */
.bf-field input::placeholder {
    color: #ccc;
    font-style: italic;
}

/* Order Bump (Woodmart Style) */
.bf-order-bump-container.woodmart-style {
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
}

.bf-bump-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
}

.bf-title-icon {
    font-size: 1.4rem;
    margin-right: 5px;
}

.bf-bump-title small {
    display: block;
    font-size: 0.85rem;
    color: #777;
    font-weight: 400;
    margin-top: 5px;
}

.bf-bump-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bf-bump-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.bf-bump-item:hover {
    border-color: #87994a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.bf-bump-left {
    flex: 0 0 70px;
    margin-right: 15px;
}

.bf-bump-left img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.bf-bump-info {
    flex: 1;
}

.bf-bump-name {
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: #242424;
    font-weight: 600;
    text-transform: uppercase;
}

.bf-bump-price {
    font-size: 0.95rem;
    color: #87994a;
    font-weight: 700;
}

.bf-bump-action {
    flex: 0 0 auto;
    margin-left: 15px;
}

.bf-add-bump-btn {
    background: #87994a;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bf-add-bump-btn:hover {
    background: #73843d;
    transform: scale(1.02);
}

.bf-add-bump-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Responsividade */
@media (max-width: 600px) {
    .bf-bump-item {
        padding: 10px;
    }
    
    .bf-bump-left {
        flex: 0 0 60px;
        margin-right: 12px;
    }
    
    .bf-bump-left img {
        width: 60px;
        height: 60px;
    }

    .bf-bump-name {
        font-size: 0.85rem;
    }

    .bf-add-bump-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Delivery Section */
.bf-delivery-section {
    margin-top: 40px;
}

.bf-neighborhood-selector {
    margin-bottom: 30px;
}

.bf-search-box {
    margin-bottom: 15px;
}

.bf-search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
}

.bf-neighborhood-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 5px;
}

.bf-neighborhood-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 5px;
    border: 1px solid transparent;
}

.bf-neighborhood-item:hover {
    background: #fcfdf9;
}

.bf-neighborhood-item.active {
    background: #f7f9f0;
    border-color: #87994a;
}

.bf-neighborhood-item input {
    margin-right: 15px !important;
}

.bf-neighborhood-name {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
}

.bf-neighborhood-price {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

.bf-neighborhood-item.active .bf-neighborhood-price {
    background: #87994a;
    color: #fff;
}

/* Toggle Switch */
.bf-express-toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fffdf5;
    border: 1px solid #fff3cd;
    border-radius: 12px;
    margin: 30px 0;
}

.bf-express-header {
    display: flex;
    align-items: center;
}

.bf-express-header i {
    font-size: 24px;
    margin-right: 15px;
    color: #856404;
}

.bf-express-header strong {
    display: block;
    font-size: 1rem;
    color: #333;
}

.bf-express-header span {
    font-size: 0.85rem;
    color: #666;
}

.bf-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.bf-toggle input {
    display: none;
}

.bf-toggle label {
    display: block;
    width: 100%;
    height: 100%;
    background: #ccc;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.bf-toggle label::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: left 0.3s;
}

.bf-toggle input:checked + label {
    background: #87994a;
}

.bf-toggle input:checked + label::after {
    left: 27px;
}

/* Slots */
.bf-slot-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bf-slot-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.bf-slot-option:hover {
    background: #fafafa;
}

.bf-slot-option input {
    margin-right: 15px !important;
}

.bf-slot-option span strong {
    display: block;
    color: #333;
}

/* Express Info Box */
.bf-express-time-box {
    padding: 20px;
    background: #fffcf0;
    border: 1px solid #ffeeba;
    border-radius: 12px;
}

.bf-express-time-box strong {
    color: #856404;
    display: block;
    margin-bottom: 10px;
}

.bf-express-time-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.bf-express-time-box li {
    margin-bottom: 5px;
    font-weight: 500;
}

/* Card Message */
#bf_card_message {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    font-size: 0.95rem;
    background: #fcfdfd;
}

/* Confirmation Box */
.bf-confirmation-box {
    margin-top: 30px;
    padding: 20px;
    background: #f7f9f0;
    border: 2px solid #87994a;
    border-radius: 12px;
}

.cart-totals-confirmation {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 15px;
}

.bf-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.bf-checkbox-label input {
    width: 22px !important;
    height: 22px !important;
    margin-right: 15px !important;
    cursor: pointer;
}

.bf-checkbox-label span {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
}

/* Checkout Customization */
.bf-hidden-field {
    display: none !important;
}

/* Validation Errors */
.bf-field-error {
    border-color: #d63384 !important;
    background-color: #fff0f5 !important;
    box-shadow: 0 0 0 4px rgba(214, 51, 132, 0.1) !important;
}

.bf-validation-message {
    color: #d63384;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.bf-validation-message::before {
    content: "⚠️";
    margin-right: 5px;
}