/* Interior Spot - Premium Design System */
:root {
    --primary: #c5a059;
    /* Gold/Brass accent */
    --primary-dark: #a68545;
    --secondary: #1a1a1a;
    /* Rich Black */
    --text: #333333;
    --text-light: #777777;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Header */
header {
    background: white;
    padding: 15px 0;
    position: relative;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.logo img {
    height: 45px;
    width: auto;
}

/* Header Categories Dropdown */
.header-categories-dropdown {
    position: relative;
    margin-left: 10px;
}

.header-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.header-nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.header-nav-links a:hover {
    color: var(--primary);
}

.cat-toggle-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

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

.cat-toggle-btn i:last-child {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.header-categories-dropdown:hover .cat-toggle-btn i:last-child {
    transform: rotate(180deg);
}

.all-cats-mega-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: -150px;
    background: white;
    width: 1200px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.header-categories-dropdown:hover .all-cats-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega Menu Grid Layout */
.mega-menu-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mega-row {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 15px;
}

.mega-row.row-8 {
    grid-template-columns: repeat(8, 1fr);
    width: 80%;
    margin: 0 auto;
}

.mega-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.mega-item img {
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px; /* Changed from 12px to 8px to match small square layout */
    background: #f5f5f5;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.mega-item span {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    display: block;
}

/* Removed translation hover effects on link */
.mega-item:hover a {
    transform: none;
}

/* Removed scaling and shadow hover effects on image */
.mega-item:hover img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transform: none;
}

.mega-item:hover span {
    color: var(--primary);
}

/* Mobile Responsiveness for Mega Menu */
@media (max-width: 1250px) {
    .all-cats-mega-menu {
        width: 95vw;
        left: -100px;
    }

    .mega-row {
        grid-template-columns: repeat(5, 1fr);
    }

    .mega-row.row-8 {
        grid-template-columns: repeat(4, 1fr);
        padding: 0;
    }
}

@media (max-width: 992px) {
    .navbar {
        flex-wrap: wrap;
        padding-bottom: 10px;
    }

    .header-left {
        width: auto;
    }

    .header-search {
        order: 10;
        min-width: 100%;
        margin: 10px 0 0 0;
    }

    .header-icons {
        margin-left: auto;
    }

    .header-categories-dropdown,
    .header-nav-links {
        display: none;
    }
}

/* Search Pill in Header Row */
.header-search {
    flex: 1;
    max-width: 600px;
    background: #f1f1f1;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 8px 20px;
    position: relative;
}

.header-search .fa-search {
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    flex-shrink: 0;
}

.header-search .fa-search:hover {
    color: var(--primary);
}

.header-search .search-dropdown {
    position: relative;
    padding-right: 15px;
    border-right: 1px solid #ccc;
    cursor: pointer;
    user-select: none;
}

.header-search .all-dropdown {
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: var(--secondary);
}

.header-search .all-dropdown i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.search-dropdown.active .all-dropdown i {
    transform: rotate(180deg);
}

.search-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -15px;
    background: white;
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
    list-style: none;
    padding: 10px 0;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Scrollbar for dropdown */
.search-dropdown-menu::-webkit-scrollbar {
    width: 5px;
}

.search-dropdown-menu::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.search-dropdown.active .search-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow indicator */
.search-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 40px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.search-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #444;
    font-size: 14px;
    transition: all 0.2s ease;
    text-transform: none;
    font-weight: 500;
}

.search-dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 25px;
}

.header-search input {
    background: transparent;
    border: none;
    flex: 1;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icons .auth-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
    margin-right: 10px;
}

.header-icons .auth-link i {
    font-size: 20px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 18px;
    background: #f1f1f1;
    transition: var(--transition);
}

.icon-circle:hover {
    background: var(--primary);
    color: white;
}

.icon-circle.whatsapp {
    background: #25d366;
    color: white;
}

.icon-circle.phone {
    background: #34af23;
    color: white;
}

.category-nav-bar {
    background: #ffffff;
    border-bottom: 1px solid #f1f1f1;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

.category-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    row-gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-nav-links li {
    position: static;
    display: flex;
    align-items: center;
}

.category-nav-links li:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 14px;
    background: #eee;
    margin: 0 15px;
    display: block;
}

.category-nav-links li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 8px 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-nav-links li a:hover {
    color: var(--primary);
}

.category-nav-links li:hover>a {
    color: var(--primary);
}

.category-nav-links li:hover>a {
    color: var(--primary);
}

.category-nav-links li a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.category-nav-links li:hover a i {
    transform: rotate(180deg);
}

/* Mega Menu Structure */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 40px 0;
    z-index: 100;
    border-top: 1px solid #eee;
    animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-nav-links li:hover .mega-menu {
    display: block;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.mega-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.mega-column ul {
    list-style: none;
    padding: 0;
}

.mega-column ul li {
    margin-bottom: 6px;
}

.mega-column ul li a {
    font-size: 13px !important;
    color: #666 !important;
    font-weight: 400 !important;
    padding: 0 !important;
    border: none !important;
    display: inline-block !important;
}

.mega-column ul li a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
}

.mega-image {
    grid-column: span 1;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
    background: #f5f5f5;
}

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

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

@media (max-width: 992px) {
    .category-nav-bar {
        display: none;
    }
}

/* Secondary Navigation Removed */
.secondary-nav {
    display: none;
}

@media (max-width: 992px) {
    .secondary-nav {
        border: none;
        background: transparent;
        height: 0;
    }
}

.secondary-nav .container {
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links>li {
    position: relative;
}

.nav-links>li>a {
    display: block;
    padding: 15px 25px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links>li:hover>a {
    color: var(--primary);
}

/* Dropdown for All Categories */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 15px 0;
    border-top: 2px solid var(--primary);
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    color: #555;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: #f9f9f9;
    color: var(--primary);
    padding-left: 30px;
}

/* Mobile Category Scroll */
.mobile-cat-scroll {
    display: flex;
    overflow-x: auto;
    padding: 15px 20px;
    gap: 20px;
    background: white;
    scrollbar-width: none;
}

.mobile-cat-scroll::-webkit-scrollbar {
    display: none;
}

@media (min-width: 993px) {
    .mobile-cat-scroll {
        display: none;
    }
}

.mobile-cat-item {
    text-align: center;
    min-width: 80px;
}

.mobile-cat-item .icon-box {
    width: 60px;
    height: 60px;
    background: #f9f9f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 24px;
    color: var(--primary);
}

.mobile-cat-item span {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    display: block;
}

/* Mobile Categories Side Menu */
.mobile-categories-item {
    width: 100%;
}

.mobile-cat-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--secondary) !important;
}

.mobile-cat-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-categories-item.active .mobile-cat-toggle i {
    transform: rotate(90deg);
}

.mobile-cat-submenu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 15px;
    display: none;
    border-left: 2px solid var(--primary);
}

.mobile-categories-item.active .mobile-cat-submenu {
    display: block;
}

.mobile-cat-submenu li a {
    padding: 8px 15px !important;
    font-size: 14px !important;
    text-transform: none !important;
    font-weight: 500 !important;
    color: #666 !important;
}

.mobile-cat-submenu li a:hover {
    color: var(--primary) !important;
}

/* Side Menu */
.nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 2000;
    flex-direction: column;
    padding: 60px 40px;
    transition: left 0.3s ease;
    display: flex;
    gap: 35px;
}

@media (min-width: 993px) {
    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        display: flex !important;
        left: 0;
    }

    .nav-links a {
        color: white;
    }

    .mobile-close,
    .mobile-nav-logo {
        display: none !important;
    }
}

.mobile-nav-logo {
    display: none;
    margin-bottom: 30px;
    text-align: center;
}

.mobile-nav-logo img {
    height: 50px;
    width: auto;
    margin: 0 auto;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
    display: none;
}

.nav-links.active {
    left: 0;
}

.nav-links li a {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.mega-menu {
    display: none;
    padding: 15px 0 0 15px;
}

.mega-menu.active {
    display: block;
}

.mega-col h4 {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mega-col ul li {
    margin-bottom: 8px;
}

.mega-col ul {
    padding: 0;
    list-style: none;
}

.mega-col ul li a {
    font-size: 14px;
    color: #555;
    text-transform: none;
    font-weight: 400;
    transition: var(--transition);
    display: block;
}

.mega-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    width: 200px;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Categories Grid */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title .underline {
    width: 70px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 95%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

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

.category-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 95%);
}

.category-overlay {
    z-index: 2;
    padding: 0 25px 30px 25px;
    width: 100%;
}

.category-overlay h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: white;
    font-weight: 700;
}

.category-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    height: 250px;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.product-info .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

/* Footer */
footer {
    background: var(--secondary);
    color: #bbb;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-col p,
.footer-col li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-col li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
    .mega-menu {
        width: 100%;
        position: static;
        transform: none;
        display: none;
        padding: 20px;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
    }

    .has-mega:hover .mega-menu {
        display: block;
    }

    .mega-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px;
        gap: 20px;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        transition: left 0.4s ease;
    }

    .mobile-close {
        display: block !important;
    }

    .mobile-nav-logo {
        display: block !important;
    }

    .nav-links.active {
        left: 0;
    }
}

/* Mega Menu Styles */
.header-categories-dropdown {
    position: relative;
    margin-right: 20px;
}

.cat-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f8f8f8;
    border-radius: 8px;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cat-toggle-btn:hover {
    background: #eee;
}

.all-cats-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

.header-categories-dropdown:hover .all-cats-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mega-row {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 15px;
}

.mega-row.row-8 {
    grid-template-columns: repeat(8, 1fr);
    width: 80%;
    margin: 0 auto;
}

.mega-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    gap: 8px;
    transition: all 0.3s ease;
}

.mega-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px; /* Changed from 50% to 8px to make it a small square */
    background: #f5f5f5;
    padding: 0; /* Removed padding so image spans full square area like modern icons */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mega-item span {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

/* Removed scale, background shift, and invert color hover effects */
.mega-item:hover img {
    transform: none;
    background: #f5f5f5;
    filter: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mega-item:hover span {
    color: var(--primary);
}

/* Category Nav Bar Styles */
.category-nav-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 70px;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.category-nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-nav-links>li {
    position: static;
}

.category-nav-links>li>a {
    display: block;
    padding: 15px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.category-nav-links>li:hover>a {
    color: var(--primary);
}

.category-nav-links>li .mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
    padding: 40px 0;
    display: none;
    z-index: 1001;
}

.category-nav-links>li:hover .mega-menu {
    display: block;
}

.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr) 250px;
    gap: 40px;
    padding: 0 20px;
}

.mega-column h4 {
    font-size: 15px;
    font-weight: 800;
    color: #222;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-column ul li {
    margin-bottom: 10px;
}

.mega-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mega-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.mega-image {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

@media (max-width: 992px) {

    .header-categories-dropdown,
    .category-nav-bar {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 36px;
    }

    .product-main {
        grid-template-columns: 1fr;
    }

    .category-detail-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 10px;
    }

    .logo img {
        height: 45px;
    }
}

/* Globally hide the phone icon on product cards */
.btn-phone {
    display: none !important;
}
