/**
 * Wedline Mega Menu – 3 fișiere standalone, fără conflicte:
 * layout/megamenu.blade.php, wl-megamenu.css, wl-megamenu.js
 * Prefix: mgmenu- (doar clase cu acest prefix)
 */

/* Spacer: lasă spațiu sub meniul fix (folosit în main-inside-account etc.) */
.mgmenu-spacer {
  display: block;
  width: 100%;
  height: 50px;
  min-height: 50px;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .mgmenu-dropdown {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (min-width: 1024px) {
  /* ---- Root: sticky + poziționare pentru dropdown ---- */
  .mgmenu-root {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }

  body:has(.mgmenu-root) {
    padding-top: 80px;
  }

  /* ---- Top bar: glass premium ---- */
  .mgmenu-root .mgmenu-bar {
    position: relative;
    min-height: 76px;
    height: auto;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.6) inset,
      0 8px 32px rgba(0, 0, 0, 0.06),
      0 2px 8px rgba(0, 0, 0, 0.03);
  }

  /* ---- Container: logo stânga, nav dreapta ---- */
  .mgmenu-root .mgmenu-container.mgmenu-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    gap: 1rem;
  }

  .mgmenu-nav {
    position: relative;
  }

  .mgmenu-nav-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .mgmenu-nav-list .mgmenu-nav-link,
  .mgmenu-nav-list a.mgmenu-nav-link {
    color: #1a1a1a;
    padding: 0.55rem 0.85rem;
    border-radius: 9999px;
    text-decoration: none;
    transition:
      color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1),
      box-shadow 0.2s cubic-bezier(0.25, 0.1, 0.25, 1),
      transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .mgmenu-nav-list .mgmenu-nav-link:hover,
  .mgmenu-nav-list a.mgmenu-nav-link:hover {
    color: #0d0d0d;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .mgmenu-nav-list .mgmenu-nav-link.mgmenu-selected,
  .mgmenu-nav-list .mgmenu-nav-link.mgmenu-is-active,
  .mgmenu-nav-list .mgmenu-item.mgmenu-is-open .mgmenu-trigger {
    color: #1a1a1a;
    font-weight: 700;
  }

  .mgmenu-nav-list .mgmenu-trigger.mgmenu-selected,
  .mgmenu-nav-list .mgmenu-item.mgmenu-is-open .mgmenu-trigger {
    box-shadow: none;
  }

  .mgmenu-nav-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c1121f;
    margin-right: 0.4rem;
    vertical-align: middle;
  }

  .mgmenu-nav-heart svg {
    display: block;
    width: 14px;
    height: 14px;
  }

  .mgmenu-nav-list .mgmenu-nav-link:hover .mgmenu-nav-heart,
  .mgmenu-nav-list .mgmenu-nav-link.mgmenu-selected .mgmenu-nav-heart,
  .mgmenu-nav-list .mgmenu-nav-link.mgmenu-is-active .mgmenu-nav-heart {
    color: #c1121f;
  }

  /* Nav indicator: accent only (underline/edge/glow), no solid fill */
  .mgmenu-nav-indicator {
    position: absolute;
    bottom: -8px;
    left: 0;
    height: 2px;
    width: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.25);
    transition: left 0.22s cubic-bezier(0.25, 0.1, 0.25, 1), width 0.22s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
  }

  .mgmenu-nav-indicator::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(230, 57, 70, 0.9) 50%, transparent 100%);
    border-radius: 1px;
  }

  .mgmenu-root .mgmenu-logo-img {
    height: 44px;
  }

  .mgmenu-search.mgmenu-nav-link {
    padding: 0.55rem 0.75rem;
    color: #333;
  }

  .mgmenu-search.mgmenu-nav-link:hover {
    color: #c1121f;
  }

  /* Ești furnizor? – premium outlined pill (no pink fill) */
  .mgmenu-item-provider .mgmenu-trigger {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    background: #fff;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .mgmenu-item-provider .mgmenu-trigger:hover {
    border-color: rgba(230, 57, 70, 0.6);
    box-shadow: 0 0 16px rgba(230, 57, 70, 0.15);
    color: #0d0d0d;
    transform: translateY(-1px);
  }

  .mgmenu-header-wrap {
    position: relative;
  }

  .mgmenu-nav .mgmenu-hide-sub .sub {
    display: none !important;
  }

  /* Mega-menu overlay: near-black + umbre/glow roșii ca pe pagina 503 */
  .mgmenu-dropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 100vw;
    top: 100%;
    background:
      radial-gradient(circle at 20% 10%, rgba(230, 57, 70, 0.14), transparent 42%),
      radial-gradient(circle at 80% 15%, rgba(230, 57, 70, 0.08), transparent 38%),
      linear-gradient(180deg, rgba(230, 57, 70, 0.1) 0%, transparent 14%),
      #0a0a0c;
    box-shadow:
      0 0 80px rgba(230, 57, 70, 0.08),
      0 0 120px rgba(230, 57, 70, 0.04),
      0 4px 40px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(230, 57, 70, 0.12);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    filter: blur(0);
    transition: opacity 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), visibility 0.2s;
    pointer-events: none;
  }

  .mgmenu-dropdown.mgmenu-is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .mgmenu-dropdown::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, rgba(230, 57, 70, 0.35) 50%, transparent 90%);
    opacity: 0.9;
  }

  .mgmenu-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem;
  }

  .mgmenu-dropdown .mgmenu-card {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(2px);
    transition: opacity 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.2s ease-out;
  }

  .mgmenu-dropdown.mgmenu-is-open .mgmenu-card {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  .mgmenu-card {
    background: #fafafa;
    border-radius: 16px;
    padding: 0;
    box-shadow:
      0 32px 80px rgba(0, 0, 0, 0.12),
      0 12px 32px rgba(0, 0, 0, 0.06),
      0 0 0 1px rgba(0, 0, 0, 0.04);
    border: none;
    position: relative;
    overflow: hidden;
  }

  .mgmenu-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(230, 57, 70, 0.4) 15%, rgba(230, 57, 70, 0.55) 50%, rgba(230, 57, 70, 0.4) 85%, transparent 100%);
    opacity: 0.9;
  }

  /* Texte și titluri în card alb */
  .mgmenu-card h3,
  .mgmenu-card h4 {
    color: #111;
  }

  .mgmenu-card p {
    color: #444;
  }

  .mgmenu-panel-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #111;
  }

  .mgmenu-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mgmenu-bullet-list li {
    padding: 0.35rem 0;
    color: #333;
    font-size: 0.9rem;
  }

  .mgmenu-empty-msg {
    font-size: 0.9rem;
    color: #666;
  }

  .mgmenu-panel {
    display: none;
  }

  .mgmenu-panel.mgmenu-is-active {
    display: block;
  }

  .mgmenu-trigger[aria-expanded="true"],
  .mgmenu-nav .mgmenu-item.mgmenu-is-open > a {
    color: #e63946;
    box-shadow: none;
  }

  .mgmenu-trigger:hover {
    color: #e63946;
  }

  /* Panel Furnizori: cap secțiune + grid + delimiter */
  .mgmenu-panel-furnizori .mgmenu-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.75rem 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 0.5rem;
  }

  .mgmenu-panel-head-left,
  .mgmenu-panel-head-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
  }

  .mgmenu-panel-head-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .mgmenu-panel-head-links {
    display: flex;
    gap: 0.75rem;
  }

  .mgmenu-panel-head-link {
    font-size: 0.75rem;
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
  }

  .mgmenu-panel-head-link:hover {
    color: #b71c1c;
  }

  .mgmenu-panel-furnizori .mgmenu-grid-furnizori {
    display: grid;
    grid-template-columns: 64% 1px 1fr;
    gap: 0 1.5rem;
    align-items: start;
    padding: 0 1.75rem 1.75rem;
  }

  .mgmenu-grid-delimiter {
    width: 1px;
    min-height: 120px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 8%, rgba(0, 0, 0, 0.08) 92%, transparent 100%);
    justify-self: center;
  }

  .mgmenu-previews-col {
    padding-left: 0.5rem;
  }

  .mgmenu-categories-col {
    padding-right: 1.5rem;
  }


  .mgmenu-panel-furnizori .mgmenu-grid:not(.mgmenu-grid-furnizori) {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 2rem;
    align-items: start;
  }

  .mgmenu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem 1.25rem;
  }

  .mgmenu-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 0.5rem 0.45rem 0.65rem;
    border-radius: 9999px;
    position: relative;
    transition:
      color 0.2s ease,
      font-weight 0.2s ease,
      background 0.2s cubic-bezier(0.33, 1.04, 0.64, 1) 0.08s;
  }

  .mgmenu-cat-link .mgmenu-cat-text {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.33, 1.04, 0.64, 1);
  }

  .mgmenu-cat-link:hover .mgmenu-cat-text {
    transform: translateX(2px);
  }

  .mgmenu-cat-link.mgmenu-is-active .mgmenu-cat-text {
    transform: translateX(2px);
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  }

  /* Bară = accent (edge/glow), nu solid */
  .mgmenu-cat-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    border-radius: 0 2px 2px 0;
    background: rgba(230, 57, 70, 0.85);
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.2);
    transition: height 0.12s cubic-bezier(0.4, 0, 0.2, 1.06);
  }

  @keyframes mgmenu-bar-enter {
    0% { height: 0; }
    65% { height: 82%; }
    100% { height: 70%; }
  }

  .mgmenu-cat-link:hover::before {
    height: 70%;
    animation: mgmenu-bar-enter 0.12s cubic-bezier(0.2, 0, 0, 1) forwards;
  }

  .mgmenu-cat-link.mgmenu-is-active::before {
    height: 70%;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  }

  /* Hover: elastic discret (greu, fără bounce jucăuș) */
  .mgmenu-cat-link:hover {
    color: #e63946;
    background: rgba(0, 0, 0, 0.03);
  }

  /* Active: stabil */
  .mgmenu-cat-link.mgmenu-is-active {
    color: #c1121f;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.05);
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    transition-delay: 0s;
  }

  .mgmenu-cat-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0);
    opacity: 0.8;
    transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
  }

  .mgmenu-cat-link:hover .mgmenu-cat-icon {
    opacity: 1;
    transform: scale(1.04);
    filter: brightness(0) sepia(1) saturate(5) hue-rotate(320deg);
    transition-timing-function: cubic-bezier(0.33, 1.04, 0.64, 1);
  }

  .mgmenu-cat-link.mgmenu-is-active .mgmenu-cat-icon {
    opacity: 1;
    transform: scale(1.02);
    filter: brightness(0) sepia(1) saturate(5) hue-rotate(320deg);
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  }

  .mgmenu-previews {
    position: relative;
    min-height: 200px;
  }

  .mgmenu-previews-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    filter: blur(0);
    transition:
      opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
      filter 0.2s ease-out,
      visibility 0.2s;
    pointer-events: none;
  }

  .mgmenu-previews-block.mgmenu-is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
  }

  .mgmenu-previews-block.mgmenu-is-fading-out {
    opacity: 0;
    filter: blur(2px);
    transition-duration: 0.08s;
    transition-timing-function: ease-out;
    pointer-events: none;
  }

  @keyframes mgmenu-block-enter {
    0% {
      opacity: 0;
      transform: translateY(8px);
      filter: blur(2px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }

  .mgmenu-previews-block.mgmenu-is-active.mgmenu-is-fading-in {
    animation: mgmenu-block-enter 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes mgmenu-badge-pop {
    0% { transform: scale(0.96); }
    100% { transform: scale(1); }
  }

  .mgmenu-previews-block.mgmenu-is-active.mgmenu-is-fading-in .mgmenu-supplier-card .mgmenu-badge {
    animation: mgmenu-badge-pop 0.22s ease-out forwards;
  }

  .mgmenu-supplier-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .mgmenu-supplier-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(230, 57, 70, 0.25);
  }

  .mgmenu-supplier-card .mgmenu-card-img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
  }

  .mgmenu-supplier-card .mgmenu-card-body {
    padding: 0.75rem;
  }

  .mgmenu-supplier-card .mgmenu-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-bottom: 0.4rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }

  .mgmenu-badge-gold {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #fff;
  }

  .mgmenu-badge-top {
    background: #e63946;
    color: #fff;
  }

  .mgmenu-badge-rapid {
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
  }

  .mgmenu-supplier-card .mgmenu-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.25rem 0;
    text-decoration: none;
  }

  .mgmenu-supplier-card .mgmenu-card-meta {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.35rem;
  }

  .mgmenu-supplier-card .mgmenu-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  }

  .mgmenu-supplier-card a {
    text-decoration: none;
  }

  .mgmenu-supplier-card .mgmenu-card-link:hover {
    color: #b71c1c;
    opacity: 0.95;
    transform: translateX(2px);
  }

  .mgmenu-supplier-card .mgmenu-card-link .mgmenu-arrow,
  .mgmenu-supplier-card .mgmenu-card-cta .mgmenu-card-cta-arrow {
    font-size: 0.75em;
    opacity: 0.9;
  }

  .mgmenu-supplier-card .mgmenu-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  }

  .mgmenu-supplier-card:hover .mgmenu-card-cta,
  .mgmenu-supplier-card .mgmenu-card-cta:hover {
    color: #b71c1c;
    opacity: 0.95;
    transform: translateX(2px);
  }

  /* Panel Nunta mea – 3 coloane, același container/animație ca Furnizori */
  .mgmenu-panel-nunta .mgmenu-grid.mgmenu-grid-nunta {
    display: grid;
    grid-template-columns: 0.75fr 0.75fr 1.5fr;
    gap: 0 1.5rem;
    align-items: start;
    padding: 1.75rem;
  }

  .mgmenu-nunta-col {
    padding-right: 1rem;
  }

  .mgmenu-nunta-col + .mgmenu-nunta-col {
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    padding-left: 1.5rem;
    padding-right: 1rem;
  }

  .mgmenu-nunta-col-card {
    padding-left: 1.5rem;
  }

  .mgmenu-nunta-col-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    margin-bottom: 0.85rem;
  }

  .mgmenu-nunta-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mgmenu-nunta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.45rem 0.5rem 0.45rem 0.65rem;
    border-radius: 9999px;
    position: relative;
    transition: color 0.2s ease, background 0.2s cubic-bezier(0.33, 1.04, 0.64, 1) 0.06s;
  }

  /* Bară accent – #c1121f ca la Furnizori (active) */
  .mgmenu-nunta-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    border-radius: 0 2px 2px 0;
    background: rgba(193, 12, 31, 0.85);
    box-shadow: 0 0 8px rgba(193, 12, 31, 0.2);
    transition: height 0.12s cubic-bezier(0.4, 0, 0.2, 1.06);
  }

  .mgmenu-nunta-item:hover::before {
    height: 70%;
    animation: mgmenu-bar-enter 0.12s cubic-bezier(0.2, 0, 0, 1) forwards;
  }

  .mgmenu-nunta-item:hover {
    color: #c1121f;
    background: rgba(0, 0, 0, 0.03);
  }

  /* #c1121f – același roșu ca la Furnizori (active) */
  .mgmenu-nunta-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #c1121f;
    opacity: 0.8;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .mgmenu-nunta-icon svg {
    display: block;
    width: 18px;
    height: 18px;
  }

  .mgmenu-nunta-item:hover .mgmenu-nunta-icon {
    opacity: 1;
    transform: scale(1.04);
    color: #c1121f;
    transition-timing-function: cubic-bezier(0.33, 1.04, 0.64, 1);
  }

  .mgmenu-nunta-item-inner {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
  }

  .mgmenu-nunta-item-title {
    font-weight: 600;
    color: inherit;
  }

  .mgmenu-nunta-item-micro {
    font-size: 0.7rem;
    color: #666;
    font-weight: 400;
  }

  .mgmenu-nunta-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-top: 0.2rem;
  }

  /* Col 3: Invitații online – titlu + două carduri una lângă alta */
  .mgmenu-nunta-col-card {
    max-height: 100%;
    display: flex;
    flex-direction: column;
  }

  .mgmenu-invite-title {
    margin-bottom: 0.65rem;
  }

  .mgmenu-invite-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    min-width: 0;
  }

  .mgmenu-invite-template-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    /* Înălțime card template */
    max-height: 300px;
    flex-shrink: 0;
  }

  .mgmenu-invite-template-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
  }

  .mgmenu-invite-template-mockup {
    position: relative;
    height: 210px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f5f5f5;
  }

  .mgmenu-invite-template-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mgmenu-invite-template-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .mgmenu-invite-template-card:hover .mgmenu-invite-template-overlay {
    opacity: 1;
  }

  .mgmenu-invite-template-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: #e63946;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mgmenu-invite-template-btn:hover {
    background: #c1121f;
    color: #fff;
  }

  .mgmenu-invite-template-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
  }

  .mgmenu-invite-template-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mgmenu-invite-template-tag {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
  }

  .mgmenu-invite-template-fallback {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    max-height: 300px;
    min-height: 180px;
    text-decoration: none;
    color: #666;
  }

  .mgmenu-invite-template-fallback:hover {
    color: #e63946;
  }

  .mgmenu-invite-template-fallback-text {
    font-size: 0.85rem;
    font-weight: 600;
  }

  /* Panel Blog – premium, același stil ca Furnizori / Nunta mea */
  .mgmenu-panel-head-blog {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.75rem 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 0.5rem;
  }

  .mgmenu-panel-blog .mgmenu-panel-head-left,
  .mgmenu-panel-blog .mgmenu-panel-head-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
  }

  .mgmenu-panel-blog .mgmenu-panel-head-link {
    color: #c1121f;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
  }

  .mgmenu-panel-blog .mgmenu-panel-head-link:hover {
    color: #9a0e18;
    opacity: 0.95;
  }

  .mgmenu-panel-blog .mgmenu-grid.mgmenu-grid-blog {
    display: grid;
    grid-template-columns: 38% 1px 1fr;
    gap: 0 1.5rem;
    align-items: start;
    padding: 0 1.75rem 1.75rem;
  }

  .mgmenu-panel-blog .mgmenu-grid-blog .mgmenu-grid-delimiter {
    min-height: 140px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 8%, rgba(0, 0, 0, 0.08) 92%, transparent 100%);
    justify-self: center;
    width: 1px;
  }

  .mgmenu-blog-categories-col {
    padding-right: 1rem;
  }

  .mgmenu-blog-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.75rem;
  }

  .mgmenu-blog-cat-link {
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.45rem 0.5rem 0.45rem 0.65rem;
    border-radius: 9999px;
    position: relative;
    transition: color 0.2s ease, background 0.2s cubic-bezier(0.33, 1.04, 0.64, 1) 0.08s;
  }

  .mgmenu-blog-cat-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    border-radius: 0 2px 2px 0;
    background: rgba(193, 12, 31, 0.85);
    box-shadow: 0 0 8px rgba(193, 12, 31, 0.2);
    transition: height 0.12s cubic-bezier(0.4, 0, 0.2, 1.06);
  }

  .mgmenu-blog-cat-link:hover::before {
    height: 70%;
    animation: mgmenu-bar-enter 0.12s cubic-bezier(0.2, 0, 0, 1) forwards;
  }

  .mgmenu-blog-cat-link:hover {
    color: #c1121f;
    background: rgba(0, 0, 0, 0.03);
  }

  .mgmenu-blog-posts-col {
    padding-left: 0.5rem;
    min-width: 0;
  }

  .mgmenu-panel-blog .mgmenu-post-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .mgmenu-panel-blog .mgmenu-post-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: box-shadow 0.22s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.22s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.2s ease;
  }

  .mgmenu-panel-blog .mgmenu-post-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
    border-color: rgba(193, 12, 31, 0.25);
  }

  .mgmenu-panel-blog .mgmenu-post-card .mgmenu-post-card-img-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    min-height: 100px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .mgmenu-panel-blog .mgmenu-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mgmenu-panel-blog .mgmenu-post-card .mgmenu-post-card-body {
    padding: 0.65rem 0.75rem 0.75rem;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mgmenu-panel-blog .mgmenu-post-card .mgmenu-post-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111;
    margin: 0;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
  }

  .mgmenu-panel-blog .mgmenu-post-card:hover .mgmenu-post-title {
    color: #c1121f;
  }

  .mgmenu-panel-blog .mgmenu-post-card .mgmenu-post-meta {
    font-size: 0.68rem;
    color: #666;
    margin: 0;
  }

  .mgmenu-post-card-img-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .mgmenu-post-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
  }

  .mgmenu-invite-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .mgmenu-invite-mini {
    width: 100px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .mgmenu-invite-mini img {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: cover;
  }

  .mgmenu-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    background: #e63946;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .mgmenu-cta:hover {
    background: #c1121f;
    color: #fff;
    transform: translateY(-1px);
  }

  .mgmenu-cta-secondary {
    background: transparent;
    color: #555;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin-left: 0.5rem;
  }

  .mgmenu-cta-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #111;
    border-color: rgba(0, 0, 0, 0.25);
  }

  /* Panel Ești furnizor? – premium, același stil ca Furnizori / Nunta mea / Blog */
  .mgmenu-panel-head-esti {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.75rem 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 0.5rem;
  }

  .mgmenu-panel-esti .mgmenu-panel-head-left,
  .mgmenu-panel-esti .mgmenu-panel-head-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
  }

  .mgmenu-panel-esti .mgmenu-panel-head-link {
    color: #c1121f;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
  }

  .mgmenu-panel-esti .mgmenu-panel-head-link:hover {
    color: #9a0e18;
    opacity: 0.95;
  }

  .mgmenu-panel-esti .mgmenu-grid.mgmenu-grid-esti {
    display: grid;
    grid-template-columns: 52% 1px 1fr;
    gap: 0 1.5rem;
    align-items: start;
    padding: 0 1.75rem 1.75rem;
  }

  .mgmenu-panel-esti .mgmenu-grid-esti .mgmenu-grid-delimiter {
    min-height: 140px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 8%, rgba(0, 0, 0, 0.08) 92%, transparent 100%);
    justify-self: center;
    width: 1px;
  }

  .mgmenu-esti-content-col {
    padding-right: 1rem;
    min-width: 0;
  }

  .mgmenu-esti-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
  }

  .mgmenu-esti-subtitle {
    font-size: 0.88rem;
    color: #555;
    margin: 0 0 1rem 0;
    line-height: 1.4;
  }

  .mgmenu-esti-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
  }

  .mgmenu-esti-bullets li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.45rem;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.4;
  }

  .mgmenu-esti-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c1121f;
    box-shadow: 0 0 0 2px rgba(193, 12, 31, 0.2);
  }

  .mgmenu-esti-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .mgmenu-cta-esti {
    background: #c1121f;
    box-shadow: 0 4px 14px rgba(193, 12, 31, 0.35);
  }

  .mgmenu-cta-esti:hover {
    background: #9a0e18;
    box-shadow: 0 6px 18px rgba(193, 12, 31, 0.4);
  }

  .mgmenu-esti-cards-col {
    padding-left: 0.5rem;
    min-width: 0;
  }

  .mgmenu-panel-esti .mgmenu-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .mgmenu-panel-esti .mgmenu-mock-card {
    background: #fff;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.22s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.22s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.2s ease;
  }

  .mgmenu-panel-esti .mgmenu-mock-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
  }

  .mgmenu-panel-esti .mgmenu-mock-card .mgmenu-mock-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.4rem;
  }

  .mgmenu-panel-esti .mgmenu-mock-card .mgmenu-mock-body {
    font-size: 0.82rem;
    color: #333;
    line-height: 1.4;
  }

  .mgmenu-mock-img-wrap {
    display: block;
    width: 100%;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .mgmenu-mock-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mgmenu-mock-text {
    display: block;
  }

  .mgmenu-panel-esti .mgmenu-mock-card.mgmenu-notif {
    border-left: 3px solid #c1121f;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03), inset 2px 0 0 0 #c1121f;
  }

  .mgmenu-panel-esti .mgmenu-mock-card.mgmenu-notif:hover {
    border-color: rgba(193, 12, 31, 0.3);
  }

  .mgmenu-mock-card .mgmenu-stars {
    color: #fbbf24;
    font-size: 0.8rem;
  }

}
