/* BABISHA - Fabric Buyer Website Styles */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #007A5E; /* Peacock Green */
    --secondary-color: #C9A961; /* Foil Golden */
    --accent-color: #DC143C; /* Red */
    --gold-accent: #C9A961; /* Foil Golden */
    --text-dark: #2C1810; /* Dark Brown */
    --text-light: #8B7355; /* Light Brown */
    --beige: #FDF5E6; /* Old Lace */
    --cream: #FAF7F0; /* Cream */
    --white: #ffffff;
    --maroon-light: #007A5E; /* Peacock Green */
    --maroon-dark: #005A44; /* Dark Peacock Green */
    --shadow: 0 8px 32px rgba(0, 122, 94, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 122, 94, 0.25);
    --luxury-shadow: 0 25px 80px rgba(0, 122, 94, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #005A44;
    border-color: #005A44;
    transform: translateY(-2px);
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transition: var(--transition);
}

.btn-warning:hover {
    background-color: #B8944F;
    border-color: #B8944F;
    transform: translateY(-2px);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Enhanced Navigation Styles */
.navbar {
    position: fixed !important;
    top: 42px !important; /* Position below discount banner */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030 !important; /* Above other content */
    height: 76px !important;
    padding: 0 16px !important;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 122, 94, 0.08);
    border-bottom: 1px solid rgba(0, 122, 94, 0.1);
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    min-height: 76px;
    max-height: 76px;
    line-height: normal;
}

.navbar.scrolled {
    height: 76px !important;
    padding: 0 16px !important;
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 4px 30px rgba(0, 122, 94, 0.12);
    min-height: 76px;
    max-height: 76px;
    line-height: normal;
}

.navbar.scrolled .navbar-brand img {
    height: 60px;
    min-height: 60px;
}

.navbar-brand img {
    transition: var(--transition);
    filter: brightness(1) contrast(1.15);
    max-width: none;
    width: auto;
    height: 60px !important;
    min-height: 60px;
    max-height: 60px;
    object-fit: contain;
    background: transparent !important;
    mix-blend-mode: normal;
    padding: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    vertical-align: middle;
}

.navbar-brand {
    background: transparent !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    margin-right: 1.5rem;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: 76px;
    line-height: 1;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0 1.2rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transform: translateY(0);
    font-size: 1rem;
    letter-spacing: 0.2px;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    height: 76px;
    line-height: 76px !important;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(0, 122, 94, 0.05);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Dropdown Styles */
.dropdown-menu {
    border: 1px solid rgba(0, 122, 94, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 122, 94, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 94, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.15em;
    border-top-color: var(--text-dark);
    transition: transform 0.3s ease;
}

.dropdown-toggle:hover::after {
    border-top-color: var(--primary-color);
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
    border-top-color: var(--primary-color);
}

/* Right side navigation icons */
.navbar-nav .nav-link i {
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover i {
    color: var(--primary-color);
}

/* Instagram icon special styling */
.navbar-nav .nav-link[href*="instagram"] i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link[href*="instagram"]:hover i {
    transform: scale(1.15);
}

/* Navigation alignment improvements */
.navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 76px !important;
    width: 100%;
    max-width: 100% !important;
    min-height: 76px;
    margin: 0;
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

.navbar-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 0.5rem;
    height: 76px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap;
}

.navbar-nav.navbar-nav:last-child {
    margin-left: auto;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Ensure brand text is vertically centered */
.bt-designers-text {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Ensure navbar toggler is vertically centered */
.navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Ensure all navbar items are vertically centered */
.navbar .d-flex {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Ensure nav items are vertically centered */
.navbar-nav .nav-item {
    display: flex !important;
    align-items: center !important;
    height: 76px;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure buttons in navbar are vertically centered */
.navbar-nav .btn,
.navbar .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    margin: 0 !important;
    padding: 0.5rem 1rem;
    height: auto;
    line-height: 1;
    max-height: 76px;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar {
        position: fixed !important;
        top: 42px !important; /* Below discount banner */
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1030 !important;
        height: 76px !important;
        min-height: 76px;
        max-height: 76px;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center;
    }
    
    .navbar-brand img {
        height: 60px;
        min-height: 60px;
        max-height: 60px;
    }
    
    .navbar .container {
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.1);
        margin-left: 1rem;
        margin-top: 0.5rem;
    }
    
    .nav-link.active::after {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 118px; /* Account for discount banner (42px) + navbar (76px) */
    padding-top: 0;
}

/* Mobile hero section adjustment */
@media (max-width: 991px) {
    .hero-section {
        margin-top: 112px; /* Account for discount banner (42px) + navbar (70px) */
    }
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 0;
}

/* Fix background on mobile devices */
@media (max-width: 991px) {
    .hero-slide {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
    }
}

.hero-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}

/* Ensure non-active slides are completely hidden */
.hero-slide:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.1), transparent, rgba(218, 165, 32, 0.1));
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 122, 94, 0.65) 0%, rgba(0, 90, 68, 0.5) 50%, rgba(201, 169, 97, 0.3) 100%);
    z-index: 1;
}

/* Carousel Navigation Buttons */
.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    color: var(--primary-color);
}

.hero-carousel-prev {
    left: 30px;
}

.hero-carousel-next {
    right: 30px;
}

.hero-carousel-btn i {
    font-size: 24px;
    font-weight: bold;
}

/* Carousel Indicators */
.hero-carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Responsive Carousel Styles */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-slide {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        background-repeat: no-repeat !important;
    }
    
    .hero-carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .hero-carousel-btn i {
        font-size: 20px;
    }
    
    .hero-carousel-prev {
        left: 15px;
    }
    
    .hero-carousel-next {
        right: 15px;
    }
    
    .hero-carousel-indicators {
        bottom: 20px;
        gap: 10px;
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
    
    .hero-indicator.active {
        width: 25px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-slide {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        background-repeat: no-repeat !important;
    }
    
    .hero-carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .hero-carousel-btn i {
        font-size: 16px;
    }
    
    .hero-carousel-prev {
        left: 10px;
    }
    
    .hero-carousel-next {
        right: 10px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--white);
    padding: 2rem 0;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.hero-content h1 .text-warning {
    color: var(--secondary-color) !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2.8rem;
    opacity: 0.98;
    font-weight: 400;
    line-height: 1.7;
    max-width: 650px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-buttons .btn {
    margin-right: 0;
    margin-bottom: 0;
    padding: 1.1rem 2.8rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-buttons .btn-warning {
    background: linear-gradient(135deg, var(--secondary-color), #D4AF37);
    color: var(--white);
    border: none;
}

.hero-buttons .btn-warning:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.4);
    background: linear-gradient(135deg, #D4AF37, var(--secondary-color));
}

.hero-buttons .btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Titles */
.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 122, 94, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 122, 94, 0.08);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 122, 94, 0.2);
    border-color: rgba(0, 122, 94, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Fabric Cards */
.fabric-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(139, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(139, 0, 0, 0.05);
    position: relative;
}

.fabric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.02), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.fabric-card:hover::before {
    opacity: 1;
}

.fabric-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--luxury-shadow);
    border-color: var(--primary-color);
}

.fabric-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    border-radius: 20px 20px 0 0;
}

.fabric-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: saturate(1.1);
}

.fabric-card:hover .fabric-image img {
    transform: scale(1.1);
    filter: saturate(1.3) brightness(1.1);
}

.fabric-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(92, 26, 26, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.fabric-card:hover .fabric-overlay {
    opacity: 1;
}

.fabric-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.fabric-info h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.3;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fabric-description,
.fabric-specs,
.fabric-supplier {
    display: none;
}

.price-range {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    font-size: 1.2rem;
}

.testimonial-author strong {
    color: var(--text-dark);
}

/* Enhanced Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(139, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(139, 0, 0, 0.05);
    transform: translateY(0) scale(1);
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.02), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--luxury-shadow);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 20px 20px 0 0;
    filter: brightness(1.05) contrast(1.1);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: saturate(1.1);
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(2deg);
    filter: saturate(1.3) brightness(1.1);
}

/* Sale Banner */
.sale-banner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sale-banner::before {
    content: "SALE";
}

/* Quick Actions Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(92, 26, 26, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    backdrop-filter: blur(5px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-actions {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .quick-actions {
    transform: translateY(0);
}

.quick-actions .btn {
    min-width: 120px;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    transform: scale(0.9);
    opacity: 0.8;
}

.quick-actions .btn:hover {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card:hover .quick-actions .btn {
    transform: scale(1);
    opacity: 1;
}

/* Product Info */
.product-info {
    padding: 1.25rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-specs {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0;
}

.spec-label {
    color: var(--text-light);
    font-weight: 500;
}

.spec-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* Enhanced Pricing */
.product-pricing {
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

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

.savings {
    font-size: 0.8rem;
    color: #e74c3c;
    font-weight: 600;
    background: rgba(231, 76, 60, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.price-per-unit {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Enhanced Search and Filter Layout */
.search-filter-section {
    background: var(--white);
    padding: 1.25rem 0;
    margin-top: 0 !important; /* No top margin - directly follows header section */
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mobile search filter section spacing */
@media (max-width: 991px) {
    .search-filter-section {
        margin-top: 0 !important; /* No top margin - directly follows header section */
        padding-top: 0.5rem !important; /* Minimal top padding */
    }
}

/* Enhanced Search Styles */
.search-box {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-box input {
    padding-left: 3rem;
    border-radius: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background: var(--white);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.search-box input:focus + i {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.search-suggestions.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-item:hover {
    background: rgba(30, 58, 138, 0.05);
    transform: translateX(5px);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-category {
    font-size: 0.75rem;
    color: var(--text-light);
    background: rgba(30, 58, 138, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 8px;
    border: 2px solid rgba(30, 58, 138, 0.1);
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.search-box i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-dropdown select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(30, 58, 138, 0.1);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 500;
}

.results-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Enhanced Filter Sidebar */
.filter-sidebar {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
    transition: all 0.3s ease;
}

.filter-sidebar:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.filter-section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-title:hover {
    background: rgba(30, 58, 138, 0.05);
    color: var(--primary-color);
}

.filter-title i {
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.filter-title.collapsed i {
    transform: rotate(-90deg);
}

.filter-options {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.filter-options.show {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.filter-option input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: var(--primary-color);
}

.filter-option label {
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    flex: 1;
}

.filter-count {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: auto;
}

.price-range {
    margin-top: 0.5rem;
}

.price-inputs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
}

.apply-filters {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.apply-filters.hidden {
    display: none !important;
}

.apply-filters:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.clear-filters {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 1rem;
    transition: var(--transition);
}

.clear-filters:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-sidebar {
        position: static;
        order: 2;
    }
    
    .search-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: none;
    }
}

/* Breadcrumb Section */
section.py-3.bg-light {
    margin-top: 118px !important; /* 76px navbar + 42px banner */
    padding: 1rem 0 !important;
}

/* Ensure body content starts below fixed navbar */
body {
    padding-top: 0;
    margin-top: 0;
}

/* Ensure html element doesn't interfere */
html {
    scroll-padding-top: 118px; /* Account for fixed navbar (76px) + banner (42px) when scrolling to anchors */
}

/* Force navbar to stay at top on all pages */
.navbar.fixed-top {
    position: fixed !important;
    top: 42px !important;
    z-index: 1030 !important;
}

/* Main content spacing for fixed navbar */
main,
section:first-of-type:not(.hero-section) {
    margin-top: 118px; /* 76px navbar + 42px banner */
}

/* Products page and other pages spacing */
.products-page,
.product-detail-section {
    margin-top: 118px; /* 76px navbar + 42px banner */
    padding-top: 2rem;
}

.breadcrumb {
    margin-bottom: 0;
    padding: 0.5rem 0;
}

.breadcrumb-item {
    font-size: 0.95rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Product Details */
.product-detail-section {
    padding: 2.5rem 0;
    min-height: calc(100vh - 200px);
}

.product-detail-section .container {
    max-width: 1200px;
}

.product-detail-section .row {
    align-items: flex-start;
}

.product-detail-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 0;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    max-height: 600px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-detail-image:hover img {
    transform: scale(1.02);
}

.product-detail-info {
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-detail-info > * {
    margin-bottom: 0;
}

.product-detail-info .row.g-2 {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
}

.product-detail-info .row.g-2 > [class*="col-"] {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.product-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0;
    padding: 1.25rem;
    background: rgba(0, 122, 94, 0.03);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.specifications {
    background: linear-gradient(135deg, rgba(0, 122, 94, 0.08) 0%, rgba(201, 169, 97, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 0;
    border: 1px solid rgba(0, 122, 94, 0.15);
    box-shadow: 0 4px 15px rgba(0, 122, 94, 0.08);
    display: flex;
    flex-direction: column;
}

.specifications h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(0, 122, 94, 0.1);
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.spec-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.specifications h4 {
    margin-bottom: 1rem;
}

#specifications {
    display: flex;
    flex-direction: column;
}

.spec-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.spec-row:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.spec-value {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Supplier Info Card */
.supplier-info {
    display: flex;
    flex-direction: column;
}

.supplier-info .card {
    border: 1px solid rgba(0, 122, 94, 0.15);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 122, 94, 0.08);
    background: white;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.supplier-info .card:hover {
    box-shadow: 0 8px 25px rgba(0, 122, 94, 0.12);
    transform: translateY(-2px);
}

.supplier-info .card-header,
.supplier-info .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.supplier-info .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.supplier-info .card-text {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.supplier-info .card-text:last-child {
    margin-bottom: 0;
}

.supplier-info .card-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

.supplier-info .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0;
}

.action-buttons .btn {
    flex: 1;
    min-width: 180px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 94, 0.25);
}

.action-buttons .btn-warning {
    background: linear-gradient(135deg, var(--secondary-color), #D4AF37);
    border: none;
    color: white;
}

.action-buttons .btn-warning:hover {
    background: linear-gradient(135deg, #D4AF37, var(--secondary-color));
}

.action-buttons .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.action-buttons .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Product Rating on Detail Page */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    background: rgba(0, 122, 94, 0.03);
    border-radius: 8px;
    width: fit-content;
}

.product-rating .stars {
    font-size: 1.1rem;
}

.product-rating .rating-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination .page-link {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .page-link.active,
.pagination .btn.active {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-color: var(--primary-color) !important;
}

.pagination .btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
    min-width: 40px;
}

.pagination .btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(30, 58, 138, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-rating .stars {
    display: flex;
    gap: 0.1rem;
}

.product-rating .stars i {
    font-size: 0.9rem;
}

.rating-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Fabric Actions */
.fabric-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
    padding-top: 0.5rem;
}

.fabric-actions .btn {
    width: 100%;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.fabric-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 94, 0.3);
}

.fabric-actions .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Ensure buttons are clickable */
.fabric-actions .btn {
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
    cursor: pointer !important;
}

.fabric-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fabric-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.fabric-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    background: var(--white);
    color: #e74c3c;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

.wishlist-btn.active {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-control {
    border: 2px solid rgba(30, 58, 138, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Google Maps */
.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(92, 26, 26, 0.9)),
                url('images/lehengas/lehenga1.jpg.webp');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    color: var(--white);
    text-align: center;
}

.about-content {
    padding: 4rem 0;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.stats-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Sustainability Section */
.sustainability-section {
    background: var(--cream);
    padding: 4rem 0;
}

.sustainability-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.sustainability-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.sustainability-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.sustainability-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-detail-info {
        padding-left: 0;
        margin-top: 2rem;
        gap: 1.25rem;
    }
    
    .product-detail-info .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .product-detail-info .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .specifications {
        padding: 1.25rem;
    }
    
    .supplier-info .card-body {
        padding: 1.25rem;
    }
    
    .spec-row {
        padding: 0.625rem 0.25rem;
        margin-bottom: 0.375rem;
    }
    
    .product-detail-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .product-detail-description {
        font-size: 1rem;
        padding: 1rem;
        margin-bottom: 0;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
        min-width: auto;
    }
    
    .product-detail-image img {
        min-height: 400px;
        max-height: 500px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .stats-section .row {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .fabric-image {
        height: 200px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--accent-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Category Cards - Inspired by modern e-commerce design */
.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 300px;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 1;
    transition: all 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.category-content {
    color: white;
    width: 100%;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.category-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.category-content .btn {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.category-content .btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Specific category card styles */
.lehenga-card .category-overlay {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.fusion-card .category-overlay {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.sherwani-card .category-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.saree-card .category-overlay {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-card {
        height: 250px;
        margin-bottom: 1rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-overlay {
        padding: 1.5rem;
    }
    
    .category-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .category-card {
        height: 200px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .category-overlay {
        padding: 1rem;
    }
}

/* Enhanced feature cards for Why Choose BABISHA section */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.5rem;
}

.feature-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Section title enhancements */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* FAQ Section Styling */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233b82f6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.accordion-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* FAQ Icons */
.accordion-button i {
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-button i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .accordion-button {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .accordion-body {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ============================================ */

/* Mobile Navigation Improvements */
@media (max-width: 991px) {
    .navbar {
        position: fixed !important;
        top: 42px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1030 !important;
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
        padding: 0.5rem 1rem !important;
        display: flex !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        box-shadow: 0 2px 20px rgba(0, 122, 94, 0.08);
        border-bottom: 1px solid rgba(0, 122, 94, 0.1);
    }
    
    .navbar-brand {
        display: flex !important;
        align-items: center !important;
        height: 100%;
        margin-right: 1rem;
    }
    
    .navbar-brand img {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        width: auto;
    }
    
    .navbar-toggler {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 40px;
        width: 40px;
        padding: 0.25rem 0.5rem;
        border: 1px solid rgba(0, 122, 94, 0.2);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(0, 122, 94, 0.25);
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        margin-top: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 122, 94, 0.1);
        max-height: calc(100vh - 112px);
        overflow-y: auto;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        height: auto !important;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        height: auto !important;
    }
    
    .navbar-nav .nav-link {
        height: auto !important;
        line-height: 1.5 !important;
        padding: 0.75rem 1rem !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 6px;
    }
    
    .navbar-nav .btn {
        margin-top: 0.5rem;
        width: 100%;
        height: auto !important;
        padding: 0.75rem 1rem !important;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        background: rgba(0, 122, 94, 0.1);
        border-radius: 6px;
    }
    
    .bt-designers-text {
        display: none !important;
    }
}

/* Mobile Page Header */
@media (max-width: 768px) {
    section.py-3.bg-light {
        margin-top: 112px !important; /* Discount banner (42px) + Navbar (70px) */
        padding: 0.5rem 0 !important;
        margin-bottom: 0 !important; /* Remove bottom margin to minimize gap */
    }
    
    section.py-3.bg-light .container {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
    
    section.py-3.bg-light .row {
        margin: 0 !important;
    }
    
    section.py-3.bg-light .col-lg-8 {
        padding: 0.25rem 0.75rem !important;
    }
    
    section.py-3 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    section.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    section.py-4 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .hero-section {
        margin-top: 112px !important; /* Discount banner (42px) + Navbar (70px) */
        height: calc(100vh - 112px);
        min-height: calc(100vh - 112px);
    }
    
    .display-5 {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.2 !important;
    }
    
    .lead {
        font-size: 0.85rem !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        line-height: 1.4 !important;
        padding: 0 !important;
    }
    
    .lead.text-muted {
        margin-bottom: 0 !important;
    }
    
    .mb-2 {
        margin-bottom: 0.25rem !important;
    }
    
    .mb-0 {
        margin-bottom: 0 !important;
    }
    
    /* Reduce container padding on mobile */
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Reduce search filter section spacing */
    .search-filter-section {
        padding: 0.75rem 0 !important;
        margin-bottom: 0.5rem !important;
        margin-top: 0 !important; /* No top margin - directly follows header */
    }
    
    /* Reduce main content section spacing */
    .main-content {
        margin-top: 0.5rem !important;
        gap: 0.75rem !important;
    }
    
    /* Reduce heading margins */
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 0.75rem !important;
    }
    
    .section-title {
        margin-bottom: 1rem !important;
        font-size: 1.75rem !important;
    }
}

/* Mobile Search and Filter Section */
@media (max-width: 768px) {
    .search-filter-section {
        padding: 0.75rem 0 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .search-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        margin-bottom: 0 !important;
    }
    
    .search-box {
        max-width: 100%;
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .search-box input {
        padding: 0.5rem 0.875rem 0.5rem 2.25rem;
        font-size: 0.875rem;
    }
    
    .sort-dropdown {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 0.25rem;
    }
    
    .sort-dropdown select {
        flex: 1;
        padding: 0.5rem 0.625rem;
        font-size: 0.875rem;
    }
    
    .sort-dropdown label {
        font-size: 0.875rem;
        margin-bottom: 0.25rem !important;
    }
    
    .results-info {
        text-align: center;
        font-size: 0.8rem;
        padding-top: 0.25rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 0.25rem;
    }
}

/* Mobile Filter Sidebar - Collapsible */
@media (max-width: 768px) {
    .filter-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 1rem;
        border-radius: 8px;
        padding: 1rem;
        transition: all 0.3s ease;
    }
    
    .filter-sidebar h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        padding: 0.75rem;
        background: rgba(139, 0, 0, 0.05);
        border-radius: 6px;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .filter-sidebar h5::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        transition: transform 0.3s ease;
        margin-left: auto;
        padding-left: 0.5rem;
    }
    
    .filter-sidebar.collapsed h5::after {
        transform: rotate(-90deg);
    }
    
    .filter-sidebar.collapsed .filter-section {
        display: none !important;
    }
    
    .filter-sidebar.collapsed .clear-filters {
        display: none;
    }
}

/* Mobile Product Cards - 2 Column Grid Layout */
@media (max-width: 768px) {
    .product-card,
    .fabric-card {
        margin-bottom: 0.5rem;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        height: 100%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .product-card:hover,
    .fabric-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .product-image,
    .fabric-image {
        height: 180px;
        width: 100%;
        border-radius: 8px 8px 0 0;
        position: relative;
    }
    
    .product-image img,
    .fabric-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product-info,
    .fabric-info {
        padding: 0.75rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .product-title,
    .fabric-name {
        font-size: 0.85rem;
        height: auto;
        min-height: 2.2rem;
        margin-bottom: 0.375rem;
        line-height: 1.3;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .product-description,
    .fabric-description {
        display: none; /* Hide description on mobile for compact layout */
    }
    
    .product-specs,
    .fabric-specs {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        color: #666;
    }
    
    .spec-item {
        margin-bottom: 0.15rem;
        padding: 0;
    }
    
    .product-pricing {
        margin-bottom: 0.5rem;
    }
    
    .product-price,
    .fabric-price {
        margin-bottom: 0.25rem;
    }
    
    .product-price .current-price,
    .fabric-price .current-price {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 0;
    }
    
    .original-price {
        font-size: 0.75rem;
        margin-left: 0.25rem;
    }
    
    .fabric-image .badge.bg-danger,
    .product-image .badge.bg-danger {
        position: absolute;
        top: 6px;
        left: 6px;
        padding: 3px 6px;
        font-size: 0.65rem;
        font-weight: 600;
        z-index: 2;
        border-radius: 4px;
    }
    
    .savings {
        position: absolute;
        top: 6px;
        left: 6px;
        padding: 3px 6px;
        font-size: 0.65rem;
        font-weight: 600;
        z-index: 2;
    }
    
    .price-per-unit {
        font-size: 0.7rem;
        display: none; /* Hide on mobile for space */
    }
    
    .product-rating,
    .fabric-rating {
        font-size: 0.7rem;
        margin-bottom: 0.375rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    
    .product-rating .stars,
    .fabric-rating .stars {
        font-size: 0.7rem;
    }
    
    .product-actions,
    .fabric-actions {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        margin-top: auto;
        padding-top: 0.5rem;
    }
    
    .product-actions .btn,
    .fabric-actions .btn {
        width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 4px;
        margin: 0 !important;
        white-space: nowrap;
    }
    
    .fabric-supplier {
        font-size: 0.65rem;
        margin-bottom: 0.375rem;
        color: #999;
        display: none; /* Hide supplier on mobile for compact layout */
    }
    
    /* Hide overlay on mobile */
    .product-overlay,
    .fabric-overlay {
        display: none;
    }
}

/* Mobile Product Cards - Extra Small (Still 2 columns) */
@media (max-width: 576px) {
    .products-container .col-lg-4,
    .products-container .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 0.25rem;
    }
    
    .product-card,
    .fabric-card {
        margin-bottom: 0.5rem;
        border-radius: 6px;
    }
    
    .product-image,
    .fabric-image {
        height: 160px;
    }
    
    .product-info,
    .fabric-info {
        padding: 0.625rem;
    }
    
    .product-title,
    .fabric-name {
        font-size: 0.8rem;
        min-height: 2rem;
        line-height: 1.25;
    }
    
    .product-specs,
    .fabric-specs {
        font-size: 0.65rem;
        margin-bottom: 0.375rem;
    }
    
    .product-price .current-price,
    .fabric-price .current-price {
        font-size: 0.9rem;
    }
    
    .product-rating,
    .fabric-rating {
        font-size: 0.65rem;
    }
    
    .product-actions .btn,
    .fabric-actions .btn {
        padding: 0.45rem 0.625rem;
        font-size: 0.7rem;
    }
    
    .savings,
    .badge.bg-danger {
        font-size: 0.6rem;
        padding: 2px 4px;
    }
}


/* Mobile Pagination */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 1rem 0;
    }
    
    .pagination-info {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pagination .page-link,
    .pagination .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: 38px;
    }
    
    .pagination .btn.active {
        background-color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
        color: var(--white) !important;
    }
}

/* Mobile Container Padding */
@media (max-width: 576px) {
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    section.py-3 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    section.py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    section.py-4 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    section.py-3.bg-light {
        padding: 0.375rem 0 !important;
        margin-bottom: 0 !important; /* Remove bottom margin to minimize gap */
    }
    
    section.py-3.bg-light .container {
        padding-top: 0.125rem !important;
        padding-bottom: 0.125rem !important;
    }
    
    section.py-3.bg-light .col-lg-8 {
        padding: 0.125rem 0.5rem !important;
    }
    
    .search-filter-section {
        margin-top: 0 !important; /* No top margin - directly follows header */
        padding: 0.5rem 0 !important;
    }
    
    .display-5 {
        font-size: 1.25rem !important;
        margin-bottom: 0.125rem !important;
        line-height: 1.2 !important;
    }
    
    .lead {
        font-size: 0.8rem !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        line-height: 1.3 !important;
        padding: 0 !important;
    }
    
    .lead.text-muted {
        margin-bottom: 0 !important;
    }
    
    .mb-2 {
        margin-bottom: 0.125rem !important;
    }
    
    .search-filter-section {
        padding: 0.5rem 0 !important;
        margin-bottom: 0.25rem !important;
    }
    
    .main-content {
        margin-top: 0.25rem !important;
        gap: 0.5rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 0.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1rem !important;
    }
    
    .mb-4 {
        margin-bottom: 0.75rem !important;
    }
    
    .mb-3 {
        margin-bottom: 0.5rem !important;
    }
    
    .mt-5 {
        margin-top: 1rem !important;
    }
    
    .mt-4 {
        margin-top: 0.75rem !important;
    }
    
    .mt-3 {
        margin-top: 0.5rem !important;
    }
}

/* Mobile Button Improvements */
@media (max-width: 768px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Footer Styles */
footer {
    background-color: #1a1a1a !important;
}

footer h5,
footer h6 {
    color: #ffffff !important;
}

footer .text-muted {
    color: #cccccc !important;
}

footer a.text-muted {
    color: #cccccc !important;
    transition: color 0.3s ease;
}

footer a.text-muted:hover {
    color: #ffffff !important;
}

footer .social-links a {
    color: #cccccc !important;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #ffffff !important;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

footer ul.list-unstyled li {
    color: #cccccc !important;
}

footer ul.list-unstyled li i {
    color: #cccccc !important;
}

/* Mobile Footer */
@media (max-width: 768px) {
    footer .row {
        text-align: center;
    }
    
    footer .col-lg-4,
    footer .col-lg-2,
    footer .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    footer .social-links {
        justify-content: center;
    }
}

/* Mobile Modal Improvements */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
}

/* Mobile Text Improvements */
@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
}

/* Mobile Logo and Brand */
@media (max-width: 576px) {
    .navbar-brand {
        padding: 0.25rem 0;
    }
    
    .navbar-brand img {
        height: 60px;
        min-height: 60px;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    .btn,
    .nav-link,
    .dropdown-item,
    .filter-option,
    .pagination .page-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .filter-option input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Discount Banner */
.discount-banner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: linear-gradient(135deg, var(--accent-color) 0%, #E63946 50%, var(--secondary-color) 100%);
    color: white;
    padding: 12px 0;
    z-index: 1040 !important; /* Above navbar */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}

.discount-banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollBanner 30s linear infinite;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0;
    line-height: 1.4;
    vertical-align: middle;
}

@keyframes scrollBanner {
    0% { 
        transform: translateX(100%); 
    }
    100% { 
        transform: translateX(-100%); 
    }
}

.discount-banner:hover .discount-banner-content {
    animation-play-state: paused;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    animation: slideInRight 0.5s ease;
    border-left: 4px solid var(--primary-color);
}

.notification-toast.show {
    display: flex;
}

.notification-toast.success {
    border-left-color: #28a745;
}

.notification-toast.error {
    border-left-color: var(--accent-color);
}

.notification-toast.warning {
    border-left-color: var(--gold-accent);
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.notification-message {
    font-size: 0.9rem;
    color: var(--text-light);
}

.notification-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: var(--text-dark);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* BT Designers Text Section - Logo removed, text only */
.bt-designers-text {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.3;
    padding-top: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 1rem;
    min-width: fit-content;
}

/* Customer Reviews Section */
.review-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.review-author {
    flex: 1;
}

.review-author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.review-author-location {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-video {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.review-video video {
    width: 100%;
    height: auto;
}

/* Subscribe Section */
.subscribe-section {
    background: linear-gradient(135deg, var(--primary-color), var(--maroon-dark));
    color: white;
    padding: 3rem 0;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.subscribe-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    background: var(--gold-accent);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-btn:hover {
    background: #B8944F;
    transform: translateY(-2px);
}

/* Payment Partners */
.payment-partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.payment-partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.payment-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Team Section */
.team-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    display: block;
}

.team-photo-adjust {
    object-position: center 30%;
}

/* Policies Section */
.policies-section {
    background: #f8f9fa;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.policies-section h6 {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.policy-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.policy-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .subscribe-form {
        flex-direction: column;
    }
    
    .notification-toast {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
    
    .bt-designers-text {
        display: none;
    }
    
    .payment-partners {
        gap: 1rem;
    }
    
    .payment-partner-logo {
        height: 30px;
    }
    
    .discount-banner {
        padding: 8px 0;
    }
    
    .discount-banner-content {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        animation-duration: 25s;
        padding: 0 15px;
    }
}