/* =========================================================
   IRON AURA WEAR — HEADER
   ========================================================= */


/* ANNOUNCEMENT */

.ia-announcement {
    width: 100%;
    min-height: 34px;

    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;

    padding: 0 24px;

    background: #0d0d0d;
    color: #ffffff;
}

.ia-announcement__text {
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;

    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}

.ia-announcement__separator {
    opacity: 0.45;
}

.ia-announcement__arrow {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

.ia-announcement__arrow:last-child {
    text-align: right;
}


/* MAIN HEADER */

.ia-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.ia-header__inner {
    position: relative;

    width: 100%;
    min-height: 106px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;

    padding: 8px 40px;
}


/* LEFT NAV */

.ia-header__nav {
    grid-column: 1;
    grid-row: 1;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;

    min-width: 0;
}

.ia-header__nav-link {
    display: inline-flex;
    align-items: center;

    color: #111111;

    font-size: 13px;
    font-weight: 400;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;
}

.ia-header__nav-link:hover {
    opacity: 0.55;
}


/* WOMEN DROPDOWN */

.ia-header__dropdown {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 90px;
}

.ia-header__dropdown-trigger {
    gap: 6px;
}

.ia-header__dropdown-trigger svg {
    width: 9px;
    height: 6px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;

    transition: transform 0.2s ease;
}

.ia-header__dropdown:hover .ia-header__dropdown-trigger svg,
.ia-header__dropdown:focus-within .ia-header__dropdown-trigger svg {
    transform: rotate(180deg);
}

.ia-header__dropdown-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: -18px;

    width: 220px;
    max-width: calc(100vw - 48px);
    z-index: 1;

    padding: 10px 0;

    background: #ffffff;
    border: 1px solid #e8e8e8;

    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}

.ia-header__dropdown:hover .ia-header__dropdown-menu,
.ia-header__dropdown:focus-within .ia-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ia-header__dropdown-menu a {
    display: block;

    padding: 11px 18px;

    color: #111111;

    font-size: 12px;
    line-height: 1.3;

    text-decoration: none;
}

.ia-header__dropdown-menu a:hover {
    background: #f6f6f6;
}


/* CENTER BRAND */

.ia-header__brand {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0 35px;
}

.ia-header__brand-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #111111;
    text-decoration: none;
}

.ia-header__logo {
    display: block;
    margin-bottom: 0;
}

.ia-header .ia-header__logo-image {
    display: block;
    width: auto;
    height: 65px;
    max-width: 190px;
    object-fit: contain;
}

.ia-header__brand-name {
    font-size: 19px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: 4.5px;

    white-space: nowrap;
}


/* RIGHT ACTIONS */

.ia-header__actions {
    grid-column: 3;
    grid-row: 1;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;

    min-width: 0;
}

.ia-header__action {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #111111;

    font-size: 12px;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.ia-header__search[hidden] {
    display: none;
}

.ia-header__search {
    padding: 18px clamp(15px, 5vw, 72px);
    border-top: 1px solid #eee;
}

.ia-header__search form {
    display: flex;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
}

.ia-header__search input[type="search"] {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0;
}

.ia-header__search button,
.ia-header__search input[type="submit"] {
    padding: 12px 18px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.ia-header__search label:not(.screen-reader-text) {
    flex: 1;
    min-width: 0;
}

.ia-header__action:hover {
    opacity: 0.55;
}

.ia-header__action svg {
    display: block;

    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* MOBILE ELEMENTS */

.ia-header__mobile-toggle,
.ia-header__mobile-menu {
    display: none;
}


/* TABLET */

@media (max-width: 1150px) {

    .ia-header__inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ia-header__nav {
        gap: 18px;
    }

    .ia-header__brand {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ia-header__brand-name {
        font-size: 17px;
        letter-spacing: 3.5px;
    }

    .ia-header__actions {
        gap: 15px;
    }

    .ia-header__action span {
        display: none;
    }
}


/* Switch to the existing disclosure before the desktop links crowd the logo. */

@media (max-width: 1023px) {

    .ia-header__nav {
        display: none;
    }

    .ia-header__mobile-toggle {
        grid-column: 1;
        grid-row: 1;
        width: 30px;
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .ia-header__mobile-toggle span {
        display: block;
        width: 20px;
        height: 1px;
        background: #111111;
    }

    .ia-header__mobile-menu {
        width: 100%;
        padding: 8px 20px 20px;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
    }

    .ia-header__mobile-menu.is-open {
        display: block;
    }

    .ia-header__mobile-menu a {
        display: block;
        padding: 13px 0;
        border-bottom: 1px solid #eeeeee;
        color: #111111;
        font-size: 14px;
        text-decoration: none;
    }

    .ia-header__mobile-menu .ia-header__mobile-subcategory {
        padding-left: 18px;
        font-size: 12px;
        color: #666666;
    }
}

/* MOBILE */

@media (max-width: 767px) {

    .ia-announcement {
        min-height: 30px;

        grid-template-columns: 20px 1fr 20px;

        padding: 0 8px;
    }

    .ia-announcement__text {
        font-size: 9px;
        gap: 6px;
    }

    .ia-announcement__text span:nth-child(n+2) {
        display: none;
    }

    .ia-announcement__arrow {
        font-size: 16px;
    }


    .ia-header__inner {
        min-height: 82px;

        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);

        padding: 6px 15px;
    }


    .ia-header__brand {
        grid-column: 2;

        padding: 0 8px;
    }

    .ia-header__logo {
        margin-bottom: 3px;
    }

    .ia-header .ia-header__logo-image {
        height: 31px;
        max-width: 80px;
    }

    .ia-header__brand-name {
        font-size: 13px;
        letter-spacing: 2.5px;
    }


    .ia-header__actions {
        grid-column: 3;

        gap: 12px;
    }

    .ia-header__action span {
        display: none;
    }

    .ia-header__action svg {
        width: 18px;
        height: 18px;
    }
}
