/*
* JCB24 custom override: desktop category mega menu.
* This presentation layer is intentionally separated from native Topaz styles.
* Integration point: elements/header/header-2.html (.as-megaMenu).
*/
.as-megaMenu__groupIcon,
.as-megaMenu__groupArrow,
.as-megaMenu__ctaPrefix,
.as-megaMenu__ctaArrow {
display: none;
}
@media screen and (min-width: 769px) {
.headerSection .openCategoryMenu-js.activeButton-js::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 2px;
background: #ffb600;
content: "";
}
.headerSection .as-megaMenu.mainNavigation__links {
--as-menu-accent: #ffb600;
--as-menu-ink: #171717;
--as-menu-text: #454545;
box-sizing: border-box;
width: min(1380px, calc(100vw - 32px));
min-width: min(1380px, calc(100vw - 32px));
max-width: calc(100vw - 32px);
padding: clamp(34px, 3vw, 44px) clamp(30px, 3.2vw, 46px) clamp(34px, 3vw, 44px);
overflow-y: auto;
border: 1px solid rgba(18, 24, 28, 0.08);
border-radius: 12px;
background: #fff;
background-clip: padding-box;
box-shadow: 0 18px 55px rgba(18, 24, 28, 0.14);
}
.headerSection .as-megaMenu.mainNavigation__links .mainNavigation__categories {
display: flex;
align-items: flex-start;
gap: clamp(30px, 2.6vw, 38px);
}
.headerSection .as-megaMenu.mainNavigation__links .mainNavigation__categories > ul {
display: block;
flex: 1 1 auto;
align-self: flex-start;
width: auto;
min-width: 0;
}
.headerSection .as-megaMenu.mainNavigation__links .mainNavigation__categories > ul > .as-megaMenu__root {
position: relative;
display: flex;
flex-direction: column;
width: auto;
margin: 0;
padding: clamp(102px, 8.5vw, 128px) 0 0;
}
.as-megaMenu__watermark {
position: absolute;
z-index: 0;
top: 0;
left: 0;
max-width: 100%;
overflow: hidden;
color: #192025;
font-size: clamp(76px, 7.2vw, 108px);
font-weight: 600;
letter-spacing: -0.045em;
line-height: 0.92;
opacity: 0.05;
pointer-events: none;
text-align: left;
text-transform: uppercase;
user-select: none;
white-space: nowrap;
word-break: normal;
overflow-wrap: normal;
}
.as-megaMenu__rootHeader,
.as-megaMenu__groups {
position: relative;
z-index: 1;
}
.as-megaMenu .as-megaMenu__groups {
order: 1;
display: block;
width: 100%;
margin: 0;
padding: 0;
column-width: 200px;
column-gap: clamp(28px, 2.8vw, 40px);
column-fill: balance;
list-style: none;
}
.headerSection .as-megaMenu .as-megaMenu__groups > .as-megaMenu__group {
display: block;
break-inside: avoid;
box-sizing: border-box;
width: 100%;
min-width: 0;
margin: 0 0 clamp(24px, 2.2vw, 30px);
padding: 0;
}
.as-megaMenu .as-megaMenu__group > .mainNavigation__undercategory {
display: block;
box-sizing: border-box;
width: 100%;
min-width: 0;
}
.as-megaMenu .as-megaMenu__group > .mainNavigation__undercategory > a {
display: flex;
align-items: start;
box-sizing: border-box;
width: 100%;
min-width: 0;
max-width: 100%;
color: var(--as-menu-ink);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.015em;
line-height: 1.35;
text-decoration: none;
text-transform: uppercase;
word-break: normal;
overflow-wrap: normal;
transition: color 160ms ease;
}
.as-megaMenu .as-megaMenu__groupIcon,
.as-megaMenu .as-megaMenu__groupArrow {
display: block;
color: var(--as-menu-accent);
fill: currentColor;
stroke: none;
}
.as-megaMenu .as-megaMenu__groupIcon--custom {
fill: none;
stroke: currentColor;
}
.as-megaMenu .as-megaMenu__groupIcon {
flex: 0 0 24px;
width: 24px;
height: 24px;
margin: -2px 14px 0 0;
}
.as-megaMenu .as-megaMenu__groupArrow {
flex: 0 0 14px;
width: 14px;
height: 14px;
margin: 2px 0 0 10px;
transition: transform 160ms ease;
}
.as-megaMenu .as-megaMenu__group > .mainNavigation__undercategory > a > .as-megaMenu__groupTitle {
display: block;
flex: 0 1 auto;
width: auto;
min-width: 0;
max-width: 100%;
padding: 0;
border: 0;
white-space: normal;
word-break: normal;
overflow-wrap: normal;
}
.as-megaMenu .as-megaMenu__group > .mainNavigation__undercategory > a:hover,
.as-megaMenu .as-megaMenu__group > .mainNavigation__undercategory > a:focus {
color: #000;
}
.as-megaMenu .as-megaMenu__group > .mainNavigation__undercategory > a:hover .as-megaMenu__groupArrow,
.as-megaMenu .as-megaMenu__group > .mainNavigation__undercategory > a:focus .as-megaMenu__groupArrow {
transform: translateX(3px);
}
.as-megaMenu .as-megaMenu__group > ul {
margin: 14px 0 0 36px;
padding: 0;
list-style: none;
}
.headerSection .as-megaMenu .as-megaMenu__groups > .as-megaMenu__group > ul > .as-megaMenu__child {
margin: 0;
padding: 0 0 9px;
}
.headerSection .as-megaMenu .as-megaMenu__groups > .as-megaMenu__group > ul > .as-megaMenu__child:last-child {
padding-bottom: 0;
}
.as-megaMenu .as-megaMenu__child .mainNavigation__underundercategory,
.as-megaMenu .as-megaMenu__child .mainNavigation__underundercategory > a {
display: block;
width: auto;
}
.as-megaMenu .as-megaMenu__child .mainNavigation__underundercategory > a {
color: var(--as-menu-text);
font-size: 13.5px;
font-weight: 400;
line-height: 1.45;
text-decoration: none;
text-transform: none;
transition: color 160ms ease, transform 160ms ease;
}
.as-megaMenu .as-megaMenu__child .mainNavigation__underundercategory > a > span {
padding: 0;
border: 0;
}
.as-megaMenu .as-megaMenu__child .mainNavigation__underundercategory > a:hover,
.as-megaMenu .as-megaMenu__child .mainNavigation__underundercategory > a:focus {
color: #0b0b0b;
transform: translateX(2px);
}
.as-megaMenu .as-megaMenu__rootHeader {
display: flex;
order: 2;
justify-content: flex-start;
margin: clamp(8px, 1vw, 12px) 0 0;
}
.as-megaMenu .as-megaMenu__rootLink.mainNavigation__category {
display: inline-flex;
width: auto;
max-width: 100%;
margin: 0;
}
.as-megaMenu .as-megaMenu__rootLink.mainNavigation__category > a {
position: relative;
display: inline-flex;
align-items: center;
width: auto;
max-width: 100%;
padding: 0 0 10px;
color: var(--as-menu-ink);
font-size: 14px;
font-weight: 700;
letter-spacing: 0.02em;
line-height: 1.4;
text-decoration: none;
text-transform: uppercase;
transition: color 160ms ease;
}
.as-megaMenu .as-megaMenu__rootLink.mainNavigation__category > a::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 2px;
background: var(--as-menu-accent);
content: "";
}
.as-megaMenu .as-megaMenu__rootLink.mainNavigation__category > a > img {
display: none;
}
.as-megaMenu .as-megaMenu__ctaPrefix,
.as-megaMenu .as-megaMenu__ctaArrow {
display: inline-block;
}
.as-megaMenu .as-megaMenu__ctaPrefix {
margin-right: 0.35em;
}
.as-megaMenu .as-megaMenu__ctaArrow {
flex: 0 0 16px;
width: 16px;
height: 16px;
margin-left: 14px;
color: var(--as-menu-accent);
fill: none;
transition: transform 160ms ease;
}
.as-megaMenu .as-megaMenu__rootLink.mainNavigation__category > a:hover,
.as-megaMenu .as-megaMenu__rootLink.mainNavigation__category > a:focus {
color: #000;
}
.as-megaMenu .as-megaMenu__rootLink.mainNavigation__category > a:hover .as-megaMenu__ctaArrow,
.as-megaMenu .as-megaMenu__rootLink.mainNavigation__category > a:focus .as-megaMenu__ctaArrow {
transform: translateX(3px);
}
.headerSection .as-megaMenu.mainNavigation__links .mainNavigation__image {
display: block;
flex: 0 0 clamp(225px, 19vw, 270px);
align-self: flex-start;
width: auto;
min-width: 0;
height: auto;
min-height: 0;
margin: 0;
overflow: hidden;
border-radius: 12px;
background: #080b0e;
box-shadow: 0 12px 30px rgba(8, 11, 14, 0.18);
aspect-ratio: auto;
}
.as-megaMenu .as-megaMenu__promoCard {
display: flex;
flex-direction: column;
width: 100%;
min-height: clamp(450px, 35vw, 530px);
overflow: hidden;
border-radius: inherit;
color: #fff;
background: #080b0e;
text-decoration: none;
}
.as-megaMenu .as-megaMenu__promoCard--imageOnly {
min-height: clamp(320px, 27vw, 410px);
}
.headerSection .as-megaMenu.mainNavigation__links .mainNavigation__image .as-megaMenu__promoContent {
position: relative;
z-index: 1;
top: auto;
right: auto;
left: auto;
max-height: none;
padding: clamp(30px, 2.7vw, 40px) clamp(24px, 2.4vw, 34px) 20px;
}
.as-megaMenu .as-megaMenu__promoHeading,
.as-megaMenu .as-megaMenu__promoTitle,
.as-megaMenu .as-megaMenu__promoText {
margin: 0;
padding: 0;
}
.as-megaMenu .as-megaMenu__promoHeading {
color: #fff;
font-size: clamp(16px, 1.35vw, 19px);
font-weight: 700;
letter-spacing: 0.015em;
line-height: 1.25;
text-transform: uppercase;
}
.as-megaMenu .as-megaMenu__promoTitle {
margin-top: 4px;
color: var(--as-menu-accent);
font-size: clamp(18px, 1.55vw, 22px);
font-weight: 700;
letter-spacing: 0.01em;
line-height: 1.25;
text-transform: uppercase;
}
.as-megaMenu .as-megaMenu__promoText {
margin-top: 20px;
color: #d5d8da;
font-size: 13.5px;
font-weight: 400;
line-height: 1.55;
}
.as-megaMenu .as-megaMenu__promoMedia {
display: block;
flex: 1 1 230px;
min-height: 220px;
margin-top: auto;
overflow: hidden;
background: #080b0e;
}
.as-megaMenu .as-megaMenu__promoCard--imageOnly .as-megaMenu__promoMedia {
min-height: 320px;
}
.headerSection .as-megaMenu.mainNavigation__links .mainNavigation__image .as-megaMenu__promoMedia img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center bottom;
}
}
@media screen and (min-width: 769px) and (max-width: 1199px) {
.headerSection .as-megaMenu.mainNavigation__links {
padding-right: 30px;
padding-left: 30px;
}
.headerSection .as-megaMenu.mainNavigation__links .mainNavigation__categories {
gap: 28px;
}
.as-megaMenu .as-megaMenu__groups {
column-gap: 28px;
}
.headerSection .as-megaMenu.mainNavigation__links .mainNavigation__image {
flex-basis: clamp(190px, 18vw, 215px);
}
.as-megaMenu .as-megaMenu__promoCard {
min-height: 430px;
}
.headerSection .as-megaMenu.mainNavigation__links .mainNavigation__image .as-megaMenu__promoContent {
padding: 28px 24px 18px;
}
}