
.mp-box.mp-box-white.notop {

border-top:0;

margin-top:66px;

}

.stickytop .main-cat-list > li { 

line-height:25px;

}


.mp-box.mp-box-white {
	
background:#fff;
min-height:30px;
border-top:1px #dddddd solid;
border-bottom:1px #dddddd solid;
	
}


.mp-box {
	
background:#f7f7f7;

margin:0 auto;

position: relative;
	
}


.mp-box .box-row {

max-width:1308px;
width:100%;

margin:0 auto;

position:relative;

box-sizing:border-box;

}

.main-cat-list.active {
	
opacity:1;
	
}


.main-cat-list {

	position: relative;
	margin: 6px -12px 0 -12px;
	opacity:1;
	/* Flex + horizontal scroll instead of float-wrap: on any viewport
	   narrower than the featured-category list's natural width, items
	   now scroll sideways in one row instead of wrapping onto a second
	   row (the old float:left behavior once the fixed 1308px box-row
	   above went fluid). */
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.main-cat-list::-webkit-scrollbar {
	display: none;
}


.main-cat-list > li {

list-style:none;
height:30px;
line-height:28px;
color:#303030;
white-space:nowrap;
position:relative;
cursor:default;
flex: 0 0 auto;
border:1px transparent solid;
border-radius: 3px 3px 0 0;

}

.main-cat-list > li > a {
	
display: inline-block;

padding:0 10px;


	
}


.main-cat-list > li .menu-cont {

background-color:#fff;

/* position:fixed (not absolute) is load-bearing, not a style choice:
   ul.main-cat-list has overflow-x:auto (added so the featured-category
   row scrolls sideways instead of wrapping on narrower desktop
   viewports - see the comment on .main-cat-list below). Per the CSS
   overflow spec, setting only overflow-x forces the computed overflow-y
   to 'auto' too (confirmed live: getComputedStyle(ul).overflowY is
   'auto' even though only overflow-x is authored) - so with
   position:absolute here, this dropdown was silently clipped to
   nothing the instant it tried to extend below ul's own ~30px-tall box,
   which is what actually made the promotional banner look like it was
   "covering" the dropdown (the dropdown just never painted at all, and
   the banner sits immediately below in normal flow - confirmed by
   screenshot and elementFromPoint() hit-testing before this fix).
   position:fixed's containing block is the viewport, not ul, so it is
   never subject to ul's clip - top/left are computed and kept in sync
   with the hovered/focused <li> by the small script at the bottom of
   includes/category_nav.php (a fixed-position box has no flow-based
   static position to fall back on the way absolute did against <li>,
   so JS sets them explicitly instead of relying on left:-1px + implicit
   top). z-index:10 is unchanged and was never actually the problem -
   it's kept only because removing it would be an unrelated, unnecessary
   change. */
position: fixed;

z-index:10;

/* visibility (not display:none) so opacity/transform can actually
   transition on open - a display:none->block flip paints instantly with
   no transition possible. visibility:hidden still fully blocks pointer
   events/hit-testing while closed, same as display:none did. Width stays
   an instant 0/auto swap (not transitioned) - GPU-friendly properties
   only (opacity/transform), per the site's animation guidelines. */
visibility:hidden;
opacity:0;
transform:translateY(-6px);
transition:opacity .16s ease, transform .16s ease, visibility .16s;

width:0;

border:1px #dddddd solid;

box-sizing:border-box;

padding: 15px 0;

border-radius: 0 3px 3px 3px;

}

.main-cat-list > li .menu-cont ul {
	
display:inline-block;

vertical-align:top;

padding:0 11px;

box-sizing:border-box;


	
}

.main-cat-list > li .menu-cont ul:first-child {
	
	border-right: 1px #dddddd solid;
	
}


.main-cat-list > li .menu-cont li {
	
line-height: 16px;

display:block;

white-space:nowrap;
	
text-align:left;

max-width: 240px;	

overflow: hidden;
	
}

.main-cat-list > li .menu-cont li:first-child a {
	
	padding-top:0;
	
	
}

.main-cat-list > li .menu-cont li a {
	
color: var(--brand-green);

display:block;
	
padding:10px 15px 0 0;

overflow:hidden;

white-space: nowrap;

text-overflow: ellipsis;

	
}

.main-cat-list > li .menu-cont li a:hover {
	
	text-decoration:underline;
	
}


.main-cat-list > li a {
	
font-weight:400;

color:#555555;
	
}

.main-cat-list > li a:hover {
	
	text-decoration:none;
	
}


.main-cat-list > li:hover,
.main-cat-list > li:active {

border:1px #dddddd solid;

color: var(--brand-green);

box-shadow : 0 1px 3px 0 #dddddd;


}


.main-cat-list > li:hover > a {

	color: var(--brand-green);

}

/* Homepage-only accent (body.roladel-home is set exclusively by
   index.php, which is only ever the homepage) - a subtle green
   underline on hover/active, on top of the sitewide black hover above,
   without touching this shared component's default look on every other
   page that includes it via includes/header.php. */
body.roladel-home .main-cat-list > li:hover,
body.roladel-home .main-cat-list > li:active {
	border-color: var(--home-accent-green);
	box-shadow: inset 0 -2px 0 var(--home-accent-green);
}

body.roladel-home .main-cat-list > li:hover > a {
	color: var(--home-accent-green);
}



.main-cat-list > li:hover .menu-cont {

	visibility:visible;
	opacity:1;
	transform:translateY(0);

	width:auto;

}
a {
    text-decoration: none !important;
}












/* The category list already scrolls sideways inside itself; its -12px side
   margins pushed it 12px past the window on desktops up to ~1320px wide,
   making the whole page scroll sideways. No negative margins there. */
@media (max-width: 1320px) {
	.main-cat-list {
		margin-left: 0;
		margin-right: 0;
	}
}
