/* Fuld-bredde dropdown under "Artworks" – indholdet er Elementor-skabelonen "Mega menu – Artworks" */

.afu-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  background: #FFFFFF;
  /* Samme grå linje som under menuen (#D5D5D5, 1 px) – panelet ligger oven på headerens egen linje */
  border-top: 1px solid #D5D5D5;
  border-bottom: 1px solid #D5D5D5;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}
.afu-mega[hidden] {
  display: none;
}
@media (max-width: 1024px) {
  .afu-mega {
    display: none !important;
  }
}

/* Lille pil efter "Artworks" (eget element – Elementor bruger a::before/::after til menuens effekter) */
.afu-mega-caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.15s ease;
}
.afu-mega-open .afu-mega-caret {
  transform: translateY(1px) rotate(-135deg);
}
@media (max-width: 1024px) {
  .afu-mega-caret {
    display: none;
  }
}

/* Indhold – inspireret af Kyiv Gallery: fede versal-overskrifter, grupper stablet i kolonner, udvalgt maleri til højre */
.afu-mega .e-con {
  --gap: 0px;
  gap: 0;
}
.afu-mega .elementor-widget:not(:last-child) {
  margin-bottom: 0;
}
.afu-mega .afu-mega-grid {
  padding-top: 40px;
  padding-bottom: 48px;
}
.afu-mega .afu-mega-grid > .e-con-inner {
  gap: 40px;
  flex-wrap: nowrap;
}
.afu-mega .afu-mega-col {
  flex: 1 1 0;
  min-width: 0;
}
/* Luft mellem grupper i samme kolonne */
.afu-mega .afu-mega-col > .afu-mega-heading:not(:first-child) {
  margin-top: 32px;
}
.afu-mega .afu-mega-heading .elementor-heading-title,
.afu-mega .afu-mega-heading .elementor-heading-title a {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1E1E1E;
  text-decoration: none;
}
.afu-mega .afu-mega-links {
  margin-top: 10px;
}
.afu-mega .afu-mega-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.afu-mega .afu-mega-links li {
  margin: 0;
  padding: 0;
}
.afu-mega .afu-mega-links a {
  display: inline-block;
  padding: 7px 0;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1E1E1E;
  text-decoration: none;
}
.afu-mega a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.afu-mega a:focus-visible {
  outline: 2px solid #3C78D8;
  outline-offset: 2px;
}

/* Udvalgt maleri */
.afu-mega .afu-mega-featured {
  flex: 0 0 300px;
}
.afu-mega .afu-mega-product {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #1E1E1E;
  text-decoration: none;
}
.afu-mega .afu-mega-product:hover {
  text-decoration: none;
}
.afu-mega .afu-mega-product:hover .afu-mega-product__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.afu-mega .afu-mega-product__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 280px;
  margin-bottom: 12px;
}
.afu-mega .afu-mega-product__title {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.afu-mega .afu-mega-product__meta {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: #6B6B6B;
}
.afu-mega .afu-mega-product__price {
  margin-top: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

/* Fokusramme på "Artworks" kun ved keyboard – ikke efter museklik */
.afu-has-mega > a:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}
.afu-has-mega > a:focus-visible {
  outline: 2px solid #3C78D8;
  outline-offset: 2px;
}

/* "Artists"-dropdown (bygget i PHP, inc/mega-menu.php) – enkel som Kyiv Gallery: overskrifter + navne */
.afu-mega--artists .afu-mega-wrap {
  display: flex;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 48px;
  font-family: "Manrope", sans-serif;
}
.afu-mega--artists .afu-mega-col {
  flex: 0 0 280px;
  min-width: 0;
}
.afu-mega--artists .afu-mega-h,
.afu-mega--artists .afu-mega-h a {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1E1E1E;
  text-decoration: none;
}
.afu-mega--artists .afu-mega-h + .afu-mega-h {
  margin-top: 32px;
}
.afu-mega--artists .afu-mega-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.afu-mega--artists .afu-mega-list li {
  margin: 0;
  padding: 0;
}
.afu-mega--artists .afu-mega-list a {
  display: inline-block;
  padding: 7px 0;
  font-size: 16px;
  font-weight: 400;
  color: #1E1E1E;
  text-decoration: none;
}
