.cosmod-header {
--cosmod-bg: #000;
--cosmod-fg: #fff;
--cosmod-search-bg: #ececec;
--cosmod-search-ph: #888;
--cosmod-badge: #fff;
--cosmod-badge-fg: #000;
background: var(--cosmod-bg);
color: var(--cosmod-fg);
font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
position: relative;
z-index: 200;
width: 100%;
}
.cosmod-header__inner {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: start;
gap: 22px 36px;
max-width: 1760px;
width: 100%;
margin: 0 auto;
padding: 22px 40px 14px;
box-sizing: border-box;
}
.cosmod-logo {
display: inline-flex;
align-items: center;
text-decoration: none;
line-height: 0;
padding-top: 2px;
flex-shrink: 0;
}
.cosmod-logo img {
display: block;
height: 48px;
width: auto;
max-width: 220px;
object-fit: contain;
}
.cosmod-logo:hover {
opacity: 0.92;
}
.cosmod-header__center {
display: flex;
flex-direction: column;
gap: 10px;
min-width: 0;
padding-top: 2px;
}
.cosmod-search {
width: 100%;
} .cosmod-search .dgwt-wcas-search-wrapp,
.cosmod-search .dgwt-wcas-sf-wrapp {
max-width: 100% !important;
}
.cosmod-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.cosmod-search .dgwt-wcas-search-input {
border-radius: 999px !important;
background: var(--cosmod-search-bg) !important;
border: 0 !important;
height: 50px !important;
padding-left: 44px !important;
font-size: 15px !important;
box-shadow: none !important;
}
.cosmod-search .dgwt-wcas-ico-magnifier,
.cosmod-search .dgwt-wcas-ico-magnifier-handler {
left: 14px !important;
}
.cosmod-search-fallback {
display: flex;
align-items: center;
gap: 8px;
background: var(--cosmod-search-bg);
border-radius: 999px;
padding: 0 16px 0 14px;
height: 50px;
margin: 0;
}
.cosmod-search-fallback__btn {
border: 0;
background: none;
padding: 0;
color: #555;
display: flex;
cursor: pointer;
}
.cosmod-search-fallback input {
flex: 1;
border: 0;
background: transparent;
font-size: 15px;
font-family: inherit;
outline: none;
color: #222;
min-width: 0;
}
.cosmod-search-fallback input::placeholder {
color: var(--cosmod-search-ph);
}
.cosmod-nav-slot .cmm-nav {
width: 100%;
}
.cosmod-nav-slot .cmm-menu {
gap: 10px 28px;
justify-content: flex-start;
flex-wrap: wrap;
padding: 4px 0 2px;
}
.cosmod-nav-slot .cmm-item > a {
padding: 12px 12px;
font-size: 18px;
font-weight: 700;
letter-spacing: 0.01em;
gap: 8px;
}
.cosmod-nav-slot .cmm-caret {
font-size: 15px;
line-height: 1;
display: inline-block;
}
.cosmod-nav-slot .cmm-burger {
display: none !important;
}
.cosmod-header__actions {
display: flex;
align-items: center;
gap: 14px;
padding-top: 8px;
flex-shrink: 0;
}
.cosmod-header__actions .cosmod-lang {
order: 4;
margin-left: 6px;
}
.cosmod-header__actions .cosmod-account {
order: 1;
}
.cosmod-header__actions .cosmod-cart {
order: 2;
}
.cosmod-header__actions .cosmod-wishlist {
order: 3;
}
.cosmod-header__actions .cosmod-wishlist-wrap {
order: 3;
}
.cosmod-icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
color: #fff;
text-decoration: none;
position: relative;
width: 36px;
height: 36px;
border: 0;
background: none;
padding: 0;
cursor: pointer;
font: inherit;
border-radius: 4px;
transition: opacity 0.15s ease;
}
.cosmod-icon-btn:hover {
opacity: 0.75;
color: #fff;
}
.cosmod-cart__badge {
position: absolute;
top: 0;
right: -2px;
min-width: 16px;
height: 16px;
padding: 0 4px;
border-radius: 999px;
background: var(--cosmod-badge);
color: var(--cosmod-badge-fg);
font-size: 10px;
font-weight: 700;
line-height: 16px;
text-align: center;
}
.cosmod-cart__badge[data-cosmod-cart-count="0"] {
display: none;
}
.cosmod-wishlist__badge {
position: absolute;
top: 0;
right: -2px;
min-width: 16px;
height: 16px;
padding: 0 4px;
border-radius: 999px;
background: var(--cosmod-badge, #fff);
color: var(--cosmod-badge-fg, #000);
font-size: 10px;
font-weight: 700;
line-height: 16px;
text-align: center;
}
.cosmod-wishlist__badge[data-cosmod-wishlist-count="0"],
.cosmod-wishlist__badge[hidden] {
display: none;
} .cosmod-wishlist-wrap {
position: relative;
display: inline-flex;
align-items: center;
order: 3;
}
.cosmod-header__actions .cosmod-wishlist-wrap .cosmod-wishlist {
order: unset;
}
.cosmod-wishlist-dock {
position: absolute;
top: calc(100% + 10px);
right: 0;
z-index: 10050;
display: block;
padding: 0;
pointer-events: none;
background: none;
animation: cosmod-wish-dock-in 0.18s ease;
white-space: nowrap;
}
.cosmod-wishlist-dock[hidden] {
display: none !important;
}
.cosmod-wishlist-dock__btn {
pointer-events: auto;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
padding: 10px 18px;
border-radius: 999px;
background: #000 !important;
color: #fff !important;
font-size: 13px;
font-weight: 600;
text-decoration: none !important;
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.cosmod-wishlist-dock__btn:hover {
background: #111 !important;
color: #fff !important;
}
@keyframes cosmod-wish-dock-in {
from {
opacity: 0;
transform: translateY(-6px);
}
to {
opacity: 1;
transform: translateY(0);
}
} .cosmod-lang {
position: relative;
}
.cosmod-lang__toggle {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
width: 32px;
height: 32px;
border: 0;
border-radius: 50%;
background: #fff;
color: #000;
cursor: pointer;
padding: 0;
font-family: inherit;
line-height: 1;
}
.cosmod-lang__flag {
display: none;
line-height: 0;
}
.cosmod-lang__flag img,
.cosmod-lang__flag-svg {
display: block;
width: 22px;
height: 15px;
object-fit: cover;
border-radius: 2px;
}
.cosmod-lang__caret {
display: none;
width: 0;
height: 0;
border-left: 3.5px solid transparent;
border-right: 3.5px solid transparent;
border-top: 4.5px solid #fff;
margin-top: 1px;
}
.cosmod-lang__toggle .cosmod-lang__code {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
color: #000;
text-transform: uppercase;
}
.cosmod-lang__toggle:hover {
background: #f0f0f0;
}
.cosmod-lang__menu {
list-style: none;
margin: 0;
padding: 6px 0;
position: absolute;
top: calc(100% + 6px);
right: 0;
min-width: 88px;
background: #111;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 4px;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
display: none;
z-index: 400;
}
.cosmod-lang[data-open="true"] .cosmod-lang__menu {
display: block;
}
.cosmod-lang__menu li {
margin: 0;
}
.cosmod-lang__menu a {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 8px 12px;
color: #fff;
text-decoration: none;
font-size: 12px;
font-weight: 600;
}
.cosmod-lang__menu a:hover,
.cosmod-lang__menu .current-lang a {
background: rgba(255, 255, 255, 0.08);
}
.cosmod-lang__menu .cosmod-lang__flag {
display: inline-flex;
}
.cosmod-lang__menu .cosmod-lang__code {
color: #fff;
font-size: 12px;
font-weight: 700;
} @media (max-width: 960px) {
.cosmod-header {
overflow: visible;
}
.cosmod-header__inner {
grid-template-columns: auto auto minmax(0, 1fr);
grid-template-areas:
"burger logo actions"
"center center center";
align-items: center;
column-gap: 10px;
row-gap: 12px;
padding: 10px 12px 12px;
overflow: visible;
}
.cosmod-menu-toggle {
display: inline-flex;
grid-area: burger;
width: 26px;
min-width: 26px;
padding: 4px 0;
gap: 0;
flex-shrink: 0;
justify-self: start;
}
.cosmod-menu-toggle span {
height: 2px;
margin: 3.5px 0;
border-radius: 1px;
}
.cosmod-logo {
grid-area: logo;
padding-top: 0;
justify-self: start;
min-width: 0;
max-width: 132px;
}
.cosmod-logo img {
height: 26px;
max-width: 132px;
width: auto;
}
.cosmod-header__actions {
grid-area: actions;
padding-top: 0;
gap: 2px;
justify-self: end;
justify-content: flex-end;
align-items: center;
flex-shrink: 0;
min-width: 0;
} .cosmod-header__actions .cosmod-account {
order: 1;
flex-shrink: 0;
}
.cosmod-header__actions .cosmod-wishlist {
order: 2;
display: inline-flex !important;
flex-shrink: 0;
position: relative;
}
.cosmod-header__actions .cosmod-wishlist-wrap {
order: 2;
flex-shrink: 0;
position: relative;
left: auto;
}
.cosmod-header__actions .cosmod-cart {
order: 3;
flex-shrink: 0;
position: relative;
left: auto;
margin-right: 0;
}
.cosmod-header__actions .cosmod-lang {
order: 4;
margin-left: 6px;
margin-right: 0;
flex-shrink: 0;
}
.cosmod-header__center {
grid-area: center;
padding-top: 0;
gap: 0;
}
.cosmod-nav-slot {
display: none !important;
}
.cosmod-icon-btn {
width: 34px;
height: 34px;
}
.cosmod-icon-btn svg {
width: 22px;
height: 22px;
stroke-width: 1.85;
} .cosmod-lang__toggle {
width: 26px;
height: 26px;
min-width: 26px;
min-height: 26px;
padding: 0;
border-radius: 50%;
background: #fff;
gap: 0;
flex-shrink: 0;
}
.cosmod-lang__toggle:hover {
background: #f0f0f0;
opacity: 1;
}
.cosmod-lang__toggle .cosmod-lang__code {
display: inline;
font-size: 10px;
font-weight: 700;
color: #000;
}
.cosmod-lang__toggle .cosmod-lang__flag,
.cosmod-lang__toggle .cosmod-lang__caret {
display: none;
}
.cosmod-lang__menu {
right: 0;
min-width: 100px;
}
.cosmod-cart__badge,
.cosmod-wishlist__badge {
top: 1px;
right: 1px;
min-width: 15px;
height: 15px;
line-height: 15px;
font-size: 9px;
font-weight: 700;
padding: 0 3px;
background: #fff;
color: #000;
z-index: 2;
} .cosmod-search-fallback {
height: 42px;
background: #ebebeb;
border-radius: 999px;
padding: 0 16px 0 14px;
}
.cosmod-search-fallback__btn {
color: #555;
}
.cosmod-search-fallback input {
font-size: 14px;
}
.cosmod-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.cosmod-search .dgwt-wcas-search-input {
height: 42px !important;
border-radius: 999px !important;
background: #ebebeb !important;
font-size: 14px !important;
}
} .cosmod-header__actions { gap: 12px; align-items: center; }.cosmod-header__actions .cosmod-icon-btn { width: 38px; height: 38px; }.cosmod-header__actions .cosmod-icon-btn svg { display: block; width: 23px !important; height: 23px !important; flex: 0 0 23px; }@media (max-width: 960px) {  .cosmod-header__actions { gap: 6px; }  .cosmod-header__actions .cosmod-icon-btn { width: 34px; height: 34px; }  .cosmod-header__actions .cosmod-icon-btn svg { width: 23px !important; height: 23px !important; flex-basis: 23px; }} @media (min-width: 961px) {
.cosmod-header__actions { gap: 12px; }
.cosmod-header__actions .cosmod-icon-btn { width: 38px; height: 38px; }
.cosmod-header__actions .cosmod-icon-btn svg { display: block; width: 23px !important; height: 23px !important; flex: 0 0 23px; }
.cosmod-header__actions .cosmod-account svg,
.cosmod-header__actions .cosmod-wishlist svg { width: 28px !important; height: 28px !important; flex-basis: 28px; }
}
@media (max-width: 960px) {
.cosmod-header__actions { gap: 2px; }
.cosmod-header__actions .cosmod-icon-btn { width: 34px; height: 34px; }
.cosmod-header__actions .cosmod-icon-btn svg { width: 22px !important; height: 22px !important; flex-basis: 22px; }
} @media (min-width: 961px) {
.cosmod-header .cosmod-nav-slot .cmm-nav { width: 100%; max-width: 100%; }
.cosmod-header .cosmod-nav-slot .cmm-menu { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; gap: 0 !important; margin: 0; padding: 0; }
.cosmod-header .cosmod-nav-slot .cmm-menu > .cmm-item { min-width: 0; margin: 0; }
.cosmod-header .cosmod-nav-slot .cmm-menu > .cmm-item > a { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; padding-left: 3px !important; padding-right: 3px !important; text-align: center; white-space: normal !important; min-height: 38px; }
} @media (min-width: 961px) {
.cosmod-header .cosmod-nav-slot .cmm-menu > .cmm-item > a { white-space: nowrap !important; font-size: clamp(10px, .95vw, 14px) !important; letter-spacing: 0 !important; gap: 3px !important; }
}