
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #d4af37;
            --secondary: #8b4513;
            --accent: #f8e5e5;
            --light: #faf7f2;
            --dark: #1a1a1a;
            --text: #333333;
            --shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--text);
            background-color: #fff;
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1, h2, h3, h4 {
            font-family: 'Cormorant Garamond', serif;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-block;
            padding: 14px 32px;
            background: var(--primary);
            color: white;
            border-radius: 2px;
            font-weight: 500;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            font-size: 14px;
            letter-spacing: 1.5px;
        }

        .btn:hover {
            background: var(--secondary);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }
/* ---------- HEADER ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ---------- TOP BAR ---------- */
.header-top {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.top-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-block;
  height: 60px;
}
.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.search-box {
  display: flex;
  align-items: center;
  max-width: 400px;
  flex: 1;
    margin-left: 28px;
  }
.search-box input {
  flex: 1;
  padding: 8px 0px;
  border: 1px solid #ddd;
  border-radius: 20px 0 0 20px;
  outline: none;
  margin: -24px;
}
.search-box button {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 0 20px 20px 0;
  background: var(--primary, #c59d5f);
  color: #fff;
  cursor: pointer;
}
.header-icons {
  display: flex;
  gap: 37px;
}
.header-icons i {
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s;
}
.header-icons i:hover {
  color: var(--primary, #c59d5f);
}

@media (max-width: 767px) {
  .header-icons {
    gap: 3px;
  }
}
/* ---------- BOTTOM NAV ---------- */
.header-bottom {
  padding: 10px 0;
}
.bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}
.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 12px;
  transition: color 0.3s;
}
.nav-menu li a:hover {
  color: var(--primary, #c59d5f);
}

/* ---------- MEGA MENU (DESKTOP) ---------- */

/* Default mega menu */
/* ---------- MEGA MENU (DESKTOP) ---------- */
.menu-item .mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  width: min(90vw, 1200px);
  background: #fff;
  padding: 30px 40px;
  display: flex;
  gap: 40px;
  border-top: 2px solid #eee;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-height: 250px;
}

/* Show on hover */
.menu-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Align right if overflow */
.menu-item.open-left .mega-menu,
.menu-item.right-align .mega-menu {
  left: auto;
  right: 0;
}
@media (max-width: 991px) {
  .menu-item .mega-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 10px 0;
    display: none;  /* hidden by default */
    flex-direction: column;
    gap: 10px;
  }

  .menu-item.open .mega-menu {
    display: flex;  /* shown when parent is clicked */
  }
}


@media (max-width: 991px) {
  .nav-menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 3px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    z-index: 2000;
    overflow-y: auto;   /* ✅ allow scrolling */
  }
}


/* Left: Category image */
.category-block {
  flex: 0 0 200px;
  text-align: center;
}

.category-block img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}

.category-block h4 {
  font-size: 16px;
  margin-top: 5px;
  font-weight: 600;
  color: var(--dark);
}

/* Right: Subcategories grid */
.subcategory-list {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-content: start;
}

.subcategory-list a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.subcategory-list a:hover {
  color: var(--primary);
}




/* ---------- MOBILE ---------- */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

 .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: #fff;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            height: 57px;
        }

        .mobile-bottom-nav-items {
            display: flex;
            justify-content: space-around;
            height: 100%;
        }

        .mobile-bottom-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-grow: 1;
            text-align: center;
            font-size: 12px;
            color: #555;
        }

        .mobile-bottom-nav-item.active {
            color: var(--primary);
        }

        .mobile-bottom-nav-item i {
            font-size: 20px;
            margin-bottom: 4px;
        }
@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 3px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    z-index: 2000;
  }
  .nav-menu.active {
    left: 0;
  }


   /* Show mobile bottom nav on mobile */
            .mobile-bottom-nav {
                display: block;
            }
}
