/*
 * Lily West redesign: Flatsome's header and mobile menu, restyled to match.
 * Loaded on every page while the redesign is on. Markup is Flatsome's own, so
 * search, the basket count, the sticky header and the mobile menu keep working.
 */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }

#header, #main-menu {
	--lwh-ink: #1C1C1A; --lwh-berry: #B5122B; --lwh-cream: #FFFCF3; --lwh-line: #EFEDE4; --lwh-strip: #FFFF66; --lwh-gold: #F6D31B;
	--lwh-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --lwh-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}

/* Delivery strip */
#header #top-bar.header-top { min-height: 36px; background-color: var(--lwh-strip) !important; border-top: 4px solid var(--lwh-gold); }
#header #top-bar .html_topbar_left { font: 600 13px/1.4 var(--lwh-text); color: var(--lwh-ink); letter-spacing: 0; text-transform: none; white-space: normal; text-align: center; padding: 6px 0; }

/* Main bar */
#header #masthead.header-main { background: #FFFFFF; border-bottom: 1px solid var(--lwh-line); height: 84px; }
#header #masthead .header-inner { max-width: 1280px; padding-left: 32px; padding-right: 32px; }
#header.stuck #masthead.header-main, #header .stuck #masthead.header-main { box-shadow: 0 6px 20px rgba(28, 28, 26, .06); }

/* Logo: the crisp SVG in place of the 209px PNG */
#header #logo { width: 150px !important; margin-right: 28px; }
#header #logo a { display: block; width: 150px; height: 48px; background: url("../img/lily-west-logo.svg") left center / contain no-repeat; }
#header #logo a img { opacity: 0; width: 150px; height: 48px; max-height: none; }
#header #logo a img.header-logo-dark { display: none; }

/* Menu */
#header .header-nav-main.nav-left { justify-content: center; flex-wrap: nowrap; }
#header .header-nav-main.nav-right { flex-wrap: nowrap; }
#header .header-nav-main.nav > li > a.nav-top-link { white-space: nowrap; }
#header .header-nav-main.nav > li { margin: 0 1px; }
#header .header-nav-main.nav > li > a.nav-top-link {
	font: 500 15px/1.2 var(--lwh-text); color: var(--lwh-ink); text-transform: none; letter-spacing: 0;
	padding: 0 11px; min-height: 44px; display: flex; align-items: center; position: relative; border-radius: 22px;
}
#header .header-nav-main.nav > li > a.nav-top-link::after {
	content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--lwh-berry); transform: scaleX(0); transition: transform .15s;
}
#header .header-nav-main.nav > li > a.nav-top-link:hover { color: var(--lwh-berry); }
#header .header-nav-main.nav > li > a.nav-top-link:hover::after,
#header .header-nav-main.nav > li.current-menu-item > a.nav-top-link::after,
#header .header-nav-main.nav > li.active > a.nav-top-link::after { transform: scaleX(1); }
#header .header-nav-main.nav > li.current-menu-item > a.nav-top-link, #header .header-nav-main.nav > li.active > a.nav-top-link { color: var(--lwh-berry); }
#header .nav-dropdown { border-radius: 16px; border: 1px solid var(--lwh-line); box-shadow: 0 14px 40px rgba(28, 28, 26, .12); font-family: var(--lwh-text); }

/* Icons: search, phone, basket */
#header .header-search, #header .cart-item, #header .header-contact-wrapper { margin: 0 2px; }
#header .header-search > a, #header .cart-item > a.header-cart-link, #header .header-contact > li > a, #header .mobile-nav > li.nav-icon > a {
	width: 44px; height: 44px; min-height: 44px; border-radius: 50%; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; color: var(--lwh-ink);
}
#header .header-search > a:hover, #header .cart-item > a.header-cart-link:hover, #header .header-contact > li > a:hover, #header .mobile-nav > li.nav-icon > a:hover { background: var(--lwh-cream); color: var(--lwh-ink); }
#header .header-search > a i, #header .cart-item > a.header-cart-link i, #header .mobile-nav > li.nav-icon i, #header .header-contact i { font-size: 20px !important; top: 0; margin: 0; }
#header .cart-item .header-cart-title { display: none; }
#header .header-contact { margin: 0; }
#header .header-contact span { display: none; }
#header .cart-item i[data-icon-label]::after, #header .header-cart-link i[data-icon-label]::after {
	background: var(--lwh-berry); color: #FFFFFF; font: 700 11px/18px var(--lwh-text); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; top: -7px; right: -9px; box-shadow: 0 0 0 2px #FFFFFF;
}
#header .searchform input.search-field { border: 2px solid #C9C9C0; border-radius: 22px 0 0 22px; height: 44px; font: 400 15px var(--lwh-text); box-shadow: none; }
#header .searchform .ux-search-submit { border-radius: 0 22px 22px 0; height: 44px; background: var(--lwh-ink); }

/* Narrower desktops: tighten so the eight menu items stay on one line */
@media (min-width: 850px) and (max-width: 1199px) {
	#header #masthead .header-inner { padding-left: 16px; padding-right: 16px; }
	#header #logo { width: 124px !important; margin-right: 12px; }
	#header #logo a, #header #logo a img { width: 124px; height: 40px; }
	#header .header-nav-main.nav > li > a.nav-top-link { font-size: 14px; padding: 0 7px; }
	#header .header-nav-main.nav > li > a.nav-top-link::after { left: 7px; right: 7px; }
	#header .header-search, #header .cart-item, #header .header-contact-wrapper { margin: 0; }
	#header .header-search > a, #header .cart-item > a.header-cart-link, #header .header-contact > li > a { width: 40px; height: 40px; min-height: 40px; }
}

@media (min-width: 850px) and (max-width: 1099px) {
	#header .header-nav-main.nav > li > a.nav-top-link { font-size: 13px; padding: 0 5px; }
	#header .header-nav-main.nav > li > a.nav-top-link::after { left: 5px; right: 5px; }
	#header .header-search > a, #header .cart-item > a.header-cart-link, #header .header-contact > li > a { width: 36px !important; height: 36px; min-height: 36px; }
}

/* Tablet and phone bar */
@media (max-width: 849px) {
	#header #masthead.header-main { height: 68px; }
	#header #masthead .header-inner { padding-left: 12px; padding-right: 12px; }
	#header #logo { width: 124px !important; margin: 0 auto; }
	#header #logo a, #header #logo a img { width: 124px; height: 40px; }
}

/* Mobile menu (Flatsome's off-canvas sidebar) */
#main-menu.mobile-sidebar { background: #FFFFFF; font-family: var(--lwh-text); }
#main-menu .nav-sidebar { padding-top: 12px; }
#main-menu .nav-sidebar > li { border-color: var(--lwh-line) !important; }
#main-menu .nav-sidebar > li > a {
	font: 600 18px/1.3 var(--lwh-text) !important; color: var(--lwh-ink); text-transform: none; letter-spacing: 0; padding: 14px 24px; min-height: 52px; display: flex; align-items: center;
}
#main-menu .nav-sidebar > li.current-menu-item > a { color: var(--lwh-berry); box-shadow: inset 4px 0 0 var(--lwh-berry); }
#main-menu .nav-sidebar > li.account-item > a { font-size: 15px !important; font-weight: 500 !important; color: #55554E; }
#main-menu .header-social-icons { padding: 14px 24px; }
#main-menu .html_top_right_text { display: none !important; } /* Old seasonal note (e.g. last March's Mother's Day). */
.off-canvas.main-menu-overlay.mfp-bg { background: rgba(28, 28, 26, .55); }

/* ---------- Site footer (templates/partials/site-footer.php), on every page ---------- */
body.lwr-footer #footer { display: block !important; background: #141414; padding: 0; margin: 0; }
body.lwr-footer #footer > :not(.lwf):not(.back-to-top) { display: none !important; }
.lwf {
	--lwf-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --lwf-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
	background: #141414; color: #E8E8E2; font: 400 15px/1.7 var(--lwf-text); -webkit-font-smoothing: antialiased;
}
.lwf *, .lwf *::before, .lwf *::after { box-sizing: border-box; }
.lwf__wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.lwf { border-top: 1px solid #2A2A27; }
.lwf__grid { padding-top: 64px; padding-bottom: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px; }
.lwf__brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.lwf__logo { display: block; }
.lwf__logo img { width: 150px; height: auto; display: block; }
.lwf__tag { margin: 0; max-width: 300px; font-family: var(--lwf-head); font-weight: 700; font-size: 20px; line-height: 1.3; color: #FFFFFF; }
.lwf__tag span { color: #FFE45C; }
.lwf__social { display: flex; gap: 10px; }
.lwf__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3A3A36; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; }
.lwf__social a:hover { background: #FFFFFF; color: #141414; border-color: #FFFFFF; }
.lwf .lwf__head { margin: 0 0 14px; padding: 0; font: 700 12px/1.4 var(--lwf-text); letter-spacing: .1em; text-transform: uppercase; color: #FFE45C; }
.lwf__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lwf__col li { margin: 0; }
.lwf a { color: #E8E8E2; text-decoration: none; }
.lwf__col li a { display: inline-flex; align-items: center; min-height: 36px; }
.lwf a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.lwf address { font-style: normal; margin: 0 0 10px; color: #E8E8E2; }
.lwf .lwf__phone { display: inline-block; font-family: var(--lwf-head); font-weight: 800; font-size: 24px; color: #FFE45C; margin-bottom: 2px; }
.lwf .lwf__email { display: block; margin-bottom: 14px; word-break: break-word; }
.lwf__hours { margin: 0; display: grid; gap: 2px; font-size: 14px; max-width: 260px; }
.lwf__hours div { display: flex; justify-content: space-between; gap: 16px; }
.lwf__hours dt, .lwf__hours dd { margin: 0; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 14px; color: #C9C9C0; }
.lwf__hours dt { color: #E8E8E2; }
.lwf__bottom { border-top: 1px solid #2A2A27; }
.lwf__bottom-row { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 13px; color: #9A9A92; }
@media (max-width: 1000px) {
	.lwf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
}
@media (max-width: 600px) {
	.lwf__wrap { padding-left: 16px; padding-right: 16px; }
	.lwf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; padding-bottom: 36px; gap: 28px 16px; }
	.lwf__brand, .lwf__visit { grid-column: 1 / -1; }
	.lwf__hours { max-width: none; }
	.lwf__bottom-row { flex-direction: column; }
}
