/* === Reset & Variables === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #DE3619;
    --primary-dark: #b82c14;
    --primary-light: #fce8e4;
    --dark: #542700;
    --brown: #9C7451;
    --cream: #F3EFE4;
    --text: #542700;
    --text-muted: #9C7451;
    --bg: #F3EFE4;
    --white: #ffffff;
    --border: #d9d3c4;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.1);
    --transition: 0.2s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 720px; }

/* === Navbar === */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1100;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
}
.logo:hover { opacity: 0.9; }
.logo-img { height: 56px; width: auto; display: block; }

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
}
.nav-links a {
    padding: 0.5rem 0.85rem;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { background: var(--primary-light); color: var(--primary); }
.nav-menu-logo { display: none; }

.nav-toggle { display: none; background: none; border: none; border-radius: var(--radius-sm); cursor: pointer; padding: 0.5rem; width: 38px; height: 38px; align-items: center; justify-content: center; flex-direction: column; transition: all var(--transition); }
.nav-toggle:hover { background: var(--bg); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 2.5px 0; transition: all 0.3s ease; border-radius: 1px; }

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-nav { background: var(--primary); color: var(--white) !important; }
.btn-nav:hover { background: var(--primary-dark) !important; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #542700 0%, #3a1b00 100%);
    color: var(--white);
    padding: 4rem 0;
    overflow: hidden;
}
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-text { flex: 1; max-width: 640px; }
.hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}
.hero .highlight { color: var(--primary); }
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.hero-tagline { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--text-light); font-weight: 500; }
.hero-tagline-badge { font-size: 1.1rem; }
.tagline-section { padding: 2rem 0; text-align: center; }
.tagline-section .hero-tagline { justify-content: center; }

/* === Search Bar === */
.search-bar {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.search-bar input {
    flex: 1;
    border: none;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
    color: var(--text);
}
.search-bar .btn { border-radius: 0 50px 50px 0; padding: 0.9rem 1.5rem; }
.search-bar-sm { max-width: 480px; margin: 1rem auto 0; }

/* === USP Bar === */
.usp-bar { padding: 2.5rem 0; background: var(--dark); }
.usp-bar-items { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.25rem 2.5rem; }
.usp-bar-item { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.92); font-size: 0.95rem; font-weight: 600; white-space: nowrap; }
.usp-bar-check { display: flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; background: var(--primary); color: #fff; border-radius: 50%; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

/* === Features === */
.features { padding: 4rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* === CTA === */
.cta-section { padding: 3rem 0; }
.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
}
.cta-card h2 { margin-bottom: 0.75rem; font-size: 1.75rem; }
.cta-card p { margin-bottom: 1.5rem; opacity: 0.9; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-card .btn { background: var(--white); color: var(--primary); }
.cta-card .btn:hover { background: var(--primary-light); }

/* === Page Header === */
.page-header {
    background: var(--dark);
    color: var(--white);
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.page-header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.7); }

/* === Restaurant Grid === */
.restaurant-list { padding: 3rem 0; }
.restaurant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }

.restaurant-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    color: var(--text);
    border: 1px solid var(--border);
}
.restaurant-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.restaurant-card-body { padding: 1.5rem; }
.restaurant-card h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.restaurant-city { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.restaurant-address { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.25rem; }

/* === Restaurant Page === */
.restaurant-hero { background: var(--dark); color: var(--white); padding: 3rem 0; }
.restaurant-header h1 { font-size: 2.2rem; margin-bottom: 0.75rem; }
.restaurant-desc { margin-top: 0.5rem; color: rgba(255,255,255,0.8); max-width: 600px; }

.registered-badge {
    display: inline-block;
    font-size: 0.55em;
    font-weight: 600;
    background: #16a34a;
    color: #fff;
    padding: 0.2em 0.7em;
    border-radius: 50px;
    vertical-align: middle;
    letter-spacing: 0.02em;
}
.unregistered-badge {
    display: inline-block;
    font-size: 0.55em;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    padding: 0.2em 0.7em;
    border-radius: 50px;
    vertical-align: middle;
}
.disclaimer-banner {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.disclaimer-banner a { color: #664d03; font-weight: 600; text-decoration: underline; }
.disclaimer-info { background: #e8f4fd; color: #1e5f8a; border-color: #b8daef; }
.disclaimer-info a { color: #1a4d73; }
#restaurantList .index-card-registered {
    border-left: 3px solid var(--primary);
    background: #fff;
}
#restaurantList .preview-card:not(.index-card-registered) {
    background: #fafafa;
    border-color: #e8e8e8;
}
#restaurantList .preview-card:not(.index-card-registered) h3 {
    color: var(--text-muted);
}
.partner-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6em;
    font-weight: 700;
    color: #fff;
    background: #16a34a;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    vertical-align: middle;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(22, 163, 74, 0.3);
}
.index-notice {
    display: block;
    padding: 0.6rem 1rem;
    background: #f0faf3;
    border: 1px solid #d0e9d8;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: #2d5a3f;
    margin-bottom: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.partner-check-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: #16a34a;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.restaurant-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.restaurant-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.restaurant-rating-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: -1px; }
.restaurant-rating-number { font-weight: 700; font-size: 1.1rem; color: var(--white); }
.restaurant-rating-count { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.restaurant-price {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.restaurant-price-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.restaurant-price-euros { font-size: 1rem; font-weight: 700; }
.restaurant-price-euros .price-active { color: var(--white); }
.restaurant-price-euros .price-inactive { color: rgba(255,255,255,0.25); }
.restaurant-price-text { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.restaurant-cheapest {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.restaurant-cheapest-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.restaurant-cheapest-price { font-size: 1.1rem; font-weight: 700; color: #f59e0b; }

/* Info Grid */
.restaurant-info-section { padding: 2rem 0; }
.restaurant-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 1rem; color: var(--dark); }
.info-card-subtitle { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* Contact List */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; }
.contact-icon { flex-shrink: 0; width: 1.25rem; text-align: center; }
.contact-list a { color: var(--primary); }
.contact-list a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Order Tags */
.order-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.order-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    background: var(--cream);
    color: var(--text);
    border: 1px solid var(--border);
}
.order-tag-icon { font-size: 0.9rem; }
.delivery-details { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.delivery-details p { font-size: 0.9rem; color: var(--text-muted); margin: 0.2rem 0; }

/* Dashboard delivery options */
.dash-delivery-options { margin-top: 0.5rem; padding: 1rem; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.form-section-title { font-size: 0.95rem; font-weight: 600; margin: 1.5rem 0 0.5rem 0; }
.form-section-title:first-child { margin-top: 0; }
.form-section-desc { font-size: 0.85rem; color: var(--text-muted); margin: -0.5rem 0 0.75rem; }
.dash-payment-options { margin-top: 0.5rem; padding: 1rem; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.payment-options-list { display: flex; flex-direction: column; gap: 0.5rem; }
.payment-option-row { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--transition); }
.payment-option-row:hover { border-color: var(--primary); }
.payment-option-row input[type="checkbox"] { margin-top: 0.2rem; flex-shrink: 0; }
.payment-option-info { flex: 1; }
.payment-option-info strong { display: block; font-size: 0.9rem; }
.payment-option-info span { font-size: 0.8rem; color: var(--text-muted); }
.payment-commission-badge { flex-shrink: 0; background: #fef3c7; color: #92400e; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 50px; align-self: center; }
.payment-free-badge { flex-shrink: 0; background: #d1fae5; color: #065f46; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 50px; align-self: center; }

/* === Menu === */
.menu-section { padding: 3rem 0; }
.menu-section h2 { font-size: 1.75rem; margin-bottom: 1.5rem; }
.menu-category { margin-bottom: 2rem; }
.menu-category h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-light); }

.menu-items { display: flex; flex-direction: column; gap: 0.5rem; }
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}
.menu-item-info { flex: 1; }
.menu-item-name { font-weight: 600; display: block; }
.menu-item-desc { font-size: 0.85rem; color: var(--text-muted); display: block; margin-top: 0.15rem; }
.menu-item-right { display: flex; align-items: center; gap: 0.5rem; }
.menu-item-price { font-weight: 700; color: var(--primary); white-space: nowrap; }
.menu-item-orderable { cursor: pointer; transition: background 0.15s; border-left: 3px solid var(--primary); padding-left: 0.75rem; }
.menu-item-orderable:hover { background: var(--primary-light); }
.btn-add-cart { width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--primary); color: #fff; font-size: 1.2rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; flex-shrink: 0; box-shadow: 0 2px 6px rgba(222,54,25,0.25); }
.btn-add-cart:hover { background: var(--primary-dark); transform: scale(1.1); }
.menu-item-fantasy { text-decoration: none; color: var(--text); background: #f0faf3; border-bottom: 1px solid #a3d9b1; border-left: 3px solid #1a7a35; padding: 0.75rem 0.75rem; cursor: pointer; transition: background var(--transition); }
.menu-item-fantasy:hover { background: #e0f5e6; }
.menu-item-fantasy .menu-item-name { color: #1a7a35; font-weight: 700; }
.btn-fantasy-arrow { font-size: 1.2rem; font-weight: 700; color: #1a7a35; }
.menu-order-banner { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.25rem; background: #f0faf3; border: 1px solid #a3d9b1; border-radius: var(--radius); margin-bottom: 1.5rem; color: var(--text); }
.menu-order-banner-icon { font-size: 1.5rem; }
.menu-order-banner strong { display: block; font-size: 0.95rem; color: #1a7a35; }
.menu-order-banner span { font-size: 0.85rem; color: var(--text-muted); }

/* Pizza builder */
.pizza-builder-section { padding: 2rem 0; }
.pizza-builder-section h2 { margin-bottom: 0.25rem; }
.pizza-builder-subtitle { color: var(--text-muted); margin-bottom: 1.25rem; }
.pizza-builder-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.pizza-builder-step { margin-bottom: 1.5rem; }
.pizza-builder-step h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--dark); }
.pizza-size-options { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pizza-size-option { display: flex; flex-direction: column; align-items: center; padding: 0.75rem 1.25rem; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color var(--transition), background var(--transition); min-width: 100px; text-align: center; }
.pizza-size-option:hover { border-color: var(--primary); }
.pizza-size-option.selected { border-color: var(--primary); background: var(--primary-light); }
.pizza-size-option input { display: none; }
.pizza-size-name { font-weight: 600; font-size: 0.95rem; }
.pizza-size-price { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; }
.pizza-topping-cat-title { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); margin: 0.75rem 0 0.4rem; text-transform: uppercase; letter-spacing: 0.03em; }
.pizza-topping-options { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pizza-topping-option { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; border: 1px solid var(--border); border-radius: 50px; cursor: pointer; font-size: 0.88rem; transition: all var(--transition); user-select: none; }
.pizza-topping-option:hover { border-color: var(--primary); }
.pizza-topping-option.selected { border-color: var(--primary); background: var(--primary-light); }
.pizza-topping-option input { display: none; }
.pizza-topping-name { font-weight: 500; }
.pizza-topping-price { font-size: 0.78rem; color: var(--text-muted); }
.pizza-topping-free { color: #16a34a; }
.pizza-builder-summary { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.pizza-builder-total { font-size: 1.1rem; font-weight: 700; }
.pizza-builder-total span:last-child { color: var(--primary); margin-left: 0.5rem; }

/* Dashboard pizza builder */
.pizza-builder-list { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.75rem; }
.pizza-builder-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.pizza-builder-row .pizza-builder-name { flex: 1; font-weight: 500; font-size: 0.9rem; }
.pizza-builder-row .pizza-builder-price { font-size: 0.85rem; color: var(--text-muted); }
.pizza-builder-add-form { margin-top: 0.5rem; }
.pizza-topping-group { margin-bottom: 0.75rem; }
.pizza-topping-group h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.03em; }

@media (max-width: 600px) {
    .pizza-size-options { flex-direction: column; }
    .pizza-size-option { flex-direction: row; justify-content: space-between; min-width: 0; }
}

/* Opening hours display */
.opening-hours-list { display: flex; flex-direction: column; gap: 0; }
.oh-row { display: flex; justify-content: space-between; align-items: center; padding: 0.35rem 0.5rem; font-size: 0.88rem; border-radius: var(--radius-sm); }
.oh-row:nth-child(odd) { background: var(--bg); }
.oh-row-current { font-weight: 700; background: #fef8f0 !important; }
.oh-day { width: 28px; font-weight: 600; color: var(--text-muted); }
.oh-row-current .oh-day { color: var(--primary); }
.oh-time { color: var(--text); font-variant-numeric: tabular-nums; }
.oh-closed { color: var(--text-muted); font-size: 0.82rem; }

/* === Cart === */
.cart-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1200; }
.cart-float-toggle { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.5rem; background: var(--primary); color: #fff; border: none; border-radius: 50px; font-size: 1.05rem; font-weight: 600; cursor: pointer; box-shadow: 0 6px 24px rgba(222,54,25,0.35); transition: transform 0.15s, box-shadow 0.15s; }
.cart-float-toggle:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(222,54,25,0.45); }
.cart-icon { font-size: 1.3rem; }
.cart-badge { background: #fff; color: var(--primary); border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; }
.cart-total-preview { font-size: 0.95rem; }

.cart-panel { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw; overflow-y: auto; background: var(--white); box-shadow: -8px 0 48px rgba(0,0,0,0.18); border-left: 1px solid var(--border); display: none; transform: translateX(100%); }
.cart-panel.open { display: block; transform: translateX(0); animation: cartSlideIn 0.25s ease-out; }
@keyframes cartSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 1; }
.cart-panel-header h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.cart-restaurant-name { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-top: 0.1rem; }
.cart-panel-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); padding: 0.2rem; transition: color var(--transition); }
.cart-panel-close:hover { color: var(--text); }
.cart-items { padding: 0.75rem 1.5rem; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid #f0ebe2; }
.cart-item-row:last-child { border-bottom: none; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 500; font-size: 0.92rem; display: block; }
.cart-item-price { font-size: 0.85rem; color: var(--text-muted); }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; }
.cart-qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background var(--transition), border-color var(--transition); }
.cart-qty-btn:hover { background: var(--border); border-color: var(--text-muted); }
.cart-qty { font-weight: 600; font-size: 0.95rem; min-width: 22px; text-align: center; }
.cart-summary { padding: 0.85rem 1.5rem; border-top: 1px solid var(--border); background: #fafaf7; }
.cart-summary-line { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 0.25rem 0; }
.cart-summary-total { font-weight: 700; font-size: 1.05rem; padding-top: 0.5rem; border-top: 1px solid var(--border); margin-top: 0.25rem; }
.cart-discount-line { color: #16a34a; }
.cart-order-form { padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--border); }
.cart-form-group { margin-bottom: 0.75rem; }
.cart-form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--text); }
.cart-form-group input, .cart-form-group select { width: 100%; padding: 0.55rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.92rem; transition: border-color var(--transition), box-shadow var(--transition); }
.cart-form-group input:focus, .cart-form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(222,54,25,0.1); }
.cart-form-hint { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }
.btn-block { width: 100%; padding: 0.65rem; font-size: 1rem; }
.cart-error { margin-top: 0.5rem; padding: 0.6rem 0.75rem; background: #fee2e2; color: #b91c1c; border-radius: var(--radius-sm); font-size: 0.85rem; }
.cart-closed-msg { padding: 1.25rem 1.5rem; text-align: center; color: var(--text-muted); font-size: 0.92rem; }
.coupon-row-input { display: flex; gap: 0.35rem; }
.coupon-row { display: flex; gap: 0.4rem; }
.coupon-row input { flex: 1; }
.coupon-status { font-size: 0.8rem; margin-top: 0.25rem; }
.coupon-valid { color: #16a34a; }
.coupon-invalid { color: #b91c1c; }

@media (max-width: 480px) {
    .cart-panel { width: 100vw; }
    .cart-float { bottom: 1rem; right: 0.75rem; }
}

/* === Order Status Page === */
.order-status-section { padding: 2rem 0 3rem; }
.order-status-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; max-width: 700px; margin: 0 auto; }
.order-status-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.order-status-badge { padding: 0.35rem 1rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-accepted { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.status-completed { background: #e0e7ff; color: #3730a3; }
.order-status-time { color: var(--text-muted); font-size: 0.9rem; }
.order-status-msg { padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: 0.95rem; }
.order-status-msg-pending { background: #fef3c7; color: #92400e; }
.order-status-msg-accepted { background: #d1fae5; color: #065f46; }
.order-status-msg-rejected { background: #fee2e2; color: #991b1b; }
.order-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.order-detail-group h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.order-detail-group p { font-size: 0.9rem; margin: 0.2rem 0; }
.order-items-list { margin-bottom: 0.75rem; }
.order-item-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.2rem 0; }
.order-totals { border-top: 1px solid var(--border); padding-top: 0.5rem; }
.order-total-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.15rem 0; }
.order-total-final { font-weight: 700; font-size: 1rem; }
.order-contact { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); }
.order-restaurant-name { color: var(--text-muted); margin-top: 0.25rem; }
@media (max-width: 600px) { .order-details-grid { grid-template-columns: 1fr; } }

/* === Dashboard Orders & Coupons === */
.dash-tab-badge { background: var(--primary); color: #fff; border-radius: 50px; padding: 0.15rem 0.5rem; font-size: 0.75rem; font-weight: 700; margin-left: 0.25rem; }
.dash-tab-icon { animation: notif-pulse 2s ease-in-out infinite; display: inline-block; }
@keyframes notif-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.order-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 0.75rem; }
.order-card-pending { border-left: 3px solid #f59e0b; }
.order-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.order-card-time { color: var(--text-muted); font-size: 0.85rem; margin-left: 0.5rem; }
.order-card-type { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.1rem 0.5rem; font-size: 0.8rem; margin-left: 0.5rem; }
.order-card-payment { background: #f0faf3; border: 1px solid #c6e9d0; border-radius: var(--radius-sm); padding: 0.1rem 0.5rem; font-size: 0.8rem; margin-left: 0.25rem; color: #2d7a4f; }
.order-card-total { font-weight: 700; font-size: 1.1rem; }
.order-card-customer { font-size: 0.9rem; margin-bottom: 0.5rem; }
.order-card-customer p { margin: 0.15rem 0; }
.order-card-items { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }
.order-card-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.2rem 0.5rem; font-size: 0.8rem; }
.order-card-actions { display: flex; gap: 0.5rem; }
.orders-history { display: flex; flex-direction: column; gap: 0.35rem; }
.order-history-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; flex-wrap: wrap; }
.order-history-code { font-weight: 600; }
.order-history-name { flex: 1; }
.order-history-total { font-weight: 600; }
.order-history-time { color: var(--text-muted); font-size: 0.8rem; }

/* Coupons */
.coupon-add-form { padding: 1rem; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); margin-bottom: 1.5rem; }
.coupons-list { display: flex; flex-direction: column; gap: 0.5rem; }
.coupon-row { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.coupon-inactive { opacity: 0.5; }
.coupon-info { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.coupon-code-display { font-family: monospace; font-size: 1rem; background: var(--white); padding: 0.15rem 0.5rem; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.coupon-detail { font-size: 0.8rem; color: var(--text-muted); }
.coupon-actions { display: flex; gap: 0.35rem; align-items: center; }

/* === Map === */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; }
.map-page { padding: 2rem 0 3rem; }
.map-page-full { margin: 0; }
.restaurant-map-section { padding: 2rem 0 3rem; }
.restaurant-map-section h2 { margin-bottom: 1rem; }

/* (order options moved to order-tags in info card) */

/* === Forms === */
.form-section { padding: 3rem 0; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    color: var(--text);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.register-existing { margin-bottom: 1.5rem; }
.register-existing h2 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.register-existing-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.existing-select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
}
.existing-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.register-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.register-divider::before, .register-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* === Alerts === */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: 0.95rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* === Login === */
.login-card {
    max-width: 420px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}
.btn-block { width: 100%; }
.login-register-link { text-align: center; margin-top: 1.25rem; font-size: 0.9rem; color: var(--text-muted); }
.login-register-link a { color: var(--primary); font-weight: 500; }

/* === Feedback === */
.feedback-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}
.feedback-intro { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.optional { color: var(--text-muted); font-weight: 400; font-size: 0.85em; }

/* === Dashboard === */
.dash-header { display: flex; justify-content: space-between; align-items: center; text-align: left; }
.dash-restaurant-name { color: rgba(255,255,255,0.7); margin-top: 0.35rem; font-size: 0.95rem; }
.dash-actions { display: flex; gap: 0.5rem; }
.dash-actions .btn { color: var(--white); border-color: rgba(255,255,255,0.3); }
.dash-actions .btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.dash-section { padding: 2rem 0 3rem; }
.dash-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.dash-card h2 { margin-bottom: 0.75rem; }
.dash-card h2 + p, .dash-card h2 + .form-section-desc { margin-top: 0; }
.dash-notice { background: #fff3cd; color: #856404; border: 1px solid #ffc107; border-radius: var(--radius-sm); padding: 0.75rem 1rem; margin-bottom: 1.25rem; font-size: 0.9rem; }

/* Tabs */
.dash-tabs { display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border); }
.dash-tab { padding: 0.65rem 1.25rem; background: none; border: none; font-size: 0.95rem; font-weight: 500; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.2s, border-color 0.2s; }
.dash-tab:hover { color: var(--text); }
.dash-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.dash-tab-content { display: none; }
.dash-tab-content.active { display: block; }

/* Visibility banner & toggle */
.dash-visibility-banner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: 0.9rem; font-weight: 500; }
.dash-visibility-on { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.dash-visibility-off { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.btn-visibility-on, .btn-visibility-off { font-size: 0.8rem; padding: 0.3rem 0.75rem; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; transition: all var(--transition); }
.btn-visibility-on { background: #155724; color: #fff; border: 1px solid #155724; }
.btn-visibility-on:hover { background: #0d3d17; color: #fff; }
.btn-visibility-off { background: #721c24; color: #fff; border: 1px solid #721c24; }
.btn-visibility-off:hover { background: #501419; color: #fff; }

/* Menu categories */
.dash-menu-category { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.dash-menu-category:last-of-type { border-bottom: none; }
.dash-cat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.dash-cat-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0; }
.dash-cat-actions { display: flex; gap: 0.25rem; }
.dash-empty-cat { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin: 0.5rem 0; }

/* Menu item rows */
.dash-menu-item-row { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 0.4rem; }
.dash-menu-item-form { flex: 1; }
.dash-menu-delete-form { flex-shrink: 0; }
.dash-menu-item-fields { display: flex; gap: 0.35rem; align-items: center; }
.dash-menu-item-fields .input-name { flex: 2; }
.dash-menu-item-fields .input-desc { flex: 2; }
.input-price-wrap { position: relative; flex-shrink: 0; width: 90px; }
.input-price-wrap .input-price { width: 100%; padding-right: 1.5rem; }
.input-price-unit { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.85rem; pointer-events: none; }
.btn-delete { background: none; border: none; color: #dc3545; cursor: pointer; font-size: 0.9rem; padding: 0.25rem; }
.btn-delete:hover { color: #a71d2a; }

/* Add item form */
.dash-menu-add-form { margin-top: 0.5rem; }
.dash-menu-add-fields { opacity: 0.6; transition: opacity 0.2s; }
.dash-menu-add-fields:focus-within { opacity: 1; }

/* Add category */
.dash-add-category { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--border); }
.dash-add-category h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; }
.dash-add-cat-row { display: flex; gap: 0.5rem; align-items: center; }
.dash-cat-select { padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; flex: 1; max-width: 300px; }
.dash-all-cats-added { font-size: 0.85rem; color: var(--text-muted); font-style: italic; }

/* Opening hours */
.hours-table { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.hours-row { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 0.75rem; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.hours-row-closed { opacity: 0.5; }
.hours-day { font-weight: 600; font-size: 0.9rem; width: 110px; flex-shrink: 0; }
.hours-inputs { display: flex; align-items: center; gap: 0.35rem; }
.hours-time { padding: 0.4rem 0.5rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; width: 110px; }
.hours-sep { color: var(--text-muted); font-size: 0.9rem; }
.hours-closed-label { display: flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: var(--text-muted); cursor: pointer; margin-left: auto; }
.hours-closed-label input[type="checkbox"] { margin: 0; }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: stretch; }
.checkbox-label { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; cursor: pointer; padding: 0.45rem 0.85rem; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); white-space: nowrap; line-height: 1.2; }
.checkbox-label input[type="checkbox"] { margin: 0; flex-shrink: 0; width: 1rem; height: 1rem; }

@media (max-width: 768px) {
    .dash-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .dash-tabs { overflow-x: auto; }
    .dash-menu-item-fields { flex-wrap: wrap; }
    .dash-menu-item-fields .input-desc { display: none; }
    .hours-row { flex-wrap: wrap; gap: 0.5rem; }
    .hours-day { width: 100%; }
    .hours-closed-label { margin-left: 0; }
}

/* === Content Pages === */
.content-section { padding: 3rem 0; }
.content-section h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.content-section h2:first-child { margin-top: 0; }
.content-section p { margin-bottom: 1rem; color: var(--text); }
.content-section ul { margin: 0.5rem 0 1rem 1.5rem; }
.content-section li { margin-bottom: 0.35rem; }

/* About grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.about-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.about-card h3 { font-size: 1.2rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--primary-light); }
.about-card p { color: var(--text); margin-bottom: 1.25rem; }
.about-card ul { list-style: none; margin: 0 0 1.5rem 0; padding: 0; flex: 1; }
.about-card li { padding: 0.5rem 0 0.5rem 1.75rem; position: relative; color: var(--text); font-size: 0.95rem; line-height: 1.5; }
.about-card li::before { content: "\2713"; position: absolute; left: 0; color: #16a34a; font-weight: 700; font-size: 1rem; }
.about-card .btn { display: inline-block; align-self: flex-start; margin-top: auto; }
.about-example { background: var(--primary-light); padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.9rem; border-left: 3px solid var(--primary); }
.content-section h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.75rem; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; }
.faq-item strong { display: block; margin-bottom: 0.35rem; color: var(--dark); }
.faq-item p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* === FAQ Accordion === */
.faq-accordion { display: flex; flex-direction: column; gap: 0; }
.faq-dropdown { border: 1px solid var(--border); border-bottom: none; background: var(--white); }
.faq-dropdown:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.faq-dropdown:last-child { border-bottom: 1px solid var(--border); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.faq-dropdown:only-child { border-radius: var(--radius-sm); border-bottom: 1px solid var(--border); }
.faq-dropdown summary { padding: 0.85rem 1.15rem; cursor: pointer; font-weight: 500; color: var(--dark); font-size: 0.95rem; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-dropdown summary::-webkit-details-marker { display: none; }
.faq-dropdown summary::after { content: '+'; font-size: 1.2rem; color: var(--text-muted); flex-shrink: 0; margin-left: 1rem; transition: var(--transition); }
.faq-dropdown[open] summary::after { content: '−'; }
.faq-dropdown[open] summary { border-bottom: 1px solid var(--border); }
.faq-dropdown p { padding: 0.85rem 1.15rem; margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* === Contact / Compare === */
.compare-table-wrap { overflow-x: auto; margin: 1.5rem 0 1rem; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th { text-align: left; padding: 0.75rem 1rem; background: var(--dark); color: var(--white); font-weight: 600; }
.compare-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.compare-row-competitor td { background: #fef2f2; }
.compare-row-pizzanet td { background: #f0fdf4; }
.compare-row-cash td { background: #ecfdf5; }
.compare-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; }
.compare-customer { font-size: 0.95rem; margin-top: 0.75rem; color: var(--text); }
.contact-divider { border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* === Admin Panel === */
.admin-restaurant-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; margin-bottom: 1rem; }
.admin-restaurant-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.admin-restaurant-details { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.9rem; color: var(--text-muted); }
.admin-restaurant-actions { margin-top: 1rem; display: flex; gap: 0.5rem; }

.admin-feedback-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; margin-bottom: 0.75rem; }
.admin-feedback-unread { border-left: 3px solid var(--primary); }
.admin-feedback-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.admin-feedback-header > div:first-child { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; font-size: 0.9rem; }
.admin-feedback-actions { display: flex; gap: 0.5rem; align-items: center; }
.admin-feedback-message { font-size: 0.95rem; color: var(--text); line-height: 1.6; }

.admin-filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1rem; padding: 0.75rem 1rem; background: var(--bg); border-radius: 8px; border: 1px solid var(--border); }
.admin-filter-group { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.admin-filter-label { font-weight: 600; font-size: 0.85rem; color: var(--dark); white-space: nowrap; }
.admin-filter-bar .filter-select { font-size: 0.85rem; padding: 0.35rem 0.6rem; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
@media (max-width: 768px) {
    .admin-filter-bar { flex-direction: column; align-items: stretch; }
    .admin-filter-group { flex-direction: column; }
}

.admin-restaurants-table { overflow-x: auto; margin-top: 1rem; }
.admin-restaurants-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-restaurants-table th, .admin-restaurants-table td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
.admin-restaurants-table th { font-weight: 600; color: var(--dark); background: var(--bg); }
.admin-restaurants-table tr:hover td { background: var(--primary-light); }

.admin-status-badge { display: inline-block; font-size: 0.8rem; padding: 0.15rem 0.5rem; border-radius: 4px; font-weight: 500; }
.admin-status-pending { background: #fff3cd; color: #856404; }
.admin-status-approved, .admin-status-active { background: #d4edda; color: #155724; }
.admin-status-rejected, .admin-status-inactive { background: #f0f0f0; color: #666; }
.admin-status-listed { background: #dbeafe; color: #1e40af; }

.admin-guide-list { margin: 0.5rem 0 1.5rem 1.25rem; line-height: 1.8; }
.admin-guide-list li { margin-bottom: 0.35rem; font-size: 0.95rem; }

/* Payment onboarding */
.payment-onboard-info { background: var(--bg); border-radius: var(--radius-sm); padding: 1.25rem; margin: 1rem 0 1.5rem; }
.payment-onboard-info ol { margin: 0.5rem 0 0 1.25rem; }
.payment-onboard-info li { margin-bottom: 0.25rem; font-size: 0.95rem; }
.payment-onboard-pricing { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.pricing-table { width: 100%; max-width: 400px; border-collapse: collapse; font-size: 0.9rem; }
.pricing-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.pricing-table td:first-child { font-weight: 500; color: var(--dark); }
.pricing-table td:last-child { text-align: right; }

/* Feedback/messages list */
.feedback-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.feedback-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.feedback-unread { border-left: 3px solid var(--primary); background: #fff8f7; }
.feedback-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.feedback-email { font-size: 0.82rem; color: var(--text-muted); }
.feedback-date { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
.feedback-message { font-size: 0.92rem; line-height: 1.5; margin: 0; }
.feedback-reply { margin-top: 0.75rem; padding: 0.75rem; background: #f0faf3; border-radius: var(--radius-sm); border-left: 3px solid #16a34a; }
.feedback-reply p { margin: 0.25rem 0; font-size: 0.9rem; }
.feedback-reply-form { margin-top: 0.5rem; }
.feedback-reply-form summary { cursor: pointer; width: fit-content; }

/* Toggle switch */
.toggle-label { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
.toggle-switch { position: relative; display: inline-block; width: 44px; min-width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 24px; transition: background var(--transition); }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: transform var(--transition); }
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* Notification settings */
.dash-divider { border-top: 1px solid var(--border); margin: 2rem 0; }
.notification-channels-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0; }
.notification-channel-row { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--transition); }
.notification-channel-row:hover { border-color: var(--primary); }
.notification-channel-row input[type="checkbox"] { margin-top: 0.3rem; }
.notification-channel-info { display: flex; gap: 0.75rem; align-items: flex-start; }
.notification-channel-icon { font-size: 1.25rem; min-width: 1.5rem; text-align: center; }
.notification-channel-info div { display: flex; flex-direction: column; }
.notification-channel-info strong { font-size: 0.95rem; }
.notification-channel-info span { font-size: 0.85rem; color: var(--text-muted); }
.notification-fields { margin-top: 1rem; }
.notification-fields .form-group { margin-bottom: 1rem; }
.form-hint { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }

/* === Ad Slots === */
.ad-slot { display: flex; justify-content: center; padding: 1rem 0; }
.ad-placeholder {
    width: 100%;
    min-height: 60px;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.ad-top-bar { background: var(--bg); border-bottom: 1px solid var(--border); }
.ad-top-bar .ad-slot { padding: 0.5rem 0; }
.ad-bottom-bar { background: var(--bg); border-top: 1px solid var(--border); margin-top: 2rem; }
.ad-bottom-bar .ad-slot { padding: 0.5rem 0; }

.ad-leaderboard .ad-placeholder { max-width: 728px; min-height: 90px; }
.ad-banner .ad-placeholder { max-width: 468px; min-height: 60px; }
.ad-rectangle .ad-placeholder { max-width: 300px; min-height: 250px; }
.ad-mobile .ad-placeholder { max-width: 320px; min-height: 50px; }

@media (max-width: 768px) {
    .ad-leaderboard .ad-placeholder,
    .ad-banner .ad-placeholder { max-width: 320px; min-height: 50px; }
}

/* === Empty State === */
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1rem; }

/* === Footer === */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.75rem; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.9rem; }
.footer-support { margin-top: 0.5rem; color: rgba(255,255,255,0.65); font-size: 0.85rem; font-style: italic; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; text-align: center; font-size: 0.85rem; }

/* === Language Switcher === */
.lang-switcher { position: relative; margin-left: 0.5rem; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.4rem 0.75rem 0.4rem 0.6rem;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-icon { flex-shrink: 0; opacity: 0.6; }
.lang-btn:hover .lang-icon { opacity: 1; }
.lang-chevron { flex-shrink: 0; opacity: 0.4; transition: transform var(--transition); }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }
.lang-current { max-width: 70px; overflow: hidden; text-overflow: ellipsis; }

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 200;
    padding: 0.5rem;
    min-width: 280px;
}
.lang-switcher.open .lang-dropdown { display: block; }

.lang-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.85rem;
    transition: all var(--transition);
    text-decoration: none;
}
.lang-option:hover { background: var(--primary-light); color: var(--primary); }
.lang-active { background: var(--primary-light); font-weight: 600; }
.lang-active .lang-code { background: var(--primary); color: var(--white); }
.lang-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--cream);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    color: var(--text-muted);
}
.lang-option:hover .lang-code { background: var(--primary); color: var(--white); }
.lang-name { line-height: 1.2; }

/* === Index (restaurant listing) === */
.index-section { padding: 2rem 0 3rem; }
.index-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.index-count { font-size: 0.85rem; color: var(--text-muted); }
.sort-tabs { display: flex; align-items: center; gap: 0.35rem; }
.sort-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-right: 0.25rem; }
.sort-tab {
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.sort-tab:hover { border-color: var(--primary); color: var(--primary); }
.sort-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }

/* Filter groups (order type + food type) */
.index-filter-groups {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filter-group-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.filter-select {
    padding: 0.45rem 2rem 0.45rem 0.75rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239C7451' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    transition: all var(--transition);
}
.filter-select:hover { border-color: var(--primary); }
.filter-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(222,54,25,0.1); }
.filter-toggle-btn { display: none; }

/* Index card overrides on preview-card */
.index-card-closed {
    opacity: 0.55;
}
.index-card-closed:hover {
    opacity: 0.85;
}
.index-card-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.index-card-badge-closed {
    background: #dc2626;
    color: #fff;
}
.index-card-badge-delivery {
    background: #e8f4fd;
    color: #1e5f8a;
    border: 1px solid #b8daef;
    text-transform: none;
    font-weight: 600;
}
.tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    border: 1px solid transparent;
    white-space: nowrap;
}
.tag-open {
    background: #f0faf3;
    color: #2d7a4f;
    border-color: #d0e9d8;
    font-weight: 600;
}
.tag-closed {
    background: #fef0f0;
    color: #b91c1c;
    border-color: #f5d5d5;
    font-weight: 600;
}
.tag-delivery {
    color: #4b6fa0;
    font-weight: 500;
}
.index-card-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.price-active { color: var(--dark); font-weight: 600; }
.price-inactive { color: var(--border); }

/* === Map page (sidebar + map) === */
.map-section { padding: 1.5rem 0 2rem; position: relative; z-index: 1; }
.map-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    height: 65vh;
    min-height: 450px;
    max-height: 650px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.map-sidebar {
    display: flex;
    flex-direction: column;
    background: #fffaf5;
    border-right: 1px solid #f0e0cc;
    overflow: hidden;
}
.map-sidebar-header {
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid #f0e0cc;
    background: linear-gradient(135deg, #fff8f0, #fff5ec);
    flex-shrink: 0;
}
.map-search-label { font-size: 0.78rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.address-search { display: flex; gap: 0.5rem; }
.address-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.address-icon { position: absolute; left: 0.65rem; color: #b0a090; pointer-events: none; }
.address-input {
    width: 100%;
    padding: 0.55rem 0.75rem 0.55rem 2.1rem;
    border: 1.5px solid #e0d0c0;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.address-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.address-btn { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; padding: 0.55rem 1rem; border-radius: var(--radius); font-weight: 600; }

.map-sidebar-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}
.map-sidebar-list::-webkit-scrollbar { width: 4px; }
.map-sidebar-list::-webkit-scrollbar-thumb { background: #ddd0c0; border-radius: 10px; }

.map-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 0.5rem 0.75rem 1rem;
    border-bottom: 1px solid #f0e0cc;
    color: var(--text);
    text-decoration: none;
    transition: background var(--transition);
    gap: 0.3rem 0.5rem;
    cursor: pointer;
}
.map-card:hover, .map-card-active { background: #fff0e0; }
.map-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--text-light);
    background: #f5ebe0;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.map-card-link:hover { background: var(--primary); color: #fff; }
.map-card:hover .map-card-link { background: #ecdcc8; }
.map-card-closed { opacity: 0.65; }
.map-card-closed:hover { opacity: 1; }
.map-card-nonpartner { opacity: 0.45; }
.map-card-nonpartner:hover { opacity: 0.85; }
.map-card-nonpartner .map-card-info h3 { color: var(--text-light); }
.map-card-info { flex: 1; min-width: 0; }
.map-card-info h3 { font-size: 0.9rem; margin-bottom: 0.1rem; line-height: 1.3; }
.map-card-info p { font-size: 0.78rem; color: var(--text-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.map-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.4rem; width: 100%; }
.map-card-meta .tag { font-size: 0.72rem; padding: 0.1rem 0.4rem; }
.map-card-rating { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.map-card-rating .rating-stars { color: #f59e0b; }
.map-card-price { font-size: 0.78rem; color: var(--primary); font-weight: 600; }
.map-card-distance {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.1rem 0.4rem;
    border-radius: 50px;
}

.map-main { position: relative; z-index: 0; }
.map-canvas { width: 100%; height: 100%; }

/* === Frontpage Restaurant Preview === */
.restaurant-preview { padding: 3rem 0; }
.restaurant-preview h2 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.restaurant-preview .section-subtitle { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.preview-card {
    position: relative;
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem;
    color: var(--text);
    transition: all var(--transition);
    text-decoration: none;
}
.preview-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--text); }
.preview-card h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.preview-card-city { font-size: 0.82rem; color: var(--text-muted); }
.preview-card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; }
.preview-card-price { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.preview-all { text-align: center; margin-top: 1.5rem; }

/* === Mobile === */
@media (max-width: 768px) {
    .navbar-inner { flex-wrap: nowrap; }
    .logo { order: 1; }
    .lang-switcher { order: 2; margin-left: auto; margin-right: 0.5rem; }
    .nav-toggle { order: 3; display: flex; z-index: 1202; position: relative; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 6px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -6px); }

    /* Overlay — hidden by default */
    .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.2); z-index: 1200; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
    .nav-overlay.active { display: block; animation: navFadeIn 0.25s ease; }

    /* Full-screen menu panel */
    .nav-links {
        display: flex;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 1201;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.1s ease, visibility 0s linear 0.1s;
        will-change: opacity;
        overflow-y: auto;
        order: 4;
        gap: 0;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.1s ease, visibility 0s linear 0s;
    }

    /* Menu logo */
    .nav-menu-logo { display: block; margin-bottom: 0.5rem; }
    .nav-menu-logo a { display: inline-block; }
    .nav-menu-logo-img { height: 72px; width: auto; }

    /* Navigation links */
    .nav-links li { list-style: none; width: 100%; text-align: center; }
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text);
        border-radius: 0;
        letter-spacing: -0.01em;
        transition: color 0.15s ease, background 0.15s ease;
    }
    .nav-links a:hover,
    .nav-links a:active { background: var(--bg); color: var(--primary); }

    /* CTA button at bottom */
    .nav-links li:last-child {
        margin-top: 1.5rem;
        padding: 0 2rem;
        width: 100%;
    }
    .nav-links .btn-nav {
        display: block;
        text-align: center;
        background: var(--primary);
        color: var(--white);
        border-radius: var(--radius);
        padding: 1rem 2rem;
        font-size: 1rem;
        font-weight: 600;
        box-shadow: 0 4px 16px rgba(222, 54, 25, 0.2);
    }
    .nav-links .btn-nav:hover { background: var(--primary-dark); }

    .lang-switcher { position: static; }
    .lang-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: var(--radius) var(--radius) 0 0;
        padding: 1rem;
        min-width: 0;
        box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
    }
    .lang-dropdown-grid { grid-template-columns: 1fr 1fr; gap: 0.35rem; }
    .lang-option { padding: 0.7rem 0.8rem; }

    .lang-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        z-index: 199;
    }
    .lang-switcher.open .lang-overlay { display: block; }

    /* Disclaimers / notices mobile fix */
    .disclaimer-banner { font-size: 0.8rem; padding: 0.65rem 0.85rem; }
    .index-notice { font-size: 0.8rem; padding: 0.5rem 0.75rem; }
    .dash-notice { font-size: 0.82rem; padding: 0.6rem 0.85rem; }
    .alert { font-size: 0.85rem; word-wrap: break-word; overflow-wrap: break-word; }

    .hero { padding: 2rem 0; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-text { text-align: center; }
    .hero h1 { font-size: 1.6rem; }
    .hero-subtitle { margin: 0 auto 1.25rem; font-size: 0.95rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .restaurant-info-grid { grid-template-columns: 1fr; }

    .index-controls { flex-direction: row; align-items: center; flex-wrap: nowrap; overflow-x: auto; gap: 0.4rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .index-controls::-webkit-scrollbar { display: none; }
    .sort-tabs { flex-shrink: 0; }
    .sort-label { display: none; }
    .index-count { display: none; }
    .index-filter-groups { display: none; gap: 0.75rem; margin-bottom: 1rem; }
    .index-filter-groups.active { display: flex; flex-direction: column; }
    .filter-select { width: 100%; }
    .filter-toggle-btn { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.4rem 0.9rem; border-radius: 50px; font-size: 0.82rem; font-weight: 500; border: 1px solid var(--border); background: var(--white); color: var(--text); cursor: pointer; font-family: inherit; flex-shrink: 0; transition: all var(--transition); }
    .filter-toggle-btn.has-filters { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
    .filter-badge { background: var(--primary); color: var(--white); font-size: 0.7rem; width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }

    .map-layout { grid-template-columns: 1fr; }
    .map-sidebar { max-height: 300px; }
    .map-main { order: -1; }
    .map-canvas { height: 350px; }
    .address-search { flex-direction: column; }
    .address-input-wrap { width: 100%; }
    .address-input { width: 100%; }

    .preview-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
}

/* Checkout page */
.checkout-section { padding: 2rem 0 4rem; }
.checkout-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; align-items: start; }
.checkout-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.checkout-summary h3 { margin-bottom: 1rem; }
.checkout-items { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.checkout-item-row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.checkout-total { display: flex; justify-content: space-between; font-size: 1.1rem; }
.checkout-payment { min-height: 300px; }
@media (max-width: 768px) {
    .checkout-layout { grid-template-columns: 1fr; }
}
