/* =============================================================
   Galorina Vendors - Modern Professional CSS
   Inspired by Amazon/Aliexpress - Clean, Modern, Professional
   Colors: Primary #045CB4 | Secondary #61CE70
   ============================================================= */

:root {
    /* Brand Colors */
    --gv-primary: #045CB4;
    --gv-primary-dark: #034a94;
    --gv-primary-light: #0676e0;
    --gv-secondary: #61CE70;
    --gv-secondary-dark: #4eb85e;
    --gv-secondary-light: #7dda8a;
    
    /* Neutrals */
    --gv-white: #ffffff;
    --gv-gray-50: #f7f9fa;
    --gv-gray-100: #f0f2f5;
    --gv-gray-200: #e4e7eb;
    --gv-gray-300: #d1d5db;
    --gv-gray-400: #9ca3af;
    --gv-gray-500: #6b7280;
    --gv-gray-600: #4b5563;
    --gv-gray-700: #374151;
    --gv-gray-800: #1f2937;
    --gv-gray-900: #111827;
    
    /* Semantic */
    --gv-success: #10b981;
    --gv-warning: #f59e0b;
    --gv-danger: #ef4444;
    --gv-info: #3b82f6;
    
    /* Spacing */
    --gv-radius-sm: 4px;
    --gv-radius: 8px;
    --gv-radius-lg: 12px;
    --gv-radius-xl: 16px;
    
    /* Typography */
    --gv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gv-font-size-xs: 11px;
    --gv-font-size-sm: 13px;
    --gv-font-size-base: 14px;
    --gv-font-size-lg: 16px;
    --gv-font-size-xl: 18px;
    --gv-font-size-2xl: 22px;
    --gv-font-size-3xl: 28px;
    
    /* Shadows */
    --gv-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --gv-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --gv-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --gv-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    /* Transitions */
    --gv-transition: 0.2s ease;
    --gv-transition-fast: 0.15s ease;
}

/* =============================================================
   RESET & BASE
   ============================================================= */

.gv-dashboard *,
.gv-prompt-box *,
.gv-auth-container *,
.gv-catalog-wrapper *,
.gv-jobs-catalog-wrapper *,
.gv-properties-catalog-wrapper * {
    box-sizing: border-box;
}

.gv-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
    font-family: var(--gv-font);
    color: var(--gv-gray-800);
    font-size: var(--gv-font-size-base);
    line-height: 1.5;
}

/* =============================================================
   AUTH CONTAINER - Login/Register
   ============================================================= */

.gv-auth-container {
    max-width: 420px;
    margin: 40px auto;
    background: var(--gv-white);
    border-radius: var(--gv-radius-lg);
    box-shadow: var(--gv-shadow-lg);
    overflow: hidden;
}

.gv-auth-header {
    background: linear-gradient(135deg, var(--gv-primary) 0%, var(--gv-primary-dark) 100%);
    padding: 28px 24px;
    text-align: center;
}

.gv-auth-logo {
    font-size: var(--gv-font-size-2xl);
    font-weight: 700;
    color: var(--gv-white);
    margin-bottom: 4px;
}

.gv-auth-tagline {
    font-size: var(--gv-font-size-sm);
    color: rgba(255,255,255,0.85);
}

.gv-auth-body {
    padding: 28px 24px;
}

.gv-auth-title {
    font-size: var(--gv-font-size-xl);
    font-weight: 600;
    color: var(--gv-gray-800);
    margin-bottom: 20px;
    text-align: center;
}

.gv-auth-tabs {
    display: flex;
    margin: -28px -24px 24px;
    border-bottom: 1px solid var(--gv-gray-200);
}

.gv-auth-tab {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-size: var(--gv-font-size-sm);
    font-weight: 600;
    color: var(--gv-gray-500);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--gv-transition);
    position: relative;
}

.gv-auth-tab:hover {
    color: var(--gv-primary);
}

.gv-auth-tab.active {
    color: var(--gv-primary);
}

.gv-auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gv-primary);
}

.gv-auth-form {
    display: none;
}

.gv-auth-form.active {
    display: block;
}

.gv-auth-form .gv-form-group {
    margin-bottom: 16px;
}

.gv-auth-form .gv-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--gv-font-size-sm);
    font-weight: 500;
    color: var(--gv-gray-700);
}

.gv-auth-form .gv-form-input {
    width: 100%;
    padding: 10px 12px;
    font-size: var(--gv-font-size-base);
    border: 1px solid var(--gv-gray-300);
    border-radius: var(--gv-radius);
    transition: var(--gv-transition);
}

.gv-auth-form .gv-form-input:focus {
    outline: none;
    border-color: var(--gv-primary);
    box-shadow: 0 0 0 3px rgba(4,92,180,0.1);
}

.gv-auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.gv-auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gv-primary);
}

.gv-auth-remember label {
    font-size: var(--gv-font-size-sm);
    color: var(--gv-gray-600);
    cursor: pointer;
}

.gv-auth-submit {
    width: 100%;
    padding: 12px;
    font-size: var(--gv-font-size-base);
    font-weight: 600;
    color: var(--gv-white);
    background: var(--gv-primary);
    border: none;
    border-radius: var(--gv-radius);
    cursor: pointer;
    transition: var(--gv-transition);
}

.gv-auth-submit:hover {
    background: var(--gv-primary-dark);
}

.gv-auth-links {
    margin-top: 20px;
    text-align: center;
    font-size: var(--gv-font-size-sm);
    color: var(--gv-gray-500);
}

.gv-auth-links a {
    color: var(--gv-primary);
    text-decoration: none;
    font-weight: 500;
}

.gv-auth-links a:hover {
    text-decoration: underline;
}

.gv-auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--gv-gray-400);
    font-size: var(--gv-font-size-sm);
}

.gv-auth-divider::before,
.gv-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gv-gray-200);
}

.gv-auth-divider::before {
    margin-right: 12px;
}

.gv-auth-divider::after {
    margin-left: 12px;
}

/* =============================================================
   PROMPT BOXES (login / suscripcion)
   ============================================================= */

.gv-prompt-box {
    max-width: 420px;
    margin: 60px auto;
    padding: 40px 32px;
    background: var(--gv-white);
    border-radius: var(--gv-radius-lg);
    box-shadow: var(--gv-shadow-lg);
    text-align: center;
}

.gv-prompt-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(4,92,180,0.1) 0%, rgba(97,206,112,0.1) 100%);
    border-radius: 50%;
}

.gv-prompt-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--gv-primary);
}

.gv-prompt-box h2 {
    font-size: var(--gv-font-size-xl);
    font-weight: 700;
    color: var(--gv-gray-800);
    margin: 0 0 8px;
}

.gv-prompt-box p {
    color: var(--gv-gray-500);
    margin: 0 0 24px;
    font-size: var(--gv-font-size-sm);
}

/* =============================================================
   HEADER
   ============================================================= */

.gv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--gv-white);
    border-radius: var(--gv-radius);
    box-shadow: var(--gv-shadow);
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.gv-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gv-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--gv-font-size-lg);
    font-weight: 700;
    color: var(--gv-gray-800);
    margin: 0;
}

.gv-header-title svg {
    color: var(--gv-primary);
}

.gv-header-sub {
    font-size: var(--gv-font-size-xs);
    color: var(--gv-gray-500);
    margin: 0;
}

.gv-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gv-badge-plan {
    background: linear-gradient(135deg, var(--gv-primary) 0%, var(--gv-primary-light) 100%);
    color: var(--gv-white);
    padding: 4px 10px;
    font-size: var(--gv-font-size-xs);
    font-weight: 600;
    border-radius: 20px;
}

.gv-badge-products {
    background: var(--gv-gray-100);
    color: var(--gv-gray-600);
    padding: 4px 10px;
    font-size: var(--gv-font-size-xs);
    font-weight: 500;
    border-radius: 20px;
}

.gv-notif-bell {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gv-gray-100);
    border-radius: 50%;
    color: var(--gv-gray-600);
    transition: var(--gv-transition);
    text-decoration: none;
}

.gv-notif-bell:hover {
    background: var(--gv-gray-200);
    color: var(--gv-primary);
}

.gv-notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--gv-white);
    background: var(--gv-danger);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gv-notif-badge--hidden {
    display: none;
}

/* =============================================================
   HAMBURGER MENU
   ============================================================= */

.gv-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.gv-hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gv-gray-700);
    border-radius: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--gv-transition);
}

.gv-hamburger-bar:nth-child(1) { top: 12px; }
.gv-hamburger-bar:nth-child(2) { top: 19px; }
.gv-hamburger-bar:nth-child(3) { top: 26px; }

.gv-hamburger.is-open .gv-hamburger-bar:nth-child(1) {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.gv-hamburger.is-open .gv-hamburger-bar:nth-child(2) {
    opacity: 0;
}

.gv-hamburger.is-open .gv-hamburger-bar:nth-child(3) {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

/* =============================================================
   SIDEBAR
   ============================================================= */

.gv-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--gv-transition);
}

.gv-sidebar-overlay.is-visible {
    display: block;
    opacity: 1;
}

.gv-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: var(--gv-white);
    box-shadow: var(--gv-shadow-lg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--gv-transition);
}

.gv-sidebar.is-open {
    transform: translateX(0);
}

.gv-sidebar-mobile-header {
    display: none;
    padding: 16px;
    border-bottom: 1px solid var(--gv-gray-200);
    justify-content: space-between;
    align-items: center;
}

.gv-sidebar-mobile-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gv-gray-800);
}

.gv-sidebar-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gv-gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--gv-gray-600);
}

.gv-nav {
    flex: 1;
    padding: 12px 0;
    overflow-y: auto;
}

.gv-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--gv-gray-600);
    text-decoration: none;
    font-size: var(--gv-font-size-sm);
    font-weight: 500;
    transition: var(--gv-transition);
    position: relative;
}

.gv-nav-item:hover {
    background: var(--gv-gray-50);
    color: var(--gv-primary);
}

.gv-nav-item.active {
    background: rgba(4,92,180,0.08);
    color: var(--gv-primary);
    font-weight: 600;
}

.gv-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gv-primary);
    border-radius: 0 2px 2px 0;
}

.gv-nav-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.gv-nav-item.active svg {
    opacity: 1;
}

.gv-nav-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--gv-white);
    background: var(--gv-danger);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gv-sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--gv-gray-200);
}

.gv-nav-logout {
    color: var(--gv-danger);
}

.gv-nav-logout:hover {
    background: rgba(239,68,68,0.08);
    color: var(--gv-danger);
}

/* =============================================================
   DASHBOARD LAYOUT
   ============================================================= */

.gv-dashboard-layout {
    display: flex;
    gap: 16px;
}

.gv-dashboard-main {
    flex: 1;
    min-width: 0;
}

@media (min-width: 901px) {
    .gv-sidebar {
        position: sticky;
        top: 16px;
        width: 220px;
        height: auto;
        min-height: calc(100vh - 120px);
        transform: none;
        border-radius: var(--gv-radius);
        box-shadow: var(--gv-shadow);
    }
    
    .gv-sidebar-mobile-header {
        display: none;
    }
    
    .gv-hamburger {
        display: none;
    }
    
    .gv-sidebar-overlay {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .gv-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .gv-sidebar-mobile-header {
        display: flex;
    }
}

/* =============================================================
   BUTTONS
   ============================================================= */

.gv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: var(--gv-font-size-sm);
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--gv-radius);
    cursor: pointer;
    transition: var(--gv-transition);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.gv-btn-primary {
    background: var(--gv-primary);
    color: var(--gv-white);
}

.gv-btn-primary:hover {
    background: var(--gv-primary-dark);
    color: var(--gv-white);
}

.gv-btn-secondary {
    background: var(--gv-secondary);
    color: var(--gv-white);
}

.gv-btn-secondary:hover {
    background: var(--gv-secondary-dark);
    color: var(--gv-white);
}

.gv-btn-outline {
    background: transparent;
    border: 1px solid var(--gv-primary);
    color: var(--gv-primary);
}

.gv-btn-outline:hover {
    background: var(--gv-primary);
    color: var(--gv-white);
}

.gv-btn-ghost {
    background: transparent;
    color: var(--gv-gray-600);
}

.gv-btn-ghost:hover {
    background: var(--gv-gray-100);
    color: var(--gv-gray-800);
}

.gv-btn-sm {
    padding: 6px 12px;
    font-size: var(--gv-font-size-xs);
}

.gv-btn-lg {
    padding: 14px 28px;
    font-size: var(--gv-font-size-base);
}

.gv-btn:disabled,
.gv-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================================================
   CARDS
   ============================================================= */

.gv-card {
    background: var(--gv-white);
    border-radius: var(--gv-radius);
    box-shadow: var(--gv-shadow);
    padding: 20px;
}

.gv-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gv-gray-200);
}

.gv-card-title {
    font-size: var(--gv-font-size-lg);
    font-weight: 600;
    color: var(--gv-gray-800);
    margin: 0;
}

/* =============================================================
   FORMS
   ============================================================= */

.gv-form-group {
    margin-bottom: 16px;
}

.gv-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--gv-font-size-sm);
    font-weight: 500;
    color: var(--gv-gray-700);
}

.gv-form-input,
.gv-form-textarea,
.gv-form-select {
    width: 100%;
    padding: 10px 12px;
    font-size: var(--gv-font-size-base);
    font-family: inherit;
    background: var(--gv-white);
    border: 1px solid var(--gv-gray-300);
    border-radius: var(--gv-radius);
    color: var(--gv-gray-800);
    transition: var(--gv-transition);
}

.gv-form-input:focus,
.gv-form-textarea:focus,
.gv-form-select:focus {
    outline: none;
    border-color: var(--gv-primary);
    box-shadow: 0 0 0 3px rgba(4,92,180,0.1);
}

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

.gv-form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gv-form-col {
    flex: 1;
    min-width: 150px;
}

.gv-required {
    color: var(--gv-danger);
}

.gv-field-help {
    margin-top: 4px;
    font-size: var(--gv-font-size-xs);
    color: var(--gv-gray-500);
}

.gv-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: var(--gv-font-size-sm);
}

.gv-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gv-primary);
}

/* =============================================================
   FORM SECTIONS
   ============================================================= */

.gv-form-section {
    background: var(--gv-white);
    border-radius: var(--gv-radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--gv-shadow-sm);
}

.gv-form-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--gv-font-size-base);
    font-weight: 600;
    color: var(--gv-gray-800);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gv-gray-200);
}

.gv-form-section-title svg {
    color: var(--gv-primary);
}

.gv-form-actions {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    flex-wrap: wrap;
}

/* =============================================================
   TABLES
   ============================================================= */

.gv-table-wrapper,
.gv-products-table-wrap,
.gv-properties-table-wrap {
    overflow-x: auto;
    border-radius: var(--gv-radius);
    box-shadow: var(--gv-shadow-sm);
}

.gv-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--gv-white);
    font-size: var(--gv-font-size-sm);
}

.gv-table th,
.gv-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--gv-gray-200);
}

.gv-table th {
    background: var(--gv-gray-50);
    font-weight: 600;
    color: var(--gv-gray-700);
    font-size: var(--gv-font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gv-table tbody tr:hover {
    background: var(--gv-gray-50);
}

.gv-product-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--gv-radius-sm);
}

.gv-product-thumb-placeholder {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gv-gray-100);
    border-radius: var(--gv-radius-sm);
}

.gv-product-name {
    font-weight: 500;
    color: var(--gv-gray-800);
}

.gv-product-name a {
    color: inherit;
    text-decoration: none;
}

.gv-product-name a:hover {
    color: var(--gv-primary);
}

.gv-product-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--gv-font-size-xs);
    color: var(--gv-gray-500);
    margin-top: 4px;
}

.gv-td-actions {
    white-space: nowrap;
}

.gv-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: var(--gv-radius-sm);
    cursor: pointer;
    color: var(--gv-gray-500);
    transition: var(--gv-transition);
    text-decoration: none;
}

.gv-action-btn:hover {
    background: var(--gv-gray-100);
    color: var(--gv-gray-700);
}

.gv-action-edit:hover {
    background: rgba(4,92,180,0.1);
    color: var(--gv-primary);
}

.gv-action-delete:hover {
    background: rgba(239,68,68,0.1);
    color: var(--gv-danger);
}

/* =============================================================
   STATUS BADGES
   ============================================================= */

.gv-status-badge,
.gv-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: var(--gv-font-size-xs);
    font-weight: 600;
    border-radius: 20px;
    text-transform: capitalize;
}

.gv-status-publish,
.gv-badge-success {
    background: rgba(16,185,129,0.1);
    color: var(--gv-success);
}

.gv-status-draft,
.gv-badge-draft {
    background: var(--gv-gray-100);
    color: var(--gv-gray-600);
}

.gv-status-pending,
.gv-badge-warning {
    background: rgba(245,158,11,0.1);
    color: var(--gv-warning);
}

.gv-badge-danger {
    background: rgba(239,68,68,0.1);
    color: var(--gv-danger);
}

.gv-badge-primary {
    background: rgba(4,92,180,0.1);
    color: var(--gv-primary);
}

/* =============================================================
   STATS CARDS
   ============================================================= */

.gv-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.gv-stat-card {
    background: var(--gv-white);
    border-radius: var(--gv-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--gv-shadow);
    transition: var(--gv-transition);
}

.gv-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gv-shadow-md);
}

.gv-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--gv-radius);
}

.gv-stat-icon-blue {
    background: rgba(4,92,180,0.1);
    color: var(--gv-primary);
}

.gv-stat-icon-green {
    background: rgba(97,206,112,0.1);
    color: var(--gv-secondary);
}

.gv-stat-icon-orange {
    background: rgba(245,158,11,0.1);
    color: var(--gv-warning);
}

.gv-stat-icon-purple {
    background: rgba(139,92,246,0.1);
    color: #8b5cf6;
}

.gv-stat-info {
    display: flex;
    flex-direction: column;
}

.gv-stat-value {
    font-size: var(--gv-font-size-xl);
    font-weight: 700;
    color: var(--gv-gray-800);
}

.gv-stat-label {
    font-size: var(--gv-font-size-sm);
    color: var(--gv-gray-500);
}

/* =============================================================
   QUICK ACTIONS
   ============================================================= */

.gv-quick-actions {
    margin-top: 24px;
}

.gv-quick-actions h3 {
    font-size: var(--gv-font-size-base);
    font-weight: 600;
    color: var(--gv-gray-800);
    margin: 0 0 12px;
}

.gv-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.gv-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    background: var(--gv-white);
    border-radius: var(--gv-radius);
    box-shadow: var(--gv-shadow-sm);
    text-decoration: none;
    color: var(--gv-gray-600);
    font-size: var(--gv-font-size-sm);
    font-weight: 500;
    transition: var(--gv-transition);
}

.gv-quick-action:hover {
    color: var(--gv-primary);
    transform: translateY(-2px);
    box-shadow: var(--gv-shadow);
}

.gv-quick-action svg {
    color: var(--gv-primary);
}

/* =============================================================
   VIEW CONTAINERS
   ============================================================= */

.gv-view {
    background: var(--gv-white);
    border-radius: var(--gv-radius);
    padding: 20px;
    box-shadow: var(--gv-shadow);
}

.gv-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gv-gray-200);
    flex-wrap: wrap;
    gap: 12px;
}

.gv-view-title {
    font-size: var(--gv-font-size-lg);
    font-weight: 700;
    color: var(--gv-gray-800);
    margin: 0;
}

/* =============================================================
   EMPTY STATE
   ============================================================= */

.gv-empty-state {
    text-align: center;
    padding: 48px 24px;
}

.gv-empty-state svg {
    margin-bottom: 16px;
}

.gv-empty-state p {
    color: var(--gv-gray-500);
    margin: 0 0 20px;
}

/* =============================================================
   LIMIT REACHED
   ============================================================= */

.gv-limit-reached {
    text-align: center;
    padding: 48px 24px;
}

.gv-limit-reached svg {
    margin-bottom: 16px;
}

.gv-limit-reached h2 {
    font-size: var(--gv-font-size-lg);
    color: var(--gv-gray-800);
    margin: 0 0 8px;
}

.gv-limit-reached p {
    color: var(--gv-gray-500);
    margin: 0 0 20px;
    font-size: var(--gv-font-size-sm);
}

/* =============================================================
   NOTICES
   ============================================================= */

.gv-notice {
    padding: 12px 16px;
    border-radius: var(--gv-radius);
    margin-bottom: 16px;
    font-size: var(--gv-font-size-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.gv-notice-success {
    background: rgba(16,185,129,0.1);
    color: var(--gv-success);
    border: 1px solid rgba(16,185,129,0.2);
}

.gv-notice-error {
    background: rgba(239,68,68,0.1);
    color: var(--gv-danger);
    border: 1px solid rgba(239,68,68,0.2);
}

.gv-notice-info {
    background: rgba(59,130,246,0.1);
    color: var(--gv-info);
    border: 1px solid rgba(59,130,246,0.2);
}

/* =============================================================
   TOAST NOTIFICATIONS
   ============================================================= */

.gv-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gv-toast {
    padding: 14px 18px;
    border-radius: var(--gv-radius);
    font-size: var(--gv-font-size-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--gv-shadow-lg);
    animation: gv-toast-in 0.3s ease;
    max-width: 340px;
}

@keyframes gv-toast-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gv-toast-success {
    background: var(--gv-success);
    color: var(--gv-white);
}

.gv-toast-error {
    background: var(--gv-danger);
    color: var(--gv-white);
}

.gv-toast-info {
    background: var(--gv-info);
    color: var(--gv-white);
}

/* =============================================================
   CATEGORIES GRID
   ============================================================= */

.gv-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
    background: var(--gv-gray-50);
    border-radius: var(--gv-radius);
}

/* =============================================================
   IMAGE UPLOAD
   ============================================================= */

.gv-upload-area {
    border: 2px dashed var(--gv-gray-300);
    border-radius: var(--gv-radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--gv-transition);
    position: relative;
}

.gv-upload-area:hover {
    border-color: var(--gv-primary);
    background: rgba(4,92,180,0.02);
}

.gv-upload-area.gv-drag-over {
    border-color: var(--gv-primary);
    background: rgba(4,92,180,0.05);
}

.gv-upload-area p {
    margin: 8px 0 0;
    font-size: var(--gv-font-size-sm);
    color: var(--gv-gray-500);
}

.gv-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.gv-image-preview,
.gv-gallery-preview {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gv-current-image {
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.gv-current-image img {
    max-width: 120px;
    max-height: 120px;
    border-radius: var(--gv-radius);
    object-fit: cover;
}

.gv-current-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: var(--gv-white);
    font-size: 10px;
    padding: 2px 6px;
    text-align: center;
}

.gv-gallery-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--gv-radius-sm);
}

/* =============================================================
   PLAN INFO BOX
   ============================================================= */

.gv-plan-info-box {
    background: var(--gv-gray-50);
    border-radius: var(--gv-radius);
    padding: 16px;
    margin-bottom: 16px;
}

.gv-plan-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: var(--gv-font-size-sm);
    border-bottom: 1px solid var(--gv-gray-200);
}

.gv-plan-info-row:last-child {
    border-bottom: none;
}

.gv-plan-info-row span {
    color: var(--gv-gray-500);
}

.gv-plan-info-row strong {
    color: var(--gv-gray-800);
}

/* =============================================================
   CATALOG WRAPPER - Product Search & Display
   ============================================================= */

.gv-catalog-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
    font-family: var(--gv-font);
}

/* Search Bar */
.gv-search-bar {
    background: var(--gv-white);
    border-radius: var(--gv-radius);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--gv-shadow);
}

.gv-search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gv-search-input-wrap {
    flex: 2;
    min-width: 200px;
    position: relative;
}

.gv-search-input-wrap .gv-search-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    font-size: var(--gv-font-size-sm);
    border: 1px solid var(--gv-gray-300);
    border-radius: var(--gv-radius);
    transition: var(--gv-transition);
}

.gv-search-input-wrap .gv-search-input:focus {
    outline: none;
    border-color: var(--gv-primary);
    box-shadow: 0 0 0 3px rgba(4,92,180,0.1);
}

.gv-search-input-wrap svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gv-gray-400);
    width: 18px;
    height: 18px;
}

.gv-search-select-wrap {
    flex: 1;
    min-width: 140px;
}

.gv-search-select {
    width: 100%;
    padding: 10px 12px;
    font-size: var(--gv-font-size-sm);
    border: 1px solid var(--gv-gray-300);
    border-radius: var(--gv-radius);
    background: var(--gv-white);
    cursor: pointer;
    transition: var(--gv-transition);
}

.gv-search-select:focus {
    outline: none;
    border-color: var(--gv-primary);
}

.gv-search-btn {
    padding: 10px 20px;
}

/* Product Grid */
.gv-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* Product Card - Compact & Modern */
.gv-product-card {
    background: var(--gv-white);
    border-radius: var(--gv-radius);
    overflow: hidden;
    box-shadow: var(--gv-shadow-sm);
    transition: var(--gv-transition);
    position: relative;
}

.gv-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gv-shadow-md);
}

.gv-product-card-image {
    position: relative;
    padding-top: 100%;
    background: var(--gv-gray-100);
    overflow: hidden;
}

.gv-product-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gv-product-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--gv-primary);
    color: var(--gv-white);
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.gv-product-card-badge.sale {
    background: var(--gv-danger);
}

.gv-product-card-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gv-white);
    border-radius: 50%;
    box-shadow: var(--gv-shadow);
    cursor: pointer;
    opacity: 0;
    transition: var(--gv-transition);
}

.gv-product-card:hover .gv-product-card-wishlist {
    opacity: 1;
}

.gv-product-card-wishlist:hover {
    background: var(--gv-danger);
    color: var(--gv-white);
}

.gv-product-card-body {
    padding: 12px;
}

.gv-product-card-category {
    font-size: 10px;
    color: var(--gv-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.gv-product-card-title {
    font-size: var(--gv-font-size-sm);
    font-weight: 500;
    color: var(--gv-gray-800);
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 36px;
}

.gv-product-card-title a {
    color: inherit;
    text-decoration: none;
}

.gv-product-card-title a:hover {
    color: var(--gv-primary);
}

.gv-product-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--gv-gray-500);
    margin-bottom: 8px;
}

.gv-product-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.gv-product-card-price .gv-price-current {
    font-size: var(--gv-font-size-lg);
    font-weight: 700;
    color: var(--gv-primary);
}

.gv-product-card-price .gv-price-original {
    font-size: var(--gv-font-size-sm);
    color: var(--gv-gray-400);
    text-decoration: line-through;
}

.gv-product-card-price .gv-price-currency {
    font-size: var(--gv-font-size-sm);
    font-weight: 500;
    color: var(--gv-gray-600);
}

.gv-product-card-vendor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gv-gray-100);
}

.gv-product-card-vendor-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gv-gray-200);
    overflow: hidden;
}

.gv-product-card-vendor-name {
    font-size: 11px;
    color: var(--gv-gray-500);
}

.gv-product-card-vendor-name a {
    color: var(--gv-gray-700);
    text-decoration: none;
}

.gv-product-card-vendor-name a:hover {
    color: var(--gv-primary);
}

/* =============================================================
   VENDOR CARD
   ============================================================= */

.gv-vendor-card {
    background: var(--gv-white);
    border-radius: var(--gv-radius);
    padding: 20px;
    box-shadow: var(--gv-shadow-sm);
    text-align: center;
    transition: var(--gv-transition);
}

.gv-vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gv-shadow-md);
}

.gv-vendor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    background: var(--gv-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--gv-font-size-2xl);
    font-weight: 700;
    color: var(--gv-primary);
}

.gv-vendor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gv-vendor-name {
    font-size: var(--gv-font-size-base);
    font-weight: 600;
    color: var(--gv-gray-800);
    margin-bottom: 4px;
}

.gv-vendor-company {
    font-size: var(--gv-font-size-sm);
    color: var(--gv-gray-500);
    margin-bottom: 8px;
}

.gv-vendor-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: var(--gv-font-size-xs);
    color: var(--gv-gray-600);
}

.gv-vendor-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gv-vendor-stat strong {
    font-size: var(--gv-font-size-base);
    color: var(--gv-gray-800);
}

/* =============================================================
   PAGINATION
   ============================================================= */

.gv-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.gv-pagination a,
.gv-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: var(--gv-font-size-sm);
    font-weight: 500;
    border-radius: var(--gv-radius);
    text-decoration: none;
    transition: var(--gv-transition);
}

.gv-pagination a {
    color: var(--gv-gray-600);
    background: var(--gv-white);
    box-shadow: var(--gv-shadow-sm);
}

.gv-pagination a:hover {
    background: var(--gv-primary);
    color: var(--gv-white);
}

.gv-pagination .current {
    background: var(--gv-primary);
    color: var(--gv-white);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 768px) {
    .gv-dashboard {
        padding: 12px;
    }
    
    .gv-header {
        flex-direction: column;
        text-align: center;
    }
    
    .gv-header-left,
    .gv-header-right {
        width: 100%;
        justify-content: center;
    }
    
    .gv-form-row {
        flex-direction: column;
    }
    
    .gv-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gv-search-form {
        flex-direction: column;
    }
    
    .gv-search-input-wrap,
    .gv-search-select-wrap {
        min-width: 100%;
    }
    
    .gv-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gv-quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gv-auth-container {
        margin: 20px;
    }
    
    .gv-prompt-box {
        padding: 24px 20px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .gv-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .gv-product-card-body {
        padding: 10px;
    }
    
    .gv-product-card-price .gv-price-current {
        font-size: var(--gv-font-size-base);
    }
    
    .gv-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gv-form-actions {
        flex-direction: column;
    }
    
    .gv-form-actions .gv-btn {
        width: 100%;
    }
}

/* =============================================================
   SPINNER
   ============================================================= */

.gv-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--gv-white);
    animation: gv-spin 0.8s linear infinite;
}

@keyframes gv-spin {
    to { transform: rotate(360deg); }
}

/* =============================================================
   UTILITIES
   ============================================================= */

.gv-text-center { text-align: center; }
.gv-text-right { text-align: right; }
.gv-hidden { display: none !important; }
.gv-visible { display: block !important; }

.gv-mb-0 { margin-bottom: 0; }
.gv-mb-1 { margin-bottom: 8px; }
.gv-mb-2 { margin-bottom: 16px; }
.gv-mb-3 { margin-bottom: 24px; }
.gv-mb-4 { margin-bottom: 32px; }

.gv-mt-0 { margin-top: 0; }
.gv-mt-1 { margin-top: 8px; }
.gv-mt-2 { margin-top: 16px; }
.gv-mt-3 { margin-top: 24px; }
.gv-mt-4 { margin-top: 32px; }

.gv-error-msg {
    padding: 16px;
    background: rgba(239,68,68,0.1);
    color: var(--gv-danger);
    border-radius: var(--gv-radius);
    text-align: center;
}