```
```css
/* نوار اصلی منو */
.zhomeh-menu {
width: 100%;
background: #ffffff;
font-family: inherit;
position: relative;
z-index: 999;
border-bottom: 1px solid #eeeeea;
}
.zhomeh-nav {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 30px;
list-style: none;
padding: 0 20px;
margin: 0;
}
.z-item {
position: static;
}
.z-item > a {
display: flex;
align-items: center;
min-height: 55px;
color: #353b33;
font-size: 14px;
font-weight: 500;
text-decoration: none;
white-space: nowrap;
transition: color 0.2s ease;
}
.z-item:hover > a,
.z-item:focus-within > a {
color: #82917b;
}
/* زیرمنوی چندستونه */
.z-mega {
position: absolute;
top: 100%;
right: 0;
left: 0;
width: 100%;
padding: 28px 35px;
background: #ffffff;
border-top: 2px solid #A6B1A0;
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 25px;
visibility: hidden;
opacity: 0;
transform: translateY(8px);
pointer-events: none;
transition: opacity 0.2s ease, transform 0.2s ease,
visibility 0.2s ease;
}
/* نمایش زیرمنو با حرکت موس یا فوکوس کیبورد */
.z-item:hover > .z-mega,
.z-item:focus-within > .z-mega {
visibility: visible;
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}
/* ستونهای زیرمنو */
.z-column {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 13px;
}
.z-column h4 {
color: #596b54;
font-size: 14px;
font-weight: 700;
margin: 0 0 5px;
padding-bottom: 10px;
border-bottom: 1px solid #e9ede6;
width: 100%;
}
.z-column a {
color: #666b64;
font-size: 13px;
text-decoration: none;
transition: color 0.2s ease, padding 0.2s ease;
}
.z-column a:hover {
color: #82917b;
padding-right: 5px;
}
/* دسته تخفیف */
.z-item.z-sale > a {
color: #bd6d60;
font-weight: 700;
}
/* نمایش در تبلت */
@media (max-width: 1024px) {
.zhomeh-nav {
gap: 18px;
overflow-x: auto;
}
.z-mega {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}
}
/* موبایل */
@media (max-width: 767px) {
.zhomeh-nav {
gap: 20px;
overflow-x: auto;
white-space: nowrap;
scrollbar-width: none;
}
.zhomeh-nav::-webkit-scrollbar {
display: none;
}
.z-item > a {
min-height: 48px;
font-size: 13px;
}
.z-mega {
grid-template-columns: repeat(2, minmax(0, 1fr));
padding: 20px;
gap: 20px;
}
.z-column h4 {
font-size: 13px;
}
.z-column a {
font-size: 12px;
}
}
```