body { background-color: #f8f9fa;  }
a { text-decoration: none; }
.navbar {box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.main-container { min-height: 80vh; }
.dropdown-menu { border: none; border-radius: 12px; }
.dropdown-item { border-radius: 8px; margin: 0 5px; width: auto; }
.nav-link { font-weight: 500; }
.rounded-4 { border-radius: 1rem !important; }
.navbar-brand { letter-spacing: 1px; }

/* Gradientes Modernos */
.bg-gradient-primary { background: linear-gradient(45deg, #4e73df, #224abe); }
.bg-gradient-success { background: linear-gradient(135deg, #158cba, #1179a0); }
.bg-gradient-info { background: linear-gradient(45deg, #36b9cc, #258391); }
.bg-gradient-danger { background: linear-gradient(45deg, #e74a3b, #be2617); }
.bg-gradient-dark { background: linear-gradient(45deg, #5a5c69, #373840); }

.stat-card { transition: transform 0.3s ease; }
.stat-card:hover { transform: translateY(-5px); }

.stat-icon { font-size: 2.5rem; opacity: 0.2; position: absolute; right: 15px; top: 15px; }
.hover-opacity-100:hover { opacity: 1 !important; }

.btn-icon-sm { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }

.table thead th { border-top: none; }

#liveToast {
    width: 200px; /* Define uma largura fixa maior */
    /* Ou use min-width para garantir que ele não fique pequeno demais */
    min-width: 200px; 
}

/* Você também pode aumentar o tamanho do ícone separadamente se quiser */
.toast-body i {
    font-size: 1.2rem;
}

.hover-lift { transition: all 0.3s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important; }
.product-card .product-overlay {position: absolute; top: 0; left: 0; width: 100%; height: 100%;background: rgba(21, 140, 186, 0.2);backdrop-filter: blur(2px);opacity: 0; transition: 0.3s;}
.product-card:hover .product-overlay { opacity: 1; }
.transition-all { transition: all 0.3s ease; }

/* --------------------------------------------------------------------------
   Identidade visual compartilhada com o portal Villagio
   -------------------------------------------------------------------------- */
:root {
    --app-bg: #f7f8f7;
    --app-surface: #ffffff;
    --app-ink: #17211c;
    --app-muted: #6d7771;
    --app-line: rgba(21, 140, 186, .12);
    --app-brand: #158cba;
    --app-brand-dark: #1179a0;
    --app-brand-soft: #eaf7fb;
    --app-radius: 16px;
    --app-shadow: 0 10px 35px -24px rgba(21, 99, 128, .35);
}

body {
    background: var(--app-bg);
    color: var(--app-ink);
    font-family: 'SN Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a { color: inherit; }
.text-primary { color: var(--app-brand) !important; }
.bg-primary { background-color: var(--app-brand) !important; }
.btn-primary { --bs-btn-bg: var(--app-brand); --bs-btn-border-color: var(--app-brand); --bs-btn-hover-bg: var(--app-brand-dark); --bs-btn-hover-border-color: var(--app-brand-dark); }
.btn-outline-primary { --bs-btn-color: var(--app-brand); --bs-btn-border-color: rgba(21,140,186,.35); --bs-btn-hover-bg: var(--app-brand); --bs-btn-hover-border-color: var(--app-brand); }

.site-ui {
    --app-brand: #158cba;
    --app-brand-dark: #1179a0;
    --app-brand-soft: #eaf7fb;
    --app-line: rgba(21, 140, 186, .12);
    --app-shadow: 0 10px 35px -24px rgba(21, 99, 128, .35);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.site-ui .navbar {
    min-height: 70px;
    border-bottom: 1px solid var(--app-line) !important;
    box-shadow: 0 8px 24px -22px rgba(21, 99, 128, .35) !important;
}
.site-ui .text-success, .site-ui .text-success-emphasis { color: #158cba !important; }
.site-ui .bg-success { background-color: #158cba !important; }
.site-ui .border-success { border-color: #158cba !important; }
.site-ui .btn-success, .site-ui .btn-outline-success { --bs-btn-bg: #158cba; --bs-btn-border-color: #158cba; --bs-btn-color: #158cba; --bs-btn-hover-bg: #1179a0; --bs-btn-hover-border-color: #1179a0; --bs-btn-hover-color: #fff; }
.site-ui .text-whatsapp { color: #158cba !important; }
.site-ui .bg-primary { background-color: #158cba !important; }
.site-ui .bg-primary-subtle { background-color: #eaf7fb !important; }
.site-ui .bg-primary.bg-opacity-10 { background-color: rgba(21, 140, 186, .10) !important; }
.site-ui .bg-success.bg-opacity-10 { background-color: rgba(21, 140, 186, .10) !important; }
.site-ui .border-primary { border-color: #158cba !important; }
.site-ui .navbar-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 12px; }
.site-ui .nav-link { color: var(--app-muted) !important; border-radius: 10px; transition: background .2s ease, color .2s ease; }
.site-ui .nav-link:hover, .site-ui .nav-link.text-primary { color: #158cba !important; background: #eaf7fb; }
.site-ui .text-primary { color: #158cba !important; }
.site-ui .btn-primary { --bs-btn-bg: #158cba; --bs-btn-border-color: #158cba; --bs-btn-hover-bg: #1179a0; --bs-btn-hover-border-color: #1179a0; }
.site-ui .hero-section { background: radial-gradient(circle at 10% 0%, #fff 0, transparent 40%), linear-gradient(135deg, #f0feff 0%, #c8e5f0 100%) !important; }
.site-ui .featured-products { background: transparent !important; }
.site-ui .product-card, .site-ui .hero-section .bg-white { border: 1px solid var(--app-line) !important; box-shadow: var(--app-shadow) !important; }
.site-ui .product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px -22px rgba(21, 140, 186, .35) !important; }

.admin-ui { background: var(--app-bg); }
.admin-ui .admin-navbar, .admin-ui .navbar { background: rgba(255,255,255,.94) !important; border-bottom: 1px solid var(--app-line); box-shadow: 0 8px 25px -22px rgba(21,99,128,.45) !important; }
.admin-ui .navbar-brand { color: var(--app-brand) !important; letter-spacing: -.02em; }
.admin-ui .navbar-brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; }
.admin-ui .nav-link { color: var(--app-muted); border-radius: 10px; }
.admin-ui .nav-link:hover, .admin-ui .nav-link.active { color: var(--app-brand) !important; background: var(--app-brand-soft); }
.admin-ui .dropdown-menu { border: 1px solid var(--app-line); box-shadow: 0 18px 38px -24px rgba(21,99,128,.35) !important; }
.admin-ui .card { border: 1px solid var(--app-line) !important; border-radius: var(--app-radius) !important; box-shadow: var(--app-shadow) !important; }
.admin-ui .card-header { border-bottom: 1px solid var(--app-line) !important; }
.admin-ui .form-control, .admin-ui .form-select { border-color: var(--app-line); border-radius: 11px; }
.admin-ui .form-control:focus, .admin-ui .form-select:focus { border-color: rgba(21,140,186,.45); box-shadow: 0 0 0 .22rem rgba(21,140,186,.12); }
.admin-ui .text-success, .admin-ui .text-success-emphasis { color: #158cba !important; }
.admin-ui .bg-success, .admin-ui .bg-success-subtle { background-color: #158cba !important; }
.admin-ui .border-success, .admin-ui .border-success-subtle { border-color: #158cba !important; }
.admin-ui .bg-success.bg-opacity-10 { background-color: rgba(21,140,186,.10) !important; }
.admin-ui .btn-success, .admin-ui .btn-outline-success { --bs-btn-bg: #158cba; --bs-btn-border-color: #158cba; --bs-btn-color: #158cba; --bs-btn-hover-bg: #1179a0; --bs-btn-hover-border-color: #1179a0; --bs-btn-hover-color: #fff; }
.admin-ui .bg-gradient-success { background: linear-gradient(135deg, #158cba, #1179a0) !important; }
.admin-ui .table > :not(caption) > * > * { border-color: var(--app-line); }
.admin-ui .table thead th { color: var(--app-muted); font-size: .69rem; letter-spacing: .07em; }
.admin-ui .pagination .page-link { color: var(--app-brand); }
.admin-ui .pagination .active .page-link { background: var(--app-brand); border-color: var(--app-brand); color: #fff; }

/* Summernote: visual consistente e inicialização de vários editores na mesma tela. */
.admin-ui .note-editor.note-frame { overflow: hidden; border: 1px solid var(--app-line); border-radius: 12px; box-shadow: none; }
.admin-ui .note-toolbar { border-bottom: 1px solid var(--app-line); background: #fbfcfb; }
.admin-ui .note-editable { min-height: 240px; color: var(--app-ink); background: #fff; }
.admin-ui .note-statusbar { background: #fbfcfb; }

@media (max-width: 991.98px) {
    .site-ui .navbar-collapse { background: #fff; border-top: 1px solid var(--app-line); }
    .admin-ui .container { max-width: 100%; }
}
