:root {
    --primary-color: #F23619;
    --text-dark: #1A1A1A;
    --text-light: #6B7280;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #F0F0F0;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-dark);
    min-height: 100vh;
    margin: 0;
}

.app-container {
    width: 100%;
    max-width: 414px;
    background-color: var(--white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
    margin: 0 auto;
}

/* Travar barras fixas e modais dentro da largura mobile (414px) no computador */
.bottom-nav,
.bottom-action-bar,
.cart-bottom-bar,
.modal-sheet,
#float-bar {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    max-width: 414px !important;
    width: 100% !important;
}

.modal-sheet.open {
    transform: translateX(-50%) translateY(0) !important;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 10px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.text-primary {
    color: var(--primary-color);
}

.text-dark {
    color: var(--text-dark);
}

.notification-icon {
    position: relative;
    font-size: 22px;
    color: var(--text-dark);
    cursor: pointer;
}

.badge {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 2px solid var(--white);
}

/* Search */
.search-container {
    padding: 2px 20px;
}

.search-box {
    background-color: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid rgba(242, 54, 25, 0.4); /* Vermelho médio */
    transition: box-shadow 0.2s, border-color 0.2s;
}

.search-box:focus-within {
    box-shadow: 0 0 0 2px rgba(242, 54, 25, 0.2);
    border-color: var(--primary-color); /* Vermelho forte no foco */
}

.search-icon {
    color: #9CA3AF;
    margin-right: 12px;
    font-size: 16px;
}

.search-box input {
    border: none;
    background: transparent;
    font-size: 15px;
    width: 100%;
    color: var(--text-dark);
    outline: none;
    font-family: inherit;
}

.search-box input::placeholder {
    color: #9CA3AF;
}

/* Promo Banner Carousel */
.promo-carousel-container {
    margin: 10px 20px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 190px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    /* For touch dragging */
    touch-action: pan-y;
    user-select: none;
}

.promo-carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.4s ease-in-out;
}

.promo-slide {
    flex: 0 0 100%;
    height: 100%;
    padding: 24px 20px;
    position: relative;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-content {
    position: relative;
    z-index: 2;
    width: 60%;
}

.promo-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.promo-content p {
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 500;
}

.btn-primary {
    background-color: #1A1A1A;
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-primary:active {
    transform: scale(0.95);
    background-color: #000;
}

.promo-image {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.promo-slide:hover .promo-image {
    transform: translateY(-50%) scale(1.05);
}

.pagination-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: var(--white);
    width: 16px;
}

/* Categories */
.categories {
    display: flex;
    padding: 6px 20px 12px;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none; 
}

.categories::-webkit-scrollbar {
    display: none; 
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 76px;
    cursor: pointer;
    transition: transform 0.2s;
}

.category-item:active {
    transform: scale(0.95);
}

.category-icon-wrapper {
    width: 76px;
    height: 76px;
    background-color: var(--bg-light);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
    border: 2px solid rgba(242, 54, 25, 0.4); /* Borda combinando com o resto */
    transition: border-color 0.2s, background-color 0.2s;
}

.category-icon-wrapper img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.category-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Restaurants Section */
.restaurants-section {
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.see-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.restaurant-list {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Espaço menor entre os cards */
}

.restaurant-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    border: 2px solid rgba(242, 54, 25, 0.4); /* Borda vermelha média */
    position: relative;
    transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.restaurant-card:active {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.restaurant-logo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    border: 1px solid var(--border-color);
}

.restaurant-info {
    flex: 1;
}

.restaurant-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.restaurant-meta {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.rating {
    display: flex;
    align-items: center;
    color: #F59E0B;
    font-size: 13px;
    font-weight: 700;
}

.rating i {
    margin-right: 4px;
    font-size: 12px;
}

.rating span {
    color: var(--text-light);
    font-weight: 400;
    margin-left: 4px;
}

.restaurant-details {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.dot-separator {
    margin: 0 6px;
    font-size: 10px;
}

.restaurant-category {
    font-size: 13px;
    color: var(--text-light);
}

.favorite-btn {
    background: none;
    border: none;
    color: #D1D5DB;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    transition: color 0.2s, transform 0.2s;
}

.favorite-btn:active {
    transform: scale(0.8);
}

.favorite-btn.active {
    color: var(--primary-color);
}

/* Bottom Nav */
.bottom-nav-spacer {
    height: 70px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 414px;
    background-color: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 12px 0 20px;
    border-top: 1px solid var(--border-color);
    z-index: 10;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #9CA3AF;
    gap: 4px;
    transition: color 0.2s;
}

.nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.nav-item span {
    font-size: 10px;
    font-weight: 600;
}

.nav-item.active {
    color: var(--primary-color);
}

/* --- Profile Page Styles --- */
.profile-header {
    text-align: center;
    padding: 24px 20px 10px;
}

.profile-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.profile-subtitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profile-content {
    padding: 10px 20px;
}

.user-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1.5px solid #e5e7eb;
    margin-bottom: 16px;
}

.avatar {
    width: 60px;
    height: 60px;
    background-color: #FA5D5D;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-right: 16px;
}

.user-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.user-info p {
    font-size: 14px;
    color: var(--text-light);
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.data-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.data-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    border: 1.5px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.data-item:active {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.data-icon {
    width: 24px;
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 16px;
    display: flex;
    justify-content: center;
}

.data-text {
    flex: 1;
}

.data-text h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.data-text p {
    font-size: 14px;
}

.text-light {
    color: var(--text-light);
}

.chevron {
    color: #1A1A1A;
    font-size: 16px;
}

.info-alert {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background-color: #FFF0F0;
    border-radius: 12px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.info-alert i {
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
}

.info-alert span {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.btn-save {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 32px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-save:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.instagram-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.insta-btn {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.insta-btn:active {
    transform: scale(0.98);
}

.insta-btn i {
    font-size: 24px;
    margin-right: 16px;
}

/* --- Favorites Page Styles --- */
.favorites-content {
    padding: 0;
}

.tabs-container {
    display: flex;
    margin: 10px 20px 20px;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.favorites-search {
    padding-top: 0;
}

.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.favorites-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.favorites-count {
    font-size: 13px;
    color: var(--text-light);
}

.favorites-list {
    padding: 0 20px;
}

.verified-icon {
    color: #3b82f6;
    font-size: 12px;
    margin-left: 4px;
    vertical-align: middle;
}

.time {
    color: var(--text-light);
}

.restaurant-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.status-open {
    color: #16a34a;
    font-size: 13px;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:active {
    background: var(--primary-color);
    color: var(--white);
}

.info-alert-center {
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px;
}

.info-alert-center i {
    margin-top: 0;
}

/* --- Orders Page Styles --- */
.orders-list {
    padding: 0 20px;
}

.order-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
    padding: 16px;
    margin-bottom: 16px;
}

.order-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    position: relative;
}

.order-title-info {
    flex: 1;
}

.order-title-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.order-meta {
    font-size: 12px;
    color: var(--text-light);
}

.status-badge.waiting {
    background-color: #FEF3C7;
    color: #92400E;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    position: absolute;
    right: 0;
    top: 0;
}

.order-divider {
    border: none;
    border-top: 1px dashed var(--border-color);
    margin: 16px 0;
}

.order-details-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.order-row {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-size: 14px;
}

.order-row i {
    width: 20px;
    color: var(--text-dark);
    margin-right: 8px;
    font-size: 16px;
}

.order-total {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.order-total strong {
    font-size: 18px;
    font-weight: 800;
    margin-left: 8px;
}

.order-actions {
    display: flex;
    gap: 12px;
}

.order-actions button {
    flex: 1;
}

.btn-whatsapp {
    background-color: #16a34a;
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-whatsapp:active {
    transform: scale(0.98);
}

.btn-whatsapp i {
    font-size: 16px;
    margin-right: 6px;
}

.mt-4 {
    margin-top: 24px;
}

.order-header-simple {
    display: flex;
    align-items: flex-start;
}

.past-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-text.success {
    color: #16a34a;
    font-size: 13px;
    font-weight: 600;
}

.order-item-desc {
    font-size: 14px;
    color: var(--text-dark);
    margin: 8px 0;
}

.past-order-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.past-order-bottom strong {
    font-size: 16px;
    font-weight: 700;
}

.btn-outline.small {
    padding: 6px 12px;
    font-size: 12px;
}

/* --- Search Page Styles --- */
.search-page-content {
    padding: 0;
}

.filter-icon {
    color: var(--primary-color);
    font-size: 18px;
    margin-left: 12px;
    cursor: pointer;
}

.section-container {
    padding: 0 20px;
    margin-bottom: 24px;
}

.search-categories {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.search-categories::-webkit-scrollbar {
    display: none;
}

.search-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 68px;
    cursor: pointer;
}

.search-category-icon-wrapper {
    width: 68px;
    height: 68px;
    background-color: var(--white);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
}

.search-category-icon-wrapper.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.search-category-icon-wrapper.active i {
    font-size: 24px;
}

.search-category-icon-wrapper img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.search-category-item span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.search-card {
    align-items: flex-start;
}

.search-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    min-height: 56px;
}

.favorite-btn.search-fav {
    position: static;
    color: #1A1A1A;
}

.favorite-btn.search-fav.active {
    color: var(--primary-color);
}

.text-right {
    text-align: right;
    margin-top: auto;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-dark);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* --- Store Profile Page Styles --- */
.store-cover {
    position: relative;
    width: 100%;
    height: 220px;
}

.store-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-header-actions {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-actions {
    display: flex;
    gap: 12px;
}

.circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--text-dark);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.circle-btn:active {
    transform: scale(0.95);
}

.store-logo-wrapper {
    position: absolute;
    bottom: -40px;
    left: 20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--white);
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.store-logo-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.store-content {
    padding: 50px 20px 20px;
}

.store-info-header {
    margin-bottom: 20px;
}

.store-info-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.store-status {
    color: #16a34a;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-rating {
    font-size: 15px;
    color: var(--text-dark);
}

.text-warning {
    color: #f59e0b;
}

.delivery-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.toggle-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.toggle-item i {
    font-size: 16px;
}

.toggle-item.active {
    background-color: #FFF0F0;
    color: var(--primary-color);
}

.toggle-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

.w-100 {
    width: 100%;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-grey {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s, background-color 0.2s;
}

.btn-grey:active {
    transform: scale(0.98);
    background-color: #f0f0f0;
}

.mb-1 {
    margin-bottom: 6px;
}

.store-details-box {
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.store-details-box h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.store-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.store-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.store-details-list li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 2px;
    width: 18px;
    text-align: center;
}

/* --- Menu Page Styles --- */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 10;
}

.circle-btn-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}

.circle-btn-small:active {
    transform: scale(0.95);
}

.menu-header-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.menu-title-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.menu-title-info span {
    font-size: 12px;
    color: var(--text-light);
}

.menu-content {
    padding: 0;
}

.menu-categories-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 20px 16px;
    scrollbar-width: none;
}

.menu-categories-scroll::-webkit-scrollbar {
    display: none;
}

.menu-category-pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.menu-category-pill.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.menu-section {
    padding: 0 20px;
}

.menu-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-item-card {
    display: flex;
    justify-content: space-between;
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    min-height: 120px;
}

.menu-item-info {
    flex: 1;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
}

.menu-item-info h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.menu-item-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 12px;
    flex: 1;
}

.menu-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.menu-item-image-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    flex-shrink: 0;
}

.menu-item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.btn-add {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.btn-add:active {
    transform: scale(0.9);
}

/* --- Item Details Page Styles --- */
.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: transparent;
}

.details-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.details-content {
    padding: 0 20px 20px;
}

.product-image-container {
    width: 100%;
    margin-bottom: 20px;
}

.product-main-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-info-block {
    margin-bottom: 24px;
}

.product-info-block h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.customize-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.customize-card {
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.customize-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.customize-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.badge-optional {
    background-color: #f1f3f5;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.addons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}

.addon-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.addon-name {
    font-size: 14px;
    color: var(--text-dark);
}

.addon-action {
    display: flex;
    align-items: center;
    gap: 12px;
}

.addon-price {
    font-size: 14px;
    color: var(--text-light);
}

.addon-add-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.addon-add-btn:active {
    background-color: var(--primary-color);
    color: var(--white);
}

.mt-3 {
    margin-top: 16px;
}

.observation-input-container {
    width: 100%;
}

.observation-input {
    width: 100%;
    height: 80px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
}

.observation-input:focus {
    border-color: var(--primary-color);
}

.bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 414px;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

@media (max-width: 414px) {
    .bottom-action-bar {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 6px;
    width: 110px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s;
}

.qty-btn:active {
    transform: scale(0.9);
}

.qty-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-add-cart {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-add-cart:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* --- Cart Page Styles --- */
.cart-content {
    padding: 0 20px 20px;
}

.cart-store-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--white);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.cart-store-banner img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.cart-store-banner h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.cart-item-card {
    display: flex;
    gap: 16px;
    background-color: var(--white);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.cart-item-img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.cart-item-header h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.btn-remove-item:active {
    color: var(--primary-color);
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.cart-item-addons {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    flex: 1;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-edit-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
}

.cart-qty {
    width: 96px;
    padding: 4px;
}

.btn-add-more {
    width: 100%;
    padding: 16px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-more:active {
    background-color: #FFF0F0;
}

.cart-bottom-bar {
    justify-content: space-between;
}

.cart-total-info {
    display: flex;
    flex-direction: column;
}

.total-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.total-amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

.btn-continue {
    background-color: #16a34a; /* Green */
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    min-width: 160px;
}

.btn-continue:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* --- Checkout Page Styles --- */
.checkout-content {
    padding: 0 20px 20px;
}

.checkout-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.checkout-form-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.checkout-option {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.checkout-option:active {
    transform: scale(0.98);
    background-color: #fcfcfc;
}

.checkout-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFF0F0;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-right: 16px;
}

.checkout-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-info h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.checkout-info span {
    font-size: 13px;
    font-weight: 500;
}

.checkout-arrow {
    color: var(--text-light);
    font-size: 14px;
}

.order-summary-box {
    background-color: var(--white); /* In the mockup it looks white inside the grey body */
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.order-summary-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.summary-line:last-child {
    margin-bottom: 0;
}

.total-line {
    font-size: 16px;
    font-weight: 800;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
}

.btn-whatsapp-checkout {
    background-color: #16a34a; /* WhatsApp Green */
    color: var(--white);
    border: none;
    padding: 16px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
}

.btn-whatsapp-checkout:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.btn-whatsapp-checkout i {
    font-size: 20px;
}

/* --- Bairros Page Styles --- */
.bairro-content {
    padding: 0 20px 20px;
}

.bairro-titles {
    margin-bottom: 24px;
}

.bairro-titles h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.bairro-titles p {
    font-size: 14px;
    color: var(--text-light);
}

.bairro-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.bairro-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 12px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
}

.bairro-option.selected {
    background-color: #FFF0F0;
    border-color: #ffcccc;
}

.bairro-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bairro-left i {
    font-size: 18px;
}

.bairro-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.bairro-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bairro-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.radio-custom {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ccc;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-custom.checked {
    border-color: var(--primary-color);
}

.radio-custom.checked::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.bairro-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
}

.bairro-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #FFF0F0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.bairro-info-text {
    font-size: 13px;
    color: var(--text-dark);
}

/* --- Profile Page Functional Styles --- */
.user-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.user-card:active {
    transform: scale(0.98);
}

.edit-form-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.edit-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.edit-form-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close-form {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f1f3f5;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-close-form:active {
    background-color: #e0e0e0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background-color: #f8f9fa;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08);
}

.toast-msg {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #1a1a1a;
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 9999;
    white-space: nowrap;
}

.toast-msg i {
    color: #4ade80;
    font-size: 16px;
}

.toast-msg.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.app-version {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 24px;
    margin-bottom: 16px;
    padding: 12px;
}
