/** Shopify CDN: Minification failed

Line 140:0 Unexpected "}"

**/
.mega-menu {
  position: static;
}

.mega-menu__content {
  background-color: #fffaf5;
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  left: 0;
  overflow-y: auto;
  padding-bottom: 3rem;
  padding-top: 3rem;
  position: absolute;
  right: 0;
  top: 100%;
}

.shopify-section-header-sticky .mega-menu__content {
  max-height: calc(100vh - var(--header-bottom-position-desktop, 20rem) - 4rem);
}

.header-wrapper--border-bottom .mega-menu__content {
  border-top: 0;
}

.js .mega-menu__content {
  opacity: 0;
  transform: translateY(-1.5rem);
}

.mega-menu[open] .mega-menu__content {
  opacity: 1;
  transform: translateY(0);
}

.mega-menu__list {
  display: grid;
  gap: 1.8rem 4rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  margin-bottom: 5rem;
}

.mega-menu__link {
  color: rgba(var(--color-foreground), 0.75);
  display: block;
  line-height: calc(1 + 0.3 / var(--font-body-scale));
  padding-bottom: 0.6rem;
  padding-top: 0.6rem;
  text-decoration: none;
  transition: text-decoration var(--duration-short) ease;
  word-wrap: break-word;
}

.mega-menu__link--level-2 {
  font-weight: bold;
}

.header--top-center .mega-menu__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 0;
}

.header--top-center .mega-menu__list > li {
  width: 16%;
  padding-right: 2.4rem;
}

.mega-menu__link:hover,
.mega-menu__link--active {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
}

.mega-menu .mega-menu__list--condensed {
  display: flex;
  justify-content: space-between;
}

.mega-menu__list--condensed .mega-menu__link {
  font-weight: normal;
}

/* Mega menu custom link products */
.mega-menu__list.page-width mega-menu__list--condensed {
  display: flex;
  justify-content: space-between;
}
.mega-menu__promos {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.mega-menu__promo-link img {
    width: 200px;
    height: 250px;
    object-fit: cover;
}

.mega-menu__promo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mega-menu__promo-title {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  font-size: 13px;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.3rem;
  transition: text-decoration 0.2s ease, text-underline-offset 0.2s ease;
}

.mega-menu__promo-item:hover .mega-menu__promo-title,
.mega-menu__promo-title:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.mega-menu-add-content {
  max-width: var(--page-width);
  margin: 0 auto;
  padding-left: 5rem;
  padding-right: 5rem;
  position: relative;
  bottom: 50px;
}
}

.mega-menu-add-content > p {
    font-size: 13px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .mega-menu__promos {
   display: flex;
    flex-direction: unset;
    flex-wrap: wrap;
    justify-content: center;
  }
  .mega-menu__promo-link img {
    width: 95px;
    height: 120px;
    object-fit: cover;
}

  .mega-menu__promo-title {
    font-size: 11px;
  }

    .mega-menu-add-content {
    position: static;
    padding: 30px;
    width: 100%;
    text-align: left;
  }

  .mega-menu-add-content > p {
    font-size: 14px;
  }
}
/* ---------- Sub-categories (menu items nested under a category, e.g. Обеци → Халки) ----------
   Only used when the menu has a 3rd level (.mega-menu__list--grouped); without it the menu looks as before.
   Category names: uppercase, dark. Sub-categories below: larger, lighter, normal case (idyl.com style). */
.mega-menu__list--grouped {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6rem;
}

.mega-menu__links {
  flex: 1 1 auto;
  min-width: 0;
}

/* Split: categories with sub-categories on the left, plain links (НОВИ ПРОДУКТИ, GIFT CARD …) on the right */
.mega-menu__links--split {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, max-content);
  column-gap: clamp(6rem, 10vw, 18rem);
  align-items: start;
}

/* Columns: one column per category */
.mega-menu__links--columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 3.2rem 4rem;
  align-items: start;
}

.mega-menu__column {
  margin: 0;
}

.mega-menu__column:empty {
  display: none;
}

.mega-menu__links .mega-menu__item + .mega-menu__item {
  margin-top: 1.2rem;
}

.mega-menu__links--split .mega-menu__item--group + .mega-menu__item--group {
  margin-top: 3.2rem;
}

.mega-menu__links--columns .mega-menu__item + .mega-menu__item {
  margin-top: 0;
}

.mega-menu__links .mega-menu__link--level-2 {
  color: rgb(var(--color-foreground));
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-underline-offset: 0.3rem;
  padding: 0.4rem 0;
}

.mega-menu__sublist {
  margin: 0.6rem 0 0;
}

.mega-menu__links .mega-menu__link--level-3 {
  color: rgba(var(--color-foreground), 0.5);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  text-underline-offset: 0.3rem;
  padding: 0.5rem 0;
}

.mega-menu__links .mega-menu__link:hover,
.mega-menu__links .mega-menu__link--active {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
}

.mega-menu__list--grouped .mega-menu__promos {
  flex: 0 1 auto;
  min-width: 0;
}

/* Next to sub-categories the promo images shrink with the screen (200 × 250 at full size) */
.mega-menu__list--grouped .mega-menu__promo-link img {
  width: min(200px, 11vw);
  height: auto;
  aspect-ratio: 4 / 5;
}

/* Not enough room next to the sub-categories: 2 promo images, then none (nth-of-type: the {% style %} tags between the items are siblings too) */
@media screen and (max-width: 1299px) {
  .mega-menu__list--grouped .mega-menu__promo-item:nth-of-type(n + 3) {
    display: none;
  }
}

@media screen and (max-width: 1099px) {
  .mega-menu__list--grouped .mega-menu__promos {
    display: none;
  }
}

.mega-menu__links--split .mega-menu__column--plain .mega-menu__item + .mega-menu__item {
  margin-top: 2rem;
}

/* Two columns of similar length (snippets/header-mega-menu.liquid puts each category into the shorter
   column; menu order is kept inside each column). */
.mega-menu__links--balanced {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  column-gap: clamp(6rem, 8vw, 14rem);
  align-items: start;
}

.mega-menu__links--balanced .mega-menu__item + .mega-menu__item {
  margin-top: 1.6rem;
}

.mega-menu__links--balanced .mega-menu__item--group + .mega-menu__item,
.mega-menu__links--balanced .mega-menu__item + .mega-menu__item--group {
  margin-top: 2.8rem;
}
