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

html, body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* make navbar sticky on all viewports and avoid content being hidden */
:root {
  --navbar-height: 72px;
}

/* ensure page content is pushed down below the fixed navbar */
body {
  padding-top: var(--navbar-height);
}

/* ========================================================================== */
/* NAVIGATION – Mega Menu, Cart, Mobile Accordion */
/* ========================================================================== */

.navbar {
  background: #331f08;
  color: #F7E3BA;
  padding: 1rem 2rem 0.5rem;
  /* changed to fixed so navbar stays visible on all devices */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.navbar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Logo */
.logo a {
  display: block;
}
.logo img {
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}

/* Search */
.search-bar {
  display: flex;
  align-items: center;
  background: #4a2f0a;
  border-radius: 25px;
  padding: 5px 10px;
  margin: 0.5rem 0;
  width: 100%;
  max-width: 400px;
  transition: all .3s;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.search-bar:focus-within {
  background: #5a310b;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: #F7E3BA;
  padding: 6px 12px;
  width: 100%;
  font-size: .95rem;
}
.search-bar input::placeholder {
  color: #F7E3BA;
  opacity: .7;
}
.search-bar .search-btn {
  background: none;
  border: none;
  color: #F7E3BA;
  cursor: pointer;
  padding: 6px;
  font-size: 1.1rem;
  transition: color .3s;
}
.search-bar .search-btn:hover {
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  cursor: pointer;
  z-index: 10001;
  font-size: 1.5rem;
  color: #F7E3BA;
  transition: color .3s;
}
.hamburger:hover { color: #fff; }
.hamburger.active { color: #fff; }

/* Nav Links */
.nav-links-wrapper {
  margin-top: 1rem;
  width: 100%;
}
.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 90px;
  color: #F7E3BA;
  text-decoration: none;
  font-size: .95rem;
  border-radius: 8px;
  transition: all .3s ease;
}
.nav-link:hover {
  color: #fff;
  background: rgba(247,227,186,.1);
  transform: translateY(-2px);
}
.nav-arrow {
  font-size: .7rem;
  transition: transform .3s;
}
.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* ----------------------- FULL-SCREEN MEGA MENU ----------------------- */
.dropdown-menu {
  position: fixed;
  top: 180px;
  left: 0;
  width: 100vw;
  height: max-content;
  background: #FFFFFF;
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .5s cubic-bezier(.4,0,.2,1), visibility .5s;
  z-index: 2;
  overflow: hidden;
  padding: 100px 60px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop hover */
.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-menu > * {
  display: flex !important;
  flex-direction: row;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  align-items: stretch;
  scroll-behavior: smooth;
}

.dropdown-item {
  flex: 0 0 300px;
  min-width: 300px;
  scroll-snap-align: start;
  border-radius: 4px;
  padding: 15px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  margin: 0;
  background: rgba(255,255,255,.85);
}

.dropdown-item:hover {
  background: rgba(255,255,255,.98);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(51,31,8,.15);
  border-color: rgba(51,31,8,.12);
}

/* SCROLLBAR */
.dropdown-menu > *::-webkit-scrollbar { height: 8px; }
.dropdown-menu > *::-webkit-scrollbar-track { 
  background: rgba(51,31,8,.05); 
  border-radius: 10px; 
}
.dropdown-menu > *::-webkit-scrollbar-thumb { 
  background: rgba(51,31,8,.3); 
  border-radius: 10px; 
}
.dropdown-menu > *::-webkit-scrollbar-thumb:hover { 
  background: rgba(51,31,8,.5); 
}

/* Close X */
.dropdown-menu::before {
  content: '×';
  position: fixed;
  top: 10px;
  right: 50px;
  width: 50px;
  height: 50px;
  background: rgba(51,31,8,.1);
  color: #331f08;
  font-size: 1.4rem;
  font-weight: 300;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  z-index: 10003;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.dropdown-menu:hover::before {
  background: rgba(51,31,8,.2);
  transform: rotate(90deg) scale(1.05);
}

/* Category Title */
.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.35rem;
  color: #331f08;
  margin-bottom: 20px;
  padding: 0 0 6px 0;
  text-decoration: none;
  border-bottom: 2px solid rgba(51,31,8,.12);
  transition: all .3s ease;
  position: relative;
  letter-spacing: -0.02em;
}

.dropdown-link:hover {
  color: #4a2f0a;
  padding-left: 8px;
}

.dropdown-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #331f08, #4a2f0a);
  transition: width .4s cubic-bezier(.4,0,.2,1);
}

.dropdown-link:hover::after {
  width: 100%;
}

.sub-arrow {
  font-size: 1.1rem;
  opacity: .5;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  color: #331f08;
}
.dropdown-link:hover .sub-arrow {
  opacity: 1;
  transform: translateX(6px);
}

/* Sub Menu */
.sub-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 3px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.sub-dropdown-menu li {
  margin: 0;
}

.sub-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: rgba(255,255,255,.9);
  color: #333;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid transparent;
  position: relative;
  overflow: visible;
}

.sub-dropdown-menu a::before {
  content: '→';
  font-weight: 700;
  font-size: 1.1rem;
  color: #331f08;
  opacity: .3;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  transform: translateX(0);
}

.sub-dropdown-menu a:hover {
  background: #331f08;
  color: #F7E3BA;
  transform: translateX(8px);
  border-color: #331f08;
  box-shadow: 0 4px 16px rgba(51,31,8,.2);
  padding-left: 20px;
}

.sub-dropdown-menu a:hover::before {
  opacity: 1;
  color: #F7E3BA;
  transform: translateX(2px);
}

.sub-dropdown-menu a:active {
  transform: translateX(6px) scale(0.98);
}

/* Animation */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(15px);
  }
  to   { 
    opacity: 1; 
    transform: translateY(0);
  }
}

.sub-dropdown-menu li {
  animation: fadeInUp .5s cubic-bezier(.4,0,.2,1) backwards;
}
.sub-dropdown-menu li:nth-child(1) { animation-delay: .05s; }
.sub-dropdown-menu li:nth-child(2) { animation-delay: .1s; }
.sub-dropdown-menu li:nth-child(3) { animation-delay: .15s; }
.sub-dropdown-menu li:nth-child(4) { animation-delay: .2s; }
.sub-dropdown-menu li:nth-child(5) { animation-delay: .25s; }
.sub-dropdown-menu li:nth-child(6) { animation-delay: .3s; }
.sub-dropdown-menu li:nth-child(7) { animation-delay: .35s; }

/* ----------------------- CART ----------------------- */
.cart-item { position: relative; }
.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: all .3s;
}
.cart-icon:hover {
  background: rgba(247,227,186,.2);
  transform: translateY(-2px);
}
.cart-count {
  background: #ff4444;
  color: #fff;
  font-size: .7rem;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 4px;
  right: 4px;
  font-weight: bold;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Cart Dropdown */
.cart-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #4A2F0A;
  color: #F7E3BA;
  min-width: 360px;
  max-width: 400px;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  padding: 20px;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(.96);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  top: 30px;
}

.cart-item:hover .cart-dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cart-dropdown h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: #F7E3BA;
}
.cart-items {
  list-style: none;
  max-height: 280px;
  overflow-y: auto;
  margin: 12px 0;
}
.cart-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #5a452c;
  color: #F7E3BA;
}
.cart-items li:last-child { border: none; }
.cart-item-image {
  width: 50px; height: 50px; object-fit: cover; border-radius: 6px; margin-right: 10px;
}
.cart-item-details { flex: 1; }
.cart-item-name { font-weight: 600; font-size: .95rem; }
.cart-item-quantity, .cart-item-price { font-size: .85rem; opacity: .8; }
.cart-item-remove {
  background: #ff4444; color: #fff; border: none; padding: 4px 8px; border-radius: 4px; cursor: pointer; font-size: .75rem;
}
.cart-item-remove:hover { background: #cc0000; }

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin: 12px 0;
  padding-top: 10px;
  border-top: 1px solid #5a452c;
}
.view-cart-btn {
  display: block;
  text-align: center;
  background: #331f08;
  color: #F7E3BA;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
  transition: background .3s;
}
.view-cart-btn:hover { background: #5a310b; }

/* ========================================================================== */
/* MAIN CONTENT */
/* ========================================================================== */

.main-content {
  position: relative;
  background-image: url('Image/home.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90vh;
}

.main-content .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -80px;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
  flex: 1;
  z-index: 5;
}

.main-content .hero h1 {
  font-size: 3.2rem;
  line-height: 1;
  margin: 0 0 0.6rem;
  color: #fffbed;
  letter-spacing: 0.6px;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
  font-weight: 600;
}

.main-content .hero .lead {
  max-width: 900px;
  margin: 0;
  font-size: 1.05rem;
  color: rgba(27, 18, 0, 0.95);
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
  opacity: 0.95;
}

/* Logo Slider */
.logo-slider {
  position: absolute;
  left: 50%;
  bottom: 250px;
  transform: translateX(-50%);
  width: min(90%, 1100px);
  background: rgba(255,255,255,0.04);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  overflow: hidden;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 36px;
  will-change: transform;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
  min-width: 100%;
}

.logo-track img {
  height: 100px;
  width: auto;
  display: inline-block;
  opacity: 0.98;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.logo-slider:focus-within .logo-track,
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Shop Now Button */
.shop-now-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #331f08;
  color: #F7E3BA;
  text-decoration: none;
  border-radius: 25px;
  z-index: 7;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: bounce 2s infinite;
}

.shop-now-btn:hover {
  background-color: #4a2f0a;
  transform: translateX(-50%) translateY(-2px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Materials Section */
.materials-section {
  padding: 80px 20px;
  background: #ffffff;
}

.materials-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: #777;
  letter-spacing: 1px;
}

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

.material-card {
  position: relative;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.material-image-container {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.material-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease;
}

.material-image.default {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
}

.material-image.hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.material-card:hover .material-image.default {
  opacity: 0;
}

.material-card:hover .material-image.hover {
  opacity: 1;
}

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

.material-name {
  font-size: 1rem;
  font-weight: 300;
  color: #555;
  letter-spacing: 1px;
  line-height: 1.5;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: white;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* ========================================================================== */
/* FOOTER */
/* ========================================================================== */

footer {
  padding: 40px;
  background-color: #2e1b04;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
}

.footer-left { flex: 1; min-width: 320px; }
.footer-menu { list-style: none; padding: 0; margin-bottom: 30px; color: #f5deb3; }
.footer-menu li { margin-bottom: 10px; cursor: pointer; position: relative; }
.footer-menu li a { text-decoration: none; color: #f5deb3; transition: color 0.2s; }
.footer-menu li a:hover { color: #fff; }

.footer-menu .dropdown { position: relative; z-index: 10005; cursor: pointer; }
.footer-menu .dropdown .dropdown-menu {
  list-style: none;
  background: #201201;
  position: absolute;
  left: 0;
  top: 100%;
  padding: 10px 0;
  width: 200px;
  z-index: 10006;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
  height:auto;
}
.footer-menu .dropdown:hover .dropdown-menu,
.footer-menu .dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.footer-menu .dropdown .dropdown-menu li { padding: 8px 15px; color: #fff; }

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 145px;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
}
.footer-icons svg { width: 24px; height: 24px; color: currentColor; }
.footer-icons .email { color: #f5deb3; margin-top: 24px; }
.footer-icons .facebook { color: #f5deb3; }
.footer-icons .instagram { color: #f5deb3; }
.footer-icons a:hover { opacity: 0.8; }

.footer-contact { display: flex; gap: 80px; flex-wrap: wrap; flex: 1; }
.contact-block { text-align: center; color: #f5deb3; }
.contact-block .label { margin-bottom: 5px; }

.footer-right { flex: 1; min-width: 350px; padding-left: 40px; }
.footer-right p {
  margin-bottom: 20px;
  line-height: 1.5;
  color: #f5deb3;
  text-align: center;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  text-decoration: none;
}
.footer-right form { display: flex; flex-direction: column; gap: 15px; }
.footer-right input {
  background: #4c3b26;
  border: none;
  padding: 12px;
  border-radius: 4px;
  color: #f5deb3;
}
.footer-right button {
  background: #5f3104;
  border: none;
  padding: 14px;
  border-radius: 4px;
  color: #f5deb3;
  cursor: pointer;
  transition: background 0.3s ease;
}
.footer-right button:hover { background: #8b4c0e; }

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  color: #f5deb3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu li {
  margin-bottom: 0;
  cursor: pointer;
  position: relative;
  font-size: 16px;
  line-height: 1.5;
}

.footer-menu li a {
  text-decoration: none;
  color: #f5deb3;
  transition: color 0.2s;
  display: inline-block;
}

.footer-menu li a:hover {
  color: #fff;
} 

.footer-menu .dropdown {
  position: relative;
  z-index: 10005;
  cursor: pointer;
}

.footer-menu .dropdown > a,
.footer-menu .dropdown > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
/* ========================================================================== */
/* ENHANCED MOBILE NAVIGATION - PROFESSIONAL & USER-FRIENDLY */
/* ========================================================================== */

/* Overlay for mobile menu */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Tablet & Below (768px) */
@media (max-width: 768px) {
  /* Hamburger improvements */
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    font-size: 1.4rem;
    color: #F7E3BA;
    transition: all 0.3s ease;
    border-radius: 8px;
  }

  .hamburger:hover {
    background: rgba(247, 227, 186, 0.2);
    transform: scale(1.05);
  }

  .hamburger.active {
    color: #fff;
    background: rgba(247, 227, 186, 0.15);
  }

  .hamburger.active i:before {
    content: "\f00d"; /* FontAwesome times icon */
  }

  /* Navigation wrapper */
  .nav-links-wrapper {
    position: fixed;
    /* ensure mobile panel begins below the fixed navbar */
  
    left: -100%;
    width: -85%;
    max-width: 480px;
    height: 100vh;
    background: linear-gradient(180deg, #331f08 0%, #2a1906 100%);
    padding: calc(var(--navbar-height) + 8px) 0 40px;
    overflow-y: auto;
    overflow-x: hidden;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
  }

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

  /* Smooth scrollbar */
  .nav-links-wrapper::-webkit-scrollbar {
    width: 6px;
  }
  .nav-links-wrapper {
  margin-top: 0rem;
 
}

  .nav-links-wrapper::-webkit-scrollbar-track {
    background: rgba(247, 227, 186, 0.05);
  }

  .nav-links-wrapper::-webkit-scrollbar-thumb {
    background: rgba(247, 227, 186, 0.3);
    border-radius: 10px;
  }

  /* Navigation links container */
  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: 100%;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(247, 227, 186, 0.08);
  }

  /* Main navigation links */
  .nav-link {
    padding: 18px 24px;
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 500;
    color: #F7E3BA;
    transition: all 0.25s ease;
    position: relative;
    letter-spacing: 0.3px;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: linear-gradient(90deg, #F7E3BA, transparent);
    transition: width 0.3s ease;
    border-radius: 0 4px 4px 0;
  }

  .nav-link:active,
  .nav-link[aria-expanded="true"] {
    background: rgba(247, 227, 186, 0.12);
    color: #fff;
    padding-left: 28px;
  }

  .nav-link[aria-expanded="true"]::before {
    width: 4px;
  }

  .nav-arrow {
    font-size: 0.75rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
  }

  .nav-link[aria-expanded="true"] .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
  }

  /* Main Dropdown Menu */
  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background: rgba(74, 47, 10, 0.4);
    padding: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                visibility 0.3s ease,
                padding 0.3s ease;
    display: block !important;
    backdrop-filter: blur(10px);
  }

  .dropdown-menu.active {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    padding: 8px 0;
  }

  .dropdown-menu > * {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .dropdown-item {
    flex: none !important;
    min-width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(247, 227, 186, 0.05);
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }

  /* Category titles (dropdown-link) */
  .dropdown-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px 15px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #F7E3BA;
    background: transparent;
    transition: all 0.25s ease;
    position: relative;
    letter-spacing: 0.3px;
    border: none;
  }

  .dropdown-link::before {
    content: '▸';
    position: absolute;
    left: 16px;
    font-size: 0.9rem;
    opacity: 0.5;
    transition: all 0.3s ease;
  }

  .dropdown-link:active,
  .dropdown-link[aria-expanded="true"] {
    background: rgba(247, 227, 186, 0.1);
    color: #fff;
    padding-left: 36px;
  }

  .dropdown-link[aria-expanded="true"]::before {
    transform: rotate(90deg);
    opacity: 1;
  }

  .dropdown-link:hover::after {
    width: 0;
  }

  .sub-arrow {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dropdown-link[aria-expanded="true"] .sub-arrow {
    transform: rotate(180deg);
    opacity: 1;
  }

  /* Sub Dropdown Menu */
  .sub-dropdown-menu {
    width: 100%;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background: rgba(61, 36, 9, 0.6);
    padding: 0;
    margin: 0;
    border-left: 3px solid rgba(139, 105, 20, 0.4);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                visibility 0.3s ease,
                padding 0.3s ease;
    display: block !important;
  }

  .sub-dropdown-menu.active {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
    padding: 6px 0;
  }

  .sub-dropdown-menu li {
    width: 100%;
    animation: none;
    margin: 0;
  }

  /* Sub-category links */
  .sub-dropdown-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 24px 13px 48px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #f5deb3;
    background: transparent;
    border: none;
    white-space: normal;
    transition: all 0.25s ease;
    position: relative;
    letter-spacing: 0.2px;
  }

  .sub-dropdown-menu a::before {
    content: '•';
    position: absolute;
    left: 32px;
    font-size: 1.2rem;
    opacity: 0.4;
    transition: all 0.3s ease;
  }

  .sub-dropdown-menu a:active {
    background: rgba(247, 227, 186, 0.15);
    color: #fff;
    padding-left: 52px;
    border-left: 3px solid #F7E3BA;
  }

  .sub-dropdown-menu a:active::before {
    opacity: 1;
    transform: translateX(2px);
  }

  /* Cart item adjustments */
  .cart-item {
    border-bottom: 1px solid rgba(247, 227, 186, 0.08);
  }

  .cart-icon {
    padding: 18px 24px;
  }

  /* Search bar mobile adjustments */
  .search-bar {
    width: 90%;
    max-width: none;
    margin: 0.8rem auto;
  }

  /* Navigation close hint */
  .nav-links-wrapper::before {
    content: 'Swipe left or tap outside to close';
    display: block;
    text-align: center;
    padding: 12px 24px;
    font-size: 0.75rem;
    color: rgba(247, 227, 186, 0.5);
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
  }

  .nav-links-wrapper.active::before {
    animation: fadeIn 0.5s ease 0.3s both;
  }

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

/* Small Mobile (480px) - Further refinements */
@media (max-width: 480px) {
  .hamburger {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    right: 1rem;
  }

  .nav-links-wrapper {
    width: 90%;
    max-width: none;
    padding: 70px 0 30px;
  }

  .nav-link {
    padding: 16px 20px;
    font-size: 1rem;
  }

  .dropdown-link {
    padding: 14px 20px 14px 28px;
    font-size: 0.95rem;
  }

  .dropdown-link::before {
    left: 12px;
  }

  .sub-dropdown-menu a {
    padding: 12px 20px 12px 40px;
    font-size: 0.9rem;
  }

  .sub-dropdown-menu a::before {
    left: 24px;
  }

  .sub-dropdown-menu {
    border-left-width: 2px;
  }

  .nav-links-wrapper::before {
    font-size: 0.7rem;
    padding: 10px 20px;
  }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
  .nav-links-wrapper {
    padding: 60px 0 20px;
  }

  .nav-links-wrapper::before {
    padding: 8px 20px;
    font-size: 0.7rem;
  }

  .nav-link {
    padding: 14px 20px;
  }

  .dropdown-link {
    padding: 12px 20px 12px 28px;
  }

  .sub-dropdown-menu a {
    padding: 10px 20px 10px 40px;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .nav-links-wrapper,
  .dropdown-menu,
  .sub-dropdown-menu,
  .nav-arrow,
  .sub-arrow,
  .hamburger {
    transition-duration: 0.01ms !important;
  }

  .nav-links-wrapper::before {
    animation: none !important;
  }
}


/* Tablet styles (768px - 1024px) */
@media (max-width: 1024px) {
  footer {
    padding: 30px 20px;
  }
  
  .footer-contact-row {
    margin-top: 100px;
    gap: 30px;
  }
  
  .footer-contact {
    gap: 50px;
  }
  
  .footer-right {
    padding-left: 20px;
  }
}

/* Small tablet / large mobile (600px - 768px) */
@media (max-width: 768px) {
  footer {
    padding: 25px 15px;
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-left,
  .footer-right {
    flex: none;
    width: 100%;
    min-width: unset;
    padding-left: 0;
  }
  
  .footer-contact-row {
    margin-top: 60px;
    gap: 25px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-contact {
    gap: 30px;
    width: 100%;
    flex-direction: column;
  }
  
  .contact-block {
    text-align: left;
    width: 100%;
  }
  
  .footer-menu .dropdown .dropdown-menu {
    width: 100%;
    max-width: 250px;
  }
  
  .footer-right p {
    text-align: left;
  }
  
  .footer-icons {
    display: flex;
    gap: 15px;
  }
}

/* Mobile styles (below 600px) */
@media (max-width: 600px) {
  footer {
    padding: 20px 15px;
  }
  
  .footer-left {
    min-width: 100%;
  }
  
  .footer-menu {
    margin-bottom: 20px;
  }
  
  .footer-menu li {
    margin-bottom: 12px;
    font-size: 16px;
  }
  
  .footer-contact-row {
    margin-top: 40px;
    gap: 20px;
  }
  
  .footer-contact {
    gap: 20px;
  }
  
  .contact-block {
    font-size: 14px;
  }
  
  .footer-icons a {
    width: 32px;
    height: 32px;
  }
  
  .footer-icons svg {
    width: 20px;
    height: 20px;
  }
  
  .footer-right {
    min-width: 100%;
  }
  
  .footer-right p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .footer-right input,
  .footer-right button {
    padding: 10px;
    font-size: 14px;
  }
  
  .footer-right form {
    gap: 12px;
  }
}

/* Extra small mobile (below 400px) */
@media (max-width: 400px) {
  footer {
    padding: 15px 10px;
  }
  
  .footer-menu li {
    font-size: 15px;
  }
  
  .footer-menu .dropdown .dropdown-menu {
    max-width: 200px;
    font-size: 14px;
  }
  
  .footer-contact-row {
    margin-top: 30px;
  }
  
  .contact-block {
    font-size: 13px;
  }
  
  .footer-icons a {
    width: 28px;
    height: 28px;
  }
  
  .footer-icons svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-right p {
    font-size: 13px;
  }
  
  .footer-right input,
  .footer-right button {
    padding: 8px;
    font-size: 13px;
  }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .footer-contact-row {
    margin-top: 40px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .footer-contact {
    flex-direction: row;
  }
  
  .contact-block {
    text-align: center;
    flex: 1;
    min-width: 150px;
  }
}

@media (max-width: 768px) {
  .cart-dropdown {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    max-height: 75vh !important;
    height: auto;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 10002 !important;
    transform: translateY(100%) scale(1);
    box-shadow: 0 -8px 32px rgba(0,0,0,.3);
    padding: 24px 20px 20px 20px;
  }

  .cart-dropdown::-webkit-scrollbar {
    width: 8px;
  }

  .cart-dropdown::-webkit-scrollbar-track {
    background: rgba(247, 227, 186, 0.05);
    border-radius: 10px;
  }

  .cart-dropdown::-webkit-scrollbar-thumb {
    background: rgba(247, 227, 186, 0.4);
    border-radius: 10px;
  }

  .cart-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(247, 227, 186, 0.6);
  }

  .cart-item:hover .cart-dropdown,
  .cart-item.active .cart-dropdown {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .cart-dropdown h3 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #5a452c;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .cart-items {
    max-height: 55vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
  }

  .cart-items::-webkit-scrollbar {
    width: 6px;
  }

  .cart-items::-webkit-scrollbar-track {
    background: transparent;
  }

  .cart-items::-webkit-scrollbar-thumb {
    background: rgba(247, 227, 186, 0.3);
    border-radius: 8px;
  }

  .cart-item-image {
    width: 50px;
    height: 50px;
  }

  .cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
  }

  .cart-item-quantity,
  .cart-item-price {
    font-size: 0.85rem;
  }

  .cart-total {
    margin: 18px 0 0 0;
    padding-top: 14px;
    border-top: 2px solid #5a452c;
  }

  .view-cart-btn {
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 16px;
    border-radius: 8px;
    width: 100%;
    background: #5a310b;
    transition: background 0.3s ease;
  }

  .view-cart-btn:hover {
    background: #6a3d0b;
  }
}

@media (max-width: 480px) {
  .cart-dropdown {
    position: fixed !important;
    bottom: 0 !important;
    width: 100% !important;
    max-height: 80vh !important;
    padding: 20px 16px 16px 16px;
    z-index: 10002 !important;
  }

  .cart-dropdown h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .cart-items {
    max-height: 60vh;
    padding-right: 6px;
  }

  .cart-item-image {
    width: 45px;
    height: 45px;
    margin-right: 8px;
  }

  .cart-item-name {
    font-size: 0.9rem;
  }

  .cart-item-quantity,
  .cart-item-price {
    font-size: 0.8rem;
  }

  .cart-item-remove {
    padding: 3px 6px;
    font-size: 0.7rem;
  }

  .view-cart-btn {
    padding: 12px;
    font-size: 0.95rem;
    width: 100%;
  }

  .cart-total {
    font-size: 0.95rem;
  }
}