/* =========================================================
   BLOOMS & BALLOONS — PREMIUM HEADER
========================================================= */

:root {
    --bb-black: #080808;
    --bb-black-soft: #0d0d0d;
    --bb-gold: #cdb08a;
    --bb-gold-light: #ddc19a;
    --bb-cream: #f3e9dc;
}


/* =========================================================
   ANNOUNCEMENT BAR
========================================================= */

.announcement-bar {
    height: 35px;
    background: #c9a987;
    color: #15110d;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .17em;
    text-align: center;
    text-transform: uppercase;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: var(--bb-black);

    color: var(--bb-gold);

    border-bottom: 1px solid rgba(205, 176, 138, .12);
}


.header-inner {
    width: min(100% - 70px, 1320px);

    min-height: 130px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 250px 1fr 250px;

    align-items: center;

    position: relative;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {
    width: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;

    justify-content: center;

    color: var(--bb-gold);

    text-decoration: none;

    line-height: 1;

    justify-self: start;
}


.site-logo-flower {
    width: 43px;
    height: 52px;

    margin-bottom: 7px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.site-logo-flower svg {
    width: 100%;
    height: 100%;

    display: block;
}


.site-logo-name {
    display: flex;
    flex-direction: column;

    align-items: center;

    font-family: "Cormorant Garamond", serif;

    font-size: 23px;

    font-weight: 500;

    letter-spacing: .12em;

    line-height: .92;

    text-align: center;
}


.site-logo-name small {
    font-size: 14px;

    line-height: 1;

    margin: 4px 0;
}


.site-logo-city {
    margin-top: 10px;

    font-family: "Montserrat", sans-serif;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: .42em;

    padding-left: .42em;
}


.site-logo-heart {
    margin-top: 9px;

    font-size: 11px;

    line-height: 1;

    color: var(--bb-gold-light);
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.desktop-navigation {
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: clamp(28px, 3.2vw, 58px);
}


.nav-item {
    position: relative;

    height: 100%;

    display: flex;

    align-items: center;
}


.nav-link {
    height: 100%;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: rgba(221, 193, 154, .88);

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;

    font-weight: 500;

    letter-spacing: .11em;

    text-transform: uppercase;

    white-space: nowrap;

    transition:
        color .25s ease,
        opacity .25s ease;
}


.nav-link:hover,
.nav-link.is-active {
    color: #fff1df;
}


.nav-chevron {
    width: 9px;
    height: 6px;

    transition: transform .25s ease;
}


.has-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}


/* =========================================================
   DESKTOP DROPDOWN
========================================================= */

.nav-dropdown {
    position: absolute;

    top: calc(100% - 1px);

    left: 50%;

    transform:
        translateX(-50%)
        translateY(10px);

    min-width: 225px;

    padding: 13px 0;

    background: #0c0c0c;

    border: 1px solid rgba(205, 176, 138, .18);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .4);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;
}


.has-dropdown:hover .nav-dropdown {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0);
}


.nav-dropdown-link {
    display: block;

    padding: 12px 22px;

    color: rgba(243, 233, 220, .72);

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    letter-spacing: .08em;

    text-transform: uppercase;

    transition:
        background .2s ease,
        color .2s ease;
}


.nav-dropdown-link:hover {
    color: var(--bb-gold-light);

    background: rgba(205, 176, 138, .06);
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    justify-self: end;

    display: flex;

    align-items: center;

    gap: 23px;
}


.header-icon {
    width: 23px;
    height: 30px;

    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--bb-gold);

    text-decoration: none;

    cursor: pointer;

    transition:
        color .25s ease,
        transform .25s ease;
}


.header-icon:hover {
    color: #f0d8b5;

    transform: translateY(-1px);
}


.header-icon svg {
    width: 22px;
    height: 22px;

    display: block;
}


.cart-trigger {
    padding-right: 9px;
}


.cart-count {
    position: absolute;

    top: 3px;
    right: -5px;

    min-width: 14px;
    height: 14px;

    padding: 0 3px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--bb-gold);

    color: #111;

    font-family: "Montserrat", sans-serif;

    font-size: 8px;

    font-weight: 600;

    line-height: 1;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 38px;
    height: 38px;

    padding: 8px;

    border: 0;

    background: transparent;

    color: var(--bb-gold);

    cursor: pointer;
}


.mobile-menu-toggle span {
    display: block;

    width: 20px;
    height: 1px;

    margin: 5px 0;

    background: currentColor;

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-navigation-overlay {
    position: fixed;

    inset: 0;

    z-index: 1998;

    background: rgba(0, 0, 0, .62);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


.mobile-navigation {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 1999;

    width: min(390px, 88vw);
    height: 100vh;

    background: #090909;

    color: var(--bb-cream);

    border-right: 1px solid rgba(205, 176, 138, .18);

    transform: translateX(-100%);

    transition: transform .35s cubic-bezier(.22, .61, .36, 1);

    display: flex;

    flex-direction: column;

    overflow-y: auto;
}


body.mobile-menu-open {
    overflow: hidden;
}


body.mobile-menu-open .mobile-navigation {
    transform: translateX(0);
}


body.mobile-menu-open .mobile-navigation-overlay {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


.mobile-navigation-header {
    min-height: 95px;

    padding: 0 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid rgba(205, 176, 138, .14);
}


.mobile-navigation-title {
    font-family: "Montserrat", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .2em;

    color: var(--bb-gold);
}


.mobile-menu-close {
    width: 40px;
    height: 40px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--bb-gold);

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;
}


.mobile-menu-close svg {
    width: 22px;
    height: 22px;
}


/* =========================================================
   MOBILE NAV LINKS
========================================================= */

.mobile-navigation-list {
    padding: 15px 25px;

    flex: 1;
}


.mobile-nav-item {
    border-bottom: 1px solid rgba(205, 176, 138, .10);
}


.mobile-nav-row {
    min-height: 62px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.mobile-nav-link {
    flex: 1;

    color: #eee4d8;

    text-decoration: none;

    font-family: "Cormorant Garamond", serif;

    font-size: 24px;

    font-weight: 500;

    letter-spacing: .03em;
}


.mobile-submenu-toggle {
    width: 45px;
    height: 45px;

    border: 0;

    background: transparent;

    color: var(--bb-gold);

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;
}


.mobile-submenu-toggle svg {
    width: 11px;
    height: 7px;

    transition: transform .25s ease;
}


.mobile-nav-item.submenu-open
.mobile-submenu-toggle svg {
    transform: rotate(180deg);
}


.mobile-submenu {
    display: none;

    padding: 0 0 13px 15px;
}


.mobile-nav-item.submenu-open .mobile-submenu {
    display: block;
}


.mobile-submenu a {
    display: block;

    padding: 9px 0;

    color: rgba(243, 233, 220, .58);

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.mobile-navigation-footer {
    padding: 22px 25px;

    display: flex;

    gap: 25px;

    border-top: 1px solid rgba(205, 176, 138, .14);
}


.mobile-navigation-footer a {
    color: var(--bb-gold);

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.mobile-navigation-footer span {
    margin-left: 4px;
}


/* =========================================================
   SEARCH OVERLAY
========================================================= */

.search-overlay {
    position: fixed;

    inset: 0;

    z-index: 3000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(7, 7, 7, .97);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


.search-overlay.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


.search-overlay-inner {
    width: min(700px, 100%);

    position: relative;

    text-align: center;
}


.search-close {
    position: absolute;

    top: -100px;
    right: 0;

    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;

    color: var(--bb-gold);

    cursor: pointer;
}


.search-close svg {
    width: 22px;
    height: 22px;
}


.search-eyebrow {
    display: block;

    margin-bottom: 25px;

    color: var(--bb-gold);

    font-family: "Montserrat", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .2em;
}


.header-search-form {
    display: flex;

    align-items: center;

    border-bottom: 1px solid rgba(205, 176, 138, .45);
}


.header-search-form input {
    flex: 1;

    min-width: 0;

    padding: 15px 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #fff;

    font-family: "Cormorant Garamond", serif;

    font-size: 32px;

    text-align: center;
}


.header-search-form input::placeholder {
    color: rgba(243, 233, 220, .35);
}


.header-search-form button {
    border: 0;

    background: transparent;

    color: var(--bb-gold);

    font-family: "Montserrat", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .15em;

    text-transform: uppercase;

    cursor: pointer;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .header-inner {
        width: calc(100% - 40px);

        grid-template-columns: 180px 1fr 180px;
    }

    .desktop-navigation {
        gap: 22px;
    }

    .nav-link {
        font-size: 10px;
    }

    .header-actions {
        gap: 15px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .announcement-bar {
        height: 32px;

        font-size: 9px;

        letter-spacing: .12em;
    }


    .site-header {
        position: sticky;

        top: 0;
    }


    .header-inner {
        width: calc(100% - 30px);

        min-height: 88px;

        display: grid;

        grid-template-columns: 50px 1fr 50px;
    }


    .mobile-menu-toggle {
        display: block;

        justify-self: start;
    }


    .site-logo {
        width: 130px;

        justify-self: center;
    }


    .site-logo-flower {
        width: 31px;
        height: 39px;

        margin-bottom: 4px;
    }


    .site-logo-name {
        font-size: 18px;
    }


    .site-logo-name small {
        font-size: 11px;

        margin: 3px 0;
    }


    .site-logo-city {
        margin-top: 7px;

        font-size: 6px;
    }


    .site-logo-heart {
        margin-top: 6px;

        font-size: 8px;
    }


    .desktop-navigation {
        display: none;
    }


    .header-actions {
        justify-self: end;

        gap: 0;
    }


    .header-actions .search-trigger,
    .header-actions > a:first-of-type {
        display: none;
    }


    .header-icon {
        width: 32px;
    }


    .header-icon svg {
        width: 20px;
        height: 20px;
    }


    .cart-count {
        top: 1px;
        right: -1px;
    }


    .search-overlay {
        padding: 25px;
    }


    .search-close {
        top: -65px;
    }


    .header-search-form input {
        font-size: 26px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .announcement-bar {
        font-size: 8px;

        letter-spacing: .08em;
    }


    .header-inner {
        width: calc(100% - 20px);

        min-height: 82px;
    }


    .site-logo-name {
        font-size: 16px;
    }


    .site-logo-city {
        font-size: 5.5px;
    }


    .mobile-navigation {
        width: 90vw;
    }

}