.gbb-app * { box-sizing: border-box; }
.gbb-app { font-family: -apple-system, system-ui, sans-serif; max-width: 1200px; margin: 0 auto; padding: 2rem; }
.gbb-app h3 { font-size: 1.5rem; font-weight: 600; color: #333; margin-bottom: 1.5rem; }
.gbb-progress-bar { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.gbb-progress-step { flex: 1; text-align: center; color: #aaa; padding: 10px; font-weight: 500; border-bottom: 2px solid #eee; transition: all 0.3s; cursor: pointer; }
.gbb-progress-step.active { color: #555; border-bottom-color: #555; }
.gbb-progress-step.active:after { content: '✓'; color: #008000; margin-left: 5px; }

.gbb-wizard-controls { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 2rem; }
.gbb-wizard-controls .button { padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.2s; }
.gbb-wizard-controls .button-primary { background-color: #333; color: #fff; }
.gbb-wizard-controls .button-primary:hover { background-color: #000; }
.gbb-wizard-controls .button:disabled { background-color: #ccc; cursor: not-allowed; }

.gbb-step-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.gbb-step-header h3 { margin-bottom: 0; }
.gbb-counter { font-size: 1rem; font-weight: 600; color: #555; padding: 0.5rem 1rem; background: #eee; border-radius: 8px; }

/* Grid & Card Styles */
.gbb-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.gbb-product-card { position: relative; background: #fff; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; text-align: center; transition: all 0.2s; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.gbb-product-card:hover { transform: translateY(-5px); box-shadow: 0 6px 10px rgba(0,0,0,0.1); }
.gbb-product-card.selected { border-color: #008000; box-shadow: 0 0 0 3px #008000; }
.gbb-product-card.selected::after { content: '✓'; position: absolute; top: 10px; right: 10px; font-size: 1.5rem; color: #fff; background-color: #008000; border-radius: 50%; width: 30px; height: 30px; line-height: 30px; }

.gbb-product-card img { width: 100%; height: auto; display: block; }
.gbb-prod-inner {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.gbb-prod-check {
	margin-top: 15px;
}

.gbb-filters-row {
	margin-bottom: 15px;
}
.gbb-prod-inner h4 { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem; }
.gbb-prod-inner .price { font-size: 1.2rem; font-weight: 700; color: #333; }
.gbb-prod-actions { margin-top: 1rem; }
.gbb-check { margin-top: 1rem; }
.gbb-add-item.button, .gbb-remove-item.button { background-color: transparent; color: #333; border: 1px solid #333; padding: 0.25rem 0.75rem; font-size: 1rem; border-radius: 4px; }
.gbb-qty-controls { display: flex; justify-content: center; align-items: center; gap: 0.5rem; }
.gbb-qty { font-size: 1rem; font-weight: 600; }
.gbb-loading-spinner { border: 4px solid rgba(0, 0, 0, 0.1); border-top: 4px solid #333; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 2rem auto; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Floating Cart */
#gbb-floating-cart {
    position: fixed; bottom: 1rem; right: 1rem;
    background-color: #333; color: #fff;
    border-radius: 12px; padding: 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
    align-items: flex-start;
    z-index: 1000;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transform: translateY(150%);
    transition: transform 0.3s ease-in-out;
}
#gbb-floating-cart.visible { transform: translateY(0); }
#gbb-floating-cart .gbb-cart-summary { display: flex; flex-direction: column; }
#gbb-floating-cart h4 { font-size: 1.1rem; margin: 0; font-weight: 600; }
#gbb-floating-cart #gbb-floating-item-count { font-size: 0.9rem; color: #aaa; margin: 0; }
#gbb-floating-cart .button-primary { width: 100%; background-color: #008000; }
#gbb-floating-cart .button-primary:hover { background-color: #006400; }

/* Toaster notifications */
#gbb-toaster-container { position: fixed; top: 1rem; right: 1rem; z-index: 1001; }
.gbb-toaster {
    background-color: #333; color: #fff; padding: 1rem 1.5rem; border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 0; transform: translateY(-20px); transition: all 0.5s ease-out;
    margin-bottom: 0.5rem;
}
.gbb-toaster.show { opacity: 1; transform: translateY(0); }