/* Exact Tanishq Header Design for Mahalaxmi Jewelers */

:root {
    /* MahaLaxmi Colors - Refined from Reference Image */
    --tanishq-red: #4A0E4E;          /* Deep Purple/Maroon - refined */
    --tanishq-red-light: #6B1A70;    /* Lighter Purple */
    --tanishq-red-dark: #2D0A30;     /* Darker Purple */
    
    /* MahaLaxmi Gold Colors - Warmer Tones */
    --tanishq-gold: #C9A96E;         /* Rich Gold - warmer */
    --tanishq-gold-bright: #E6C547;  /* Bright Gold */
    --tanishq-gold-dark: #A68B5B;    /* Dark Gold */
    --tanishq-gold-accent: #D4AF37;  /* Classic Gold Accent */
    
    /* MahaLaxmi Accent Colors */
    --tanishq-beige: #F5F1E8;        /* Warm Beige Background */
    --tanishq-cream: #FDF8F0;        /* Cream Accent */
    --tanishq-green: #8FBC8F;        /* Natural Green */
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #333333;
    --text-dark: #212529;
    --text-muted: #6C757D;
    
    /* Background Colors */
    --bg-white: var(--white);
    --bg-light: var(--light-gray);
    
    /* Text Colors */
    --text-primary: var(--tanishq-red);
    --text-secondary: var(--dark-gray);
    --text-white: var(--white);
    
    /* Border Colors */
    --border-light: #E9ECEF;
    --border-medium: #DEE2E6;
    --border-dark: var(--tanishq-red);
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);
}

/* Tanishq Top Header Bar */
.tanishq-top-header {
    background: linear-gradient(135deg, var(--tanishq-red) 0%, var(--tanishq-red-dark) 100%);
    color: var(--white);
    border-bottom: 3px solid var(--tanishq-gold);
    padding: 2px 0;
    box-shadow: 0 2px 10px rgba(92, 0, 76, 0.2);
}

.tanishq-logo img {
    max-height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.tanishq-logo:hover img {
    transform: scale(1.05);
}

/* Tanishq Search Bar */
.tanishq-search-container {
    max-width: 100%;
    margin: 0 auto;
}

.tanishq-search-form {
    width: 100%;
}
button.btn.tanishq-menu-btn {
    border: none !important;
    box-shadow: none !important;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    border: 2px solid var(--tanishq-gold);
    border-radius: 25px;
    padding: 0px 15px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--tanishq-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.search-icon {
    color: var(--tanishq-gold);
    font-size: 16px;
    margin-right: 10px;
}

.tanishq-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-dark);
    background: transparent;
    padding: 2px 0;
    height: auto;
}

.tanishq-search-input::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.search-actions {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.search-action-btn {
    background: none;
    border: none;
    color: var(--tanishq-red);
    font-size: 16px;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-action-btn:hover {
    background-color: var(--light-gray);
    transform: scale(1.1);
}

/* Tanishq User Actions */
.tanishq-user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-width: 60px;
}

.action-item:hover {
    color: var(--tanishq-gold);
    background: rgba(201, 169, 110, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.action-icon {
    font-size: 24px;
    margin-bottom: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1;
}

.cart-item {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--tanishq-gold);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border: 2px solid var(--white);
    min-width: 18px;
}

/* User Profile Section */
.user-profile-dropdown {
    position: relative;
}

.user-profile-item {
    background: rgba(201, 169, 110, 0.15) !important;
    border: 2px solid var(--tanishq-gold) !important;
}

.user-profile-item:hover {
    background: rgba(201, 169, 110, 0.25) !important;
    border-color: var(--tanishq-gold-bright) !important;
    transform: translateY(-2px);
}

.user-profile-item .action-icon {
    color: var(--tanishq-gold);
}

.user-profile-item .action-text {
    color: var(--tanishq-gold);
    font-weight: 700;
}

/* Tanishq Bottom Navigation */
.tanishq-bottom-nav {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 5px 0;
    box-shadow: 0 1px 3px var(--shadow-light);
}

.tanishq-category-nav {
    width: 100%;
}

.tanishq-nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.tanishq-nav-item {
    flex: 1;
    text-align: center;
}

.tanishq-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    min-height: 60px;
    justify-content: center;
}

.tanishq-nav-link:hover {
    color: var(--tanishq-red);
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

.tanishq-nav-item.active .tanishq-nav-link {
    color: var(--tanishq-red);
    background-color: var(--light-gray);
    font-weight: 600;
}

.nav-icon {
    font-size: 18px;
    margin-bottom: 4px;
    color: inherit;
}

.nav-text {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: inherit;
}

/* Mobile Header Design - Tanishq Style */
.tanishq-mobile-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 4px var(--shadow-light);
    padding: 12px 0;
}

.tanishq-mobile-header .navbar-md {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.tanishq-menu-btn {
    background: none !important;
    background-color: transparent !important;
    border: none;
    color: var(--tanishq-red);
    font-size: 20px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tanishq-menu-btn:hover {
    background-color: transparent !important;
    color: var(--tanishq-red-dark);
}

.tanishq-mobile-logo img {
    max-height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.tanishq-mobile-logo:hover img {
    transform: scale(1.05);
}

.tanishq-mobile-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tanishq-mobile-actions i {
    color: var(--tanishq-red);
    font-size: 18px;
    transition: all 0.3s ease;
}

.tanishq-mobile-actions i:hover {
    color: var(--tanishq-red-dark);
    transform: scale(1.1);
}

.tanishq-mobile-actions .badge {
    background-color: #dc3545;
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
}

/* Mobile Search Bar - Tanishq Style */
.tanishq-mobile-search {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
}

.tanishq-mobile-search-form {
    width: 100%;
}

.tanishq-mobile-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: 25px;
   padding: 4px 12px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: all 0.3s ease;
}

button.remove-product.btn {
    color: #333 !important;
}
.compare-share-btn li a {
    background: no-repeat;
    border: none;
    box-shadow: none;
}

.viewmorebtn a {
    color: #fff !important;
}

.tanishq-mobile-search-wrapper:focus-within {
    border-color: var(--tanishq-red);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.tanishq-search-icon {
    color: var(--tanishq-red);
    font-size: 16px;
    margin-right: 10px;
}

.tanishq-mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-dark);
    background: transparent;
    padding: 2px 0;
    height: auto;
}

.tanishq-mobile-search-input::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.tanishq-search-btn {
    background: linear-gradient(135deg, var(--tanishq-red) 0%, var(--tanishq-red-light) 100%);
    border: 2px solid var(--tanishq-gold);
    color: var(--white);
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(74, 14, 78, 0.2);
}

.tanishq-search-btn:hover {
    background: linear-gradient(135deg, var(--tanishq-gold) 0%, var(--tanishq-gold-bright) 100%);
    border-color: var(--tanishq-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .tanishq-top-header,
    .tanishq-bottom-nav {
        display: none !important;
    }
    
    /* Offcanvas Updates */
    .offcanvas {
        background-color: var(--bg-white);
    }
    
    .offcanvas-header {
        background-color: var(--tanishq-red);
        color: var(--white);
        border-bottom: 1px solid var(--tanishq-red-dark);
    }
    
    .offcanvas-title a {
        color: var(--white) !important;
        font-weight: 600;
    }
    
    .menu-icon {
        color: var(--tanishq-red);
        font-size: 18px;
        margin-right: 12px;
    }
}

/* Additional Mobile Styles */
@media (max-width: 768px) {
    .tanishq-nav-list {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tanishq-nav-item {
        flex: 0 0 calc(50% - 5px);
        margin-bottom: 10px;
    }
    
    .tanishq-nav-link {
        min-height: 50px;
        padding: 6px 8px;
    }
    
    .nav-icon {
        font-size: 16px;
    }
    
    .nav-text {
        font-size: 11px;
    }
}

/* Focus and Accessibility */
.tanishq-nav-link:focus,
.action-icon:focus {
    outline: 2px solid var(--tanishq-red);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation Classes */
.transition-d-025 {
    transition: all 0.25s ease;
}

.bghover:hover {
    background-color: var(--light-gray);
    color: var(--tanishq-red);
}

/* Utility Classes */
.text-primary {
    color: var(--tanishq-red) !important;
}

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

.border-primary {
    border-color: var(--tanishq-red) !important;
}

.bg-black .font-color {
    color: var(--text-white) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bg-black .font-color:hover {
    color: var(--secondary-color) !important;
}

/* Main Navigation Bar - Clean White */
.search-nav {
    background-color: var(--bg-nav) !important;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 4px var(--shadow-light);
}

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

/* Navigation Links */
.nav-category a {
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 4px;
}

.nav-category a:hover {
    color: var(--secondary-color) !important;
    background-color: var(--secondary-light);
}

.nav-category.active-nav a {
    color: var(--secondary-color) !important;
    background-color: var(--secondary-light);
    font-weight: 600;
}

/* Removed old searchcontainer styles - using tanishq-mobile-search instead */

/* Removed old searchbar styles - using tanishq-mobile-search-input instead */

/* User Icons */
.shopingicon {
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
}

.shopingicon:hover {
    color: var(--secondary-color) !important;
    background-color: var(--secondary-light);
    transform: scale(1.1);
}

/* Badge Styling */
.badge-danger {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Language Dropdown */
.dropdown-toggle {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 14px;
}

.dropdown-menu {
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-radius: 8px;
}

.dropdown-item {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--secondary-light);
    color: var(--primary-color);
}

/* Profile Dropdown */
.profile .dropdown-menu {
    min-width: 200px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-radius: 8px;
}

.profile .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.profile .dropdown-item:hover {
    background-color: var(--secondary-light);
    color: var(--primary-color);
}

/* Mobile Navigation */
.navbar-md {
    background-color: var(--bg-nav) !important;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 4px var(--shadow-light);
}

.offcanvas {
    background-color: var(--white);
}

.offcanvas-header {
    background-color: var(--primary-color);
    color: var(--white);
    border-bottom: 1px solid var(--primary-dark);
}

.offcanvas-title a {
    color: var(--white) !important;
    font-weight: 600;
}

.menu-icon {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 12px;
}

/* Promo Bar */
.promo-nav {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
}

.promo-nav-text {
    margin: 0;
    font-family: var(--font-montserrat), sans-serif;
}

/* Company Logo */
.company-logo img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.company-logo:hover img {
    transform: scale(1.05);
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--shadow-medium);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

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

/* Card Styling */
.card {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px var(--shadow-medium);
    transform: translateY(-2px);
}

/* Form Controls */
.form-control {
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--shadow-light);
    outline: none;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    /* Removed old mobile searchbar styles */
    
    .d-xl-none .searchicon {
        color: var(--primary-color);
        background-color: var(--secondary-light);
        border-radius: 50%;
        padding: 8px;
    }
}

/* Animation Classes */
.transition-d-025 {
    transition: all 0.25s ease;
}

.bghover:hover {
    background-color: var(--secondary-light);
    color: var(--primary-color);
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

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

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

/* Jewelry-specific styling */
.jewelry-category {
    font-family: var(--font-playfair), serif;
    font-weight: 600;
    color: var(--primary-color);
}

.gold-text {
    color: var(--secondary-color);
}

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

/* Removed old enhanced search bar styles - using tanishq-mobile-search instead */

/* Hover Effects */
.nav-category:hover {
    transform: translateY(-1px);
}

.shopingicon:hover {
    transform: scale(1.1) translateY(-1px);
}

/* Focus States */
.nav-category a:focus,
.shopingicon:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success States */
.success {
    color: #28a745;
}

/* Error States */
.error {
    color: #dc3545;
}

/* Warning States */
.warning {
    color: #ffc107;
}

/* Info States */
.info {
    color: #17a2b8;
}
