#wsb-builder {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

#wsb-builder h2 {
    color: #cc0000;
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}

.wsb-step {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff5f5;
    border: 2px solid #cc0000;
    border-radius: 10px;
}

.wsb-step h3 {
    color: #cc0000;
    margin-bottom: 15px;
}

.wsb-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wsb-options button {
    padding: 12px 18px;
    background: white;
    border: 2px solid #cc0000;
    border-radius: 8px;
    color: #cc0000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.wsb-options button:hover {
    background: #ffeeee;
    transform: translateY(-2px);
}

.wsb-options button.selected {
    background: #cc0000;
    color: white;
}

.wsb-note {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-style: italic;
}

.wsb-preview {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border: 3px solid #cc0000;
    border-radius: 10px;
    text-align: center;
}

.wsb-preview h3 {
    color: #cc0000;
    margin-bottom: 20px;
}

/* Sandwich visual */
.wsb-sandwich {
    width: 300px;
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wsb-layer {
    width: 280px;
    height: 12px;
    border-radius: 6px;
    margin: 1px 0;
}

.wsb-bread-top {
    height: 30px;
    background: linear-gradient(to bottom, #D2691E, #CD853F);
    border-radius: 140px 140px 10px 10px;
    width: 300px;
}

.wsb-bread-bottom {
    height: 20px;
    background: linear-gradient(to bottom, #CD853F, #A0522D);
    border-radius: 10px 10px 20px 20px;
    width: 300px;
}

.wsb-meat { height: 16px; }
.wsb-cheese { height: 8px; }

#wsb-summary {
    text-align: left;
    margin: 20px 0;
    padding: 15px;
    background: #fff5f5;
    border-radius: 8px;
}

#wsb-summary p {
    margin: 5px 0;
}

.wsb-total {
    font-size: 28px;
    color: #cc0000;
    font-weight: 900;
    margin: 15px 0;
}

.wsb-order-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #cc0000;
    color: white !important;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    margin-top: 15px;
}

.wsb-order-btn:hover {
    background: #990000;
}

@media (max-width: 600px) {
    .wsb-sandwich { width: 100%; max-width: 280px; }
    .wsb-layer, .wsb-bread-top, .wsb-bread-bottom { width: 100%; }
}

.wsb-actions {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.wsb-btn {
    padding: 12px 20px;
    background: white;
    border: 2px solid #cc0000;
    border-radius: 8px;
    color: #cc0000;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

.wsb-btn:hover {
    background: #cc0000;
    color: white;
}

.wsb-share {
    margin: 25px 0;
    padding: 20px;
    background: #fff5f5;
    border-radius: 10px;
}

.wsb-share h4 {
    color: #cc0000;
    margin-bottom: 15px;
}

.wsb-share-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.wsb-share-btn {
    padding: 10px 18px;
    background: #cc0000;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}

.wsb-share-btn:hover {
    background: #990000;
    color: white !important;
}


.wsb-toasted-row {
    display: flex;
    align-items: center;
}

/* New sandwich visual */
.wsb-sandwich {
    max-width: 500px;
    margin: 0 auto 20px;
}

.wsb-bread {
    height: 36px;
    background: linear-gradient(to bottom, #E8B86D, #D4A054);
    margin: 0 auto;
    max-width: 420px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wsb-bread-top {
    border-radius: 210px 210px 12px 12px;
    height: 48px;
}

.wsb-bread-bottom {
    border-radius: 12px 12px 24px 24px;
    height: 28px;
}

.wsb-bread-top.toasted {
    background: linear-gradient(to bottom, #C68E3F, #A6762E) !important;
}

.wsb-ingredients {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px 10px;
    background: #fffdf8;
    border-left: 3px solid #E8B86D;
    border-right: 3px solid #E8B86D;
    max-width: 420px;
    margin: 0 auto;
    min-height: 80px;
}

.wsb-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border: 2px solid #f0e6d8;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 32px;
    min-width: 70px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.15s;
}

.wsb-chip:hover {
    transform: scale(1.08);
}

.wsb-chip small {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    margin-top: 4px;
    text-align: center;
    line-height: 1.3;
}

.wsb-chip small em {
    display: block;
    font-style: normal;
    font-size: 10px;
    color: #cc0000;
    font-weight: 700;
}

.wsb-empty {
    text-align: center;
    color: #999;
    margin-top: 12px;
}

/* Stacked sandwich layers */
.wsb-sandwich {
    max-width: 420px;
    margin: 0 auto 20px;
}

.wsb-layer {
    margin: 2px auto;
    max-width: 380px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.wsb-layer span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(0,0,0,0.65);
    line-height: 1;
    display: block;
    padding: 4px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.wsb-bread-top {
    height: 44px;
    background: linear-gradient(to bottom, #E8B86D, #D4A054);
    border-radius: 190px 190px 10px 10px;
    max-width: 400px;
}

.wsb-bread-top.toasted {
    background: linear-gradient(to bottom, #D4A054, #B8860B);
}

.wsb-bread-bottom {
    height: 26px;
    background: linear-gradient(to bottom, #D4A054, #C08A3E);
    border-radius: 10px 10px 20px 20px;
    max-width: 400px;
}

.wsb-meat {
    min-height: 28px;
    background: linear-gradient(to bottom, #C17A56, #A65D3F);
    border-top: 2px dashed rgba(255,255,255,0.3);
    border-bottom: 2px dashed rgba(0,0,0,0.15);
}

.wsb-cheese {
    min-height: 18px;
    background: linear-gradient(to bottom, #FFD966, #F5B800);
}

.wsb-topping {
    min-height: 22px;
    background: linear-gradient(to bottom, #8FBC6A, #7AA955);
}

.wsb-topping.light { opacity: 0.6; min-height: 16px; }
.wsb-topping.extra { min-height: 30px; }

.wsb-standalone {
    text-align: center;
    padding: 30px;
    background: #fff8f0;
    border-radius: 16px;
    max-width: 400px;
    margin: 0 auto 20px;
}

.wsb-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.wsb-main {
    flex: 1;
    min-width: 0;
}
.wsb-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #fff;
    border: 2px solid #c8102e;
    border-radius: 12px;
    padding: 16px;
    position: sticky;
    top: 80px;
}
.wsb-sidebar h2 {
    margin: 0 0 8px 0;
    color: #c8102e;
    font-size: 1.3em;
}
.wsb-menu-cat {
    margin-bottom: 16px;
}
.wsb-menu-cat h3 {
    margin: 0 0 8px 0;
    font-size: 1em;
    text-transform: uppercase;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}
.wsb-menu-cat ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wsb-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 4px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s;
}
.wsb-menu-item:hover {
    background: #fff5f5;
    border-color: #c8102e;
}
.wsb-menu-item.selected {
    background: #c8102e;
    color: #fff;
    border-color: #c8102e;
}
.wsb-menu-item.selected strong {
    color: #fff;
}
.wsb-menu-item strong {
    color: #c8102e;
}
@media (max-width: 900px) {
    .wsb-layout {
        flex-direction: column;
    }
    .wsb-sidebar {
        width: 100%;
        position: static;
    }
}
