
    nav {
      background: #714e21;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      border-bottom: 2px solid #ffe54f !important;
    }

    .navbar-brand img {
      height: 93px;
      width: 94px;
      border-radius: 9%;
      object-fit: cover;
      border: 2px solid #ffe54f;
      transition: transform 0.3s ease;



    } 


    .navbar-nav {
      gap: 2rem;
      align-items: center;
    }

    .nav-link {
      color: #ffff !important;
      font-weight: 500;
      padding: 0.5rem 1rem !important;
      transition: color 0.3s ease;
    }

    .nav-link:hover {
      color: #ffe54f !important;
    }

    .nav-link.active {
      color: #d5b89e !important;
      border-bottom: 2px solid #d5b89e;
    }

    .dropdown {
      position: relative;
    }

    .dropdown-menu {
      background: #714e21;
      border: 1px solid #ffe54f;
      border-radius: 8px;
      margin-top: 0.5rem;
      max-height: 300px;
      overflow-y: auto;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
      width: 200px;
    }

    .dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      display: block;
    }

    .dropdown-menu.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      display: block;
    }

    .dropdown-item {
      color: #ffe54f;
      padding: 0.5rem 1rem;
      transition: background 0.3s ease, color 0.3s ease;
    }

    .dropdown-item:hover {
      /*background:#714e21;*/
      background: #ffe54f;
      color: #714e21;
    }

    .dropdown-submenu {
      position: relative;
    }

    .dropdown-submenu .dropdown-menu {
      top: 0;
      left: 100%;
      margin-top: -1px;
      width: 200px;
    }

    .dropdown-submenu:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      display: block;
    }

    .navbar-icons img {
      height: 24px;
      margin-left: 1.5rem;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .navbar-icons .search-icon {
      position: relative;
    }

    .navbar-icons .search-icon img {
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .navbar-icons .search-icon:active img {
      transform: scale(0.9);
      opacity: 0.8;
    }

    .dropdown-menu::-webkit-scrollbar {
      width: 8px;
    }

    .dropdown-menu::-webkit-scrollbar-track {
      background: #f1f1f1;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
      background: #d5b89e;
      border-radius: 4px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb:hover {
      background: #b9813e;
    }

    #contact {
      border: 2px solid #ffe54f;
      padding: 28px 21px;
      border-radius: 10px;
      color: var(--wd-link-color);
      text-decoration: none;
      transition: all .25s ease;
    }

    /* Search Form Styles */
    .search-form {
      position: absolute;
      top: 100%;
      right: 0;
      width: 300px;
      padding: 10px;
      background: #f9f3ef;
      border: 1px solid #d5b89e;
      border-radius: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                  transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                  visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 1000;
    }

    .navbar-icons .search-icon:hover + .search-form,
    .search-form:hover {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .navbar-icons .search-icon:hover + .search-form .form-control,
    .navbar-icons .search-icon:hover + .search-form .search-btn,
    .search-form:hover .form-control,
    .search-form:hover .search-btn {
      transform: scaleX(1);
    }

    .search-form.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .search-form .form-control {
      width: 100%;
      padding: 8px;
      border: 1px solid #d5b89e;
      border-radius: 4px;
      font-size: 14px;
      color: #333;
      background: #fff;
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .search-form.active .form-control {
      transform: scaleX(1);
    }

    .search-form .form-control:focus {
      outline: none;
      border-color: #b9813e;
      box-shadow: 0 0 5px rgba(185, 129, 62, 0.3);
    }

    .search-form .search-btn {
      background: none;
      border: none;
      padding: 8px;
      cursor: pointer;
      transform: scale(0);
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .search-form.active .search-btn {
      transform: scale(1);
    }

    .search-form .search-btn img {
      height: 20px;
      margin: 0;
    }

    .search-form .search-btn img:hover {
      transform: scale(1.1);
    }

    @media (max-width: 991px) {
      .navbar-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 0;
      }

      .navbar-icons {
        margin-top: 1rem;
        justify-content: center;
      }

      .navbar-brand img {
        height: 60px;
        width: 60px;
      }

      .dropdown-menu {
        text-align: center;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: none;
        max-height: 200px;
        width: 100%;
      }

      .dropdown:hover .dropdown-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
      }

      .dropdown-submenu .dropdown-menu {
        left: 0;
        position: relative;
        width: 100%;
      }

      .search-form {
        width: 100%;
        right: 10px;
        left: 10px;
        margin: 0 auto;
      }
    }

    .wishlist-link {
    color: #ac7862;
    text-decoration: none;
}
.wishlist-count {
    margin-left: 5px;
    font-size: 0.9em;
}

.search-results-dropdown {
    position: absolute;

    top: 100%;
    left: 0;
    width: 200px; /* Match the input width */
    max-height: 300px; /* Limit the height */
    overflow-y: auto; /* Enable scrolling for overflow */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none; /* Hidden by default */
    padding: 0;
}

.search-results-dropdown.show {
    display: block; /* Show when active */
}

.search-results-dropdown .dropdown-item {
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    white-space: normal; /* Allow text wrapping */
    cursor: pointer;
}

.search-results-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Ensure the dropdown aligns properly on smaller screens */
@media (max-width: 991.98px) {
    .search-results-dropdown {
        width: 100%; /* Full width on mobile */
        left: 0;
        right: 0;
    }
}

/* Custom scrollbar for search results */
.search-results-dropdown::-webkit-scrollbar {
    width: 8px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 991px) {
  .search-results-dropdown {
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}

header {
      background: #1a1a1a;
      color: #fff;
      padding: 1rem 0;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
    }

    .logo {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      font-weight: 700;
      color: #d4af37;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 20px;
    }

    nav a {
      color: #fff;
      text-decoration: none;
      font-size: 1rem;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #d4af37;
    }

    /* Main Content */
    .main-content {
      margin-top: 80px;
      padding: 40px 20px;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    h2 {
      font-family: 'Playfair Display', serif;
      font-size: 2.5rem;
      text-align: center;
      color: #1a1a1a;
      margin-bottom: 40px;
    }

    .item-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      padding: 20px;
    }

    .item-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 20px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    .item-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .item-card img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 8px;
      display: block;
      max-height: 200px;
    }

    .item-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: #1a1a1a;
      margin-bottom: 15px;
    }

    .item-detail {
      font-size: 0.9rem;
      color: #555;
      margin: 8px 0;
      display: flex;
      justify-content: space-between;
    }

    .item-detail span:first-child {
      font-weight: 500;
      color: #333;
    }

    .item-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(to right, #d4af37, #a68a2e); 
      opacity: 0.7;
    }

    .item-actions {
      position: absolute;
      top: 10px;
      right: 10px;
      display: flex;
      gap: 10px;
    }

    .item-actions i {
      font-size: 1.2rem;
      color: #d4af37;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .item-actions i:hover {
      color: #a68a2e;
    }

    .item-actions .fa-heart.active {
      color: #e74c3c;
    }

    /* Footer */
    footer {
      background: #1a1a1a;
      color: #fff;
      padding: 40px 20px;
      text-align: center;
      margin-top: 40px;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-container p {
      font-size: 0.9rem;
      margin-bottom: 10px;
    }

    .footer-links a {
      color: #d4af37;
      text-decoration: none;
      margin: 0 10px;
      font-size: 0.9rem;
    }

    .footer-links a:hover {
      text-decoration: underline;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .header-container {
        flex-direction: column;
        gap: 10px;
      }

      nav ul {
        flex-direction: column;
        align-items: center;
      }

      .item-container {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 480px) {
      .logo {
        font-size: 1.5rem;
      }

      h2 {
        font-size: 2rem; 
      }

      .item-card {
        padding: 15px;
      }
    }
    /* Fade-in animation for the modal */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal dialog centering */
#loginModal .modal-dialog {
  margin: auto;
  top: 20%;
  transform: translateY(-50%);
  max-width: 420px;
  width: 90%;
  animation: fadeInUp 0.5s ease-in-out;

/* add animation */
  animation: fadeInUp 0.3s ease-out forwards;
}

/* Modal content */
#loginModal .modal-content {
  text-align: center;
  border-radius: 15px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #fff, #f7f7f7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.6s ease-in-out;
}

/* Modal header */
#loginModal .modal-header {
  border-bottom: none;
  justify-content: space-between;
  align-items: center;
}

/* Modal title */
#loginModal .modal-title {
  color: #b90b0b;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  width: 100%;
}

/* Close button */
#loginModal .close {
  font-size: 28px;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#loginModal .close:hover {
  transform: scale(1.2);
}

/* Phone input box */
#loginModal .modal-body > p {
  color: #444;
  font-size: 15px;
  margin-bottom: 15px;
}

#loginModal .modal-body div {
  border: 1px solid #ccc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #fefefe;
  margin-top: 10px;
  transition: box-shadow 0.3s;
}

#loginModal .modal-body div:focus-within {
  box-shadow: 0 0 0 3px rgba(185, 11, 11, 0.3);
}

/* Country code */
#loginModal .modal-body span {
  color: #333;
  font-weight: 500;
  margin-right: 10px;
  border-right: 1px solid #ccc;
  padding-right: 10px;
}

/* Input field */
#loginModal input[type="text"] {
  border: none;
  outline: none;
  width: 100%;
  padding: 10px;
  background: none;
  font-size: 16px;
}

/* Error message */
#errormessage {
  color: red;
  font-size: 14px;
  margin-top: 8px;
  text-align: left;
  width: 100%;
}

/* Submit button */
#loginModal .btn-primary {
  background-color: #b90b0b;
  border: none;
  padding: 12px 30px;
  font-weight: bold;
  border-radius: 8px;
  font-size: 16px;
  margin-top: 10px;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

#loginModal .btn-primary:hover {
  background-color: #a00a0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Modal footer */
#loginModal .modal-footer {
  border-top: none;
  justify-content: center;
  padding-top: 15px;
}
.modal-content {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: box-shadow 0.3s ease-in-out;
}
.modal-content:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}


/*add*/
/* Navbar container */
.navbar {
    padding: 0.10rem 1rem;
    background-color:#714e21;
    border-bottom: 1px solid #ddd;
}

/* Center-align all items inside the navbar */
.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling */
/*.navbar-brand img {
    height: 50px;
    object-fit: contain;
}*/

/* Center-align navigation menu */
.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Individual nav links */
.navbar-nav .nav-link {
    font-size: 16px;
    padding: 10px 15px;
    color: #333;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #714e21; /* your theme color */
}

/* Center the UL inside collapse */
.navbar-collapse {
    flex-grow: 1;
    display: flex !important;
    justify-content: center !important;
}

/* Dropdown positioning fix */
.dropdown-menu {
    z-index: 9999;
}

/* Search box */
#inputSearch {
    margin-left: 20px;
}

/* Right side user icons (profile, cart, wishlist) */
.navbar-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 40px;
}

.navbar-icons img {
    height: 30px;
    width: 30px;
    object-fit: contain;
    cursor: pointer;
}

/* Wishlist count badge */
.wishlist-count {
    font-size: 12px;
    color: #fff;
    background: #714e21;
    padding: 2px 6px;
    border-radius: 10px;
    position: relative;
    top: -10px;
    left: -8px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .navbar-collapse {
        justify-content: flex-start !important;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-icons {
        margin-top: 10px;
    }
}



/* Breakpoint: Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .logo {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .item-container {
    grid-template-columns: 1fr;
  }

  .item-card {
    padding: 15px;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .navbar-icons {
    margin-top: 10px;
    justify-content: center;
    width: 100%;
  }

  .dropdown-menu {
    width: 100%;
    max-height: 200px;
    text-align: center;
  }

  .search-form {
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .search-results-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }
}


@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem;
    background: #714e21;
    border-bottom: 2px solid #ffe54f;
  }
  .navbar .container-fluid {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  /* Logo styling */
  .navbar-brand img {
    height: 50px;
    width: 50px;
    margin-left: 0;
    border-radius: 9%;
    border: 2px solid #ffe54f;
  }

  /* Toggler styling */
  .navbar-toggler {
    border: none;
    padding: 8px;
    margin: 10px;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 229, 79, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
  }

  /* Navbar collapse styling */
  .navbar-collapse {
    width: 100%;
    max-height: calc(100vh - 80px);
    overflow-x: auto; /* Allow horizontal scrolling if needed */
    background: #714e21;
    border-top: 1px solid #ffe54f;
    padding: 10px;
  }

  .navbar-collapse.show {
    display: flex !important; /* Use flex to align items */
  }

  /* Navigation menu - side by side */
  .navbar-nav {
    flex-direction: row; /* Align items horizontally */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Allow items to wrap if needed */
    gap: 8px; /* Reduced gap for tighter layout */
    width: 100%;
    padding: 5px 0;
  }

  .navbar-nav .nav-item {
    flex: 0 0 auto; /* Allow items to take their natural width */
  }

  .navbar-nav .nav-link {
    color: #fff !important;
    font-size: 14px; /* Smaller font for mobile */
    padding: 6px 10px;
    border: 1px solid rgba(255, 229, 79, 0.3); /* Subtle border */
    border-radius: 5px;
    white-space: nowrap; /* Prevent text wrapping */
    transition: color 0.3s ease, background 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    color: #714e21 !important;
    background: #ffe54f;
  }

  .navbar-nav .nav-link.active {
    color: #714e21 !important;
    background: #d5b89e;
    border: none;
  }

  /* Dropdown menu styling */
  .dropdown-menu {
    width: auto; /* Adjust width to content */
    min-width: 150px;
    max-height: 200px;
    overflow-y: auto;
    background: #714e21;
    border: 1px solid #ffe54f;
    border-radius: 8px;
    text-align: center;
    position: absolute; /* Keep dropdowns positioned below */
    margin-top: 5px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 1000;
  }

  .dropdown-menu.show {
    display: block !important;
  }

  .dropdown-item {
    color: #ffe54f;
    padding: 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .dropdown-item:hover {
    background: #ffe54f;
    color: #714e21;
  }

  /* Search input styling */
  .nav-item.position-relative {
    flex: 0 0 auto; /* Allow search to sit side by side */
    margin: 0 5px;
  }

  #inputSearch {
    width: 120px; /* Smaller width for mobile */
    padding: 6px;
    border: 2px solid #ffe54f;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
  }

  /* Search results dropdown */
  .search-results-dropdown {
    width: 150px;
    left: 50%;
    transform: translateX(-50%);
    margin: 5px auto;
    max-height: 200px;
    background: #fff5dc;
    border: 2px solid #ffe54f;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    z-index: 1000;
  }

  .search-results-dropdown.show {
    display: block !important;
  }

  /* User icons - side by side */
  .navbar-icons {
    flex-direction: row; /* Align icons horizontally */
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 5px 0;
    flex-wrap: wrap;
  }

  .navbar-icons img {
    height: 24px;
    width: 24px;
  }

  .wishlist-link {
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .wishlist-count {
    font-size: 11px;
    background: #714e21;
    color: #fff;
    padding: 2px 5px;
    border-radius: 8px;
  }

  /* Contact link styling */
  #contact {
    padding: 6px 10px;
    font-size: 14px;
    border: 2px solid #ffe54f;
    border-radius: 5px;
  }

  /* Modal adjustments */
  #loginModal .modal-dialog {
    top: 10%;
    max-width: 90%;
  }

  #loginModal .modal-content {
    padding: 15px;
  }

  #loginModal input[type="text"] {
    font-size: 13px;
    padding: 6px;
    width: 100% !important;
  }

  #loginModal .btn-primary {
    padding: 8px;
    font-size: 13px;
  }

  #newUserModal .modal-dialog,
  #passModal .modal-dialog {
    max-width: 90%;
  }

  #newUserModal .modal-content,
  #passModal .modal-content {
    padding: 10px;
  }
}