/* ============================================
   MENU DIGITAL - MOBILE FIRST DESIGN
   Complete Restaurant Menu App
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #2D3436;
    --primary-light: #636E72;
    --accent-color: #00B894;
    --accent-hover: #00A085;
    --danger-color: #E74C3C;
    --warning-color: #F39C12;
    --background: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --text-muted: #B2BEC3;
    --border-color: #E9ECEF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

/* ============================================
   HEADER
   ============================================ */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--card-bg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

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

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--border-color);
}

.back-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    stroke-width: 2;
    fill: none;
}

.restaurant-info {
    display: flex;
    flex-direction: column;
}

.restaurant-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.restaurant-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.cart-btn:hover {
    transform: scale(1.05);
}

.cart-btn svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
    display: none;
}

.header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   RESTAURANT PROFILE SECTION
   ============================================ */
.profile-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1d1e 100%);
    padding: 24px 16px;
    color: #fff;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-logo-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 4px;
    box-shadow: var(--shadow-md);
}

.profile-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 4px);
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    color: #fff;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
}

.profile-detail svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-color);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.profile-detail a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
}

.profile-detail a:hover {
    color: var(--accent-color);
}

.profile-detail span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================
   BANNERS PROMOCIONALES
   ============================================ */
.banners-section {
    background: var(--card-bg);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.banners-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
    gap: 12px;
}

.banners-slider::-webkit-scrollbar {
    display: none;
}

.banner-card {
    flex-shrink: 0;
    width: calc(100% - 32px);
    max-width: 350px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.banner-card:hover {
    transform: scale(1.02);
}

.banner-card:only-child {
    width: 100%;
    max-width: none;
}

.banner-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 16px 12px;
    color: #fff;
}

.banner-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.banner-description {
    font-size: 0.8rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.banner-products-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.banner-add-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.banner-add-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.banner-add-btn svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}

.banners-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0 0;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--accent-color);
    width: 20px;
    border-radius: 4px;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
    background: var(--card-bg);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.view-all-btn {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.categories-container {
    display: flex;
    gap: 10px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

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

.category-pill {
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--background);
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    scroll-snap-align: start;
    white-space: nowrap;
}

.category-pill:hover {
    background: var(--border-color);
}

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

/* ============================================
   SEARCH BAR
   ============================================ */
.search-section {
    background: var(--card-bg);
    padding: 12px 16px;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--background);
    border-radius: 12px;
    padding: 12px 16px;
    gap: 10px;
}

.search-box svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.filter-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--background);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--border-color);
}

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

.filter-btn.active svg {
    stroke: #fff;
}

.filter-btn svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-secondary);
    stroke-width: 2;
    fill: none;
}

.filter-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    display: none;
}

.filter-badge.active {
    display: block;
}

/* ============================================
   PRODUCTS LIST
   ============================================ */
.products-section {
    padding: 16px;
    padding-bottom: 100px;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-left: 4px;
}

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

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 12px;
    display: flex;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-card.unavailable {
    opacity: 0.6;
}

.product-image-container {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: var(--background);
}

.product-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 4px 8px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
}

.product-badge.unavailable {
    background: var(--text-muted);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.product-price.has-sizes {
    font-size: 0.95rem;
    font-weight: 600;
}

.product-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-time svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.product-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-left: auto;
}

.product-add-btn:hover {
    background: var(--text-secondary);
    transform: scale(1.1);
}

.product-add-btn svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2.5;
}

/* ============================================
   PRODUCT DETAIL MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 90vh;
    max-height: 90dvh;
    background: var(--card-bg);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-modal.active {
    transform: translateY(0);
}

.modal-handle {
    width: 36px;
    height: 5px;
    background: var(--border-color);
    border-radius: 3px;
    margin: 12px auto;
    flex-shrink: 0;
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    flex-shrink: 0;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.modal-close-btn:hover {
    transform: scale(1.05);
}

.modal-close-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    stroke-width: 2;
    fill: none;
}

.modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 100px;
}

.modal-product-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-product-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Modal Footer */
.modal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--background);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--border-color);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
    stroke-width: 2;
}

.quantity-value {
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.add-to-cart-btn {
    flex: 1;
    padding: 14px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: var(--text-secondary);
}

.add-to-cart-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

/* ============================================
   SIZES GROUPS
   ============================================ */
.sizes-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sizes-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sizes-group-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sizes-group-badge {
    padding: 4px 10px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
}

.sizes-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.size-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-item:hover {
    border-color: var(--accent-light);
    background: rgba(255, 152, 0, 0.05);
}

.size-item.selected {
    border-color: var(--accent-color);
    background: rgba(255, 152, 0, 0.1);
}

.size-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.size-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.size-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
}

.size-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.size-check svg {
    width: 14px;
    height: 14px;
    stroke: transparent;
    stroke-width: 3;
    transition: stroke 0.2s ease;
}

.size-item.selected .size-check {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.size-item.selected .size-check svg {
    stroke: #fff;
}

/* ============================================
   EXTRAS GROUPS
   ============================================ */
.extras-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.extras-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.extras-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.extras-group-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.extras-group-badge {
    padding: 4px 10px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
}

.extras-group-badge.optional {
    background: var(--text-muted);
}

.extras-group-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.extra-item:hover {
    background: var(--border-color);
}

.extra-item.selected {
    border-color: var(--accent-color);
    background: rgba(0,184,148,0.05);
}

.extra-item.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
}

.extra-info {
    display: flex;
    flex-direction: column;
}

.extra-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.extra-price {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
}

.extra-add-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.extra-item.selected .extra-add-icon {
    background: var(--accent-color);
}

.extra-add-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
    stroke-width: 2;
}

.extra-item.selected .extra-add-icon svg {
    stroke: #fff;
}

/* ============================================
   FILTER MODAL
   ============================================ */
.filter-modal-overlay,
.categories-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.filter-modal-overlay.active,
.categories-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filter-modal,
.categories-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: var(--card-bg);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 1101;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.filter-modal.active,
.categories-modal.active {
    transform: translateY(0);
}

.filter-modal-header,
.categories-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-modal-header h3,
.categories-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.filter-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--background);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filter-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    stroke-width: 2;
}

.filter-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.filter-option:hover {
    background: var(--border-color);
}

.filter-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

.filter-option-label {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--background);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.price-input-prefix {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-right: 8px;
}

.price-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
}

.price-separator {
    color: var(--text-muted);
}

.filter-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.filter-clear-btn {
    flex: 1;
    padding: 14px;
    background: var(--background);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.filter-apply-btn {
    flex: 1;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================
   CATEGORIES MODAL
   ============================================ */
.categories-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.category-card {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    background: var(--border-color);
}

.category-card.active {
    border-color: var(--accent-color);
    background: rgba(0,184,148,0.05);
}

.category-card-icon {
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
}

.category-card-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.category-card-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   CART PANEL
   ============================================ */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    z-index: 1201;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.cart-panel.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-header h3 svg {
    stroke: var(--primary-color);
    stroke-width: 2;
    fill: none;
}

.cart-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--background);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    stroke-width: 2;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px 20px;
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    stroke: var(--text-muted);
    stroke-width: 1.5;
    fill: none;
    margin-bottom: 20px;
}

.cart-empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cart-empty-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.cart-empty-btn {
    padding: 12px 32px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

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

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius-md);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

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

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cart-item-extras {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.cart-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.cart-item-qty button.delete-btn {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.cart-item-qty span {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Promo items in cart */
.cart-item-promo {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.cart-promo-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-color) !important;
}

.promo-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.cart-promo-products {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}

.cart-promo-product {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
}

.cart-summary {
    margin-bottom: 16px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cart-summary-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--accent-hover);
}

.checkout-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.checkout-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */
.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-bg);
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 1301;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.checkout-modal.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

.checkout-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.checkout-back-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    stroke-width: 2;
    fill: none;
}

.checkout-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.checkout-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.checkout-section {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.checkout-section-title svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-color);
    stroke-width: 2;
    fill: none;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.checkout-section textarea {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.checkout-section textarea:focus {
    border-color: var(--accent-color);
}

.checkout-section textarea {
    resize: none;
    width: 100%;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

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

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

.checkout-item-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-item-qty {
    width: 24px;
    height: 24px;
    background: var(--background);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.checkout-item-name {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.checkout-item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.checkout-item-promo {
    background: rgba(255, 152, 0, 0.08);
    border-radius: 6px;
    padding: 8px !important;
}

.checkout-promo-name {
    color: var(--accent-color);
    font-weight: 600;
}

.checkout-subitem {
    padding-left: 24px !important;
    opacity: 0.7;
    font-size: 0.85rem;
}

.checkout-subitem .checkout-item-qty {
    background: transparent;
    font-size: 0.75rem;
}

.checkout-totals {
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkout-total-final {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
}

.checkout-footer {
    padding: 20px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.confirm-order-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.confirm-order-btn:hover {
    background: var(--accent-hover);
}

.confirm-order-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.confirm-order-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

/* ============================================
   SUCCESS MODAL
   ============================================ */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.success-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    z-index: 1401;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-width: 340px;
    width: calc(100% - 40px);
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(0,184,148,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-color);
    stroke-width: 2.5;
    fill: none;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.success-order-number {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.success-order-number span {
    font-weight: 700;
    color: var(--accent-color);
}

.success-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================
   PROMO/BANNER MODAL
   ============================================ */
.promo-modal {
    max-height: 90vh;
}

.promo-products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.promo-product-item {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 2px solid var(--border-color);
}

.promo-product-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.promo-product-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.promo-product-info {
    flex: 1;
    min-width: 0;
}

.promo-product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.promo-product-qty {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.promo-product-prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-price-original {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.promo-price-promo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.promo-product-extras {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.promo-extras-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.promo-extras-title svg {
    width: 14px;
    height: 14px;
    stroke: var(--warning-color);
    stroke-width: 2;
    fill: none;
}

.promo-extras-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.promo-extra-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.promo-extra-option:hover {
    border-color: var(--accent-color);
}

.promo-extra-option.selected {
    background: rgba(0, 184, 148, 0.1);
    border-color: var(--accent-color);
}

.promo-extra-option.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.promo-extra-price {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.promo-extra-check {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.promo-extra-option.selected .promo-extra-check {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.promo-extra-check svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transition: var(--transition);
}

.promo-extra-option.selected .promo-extra-check svg {
    opacity: 1;
}

.promo-validation-error {
    color: var(--danger-color);
    font-size: 0.8rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.promo-validation-error svg {
    width: 14px;
    height: 14px;
    stroke: var(--danger-color);
    stroke-width: 2;
    fill: none;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
#toastContainer {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: var(--accent-color);
}

.toast.error {
    background: var(--danger-color);
}

/* ============================================
   LOADING & EMPTY STATES
   ============================================ */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    stroke: var(--text-muted);
    stroke-width: 1.5;
    fill: none;
}

.empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   SKELETON LOADING
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--background) 25%, var(--border-color) 50%, var(--background) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 12px;
    display: flex;
    gap: 14px;
}

.skeleton-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
}

.skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-title {
    height: 20px;
    width: 80%;
}

.skeleton-text {
    height: 14px;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-price {
    height: 24px;
    width: 30%;
    margin-top: auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.4s ease forwards;
}

.product-card {
    animation: fadeInUp 0.4s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 480px) {
    .product-image-container {
        width: 120px;
        height: 120px;
    }
    
    .extras-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (min-width: 768px) {
    body {
        max-width: 480px;
        margin: 0 auto;
        box-shadow: var(--shadow-lg);
        min-height: 100vh;
    }
    
    .products-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
    
    .product-modal,
    .filter-modal,
    .categories-modal {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
    }
    
    .product-modal.active,
    .filter-modal.active,
    .categories-modal.active {
        transform: translateX(-50%) translateY(0);
    }
    
    .cart-panel {
        max-width: 400px;
    }
    
    .checkout-modal {
        max-width: 480px;
        left: 50%;
        transform: translateX(50%);
    }
    
    .checkout-modal.active {
        transform: translateX(-50%);
        left: 50%;
    }
}

/* Safe area for devices with notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .modal-footer,
    .cart-footer,
    .checkout-footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    
    .products-section {
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
}
