/* Modern JMC Home Appliances E-commerce CSS */
:root {
    --primary-color: #4A5FD9;
    --secondary-color: #E91E63;
    --primary-gradient: linear-gradient(135deg, #4A5FD9 0%, #E91E63 100%);
    --accent-color: #7B68EE;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Call Button (Mobile) */
.call-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(74, 95, 217, 0.4);
    transition: all 0.3s ease;
}

.call-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Carousel Fixes */
.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%);
}

/* Ensure proper slide transitions */
.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
    transform: translateX(0);
}

.carousel-item.active {
    transform: translateX(0);
}

/* Ensure Bootstrap carousel works properly */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.15s ease;
    width: 5%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.15);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 12px 24px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section .carousel-item {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.hero-features {
    margin-top: 2rem;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

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

.category-card .card-body {
    padding: 2rem;
    text-align: center;
}

.category-icon {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-gradient);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

.product-price .original-price {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: white;
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.footer .social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .feature-badge {
        margin-bottom: 0.5rem;
    }
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.scroll-to-top.show {
    display: flex;
}

.btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-1px);
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    min-height: 50vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
}

.carousel-item {
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.min-vh-70 {
    min-height: 50vh;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.category-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.category-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

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

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

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

.placeholder-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0.5rem 0 1rem;
    line-height: 1.4;
}

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

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

.price-original {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
}

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

/* Features Section */
.features-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #34495e 100%);
}

.feature-item {
    padding: 2rem 1rem;
}

.feature-item i {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-card,
    .product-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .product-image {
        height: 200px;
    }
}

/* Focus and accessibility */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-color);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* Professional Header Styles - Japan Electronics Inspired */

/* Top Banner */
.top-banner {
    background: #1e40af;
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-banner .banner-text {
    font-weight: 400;
}

.top-banner .contact-info {
    font-weight: 500;
}

.top-banner i {
    color: #60a5fa;
}

/* Main Header */
.main-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo Styles */
.brand-logo {
    text-decoration: none;
    color: inherit;
    display: block;
}

.main-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    background: transparent;
}

/* Search Container */
.search-form {
    width: 100%;
}

.search-container {
    display: flex;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-select {
    border: none;
    padding: 12px 15px;
    background: #f8fafc;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 150px;
    border-right: 1px solid #e5e7eb;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 0.95rem;
    outline: none;
    color: #374151;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-btn {
    background: #1e40af;
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #1d4ed8;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: flex-end;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
    min-height: 40px;
}

.action-item i {
    font-size: 1.3rem;
    color: #6b7280;
}

.action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: center;
    min-height: 40px;
}

.action-text small {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.action-text .count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

/* Login/Register Links Styling */
.action-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-direction: row;
}

.action-text ul li {
    margin: 0;
    display: inline-block;
}

.action-text ul li a {
    color: #374151;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    border: 1px solid #e5e7eb;
    background: white;
}

.action-text ul li a:hover {
    color: #1e40af;
    background: rgba(30, 64, 175, 0.1);
    border-color: #1e40af;
}

.action-text ul li a i {
    margin-right: 4px;
    font-size: 0.8rem;
}

/* User Account Dropdown Button */
.user-account-btn {
    background: none;
    border: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.user-account-btn:hover {
    color: #1e40af;
}

.user-account-btn i {
    font-size: 1.3rem;
    color: #6b7280;
}

.user-account-btn:hover i {
    color: #1e40af;
}

.user-account-btn .action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.user-account-btn .action-text small {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.user-account-btn .action-text .account-status {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

/* User Dropdown Menu */
.user-dropdown-menu {
    min-width: 280px;
    padding: 8px 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
}

.user-dropdown-menu .dropdown-header {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e40af;
    background: rgba(30, 64, 175, 0.05);
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 4px;
}

.user-dropdown-menu .dropdown-item {
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #374151;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.user-dropdown-menu .dropdown-item:hover {
    background: rgba(30, 64, 175, 0.1);
    color: #1e40af;
}

.user-dropdown-menu .dropdown-item i {
    width: 16px;
    text-align: center;
}

.user-dropdown-menu .dropdown-item-text {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.user-dropdown-menu .dropdown-divider {
    margin: 4px 0;
}

/* Cart Notification Popup */
.cart-notification {
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
}

.cart-notification .btn {
    border-radius: 4px;
    font-size: 0.85rem;
    padding: 4px 12px;
}

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Fix for action item alignment */
.action-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.3s ease;
    min-height: 35px;
}

.cart-item .cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.action-item:hover i {
    color: #1e40af;
}

/* Main Navigation */
.main-navigation {
    background: #1e40af;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Category Menu Button */
.category-menu {
    position: relative;
}

.category-btn {
    background: #1d4ed8;
    color: white;
    border: none;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.category-btn:hover {
    background: #1e3a8a;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    background: white;
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin: 0;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .mega-menu,
.dropdown.show .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    padding: 35px;
    border-radius: 0 0 12px 12px;
}

.menu-title {
    color: #1e40af;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 8px;
}

.menu-list a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.menu-list a:hover {
    color: #1e40af;
    padding-left: 5px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    gap: 0;
}

.nav-links li {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link.hot-deals {
    background: #dc2626;
    color: white;
    font-weight: 600;
    position: relative;
}

.nav-link.hot-deals:hover {
    background: #b91c1c;
}

.nav-link.hot-deals::after {
    content: 'HOT';
    position: absolute;
    top: -5px;
    right: 5px;
    background: #fbbf24;
    color: #92400e;
    font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mega-menu {
        width: 600px;
    }
    
    .header-actions {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .search-container {
        margin: 15px 0;
    }
    
    .header-actions {
        justify-content: center;
        margin-top: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .mobile-menu-toggle {
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 1.5rem;
        padding: 8px;
    }

    .main-logo {
        height: 40px;
        max-width: 100%;
    }

    .mobile-cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background: var(--secondary-color);
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .header-actions .action-item {
        position: relative;
    }

    /* Mobile Navigation Styles */
    .mobile-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-link {
        display: block;
        padding: 15px 0;
        color: var(--dark-color);
        text-decoration: none;
        border-bottom: 1px solid #eee;
        transition: all 0.3s ease;
    }

    .mobile-nav-link:hover {
        color: var(--primary-color);
        background: rgba(74, 95, 217, 0.05);
        padding-left: 10px;
    }

    .mobile-submenu {
        list-style: none;
        padding: 0;
        margin: 10px 0;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .mobile-submenu .mobile-nav-link {
        padding: 12px 20px;
        font-size: 0.9rem;
        border-bottom: 1px solid #dee2e6;
    }

    .mobile-submenu .mobile-nav-link:last-child {
        border-bottom: none;
    }

    /* Search Form Mobile */
    .mobile-search .search-container {
        display: flex;
        border: 2px solid #e9ecef;
        border-radius: 25px;
        overflow: hidden;
    }

    .mobile-search .category-select {
        border: none;
        padding: 10px 15px;
        background: #f8f9fa;
        font-size: 0.9rem;
        min-width: 120px;
    }

    .mobile-search .search-input {
        flex: 1;
        border: none;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .mobile-search .search-btn {
        background: var(--primary-color);
        border: none;
        color: white;
        padding: 10px 20px;
        cursor: pointer;
    }

    /* Top Banner Mobile Hide */
    .top-banner {
        background: var(--primary-gradient);
        color: white;
        padding: 8px 0;
        font-size: 0.9rem;
    }

    /* Product Cards Mobile */
    @media (max-width: 768px) {
        .product-card {
            margin-bottom: 20px;
        }
        
        .category-card {
            text-align: center;
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .feature-item {
            margin-bottom: 30px;
        }
    }

    /* Categories Section Mobile */
    @media (max-width: 576px) {
        .categories-section .col-lg-3 {
            margin-bottom: 20px;
        }
        
        .section-title {
            font-size: 1.8rem;
        }
        
        .section-subtitle {
            font-size: 1rem;
        }
    }
}

@media (max-width: 768px) {
    .top-banner {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .top-banner .col-md-6:last-child {
        text-align: center !important;
        margin-top: 5px;
    }
    
    .main-header .row {
        text-align: center;
    }
    
    .logo-container {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .search-container {
        margin: 15px 0;
    }
    
    .category-select {
        min-width: 120px;
        font-size: 0.8rem;
    }
    
    .header-actions {
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
    }
    
    .nav-wrapper {
        flex-direction: column;
        gap: 0;
    }
    
    .category-menu {
        width: 100%;
    }
    
    .category-btn {
        width: 100%;
        text-align: center;
    }
    
    .nav-links {
        width: 100%;
        flex-direction: column;
    }
    
    .nav-link {
        text-align: center;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mega-menu {
        width: 100%;
        position: static;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    }
}

/* Fix for login partial styling */
.header-actions .action-text .nav-link {
    color: #374151;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    background: none;
}

.header-actions .action-text .nav-link:hover {
    color: #1e40af;
    background: none;
}
