/* Estilos específicos para página de vendedor */
.vendor-profile-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.vendor-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.vendor-logo-large {
    width: 175px;
    height: 175px;
    border-radius: 12px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border: 2px solid #eee;
    overflow: hidden;
}

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

.vendor-info-section h1 {
    font-size: 32px;
    margin: 0 0 10px 0;
    color: #333;
}

.vendor-info-section .vendor-rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.vendor-rating-section .stars {
    display: flex;
    gap: 3px;
}

.vendor-rating-section .rating-text {
    color: #666;
    font-size: 14px;
}

.vendor-description {
    color: #666;
    line-height: 1.1;
    margin-bottom: 10px;
}

.vendor-stats {
    display: flex;
    gap: 15px;
	margin-top: 20px;
	align-content: center;
	align-items: center;
}

.vendor-stat {
    display: flex;
}

.vendor-stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #00B853;
}

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

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

.vendor-stat-label a:hover {
    font-size: 11px;
    color: #035E8C;
    text-transform: uppercase;
}

.vendor-stats .btn {
	width: 130px;
	padding: 10px;
}

.vendor-stats .btn-website {
    background: #0577B4;
    color: #fff;
}

.vendor-stats .btn-website:hover {
    background: #035E8C;
	color: #fff;
}

.vendor-stats .btn-facebook {
    background: #1670CF;
    color: #fff;
}

.vendor-stats .btn-facebook:hover {
    background: #035E8C;
	color: #fff;
}

.vendor-stats .btn-instagram {
    background: #E41535;
    color: #fff;
}

.vendor-stats .btn-instagram:hover {
    background: #8D0218;
	color: #fff;
}

.vendor-stats .btn-whatsapp {
    background: #25D366;
    color: #fff;	
}

.vendor-stats .btn-whatsapp:hover {
    background: #009a46;
	color: #fff;
}

.vendor-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.vendor-actions .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vendor-actions .btn-primary {
    background: #035E8C;
    color: white;
}

.vendor-actions .btn-primary:hover {
    background: #035E8C;
}

.vendor-actions .btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.vendor-actions .btn-secondary:hover {
    background: #e0e0e0;
}

.vendor-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.vendor-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.vendor-contact-item strong {
    color: #333;
}

/* ============================================================
   SISTEMA DE ABAS
   ============================================================ */
.vendor-tabs-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.vendor-tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;	
}

.vendor-tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.vendor-tab-btn:hover {
    color: #035E8C;
    background: white;
}

.vendor-tab-btn.active {
    color: #035E8C;
    border-bottom-color: #035E8C;
}

.vendor-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #035E8C;
}

.vendor-tab-content {
    display: none;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.vendor-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Seção de categorias */
.vendor-categories {
    margin-bottom: 40px;
}

.vendor-categories-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.vendor-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.vendor-category-item {
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.vendor-category-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.vendor-category-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.vendor-category-name {
    font-size: 12px;
    font-weight: 600;
}

/* Seção de produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Paginação */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pagination-container .btn {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #f0f0f0;
    color: #333;
}

.pagination-container .btn:hover {
    background: #e0e0e0;
}

.pagination-info {
    padding: 10px 15px;
    color: #666;
}

/* Seção "Sobre a Empresa" */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.about-info-list strong {
    color: #333;
}

/* Seção de avaliações */
.vendor-reviews-section {
    margin-top: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.reviews-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.reviews-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reviews-summary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.reviews-summary-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviews-summary-rating .big-rating {
    font-size: 48px;
    font-weight: bold;
    color: #035E8C;
}

.reviews-summary-rating .rating-info {
    display: flex;
    flex-direction: column;
}

.rating-info .stars {
    margin-bottom: 5px;
}

.rating-info .count {
    font-size: 12px;
    color: #999;
}

.reviews-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-bar-label {
    width: 60px;
    font-size: 12px;
    color: #666;
}

.review-bar-fill {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.review-bar-progress {
    height: 100%;
    background: #035E8C;
    border-radius: 4px;
}

.review-bar-count {
    width: 40px;
    text-align: right;
    font-size: 12px;
    color: #999;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #00B853;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: #333;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-rating {
    margin-bottom: 10px;
}

.review-text {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

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

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

@media (max-width: 1024px) {
    .vendor-stats {
        grid-template-columns: 2fr;
        align-content: center;
        align-items: center;
        text-align: center;
    }
	.vendor-stats .btn {
		width: 115px;
		padding: 5px;
	}	
}
@media (max-width: 768px) {
	.vendor-stats .btn {
		width: 180px;
		padding: 10px;
	}	
    .vendor-profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .vendor-stats {
		flex-direction: column;			
        grid-template-columns: 1fr;
        align-content: center;
        align-items: center;
        text-align: center;
    }

	.vendor-stat {
        grid-template-columns: 1fr;
        align-content: center;
        align-items: center;
        text-align: center;
    }
	
    .vendor-header-content {
        bottom: -40px;
    }

    .reviews-header {
        grid-template-columns: 1fr;
    }

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

    .vendor-categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .vendor-tabs-header {
        flex-wrap: wrap;
    }

    .vendor-tab-btn {
        flex: 0 1 auto;
        padding: 15px;
    }

    .vendor-tab-content {
        padding: 20px;
    }

    .about-section {
        grid-template-columns: 1fr;
    }
}