/* Brand Page Styles */
.brand-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    padding: 4rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.brand-hero__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.brand-hero__info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.brand-logo {
    flex-shrink: 0;
}

.brand-logo__image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

.brand-logo__placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

.brand-info {
    flex: 1;
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.brand-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.75rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
}

.brand-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Owner Information */
.owner-info {
    padding: 3rem 0;
    background: white;
}

.owner-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.owner-header {
    margin-bottom: 2rem;
}

.owner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.owner-title i {
    color: var(--primary-color);
}

.owner-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.owner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.owner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.owner-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.owner-item__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.owner-item__label {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
}

.owner-item__value {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image__img {
    transform: scale(1.05);
}

.product-image__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 3rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.discount-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-category i {
    font-size: 0.75rem;
}

.product-name {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.product-description {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.product-price {
    margin-bottom: 1rem;
}

.price-original {
    font-size: 0.875rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.product-stock i {
    color: var(--primary-color);
}

.stock-text {
    color: var(--gray);
}

.out-of-stock {
    color: #ef4444;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.product-btn.btn--disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state__icon {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.empty-state__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 1rem 0;
}

.empty-state__description {
    font-size: 1rem;
    color: var(--gray);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-hero__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .brand-hero__info {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .brand-stats {
        justify-content: center;
    }
    
    .brand-hero__actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .owner-details {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.875rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .brand-hero {
        padding: 2rem 0;
    }
    
    .brand-logo__image,
    .brand-logo__placeholder {
        width: 80px;
        height: 80px;
    }
    
    .brand-name {
        font-size: 1.75rem;
    }
    
    .brand-stats {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
