/* ============================================================
   loja.css - Estilos exclusivos da página da loja
   Mobile First - Versão 3.1
   ============================================================ */

/* ============================================================
   VARIÁVEIS GLOBAIS
   ============================================================ */
:root {
    --brand: #ea1d2c;
    --brand-light: #ea1d2c18;
    --brand-dark: #ea1d2ccc;
    --brand-gradient: linear-gradient(135deg, #ea1d2c, #ea1d2ccc);
    --bg: #f8f9fc;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-inverse: #ffffff;
    --text-muted: #9ca3af;
    --status-open: #22c55e;
    --status-closed: #ef4444;
    --status-low: #f59e0b;
    --status-critical: #f97316;
    --status-out: #dc2626;
    --border-color: #e8eaed;
    --border-dark: #1f2937;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-xxl: 24px;
    --spacing-3xl: 32px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.15);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-xs: 9px;
    --font-sm: 11px;
    --font-md: 13px;
    --font-lg: 15px;
    --font-xl: 17px;
    --font-2xl: 20px;
    --font-3xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-medium: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 0px;
}

/* ============================================================
   RESET E BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { font-family: var(--font-family); background: var(--bg); color: var(--text-primary); line-height: 1.5; padding-bottom: 90px; opacity: 0; transition: opacity 0.3s; }
body.ready { opacity: 1; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; font-size: inherit; border: none; background: none; }

button, a, [role="button"], .clickable, .category-chip, .product-card, .info-card[role="button"] {
    min-width: 44px;
    min-height: 44px;
}

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }

*:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   MENSAGEM DO DIA
   ============================================================ */
.msg-day {
    position: relative;
    background: var(--brand-light);
    border-bottom: 3px solid var(--brand);
    padding: 8px 40px 8px 12px;
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.msg-day i { color: var(--brand); font-size: 14px; flex-shrink: 0; }
.msg-day-close {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    min-width: 30px;
    min-height: 30px;
}
.msg-day-close:hover { color: var(--text-primary); }

@media (min-width: 481px) {
    .msg-day { padding: 10px 44px 10px 16px; font-size: var(--font-md); }
    .msg-day i { font-size: 16px; }
    .msg-day-close { right: 10px; font-size: 20px; }
}

/* ============================================================
   HEADER
   ============================================================ */
.store-header {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.store-header__top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.store-info { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.store-logo-wrap { position: relative; flex-shrink: 0; }
.store-logo {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1.5px solid var(--brand);
    background: white;
    padding: 2px;
    transition: transform var(--transition-fast);
}
.store-logo:hover { transform: scale(1.05); }
.status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.status-dot--open { background: var(--status-open); animation: pulse-dot 2s infinite; }
.status-dot--closed { background: var(--status-closed); }
@keyframes pulse-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.store-name {
    font-size: var(--font-md);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    margin: 0 0 1px;
}
.store-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 6px;
    font-size: var(--font-xs);
    color: var(--text-secondary);
}
.store-meta .rating { color: #f59e0b; font-weight: 600; }
.store-meta .rating i { color: #f59e0b; }
.store-meta .status-badge { font-size: 8px; font-weight: 700; padding: 1px 8px; border-radius: var(--radius-full); }
.status-badge--open { background: #dcfce7; color: #16a34a; }
.status-badge--closed { background: #fee2e2; color: #dc2626; }
.store-meta .delivery-time { display: flex; align-items: center; gap: 2px; }
.store-meta .delivery-fee-badge { display: flex; align-items: center; gap: 4px; }
.store-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.store-actions .btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-size: 15px;
    position: relative;
    min-width: 36px;
    min-height: 36px;
}
.store-actions .btn-icon:hover { background: var(--brand-light); color: var(--brand); transform: scale(1.05); }
.store-actions .btn-cart { background: var(--brand); color: white; }
.store-actions .btn-cart:hover { background: var(--brand-dark); color: white; transform: scale(1.05); }
.store-actions .badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: white;
    font-size: 8px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid white;
}

@media (max-width: 360px) {
    .store-logo { width: 32px; height: 32px; }
    .store-name { font-size: var(--font-sm); max-width: 80px; }
    .store-meta { display: none; }
    .store-actions .btn-icon { width: 32px; height: 32px; font-size: 13px; min-width: 32px; min-height: 32px; }
}

@media (min-width: 361px) and (max-width: 480px) {
    .store-logo { width: 36px; height: 36px; }
    .store-name { font-size: var(--font-sm); max-width: 100px; }
    .store-actions .btn-icon { width: 34px; height: 34px; font-size: 14px; min-width: 34px; min-height: 34px; }
}

@media (min-width: 481px) {
    .store-header__top { padding: 12px 16px; gap: 12px; }
    .store-info { gap: 14px; }
    .store-logo { width: 52px; height: 52px; border-width: 2px; }
    .store-name { font-size: var(--font-xl); max-width: none; }
    .store-meta { font-size: var(--font-sm); gap: 4px 10px; }
    .store-meta .status-badge { font-size: var(--font-xs); padding: 2px 12px; }
    .store-actions .btn-icon { width: 40px; height: 40px; font-size: 18px; min-width: 40px; min-height: 40px; }
    .store-actions .badge-count { font-size: 10px; min-width: 18px; height: 18px; border-radius: 9px; }
}

/* ============================================================
   SELETOR DE IDIOMA
   ============================================================ */
.lang-selector { position: relative; }
.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    min-width: 170px;
    padding: 6px;
    z-index: 110;
}
.lang-dropdown.show { display: block; }
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    color: var(--text-primary);
    min-height: 44px;
}
.lang-option:hover { background: var(--bg); }
.lang-option.active { font-weight: 700; }
.lang-option .check { margin-left: auto; color: var(--brand); font-size: var(--font-xs); }

@media (min-width: 481px) {
    .lang-dropdown { min-width: 190px; padding: 6px; }
    .lang-option { padding: 9px 10px; font-size: var(--font-md); }
}

/* ============================================================
   BARRA DE BUSCA
   ============================================================ */
.search-bar { max-width: 1280px; margin: 0 auto; padding: 0 12px 8px; }
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}
.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); }
.search-box .search-icon { position: absolute; left: 14px; color: var(--text-secondary); font-size: 13px; }
.search-box input {
    flex: 1;
    padding: 10px 14px 10px 40px;
    border: none;
    outline: none;
    font-size: var(--font-md);
    font-family: inherit;
    background: transparent;
    color: var(--text-primary);
    min-height: 44px;
}
.search-box input::placeholder { color: var(--text-secondary); }
.search-box .search-clear {
    position: absolute;
    right: 12px;
    color: var(--text-secondary);
    font-size: 16px;
    display: none;
    padding: 4px;
    min-width: 30px;
    min-height: 30px;
}
.search-box .search-clear.visible { display: block; }

@media (min-width: 481px) {
    .search-bar { padding: 0 16px 12px; }
    .search-box .search-icon { left: 18px; font-size: 16px; }
    .search-box input { padding: 12px 16px 12px 48px; font-size: var(--font-lg); }
    .search-box .search-clear { right: 14px; font-size: 18px; }
}

/* ============================================================
   SUGESTÕES DE BUSCA
   ============================================================ */
.search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 102;
}
.search-suggestions.active { display: block; }
.search-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    min-height: 44px;
}
.search-suggestion:last-child { border-bottom: none; }
.search-suggestion:hover { background: var(--bg); }
.search-suggestion img { width: 36px; height: 36px; border-radius: var(--radius-md); object-fit: cover; background: #f3f4f6; }
.search-suggestion .info { flex: 1; min-width: 0; }
.search-suggestion .name { font-size: var(--font-sm); font-weight: 600; }
.search-suggestion .desc { font-size: var(--font-xs); color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion .price { font-size: var(--font-sm); font-weight: 700; color: var(--brand); }

@media (min-width: 481px) {
    .search-suggestion { padding: 10px 14px; gap: 12px; }
    .search-suggestion img { width: 42px; height: 42px; border-radius: var(--radius-md); }
    .search-suggestion .name { font-size: var(--font-md); }
    .search-suggestion .desc { font-size: var(--font-sm); }
    .search-suggestion .price { font-size: var(--font-md); }
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-section { padding: 8px 12px 0; max-width: 1280px; margin: 0 auto; }
.hero-banner {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    background: #f3f4f6;
    min-height: 120px;
    max-height: 200px;
}
.hero-banner img { width: 100%; min-height: 120px; max-height: 200px; object-fit: cover; display: block; }
.banner-fallback {
    display: none;
    padding: 30px 20px;
    text-align: center;
    background: var(--brand-light);
    color: var(--text-primary);
    min-height: 120px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.banner-fallback i { font-size: 28px; color: var(--brand); margin-bottom: 6px; }
.banner-fallback p { font-weight: 600; font-size: var(--font-sm); margin: 0; }
.banner-fallback .sub { font-size: var(--font-xs); color: var(--text-secondary); margin: 4px 0 0; }
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%); z-index: 2; }
.hero-message { color: white; font-size: var(--font-xs); font-weight: 500; margin: 0; text-align: center; }

.banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all var(--transition-fast);
    min-width: 28px;
    min-height: 28px;
}
.banner-control:hover { background: white; border-color: var(--brand); color: var(--brand); }
.banner-control--prev { left: 4px; }
.banner-control--next { right: 4px; }
.banner-dots {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 3;
}
.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    padding: 0;
    transition: all var(--transition-fast);
    min-width: 6px;
    min-height: 6px;
}
.banner-dot.active { background: white; width: 18px; border-radius: 3px; }

@media (min-width: 481px) {
    .hero-section { padding: 12px 16px 0; }
    .hero-banner { border-radius: var(--radius-lg); min-height: 200px; max-height: 320px; }
    .hero-banner img { min-height: 200px; max-height: 320px; }
    .hero-overlay { padding: 20px 24px 12px; }
    .hero-message { font-size: var(--font-md); }
    .banner-control { width: 36px; height: 36px; font-size: 14px; min-width: 36px; min-height: 36px; }
    .banner-control--prev { left: 12px; }
    .banner-control--next { right: 12px; }
    .banner-dot { width: 8px; height: 8px; min-width: 8px; min-height: 8px; }
    .banner-dot.active { width: 24px; }
    .banner-fallback { min-height: 200px; padding: 40px 20px; }
    .banner-fallback i { font-size: 40px; }
    .banner-fallback p { font-size: var(--font-lg); }
    .banner-fallback .sub { font-size: var(--font-md); }
}

/* ============================================================
   INFO CARDS
   ============================================================ */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 8px 12px 0;
    max-width: 1280px;
    margin: 0 auto;
}
.info-card {
    background: white;
    border-radius: var(--radius-sm);
    padding: 8px 6px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
    min-height: 44px;
}
.info-card:hover { transform: translateY(-2px); }
.info-card .icon { font-size: 16px; margin-bottom: 1px; }
.info-card .label { font-size: 8px; text-transform: uppercase; color: var(--text-secondary); font-weight: 600; letter-spacing: 0.3px; }
.info-card .value { font-size: var(--font-sm); font-weight: 700; color: var(--text-primary); }

@media (max-width: 360px) {
    .info-card .label { display: none; }
    .info-card .value { font-size: var(--font-xs); }
}

@media (min-width: 481px) {
    .info-cards { grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 16px 0; }
    .info-card { padding: 12px 14px; border-radius: var(--radius-md); }
    .info-card .icon { font-size: 22px; margin-bottom: 4px; }
    .info-card .label { font-size: var(--font-xs); letter-spacing: 0.5px; }
    .info-card .value { font-size: var(--font-md); }
}

/* ============================================================
   CATEGORIAS - SCROLL AUTOMÁTICO
   ============================================================ */
.categories-section {
    position: sticky;
    top: calc(var(--header-h) - 4px);
    z-index: 90;
    background: var(--bg);
    padding: 10px 0 8px;
    max-width: 1280px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
    overflow: visible;
}
.categories-scroll {
    display: flex;
    gap: 8px;
    padding: 4px 44px 4px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.category-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-sm);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: white;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    min-height: 44px;
    position: relative;
}
.category-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.category-chip.active {
    background: var(--brand) !important;
    color: white !important;
    border-color: var(--brand) !important;
    box-shadow: 0 4px 20px rgba(234,29,44,0.4) !important;
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}
.category-chip.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--brand);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(234,29,44,0.3);
}
.category-chip.active .category-count { background: rgba(255,255,255,0.25) !important; color: white !important; }
.category-chip.active img { filter: brightness(0) invert(1); }
.category-chip.active .category-icon { filter: brightness(0) invert(1); }
.category-chip.active:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(234,29,44,0.5); }
.category-chip img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.category-icon { font-size: var(--font-md); }
.category-label { font-weight: 600; }
.category-count {
    font-size: var(--font-xs);
    font-weight: 700;
    background: rgba(0,0,0,0.08);
    padding: 0 6px;
    border-radius: var(--radius-full);
    min-width: 18px;
    text-align: center;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 28px;
    min-height: 28px;
    z-index: 5;
}
.scroll-indicator:hover { border-color: var(--brand); color: var(--brand); background: white; }
.scroll-indicator--left { left: 4px; }
.scroll-indicator--right { right: 4px; }
.scroll-indicator.hidden { display: none !important; }

@media (min-width: 481px) {
    .categories-section { padding: 16px 0 8px; }
    .categories-scroll { gap: 10px; padding: 4px 52px 4px 20px; }
    .category-chip { font-size: var(--font-md); padding: 10px 20px; gap: 8px; min-height: 48px; }
    .category-chip img { width: 22px; height: 22px; }
    .category-icon { font-size: var(--font-lg); }
    .category-count { font-size: var(--font-xs); padding: 0 8px; min-width: 20px; }
    .scroll-indicator { width: 30px; height: 30px; font-size: 12px; min-width: 30px; min-height: 30px; }
    .scroll-indicator--left { left: 6px; }
    .scroll-indicator--right { right: 6px; }
}

/* ============================================================
   PRODUTOS
   ============================================================ */
.products-area { max-width: 1280px; margin: 0 auto; padding: 4px 12px 30px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 10px; }
.section-header h2 { font-size: var(--font-lg); font-weight: 800; color: var(--text-primary); display: flex; align-items: center; gap: 8px; }
.section-header h2 i { color: var(--brand); }
.section-header .see-all { font-size: var(--font-sm); font-weight: 600; color: var(--brand); cursor: pointer; }
.section-header .see-all:hover { text-decoration: underline; }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

@media (min-width: 481px) {
    .products-area { padding: 8px 16px 40px; }
    .section-header { margin: 28px 0 14px; }
    .section-header h2 { font-size: var(--font-2xl); gap: 10px; }
    .section-header .see-all { font-size: var(--font-md); }
}
@media (min-width: 601px) and (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 769px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
    min-height: 200px;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-light); }
.product-card:active { transform: scale(0.98); }
.product-card--unavailable { opacity: 0.6; filter: grayscale(0.3); cursor: not-allowed; }
.product-card--unavailable:hover { transform: none; box-shadow: var(--shadow-sm); }
.product-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: #f3f4f6;
}
.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.product-card:hover .product-image img { transform: scale(1.06); }

/* ============================================================
   BADGE "NOVO" - FAIXA VERMELHA EM V (DESTAQUE)
   ============================================================ */
.badge-ribbon-new {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: var(--brand);
    padding: 8px 28px 8px 14px;
    border-radius: 0 0 12px 0;
    box-shadow: 0 4px 20px rgba(234, 29, 44, 0.5);
    clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
    min-height: 36px;
    display: flex;
    align-items: center;
    animation: pulse-ribbon 2s ease-in-out infinite;
}

@supports not (clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%)) {
    .badge-ribbon-new {
        clip-path: none;
        border-radius: 0 12px 12px 0;
    }
    .badge-ribbon-new::after {
        content: '';
        position: absolute;
        right: -16px;
        top: 0;
        border-style: solid;
        border-width: 18px 0 18px 16px;
        border-color: transparent transparent transparent var(--brand);
    }
}

@keyframes pulse-ribbon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(234, 29, 44, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 32px rgba(234, 29, 44, 0.6);
    }
}

.badge-ribbon-text {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    display: block;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding: 2px 0;
}

/* ============================================================
   BADGE "NOVO" - RESPONSIVO
   ============================================================ */
@media (max-width: 480px) {
    .badge-ribbon-new {
        padding: 5px 20px 5px 10px;
        min-height: 28px;
        border-radius: 0 0 8px 0;
    }
    .badge-ribbon-text {
        font-size: 11px;
        letter-spacing: 0.6px;
    }
}

@media (min-width: 481px) {
    .badge-ribbon-new {
        padding: 10px 32px 10px 16px;
        min-height: 42px;
        border-radius: 0 0 16px 0;
    }
    .badge-ribbon-text {
        font-size: 15px;
        letter-spacing: 1.2px;
    }
}

/* ============================================================
   OUTROS BADGES
   ============================================================ */
.product-badge {
    position: absolute;
    top: 4px;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    color: white;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.product-badge--new { left: 4px; background: #3b82f6; }
.product-badge--discount { right: 4px; background: #22c55e; }

/* Stock badge */
.stock-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 7px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    color: white;
    z-index: 2;
    background: rgba(245, 158, 11, 0.9);
    transition: transform var(--transition-fast);
}
.stock-badge:hover { transform: scale(1.05); }
@supports (backdrop-filter: blur(4px)) { .stock-badge { background: rgba(245, 158, 11, 0.85); backdrop-filter: blur(4px); } }
.stock-badge--low { background: rgba(245, 158, 11, 0.9); }
@supports (backdrop-filter: blur(4px)) { .stock-badge--low { background: rgba(245, 158, 11, 0.85); } }
.stock-badge--critical { background: rgba(249, 115, 22, 0.9); }
@supports (backdrop-filter: blur(4px)) { .stock-badge--critical { background: rgba(249, 115, 22, 0.85); } }
.stock-badge--out { background: rgba(220, 38, 38, 0.9); }
@supports (backdrop-filter: blur(4px)) { .stock-badge--out { background: rgba(220, 38, 38, 0.85); } }

/* Unavailable overlay */
.product-unavailable-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 5;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
@supports not (backdrop-filter: blur(4px)) { .product-unavailable-overlay { background: rgba(0, 0, 0, 0.75); } }
.product-unavailable-overlay i { font-size: 20px; color: #ef4444; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.product-unavailable-overlay span { font-size: var(--font-xs); font-weight: 700; color: white; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

/* Product info */
.product-info {
    padding: 6px 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.product-name {
    font-size: var(--font-sm);
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 28px;
    color: var(--text-primary);
    margin: 0;
}
@supports not (-webkit-line-clamp: 2) { .product-name { max-height: 3.6em; overflow: hidden; text-overflow: ellipsis; display: block; } }
.product-description { font-size: var(--font-xs); color: var(--text-secondary); display: none; margin: 0; line-height: 1.4; }
.product-meta { display: none; flex-wrap: wrap; gap: 2px 6px; margin-top: 2px; font-size: var(--font-xs); color: var(--text-secondary); }
.product-meta i { color: var(--brand); font-size: var(--font-xs); margin-right: 2px; }
.product-attributes { display: none; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.attr-tag { font-size: 7px; font-weight: 600; padding: 1px 6px; border-radius: var(--radius-full); border: 1px solid transparent; letter-spacing: 0.2px; transition: all var(--transition-fast); background: rgba(0, 0, 0, 0.05); color: var(--text-secondary); }

/* Price row */
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
    gap: 4px;
    flex-wrap: wrap;
}
.price {
    font-size: var(--font-md);
    font-weight: 800;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.price .old { font-size: var(--font-xs); color: var(--text-secondary); text-decoration: line-through; font-weight: 400; }
.price .discount { font-size: 8px; font-weight: 700; color: #ef4444; background: rgba(239, 68, 68, 0.1); padding: 1px 6px; border-radius: var(--radius-full); }

.btn-add {
    background: var(--brand);
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 700;
    transition: all var(--transition-medium);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 30px;
}
.btn-add::after { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.2); opacity: 0; transition: opacity var(--transition-fast); }
.btn-add:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(234,29,44,0.4); }
.btn-add:hover::after { opacity: 1; }
.btn-add:active { transform: scale(0.95) translateY(0); box-shadow: none; }
.btn-add i { font-size: 8px; pointer-events: none; }

@media (min-width: 481px) {
    .product-card { border-radius: var(--radius-md); min-height: 240px; }
    .product-image { padding-top: 85%; }
    .product-info { padding: 10px 12px 14px; gap: 4px; }
    .product-name { font-size: var(--font-md); min-height: 36px; }
    .product-description { display: -webkit-box; -webkit-line-clamp: 2; font-size: var(--font-sm); }
    .product-meta { display: flex; font-size: var(--font-xs); }
    .product-attributes { display: flex; }
    .price { font-size: var(--font-lg); }
    .btn-add { padding: 6px 16px; font-size: var(--font-sm); min-height: 36px; }
    .btn-add i { font-size: var(--font-xs); }
    .stock-badge { font-size: 8px; padding: 2px 8px; bottom: 8px; right: 8px; }
    .product-badge { font-size: var(--font-xs); padding: 3px 12px; top: 8px; }
    .product-badge--new { left: 8px; }
    .product-badge--discount { right: 8px; }
    .product-unavailable-overlay i { font-size: 32px; }
    .product-unavailable-overlay span { font-size: var(--font-md); }
}

@media (min-width: 769px) {
    .product-card { border-radius: var(--radius-lg); }
    .product-info { padding: 12px 16px 18px; gap: 6px; }
    .product-name { font-size: var(--font-lg); min-height: 42px; }
    .price { font-size: var(--font-xl); }
    .btn-add { padding: 8px 20px; font-size: var(--font-md); min-height: 40px; }
}

/* ============================================================
   CARRINHO FLUTUANTE
   ============================================================ */
.cart-floating {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    max-width: 480px;
    margin: 0 auto;
    z-index: 35;
    animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes slideUp { from { transform: translateY(80px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cart-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--brand-gradient);
    color: white;
    padding: 10px 14px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-md);
    box-shadow: 0 8px 32px rgba(234,29,44,0.35);
    width: 100%;
    transition: all var(--transition-medium);
    border: none;
    cursor: pointer;
    min-height: 52px;
}
.cart-button:hover { transform: scale(1.03) translateY(-3px); box-shadow: 0 12px 40px rgba(234,29,44,0.45); }
.cart-button .left { display: flex; align-items: center; gap: 8px; }
.cart-button .left i { font-size: 15px; }
.cart-button .count { background: rgba(255,255,255,0.2); border-radius: var(--radius-full); padding: 1px 10px; font-size: var(--font-sm); font-weight: 700; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.15); }
.cart-button .total { font-size: 15px; font-weight: 800; background: rgba(255,255,255,0.12); padding: 2px 12px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.1); }
.cart-label { font-size: 13px; font-weight: 600; }

@media (max-width: 360px) {
    .cart-button { padding: 8px 12px; font-size: var(--font-sm); min-height: 44px; }
    .cart-button .left i { font-size: 13px; }
    .cart-button .total { font-size: 13px; padding: 1px 8px; }
    .cart-label { font-size: 11px; }
}

@media (min-width: 481px) {
    .cart-floating { bottom: 20px; left: 16px; right: 16px; }
    .cart-button { padding: 14px 20px; font-size: var(--font-lg); min-height: 60px; }
    .cart-button .left { gap: 12px; }
    .cart-button .left i { font-size: 18px; }
    .cart-button .count { font-size: var(--font-md); padding: 2px 14px; }
    .cart-button .total { font-size: 19px; padding: 4px 18px; }
    .cart-label { font-size: var(--font-md); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.store-footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 32px 16px 24px;
    margin-top: 20px;
}
.store-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}
.footer-col { display: flex; flex-direction: column; gap: 6px; padding: 4px 0; }
.footer-title {
    color: white;
    font-size: var(--font-md);
    font-weight: 700;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-title i { color: var(--brand); width: 18px; text-align: center; font-size: var(--font-md); }
.footer-desc { font-size: var(--font-sm); line-height: 1.6; margin: 0; color: rgba(255, 255, 255, 0.7); }
.footer-status { margin-top: 4px; }
.badge-status { display: inline-block; font-size: var(--font-sm); font-weight: 600; padding: 4px 14px; border-radius: var(--radius-full); }
.badge-open { background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-closed { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.footer-hours-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: var(--font-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    min-height: 44px;
}
.footer-hours-btn:hover { background: rgba(255,255,255,0.15); color: white; }
.footer-hours-btn i:last-child { font-size: 10px; opacity: 0.5; }

.footer-address { font-style: normal; font-size: var(--font-sm); line-height: 1.6; color: rgba(255, 255, 255, 0.7); margin: 0; }
.footer-map-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    font-size: var(--font-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    border: none;
    min-height: 36px;
    width: fit-content;
}
.footer-map-btn:hover { background: rgba(255,255,255,0.12); color: white; }

.footer-phone, .footer-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-sm);
    margin: 2px 0;
    color: rgba(255, 255, 255, 0.7);
}
.footer-phone i, .footer-whatsapp i { width: 18px; text-align: center; font-size: var(--font-md); }
.footer-phone i { color: #60a5fa; }
.footer-whatsapp i { color: #25d366; }
.footer-phone a, .footer-whatsapp a { color: rgba(255, 255, 255, 0.8); transition: color var(--transition-fast); }
.footer-phone a:hover, .footer-whatsapp a:hover { color: white; }

.footer-social { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: all var(--transition-medium);
    min-width: 36px;
    min-height: 36px;
}
.footer-social a:hover { background: var(--brand); color: white; transform: translateY(-2px); }

.store-footer .footer-bottom {
    max-width: 1280px;
    margin: 20px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.footer-divider { color: rgba(255, 255, 255, 0.1); }

@media (max-width: 480px) {
    .store-footer { padding: 24px 12px 20px; }
    .store-footer .footer-grid { gap: 16px; }
    .footer-title { font-size: var(--font-sm); gap: 6px; }
    .footer-title i { font-size: var(--font-sm); width: 16px; }
    .footer-desc { font-size: var(--font-xs); line-height: 1.4; }
    .footer-address { font-size: var(--font-xs); line-height: 1.4; }
    .footer-phone, .footer-whatsapp { font-size: var(--font-xs); gap: 6px; }
    .footer-phone i, .footer-whatsapp i { font-size: var(--font-sm); width: 16px; }
    .footer-hours-btn { font-size: var(--font-xs); padding: 8px 12px; min-height: 38px; gap: 6px; }
    .footer-map-btn { font-size: var(--font-xs); padding: 4px 10px; min-height: 32px; }
    .footer-social a { width: 32px; height: 32px; font-size: 12px; min-width: 32px; min-height: 32px; }
    .footer-bottom { font-size: var(--font-xs); gap: 2px 4px; padding-top: 12px; margin-top: 16px; }
    .badge-status { font-size: var(--font-xs); padding: 2px 10px; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .store-footer .footer-grid { gap: 16px; }
    .footer-title { font-size: var(--font-sm); }
    .footer-desc, .footer-address, .footer-phone, .footer-whatsapp { font-size: var(--font-sm); }
}

@media (min-width: 769px) {
    .store-footer { padding: 40px 24px 24px; }
    .store-footer .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 30px; }
    .footer-title { font-size: var(--font-lg); margin-bottom: 6px; }
    .footer-title i { font-size: var(--font-lg); width: 20px; }
    .footer-desc, .footer-address, .footer-phone, .footer-whatsapp { font-size: var(--font-md); }
    .footer-hours-btn { font-size: var(--font-md); padding: 12px 20px; min-height: 48px; }
    .footer-map-btn { font-size: var(--font-md); padding: 8px 16px; min-height: 38px; }
    .footer-social a { width: 40px; height: 40px; font-size: 16px; min-width: 40px; min-height: 40px; }
    .store-footer .footer-bottom { font-size: var(--font-md); margin-top: 24px; padding-top: 20px; }
}

/* ============================================================
   MODAIS
   ============================================================ */
.modal-loja .modal-content { border-radius: var(--radius-md); border: none; overflow: hidden; }
.modal-loja .modal-header { border-bottom: 1px solid var(--border-color); padding: 12px 16px; }
.modal-loja .modal-title { font-weight: 800; font-size: var(--font-md); display: flex; align-items: center; gap: 8px; }
.modal-loja .modal-body { padding: 16px; }
.hours-table td { padding: 4px 2px; font-size: var(--font-sm); }
.hours-table tr.today td { font-weight: 800; color: var(--brand); }
.badge-24h { background: var(--bg); padding: 2px 8px; border-radius: var(--radius-full); font-size: var(--font-xs); }

@media (max-width: 360px) {
    .modal-loja .modal-dialog { margin: 8px; }
    .modal-loja .modal-header { padding: 10px 12px; }
    .modal-loja .modal-title { font-size: var(--font-sm); }
    .modal-loja .modal-body { padding: 12px; font-size: var(--font-sm); }
    .hours-table td { font-size: var(--font-xs); padding: 3px 2px; }
}

@media (min-width: 481px) {
    .modal-loja .modal-dialog { margin: 1.75rem auto; }
    .modal-loja .modal-content { border-radius: var(--radius-xl); }
    .modal-loja .modal-header { padding: 16px 20px; }
    .modal-loja .modal-title { font-size: var(--font-lg); }
    .modal-loja .modal-body { padding: 20px; }
    .hours-table td { padding: 7px 4px; font-size: var(--font-md); }
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 9998;
    animation: fadeIn 0.3s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sidebar-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    bottom: 0;            /* top+bottom acompanham a viewport visível do iOS (100vh não) */
    height: auto;
    max-height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 48px rgba(0,0,0,0.15);
    animation: slideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
    background: white;
}
.sidebar-header h3 { font-size: var(--font-lg); font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px; }
.sidebar-header h3 i { color: var(--brand); }
.sidebar-header .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0 8px;
    transition: color var(--transition-fast);
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
}
.sidebar-header .close-btn:hover { color: var(--text-primary); }
.sidebar-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 12px; background: var(--bg); }
.sidebar-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; color: var(--text-secondary); gap: 16px; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--border-color); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
body.sidebar-open { overflow: hidden; }

@media (min-width: 481px) {
    .sidebar-panel { max-width: 420px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
    .sidebar-header { padding: 16px 20px; }
    .sidebar-header h3 { font-size: var(--font-xl); }
    .sidebar-body { padding-bottom: 20px; }
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-notification {
    position: fixed;
    top: 10px;
    right: 10px;
    left: 10px;
    z-index: 99999;
    max-width: 420px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid #22c55e;
    padding: 12px 14px;
    transform: translateX(120%);
    transition: transform var(--transition-slow);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 auto;
}
.toast-notification.show { transform: translateX(0); }
.toast-notification.error { border-left-color: #ef4444; }
.toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dcfce7;
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.toast-notification.error .toast-icon { background: #fee2e2; color: #ef4444; }
.toast-content { flex: 1; }
.toast-title { font-weight: 700; font-size: var(--font-md); color: var(--text-primary); }
.toast-message { font-size: var(--font-sm); color: var(--text-secondary); margin-top: 2px; }
.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    min-width: 30px;
    min-height: 30px;
}
.toast-close:hover { color: var(--text-primary); }

@media (min-width: 481px) {
    .toast-notification { top: 20px; right: 20px; left: auto; min-width: 280px; padding: 14px 18px; gap: 12px; }
    .toast-icon { width: 36px; height: 36px; font-size: 16px; }
    .toast-title { font-size: var(--font-lg); }
    .toast-message { font-size: var(--font-md); }
}

/* ============================================================
   COOKIES BANNER
   ============================================================ */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 3px solid var(--brand);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    padding: 12px 16px;
    display: none;
}
.cookies-banner.active { display: block; animation: slideUp 0.4s ease; }
.cookies-banner-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.cookies-banner-text {
    flex: 1;
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
}
.cookies-banner-text strong { color: var(--text-primary); }
.cookies-banner-text a { color: var(--brand); text-decoration: underline; font-weight: 600; }
.cookies-banner-actions { display: flex; flex-direction: column; gap: 8px; }
.cookies-btn {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    min-height: 44px;
    text-align: center;
}
.cookies-btn--accept { background: var(--brand); color: white; }
.cookies-btn--accept:hover { background: var(--brand-dark); transform: scale(1.02); }
.cookies-btn--settings { background: #f3f4f6; color: var(--text-secondary); border: 1px solid var(--border-color); }
.cookies-btn--settings:hover { background: #e5e7eb; }

@media (min-width: 481px) {
    .cookies-banner { padding: 16px 20px; }
    .cookies-banner-content { flex-direction: row; align-items: center; gap: 16px; }
    .cookies-banner-text { text-align: left; font-size: var(--font-md); }
    .cookies-banner-actions { flex-direction: row; flex-shrink: 0; }
    .cookies-btn { padding: 8px 24px; font-size: var(--font-md); min-height: 48px; }
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    padding: 40px 16px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
}
.empty-state i { font-size: 40px; color: var(--text-secondary); margin-bottom: 12px; }
.empty-state h3 { font-size: var(--font-lg); font-weight: 700; margin-bottom: 4px; }
.empty-state p { color: var(--text-secondary); font-size: var(--font-md); }

@media (min-width: 481px) {
    .empty-state { padding: 60px 20px; border-radius: var(--radius-lg); }
    .empty-state i { font-size: 52px; margin-bottom: 16px; }
    .empty-state h3 { font-size: var(--font-2xl); }
}

/* ============================================================
   MODO ESCURO
   ============================================================ */


/* ============================================================
   ALTO CONTRASTE
   ============================================================ */
@media (prefers-contrast: high) {
    .badge-ribbon-new { border: 2px solid white; background: #cc0000 !important; }
    .badge-ribbon-text { color: white !important; }
    .product-unavailable-overlay { background: rgba(0, 0, 0, 0.85); }
    .price { color: #000000; }
    .category-chip.active { background: #000000 !important; }
    .cart-button { background: #000000; }
    .btn-add { background: #000000; }
    .btn-add:hover { background: #333333; }
    .footer-title i { color: #000000; }
    .footer-hours-btn { border-color: #ffffff; color: #ffffff; }
    .footer-map-btn { color: #ffffff; }
    .banner-fallback i { color: #000000; }
}