/* ==========================================================================
   Header — Ported from Figma export, adapted for WP
   ========================================================================== */

.site-header {
    position: relative;
    z-index: 100;
    background-color: #fff;
    box-shadow: 3px 5px 15px 4px rgba(0,0,0,0.2);
}

.has-transparent-header .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    box-shadow: none;
}

.header {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    line-height: normal;
    letter-spacing: 0;
    padding: 12px 40px;
}

.header p,
.header a,
.header span {
    color: #fff;
}

.header .bold-yellow {
    color: #b5d334;
}

.header .header-link-symbol {
    color: #b5d334;
}

.header .header-circle {
    color: #fff;
}

/* Logo */
.header-graphic-left {
    flex-shrink: 0;
    display: block;
}

.header-graphic-left img {
    width: 100px;
    height: 100px;
}

/* Nav row 1 */
.header-row1 {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 400;
}

.header-text-symbol {
    text-align: center;
    color: #fff;
    transition: var(--transition);
}

a.header-text-symbol:hover {
    color: #b5d334;
}

.btn-white-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-style: normal;
    letter-spacing: 0;
    text-align: unset;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-white-left-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-white-left-label {
    text-align: center;
}

.header-graphic-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-graphic-right svg {
    width: 20px;
    height: 20px;
    display: block;
}

.header-social-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.header-social-divider {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
}

/* Contacts row right */
.header-row-right {
    margin-left: 22px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
}

.header-proicons {
    width: 32px;
    height: 32px;
}

.header-text2 {
    text-align: center;
}

.bold-yellow {
    color: #b5d334;
    font-weight: 700;
}

.header-row2 {
    margin-left: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-mynaui {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.header-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.header-text-plus {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.header-link-symbol {
    color: #b5d334;
    font-size: 12px;
    font-weight: 400;
    text-decoration: underline;
    text-align: left;
}

.header-link-symbol:hover {
    color: #9ab82a;
}

/* Divider */
.header-line {
    width: 0;
    height: 13px;
    flex-shrink: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1px;
}

/* Cart icon */
.header-group-right {
    position: relative;
    margin-left: 4px;
    width: 32px;
    min-height: 32px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    display: block;
}

.header-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 31px;
}

.header-circle {
    position: absolute;
    top: 0;
    left: 14px;
    width: 20px;
    height: 20px;
    background-color: #b5d334;
    padding: 0 1px 1px 1px;
    border-radius: 50%;
    line-height: 20px;
    color: #fff;
}

/* Hover utility */
.hover-dark:hover {
    filter: brightness(0.85);
}

.codex-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Burger button — hidden on desktop */
.burger-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.burger-btn__line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    transition: transform 300ms ease, opacity 300ms ease, background-color 300ms ease;
    transform-origin: center;
}

/* Burger → X animation */
.burger-btn--active .burger-btn__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: #b5d334;
}

.burger-btn--active .burger-btn__line:nth-child(2) {
    opacity: 0;
}

.burger-btn--active .burger-btn__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #b5d334;
}

/* Mobile menu overlay */
.header-mobile-menu {
    display: none;
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1b0b03;
    z-index: 99;
    padding: 40px 24px 32px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 350ms cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.header-mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.header-mobile-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Navigation links */
.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.header-mobile-link {
    display: block;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 200ms ease;
}

.header-mobile-link:first-child {
    padding-top: 0;
}

.header-mobile-link:hover {
    color: #b5d334;
}

/* Green accent separator */
.mobile-menu__accent {
    width: 40px;
    height: 2px;
    background-color: #b5d334;
    margin: 28px 0;
}

/* Icon shared style */
.mobile-menu__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Phone section */
.mobile-menu__phone {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.mobile-menu__phone-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-menu__phone-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu__phone-number {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 200ms ease;
}

.mobile-menu__phone-number:hover {
    color: #b5d334;
}

.mobile-menu__cta {
    color: #b5d334;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(181, 211, 52, 0.4);
    transition: text-decoration-color 200ms ease;
}

.mobile-menu__cta:hover {
    text-decoration-color: #b5d334;
    color: #b5d334;
}

/* Dividers */
.mobile-menu__divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 0 0 24px;
}

/* Address */
.mobile-menu__address-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.mobile-menu__address {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.mobile-menu__address strong {
    color: #fff;
    font-weight: 600;
}

/* Social icons */
.mobile-menu__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding-top: 4px;
}

.mobile-menu__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 200ms ease;
}

.mobile-menu__social-link:hover {
    color: #b5d334;
}

.mobile-menu__social-link svg {
    width: 24px;
    height: 24px;
}


/* ==========================================================================
   White header variant — default for all pages except homepage
   ========================================================================== */

body:not(.has-transparent-header) .header,
body:not(.has-transparent-header) .header p,
body:not(.has-transparent-header) .header a,
body:not(.has-transparent-header) .header span {
    color: #1b0b03;
}

body:not(.has-transparent-header) .header-text-symbol {
    color: #1b0b03;
}

body:not(.has-transparent-header) a.header-text-symbol:hover {
    color: var(--color-primary, #b5d334);
}

body:not(.has-transparent-header) .btn-white-left {
    background-color: var(--color-primary, #b5d334);
    color: #1b0b03;
}

body:not(.has-transparent-header) .btn-white-left svg path {
    stroke: #1b0b03;
}

body:not(.has-transparent-header) .header-proicons path,
body:not(.has-transparent-header) .header-mynaui path {
    stroke: #1b0b03;
}

body:not(.has-transparent-header) .header-group svg path,
body:not(.has-transparent-header) .header-group-right svg path {
    fill: #1b0b03;
}

body:not(.has-transparent-header) .header-line {
    border-left-color: rgba(27, 11, 3, 0.15);
}

body:not(.has-transparent-header) .burger-btn__line {
    background-color: #1b0b03;
}

body:not(.has-transparent-header) .header .header-link-symbol {
    color: #b5d334;
}

/* ==========================================================================
   Responsive — from original export
   ========================================================================== */

@media (max-width: 1280px) {
    .header {
        gap: 20px;
        padding: 12px 20px 0;
    }

    .header-row1 {
        gap: 20px;
    }

    .header-row-right {
        gap: 20px;
    }
}

@media (max-width: 1100px) {
    .site-header,
    .has-transparent-header .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    body {
        padding-top: 60px;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
        min-height: 70px;
        align-items: center;
    }

    .header > * {
        margin-left: unset !important;
        margin-top: unset !important;
    }

    .header-graphic-left img {
        width: 60px;
        height: 60px;
    }

    /* Hide desktop elements */
    .header-row1 .header-text-symbol,
    .header-graphic-right,
    .header-row-left,
    .header-row2,
    .header-line {
        display: none;
    }

    .header-row1 {
        margin-top: 0;
        gap: 16px;
    }

    .header-row-right {
        margin-left: 0;
        margin-top: 0;
        gap: 16px;
    }

    .site-header,
    .has-transparent-header .site-header {
        background-color: #fff;
        box-shadow: 3px 5px 15px 4px rgba(0,0,0,0.2);
    }

    /* Homepage uses transparent header on desktop, but mobile collapses to the
       opaque white variant — apply the same dark-text rules as non-homepage. */
    .has-transparent-header .header,
    .has-transparent-header .header p,
    .has-transparent-header .header a,
    .has-transparent-header .header span,
    .has-transparent-header .header-text-symbol {
        color: #1b0b03;
    }

    .has-transparent-header .btn-white-left {
        background-color: var(--color-primary, #b5d334);
        color: #1b0b03;
    }

    .has-transparent-header .btn-white-left svg path {
        stroke: #1b0b03;
    }

    .has-transparent-header .header-proicons path,
    .has-transparent-header .header-mynaui path {
        stroke: #1b0b03;
    }

    .has-transparent-header .header-group svg path,
    .has-transparent-header .header-group-right svg path {
        fill: #1b0b03;
    }

    .has-transparent-header .burger-btn__line {
        background-color: #1b0b03;
    }

    .burger-btn {
        display: flex;
    }

    .header-mobile-menu {
        display: block;
        top: 70px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 16px;
        gap: 12px;
    }

    .btn-white-left-label {
        display: none;
    }

    .header-row-right {
        gap: 8px;
    }
}
