/* Main CSS Styles for MarketPlace Pro */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header Styles */
.top-header {
    background: white !important;
    color: #333 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 2rem;
}

/* Search Container Styles */
.search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
    transition: all 0.3s ease;
}

/* Hide search container by default on mobile */
@media (max-width: 768px) {
    .search-container {
        display: none;
    }
    
    .search-container.active {
        display: block;
        order: 2;
        margin: 1rem 0;
        max-width: 100%;
    }
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid transparent;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-box:focus-within {
    border-color: #D4AF37;
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    background: transparent;
    color: #333;
    font-weight: 500;
}

.search-box input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-btn {
    background: linear-gradient(45deg, #D4AF37, #F4D03F);
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.search-btn:hover {
    background: linear-gradient(45deg, #B8941F, #D4AF37);
    transform: scale(1.05);
}

.search-btn i {
    font-size: 1.1rem;
}

/* Category Navigation Styles */
.category-nav {
    background: white !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 0.75rem 0 !important;
    position: sticky !important;
    top: 60px !important;
    z-index: 999 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.category-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
/* Top Navbar Toggle Button */
.top-navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

/* Show toggle button on mobile */
@media (max-width: 768px) {
    .top-navbar-toggle {
        display: flex;
    }
}

.toggle-line {
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.top-navbar-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.top-navbar-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.top-navbar-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Navigation Menu Container */
.nav-menu-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-menu-container::-webkit-scrollbar {
    display: none;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    transition: all 0.3s ease;
    min-width: max-content;
}

.category-nav-content ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-nav-content li {
    margin: 0;
    padding: 0;
}

.category-link {
    color: #333 !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    position: relative !important;
}

.category-link:hover {
    color: #D4AF37 !important;
}

.category-link.active {
    color: #D4AF37 !important;
    font-weight: 600 !important;
}

.category-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #D4AF37;
}

/* Responsive Styles for Navbar */
@media (max-width: 768px) {
    .top-header {
        padding: 0.4rem 0;
    }
    
    .top-header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 0;
        justify-content: space-between;
    }
    
    .search-container {
        order: 2;
        max-width: 100%;
        margin: 0;
    }
    
    .logo {
        order: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .logo a {
        font-size: 1.8rem;
    }
    
    .site-tools {
        order: 3;
        justify-content: center;
        gap: 0.5rem;
    }
    
    
    .tools-icon {
        width: auto;
        height: auto;
        padding: 0;
    }
    
    .category-nav {
        padding: 0.75rem 0;
    }
    
    .category-nav-content {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .category-nav-content {
        justify-content: space-between;
    }
    
    /* Show mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Make category navigation horizontally scrollable */
    .nav-menu-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-menu-container::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
        min-width: max-content;
        gap: 1.5rem;
    }
    
    .nav-menu li {
        flex-shrink: 0;
    }
    
    .category-link {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        white-space: nowrap;
    }
    
    /* Hide mobile menu toggle on larger screens */
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-header {
        padding: 0.3rem 0;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .category-nav-content {
        gap: 0.5rem;
    }
    
    .category-nav-content ul {
        gap: 0.5rem;
    }
    
    .category-link {
        font-size: 0.75rem;
    }
    
    .search-box input {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 12px 18px;
    }
    
    .tools-icon {
        width: auto;
        height: auto;
        padding: 0;
    }
    
    .tools-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Logo Styles */
.logo a {
    text-decoration: none !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 2.2rem !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.logo a:hover {
    transform: scale(1.05);
    color: #D4AF37 !important;
}

.logo-img {
    height: 55px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Site Tools Icon Section */
.site-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

/* Hide site tools by default on mobile */
@media (max-width: 768px) {
    .site-tools {
        display: none;
    }
    
    .site-tools.active {
        display: flex;
        order: 3;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }
}

.tools-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
    width: auto;
    height: auto;
    background: none;
    border: none;
}

.tools-icon:hover {
    transform: none;
    background: none;
    border: none;
}

.tools-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: all 0.3s ease;
}

.tools-icon:hover svg {
    fill: #D4AF37;
}

/* Badge styling for counters */
.theme-item-count,
.shop-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    min-width: 18px;
}

/* Removed pulse animation */

.theme-item-count.hide,
.shop-cart-count.hide {
    display: none;
}

/* My Account Dropdown */
.my-account {
    position: relative;
}

.subbox {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.my-account:hover .subbox {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.subbox ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subbox li {
    border-bottom: 1px solid #f0f0f0;
}

.subbox li:last-child {
    border-bottom: none;
}

.my-account-login-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.my-account-login-link:hover {
    background-color: #f8f9fa;
    color: #D4AF37;
}

/* Search Icon Specific */
.header-search-icon {
    cursor: pointer;
}

/* Wishlist Icon Specific */
.header-wishlist-icon {
    position: relative;
}

/* Shopping Cart Icon Specific */
.shopping-cart {
    position: relative;
}

/* Responsive adjustments for icons */
@media (max-width: 768px) {
    .site-tools {
        gap: 1rem;
    }
    
    .tools-icon {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    
    .tools-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .theme-item-count,
    .shop-cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
}

/* .action-btn {
    position: relative;
    background: none !important;
    border: none !important;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
} */

/* .action-btn:hover {
    background: none !important;
    opacity: 0.7;
    transform: none;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
} */

/* .action-btn i {
    font-size: 1.5rem;
    line-height: 1;
    color: black;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-shadow: none !important;
    filter: none !important;
} */

/* .action-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: black;
    stroke-width: 1.5;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-shadow: none !important;
    filter: none !important;
    box-shadow: none !important;
} */

/* .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #D4AF37;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
} */

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-popup {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.close-search {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-search:hover {
    color: #333;
}

.search-input-container {
    position: relative;
}

.search-input-container input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: none;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* Reduced from 100vh to 60vh */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: black;
    max-width: 600px;
    padding: 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.hero-cta {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.shop-now-btn {
    background: black;
    color: white;
    border: 2px solid black;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-now-btn:hover {
    background: transparent;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        font-size: 1.2rem;
    }
    
    .shop-now-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* Popular Products Section */
.popular-products-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.popular-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.popular-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.custom-product-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
}

.custom-product-card:hover {
    transform: translateY(-2px);
}

.custom-product-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #f8f9fa;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-main-image, .custom-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.custom-hover-image {
    opacity: 0;
    transform: scale(1);
}

.custom-product-card:hover .custom-main-image {
    opacity: 0;
    transform: scale(1);
}

.custom-product-card:hover .custom-hover-image {
    opacity: 1;
    transform: scale(1);
}

.custom-product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #333;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.custom-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.custom-product-info {
    padding: 1rem 0;
    background: transparent;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #8f8f8f;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.6em;
    text-align: center;
}

.custom-product-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.custom-original-price {
    font-size: 1rem;
    color: #8f8f8f;
    text-decoration: line-through;
    font-weight: 500;
}

.custom-current-price {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

.custom-product-actions {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) translateX(20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.custom-product-card:hover .custom-product-actions {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.custom-add-to-cart, .custom-add-to-wishlist {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-add-to-wishlist.in-wishlist {
    background: #e74c3c;
    color: white;
}

.custom-add-to-wishlist:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.custom-add-to-cart:hover {
    background: #27ae60;
    color: white;
    transform: scale(1.1);
}


.custom-add-to-wishlist:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.section-footer {
    text-align: center;
}

/* Best Sellers Section */
.best-sellers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.best-sellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.best-seller-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.best-seller-card:hover {
    transform: translateY(-2px);
}

.product-image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #f8f9fa;
    width: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.best-seller-card:hover .product-image {
    transform: scale(1);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.badge {
    padding: 8px 15px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge.best-seller {
    background: #000;
    color: white;
}

.badge.discount {
    background: #ff4757;
    color: white;
}

.product-actions {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) translateX(20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.best-seller-card:hover .product-actions {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    transform: scale(1.1);
}

.wishlist-btn:hover {
    background: #ff4757;
    color: white;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.cart-btn:hover {
    background: #D5AC55;
    color: white;
    box-shadow: 0 6px 20px rgba(213, 172, 85, 0.4);
}

.quick-view-btn:hover {
    background: #2ed573;
    color: white;
    box-shadow: 0 6px 20px rgba(46, 213, 115, 0.4);
}

.product-info {
    padding: 1rem 0;
    background: transparent;
    text-align: center;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8f8f8f;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: center;
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffd700;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.85rem;
    color: #666;
}

.product-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.current-price {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

.original-price {
    font-size: 1rem;
    color: #8f8f8f;
    text-decoration: line-through;
    font-weight: 500;
}

/* No Products Message */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1rem;
}

.no-products p {
    margin: 0;
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #D5AC55, #B8941F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(213, 172, 85, 0.3);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #D5AC55, #B8941F);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.service-item:hover .service-icon::after {
    opacity: 0.3;
    transform: scale(1.2);
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(213, 172, 85, 0.4);
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.service-item:hover .service-icon i {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
    position: relative;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #D5AC55, #B8941F);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-item:hover .service-title::after {
    opacity: 1;
    width: 60px;
}

.service-description {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* Deals Section */
.deals-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.deal-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: none;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.deal-image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #f8f9fa;
    width: 100%;
}

.deal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.deal-hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.deal-card:hover .deal-image {
    transform: scale(1);
}

.deal-card:hover .deal-hover-image {
    opacity: 1;
}

.deal-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.deal-badge {
    padding: 8px 15px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.deal-badge.flash-sale {
    background: #ff4757;
    color: white;
}

.deal-badge.mega-sale {
    background: #ff6b6b;
    color: white;
}

.deal-badge.hot-deal {
    background: #ffa726;
    color: white;
}

.deal-badge.limited {
    background: #9c27b0;
    color: white;
}

.deal-badge.discount {
    background: #4caf50;
    color: white;
}

.stock-alert {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(255, 71, 87, 0.95);
    border-radius: 0;
    padding: 8px;
    z-index: 2;
}

.stock-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 5px;
}

.stock-fill {
    height: 100%;
    background: white;
    border-radius: 0;
    transition: width 0.3s ease;
}

.stock-text {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    display: block;
}

.deal-timer {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0;
    padding: 8px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.timer-item {
    text-align: center;
    color: white;
}

.timer-number {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.timer-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    opacity: 0.8;
}

.deal-actions {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) translateX(20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.deal-card:hover .deal-actions {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.deal-wishlist-btn, .deal-cart-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-wishlist-btn:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.deal-cart-btn:hover {
    background: #D5AC55;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(213, 172, 85, 0.4);
}

.deal-info {
    padding: 1rem 0;
    background: transparent;
    text-align: center;
}

.deal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8f8f8f;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: center;
}

.deal-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.deal-original-price {
    font-size: 1rem;
    color: #8f8f8f;
    text-decoration: line-through;
    font-weight: 500;
}

.deal-current-price {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

.deal-savings {
    font-size: 0.8rem;
    color: #4caf50;
    font-weight: 600;
    margin-top: 0.3rem;
}

.deal-sold {
    text-align: center;
    margin-top: 0.5rem;
}

.sold-text {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.view-all-btn {
    display: inline-block;
    background: transparent;
    color: #333;
    border: 2px solid #333;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-all-btn:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Popular Products */
@media (max-width: 1200px) {
    .popular-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .popular-products-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .popular-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .custom-product-image {
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .custom-product-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .popular-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Responsive Deals Section */
@media (max-width: 1200px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Old Header Styles - Removed */

/* Removed old conflicting styles */

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: #667eea;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

/* .search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* .search-btn:hover {
    transform: translateY(-50%) scale(1.05);
} */ */

/* .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
} */

/* .cart-btn, .login-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

/* .cart-btn:hover, .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
} */ */

.cart-count {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Navigation Styles */
.nav-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0; /* Reduced from 1rem to 0.5rem */
    border-top: 1px solid #e0e0e0;
}

.nav-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.nav-item {
    cursor: pointer;
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    font-size: 0.9rem; /* Slightly smaller font */
}

.nav-item:hover, .nav-item.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    margin-right: 0.5rem;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content Styles */
.main-content {
    padding: 2rem 0;
}

/* Product Banner Styles */
.product-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.product-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.banner-text h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.banner-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.banner-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.banner-product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 1);
}

.banner-product-image {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.banner-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff4757;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.banner-product-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.3;
}

.banner-price {
    margin-bottom: 0.5rem;
}

.banner-price .current-price {
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

.banner-price .original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.banner-rating {
    color: #ffa726;
    font-size: 0.9rem;
}

.banner-rating span {
    color: #666;
    margin-left: 0.5rem;
}

/* Responsive Banner */
@media (max-width: 768px) {
    .banner-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .banner-stats {
        justify-content: center;
    }
    
    .banner-products {
        grid-template-columns: 1fr;
    }
}

/* Section Titles */

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 1);
}

/* Product Card Styles */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 1);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #666;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.product-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-price {
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-rating {
    color: #ffa726;
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-danger {
    background: #ff4757;
}

.btn-danger:hover {
    background: #ff3742;
    transform: translateY(-2px);
}

.add-to-cart {
    width: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Grid Styles */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Utility Classes */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Responsive Design */
@media (max-width: 768px) {
    /* Removed old conflicting responsive styles */

    .search-bar {
        margin: 0;
        max-width: 100%;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .nav-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Navbar Dropdown Styles */
.subbox {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.my-account:hover .subbox {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.subbox ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.subbox li {
    border-bottom: 1px solid #f8f9fa;
}

.subbox li:last-child {
    border-bottom: none;
}

.subbox li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.subbox li a:hover {
    background: #f8f9fa;
    color: #D5AC55;
    text-decoration: none;
}

.subbox li a i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

.my-account-login-link:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.my-account-register-link:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .subbox {
        right: -20px;
        min-width: 160px;
    }
}

