.np-menu-frame {
    display: grid;
    grid-template-columns: minmax(280px, 22vw) 1fr;
    gap: 0;
    align-items: start;
}

.np-menu-frame__content { min-width: 0; }

.np-toc {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 0.75rem;
}

.np-toc__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--np-font-ui);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--np-leaf);
    margin-bottom: 0.35rem;
}

.np-toc__item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    width: 100%;
    text-align: right;
    border: 1.5px solid transparent;
    background: color-mix(in srgb, var(--np-paper) 70%, transparent);
    border-radius: var(--np-r-pill);
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    color: var(--np-green-deep);
    transition: background var(--np-transition), border-color var(--np-transition), transform var(--np-transition);
    min-height: 44px;
}

.np-toc__item:hover {
    background: linear-gradient(135deg, var(--np-foam), var(--np-pink));
    border-color: var(--np-border);
    transform: translateX(-2px);
}

.hc-body .np-toc__item:hover,
.hc-body .np-toc__item.is-active {
    transform: none;
}

.np-toc__item.is-active {
    background: linear-gradient(135deg, var(--np-foam), var(--np-pink));
    border-color: var(--np-border);
}

.np-toc__num {
    font-family: var(--np-font-ui);
    font-weight: 800;
    font-size: 0.72rem;
    color: var(--np-rose);
    flex-shrink: 0;
    align-self: center;
}

.np-toc__text {
    font-size: 0.88rem;
    font-weight: 700;
    flex: 1;
    min-width: 0;
    text-align: right;
    line-height: 1.45;
}

.np-toc__count {
    flex-shrink: 0;
    align-self: center;
}

.np-toc--desktop-sidebar {
    position: sticky;
    top: calc(var(--np-header-h) + 0.5rem);
    max-height: calc(100dvh - var(--np-header-h) - 1rem);
    overflow: auto;
    margin: 0.75rem;
    padding-inline: 0.85rem;
    border-radius: var(--np-r-xl);
    background: color-mix(in srgb, var(--np-paper) 75%, transparent);
    border: 1px solid var(--np-border);
    box-shadow: var(--np-shadow-soft);
}

.np-toc--mobile-bar {
    display: none;
    position: sticky;
    top: var(--np-header-h);
    z-index: 30;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    background: color-mix(in srgb, var(--np-paper) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--np-border);
    scrollbar-width: none;
}

.np-toc--mobile-bar::-webkit-scrollbar { display: none; }

.np-toc--mobile-bar .np-toc__label { display: none; }
.np-toc--mobile-bar .np-toc__item {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    align-items: center;
    padding: 0.55rem 0.75rem;
}

.np-menu-head {
    padding: 1.25rem 0 1rem;
}

.np-menu-head__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.np-menu-head__hippo {
    margin-bottom: 0.35rem;
    max-width: 72px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(47, 93, 74, 0.12));
}

.np-menu-head h1 {
    margin: 0.35rem 0 0.2rem;
    font-family: var(--np-font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--np-green-deep);
}

.np-menu-head p { margin: 0; color: var(--np-muted); }

.np-search {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: min(320px, 100%);
}

.np-search__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--np-muted);
}

.np-search input {
    border: 1.5px solid var(--np-border);
    border-radius: var(--np-r-pill);
    background: var(--np-paper);
    padding: 0.75rem 1.1rem;
    min-height: 48px;
    font-family: var(--np-font-body);
}

.np-search input:focus {
    outline: none;
    border-color: var(--np-leaf);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--np-mint) 40%, transparent);
}

.np-featured {
    padding: 0.5rem 0 1.5rem;
}

.np-featured__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 280px);
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}

.np-featured__rail > * { scroll-snap-align: start; }

.np-bed {
    padding: 1.5rem 0 2rem;
}

.np-bed:nth-child(even) {
    background: color-mix(in srgb, var(--np-foam) 35%, transparent);
}

.np-bed__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.np-bed__marker {
    position: relative;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.np-bed__marker img { position: absolute; opacity: 0.9; }
.np-bed__marker em {
    position: relative;
    font-style: normal;
    font-family: var(--np-font-ui);
    font-weight: 800;
    color: var(--np-green-deep);
}

.np-bed__head h2 {
    margin: 0;
    font-family: var(--np-font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--np-green-deep);
}

.np-bed__head p {
    margin: 0.25rem 0 0;
    color: var(--np-muted);
    font-size: 0.92rem;
}

.np-bed__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

/* Seed packet product cards */
.np-seed {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 28px 28px 36px 36px;
    background:
        linear-gradient(160deg, var(--np-paper), color-mix(in srgb, var(--np-cream) 70%, var(--np-pink)));
    border: 1.5px solid var(--np-border);
    box-shadow: 0 12px 28px rgba(47, 93, 74, 0.08);
    overflow: hidden;
    transition: transform var(--np-transition), box-shadow var(--np-transition);
}

.np-seed:hover {
    transform: translateY(-4px);
    box-shadow: var(--np-shadow-soft);
}

.np-seed--compact {
    min-height: 100%;
}

.np-seed--feature {
    border-color: color-mix(in srgb, var(--np-rose) 55%, var(--np-mint));
}

.np-seed--sold { opacity: 0.78; }

.np-label {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    padding: 0.25rem 0.65rem;
    border-radius: var(--np-r-pill);
    font-size: 0.72rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--np-gold), var(--np-rose));
    color: var(--np-green-deep);
}

.np-label--muted {
    background: color-mix(in srgb, var(--np-muted) 30%, var(--np-paper));
    color: var(--np-muted);
}

.np-seed__visual {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-bottom: 1px dashed color-mix(in srgb, var(--np-mint) 50%, transparent);
}

.np-seed__visual img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.np-seed__corner {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    opacity: 0.75;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.np-seed__veil {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--np-ivory) 55%, transparent);
    backdrop-filter: blur(2px);
    font-weight: 800;
    color: var(--np-muted);
}

.np-seed__copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 1rem 1rem;
    flex: 1;
}

.np-seed__bed {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--np-rose);
}

.np-seed__title {
    margin: 0;
    font-family: var(--np-font-display);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--np-green-deep);
    cursor: default;
}

.np-seed__title[role="button"] { cursor: pointer; }

.np-seed__desc {
    margin: 0;
    font-size: 0.88rem;
    color: var(--np-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.np-seed__foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 0.5rem;
}

.np-seed__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--np-rose);
    background: color-mix(in srgb, var(--np-pink) 40%, transparent);
    padding: 0.15rem 0.5rem;
    border-radius: var(--np-r-pill);
    margin-bottom: 0.2rem;
}

.np-seed__price {
    font-family: var(--np-font-ui);
    font-weight: 800;
    color: var(--np-green);
}

.np-seed__price s {
    color: var(--np-muted);
    font-weight: 600;
    margin-left: 0.35rem;
}

.np-seed__price small { font-size: 0.75rem; }

.np-seed__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.np-seed__detail {
    min-height: 40px;
    padding-inline: 0.9rem;
    font-size: 0.82rem;
}

.np-seed__blocked {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--np-muted);
}

.np-empty--inline {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    padding: 1.5rem;
}

/* Modal */
.flr-modal.np-petal-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--np-transition), visibility var(--np-transition);
}

.flr-modal.np-petal-modal:not([aria-hidden="true"]) {
    opacity: 1;
    visibility: visible;
}

.np-petal-modal__veil {
    position: absolute;
    inset: 0;
    background: rgba(42, 59, 52, 0.48);
}

.np-petal-modal__sheet {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100% - 1.5rem));
    border-radius: var(--np-r-xl);
    background: var(--np-paper);
    box-shadow: var(--np-shadow);
    overflow: hidden;
}

.np-petal-modal__close {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--np-foam);
    cursor: pointer;
}

.np-petal-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.np-petal-modal__visual img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.np-petal-modal__copy {
    padding: 1.5rem;
}

.np-petal-modal__copy h2 {
    margin: 0.5rem 0;
    font-family: var(--np-font-display);
    font-weight: 800;
    color: var(--np-green-deep);
}

.np-petal-modal__desc { color: var(--np-muted); }
.np-petal-modal__price {
    margin-top: 1rem;
    font-family: var(--np-font-ui);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--np-green);
}

@media (max-width: 960px) {
    .np-menu-frame { grid-template-columns: 1fr; }
    .np-toc--desktop-sidebar { display: none; }
    .np-toc--mobile-bar { display: flex; }
    .np-petal-modal__grid { grid-template-columns: 1fr; }
}
