:root {
    --primary: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FFCCBC;
    --success: #4CAF50;
    --danger: #F44336;
    --warning: #FF9800;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 2px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.2s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-header.visible {
    transform: translateY(0);
}

.sticky-header-content {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-header-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.sticky-header-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.sticky-header-categories {
    flex: 1;
    display: flex;
    overflow-x: auto;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sticky-header-categories::-webkit-scrollbar {
    display: none;
}

.sticky-header-categories .category-chip-v2 {
    height: 32px;
    font-size: 12px;
    padding: 0 12px;
}

.sticky-header-actions {
    display: flex;
    gap: 6px;
}

.sticky-header-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background var(--transition);
}

.sticky-header-btn:hover {
    background: var(--gray-200);
}

.sticky-header-btn .material-icons {
    font-size: 20px;
    color: var(--gray-700);
}

.banner-floating-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 50;
    display: flex;
    gap: 8px;
}

.banner-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform var(--transition), box-shadow var(--transition);
}

.banner-action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.banner-action-btn .material-icons {
    font-size: 20px;
    color: var(--gray-700);
}

.store-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-100);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 16px 0 12px;
    cursor: pointer;
    transition: background var(--transition);
}

.store-search-box:hover {
    background: var(--gray-200);
}

.store-search-box .material-icons {
    font-size: 20px;
    color: var(--gray-500);
}

.store-search-box span:last-child {
    font-size: 14px;
    color: var(--gray-500);
}

.header-v2 {
    display: none;
}

.header-top {
    display: none;
}

.status-bar {
    background: var(--gray-100);
    padding: 10px 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    flex-shrink: 0;
}

.status-dot.fechado {
    background: var(--danger);
}

.status-text {
    color: var(--gray-700);
}

.status-separator {
    color: var(--gray-400);
}

.search-overlay {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 200;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.search-overlay.show {
    transform: translateY(0);
}

.search-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.search-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: 24px;
    padding: 10px 16px;
    gap: 8px;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
}

.search-clear-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--gray-600);
    display: none;
}

.search-clear-btn.show {
    display: block;
}

.search-results {
    padding: 8px 0;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    cursor: pointer;
    transition: background var(--transition);
}

.search-result-item:active {
    background: var(--gray-100);
}

.search-result-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.search-no-results {
    text-align: center;
    padding: 40px 16px;
    color: var(--gray-600);
}

.banner-carousel {
    padding: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 12px;
}

.banner-carousel::-webkit-scrollbar {
    display: none;
}

.banner-item {
    flex-shrink: 0;
    width: calc(100% - 32px);
    scroll-snap-align: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.banner-item img {
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
}

@media (min-width: 768px) {
    .banner-item {
        width: calc(50% - 24px);
    }
}

.category-nav {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 12px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    background: white;
    position: sticky;
    top: 60px;
    z-index: 50;
    border-bottom: 1px solid var(--gray-200);
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-chip {
    flex-shrink: 0;
    padding: 10px 18px;
    background: var(--gray-100);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    scroll-snap-align: start;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    color: var(--gray-700);
}

.category-chip:active {
    transform: scale(0.95);
}

.category-chip.active {
    background: var(--primary);
    color: white;
}

.section-title {
    padding: 20px 16px 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px;
}

@media (min-width: 1024px) {
    .products-grid {
        padding: 0 24px 20px;
    }
}

.product-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: box-shadow var(--transition);
    position: relative;
    padding: 12px;
    gap: 12px;
}

.product-card:active {
    background: var(--gray-50);
}

@media (min-width: 768px) {
    .product-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
}

.product-card-body {
    flex: 1;
    min-width: 0;
    padding: 0;
    order: 1;
}

.product-card-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 10px;
    object-fit: cover;
    background: var(--gray-100);
    order: 2;
}

@media (min-width: 640px) {
    .product-card-img {
        width: 110px;
        height: 110px;
    }
}

.product-card-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    color: #1F2937;
}

.product-card-desc {
    font-size: 14px;
    font-weight: 400;
    color: #6B7280;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-card-price {
    color: #111;
    font-weight: 700;
    font-size: 17px;
    margin-top: 0;
}

.product-card-price small {
    font-weight: 400;
    font-size: 13px;
    color: var(--gray-500);
}

.product-card-unavailable {
    opacity: 0.5;
    pointer-events: none;
}

.product-card-unavailable::after {
    content: 'Indisponivel';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.bottom-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bottom-sheet-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92vh;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bottom-sheet.show {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .bottom-sheet {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        border-radius: var(--radius-xl);
        bottom: 20px;
        max-height: calc(100vh - 40px);
    }

    .bottom-sheet.show {
        transform: translateX(-50%) translateY(0);
    }
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
    margin: 12px auto;
    flex-shrink: 0;
}

.bottom-sheet-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background var(--transition);
}

.bottom-sheet-close:hover {
    background: rgba(0,0,0,0.2);
}

.bottom-sheet-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 120px;
}

.bottom-sheet-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: var(--gray-100);
}

.bottom-sheet-header {
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.bottom-sheet-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.bottom-sheet-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 8px;
}

.bottom-sheet-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.modifier-group {
    padding: 16px;
    border-bottom: 8px solid var(--gray-100);
}

.modifier-group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 8px;
}

.modifier-group-title {
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.modifier-group-subtitle {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 400;
}

.modifier-group-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    background: var(--gray-200);
    color: var(--gray-700);
    flex-shrink: 0;
}

.modifier-group-badge.required {
    background: var(--primary);
    color: white;
}

.modifier-group-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 8px;
    display: none;
}

.modifier-group.invalid .modifier-group-error {
    display: block;
}

.modifier-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background var(--transition);
}

.modifier-item:last-child {
    border-bottom: none;
}

.modifier-item:active {
    background: var(--gray-50);
}

.modifier-item input[type="radio"],
.modifier-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 14px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.modifier-item-info {
    flex: 1;
    min-width: 0;
}

.modifier-item-name {
    font-size: 15px;
    font-weight: 500;
}

.modifier-item-desc {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 2px;
}

.modifier-item-price {
    font-size: 14px;
    color: var(--gray-600);
    flex-shrink: 0;
    margin-left: 8px;
}

.modifier-item-price.free {
    color: var(--success);
}

.modifier-item-price.add {
    color: var(--primary);
    font-weight: 500;
}

.modifier-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.bottom-sheet-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.bottom-sheet-footer .close-btn {
    width: 100%;
    padding: 16px;
    background: var(--gray-200);
    color: var(--gray-800);
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background var(--transition);
}

.bottom-sheet-footer .close-btn:hover {
    background: var(--gray-300);
}

.product-card.esgotado {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed;
}

.product-card.esgotado:active {
    transform: none;
}

.product-card.esgotado:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.badge-esgotado {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    pointer-events: none;
}

.toast {
    background: var(--gray-900);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 1.7s forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.loading-spinner::after {
    content: '';
    width: 32px;
    height: 32px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-600);
}

.empty-state-icon {
    font-size: 64px;
    opacity: 0.5;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.empty-state-text {
    font-size: 14px;
    line-height: 1.5;
}

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-muted {
    color: var(--gray-600) !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.gap-2 {
    gap: 8px !important;
}

.gap-3 {
    gap: 12px !important;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-sheet-footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 14px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
}

.btn-loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

.search-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin: 8px 0;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: background var(--transition);
}

.search-load-more:hover {
    background: var(--gray-200);
}

.search-load-more:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.search-load-more .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.search-result-item.esgotado {
    opacity: 0.6;
}

.search-result-item.esgotado .search-result-price {
    color: var(--danger) !important;
}

.store-hero {
    position: relative;
    margin-bottom: 0;
}

.store-hero-banner {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-300);
    position: relative;
}

@media (min-width: 768px) {
    .store-hero-banner {
        height: 180px;
    }
}

.store-hero-banner-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.store-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
}

.store-hero-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -36px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    background: white;
    z-index: 10;
}

.store-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info-card {
    position: relative;
    background: white;
    margin: -20px 12px 0;
    padding: 48px 16px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    z-index: 5;
}

@media (min-width: 768px) {
    .store-info-card {
        margin: -24px 24px 0;
        padding: 52px 24px 20px;
        border-radius: 24px;
    }
}

.store-info-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--gray-900);
}

.store-info-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.store-info-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.store-info-status .status-dot.open {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.store-info-status .status-dot.closed {
    background: var(--danger);
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

.store-info-status.open {
    color: var(--success);
}

.store-info-status.closed {
    color: var(--danger);
}

.store-info-detail {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
    font-weight: 400;
}

.store-info-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.store-info-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--gray-100);
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: background var(--transition);
}

.store-info-btn:hover {
    background: var(--gray-200);
}

.store-info-btn .material-icons {
    font-size: 16px;
}

.store-hero-info {
    text-align: center;
    padding: 44px 16px 12px;
}

.store-hero-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--gray-900);
}

.store-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--warning);
    font-weight: 600;
    font-size: 13px;
}

.store-hero-rating .material-icons {
    font-size: 16px;
}

.store-hero-rating-count {
    color: var(--gray-500);
    font-weight: 400;
}

.status-bar-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.status-bar-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.open {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.status-indicator.closed {
    background: var(--danger);
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-label {
    font-weight: 600;
    font-size: 14px;
}

.status-label.open {
    color: var(--success);
}

.status-label.closed {
    color: var(--danger);
}

.status-detail {
    font-size: 12px;
    color: var(--gray-600);
}

.status-bar-info-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
}

.status-bar-info-btn:hover {
    background: var(--gray-200);
}

.category-nav-v2 {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 12px 16px;
    margin-top: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    background: white;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.category-nav-v2::-webkit-scrollbar {
    display: none;
}

.category-chip-v2 {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 36px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    scroll-snap-align: start;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--gray-700);
}

.category-chip-v2:active {
    transform: scale(0.97);
}

.category-chip-v2.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.25);
}

.category-chip-icon {
    font-size: 14px;
}

.category-chip-img {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: cover;
}

.section-header {
    padding: 24px 16px 12px;
}

.section-header .section-title {
    padding: 0;
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    font-size: 20px;
}

.section-icon-img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}

.section-subtitle {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 2px;
}

.category-banner-header {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-left: 16px;
    margin-right: 16px;
    width: calc(100% - 32px);
}

.category-banner-title-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 12px 16px;
    z-index: 2;
}

.category-banner-title-bar h2 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-banner-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

@media (min-width: 640px) {
    .category-banner-image {
        height: 200px;
    }
}

@media (min-width: 1024px) {
    .category-banner-header {
        margin-left: 24px;
        margin-right: 24px;
        width: calc(100% - 48px);
    }

    .category-banner-image {
        height: 220px;
    }

    .category-banner-title-bar h2 {
        font-size: 20px;
    }
}

.products-horizontal {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 0 16px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.products-horizontal::-webkit-scrollbar {
    display: none;
}

.product-card-horizontal {
    flex-shrink: 0;
    width: 150px;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.product-card-horizontal:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.product-card-horizontal:active {
    transform: scale(0.97);
}

.product-card-horizontal-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--gray-100);
}

.product-card-horizontal-body {
    padding: 10px 12px 12px;
}

.product-card-horizontal-body .product-card-name {
    min-height: auto;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--gray-900);
}

.product-card-horizontal-body .product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    text-decoration: line-through;
    color: var(--gray-500) !important;
    font-weight: 400 !important;
    margin-right: 4px;
}

.badge-promo {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--success);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 5;
    letter-spacing: 0.3px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: white;
    border-top: 1px solid var(--gray-100);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    z-index: 100;
    box-shadow: 0 -1px 8px rgba(0,0,0,0.06);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 16px;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
    position: relative;
}

.bottom-nav-item .material-icons {
    font-size: 24px;
    font-weight: 300;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item.active .material-icons {
    font-weight: 400;
}

.bottom-nav-item:hover {
    color: var(--primary);
}

.modal-info-content {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: none;
}

.modal-info-header {
    background: var(--gray-50);
    border: none;
    padding: 20px;
}

.modal-info-store {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-info-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.modal-info-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.modal-info-status {
    font-size: 13px;
    font-weight: 500;
}

.modal-info-status.open {
    color: var(--success);
}

.modal-info-status.closed {
    color: var(--danger);
}

.modal-info-body {
    padding: 20px;
}

.modal-info-section {
    margin-bottom: 24px;
}

.modal-info-section:last-child {
    margin-bottom: 0;
}

.modal-info-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.modal-info-section-title .material-icons {
    color: var(--primary);
    font-size: 20px;
}

.modal-info-section-text {
    margin: 0;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.modal-info-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-info-hour-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gray-600);
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.modal-info-hour-row.today {
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary);
    font-weight: 600;
}

.modal-info-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-info-payment-badge {
    padding: 8px 14px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

.modal-info-contacts {
    display: flex;
    gap: 12px;
}

.modal-info-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity var(--transition);
}

.modal-info-contact:hover {
    opacity: 0.8;
}

.modal-info-contact.whatsapp {
    background: #25D366;
    color: white;
}

.modal-info-contact.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.modal-info-contact .material-icons {
    font-size: 20px;
}

.content-wrapper {
    padding-bottom: 80px;
}

.product-card {
    position: relative;
}
