/* =============================================
   STYLEMAVEN BRAND PAGE STYLES
   ============================================= */

/* Breadcrumbs */
.breadcrumbs {
    background: #f9fafb;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #5B47E0;
}

.breadcrumbs i {
    color: #d1d5db;
    font-size: 12px;
    margin: 0 10px;
}

.breadcrumbs span {
    color: #111827;
    font-weight: 600;
    font-size: 14px;
}

/* Brand Hero Section */
.brand-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.brand-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.brand-logo-circle {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 4px solid rgba(0, 0, 0, 0);
    padding: 0.2em;
}

.brand-logo-circle i {
    font-size: 50px;
    color: white;
}

.brand-hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 20px;
    margin: 0 0 40px 0;
    opacity: 0.95;
}

.brand-stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.brand-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-stat-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.brand-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.shop-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: white;
    color: #5B47E0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Brand Story Section */
.brand-story-section {
    background: #f9fafb;
}

.brand-story-content {
    max-width: 900px;
    margin: 0 auto;
}

.brand-story-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 30px 0;
    text-align: center;
}

.brand-story-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    margin: 0 0 20px 0;
}

/* Search & Sort Section */
.search-sort-section {
    background: white;
    padding: 40px 0 20px;
    border-bottom: 2px solid #e5e7eb;
}

.search-sort-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.deals-search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.deals-search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px;
}

.deals-search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.deals-search-box input:focus {
    border-color: #5B47E0;
    box-shadow: 0 0 0 3px rgba(91, 71, 224, 0.1);
}

.deals-search-box input:focus ~ i {
    color: #5B47E0;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-dropdown label {
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
}

.sort-dropdown select {
    padding: 12px 40px 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    background: white;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.sort-dropdown select:hover,
.sort-dropdown select:focus {
    border-color: #5B47E0;
}

.results-count {
    text-align: center;
    font-size: 15px;
    color: #6b7280;
    padding: 10px 0;
}



/* Spinner animation for loading state */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

/* Smooth transitions for deal cards */
.brand-deal-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Optional: Fade-in animation when deals appear */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-deal-card:not(.load-more-hidden):not(.filtered-out) {
    animation: fadeInUp 0.4s ease forwards;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .load-more-wrapper {
        margin: 30px auto;
        padding: 15px 0;
    }
    
    .load-more-button {
        padding: 12px 28px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }
    
    .load-count {
        font-size: 13px;
    }
}







/* Why Shop Section */
.why-shop-section {
    background: #f9fafb;
    padding: 3em 0;
}

.why-shop-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 50px 0;
}

.why-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-shop-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.why-shop-card:hover {
    border-color: #5B47E0;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 71, 224, 0.15);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon i {
    font-size: 32px;
    color: white;
}

.why-shop-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.why-shop-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Size Guide Section */
.size-guide-section {
    padding: 80px 0;
    background: white;
}

.size-guide-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 20px 0;
}

.size-guide-intro {
    text-align: center;
    font-size: 17px;
    color: #6b7280;
    margin: 0 0 40px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.size-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.size-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.size-table thead {
    background: #5B47E0;
    color: white;
}

.size-table th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
}

.size-table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    color: #4b5563;
}

.size-table tr:last-child td {
    border-bottom: none;
}

.size-table tr:nth-child(even) {
    background: #f9fafb;
}

.size-tips {
    max-width: 900px;
    margin: 0 auto;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 25px 30px;
    border-radius: 8px;
}

.size-tips h4 {
    font-size: 18px;
    color: #92400e;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.size-tips ul {
    margin: 0;
    padding-left: 20px;
}

.size-tips li {
    color: #78350f;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Reviews Section */
.reviews-section {
    background: #f9fafb;
    padding: 3em 0;
}

.reviews-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 50px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: #5B47E0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(91, 71, 224, 0.1);
}

.review-stars {
    margin-bottom: 15px;
}

.review-stars i {
    color: #fbbf24;
    font-size: 18px;
    margin-right: 3px;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 20px 0;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-author strong {
    font-size: 15px;
    color: #111827;
}

.verified-badge {
    font-size: 13px;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-badge i {
    font-size: 14px;
}

/* Shopping Tips Section */
.shopping-tips-section {
    padding: 3em 0;
    background: white;
}

.shopping-tips-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 50px 0;
}

.tips-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tip-item {
    display: flex;
    gap: 20px;
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.tip-item:hover {
    border-color: #5B47E0;
}

.tip-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-icon i {
    font-size: 28px;
    color: white;
}

.tip-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
}

.tip-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* Related Brands Section */
.related-brands-section {
    background: #f9fafb;
    padding: 80px 0;
}

.related-brands-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 50px 0;
}

.related-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.related-brand-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-brand-card:hover {
    border-color: #5B47E0;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 71, 224, 0.15);
}

.related-brand-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.related-brand-icon i {
    font-size: 28px;
    color: white;
}

.related-brand-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
}

.related-brand-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
}

.view-all-brands {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 71, 224, 0.3);
}

.view-deal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.view-deal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 71, 224, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .brand-deals-grid {
        grid-template-columns: 1fr;
    }
    
    .why-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .related-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-hero h1 {
        font-size: 36px;
    }
    
    .brand-tagline {
        font-size: 18px;
    }
    
    .brand-stats-bar {
        gap: 30px;
    }
    
    .search-sort-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .deals-search-box {
        min-width: 100%;
    }
    
    .sort-dropdown {
        width: 100%;
    }
    
    .sort-dropdown select {
        flex: 1;
    }
    
    .why-shop-grid {
        grid-template-columns: 1fr;
    }
    
    .related-brands-grid {
        grid-template-columns: 1fr;
    }
    
    .tip-item {
        flex-direction: column;
        text-align: center;
    }
    
    .tip-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .brand-hero h1 {
        font-size: 28px;
    }
    
    .brand-story-content h2 {
        font-size: 28px;
    }
    
    .brand-story-content p {
        font-size: 16px;
    }
    
    .deal-content-wrapper {
        padding: 20px;
    }
}


/* ========================================
   BRAND CTA SECTION CSS
   ======================================== */

.brand-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-content a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 700;
}

.cta-content a:hover {
    text-decoration: underline;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.cta-feature i {
    margin-right: 8px;
}


/* ========================================
   RESPONSIVE STYLES - TABLET (768px)
   ======================================== */

@media (max-width: 768px) {
    
    /* CTA Section */
    .brand-cta {
        padding: 40px 0;
    }
    
    .cta-content {
        padding: 0 20px;
    }
    
    .cta-content h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-features {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-feature {
        font-size: 14px;
    }
}


/* ========================================
   RESPONSIVE STYLES - MOBILE (480px)
   ======================================== */

@media (max-width: 480px) {
    /* Comparison Table */
    .comparison-cell {
        padding: 12px;
        font-size: 14px;
    }
    
    .comparison-summary {
        padding: 20px 15px;
    }
    
    .comparison-summary h3 {
        font-size: 20px;
    }
    
    .comparison-summary p {
        font-size: 14px;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 22px;
    }
    
    .cta-content p {
        font-size: 15px;
    }
}

/* Load More  Styles */
.load-more-section {
    margin: 40px 0;
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(to bottom, transparent, #f9fafb 50%);
}

.load-more-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.deals-counter {
    font-size: 16px;
    color: #6B7280;
    font-weight: 500;
}

.deals-counter span {
    color: #5B47E0;
    font-weight: 700;
}

.load-more-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #5B47E0 0%, #7C3AED 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(91, 71, 224, 0.3);
}

.load-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 71, 224, 0.4);
}

.load-more-button:active {
    transform: translateY(0);
}

.load-more-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.load-more-button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.load-more-button:hover i {
    transform: translateY(3px);
}

.load-more-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .load-more-section {
        margin: 30px 0;
        padding: 20px 15px;
    }
    
    .deals-counter {
        font-size: 14px;
    }
    
    .load-more-button {
        padding: 12px 28px;
        font-size: 15px;
    }
}