/* New mobile menu (partials/menu/products-mobile-dev.blade.php), styled inside Mmenu.
   Mmenu gives every link/span the class "mm-listitem__text" (one line, ellipsis),
   so the rules below use ".mm-menu" in front to be stronger than mmenu.min.css. */

/* Bigger, easier to tap rows, with side space (22px) so nothing touches the edges */
.mm-menu .mm-listitem > .mm-listitem__text {
    padding: 16px 50px 16px 22px;
    font-size: 16px;
}

/* Thin line between rows (the "border-none" Mmenu option removes the default ones) */
.mm-menu .mm-listview > .mm-listitem { border-bottom: 1px solid #ededee; }
.mm-menu .mm-listview > .mm-listitem.pmm-m__bf-item { border-bottom: 0; }

/* Call / account / language at the bottom: grey background, icon before the text */
.mm-menu .mm-listview > .pmm-m__util { background: #f7f7f8; }
.mm-menu .mm-listview > .pmm-m__util--first { margin-top: 18px; border-top: 1px solid #ededee; }
.mm-menu .pmm-m__util a { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.mm-menu .pmm-m__util i { font-size: 18px; color: #0b9e93; }

/* Black Friday card at the top of the menu */
.mm-menu .pmm-m__bf-item { padding: 14px 16px 6px; }
.mm-menu .pmm-m__bf-item::after { display: none; }

.mm-menu .mm-listitem > a.pmm-m__bf {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #0e0d12;
    color: #fff;
    white-space: normal;
}

.mm-menu .pmm-m__bf strong { font-size: 26px; line-height: 1.1; }
.pmm-m__bf-tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f6bc16; }
.pmm-m__bf-note { font-size: 13px; color: #f6bc16; font-weight: 600; }

/* Category rows: icon + name + number of products.
   Mmenu replaces the <span class="pmm-m__cat"> with its own
   <a class="mm-btn_next mm-listitem__text">, so the rules target that link. */
.mm-menu a.mm-btn_next.mm-listitem__text {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mm-menu a.mm-btn_next.mm-listitem__text > img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    padding: 3px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

/* margin-left: auto pushes the number to the right, before the arrow */
.mm-menu .pmm-m__count {
    margin-left: auto;
    padding: 1px 8px;
    border-radius: 10px;
    background: #f0f0f2;
    color: #777;
    font-size: 12px;
}

/* "Δείτε όλα" / "Όλα τα προϊόντα" link at the top of each panel */
.mm-menu .mm-listitem > a.pmm-m__all {
    padding-top: 20px;
    padding-bottom: 20px;
    color: #0b9e93;
    font-weight: 700;
    white-space: normal;
}

/* Product rows: photo + name (up to 2 lines) + sale badge */
.mm-menu .mm-listitem > a.pmm-m__prod {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 22px;
    white-space: normal;
}

.pmm-m__thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #f5f5f6;
    overflow: hidden;
}

.pmm-m__thumb img { width: 100%; height: 100%; object-fit: cover; }

.pmm-m__name { flex: 1; font-size: 15px; line-height: 1.3; font-weight: 600; color: #222; }

.pmm-m__sale {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 999px;
    background: #0e0d12;
    color: #f6bc16;
    font-size: 12px;
    font-weight: 700;
}
