/* =====================================================================
 * Delivery — Loja pública (cliente)
 * Estilo "food-app" moderno, mobile-first, warm e profissional.
 * Requer design-tokens.css carregado antes.
 * ===================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
    background: var(--surface-app);
    color: var(--ink-800);
    line-height: var(--leading-base);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--ink-800); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand); }

/* ─── Loading splash ─────────────────────────────────────────────── */
#loading-screen {
    position: fixed; inset: 0;
    background: var(--surface-app);
    display: grid; place-items: center;
    z-index: 9999;
    transition: opacity var(--t-slow);
}
#loading-screen.hidden { opacity: 0; pointer-events: none; }
.loading-content { text-align: center; }
.spinner {
    width: 48px; height: 48px;
    border: 4px solid var(--ink-150);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: ds-spin 0.9s linear infinite;
    margin: 0 auto var(--sp-4);
}

/* ─── Install PWA banner ─────────────────────────────────────────── */
.install-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
    padding: var(--sp-3) var(--sp-4);
    box-shadow: 0 -8px 24px -8px rgba(31, 26, 19, 0.12);
}
.install-content {
    max-width: 720px; margin: 0 auto;
    display: flex; align-items: center; gap: var(--sp-3);
}
.install-icon { width: 44px; height: 44px; border-radius: var(--r-md); }
.install-text { flex: 1; min-width: 0; }
.install-text strong { display: block; font-weight: 700; font-size: var(--text-sm); }
.install-text span { display: block; font-size: var(--text-xs); color: var(--ink-500); }
.btn-install {
    background: var(--brand); color: #fff; border: 0;
    padding: 8px 16px; border-radius: var(--r-pill);
    font-weight: 700; font-size: var(--text-sm);
    cursor: pointer; transition: transform var(--t-fast);
}
.btn-install:hover { transform: translateY(-1px); }
.btn-close-install {
    background: 0; border: 0; cursor: pointer;
    color: var(--ink-400); font-size: 20px;
}

/* ─── Header sticky ──────────────────────────────────────────────── */
.main-header {
    position: sticky; top: 0;
    z-index: var(--z-header);
    background: rgba(255, 248, 239, 0.84);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--border-soft);
}
.header-content {
    display: grid;
    grid-template-columns: auto auto 1fr auto;   /* [menu] [logo] [search 1fr] [actions] */
    align-items: center;
    gap: var(--sp-3);
    height: 64px;
    padding: 0 var(--sp-4);
    max-width: 1200px;
    margin: 0 auto;
}
/* Fallback caso a busca não exista (3 colunas) — não afeta páginas com search */
.header-content:not(:has(.header-search)) {
    grid-template-columns: auto 1fr auto;
}
.header-search { justify-self: end; }  /* alinha à direita da coluna */
.main-header .logo { flex: 0 1 auto; }  /* logo não expande agora */
.btn-menu, .btn-cart, .btn-user {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    color: var(--ink-800);
    border-radius: var(--r-pill);
    width: 40px; height: 40px;
    display: grid; place-items: center;
    cursor: pointer;
    font-size: 16px;
    transition: all var(--t-fast);
    position: relative;
}
.btn-menu:hover, .btn-cart:hover, .btn-user:hover {
    border-color: var(--ink-300);
    background: var(--surface-muted);
    transform: translateY(-1px);
}
.header-logo {
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.header-logo img { max-height: 36px; width: auto; }
.header-logo h1 {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 800;
    letter-spacing: var(--tracking-tight);
    margin: 0;
    color: var(--ink-900);
}

/* Logo do cabeçalho — imagem OU nome estilizado quando não tem upload de logo */
.main-header .logo {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
    color: inherit;
    line-height: 1;
}
.main-header .logo img {
    max-height: 44px; width: auto;
    display: block;
}
.main-header .logo .logo-nome {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-color, #dc3545) 0%, var(--primary-dark, #9a1c2e) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}
@media (max-width: 480px) {
    .main-header .logo .logo-nome { font-size: 17px; }
    .main-header .logo img { max-height: 38px; }
}
/* No menu lateral o nome aparece em cor sólida (sem gradiente) pra contraste */
.side-menu .menu-header .logo-nome {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
    color: var(--primary-color, #dc3545);
    text-transform: uppercase;
}
.header-actions { display: flex; gap: var(--sp-2); align-items: center; }
.cart-count {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--brand);
    color: #fff;
    border-radius: var(--r-pill);
    min-width: 20px; height: 20px;
    display: grid; place-items: center;
    font-size: 11px; font-weight: 800;
    box-shadow: 0 2px 8px rgba(var(--brand-rgb), 0.5);
    border: 2px solid var(--surface-muted);
}

/* ─── Side menu drawer ───────────────────────────────────────────── */
.side-menu {
    position: fixed; top: 0; left: 0;
    width: 340px; max-width: 86vw;
    height: 100%;
    height: 100dvh; /* viewport dinâmico — corrige Safari iOS */
    background: var(--surface);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform var(--t-spring);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 12px 0 32px -8px rgba(31, 26, 19, 0.18);
}
/* aceita .open E .active (JS usa .open no menu e .active no overlay) */
.side-menu.open, .side-menu.active { transform: translateX(0); }
.menu-overlay {
    position: fixed; inset: 0;
    background: rgba(31, 26, 19, 0.5);
    z-index: 1000;
    opacity: 0; pointer-events: none;
    transition: opacity var(--t-base);
    backdrop-filter: blur(2px);
    -webkit-tap-highlight-color: transparent;
}
/* BUGFIX: o JS adiciona .active no overlay, mas o CSS só tinha .open.
   Aceitamos ambas pra o overlay aparecer e o clique-fora fechar. */
.menu-overlay.open, .menu-overlay.active { opacity: 1; pointer-events: auto; }
.side-menu .menu-header {
    padding: var(--sp-5) var(--sp-5) var(--sp-3);
    border-bottom: 1px solid var(--border-soft);
    display: flex; justify-content: space-between; align-items: center;
}
.side-menu .menu-header h3 {
    font-size: 18px; font-weight: 800;
    letter-spacing: var(--tracking-tight);
    margin: 0;
}
.side-menu .btn-close-menu {
    background: 0; border: 0; cursor: pointer;
    color: var(--ink-500); font-size: 24px;
}
.side-menu ul { list-style: none; padding: var(--sp-3); margin: 0; }
.side-menu li a {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    color: var(--ink-800);
    font-weight: 500;
    transition: background var(--t-fast);
}
.side-menu li a:hover { background: var(--surface-muted); color: var(--brand-700); }
.side-menu li a i { width: 22px; color: var(--ink-400); }

/* ─── Hero section (COMPACTO) ────────────────────────────────────── */
.hero-section {
    background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
    padding: var(--sp-6) 0 var(--sp-5);
    position: relative;
}
.hero-section .container {
    max-width: 1200px; margin: 0 auto;
    padding: 0 var(--sp-4);
}
.hero-content { max-width: 720px; }
.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    line-height: 1.15;
    color: var(--ink-900);
    margin: 0 0 var(--sp-3);
}
.hero-description {
    font-size: var(--text-md);
    color: var(--ink-600);
    margin: 0 0 var(--sp-4);
    max-width: 56ch;
}
.hero-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }

/* CRÍTICO: esconder o bloco-imagem gigante (hero antigo) */
.hero-image,
.hero-section .col-lg-6:last-child { display: none !important; }

/* Status loja */
.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--sp-3);
}
.status-badge::before {
    content: ""; width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.status-badge.open {
    background: var(--accent-mint-soft);
    color: #0a7752;
}
.status-badge.open::before {
    background: var(--accent-mint);
    box-shadow: 0 0 0 0 rgba(30, 211, 151, 0.5);
    animation: ds-pulse-mint 2s infinite;
}
.status-badge.closed { background: var(--danger-bg); color: #b30000; }
.status-badge.closed::before { background: var(--danger); }

/* ─── Botões base ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-base);
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--t-fast);
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary, .btn-danger {
    background: var(--grad-brand);
    color: #fff !important;
    box-shadow: var(--shadow-brand-sm);
}
.btn-primary:hover, .btn-danger:hover {
    box-shadow: var(--shadow-brand);
    color: #fff !important;
}
.btn-lg { padding: 14px 28px; font-size: var(--text-base); }
.btn-sm { padding: 6px 14px; font-size: var(--text-xs); }

.btn-outline-light {
    background: transparent;
    border-color: var(--border);
    color: var(--ink-800);
}
.btn-outline-light:hover {
    border-color: var(--ink-300);
    background: var(--surface-muted);
    color: var(--ink-900);
}
.btn-secondary, .btn-outline-primary, .btn-outline-danger {
    background: var(--surface);
    border-color: var(--border);
    color: var(--ink-800);
}
.btn-secondary:hover, .btn-outline-primary:hover, .btn-outline-danger:hover {
    border-color: var(--brand-300);
    color: var(--brand-700);
}
.btn-success { background: var(--success); color: #fff !important; }
.btn-warning { background: var(--warning); color: var(--ink-900); }
.btn-block { width: 100%; }

/* ─── Categorias scroller ────────────────────────────────────────── */
.categories-section {
    position: sticky;
    top: 64px;
    z-index: 99;
    background: rgba(255, 248, 239, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--border-soft);
}
.categories-section .container {
    max-width: 1200px; margin: 0 auto;
    padding: 0 var(--sp-4);
}
.section-header--home-cats { margin-bottom: var(--sp-2); }
.section-header--home-cats h2 {
    font-size: 16px; font-weight: 800;
    color: var(--ink-900); margin: 0;
    letter-spacing: var(--tracking-tight);
}
.section-header--home-cats p {
    font-size: var(--text-xs); color: var(--ink-500);
    margin: 2px 0 0;
}
/* ─── Carrossel de banners da home (entre header e categorias) ──────────────────
   Empilha slides absolutos; o ativo fica visível com fade. Mantém aspect-ratio 4:1
   pra não pular a página em loja com/sem banner. Esconde-se gracefully se a loja
   não enviou nenhum banner (a section nem é renderizada). */
.home-banner-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 1;
    max-height: 380px;
    background: var(--ink-100);
    overflow: hidden;
    margin: 0;
}
.hbc-track {
    position: absolute;
    inset: 0;
}
.hbc-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 600ms ease;
    will-change: opacity;
    pointer-events: none;
}
.hbc-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.hbc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--ink-900);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: all var(--t-fast);
    z-index: 3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0; font-size: 16px;
}
.hbc-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
}
.hbc-arrow:active { transform: translateY(-50%) scale(0.95); }
.hbc-arrow--prev { left: 16px; }
.hbc-arrow--next { right: 16px; }
.hbc-dots {
    position: absolute;
    left: 0; right: 0; bottom: 14px;
    z-index: 3;
    display: flex; gap: 8px;
    justify-content: center;
}
.hbc-dot {
    width: 28px; height: 4px;
    background: rgba(255,255,255,0.55);
    border: 0; padding: 0;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--t-fast);
}
.hbc-dot:hover { background: rgba(255,255,255,0.85); }
.hbc-dot.is-active {
    background: #fff;
    width: 44px;
}
@media (max-width: 720px) {
    .home-banner-carousel { aspect-ratio: 16 / 9; max-height: 240px; }
    .hbc-arrow { display: none; } /* swipe é mais natural no celular */
    .hbc-dots { bottom: 10px; }
    .hbc-dot { width: 22px; }
    .hbc-dot.is-active { width: 32px; }
}

/* Carousel wrapper — track de scroll horizontal + setas de navegação */
.categories-carousel {
    position: relative;
}
.categories-grid {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: var(--sp-2) 0;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding-left: 4px;
    padding-right: 4px;
}
.categories-grid::-webkit-scrollbar { display: none; }
.categories-grid > .category-card { scroll-snap-align: start; }

/* Quando HÁ overflow (setas aparecem), abre espaço lateral pros chips
   não ficarem por baixo dos botões. */
.categories-carousel.has-overflow .categories-grid {
    padding-left: 56px;
    padding-right: 56px;
}

/* Quando não há overflow, centraliza pra ficar elegante */
.categories-carousel:not(.has-overflow) .categories-grid {
    justify-content: center;
}

/* Chip de categoria — mais compacto pra caber mais sem encavalar */
.category-card {
    padding: 6px 12px 6px 8px;
    font-size: 12.5px;
    gap: 7px;
}
.category-icon {
    width: 26px; height: 26px;
    font-size: 11px;
}

/* Setas de navegação — destacadas, bem maiores e com cor da marca.
   Aparecem só quando há overflow. */
.cat-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0;
    background: var(--brand, #dc3545);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow:
        0 6px 16px rgba(0,0,0,0.18),
        0 0 0 4px rgba(255,255,255,0.95),
        0 0 0 5px rgba(0,0,0,0.06);
    transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
    z-index: 5;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}
.cat-nav:hover {
    background: var(--brand-700, #b91d2b);
    transform: translateY(-50%) scale(1.08);
    box-shadow:
        0 8px 22px rgba(0,0,0,0.22),
        0 0 0 4px rgba(255,255,255,0.95),
        0 0 0 5px rgba(0,0,0,0.08);
}
.cat-nav:active { transform: translateY(-50%) scale(0.94); }
.cat-nav:focus-visible {
    outline: 2px solid var(--brand, #dc3545);
    outline-offset: 4px;
}
.cat-nav[hidden] { display: none !important; }
.cat-nav .fas { font-weight: 900; }
.cat-nav--prev { left: 6px; }
.cat-nav--next { right: 6px; }

/* Fades nas bordas — começam DEPOIS da zona da seta */
.categories-carousel.has-overflow::before,
.categories-carousel.has-overflow::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 36px;
    pointer-events: none;
    z-index: 2;
    transition: opacity var(--t-fast);
}
.categories-carousel.has-overflow::before {
    left: 50px;
    background: linear-gradient(to right, rgba(255,248,239,0.95), rgba(255,248,239,0));
}
.categories-carousel.has-overflow::after {
    right: 50px;
    background: linear-gradient(to left, rgba(255,248,239,0.95), rgba(255,248,239,0));
}
.categories-carousel.is-scrolled-start::before { opacity: 0; }
.categories-carousel.is-scrolled-end::after   { opacity: 0; }

@media (max-width: 720px) {
    /* No mobile esconde as setas (swipe é natural) — chip volta a colar nas bordas */
    .categories-carousel.has-overflow .categories-grid {
        padding-left: 4px;
        padding-right: 4px;
    }
    .categories-carousel.has-overflow::before { left: 0; }
    .categories-carousel.has-overflow::after  { right: 0; }
    .category-card { padding: 5px 10px 5px 6px; font-size: 12px; }
    .category-icon { width: 22px; height: 22px; font-size: 10px; }
}

.category-card {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 10px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    color: var(--ink-700);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--t-fast);
    text-decoration: none;
    cursor: pointer;
}
.category-card:hover {
    border-color: var(--ink-300);
    transform: translateY(-1px);
    color: var(--ink-900);
}
.category-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--ink-100);
    color: var(--ink-700);
    font-size: 14px;
    transition: all var(--t-fast);
}
.category-card:nth-child(6n+1) .category-icon { background: var(--brand-soft); color: var(--brand-700); }
.category-card:nth-child(6n+2) .category-icon { background: var(--accent-yellow-soft); color: #8a6b00; }
.category-card:nth-child(6n+3) .category-icon { background: var(--accent-mint-soft); color: #0a7752; }
.category-card:nth-child(6n+4) .category-icon { background: var(--accent-blue-soft); color: #1a5fb4; }
.category-card:nth-child(6n+5) .category-icon { background: var(--accent-pink-soft); color: #b32962; }
.category-card:nth-child(6n+0) .category-icon { background: var(--accent-purple-soft); color: #5e2db8; }

.category-card.active {
    background: var(--ink-900);
    color: #fff;
    border-color: var(--ink-900);
}
.category-card.active .category-icon { background: var(--brand); color: #fff; }
.category-name { font-weight: 700; }

@media (max-width: 720px) {
    .categories-grid {
        justify-content: flex-start;
        margin: 0 calc(-1 * var(--sp-4));
        padding: var(--sp-2) var(--sp-4);
    }
    /* No mobile, esconde as setas (gestos de swipe são naturais)
       e ajusta o fade pra acompanhar o padding negativo do track. */
    .cat-nav { display: none !important; }
    .categories-carousel.has-overflow::before { left: 0; }
    .categories-carousel.has-overflow::after  { right: 0; }
}

/* ─── Sections gerais ────────────────────────────────────────────── */
section { padding: var(--sp-7) 0; }
section .container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-4); }
.section-header {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: var(--sp-5); gap: var(--sp-3);
    flex-wrap: wrap;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 800;
    color: var(--ink-900); margin: 0;
    letter-spacing: var(--tracking-tight);
}
.section-header p {
    color: var(--ink-500); font-size: var(--text-sm); margin: 4px 0 0;
}
.btn-link {
    color: var(--brand-700);
    font-weight: 700; font-size: var(--text-sm);
    display: inline-flex; align-items: center; gap: 4px;
    transition: gap var(--t-fast);
    text-decoration: none;
}
.btn-link:hover { gap: 8px; color: var(--brand-800); }

/* ─── Product cards grid ─────────────────────────────────────────── */
/* ============================================================
 * Catálogo completo (estilo iFood) — paginas/categoria.php?id=todos
 * ============================================================ */
.catalog-section { padding: var(--sp-4) 0 var(--sp-6); }
.catalog-header {
    display: flex; align-items: end; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    margin-bottom: var(--sp-3);
}
.catalog-title {
    font-size: 28px; font-weight: 800;
    margin: 0; color: var(--ink-900);
    letter-spacing: var(--tracking-tight);
}
.catalog-subtitle {
    color: var(--ink-500);
    font-size: 14px; margin: 4px 0 0;
}
.catalog-toolbar {
    position: sticky; top: 60px; z-index: 50;
    background: rgba(255, 248, 239, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: var(--sp-3) 0 10px;
    margin: 0 0 var(--sp-3);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 6px 18px -16px rgba(0,0,0,0.18);
}
.catalog-toolbar__top {
    display: flex; gap: 12px; align-items: center;
    margin-bottom: 10px; flex-wrap: wrap;
}
.catalog-toolbar__row { margin-bottom: 8px; }
.catalog-toolbar__filters {
    display: flex; gap: 12px;
    align-items: center; flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px dashed var(--border-soft);
}
.catalog-toolbar__status {
    margin-left: auto;
    font-size: 13px; color: var(--ink-700);
}
.catalog-toolbar__status strong { color: var(--ink-900); }
.catalog-toolbar__status .fas { color: var(--ink-500); margin-right: 4px; }

.catalog-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    font-size: 13px; font-weight: 600;
    color: var(--ink-700);
    cursor: pointer;
    transition: all var(--t-fast);
    user-select: none;
}
.catalog-toggle:hover { border-color: var(--ink-300); color: var(--ink-900); }
.catalog-toggle input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--brand);
    margin: 0;
}
.catalog-toggle input:checked ~ span { color: var(--ink-900); }
.catalog-toggle:has(input:checked) {
    background: var(--brand-soft, #fdecee);
    border-color: var(--brand);
    color: var(--brand);
}

.catalog-sort {
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0;
}
.catalog-sort__label {
    font-size: 13px; color: var(--ink-700);
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
}
.catalog-sort__label .fas { color: var(--ink-500); }
.catalog-sort__select {
    height: 42px;
    padding: 0 28px 0 12px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    font-size: 13px; font-weight: 600;
    color: var(--ink-900);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23666' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}
.catalog-sort__select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(220,53,69,0.12);
}

.catalog-btn-clear {
    padding: 6px 14px;
    background: var(--ink-100);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    font-size: 13px; font-weight: 600;
    color: var(--ink-700);
    cursor: pointer;
    transition: all var(--t-fast);
}
.catalog-btn-clear:hover { background: var(--ink-200); color: var(--ink-900); }
.catalog-btn-clear[hidden] { display: none !important; }

.catalog-search {
    position: relative;
    flex: 1 1 280px;
    min-width: 0;
}
.catalog-search > i.fa-search {
    position: absolute; top: 50%; left: 14px;
    transform: translateY(-50%);
    color: var(--ink-500);
    pointer-events: none;
}
.catalog-search__input {
    width: 100%;
    height: 42px;
    padding: 0 40px 0 40px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    font-size: 15px;
    color: var(--ink-900);
    outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.catalog-search__input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(220,53,69,0.12);
}
.catalog-search__clear {
    position: absolute; top: 50%; right: 8px;
    transform: translateY(-50%);
    width: 30px; height: 30px;
    border: 0; background: var(--ink-100);
    color: var(--ink-700);
    border-radius: 50%; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
}
.catalog-search__clear:hover { background: var(--ink-200); }
.catalog-chips {
    display: flex; gap: 8px;
    overflow-x: auto;
    padding: 4px 4px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.catalog-chips::-webkit-scrollbar { display: none; }
.catalog-chip {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    color: var(--ink-700);
    font-weight: 600; font-size: 13px;
    cursor: pointer;
    transition: all var(--t-fast);
    white-space: nowrap;
}
.catalog-chip:hover { border-color: var(--ink-300); color: var(--ink-900); }
.catalog-chip.is-active {
    background: var(--ink-900); color: #fff;
    border-color: var(--ink-900);
}
.catalog-chip__count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 20px; padding: 0 6px;
    background: var(--ink-100); color: var(--ink-700);
    border-radius: var(--r-pill);
    font-size: 11px; font-weight: 700;
}
.catalog-chip.is-active .catalog-chip__count { background: rgba(255,255,255,0.18); color: #fff; }

.catalog-group {
    margin-top: var(--sp-5);
    scroll-margin-top: 240px;
}
.catalog-group + .catalog-group { margin-top: var(--sp-6); }

/* Banner da seção: faixa colorida grande, ícone grande à esquerda + nome em
   destaque. Cor de fundo alterna por índice pra dar ritmo visual ao rolar. */
.catalog-group__banner {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 18px;
    margin-bottom: var(--sp-3);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-soft, #fdecee) 0%, rgba(255,255,255,0.4) 100%);
    border: 1px solid var(--border-soft);
    border-left: 5px solid var(--brand);
    position: relative;
    overflow: hidden;
}
.catalog-group__banner::after {
    content: '';
    position: absolute;
    inset: auto -40px -40px auto;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(220,53,69,0.08), transparent 70%);
    pointer-events: none;
}
/* Variações de cor por ordem (alterna 5 paletas) */
.catalog-group:nth-child(5n+1) .catalog-group__banner { border-left-color: #dc3545; background: linear-gradient(135deg, #fdecee, rgba(255,255,255,0.4)); }
.catalog-group:nth-child(5n+2) .catalog-group__banner { border-left-color: #f59e0b; background: linear-gradient(135deg, #fef4d8, rgba(255,255,255,0.4)); }
.catalog-group:nth-child(5n+3) .catalog-group__banner { border-left-color: #10b981; background: linear-gradient(135deg, #d6f5e6, rgba(255,255,255,0.4)); }
.catalog-group:nth-child(5n+4) .catalog-group__banner { border-left-color: #3b82f6; background: linear-gradient(135deg, #dbeafe, rgba(255,255,255,0.4)); }
.catalog-group:nth-child(5n+5) .catalog-group__banner { border-left-color: #a855f7; background: linear-gradient(135deg, #ede9fe, rgba(255,255,255,0.4)); }

.catalog-group__banner-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.7);
    border-radius: 14px;
    font-size: 24px;
    color: var(--brand);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.catalog-group:nth-child(5n+1) .catalog-group__banner-icon { color: #dc3545; }
.catalog-group:nth-child(5n+2) .catalog-group__banner-icon { color: #f59e0b; }
.catalog-group:nth-child(5n+3) .catalog-group__banner-icon { color: #10b981; }
.catalog-group:nth-child(5n+4) .catalog-group__banner-icon { color: #3b82f6; }
.catalog-group:nth-child(5n+5) .catalog-group__banner-icon { color: #a855f7; }

.catalog-group__banner-text {
    flex: 1; min-width: 0;
}
.catalog-group__title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--ink-900);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.catalog-group__meta {
    margin: 0;
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-500);
}
.catalog-group__count-pill {
    display: inline-flex; align-items: center;
    padding: 2px 10px;
    background: var(--ink-900);
    color: #fff;
    border-radius: var(--r-pill);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.02em;
}
.catalog-group__sep { color: var(--ink-300); }
.catalog-group__see {
    color: var(--ink-700);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--t-fast);
}
.catalog-group__see:hover { color: var(--brand); }
.catalog-group__see .fa-arrow-right { font-size: 10px; margin-left: 2px; }

@media (max-width: 720px) {
    .catalog-group__banner { padding: 12px 14px; gap: 12px; }
    .catalog-group__banner-icon { width: 44px; height: 44px; font-size: 18px; border-radius: 10px; }
    .catalog-group__title { font-size: 18px; }
    .catalog-group__meta { font-size: 12px; gap: 6px; }
    .catalog-group { scroll-margin-top: 220px; }
}

/* Botão CTA "Ver catálogo completo" — usado na home */
.btn-ver-catalogo {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700, var(--brand)) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: var(--r-lg, 16px);
    box-shadow: 0 6px 20px rgba(220,53,69,0.25);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    font-size: 15px;
    text-align: left;
}
.btn-ver-catalogo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(220,53,69,0.35);
    color: #fff;
}
.btn-ver-catalogo strong { font-size: 17px; font-weight: 800; display: block; }
.btn-ver-catalogo .fa-arrow-right {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .catalog-title { font-size: 22px; }
    .catalog-group__header h2 { font-size: 18px; }
    .catalog-toolbar { top: 56px; padding: 10px 0; }
    .catalog-toolbar__top { gap: 8px; }
    .catalog-toolbar__filters { gap: 8px; }
    .catalog-toolbar__status { width: 100%; order: 5; font-size: 12px; margin-left: 0; }
    .catalog-toggle { padding: 5px 10px; font-size: 12px; }
    .catalog-sort__select { height: 38px; font-size: 12px; }
    .catalog-sort__label { font-size: 12px; }
    .catalog-sort__label .fa-sort { display: none; } /* economia de espaço */
    .btn-ver-catalogo { padding: 14px 16px; }
}
@media (max-width: 480px) {
    .catalog-toolbar__top { flex-direction: column; align-items: stretch; }
    .catalog-sort { width: 100%; }
    .catalog-sort__select { flex: 1; }
}

/* Grid de produtos — DETERMINÍSTICO por breakpoint pra sempre fileiras completas.
   Mobile 2 cols → pares (8 produtos = 4 fileiras).
   Tablet/Desktop 4 cols → pares (8 produtos = 2 fileiras). */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2);
}
@media (min-width: 640px) {
    .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
}
@media (min-width: 900px) {
    .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
}
@media (min-width: 1280px) {
    .products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Variante "rail" — usada nas seções da home (Destaques/Mais vendidos/Novidades).
   Limita visualmente a quantidade pra NUNCA gerar fileira incompleta. */
.products-grid--rail > .product-card:nth-child(n+9) { display: none; }                /* mobile 2col: cap 8 */
@media (min-width: 640px) and (max-width: 899px) {
    .products-grid--rail > .product-card:nth-child(n+10) { display: none; }           /* 3col: cap 9 */
}
@media (min-width: 900px) and (max-width: 1279px) {
    .products-grid--rail > .product-card:nth-child(n+9) { display: none; }            /* 4col: cap 8 */
}
@media (min-width: 1280px) {
    .products-grid--rail > .product-card:nth-child(n+11) { display: none; }           /* 5col: cap 10 */
}

/* MOBILE: card mais compacto pra caber 2 colunas sem cortar info.
   Padding, fontes e botões reduzidos mas LEGÍVEIS. */
@media (max-width: 639px) {
    .product-card { border-radius: 10px; }
    .product-info { padding: 8px 10px 0 !important; }
    .product-name {
        font-size: 13px !important;
        line-height: 1.2 !important;
        min-height: 2.4em !important;
        margin-bottom: 4px !important;
    }
    .product-category { font-size: 9px !important; margin-bottom: 2px !important; }
    .product-volume  { font-size: 10px !important; }
    .price-current   { font-size: 15px !important; }
    .price-old       { font-size: 11px !important; }
    .product-actions { padding: 6px 8px 10px !important; }
    .btn-add-cart {
        padding: 7px 10px !important;
        font-size: 12px !important;
        gap: 4px !important;
    }
    .btn-add-cart i { font-size: 11px !important; }
    .product-badge > span { font-size: 8px !important; padding: 2px 6px !important; }
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    position: relative;
}
.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--ink-200);
    box-shadow: var(--shadow-2);
}
.product-card.is-unavailable { opacity: 0.7; }
.product-card.is-unavailable .product-image { filter: grayscale(0.6); }
.product-card.is-unavailable .btn-add-cart { pointer-events: auto; }
.product-card.is-sold-out { position: relative; }
.product-card.is-low-stock { box-shadow: 0 0 0 2px var(--accent-yellow, #ffd400); }

/* Overlay/selo diagonal "ESGOTADO" sobre a imagem do produto */
.sold-out-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}
.sold-out-stamp {
    background: var(--brand, #dc3545);
    color: #fff;
    padding: 6px 18px;
    font-weight: 900;
    letter-spacing: 0.12em;
    font-size: 14px;
    text-transform: uppercase;
    transform: rotate(-12deg);
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    border: 2px solid #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

/* Badge "Últimas N unidades" — pulsa pra chamar atenção */
.badge-low-stock {
    position: absolute;
    top: 8px; right: 8px;
    background: var(--accent-yellow, #ffd400);
    color: var(--ink-900, #1f2937);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--r-pill, 999px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    animation: lowStockPulse 2.6s ease-in-out infinite;
}
.badge-low-stock .fas { color: #ff7b00; }
@keyframes lowStockPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}

/* Botão "Esgotado" — visualmente derrotado */
.btn-add-cart.btn-sold-out {
    background: var(--ink-200, #d1d5db) !important;
    color: var(--ink-500, #6b7280) !important;
    cursor: not-allowed;
    opacity: 1;
    text-decoration: line-through;
}
.btn-add-cart.btn-sold-out:hover {
    transform: none !important;
    background: var(--ink-200, #d1d5db) !important;
}

@media (max-width: 639px) {
    .sold-out-stamp { font-size: 12px; padding: 4px 12px; }
    .badge-low-stock { font-size: 9px; padding: 3px 7px; top: 6px; right: 6px; }
}

.product-badge {
    position: absolute;
    top: 8px; left: 8px;
    display: flex; gap: 4px;
    z-index: 1;
}
.product-badge > span {
    padding: 3px 8px;
    border-radius: var(--r-pill);
    font-size: 9px; font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.badge-promo { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand-sm); }
.badge-novo  { background: var(--accent-blue); color: #fff; }
.badge-top   { background: var(--accent-yellow); color: var(--ink-900); }

.product-image {
    aspect-ratio: 1 / 1;
    background: var(--surface-muted);
    overflow: hidden;
    position: relative;
    display: block;
}
.product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.product-card:hover .product-image img { transform: scale(1.04); }

.product-info {
    padding: 12px 14px 0;
    display: flex; flex-direction: column;
    flex: 1;
}
.product-category {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-500);
    font-weight: 700;
    margin-bottom: 4px;
}
.product-name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.25;
    margin: 0 0 6px;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-volume {
    font-size: 11px;
    color: var(--ink-500);
    margin-bottom: 6px;
}
.product-price {
    margin-top: auto;
    display: flex; flex-direction: column;
}
.price-old {
    color: var(--ink-400);
    text-decoration: line-through;
    font-size: 11px;
}
.price-current {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: var(--tracking-tight);
    line-height: 1;
}
.product-actions { padding: 10px 14px 12px; }
.btn-add-cart {
    width: 100%;
    background: transparent;
    color: var(--ink-900);
    border: 1px solid var(--ink-150);
    padding: 8px 12px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: var(--text-xs);
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all var(--t-fast);
}
.btn-add-cart:hover:not(:disabled) {
    background: var(--ink-900);
    color: #fff;
    border-color: var(--ink-900);
}
.btn-add-cart:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── How it works ───────────────────────────────────────────────── */
.how-section { background: var(--surface-muted); }
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--sp-4);
}
.how-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: var(--sp-5);
    text-align: center;
}
.how-number {
    width: 44px; height: 44px;
    margin: 0 auto var(--sp-3);
    background: var(--brand-soft);
    color: var(--brand-700);
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 800; font-size: 18px;
}
.how-card h3 {
    font-size: var(--text-md);
    font-weight: 800;
    color: var(--ink-900);
    margin: 0 0 var(--sp-2);
}
.how-card p { color: var(--ink-600); font-size: var(--text-sm); margin: 0; }

/* ─── QR section ─────────────────────────────────────────────────── */
.qr-section { background: var(--surface); border-top: 1px solid var(--border-soft); }
.qr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
    align-items: center;
}
.qr-content h2 {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: var(--ink-900); margin: 0 0 var(--sp-3);
}
.qr-content p { color: var(--ink-600); margin: 0 0 var(--sp-4); }
.qr-code-wrap { display: flex; justify-content: center; }
.qr-code-img {
    width: 220px; height: 220px;
    background: var(--surface);
    padding: var(--sp-3);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-2);
}
@media (max-width: 720px) {
    .qr-grid { grid-template-columns: 1fr; }
    .qr-content { text-align: center; }
}

/* ─── Auth (login/cadastro) ──────────────────────────────────────── */
.auth-section {
    min-height: calc(100vh - 64px);
    display: grid; place-items: center;
    padding: var(--sp-6) var(--sp-4);
    background:
        radial-gradient(at 8% 0%, rgba(var(--brand-rgb), 0.06) 0px, transparent 50%),
        radial-gradient(at 92% 100%, rgba(255, 212, 0, 0.06) 0px, transparent 50%),
        var(--surface-app);
}
.auth-card {
    width: 100%; max-width: 460px;
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: var(--sp-7);
    box-shadow: var(--shadow-3);
    border: 1px solid var(--border-soft);
    animation: ds-pop-in var(--t-spring);
}
.auth-card h2 {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: var(--ink-900);
    margin: 0 0 4px;
}
.auth-card > .text-center > p { color: var(--ink-500); margin: 0; }
.form-group { margin-bottom: var(--sp-4); }
.form-label, .auth-card .form-label {
    display: block;
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--ink-700);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--r-md);
    padding: 11px 14px;
    font-size: var(--text-base);
    font-family: var(--font-sans);
    color: var(--ink-900);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: var(--ring-brand);
}
.form-control::placeholder { color: var(--ink-400); }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2394897a'%3E%3Cpath d='M8 11.4 3.6 7l1.4-1.4L8 8.6l3-3L12.4 7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 36px;
}

.btn-auth {
    width: 100%;
    background: var(--grad-brand);
    color: #fff;
    border: 0;
    padding: 14px;
    border-radius: var(--r-md);
    font-weight: 800;
    font-size: var(--text-base);
    cursor: pointer;
    box-shadow: var(--shadow-brand-sm);
    transition: all var(--t-fast);
    letter-spacing: var(--tracking-base);
}
.btn-auth:hover { box-shadow: var(--shadow-brand); transform: translateY(-1px); }

.auth-footer {
    text-align: center;
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border-soft);
}
.auth-footer p, .auth-footer a {
    font-size: var(--text-sm); color: var(--ink-600);
    display: block; margin: 4px 0;
}
.auth-footer a { color: var(--brand-700); font-weight: 700; }

/* Password input wrapper (botão olho) */
.password-input-wrap { position: relative; display: block; }
.password-input-wrap > .form-control { padding-right: 44px; width: 100%; }
.password-input-wrap .password-toggle-btn {
    position: absolute; right: 8px; top: 50%;
    transform: translateY(-50%);
    background: transparent; border: 0;
    color: var(--ink-500);
    padding: 8px;
    cursor: pointer;
    border-radius: var(--r-sm);
}
.password-input-wrap .password-toggle-btn:hover { color: var(--brand); background: var(--surface-muted); }

/* ─── Cart page ──────────────────────────────────────────────────── */
.cart-page { padding: var(--sp-6) 0; }
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--sp-5);
}
.cart-items { display: flex; flex-direction: column; gap: var(--sp-3); }
.cart-item {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: var(--sp-3);
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: var(--sp-3);
    align-items: center;
}
.cart-item img {
    width: 96px; height: 96px;
    object-fit: cover;
    border-radius: var(--r-sm);
}
.cart-item-name {
    font-weight: 700;
    color: var(--ink-900);
    font-size: var(--text-base);
    margin-bottom: 2px;
}
.cart-item-price {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--ink-900);
    font-size: var(--text-md);
}

.quantity-control {
    display: inline-flex; align-items: center;
    background: var(--surface-muted);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    padding: 4px;
}
.quantity-control button {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    color: var(--ink-800);
    cursor: pointer;
    transition: all var(--t-fast);
    display: grid; place-items: center;
}
.quantity-control button:hover { border-color: var(--brand); color: var(--brand); }
.quantity-control span { padding: 0 12px; font-weight: 700; }

.cart-summary {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: var(--sp-5);
    position: sticky; top: 80px;
    align-self: start;
}
.cart-summary h3 {
    font-size: var(--text-lg); font-weight: 800;
    margin: 0 0 var(--sp-3);
    color: var(--ink-900);
    letter-spacing: var(--tracking-tight);
}
.summary-row {
    display: flex; justify-content: space-between;
    padding: 8px 0;
    color: var(--ink-700);
    font-size: var(--text-sm);
}
.summary-row.total {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--ink-900);
    border-top: 1px solid var(--border-soft);
    margin-top: 8px;
    padding-top: var(--sp-3);
}

.checkout-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: var(--sp-4);
    transition: all var(--t-fast);
}
.checkout-card:hover { border-color: var(--ink-200); box-shadow: var(--shadow-1); }

/* Delivery option */
.delivery-option {
    border: 1.5px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: var(--sp-4);
    cursor: pointer;
    transition: all var(--t-fast);
    background: var(--surface);
    text-align: center;
    position: relative;
}
.delivery-option:hover { border-color: var(--ink-200); }
.delivery-option.selected {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: var(--shadow-brand-sm);
}
.delivery-option.selected::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; top: 8px; right: 8px;
    width: 22px; height: 22px;
    background: var(--brand); color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 11px;
}
.delivery-option i { font-size: 24px; color: var(--ink-500); margin-bottom: 6px; }
.delivery-option.selected i { color: var(--brand); }

.payment-option {
    border: 1.5px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: 14px;
    cursor: pointer;
    transition: all var(--t-fast);
    background: var(--surface);
    display: flex; align-items: center; gap: 12px;
}
.payment-option:hover { border-color: var(--ink-200); }
.payment-option.selected { border-color: var(--brand); background: var(--brand-soft); }
.payment-option i { font-size: 18px; color: var(--ink-600); }
.payment-option.selected i { color: var(--brand); }

/* ─── Footer ─────────────────────────────────────────────────────── */
.main-footer {
    background: var(--ink-900);
    color: rgba(255, 245, 233, 0.75);
    padding: var(--sp-10) 0 var(--sp-5);
    margin-top: var(--sp-10);
}
.main-footer .container {
    max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-4);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--sp-6);
    margin-bottom: var(--sp-6);
}
.footer-col h4 {
    color: #fff;
    font-weight: 800;
    font-size: var(--text-base);
    margin: 0 0 var(--sp-3);
    letter-spacing: var(--tracking-tight);
}
.footer-col p, .footer-col li {
    color: rgba(255, 245, 233, 0.6);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin: 0;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col a { color: rgba(255, 245, 233, 0.75); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--brand-400); }
.footer-social { display: flex; gap: 10px; margin-top: var(--sp-3); }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: grid; place-items: center;
    transition: all var(--t-fast);
}
.footer-social a:hover {
    background: var(--brand);
    transform: translateY(-2px) rotate(-5deg);
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: var(--sp-4);
    text-align: center;
    font-size: var(--text-xs);
    color: rgba(255, 245, 233, 0.4);
}

/* ─── Modal ──────────────────────────────────────────────────────── */
.modal-content {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-4);
}
.modal-header { border-bottom: 1px solid var(--border-soft); }
.modal-title { font-weight: 800; color: var(--ink-900); }
.modal-footer { border-top: 1px solid var(--border-soft); }

/* ─── Alert ──────────────────────────────────────────────────────── */
.alert {
    border: 1px solid transparent;
    border-radius: var(--r-md);
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--text-sm);
    animation: ds-pop-in var(--t-base);
}
.alert-success { background: var(--success-bg); border-color: rgba(30, 211, 151, 0.3); color: #0a7752; }
.alert-danger  { background: var(--danger-bg); border-color: rgba(242, 59, 59, 0.3); color: #b30000; }
.alert-warning { background: var(--warning-bg); border-color: rgba(255, 176, 32, 0.3); color: #8a6b00; }
.alert-info    { background: var(--info-bg); border-color: rgba(45, 142, 255, 0.3); color: #1a5fb4; }

/* ─── Badge ──────────────────────────────────────────────────────── */
.badge {
    padding: 3px 10px;
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 4px;
}
.badge-secondary, .bg-secondary { background: var(--ink-100); color: var(--ink-700); }
.badge-success,   .bg-success   { background: var(--success-bg); color: #0a7752; }
.badge-warning,   .bg-warning   { background: var(--warning-bg); color: #8a6b00; }
.badge-danger,    .bg-danger    { background: var(--danger-bg); color: #b30000; }
.badge-info,      .bg-info      { background: var(--info-bg); color: #1a5fb4; }
.badge-primary,   .bg-primary   { background: var(--brand-soft); color: var(--brand-700); }

/* ─── Bootstrap overrides ────────────────────────────────────────── */
.text-primary { color: var(--brand-700) !important; }
.text-muted { color: var(--ink-500) !important; }
.bg-light { background: var(--surface-muted) !important; }
.bg-primary { background: var(--brand) !important; color: #fff; }

.card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
}
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-soft);
    padding: var(--sp-3) var(--sp-4);
    font-weight: 700;
}
.card-body { padding: var(--sp-4); }

/* ─── Cart floating bar (mobile) ─────────────────────────────────── */
.cart-floating-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
    padding: var(--sp-3) var(--sp-4);
    z-index: var(--z-bottom-bar);
    display: flex; gap: var(--sp-3); align-items: center;
    box-shadow: 0 -8px 24px -8px rgba(31, 26, 19, 0.12);
}
.cart-floating-bar .floating-info { flex: 1; }
.cart-floating-bar .floating-info strong { display: block; font-size: var(--text-md); color: var(--ink-900); }
.cart-floating-bar .floating-info span { font-size: var(--text-xs); color: var(--ink-500); }

/* ─── Promo strip rolante ────────────────────────────────────────── */
.promo-strip {
    background: var(--ink-900);
    color: rgba(255, 245, 233, 0.85);
    padding: 6px 0;
    overflow: hidden;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-base);
}
.promo-strip-track {
    display: inline-flex; gap: var(--sp-6);
    white-space: nowrap;
    animation: ds-marquee 30s linear infinite;
}
.promo-strip-track span i { color: var(--accent-yellow); margin-right: 6px; }

/* ─── Skeleton placeholder ───────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--ink-100) 0%, var(--ink-150) 50%, var(--ink-100) 100%);
    background-size: 200% 100%;
    animation: ds-marquee 1.4s linear infinite reverse;
    border-radius: var(--r-sm);
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .cart-grid { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}
@media (max-width: 640px) {
    .header-content { gap: var(--sp-2); padding: 0 var(--sp-3); }
    .header-logo h1 { font-size: 15px; }
    .cart-item { grid-template-columns: 72px 1fr; }
    .cart-item img { width: 72px; height: 72px; }
    .cart-item-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    section { padding: var(--sp-5) 0; }
}
@media (max-width: 480px) {
    /* .products-grid já é 2 colunas no breakpoint base — não duplicar regra aqui */
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 22px; }
}
@media (max-width: 380px) {
    .container { padding: 0 var(--sp-3); }
}

/* =====================================================================
 * PATCH 2026 — Footer + QR Code + Como Funciona
 * Anexar ao FINAL deste arquivo. Não remover nada acima.
 * ===================================================================== */

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.main-footer .footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr;
    gap: var(--sp-8);
    margin-bottom: var(--sp-7);
    align-items: start;
}
.main-footer .footer-section h4 {
    color: #fff;
    font-weight: 800;
    font-size: var(--text-base);
    margin: 0 0 var(--sp-3);
    letter-spacing: var(--tracking-tight);
    position: relative;
    padding-bottom: 10px;
}
.main-footer .footer-section h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 28px; height: 2px;
    background: var(--brand);
    border-radius: 2px;
}
.main-footer .footer-section p,
.main-footer .footer-section li {
    color: rgba(255, 245, 233, 0.62);
    font-size: var(--text-sm);
    line-height: 1.75;
    margin: 0 0 6px;
}
.main-footer .footer-section ul { list-style: none; padding: 0; margin: 0; }
.main-footer .footer-section ul li { display: flex; align-items: center; gap: 8px; }
.main-footer .footer-section ul li a {
    color: rgba(255, 245, 233, 0.78);
    text-decoration: none;
    transition: color var(--t-fast), padding var(--t-fast);
    display: inline-flex; align-items: center; gap: 8px;
}
.main-footer .footer-section ul li a:hover {
    color: var(--brand-300);
    padding-left: 4px;
}
.main-footer .footer-section i.fas {
    color: var(--brand-400);
    width: 18px;
    text-align: center;
}

.footer-social { display: flex; gap: 10px; margin-top: var(--sp-3); }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: grid; place-items: center;
    color: rgba(255, 245, 233, 0.78);
    transition: all var(--t-fast);
}
.footer-social a:hover {
    background: var(--brand);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: var(--shadow-brand-sm);
}

.main-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--sp-5);
    margin-top: var(--sp-4);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.main-footer .footer-bottom p {
    margin: 0;
    font-size: var(--text-xs);
    color: rgba(255, 245, 233, 0.42);
}
.main-footer .footer-bottom a {
    color: rgba(255, 245, 233, 0.85);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--t-fast);
}
.main-footer .footer-bottom a::before {
    content: "</>";
    font-family: var(--font-mono);
    color: var(--brand-400);
    font-weight: 700;
    font-size: 11px;
}
.main-footer .footer-bottom a:hover {
    color: #fff;
    border-color: rgba(255, 61, 36, 0.45);
    background: rgba(255, 61, 36, 0.12);
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .main-footer .footer-content { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}
@media (max-width: 600px) {
    .main-footer .footer-content { grid-template-columns: 1fr; }
}


/* ─── SEÇÃO QR CODE ─────────────────────────────────────────────── */
.qrcode-section {
    background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface-app) 100%);
    padding: var(--sp-16) 0 var(--sp-20);
}
.qrcode-section .container { max-width: 880px; }

.qrcode-section .row,
.qrcode-section .row > [class*="col-"] {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: unset;
    padding: 0;
    margin: 0;
}

.qrcode-section .qrcode-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--sp-10);
}
.qrcode-section .qrcode-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, var(--text-3xl));
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: var(--ink-900);
    margin: 0 0 var(--sp-3);
}
.qrcode-section .qrcode-content h2::after {
    content: "";
    display: block;
    width: 48px; height: 3px;
    background: var(--grad-brand);
    border-radius: 3px;
    margin: var(--sp-3) auto var(--sp-4);
}
.qrcode-section .qrcode-content > p {
    font-size: var(--text-md);
    color: var(--ink-600);
    line-height: 1.6;
    margin: 0 0 var(--sp-6);
}

.qrcode-section .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    max-width: 520px;
    text-align: left;
}
.qrcode-section .feature-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: var(--text-sm);
    color: var(--ink-700);
    padding: 6px 0;
}
.qrcode-section .feature-list li i {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid; place-items: center;
    font-size: 11px;
    flex-shrink: 0;
}

.qrcode-section .qrcode-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    margin: var(--sp-4) auto 0;
    padding: var(--sp-5);
    background: #fff;
    border-radius: var(--r-xl);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-3);
    width: fit-content;
    max-width: 320px;
    position: relative;
}
.qrcode-section .qrcode-wrapper::before,
.qrcode-section .qrcode-wrapper::after {
    content: "";
    position: absolute;
    width: 28px; height: 28px;
    border: 3px solid var(--brand);
    border-radius: 6px;
}
.qrcode-section .qrcode-wrapper::before {
    top: -2px; left: -2px;
    border-right: 0; border-bottom: 0;
    border-top-left-radius: var(--r-xl);
}
.qrcode-section .qrcode-wrapper::after {
    bottom: -2px; right: -2px;
    border-left: 0; border-top: 0;
    border-bottom-right-radius: var(--r-xl);
}
.qrcode-section .qrcode-img { width: 220px; height: 220px; display: block; }
.qrcode-section .qrcode-wrapper p {
    margin: 0;
    font-size: var(--text-xs);
    color: var(--ink-500);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.qrcode-section .qrcode-wrapper p::before {
    content: "\f030";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: var(--brand);
}
@media (max-width: 540px) {
    .qrcode-section .feature-list { grid-template-columns: 1fr; }
    .qrcode-section .qrcode-img { width: 180px; height: 180px; }
}


/* ─── COMO FUNCIONA ─────────────────────────────────────────────── */
.how-it-works .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
    margin-top: var(--sp-7);
}
.how-it-works .step-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: var(--sp-6) var(--sp-5);
    text-align: center;
    position: relative;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.how-it-works .step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-3);
}
.how-it-works .step-number {
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: 14px;
    box-shadow: var(--shadow-brand-sm);
}
.how-it-works .step-card > i {
    font-size: 32px;
    color: var(--brand);
    margin: var(--sp-3) 0;
    display: block;
}
.how-it-works .step-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    margin: 0 0 var(--sp-2);
    color: var(--ink-900);
    letter-spacing: var(--tracking-tight);
}
.how-it-works .step-card p {
    font-size: var(--text-sm);
    color: var(--ink-600);
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 820px) {
    .how-it-works .steps-grid { grid-template-columns: 1fr; }
}


/* =====================================================================
 * PATCH 2026-05 — Responsividade global + padronização de UI
 *
 * Este bloco é a fonte da verdade para os ajustes globais de:
 *   • Logo do header (cliente + admin) — não estoura no mobile
 *   • Footer — centralizado, compacto, hierarquia clara em qualquer tela
 *   • Banner home — sempre vivo (Ken Burns) + dots/setas legíveis
 *   • Toolbar de catálogo — chips/filtros sem quebrar no mobile
 *   • Botões, imagens, links, inputs — padrão visual único
 *   • Container fluido + breakpoints unificados (480 / 720 / 992 / 1200)
 *
 * Ordem CSS: este bloco sobrescreve QUALQUER regra acima. Quando alterar
 * algo, prefira editar aqui antes de mexer nos blocos legados.
 * ===================================================================== */

/* ── Reset global de imagens/mídias responsivas ─────────────────────── */
img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}
button { font-family: inherit; }
a { color: inherit; }

/* ── Container fluido padrão ─────────────────────────────────────────── */
.container,
.main-header .container,
.main-footer .container,
section .container,
.main-content .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(12px, 3vw, 24px);
    padding-right: clamp(12px, 3vw, 24px);
}

/* Conteúdo principal nunca causa scroll horizontal */
body, main, .main-content {
    overflow-x: clip;
}

/* ── HEADER — logo na ESQUERDA + sempre REDONDO ──────────────────────── */
.main-header { min-height: 60px; }
.header-content {
    height: auto;
    min-height: 60px;
    padding: 10px clamp(12px, 3vw, 16px);
    gap: clamp(8px, 2vw, 16px);
    /* 3 colunas: [menu] [logo flex-start] [actions flex-end] */
}
.main-header .logo {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;      /* ✓ esquerda (não centralizado) */
    overflow: hidden;
    gap: 10px;
}
/* Logo circular — qualquer imagem que o cliente subir vira um círculo perfeito.
   Container quadrado com object-fit:cover + border-radius:50% — totalmente
   responsivo (≥320px até 4K). */
.main-header .logo img {
    width: clamp(38px, 8vw, 48px);
    height: clamp(38px, 8vw, 48px);
    max-width: none;
    max-height: none;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: var(--surface);
    border: 1.5px solid var(--border-soft);
    box-shadow: 0 1px 4px rgba(31, 26, 19, 0.06);
    flex-shrink: 0;
}
.main-header .logo .logo-nome {
    font-size: clamp(15px, 3.4vw, 20px);
    max-width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn-menu, .btn-cart, .btn-user {
    width: 40px; height: 40px;
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .main-header .logo img { width: 38px; height: 38px; }
    .main-header .logo .logo-nome { font-size: 15px; max-width: 38vw; }
    .btn-menu, .btn-cart, .btn-user { width: 38px; height: 38px; }
    .cart-count { min-width: 18px; height: 18px; font-size: 10px; }
}

/* Logo redondo TAMBÉM no menu lateral (drawer) */
.side-menu .menu-header img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: var(--surface);
    border: 2px solid var(--border-soft);
    box-shadow: 0 2px 8px rgba(31, 26, 19, 0.08);
}

/* Install banner do PWA — ícone redondo também */
.install-banner .install-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}

/* ── BANNER HOME — sempre vivo, mesmo com 1 slide (Ken Burns) ────────── */
.home-banner-carousel {
    aspect-ratio: 21 / 9;
    max-height: 420px;
    border-radius: 0;
}
@media (min-width: 720px) {
    .home-banner-carousel {
        max-width: 1200px;
        margin: 12px auto 0;
        border-radius: var(--r-lg);
    }
}
@media (max-width: 720px) {
    .home-banner-carousel {
        aspect-ratio: 16 / 9;
        max-height: 280px;
    }
}
@media (max-width: 480px) {
    .home-banner-carousel { aspect-ratio: 3 / 2; max-height: 240px; }
}
/* Slide ativo ganha micro zoom-pan ("Ken Burns") — dá sensação de
   movimento mesmo quando a loja só tem 1 banner cadastrado. */
@keyframes ds-ken-burns {
    0%   { transform: scale(1)    translate(0, 0);    }
    100% { transform: scale(1.08) translate(-1%, 1%); }
}
.hbc-slide.is-active {
    animation: ds-ken-burns 14s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
    .hbc-slide.is-active { animation: none; }
}
/* Dots e setas — mais legíveis sobre imagens claras */
.hbc-dot {
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.hbc-dot.is-active { background: #fff; }
.hbc-arrow {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ── CATALOG TOOLBAR — sem quebra no mobile ──────────────────────────── */
.catalog-toolbar {
    top: 60px;                       /* alinhado com .main-header min-height */
    padding: 12px 0 10px;
    border-radius: 0;
}
.catalog-toolbar__top {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.catalog-search { flex: 1 1 240px; min-width: 0; }
.catalog-sort   { flex: 0 1 auto; min-width: 0; }

.catalog-toolbar__row { margin: 8px 0 6px; }

.catalog-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed var(--border-soft);
}
.catalog-toolbar__filters .catalog-toggle { flex: 0 0 auto; }
.catalog-toolbar__status {
    flex: 1 1 auto;
    margin-left: 0;
    text-align: right;
    font-size: 13px;
    min-width: 0;
}
.catalog-btn-clear { flex: 0 0 auto; }

@media (max-width: 720px) {
    .catalog-toolbar { top: 60px; padding: 10px 0 8px; }
    .catalog-toolbar__top {
        flex-direction: row;            /* mantém em linha quando couber */
        gap: 8px;
    }
    .catalog-search { flex: 1 1 100%; }
    .catalog-sort   { flex: 1 1 100%; }
    .catalog-sort__select { width: 100%; }
    .catalog-toolbar__filters {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    .catalog-toolbar__status {
        flex: 1 1 100%;
        text-align: left;
        order: 5;
        font-size: 12px;
        padding-top: 4px;
    }
    .catalog-btn-clear { order: 6; }
}
@media (max-width: 480px) {
    .catalog-toolbar__filters .catalog-toggle {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        text-align: center;
    }
    .catalog-btn-clear { width: 100%; text-align: center; }
}

/* ── FOOTER — centralizado, responsivo, hierárquico ──────────────────── */
.main-footer { padding: clamp(32px, 6vw, 56px) 0 28px; }
.main-footer .footer-content {
    grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr;
    gap: clamp(20px, 4vw, 40px);
    align-items: start;
    margin-bottom: var(--sp-6);
}
.main-footer .footer-section p { margin-bottom: 8px; }
.main-footer .footer-section h4 { font-size: 15px; margin-bottom: 12px; }

@media (max-width: 992px) {
    .main-footer .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
    .main-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .main-footer .footer-section h4 { display: inline-block; }
    .main-footer .footer-section h4::after { left: 50%; transform: translateX(-50%); }
    .main-footer .footer-section ul li { justify-content: center; }
    .main-footer .footer-section p { justify-content: center; }
    .footer-social { justify-content: center; }
}

/* Footer bottom — sempre centralizado, sem o pseudo "</>" feio no mobile */
.main-footer .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px clamp(8px, 3vw, 16px) 0;
}
.main-footer .footer-bottom p { line-height: 1.6; max-width: 720px; }
.main-footer .footer-bottom a {
    font-size: 12px;
    padding: 6px 14px;
}
@media (max-width: 480px) {
    .main-footer .footer-bottom a::before { display: none; } /* limpa visual no mobile */
    .main-footer .footer-bottom a { gap: 4px; }
}

/* ── BOTÕES — padrão único do design system ──────────────────────────── */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: var(--tracking-base);
    border-radius: var(--r-md);
    padding: 10px 18px;
    font-size: var(--text-sm);
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
    text-decoration: none;
    user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: var(--r-sm); }
.btn-lg { padding: 14px 24px; font-size: var(--text-md); border-radius: var(--r-lg); }
.btn-block, .btn.w-100 { width: 100%; }

.btn-primary {
    background: var(--brand);
    color: #fff !important;
    border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); box-shadow: var(--shadow-brand-sm); }

.btn-secondary {
    background: var(--ink-100);
    color: var(--ink-800) !important;
    border-color: var(--border);
}
.btn-secondary:hover { background: var(--ink-200); }

.btn-outline-primary {
    background: transparent;
    color: var(--brand-700) !important;
    border-color: var(--brand);
}
.btn-outline-primary:hover { background: var(--brand-soft); }

.btn-success { background: var(--success); color: #fff !important; border-color: var(--success); }
.btn-danger  { background: var(--danger);  color: #fff !important; border-color: var(--danger); }
.btn-warning { background: var(--warning); color: #1f1a13 !important; border-color: var(--warning); }
.btn-info    { background: var(--info);    color: #fff !important; border-color: var(--info); }

@media (max-width: 480px) {
    .btn { padding: 10px 16px; font-size: 14px; }
    .btn-lg { padding: 12px 20px; font-size: 15px; }
}

/* ── INPUTS / SELECTS / TEXTAREA — visual unificado ─────────────────── */
.form-control,
.form-select,
input[type="text"]:not(.no-ds),
input[type="email"]:not(.no-ds),
input[type="tel"]:not(.no-ds),
input[type="password"]:not(.no-ds),
input[type="search"]:not(.no-ds),
input[type="number"]:not(.no-ds),
input[type="date"]:not(.no-ds),
textarea:not(.no-ds),
select:not(.no-ds) {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 10px 14px;
    font-size: var(--text-sm);
    color: var(--ink-900);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    font-family: var(--font-sans);
    line-height: 1.4;
}
.form-control:focus,
.form-select:focus,
input:focus, textarea:focus, select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.14);
    outline: none;
}
@media (max-width: 480px) {
    .form-control, .form-select, input, textarea, select {
        font-size: 16px;       /* evita zoom no iOS */
        padding: 11px 14px;
    }
}

/* ── LINKS — padrão sutil + acessível ────────────────────────────────── */
a:not(.btn):not(.catalog-chip):not(.category-card):not(.product-card):not(.menu-list a):not(.footer-section a):not(.footer-col a):not(.logo):not(.sidebar-menu a):not(.cmdp-item):not(.nav-link):not(.hbc-arrow):not(.cat-nav):not(.btn-ver-catalogo):not(.catalog-group__see) {
    color: var(--brand-700);
    text-decoration: none;
    transition: color var(--t-fast);
}
a:not(.btn):hover { color: var(--brand-strong); }

/* ── PRODUCT CARD — fotos com ratio fixa pra grid limpo ──────────────── */
.product-card { min-width: 0; }
.product-card img,
.product-card .product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* ── UTILITÁRIOS RESPONSIVOS GERAIS ──────────────────────────────────── */
@media (max-width: 720px) {
    section { padding: clamp(20px, 4vw, 32px) 0; }
    .section-header h2 { font-size: 18px; }
    .section-header p  { font-size: 13px; }
}
@media (max-width: 480px) {
    section { padding: 20px 0; }
    .section-header { margin-bottom: 14px; }
}

/* Tabelas responsivas — overflow no wrapper, nunca quebrar layout */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; }

/* Modal global — full screen no mobile pra leitura confortável */
@media (max-width: 600px) {
    .modal-dialog:not(.modal-fullscreen):not(.modal-fullscreen-sm-down) {
        margin: 8px;
        max-width: calc(100% - 16px);
    }
}

/* WhatsApp FAB — não conflita com cart-floating-bar no mobile */
.fab-whatsapp { bottom: clamp(16px, 4vw, 24px); right: clamp(16px, 4vw, 24px); }
@media (max-width: 600px) {
    body:has(.cart-floating-bar) .fab-whatsapp { bottom: 88px; }
}


/* =====================================================================
 * QUANTIDADE NO CARD — Stepper inline [- N +]
 *
 * O `.qty-control` ocupa o espaço onde antes ficava só o `.btn-add-cart`.
 * Tem dois filhos visualmente excludentes:
 *   • `.qty-control__add` (botão "Adicionar") — visível quando qtd=0
 *   • `.qty-stepper` (− N +) — visível quando qtd>0
 *
 * Ambos têm mesma altura e radius — alternância sem pular layout.
 * ===================================================================== */

.qty-control {
    position: relative;
    width: 100%;
    display: block;
}

/* Estado "tem itens no carrinho" — ring sutil indicando seleção */
.qty-control.is-in-cart .qty-stepper {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

/* Loading sutil enquanto API processa */
.qty-control.is-loading { opacity: 0.7; pointer-events: none; }

/* Animação rápida ao adicionar primeiro item */
@keyframes qty-pop-in {
    0%   { transform: scale(0.9); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.qty-control.just-added .qty-stepper {
    animation: qty-pop-in 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Stepper [- N +] — mesma "caixa" que o btn-add-cart */
.qty-stepper {
    width: 100%;
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    padding: 0;
    border: 1px solid var(--ink-900);
    background: var(--ink-900);
    color: #fff;
    border-radius: var(--r-pill);
    font-weight: 800;
    height: 34px;             /* mesma altura do btn-add-cart (padding 8 + line-height) */
    overflow: hidden;
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.qty-stepper:hover { box-shadow: 0 3px 12px rgba(var(--brand-rgb), 0.32); }

.qty-stepper__btn {
    background: transparent;
    border: 0;
    color: inherit;
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background var(--t-fast);
    line-height: 1;
}
.qty-stepper__btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
}
.qty-stepper__btn:active:not(:disabled) {
    background: rgba(255, 255, 255, 0.28);
}
.qty-stepper__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.qty-stepper__btn--minus { border-right: 1px solid rgba(255, 255, 255, 0.18); }
.qty-stepper__btn--plus  { border-left:  1px solid rgba(255, 255, 255, 0.18); }

.qty-stepper__num {
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.02em;
    user-select: none;
    -webkit-user-select: none;
    font-variant-numeric: tabular-nums; /* mantém alinhamento entre 1, 10, 100 */
}

/* Mobile: stepper ainda menor e mais "fat finger friendly" */
@media (max-width: 480px) {
    .qty-stepper {
        height: 32px;
        grid-template-columns: 34px 1fr 34px;
    }
    .qty-stepper__num { font-size: 12px; }
    .qty-stepper__btn { font-size: 11px; }
}

/* No catálogo "grid mobile" (já-2-colunas) o card é mais apertado.
   Reduz texto do botão Adicionar pra caber sem quebrar linha. */
@media (max-width: 380px) {
    .qty-control__add-label { font-size: 11px; }
    .qty-stepper { height: 30px; grid-template-columns: 30px 1fr 30px; }
}


/* =====================================================================
 * SMART CART BAR — barra inteligente sticky no rodapé
 *
 * Aparece quando o cart tem itens. CSS único pra desktop e mobile —
 * no desktop fica embaixo discreta, no mobile vira proeminente full-width.
 * ===================================================================== */
.smart-cart-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 -10px 30px -10px rgba(31, 26, 19, 0.18);
    padding: 8px 12px;
    animation: smart-slide-up 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.96);
}
@keyframes smart-slide-up {
    from { transform: translateY(110%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* Adiciona padding-bottom no body pra não esconder conteúdo atrás */
body.has-smart-bar { padding-bottom: clamp(72px, 14vw, 96px); }
body.has-smart-bar.has-cart-floating-bar { padding-bottom: 88px; } /* coexistência */

.smart-cart-bar__progress {
    padding: 4px 4px 8px;
    margin-bottom: 4px;
}
.smart-cart-bar__progress-bar {
    height: 6px;
    background: var(--ink-100);
    border-radius: var(--r-pill);
    overflow: hidden;
    margin-bottom: 6px;
}
.smart-cart-bar__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-400) 0%, var(--brand) 50%, var(--brand-700) 100%);
    border-radius: var(--r-pill);
    transition: width 360ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(var(--brand-rgb), 0.4);
}
.smart-cart-bar__progress-fill.is-complete {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 50%, #16a34a 100%);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}
.smart-cart-bar__progress-text {
    font-size: 12px;
    color: var(--ink-700);
    text-align: center;
}
.smart-cart-bar__progress-text strong { color: var(--brand-700); }

.smart-cart-bar__cta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: var(--r-md);
    box-shadow: 0 6px 18px rgba(var(--brand-rgb), 0.32);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.smart-cart-bar__cta:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 24px rgba(var(--brand-rgb), 0.42);
}
.smart-cart-bar__cta:active { transform: translateY(0); }

.smart-cart-bar__icon {
    position: relative;
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 18px;
}
.smart-cart-bar__count {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 22px; height: 22px;
    background: var(--accent-yellow);
    color: var(--ink-900);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 11px;
    font-weight: 800;
    border: 2px solid var(--brand);
    padding: 0 5px;
}
.smart-cart-bar__info {
    display: flex; flex-direction: column;
    min-width: 0; gap: 2px;
}
.smart-cart-bar__info strong {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.01em;
}
.smart-cart-bar__info span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.smart-cart-bar__action {
    font-weight: 800;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--r-pill);
    flex-shrink: 0;
}
.smart-cart-bar__action i {
    transition: transform var(--t-fast);
}
.smart-cart-bar__cta:hover .smart-cart-bar__action i { transform: translateX(3px); }

/* Desktop — centraliza com largura controlada */
@media (min-width: 720px) {
    .smart-cart-bar {
        max-width: 1140px;
        left: 50%;
        right: auto;
        bottom: 16px;
        transform: translateX(-50%);
        border-radius: var(--r-lg);
        border: 1px solid var(--border-soft);
    }
    .smart-cart-bar__cta { padding: 14px 20px; }
}
@media (max-width: 480px) {
    .smart-cart-bar__cta { gap: 10px; padding: 10px 12px; }
    .smart-cart-bar__icon { width: 38px; height: 38px; font-size: 15px; }
    .smart-cart-bar__count { min-width: 18px; height: 18px; font-size: 10px; padding: 0 4px; }
    .smart-cart-bar__info strong { font-size: 16px; }
    .smart-cart-bar__action {
        padding: 7px 10px;
        font-size: 12px;
    }
    .smart-cart-bar__action i { display: none; } /* Só "Ver carrinho" no mobile pequeno */
}

/* WhatsApp FAB sobe quando smart-cart-bar tá visível */
body.has-smart-bar .fab-whatsapp { bottom: clamp(88px, 18vw, 110px); }


/* =====================================================================
 * HEADER SEARCH — busca instantânea com dropdown
 *
 * Estados:
 *   • Desktop ≥720px: input sempre visível no header
 *   • Mobile <720px: só o ícone aparece; click expande full-width
 * ===================================================================== */
.header-search {
    position: relative;
    flex-shrink: 0;
}
.header-search__trigger {
    display: none;             /* visível só no mobile */
    width: 40px; height: 40px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    color: var(--ink-800);
    border-radius: var(--r-pill);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--t-fast);
}
.header-search__trigger:hover {
    border-color: var(--ink-300);
    background: var(--surface-muted);
}

.header-search__field {
    position: relative;
    display: flex;
    align-items: center;
    width: 280px;
}
.header-search__icon {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--ink-500);
    font-size: 14px;
    width: 16px;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}
.header-search__input {
    width: 100%;
    height: 40px;
    /* padding-left generoso pra lupa NUNCA sobrepor o texto */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 46px !important;
    padding-right: 40px !important;
    background: var(--surface-muted);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    font-size: 14px;
    line-height: 40px;
    color: var(--ink-900);
    text-indent: 0;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.header-search__input:focus {
    outline: none;
    background: var(--surface);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.14);
    width: 320px;
}
.header-search__input::placeholder { color: var(--ink-500); }
.header-search__close {
    display: none;
    position: absolute;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    border: 0;
    background: var(--ink-100);
    color: var(--ink-700);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Dropdown */
.header-search__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-3);
    max-height: 380px;
    overflow-y: auto;
    z-index: 80;
    animation: ds-pop-in var(--t-base);
}
.hsearch__loading, .hsearch__empty {
    padding: 18px;
    text-align: center;
    color: var(--ink-500);
    font-size: 13px;
}
.hsearch__item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--ink-900);
    text-decoration: none;
    transition: background var(--t-fast);
}
.hsearch__item:hover {
    background: var(--surface-muted);
    color: var(--brand-700);
}
.hsearch__item img {
    width: 44px; height: 44px;
    object-fit: cover;
    border-radius: var(--r-sm);
    background: var(--ink-100);
}
.hsearch__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.hsearch__nome {
    font-weight: 700;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hsearch__info small {
    color: var(--ink-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hsearch__preco {
    font-weight: 800;
    color: var(--brand-700);
    font-size: 14px;
    white-space: nowrap;
}
.hsearch__verall {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    color: var(--brand-700);
    font-weight: 700;
    text-decoration: none;
    background: var(--surface-muted);
}

/* Mobile: ícone trigger visível, input escondido por padrão */
@media (max-width: 720px) {
    .header-search__trigger { display: inline-flex; }
    .header-search__field { display: none; }
    .header-search.is-mobile-open {
        position: fixed;
        top: 0; left: 0; right: 0;
        background: var(--surface);
        padding: 12px;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    .header-search.is-mobile-open .header-search__trigger { display: none; }
    .header-search.is-mobile-open .header-search__field {
        display: flex;
        width: 100%;
    }
    .header-search.is-mobile-open .header-search__input { width: 100%; }
    .header-search.is-mobile-open .header-search__input:focus { width: 100%; }
    .header-search.is-mobile-open .header-search__close { display: inline-flex; }
    .header-search.is-mobile-open .header-search__dropdown {
        left: 12px; right: 12px; top: calc(100% + 4px);
    }
}


/* =====================================================================
 * SHARE PRODUCT button — visual sutil que não compete com o CTA principal
 * ===================================================================== */
.share-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    border-radius: var(--r-pill);
    transition: all var(--t-fast);
}
.share-product-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

