/* EKN CaterFlow - Food Truck Public CSS v1.5.4 */

/* ── BASE ── */
.cbp-ft-wrap, .cbp-ft-status-wrap {
    font-family: 'Jost', 'DM Sans', sans-serif;
    font-weight: 300;
    max-width: 960px;
    margin: 0 auto;
    color: #f5edd8;
}

/* ── HERO ── */
.cbp-ft-hero {
    background: linear-gradient(135deg, #1a1208, #3b2314);
    border-radius: 16px 16px 0 0;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cbp-ft-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(107,61,30,.4) 0%, transparent 70%);
    pointer-events: none;
}
.cbp-ft-hero-inner { position: relative; z-index: 1; }
.cbp-ft-mode-badge {
    display: inline-block; border-radius: 20px; padding: 4px 14px;
    font-size: 11px; font-weight: 500; letter-spacing: .8px;
    text-transform: uppercase; margin-bottom: 10px;
    font-family: 'Cinzel', 'DM Sans', serif;
}
.cbp-ft-mode-badge.live     { background: rgba(62,207,142,.15); color: #3ecf8e; border: 1px solid rgba(62,207,142,.3); }
.cbp-ft-mode-badge.preorder { background: rgba(200,146,42,.15); color: #c8922a; border: 1px solid rgba(200,146,42,.3); }
.cbp-ft-title    { font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif; font-size: clamp(22px,5vw,38px); font-weight: 300; color: #e8d5b0; margin-bottom: 6px; line-height: 1.2; }
.cbp-ft-location { font-size: 13px; color: rgba(232,213,176,.85); margin-bottom: 4px; }
.cbp-ft-time     { font-size: 12px; color: rgba(232,213,176,.7); }

/* ── CATEGORY NAV ── */
.cbp-ft-cat-nav {
    background: rgba(26,18,8,.97);
    border-bottom: 1px solid rgba(196,149,106,.15);
    display: flex; align-items: center;
    overflow-x: auto; scrollbar-width: none;
    gap: 0; position: sticky; top: 0; z-index: 50;
}
.cbp-ft-cat-nav::-webkit-scrollbar { display: none; }
.cbp-ft-cat-tab {
    flex-shrink: 0; padding: 13px 18px;
    font-family: 'Cinzel', 'DM Sans', serif;
    font-size: 10px; font-weight: 600; letter-spacing: .15em;
    text-transform: uppercase; color: rgba(232,213,176,.7);
    background: none; border: none; border-bottom: 2px solid transparent;
    cursor: pointer; transition: all .2s; white-space: nowrap;
}
.cbp-ft-cat-tab:hover  { color: #e8d5b0; }
.cbp-ft-cat-tab.active { color: #e8b84b; border-bottom-color: #c8922a; }

/* ── FILTER PILLS ── */
.cbp-ft-filter-bar {
    display: flex; gap: 8px; flex-wrap: wrap;
    padding: 12px 20px; background: rgba(26,18,8,.6);
    border-bottom: 1px solid rgba(196,149,106,.1);
}
.cbp-ft-filter-pill {
    font-size: 11px; padding: 4px 12px; border-radius: 20px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(196,149,106,.2);
    color: rgba(232,213,176,.85); cursor: pointer; transition: all .2s;
    font-family: inherit;
}
.cbp-ft-filter-pill.active,
.cbp-ft-filter-pill:hover { background: rgba(200,146,42,.15); border-color: rgba(200,146,42,.4); color: #e8b84b; }

/* ── MENU BODY ── */
.cbp-ft-layout { display: grid; grid-template-columns: 1fr 300px; gap: 0; }
@media(max-width:720px) { .cbp-ft-layout { grid-template-columns: 1fr; } }

.cbp-ft-menu-col {
    background: #1a1208;
    border: 1px solid rgba(196,149,106,.12);
    border-top: none;
}

/* ── CATEGORY SECTION ── */
.cbp-ft-category { padding: 0; }
.cbp-ft-cat-title {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 20px 8px;
    font-family: 'Cinzel', 'DM Sans', serif;
    font-size: 9px; font-weight: 600; letter-spacing: .25em;
    text-transform: uppercase; color: #c8922a;
    border-bottom: 1px solid rgba(196,149,106,.08);
}
.cbp-ft-cat-title::before {
    content: ''; width: 3px; height: 16px; background: #c8922a;
    opacity: .8; border-radius: 2px; flex-shrink: 0;
}

/* ── ITEM ROW ── */
.cbp-ft-item {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 14px 20px;
    border-bottom: 1px solid rgba(196,149,106,.07);
    background: transparent; cursor: default;
    position: relative; overflow: hidden;
    transition: background .2s, transform .2s;
}
.cbp-ft-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
    background: #c8922a; transform: scaleY(0); transform-origin: bottom;
    transition: transform .3s;
}
.cbp-ft-item:hover { background: rgba(255,255,255,.03); transform: translateX(3px); }
.cbp-ft-item:hover::before { transform: scaleY(1); }

.cbp-ft-item-info { flex: 1; min-width: 0; }
.cbp-ft-item-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px; font-weight: 400; color: #e8d5b0;
    line-height: 1.3; margin-bottom: 2px;
}
.cbp-ft-item-desc {
    font-size: 12px; color: rgba(232,213,176,.75);
    font-style: italic; line-height: 1.4;
}
.cbp-ft-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.cbp-ft-tag {
    font-size: 10px; padding: 1px 7px; border-radius: 10px;
    background: rgba(90,107,58,.2); color: #a8d4a0;
    border: 1px solid rgba(90,107,58,.3);
}

.cbp-ft-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.cbp-ft-item-price {
    font-family: 'Cinzel', 'DM Sans', serif;
    font-size: 14px; color: #c8922a; font-weight: 600;
}

/* QTY CONTROL */
.cbp-ft-qty-control {
    display: flex; align-items: center; gap: 2px;
    background: rgba(255,255,255,.06); border-radius: 8px; padding: 2px;
}
.cbp-ft-qty-btn {
    width: 26px; height: 26px; border: none; background: transparent;
    font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 6px;
    color: #c8922a; transition: background .15s; line-height: 1;
}
.cbp-ft-qty-btn:hover { background: rgba(200,146,42,.15); }
.cbp-ft-qty-val { min-width: 22px; text-align: center; font-size: 13px; font-weight: 500; color: #e8d5b0; }

/* OFFLINE / EMPTY */
.cbp-ft-offline {
    text-align: center; padding: 60px 20px; color: rgba(196,149,106,.6);
    background: #1a1208; border-radius: 0 0 16px 16px;
}
.cbp-ft-offline-icon { font-size: 42px; margin-bottom: 10px; }
.cbp-ft-offline h3   { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #e8d5b0; margin-bottom: 6px; }
.cbp-ft-offline p    { font-size: 13px; }
.cbp-ft-cutoff-notice {
    background: rgba(200,146,42,.08); border: 1px solid rgba(200,146,42,.25);
    border-radius: 8px; padding: 14px 18px; color: #e8b84b; font-size: 13px; margin-bottom: 16px;
}

/* ── BASKET COLUMN ── */
.cbp-ft-basket-col {
    background: #13100a;
    border: 1px solid rgba(196,149,106,.12);
    border-top: none; border-left: none;
    position: sticky; top: 0; align-self: start;
}
.cbp-ft-basket { padding: 18px; }
.cbp-ft-basket-title {
    font-family: 'Cinzel', 'DM Sans', serif;
    font-size: 11px; font-weight: 600; letter-spacing: .2em;
    text-transform: uppercase; color: #c8922a; margin-bottom: 14px;
}
.cbp-ft-basket-empty { font-size: 13px; color: rgba(232,213,176,.65); text-align: center; padding: 16px 0; }
.cbp-ft-basket-item {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(196,149,106,.08);
    color: #e8d5b0;
}
.cbp-ft-basket-item:last-child { border-bottom: none; }
.cbp-ft-basket-total {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 10px; margin-top: 6px;
    border-top: 1px solid rgba(196,149,106,.25);
    font-weight: 600; font-size: 15px; color: #e8d5b0;
}
.cbp-ft-proceed-inline {
    width: 100%; background: #c8922a; color: #1a1208; border: none;
    border-radius: 8px; padding: 12px; font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: inherit; margin-top: 12px; transition: background .15s;
    letter-spacing: .05em;
}
.cbp-ft-proceed-inline:hover { background: #e8b84b; }

/* ── CUSTOMER FORM ── */
.cbp-ft-customer-form {
    padding: 18px; background: #13100a;
    border: 1px solid rgba(196,149,106,.12);
    border-top: none; border-left: none;
}
.cbp-ft-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.cbp-ft-field label { font-size: 10px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: rgba(196,149,106,.7); }
.cbp-ft-field label span { color: #e55353; }
.cbp-ft-field input, .cbp-ft-field textarea {
    background: rgba(255,255,255,.04); border: 1px solid rgba(196,149,106,.2);
    border-radius: 7px; padding: 10px 13px; font-size: 13px;
    font-family: inherit; font-weight: 300;
    color: #e8d5b0; outline: none; transition: border-color .15s;
}
.cbp-ft-field input::placeholder, .cbp-ft-field textarea::placeholder { color: rgba(196,149,106,.35); }
.cbp-ft-field input:focus, .cbp-ft-field textarea:focus { border-color: #c8922a; }
.cbp-ft-preorder-note {
    background: rgba(200,146,42,.08); border: 1px solid rgba(200,146,42,.2);
    border-radius: 7px; padding: 10px 13px; font-size: 12px;
    color: rgba(196,149,106,.8); margin-bottom: 12px; line-height: 1.5;
}
.cbp-ft-submit-btn {
    width: 100%; background: #3b2314; color: #e8d5b0; border: 1px solid rgba(196,149,106,.3);
    border-radius: 8px; padding: 13px; font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: inherit; transition: all .2s; margin-bottom: 8px;
}
.cbp-ft-submit-btn:hover { background: #c8922a; color: #1a1208; border-color: #c8922a; }
.cbp-ft-submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.cbp-ft-back-btn {
    width: 100%; background: transparent; border: 1px solid rgba(196,149,106,.15);
    color: rgba(196,149,106,.6); border-radius: 8px; padding: 9px;
    font-size: 12px; cursor: pointer; font-family: inherit; transition: all .15s;
}
.cbp-ft-back-btn:hover { border-color: rgba(196,149,106,.4); color: #e8d5b0; }
.cbp-ft-alert { border-radius: 7px; padding: 10px 13px; font-size: 12px; margin-bottom: 10px; }
.cbp-ft-alert-error { background: rgba(229,83,83,.08); border: 1px solid rgba(229,83,83,.25); color: #e57373; }

/* ── SUCCESS ── */
.cbp-ft-success {
    background: #1a1208; border: 1px solid rgba(196,149,106,.15);
    border-radius: 0 0 16px 16px; padding: 48px 24px; text-align: center;
}
.cbp-ft-order-num-label { font-size: 10px; font-weight: 600; color: rgba(196,149,106,.6); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.cbp-ft-order-num { font-size: 34px; font-weight: 800; color: #c8922a; letter-spacing: 3px; font-family: monospace; margin-bottom: 14px; }
.cbp-ft-status-msg { font-size: 14px; color: rgba(196,149,106,.7); margin-bottom: 16px; line-height: 1.6; }
.cbp-ft-ready-alert {
    background: rgba(62,207,142,.08); border: 2px solid #3ecf8e;
    border-radius: 10px; padding: 14px 18px; font-size: 15px; font-weight: 600;
    color: #3ecf8e; margin-bottom: 16px;
    animation: cbp-ft-pulse 1.2s ease-in-out infinite;
}
@keyframes cbp-ft-pulse {
    from { box-shadow: 0 0 0 0 rgba(62,207,142,.4); }
    to   { box-shadow: 0 0 0 10px rgba(62,207,142,0); }
}
.cbp-ft-new-order-btn {
    background: transparent; border: 1px solid rgba(196,149,106,.35);
    color: rgba(232,213,176,.8); border-radius: 8px; padding: 10px 20px;
    font-size: 12px; cursor: pointer; font-family: inherit; transition: all .15s;
}
.cbp-ft-new-order-btn:hover { border-color: #c8922a; color: #c8922a; }

/* ── STATUS PAGE ── */
.cbp-ft-status-card {
    background: #1a1208; border: 1px solid rgba(196,149,106,.15);
    border-radius: 14px; overflow: hidden;
}
.cbp-ft-status-header { padding: 36px 28px; text-align: center; position: relative; overflow: hidden; }
.cbp-ft-status-header h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 300; color: #e8d5b0; margin-bottom: 8px; }
.cbp-ft-status-header p  { font-size: 14px; color: rgba(196,149,106,.7); }
.cbp-ft-status-scheduled { background: linear-gradient(135deg, #1a1208, #2c1a0a); }
.cbp-ft-status-active    { background: linear-gradient(135deg, #1a1208, #1a2c0a); }
.cbp-ft-status-arrived   { background: linear-gradient(135deg, #0a1a0a, #1a3c1a); }
.cbp-ft-status-closed    { background: #13100a; }
.cbp-ft-status-pulse {
    position: absolute; top: 16px; right: 16px;
    width: 10px; height: 10px; background: #3ecf8e; border-radius: 50%;
    animation: cbp-ft-pulse 1.2s ease-in-out infinite;
}
.cbp-ft-status-emoji { font-size: 38px; margin-bottom: 10px; display: block; }
.cbp-ft-status-body { padding: 18px 24px; }
.cbp-ft-status-detail {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid rgba(196,149,106,.08);
    font-size: 13px; color: #f0e8d4;
}
.cbp-ft-status-detail:last-child { border-bottom: none; }
.cbp-ft-status-detail-label { font-weight: 600; color: rgba(220,185,130,.85); font-size: 12px; }

/* COUNTDOWN */
.cbp-ft-countdown-wrap {
    padding: 20px 24px; text-align: center;
    background: rgba(0,0,0,.25); border-top: 1px solid rgba(196,149,106,.1);
}
.cbp-ft-countdown-label { font-size: 10px; color: rgba(232,213,176,.7); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.cbp-ft-countdown { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cbp-ft-cd-block { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.cbp-ft-cd-num {
    font-size: 34px; font-weight: 700; color: #e8d5b0; font-family: monospace;
    background: rgba(255,255,255,.06); border-radius: 10px;
    padding: 6px 10px; min-width: 56px; text-align: center; display: block;
    border: 1px solid rgba(196,149,106,.12);
}
.cbp-ft-cd-unit { font-size: 9px; color: rgba(232,213,176,.65); letter-spacing: 1px; text-transform: uppercase; margin-top: 5px; }
.cbp-ft-cd-sep { font-size: 26px; font-weight: 700; color: rgba(196,149,106,.5); margin-bottom: 16px; }

/* ORDER LINK */
.cbp-ft-status-order-link { padding: 16px 24px; border-top: 1px solid rgba(196,149,106,.1); text-align: center; }
.cbp-ft-status-order-btn {
    display: inline-block; background: #c8922a; color: #1a1208;
    padding: 12px 32px; border-radius: 8px; text-decoration: none;
    font-size: 14px; font-weight: 600; transition: background .15s; letter-spacing: .05em;
}
.cbp-ft-status-order-btn:hover { background: #e8b84b; }

/* NOTIFY FORM */
.cbp-ft-notify-wrap { padding: 20px 24px; border-top: 1px solid rgba(196,149,106,.1); background: rgba(0,0,0,.2); }
.cbp-ft-notify-title { font-family: 'Cinzel', 'DM Sans', serif; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #c8922a; margin-bottom: 6px; }
.cbp-ft-notify-desc  { font-size: 12px; color: rgba(232,213,176,.75); margin-bottom: 14px; line-height: 1.6; }
.cbp-ft-notify-grid  { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 12px; }
@media(max-width:600px) { .cbp-ft-notify-grid { grid-template-columns: 1fr; } }
.cbp-ft-notify-btn {
    background: #3b2314; color: #e8d5b0; border: 1px solid rgba(196,149,106,.3);
    border-radius: 7px; padding: 10px 22px; font-size: 13px; font-weight: 500;
    cursor: pointer; font-family: inherit; transition: all .2s;
}
.cbp-ft-notify-btn:hover { background: #c8922a; color: #1a1208; border-color: #c8922a; }
.cbp-ft-notify-btn:disabled { opacity: .5; cursor: not-allowed; }
.cbp-ft-notify-success {
    background: rgba(62,207,142,.08); border: 1px solid rgba(62,207,142,.25);
    border-radius: 8px; padding: 12px 16px; color: #3ecf8e; font-size: 13px;
}
.cbp-ft-status-refresh { text-align: center; font-size: 11px; color: rgba(196,149,106,.6); padding: 12px; border-top: 1px solid rgba(196,149,106,.08); margin: 0; }
