:root {
    --primary: #d35400;
    --primary-dark: #a04000;
    --secondary: #e67e22;
    --accent: #c0392b;
    --accent-dark: #922b21;
    --warning: #f39c12;
    --orange: #e67e22;
    --green: #27ae60;
    --bg: #fef9ef;
    --card-bg: #ffffff;
    --text: #5d4037;
    --text-light: #8d6e63;
    --shadow: 0 4px 20px rgba(211,84,0,0.12);
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    background-image: radial-gradient(circle at 10% 20%, rgba(211,84,0,0.03) 0%, transparent 50%),
                      radial-gradient(circle at 90% 80%, rgba(192,57,43,0.03) 0%, transparent 50%);
    color: var(--text);
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #c0392b, #e74c3c, #e67e22);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(192,57,43,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header::after {
    content: '🍽️';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.25;
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid transparent;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.nav-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #fff;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 4px;
    transition: transform 0.2s;
}

.cart-badge.hidden {
    display: none;
}

.cart-badge.pop {
    animation: badgePop 0.3s ease;
}

@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.nav-btn.active {
    background: #fff;
    color: var(--primary);
    border-color: #f5cba7;
    box-shadow: 0 4px 15px rgba(211,84,0,0.2);
}

main {
    max-width: 960px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.section {
    display: none;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.section.active {
    display: block;
}

.section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.restock-btn {
    background: linear-gradient(135deg, var(--primary), #f39c12);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(211,84,0,0.3);
    -webkit-text-fill-color: #fff;
    background-clip: unset;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.restock-btn:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(211,84,0,0.4);
}

.section-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Menu Filters */
.menu-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.menu-filters input, .menu-filters select {
    padding: 0.6rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fafafa;
}

.menu-filters input:focus, .menu-filters select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(211,84,0,0.1);
}

.menu-filters input {
    flex: 1;
    min-width: 180px;
}

#categoryFilter {
    cursor: pointer;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.menu-card {
    border-radius: var(--radius);
    padding: 1.2rem 1rem;
    text-align: center;
    transition: all 0.3s;
    background: linear-gradient(145deg, #ffffff, #f8f9ff);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-card:hover::before {
    opacity: 1;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(211,84,0,0.12);
    border-color: var(--primary);
}

.menu-img-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.5rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    transition: transform 0.3s;
}

.menu-card:hover .menu-img-wrap {
    transform: scale(1.08);
}

.menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-emoji-fallback {
    display: none;
    font-size: 2.8rem;
}

.menu-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.menu-card .category {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.menu-card .price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.menu-card[data-category="makanan"] .price { color: #e17055; }
.menu-card[data-category="minuman"] .price { color: #0984e3; }
.menu-card[data-category="pencuci mulut"] .price { color: #e84393; }

.menu-card button {
    background: linear-gradient(135deg, var(--primary), #f39c12);
    color: #fff;
    border: none;
    padding: 0.45rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(211,84,0,0.25);
}

.menu-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211,84,0,0.35);
}

.menu-card button:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.menu-card button:disabled:hover {
    transform: none;
    box-shadow: none;
}

.menu-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.badge-stock {
    background: #e8f8f5;
    color: #00b894;
}

.badge-sold {
    background: #fce4ec;
    color: #e74c3c;
    animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.menu-card.sold-out {
    opacity: 0.55;
    filter: grayscale(0.4);
}

.menu-card.sold-out:hover {
    transform: none;
    border-color: #eee;
    box-shadow: none;
}

.menu-card.sold-out:hover::before {
    opacity: 0;
}

/* Combo Slider */
.combo-slider {
    background: linear-gradient(135deg, #fff8f0, #fff0e0);
    border: 2px solid #fed7aa;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.combo-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.combo-slider-header h3 {
    font-size: 1rem;
    color: var(--orange);
    font-weight: 700;
}

.combo-slider-nav {
    display: flex;
    gap: 0.3rem;
}

.slider-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(225,112,85,0.15);
    color: var(--orange);
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.slider-btn:hover {
    background: var(--orange);
    color: #fff;
}

.combo-track {
    overflow: hidden;
    position: relative;
    margin-bottom: 0.8rem;
}

.combo-slide {
    display: none;
    animation: fadeSlide 0.4s ease;
}

.combo-slide.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.combo-slide-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.combo-slide-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.combo-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.combo-emoji-fallback {
    display: none;
    font-size: 3rem;
}

.combo-slide-info {
    flex: 1;
    min-width: 140px;
}

.combo-slide-info .combo-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    background: var(--orange);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.combo-slide-info .combo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.05rem;
}

.combo-slide-info .combo-category {
    font-size: 0.7rem;
    color: var(--orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    opacity: 0.8;
}

.combo-items {
    list-style: none;
    padding: 0;
    margin: 0 0 0.4rem 0;
}

.combo-item-li {
    font-size: 0.8rem;
    color: var(--text);
    padding: 0.15rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.combo-item-li::before {
    content: '•';
    color: var(--orange);
    font-weight: 700;
    margin-right: 0.3rem;
}

.combo-item-li.combo-drink-choice {
    color: var(--text-light);
    font-style: italic;
}

.combo-item-li.combo-drink-choice::before {
    content: '▹';
    color: var(--accent);
}

.combo-drink-select {
    margin: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.combo-drink-select label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
}

.combo-drink-select-input {
    padding: 0.3rem 0.5rem;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 0.8rem;
    background: #fff;
    cursor: pointer;
    flex: 1;
    min-width: 120px;
}

.combo-slide-info .combo-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.3rem 0;
}

.combo-slide-info .combo-original {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
}

.combo-slide-info .combo-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--orange);
}

.combo-slide-info .combo-save {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
}

.combo-slide-info button {
    margin-top: 0.4rem;
    background: linear-gradient(135deg, var(--primary), #f39c12);
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(211,84,0,0.3);
}

.combo-slide-info button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(211,84,0,0.4);
}

.combo-slide-info button:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Dots */
.combo-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.combo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.combo-dot.active {
    background: var(--orange);
    width: 22px;
    border-radius: 4px;
}

/* Recurring Order */
.recurring-section {
    background: #f0f4ff;
    border: 1px solid #dce6ff;
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}

.recurring-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.recurring-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.recurring-days {
    margin-top: 0.8rem;
    transition: all 0.3s;
}

.recurring-days.hidden {
    display: none;
}

.recurring-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.day-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.day-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.7rem;
    border: 1.5px solid #dce6ff;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    font-weight: 500;
}

.day-label:has(input:checked) {
    border-color: var(--primary);
    background: rgba(211,84,0,0.10);
    color: var(--primary);
}

.day-label input[type="checkbox"] {
    accent-color: var(--primary);
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.recurring-total {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* Deadline Banner */
.deadline-banner {
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.deadline-banner.open {
    background: #e8f8f5;
    color: #00b894;
    border: 1px solid #b8e6d8;
}

.deadline-banner.closed {
    background: #fce4ec;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

/* Buyer Info */
.buyer-info {
    background: #f8f9ff;
    border: 1px solid #e8e8f0;
    border-radius: var(--radius);
    padding: 1.2rem;
    margin-bottom: 1.2rem;
}

.buyer-info h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.buyer-type {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
    justify-content: center;
}

.radio-label input[type="radio"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.radio-label:has(input:checked) {
    border-color: var(--primary);
    background: rgba(211,84,0,0.06);
}

.buyer-fields {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: all 0.3s;
}

.buyer-fields.hidden {
    display: none;
}

.field-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.field-row .field {
    flex: 1;
    min-width: 140px;
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.field input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(211,84,0,0.1);
}

/* Cart */
.cart-items {
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    border-radius: 8px;
    padding: 0.8rem 0.5rem;
    gap: 0.6rem;
}

.cart-item-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
}

.cart-item-emoji-fallback {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: #f5f5f5;
}

.cart-item:hover {
    background: #f8f9ff;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.95rem;
    color: var(--text);
}

.cart-item-info small {
    color: var(--text-light);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cart-item-actions button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-weight: 700;
}

.cart-item-actions button:first-of-type {
    background: #ffeaa7;
    color: #d68910;
}

.cart-item-actions button:first-of-type:hover {
    background: #fdcb6e;
}

.cart-item-actions button:nth-of-type(2) {
    background: var(--accent);
    color: #fff;
}

.cart-item-actions button:nth-of-type(2):hover {
    background: var(--accent-dark);
}

.cart-item-actions span {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    color: var(--text);
}

.delete-btn {
    background: none !important;
    border: none;
    color: var(--secondary) !important;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: 0.3rem;
    opacity: 0.6;
    transition: all 0.2s;
}

.delete-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

.cart-summary {
    text-align: right;
    padding-top: 1rem;
    border-top: 2px dashed #e0e0e0;
}

/* Payment */
.payment-section {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #eee;
}

.payment-section h3 {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pay-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-light);
    background: #fdebd0;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
}

.payment-flex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.payment-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.7rem 0.5rem;
    border-radius: 14px;
    border: 1.5px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.25s;
    background: #fff;
    text-align: center;
    position: relative;
    font-family: inherit;
    width: 100%;
}

.payment-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(211,84,0,0.12);
}

.payment-btn.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, #fef5e7, #fdebd0);
    box-shadow: 0 3px 12px rgba(211,84,0,0.18);
}

.payment-btn-icon {
    font-size: 1.6rem;
}

.payment-btn-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
}

.payment-btn-desc {
    font-size: 0.58rem;
    color: var(--text-light);
    line-height: 1.15;
}

.payment-btn-check {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-light);
    background: #f0f0f0;
    padding: 0.12rem 0.6rem;
    border-radius: 10px;
    margin-top: 0.2rem;
    transition: all 0.2s;
}

.payment-btn.selected .payment-btn-check {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 6px rgba(211,84,0,0.25);
}



.payment-detail {
    margin-top: 0.5rem;
    animation: fadeSlide 0.3s ease;
}

.pay-detail-box {
    border-radius: 14px;
    border: 1.5px solid var(--primary);
    padding: 0.8rem;
    background: #fef5e7;
}

.pay-detail-header {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--primary);
}

.qr-display {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.qr-visual {
    flex-shrink: 0;
}

.qr-code {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 1px;
}

.qr-dot {
    aspect-ratio: 1;
    border-radius: 1px;
}

.qr-dot.on { background: #1a1a2e; }
.qr-dot.off { background: #fff; }

.qr-info-panel {
    flex: 1;
    min-width: 140px;
}

.qr-merchant {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.qr-ref {
    font-size: 0.7rem;
    color: var(--primary);
    font-family: monospace;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.qr-steps {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}

.qr-step {
    font-size: 0.72rem;
    color: var(--text);
}

.qr-banks-title {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.qr-bank-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.qr-bank-chips span {
    font-size: 0.62rem;
    background: #fff;
    padding: 0.15rem 0.4rem;
    border-radius: 5px;
    border: 1px solid #eee;
    font-weight: 500;
}

.fpx-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.fpx-step {
    font-size: 0.75rem;
    color: var(--text);
    padding: 0.2rem 0;
}

.fpx-banks-label {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
}

.fpx-banks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.fpx-banks span {
    font-size: 0.65rem;
    background: #fff;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    border: 1px solid #eee;
    font-weight: 500;
}

.wallet-box {
    border-radius: 14px;
    border: 1.5px solid #00b894;
    background: #e6faf4;
}

.wallet-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.wallet-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.wallet-label {
    color: var(--text-light);
    font-weight: 500;
}

.wallet-value {
    font-weight: 700;
    color: var(--text);
}

.wallet-note {
    font-size: 0.7rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.2rem;
    padding-top: 0.3rem;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

.order-payment {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.1rem;
}

.cart-summary p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cart-summary strong {
    color: var(--green);
    font-size: 1.3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #f39c12);
    color: #fff;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(211,84,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211,84,0,0.4);
}

.btn-primary:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.no-result {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
    font-style: italic;
}

/* Suggestions */
.suggest-inline {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 2px dashed #f0e0c0;
    border-bottom: 2px dashed #f0e0c0;
}

.suggest-inline-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.suggestions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.7rem;
}

.suggestion-card {
    border-radius: var(--radius);
    padding: 1.2rem 1rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.suggestion-card:nth-child(1) { background: linear-gradient(135deg, #fff5f5, #ffe0e0); border: 1px solid #ffcccc; }
.suggestion-card:nth-child(2) { background: linear-gradient(135deg, #f0fff4, #d4f5e2); border: 1px solid #b8e6cc; }
.suggestion-card:nth-child(3) { background: linear-gradient(135deg, #fff8f0, #ffedd5); border: 1px solid #fed7aa; }
.suggestion-card:nth-child(4) { background: linear-gradient(135deg, #f0f4ff, #dce6ff); border: 1px solid #bccdff; }
.suggestion-card:nth-child(5) { background: linear-gradient(135deg, #fdf0ff, #f5d4ff); border: 1px solid #e8b8ff; }
.suggestion-card:nth-child(6) { background: linear-gradient(135deg, #f0fffe, #d4f5f2); border: 1px solid #b8e6e0; }

.suggestion-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.sug-img-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto 0.4rem;
    border-radius: 14px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    transition: transform 0.3s;
    position: relative;
}

.sug-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(231,76,60,0.35);
    z-index: 2;
}

.suggestion-card:hover .sug-img-wrap {
    transform: scale(1.08);
}

.sug-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sug-emoji-fallback {
    display: none;
    font-size: 2.2rem;
}

.suggestion-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--text);
}

.suggestion-card .reason {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.suggestion-card .price {
    font-weight: 700;
    margin: 0.3rem 0;
    font-size: 1rem;
}

.suggestion-card:nth-child(1) .price { color: #e17055; }
.suggestion-card:nth-child(2) .price { color: #00b894; }
.suggestion-card:nth-child(3) .price { color: #e17055; }
.suggestion-card:nth-child(4) .price { color: #0984e3; }
.suggestion-card:nth-child(5) .price { color: #e84393; }
.suggestion-card:nth-child(6) .price { color: #00cec9; }

.suggestion-card button {
    background: linear-gradient(135deg, var(--accent), #55efc4);
    color: #fff;
    border: none;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,206,201,0.3);
}

.suggestion-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,206,201,0.4);
}

/* Complaint Form */
#complaintForm {
    background: #f8f9ff;
    padding: 1.2rem;
    border-radius: var(--radius);
    border: 1px solid #e8e8f0;
}

#complaintForm label {
    display: block;
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

#complaintForm label:first-child {
    margin-top: 0;
}

#complaintForm input, #complaintForm select, #complaintForm textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: #fff;
}

#complaintForm input:focus, #complaintForm select:focus, #complaintForm textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(211,84,0,0.1);
}

#complaintForm textarea {
    resize: vertical;
    font-family: inherit;
}

#complaintForm button {
    margin-top: 1rem;
    width: 100%;
}

.complaint-list {
    margin-top: 1.5rem;
}

.complaint-list h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.complaint-item {
    padding: 1rem;
    margin-bottom: 0.7rem;
    border-radius: 12px;
    border-left: 5px solid;
    transition: transform 0.2s;
}

.complaint-item:nth-child(1) { background: #fff5f5; border-left-color: #e17055; }
.complaint-item:nth-child(2) { background: #f0fff4; border-left-color: #00b894; }
.complaint-item:nth-child(3) { background: #f0f4ff; border-left-color: #0984e3; }
.complaint-item:nth-child(4) { background: #fff8f0; border-left-color: #fdcb6e; }
.complaint-item:nth-child(5) { background: #fdf0ff; border-left-color: #e84393; }
.complaint-item:nth-child(n+6) { background: #fef5e7; border-left-color: var(--primary); }

.complaint-item:hover {
    transform: translateX(5px);
}

.complaint-item .meta {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.complaint-item strong {
    color: var(--text);
    font-size: 0.9rem;
}

.complaint-item .status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--warning);
    color: #8b6914;
    margin-top: 0.3rem;
}

.complaint-item .status.selesai {
    background: var(--green);
    color: #fff;
}

/* Order History */
.order-history {
    margin-top: 1.5rem;
}

.order-history h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.order-item {
    background: #f8f9ff;
    border: 1px solid #e8e8f0;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.6rem;
    transition: transform 0.2s;
}

.order-item:hover {
    transform: translateX(4px);
}

.order-item .order-meta {
    font-size: 0.72rem;
    color: var(--text-light);
}

.order-item .order-id {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.2rem 0;
}

.order-item .recur-badge {
    display: inline-block;
    font-size: 0.7rem;
    background: #f0f4ff;
    padding: 0.1rem 0.4rem;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 0.3rem;
}

.order-item .order-buyer {
    font-size: 0.8rem;
    color: var(--text);
}

.order-item .order-summary {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0.2rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem;
}

.order-item-thumb {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
}

.order-item .order-total {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-item .order-total .status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    background: var(--warning);
    color: #8b6914;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    font-weight: 600;
    font-size: 0.95rem;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #00b894, #55efc4);
    color: #fff;
}

.notification.error {
    background: linear-gradient(135deg, #c62828, #e17055);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 600px) {
    header h1 { font-size: 1.2rem; }
    header { padding: 0.8rem 1rem; }
    .section { padding: 1rem; }
    .menu-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .combo-slide-inner { flex-direction: column; text-align: center; }
    .suggestions-list { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
