:root {
--header-height: 80px;
--header-height-stacked: 120px;
}
.header-placeholder {
height: var(--header-height);
}
.header-layout-stacked .header-placeholder,
.header-layout-stacked-centered .header-placeholder,
.header-layout-centered .header-placeholder {
height: var(--header-height-stacked);
}
.site-header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: var(--header-bg, #ffffff);
box-shadow: 0 1px 3px rgba(0,0,0,0.06);
z-index: 1000;
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: none;
} .header-layout-centered .site-header {
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.site-header:not(.sticky-header) {
position: relative;
} .header-layout-centered .site-header,
.header-layout-centered .site-header:not(.sticky-header) {
position: fixed !important;
}
.site-header:not(.sticky-header) + .header-placeholder {
display: none;
} .header-layout-centered .header-placeholder {
display: block !important;
}
.site-header.scrolled {
box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.site-header.hidden {
transform: translateY(-100%);
} .header-layout-centered .site-header.hidden {
transform: none !important;
}
.site-header .container {
max-width: 1400px;
}
.header-inner {
min-height: var(--header-height);
display: flex;
align-items: center;
padding: 0;
} .header-logo {
display: flex;
align-items: center;
flex-shrink: 0;
}
.header-logo a {
display: flex;
align-items: center;
}
.header-logo img,
.header-logo .custom-logo {
height: 50px;
width: auto;
max-width: 200px;
object-fit: contain;
}
.header-logo .site-title {
font-size: 1.5rem;
font-weight: 700;
color: var(--header-text, var(--color-primary));
text-decoration: none;
white-space: nowrap;
}
.header-logo .site-title:hover {
color: var(--color-secondary);
} .header-nav,
.header-nav-left,
.header-nav-center {
display: flex;
align-items: center;
}
.main-navigation {
display: flex;
align-items: center;
} .header-layout-centered .header-bottom-row .main-navigation {
display: flex !important;
}
.nav-menu {
display: flex;
align-items: center;
gap: var(--spacing-md);
margin: 0;
padding: 0;
list-style: none;
}
.nav-menu li {
position: relative;
}
.nav-menu a {
display: block;
padding: var(--spacing-sm) var(--spacing-sm);
color: var(--color-text);
color: var(--header-text, var(--color-text));
font-weight: 500;
font-size: 14px;
white-space: nowrap;
transition: var(--transition);
}
.nav-menu a:hover {
color: var(--color-secondary);
} .nav-menu .sub-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
min-width: 180px;
background: var(--color-bg);
box-shadow: var(--shadow-lg);
border-radius: var(--border-radius);
padding: var(--spacing-sm) 0;
z-index: 100;
}
.nav-menu li:hover > .sub-menu {
display: block;
}
.nav-menu .sub-menu a {
padding: var(--spacing-sm) var(--spacing-md);
} .header-actions {
display: flex;
align-items: center;
gap: 0.5rem;
}
.header-search-toggle,
.header-account-toggle,
.header-cart-toggle {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
background: transparent;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 50%;
color: var(--header-text, var(--color-text));
cursor: pointer;
transition: all 0.2s ease;
}
.header-search-toggle:hover,
.header-account-toggle:hover,
.header-cart-toggle:hover {
background: var(--color-secondary);
border-color: var(--color-secondary);
color: #fff;
}
.header-search-toggle svg,
.header-account-toggle svg,
.header-cart-toggle svg {
width: 20px;
height: 20px;
}
.cart-count {
position: absolute;
top: -4px;
right: -4px;
min-width: 20px;
height: 20px;
background: var(--color-secondary);
color: #fff;
font-size: 11px;
font-weight: 700;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #fff;
} .menu-toggle {
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
background: transparent;
border: none;
cursor: pointer;
padding: 8px;
}
.menu-toggle span {
display: block;
width: 24px;
height: 2px;
background: var(--color-text);
margin: 3px 0;
transition: var(--transition);
} .header-layout-default .header-row.header-default {
display: grid;
grid-template-columns: 200px 1fr auto;
align-items: center;
width: 100%;
gap: 2rem;
height: var(--header-height);
}
.header-layout-default .header-logo {
justify-self: start;
}
.header-layout-default .header-nav {
justify-self: center;
display: flex;
}
.header-layout-default .header-actions {
justify-self: end;
display: flex;
align-items: center;
gap: 0.5rem;
} .header-layout-centered .header-inner {
min-height: auto !important;
padding: 0;
display: block !important;
}
.header-layout-centered .header-centered-layout {
width: 100%;
display: flex;
flex-direction: column;
} .header-layout-centered .header-top-row {
display: flex !important;
justify-content: center;
align-items: center;
padding: 18px 0;
border-bottom: 1px solid rgba(0,0,0,0.08);
width: 100%;
}
.header-layout-centered .header-top-row .header-logo {
text-align: center;
}
.header-layout-centered .header-top-row .header-logo a {
display: block;
}
.header-layout-centered .header-top-row .header-logo img,
.header-layout-centered .header-top-row .header-logo .custom-logo {
height: 55px !important;
width: auto !important;
max-width: 300px;
margin: 0 auto;
}
.header-layout-centered .header-top-row .header-logo .site-title {
font-size: 1.8rem;
color: var(--color-primary);
} .header-layout-centered .header-bottom-row {
display: flex !important;
justify-content: center;
align-items: center;
padding: 10px 0;
position: relative;
width: 100%;
}
.header-layout-centered .header-bottom-row .header-nav {
display: flex !important;
justify-content: center;
}
.header-layout-centered .header-bottom-row .nav-menu {
display: flex !important;
justify-content: center;
gap: 0;
flex-wrap: wrap;
}
.header-layout-centered .header-bottom-row .nav-menu li {
padding: 0;
}
.header-layout-centered .header-bottom-row .nav-menu a {
padding: 8px 16px;
font-size: 14px;
color: var(--header-text, #444);
font-weight: 400;
}
.header-layout-centered .header-bottom-row .nav-menu a:hover {
color: var(--color-secondary);
} .header-layout-centered .header-bottom-row .header-actions-desktop {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
display: flex !important;
align-items: center;
gap: 20px;
} .header-layout-centered .header-actions-desktop .header-search-toggle,
.header-layout-centered .header-actions-desktop .header-account-toggle,
.header-layout-centered .header-actions-desktop .header-cart-toggle {
display: flex;
align-items: center;
gap: 6px;
width: auto;
height: auto;
background: transparent;
border: none;
border-radius: 0;
font-size: 13px;
color: var(--header-text, #666);
padding: 5px 0;
}
.header-layout-centered .header-actions-desktop .header-search-toggle:hover,
.header-layout-centered .header-actions-desktop .header-account-toggle:hover,
.header-layout-centered .header-actions-desktop .header-cart-toggle:hover {
color: var(--color-secondary);
background: transparent;
}
.header-layout-centered .header-actions-desktop svg {
width: 16px;
height: 16px;
}
.header-layout-centered .header-actions-desktop .cart-count {
position: relative;
top: -8px;
right: auto;
min-width: auto;
height: auto;
background: transparent;
color: var(--color-secondary);
font-size: 12px;
font-weight: 600;
border: none;
margin-left: 0;
} .header-layout-centered .header-actions-desktop .action-text {
font-size: 13px;
color: var(--header-text, #666);
}
.header-layout-centered .header-actions-desktop a:hover .action-text {
color: var(--color-secondary);
} .header-layout-centered .header-actions-mobile {
display: none !important;
}
.header-layout-centered .header-actions-desktop {
display: flex !important;
} .header-layout-menu-centered .header-row.header-menu-centered {
display: grid;
grid-template-columns: 200px 1fr auto;
align-items: center;
width: 100%;
height: var(--header-height);
}
.header-layout-menu-centered .header-logo {
justify-self: start;
}
.header-layout-menu-centered .header-nav-center {
justify-self: center;
display: flex;
}
.header-layout-menu-centered .header-actions {
justify-self: end;
display: flex;
align-items: center;
gap: 0.5rem;
} .header-layout-stacked .header-inner {
min-height: var(--header-height-stacked);
flex-direction: column;
justify-content: center;
}
.header-layout-stacked .header-stacked {
width: 100%;
}
.header-layout-stacked .header-top {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 0;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.header-layout-stacked .header-top .header-actions {
display: flex;
align-items: center;
gap: 0.5rem;
}
.header-layout-stacked .header-bottom {
display: flex;
align-items: center;
justify-content: center;
padding: 0.75rem 0;
}
.header-layout-stacked .header-bottom .header-nav {
display: flex;
} .header-layout-stacked-centered .header-inner {
min-height: var(--header-height-stacked);
flex-direction: column;
justify-content: center;
}
.header-layout-stacked-centered .header-stacked {
width: 100%;
}
.header-layout-stacked-centered .header-top {
display: flex;
align-items: center;
justify-content: center;
padding: 1rem 0;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.header-layout-stacked-centered .header-bottom {
display: flex;
align-items: center;
justify-content: center;
padding: 0.75rem 0;
position: relative;
}
.header-layout-stacked-centered .header-bottom .header-nav-center {
display: flex;
justify-content: center;
}
.header-layout-stacked-centered .header-bottom .header-actions {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
display: flex;
align-items: center;
gap: 0.5rem;
} @media (max-width: 991px) {
:root {
--header-height: 70px;
--header-height-stacked: 70px;
}
.menu-toggle {
display: flex;
} .header-row.header-default,
.header-row.header-menu-centered {
display: flex !important;
grid-template-columns: none;
justify-content: space-between;
height: var(--header-height);
} .header-layout-centered .header-centered-layout {
display: flex !important;
flex-direction: row !important;
justify-content: space-between;
align-items: center;
height: var(--header-height);
}
.header-layout-centered .header-top-row {
padding: 0 !important;
border: none !important;
flex: 0 0 auto;
}
.header-layout-centered .header-top-row .header-logo img,
.header-layout-centered .header-top-row .header-logo .custom-logo {
height: 40px !important;
}
.header-layout-centered .header-bottom-row {
display: none !important;
}
.header-layout-centered .header-actions-mobile {
position: static !important;
transform: none !important;
flex: 0 0 auto;
} .header-nav,
.header-nav-left,
.header-nav-center,
.main-navigation:not(.active) {
display: none !important;
} .header-logo {
justify-self: start !important;
} .header-actions {
justify-self: end !important;
display: flex !important;
align-items: center;
gap: 0.25rem;
} .header-layout-centered .header-actions-desktop {
display: none !important;
}
.header-layout-centered .header-actions-mobile {
display: flex !important;
}
.header-layout-centered .header-actions-mobile .header-search-toggle,
.header-layout-centered .header-actions-mobile .header-account-toggle,
.header-layout-centered .header-actions-mobile .header-cart-toggle {
width: 36px;
height: 36px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 50%;
background: transparent;
} .main-navigation.active {
display: block !important;
position: fixed;
top: var(--header-height);
left: 0;
right: 0;
bottom: 0;
background: var(--color-bg);
padding: 1rem;
overflow-y: auto;
z-index: 999;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.main-navigation.active .nav-menu {
flex-direction: column;
align-items: stretch;
gap: 0;
}
.main-navigation.active .nav-menu li {
border-bottom: 1px solid rgba(0,0,0,0.05);
}
.main-navigation.active .nav-menu a {
padding: 1rem;
font-size: 1rem;
} .header-layout-stacked .header-inner,
.header-layout-stacked-centered .header-inner {
min-height: var(--header-height);
flex-direction: row;
}
.header-layout-stacked .header-bottom,
.header-layout-stacked-centered .header-bottom {
display: none !important;
}
.header-layout-stacked .header-top,
.header-layout-stacked-centered .header-top {
width: 100%;
padding: 0;
border-bottom: none;
} .header-search-toggle,
.header-account-toggle,
.header-cart-toggle {
width: 36px;
height: 36px;
} .mobile-simple .header-cart-toggle.hide-mobile {
display: none !important;
}
} .site-header {
background-color: var(--header-bg, var(--color-bg));
}
.site-header,
.site-header a,
.site-header .nav-menu a {
color: var(--header-text, var(--color-text));
}
.site-header .menu-toggle span {
background-color: var(--header-text, var(--color-text));
}