/* =========================================================
   APHAREL - HEADER
   ========================================================= */


/* ---------------------------------------------------------
   HEADER PRINCIPAL
   --------------------------------------------------------- */

.apharel-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    z-index: 1000;
}


/* ---------------------------------------------------------
   CONTENEDOR
   --------------------------------------------------------- */

.apharel-header-inner {
    width: min(1400px, calc(100% - 80px));
    min-height: 82px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */

.apharel-logo {
    display: inline-flex;
    align-items: center;

    color: #111111;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 7px;
    line-height: 1;
    text-decoration: none;

    white-space: nowrap;
}

.apharel-logo:hover {
    color: #111111;
}


/* ---------------------------------------------------------
   MENÚ PRINCIPAL
   --------------------------------------------------------- */

.apharel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;

    margin-left: auto;
    margin-right: auto;
}

.apharel-nav a {
    position: relative;

    color: #222222;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;

    padding: 8px 0;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.apharel-nav a:hover {
    color: #777777;
}


/* Línea inferior al pasar el mouse */

.apharel-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: #111111;

    transition: width 0.25s ease;
}

.apharel-nav a:hover::after {
    width: 100%;
}


/* ---------------------------------------------------------
   ACCIONES
   --------------------------------------------------------- */

.apharel-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.apharel-header-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    color: #111111;
    font-size: 19px;
    text-decoration: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.apharel-header-actions a:hover {
    opacity: 0.6;
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   BOTÓN MENÚ MÓVIL
   --------------------------------------------------------- */

.apharel-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 0;
    border: 0;
    background: transparent;

    color: #111111;
    font-size: 24px;
    line-height: 1;

    cursor: pointer;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .apharel-header-inner {
        width: min(100% - 40px, 1400px);
        gap: 20px;
    }

    .apharel-nav {
        gap: 22px;
    }

    .apharel-nav a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .apharel-logo {
        font-size: 21px;
        letter-spacing: 5px;
    }
}


/* ---------------------------------------------------------
   MÓVIL
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .apharel-header-inner {
        min-height: 70px;
        width: calc(100% - 32px);
    }

    .apharel-nav {
        display: none;
    }

    .apharel-header-actions {
        margin-left: auto;
        margin-right: 8px;
        gap: 10px;
    }

    .apharel-header-actions a {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .apharel-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .apharel-logo {
        font-size: 20px;
        letter-spacing: 4px;
    }
}