/* Fonts: Cormorant Garamond for Headings, Roboto for Body */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Roboto:wght@300;400;500;700&display=swap');
/* Material Symbols Outlined */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
    display: none !important;
}

:root {
    --mvx-primary: #8A1C30;
    /* Bordeaux/Maroon */
    --mvx-primary-hover: #6c1525;
    --mvx-sidebar-bg: #161616;
    --mvx-sidebar-text: #A7A7A7;
    --mvx-sidebar-text-hover: #FFFFFF;
    --mvx-bg-light: #F7F8FA;
    --mvx-text-dark: #2C2C2C;
    --mvx-primary-rgb: 138, 28, 48;
}

.border-mvx {
    border-color: var(--mvx-primary) !important;
}

body {
    background-color: var(--mvx-bg-light);
    color: var(--mvx-text-dark);
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', serif;
}

.brand-font {
    font-family: 'Outfit', serif;
}

/* Base Material Icon alignment */
.material-symbols-outlined {
    vertical-align: middle;
    font-size: 1.25rem;
}

/* Custom Buttons */
.btn-primary {
    background-color: var(--mvx-primary);
    border-color: var(--mvx-primary);
    border-radius: 8px !important;
    padding: 0.5rem 1.5rem;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--mvx-primary-hover) !important;
    border-color: var(--mvx-primary-hover) !important;
}

.btn-outline-primary {
    color: var(--mvx-primary);
    border-color: var(--mvx-primary);
    border-radius: 8px !important;
}

.btn-outline-primary:hover {
    background-color: var(--mvx-primary);
    color: #fff;
}

.btn-light,
.btn-dark,
.btn-outline-secondary,
.btn-outline-danger,
.btn-white,
.btn.btn-sm {
    border-radius: 8px;
}

/* Custom Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease-in-out;
}

.card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    /*transform: translateY(-2px);*/
}

/* Image Hover Zoom for Catalogo */
.card-img-container {
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.card-img-container img {
    transition: transform 0.5s ease;
}

.card:hover .card-img-container img {
    transform: scale(1.05);
}

/* Feature/Soft Badges */
.badge-soft {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

/* Utilities */
.text-spacing-sm {
    letter-spacing: 0.5px;
}

.text-spacing-md {
    letter-spacing: 1px;
}

.text-spacing-lg {
    letter-spacing: 1.5px;
}

.image-upload-box {
    height: 150px;
    cursor: pointer;
}

.switch-lg {
    width: 2.5rem;
    height: 1.25rem;
}

/* Wizard Layout Design (Lovable Reference) */
.wizard-bg {
    background: linear-gradient(135deg, #e0e2e9 0%, #f5f5f7 50%, #f5d5db 100%);
    min-height: 100vh;
}

.wizard-serif {
    font-family: 'Playfair Display', serif;
}

/* Rounded Cards */
.rounded-4 {
    border-radius: 1rem !important;
}

.rounded-5 {
    border-radius: 1.5rem !important;
}

/* Generic Icon/Selection Card */
.wizard-selection-card {
    transition: all 0.3s ease;
    border: 2px solid transparent !important;
    cursor: pointer;
    background: transparent;
}

.wizard-selection-card:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.wizard-selection-card:has(input[type="radio"]:checked) {
    border-color: var(--mvx-primary) !important;
    background: rgba(255, 255, 255, 0.7);
}

/* Stepper Design */
.stepper-chip {
    padding: 0.35rem 1rem;
    border-radius: 50rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stepper-active {
    background-color: var(--mvx-primary);
    color: white;
}

.stepper-inactive {
    background-color: rgba(0, 0, 0, 0.05);
    color: #666;
}

.stepper-line {
    height: 1px;
    width: 24px;
    background-color: rgba(0, 0, 0, 0.1);
}

/* =========================================================================
   Wizard — Utility Classes (shared across all wizard steps)
   ========================================================================= */

/* Centered form container for simple wizard steps (e.g. Create) */
.wizard-page-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

@media (min-width: 768px) {
    .wizard-page-container {
        padding: 3rem 2rem 5rem;
    }
}

/* Page header block (title + subtitle) at the top of each wizard step */
.wizard-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Main title of a wizard step */
.wizard-step-title {
    font-family: 'Outfit', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .wizard-step-title {
        font-size: 2.8rem;
    }
}

/* Subtitle/description line below the step title */
.wizard-step-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Section label above a group of cards (e.g. "Tipo de serviço") */
.wizard-section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.85rem;
    display: block;
}

/* =========================================================================
   Wizard Specific Styling (legacy)
   ========================================================================= */

/* Wizard Specific Styling */
.wizard-step-active {
    background-color: var(--mvx-primary);
    color: white;
    border-radius: 20px;
    padding: 5px 15px;
    font-weight: 500;
}

.wizard-step-inactive {
    color: #6c757d;
    padding: 5px 15px;
}

.wizard-card-radio {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.wizard-card-radio:hover {
    border-color: var(--mvx-primary);
    background-color: #fcf6f7;
}

.wizard-card-radio.active {
    border: 2px solid var(--mvx-primary) !important;
    background-color: #fcf6f7;
}

/* =========================================================================
   Global UI Standardization (Admin Forms, Inputs, Buttons & Breadcrumbs)
   ========================================================================= */

/* 1. Mvx Buttons (Overrides default Bootstrap Primary) */
.btn-mvx {
    background-color: var(--mvx-primary);
    border-color: var(--mvx-primary);
    color: #fff;
    border-radius: 8px !important;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-mvx:hover,
.btn-mvx:focus {
    background-color: var(--mvx-primary-hover);
    border-color: var(--mvx-primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(134, 33, 55, 0.2);
}

.text-mvx {
    color: var(--mvx-primary) !important;
}

.bg-mvx {
    background-color: var(--mvx-primary) !important;
}

.bg-mvx-light {
    background-color: rgba(var(--mvx-primary-rgb), 0.1) !important;
}

.btn-search-filter {
    height: 48px !important;
    font-size: 1rem;
}

/* 2. Standardized Inputs (.form-control, .form-select) */
.form-control,
.form-select {
    border-radius: 0.5rem;
    font-size: 1rem;
    /* Uniform Height & Padding */
    padding: 0.75rem 1rem;
    min-height: 3rem;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    font-family: 'Inter', sans-serif;
}

/* Specific styling for inputs resting on "bg-light" cards */
.bg-light .form-control,
.bg-light .form-select {
    background-color: #f8f9fa;
    border-color: transparent;
}

.form-control:focus,
.form-select:focus {
    background-color: #fff;
    border-color: var(--mvx-primary);
    box-shadow: 0 0 0 0.2rem rgba(134, 33, 55, 0.2);
}

/* Branded Checkboxes & Switches */
.form-check-input:checked {
    background-color: var(--mvx-primary);
    border-color: var(--mvx-primary);
}

.form-check-input:focus {
    border-color: var(--mvx-primary);
    box-shadow: 0 0 0 0.25rem rgba(134, 33, 55, 0.25);
}

/* Custom Alert - Mvx Style */
.alert-mvx {
    background-color: #fdf2f4;
    border-left: 4px solid var(--mvx-primary);
    color: #5a1220;
    border-radius: 12px;
}

.alert-mvx .material-symbols-outlined {
    color: var(--mvx-primary);
}

/* 3. Mvx Custom Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #888;
    /* Muted gray */
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--mvx-primary);
}

.breadcrumb-item.active {
    color: var(--mvx-text-dark);
    /* Dark gray/black for active page */
    font-weight: 600;
}

/* Breadcrumb Divider */
.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: #dee2e6;
    /* Soft border color */
}

/* Admin Panel Layout Styles */
.admin-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 100vh;
    color: var(--mvx-sidebar-text);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
}

.admin-content {
    flex: 1;
    background-color: var(--mvx-bg-light);
    min-height: 100vh;
}

.sidebar-brand {
    padding: 1.5rem;
    color: var(--mvx-primary) !important;
    font-size: 1.5rem;
    text-decoration: none;
    display: block;
}

/* Enforce brand color rigorously on the anchor */
a.sidebar-brand {
    color: var(--mvx-primary) !important;
}

.sidebar-brand .subtitle {
    font-size: 0.8rem;
    color: var(--mvx-sidebar-text);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.nav-link.sidebar-link {
    color: var(--mvx-sidebar-text);
    padding: 10px 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.nav-link.sidebar-link:hover,
.nav-link.sidebar-link.active {
    color: var(--mvx-sidebar-text-hover);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.sidebar-link.text-mvx {
    color: var(--mvx-primary) !important;
}

.sidebar-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    margin: 1.5rem 1.5rem 0.5rem;
}

.top-navbar {
    background-color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #dee2e6;
}

/* Custom Dropdown Styling */
.mvx-dropdown .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    padding: 0.5rem;
    min-width: 200px;
}

.mvx-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: #495057;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.mvx-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--mvx-primary);
}

.mvx-dropdown .dropdown-item .material-symbols-outlined {
    font-size: 1.1rem;
}

.mvx-dropdown-header {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #adb5bd;
    font-weight: 600;
}

/* ── Dropdown ── */
.dropdown-menu .dropdown-item {
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 4px;
    width: calc(100% - 8px);
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: rgba(var(--mvx-primary-rgb), 0.08) !important;
    color: var(--mvx-primary) !important;
}

.dropdown-menu .dropdown-item:active {
    background-color: rgba(var(--mvx-primary-rgb), 0.18) !important;
    color: var(--mvx-primary) !important;
}

/* mantém os ícones coloridos no hover */
.dropdown-menu .dropdown-item:hover .material-symbols-outlined,
.dropdown-menu .dropdown-item:focus .material-symbols-outlined {
    color: var(--mvx-primary) !important;
}

/* hint (subtítulo) fica levemente tingido no hover */
.dropdown-menu .dropdown-item:hover .text-muted,
.dropdown-menu .dropdown-item:focus .text-muted {
    color: rgba(var(--mvx-primary-rgb), 0.65) !important;
}

/* Auth/Login Layout Styles */
body.login-body {
    background-color: var(--mvx-bg-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.auth-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 480px;
    width: 100%;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--mvx-primary);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.auth-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 40px;
}

.form-control-lg {
    border-radius: 12px;
    font-size: 1rem;
    padding: 14px 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.form-control-lg:focus {
    background-color: #fff;
    border-color: var(--mvx-primary);
    box-shadow: 0 0 0 0.25rem rgba(134, 33, 55, 0.25);
}

.btn-auth {
    background-color: var(--mvx-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-auth:hover {
    background-color: #6e1a2c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(134, 33, 55, 0.3);
}

.auth-link {
    color: var(--mvx-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: #6e1a2c;
    text-decoration: underline;
}

/* Wizard Layout Styles */
.wizard-header {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    position: sticky;
    top: 0;
    z-index: 100;
}

.wizard-brand {
    color: var(--mvx-primary);
    font-size: 1.8rem;
    text-decoration: none;
    letter-spacing: 2px;
}

.wizard-brand span {
    font-size: 1rem;
    color: #666;
    margin-left: 10px;
    letter-spacing: 1.5px;
    font-family: 'Inter', sans-serif;
}

.stepper {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* ── Tablet: stepper chips ficam compactos ── */
@media (max-width: 1023px) {
    .wizard-header {
        padding: 0.75rem 1.25rem;
        gap: 0.4rem;
    }

    .stepper {
        gap: 3px;
        font-size: 0.72rem;
    }

    .stepper-chip {
        padding: 0.25rem 0.6rem !important;
        font-size: 0.68rem !important;
        white-space: nowrap;
    }

    .stepper-line {
        width: 12px !important;
    }

    .wizard-brand {
        font-size: 1.4rem;
    }

    .wizard-brand span {
        font-size: 0.8rem;
        margin-left: 6px;
    }
}

/* ── Small tablet / large phone: hide stepper lines ── */
@media (max-width: 767px) {
    .stepper-line {
        display: none;
    }

    .stepper {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .stepper-chip {
        padding: 0.2rem 0.5rem !important;
        font-size: 0.62rem !important;
    }
}

/* Evento/Cardapio Styles */
.wizard-card-checkbox {
    transition: all 0.3s ease;
    border: 2px solid transparent !important;
    cursor: pointer;
}

.wizard-card-checkbox:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.wizard-card-checkbox input[type="checkbox"]:checked+label {
    border-color: var(--mvx-primary) !important;
    background-color: rgba(var(--mvx-primary-rgb), 0.05);
    /* Requires --mvx-primary-rgb definition */
}

/* Target the parent card when active */
.wizard-card-checkbox:has(input[type="checkbox"]:checked) {
    border-color: var(--mvx-primary) !important;
    background-color: var(--mvx-light);
}

.category-header {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
    letter-spacing: 0.5px;
}

.menu-filter-badge {
    background-color: white;
    color: var(--bs-dark);
    border-radius: 50rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.menu-filter-badge:hover {
    background-color: #f8f9fa;
}

.menu-filter-active {
    background-color: var(--bs-dark);
    color: white;
}

.menu-filter-active:hover {
    background-color: #333;
}

.wizard-image-card {
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    background-color: white;
}

.wizard-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.wizard-image-card.selected {
    border-color: var(--mvx-primary);
    box-shadow: 0 0 0 4px rgba(var(--mvx-primary-rgb), 0.1);
}

.wizard-image-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.modal-content-rounded {
    border-radius: 1.5rem;
    overflow: hidden;
    border: none;
}

/* Evento/Decoracao Styles */
.wizard-qty-control {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--bs-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wizard-qty-control:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.wizard-qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.qty-stepper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 4px;
    border: 1px solid #dee2e6;
}

/* Evento/Resumo Styles */
body.resumo-body {
    background: white !important;
    /* override wizard-bg */
}

.wizard-header-resumo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent !important;
}

main.flex-grow-1.resumo-main {
    padding: 0 !important;
    margin-top: 0 !important;
}

.moodboard-section {
    background: linear-gradient(135deg, #fdfbfb 0%, #f6f3f4 100%);
    min-height: 100vh;
    padding: 5rem 1.25rem 2rem;
}

@media (min-width: 1024px) {
    .wizard-header {
        padding: 1.25rem 3rem;
    }

    .moodboard-section {
        padding: 8rem 4rem 4rem;
    }
}

.checkout-section {
    background: white;
    min-height: 100vh;
    padding: 5rem 1.25rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .checkout-section {
        padding: 8rem 4rem 4rem;
    }
}

.moodboard-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.checkout-sticky {
    position: sticky;
    top: 8rem;
}

/* =============================================
   Paginação - Padrão MVX
   Sobrescreve o Bootstrap/Angular UI default
   ============================================= */
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination>li>a,
.pagination>li>span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background-color: #fff;
    color: #495057;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    line-height: 1;
}

.pagination>li>a:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: var(--mvx-primary);
}

/* Página ativa */
.pagination>li.active>a,
.pagination>li.active>span,
.pagination>li.active>a:hover,
.pagination>li.active>span:hover,
.pagination>li.active>a:focus,
.pagination>li.active>span:focus {
    background-color: var(--mvx-primary);
    border-color: var(--mvx-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(134, 33, 55, 0.25);
    cursor: default;
}

/* Desabilitado (primeira/última página) */
.pagination>li.disabled>a,
.pagination>li.disabled>span {
    background-color: #fff;
    border-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    pointer-events: none;
}

/* Setas de navegação (prev/next) */
.pagination>li:first-child>a,
.pagination>li:first-child>span,
.pagination>li:last-child>a,
.pagination>li:last-child>span {
    color: #6c757d;
    font-size: 1rem;
}

/* =============================================
   Premium Product Cards - Categoria View
   ============================================= */
/* =============================================
   Filtering UI - Categoria View
   ============================================= */
.filter-bar {
    background: #ffffff;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

.search-input-wrapper {
    position: relative;
    max-width: 300px;
}

.search-input-wrapper .material-symbols-outlined {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

.search-input-wrapper input {
    padding-left: 40px !important;
}

.category-tags-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.category-tag {
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid transparent;
    user-select: none;
}

.category-tag:hover {
    background: #e9ecef;
    color: var(--mvx-text-dark);
}

.category-tag.active {
    background: var(--mvx-primary);
    color: white;
    border-color: var(--mvx-primary);
    box-shadow: 0 4px 12px rgba(138, 28, 48, 0.2);
}

.product-card-premium {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Garante altura igual em grids flex/grid */
    min-height: auto;
    /* Remove altura mínima agressiva */
}

.product-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.product-card-premium.selected {
    border-color: var(--mvx-primary) !important;
    background: #fffcfd;
}

.product-card-img-wrapper {
    position: relative;
    height: 140px;
    /* Reduzido de 150px para ser mais compacto */
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #f8f9fa;
}

.product-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card-premium:hover .product-card-img-wrapper img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 0.75rem;
    /* Reduzido de 1rem para menos espaço em branco */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mvx-text-dark);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--mvx-primary);
    opacity: 0.8;
}

.product-card-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0.4rem 0;
    /* Reduzido de 0.75rem */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
}

.product-card-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mvx-text-dark);
}

.product-card-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #adb5bd;
    transition: all 0.2s ease;
    border: none;
}

.product-card-action-btn:hover {
    background: var(--mvx-primary);
    color: white;
}

.product-card-select-indicator {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--mvx-primary);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card-premium.selected .product-card-select-indicator {
    transform: scale(1);
}

.product-card-details-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
    border: none;
    opacity: 0;
    transform: translateX(10px);
}

.product-card-premium:hover .product-card-details-btn {
    opacity: 1;
    transform: translateX(0);
}

.product-card-details-btn:hover {
    background: white;
    color: var(--mvx-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-footer .pagination {
    margin: 0;
}

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    z-index: 1050;
    overflow-y: auto;
    transition: transform 0.3s ease;

    height: 100vh;
    height: -webkit-fill-available;
}

@media (min-width: 800px) {
    .admin-sidebar {
        transform: translateX(0);
    }

    #toggleSidebar:checked ~ #sidebar {
        transform: translateX(-100%);
    }

    .admin-content {
        margin-left: 260px;
    }

    #toggleSidebar:checked ~ .admin-content {
        margin-left: 0;
    }
    
    .button-close-sidebar {
        display: none;
    }
}

@media (max-width: 799px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    #toggleSidebar:checked ~ #sidebar {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0 !important;
    }
}