:root {
    --primary-color: #035E8C;
    --primary-dark: #034B6F;
    --secondary-color: #004F47;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --success: #4CAF50;
    --warning: #FFC107;
    --danger: #f44336;
    --info: #2196F3;
    --rating-color: #FFC107;
}
.vendors-list-container {
    padding: 40px 0;
}

.vendors-list-title{
	font-size: 28px;
	font-weight: 600;
	color: #333;
	margin: 0 0 10px 0;
}

.vendors-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.vendors-sidebar {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}


.vendors-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendors-sidebar-toggle {
	display: none;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #ffffff;
	border-radius: 5px;
	z-index: 999;
	width: 260px;
	height: 45px;
}

.vendors-categories {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vendors-category-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendors-category-item:first-child {
    border-top: 1px solid #eee;
}

.vendors-category-item:hover {
    background: #f0f0f0;
    color: var(--primary-color);
    padding-left: 20px;
}

.vendors-category-item.active {
    background: #F0EFEF;
    color: var(--primary-color);
    font-weight: 600;
    border-left: 4px solid var(--primary-color);
    padding-left: 11px;
}

.vendors-category-count {
    font-size: 12px;
    color: #999;
}

.vendors-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vendors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.vendors-count {
    font-size: 14px;
    color: #666;
}

.vendors-sort {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vendors-sort-label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.vendors-sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vendors-sort-select:hover {
    border-color: var(--primary-color);
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.vendor-card-list {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vendor-card-list:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.vendor-logo-list {
    width: 100px;
    height: 100px;
    background: #f5f5f5;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
}

.vendor-logo-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-name-list {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-name-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vendor-name-list a:hover {
    color: var(--primary-color);
}

.vendor-rating-list {
    display: flex;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
}

.vendor-rating-list .stars {
    display: flex;
    gap: 2px;
}

.vendor-rating-list .star {
    color: #ddd;
}

.vendor-rating-list .star.filled {
    color: #FFC107;
}

.vendor-stats-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.vendor-stat-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vendor-stat-label {
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
}

.vendor-stat-value {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.vendor-actions-list {
    display: flex;
    gap: 10px;
}

.btn-visit-store {
    flex: 1;
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-visit-store:hover {
    background: #00A049;
}

.btn-contact-vendor {
    flex: 1;
    padding: 10px 15px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-contact-vendor:hover {
    background: #1FAE52;
	color: white;
}

.vendors-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination-item {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    transition: all 0.3s ease;
}

.pagination-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.empty-vendors {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-vendors-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-vendors-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}


.empty-vendors-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.empty-vendors-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-vendors-btn:hover {
    background: #00A049;
}

/* Mobile */
@media (max-width: 768px) {
	
	.vendors-list-title{
		font-size: 22px;
	}	
	
	.vendor-actions-list {
		flex-direction: column;
	}	
    .vendors-layout {
        grid-template-columns: 1fr;
    }

    .vendors-sidebar1 {
        position: static;
        display: none;
        background: white;
        border: 1px solid #eee;
        margin-bottom: 20px;
    }
	
	.vendors-sidebar {
	  height: 100%;
	  width: 280px;
	  position: fixed;
	  z-index: 9999;
	  top: 0;
	  left: -280px; /* Hidden off-screen */
	  background-color: #ffffff;
	  overflow-x: hidden;
	  transition: 0.5s; /* Smooth sliding effect */
	  padding-top: 60px;
	  scroll-behavior: smooth;
	  
	}
	
	.buscar-vendedor{
		width: 200px;
	}

    .vendors-sidebar.active {
       left: 0;
    }

    .vendors-sidebar-toggle {
        display: block;
    }

    .vendors-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .vendors-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vendors-sort {
        width: 100%;
    }

    .vendors-sort-select {
        flex: 1;
    }

    .vendor-card-list {
        padding: 15px;
    }

    .vendor-logo-list {
        width: 80px;
        height: 80px;
    }

    .vendor-name-list {
        font-size: 14px;
        min-height: 45px;
    }
}