Home / Snippets / Headers / Serein retail mega-menu header
Try the design Preview widthFit panel Mobile · 390 px Tablet · 768 px Desktop · 1280 px Open demo ↗
Preview links stay in the example. Copy the source to use your own destinations. Form previews never send information.
Copy the source HTML CSS JavaScript Astro
Copy HTML <header class="fct-serein-retail-header" data-snippet="serein-retail-header">
<div class="c-service">
<div class="c-inner">
<span>Objects for everyday rooms.</span><a href="delivery.html">Delivery & returns</a
><a href="contact.html">Contact</a>
</div>
</div>
<div class="c-header-main c-inner">
<a class="c-brand" href="index.html" aria-label="Serein home"
>serein<span aria-hidden="true">.</span></a
><button
class="c-menu-button"
type="button"
aria-expanded="false"
aria-controls="fct-serein-retail-header-nav"
>
Menu <span aria-hidden="true">+</span>
</button>
<nav id="fct-serein-retail-header-nav" aria-label="Primary">
<details class="c-shop">
<summary>Shop <span aria-hidden="true">⌄</span></summary>
<div class="c-mega">
<div class="c-mega-inner">
<div>
<h2>For the home</h2>
<ul>
<li><a href="furniture.html">Furniture</a></li>
<li><a href="lighting.html">Lighting</a></li>
<li><a href="tableware.html">Tableware</a></li>
<li><a href="textiles.html">Textiles</a></li>
<li><a href="objects.html">Everyday objects</a></li>
</ul>
</div>
<div>
<h2>Find your room</h2>
<ul>
<li><a href="living.html">Living</a></li>
<li><a href="dining.html">Dining</a></li>
<li><a href="workspaces.html">Workspaces</a></li>
<li><a href="new.html">New arrivals</a></li>
<li><a href="all.html">Browse everything ↗</a></li>
</ul>
</div>
<a class="c-menu-story" href="journal.html"
><img
src="images/collection.webp"
width="1120"
height="1120"
alt="Timber dining table with mismatched chairs"
loading="lazy"
/><span>A place at the table <span aria-hidden="true">↗</span></span
><small>Ideas for the rooms we share.</small></a
>
</div>
</div>
</details>
<a href="new.html">New arrivals</a><a href="journal.html">Journal</a
><a href="stores.html">Our stores</a><a class="c-bag" href="bag.html">Bag <span>(0)</span></a>
</nav>
</div>
</header>
Copy CSS .fct-serein-retail-header {
--ink: #252a27;
--muted: #5c655f;
--line: #c7ccc4;
--accent: #294c39;
background: #fff;
color: var(--ink);
font:
16px/1.55 Arial,
Helvetica,
sans-serif;
}
.fct-serein-retail-header,
.fct-serein-retail-header * {
box-sizing: border-box;
}
.fct-serein-retail-header :is(h2, h3, h4, p, ul, figure, dl, dd) {
margin: 0;
}
.fct-serein-retail-header :is(h2, h3, h4) {
font-weight: 400;
line-height: 1.1;
letter-spacing: -0.04em;
}
.fct-serein-retail-header a {
color: inherit;
text-underline-offset: 4px;
}
.fct-serein-retail-header :is(input, select, button) {
font: inherit;
color: inherit;
}
.fct-serein-retail-header :is(a, button, input, select, summary):focus-visible {
outline: 3px solid #a33d12;
outline-offset: 4px;
}
.fct-serein-retail-header .c-inner {
max-width: 1360px;
margin: auto;
padding: 50px clamp(20px, 4vw, 56px);
}
.fct-serein-retail-header .c-kicker {
font-size: 0.8125rem;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.fct-serein-retail-header .c-note {
font-size: 0.8125rem;
color: var(--muted);
}
.fct-serein-retail-header img {
display: block;
width: 100%;
height: auto;
}
.fct-serein-retail-header [hidden] {
display: none !important;
}
.fct-serein-retail-header .c-link {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
min-height: 44px;
text-decoration: none;
border-bottom: 1px solid currentColor;
padding-block: 10px;
}
.fct-serein-retail-header button {
min-height: 44px;
cursor: pointer;
}
.fct-serein-retail-header summary {
min-height: 44px;
align-content: center;
cursor: pointer;
}
.fct-serein-retail-header .c-visually-hidden {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
@media (max-width: 700px) {
.fct-serein-retail-header .c-inner {
padding-block: 32px;
}
}
.fct-serein-retail-header {
background: #f2f0e8;
position: relative;
z-index: 1;
}
.fct-serein-retail-header .c-service {
border-bottom: 1px solid #d8dbd1;
}
.fct-serein-retail-header .c-service .c-inner {
display: flex;
justify-content: end;
gap: 28px;
align-items: center;
padding-block: 5px;
font-size: 0.75rem;
}
.fct-serein-retail-header .c-service span {
margin-right: auto;
}
.fct-serein-retail-header .c-service a {
display: flex;
align-items: center;
min-height: 32px;
text-decoration: none;
}
.fct-serein-retail-header .c-header-main {
display: flex;
gap: 60px;
align-items: center;
padding-block: 23px;
position: relative;
}
.fct-serein-retail-header .c-brand {
font:
400 3.5rem/0.9 Georgia,
serif;
letter-spacing: -0.065em;
text-decoration: none;
flex: none;
min-height: 54px;
align-content: center;
}
.fct-serein-retail-header .c-brand > span {
color: #94613d;
}
.fct-serein-retail-header nav {
display: flex;
align-items: center;
gap: 30px;
flex: 1;
}
.fct-serein-retail-header nav > a {
display: flex;
align-items: center;
min-height: 48px;
text-decoration: none;
font-size: 0.9375rem;
}
.fct-serein-retail-header .c-bag {
margin-left: auto;
gap: 6px;
}
.fct-serein-retail-header .c-bag span {
font-size: 0.75rem;
}
.fct-serein-retail-header .c-shop > summary {
display: flex;
gap: 14px;
align-items: center;
list-style: none;
font-size: 0.9375rem;
min-height: 48px;
}
.fct-serein-retail-header .c-shop > summary::-webkit-details-marker {
display: none;
}
.fct-serein-retail-header .c-shop[open] > summary {
border-bottom: 1px solid #252a27;
}
.fct-serein-retail-header .c-mega {
position: absolute;
inset-inline: 0;
top: 100%;
border-top: 1px solid #c8cec0;
border-bottom: 1px solid #adb7a4;
background: #f2f0e8;
box-shadow: 0 15px 25px #25311e15;
}
.fct-serein-retail-header .c-mega-inner {
display: grid;
grid-template-columns: 0.8fr 0.8fr 1.3fr;
gap: 40px;
padding: 35px clamp(20px, 4vw, 56px) 40px;
}
.fct-serein-retail-header h2 {
font-size: 0.8125rem;
font-weight: 700;
letter-spacing: 0;
margin-bottom: 16px;
}
.fct-serein-retail-header ul {
list-style: none;
padding: 0;
display: grid;
gap: 2px;
}
.fct-serein-retail-header li a {
display: flex;
align-items: center;
min-height: 42px;
text-decoration: none;
font-size: 0.9375rem;
}
.fct-serein-retail-header li a:hover {
text-decoration: underline;
}
.fct-serein-retail-header .c-menu-story {
text-decoration: none;
min-width: 0;
}
.fct-serein-retail-header .c-menu-story img {
aspect-ratio: 1.8/1;
object-fit: cover;
max-height: 225px;
}
.fct-serein-retail-header .c-menu-story > span {
display: flex;
justify-content: space-between;
gap: 20px;
margin-top: 12px;
font-size: 0.9375rem;
}
.fct-serein-retail-header .c-menu-story small {
display: block;
font-size: 0.75rem;
color: var(--muted);
margin-top: 4px;
}
.fct-serein-retail-header .c-menu-button {
display: none;
background: transparent;
border: 0;
padding: 8px 0;
min-width: 80px;
justify-content: space-between;
align-items: center;
gap: 20px;
}
@media (max-width: 900px) {
.fct-serein-retail-header .c-header-main {
gap: 30px;
}
.fct-serein-retail-header nav {
gap: 20px;
}
}
@media (max-width: 700px) {
.fct-serein-retail-header .c-service .c-inner {
gap: 15px;
font-size: 0.6875rem;
}
.fct-serein-retail-header .c-service a:first-of-type {
display: none;
}
.fct-serein-retail-header .c-header-main {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding-block: 20px;
gap: 20px;
}
.fct-serein-retail-header .c-brand {
font-size: 3rem;
min-height: 48px;
}
.fct-serein-retail-header nav {
flex: 0 0 100%;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0;
}
.fct-serein-retail-header nav > a,
.fct-serein-retail-header .c-shop > summary {
border-top: 1px solid #c9cfc0;
min-height: 48px;
justify-content: space-between;
}
.fct-serein-retail-header .c-bag {
margin: 0;
}
.fct-serein-retail-header .c-mega {
position: static;
border: 0;
box-shadow: none;
}
.fct-serein-retail-header .c-mega-inner {
grid-template-columns: 1fr 1fr;
gap: 25px;
padding: 25px 0;
}
.fct-serein-retail-header .c-menu-story {
grid-column: 1/-1;
}
.fct-serein-retail-header .c-menu-story img {
max-height: 210px;
}
.fct-serein-retail-header.is-ready .c-menu-button {
display: flex;
}
.fct-serein-retail-header.is-ready nav {
display: none;
}
.fct-serein-retail-header.is-open nav {
display: flex;
}
.fct-serein-retail-header .c-shop[open] > summary {
border-bottom: 0;
}
}
Copy JavaScript (() => {
for (const root of document.querySelectorAll('[data-snippet="serein-retail-header"]')) {
if (root.dataset.initialized) continue;
root.dataset.initialized = "true";
const toggle = root.querySelector(".c-menu-button"),
shop = root.querySelector(".c-shop");
root.classList.add("is-ready");
const close = () => {
root.classList.remove("is-open");
toggle.setAttribute("aria-expanded", "false");
shop.open = false;
};
toggle.addEventListener("click", () => {
const open = toggle.getAttribute("aria-expanded") !== "true";
root.classList.toggle("is-open", open);
toggle.setAttribute("aria-expanded", String(open));
if (!open) shop.open = false;
});
root.addEventListener("keydown", (e) => {
if (e.key === "Escape") {
if (shop.open) {
shop.open = false;
shop.querySelector("summary").focus();
} else if (root.classList.contains("is-open")) {
close();
toggle.focus();
}
}
});
document.addEventListener("click", (e) => {
if (!root.contains(e.target)) shop.open = false;
});
const mq = matchMedia("(max-width:700px)");
mq.addEventListener("change", close);
}
})();
Copy Astro ---
// Original reusable section. Use unique IDs, selectors and radio names before duplicating.
---
<header class="fct-serein-retail-header" data-snippet="serein-retail-header">
<div class="c-service">
<div class="c-inner">
<span>Objects for everyday rooms.</span><a href="delivery.html">Delivery & returns</a
><a href="contact.html">Contact</a>
</div>
</div>
<div class="c-header-main c-inner">
<a class="c-brand" href="index.html" aria-label="Serein home"
>serein<span aria-hidden="true">.</span></a
><button
class="c-menu-button"
type="button"
aria-expanded="false"
aria-controls="fct-serein-retail-header-nav"
>
Menu <span aria-hidden="true">+</span>
</button>
<nav id="fct-serein-retail-header-nav" aria-label="Primary">
<details class="c-shop">
<summary>Shop <span aria-hidden="true">⌄</span></summary>
<div class="c-mega">
<div class="c-mega-inner">
<div>
<h2>For the home</h2>
<ul>
<li><a href="furniture.html">Furniture</a></li>
<li><a href="lighting.html">Lighting</a></li>
<li><a href="tableware.html">Tableware</a></li>
<li><a href="textiles.html">Textiles</a></li>
<li><a href="objects.html">Everyday objects</a></li>
</ul>
</div>
<div>
<h2>Find your room</h2>
<ul>
<li><a href="living.html">Living</a></li>
<li><a href="dining.html">Dining</a></li>
<li><a href="workspaces.html">Workspaces</a></li>
<li><a href="new.html">New arrivals</a></li>
<li><a href="all.html">Browse everything ↗</a></li>
</ul>
</div>
<a class="c-menu-story" href="journal.html"
><img
src="/snippet-assets/serein-retail-header/images/collection.webp"
width="1120"
height="1120"
alt="Timber dining table with mismatched chairs"
loading="lazy"
/><span>A place at the table <span aria-hidden="true">↗</span></span
><small>Ideas for the rooms we share.</small></a
>
</div>
</div>
</details>
<a href="new.html">New arrivals</a><a href="journal.html">Journal</a
><a href="stores.html">Our stores</a><a class="c-bag" href="bag.html">Bag <span>(0)</span></a>
</nav>
</div>
</header>
<style is:global>
.fct-serein-retail-header {
--ink: #252a27;
--muted: #5c655f;
--line: #c7ccc4;
--accent: #294c39;
background: #fff;
color: var(--ink);
font:
16px/1.55 Arial,
Helvetica,
sans-serif;
}
.fct-serein-retail-header,
.fct-serein-retail-header * {
box-sizing: border-box;
}
.fct-serein-retail-header :is(h2, h3, h4, p, ul, figure, dl, dd) {
margin: 0;
}
.fct-serein-retail-header :is(h2, h3, h4) {
font-weight: 400;
line-height: 1.1;
letter-spacing: -0.04em;
}
.fct-serein-retail-header a {
color: inherit;
text-underline-offset: 4px;
}
.fct-serein-retail-header :is(input, select, button) {
font: inherit;
color: inherit;
}
.fct-serein-retail-header :is(a, button, input, select, summary):focus-visible {
outline: 3px solid #a33d12;
outline-offset: 4px;
}
.fct-serein-retail-header .c-inner {
max-width: 1360px;
margin: auto;
padding: 50px clamp(20px, 4vw, 56px);
}
.fct-serein-retail-header .c-kicker {
font-size: 0.8125rem;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.fct-serein-retail-header .c-note {
font-size: 0.8125rem;
color: var(--muted);
}
.fct-serein-retail-header img {
display: block;
width: 100%;
height: auto;
}
.fct-serein-retail-header [hidden] {
display: none !important;
}
.fct-serein-retail-header .c-link {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
min-height: 44px;
text-decoration: none;
border-bottom: 1px solid currentColor;
padding-block: 10px;
}
.fct-serein-retail-header button {
min-height: 44px;
cursor: pointer;
}
.fct-serein-retail-header summary {
min-height: 44px;
align-content: center;
cursor: pointer;
}
.fct-serein-retail-header .c-visually-hidden {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
@media (max-width: 700px) {
.fct-serein-retail-header .c-inner {
padding-block: 32px;
}
}
.fct-serein-retail-header {
background: #f2f0e8;
position: relative;
z-index: 1;
}
.fct-serein-retail-header .c-service {
border-bottom: 1px solid #d8dbd1;
}
.fct-serein-retail-header .c-service .c-inner {
display: flex;
justify-content: end;
gap: 28px;
align-items: center;
padding-block: 5px;
font-size: 0.75rem;
}
.fct-serein-retail-header .c-service span {
margin-right: auto;
}
.fct-serein-retail-header .c-service a {
display: flex;
align-items: center;
min-height: 32px;
text-decoration: none;
}
.fct-serein-retail-header .c-header-main {
display: flex;
gap: 60px;
align-items: center;
padding-block: 23px;
position: relative;
}
.fct-serein-retail-header .c-brand {
font:
400 3.5rem/0.9 Georgia,
serif;
letter-spacing: -0.065em;
text-decoration: none;
flex: none;
min-height: 54px;
align-content: center;
}
.fct-serein-retail-header .c-brand > span {
color: #94613d;
}
.fct-serein-retail-header nav {
display: flex;
align-items: center;
gap: 30px;
flex: 1;
}
.fct-serein-retail-header nav > a {
display: flex;
align-items: center;
min-height: 48px;
text-decoration: none;
font-size: 0.9375rem;
}
.fct-serein-retail-header .c-bag {
margin-left: auto;
gap: 6px;
}
.fct-serein-retail-header .c-bag span {
font-size: 0.75rem;
}
.fct-serein-retail-header .c-shop > summary {
display: flex;
gap: 14px;
align-items: center;
list-style: none;
font-size: 0.9375rem;
min-height: 48px;
}
.fct-serein-retail-header .c-shop > summary::-webkit-details-marker {
display: none;
}
.fct-serein-retail-header .c-shop[open] > summary {
border-bottom: 1px solid #252a27;
}
.fct-serein-retail-header .c-mega {
position: absolute;
inset-inline: 0;
top: 100%;
border-top: 1px solid #c8cec0;
border-bottom: 1px solid #adb7a4;
background: #f2f0e8;
box-shadow: 0 15px 25px #25311e15;
}
.fct-serein-retail-header .c-mega-inner {
display: grid;
grid-template-columns: 0.8fr 0.8fr 1.3fr;
gap: 40px;
padding: 35px clamp(20px, 4vw, 56px) 40px;
}
.fct-serein-retail-header h2 {
font-size: 0.8125rem;
font-weight: 700;
letter-spacing: 0;
margin-bottom: 16px;
}
.fct-serein-retail-header ul {
list-style: none;
padding: 0;
display: grid;
gap: 2px;
}
.fct-serein-retail-header li a {
display: flex;
align-items: center;
min-height: 42px;
text-decoration: none;
font-size: 0.9375rem;
}
.fct-serein-retail-header li a:hover {
text-decoration: underline;
}
.fct-serein-retail-header .c-menu-story {
text-decoration: none;
min-width: 0;
}
.fct-serein-retail-header .c-menu-story img {
aspect-ratio: 1.8/1;
object-fit: cover;
max-height: 225px;
}
.fct-serein-retail-header .c-menu-story > span {
display: flex;
justify-content: space-between;
gap: 20px;
margin-top: 12px;
font-size: 0.9375rem;
}
.fct-serein-retail-header .c-menu-story small {
display: block;
font-size: 0.75rem;
color: var(--muted);
margin-top: 4px;
}
.fct-serein-retail-header .c-menu-button {
display: none;
background: transparent;
border: 0;
padding: 8px 0;
min-width: 80px;
justify-content: space-between;
align-items: center;
gap: 20px;
}
@media (max-width: 900px) {
.fct-serein-retail-header .c-header-main {
gap: 30px;
}
.fct-serein-retail-header nav {
gap: 20px;
}
}
@media (max-width: 700px) {
.fct-serein-retail-header .c-service .c-inner {
gap: 15px;
font-size: 0.6875rem;
}
.fct-serein-retail-header .c-service a:first-of-type {
display: none;
}
.fct-serein-retail-header .c-header-main {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding-block: 20px;
gap: 20px;
}
.fct-serein-retail-header .c-brand {
font-size: 3rem;
min-height: 48px;
}
.fct-serein-retail-header nav {
flex: 0 0 100%;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0;
}
.fct-serein-retail-header nav > a,
.fct-serein-retail-header .c-shop > summary {
border-top: 1px solid #c9cfc0;
min-height: 48px;
justify-content: space-between;
}
.fct-serein-retail-header .c-bag {
margin: 0;
}
.fct-serein-retail-header .c-mega {
position: static;
border: 0;
box-shadow: none;
}
.fct-serein-retail-header .c-mega-inner {
grid-template-columns: 1fr 1fr;
gap: 25px;
padding: 25px 0;
}
.fct-serein-retail-header .c-menu-story {
grid-column: 1/-1;
}
.fct-serein-retail-header .c-menu-story img {
max-height: 210px;
}
.fct-serein-retail-header.is-ready .c-menu-button {
display: flex;
}
.fct-serein-retail-header.is-ready nav {
display: none;
}
.fct-serein-retail-header.is-open nav {
display: flex;
}
.fct-serein-retail-header .c-shop[open] > summary {
border-bottom: 0;
}
}
</style>
<script is:inline>
(() => {
for (const root of document.querySelectorAll('[data-snippet="serein-retail-header"]')) {
if (root.dataset.initialized) continue;
root.dataset.initialized = "true";
const toggle = root.querySelector(".c-menu-button"),
shop = root.querySelector(".c-shop");
root.classList.add("is-ready");
const close = () => {
root.classList.remove("is-open");
toggle.setAttribute("aria-expanded", "false");
shop.open = false;
};
toggle.addEventListener("click", () => {
const open = toggle.getAttribute("aria-expanded") !== "true";
root.classList.toggle("is-open", open);
toggle.setAttribute("aria-expanded", String(open));
if (!open) shop.open = false;
});
root.addEventListener("keydown", (e) => {
if (e.key === "Escape") {
if (shop.open) {
shop.open = false;
shop.querySelector("summary").focus();
} else if (root.classList.contains("is-open")) {
close();
toggle.focus();
}
}
});
document.addEventListener("click", (e) => {
if (!root.contains(e.target)) shop.open = false;
});
const mq = matchMedia("(max-width:700px)");
mq.addEventListener("change", close);
}
})();
</script>
Code tabs need JavaScript. All source formats are included in the open downloads.
TAKE THE FILES Ready to adapt. Best for: Homeware shops, furniture stores and product-led retail websites.
Download HTML example 92.1 KB ZIP · no email required Download Astro component 90.3 KB ZIP · no email required
Dependencies System fonts, scoped CSS and vanilla JavaScript. No framework required.
Source size 10.2 KB before compression Build a custom header ↗
Where this design fits A small service row and clear wordmark sit above product navigation. The Shop disclosure groups browsing links and a licensed editorial image in one panel. Native details keep the collection menu usable without JavaScript; the mobile toggle is a progressive enhancement.
Grouped native mega-menu disclosure Mobile navigation with Escape and focus return Licensed editorial photo and no-JavaScript navigation The real-site reference MUJI online store ↗
MUJI separates broad product categories from grouped browsing links and utility navigation. Serein adapts that retail hierarchy with original homeware branding, a smaller menu and separate licensed photography. Reference inspected 2 November 2026. This example has its own branding, content and code; it is not affiliated with the reference product.
What is included The HTML ZIP includes a standalone demo, reusable markup, scoped CSS, its small JavaScript runtime, a license and setup notes. The Astro ZIP includes Snippet.astro, local sample images and image credits. It can be imported into an existing Astro page or layout.
Set the right destinations Example navigation, policy and contact links must point to your actual pages. Update visible business details and telephone/email links together. Remove sections that your website does not need.
Add it to an HTML website Copy snippet.html into the relevant page section. Load snippet.css after your existing site stylesheet. The class prefix identifies this design. Load snippet.js once with defer. Keep the included keyboard behavior when adapting interactions. Replace example content and check mobile widths, zoom, links and keyboard focus in your actual website. Use it in Astro Copy Snippet.astro into src/components/, import it into your page or shared layout, and insert the component where the section belongs. Copy images into public/snippet-assets/serein-retail-header/images; the component uses that public path. Keep each generated prefix unique if you duplicate a component on one page.
Keep the section maintainable Start with the variables at the top of the CSS for background, text and accent colors. Preserve semantic labels and focus styles. Existing site selectors can still affect imported markup, so test the combined result. Read the complete setup notes .