* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 80px;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.home, body.front-page {
    padding-top: 0 !important;
}

body.no-scroll {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

.custom-main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    z-index: 1000 !important;
    background: transparent !important;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.custom-main-header.is-scrolled {
    background: #E3E3E3 !important;
    padding: 15px 0;
}

.custom-main-header.not-transparent {
    background: #E3E3E3 !important;
    padding: 15px 0;
}

.custom-main-header.not-transparent .custom-header-left a {
    color: #000000 !important;
}

.custom-main-header.not-transparent .custom-header-left a:hover {
    color: #747965 !important;
}

.custom-main-header.not-transparent .custom-logo-svg {
    filter: none !important;
}

.custom-main-header.not-transparent .header-icon svg {
    stroke: #000000 !important;
}

.custom-main-header.not-transparent .header-icon .cart-count {
    background: #000000 !important;
    color: #D7DAD1 !important;
}

.custom-main-header.not-transparent .hamburger-menu-btn span {
    background: #000000 !important;
}

.custom-main-header.not-transparent .mobile-header-icons .header-icon svg {
    stroke: #000000 !important;
}

.custom-main-header.not-transparent .mobile-header-icons .header-icon .cart-count {
    background: #000000 !important;
    color: #D7DAD1 !important;
}

.custom-main-header.not-transparent .mobile-hamburger-btn span {
    background: #000000 !important;
}

.custom-header-container {
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 50px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.custom-header-left {
    display: flex;
    gap: 30px;
    flex: 1;
}

.custom-header-left a {
    font-family: 'moulin', 'Times New Roman', serif;
    font-weight: 400;
    font-size: 14px;
    color: #D7DAD1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.custom-header-left a:hover {
    color: #ffffff;
}

.custom-main-header.is-scrolled .custom-header-left a {
    color: #000000;
}

.custom-main-header.is-scrolled .custom-header-left a:hover {
    color: #747965;
}

.custom-header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.custom-header-center .custom-logo-svg {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(0.9);
}

.custom-main-header.is-scrolled .custom-header-center .custom-logo-svg {
    filter: none;
}

.custom-header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.header-icon {
    position: relative;
    color: #000;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon svg {
    width: 24px;
    height: 24px;
    stroke: #D7DAD1;
    stroke-width: 1.5px;
    transition: stroke 0.3s ease;
}

.custom-main-header.is-scrolled .header-icon svg {
    stroke: #000000;
}

.header-icon .cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #D7DAD1;
    color: #000000;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.custom-main-header.is-scrolled .header-icon .cart-count {
    background: #000000;
    color: #D7DAD1;
}

.hamburger-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.hamburger-menu-btn span {
    width: 20px;
    height: 2px;
    background: #D7DAD1;
    transition: all 0.3s ease;
    display: block;
}

.custom-main-header.is-scrolled .hamburger-menu-btn span {
    background: #000000;
}

.hamburger-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-right-group {
    display: none;
    align-items: center;
    gap: 8px;
}

.mobile-header-icons {
    display: none;
    align-items: center;
    gap: 16px;
}

.mobile-header-icons .header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 6px;
}

.mobile-header-icons .header-icon svg {
    width: 26px;
    height: 26px;
    stroke: #D7DAD1;
    transition: stroke 0.3s ease;
}

.mobile-header-icons .header-icon .cart-count {
    background: #D7DAD1;
    color: #000000;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 11px;
    transition: all 0.3s ease;
}

.custom-main-header.is-scrolled .mobile-header-icons .header-icon svg {
    stroke: #000000;
}

.custom-main-header.is-scrolled .mobile-header-icons .header-icon .cart-count {
    background: #000000;
    color: #D7DAD1;
}

.mobile-hamburger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    box-shadow: none !important;
    outline: none;
}

.mobile-hamburger-btn:focus,
.mobile-hamburger-btn:active {
    outline: none;
    box-shadow: none !important;
}

.mobile-hamburger-btn span {
    width: 24px;
    height: 3px;
    background: #D7DAD1;
    transition: all 0.3s ease;
    display: block;
}

.custom-main-header.is-scrolled .mobile-hamburger-btn span {
    background: #000000;
}

.mobile-hamburger-btn[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-hamburger-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-hamburger-btn[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #E3E3E3;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.mobile-menu-wrapper.is-open {
    transform: translateX(0);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    padding: 30px 25px 25px 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.mobile-menu-logo-section {
    flex: 1;
}

.mobile-menu-logo-section .mobile-menu-logo-svg {
    width: 200px;
    height: auto;
    margin-bottom: 8px;
    display: block;
}

.mobile-menu-logo-section .mobile-menu-tagline {
    font-family: 'clearfacestd', 'Times New Roman', serif;
    font-size: 13px;
    font-weight: 400;
    color: #414040;
    margin: 0;
    line-height: 1.4;
}

.hamburger-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #000000;
    outline: none;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.hamburger-close-btn:hover {
    transform: rotate(90deg);
}

.hamburger-close-btn:focus,
.hamburger-close-btn:active {
    outline: none;
    box-shadow: none;
}

.hamburger-close-btn svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.mobile-nav-menu {
    flex: 1;
    padding: 30px 25px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.mobile-nav-content {
    width: 100%;
    max-width: none;
}

.mobile-menu-item {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    color: #000000;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-family: 'moulin', 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: left;
    width: 100%;
}

.mobile-menu-item:hover {
    color: #747965;
    padding-left: 10px;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-footer {
    padding: 25px;
    border-top: 1px solid rgba(0,0,0,0.1);
    background: #E3E3E3;
}

.footer-content {
    text-align: center;
}

.mobile-copyright {
    font-family: 'clearfacestd', 'Times New Roman', serif;
    font-size: 12px;
    color: #414040;
    margin: 0;
    line-height: 1.4;
}

.site-content .ast-container {
    padding-top: 0 !important;
}

@media (max-width: 1024px) {
    .custom-header-container {
        padding: 0 40px;
        max-width: 100vw;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    body.home, body.front-page {
        padding-top: 0 !important;
    }
    
    .custom-main-header {
        padding: 15px 0;
        background: transparent !important;
        width: 100vw !important;
    }
    
    .custom-main-header.is-scrolled {
        background: #E3E3E3 !important;
    }
    
    .custom-main-header.not-transparent {
        background: #E3E3E3 !important;
    }
    
    .custom-header-container {
        padding: 0;
        justify-content: space-between;
        max-width: 100vw;
    }
    
    .custom-header-left,
    .custom-header-right {
        display: none !important;
    }
    
    .custom-header-center {
        justify-content: flex-start;
        flex: none;
        order: 1;
        padding-left: 20px;
    }
    
    .custom-header-center .custom-logo-svg {
        height: 35px;
    }
    
    .mobile-right-group {
        display: flex;
        order: 2;
        padding-right: 20px;
    }
    
    .mobile-header-icons {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-right: 8px;
    }
    
    .mobile-hamburger-btn {
        display: flex;
    }
    
    .hamburger-menu-btn {
        display: none !important;
    }
    
    .mobile-menu-header {
        padding: 25px 20px 20px 20px;
    }
    
    .mobile-menu-logo-section .mobile-menu-logo-svg {
        width: 180px;
    }
    
    .mobile-menu-logo-section .mobile-menu-tagline {
        font-size: 12px;
    }
    
    .mobile-nav-menu {
        padding: 25px 20px;
    }
    
    .mobile-menu-item {
        font-size: 24px;
        padding: 18px 0;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .custom-header-container {
        padding: 0;
    }
    
    .custom-header-center {
        padding-left: 15px;
    }
    
    .mobile-right-group {
        padding-right: 15px;
    }
    
    .mobile-header-icons {
        gap: 10px;
    }
    
    .mobile-header-icons .header-icon {
        height: 36px;
        width: 36px;
        padding: 5px;
    }
    
    .mobile-header-icons .header-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-hamburger-btn {
        width: 36px;
        height: 36px;
        padding: 8px;
    }
    
    .mobile-hamburger-btn span {
        width: 22px;
        height: 2.5px;
    }
    
    .mobile-header-icons .header-icon .cart-count {
        width: 16px;
        height: 16px;
        line-height: 16px;
        font-size: 10px;
        top: 1px;
        right: 1px;
    }
    
    .mobile-menu-header {
        padding: 20px 15px 15px 15px;
    }
    
    .mobile-menu-logo-section .mobile-menu-logo-svg {
        width: 170px;
    }
    
    .mobile-menu-logo-section .mobile-menu-tagline {
        font-size: 11px;
    }
    
    .mobile-nav-menu {
        padding: 20px 15px;
    }
    
    .mobile-menu-item {
        font-size: 20px;
        padding: 15px 0;
        text-align: left;
    }
    
    .mobile-menu-footer {
        padding: 20px 15px;
    }
    
    .mobile-copyright {
        font-size: 11px;
    }
    
    .hamburger-close-btn {
        margin-left: 10px;
    }
    
    .hamburger-close-btn svg {
        width: 24px;
        height: 24px;
    }
}