/*
 * LANCHER BASE STYLES
 * Estilos compartilhados entre todas as páginas
 */

@import url('../fonts/Poppins/stylesheet.css');

/* ========================================
   VARIÁVEIS CSS - IDENTIDADE VISUAL
   ======================================== */

:root {
    /* Cores da Marca */
    --lancher-red-primary: #C70E1C;
    --lancher-red-dark: #7F1717;
    --lancher-brown: #5D2814;
    --lancher-gray-light: #f8f9f9;
    --lancher-white: #FFFFFF;
    --lancher-black: #000000;

    /* Cores Auxiliares */
    --lancher-bg-light: #f8f9f9;
    --lancher-bg-dark: #1A1A1A;
    --lancher-text-gray: #666666;
    --lancher-border: #E5E5E5;

    /* Tipografia */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Variaveis de Tema - Light Mode (padrao) */
    --theme-bg-primary: #FFFFFF;
    --theme-bg-secondary: #f8f9f9;
    --theme-bg-surface: #FFFFFF;
    --theme-bg-elevated: #FFFFFF;
    --theme-text-primary: #000000;
    --theme-text-secondary: #666666;
    --theme-text-muted: #999999;
    --theme-border-color: #E5E5E5;
    --theme-border-light: #f0f0f0;
    --theme-shadow-color: rgba(0, 0, 0, 0.1);
    --theme-overlay: rgba(0, 0, 0, 0.5);
    --theme-input-bg: #FFFFFF;
    --theme-card-bg: #FFFFFF;
    --theme-navbar-bg: #FFFFFF;
}

/* ========================================
   TEMA ESCURO (DARK MODE)
   Baseado em Material Design Guidelines
   - Background base: #121212 (recomendado pelo Material Design)
   - Texto: Evitar branco puro para reduzir cansaco visual
   - Cores de marca: Mantidas com ajustes de luminosidade
   ======================================== */

:root[data-theme="dark"],
html[data-theme="dark"] {
    /* Backgrounds - Sistema de elevacao Material Design */
    --theme-bg-primary: #121212;      /* Base - Material Design recomendado */
    --theme-bg-secondary: #1A1A1A;    /* Elevacao nivel 1 (+5% overlay) */
    --theme-bg-surface: #1F1F1F;      /* Elevacao nivel 2 (+7% overlay) */
    --theme-bg-elevated: #262626;     /* Elevacao nivel 3 (+11% overlay) */

    /* Texto - Usando tons de cinza para evitar brilho excessivo */
    --theme-text-primary: #E8E8E8;    /* ~91% branco - alta enfase */
    --theme-text-secondary: #A8A8A8;  /* ~66% branco - media enfase */
    --theme-text-muted: #6B6B6B;      /* ~42% branco - baixa enfase */

    /* Bordas - Sutis mas visiveis */
    --theme-border-color: #2E2E2E;    /* Borda padrao */
    --theme-border-light: #252525;    /* Borda sutil */

    /* Sombras e Overlays */
    --theme-shadow-color: rgba(0, 0, 0, 0.5);
    --theme-overlay: rgba(0, 0, 0, 0.75);

    /* Inputs e Cards */
    --theme-input-bg: #1A1A1A;        /* Fundo de inputs */
    --theme-card-bg: #1A1A1A;         /* Fundo de cards */
    --theme-navbar-bg: #141414;       /* Navbar um pouco mais escura */

    /* Cores da marca adaptadas para dark mode */
    --lancher-red-primary: #E63946;   /* Vermelho mais claro/dessaturado para contraste */
    --lancher-red-dark: #C70E1C;      /* Vermelho original como secundario */
    --lancher-red-accent: #FF6B6B;    /* Vermelho claro para acentos/hovers */

    /* Ajustes de cores existentes para dark mode */
    --lancher-bg-light: #1A1A1A;
    --lancher-text-gray: #A8A8A8;
    --lancher-border: #2E2E2E;
    --lancher-gray-light: #1F1F1F;

    /* Sombras mais fortes no dark mode */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] select option {
    background-color: #1e1e1e; /* Fundo das opções */
    color: #FFFFFF; /* Cor da letra */
    padding: 10px; /* No Chrome, isso ajuda no espaçamento */
}

/* Transicao suave ao mudar de tema */
html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */

.theme-toggle-wrapper {
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    color: var(--theme-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.theme-toggle-btn:hover {
    background: var(--theme-border-light);
}

.theme-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--lancher-red-primary);
}

.theme-toggle-btn i {
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover i {
    transform: rotate(15deg);
}

/* Icones do toggle - todos escondidos por padrao */
.theme-icon-light,
.theme-icon-dark,
.theme-icon-auto {
    display: none;
}

/* ========================================
   RESET E BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--theme-text-primary);
    background-color: var(--theme-bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   TIPOGRAFIA
   ======================================== */

.landing-h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.2rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.landing-h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    font-weight: 600;
}

.landing-h3 {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
    font-weight: 600;
}

.landing-h4 {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.4;
    font-weight: 600;
}

.landing-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    font-weight: 400;
    color: var(--theme-text-secondary);
}

.landing-body {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.7;
    font-weight: 300;
}

.landing-small {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ========================================
   CORES UTILITÁRIAS
   ======================================== */

.text-red {
    color: var(--lancher-red-primary) !important;
}

.text-red-dark {
    color: var(--lancher-red-dark) !important;
}

.text-brown {
    color: var(--lancher-brown) !important;
}

.text-gray {
    color: var(--lancher-text-gray) !important;
}

.text-white {
    color: var(--lancher-white) !important;
}

.text-gold {
    color: #FFD700 !important;
}

.bg-red {
    background-color: var(--lancher-red-primary) !important;
}

.bg-red-dark {
    background-color: var(--lancher-red-dark) !important;
}

.bg-brown {
    background-color: var(--lancher-brown) !important;
}

.bg-light {
    background-color: var(--lancher-bg-light) !important;
}

.bg-dark {
    background-color: var(--lancher-bg-dark) !important;
}

.bg-white {
    background-color: var(--lancher-white) !important;
}

/* ========================================
   BOTÕES
   ======================================== */

.btn-lancher {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: none;
    box-shadow: var(--shadow-sm);
}

.btn-lancher:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-lancher:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--lancher-red-primary);
    color: var(--lancher-white);
}

.btn-primary:hover {
    background-color: var(--lancher-red-dark);
    color: var(--lancher-white);
}

.btn-secondary {
    background-color: var(--theme-bg-primary);
    color: var(--theme-text-primary);
}

.btn-secondary:hover {
    background-color: var(--theme-text-primary);
    color: var(--theme-bg-primary);
}

.btn-outline-red {
    background-color: transparent;
    color: var(--lancher-red-primary);
    border: 2px solid var(--lancher-red-primary);
    box-shadow: none;
}

.btn-outline-red:hover {
    background-color: var(--lancher-red-primary);
    color: var(--lancher-white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.8125rem;
}

/* ========================================
   BADGES
   ======================================== */

.badge-lancher {
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
}

.badge-primary {
    background-color: #FFF0F0;
    color: var(--lancher-red-primary);
    border: 1px solid rgba(199, 14, 28, 0.2);
}

.badge-success {
    background-color: #F0FDF4;
    color: #16A34A;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* ========================================
   FORM CONTROLS
   ======================================== */

.form-group-lancher {
    margin-bottom: 1.5rem;
}

.form-group-lancher label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--theme-text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.form-control-lancher {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid var(--theme-border-color);
    border-radius: var(--radius-md);
    background-color: var(--theme-input-bg);
    transition: var(--transition-fast);
    color: var(--theme-text-primary);
}

.form-control-lancher:focus {
    outline: none;
    border-color: var(--lancher-red-primary);
    box-shadow: 0 0 0 3px rgba(199, 14, 28, 0.1);
}

.form-control-lancher::placeholder {
    color: var(--theme-text-muted);
}

/* ========================================
   VALIDAÇÃO
   ======================================== */

.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.field-validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.validation-summary-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #721c24;
}

.validation-summary-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.validation-summary-errors li {
    font-size: 0.875rem;
}

/* ========================================
   ANIMAÇÕES COMUNS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   UTILITIES
   ======================================== */

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animation-delay-2 {
    animation-delay: 0.2s;
}

.animation-delay-4 {
    animation-delay: 0.4s;
}

.form-center {
    text-align: center;
}

/* ========================================
   LOADING STATE
   ======================================== */

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid var(--lancher-white);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

/* ========================================
   CLIENTE APP - DESIGN MODERNO
   ======================================== */

.cliente-app {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Header Principal */
.cliente-header {
    background: var(--theme-bg-primary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--theme-border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.cliente-header-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--lancher-red-primary) 0%, var(--lancher-red-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.cliente-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Caixa de Busca/Seletor */
.cliente-search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8f9fa;
    border: 2px solid var(--theme-border-color);
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    transition: var(--transition-fast);
}

.cliente-search-box:focus-within {
    border-color: var(--lancher-red-primary);
    box-shadow: 0 0 0 4px rgba(199, 14, 28, 0.1);
}

.cliente-search-box i {
    color: var(--theme-text-secondary);
    font-size: 1.25rem;
}

.cliente-search-box .form-select {
    flex: 1;
    font-size: 0.9rem;
    color: var(--theme-text-primary);
    padding: 0.5rem 0;
}

.cliente-search-box .form-select:focus {
    box-shadow: none;
}

/* Cards de Ação */
.cliente-action-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--theme-bg-primary);
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
}

.cliente-action-card:hover {
    border-color: var(--lancher-red-primary);
    box-shadow: var(--shadow-sm);
}

.cliente-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Barra de Filtros */
.cliente-filters-bar {
    background: var(--theme-bg-primary);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--theme-border-light);
}

.cliente-filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--theme-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.cliente-filter-label i {
    font-size: 0.875rem;
    color: var(--lancher-red-primary);
}

/* Dropdown de Categorias Moderno */
.cliente-category-dropdown {
    width: 100%;
}

.cliente-category-select-container {
    position: relative;
    width: 100%;
}

.cliente-category-select {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--theme-text-primary);
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border-color);
    border-radius: 12px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: var(--transition-fast);
}

.cliente-category-select:hover {
    border-color: var(--lancher-red-primary);
    background: #fff5f5;
}

.cliente-category-select:focus {
    outline: none;
    border-color: var(--lancher-red-primary);
    box-shadow: 0 0 0 4px rgba(199, 14, 28, 0.1);
    background: var(--theme-bg-primary);
}

.cliente-category-select option {
    padding: 0.75rem;
    font-size: 0.95rem;
}

.cliente-category-select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--lancher-red-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.cliente-category-select:focus + .cliente-category-select-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Info de Produtos */
.cliente-products-info .badge {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Conteúdo Principal */
.cliente-main {
    padding: 1.5rem 0 2rem;
}

/* Área de Produtos */
.cliente-products-area #containerProdutos {
    padding: 0;
}

.cliente-products-area #forProdutos {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Título da Categoria */
.cliente-products-area .titulo_categorias {
    margin: 0 0 1.25rem;
    padding: 0;
}

.cliente-products-area .titulo_categorias h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cliente-products-area .titulo_categorias h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--lancher-red-primary);
    border-radius: 2px;
}

/* Cards de Produtos - Design Moderno */
.cliente-products-area .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.cliente-products-area .thumbnail {
    background: var(--theme-card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--theme-border-light);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cliente-products-area .thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.cliente-products-area .img-produtos-card {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.cliente-products-area .nome-prod {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    margin: 1rem 1rem 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cliente-products-area .valor-prod {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lancher-red-primary);
    margin: 0 1rem 0.5rem;
    float: none !important;
}

.cliente-products-area .exibeDescricao {
    font-size: 0.8rem;
    color: var(--theme-text-secondary);
    margin: 0 1rem 0.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.cliente-products-area .exibeDescricao:hover {
    color: var(--lancher-red-primary);
}

.cliente-products-area .descricaoProd {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    margin: 0 1rem 0.75rem;
    font-style: normal;
    display: none;
}

.cliente-products-area .areaBtnProduto {
    padding: 1rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid var(--theme-border-light);
    background: var(--theme-bg-secondary);
}

.cliente-products-area .qtde {
    width: 56px;
    padding: 0.625rem;
    text-align: center;
    border: 2px solid var(--theme-border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--theme-input-bg);
    color: var(--theme-text-primary);
    transition: var(--transition-fast);
}

.cliente-products-area .qtde:focus {
    border-color: var(--lancher-red-primary);
    outline: none;
}

.cliente-products-area .btnIncrementarProd {
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--theme-bg-primary);
    border: 2px solid var(--theme-border-color);
    border-radius: 10px;
    color: var(--theme-text-primary);
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cliente-products-area .btnIncrementarProd:hover {
    background: var(--lancher-red-primary);
    color: white;
    border-color: var(--lancher-red-primary);
}

.cliente-products-area .AddItem {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--lancher-red-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cliente-products-area .AddItem:hover {
    background: var(--lancher-red-dark);
    transform: scale(1.02);
}

/* Sidebar do Carrinho */
.cliente-cart-sidebar .card {
    border-radius: 16px !important;
}

.cliente-cart-sidebar .card-header {
    border-radius: 16px 16px 0 0 !important;
}

.cliente-cart-sidebar .card-footer {
    border-radius: 0 0 16px 16px !important;
}

/* Botão Flutuante do Carrinho (Mobile) */
.cliente-cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--lancher-red-primary) 0%, var(--lancher-red-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(199, 14, 28, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.cliente-cart-fab:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 12px 32px rgba(199, 14, 28, 0.5);
}

.cliente-cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

/* ========================================
   CLIENTE APP - RESPONSIVO
   ======================================== */

@media (max-width: 991px) {
    .cliente-header {
        padding: 0.75rem 0;
    }

    .cliente-search-box {
        margin-top: 0.5rem;
    }

    .cliente-action-card {
        padding: 0.5rem 0.75rem;
    }

    .cliente-action-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .cliente-filters-bar {
        padding: 1rem;
    }

    .cliente-products-info {
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    .cliente-products-area .col-md-3 {
        width: 50%;
    }

    .cliente-products-area .img-produtos-card {
        height: 130px;
    }

    .cliente-products-area .nome-prod {
        font-size: 0.85rem;
        margin: 0.75rem 0.75rem 0.25rem;
    }

    .cliente-products-area .valor-prod {
        font-size: 1.1rem;
        margin: 0 0.75rem 0.5rem;
    }

    .cliente-products-area .areaBtnProduto {
        padding: 0.75rem;
        flex-wrap: wrap;
    }

    .cliente-products-area .qtde {
        width: 48px;
        padding: 0.5rem;
    }

    .cliente-products-area .btnIncrementarProd {
        width: 36px;
        height: 36px;
    }

    .cliente-products-area .AddItem {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 575px) {
    .cliente-header-logo {
        width: 40px;
        height: 40px;
    }

    .cliente-search-box {
        padding: 0.375rem 0.375rem 0.375rem 1rem;
    }

    .cliente-search-box .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .cliente-filters-bar {
        padding: 0.875rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .cliente-filter-label {
        font-size: 0.7rem;
        margin-bottom: 0.375rem;
    }

    .cliente-category-select {
        padding: 0.75rem 2.5rem 0.75rem 0.875rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }

    .cliente-category-select-icon {
        right: 0.75rem;
    }

    .cliente-cart-fab {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
        font-size: 1.25rem;
    }

    .cliente-products-area .thumbnail {
        border-radius: 12px;
    }

    .cliente-products-area .exibeDescricao {
        display: none;
    }
}

/* ========================================
   CLIENTE APP - DESIGN MODERNO
   ======================================== */

.cliente-app {
    min-height: 100vh;
    background-color: var(--theme-bg-secondary);
    padding-bottom: 100px;
}

/* ----------------------------------------
   Header - Minimalista e Sticky
   ---------------------------------------- */

.cliente-header {
    background: var(--theme-bg-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.cliente-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .cliente-header-content {
        padding: 0 2rem;
    }
}

.cliente-logo-link {
    text-decoration: none;
    flex-shrink: 0;
}

.cliente-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--lancher-red-primary) 0%, var(--lancher-red-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: var(--transition-fast);
}

.cliente-logo:hover {
    transform: scale(1.05);
}

.cliente-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Seletor de Cantina */
.cliente-cantina-selector {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border-color);
    border-radius: 50px;
    padding: 0.375rem 0.375rem 0.375rem 1rem;
    transition: var(--transition-fast);
}

.cliente-cantina-selector:focus-within {
    border-color: var(--lancher-red-primary);
    box-shadow: 0 0 0 3px rgba(199, 14, 28, 0.1);
}

.cliente-cantina-selector > i {
    color: var(--theme-text-secondary);
    font-size: 1.1rem;
}

.cliente-cantina-selector .form-select {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--theme-text-primary);
}

.cliente-cantina-selector .form-select:focus {
    box-shadow: none;
}

.btn-buscar {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--lancher-red-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-buscar:hover {
    background: var(--lancher-red-dark);
    transform: scale(1.05);
}


.cliente-saldo-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .cliente-saldo-card {
        gap: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

.cliente-saldo-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .cliente-saldo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

.cliente-saldo-info {
    display: flex;
    flex-direction: column;
}

.cliente-saldo-label {
    font-size: 0.65rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: none;
}

@media (min-width: 576px) {
    .cliente-saldo-label {
        display: block;
        font-size: 0.7rem;
    }
}

.cliente-saldo-valor {
    font-size: 0.85rem;
    font-weight: 700;
    color: white !important;
}

@media (min-width: 576px) {
    .cliente-saldo-valor {
        font-size: 0.95rem;
    }
}

/* Cart Mini */
.cliente-cart-mini {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--theme-text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.cliente-cart-mini:hover {
    border-color: var(--lancher-red-primary);
    color: var(--lancher-red-primary);
    background: #fff5f5;
}

.cliente-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    background: var(--lancher-red-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--theme-bg-primary);
}

/* ----------------------------------------
   Hero Section - Saudacao
   ---------------------------------------- */

.cliente-hero {
    background: linear-gradient(135deg, var(--lancher-red-primary) 0%, var(--lancher-red-dark) 100%);
    padding: 1rem 0;
    color: white;
}

.cliente-hero-content {
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .cliente-hero-content {
        padding: 0 2rem;
    }
}

.cliente-greeting {
    margin-bottom: 0;
}

.cliente-greeting-time {
    font-size: 0.875rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.25rem;
}

.cliente-greeting-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .cliente-greeting-title {
        font-size: 1.75rem;
    }
}

/* Quick Actions */
.cliente-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .cliente-quick-actions {
        display: flex;
        gap: 1rem;
    }
}

.cliente-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: var(--transition-fast);
    text-align: center;
}

@media (min-width: 768px) {
    .cliente-quick-card {
        flex-direction: row;
        padding: 0.875rem 1.25rem;
        gap: 0.75rem;
    }
}

.cliente-quick-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: white;
}

.cliente-quick-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cliente-quick-icon.favorito {
    background: rgba(236, 72, 153, 0.3);
}

.cliente-quick-icon.recarga {
    background: rgba(16, 185, 129, 0.3);
}

.cliente-quick-icon.conta {
    background: rgba(59, 130, 246, 0.3);
}

.cliente-quick-card span {
    font-size: 0.75rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .cliente-quick-card span {
        font-size: 0.875rem;
    }
}

/* ----------------------------------------
   Search Section
   ---------------------------------------- */

.cliente-search-section {
    background: var(--theme-bg-primary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--theme-border-light);
}

.cliente-search-section .container-fluid {
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .cliente-search-section .container-fluid {
        padding: 0 2rem;
    }
}

.cliente-search-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.cliente-search-bar:focus-within {
    border-color: var(--lancher-red-primary);
    box-shadow: 0 0 0 3px rgba(199, 14, 28, 0.1);
    background: var(--theme-bg-primary);
}

.cliente-search-bar > i {
    color: var(--theme-text-secondary);
    font-size: 1.1rem;
}

.cliente-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--theme-text-primary);
    outline: none;
}

.cliente-search-input::placeholder {
    color: var(--theme-text-muted);
}

.cliente-search-clear {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--theme-border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cliente-search-clear:hover {
    background: var(--lancher-red-primary);
    color: white;
}

/* Categories Horizontal Scroll */
.cliente-categories-wrapper {
    position: relative;
    margin: 0 -1rem;
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .cliente-categories-wrapper {
        margin: 0;
        padding: 0;
    }
}

.cliente-categories-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
}

.cliente-categories-scroll::-webkit-scrollbar {
    display: none;
}

/* Category Chips */
.cliente-categories-scroll .nav-link,
.cliente-categories-scroll a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--theme-text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.cliente-categories-scroll .nav-link:hover,
.cliente-categories-scroll a:hover {
    border-color: var(--lancher-red-primary);
    color: var(--lancher-red-primary);
}

.cliente-categories-scroll .nav-link.active,
.cliente-categories-scroll a.active {
    background: var(--lancher-red-primary);
    border-color: var(--lancher-red-primary);
    color: white;
}

/* ----------------------------------------
   Main Content
   ---------------------------------------- */

.cliente-main {
    padding: 1.5rem 0;
}

.cliente-main .container-fluid {
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .cliente-main .container-fluid {
        padding: 0 2rem;
    }
}

.cliente-layout-grid {
    display: block;
}

/* Products Section */
.cliente-products-section {
    min-width: 0;
}

.cliente-products-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Category Title */
.cliente-products-grid .titulo_categorias {
    margin: 0 0 1rem;
}

.cliente-products-grid .titulo_categorias h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cliente-products-grid .titulo_categorias h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--lancher-red-primary);
    border-radius: 2px;
}

/* Product Cards */
.cliente-products-grid .row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
}

@media (min-width: 768px) {
    .cliente-products-grid .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

.cliente-products-grid .thumbnail {
    background: var(--theme-card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--theme-border-light);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cliente-products-grid .thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.cliente-products-grid .img-produtos-card {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .cliente-products-grid .img-produtos-card {
        height: 160px;
    }
}

.cliente-products-grid .nome-prod {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    margin: 0.875rem 0.875rem 0.375rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cliente-products-grid .valor-prod {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lancher-red-primary);
    margin: 0 0.875rem 0.5rem;
    float: none !important;
}

.cliente-products-grid .exibeDescricao {
    font-size: 0.75rem;
    color: var(--theme-text-secondary);
    margin: 0 0.875rem 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.cliente-products-grid .descricaoProd {
    font-size: 0.75rem;
    color: var(--theme-text-muted);
    margin: 0 0.875rem 0.75rem;
    display: none;
}

.cliente-products-grid .areaBtnProduto {
    padding: 0.875rem;
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid var(--theme-border-light);
    background: var(--theme-bg-secondary);
}

/* Botao Adicionar em linha separada no desktop */
@media (min-width: 768px) {
    .cliente-products-grid .areaBtnProduto {
        flex-direction: column;
        align-items: stretch;
    }

    .cliente-products-grid .produto-controls {
        justify-content: center;
    }

    .cliente-products-grid .AddItem {
        width: 100%;
        justify-content: center;
    }
}

.cliente-products-grid .qtde {
    width: 48px;
    padding: 0.5rem;
    text-align: center;
    border: 2px solid var(--theme-border-color);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--theme-input-bg);
    color: var(--theme-text-primary);
    transition: var(--transition-fast);
}

.cliente-products-grid .qtde:focus {
    border-color: var(--lancher-red-primary);
    outline: none;
}

.cliente-products-grid .btnIncrementarProd {
    width: 36px;
    height: 36px;
    padding: 0;
    background: var(--theme-bg-primary);
    border: 2px solid var(--theme-border-color);
    border-radius: 8px;
    color: var(--theme-text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cliente-products-grid .btnIncrementarProd:hover {
    background: var(--lancher-red-primary);
    color: white;
    border-color: var(--lancher-red-primary);
}

.cliente-products-grid .AddItem {
    flex: 1;
    padding: 0.625rem 0.75rem;
    background: var(--lancher-red-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cliente-products-grid .AddItem:hover {
    background: var(--lancher-red-dark);
}

/* Product Controls Layout */
.cliente-products-grid .produto-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cliente-products-grid .btnDecrementarProd,
.cliente-products-grid .btnIncrementarProd {
    width: 36px;
    height: 36px;
    padding: 0;
    background: var(--theme-bg-primary);
    border: 2px solid var(--theme-border-color);
    border-radius: 8px;
    color: var(--theme-text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cliente-products-grid .btnDecrementarProd:hover,
.cliente-products-grid .btnIncrementarProd:hover {
    background: var(--lancher-red-primary);
    color: white;
    border-color: var(--lancher-red-primary);
}

/* Mobile Product Info */
.produto-info-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.nome-prod-mobile {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.valor-prod-mobile {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lancher-red-primary);
}

/* ----------------------------------------
   Sidebar Cart
   ---------------------------------------- */

.cliente-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.cliente-cart-sidebar {
    background: var(--theme-card-bg);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--theme-border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
}

.cliente-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--lancher-red-primary);
    color: white;
}

.cliente-cart-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cliente-cart-count {
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.cliente-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    min-height: 200px;
}

.cliente-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--theme-text-muted);
}

.cliente-cart-empty-icon {
    width: 64px;
    height: 64px;
    background: var(--theme-bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cliente-cart-empty p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--theme-text-secondary);
    margin: 0 0 0.25rem;
}

.cliente-cart-empty span {
    font-size: 0.8rem;
}

.cliente-cart-footer {
    padding: 1.25rem 1.5rem;
    background: var(--theme-bg-secondary);
    border-top: 1px solid var(--theme-border-light);
}

.cliente-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cliente-cart-total span {
    font-size: 0.95rem;
    color: var(--theme-text-secondary);
}

.cliente-cart-total strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lancher-red-primary);
}

.cliente-btn-finalizar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--lancher-red-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.cliente-btn-finalizar:hover {
    background: var(--lancher-red-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 14, 28, 0.3);
}

/* ----------------------------------------
   Floating Cart Button (FAB)
   ---------------------------------------- */

.cliente-cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--lancher-red-primary) 0%, var(--lancher-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(199, 14, 28, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.cliente-cart-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(199, 14, 28, 0.5);
    color: white;
}

.cliente-cart-fab:active {
    transform: scale(0.95);
}

.cliente-cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    background: #10B981;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Safe area for iOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .cliente-cart-fab {
        bottom: calc(24px + env(safe-area-inset-bottom));
    }
}

/* Animacao de pulse quando item eh adicionado */
@keyframes cartPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(199, 14, 28, 0.4);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 8px 30px rgba(199, 14, 28, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(199, 14, 28, 0.4);
    }
}

.cliente-cart-fab.pulse {
    animation: cartPulse 0.4s ease-out;
}

/* Badge bounce */
@keyframes badgeBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.cliente-cart-fab-badge.bounce {
    animation: badgeBounce 0.3s ease-out;
}

/* ----------------------------------------
   Responsivo
   ---------------------------------------- */

@media (max-width: 767px) {
    .cliente-hero {
        padding: 1.25rem 0;
    }

    .cliente-greeting-title {
        font-size: 1.25rem;
    }

    .cliente-quick-card {
        padding: 0.75rem 0.375rem;
    }

    .cliente-quick-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .cliente-quick-card span {
        font-size: 0.65rem;
    }

    /* Mobile: Single column with horizontal cards */
    .cliente-products-grid .col-md-3,
    .cliente-products-grid .col-6,
    .cliente-products-grid [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Horizontal card layout for mobile */
    .cliente-products-grid .thumbnail {
        flex-direction: row;
        height: auto;
        min-height: 120px;
    }

    .cliente-products-grid .img-produtos-card {
        width: 120px;
        height: 120px;
        min-width: 120px;
        border-radius: 16px 0 0 16px;
        object-fit: cover;
    }

    .cliente-products-grid .thumbnail > .nome-prod,
    .cliente-products-grid .thumbnail > .valor-prod,
    .cliente-products-grid .thumbnail > .exibeDescricao,
    .cliente-products-grid .thumbnail > .descricaoProd {
        display: none;
    }

    /* Product info wrapper for horizontal layout */
    .cliente-products-grid .thumbnail::after {
        display: none;
    }

    .cliente-products-grid .areaBtnProduto {
        flex: 1;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        padding: 0.875rem;
        border-top: none;
        border-left: 1px solid var(--theme-border-light);
        background: transparent;
        gap: 0.5rem;
    }

    /* Product controls row in mobile */
    .cliente-products-grid .produto-controls {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .cliente-products-grid .qtde {
        width: 44px;
        padding: 0.375rem;
        font-size: 0.85rem;
        text-align: center;
    }

    .cliente-products-grid .btnIncrementarProd,
    .cliente-products-grid .btnDecrementarProd {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        font-size: 0.875rem;
    }

    .cliente-products-grid .AddItem {
        width: 100%;
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.25rem;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .cliente-header-content {
        gap: 0.75rem;
    }

    .cliente-logo {
        width: 38px;
        height: 38px;
    }

    .cliente-cantina-selector {
        padding: 0.25rem 0.25rem 0.25rem 0.75rem;
    }

    .cliente-cantina-selector .form-select {
        font-size: 0.8rem;
    }

    .btn-buscar {
        width: 32px;
        height: 32px;
    }

    .cliente-cart-mini {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .cliente-search-bar {
        padding: 0.625rem 0.875rem;
    }

    /* Mobile card adjustments */
    .cliente-products-grid .img-produtos-card {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }

    .cliente-products-grid .thumbnail {
        min-height: 100px;
    }

    .cliente-products-grid .areaBtnProduto {
        padding: 0.75rem;
    }

    .cliente-products-grid .AddItem {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}
