<style>
#bbc-form-wrap {
max-width: 640px;
margin: 0 auto;
padding: 32px 24px 56px;
font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
color: #3d2f28;
}
#bbc-form-wrap * { box-sizing: border-box; }
.bbc-header {
text-align: center;
margin-bottom: 32px;
padding-bottom: 24px;
border-bottom: 1px solid #e4dcd0;
}
.bbc-header h1 {
font-family: 'Playfair Display', Georgia, serif;
font-size: 28px;
font-weight: 700;
margin: 0 0 12px;
color: #3d2f28;
}
.bbc-header p {
font-size: 15px;
line-height: 1.6;
margin: 4px 0;
color: #5c4d42;
}
.bbc-header .bbc-window {
background: #f4ede2;
border-radius: 8px;
padding: 14px 18px;
margin: 16px 0;
font-size: 15px;
line-height: 1.7;
}
.bbc-header .bbc-window strong { color: #8a5a3b; }
.bbc-note {
font-size: 13px;
color: #8a7a6a;
font-style: italic;
margin-top: 12px;
}
.bbc-section {
margin: 32px 0 20px;
}
.bbc-section h2 {
font-family: 'Playfair Display', Georgia, serif;
font-size: 18px;
color: #8a5a3b;
border-bottom: 1px solid #e4dcd0;
padding-bottom: 8px;
margin-bottom: 16px;
}
.bbc-section .bbc-hint {
font-size: 13px;
color: #8a7a6a;
margin: -10px 0 16px;
}
.bbc-field {
margin-bottom: 18px;
}
.bbc-field label {
display: block;
font-size: 14px;
font-weight: 600;
margin-bottom: 6px;
color: #3d2f28;
}
.bbc-field .bbc-req { color: #b5674a; font-weight: 400; }
.bbc-field .bbc-helper {
font-size: 12px;
color: #8a7a6a;
margin-top: 4px;
}
.bbc-field input[type="text"],
.bbc-field input[type="email"],
.bbc-field input[type="tel"],
.bbc-field select,
.bbc-field textarea {
width: 100%;
padding: 10px 12px;
border: 1px solid #d8ccbc;
border-radius: 6px;
font-size: 14px;
font-family: inherit;
background: #fffdfa;
color: #3d2f28;
}
.bbc-field select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5a3b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.bbc-field textarea { min-height: 70px; resize: vertical; }
.bbc-row { display: flex; gap: 12px; }
.bbc-row .bbc-field { flex: 1; }
.bbc-checkbox-group label {
font-weight: 400;
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 6px;
font-size: 14px;
}
.bbc-radio-group label {
font-weight: 400;
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 6px;
font-size: 14px;
}
.bbc-submit {
width: 100%;
padding: 14px;
margin-top: 12px;
background: #3d2f28;
color: #fdf9f3;
border: none;
border-radius: 30px;
font-size: 15px;
font-weight: 600;
letter-spacing: 0.03em;
cursor: pointer;
transition: background 0.2s ease;
}
.bbc-submit:hover { background: #5c4636; }
.bbc-confirmation {
display: none;
text-align: center;
padding: 48px 24px;
font-family: 'Playfair Display', Georgia, serif;
}
.bbc-confirmation h2 { font-size: 24px; margin-bottom: 12px; }
.bbc-confirmation p { font-family: 'Jost', sans-serif; font-size: 15px; color: #5c4d42; }
</style>
<div id="bbc-form-wrap">
<div class="bbc-header">
<h1>This Week's Drop is Open 🍪</h1>
<div class="bbc-window">
Order window: <strong>now through Thursday, [DATE] at 8pm</strong><br>
Pickup: <strong>Saturday, [DATE], [TIME]</strong> — Elk Grove, CA
</div>
<p>Breads & cupcakes are local pickup only · Cupcakes have a 12-piece minimum</p>
<p>Shortbread & shelf-stable items can ship within CA · We'll confirm your order and send a payment link within 24 hours</p>
<p class="bbc-note">Miss this window? We run a new drop every week — follow @barbatterco on Instagram to catch the next one.</p>
</div>
<form id="bbc-order-form" action="https://formspree.io/f/xbdvnveg" method="POST">
<div class="bbc-section">
<h2>Your Info</h2>
<div class="bbc-row">
<div class="bbc-field">
<label>Name <span class="bbc-req">*</span></label>
<input type="text" name="Name" required>
</div>
<div class="bbc-field">
<label>Phone <span class="bbc-req">*</span></label>
<input type="tel" name="Phone" required>
</div>
</div>
<div class="bbc-field">
<label>Email <span class="bbc-req">*</span></label>
<input type="email" name="Email" required>
</div>
<div class="bbc-field">
<label>Fulfillment <span class="bbc-req">*</span></label>
<div class="bbc-radio-group">
<label><input type="radio" name="Fulfillment" value="Local pickup (Elk Grove)" required> Local pickup (Elk Grove)</label>
<label><input type="radio" name="Fulfillment" value="Shipping (CA only)"> Shipping (CA only — shelf-stable items only)</label>
</div>
</div>
</div>
<div class="bbc-section">
<h2>Bars & Brownies</h2>
<p class="bbc-hint">Regular and gluten-free available. Leave as "No thanks" to skip.</p>
<div class="bbc-field">
<label>Rich Cacao Brownies</label>
<select name="Rich Cacao Brownies">
<option>No thanks</option>
<option>Regular</option>
<option>Gluten-Free</option>
</select>
</div>
<div class="bbc-field">
<label>Brown Butter Bars</label>
<select name="Brown Butter Bars">
<option>No thanks</option>
<option>Regular</option>
<option>Gluten-Free</option>
</select>
</div>
<div class="bbc-field">
<label>Miso Caramel Blondies</label>
<select name="Miso Caramel Blondies">
<option>No thanks</option>
<option>Regular</option>
<option>Gluten-Free</option>
</select>
</div>
<div class="bbc-field">
<label>Lemon Crumble Bars</label>
<select name="Lemon Crumble Bars">
<option>No thanks</option>
<option>Regular</option>
<option>Gluten-Free</option>
</select>
</div>
<div class="bbc-field">
<label>Toasted S'mores Bars</label>
<select name="Toasted Smores Bars">
<option>No thanks</option>
<option>Regular</option>
<option>Gluten-Free</option>
</select>
</div>
<div class="bbc-field">
<label>Brookies</label>
<select name="Brookies">
<option>No thanks</option>
<option>Regular</option>
<option>Gluten-Free</option>
</select>
</div>
<div class="bbc-field">
<label>Cherry Sunflower Bar</label>
<select name="Cherry Sunflower Bar">
<option>No thanks</option>
<option>Regular</option>
<option>Gluten-Free</option>
</select>
</div>
<div class="bbc-field">
<label>Quantities / special requests for bars above</label>
<textarea name="Bars Quantity Notes" placeholder="e.g. 2x lemon bars, 1x brookie"></textarea>
</div>
</div>
<div class="bbc-section">
<h2>Cookies & Shortbread</h2>
<div class="bbc-field">
<label>Chocolate Chip Cookies</label>
<select name="Chocolate Chip Cookies">
<option>No thanks</option>
<option>Regular</option>
<option>Gluten-Free</option>
</select>
</div>
<div class="bbc-field">
<label>Sugar Cookies</label>
<select name="Sugar Cookies">
<option>No thanks</option>
<option>Regular</option>
<option>Gluten-Free</option>
</select>
</div>
<div class="bbc-field">
<label>Seasonal Shortbread Flavor(s)</label>
<div class="bbc-checkbox-group">
<label><input type="checkbox" name="Shortbread" value="Vanilla Bean"> Vanilla Bean</label>
<label><input type="checkbox" name="Shortbread" value="Espresso"> Espresso</label>
<label><input type="checkbox" name="Shortbread" value="Matcha"> Matcha</label>
<label><input type="checkbox" name="Shortbread" value="Rosemary"> Rosemary</label>
<label><input type="checkbox" name="Shortbread" value="Hojicha"> Hojicha</label>
</div>
</div>
<div class="bbc-field">
<label>Shortbread quantity per flavor selected</label>
<textarea name="Shortbread Quantity"></textarea>
</div>
</div>
<div class="bbc-section">
<h2>Local Pickup Only</h2>
<p class="bbc-hint">Not available for shipping.</p>
<div class="bbc-field">
<label>Breads</label>
<input type="text" name="Breads" placeholder="Type or 'No thanks'">
</div>
<div class="bbc-field">
<label>Cupcakes <span class="bbc-req">(12-piece minimum)</span></label>
<input type="text" name="Cupcakes" placeholder="Flavor + quantity">
<p class="bbc-helper">Minimum order: 12 cupcakes</p>
</div>
</div>
<div class="bbc-section">
<h2>Tasting & Sampler Boxes</h2>
<div class="bbc-field">
<label>Sampler Box</label>
<select name="Sampler Box">
<option>No thanks</option>
<option>Bar Sampler Box</option>
<option>Garden Tea Box</option>
<option>Larder Box</option>
</select>
</div>
<div class="bbc-field">
<label>Is this a gift?</label>
<div class="bbc-radio-group">
<label><input type="radio" name="Gift" value="Yes"> Yes</label>
<label><input type="radio" name="Gift" value="No"> No</label>
</div>
</div>
<div class="bbc-field">
<label>Gift message (optional)</label>
<textarea name="Gift Message"></textarea>
</div>
</div>
<div class="bbc-section">
<h2>Custom Orders</h2>
<p class="bbc-hint">Skip unless you need a custom/large order for an event or special occasion.</p>
<div class="bbc-field">
<textarea name="Custom Order Details" placeholder="Tell us about it"></textarea>
</div>
</div>
<div class="bbc-section">
<h2>Final Details</h2>
<div class="bbc-field">
<label>Preferred pickup/ship date</label>
<input type="text" name="Preferred Date" placeholder="e.g. Saturday [DATE]">
</div>
<div class="bbc-field">
<label>Anything else we should know?</label>
<textarea name="Additional Notes"></textarea>
</div>
<div class="bbc-field">
<label>How did you hear about us?</label>
<select name="Referral Source">
<option>Instagram</option>
<option>Facebook</option>
<option>Sac Anime / an event</option>
<option>Word of mouth</option>
<option>Etsy</option>
<option>Other</option>
</select>
</div>
</div>
<button type="submit" class="bbc-submit">Submit Order</button>
</form>
<div class="bbc-confirmation" id="bbc-confirmation">
<h2>Thank you! 🎉</h2>
<p>We'll confirm availability and send a payment link within 24 hours.<br>Questions? DM us @barbatterco on Instagram.</p>
</div>
</div>
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Jost:wght@400;600&display=swap" rel="stylesheet">
<script>
document.getElementById('bbc-order-form').addEventListener('submit', function(e) {
e.preventDefault();
var form = e.target;
var data = new FormData(form);
fetch(form.action, {
method: 'POST',
body: data,
headers: { 'Accept': 'application/json' }
}).then(function(response) {
if (response.ok) {
form.style.display = 'none';
document.getElementById('bbc-confirmation').style.display = 'block';
} else {
alert('Something went wrong submitting your order — please try again or DM us on Instagram.');
}
}).catch(function() {
alert('Something went wrong submitting your order — please try again or DM us on Instagram.');
});
});
</script>