/* ============================================================
   Mega Menu — pixel-perfect overrides
   ============================================================ */

.acox-mega-nav__panel-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 36px;
    box-sizing: border-box;
}

.acox-mega-nav__left {
    flex: 0 0 200px;
    padding-right: 24px;
}

.acox-mega-nav__cat-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: nowrap;
}

.acox-mega-nav__cat-title {
    font-family: var(--ac-font-title, Georgia, 'Times New Roman', serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mm-green);
    margin: 0;
    line-height: 1.3;
}

.acox-mega-nav__see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--mm-green);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s ease;
}

.acox-mega-nav__see-all::after {
    content: ' →';
}

.acox-mega-nav__see-all:hover {
    opacity: .75;
    text-decoration: underline;
}

.acox-mega-nav__subcats {
    gap: 16px;
    margin-top: 0;
}

.acox-mega-nav__subcats li a {
    font-size: 14px;
    line-height: 1.4;
    color: var(--mm-text);
    transition: color .2s ease;
}

.acox-mega-nav__subcats li a:hover {
    color: var(--mm-green);
}

.acox-mega-nav__right {
    padding-left: 24px;
}

.acox-mega-nav__products {
    gap: 20px;
}

.acox-mega-nav__product-img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.acox-mega-nav__product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.acox-mega-nav__product-info {
    gap: 4px;
    padding: 2px 0 0;
}

.acox-mega-nav__product-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--mm-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.acox-mega-nav__product-subcat {
    font-size: 12px;
    line-height: 1.3;
    color: var(--mm-green);
}

.acox-mega-nav__product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--mm-green);
    margin-top: 2px;
}

.acox-mega-nav__product-price .woocommerce-Price-amount {
    color: var(--mm-green) !important;
    font-size: 14px;
    font-weight: 700;
}

.acox-mega-nav__product-price .ac-price-dec {
    font-size: 10px;
    vertical-align: super;
    line-height: 0;
    margin-left: 1px;
}

/* Active item underline */
.acox-mega-nav__trigger {
    border-bottom: 3px solid transparent;
    padding: 14px 18px 12px;
}

.acox-mega-nav__trigger:hover,
.acox-mega-nav__item.is-open .acox-mega-nav__trigger {
    border-bottom-color: #8fbd46;
    color: #8fbd46;
}

/* Remove duplicate animated line */
.acox-mega-nav__trigger::after {
    display: none !important;
    content: none !important;
}

/* ---- Mega-menu — overrides utilisateur ---- */
h3.acox-mega-nav__cat-title {
    color: #524235;
    font-size: 24px;
}
a.acox-mega-nav__see-all {
    font-size: 16px;
    font-weight: 600;
    font-family: 'niveau-grotesk';
    color: #8FBD46;
}
.acox-mega-nav__see-all::after {
    display: none;
}
.acox-mega-nav__subcats li a {
    font-size: 17px;
    color: #524235;
    font-family: 'niveau-grotesk';
    font-weight: 400;
}
.acox-mega-nav__backdrop.is-visible {
    background: #080402;
    opacity: 0.8;
}
span.acox-mega-nav__product-price {
    font-size: 19px !important;
    color: #8FBD46;
}
