@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #102a53;
    --primary-light: #315a94;
    --primary-dark: #091a33;
    --primary-glow: rgba(16, 42, 83, 0.12);
    --secondary: #05070c;
    --secondary-light: #111722;
    --accent: #17396a;
    --success: #102a53;
    --success-hover: #091a33;
    --warning: #f59e0b;
    --danger: #dc2626;
    --text: #15181e;
    --text-light: #5f6673;
    --text-muted: #858c97;
    --bg: #ffffff;
    --bg-light: #f5f5f5;
    --bg-gray: #eeeeee;
    --bg-card: #ffffff;
    --bg-card-dark: #05070c;
    --border: #e1e4e8;
    --border-light: #eff0f2;
    --shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 22px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 14px 38px rgba(15, 23, 42, 0.13);
    --shadow-primary: 0 0 22px rgba(16, 42, 83, 0.16);
    --shadow-whatsapp: 0 0 25px rgba(37, 211, 102, 0.32);
    --whatsapp: #25D366;
    --whatsapp-hover: #1ebe5d;
    --radius: 12px;
    --radius-lg: 16px;
    --max-width: 1280px;
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --gradient-primary: linear-gradient(135deg, #05070c 0%, #102a53 55%, #17396a 100%);
    --gradient-dark: linear-gradient(180deg, #05070c 0%, #0d1422 100%);
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    font-weight: 800;
    font-style: italic;
    color: var(--text);
}

h1 { font-size: clamp(1.85rem, 2.4vw, 2.6rem); font-weight: 900; }
h2 { font-size: clamp(1.55rem, 1.9vw, 2.1rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.5vw, 1.6rem); font-weight: 800; }
h4 { font-size: 1.12rem; font-weight: 700; }
h5 { font-size: 1.02rem; font-weight: 700; }
h6 { font-size: .95rem; font-weight: 700; }

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 26px rgba(37, 99, 235, 0.38);
    color: white;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-1px);
    background: var(--whatsapp-hover);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: var(--success);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.24);
}

.badge-warning {
    background: var(--warning);
    color: #451a03;
}

.badge-danger {
    background: var(--danger);
    color: #fff;
}

.badge-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.28);
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .grid-4, .grid-3 { gap: 0.8rem; }
}

@media (max-width: 768px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   HEADER BIOVIVANCE — 2 FAIXAS (tema preto/azul escuro)
   Faixa 1 (topo):   fundo branco (logo, busca, ações)
   Faixa 2 (menu):   chips + dropdown Categorias
   ============================================================ */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.header-topbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
}

.header-topbar-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.85rem 0;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 0 0 auto;
    padding-top: 4px;
}

.header-brand .logo-img {
    max-height: 64px;
    width: auto;
    display: block;
    max-width: 320px;
}

.header-search {
    flex: 1 1 auto;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    min-width: 0;
}

.header-search form {
    display: flex;
    width: 100%;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.header-search form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
    transform: translateY(-1px);
}
.header-search input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.5rem 0.85rem;
    border: none;
    background: #ffffff;
    color: var(--text);
    font-size: 0.88rem;
    outline: none;
}
.header-search input::placeholder { color: #9ca3af; }
.header-search button {
    flex: 0 0 auto;
    background: var(--primary);
    color: #fff;
    padding: 0.48rem 0.95rem;
    border: none;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background .2s;
}
.header-search button:hover { background: var(--primary-dark); }

.quick-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
    align-items: center;
}
.quick-search-label {
    font-size: 0.72rem;
    color: rgba(209, 213, 219, .8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.quick-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #1f2937;
    background: #0b1326;
    color: #dbeafe;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .18s, border-color .18s, transform .12s, color .18s;
}
.quick-search-chip i { font-size: 0.72rem; opacity: 0.9; }
.quick-search-chip:hover {
    background: #111b38;
    border-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-1px);
}
.quick-search-chip.whats {
    background: #142747;
    border-color: #294a78;
    color: #dbeafe;
}
.quick-search-chip.whats:hover {
    background: #1e3a8a;
    border-color: #31599d;
    color: #ffffff;
}
.quick-search-chip.track {
    background: #132033;
    border-color: #1e3a8a;
    color: #bfdbfe;
}
.quick-search-chip.track:hover {
    background: #172554;
    border-color: #3b82f6;
    color: #ffffff;
}

.search-drop {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 120;
    background: #ffffff;
    color: #0b0d12;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, .55), 0 4px 12px -2px rgba(15,23,42,.3);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height .22s ease, opacity .18s ease;
}
.search-drop.open {
    max-height: 560px;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}
.search-drop-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem 0.55rem;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: .3px;
}
.search-drop-head .muted { color: #64748b; font-weight: 500; font-size: 0.75rem; }

.search-drop ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.search-drop li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
    transition: background .15s;
}
.search-drop li:last-child a { border-bottom: 0; }
.search-drop li:hover a,
.search-drop li.active a { background: #f1fbf3; }

.s-thumb {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.s-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}
.s-thumb-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
}

.s-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.s-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.s-badge {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 999px;
    letter-spacing: .3px;
    white-space: nowrap;
}
.s-meta {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}
.s-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display, 'Inter', Arial, sans-serif);
    letter-spacing: -0.01em;
}
.s-arrow {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 1rem;
    transition: color .15s, transform .15s;
}
.search-drop li:hover a .s-arrow,
.search-drop li.active a .s-arrow { color: var(--primary); transform: translateX(2px); }

.search-drop-foot {
    border-top: 1px solid #f1f5f9;
    padding: 0.75rem 1rem;
    background: #f8fafc;
}
.s-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background .18s;
}
.s-view-all:hover { background: var(--primary-dark); }

@media (max-width: 760px) {
    .header-search { max-width: 100%; }
    .s-arrow { display: none; }
    .s-thumb { flex:0 0 44px; width:44px; height:44px; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 0 0 auto;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.95rem;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    white-space: nowrap;
    border: 1px solid var(--border);
    background: #ffffff;
}
.header-action i { font-size: 1.05rem; color: var(--primary); }
.header-action:hover { background: var(--primary-glow); color: var(--primary-dark); transform: translateY(-1px); border-color: var(--primary); }
.header-action:hover i { color: var(--primary-dark); }

.header-action.cart-action { color: var(--text); }
.header-action.cart-action i { color: var(--primary); }

.header-action.wa {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}
.header-action.wa i { color: #ffffff; }
.header-action.wa:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #ffffff; }
.header-action.wa:hover i { color: #ffffff; }

.header-action.track { color: var(--text); }
.header-action.track i { color: var(--primary); }

/* ---------- FAIXA 2: MENU (chips + dropdown) ---------- */
.header-menubar {
    background: #ffffff;
    color: var(--text);
    border-top: 1px solid var(--border-light);
}

.header-menubar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s, transform .18s;
    white-space: nowrap;
}

.main-nav a i {
    font-size: 0.88rem;
    color: var(--primary);
    transition: color .18s;
}

.main-nav a:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-glow);
    transform: translateY(-1px);
}
.main-nav a:hover i { color: var(--primary-dark); }

.main-nav a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.main-nav a.active i { color: #ffffff; }

.main-nav a.nav-promo {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}
.main-nav a.nav-promo i { color: #dc2626; }
.main-nav a.nav-promo:hover { background: #fee2e2; border-color: #f87171; color: #b91c1c; }
.main-nav a.nav-promo:hover i { color: #b91c1c; }

/* Dropdown Categorias */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: .35rem; }
.nav-caret { font-size: .62rem !important; margin-left: .15rem; transition: transform .2s; }
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 45px -14px rgba(0,0,0,.22);
    z-index: 1000;
    padding: 0.5rem;
    flex-direction: column;
    gap: 1px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
    padding: 0.6rem 0.85rem;
    color: var(--text) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover { background: var(--primary-glow) !important; color: var(--primary-dark) !important; }
.nav-dropdown-menu a.active { background: var(--primary-glow) !important; color: var(--primary-dark) !important; }
.nav-dropdown-menu .nd-label {
    padding: 0.55rem 0.85rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.nav-dropdown-menu .nd-sub a { padding-left: 1.7rem; font-weight: 500; color: var(--text-light) !important; }

.header-extra {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.primary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.primary-chip:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: #fff !important;
}

.language-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
    background: var(--bg-light);
    color: var(--text);
    font-size: 0.85rem;
    border-radius: 8px;
    cursor: pointer;
}
.language-chip:hover { background: var(--primary-glow); color: var(--primary-dark); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    border-radius: 6px;
}
.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}
.mobile-toggle:hover { background: var(--primary-glow); }

@media (max-width: 1080px) {
    .header-action .label { display: none; }
    .header-action { padding: 0.55rem 0.65rem; }
}
@media (max-width: 920px) {
    .header-topbar-inner { flex-wrap: wrap; }
    .header-search { order: 3; width: 100%; max-width: none; flex: 0 0 100%; }
    .language-chip { display: none; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
    .main-nav.active {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding-top: 0.75rem;
    }
    .main-nav.active a { width: 100%; }
    .nav-dropdown { display: block; width: 100%; }
    .nav-dropdown > a { width: 100%; justify-content: space-between; }
    .nav-dropdown-menu {
        position: static;
        display: flex;
        box-shadow: none;
        border: 1px solid var(--border);
        border-radius: 12px;
        margin: 0.35rem 0;
    }
    .header-extra .primary-chip { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    .header-brand .logo-img { max-height: 46px; }
}

/* ---------- FIM HEADER 2 FAIXAS ---------- */

/* Antigos estilos simples de logo (ainda usados no footer/admin) */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
    font-family: var(--font-display);
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.slide {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

.slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.slider-prev { left: 1.25rem; }
.slider-next { right: 1.25rem; }

@media (max-width: 768px) {
    .slider-arrow { width: 42px; height: 42px; font-size: 0.95rem; }
    .slider-prev { left: 0.5rem; }
    .slider-next { right: 0.5rem; }
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.slider-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.slider-dot.active {
    background: white;
    width: 36px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .slide { min-height: 400px; }
    .slide-content h1 { font-size: 1.8rem; }
    .slide-content p { font-size: 1rem; }
}

.product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px -8px rgba(37, 99, 235, 0.15), 0 10px 25px -10px rgba(0,0,0,0.08);
}

.product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    max-height: 180px;
    background: #f8fafc;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: contain;
    object-position: center;
    padding: 8px;
    transition: transform 0.4s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
}

.product-info {
    padding: 0.7rem 0.85rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
    line-height: 1.22;
    min-height: 2.44em;
}

.product-price {
    margin-top: auto;
    padding-top: 0.35rem;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
}

.price-old {
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-card-footer {
    padding: 0 0.85rem 0.85rem;
    margin-top: -0.1rem;
}

.page-breadcrumb {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.page-breadcrumb .container {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.page-breadcrumb a:hover {
    color: var(--primary);
}

.page-breadcrumb .current {
    color: var(--primary);
    font-weight: 500;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; gap: 1.5rem; }
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: sticky;
    top: 1rem;
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    transform-origin: center center;
}

.gallery-main:hover img {
    transform: scale(1.12);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-gray);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-head h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-head .product-category {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.product-price-large {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-price-large .price-current {
    font-size: 2.25rem;
}

.product-price-large .price-old {
    font-size: 1.1rem;
}

.product-description {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.product-stock .in-stock {
    color: var(--success);
    font-weight: 600;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.qty-label {
    font-weight: 600;
    min-width: 80px;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--bg-light);
    color: var(--text);
    transition: background 0.2s;
}

.qty-btn:hover {
    background: var(--bg-gray);
}

.qty-input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    -moz-appearance: textfield;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shipping-calculator {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.shipping-calculator h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.shipping-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.shipping-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
}

.shipping-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.shipping-results {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid var(--border);
}

.shipping-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-gray);
}

.shipping-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.shipping-option:first-child {
    padding-top: 0;
}

.shipping-info .name {
    font-weight: 600;
    color: var(--text);
}

.shipping-info .deadline {
    font-size: 0.85rem;
    color: var(--text-light);
}

.shipping-price {
    font-weight: 700;
    color: var(--primary);
}

.shipping-price.free {
    color: var(--success);
}

.product-tabs {
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-btn {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-btn.active {
    color: var(--primary);
    border-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.result-card {
    background: var(--secondary-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.result-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
}

.result-images > div {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-gray);
    position: relative;
}

.result-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-label {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.result-info {
    padding: 1rem;
}

.result-title {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.result-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.reviews-section {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius-lg);
}

.review-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.review-author {
    font-weight: 600;
    color: var(--text);
}

.review-stars {
    color: #fbbf24;
    font-size: 0.85rem;
}

.review-text {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.related-products {
    background: var(--bg-light);
}

.site-footer {
    background: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0;
    line-height: 1.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--primary);
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #1ebe5d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .contact-section { grid-template-columns: 1fr; }
}

.contact-info-card {
    background: var(--gradient-primary);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}

.contact-info-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-info-card > p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-item-content h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    font-weight: 500;
}

.contact-form-card {
    background: var(--secondary-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: all 0.2s;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--secondary);
    color: white;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 50;
}

.admin-brand {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 800;
    font-size: 1.2rem;
}

.admin-menu {
    list-style: none;
    padding: 1rem 0;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    background: var(--bg-light);
    min-height: 100vh;
}

.admin-topbar {
    background: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 40;
}

.admin-body {
    padding: 2rem;
}

@media (max-width: 768px) {
    .admin-sidebar { width: 70px; }
    .admin-brand span, .admin-menu span { display: none; }
    .admin-content { margin-left: 70px; }
    .admin-body { padding: 1rem; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.data-table {
    width: 100%;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--bg-light);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: var(--bg-light);
}

.data-table .thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--bg-gray);
}

.actions {
    display: flex;
    gap: 0.5rem;
}

.actions .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

.actions .btn-edit {
    background: var(--warning);
    color: white;
}

.actions .btn-delete {
    background: var(--danger);
    color: white;
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input {
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 280px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0,0,0,0.08), 0 10px 25px -8px rgba(37,99,235,0.16);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    padding: 1.5rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h1 {
    color: var(--primary);
    font-size: 1.75rem;
}

.auth-card h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    animation: modalIn 0.3s;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.25rem;
    color: var(--secondary);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-light);
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

/* ============================================================
   LOGO BRANCO METÁLICO BIOVIVANCE
   Efeito metal branco profissional (idêntico ao logotipo enviado)
   Aplicado automaticamente caso logo_white.png não exista.
   ============================================================ */
.logo-metal-white {
    filter:
        brightness(0) invert(1)
        drop-shadow(0 2px 2px rgba(0,0,0,0.45));
    -webkit-filter:
        brightness(0) invert(1)
        drop-shadow(0 2px 2px rgba(0,0,0,0.45));
    transition: transform .2s ease, filter .2s ease, -webkit-filter .2s ease;
}

.logo-metal-white:hover {
    filter:
        brightness(0) invert(1)
        drop-shadow(0 3px 4px rgba(0,160,255,0.35));
    -webkit-filter:
        brightness(0) invert(1)
        drop-shadow(0 3px 4px rgba(0,160,255,0.35));
    transform: translateY(-1px);
}

/* LOGO VERSÃO COLORIDA/ESCURA — para fundos CLAROS (ex: login card branco) */
.logo-metal-dark {
    /* Leve melhoria de contraste e brilho, mantém cores originais */
    filter:
        contrast(1.05)
        saturate(1.05)
        drop-shadow(0 2px 3px rgba(0,0,0,0.12));
    -webkit-filter:
        contrast(1.05)
        saturate(1.05)
        drop-shadow(0 2px 3px rgba(0,0,0,0.12));
    transition: transform .2s ease, filter .2s ease, -webkit-filter .2s ease;
}
.logo-metal-dark:hover {
    filter:
        contrast(1.1)
        saturate(1.1)
        drop-shadow(0 3px 5px rgba(0,90,200,0.18));
    -webkit-filter:
        contrast(1.1)
        saturate(1.1)
        drop-shadow(0 3px 5px rgba(0,90,200,0.18));
    transform: translateY(-1px);
}

/* Logo no header - tamanhos responsivos */
.site-header .logo img { max-height: 70px; }
@media (max-width: 768px) {
    .site-header .logo img { max-height: 48px; }
    .footer-brand .logo img { max-height: 52px; }
    .admin-brand img { max-height: 40px !important; }
    .auth-logo img { max-height: 72px !important; }
}

/* ============================================================
   CARRINHO - DRAWER LATERAL
============================================================ */
.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
}
.cart-drawer.open { visibility: visible; pointer-events: auto; }

.cart-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .25s ease;
}
.cart-drawer.open .cart-drawer-overlay { opacity: 1; }

.cart-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    color: #111827;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.22,.61,.36,1);
    box-shadow: -18px 0 60px -20px rgba(0,0,0,.45);
    border-left: 1px solid #e5e7eb;
}
.cart-drawer.open .cart-drawer-panel { transform: translateX(0); }

body.cart-drawer-locked { overflow: hidden; }

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #f9fafb;
    position: relative;
}
.cart-drawer-head h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.cart-drawer-head h3 i { color: #60a5fa; }

.cart-drawer-close {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: #e5e7eb;
    width: 36px; height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.02rem;
    transition: all .2s;
}
.cart-drawer-close:hover {
    background: rgba(239,68,68,.2);
    border-color: rgba(239,68,68,.6);
    color: #fff;
    transform: translateY(-1px);
}

.cd-toast {
    position: absolute;
    left: 1.35rem;
    bottom: -38px;
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
    padding: .5rem .85rem;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 600;
    box-shadow: 0 8px 20px -10px rgba(16,185,129,.6);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .45rem;
    animation: cdToastIn .25s ease;
}
@keyframes cdToastIn { from { opacity:0; transform: translateY(-4px); } to { opacity:1; transform: translateY(0);} }

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: .75rem 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f3f4f6;
}
.cart-drawer-body::-webkit-scrollbar { width: 8px; }
.cart-drawer-body::-webkit-scrollbar-track { background: #f9fafb; }
.cart-drawer-body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 999px; }

.cart-drawer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cdi {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: .85rem;
    padding: .95rem 1.35rem;
    border-bottom: 1px solid #f3f4f6;
    align-items: flex-start;
    transition: background .2s;
}
.cdi:hover { background: #fafbfc; }

.cdi-thumb {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    overflow: hidden;
    position: relative;
}
.cdi-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.cdi-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b93a1;
    font-size: 1.35rem;
    background: #f3f4f6;
}
.cdi-body { min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.cdi-name {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.cdi-name:hover { color: #2563eb; }
.cdi-price { font-weight: 700; color: #2563eb; font-size: .92rem; }

.cdi-qty {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    margin-top: .15rem;
}
.cdi-qty-btn {
    width: 28px; height: 28px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    transition: all .15s;
}
.cdi-qty-btn:hover {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}
.cdi-qty-val {
    min-width: 26px;
    text-align: center;
    font-weight: 700;
    color: #111827;
    font-size: .9rem;
}
.cdi-rm {
    margin-left: auto;
    width: 28px; height: 28px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    transition: all .15s;
}
.cdi-rm:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    transform: translateY(-1px);
}
.cdi-sub {
    font-weight: 800;
    color: #0f172a;
    font-size: .95rem;
    padding-top: 26px;
    white-space: nowrap;
}

.cart-drawer-empty {
    padding: 3.5rem 1.5rem;
    text-align: center;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.cart-drawer-empty i {
    font-size: 3rem;
    color: #9ca3af;
}
.cart-drawer-empty p { margin: 0; font-size: .95rem; }
.cart-drawer-empty .btn { min-width: 200px; }

.cart-drawer-foot {
    padding: 1.1rem 1.35rem 1.35rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.cart-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: .2rem;
}
.cart-drawer-subtotal span { color: #6b7280; font-size: .9rem; }
.cart-drawer-subtotal strong {
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.3px;
}
.cart-drawer-hint {
    font-size: .8rem;
    color: #64748b;
    background: #ffffff;
    padding: .55rem .75rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.cart-drawer-hint i { color: #3b82f6; }

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-top: .15rem;
}
.cart-drawer-actions .w-100 { width: 100%; }
.cart-drawer-actions .mt-2 { margin-top: .35rem; }
.cart-drawer-actions .btn {
    padding: .85rem 1rem;
    font-weight: 700;
    border-radius: 12px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all .18s;
    width: 100%;
}
.cart-drawer-actions .btn-primary {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-color: #1e40af;
    box-shadow: 0 8px 20px -8px rgba(37,99,235,.6);
}
.cart-drawer-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -10px rgba(37,99,235,.75);
}
.cart-drawer-actions .btn-primary.btn-lg { padding: 1rem 1rem; font-size: 1rem; }
.cart-drawer-actions .btn-outline {
    background: #ffffff;
    color: #374151;
    border-color: #d1d5db;
}
.cart-drawer-actions .btn-outline:hover {
    border-color: #2563eb;
    color: #1d4ed8;
    background: #eff6ff;
}

@media (max-width: 640px) {
    .cart-drawer-panel { max-width: 100%; }
    .cdi { grid-template-columns: 62px 1fr auto; padding: .8rem 1rem; gap: .7rem; }
    .cdi-thumb { width: 62px; height: 62px; }
    .cart-drawer-subtotal strong { font-size: 1.25rem; }
    .cart-drawer-head { padding: 1rem; }
    .cart-drawer-foot { padding: 1rem; }
    .cd-toast { font-size: .8rem; left: 1rem; }
}

/* ============================================================
   RESPONSIVIDADE EXTREMA — OVERFLOW-X ZERO + MOBILE-FIRST
   Regras que sobrescrevem as acima para layout perfeito
   em QUALQUER tamanho de tela (320px a 4K).
   ============================================================ */

/* ---------- FIX #1: ZERO OVERFLOW HORIZONTAL ---------- */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

*,
*::before,
*::after {
    min-width: 0;
    max-width: 100%;
}

img, table, iframe, video, object, embed, select, input, textarea {
    max-width: 100%;
}

table {
    table-layout: fixed;
}

h1, h2, h3, h4, h5, h6,
p, span, a, li, td, th, button, label, input, textarea {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ---------- CONTAINER E SECTIONS ---------- */
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 0.85rem; }
    .section { padding: 2rem 0; }
    .section-title { font-size: 1.35rem; }
    .section-subtitle { font-size: .92rem; margin-bottom: 2rem; }
}

/* ---------- FIX #2: HEADER RESPONSIVO REFORÇADO ---------- */
@media (max-width: 560px) {
    .quick-search { display: none; }
    .header-actions { gap: 0.4rem; }
    .header-action { padding: 0.45rem 0.55rem !important; }
    .header-action i { font-size: 0.95rem !important; }
}

@media (max-width: 768px) {
    .header-menubar-inner { flex-wrap: wrap; }
    .main-nav.active { order: 3; width: 100%; }
    .header-extra .primary-chip span { display: none; }
    .header-extra .primary-chip { padding: 0.5rem 0.7rem !important; }
    .header-brand { padding-top: 0 !important; }
    .header-brand .logo-img {
        max-height: 56px !important;
        height: 56px !important;
        max-width: 230px !important;
    }
    .header-topbar-inner { padding: 0.65rem 0; }
}

@media (max-width: 920px) {
    .header-search { margin-top: 0.35rem; }
    .header-topbar-inner { align-items: center; }
}

/* ---------- FIX #3: GRADES + CARDS DE PRODUTO ---------- */
.product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .product-image { max-height: 150px; aspect-ratio: 4 / 3; }
    .product-image img { max-height: 150px; }
}

@media (max-width: 480px) {
    .product-info { padding: 0.55rem 0.65rem; }
    .product-category { font-size: 0.74rem; }
    .product-name { font-size: 0.82rem; min-height: auto; }
    .price-current { font-size: 0.95rem; }
    .product-card-footer { padding: 0 0.65rem 0.65rem; }
    .product-card-footer .btn {
        width: 100%;
        padding: 0.65rem 0.8rem;
        font-size: 0.86rem;
    }
    .grid { gap: 0.85rem; }
}

/* ---------- HERO SLIDER MOBILE ---------- */
@media (max-width: 480px) {
    .slide { min-height: 300px; }
    .slide-content { padding: 1.25rem; }
    .slide-content h1 { font-size: 1.5rem; }
    .slide-content p { font-size: 0.92rem; margin-bottom: 1.25rem; }
    .slide-content .btn { padding: 0.65rem 1.1rem; font-size: 0.88rem; }
    .slider-arrow { width: 36px; height: 36px; font-size: 0.82rem; }
    .slider-prev { left: 0.35rem; }
    .slider-next { right: 0.35rem; }
}

/* ---------- FIX #4: RODAPÉ, PÁGINAS INTERNAS, TABELAS ---------- */
@media (max-width: 480px) {
    .site-footer { padding: 2.5rem 0 1.5rem; }
    .footer-grid { gap: 1.75rem; margin-bottom: 2rem; }
    .footer-title { margin-bottom: 1rem; font-size: 0.95rem; }
    .footer-brand p { font-size: 0.88rem; margin: 0.75rem 0; }
    .footer-links li { margin-bottom: 0.55rem; }
    .footer-links a { font-size: 0.88rem; }
    .footer-contact p { font-size: 0.88rem; margin-bottom: 0.55rem; }
    .footer-bottom { padding-top: 1.25rem; font-size: 0.82rem; }
    .site-footer .footer-brand img { max-height: 64px !important; height: 64px !important; }
}

@media (max-width: 640px) {
    .product-head h1 { font-size: 1.45rem; }
    .product-price-large { padding: 1rem 0; margin: 1rem 0; }
    .product-price-large .price-current { font-size: 1.75rem; }
    .quantity-selector {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
    .qty-label { min-width: auto; }
    .shipping-calculator { padding: 1rem; }
    .shipping-form { flex-direction: column; }
    .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* TABELAS ADMIN — scroll horizontal obrigatório */
.data-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    width: 100%;
}
.data-table table {
    min-width: 680px;
    width: 100%;
}

@media (max-width: 768px) {
    .admin-topbar { padding: 0.85rem 1rem; }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-card { padding: 1rem; }
    .stat-value { font-size: 1.5rem; }
    .card { padding: 1.25rem; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .search-input { min-width: auto; width: 100%; }
    .actions { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .contact-info-card { padding: 1.5rem; }
    .contact-form-card { padding: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-item { padding: 0.75rem 0; gap: 0.75rem; }
    .contact-icon { width: 42px; height: 42px; font-size: 1.05rem; }
    .contact-item-content p { font-size: 0.88rem; word-break: break-word; }
    .results-gallery {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
    .result-info { padding: 0.75rem; }
}

/* WHATSAPP FLUTUANTE MOBILE */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ---------- HOME / ESTRUTURA DO FORNECEDOR ---------- */
.hero {
    background: linear-gradient(180deg, #f1fbf3 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 1.5rem;
}

.hero-copy { max-width: 580px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border-radius: 999px;
    background: var(--primary-glow);
    color: var(--primary-dark);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .3px;
    margin-bottom: 1.15rem;
}

.hero-copy h1 {
    font-style: normal;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.hero-copy h1 .hl { color: var(--primary); }

.hero-copy p {
    color: var(--text-light);
    font-size: 1.06rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.hero-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-row .feature-card { padding: 1.5rem 1.25rem; }
.feature-row .feature-icon { width: 58px; height: 58px; font-size: 1.4rem; }
.feature-row .feature-card h3 { font-size: 1.02rem; }
.feature-row .feature-card p { font-size: .88rem; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.section-head h2 { font-style: normal; font-weight: 800; }
.section-head p { color: var(--text-light); font-size: .98rem; margin-top: .35rem; }

.section-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--primary);
    font-weight: 700;
    font-size: .92rem;
    white-space: nowrap;
    transition: gap .2s, color .2s;
}

.section-link:hover { color: var(--primary-dark); gap: .65rem; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--primary);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: .4rem;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.35rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .25s, border-color .25s;
}

.step-card:hover { transform: translateY(-3px); border-color: var(--primary); }

.step-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px #fff;
}

.step-card h3 { font-style: normal; font-size: 1.05rem; margin: .5rem 0 .4rem; }
.step-card p { color: var(--text-light); font-size: .9rem; }

.cta-band { background: var(--gradient-primary); color: #fff; }

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.75rem 1.5rem;
}

.cta-band h2 { color: #fff; font-style: normal; font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .92); margin-top: .35rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.trust-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    list-style: none;
    margin: 1.25rem 0;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--text-light);
    font-size: .92rem;
}

.trust-list li i { color: var(--primary); width: 18px; text-align: center; }

@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
    .hero-media { max-width: 560px; aspect-ratio: 16 / 10; }
    .feature-row { grid-template-columns: repeat(2, 1fr); }
    .how-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
}

@media (max-width: 640px) {
    .feature-row { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
}

/* ---------- CATÁLOGO / FILTROS ---------- */
.catalog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1rem;
}

.catalog-chips-sub {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-light);
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s;
}

.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-glow); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.chip-promo { color: #dc2626; }
.chip-promo:hover { border-color: #dc2626; color: #dc2626; background: rgba(220, 38, 38, .08); }
.chip-promo.active { background: #dc2626; border-color: #dc2626; color: #fff; }

.catalog-toolbar {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 1.25rem 0 1.5rem;
}

.catalog-search {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.catalog-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.catalog-search input {
    width: 100%;
    padding: .7rem 1rem .7rem 2.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.catalog-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

.catalog-order {
    padding: .7rem 2.4rem .7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: #fff;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.catalog-order:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

/* ---------- ATALHOS DA HOME ---------- */
.catalog-discovery {
    padding: 2rem 0;
    background: #fff;
}

.catalog-discovery-inner {
    display: grid;
    grid-template-columns: minmax(250px, .9fr) minmax(0, 2.1fr);
    align-items: center;
    gap: 2rem;
}

.catalog-discovery h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
}

.catalog-discovery-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .45rem;
    padding: .4rem;
    border: 1px solid #f0f1f0;
    border-radius: 19px;
    background: #f5f6f5;
}

.discovery-link {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .7rem .8rem;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #fff;
    color: #555b57;
    font-size: .92rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.discovery-link i { color: #767d78; font-size: .98rem; }
.discovery-link:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(0, 0, 0, .08); color: var(--primary-dark); }
.discovery-link.discovery-new { background: #1e3a8a; color: #fff; }
.discovery-link.discovery-new i { color: #fff; }
.discovery-link.discovery-new:hover { background: var(--primary-dark); color: #fff; }
.discovery-link.discovery-sale { background: #fff5f5; border-color: #ffdddd; color: #dc2626; }
.discovery-link.discovery-sale i { color: #dc2626; }
.discovery-link:focus-visible { outline: 3px solid rgba(96, 165, 250, .45); outline-offset: 2px; }

/* ---------- MENU PRINCIPAL MODERNO ---------- */
header.site-header { box-shadow: 0 8px 24px rgba(15, 23, 42, .045); }
.header-topbar-inner { align-items: center; }
.header-brand { padding-top: 0; }
.header-search form { background: #f8faf8; border-color: #e6ebe7; }
.header-search form:focus-within { background: #fff; }
.header-action { border-radius: 12px; }
.header-menubar { background: #fff; border-top: 1px solid #f0f2f0; }
.header-menubar-inner { min-height: 58px; padding: .45rem 0; }

.main-nav {
    flex-wrap: nowrap;
    gap: .25rem;
}

.main-nav a,
.main-nav .nav-dropdown > summary {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .55rem .78rem;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #4b514d;
    font-size: .86rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.main-nav a i,
.main-nav .nav-dropdown > summary > i:first-child { color: #737b75; }
.main-nav a:hover,
.main-nav .nav-dropdown > summary:hover { background: #111f35; color: #bfdbfe; }
.main-nav a:hover i,
.main-nav .nav-dropdown > summary:hover > i:first-child { color: var(--primary-dark); }

.main-nav a.active,
.main-nav .nav-dropdown.active > summary {
    background: #142747;
    border-color: #254477;
    color: #bfdbfe;
    box-shadow: none;
}
.main-nav a.active i,
.main-nav .nav-dropdown.active > summary > i:first-child { color: var(--primary-dark); }
.main-nav a.nav-promo { background: #fff5f5; border-color: #ffe1e1; color: #dc2626; }
.main-nav a.nav-promo i { color: #dc2626; }
.main-nav a.nav-promo:hover { background: #feecec; border-color: #ffd2d2; color: #b91c1c; }
.main-nav a.nav-promo.active { background: #dc2626; border-color: #dc2626; color: #fff; }
.main-nav a.nav-promo.active i { color: #fff; }

.nav-dropdown {
    display: inline-flex;
    position: relative;
    flex: 0 0 auto;
}

.main-nav .nav-dropdown > summary {
    list-style: none;
}

.main-nav .nav-dropdown > summary::-webkit-details-marker { display: none; }
.main-nav .nav-dropdown > summary::marker { content: ""; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown[open] .nav-caret { transform: rotate(180deg); }
.nav-dropdown[open] > .nav-dropdown-menu { display: flex; }
.main-nav .nav-caret { margin-left: .1rem; color: #89908b; font-size: .65rem; transition: transform .2s ease; }

.nav-dropdown-menu {
    top: calc(100% + 10px);
    min-width: 285px;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: .65rem;
    border-color: #e9eeea;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}

.nav-dropdown-menu .nav-menu-all {
    margin-bottom: .45rem;
    background: #142747 !important;
    color: #bfdbfe !important;
}
.nav-dropdown-menu .nd-label {
    display: block;
    padding: .55rem .75rem .25rem;
    border: 0 !important;
    color: #343b36 !important;
    font-size: .78rem;
    font-weight: 750;
    text-transform: none;
    letter-spacing: 0;
}
.nav-dropdown-menu .nd-label:hover { background: transparent !important; color: var(--primary-dark) !important; }
.nav-dropdown-menu .nd-sub {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    min-height: 34px;
    padding: .4rem .75rem .4rem 1.4rem;
    border: 0 !important;
    color: #68716b !important;
    font-size: .84rem;
    font-weight: 500;
}
.nav-dropdown-menu .nd-sub:hover { background: #142747 !important; color: #bfdbfe !important; }

.mobile-toggle {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}
.mobile-toggle:hover { border-color: #cfe8d4; }

@media (max-width: 1100px) {
    .main-nav { gap: .05rem; }
    .main-nav a,
    .main-nav .nav-dropdown > summary { padding-right: .58rem; padding-left: .58rem; font-size: .82rem; }
}

@media (max-width: 1150px) {
    .main-nav { flex-wrap: wrap; }
    .catalog-discovery-inner { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 768px) {
    .header-menubar { background: #fff; }
    .header-menubar-inner { justify-content: flex-end; gap: .5rem; }
    .main-nav.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        padding: .75rem;
        border: 1px solid #e9eeea;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .09);
    }
    .main-nav.active > a,
    .main-nav.active .nav-dropdown > summary { width: 100%; justify-content: flex-start; }
    .main-nav.active .nav-dropdown { display: block; width: 100%; }
    .main-nav.active .nav-dropdown > summary { justify-content: space-between; }
    .main-nav.active .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        max-height: 45vh;
        margin: .3rem 0 .4rem;
        border-radius: 12px;
        box-shadow: none;
    }
    .main-nav.active .nav-dropdown[open] > .nav-dropdown-menu { display: flex; }
    .catalog-discovery { padding: 1.5rem 0; }
    .catalog-discovery-links {
        display: flex;
        gap: .5rem;
        overflow-x: auto;
        padding: .35rem;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .discovery-link { flex: 0 0 auto; min-width: 145px; }
}

/* ---------- TEMA PRETO E AZUL ESCURO ---------- */
:root { color-scheme: light; }

body {
    background: var(--bg);
    color: var(--text);
}

::selection { background: rgba(59, 130, 246, .38); color: #fff; }

header.site-header,
.header-topbar,
.header-menubar,
.header-menubar-inner { background-color: #080d17; }

.header-topbar,
.header-menubar { border-color: #1c2940; }
.header-search form,
.header-search input { background: #0e1726; color: var(--text); }
.header-search input { color: #edf3fc; }
.header-search form:focus-within { background: #0e1726; box-shadow: 0 0 0 3px rgba(59, 130, 246, .22); }
.header-search input::placeholder { color: #8290a7; }
.header-action { background: #101a2b; border-color: #263650; color: #e6edf7; }
.header-action:hover { background: #142747; border-color: #36527a; color: #e6edf7; }
.header-action:hover i { color: #93c5fd; }
.header-action.track,
.header-action.cart-action { color: #e6edf7; }
.header-action.track i,
.header-action.cart-action i { color: #93c5fd; }
.header-action.wa { background: var(--primary); border-color: var(--primary); color: #fff; }
.header-action.wa:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.mobile-toggle { background: #101a2b; border-color: #263650; }
.mobile-toggle span { background: #e6edf7; }
.mobile-toggle:hover { border-color: #36527a; }
.main-nav a,
.main-nav .nav-dropdown > summary { color: #c5d0e0; }
.main-nav a:hover,
.main-nav .nav-dropdown > summary:hover { background: #111f35; color: #93c5fd; }
.main-nav a.active,
.main-nav .nav-dropdown.active > summary { background: #142747; border-color: #254477; color: #bfdbfe; }
.main-nav a.active { box-shadow: none; }
.main-nav a.active i,
.main-nav .nav-dropdown.active > summary > i:first-child { color: #93c5fd; }
.nav-dropdown-menu { background: #0d1625; border-color: #27364d; }
.nav-dropdown-menu .nav-menu-all { background: #142747 !important; color: #bfdbfe !important; }
.nav-dropdown-menu .nd-label { color: #e5edf8 !important; }
.nav-dropdown-menu .nd-sub { color: #aab8cc !important; }
.nav-dropdown-menu .nd-sub:hover { background: #142747 !important; color: #bfdbfe !important; }
.search-drop { background: #0d1625; color: #edf3fc; border-color: #27364d; }
.search-drop-head,
.search-drop-foot { background: #101b2c; border-color: #27364d; color: #dce6f4; }
.search-drop li a { color: #e5edf8; border-color: #202e43; }
.search-drop li:hover a,
.search-drop li.active a { background: #142747; }
.s-title { color: #f1f5fb; }
.s-meta { color: #a3b1c5; }

.hero {
    background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
    border-color: #e1e4e8;
}
.hero-copy p,
.section-head p,
.step-card p,
.trust-list li { color: #5f6673; }
.hero-eyebrow { background: #f0f2f5; color: #102a53; }
.hero-media { background: #f5f5f5; }

.catalog-discovery { background: #ffffff; }
.catalog-discovery-links { background: #f5f5f5; border-color: #e6e7e9; }
.discovery-link { background: #ffffff; color: #333943; border-color: #e1e4e8; }
.discovery-link i { color: #102a53; }
.discovery-link:hover { color: #091a33; box-shadow: 0 8px 22px rgba(15, 23, 42, .1); }
.discovery-link.discovery-new { background: #102a53; border-color: #102a53; color: #fff; }
.discovery-link.discovery-new i { color: #fff; }
.discovery-link.discovery-new:hover { background: #091a33; }
.discovery-link.discovery-sale { background: #f5f5f5; border-color: #e1e4e8; color: #102a53; }
.discovery-link.discovery-sale i { color: #102a53; }
.main-nav a.nav-promo { background: #15213a; border-color: #2c4267; color: #bfdbfe; }
.main-nav a.nav-promo i { color: #93c5fd; }
.main-nav a.nav-promo:hover { background: #1c3154; border-color: #3e5d8c; color: #dbeafe; }
.main-nav a.nav-promo.active { background: #102a53; border-color: #102a53; color: #fff; }
.main-nav a.nav-promo.active i { color: #fff; }
.discovery-link:focus-visible { outline-color: rgba(96, 165, 250, .55); }

.product-card,
.feature-card,
.step-card,
.contact-form-card,
.result-card,
.data-table,
.stat-card,
.admin-topbar {
    background: #ffffff;
    border-color: #e1e4e8;
    color: #15181e;
}
.product-card { box-shadow: 0 4px 18px rgba(15, 23, 42, .07); }
.product-card:hover,
.feature-card:hover { box-shadow: 0 12px 28px rgba(15, 23, 42, .12), 0 0 18px rgba(16, 42, 83, .08); }
.product-image,
.gallery-thumb,
.gallery-main,
.cdi-thumb { background: #ffffff; }
.gallery-main { border-color: #e1e4e8; }
.feature-icon { background: #f0f2f5; color: #102a53; }
.step-num { box-shadow: 0 0 0 4px #ffffff; }
.page-breadcrumb { background: #f5f5f5; border-color: #e1e4e8; }
.shipping-calculator,
.reviews-section { background: #f5f5f5; }
.shipping-form input,
.form-control,
.catalog-search input,
.catalog-order,
.qty-input {
    background-color: #ffffff;
    border-color: #d8dce2;
    color: #15181e;
}
.shipping-form input::placeholder,
.form-control::placeholder,
.catalog-search input::placeholder { color: #858c97; }
.qty-controls { border-color: #d8dce2; }
.qty-btn { background: #f5f5f5; color: #15181e; }
.qty-btn:hover { background: #e9ebee; }
.tabs-nav { border-color: #e1e4e8; }
.tab-btn { color: #5f6673; }
.tab-btn.active { color: #102a53; border-color: #102a53; }
.trust-list li i { color: #102a53; }
.site-footer { background: #05070c; border-top: 1px solid #1b2940; }
.announcement-bar { background: #101e39; color: #fff; }
.announcement-bar .container { color: #e6edf7; }

.catalog-chips-sub { border-color: #e1e4e8; }
.chip { background: #f5f5f5; border-color: #e1e4e8; color: #333943; }
.chip:hover { background: #e9ebee; color: #102a53; }
.chip.active { background: #102a53; border-color: #102a53; color: #fff; }
.chip-promo { background: #f5f5f5; border-color: #e1e4e8; color: #102a53; }
.chip-promo:hover { background: #e9ebee; border-color: #cbd2dc; color: #091a33; }
.chip-promo.active { background: #102a53; border-color: #102a53; color: #fff; }
.catalog-search input:focus,
.catalog-order:focus,
.form-control:focus { border-color: #102a53; box-shadow: 0 0 0 3px rgba(16, 42, 83, .12); }
.cta-band { background: #f5f5f5; color: #15181e; }
.cta-band h2 { color: #15181e; }
.cta-band p { color: #5f6673; }

.cart-drawer-panel { background: #ffffff; color: #15181e; border-color: #e1e4e8; }
.cart-drawer-head { border-color: #e1e4e8; background: #f5f5f5; }
.cart-drawer-body { scrollbar-color: #b8bec8 #f5f5f5; }
.cart-drawer-body::-webkit-scrollbar-track { background: #f5f5f5; }
.cart-drawer-body::-webkit-scrollbar-thumb { background: #b8bec8; }
.cdi { border-color: #e1e4e8; }
.cdi:hover { background: #f5f5f5; }
.cdi-thumb,
.cdi-qty-btn { background-color: #f5f5f5; border-color: #d8dce2; }
.cdi-thumb { background-color: #ffffff; }
.cdi-name,
.cdi-qty-val,
.cdi-sub { color: #15181e; }
.cdi-price,
.cdi-name:hover,
.cart-drawer-hint i { color: #102a53; }
.cart-drawer-empty { color: #5f6673; }
.cart-drawer-foot { background: #f5f5f5; border-color: #e1e4e8; }
.cart-drawer-subtotal span,
 .cart-drawer-hint { color: #5f6673; }
.cart-drawer-subtotal strong { color: #15181e; }
.cart-drawer-hint { background: #f5f5f5; border-color: #e1e4e8; }
.cart-drawer-actions .btn-outline { color: #102a53; border-color: #102a53; }
.cart-drawer-actions .btn-outline:hover { background: #e9ebee; }
.cd-toast { background: #102a53; border-color: #102a53; color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); }

.data-table,
.data-table td,
.admin-content { background: #ffffff; color: #15181e; }
.data-table th,
.data-table tr:hover { background: #f5f5f5; color: #15181e; }
.admin-topbar { background: #080d17; color: #fff; border-color: #263650; }
.alert-success,
.alert-info { background: #f5f5f5; color: #102a53; border-color: #e1e4e8; }

.cart-table a[style*="background:#fff"],
.cart-table div[style*="background:#fff"],
.tracking-card div[style*="background:#fff"] {
    background-color: #ffffff !important;
}

@media (max-width: 768px) {
    .main-nav.active { background: #080d17; border-color: #263650; }
    .main-nav.active .nav-dropdown-menu { background: #0d1625; }
    .header-action { background: #101a2b; }
}

/* ---------- BANNERS DA HOME ---------- */
.home-slides-section {
    padding: 1.5rem 0;
    background: #ffffff;
}

.home-slide-showcase {
    position: relative;
    aspect-ratio: 3 / 1;
    max-height: 500px;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: var(--radius-lg);
    background: #f5f5f5;
    box-shadow: var(--shadow-md);
}

.home-slide-showcase .slide {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.home-slide-showcase .slide:not(:first-child) { display: none; }
.home-slide-link { display: block; width: 100%; height: 100%; }
.home-slide-showcase .slide img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
}

.home-slide-showcase .slider-arrow {
    width: 44px;
    height: 44px;
    background: #102a53;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .24);
}
.home-slide-showcase .slider-arrow:hover { background: #091a33; }
.home-slide-showcase .slider-nav { bottom: .8rem; }
.home-slide-showcase .slider-dot {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(16, 42, 83, .45);
}
.home-slide-showcase .slider-dot.active { background: #102a53; border-color: #ffffff; }

@media (max-width: 768px) {
    .home-slides-section { padding: 1rem 0; }
    .home-slide-showcase { border-radius: 12px; }
    .home-slide-showcase .slider-arrow { width: 36px; height: 36px; }
    .home-slide-showcase .slider-nav { bottom: .45rem; }
    .home-slide-showcase .slider-dot { width: 9px; height: 9px; }
    .home-slide-showcase .slider-dot.active { width: 26px; }
}

/* Descoberta da home inspirada na hierarquia da referência. */
.home-category-section {
    padding: 2.2rem 0 2.6rem;
    background: #fff;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.home-section-eyebrow {
    display: block;
    margin-bottom: .35rem;
    color: #87909d;
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .14em;
}

.home-section-heading h2,
.home-brands-heading h2 {
    margin: 0;
    color: #15181e;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    font-style: normal;
    letter-spacing: -.035em;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.home-category-card {
    display: flex;
    min-height: 205px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    padding: 1.25rem .9rem;
    border: 1px solid #e4e6e9;
    border-radius: 20px;
    background: #fff;
    color: #15181e;
    text-align: center;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-category-card:hover {
    transform: translateY(-3px);
    border-color: #b9dfc1;
    box-shadow: 0 12px 28px rgba(17, 34, 54, .08);
}

.home-category-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 17px;
    background: #f4f6f5;
    color: var(--primary);
    font-size: 1.35rem;
}

.home-category-name {
    max-width: 18ch;
    font-size: .98rem;
    font-weight: 650;
    line-height: 1.35;
}

.home-category-count {
    margin-top: -.45rem;
    color: #8a929d;
    font-size: .84rem;
}

.home-benefits-section {
    padding: 1.8rem 0;
    border-top: 1px solid #f0f1f2;
    border-bottom: 1px solid #f0f1f2;
    background: #fff;
}

.home-benefits-section .feature-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.home-benefits-section .feature-card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: .85rem;
    padding: .55rem;
    text-align: left;
}

.home-benefits-section .feature-icon {
    grid-row: 1 / 3;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin: 0;
    border: 1px solid #edf0ed;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 1.25rem;
}

.home-benefits-section .feature-card h3 {
    margin: 0 0 .15rem;
    font-size: .98rem;
    font-style: normal;
}

.home-benefits-section .feature-card p {
    margin: 0;
    color: #7d8793;
    font-size: .86rem;
}

.home-brands-section {
    padding: 2.8rem 0 3rem;
    background: #fafafa;
}

.home-brands-heading {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Carrossel de marcas com rolagem automática (marquee) */
.brands-marquee {
    position: relative;
    overflow: hidden;
    padding: .6rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.brands-marquee-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    will-change: transform;
    animation: brands-marquee-scroll 32s linear infinite;
}

.brands-marquee:hover .brands-marquee-track,
.brands-marquee:focus-within .brands-marquee-track {
    animation-play-state: paused;
}

@keyframes brands-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .brands-marquee-track { animation: none; }
}

.home-brand-card {
    display: flex;
    flex: 0 0 auto;
    width: 220px;
    margin-right: 1rem;
    min-height: 168px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 1rem;
    border: 1px solid #e5e7ea;
    border-radius: 18px;
    background: #fff;
    color: #17253b;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(17, 34, 54, .035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-brand-thumb {
    display: grid;
    width: 100%;
    height: 96px;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #f6f8f7;
}

.home-brand-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .25s ease;
}

.home-brand-thumb-empty {
    color: var(--primary);
    font-size: 1.6rem;
}

.home-brand-name {
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.home-brand-card:hover {
    transform: translateY(-2px);
    border-color: #c6d3e4;
    box-shadow: 0 10px 24px rgba(17, 34, 54, .08);
}

.home-brand-card:hover .home-brand-thumb img {
    transform: scale(1.05);
}

@media (max-width: 1000px) {
    .home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-benefits-section .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-brand-card { width: 190px; min-height: 152px; }
    .home-brand-thumb { height: 84px; }
}

@media (max-width: 600px) {
    .home-category-section { padding: 1.6rem 0 2rem; }
    .home-section-heading { align-items: center; }
    .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .home-category-card { min-height: 168px; padding: 1rem .6rem; border-radius: 16px; }
    .home-category-icon { width: 50px; height: 50px; border-radius: 15px; }
    .home-category-name { font-size: .9rem; }
    .home-benefits-section .feature-row { grid-template-columns: 1fr; gap: .7rem; }
    .home-benefits-section .feature-card { grid-template-columns: 52px minmax(0, 1fr); }
    .home-benefits-section .feature-icon { width: 48px; height: 48px; }
    .home-brands-section { padding: 2.2rem 0; }
    .home-brand-card { width: 168px; min-height: 138px; border-radius: 14px; margin-right: .75rem; }
    .home-brand-thumb { height: 74px; }
    .home-brand-name { font-size: .86rem; }
}

/* Navegacao em duas camadas, inspirada na referencia */
.header-topbar-inner {
    align-items: center;
    gap: 1.2rem;
    padding-top: .7rem;
    padding-bottom: .7rem;
}

.header-brand { align-items: center; }
.header-brand .logo-img { width: 88px; height: 64px; max-height: 64px; object-fit: contain; }

.header-primary-nav {
    display: flex;
    align-items: center;
    gap: .2rem;
    flex: 0 0 auto;
}

.header-primary-nav a {
    padding: .65rem .8rem;
    border-radius: 10px;
    color: #dbe5f3;
    font-size: .92rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.header-primary-nav a:hover,
.header-primary-nav a.active {
    background: #142747;
    color: #ffffff;
}

.header-search { max-width: none; }
.header-actions { gap: .5rem; }
.header-action { min-height: 44px; }
.header-action.track { order: 0; }
.header-action.cart-action { order: 1; }
.header-action.contact-action { order: 0; }

.header-menubar-inner {
    min-height: 58px;
    align-items: center;
    gap: .8rem;
    padding: .3rem 0;
}

.category-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: .45rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar { display: none; }
.category-nav > * { flex: 0 0 auto; }

.category-nav > a,
.category-nav .nav-dropdown > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    min-height: 42px;
    padding: .55rem .8rem;
    border: 1px solid #263650;
    border-radius: 999px;
    background: #101a2b;
    color: #e5edf8;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.category-nav .nav-dropdown > summary {
    background: #142747;
    border-color: #254477;
    color: #ffffff;
}

.category-nav > a:hover,
.category-nav .nav-dropdown > summary:hover,
.category-nav > a.active,
.category-nav .nav-dropdown.active > summary {
    background: #1b3763;
    border-color: #3b6198;
    color: #ffffff;
}

.category-nav > a.nav-promo,
.category-nav > a.nav-promo:hover,
.category-nav > a.nav-promo.active {
    background: #142747;
    border-color: #315487;
    color: #bfdbfe;
}

.category-nav > a.nav-promo i,
.category-nav > a i,
.category-nav .nav-dropdown > summary > i:first-child {
    color: #93c5fd;
}

.category-nav .nav-dropdown { flex: 0 0 auto; }
.category-nav .nav-dropdown-menu { top: calc(100% + 8px); }

.header-help-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .7rem;
    border-radius: 10px;
    color: #c5d0e0;
    font-size: .84rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.header-help-link:hover,
.header-help-link.active { background: #142747; color: #ffffff; }
.header-help-link i { color: #93c5fd; }

/* Catalogo com filtros laterais e paginacao */
.catalog-page { padding: 2rem 0 3rem; }

.catalog-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.catalog-eyebrow {
    display: inline-block;
    margin-bottom: .35rem;
    color: #52709b;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.catalog-page-heading h1 {
    margin: 0;
    color: #15181e;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    font-style: normal;
    line-height: 1.15;
}

.catalog-page-heading p {
    margin: .45rem 0 0;
    color: #687180;
}

.catalog-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 82px;
    padding: .55rem .8rem;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    background: #f5f5f5;
    color: #647084;
    font-size: .76rem;
}

.catalog-total strong { color: #102a53; font-size: 1.25rem; }

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
}

.catalog-sidebar {
    position: sticky;
    top: 145px;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: 14px;
    background: #ffffff;
}

.catalog-filter-heading {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #e8eaee;
}

.catalog-filter-heading i { color: #315487; }
.catalog-filter-heading h2 { margin: 0; color: #15181e; font-size: 1rem; font-style: normal; }

.catalog-promo-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .85rem 1.1rem;
    border-bottom: 1px solid #e8eaee;
    color: #172554;
}

.catalog-promo-filter label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 650;
}

.catalog-promo-filter input { width: 16px; height: 16px; accent-color: #1d4ed8; }
.catalog-promo-filter > i { color: #315487; }

.catalog-filter-group { padding: .85rem .7rem 1rem; }
.catalog-filter-group h3 {
    margin: 0 .4rem .55rem;
    color: #15181e;
    font-size: .92rem;
    font-weight: 750;
    font-style: normal;
}

.catalog-filter-link {
    display: block;
    padding: .48rem .55rem;
    border-radius: 8px;
    color: #555f6e;
    font-size: .87rem;
    line-height: 1.3;
    text-decoration: none;
}

.catalog-filter-parent { margin-top: .22rem; color: #28364c; font-weight: 700; }
.catalog-filter-sub { padding-left: 1.15rem; font-size: .83rem; }
.catalog-filter-link:hover,
.catalog-filter-link.active { background: #edf3fc; color: #102a53; }

.catalog-brand-filters {
    border-top: 1px solid #e8eaee;
}

.catalog-brand-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .45rem .55rem;
    border-radius: 8px;
    color: #555f6e;
    font-size: .86rem;
    text-decoration: none;
}

.catalog-brand-link small { color: #8490a0; font-size: .76rem; }
.catalog-brand-link:hover,
.catalog-brand-link.active { background: #edf3fc; color: #102a53; }

.catalog-results { min-width: 0; }
.catalog-toolbar { margin: 0 0 1rem; }
.catalog-sort-label { color: #697384; font-size: .82rem; white-space: nowrap; }
.catalog-results-meta {
    margin: 0 0 .85rem;
    color: #707887;
    font-size: .84rem;
}
.catalog-results-meta strong { color: #252b35; }
.catalog-product-grid { align-items: stretch; gap: 1rem; }
.catalog-product-grid .product-image { max-height: 220px; }
.catalog-product-grid .product-image img { max-height: 220px; }

.catalog-empty {
    padding: 4rem 1rem;
    border: 1px solid #e1e4e8;
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
}

.catalog-empty > i { margin-bottom: .8rem; color: #8a95a5; font-size: 2.4rem; }
.catalog-empty h2 { margin: 0 0 .4rem; font-size: 1.2rem; }
.catalog-empty p { margin: 0 0 1.2rem; color: #687180; }

.catalog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    margin-top: 1.8rem;
}

.catalog-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 .65rem;
    border: 1px solid #dfe3e9;
    border-radius: 9px;
    background: #ffffff;
    color: #344054;
    font-size: .88rem;
    font-weight: 650;
    text-decoration: none;
}

.catalog-pagination a:hover,
.catalog-pagination a.active { border-color: #102a53; background: #102a53; color: #ffffff; }

@media (max-width: 1100px) {
    .header-primary-nav a { padding: .55rem .55rem; }
    .category-nav { gap: .3rem; }
    .category-nav > a,
    .category-nav .nav-dropdown > summary { padding-right: .65rem; padding-left: .65rem; font-size: .82rem; }
    .header-help-link { display: none; }
}

@media (max-width: 900px) {
    .catalog-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 1rem; }
}

@media (max-width: 768px) {
    .header-topbar-inner { flex-wrap: wrap; gap: .6rem; }
    .header-brand { order: 1; }
    .header-brand .logo-img { max-width: none; }
    .header-actions { order: 2; margin-left: auto; }
    .header-primary-nav { order: 3; width: 100%; justify-content: center; border-top: 1px solid #1c2940; }
    .header-search { order: 4; flex: 0 0 100%; width: 100%; }
    .header-menubar-inner { display: block; padding: .35rem 0; }
    .category-nav { flex-wrap: wrap; justify-content: flex-start; gap: .35rem; }
    .category-nav > a,
    .category-nav .nav-dropdown > summary { min-height: 38px; padding: .45rem .65rem; font-size: .79rem; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; }
    .catalog-filter-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem .35rem; }
    .catalog-filter-group h3 { grid-column: 1 / -1; }
    .catalog-filter-parent { margin-top: .25rem; }
    .catalog-page-heading { align-items: center; }
}

@media (max-width: 520px) {
    .catalog-page { padding-top: 1.3rem; }
    .catalog-page-heading { align-items: flex-start; }
    .catalog-page-heading p { font-size: .9rem; }
    .catalog-total { min-width: 66px; padding: .45rem; }
    .catalog-toolbar { align-items: stretch; }
    .catalog-search { flex-basis: 100%; }
    .catalog-sort-label { display: none; }
    .catalog-order { width: 100%; }
    .catalog-filter-group { grid-template-columns: 1fr; }
}

/* =============================================================
   SITE — MENU MOBILE (botão hamburguer da faixa de categorias)
   ============================================================= */
@media (max-width: 768px) {
    .header-menubar-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: .5rem;
        padding: .35rem 0;
    }
    .header-menubar-inner .mobile-toggle { order: 1; }
    .header-menubar-inner .header-extra { order: 2; margin-left: auto; }
    .header-menubar-inner .main-nav.active {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
    }
}

/* =============================================================
   PAINEL ADMIN — Ocultar/mostrar a barra lateral + responsivo
   ============================================================= */
.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.admin-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid #263650;
    border-radius: 10px;
    background: #101a2b;
    color: #e6edf7;
    font-size: 1.05rem;
    line-height: 1;
    transition: background .18s, border-color .18s, color .18s;
}
.admin-sidebar-toggle:hover { background: #142747; border-color: #36527a; color: #93c5fd; }
.admin-sidebar-toggle:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }

.admin-topbar-left .admin-topbar-title {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #f5f8ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-topbar small { color: #9fb0c8 !important; }

/* Transições suaves */
.admin-sidebar { transition: width .22s ease, transform .25s ease; }
.admin-content { transition: margin-left .22s ease; }

/* Desktop — barra recolhida (apenas ícones) */
@media (min-width: 769px) {
    .admin-layout.collapsed .admin-sidebar { width: 72px; }
    .admin-layout.collapsed .admin-content { margin-left: 72px; }
    .admin-layout.collapsed .admin-brand { padding: 1.25rem .5rem; }
    .admin-layout.collapsed .admin-brand img { height: 34px !important; }
    .admin-layout.collapsed .admin-menu a { justify-content: center; padding-left: .5rem; padding-right: .5rem; }
    .admin-layout.collapsed .admin-menu a span { display: none; }
}

/* Fundo escurecido (gaveta no mobile) */
.admin-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 15, .55);
    z-index: 45;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.admin-backdrop[hidden] { display: none; }

/* Mobile — barra lateral vira gaveta (off-canvas) */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 260px;
        transform: translateX(-100%);
        box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
        z-index: 60;
    }
    .admin-layout.sidebar-open .admin-sidebar { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .admin-brand span, .admin-menu span { display: inline; }
    .admin-topbar { padding: .85rem 1rem; }
    .admin-body { padding: 1rem; }
}

@media (max-width: 480px) {
    .admin-body { padding: .75rem; }
    .admin-topbar-left { gap: .5rem; }
    .admin-topbar-title { font-size: .98rem; }
    .admin-topbar .badge { display: none; }
}

/* =============================================================
   RESPONSIVIDADE — ALVOS DE TOQUE E LEGIBILIDADE (MOBILE)
   ============================================================= */

/* Ações do cabeçalho em modo "só ícone": garante alvo de toque mínimo */
@media (max-width: 1080px) {
    .header-action {
        min-width: 40px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Botão hambúrguer do menu */
    .mobile-toggle {
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    .header-action { min-height: 44px; }

    /* Botão de busca do cabeçalho */
    .header-search button { min-width: 44px; min-height: 44px; }

    /* Links do rodapé: área tocável maior sem inflar o espaçamento */
    .footer-links li { margin-bottom: 0; }
    .footer-links a {
        display: inline-flex;
        align-items: center;
        min-width: 36px;
        min-height: 40px;
    }

    /* Link "Ver todos / Ver catálogo" — amplia a área sem deslocar o layout */
    .section-link { position: relative; }
    .section-link::after {
        content: '';
        position: absolute;
        inset: -10px -6px;
    }

    /* Breadcrumb */
    .page-breadcrumb .container { align-items: center; }
    .page-breadcrumb a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
    }
    .page-breadcrumb .current {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
    }

    /* Link do Grupo VIP na faixa de anúncio */
    .announcement-bar a { position: relative; }
    .announcement-bar a::after {
        content: '';
        position: absolute;
        inset: -9px -6px;
    }

    /* Filtros do catálogo */
    .catalog-filter-link {
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    /* Links de contato (telefone, e-mail, redes sociais) */
    .contact-item-content p a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
    }
}

/* Categoria do produto: mantém legibilidade também nas telas muito estreitas */
@media (max-width: 380px) {
    .product-category { font-size: 0.7rem; letter-spacing: 0.3px; }
}

/* =============================================================
   CAMPO DE SENHA — botão para exibir/ocultar a senha
   (aplicado automaticamente aos inputs type="password" via main.js)
   ============================================================= */
.pw-field {
    position: relative;
    display: block;
    width: 100%;
}

.pw-field > input {
    width: 100%;
    padding-right: 2.85rem !important;
}

.pw-toggle {
    position: absolute;
    top: 50%;
    right: .3rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6b7280;
    font-size: .95rem;
    line-height: 1;
    cursor: pointer;
    transition: background .18s, color .18s;
}

.pw-toggle:hover { background: rgba(16, 42, 83, .08); color: #102a53; }
.pw-toggle:focus-visible { outline: 2px solid #102a53; outline-offset: 2px; }
.pw-toggle.is-visible { color: #102a53; }

/* =============================================================
   OFERTA — contador regressivo (58 min) nos produtos em promoção
   ============================================================= */
.offer-countdown {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .4rem;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: rgba(220, 38, 38, .1);
    color: var(--danger);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .3px;
    line-height: 1.2;
}

.offer-countdown i { font-size: .74rem; }

.offer-countdown-time {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.offer-countdown-lg {
    display: flex;
    gap: .6rem;
    margin: 1rem 0;
    padding: .7rem .95rem;
    border-radius: var(--radius);
    border: 1px solid rgba(220, 38, 38, .25);
    font-size: 1rem;
}

.offer-countdown-lg i { font-size: 1.15rem; }
.offer-countdown-lg .offer-countdown-label { font-size: .9rem; font-weight: 600; }

.offer-countdown-lg .offer-countdown-time {
    margin-left: auto;
    font-size: 1.2rem;
    font-weight: 800;
}

.category-nav > a.nav-promo i {
    color: #ffd166;
    animation: promo-icon-pulse 1.25s ease-in-out infinite;
    transform-origin: center;
}

@keyframes promo-icon-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(255, 209, 102, 0));
    }
    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 7px rgba(255, 209, 102, .9));
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-nav > a.nav-promo i { animation: none; }
}

/* =============================================================
   RESPONSIVIDADE — CELULAR (revisão 11/2026)
   Bloco final: sobrepõe regras antigas conflitantes acima.
   ============================================================= */

/* Campos de formulário dentro de grids não estouram a coluna. */
input.form-control, select.form-control, textarea.form-control { min-width: 0; max-width: 100%; }
.mobile-only { display: none !important; }

@media (max-width: 768px) {
    .mobile-only { display: inline-flex !important; }

    /* ---- Faixa de anúncio: uma linha só ---- */
    .announcement-bar .container {
        flex-wrap: nowrap !important;
        gap: .5rem !important;
        padding: .4rem .75rem !important;
        font-size: .74rem !important;
        white-space: nowrap;
        overflow: hidden;
    }
    /* No celular fica só o destaque do Grupo VIP, centralizado. */
    .announcement-bar .container { justify-content: center !important; }
    .announcement-bar .container > :not(a) { display: none !important; }
    .announcement-bar .container > a { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

    /* ---- Cabeçalho compacto: logo + ícones / busca ---- */
    .header-topbar-inner { flex-wrap: wrap; gap: .5rem; padding: .5rem 0 !important; }
    .header-brand { order: 1; }
    .header-brand .logo-img { max-height: 40px; max-width: 120px; }
    .header-primary-nav { display: none !important; }
    .header-actions { order: 2; margin-left: auto; gap: .35rem; padding: 6px 6px 0 0; }
    .header-action { min-width: 40px; min-height: 40px; padding: 0 !important; justify-content: center; }
    .header-action .label { display: none !important; }
    #headerCartCount { top: -5px !important; right: -5px !important; min-width: 18px !important; height: 18px !important; font-size: .65rem !important; }
    .header-search { order: 3; flex: 0 0 100%; width: 100%; }

    /* ---- Categorias: uma linha com rolagem lateral (sem botão ☰) ---- */
    .header-menubar-inner { display: block !important; min-height: 0 !important; padding: .4rem 0 !important; }
    .header-menubar-inner .mobile-toggle,
    .header-menubar-inner .header-extra { display: none !important; }
    .category-nav,
    .category-nav.active {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        gap: .4rem !important;
        padding: 0 0 2px !important;
        margin: 0 !important;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        position: static !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    .category-nav::-webkit-scrollbar { display: none; }
    .category-nav > a { flex: 0 0 auto; white-space: nowrap; min-height: 36px !important; }

    /* ---- Catálogo: filtros recolhidos atrás do botão "Filtros" ---- */
    .catalog-sidebar { position: static !important; }
    .catalog-filter-heading { cursor: pointer; user-select: none; border-bottom: 0; }
    .catalog-filter-heading::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: auto;
        color: #315487;
        transition: transform .2s;
    }
    .catalog-sidebar.is-open .catalog-filter-heading { border-bottom: 1px solid #e8eaee; }
    .catalog-sidebar.is-open .catalog-filter-heading::after { transform: rotate(180deg); }
    .catalog-sidebar:not(.is-open) > :not(.catalog-filter-heading) { display: none !important; }
    .catalog-page-heading { gap: .75rem; }
    .catalog-total { flex: 0 0 auto; }

    /* ---- Carrinho: resumo abaixo dos itens ---- */
    .cart-main-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
}

@media (max-width: 380px) {
    /* Telas bem estreitas: campos lado a lado viram um embaixo do outro. */
    .cart-main-grid [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    .header-action { min-width: 36px; min-height: 36px; }
}

@media (max-width: 600px) {
    /* ---- Carrinho: cada item vira um cartão (antes as 4 colunas espremiam o nome) ---- */
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody { display: block; width: 100%; }
    .cart-table tr {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: "prod prod" "qty sub";
        align-items: center;
        position: relative;
        padding: .35rem 0 .6rem;
    }
    .cart-table td { display: block; padding: .45rem .9rem !important; }
    .cart-table td:nth-child(1) { grid-area: prod; padding-right: 3rem !important; }
    .cart-table td:nth-child(2) { grid-area: qty; text-align: left !important; }
    .cart-table td:nth-child(3) { grid-area: sub; text-align: right !important; }
    .cart-table td:nth-child(4) { position: absolute; top: .55rem; right: .35rem; padding: 0 !important; }

    /* ---- Página do produto: abas em uma linha deslizante, sem barra de rolagem ---- */
    .tabs-nav { display: flex; flex-wrap: nowrap !important; overflow-x: auto; gap: .25rem; scrollbar-width: none; }
    .tabs-nav::-webkit-scrollbar { display: none; }
    .tabs-nav .tab-btn { flex: 0 0 auto; white-space: nowrap; padding: .65rem .8rem; }
}

@media (max-width: 768px) {
    /* ---- Painel admin: barra de filtros e tabelas ---- */
    .toolbar { flex-wrap: wrap; gap: .75rem; }
    .toolbar > div[style*="display:flex"] {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        max-width: 100%;
        padding-bottom: 2px;
        scrollbar-width: none;
    }
    .toolbar > div[style*="display:flex"]::-webkit-scrollbar { display: none; }
    .toolbar .btn { white-space: nowrap; flex: 0 0 auto; }

    /* Tabelas rolam para o lado dentro da caixa, sem espremer as colunas. */
    .data-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .data-table table { min-width: 720px; }
    .data-table table:has(th:nth-child(7)) { min-width: 1100px; }
    .data-table table:has(th:nth-child(9)) { min-width: 1500px; }
    .data-table td { overflow-wrap: normal; word-break: normal; }
    .data-table th { white-space: nowrap; }
}

/* ---- Rodapé: links de contato herdam a cor do texto ---- */
.footer-contact p a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.footer-contact p a:hover { color: var(--primary-light, #93c5fd); }
/* Desktop: coluna de contato um pouco mais larga (o e-mail não quebra no meio). */
@media (min-width: 901px) {
    .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.3fr; }
}

@media (max-width: 768px) {
    /* ---- Rodapé compacto no celular ---- */
    .site-footer { padding-top: 2.25rem !important; }
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 1.75rem 1rem !important; margin-bottom: 1.5rem !important; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand .site-logo-link { display: inline-block !important; }
    .site-footer .footer-brand img { height: 56px !important; max-height: 56px !important; margin: 0 auto; }
    .footer-brand p { max-width: 340px; margin: .6rem auto .9rem !important; font-size: .85rem; line-height: 1.5; }
    .social-links { justify-content: center; }
    .footer-title { font-size: .92rem !important; margin-bottom: .55rem !important; }
    .footer-links li { margin-bottom: 0 !important; }
    .footer-links a { min-height: 34px !important; font-size: .85rem !important; line-height: 1.3; }
    .footer-links a i { flex: 0 0 auto; margin-right: .4rem; }
    .footer-contact { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
    .footer-contact p { margin-bottom: .2rem !important; font-size: .86rem !important; }
    .footer-contact p a { min-height: 36px; }
    .footer-bottom { padding-top: 1.1rem !important; font-size: .78rem !important; line-height: 1.6; }
    .footer-legal-links { gap: .35rem 1rem !important; }
    /* Espaço para o botão flutuante do WhatsApp não cobrir os créditos. */
    .footer-bottom { padding-bottom: 4.5rem !important; }
}

/* =============================================================
   CONTRASTE (tema escuro) — revisão 11/2026
   ============================================================= */
/* Preço na busca rápida (fundo escuro). */
.search-drop .s-price { color: #93c5fd; }
/* Ícones de todos os botões do cabeçalho (antes Entrar/Contato ficavam azul-escuro). */
.header-action i,
.header-action.account-action i,
.header-action.contact-action i { color: #93c5fd; }
/* Títulos dentro do cartão escuro da página de contato. */
.contact-info-card h2,
.contact-info-card h3 { color: #ffffff; }
