/* Our Brands Page Styling */

/* Hero Section */
.hero-section-ourbrands {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-section-ourbrands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,103,0,0.1) 0%, rgba(255,103,0,0.05) 100%);
    z-index: 1;
}

.min-vh-50 {
    min-height: 50vh;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-highlight {
    color: #ff6700 !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-actions .btn {
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-image {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,103,0,0.1) 0%, rgba(102,126,234,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image-container:hover .hero-image-overlay {
    opacity: 1;
}

/* Brands Section */
.brands-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.loading-container .spinner-border-custom {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

.brand-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #ff6700;
}

.brand-image-wrapper {
    margin-bottom: 1rem;
}

.brand-image-container {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,103,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-card:hover .brand-overlay {
    opacity: 1;
}

.brand-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.brand-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Highlights Section */
.highlights-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.section-header .badge {
    font-size: 0.85rem;
}

.carousel-controls {
    gap: 0.5rem;
}

.carousel-counter {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.carousel-nav-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #ff6700;
    background: transparent;
    color: #ff6700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.carousel-nav-btn:hover {
    background: #ff6700;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255,103,0,0.3);
}

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    height: 220px;
    background: #f8f9fa;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #adb5bd;
    background: #f8f9fa;
    font-size: 0.9rem;
}

.product-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.product-watermark {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.product-watermark img {
    width: 60px;
    height: auto;
    opacity: 0.8;
}

.product-content {
    padding: 1.5rem;
}

.product-header {
    margin-bottom: 1rem;
}

.product-brand {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff6700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-weight: 700;
    color: #333;
    margin: 0.25rem 0 0 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-weight: 700;
    color: #ff6700;
    font-size: 1.1rem;
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Empty State */
.empty-state {
    padding: 3rem 1rem;
}

.empty-state i {
    opacity: 0.3;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #ff6700 0%, #e55a00 100%);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a00 0%, #cc5200 100%);
    color: white;
}

.btn-outline-primary {
    border-color: #ff6700;
    color: #ff6700;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: #ff6700;
    border-color: #ff6700;
    color: white;
}

/* Badge Styles */
.bg-primary-subtle {
    background-color: rgba(255, 103, 0, 0.1) !important;
}

.text-primary {
    color: #ff6700 !important;
}

.bg-success-subtle {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.text-success {
    color: #28a745 !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section-ourbrands {
        padding: 2rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-actions .btn {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .brand-card {
        padding: 1rem;
    }
    
    .brand-image-container {
        height: 80px;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .brand-image-container {
        height: 60px;
    }
    
    .brand-title {
        font-size: 1rem;
    }
    
    .brand-subtitle {
        font-size: 0.8rem;
    }
}