.lbmm {
    --lbmm-bg: #fff;
    --lbmm-text: #141414;
    --lbmm-muted: #6b6b6b;
    --lbmm-border: rgba(20,20,20,.12);
    --lbmm-accent: currentColor;
    position: relative;
    width: 100%;
    color: var(--lbmm-text);
    font: inherit;
    z-index: 50;
}

.lbmm * { box-sizing: border-box; }

.lbmm__rail-wrap {
    width: 100%;
    background: var(--lbmm-bg);
    border-top: 1px solid var(--lbmm-border);
    border-bottom: 1px solid var(--lbmm-border);
}

.lbmm__rail {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 52px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.lbmm__rail::-webkit-scrollbar { display: none; }

.lbmm__top-link {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .02em;
    white-space: nowrap;
    padding: 0 5px;
    position: relative;
    text-decoration: none;
}

.lbmm__top-link + .lbmm__top-link {
    background-image: linear-gradient(var(--lbmm-border), var(--lbmm-border));
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1px 16px;
}

.lbmm__top-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform .18s ease;
}

.lbmm__top-link:hover::after,
.lbmm__top-link:focus-visible::after,
.lbmm__top-link.is-active::after {
    transform: scaleX(1);
}

.lbmm__panels {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: var(--lbmm-bg);
    box-shadow: 0 18px 38px rgba(0,0,0,.13);
    border-bottom: 1px solid var(--lbmm-border);
}

.lbmm__panel { background: var(--lbmm-bg); }
.lbmm__panel[hidden] { display: none !important; }

.lbmm__panel-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
    gap: 36px;
    padding: 28px 24px 32px;
}

.lbmm__section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.lbmm__section-heading h3 {
    margin: 2px 0 0;
    font-size: 22px;
    line-height: 1.15;
}

.lbmm__section-heading a {
    color: inherit;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lbmm__eyebrow {
    display: block;
    color: var(--lbmm-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lbmm__subcat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.lbmm__subcat {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--lbmm-border);
    transition: transform .15s ease, border-color .15s ease;
}

.lbmm__subcat:hover,
.lbmm__subcat:focus-visible {
    transform: translateY(-1px);
    border-color: currentColor;
}

.lbmm__subcat-image {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    background-size: cover;
    background-position: center;
}

.lbmm__subcat-name {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
}

.lbmm__product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.lbmm__product {
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.lbmm__product-image {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f3f3f3;
    margin-bottom: 10px;
}

.lbmm__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.lbmm__product:hover .lbmm__product-image img { transform: scale(1.025); }

.lbmm__product-copy { display: block; }
.lbmm__product-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}
.lbmm__price {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--lbmm-muted);
}

@media (max-width: 1024px) {
    .lbmm__panel-inner { grid-template-columns: 1fr; }
    .lbmm__product-grid { grid-template-columns: repeat(4, minmax(150px,1fr)); overflow-x: auto; }
}

@media (max-width: 767px) {
    .lbmm { display: none; }
}
