/* =========================================================
   BETIK 01 - HEADER
   H & CHICKEN
   ========================================================= */

.site-header {
    width: 100%;

    background: #ffffff;
    color: #111111;
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.header-main {
    width: 100%;
    height: 116px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;
}

.header-inner {
    width: 1480px;
    max-width: calc(100% - 40px);
    height: 100%;

    margin-left: auto;
    margin-right: auto;

    display: flex;
    align-items: center;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    margin-right: 32px;

    text-decoration: none;
}

.brand-logo {
    display: block;

    width: auto;
    height: 72px;

    max-width: 190px;

    object-fit: contain;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 34px;
}

.main-nav a {
    color: #111111;

    text-decoration: none;

    font-family:
        "Helvetica Neue",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;

    transition: color 120ms ease;
}

.main-nav a:hover {
    color: #e4002b;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.header-actions {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 0;
}


/* =========================================================
   ICON BUTTON
   ========================================================= */

.header-icon {
    position: relative;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    color: #111111;

    cursor: pointer;

    transition:
        opacity 120ms ease,
        transform 120ms ease;
}

.header-icon:hover {
    opacity: 0.68;

    transform: scale(1.04);
}


/* =========================================================
   ACCOUNT
   ========================================================= */

.account-button {
    margin-right: 28px;
}

.account-button::after {
    content: "";

    position: absolute;

    top: 50%;
    right: -14px;

    width: 1px;
    height: 28px;

    background: rgba(17, 17, 17, 0.15);

    transform: translateY(-50%);
}

.account-icon {
    display: block;

    width: 32px;
    height: 32px;

    fill: #111111;
}


/* =========================================================
   BAG
   ========================================================= */

.cart-button {
    margin-left: 4px;
    margin-right: 30px;
}

.cart-button::after {
    content: "";

    position: absolute;

    top: 50%;
    right: -15px;

    width: 1px;
    height: 28px;

    background: rgba(17, 17, 17, 0.15);

    transform: translateY(-50%);
}

.cart-icon-image {
    display: block;

    width: 48px;
    height: 48px;

    object-fit: contain;
}


/* =========================================================
   START ORDER
   ========================================================= */

.start-order {
    width: 154px;
    height: 44px;

    padding-left: 26px;
    padding-right: 26px;

    margin-left: 4px;

    border: 0;
    border-radius: 999px;

    background: #e4002b;
    color: #ffffff;

    font-family:
        "Helvetica Neue",
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color 120ms ease,
        transform 120ms ease;
}

.start-order:hover {
    background: #c8102e;
}

.start-order:active {
    transform: scale(0.98);
}


/* =========================================================
   ORDER BAR
   Exact source-style height
   ========================================================= */

.order-bar {
    width: 100%;
    height: 58px;

    background: #202124;
    color: #ffffff;
}

.order-bar-inner {
    width: 1480px;
    max-width: calc(100% - 40px);
    height: 100%;

    margin-left: auto;
    margin-right: auto;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   LOCATION
   ========================================================= */

.delivery-location {
    display: flex;
    align-items: center;

    font-family:
        "Helvetica Neue",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.5;

    white-space: nowrap;
}

.location-icon {
    width: 24px;
    height: 24px;

    margin-right: 10px;

    fill: none;

    stroke: #e4002b;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   PICKUP / DELIVERY
   Based on source toggle:
   110px + 110px + 4px inner spacing
   ========================================================= */

.order-type {
    width: 228px;
    height: 38px;

    margin-left: 16px;
    padding: 4px;

    display: flex;

    border: 1px solid #494949;
    border-radius: 999px;

    background: transparent;
}

.order-type-button {
    width: 50%;
    height: 100%;

    padding: 0;

    border: 0;
    border-radius: 35px;

    background: transparent;

    color: #ffffff;

    font-family:
        "Helvetica Neue",
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;

    text-align: center;

    cursor: pointer;

    transition:
        background-color 300ms ease,
        color 300ms ease;
}

.order-type-button.is-active {
    background: #e4002b;

    color: #ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .header-inner {
        max-width: calc(100% - 30px);
    }

    .brand {
        margin-right: 22px;
    }

    .brand-logo {
        height: 64px;

        max-width: 170px;
    }

    .main-nav {
        gap: 20px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .account-button {
        margin-right: 22px;
    }

    .cart-button {
        margin-right: 24px;
    }

    .start-order {
        width: 142px;
        height: 42px;

        font-size: 12px;
    }

    .order-bar-inner {
        max-width: calc(100% - 30px);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .header-main {
        height: 82px;
    }

    .header-inner {
        max-width: calc(100% - 22px);
    }

    .brand {
        margin-right: 0;
    }

    .brand-logo {
        height: 58px;

        max-width: 150px;
    }

    .main-nav {
        display: none;
    }

    .account-button {
        display: none;
    }

    .cart-button {
        margin-right: 14px;
    }

    .cart-button::after {
        display: none;
    }

    .header-icon {
        width: 44px;
        height: 44px;
    }

    .cart-icon-image {
        width: 42px;
        height: 42px;
    }

    .start-order {
        width: 126px;
        height: 40px;

        padding-left: 15px;
        padding-right: 15px;

        font-size: 11.5px;
    }

    .order-bar {
        height: auto;

        min-height: 70px;
    }

    .order-bar-inner {
        max-width: calc(100% - 24px);

        min-height: 70px;

        padding-top: 8px;
        padding-bottom: 8px;

        flex-wrap: wrap;
    }

    .delivery-location {
        width: 100%;

        justify-content: center;

        font-size: 13px;

        margin-bottom: 4px;
    }

    .location-icon {
        width: 20px;
        height: 20px;
    }

    .order-type {
        width: 184px;
        height: 38px;

        margin-left: 0;
    }
}