:root {
    --cor-primaria: #16233F;
    --cor-secundaria: #F58220;
    --cor-secundaria-escura: #D96D0E;
    --cor-primaria-escura: #0D1626;
    --cor-texto: #2b2b2b;
    --cor-fundo-claro: #f5f5f7;
    --fonte-corpo: 'Inter', sans-serif;
    --fonte-titulo: 'Barlow Condensed', sans-serif;

    /* Admin/Superadmin - paleta neutra e utilitarios (nao afeta a loja) */
    --admin-bg: #F6F7F9;
    --admin-border: #E7E9EC;
    --admin-border-strong: #DADCE1;
    --admin-text: #1A1F2B;
    --admin-text-muted: #8B90A0;
    --admin-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --admin-shadow-md: 0 2px 8px rgba(16, 24, 40, .08);
    --admin-radius-lg: 14px;
    --admin-radius-md: 10px;
    --admin-radius-sm: 7px;
    --cor-sucesso: #1E9E5C;
    --cor-sucesso-bg: #E8F7EE;
    --cor-alerta: #B7791F;
    --cor-alerta-bg: #FBF2E1;
    --cor-erro: #C0392B;
    --cor-erro-bg: #FBEAEA;
    --cor-superadmin: #7C3AED;
    --cor-superadmin-bg: #F3ECFD;
}

* { box-sizing: border-box; }

body {
    font-family: var(--fonte-corpo);
    color: var(--cor-texto);
    background: #fff;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: var(--fonte-titulo);
    letter-spacing: 0.3px;
}

a { color: var(--cor-secundaria); }
a:hover { color: var(--cor-primaria); }

/* ---------- Navbar principal ---------- */
.main-nav {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.main-nav .navbar-brand { color: var(--cor-primaria); font-size: 1.4rem; text-decoration: none; }
.main-nav .navbar-brand:hover { color: var(--cor-primaria); text-decoration: none; }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-top {
    font-family: var(--fonte-titulo);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cor-primaria);
    letter-spacing: 0.5px;
}
.brand-bottom {
    font-family: var(--fonte-titulo);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cor-secundaria);
    letter-spacing: 0.5px;
}
.main-nav .nav-link { color: var(--cor-primaria); font-weight: 600; font-size: 0.95rem; }
.main-nav .nav-link:hover,
.main-nav .nav-link:focus { color: var(--cor-secundaria); }

.main-nav .navbar-toggler { border-color: #ccc; }
.main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%2316233F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.main-nav .dropdown-menu {
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    margin-top: 6px;
}
.main-nav .dropdown-menu .dropdown-item { color: var(--cor-primaria); font-size: 0.9rem; }
.main-nav .dropdown-menu .dropdown-item:hover {
    background: rgba(245,130,32,.08);
    color: var(--cor-secundaria);
}

.btn-account {
    background: transparent;
    color: var(--cor-primaria);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 150px;
    transition: border-color .2s, color .2s;
}
.btn-account span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn-account:hover { color: var(--cor-secundaria); border-color: var(--cor-secundaria); }

.btn-cart {
    background: transparent;
    color: var(--cor-primaria);
    border-radius: 8px;
    padding: 6px 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
}
.btn-cart:hover { color: var(--cor-secundaria); }
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 0.65rem;
}

.btn-orcamento {
    background: var(--cor-secundaria);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 9px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
}
.btn-orcamento:hover { background: var(--cor-secundaria-escura); color: #fff; }

/* Barra de busca mobile (sempre visível, abaixo do nav) */
.mobile-search-bar {
    background: #fff;
    padding: 8px 0 10px;
    border-bottom: 1px solid #e8e8e8;
}
.mobile-search-form {
    display: flex;
    align-items: center;
    background: #f2f3f5;
    border-radius: 24px;
    padding: 7px 16px;
}
.mobile-search-form input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: #333;
    min-width: 0;
}
.mobile-search-form input[type="search"]::placeholder { color: #999; }
.mobile-search-form button {
    border: none;
    background: transparent;
    color: #888;
    padding: 0;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    z-index: 1050;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,.55);
    color: #fff;
}

/* ---------- Hero ---------- */
.hero {
    background: var(--cor-primaria-escura);
    color: #fff;
    padding: 48px 0;
    position: relative;
    overflow: hidden;
    min-height: unset;
    display: flex;
    align-items: center;
}
.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 38%;
    background: var(--cor-secundaria);
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 560px; }
.hero h1 { font-size: 3rem; font-weight: 700; line-height: 1.1; margin-bottom: 16px; text-align: left; }
.hero p  { font-size: 1.1rem; margin-bottom: 28px; text-align: left; color: #dce3ed; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
    background: #fff;
    color: var(--cor-primaria);
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 700;
    font-family: var(--fonte-corpo);
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
}
.btn-hero-primary:hover { background: #f0f0f0; color: var(--cor-primaria); }

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 700;
    font-family: var(--fonte-corpo);
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: background .2s, color .2s;
}
.btn-hero-outline:hover { background: #fff; color: var(--cor-primaria); }

/* ---------- Features bar ---------- */
.features-bar {
    background: var(--cor-primaria);
    color: #ddd;
    padding: 13px 0;
    font-size: 0.87rem;
}
.features-bar .features-list {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.features-bar .feat-item {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.features-bar .feat-dot {
    width: 8px;
    height: 8px;
    background: var(--cor-secundaria);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---------- Seções gerais ---------- */
.section-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}
.section-title-row h2 { margin-bottom: 0; }
.section-hint {
    font-size: 0.82rem;
    color: #999;
}

/* ---------- Categorias (scroll horizontal) ---------- */
.categories-scroll-wrap {
    overflow: hidden;
}
.categories-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.category-card {
    flex: 0 0 auto;
    width: 130px;
    text-align: center;
    text-decoration: none;
    color: var(--cor-texto);
    scroll-snap-align: start;
}
.category-card:hover { color: var(--cor-primaria); text-decoration: none; }
.category-card:hover .cat-icon { background: var(--cor-secundaria); }

.cat-icon {
    width: 68px;
    height: 68px;
    background: var(--cor-primaria);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--fonte-titulo);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 10px;
    transition: background .2s;
}
.cat-label {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    display: block;
}

/* ---------- Galeria da pagina de produto ---------- */
.product-gallery-main {
    position: relative;
    background: #f6f7f9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-gallery-main .product-main-image {
    width: 100%;
    display: block;
}
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.9);
    color: var(--cor-primaria);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    cursor: pointer;
    transition: background .2s, color .2s;
    z-index: 2;
}
.gallery-nav:hover { background: var(--cor-secundaria); color: #fff; }
.gallery-nav-prev { left: 12px; }
.gallery-nav-next { right: 12px; }

.gallery-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.9);
    color: var(--cor-primaria);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    cursor: zoom-in;
    z-index: 2;
    font-size: 0.85rem;
}
.gallery-zoom-btn:hover { background: var(--cor-secundaria); color: #fff; }

.product-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.product-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 2px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, transform .15s;
}
.product-thumb:hover { border-color: var(--cor-secundaria); transform: translateY(-2px); }
.product-thumb.active { border-color: var(--cor-primaria); }

/* ---------- Cards de produto ---------- */
.product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.product-card .img-wrap {
    position: relative;
    background: #f0f0f0;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-card .body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card .preco { font-weight: 700; color: var(--cor-secundaria); font-size: 1.15rem; }
.product-card .preco-antigo { text-decoration: line-through; color: #999; font-size: .85rem; margin-right: 4px; }

.badge-promo, .badge-novo, .badge-orcamento {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}
.badge-promo    { background: var(--cor-secundaria); }
.badge-novo     { background: #2a9d8f; }
.badge-orcamento { background: var(--cor-primaria); }

.btn-card-add {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-primaria);
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    z-index: 2;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.btn-card-add:hover { background: var(--cor-secundaria); color: #fff; }

.btn-ver-produto {
    background: var(--cor-primaria);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 0;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    margin-top: auto;
    transition: background .2s;
}
.btn-ver-produto:hover { background: var(--cor-primaria-escura); color: #fff; }

.stars { color: #f4a623; font-size: 0.8rem; }

/* ---------- Avaliações (scroll horizontal) ---------- */
.reviews-scroll-wrap { overflow: hidden; }
.reviews-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.reviews-scroll::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 auto;
    width: 300px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
    scroll-snap-align: start;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cor-primaria);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.review-author strong { font-size: 0.9rem; display: block; }

/* ---------- Seção Sobre ---------- */
.about-logo-box {
    background: var(--cor-fundo-claro);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
}
.about-logo-box img { max-width: 220px; }

.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.checklist li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--cor-secundaria);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M13.3 4.3a1 1 0 0 0-1.4 0L6.5 9.7 4.1 7.3a1 1 0 0 0-1.4 1.4l3 3a1 1 0 0 0 1.4 0l6-6a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-primary-custom {
    background: var(--cor-secundaria);
    border: none;
    color: #fff;
    padding: 11px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
}
.btn-primary-custom:hover { background: var(--cor-secundaria-escura); color: #fff; }

.btn-whatsapp {
    background: transparent;
    border: 2px solid var(--cor-primaria);
    color: var(--cor-primaria);
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: background .2s, color .2s;
}
.btn-whatsapp:hover { background: var(--cor-primaria); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cor-primaria); color: #ddd; }
.site-footer h5 { color: #fff; margin-bottom: 16px; }
.site-footer a { color: #bbb; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- Category tile (páginas de categoria) ---------- */
.category-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    color: #fff;
    display: flex;
    align-items: flex-end;
}
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.category-tile::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    z-index: 1;
}
.category-tile span { position: relative; z-index: 2; padding: 16px; font-weight: 700; font-size: 1.1rem; }

/* ---------- Checkout ---------- */
.checkout-stepper {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}
.checkout-stepper .step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-weight: 600;
}
.checkout-stepper .step.active { color: var(--cor-secundaria); }
.checkout-stepper .step .circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #eee;
    display: flex; align-items: center; justify-content: center;
}
.checkout-stepper .step.active .circle { background: var(--cor-secundaria); color: #fff; }

/* =========================================================
   Admin & Superadmin - shell (sidebar + topbar), unificado
   ========================================================= */
body.admin-body {
    background: var(--admin-bg);
}

.admin-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

/* ---- Sidebar ---- */
.admin-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 1px 0 0 rgba(16, 24, 40, .05);
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
}
.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 18px;
    margin-bottom: 6px;
}
.admin-sidebar-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--cor-primaria);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--fonte-corpo);
}
.admin-sidebar.is-superadmin .admin-sidebar-logo {
    background: var(--cor-superadmin);
}
.admin-sidebar-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cor-primaria);
    line-height: 1.25;
}
.admin-sidebar-subtitle {
    font-size: 11px;
    color: var(--admin-text-muted);
}
.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--admin-radius-sm);
    border-left: 3px solid transparent;
    color: #6B7280;
    font-size: 13.5px;
    text-decoration: none;
    transition: background .12s ease, color .12s ease;
}
.admin-sidebar-nav a i {
    width: 16px;
    font-size: 13px;
    text-align: center;
}
.admin-sidebar-nav a:hover {
    background: var(--admin-bg);
    color: var(--admin-text);
}
.admin-sidebar-nav a.active {
    background: #fff;
    box-shadow: var(--admin-shadow-sm);
    border-left-color: var(--cor-secundaria);
    color: var(--cor-primaria);
    font-weight: 600;
}
.admin-sidebar-nav a.active i {
    color: var(--cor-secundaria);
}
.admin-sidebar.is-superadmin .admin-sidebar-nav a.active {
    border-left-color: var(--cor-superadmin);
}
.admin-sidebar.is-superadmin .admin-sidebar-nav a.active i {
    color: var(--cor-superadmin);
}
.admin-sidebar-footer {
    margin-top: auto;
    padding: 14px 12px 0;
}
.admin-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--admin-text-muted);
    font-size: 13px;
    text-decoration: none;
}
.admin-sidebar-footer a:hover {
    color: var(--cor-erro);
}

/* ---- Topbar ---- */
.admin-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.admin-topbar {
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    background: #fff;
    box-shadow: var(--admin-shadow-sm);
}
.admin-topbar-greeting {
    font-size: 13.5px;
    color: #6B7280;
}
.admin-topbar-greeting strong {
    color: var(--admin-text);
}
.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.admin-topbar-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--cor-primaria);
    border: 1px solid var(--admin-border-strong);
    border-radius: var(--admin-radius-sm);
    padding: 7px 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.admin-topbar-link:hover {
    background: var(--admin-bg);
}
.admin-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cor-primaria);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-topbar.is-superadmin {
    border-bottom: 3px solid var(--cor-superadmin);
}
.admin-superadmin-badge {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--cor-superadmin);
    background: var(--cor-superadmin-bg);
    padding: 6px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.admin-main {
    padding: 28px;
}
.admin-main h1.h4 {
    font-size: 26px;
    color: var(--cor-primaria);
}

/* =========================================================
   Componentes reutilizaveis (escopados ao admin/superadmin
   para nao afetar o visual da loja)
   ========================================================= */

/* Cards */
.admin-shell .card {
    border: none;
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-md);
}
.admin-shell .card-header {
    background: #fff;
    border-bottom: 1px solid var(--admin-border);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--admin-text);
    padding: 16px 20px;
    border-radius: var(--admin-radius-lg) var(--admin-radius-lg) 0 0 !important;
}
.admin-shell .card-body {
    padding: 20px;
}

/* Stat cards (dashboard) - mesma paleta de 3 cores de hoje, so refinados */
.stat-card {
    border-radius: var(--admin-radius-lg);
    padding: 22px;
    color: #fff;
    background: var(--cor-primaria);
    box-shadow: var(--admin-shadow-md);
}
.stat-card .small.text-uppercase {
    font-size: 12px;
    letter-spacing: .04em;
    font-weight: 600;
    opacity: .75;
}
.stat-card .valor {
    font-size: 28px;
    font-weight: 700;
    margin-top: 8px;
}

/* Tables */
.admin-shell .table {
    margin-bottom: 0;
    font-size: 13.5px;
    color: var(--admin-text);
}
.admin-shell .table thead th {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .04em;
    font-weight: 600;
    color: var(--admin-text-muted);
    border-bottom: 1px solid var(--admin-border);
    padding: 12px 16px;
}
.admin-shell .table tbody td {
    padding: 13px 16px;
    border-top: 1px solid var(--admin-border);
    vertical-align: middle;
}
.admin-shell .table.bg-white {
    background: #fff;
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-md);
    overflow: hidden;
}

/* Badges (status) */
.admin-shell .badge {
    font-weight: 600;
    font-size: 11.5px;
    padding: 5px 10px;
    border-radius: 999px;
}
.admin-shell .badge.bg-success { background: var(--cor-sucesso-bg) !important; color: var(--cor-sucesso) !important; }
.admin-shell .badge.bg-secondary { background: #EEF0F3 !important; color: #6B7280 !important; }
.admin-shell .badge.bg-warning { background: var(--cor-alerta-bg) !important; color: var(--cor-alerta) !important; }
.admin-shell .badge.bg-danger { background: var(--cor-erro-bg) !important; color: var(--cor-erro) !important; }

/* Buttons */
.admin-shell .btn {
    border-radius: var(--admin-radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 16px;
}
.admin-shell .btn-sm {
    padding: 5px 10px;
    font-size: 12.5px;
}
.admin-shell .btn-primary-custom {
    background: var(--cor-secundaria);
    border-color: var(--cor-secundaria);
    color: #fff;
}
.admin-shell .btn-primary-custom:hover {
    background: var(--cor-secundaria-escura);
    border-color: var(--cor-secundaria-escura);
    color: #fff;
}
.admin-shell .btn-outline-dark,
.admin-shell .btn-outline-secondary {
    border-color: var(--admin-border-strong);
    color: var(--admin-text);
}
.admin-shell .btn-outline-dark:hover,
.admin-shell .btn-outline-secondary:hover {
    background: var(--admin-bg);
    color: var(--admin-text);
}
.admin-shell .btn-outline-danger {
    border-color: #F3CFCB;
    color: var(--cor-erro);
}
.admin-shell .btn-outline-danger:hover {
    background: var(--cor-erro-bg);
    color: var(--cor-erro);
}
.admin-shell .btn-outline-success {
    border-color: #BFE3CD;
    color: var(--cor-sucesso);
}
.admin-shell .btn-outline-warning {
    border-color: #F0DBA8;
    color: var(--cor-alerta);
}

/* Forms */
.admin-shell .form-control,
.admin-shell .form-select {
    border-color: var(--admin-border-strong);
    border-radius: var(--admin-radius-sm);
    font-size: 13.5px;
    padding: 9px 12px;
}
.admin-shell .form-control:focus,
.admin-shell .form-select:focus {
    border-color: var(--cor-secundaria);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, .15);
}
.admin-shell .form-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--admin-text);
    margin-bottom: 6px;
}
.admin-shell .form-check-label {
    font-size: 13.5px;
}

/* Alerts */
.admin-shell .alert {
    border: none;
    border-radius: var(--admin-radius-md);
    font-size: 13.5px;
}
.admin-shell .alert-danger { background: var(--cor-erro-bg); color: var(--cor-erro); }
.admin-shell .alert-success { background: var(--cor-sucesso-bg); color: var(--cor-sucesso); }
.admin-shell .alert-warning { background: var(--cor-alerta-bg); color: var(--cor-alerta); }

/* Pagination */
.admin-shell .pagination .page-link {
    border: none;
    color: var(--admin-text-muted);
    font-size: 13px;
    border-radius: var(--admin-radius-sm);
    margin: 0 2px;
}
.admin-shell .pagination .page-item.active .page-link {
    background: var(--cor-primaria);
    color: #fff;
}

/* List group (pedidos/superadmin) */
.admin-shell .list-group-item {
    border-color: var(--admin-border);
    font-size: 13.5px;
    padding: 14px 20px;
}

/* ---------- Upload de imagens (admin) ---------- */
.upload-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.upload-preview-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--admin-bg);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    padding: 6px 10px 6px 6px;
    max-width: 220px;
}
.upload-preview-thumb {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 6px;
    overflow: hidden;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.upload-preview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-preview-check {
    position: absolute; bottom: -2px; right: -2px;
    background: var(--cor-sucesso); color: #fff; border-radius: 50%;
    width: 16px; height: 16px; font-size: 9px;
    display: flex; align-items: center; justify-content: center;
}
.upload-preview-info { display: flex; flex-direction: column; min-width: 0; }
.upload-preview-name {
    font-size: 0.78rem; font-weight: 600; color: #333;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px;
}
.upload-preview-size { font-size: 0.72rem; color: #888; }
.upload-hint { font-size: 0.78rem; color: #888; margin-top: 4px; }
.upload-preview-remove {
    border: none; background: transparent; color: #999; font-size: 14px;
    line-height: 1; padding: 2px 4px; margin-left: auto; cursor: pointer; flex: 0 0 auto;
}
.upload-preview-remove:hover { color: var(--cor-secundaria); }

/* ---------- Toasts / Spinner ---------- */
.spinner-overlay {
    position: fixed; inset: 0;
    background: rgba(255,255,255,.7);
    display: none;
    align-items: center; justify-content: center;
    z-index: 2000;
}
.spinner-overlay.active { display: flex; }

.lightbox-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.9);
    display: none;
    align-items: center; justify-content: center;
    z-index: 3000;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90%; max-height: 90%; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 32px; cursor: pointer; }

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
    .hero { padding: 60px 0; min-height: unset; }
    .hero h1 { font-size: 2.2rem; }
    .hero-visual { width: 45%; }
    .hero-content { max-width: 55%; }
}

@media (max-width: 767px) {
    .hero { padding: 56px 0; }
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; }
    .hero-visual { width: 35%; opacity: .7; }
    .hero-content { max-width: 100%; }

    .features-bar .features-list { gap: 14px; justify-content: flex-start; }
    .features-bar .feat-item { font-size: 0.8rem; }

    .review-card { width: 260px; }
    .category-card { width: 110px; }

    .about-logo-box { padding: 32px 20px; margin-bottom: 0; }
    .about-logo-box img { max-width: 160px; }
}
