/* Header styles extracted from index_new.css */
.new-home-header,
.new-home-header * {
    box-sizing: border-box;
}

.new-home-header {
    position: relative;
    width: 100%;
    background-color: #FEF6EC;
    transition: height 0.3s ease;
}

.header-body {
    position: relative;
    width: 100%;
    min-height: 64px;
    padding: 16px 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon-new {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #F8C70F 0%, #EE700B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon-new::after {
    content: '';
    position: absolute;
    width: 19.237px;
    height: 16.2px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='17' viewBox='0 0 20 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0L12.5 6.5H19.5L14 10.5L16.5 17L10 13L3.5 17L6 10.5L0.5 6.5H7.5L10 0Z' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-text-new {
    font-family: 'Parkinsans', 'Parkinsans', sans-serif;
    font-size: 22.5px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: -1.35px;
    color: #000000;
    margin-left: 45px;
    margin-top: 4.5px;
}

.logo-reg-new {
    font-family: 'Parkinsans', 'Parkinsans', sans-serif;
    font-size: 3.15px;
    width: 3.15px;
    height: 3.15px;
    margin-left: 189.9px;
    margin-top: 11.25px;
    position: relative;
}

.header-nav-new {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 64px;
    align-items: center;
    z-index: 1;
}

.nav-link-new {
    font-family: 'Parkinsans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.28px;
    color: rgba(0, 0, 0, 0.64);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link-new:hover,
.nav-link-new.active {
    color: #000000;
}

.nav-link-new.with-icon {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link-new .nav-icon {
    width: 16px;
    height: 16px;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.nav-dropdown-wrapper {
    position: relative;
}

.products-link.active {
    font-weight: 700;
    color: #000000;
}

.products-link.active .nav-icon {
    transform: rotate(-90deg);
}

.products-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFFFFF;
    border: 0.5px solid rgba(161, 82, 0, 0.24);
    border-radius: 12px;
    box-shadow: 0px 0px 80px 0px rgba(216, 116, 12, 0.24);
    padding: 16px 20px;
    display: none;
    flex-direction: column;
    gap: 12px;
    min-width: 320px;
    z-index: 1000;
    white-space: nowrap;
}

.products-dropdown.active {
    display: flex;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.2s;
    width: 100%;
}

.dropdown-item:hover {
    opacity: 0.8;
}

.dropdown-item-icon {
    background-color: #f7d141;
    border-radius: 6px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    box-shadow: -4px 0px 0px 0px rgba(247, 209, 65, 0.4);
}

.dropdown-item-icon svg {
    width: 16px;
    height: 16px;
    color: #000000;
}

.dropdown-item-text {
    flex: 1 0 0;
    font-family: 'Parkinsans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.28px;
    color: #343640;
    white-space: nowrap;
}

.dropdown-item-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #343640;
}

.nav-link-arrow {
    display: none;
}

.header-cta-new {
    border: 0.5px solid rgba(0, 0, 0, 0.4);
    border-radius: 999px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.header-cta-new:hover {
    border-color: rgba(0, 0, 0, 0.8);
}

.header-cta-text {
    font-family: 'Parkinsans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.28px;
    color: #000000;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
    display: none;
}

@media (max-width: 1200px) {
    .header-body {
        padding: 16px 40px;
    }
    .header-nav-new {
        gap: 40px;
    }
}

@media (max-width: 980px) {
    .header-body {
        padding: 16px 20px;
    }
    .header-nav-new {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-body {
        padding: 16px 20px;
        height: auto;
        min-height: 80px;
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-overlay {
        display: none;
    }

    .new-home-header {
        display: flex;
        flex-direction: column;
    }

    .new-home-header.menu-open {
        background-color: #FEF6EC;
    }

    .header-nav-new {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        order: 10;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        gap: 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin-top: 0;
        border-top: 1px solid transparent;
        transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            padding-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            padding-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            opacity 0.4s ease 0.1s,
            margin-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            border-color 0.3s ease 0.2s;
        z-index: 1;
        will-change: max-height, opacity;
    }

    .header-nav-new.active {
        background-color: #FEF6EC;
        max-height: 600px;
        opacity: 1;
        flex-direction: column;
        gap: 4px;
        padding: 16px 5px 24px 5px;
        align-items: stretch;
        margin-top: 16px;
        transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            padding-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            padding-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            opacity 0.4s ease,
            margin-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            border-color 0.3s ease;
    }

    .nav-link-new {
        width: 100%;
        font-size: 14px;
        background-color: #FFFFFF;
        border: 0.5px solid rgba(161, 82, 0, 0.24);
        border-radius: 12px;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 600;
        color: #343640;
        letter-spacing: -0.28px;
        line-height: 28px;
        text-decoration: none;
    }

    .nav-link-new.with-icon {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px 16px;
    }

    .nav-link-new .nav-icon {
        display: none;
    }

    .nav-link-arrow {
        display: block;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        color: #343640;
    }

    .nav-dropdown-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: #fff;
        border: 0.5px solid rgba(161, 82, 0, 0.24);
        border-radius: 12px;
    }

    .nav-dropdown-wrapper .nav-link-new {
        border: none;
    }

    .products-link {
        background-color: #FFFFFF;
        border: 0.5px solid rgba(161, 82, 0, 0.24);
        border-radius: 12px;
        padding: 12px 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        text-decoration: none;
        cursor: default;
        pointer-events: auto;
    }

    .products-link-text {
        font-family: 'Parkinsans', sans-serif;
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
        letter-spacing: -0.24px;
        color: #000000;
        width: 100%;
        padding-bottom: 8px;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    }

    .products-dropdown {
        position: static;
        transform: none;
        left: auto;
        min-width: 100%;
        margin-top: 0;
        margin-left: 0;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        background-color: transparent;
    }

    .products-dropdown.active {
        display: flex;
        padding: 0 15px 15px;
        gap: 12px;
    }

    .dropdown-item {
        padding: 0;
        background-color: transparent;
        border: none;
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        text-decoration: none;
    }

    .dropdown-item {
        cursor: pointer;
        pointer-events: auto;
    }

    .dropdown-item-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        background-color: #f7d141;
        border-radius: 6px;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: -4px 0px 0px 0px rgba(247, 209, 65, 0.4);
    }

    .dropdown-item-text {
        flex: 1 0 0;
        font-size: 14px;
        line-height: 28px;
        font-weight: 600;
        color: #343640;
        letter-spacing: -0.28px;
    }

    .dropdown-item-arrow {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        color: #343640;
    }

    .logo-text-new {
        margin-left: 8px;
        font-size: 18px;
    }

    .logo-reg-new {
        margin-left: 8px;
    }
}
