/* =========================
   BUTTON
========================= */
.mega-btn-main {
    background:#f3efe1;
    border:2px solid #173d2c;
    border-radius:30px;
    padding:12px 20px;
    font-size:17px;
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    color:#173d2c;
}

.menu-icon span {
    display:block;
    height:3px;
    width:20px;
    background:#173d2c;
    margin:3px 0;
    border-radius:2px;
}

/* =========================
   PANEL + OVERLAY
========================= */
.mega-overlay {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.35);
    display:none;
    z-index:998;
}

.mega-menu-panel {
    position:fixed;
    top:100px;
    left:0;
    width:100%;
    background:#fdfcf8;
    padding:30px;
    display:none;
    opacity:0;
    transform:translateY(15px);
    transition:0.25s;
    z-index:9999;
}

.mega-wrapper.open .mega-menu-panel {
    display:block;
    opacity:1;
    transform:translateY(0);
}

.mega-close {
    position:absolute;
    right:25px;
    top:20px;
    font-size:32px;
    cursor:pointer;
}

/* =========================
   GRID LAYOUT
========================= */
.mega-menu-inner {
    display:grid;
    grid-template-columns:260px 1fr 1fr;
    gap:30px;
}

.mega-col {
    padding:10px;
}

/* =========================
   LEFT COLUMN ITEMS
========================= */
.mega-level-1 {
    list-style:none;
    padding:0;
    margin:0;
}

.mega-level-1 li a {
    display:flex;
    align-items:center;
    gap:12px;
    padding:8px 10px;
    border-radius:6px;
    text-decoration:none;
    color:#222;
}

.mega-level-1 li:hover a {
    background:#ece9df;
}

.mega-thumb-wrap {
    width:42px;
    height:42px;
    overflow:hidden;
    border-radius:6px;
    flex-shrink:0;
    background:#fff;
    border:1px solid #ddd;
}

.mega-thumb {
    width:100%;
    height:100%;
    object-fit:cover;
}

.mega-title {
    font-size:15px;
    font-weight:500;
}

/* =========================
   SUBCATEGORIEËN
========================= */
.mega-level-2,
.mega-level-3 {
    list-style:disc;
    padding-left:20px;
}

.mega-level-2 li a,
.mega-level-3 li a {
    color:#0047d9;
    text-decoration:none;
}

.mega-level-2 li a:hover,
.mega-level-3 li a:hover {
    text-decoration:underline;
}

/* ----------------------------------------------------------
   NIEUWE MODERNE STYLING MID + RECHTS (BOL.COM STIJL)
-----------------------------------------------------------*/

.mega-middle,
.mega-right {
    background: #faf8f2;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Titels */
.mega-middle h3,
.mega-right h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1d1d1d;
}

/* lijsten zonder bullets */
.mega-level-2,
.mega-level-3 {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* items */
.mega-level-2 li,
.mega-level-3 li {
    padding: 12px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 15px;
    color: #2c2c2c;
    border-bottom: 1px solid #eee;
}

/* laatste item zonder lijn */
.mega-level-2 li:last-child,
.mega-level-3 li:last-child {
    border-bottom: none;
}

/* Link styling */
.mega-level-2 li a,
.mega-level-3 li a {
    color: #143e2c;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hover */
.mega-level-2 li:hover,
.mega-level-3 li:hover {
    background: #f0ece3;
}

/* Pijltje rechts voor moderne look */
.mega-level-2 li a::after,
.mega-level-3 li a::after {
    content: "›";
    font-size: 16px;
    margin-left: auto;
    color: #173d2c;
    opacity: 0.4;
    transition: 0.2s;
}

.mega-level-2 li:hover a::after,
.mega-level-3 li:hover a::after {
    opacity: 1;
    transform: translateX(3px);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {
    .mega-menu-panel {
        top:0;
        height:100vh;
        overflow-y:auto;
        padding:60px 20px;
    }
    .mega-menu-inner {
        display:block;
    }
    .mega-col {
        margin-bottom:30px;
    }
}
