/**
 * Star Menu - Premium Restaurant Menu Styles
 * Mobile-first, dark theme with gold accents
 */

/* CSS Variables */
:root {
    --sm-bg: #0d0d0d;
    --sm-bg-secondary: #111111;
    --sm-card-bg: #1a1a1a;
    --sm-card-hover: #222222;
    --sm-border: rgba(255, 255, 255, 0.08);
    --sm-gold: #C9A24A;
    --sm-gold-light: #E1C477;
    --sm-gold-dark: #A68332;
    --sm-white: #FFFFFF;
    --sm-text: #FFFFFF;
    --sm-text-muted: #9CA3AF;
    --sm-text-dim: #6B7280;
    --sm-success: #22C55E;
    --sm-error: #EF4444;
    --sm-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --sm-radius: 12px;
    --sm-radius-sm: 8px;
    --sm-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --sm-transition: all 0.2s ease;
}

/* Reset & Base */
.star-menu {
    font-family: var(--sm-font);
    background: var(--sm-bg);
    color: var(--sm-text);
    min-height: 100vh;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.star-menu *,
.star-menu *::before,
.star-menu *::after {
    box-sizing: border-box;
}

.star-menu img {
    max-width: 100%;
    height: auto;
}

.star-menu button {
    cursor: pointer;
    font-family: inherit;
}

/* =====================================================
   HEADER
   ===================================================== */
.sm-header {
    background: var(--sm-bg-secondary);
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--sm-border);
}

.sm-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sm-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sm-restaurant-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--sm-gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sm-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.sm-nav-btn {
    background: transparent;
    border: 1px solid var(--sm-border);
    color: var(--sm-text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--sm-transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sm-nav-btn:hover,
.sm-nav-btn.active {
    background: var(--sm-gold);
    border-color: var(--sm-gold);
    color: var(--sm-bg);
}

.sm-cart-count {
    background: var(--sm-error);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* =====================================================
   FEATURED SECTION
   ===================================================== */
.sm-featured {
    padding: 20px 15px;
    border-bottom: 1px solid var(--sm-border);
}

.sm-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sm-featured h2,
.sm-section-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--sm-text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-featured-nav {
    display: flex;
    gap: 8px;
}

.sm-featured-prev,
.sm-featured-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sm-card-bg);
    border: 1px solid var(--sm-border);
    color: var(--sm-text);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--sm-transition);
}

.sm-featured-prev:hover,
.sm-featured-next:hover {
    background: var(--sm-gold);
    border-color: var(--sm-gold);
    color: var(--sm-bg);
}

.sm-featured-slider {
    overflow: hidden;
    margin: 0 -15px;
    padding: 0 15px;
}

.sm-featured-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

.sm-featured-track::-webkit-scrollbar {
    display: none;
}

.sm-featured-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
    background: var(--sm-card-bg);
    border-radius: var(--sm-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--sm-transition);
}

.sm-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sm-shadow);
}

.sm-featured-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.sm-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sm-featured-card:hover .sm-featured-image img {
    transform: scale(1.05);
}

.sm-featured-info {
    padding: 10px;
}

.sm-featured-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--sm-text);
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sm-featured-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--sm-gold);
}

/* =====================================================
   CATEGORIES SLIDER
   ===================================================== */
.sm-categories-slider {
    background: var(--sm-bg-secondary);
    padding: 12px 15px;
    position: sticky;
    top: 85px;
    z-index: 90;
    border-bottom: 1px solid var(--sm-border);
}

.sm-categories-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sm-categories-track::-webkit-scrollbar {
    display: none;
}

.sm-category-btn {
    flex-shrink: 0;
    background: var(--sm-card-bg);
    border: 1px solid var(--sm-border);
    color: var(--sm-text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--sm-transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sm-category-btn:hover {
    background: var(--sm-card-hover);
    color: var(--sm-text);
}

.sm-category-btn.active {
    background: var(--sm-gold);
    border-color: var(--sm-gold);
    color: var(--sm-bg);
}

.sm-cat-icon {
    font-size: 14px;
}

/* =====================================================
   MENU SECTIONS & ITEM GRID
   ===================================================== */
.sm-menu-sections {
    padding: 15px;
}

.sm-menu-section {
    display: none;
}

.sm-menu-section.active {
    display: block;
}

.sm-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--sm-gold);
    margin: 0 0 8px;
}

.sm-section-desc {
    font-size: 14px;
    color: var(--sm-text-muted);
    margin: 0 0 20px;
}

.sm-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* =====================================================
   ITEM CARD (Two-column mobile grid)
   ===================================================== */
.sm-item-card {
    background: var(--sm-card-bg);
    border-radius: var(--sm-radius);
    overflow: hidden;
    transition: var(--sm-transition);
    display: flex;
    flex-direction: column;
}

.sm-item-card:hover {
    background: var(--sm-card-hover);
}

.sm-item-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.sm-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sm-item-card:hover .sm-item-image img {
    transform: scale(1.05);
}

.sm-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sm-bg);
    font-size: 32px;
}

.sm-item-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
}

.sm-badge {
    font-size: 12px;
    line-height: 1;
}

.sm-item-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sm-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--sm-text);
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.sm-item-desc {
    font-size: 11px;
    color: var(--sm-text-muted);
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    padding-bottom: 8px;
}

.sm-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.sm-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--sm-gold);
}

.sm-price-old {
    text-decoration: line-through;
    color: var(--sm-text-dim);
    font-size: 11px;
    font-weight: 400;
    margin-right: 4px;
}

.sm-price-sale {
    color: var(--sm-success);
}

.sm-add-btn {
    background: var(--sm-gold);
    border: none;
    color: var(--sm-bg);
    padding: 6px 12px;
    border-radius: var(--sm-radius-sm);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--sm-transition);
    text-transform: uppercase;
}

.sm-add-btn:hover {
    background: var(--sm-gold-light);
}

.sm-add-btn.added {
    background: var(--sm-success);
}

.sm-add-btn-icon {
    font-size: 14px;
    font-weight: 700;
}

/* =====================================================
   FLOATING CART
   ===================================================== */
.sm-floating-cart {
    position: fixed;
    bottom: 20px;
    left: 15px;
    right: 15px;
    background: var(--sm-gold);
    border-radius: var(--sm-radius);
    padding: 14px 20px;
    cursor: pointer;
    z-index: 200;
    box-shadow: 0 4px 20px rgba(201, 162, 74, 0.4);
    transition: var(--sm-transition);
}

.sm-floating-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(201, 162, 74, 0.5);
}

.sm-floating-cart-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--sm-bg);
    font-weight: 600;
}

.sm-cart-icon {
    font-size: 18px;
}

.sm-floating-cart-items {
    font-size: 14px;
}

.sm-floating-cart-total {
    font-size: 16px;
    font-weight: 700;
    margin-left: auto;
}

/* =====================================================
   CART PANEL (Slide-up)
   ===================================================== */
.sm-cart-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
}

.sm-cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sm-cart-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--sm-bg-secondary);
    border-radius: var(--sm-radius) var(--sm-radius) 0 0;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sm-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--sm-border);
}

.sm-cart-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.sm-cart-close {
    background: none;
    border: none;
    color: var(--sm-text-muted);
    font-size: 28px;
    padding: 0;
    line-height: 1;
}

.sm-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
}

.sm-cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--sm-text-muted);
}

.sm-cart-empty span {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.sm-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sm-border);
}

.sm-cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--sm-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--sm-card-bg);
}

.sm-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-cart-item-info {
    flex: 1;
    min-width: 0;
}

.sm-cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.sm-cart-item-options {
    font-size: 12px;
    color: var(--sm-text-muted);
    margin-bottom: 6px;
}

.sm-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sm-card-bg);
    border: 1px solid var(--sm-border);
    color: var(--sm-text);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--sm-transition);
}

.sm-qty-btn:hover {
    background: var(--sm-gold);
    border-color: var(--sm-gold);
    color: var(--sm-bg);
}

.sm-qty-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sm-qty-input {
    width: 40px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--sm-text);
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.sm-qty-input::-webkit-outer-spin-button,
.sm-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sm-cart-item-price {
    text-align: right;
    flex-shrink: 0;
}

.sm-cart-item-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--sm-gold);
}

.sm-cart-item-remove {
    background: none;
    border: none;
    color: var(--sm-text-dim);
    font-size: 12px;
    margin-top: 4px;
    padding: 0;
}

.sm-cart-item-remove:hover {
    color: var(--sm-error);
}

.sm-cart-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--sm-border);
    background: var(--sm-bg);
}

.sm-cart-totals {
    margin-bottom: 15px;
}

.sm-cart-subtotal,
.sm-cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
}

.sm-cart-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--sm-gold);
    margin-bottom: 0;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.sm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--sm-radius);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--sm-transition);
    width: 100%;
}

.sm-btn-primary {
    background: var(--sm-gold);
    color: var(--sm-bg);
}

.sm-btn-primary:hover {
    background: var(--sm-gold-light);
}

.sm-btn-primary:disabled {
    background: var(--sm-card-bg);
    color: var(--sm-text-dim);
    cursor: not-allowed;
}

.sm-btn-secondary {
    background: var(--sm-card-bg);
    color: var(--sm-text);
    border: 1px solid var(--sm-border);
}

.sm-btn-secondary:hover {
    background: var(--sm-card-hover);
}

.sm-btn-whatsapp {
    background: #25D366;
    color: white;
}

.sm-btn-whatsapp:hover {
    background: #20BD5A;
}

.sm-btn-email {
    background: var(--sm-card-bg);
    color: var(--sm-text);
    border: 1px solid var(--sm-border);
}

.sm-btn-email:hover {
    background: var(--sm-card-hover);
}

.sm-btn-icon {
    font-size: 16px;
}

/* =====================================================
   ITEM MODAL
   ===================================================== */
.sm-item-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
}

.sm-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.sm-item-modal .sm-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--sm-bg-secondary);
    border-radius: var(--sm-radius) var(--sm-radius) 0 0;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

.sm-item-modal .sm-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.sm-modal-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--sm-card-bg);
    overflow: hidden;
}

.sm-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.sm-modal-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sm-modal-desc {
    font-size: 14px;
    color: var(--sm-text-muted);
    margin: 0 0 15px;
    line-height: 1.5;
}

.sm-modal-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--sm-gold);
    margin-bottom: 20px;
}

.sm-modal-options {
    margin-bottom: 20px;
}

.sm-modal-options h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-option-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--sm-card-bg);
    border-radius: var(--sm-radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--sm-transition);
}

.sm-option-item:hover {
    background: var(--sm-card-hover);
}

.sm-option-item.selected {
    background: rgba(201, 162, 74, 0.15);
    border: 1px solid var(--sm-gold);
}

.sm-option-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--sm-border);
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sm-option-item.selected .sm-option-checkbox {
    background: var(--sm-gold);
    border-color: var(--sm-gold);
}

.sm-option-item.selected .sm-option-checkbox::after {
    content: '✓';
    color: var(--sm-bg);
    font-size: 12px;
    font-weight: bold;
}

.sm-option-name {
    flex: 1;
    font-size: 14px;
}

.sm-option-price {
    font-size: 13px;
    color: var(--sm-gold);
    font-weight: 600;
}

.sm-modal-quantity {
    margin-bottom: 20px;
}

.sm-modal-quantity label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-modal-notes label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-modal-notes textarea {
    width: 100%;
    padding: 12px;
    background: var(--sm-card-bg);
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-sm);
    color: var(--sm-text);
    font-size: 14px;
    resize: none;
    height: 80px;
    font-family: inherit;
}

.sm-modal-notes textarea::placeholder {
    color: var(--sm-text-dim);
}

.sm-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--sm-border);
    background: var(--sm-bg);
}

.sm-add-to-cart-modal {
    background: var(--sm-gold);
    color: var(--sm-bg);
}

/* =====================================================
   CHECKOUT PANEL
   ===================================================== */
.sm-checkout-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
}

.sm-checkout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.sm-checkout-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sm-bg);
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.sm-checkout-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--sm-border);
    background: var(--sm-bg-secondary);
}

.sm-checkout-back {
    background: none;
    border: none;
    color: var(--sm-text);
    font-size: 24px;
    padding: 0;
    margin-right: 15px;
}

.sm-checkout-header h2 {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.sm-checkout-close {
    background: none;
    border: none;
    color: var(--sm-text-muted);
    font-size: 28px;
    padding: 0;
}

.sm-checkout-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sm-checkout-summary {
    background: var(--sm-card-bg);
    border-radius: var(--sm-radius);
    padding: 15px;
    margin-bottom: 20px;
}

.sm-checkout-summary h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-checkout-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--sm-gold);
    padding-top: 15px;
    border-top: 1px solid var(--sm-border);
    margin-top: 15px;
}

.sm-checkout-fields h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-field {
    margin-bottom: 15px;
}

.sm-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--sm-text-muted);
}

.sm-field label .required {
    color: var(--sm-error);
}

.sm-field input,
.sm-field textarea {
    width: 100%;
    padding: 12px;
    background: var(--sm-card-bg);
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-sm);
    color: var(--sm-text);
    font-size: 14px;
    font-family: inherit;
}

.sm-field input:focus,
.sm-field textarea:focus {
    outline: none;
    border-color: var(--sm-gold);
}

.sm-field input::placeholder,
.sm-field textarea::placeholder {
    color: var(--sm-text-dim);
}

.sm-field textarea {
    resize: none;
    height: 80px;
}

/* Location Map */
.sm-field-location .sm-location-map {
    width: 100%;
    height: 150px;
    background: var(--sm-card-bg);
    border-radius: var(--sm-radius-sm);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-text-dim);
    border: 1px solid var(--sm-border);
}

.sm-locate-btn {
    width: 100%;
    margin-bottom: 10px;
}

.sm-checkout-footer {
    padding: 15px;
    border-top: 1px solid var(--sm-border);
    background: var(--sm-bg-secondary);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =====================================================
   RESPONSIVE - Tablet & Desktop
   ===================================================== */
@media (min-width: 768px) {
    .sm-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .sm-item-card {
        border-radius: var(--sm-radius);
    }

    .sm-item-name {
        font-size: 14px;
    }

    .sm-item-desc {
        font-size: 12px;
    }

    .sm-floating-cart {
        left: 50%;
        transform: translateX(-50%);
        max-width: 400px;
        right: auto;
    }

    .sm-floating-cart:hover {
        transform: translateX(-50%) translateY(-2px);
    }

    .sm-cart-content,
    .sm-item-modal .sm-modal-content {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: var(--sm-radius);
        bottom: 5%;
        max-height: 80vh;
    }

    .sm-checkout-content {
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: var(--sm-radius);
        top: 5%;
        bottom: 5%;
    }
}

@media (min-width: 1024px) {
    .sm-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .sm-featured-card {
        flex: 0 0 180px;
    }

    .sm-header-content {
        gap: 15px;
    }

    .sm-restaurant-name {
        font-size: 22px;
    }
}

@media (min-width: 1280px) {
    .sm-items-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================================================
   ANIMATIONS & UTILITIES
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    .star-menu *,
    .star-menu *::before,
    .star-menu *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sm-hidden {
    display: none !important;
}

.sm-loading {
    opacity: 0.6;
    pointer-events: none;
}
