/* Bundle gerado para reduzir requisicoes SEO/PageSpeed. */

/* === css/base/global.css === */
/* global.css */

html {
    color-scheme: light;
    background: #ffffff;
    overflow-x: hidden;
    /* Reserva o tamanho da barra de contato (40) + navbar (120) já no CSS
       — o dynamic-positioning.js atualiza esse valor ao rolar/redimensionar.
       Ter um fallback global garante que o carrossel hero nunca apareça
       atrás da navbar antes do JS rodar. */
    --navbar-total-height: 160px;
}

/* Fallback específico para mobile (banner 36 + navbar 90) */
@media (max-width: 768px) {
    html {
        --navbar-total-height: 126px;
    }
}

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #171717;
    background: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Box-sizing global */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Imagens e vídeos responsivos */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Swiper */
.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background-color: #BB0606 !important;
    opacity: 1;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background-color: #BB0606 !important;
}

.swiper-pagination {
    bottom: 15px !important;
}

:root {
    --swiper-theme-color: #BB0606;
}

/* Herança de fonte */
h1, h2, h3, h4, h5, h6, p, span, button, a, input, select, textarea {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ── Melhorias mobile globais ─────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Seções com max-width não escapam da tela */
    section,
    .container,
    .categoryPage,
    .categoryContainer,
    .filterAndCardsContainer,
    .highlight-section {
        max-width: 100% !important;
        overflow-x: hidden;
    }

    /* Grids: 1 coluna no mobile por padrão quando muito apertado */
    .highlight-container-home {
        grid-template-columns: 1fr !important;
    }

    /* Textos não escadem */
    h1 { font-size: clamp(1.4rem, 5vw, 2.2rem); }
    h2 { font-size: clamp(1.2rem, 4.5vw, 1.8rem); }
    h3 { font-size: clamp(1rem, 4vw, 1.4rem); }

    /* Touch target mínimo para links e botões críticos */
    .nav-link,
    .footer-link,
    .pagination a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    /* Tables */
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    /* Padding lateral mínimo para telas muito pequenas */
    .categoryContainer,
    .highlight-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Cards em coluna única */
    .product-card-container,
    .highlightContainerFive {
        grid-template-columns: 1fr !important;
    }

    /* Fonte mínima legível */
    body {
        font-size: 14px;
    }
}


/* === css/components/Navbar.css === */
/* Navbar.css */

:root {
    --nav-dropdown-gutter: clamp(12px, 2vw, 36px);
}

/* ── Barra de contato ────────────────────────────────────────────────── */
.welcome-banner {
    background-color: #BB0606;
    color: #fff;
    height: 40px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.welcome-banner.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.contact-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.contact-item:hover { color: #fff; }

.contact-item i {
    font-size: 12px;
    opacity: 0.85;
    flex-shrink: 0;
}

.contact-item .fab.fa-whatsapp { font-size: 14px; }

.contact-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    user-select: none;
}

/* ── Navbar ──────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ebebeb;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.07);
    top: 40px;
    z-index: 2000;
    display: flex;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
    height: 120px;  /* +33% de 90px */
    transition: height 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

.navbar.shrink {
    height: 70px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.11);
}

/* ── Container interno ───────────────────────────────────────────────── */
.container-inner {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 36px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

/* ── Logo ────────────────────────────────────────────────────────────── */
.logo-icons {
    display: none;
    align-items: center;
    flex-shrink: 0;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.navbar-logo:hover { opacity: 0.85; }

.logo-img {
    height: 84px;      /* 120px - 36px margem = 84px (18px cada lado) */
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease, max-width 0.3s ease;
}

.navbar.shrink .logo-img {
    height: 50px;
    max-width: 200px;
}

/* ── Menu Desktop ────────────────────────────────────────────────────── */
.container-menu {
    display: flex;
    align-items: center;          /* todos centralizados no eixo Y */
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 24px;
    position: relative;
}

.navbar-menu {
    display: flex;
    gap: clamp(24px, 2.4vw, 44px);
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;          /* todos os links no mesmo eixo Y */
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Links — todos com mesma altura, mesma altura de linha, mesmo padding */
.nav-link,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;                  /* altura uniforme para todos */
    font-size: clamp(17px, 1.05vw, 20px);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: none;          /* mantém "Otimização em Obra", sem uppercase */
    color: #505057;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    background: none;
    border: none;
    outline: none;
    font-family: inherit;
    line-height: 1;
    vertical-align: middle;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.button-link:hover {
    color: #BB0606;
    transform: translateY(-1px);
}

.nav-link::after,
.button-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 2px;
    background: #BB0606;
    border-radius: 1px;
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.button-link:hover::after {
    width: 100%;
}

.navbar.shrink .nav-link,
.navbar.shrink .button-link {
    height: 34px;
    font-size: clamp(16px, 0.95vw, 18px);
}

/* ── Lupa na navbar (limpa, sem fundo, sem campo ao lado) ────────────── */
.search-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;             /* mesma altura dos nav-links */
    flex-shrink: 0;
    transition: opacity 0.2s;
    margin: 0;
    line-height: 1;
}
.search-toggle-btn:hover { opacity: 0.65; }
.search-toggle-btn img { width: 22px; height: 22px; display: block; }

/* ── Painel de busca (abre abaixo da navbar ao clicar na lupa) ───────── */
.search-dropdown {
    position: fixed;
    top: var(--navbar-total-height, 160px);  /* exatamente abaixo da navbar */
    right: var(--nav-dropdown-gutter);
    left: auto;
    width: min(860px, calc(100vw - 72px));
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
    border: 1px solid #ebebeb;
    border-top: 3px solid #BB0606;
    z-index: 1900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    overflow: hidden;
}

.search-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.search-dropdown-inner {
    display: flex;
    flex-direction: column;
}

/* Campo de busca grande dentro do painel */
.search-dropdown-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.search-dropdown-fieldicon {
    color: #BB0606;
    font-size: 16px;
    flex-shrink: 0;
}

.search-dropdown-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    color: #222;
    font-family: inherit;
    padding: 4px 0;
    min-width: 0;
}

.search-dropdown-input::placeholder { color: #bbb; }

.search-dropdown-clear {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    color: #aaa;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.2s;
    border-radius: 6px;
}
.search-dropdown-clear:hover { color: #BB0606; background: #fff; }

/* Body: resultados + sidebar lado a lado */
.search-dropdown-body {
    display: flex;
    background: #fff;
}

.search-dropdown-results {
    flex: 1;
    padding: 18px 22px;
    min-width: 0;
    border-right: 1px solid #f0f0f0;
}

.search-dropdown-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.search-dropdown-divider {
    border: none;
    border-top: 1px solid #ebebeb;
    margin: 0 0 12px;
}

.search-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 80px;
    max-height: min(64vh, 620px);
    overflow-y: auto;
}

.search-dropdown-products {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-dropdown-hint {
    font-size: 13px;
    color: #aaa;
    padding: 8px 0;
}

.search-dropdown-empty {
    font-size: 13px;
    color: #999;
    padding: 10px 0;
}

/* Cada resultado */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
    cursor: pointer;
}
.search-result-item:hover { background: #fef2f2; }

.search-result-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    background: #f5f5f5;
    flex-shrink: 0;
}

.search-result-info { min-width: 0; }

.search-result-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.search-result-sub {
    font-size: 11px;
    color: #888;
    display: block;
}

.search-result-item:hover .search-result-name { color: #BB0606; }

.search-dropdown-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 2px;
}

.search-page-btn {
    min-width: 30px;
    height: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    color: #444;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.search-page-btn:hover,
.search-page-btn.active {
    border-color: #BB0606;
    background: #BB0606;
    color: #fff;
}

.search-page-ellipsis {
    color: #999;
    font-size: 12px;
    padding: 0 2px;
}

/* Sidebar */
.search-dropdown-sidebar {
    width: 200px;
    flex-shrink: 0;
    padding: 18px 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-sidebar-link {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #BB0606;
    text-decoration: none;
    padding: 8px 6px;
    border-radius: 6px;
    transition: background 0.15s ease, padding 0.15s ease;
}

.search-sidebar-button {
    width: 100%;
    border: 0;
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.search-sidebar-link:hover {
    background: #fef2f2;
    padding-left: 12px;
}

/* ── Ícones Mobile ───────────────────────────────────────────────────── */
.mobile-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-button,
.search-icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.menu-button:hover,
.search-icon-button:hover { background: #f5f5f5; }

.menu-icon {
    color: #BB0606;
    font-size: 22px;
}

/* ── Busca Mobile ────────────────────────────────────────────────────── */
.search-form-mobile {
    display: none;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    position: fixed;
    left: 0;
    top: 126px; /* contact(36) + navbar(90) */
    z-index: 1002;
    flex-direction: column;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.search-form-mobile.active { display: flex; }

.search-input-wrapper-mobile {
    display: flex;
    width: 100%;
    max-width: 480px;
    background: #f5f5f5;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.search-input-wrapper-mobile:focus-within {
    border-color: #BB0606;
    background: #fff;
}

.search-input-mobile {
    flex: 1;
    padding: 11px 44px 11px 18px;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
    color: #333;
}

.search-input-mobile::placeholder { color: #aaa; }

.search-button-mobile {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}

.search-button-mobile img { width: 20px; height: 20px; }

/* ── Product panel ───────────────────────────────────────────────────── */
.product-panel-content {
    background: #fff;
    padding: 20px;
    border: 1px solid #ebebeb;
    border-radius: 0 0 12px 12px;
    position: fixed;
    top: 160px;
    width: 100%;
    max-width: 1920px;
    z-index: 995;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: top 0.3s ease;
}

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 929px) {
    .welcome-banner {
        height: 36px;
    }

    .contact-bar-inner {
        gap: 12px;
        padding: 0 14px;
    }

    .contact-item:first-child,
    .contact-divider:first-of-type {
        display: none;
    }

    .contact-item { font-size: 11px; gap: 5px; }

    .navbar {
        top: 36px;
        height: 90px;
    }

    .navbar.shrink { height: 56px; }

    .logo-img {
        height: 58px;
        max-width: 190px;
    }

    .navbar.shrink .logo-img {
        height: 38px;
        max-width: 150px;
    }

    .container-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .search-form-mobile {
        top: 126px; /* contact(36) + navbar(90) */
    }

    /* Dropdown ocupa quase a tela toda no mobile */
    .search-dropdown {
        right: 8px;
        left: 8px;
        width: auto;
    }

    .search-dropdown-body {
        flex-direction: column;
    }

    .search-dropdown-results {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 14px 16px;
    }

    .search-dropdown-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        padding: 12px 16px 14px;
    }

    .search-sidebar-link {
        font-size: 13px;
        padding: 6px 10px;
    }

    .search-dropdown-field {
        padding: 14px 16px;
    }

    .search-dropdown-input { font-size: 15px; }

    .product-panel-content {
        top: 126px;
    }
}

/* ── Breakpoint menu ─────────────────────────────────────────────────── */
@media (max-width: 929px) {
    .container-menu { display: none; }

    .logo-icons {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 930px) {
    .logo-icons,
    .mobile-icons { display: none; }
    .container-menu { display: flex; }
}


/* === css/components/Footer.css === */
/* Footer.css */

/* ── Rodapé principal — fundo cinza claro ── */
.footer {
  background-color: #f4f4f6;        /* cinza claro neutro */
  color: #5a5a5a;                    /* texto cinza escuro para contraste em fundo claro */
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid #e5e5e5;
}

/* ── Barra de ações (topo do footer) ── */
.action-bar {
  position: relative;
  background: #ffffff;
  border-top: 2px solid #BB0606;
  z-index: 10;
  padding: 10px 0;
}

.action-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.action-button {
  background: #ffffff;
  border: 1.5px solid #e8e8e8;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: #BB0606;
}

.action-button:hover {
  background-color: #BB0606;
  border-color: #BB0606;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(187, 6, 6, 0.25);
}

.action-icon {
  font-size: 14px;
  width: 15px;
  height: 15px;
  color: inherit;
  transition: color 0.25s ease;
}

/* ── Container principal ── */
.footer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 2rem 52px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 48px;
  box-sizing: border-box;
}

/* ── Colunas ── */
.column {
  display: flex;
  flex-direction: column;
}

.column h3 {
  color: #1a1a1a;                          /* preto: alto contraste em fundo claro */
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e0e0e0;
}

.column h4 {
  display: flex;
  align-items: center;
  color: #6b6b6b;                           /* cinza médio para texto secundário */
  cursor: pointer;
  transition: color 0.2s ease;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

.column h4:hover {
  color: #BB0606;                           /* hover na cor da marca */
}

/* ── Links ── */
.footer-link,
.social-link {
  color: #6b6b6b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-link:hover,
.social-link:hover {
  color: #BB0606;
  text-decoration: none;
}

.footer-link svg,
.social-link svg {
  margin-right: 8px;
  width: 15px;
  height: 15px;
  opacity: 0.7;
}

/* ── Ícones sociais ── */
.social-icon {
  margin-right: 8px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #6b6b6b;
  transition: color 0.2s ease;
}

.social-link:hover .social-icon {
  color: #BB0606;
}

/* ── Mapa ── */
.footer-container .column iframe {
  border-radius: 10px;
  border: 0;
  width: 100%;
  height: 190px;
  opacity: 0.85;
  margin-top: 0.25rem;
}

/* ── Rodapé inferior ── */
.footer-bottom {
  background-color: #BB0606;
  color: #ffffff;
  text-align: center;
  padding: 14px 1rem;
  width: 100%;
  box-sizing: border-box;
}

.bottom-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.bottom-content p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
  opacity: 0.92;
}

.footer-logo {
  width: 28px;
  height: 28px;
  opacity: 0.95;
}

/* ── Helper interno ── */
.content-inner {
  display: flex;
  flex-direction: column;
}

/* ── Responsividade ── */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 44px 1.5rem 40px;
  }

  .footer-container .column:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 1.5rem 32px;
  }

  .footer-container .column:nth-child(3) {
    grid-column: 1;
  }

  .column h3 {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .column h4,
  .footer-link,
  .social-link {
    font-size: 0.875rem;
  }

  .footer-container .column iframe {
    height: 170px;
  }

  .footer-bottom {
    padding: 12px 1rem;
  }

  .action-content {
    padding: 0 1rem;
  }
}

/* ── Prevenir scroll horizontal ── */
body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


/* === css/components/site_widgets.css === */
.floating-whatsapp {
    position: fixed;
    left: 18px;
    bottom: 20px;
    z-index: 940;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 14px 9px 9px;
    border-radius: 999px;
    background: #ffffff;
    color: #102018;
    text-decoration: none;
    border: 1px solid rgba(18, 140, 126, 0.2);
    box-shadow: 0 16px 38px rgba(17, 24, 39, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 140, 126, 0.42);
    box-shadow: 0 22px 44px rgba(17, 24, 39, 0.2);
}

.floating-whatsapp__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.floating-whatsapp__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap;
}

.floating-whatsapp__text strong {
    font-size: 0.92rem;
    color: #111827;
}

.floating-whatsapp__text small {
    margin-top: 3px;
    font-size: 0.74rem;
    color: #4b5563;
}

.cookie-consent {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 950;
    width: min(560px, calc(100vw - 36px));
    display: none;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.2);
    backdrop-filter: blur(14px);
}

.cookie-consent.is-visible {
    display: grid;
}

.cookie-consent__body {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
}

.cookie-consent__icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    color: #bb0606;
    font-size: 1rem;
}

.cookie-consent__copy h2 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #111827;
}

.cookie-consent__copy p {
    margin: 0;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.45;
}

.cookie-consent__prefs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.cookie-consent__prefs label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.84rem;
    font-weight: 700;
}

.cookie-consent__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.86rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn--ghost {
    background: #fff;
    border-color: #e5e7eb;
    color: #374151;
}

.cookie-btn--primary {
    background: #bb0606;
    color: #fff;
}

@media (max-width: 720px) {
    .floating-whatsapp {
        left: 12px;
        bottom: 14px;
        min-height: 50px;
        padding: 7px 11px 7px 7px;
    }

    .floating-whatsapp__icon {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
    }

    .floating-whatsapp__text strong {
        font-size: 0.84rem;
    }

    .floating-whatsapp__text small {
        font-size: 0.68rem;
    }

    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 78px;
        width: auto;
        padding: 14px;
    }

    .cookie-consent__body {
        grid-template-columns: 1fr;
    }

    .cookie-consent__icon {
        display: none;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1 1 auto;
    }
}


/* === css/pages/quote_modal.css === */
.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    overscroll-behavior: contain;
}

.quote-modal.is-open {
    display: flex;
}

.quote-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.62);
    backdrop-filter: blur(4px);
}

.quote-modal__panel {
    position: relative;
    width: min(780px, 100%);
    max-height: min(92vh, 880px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.quote-modal__header {
    padding: 22px 24px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #f1f1f1;
}

.quote-modal__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #BB0606;
    margin-bottom: 5px;
}

.quote-modal__header h2 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.18;
    color: #111827;
}

.quote-modal__header p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.35;
}

.quote-modal__close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    color: #6b7280;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background 0.2s ease, color 0.2s ease;
}

.quote-modal__close:hover {
    background: #fee2e2;
    color: #BB0606;
}

.quote-form {
    padding: 20px 24px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.quote-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.quote-type {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 4px;
    border-radius: 12px;
    background: #f3f4f6;
    margin-bottom: 18px;
}

.quote-type__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 9px;
    color: #4b5563;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.quote-type__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quote-type__option.is-active {
    background: #fff;
    color: #BB0606;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.quote-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.quote-field--wide {
    grid-column: 1 / -1;
}

.quote-field span,
.quote-contact legend {
    color: #374151;
    font-size: 0.82rem;
    font-weight: 800;
}

.quote-field input,
.quote-field textarea {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 0.93rem;
    line-height: 1.35;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-field input {
    height: 44px;
    padding: 0 12px;
}

.quote-field textarea {
    min-height: 96px;
    resize: vertical;
    padding: 11px 12px;
}

.quote-field input:focus,
.quote-field textarea:focus {
    border-color: #BB0606;
    box-shadow: 0 0 0 3px rgba(187, 6, 6, 0.1);
}

.quote-field.is-invalid input,
.quote-field.is-invalid textarea {
    border-color: #BB0606;
    background: #fff7f7;
}

.quote-field.is-hidden {
    display: none;
}

.quote-contact {
    border: 0;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quote-contact legend {
    width: 100%;
    margin-bottom: 2px;
}

.quote-contact label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.quote-contact input {
    accent-color: #BB0606;
}

.quote-turnstile {
    margin-top: 18px;
    min-height: 1px;
}

.quote-form__message {
    margin: 14px 0 0;
    min-height: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #BB0606;
}

.quote-form__message.is-success {
    color: #047857;
}

.quote-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f1f1;
}

.quote-btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 11px;
    border: 0;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quote-btn--ghost {
    background: #f3f4f6;
    color: #374151;
}

.quote-btn--primary {
    background: #BB0606;
    color: #fff;
    box-shadow: 0 10px 24px rgba(187, 6, 6, 0.18);
}

.quote-btn:not(:disabled):hover {
    transform: translateY(-1px);
}

.quote-btn:disabled {
    opacity: 0.68;
    cursor: wait;
}

html.quote-modal-lock,
body.quote-modal-lock {
    overflow: hidden;
    overscroll-behavior: none;
}

.technicalOption.opt-form {
    font-family: inherit;
    width: 100%;
}

@media (max-width: 720px) {
    .quote-modal {
        align-items: flex-end;
        padding: 0;
    }

    .quote-modal__panel {
        width: 100%;
        max-height: 94vh;
        border-radius: 18px 18px 0 0;
    }

    .quote-modal__header {
        padding: 18px 18px 15px;
    }

    .quote-modal__header h2 {
        font-size: 1.28rem;
    }

    .quote-form {
        padding: 16px 18px 20px;
    }

    .quote-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quote-form__actions {
        flex-direction: column-reverse;
    }

    .quote-btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .quote-type__option {
        font-size: 0.82rem;
    }

    .quote-contact {
        display: grid;
        grid-template-columns: 1fr;
    }

    .quote-contact label {
        width: 100%;
        box-sizing: border-box;
    }
}


/* === css/components/ProductPanelMob.css === */
/* ProductPanelMob.css — drawer mobile com navegação 2 níveis */

/* ── Overlay ── */
.panelContainerMob {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: flex-start;
  /* z-index ALTO o suficiente para ficar acima de: barra de contato (1001),
     navbar (1000), search-dropdown (1050), product-panel desktop (1500),
     search-overlay (999). Painel mobile deve cobrir tudo. */
  z-index: 99999;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

/* Quando o painel está aberto, trava o scroll do body para que nada por
   baixo se mova (classe adicionada pelo JS). */
body.mobile-menu-open {
  overflow: hidden !important;
  touch-action: none;
}
.panelContainerMob.show {
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.45);
}

/* ── Drawer ── */
.productPanelMob {
  background-color: #fff;
  width: 88%;
  max-width: 360px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
  pointer-events: auto;
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.12);
}
.panelContainerMob.show .productPanelMob { transform: translateX(0); }
.panelContainerMob:not(.show) .productPanelMob { transform: translateX(-100%); }

/* ── Header ── */
.drawerHeaderMob {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.logoMob { height: 40px; width: auto; object-fit: contain; }
.closeBtnMob {
  width: 38px; height: 38px;
  background: #f5f5f5;
  border: none;
  border-radius: 10px;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.closeBtnMob:hover { background: #fef2f2; color: #BB0606; }

/* ── Área scrollável ── */
.mainViewMob {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

/* ── Sistema de "views" (lista raiz / detalhe) ── */
.viewMob {
  display: none;
}
.viewMob.is-active {
  display: block;
}

/* ── Títulos de seção (Produtos / Suporte) ── */
.sectionTitleMob {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #999;
  margin: 22px 20px 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

/* ─────────────────────────────────────────────────────────
   VIEW 1 — Lista de subcategorias (3 botões grandes)
   ───────────────────────────────────────────────────────── */

.subListMob {
  list-style: none;
  padding: 0 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.subItemMob {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  font-family: inherit;
}
.subItemMob:hover,
.subItemMob:active {
  background: #fef2f2;
  border-color: rgba(187, 6, 6, 0.2);
}

.subItemIconMob {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #fef2f2;
  color: #BB0606;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.subItemTextMob {
  flex: 1;
  font-size: 0.96rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.subItemChevronMob {
  color: #c8c8c8;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.subItemMob:hover .subItemChevronMob {
  color: #BB0606;
  transform: translateX(2px);
}

/* ─────────────────────────────────────────────────────────
   VIEW 2 — Detalhe (lista de categorias dentro da subcategoria)
   ───────────────────────────────────────────────────────── */

.backBtnMob {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 16px 4px;
  padding: 6px 8px 6px 4px;
  background: transparent;
  border: none;
  color: #BB0606;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.backBtnMob:hover { background: #fef2f2; }
.backBtnMob i { font-size: 0.75rem; }

.detailTitleMob {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  margin: 4px 20px 14px;
  letter-spacing: -0.2px;
}

.categoriesContainerMob {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.emptyHintMob {
  color: #999;
  font-size: 0.85rem;
  padding: 16px 12px;
  text-align: center;
  margin: 0;
}

/* ── Item de categoria ── */
.productLinkMob {
  display: block;
  text-decoration: none;
  color: inherit;
}

.productItemMob {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.18s ease;
}
.productItemMob:hover,
.productItemMob:active { background: #fef2f2; }

.productImageMob {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
  flex-shrink: 0;
  border: 1px solid #ececec;
  transition: transform 0.2s ease;
}
.productItemMob:hover .productImageMob { transform: scale(1.04); }

.productNameMob {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.productChevronMob {
  color: #c8c8c8;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────
   Suporte (na view raiz, abaixo das subcategorias)
   ───────────────────────────────────────────────────────── */

.suporteContainerMob {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.suporteItemMob {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.18s ease;
}
.suporteItemMob:hover,
.suporteItemMob:active { background: #f7f7f7; }

.suporteIconMob {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fef2f2;
  color: #BB0606;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.suporteIconMob--wpp { background: #ecfdf5; color: #16a34a; }

.suporteTextMob {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a1a1a;
}

.suporteChevronMob {
  color: #c8c8c8;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── Estados ── */
.errorContainerMob {
  padding: 24px 20px;
  text-align: center;
  color: #BB0606;
  font-size: 0.9rem;
}
.retryButtonMob {
  margin-top: 10px;
  padding: 9px 18px;
  background: #BB0606;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}
.retryButtonMob:hover { background: #9a0505; }

.loadingOverlay {
  padding: 40px 20px;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* Scrollbar discreta */
.mainViewMob::-webkit-scrollbar { width: 4px; }
.mainViewMob::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 4px; }

/* ── Compatibilidade com classes legadas (não usadas mas mantidas) ── */
.logoAnimationContainerMob, .subcategoryViewMob, .productsContainerMob,
.headerMob, .sectionTitleMobCateg, .chevronIconMob, .chevronLeftMob,
.categorySectionMob, .categoryHeaderMob, .categoryNameMob,
.tabsMob, .tabMob, .tabPanelMob, .seminovosSectionMob, .seminovosListMob { /* sem estilo */ }


/* === css/components/ProductPanel.css === */
/* ProductPanel.css */

/* ── Container — abre EXATAMENTE abaixo da navbar ────────────────────
   top usa --navbar-total-height atualizado por dynamic-positioning.js.
   ─────────────────────────────────────────────────────────────────── */
.panelContainer {
  --panel-side-gap: var(--nav-dropdown-gutter, clamp(12px, 2vw, 36px));
  position: fixed;
  top: var(--navbar-total-height, 160px);
  /* Centralizado e capado no mesmo max do conteúdo (1400px) — sem isso
     o fundo branco do container vazava até as bordas da tela em monitores
     largos, deixando "espaço em branco" ao lado do conteúdo. */
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100vw - (var(--panel-side-gap) * 2));
  max-width: 1400px;
  box-sizing: border-box;
  background: #ffffff;
  border-top: 3px solid #BB0606;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  z-index: 1900;
  display: none;
  flex-direction: column;
  max-height: calc(100vh - var(--navbar-total-height, 160px) - var(--panel-side-gap));
  overflow: hidden;
}

.panelContainer.show {
  display: flex;
}

/* Conteúdo interno centrado */
.panelContent {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  overflow: hidden;
}

/* ── Header (título + fechar) ── */
.panelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  flex-shrink: 0;
}

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

.panelHeaderTitle i {
  color: #BB0606;
  font-size: 16px;
}

.panelHeaderTitle h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.2px;
}

/* ── Botão fechar ── */
.closeSection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.closeSection:hover {
  background: #fef2f2;
  color: #BB0606;
  border-color: #BB0606;
}

/* ── Body scrollável ── */
.panelBody {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.panelBody::-webkit-scrollbar { width: 6px; }
.panelBody::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 4px;
}
.panelBody::-webkit-scrollbar-thumb:hover { background: #c8c8c8; }

/* ── Grid de subcategorias ── */
.categoriesContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 28px;
  padding: 22px 28px 28px;
  align-content: flex-start;
}

.subcategorySection {
  padding: 0;
  margin: 0;
}

.subcategoryTitle {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #BB0606;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #BB0606;
  display: block;
}

/* ── Item de categoria ── */
.productItemLink {
  text-decoration: none;
  color: inherit;
  display: block;
}

.productItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.18s ease, transform 0.18s ease;
  cursor: pointer;
  margin-bottom: 2px;
}

.productItem:hover {
  background: #fef2f2;
  transform: translateX(4px);
}

.productImage {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f5f5f5;
  transition: transform 0.2s ease;
}

.productItem:hover .productImage {
  transform: scale(1.04);
}

.productItem span {
  font-size: 13px;
  font-weight: 500;
  color: #222;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.productItem:hover span { color: #BB0606; }

/* ── Loading ── */
.loadingContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 24px;
}

.loadingIcon { width: 36px; height: 36px; }

/* ── Erro ── */
.errorContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 24px;
  color: #BB0606;
  gap: 10px;
  font-size: 14px;
}

.errorContainer i { font-size: 32px; opacity: 0.7; }

.retryButton {
  padding: 10px 24px;
  background: #BB0606;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.2s ease;
  margin-top: 6px;
}

.retryButton:hover { background: #9a0505; }

/* ── Responsividade ── */
@media (max-width: 1024px) {
  .categoriesContainer {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px 20px;
  }
}

@media (max-width: 768px) {
  .panelHeader { padding: 14px 16px; }
  .panelHeaderTitle h2 { font-size: 15px; }
  .panelHeaderTitle i { font-size: 14px; }
  .categoriesContainer {
    padding: 16px;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 4px 14px;
  }
  .subcategoryTitle { font-size: 10px; }
  .productItem span { font-size: 12px; }
  .productImage { width: 36px; height: 36px; border-radius: 6px; }
}

@media (max-width: 480px) {
  .categoriesContainer {
    grid-template-columns: 1fr;
  }
  .closeSection span { display: none; }
  .closeSection { padding: 8px 10px; }
}

