:root {
    --accent: #c9933a;
    --accent-light: #f0d9a8;
    --bg: #f5efe6;
    --bg-warm: #ede5d8;
    --surface: #fdfaf6;
    --surface-2: #f8f2e8;
    --border: rgba(160,130,90,0.18);
    --border-strong: rgba(160,130,90,0.32);
    --text: #1c1712;
    --text-2: #3d3328;
    --muted: #6d6052;
    --danger: #c0392b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 4px rgba(80,50,20,0.07), 0 2px 8px rgba(80,50,20,0.05);
    --shadow: 0 2px 12px rgba(80,50,20,0.10), 0 4px 24px rgba(80,50,20,0.07);
    --shadow-lg: 0 8px 32px rgba(80,50,20,0.14), 0 2px 8px rgba(80,50,20,0.08);
}

* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(201,147,58,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(201,147,58,0.04) 0%, transparent 50%);
    color: var(--text);
    min-height: 100dvh;
    overscroll-behavior: none;
}

/* ── HEADER ─────────────────────────────────────── */
.site-header {
    background: var(--primary);
    color: white;
    padding: 24px 20px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.site-header::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.site-header::after {
    content: '';
    position: absolute; right: -40px; bottom: -40px;
    width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,147,58,0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Logo */
.header-logo-wrap {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative; z-index: 1;
}
.header-logo-img { width: 100%; height: 100%; object-fit: cover; }
.header-logo-placeholder {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.05em;
}

/* Nome */
.header-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.85rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.03em;
    line-height: 1;
    position: relative; z-index: 1;
}

/* Linha dourada */
.header-divider {
    width: 36px; height: 1px;
    background: #c9933a;
    margin: 11px auto 11px;
    opacity: 0.7;
    position: relative; z-index: 1;
}

/* Endereço */
.header-address {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.48);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    position: relative; z-index: 1;
}

/* Mesa — pill discreta */
.header-table-pill {
    display: inline-block;
    margin-top: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.30);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    position: relative; z-index: 1;
    animation: tablePulse 2s ease-out forwards;
}
@keyframes tablePulse {
    0%   { background: rgba(201,147,58,0.25); border-color: rgba(201,147,58,0.4); color: rgba(255,255,255,0.8); }
    100% { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); color: rgba(255,255,255,0.30); }
}

/* ── USER INDICATOR ──────────────────────────────── */
.user-indicator {
    position: absolute; top: 18px; right: 16px;
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 30px;
    padding: 5px 12px 5px 8px;
    cursor: pointer;
    transition: background 0.18s;
    z-index: 10;
    backdrop-filter: blur(4px);
}
.user-indicator:hover { background: rgba(255,255,255,0.18); }
.user-indicator .lang-flag { font-size: 0.9rem; }
.user-indicator .user-name { font-size: 0.72rem; font-weight: 500; color: white; max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.9; }
.user-indicator .edit-icon { font-size: 0.62rem; opacity: 0.5; color: white; }

/* ── CATEGORY PILLS ──────────────────────────────── */
.cats-bar {
    position: sticky; top: 0; z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    display: flex; gap: 7px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 2px 12px rgba(80,50,20,0.06);
    position: sticky; /* parent for pseudo */
}
.cats-bar::-webkit-scrollbar { display: none; }
.cats-bar-wrap {
    position: sticky; top: 0; z-index: 100;
}
.cats-bar-wrap::after {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 48px;
    background: linear-gradient(to left, var(--surface), transparent);
    pointer-events: none;
    z-index: 1;
}
.cat-pill {
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border-strong);
    transition: all 0.2s;
    user-select: none;
    letter-spacing: 0.01em;
}
.cat-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ── SEARCH BAR ─────────────────────────────────── */
.cat-pill--search {
    display: flex; align-items: center; justify-content: center;
    padding: 7px 12px;
    flex-shrink: 0;
    color: var(--muted);
}
.cat-pill--search.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.search-bar {
    max-height: 0;
    overflow: hidden;
    background: var(--surface);
    transition: max-height 0.3s ease-out;
    border-bottom: 1px solid transparent;
}
.search-bar.open {
    max-height: 60px;
    border-bottom-color: var(--border);
}
.search-bar-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: var(--muted);
}
.search-bar-inner input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: var(--text);
    outline: none;
}
.search-bar-inner input::placeholder { color: var(--muted); opacity: 0.7; }
.search-clear {
    display: none;
    align-items: center; justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    color: var(--muted);
    cursor: pointer;
}
.search-clear.visible { display: flex; }

.product-card.search-hidden { display: none; }
.cat-section.search-hidden { display: none; }

/* ── CONTENT ─────────────────────────────────────── */
.content { padding: 0 0 130px; }
.cat-section { scroll-margin-top: 62px; }
.cat-heading {
    padding: 26px 20px 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 12px;
}
.cat-divider { flex:1; height:1px; background: linear-gradient(to right, var(--border-strong), transparent); }

/* ── PRODUCT CARD ────────────────────────────────── */
.product-list { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    box-shadow: var(--shadow-sm);
    user-select: none;
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,147,58,0.03) 0%, transparent 60%);
    pointer-events: none;
}
.product-card:active { transform: scale(0.98); box-shadow: var(--shadow-sm); }
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }

/* Featured card — hero variant */
.product-card--featured {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
}
.product-card--featured::before { display: none; }
.featured-img {
    width: 100%; height: 180px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.featured-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card--featured:active .featured-img img { transform: scale(1.03); }
.featured-img-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--surface), transparent);
    pointer-events: none;
}
.featured-body {
    padding: 14px 16px 16px;
}
.featured-body .product-name {
    font-size: 1.02rem;
    white-space: normal;
    -webkit-line-clamp: unset;
}
.featured-body .product-desc {
    -webkit-line-clamp: 3;
}
.featured-body .product-footer {
    margin-top: 10px;
}

.product-img {
    width: 76px; height: 76px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--bg-warm), var(--accent-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--border);
}
.product-img img { width:100%; height:100%; object-fit:cover; }
.product-info { flex:1; min-width:0; }
.product-name {
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
    letter-spacing: -0.01em;
}
.product-desc {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    font-weight: 300;
}
.product-footer { display:flex; align-items:center; justify-content:space-between; margin-top:9px; }
.product-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #a36b1a;
    letter-spacing: 0.01em;
    line-height: 1;
}
.product-meta { font-size: 0.68rem; color: var(--muted); display:flex; align-items:center; gap:3px; margin-top:2px; }
.add-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.3rem;
    display: flex; align-items:center; justify-content:center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s, background 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1;
}
.add-btn:active { transform: scale(0.85); }

/* ── PRODUCT MODAL ───────────────────────────────── */
.modal-overlay {
    position: fixed; inset:0;
    background: rgba(20,14,8,0.65);
    z-index: 200;
    display: flex; align-items: flex-end;
    opacity:0; pointer-events:none;
    transition: opacity 0.25s;
    backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal {
    background: var(--surface);
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-height: 92dvh;
    overflow-y: auto;
    scrollbar-width: none;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
    overscroll-behavior: contain;
    box-shadow: 0 -8px 40px rgba(20,14,8,0.2);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal::-webkit-scrollbar { display:none; }
.modal-drag { width:40px; height:4px; background:var(--border-strong); border-radius:2px; margin:14px auto 0; opacity:0.6; }
.modal-img {
    width:100%; height:240px;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--accent-light) 100%);
    display: flex; align-items:center; justify-content:center;
    font-size: 5rem;
    overflow: hidden;
    position: relative;
}
.modal-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--surface), transparent);
}
.modal-img img { width:100%; height:100%; object-fit:cover; cursor:zoom-in; }

/* ── IMAGE ZOOM LIGHTBOX ────────────────────────── */
.img-zoom-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 500;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s;
    cursor: zoom-out;
    touch-action: none;
    -webkit-user-select: none; user-select: none;
}
.img-zoom-overlay.open { opacity: 1; pointer-events: all; }
.img-zoom-overlay img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.2s ease-out;
    will-change: transform;
    pointer-events: none;
}
.img-zoom-close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 501;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}
.img-zoom-close:hover { background: rgba(255,255,255,0.25); }
.img-zoom-hint {
    position: absolute; bottom: 24px; left: 50%;
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.04em;
    pointer-events: none;
    transition: opacity 0.4s;
}
.modal-body { padding: 20px 22px 0; }
.modal-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
}
.modal-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #a36b1a;
    margin-top: 6px;
}
.modal-desc { font-size: 0.83rem; color: var(--muted); margin-top: 10px; line-height: 1.65; font-weight: 300; }
.modal-prep {
    display: inline-flex; align-items:center; gap:5px;
    font-size: 0.72rem; color: var(--muted);
    margin-top: 10px;
    background: var(--bg-warm);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.modifier-group { margin-top: 24px; }
.modifier-title {
    font-weight: 600;
    font-size: 0.88rem;
    display: flex; align-items:center; justify-content:space-between;
    letter-spacing: -0.01em;
}
.modifier-badge { font-size: 0.65rem; padding: 3px 9px; border-radius: 20px; font-weight: 500; }
.badge-required { background: #fef3c7; color: #92400e; }
.badge-optional { background: var(--bg-warm); color: var(--muted); }
.modifier-hint { font-size: 0.7rem; color: var(--muted); margin-top: 3px; }
.modifier-options { margin-top: 10px; display:flex; flex-direction:column; gap:7px; }
.mod-option {
    display:flex; align-items:center; justify-content:space-between;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
    background: var(--surface);
}
.mod-option.selected {
    border-color: var(--accent);
    background: rgba(201,147,58,0.06);
}
.mod-option-left { display:flex; align-items:center; gap:11px; }
.mod-check {
    width: 19px; height: 19px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    display: flex; align-items:center; justify-content:center;
    transition: all 0.15s; flex-shrink:0;
}
.mod-option.selected .mod-check { background: var(--accent); border-color: var(--accent); }
.mod-check::after { content:''; width:7px; height:7px; border-radius:50%; background:white; opacity:0; transition:opacity 0.15s; }
.mod-option.selected .mod-check::after { opacity:1; }
.mod-option-name { font-size: 0.87rem; color: var(--text-2); }
.mod-extra-price { font-family: 'Outfit', sans-serif; font-size: 0.8rem; color: #a36b1a; font-weight: 600; }

.modal-cta {
    position: sticky; bottom: 0;
    background: var(--surface);
    padding: 16px 22px 28px;
    border-top: 1px solid var(--border);
    display: flex; align-items:center; gap:14px;
    margin-top: 24px;
    box-shadow: 0 -4px 20px rgba(80,50,20,0.08);
}
.qty-ctrl {
    display:flex; align-items:center; gap:12px;
    background: var(--bg-warm);
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid var(--border);
}
.qty-btn {
    width: 28px; height: 28px; border:none;
    background: var(--surface);
    border-radius: 50%;
    font-size: 1.1rem; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s;
    color: var(--text);
}
.qty-btn:active { transform: scale(0.88); }
.qty-val { font-weight: 600; font-size: 0.92rem; min-width: 18px; text-align:center; }
.add-cart-btn {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 14px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: flex; align-items:center; justify-content:space-between;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    letter-spacing: 0.01em;
}
.add-cart-btn:active { transform: scale(0.98); }
.add-cart-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── PREFERENCES MODAL ───────────────────────────── */
.prefs-overlay { position:fixed; inset:0; background:rgba(20,14,8,0.6); z-index:400; display:flex; align-items:flex-end; opacity:0; pointer-events:none; transition:opacity 0.25s; backdrop-filter:blur(4px); }
.prefs-overlay.open { opacity:1; pointer-events:all; }
.prefs-modal { background:var(--surface); border-radius:24px 24px 0 0; width:100%; padding:0 0 36px; transform:translateY(100%); transition:transform 0.35s cubic-bezier(0.32,0.72,0,1); box-shadow:0 -8px 40px rgba(20,14,8,0.15); }
.prefs-overlay.open .prefs-modal { transform:translateY(0); }
.prefs-drag { width:40px; height:4px; background:var(--border-strong); border-radius:2px; margin:14px auto 0; opacity:0.6; }
.prefs-header { padding:18px 22px 14px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--border); }
.prefs-title { font-family:'Cormorant Garamond',serif; font-size:1.2rem; font-weight:600; color:var(--text); }
.prefs-close { width:30px; height:30px; border-radius:50%; background:var(--bg-warm); border:1px solid var(--border); cursor:pointer; font-size:0.85rem; color:var(--muted); display:flex; align-items:center; justify-content:center; }
.prefs-body { padding:20px 22px 0; display:flex; flex-direction:column; gap:20px; }
.prefs-field label { display:block; font-size:0.7rem; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:9px; }
.prefs-field input { width:100%; border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:12px 14px; font-family:'Outfit',sans-serif; font-size:0.9rem; color:var(--text); background:var(--surface); outline:none; transition:border-color 0.15s; }
.prefs-field input:focus { border-color:var(--accent); }
.lang-options { display:flex; flex-direction:column; gap:8px; }
.lang-option { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:var(--radius-sm); border:1.5px solid var(--border); cursor:pointer; transition:border-color 0.15s, background 0.15s; user-select:none; }
.lang-option.selected { border-color:var(--accent); background:rgba(201,147,58,0.06); }
.lang-option .lang-radio { width:18px; height:18px; border-radius:50%; border:2px solid var(--border-strong); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all 0.15s; }
.lang-option.selected .lang-radio { background:var(--accent); border-color:var(--accent); }
.lang-option .lang-radio::after { content:''; width:6px; height:6px; border-radius:50%; background:white; opacity:0; transition:opacity 0.15s; }
.lang-option.selected .lang-radio::after { opacity:1; }
.lang-option .lang-label { font-size:0.88rem; font-weight:500; color:var(--text-2); }
.lang-option .lang-flag { font-size:1.1rem; }
.prefs-save { margin:20px 22px 0; width:calc(100% - 44px); background:var(--primary); color:white; border:none; border-radius:30px; padding:14px; font-family:'Outfit',sans-serif; font-size:0.9rem; font-weight:600; cursor:pointer; transition:opacity 0.2s; letter-spacing:0.02em; box-shadow:0 4px 16px rgba(0,0,0,0.2); }

/* ── CART DRAWER ─────────────────────────────────── */
.cart-overlay { position:fixed; inset:0; background:rgba(20,14,8,0.6); z-index:300; opacity:0; pointer-events:none; transition:opacity 0.25s; backdrop-filter:blur(4px); }
.cart-overlay.open { opacity:1; pointer-events:all; }
.cart-drawer { position:fixed; bottom:0; left:0; right:0; background:var(--surface); border-radius:24px 24px 0 0; z-index:301; max-height:92dvh; display:flex; flex-direction:column; transform:translateY(100%); transition:transform 0.35s cubic-bezier(0.32,0.72,0,1); box-shadow:0 -8px 40px rgba(20,14,8,0.15); }
.cart-overlay.open .cart-drawer { transform:translateY(0); }
.cart-drag { width:40px; height:4px; background:var(--border-strong); border-radius:2px; margin:14px auto 6px; flex-shrink:0; opacity:0.6; }
.cart-header { padding:0 22px 14px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--border); flex-shrink:0; }
.cart-title { font-family:'Cormorant Garamond',serif; font-size:1.3rem; font-weight:600; color:var(--text); }
.cart-close { width:32px; height:32px; border-radius:50%; background:var(--bg-warm); border:1px solid var(--border); cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:0.9rem; color:var(--muted); }
.cart-body { flex:1; overflow-y:auto; padding:16px 22px; scrollbar-width:none; }
.cart-body::-webkit-scrollbar { display:none; }

.cart-item { display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--border); }
.cart-item:last-child { border-bottom:none; }
.cart-item-info { flex:1; min-width:0; }
.cart-item-name { font-weight:600; font-size:0.9rem; color:var(--text); letter-spacing:-0.01em; }
.cart-item-opts { font-size:0.73rem; color:var(--muted); margin-top:3px; line-height:1.4; }
.cart-item-notes-input { width:100%; margin-top:7px; border:1px solid var(--border); border-radius:8px; padding:7px 10px; font-family:'Outfit',sans-serif; font-size:0.75rem; color:var(--text); background:var(--bg-warm); resize:none; outline:none; transition:border-color 0.15s; }
.cart-item-notes-input:focus { border-color:var(--accent); }
.cart-item-right { display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex-shrink:0; }
.cart-item-price { font-family:'Cormorant Garamond',serif; font-size:1.2rem; font-weight:600; color:#a36b1a; }
.cart-item-qty { display:flex; align-items:center; gap:8px; }
.cqty-btn { width:26px; height:26px; border-radius:50%; background:var(--bg-warm); border:1px solid var(--border); cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:0.88rem; color:var(--text); transition:all 0.15s; }
.cqty-btn:active { transform:scale(0.9); }
.cqty-btn.remove { background:#fef2f2; border-color:#fecaca; color:var(--danger); }
.cqty-btn.remove svg { display:block; }
.cqty-val { font-size:0.85rem; font-weight:600; min-width:16px; text-align:center; }

.cart-customer { margin-top:16px; padding:16px; background:var(--bg-warm); border-radius:var(--radius); border:1px solid var(--border); }
.cart-customer-title { font-size:0.78rem; font-weight:600; margin-bottom:10px; color:var(--text-2); letter-spacing:0.02em; }
.cart-input { width:100%; border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:11px 14px; font-family:'Outfit',sans-serif; font-size:0.9rem; color:var(--text); background:var(--surface); outline:none; transition:border-color 0.15s; }
.cart-input:focus { border-color:var(--accent); }

/* CART FOOTER */
.cart-footer { padding:16px 22px 30px; border-top:1px solid var(--border); flex-shrink:0; background:var(--surface); box-shadow:0 -4px 20px rgba(80,50,20,0.07); }
.cart-summary { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:14px; }
.cart-summary-label { font-size:0.82rem; color:var(--muted); font-weight:400; }
.cart-summary-total { font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:600; color:var(--text); }

#payment-request-btn { width:100%; min-height:52px; border-radius:30px; overflow:hidden; }
.checkout-btn { width:100%; background:var(--primary); color:white; border:none; border-radius:30px; padding:16px 20px; font-family:'Outfit',sans-serif; font-size:0.95rem; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:10px; transition:opacity 0.2s, transform 0.15s; box-shadow:0 4px 16px rgba(0,0,0,0.2); letter-spacing:0.02em; }
.checkout-btn:active { transform:scale(0.98); }
.checkout-btn:disabled { opacity:0.4; cursor:not-allowed; }

.trust-badges {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 0.68rem; color: var(--muted);
    margin: 10px 0 0;
    letter-spacing: 0.02em;
    font-weight: 400;
}
.trust-badges svg { color: var(--accent); flex-shrink: 0; }

.cash-divider { display:flex; align-items:center; gap:10px; margin:14px 0 12px; color:var(--muted); font-size:0.74rem; letter-spacing:0.04em; text-transform:uppercase; }
.cash-divider::before, .cash-divider::after { content:''; flex:1; height:1px; background:var(--border-strong); }
.checkout-btn--cash { width:100%; background:transparent; color:var(--text-2); border:1.5px solid var(--border-strong); border-radius:30px; padding:14px 20px; font-family:'Outfit',sans-serif; font-size:0.9rem; font-weight:500; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:background 0.18s, border-color 0.18s; }
.checkout-btn--cash:active { background:var(--bg-warm); }
.checkout-btn--cash:disabled { opacity:0.4; cursor:not-allowed; }
.cash-note { text-align:center; font-size:0.72rem; color:var(--muted); margin-top:7px; font-style:italic; }
.payment-error { display:none; color:var(--danger); font-size:0.78rem; text-align:center; margin-top:10px; padding:8px 12px; background:#fef2f2; border-radius:8px; border:1px solid #fecaca; }
.cart-min-order-warning { text-align:center; font-size:0.82rem; font-weight:500; color:var(--danger); background:#fef2f2; border:1px solid #fecaca; border-radius:8px; padding:10px 12px; margin-bottom:12px; }

/* CART FAB */
.cart-fab {
    position: fixed; bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 150;
    background: var(--primary);
    color: white; border: none;
    border-radius: 30px;
    padding: 15px 26px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem; font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.12);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    white-space: nowrap; min-width: 220px; justify-content: space-between;
}
.cart-fab.visible { transform: translateX(-50%) translateY(0); }
.cart-fab-left { display:flex; align-items:center; gap:10px; }
.cart-badge { background:var(--accent); color:white; font-size:0.7rem; font-weight:700; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.cart-fab-total { font-family:'Cormorant Garamond',serif; font-size:1.15rem; font-weight:600; }

/* ── CART ADD DOT ANIMATION ──────────────────────── */
.cart-dot {
    position: fixed;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #e8b94e, var(--accent));
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 0 16px rgba(201,147,58,0.8), 0 0 40px rgba(201,147,58,0.4), 0 0 60px rgba(201,147,58,0.15);
}

/* ── SWIPE TO DELETE ────────────────────────────── */
.cart-item-swipe {
    position: relative;
    overflow: hidden;
}
.cart-item-swipe-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 80px;
    background: var(--danger);
    display: flex; align-items: center; justify-content: center;
    color: white;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    opacity: 0;
    transition: opacity 0.15s;
}
.cart-item-swipe-bg.visible { opacity: 1; }
.cart-item-swipe-bg svg { width: 20px; height: 20px; }
.cart-item-swipe > .cart-item {
    position: relative;
    background: var(--surface);
    z-index: 1;
    transition: transform 0.2s ease-out;
    border-bottom: 1px solid var(--border);
}
.cart-item-swipe > .cart-item.swiping { transition: none; }

/* EMPTY */
.empty-state { text-align:center; padding:60px 20px; color:var(--muted); }
.empty-state h2 { font-family:'Cormorant Garamond',serif; font-size:1.4rem; margin-bottom:8px; }
.cart-empty { text-align:center; padding:40px 20px; color:var(--muted); }
.cart-empty-icon { font-size:2.5rem; margin-bottom:12px; opacity:0.7; }
.cart-empty p { font-size:0.85rem; line-height:1.6; }
