/* =========================================================
   TASTY CRAZZ — GLOBAL HEADER
   Version: 1.3.0

   01. Variables
   02. Header Foundation
   03. Brand
   04. Desktop Navigation
   05. Header Actions
   06. Cart
   07. Order Button
   08. Mobile Toggle
   09. Mobile Drawer
   10. Mobile Navigation
   11. Mobile CTA
   12. Social
   13. Responsive
========================================================= */


/* =========================================================
   01 — VARIABLES
========================================================= */

:root {
    --tc-green: #073f37;
    --tc-green-dark: #032c27;
    --tc-cream: #f7f1e7;
    --tc-gold: #ddb35f;
    --tc-line: rgba(247, 241, 231, 0.14);
}

/* =========================================================
   02 — HEADER FOUNDATION
========================================================= */

.tc-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 120px;

    z-index: 9999;

    background: transparent;

    font-family: inherit;
}

.tc-header,
.tc-header * {
    box-sizing: border-box;
}

.tc-header__inner {
    width: 100%;
    max-width: 1500px;
    height: 120px;

    margin: 0 auto;
    padding: 0 64px;

    display: flex;
    align-items: center;

    gap: 48px;
}


/* =========================================================
   INNER PAGE HEADER
========================================================= */

body:not(.home) .tc-header {
    height: 96px;

    background:
        linear-gradient(
            90deg,
            #003f36 0%,
            #064c42 55%,
            #315f4b 100%
        );
}

body:not(.home) .tc-header__inner {
    height: 96px;
}


/* =========================================================
   03 — BRAND
========================================================= */

.tc-header__brand {
    width: 118px;

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

    flex: 0 0 118px;

    text-decoration: none;
}

.tc-header__brand img {
    display: block;

    width: 100%;
    max-width: 118px;
    height: auto;

    object-fit: contain;
}


/* Home logo visual position */

body.home .tc-header__brand {
    margin-top: 18px;
}


/* Inner page logo */

body:not(.home) .tc-header__brand {
    width: 94px;
    flex-basis: 94px;

    margin: 0;
}

body:not(.home) .tc-header__brand img {
    max-width: 94px;
}


/* =========================================================
   04 — DESKTOP NAVIGATION
========================================================= */

.tc-nav {
    margin-left: auto;

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

    gap: clamp(24px, 2.2vw, 42px);
}

.tc-nav__link {
    position: relative;

    padding: 10px 0;

    display: inline-flex;
    align-items: center;

    color: var(--tc-cream);

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

    letter-spacing: 0.12em;
    text-transform: uppercase;

    text-decoration: none;

    opacity: 0.9;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.tc-nav__link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: var(--tc-gold);

    transition: width 0.25s ease;
}

.tc-nav__link:hover,
.tc-nav__link.is-active {
    color: var(--tc-gold);
    opacity: 1;
}

.tc-nav__link:hover::after,
.tc-nav__link.is-active::after {
    width: 100%;
}


/* =========================================================
   05 — HEADER ACTIONS
========================================================= */

.tc-header__actions {
    display: flex;
    align-items: center;

    gap: 18px;

    flex: 0 0 auto;
}


/* =========================================================
   06 — CART
========================================================= */

.tc-header__cart {
    position: relative;

    width: 42px;
    height: 48px;

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

    flex: 0 0 42px;

    padding: 0;

    background: transparent !important;
    border: none !important;
    border-radius: 0;
    outline: none !important;
    box-shadow: none !important;

    color: var(--tc-cream);

    text-decoration: none;

    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;

    transition: color 0.25s ease;
}

.tc-header__cart:hover,
.tc-header__cart:focus,
.tc-header__cart:focus-visible,
.tc-header__cart:active {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    color: var(--tc-gold) !important;
}


/* CART ICON */

.tc-header__cart-icon {
    width: 23px;
    height: 23px;

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

    flex: 0 0 23px;
}

.tc-header__cart-icon svg {
    display: block;

    width: 100%;
    height: 100%;

    color: var(--tc-cream) !important;
    stroke: var(--tc-cream) !important;
}

.tc-header__cart:hover .tc-header__cart-icon svg {
    color: var(--tc-gold) !important;
    stroke: var(--tc-gold) !important;
}


/* CART LABEL */

.tc-header__cart-label {
    display: none;
}


/* CART COUNT */

.tc-header__cart-count {
    position: absolute;

    top: 1px;
    right: 4px;

    min-width: 19px;
    height: 19px;

    padding: 0 5px;

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

    border-radius: 999px;

    background: var(--tc-gold);

    color: var(--tc-green-dark) !important;

    font-size: 9px;
    font-weight: 800;
    line-height: 1;

    pointer-events: none;
}


/* =========================================================
   07 — ORDER BUTTON
========================================================= */

.tc-header__order {
    min-width: 150px;
    height: 54px;

    padding: 0 24px;

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

    gap: 14px;

    border: 1px solid rgba(221, 179, 95, 0.65);
    border-radius: 10px;

    background: transparent;

    color: var(--tc-gold);

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

    letter-spacing: 0.12em;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.tc-header__order:hover {
    background: var(--tc-gold);
    border-color: var(--tc-gold);
    color: var(--tc-green-dark);
}

.tc-header__arrow {
    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   08 — MOBILE TOGGLE
========================================================= */

.tc-header button.tc-menu-toggle {
    width: 48px;
    height: 48px;

    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 0;

    display: none;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 7px;

    border: none;
    border-radius: 0;
    outline: none;

    background: none;

    box-shadow: none;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

.tc-header button.tc-menu-toggle:hover,
.tc-header button.tc-menu-toggle:focus,
.tc-header button.tc-menu-toggle:focus-visible,
.tc-header button.tc-menu-toggle:active {
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
}

.tc-menu-toggle span {
    width: 24px;
    height: 1px;

    display: block;

    background: var(--tc-gold);

    pointer-events: none;
}


/* =========================================================
   09 — MOBILE DRAWER
========================================================= */

.tc-mobile-nav {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100dvh;

    z-index: 10000;

    display: flex;
    justify-content: flex-end;

    background: rgba(1, 24, 21, 0.68);

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.tc-mobile-nav.is-open {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}

.tc-mobile-nav__panel {
    width: min(100%, 460px);
    height: 100%;

    padding: 0 38px 34px;

    display: flex;
    flex-direction: column;

    overflow-y: auto;
    overscroll-behavior: contain;

    background: var(--tc-green);

    transform: translateX(100%);

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tc-mobile-nav.is-open .tc-mobile-nav__panel {
    transform: translateX(0);
}


/* DRAWER HEADER */

.tc-mobile-nav__header {
    min-height: 132px;

    padding-top: 18px;

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

    gap: 24px;

    flex: 0 0 auto;

    border-bottom: 1px solid var(--tc-line);
}


/* DRAWER LOGO */

.tc-mobile-nav__brand {
    width: 106px;

    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;

    text-decoration: none;
}

.tc-mobile-nav__brand img {
    display: block;

    width: 100%;
    max-width: 106px;
    height: auto;

    object-fit: contain;
}


/* CLOSE */

.tc-header button.tc-mobile-close {
    position: relative;

    width: 46px;
    height: 46px;

    min-width: 0;
    min-height: 0;

    flex: 0 0 46px;

    margin: 0;
    padding: 0;

    border: none;
    border-radius: 0;
    outline: none;

    background: none;

    box-shadow: none;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

.tc-header button.tc-mobile-close:hover,
.tc-header button.tc-mobile-close:focus,
.tc-header button.tc-mobile-close:focus-visible,
.tc-header button.tc-mobile-close:active {
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
}

.tc-mobile-close span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 24px;
    height: 1px;

    display: block;

    background: var(--tc-cream);

    transform-origin: center;

    pointer-events: none;
}

.tc-mobile-close span:first-child {
    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

.tc-mobile-close span:last-child {
    transform:
        translate(-50%, -50%)
        rotate(-45deg);
}


/* =========================================================
   10 — MOBILE NAVIGATION
========================================================= */

.tc-mobile-nav__menu {
    padding-top: 14px;

    display: flex;
    flex-direction: column;

    flex: 0 0 auto;
}

.tc-mobile-nav__menu > a {
    min-height: 68px;

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

    gap: 20px;

    border-bottom: 1px solid rgba(247, 241, 231, 0.09);

    color: var(--tc-cream);

    text-decoration: none;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.tc-mobile-nav__item-main {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 16px;
}


/* MENU ICON */

.tc-mobile-nav__item-icon {
    width: 38px;
    height: 38px;

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

    flex: 0 0 38px;

    border: 1px solid rgba(221, 179, 95, 0.26);
    border-radius: 50%;

    color: var(--tc-gold);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.tc-mobile-nav__item-icon svg {
    width: 18px;
    height: 18px;

    display: block;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* MENU TEXT */

.tc-mobile-nav__menu strong {
    color: var(--tc-cream);

    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;

    letter-spacing: 0;
}


/* MENU ARROW */

.tc-mobile-nav__item-arrow {
    width: 30px;
    height: 30px;

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

    flex: 0 0 30px;

    color: rgba(221, 179, 95, 0.78);

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.tc-mobile-nav__item-arrow svg {
    width: 17px;
    height: 17px;

    display: block;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* MENU HOVER */

.tc-mobile-nav__menu > a:hover {
    color: var(--tc-gold);
}

.tc-mobile-nav__menu > a:hover .tc-mobile-nav__item-icon {
    background: var(--tc-gold);
    border-color: var(--tc-gold);

    color: var(--tc-green-dark);
}

.tc-mobile-nav__menu > a:hover .tc-mobile-nav__item-arrow {
    color: var(--tc-gold);

    transform: translate(2px, -2px);
}


/* =========================================================
   11 — MOBILE CTA
========================================================= */

.tc-mobile-nav__cta {
    padding: 24px 0 22px;

    flex: 0 0 auto;
}

.tc-mobile-order {
    width: 100%;
    min-height: 58px;

    padding: 0 22px;

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

    gap: 20px;

    border: 1px solid var(--tc-gold);
    border-radius: 8px;

    background: var(--tc-gold);

    color: var(--tc-green-dark);

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

    letter-spacing: 0.13em;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.tc-mobile-order__icon {
    width: 26px;
    height: 26px;

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

.tc-mobile-order__icon svg {
    width: 18px;
    height: 18px;

    display: block;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   MOBILE SOCIAL — FINAL
========================================================= */

.tc-mobile-nav__social {
    width: 100%;
    padding-top: 26px;
    text-align: center;
}

.tc-mobile-nav__social > p {
    margin: 0 0 16px;

    color: rgba(247, 241, 229, 0.68) !important;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* SOCIAL WRAPPER */

.tc-mobile-social {
    width: 100%;

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

    gap: 14px;
}


/* SOCIAL BUTTON */

.tc-mobile-social > a {
    width: 42px !important;
    height: 42px !important;
    min-width: 36px;
    min-height: 36px;

    flex: 0 0 46px;

    aspect-ratio: 1 / 1;

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

    padding: 0;
    margin: 0;

    box-sizing: border-box;

    border: 1px solid rgba(231, 181, 76, 0.48);
    border-radius: 50% !important;

    background: transparent;

    color: #e7b54c;

    text-decoration: none;
}


/* ICON */

.tc-mobile-social > a svg {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    display: block;

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


/* INSTAGRAM DOT */

.tc-mobile-social .tc-social-dot {
    fill: currentColor;
    stroke: none;
}


/* INTERACTION */

.tc-mobile-social > a:hover,
.tc-mobile-social > a:focus {
    color: #e7b54c;
    border-color: #e7b54c;
    background: transparent;
}


/* =========================================================
   13 — RESPONSIVE
========================================================= */


/* ---------------------------------------------------------
   DESKTOP
--------------------------------------------------------- */

@media (min-width: 1181px) {

    .tc-nav {
        display: flex;
    }

    .tc-header__cart {
        display: inline-flex;
    }

    .tc-header__order {
        display: inline-flex;
    }

    .tc-header button.tc-menu-toggle {
        display: none;
    }

    .tc-mobile-nav {
        display: none;
    }
}


/* ---------------------------------------------------------
   TABLET + MOBILE NAVIGATION MODE
--------------------------------------------------------- */

@media (max-width: 1180px) {

    .tc-header,
    .tc-header__inner {
        height: 100px;
    }

    .tc-header__inner {
        padding: 0 40px;
        gap: 24px;
    }

    .tc-header__brand {
        width: 110px;
        flex-basis: 110px;
    }

    .tc-header__brand img {
        max-width: 110px;
    }

    body.home .tc-header__brand {
        margin-top: 10px;
    }


    /* INNER PAGE */

    body:not(.home) .tc-header,
    body:not(.home) .tc-header__inner {
        height: 88px;
    }

    body:not(.home) .tc-header__brand {
        width: 82px;
        flex-basis: 82px;

        margin: 0;
    }

    body:not(.home) .tc-header__brand img {
        max-width: 82px;
    }


    /* NAVIGATION */

    .tc-nav {
        display: none;
    }

    .tc-header__order {
        display: none;
    }

    .tc-header__actions {
        margin-left: auto;

        display: flex;
        align-items: center;

        gap: 16px;
    }

    .tc-header__cart {
        display: inline-flex;
    }

    .tc-header button.tc-menu-toggle {
        display: flex;
    }

    .tc-mobile-nav {
        display: flex;
    }
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 767px) {

    .tc-header,
    .tc-header__inner {
        height: 104px;
    }

    .tc-header__inner {
        padding: 0 30px;
        gap: 14px;
    }


    /* HOME BRAND */

    .tc-header__brand {
        width: 108px;
        flex-basis: 108px;
    }

    .tc-header__brand img {
        max-width: 108px;
    }

    body.home .tc-header__brand {
        margin-top: 8px;
    }


    /* INNER PAGE */

    body:not(.home) .tc-header,
    body:not(.home) .tc-header__inner {
        height: 82px;
    }

    body:not(.home) .tc-header__brand {
        width: 72px;
        flex-basis: 72px;

        margin: 0;
    }

    body:not(.home) .tc-header__brand img {
        max-width: 72px;
    }


    /* HEADER ACTIONS */

    .tc-header__actions {
        margin-left: auto;

        display: flex;
        align-items: center;

        gap: 16px;
    }


    /* TOGGLE */

    .tc-header button.tc-menu-toggle {
        width: 44px;
        height: 44px;

        flex: 0 0 44px;

        display: flex;
    }


    /* DRAWER */

    .tc-mobile-nav__panel {
        width: calc(100% - 20px);

        padding:
            0
            24px
            28px;
    }

    .tc-mobile-nav__brand {
        width: 94px;
    }

    .tc-mobile-nav__brand img {
        max-width: 94px;
    }


    /* MENU */

    .tc-mobile-nav__menu {
        padding-top: 10px;
    }

    .tc-mobile-nav__menu > a {
        min-height: 64px;
    }

    .tc-mobile-nav__item-main {
        gap: 14px;
    }

    .tc-mobile-nav__item-icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .tc-mobile-nav__item-icon svg {
        width: 17px;
        height: 17px;
    }

    .tc-mobile-nav__menu strong {
        font-size: 19px;
    }


    /* CTA */

    .tc-mobile-nav__cta {
        padding: 20px 0 18px;
    }

    .tc-mobile-order {
        min-height: 54px;
    }
}


/* ---------------------------------------------------------
   SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 390px) {

    .tc-header__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tc-header__brand {
        width: 98px;
        flex-basis: 98px;
    }

    .tc-header__brand img {
        max-width: 98px;
    }

    .tc-header__actions {
        gap: 10px;
    }

    .tc-mobile-nav__panel {
        width: calc(100% - 12px);

        padding-left: 20px;
        padding-right: 20px;
    }


    .tc-mobile-nav__brand {
        width: 88px;
    }

    .tc-mobile-nav__brand img {
        max-width: 88px;
    }

    .tc-mobile-nav__menu > a {
        min-height: 60px;
    }

    .tc-mobile-nav__item-main {
        gap: 12px;
    }

    .tc-mobile-nav__item-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }

    .tc-mobile-nav__menu strong {
        font-size: 18px;
    }

    .tc-mobile-nav__item-arrow {
        width: 26px;
        height: 26px;

        flex-basis: 26px;
    }

    .tc-mobile-nav__cta {
        padding-top: 18px;
        padding-bottom: 16px;
    }

    .tc-mobile-order {
        min-height: 52px;

        padding-left: 18px;
        padding-right: 18px;
    }

    .tc-mobile-social {
        gap: 8px;
    }

    .tc-mobile-social a {
        width: 38px;
        height: 38px;
    }
}


/* ---------------------------------------------------------
   SHORT MOBILE SCREEN
--------------------------------------------------------- */

@media (max-width: 767px) and (max-height: 760px) {


    .tc-mobile-nav__brand {
        width: 82px;
    }

    .tc-mobile-nav__menu {
        padding-top: 6px;
    }

    .tc-mobile-nav__menu > a {
        min-height: 55px;
    }

    .tc-mobile-nav__item-icon {
        width: 32px;
        height: 32px;

        flex-basis: 32px;
    }

    .tc-mobile-nav__item-icon svg {
        width: 15px;
        height: 15px;
    }

    .tc-mobile-nav__menu strong {
        font-size: 15px;
    }

    .tc-mobile-nav__cta {
        padding: 14px 0;
    }

    .tc-mobile-order {
        min-height: 48px;
    }

    .tc-mobile-nav__social p {
        margin-bottom: 10px;
    }

    .tc-mobile-social a {
        width: 36px;
        height: 36px;
    }

    .tc-mobile-social a svg {
        width: 15px;
        height: 15px;
    }
}

/* =========================================================
   CART DRAWER — FOUNDATION STATE
========================================================= */

.tc-cart-drawer {
    position: fixed;
    inset: 0;

    z-index: 99999;

    visibility: hidden;
    pointer-events: none;
}

.tc-cart-drawer__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.48);

    opacity: 0;
}

.tc-cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;

    width: min(460px, 100%);
    height: 100%;

    background: #064c42;

    transform: translateX(100%);
}

.tc-cart-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.tc-cart-drawer.is-open .tc-cart-drawer__backdrop {
    opacity: 1;
}

.tc-cart-drawer.is-open .tc-cart-drawer__panel {
    transform: translateX(0);
}


/* Prevent unstyled SVG explosion */

.tc-cart-drawer svg {
    display: block;
    width: 24px;
    height: 24px;
}


/* Drawer remains hidden until JS opens it */

.tc-cart-drawer[aria-hidden="true"] {
    visibility: hidden;
    pointer-events: none;
}