/* ----- Generic Reset Styles for Icon Buttons ----- */
.icon-btn {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  box-shadow: none !important;

  cursor: pointer;
  display: inline-flex;
  align-items: center;   /* ✅ centers icon vertically */
  justify-content: center;

  min-width: 24px;
  min-height: 24px;

  width: 24px;  /* make square for better balance */
  height: 24px;
}


/* ----- Generic Reset Styles for Search Inputs ----- */
.search-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  height: 40px;
  font-size: 14px;
  padding: 0 12px;
  max-width: 90%;

  color: var(--mb-lightest, #4A4B44);
  /* Search */
  font-family: Montserrat;
  font-size: 11px;
  font-style: normal;
  font-weight: 540;
  line-height: normal;
  letter-spacing: 0.88px;
  text-transform: uppercase;
}



/* Search bar border */
.search-bar-border {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  border-top: rgb(from var(--ib) r g b / 0.5) 1px solid;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

/* Search bar container */
.search-bar-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  z-index: 1000;
}

/* ----- Unified Search Icon Styles ----- */
.search-icon,
.sidebar-search-icon,
.search-overlay-icon {
  display: block;
  width: 24px !important;
  height: 24px !important;
  max-width: 100%;
  flex-shrink: 0; /* prevent flexbox from collapsing */
}

/* Navbar */
.site-header {
  position: relative;
  z-index: 100;
}

/* Overlay container */

/* Overlay form */
.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 475px;
  background: #faf9f4;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  padding: 0 48px 12px; /* add bottom padding so content doesn't sit on the fake border */
  gap: 16px;
  z-index: 90;
  border-top: rgb(from var(--ib) r g b / 0.5) 1px solid;
  /* remove border-bottom */
}

/* the "moved" bottom border */
#search-overlay::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  height: 1px;
  background: rgb(from var(--ib) r g b / 0.5);
  pointer-events: none;
}
/* Hidden class */
.hidden {
  display: none;
}

.atelier {
  color: var(--mb, #1C1D17);
  text-align: center;

  /* Button text/Mobile */
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.64px !important;
  text-transform: uppercase !important;
}

.popular-searches {
  padding-top: 30px;
}


/* Popular searches */
.popular-searches span {
  color: var(--mb, #1C1D17);
  text-align: center;

  /* Hamburger Menu - Primary/DT */
  font-family: Montserrat;
  font-size: 13px;
  font-style: normal;
  font-weight: 540;
  line-height: normal;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.popular-searches ul {
  margin: 0;
  padding: 12px 0 0 0; /* push li’s down */
  list-style: none;
}

.popular-searches ul li {
  font-size: 12px;
  color: #34342e;
  margin-bottom: 10px;

}

.popular-searches ul li a {
  color: var(--mb-lighter, #33342E);
  /* Hamburger Menu - Secondary/DT */
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 540;
  line-height: normal;
  text-transform: capitalize;
  text-decoration: none;
  margin-left: 5px;

}

.popular-searches ul li a:hover {
  text-decoration: none;
}

/* ----- Layout ----- */
.sidebar-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

/* ----- Sidebar ----- */
.sidebar {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: transparent;
  box-sizing: border-box;
}

/* ----- Suggested Block ----- */
.suggested-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suggested-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #4a4b44;
}

.suggested-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}


.suggested-list li a {
  text-decoration: none;
  color: var(--mb-lightest, #4A4B44);

  /* Hamburger Menu - Secondary/DT */
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 540;
  line-height: normal;
  text-transform: capitalize;
  margin-left: 5px;
}

.suggested-list li a:hover {
  text-decoration: none;
}

/* ----- Main Content ----- */
.dashboard-main {
  padding: 24px 48px;
}

.dashboard-heading {
/*  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;*/
  color: var(--mb-lighter, #33342E);
  text-align: center;

  /* Hamburger Menu - Primary/DT */
  font-family: Montserrat;
  font-size: 13px;
  font-style: normal;
  font-weight: 540;
  line-height: normal;
  letter-spacing: 0.65px;
  text-transform: uppercase;

}

.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}


.search-result-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s ease;
  width: 182px;         /* match image width */
  margin: 0 auto;       /* center it inside the grid cell */


}

.result-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.search-img {
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  border: none;
  display: block;
  width: 182px;
  height: 278px;
  flex-shrink: 0;
  aspect-ratio: 91/139;

}

.search-result-card .tags {
  display: flex;
  align-items: center;
  justify-content: space-between; /* pushes left + right apart */
}

.search-result-card .tags::before {
  content: "";
  width: 64px;        /* fixed width from Figma */
  height: 0.5px;
  background: var(--DC-Greys-500, #999);
  display: inline-block;
}




.tags {
  margin: 0;
  text-decoration: none;
  color: var(--mb-lighter, #33342E);
  /* Price text */
  font-family: "Bodoni Moda";
  font-size: 11px;
  font-style: normal;
  line-height: normal;

}

.author{
  color: var(--mb-lighter, #33342E);

  /* Location Text */
  font-family: Montserrat;
  font-size: 11px;
  font-style: normal;
  font-weight: 479;
  line-height: normal;
}



.artist-name {
  color: var(--mb-lighter, #33342E);
  /* Hamburger Menu - Primary/DT */
  font-family: Montserrat;
  font-size: 13px;
  font-style: normal;
  font-weight: 540;
  line-height: normal;
  letter-spacing: 0.65px;
  text-transform: uppercase;

}


.sidebar-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff; /* adjust for theme */
  font-size: 14px;
}

.sidebar-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}


.search-icon,
.hamburger-icon {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  top: 2px;   /* ✅ nudges it 2px down */
}

.menu-sections {
  display: grid;
  grid-template-columns: 250px 250px 250px;  /* fixed widths instead of 1fr */
  gap: 144px;                                 /* small gap between them */
  justify-content: center;                   /* center the group */
  margin: 30px 60px 0;                        /* adjust vertical spacing as you like */
  padding: 0;
  width: max-content;                         /* shrink container to fit columns */
}

.menu-section {
  min-width: 250px;      /* keep all sections same width */
}



.menu-section h3 {
  color: var(--mb, #1C1D17);
  /* Hamburger Menu - Primary/DT */
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 540;
  line-height: normal;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  margin: 0 0 25px 0; /* 5px space below, reset top margin */

}

.menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-section ul li {
  color: var(--mb-lighter, #33342E);
  /* Hamburger Menu - Secondary/DT */
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: capitalize;
  margin-bottom: 10px;
  letter-spacing: 0.56px;

}

.menu-section ul li:last-child {
  margin-bottom: 0; /* remove space under last one */
}


.menu-section ul li a {
  text-decoration: none;
 
}


.menu-footer {
  display: flex;
  justify-content: flex-end;
}

.menu-footer ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.menu-footer ul li a {
  text-decoration: none;
  color: var(--mb-lightest, #4A4B44);
  text-align: center;
  font-family: Montserrat;
  font-size: 11px;
  font-style: normal;
  font-weight: 540;
  line-height: normal;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}


.close-btn {
  position: absolute;
  top: 16px;
  right: 70px; /* or keep right:16px with transform */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;

  z-index: 9999;   /* ✅ put it above all overlay children */
  pointer-events: auto; /* ✅ make sure it accepts clicks */
}
.close-icon {
  width: 24px;
  height: 24px;
}


