/* ============================================================
   BazMaq — Recapagem de Pneus
   REDESIGN "Industrial Dark" — preto/carvão + amarelo-ouro.
   Mesmos nomes de classe do site original: só o visual muda.
   Tipografia: Barlow Condensed (títulos) + Barlow (texto)
   + Space Mono (rótulos técnicos).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

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

:root {
    /* Fontes */
    --font: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: 'Barlow Condensed', 'Barlow', sans-serif;
    --font-mono: 'Space Mono', ui-monospace, monospace;

    /* Marca — amarelo/ouro */
    --amarelo: #f2b705;
    --amarelo-escuro: #d99e04;

    /* Tintas escuras (chips/áreas amareladas) */
    --creme: rgba(242,183,5,0.10);
    --creme-2: #16161a;
    --creme-3: rgba(242,183,5,0.16);

    /* Base escura */
    --ink: #0d0d0f;
    --panel: #17171b;
    --panel-2: #1e1e23;
    --panel-3: #26262c;

    /* Aliases usados pelo HTML/JS inline (repurposados p/ tema escuro) */
    --primary: #f2b705;
    --primary-dark: #d99e04;
    --primary-light: #1e1e23;
    --secondary: #f2b705;
    --secondary-dark: #d99e04;

    --white: #17171b;        /* fundo de cartões (inline var(--white)) */
    --dark: #f4f3f1;         /* TEXTO claro (inline var(--dark)) */

    /* Escala de cinza "on-dark" */
    --gray-900: #f5f4f2;
    --gray-800: #e4e4e8;
    --gray-700: #c9c9d0;
    --gray-600: #a6a6ae;
    --gray-500: #8a8a92;
    --gray-400: #6f6f78;
    --gray-300: #33333b;
    --gray-200: #26262c;
    --gray-100: #1c1c21;

    --success: #2ec671;
    --danger: #ff5a4d;
    --warning: #f2b705;
    --info: #4aa3ff;

    --borda: #2a2a31;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow: 0 2px 6px rgba(0,0,0,0.45);
    --shadow-md: 0 6px 18px rgba(0,0,0,0.5);
    --shadow-lg: 0 16px 38px rgba(0,0,0,0.55);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.6);

    --radius: 9px;
    --radius-lg: 13px;
    --radius-xl: 16px;
    --transition: all 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--ink);
    color: var(--gray-700);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

/* Complementa o bloqueio de clique direito (site.js): evita arrastar a
   imagem para a área de trabalho/outra aba como forma alternativa de salvar. */
img { -webkit-user-drag: none; user-drag: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@keyframes bmSpin { to { transform: rotate(360deg); } }
@keyframes bmFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--ink);
}

.header-top {
    background: #000;
    color: #9a9aa0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-top a {
    color: #9a9aa0;
    text-decoration: none;
    transition: var(--transition);
}

.header-top a:hover { color: var(--amarelo); }

.header-top .contact-info {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.header-top .contact-info i {
    margin-right: 7px;
    color: var(--amarelo);
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-top-right > a { font-size: 0.95rem; }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    color: #cfcfcf;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover { color: #fff; border-color: var(--amarelo); }

.lang-btn.active {
    background: var(--amarelo);
    color: #0d0d0f;
    border-color: var(--amarelo);
}

/* barra principal escura translúcida */
.header-main {
    background: rgba(13,13,15,0.92);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 6px 30px rgba(0,0,0,0.5);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* Agrupa o menu de navegação junto do carrinho/hamburguer, encostados um no
   outro, deixando só a logo separada do lado oposto do cabeçalho. */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 46px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.logo-icon {
    width: 46px;
    height: 46px;
    background: #0d0d0f;
    border: 2px solid var(--amarelo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amarelo);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }

.logo-text .brand {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-text .brand span { color: var(--amarelo); }

.logo-text .tagline {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
}

/* ============ NAVIGATION ============ */
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    text-decoration: none;
    color: #d8d8dc;
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.main-nav a i { color: var(--gray-500); transition: var(--transition); }

.main-nav a:hover {
    color: var(--amarelo);
    border-color: rgba(242,183,5,0.5);
}

.main-nav a:hover i { color: var(--amarelo); }

.main-nav a.active {
    background: var(--amarelo);
    border-color: var(--amarelo);
    color: #0d0d0f;
}

.main-nav a.active i { color: #0d0d0f; }

/* ============ CART BUTTON (header) ============ */
.cart-btn {
    position: relative;
    width: 42px; height: 42px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--panel-2);
    color: #d8d8dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.cart-btn:hover { border-color: var(--amarelo); color: var(--amarelo); }

.cart-count {
    position: absolute;
    top: -6px; right: -6px;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--amarelo);
    color: #0d0d0f;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #0d0d0f;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
    margin-top: 96px;
    background:
        radial-gradient(circle at 80% 32%, rgba(242,183,5,0.16), transparent 46%),
        linear-gradient(160deg, #141416 0%, #0d0d0f 62%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-media video,
.hero-media .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media .hero-slide {
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
}

.hero-media .hero-slide.active { opacity: 1; }

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,12,0.9) 0%, rgba(18,18,20,0.7) 100%);
}

/* faixa de "tread" decorativa à direita */
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 46%; height: 100%;
    background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.028) 0 18px, transparent 18px 40px);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    position: relative;
    z-index: 1;
    min-height: 560px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content { max-width: 620px; position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(242,183,5,0.09);
    color: var(--amarelo);
    padding: 7px 16px;
    border: 1px solid rgba(242,183,5,0.4);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 4.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 0.98;
    margin-bottom: 26px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.hero h1 .highlight { color: var(--amarelo); }

.hero p {
    color: #b6b6bb;
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons { display: flex; gap: 13px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    gap: 44px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .number {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--amarelo);
    line-height: 1;
}

.hero-stat .label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 5px;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    flex: 1;
}

.hero-ring {
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    border: 2px dashed rgba(242,183,5,0.28);
    animation: bmSpin 40s linear infinite;
}

.hero-disc {
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, #2a2a2e 0%, #121214 72%);
    box-shadow: inset 0 0 60px rgba(0,0,0,0.7), 0 30px 70px rgba(0,0,0,0.6);
}

.hero-machine {
    position: relative;
    z-index: 1;
    width: 108%;
    height: auto;
    max-width: 540px;
    /* Trava a altura também: sem isso, fotos com proporção diferente (mais
       altas do que largas) esticavam para fora do anel decorativo e do
       próprio hero. Com largura E altura limitadas, qualquer imagem
       enviada no admin encolhe mantendo a proporção, sem cortar nem distorcer. */
    max-height: 460px;
    object-fit: contain;
    filter: drop-shadow(0 26px 40px rgba(0,0,0,0.6));
    animation: bmFloat 6s ease-in-out infinite;
}

/* legado (caso apareça o placeholder circular) */
.hero-image-placeholder {
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, #2b2b2b 0%, #161616 70%);
    border: 14px solid #0d0d0d;
    box-shadow: inset 0 0 0 10px #1f1f1f, inset 0 0 60px rgba(0,0,0,0.6), 0 20px 50px rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center; position: relative;
}
.hero-image-placeholder::before {
    content: '';
    position: absolute;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, #f2b705 0%, #b98a04 100%);
    box-shadow: 0 0 0 10px #1a1a1a, inset 0 4px 10px rgba(0,0,0,0.3);
}
.hero-image-placeholder i { font-size: 3.4rem; color: #1a1a1a; position: relative; z-index: 1; }

/* faixa amarela com padrão de banda */
.tread-bar {
    height: 8px;
    background: var(--amarelo);
    background-image: repeating-linear-gradient(90deg, #0d0d0f 0 6px, transparent 6px 26px);
}

/* ============ BUTTONS ============ */
.btn {
    padding: 13px 26px;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:disabled, .btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.3);
    transform: none !important;
    box-shadow: none !important;
}

/* amarelo (CTA principal) */
.btn-primary, .btn-secondary { background: var(--amarelo); color: #0d0d0f; }
.btn-primary:hover, .btn-secondary:hover { background: #ffca28; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--amarelo); color: var(--amarelo); }

.btn-outline-primary { background: transparent; color: var(--amarelo); border: 1.5px solid var(--amarelo); }
.btn-outline-primary:hover { background: var(--amarelo); color: #0d0d0f; }

.btn-success { background: #1fa855; color: #fff; }
.btn-success:hover { background: #25c463; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #e64438; }

.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-lg { padding: 15px 32px; font-size: 1.08rem; }
.btn-icon { padding: 9px 11px; }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 48px; }

.section-header .label {
    display: inline-block;
    background: rgba(242,183,5,0.09);
    color: var(--amarelo);
    padding: 6px 16px;
    border: 1px solid rgba(242,183,5,0.4);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.section-header p { color: var(--gray-600); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ============ PROCESS RIBBON ============ */
.process {
    background: #111114;
    padding: 70px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.process-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 8px;
}

.process-step { text-align: center; padding: 0 14px; flex: 1 1 200px; max-width: 230px; }

.process-step .step-icon {
    width: 88px; height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #1b1b1f;
    border: 1px solid rgba(242,183,5,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amarelo);
    font-size: 1.9rem;
    position: relative;
}

.process-step .step-num {
    position: absolute;
    top: -6px; right: -6px;
    width: 26px; height: 26px;
    background: var(--amarelo);
    color: #0d0d0f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
}

.process-step h3 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
}

.process-step p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.5; max-width: 220px; margin: 0 auto; }

/* ============ ABOUT PAGE ============ */
.about-intro {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-block { margin-bottom: 26px; }
.about-block:last-child { margin-bottom: 0; }

.about-block h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--amarelo);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-block p { font-size: 1rem; color: var(--gray-600); line-height: 1.75; }

.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 28px 0;
}

.about-mission-card {
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-mission-card .icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(242,183,5,0.1);
    border: 1px solid rgba(242,183,5,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amarelo);
    font-size: 1.6rem;
}

.about-mission-card h3 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.about-mission-card p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.6; }

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 30px 0;
}

.about-gallery figure {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.07);
    background: var(--panel);
}

.about-gallery img {
    width: 100%; height: 220px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.about-gallery figure:hover img { transform: scale(1.05); }

.about-gallery figcaption {
    padding: 12px 14px;
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    text-align: center;
}

.about-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.07);
    margin: 30px 0 0;
    background: #000;
}

.about-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============ PAGES ============ */
.page { display: none; }
.page.active { display: block; }

/* ============ PRODUCT TOOLBAR / GRID ============ */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    padding: 0 14px;
    flex: 1;
    max-width: 400px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--amarelo);
    box-shadow: 0 0 0 3px rgba(242,183,5,0.16);
}

.search-box i { color: var(--gray-500); margin-right: 10px; }

.search-box input {
    border: none;
    outline: none;
    padding: 11px 0;
    width: 100%;
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--gray-800);
    background: transparent;
}

.search-box input::placeholder { color: var(--gray-500); }

.filter-group { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.filter-select {
    padding: 11px 14px;
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.88rem;
    color: var(--gray-700);
    background: var(--panel);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.filter-select:focus { border-color: var(--amarelo); box-shadow: 0 0 0 3px rgba(242,183,5,0.16); }
.filter-select option { background: var(--panel-2); color: var(--gray-800); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.product-card {
    background: var(--panel);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.07);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(242,183,5,0.55);
}

.product-card .image-wrapper {
    position: relative;
    height: 220px;
    background: radial-gradient(circle at 50% 40%, #242428 0%, #131315 78%);
    overflow: hidden;
}

.product-card .image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 14px, transparent 14px 30px);
    z-index: 0;
}

.product-card .image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .image-wrapper img { transform: scale(1.05); }

.product-card .image-placeholder {
    position: relative;
    z-index: 1;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.product-card .image-placeholder i { font-size: 3rem; color: rgba(242,183,5,0.4); }

/* ============ HOVER PREVIEW (foto ampliada dos equipamentos) ============ */
.product-card .image-wrapper[data-preview] { cursor: zoom-in; }

.image-hover-preview {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8,8,10,0.82);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.image-hover-preview.active {
    opacity: 1;
    visibility: visible;
}

.image-hover-preview img {
    max-width: 88vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--panel);
}

.product-badge {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new { background: #1fa855; color: #fff; }
.badge-used { background: var(--amarelo); color: #0d0d0f; }
.badge-featured { background: var(--amarelo); color: #0d0d0f; }

.product-card .card-body { padding: 20px; }

.product-card .category {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--amarelo-escuro);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.05;
    margin: 8px 0 10px;
}

.product-card .description {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-wrap;
}

.product-card .price {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--amarelo);
}

.product-card .price small { font-size: 0.7rem; color: var(--gray-500); font-weight: 500; font-family: var(--font-mono); }

.product-card .card-footer { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 20px; }

.product-card .card-footer-row { display: flex; gap: 8px; }

.product-card .card-footer-row .btn { flex: 1; font-size: 0.85rem; }

.product-card .card-footer .btn-buy-now { width: 100%; justify-content: center; font-size: 0.85rem; }

/* ============ CATEGORIES ============ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--panel);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: left;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.07);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(242,183,5,0.55);
}

.category-card .cat-icon {
    width: 60px; height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    font-size: 1.5rem;
    overflow: hidden;
}

/* Garante que qualquer imagem enviada (produto ou categoria), independente
   das dimensões originais, se ajuste ao tamanho pré-definido do respectivo
   contêiner sem distorcer nem estourar o layout. */
.cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.category-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.1;
}
.category-card p { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gray-500); }

/* ============ ADMIN PANEL ============ */
.admin-layout { display: flex; margin-top: 100px; min-height: calc(100vh - 100px); }

.admin-sidebar {
    width: 258px;
    background: #08080a;
    padding: 24px 0;
    position: fixed;
    top: 100px; bottom: 0;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.admin-sidebar .sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 16px;
}

.admin-sidebar .sidebar-header h3 { font-family: var(--font-head); color: #fff; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; }
.admin-sidebar .sidebar-header h3 i { color: var(--amarelo); }
.admin-sidebar .sidebar-header p { color: var(--gray-500); font-size: 0.75rem; font-family: var(--font-mono); }

.sidebar-menu { list-style: none; }

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    color: #fff;
    background: rgba(242,183,5,0.08);
    border-left-color: var(--amarelo);
}

.sidebar-menu li a i { width: 20px; text-align: center; }

.admin-content { flex: 1; margin-left: 258px; padding: 32px; }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-header h1 { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: #fff; text-transform: uppercase; }
.admin-header .breadcrumb { font-size: 0.82rem; color: var(--gray-500); font-family: var(--font-mono); }
.admin-header .breadcrumb a { color: var(--amarelo); text-decoration: none; }

/* ADMIN LOGIN */
.admin-login-wrapper { max-width: 420px; margin: 0 auto; padding: 60px 20px; }

.admin-login-card {
    background: var(--panel);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 4px solid var(--amarelo);
}

.admin-login-card .login-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #0d0d0f;
    color: var(--amarelo);
    border: 1px solid rgba(242,183,5,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
}

.admin-login-card h2 { font-family: var(--font-head); text-align: center; font-size: 1.6rem; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.admin-login-card p.subtitle { text-align: center; color: var(--gray-500); font-size: 0.85rem; margin-bottom: 24px; }

.login-error {
    background: rgba(255,90,77,0.12);
    color: var(--danger);
    padding: 10px 14px;
    border: 1px solid rgba(255,90,77,0.35);
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: none;
    align-items: center;
    gap: 8px;
}

.login-error.show { display: flex; }

.sidebar-user { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 16px; }
.sidebar-user .user-name { color: #fff; font-size: 0.9rem; font-weight: 600; }
.sidebar-user .user-role { color: var(--gray-500); font-size: 0.7rem; text-transform: uppercase; font-family: var(--font-mono); }
.sidebar-user .btn-logout { margin-top: 10px; width: 100%; }

.permissions-check { display: flex; flex-direction: column; gap: 10px; }
.permissions-check label {
    display: flex; align-items: center; gap: 10px;
    font-weight: 500; font-size: 0.85rem; color: var(--gray-700); cursor: pointer;
}
.permissions-check input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--amarelo); }

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--panel);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255,255,255,0.07);
}

.stat-card .stat-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-card .stat-icon.blue { background: rgba(242,183,5,0.12); color: var(--amarelo); }
.stat-card .stat-icon.green { background: rgba(46,198,113,0.14); color: var(--success); }
.stat-card .stat-icon.orange { background: rgba(242,183,5,0.12); color: var(--amarelo); }
.stat-card .stat-icon.red { background: rgba(255,90,77,0.14); color: var(--danger); }

.stat-card .stat-info h4 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: #fff; }
.stat-card .stat-info p { font-size: 0.8rem; color: var(--gray-500); }

/* DATA TABLE */
.data-card {
    background: var(--panel);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
}

.data-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--borda);
    flex-wrap: wrap;
    gap: 12px;
}

.data-card-header h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-left: 4px solid var(--amarelo);
    padding-left: 10px;
}

.data-card-header h3 i { color: var(--amarelo); }

.data-table { width: 100%; border-collapse: collapse; }

.data-table thead th {
    background: #101013;
    padding: 12px 16px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    border-bottom: 1px solid var(--borda);
}

.data-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--borda);
    font-size: 0.88rem;
    color: var(--gray-700);
    vertical-align: middle;
}

.data-table tbody tr:hover { background: rgba(242,183,5,0.05); }
.data-table tbody tr:last-child td { border-bottom: none; }

.data-table .product-cell { display: flex; align-items: center; gap: 12px; }

.data-table .product-thumb {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--panel-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.data-table .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.data-table .product-thumb i { color: var(--gray-400); }
.data-table .product-name { font-weight: 600; color: #fff; }
.data-table .product-sku { font-size: 0.74rem; color: var(--gray-500); font-family: var(--font-mono); }

.status-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-active { background: rgba(46,198,113,0.14); color: var(--success); }
.status-inactive { background: rgba(255,90,77,0.14); color: var(--danger); }
.status-draft { background: var(--panel-3); color: var(--gray-500); }

.actions-cell { display: flex; gap: 6px; }

.action-btn {
    width: 32px; height: 32px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.8rem;
}

.action-btn.edit { background: rgba(242,183,5,0.14); color: var(--amarelo); }
.action-btn.edit:hover { background: var(--amarelo); color: #0d0d0f; }
.action-btn.delete { background: rgba(255,90,77,0.14); color: var(--danger); }
.action-btn.delete:hover { background: var(--danger); color: #fff; }
.action-btn.view { background: rgba(46,198,113,0.14); color: var(--success); }
.action-btn.view:hover { background: var(--success); color: #0d0d0f; }

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.25s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 26px;
    border-bottom: 1px solid var(--borda);
}

.modal-header h2 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2 i { color: var(--amarelo); }

.modal-close {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--panel-3);
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}

.modal-close:hover { background: var(--danger); color: #fff; }

.modal-body { padding: 26px; color: var(--gray-700); }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 26px;
    border-top: 1px solid var(--borda);
    background: #101013;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ============ FORM ============ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.form-group label .required { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--gray-800);
    outline: none;
    transition: var(--transition);
    background: var(--panel-2);
}

.form-control:focus { border-color: var(--amarelo); box-shadow: 0 0 0 3px rgba(242,183,5,0.16); }
.form-control::placeholder { color: var(--gray-500); }
.form-control option { background: var(--panel-2); color: var(--gray-800); }

textarea.form-control { resize: vertical; min-height: 100px; }

.image-upload {
    border: 2px dashed rgba(242,183,5,0.4);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(242,183,5,0.04);
}

.image-upload:hover { border-color: var(--amarelo); background: rgba(242,183,5,0.08); }
.image-upload i { font-size: 2rem; color: var(--amarelo); margin-bottom: 10px; }
.image-upload p { color: var(--gray-500); font-size: 0.85rem; }
.image-upload .browse-text { color: var(--amarelo); font-weight: 700; text-decoration: underline; }

.image-preview-container { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.image-preview {
    width: 80px; height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--borda);
}

.image-preview-item { position: relative; width: 80px; height: 80px; }
.image-preview-item .image-preview { width: 100%; height: 100%; }

.image-preview-item .remove-image-btn {
    position: absolute;
    top: -8px; right: -8px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    border: 2px solid var(--panel);
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

/* ============ PRODUCT GALLERY (detail modal) ============ */
.gallery-main {
    width: 100%; height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #242428 0%, #131315 78%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.gallery-thumbs img {
    width: 56px; height: 56px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.active { border-color: var(--amarelo); opacity: 1; }

/* ============ IMAGE LIGHTBOX ============ */
.lightbox-overlay {
    z-index: 3000;
    background: rgba(8,8,10,0.94);
    backdrop-filter: blur(6px);
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 88vw;
    max-height: 86vh;
}

.lightbox-content img {
    max-width: 88vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.2s ease;
}

.lightbox-counter {
    margin-top: 16px;
    color: var(--gray-400);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.lightbox-close,
.lightbox-arrow {
    position: absolute;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 3001;
}

.lightbox-close:hover,
.lightbox-arrow:hover { background: var(--amarelo); color: #0d0d0f; }

.lightbox-close { top: 22px; right: 24px; width: 44px; height: 44px; font-size: 1.3rem; }

.lightbox-arrow { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 1.3rem; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 768px) {
    .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 1.1rem; }
    .lightbox-arrow { width: 42px; height: 42px; font-size: 1.1rem; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* ============ CART MODAL ============ */
.cart-items {
    display: flex;
    flex-direction: column;
    max-height: 46vh;
    overflow-y: auto;
    padding: 6px 26px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--borda);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-img {
    width: 60px; height: 60px;
    border-radius: var(--radius);
    background: var(--panel-2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-img i { color: var(--gray-400); font-size: 1.3rem; }

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-info h4 {
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-info .price {
    font-size: 0.85rem;
    color: var(--amarelo);
    font-weight: 700;
    font-family: var(--font-mono);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cart-item-qty button {
    width: 26px; height: 26px;
    border-radius: 6px;
    border: 1px solid var(--borda);
    background: var(--panel-2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: var(--transition);
}

.cart-item-qty button:hover { border-color: var(--amarelo); color: var(--amarelo); }

.cart-item-qty span {
    min-width: 20px;
    text-align: center;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #fff;
}

.cart-item-remove {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.cart-item-remove:hover { background: var(--danger); color: #fff; }

.cart-empty {
    padding: 50px 26px;
    text-align: center;
    color: var(--gray-500);
}

.cart-empty i { font-size: 2.6rem; color: rgba(242,183,5,0.35); margin-bottom: 14px; display: block; }
.cart-empty h3 { font-family: var(--font-head); color: #fff; text-transform: uppercase; font-size: 1.1rem; margin-bottom: 6px; }

.cart-summary {
    padding: 18px 26px;
    border-top: 1px solid var(--borda);
    background: #101013;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.cart-summary .cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-family: var(--font-head);
    color: var(--gray-500);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.cart-summary .cart-total strong {
    color: var(--amarelo);
    font-size: 1.3rem;
    font-family: var(--font-mono);
}

.cart-summary .cart-actions { display: flex; gap: 10px; }
.cart-summary .cart-actions .btn { flex: 1; justify-content: center; }

/* ============ CART CNPJ VALIDATION ============ */
.cart-cnpj-block { margin-bottom: 16px; }

.cart-cnpj-block label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.cart-cnpj-feedback {
    min-height: 18px;
    margin-top: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 7px;
}

.cart-cnpj-feedback:empty { margin-top: 0; }
.cart-cnpj-feedback.checking { color: var(--gray-500); }
.cart-cnpj-feedback.valid { color: var(--success); }
.cart-cnpj-feedback.error { color: var(--danger); }

.cart-checkout-hint {
    font-size: 0.74rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 8px;
}

/* ============ COMPRAR AGORA (item avulso, fora do carrinho) ============ */
.buy-now-product {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--borda);
}

.buy-now-product-img {
    width: 70px; height: 70px;
    border-radius: var(--radius);
    background: var(--panel-2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.buy-now-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.buy-now-product-img i { color: var(--gray-400); font-size: 1.4rem; }

.buy-now-product-info h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.buy-now-product-info .price {
    color: var(--amarelo);
    font-weight: 700;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* ============ FOOTER ============ */
.footer {
    background: #08080a;
    color: var(--gray-600);
    padding: 60px 0 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer h4 {
    font-family: var(--font-head);
    color: var(--amarelo);
    font-size: 1.05rem;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer h4 span { color: #fff; }
.footer p { font-size: 0.88rem; line-height: 1.7; color: var(--gray-500); }

.footer ul { list-style: none; }

.footer ul li a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 5px 0;
    display: block;
    transition: var(--transition);
}

.footer ul li a:hover { color: var(--amarelo); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 22px 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 48px; height: 48px;
    background: #1fa855;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(31,168,85,0.5);
    z-index: 999;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    animation: whatsappPulse 2.4s infinite;
    font-family: var(--font);
}

.whatsapp-float:hover { transform: scale(1.08); background: #25c463; }

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(31,168,85,0.45); }
    50% { box-shadow: 0 8px 30px rgba(31,168,85,0.7); }
}

/* ============ INSTAGRAM FLOAT ============ */
.instagram-float {
    position: fixed;
    bottom: 28px; right: 86px;
    width: 48px; height: 48px;
    background: radial-gradient(circle at 30% 107%,
        #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(214,36,159,0.5);
    z-index: 999;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    animation: instagramPulse 2.4s infinite;
    font-family: var(--font);
}

.instagram-float:hover { transform: scale(1.08); }

@keyframes instagramPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(214,36,159,0.45); }
    50% { box-shadow: 0 8px 30px rgba(214,36,159,0.7); }
}

/* ============ TOAST ============ */
.toast-container {
    position: fixed;
    top: 100px; right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--panel-2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    color: var(--gray-700);
    animation: toastIn 0.3s ease;
    border-left: 4px solid var(--success);
}

.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--amarelo); }
.toast i { font-size: 1.2rem; }
.toast .toast-message { flex: 1; font-size: 0.9rem; font-weight: 500; }
.toast .toast-close { cursor: pointer; color: var(--gray-500); background: none; border: none; font-size: 1rem; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============ EMPTY STATE ============ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 4rem; color: var(--gray-300); margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-head); text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.empty-state p { color: var(--gray-500); margin-bottom: 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .admin-sidebar { display: none; }
    .admin-content { margin-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 3.6rem; }
    .process-grid { gap: 32px 8px; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--ink);
        flex-direction: column;
        padding: 14px;
        box-shadow: var(--shadow-lg);
        gap: 6px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .main-nav.active { display: flex; }
    .main-nav a { justify-content: flex-start; }
    .hamburger { display: flex; }

    .hero { margin-top: 88px; }
    .hero .container { flex-direction: column; text-align: center; min-height: 0; }
    .hero-content { max-width: 100%; }
    .hero h1 { font-size: 2.6rem; }
    .hero p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 28px; }
    .hero-visual { display: none; }

    .products-toolbar { flex-direction: column; align-items: stretch; }
    .search-box { max-width: 100%; }
    .products-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .header-top { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .data-table { font-size: 0.8rem; }
    .data-table .product-cell .product-thumb { display: none; }
    .modal { margin: 10px; max-height: 95vh; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 2rem; }
    .about-mission-grid { grid-template-columns: 1fr; }
    .about-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .logo-img { height: 40px; }
    .hero h1 { font-size: 2.1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .process-step { flex-basis: 100%; max-width: 260px; }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0d0d0f; }
::-webkit-scrollbar-thumb { background: #33333b; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--amarelo-escuro); }

::selection { background: var(--amarelo); color: #0d0d0f; }
