/* Shared storefront palette and header, with merchandising sections on the home page. */
body.jsflower-storefront {
  --store-navy: #142b53;
  --store-accent: #ad3b1c;
  --store-line: #e1e5eb;
  --store-gutter: 32px;
  --store-surface: #f5f6f8;
  --store-muted: #536176;
  --store-ink: #192437;
  background: #fff;
  color: var(--store-ink);
}

.jsflower-storefront .fh-wrap {
  width: min(1400px, calc(100% - 2 * var(--store-gutter)));
  max-width: none;
  margin-inline: auto;
}

.fh-utility { background: var(--store-surface); }
.fh-utility nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-block: 8px;
  font-size: .8125rem;
}
.fh-utility a { color: var(--store-navy); }
.fh-utility a:hover { text-decoration: underline; }

body.jsflower-storefront .js-header { background: #fff; border: 0; letter-spacing: normal; line-height: 1.6; }
body.jsflower-storefront .js-brand { justify-content: center; }
body.jsflower-storefront .js-brand img { width: 260px; }
body.jsflower-storefront .js-header-inner {
  width: min(1400px, calc(100% - 2 * var(--store-gutter)));
  max-width: none;
  min-height: 108px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.jsflower-storefront .js-header-contact > a {
  font-family: inherit;
  font-size: clamp(1.5rem, 2.7vw, 2.125rem);
  font-weight: 800;
  text-decoration: none;
  color: var(--store-navy) !important;
}
body.jsflower-storefront .js-header-contact > span { font-size: .8125rem; }

.fh-search {
  display: flex;
  width: min(100%, 295px);
  border: 1px solid var(--store-navy);
  align-items: stretch;
}
.fh-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: #fff;
  padding: 9px 11px;
  font: inherit;
  font-size: 1rem;
  color: var(--store-navy);
}
.fh-search input:focus-visible { outline: 2px solid var(--store-navy); outline-offset: -2px; }
.fh-search button {
  border: 0;
  padding: 0 14px;
  background: var(--store-navy);
  color: #fff;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

body.jsflower-storefront .js-desktop-nav {
  width: min(1400px, calc(100% - 2 * var(--store-gutter)));
  margin-inline: auto;
  background: var(--store-navy);
}
body.jsflower-storefront .js-nav-inner {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  max-width: none;
  padding-inline: 0;
}
body.jsflower-storefront .js-nav-inner > a,
body.jsflower-storefront .js-nav-group > a {
  padding: 15px 5px;
  font-size: clamp(.8125rem, 1.1vw, .9375rem);
  font-weight: 700;
  color: #fff !important;
  border: 0;
  word-break: keep-all;
}
body.jsflower-storefront .js-nav-inner > .js-nav-group { justify-content: center; }
body.jsflower-storefront .js-nav-inner svg { display: none; }
body.jsflower-storefront .js-nav-inner > a:hover,
body.jsflower-storefront .js-nav-inner > a[aria-current=page],
body.jsflower-storefront .js-nav-group:hover,
body.jsflower-storefront .js-nav-group:focus-within { background: #234272; }
body.jsflower-storefront .js-nav-group > a:hover { color: #fff !important; }
body.jsflower-storefront .js-nav-children > summary { color: #fff !important; }
body.jsflower-storefront .js-nav-submenu { border-top-color: var(--store-navy); }
body.jsflower-storefront .js-subnav { border-bottom: 1px solid var(--store-line); gap: 6px 22px; padding: 8px var(--store-gutter); font-size: .8125rem; }
body.jsflower-storefront .js-subnav a { color: var(--store-muted); }
body.jsflower-storefront .js-subnav a[aria-current=page] { color: var(--store-navy); font-weight: 700; }
body.jsflower-storefront .fh-footer { background: var(--store-surface); }

body.jsflower-storefront.jsflower-editorial .js-sidebar-contact {
  padding: clamp(18px, 2.1vw, 28px);
  border: 1px solid var(--store-line) !important;
  border-top: 2px solid var(--store-navy) !important;
  border-radius: 4px;
  background: var(--store-surface) !important;
}
body.jsflower-storefront.jsflower-editorial .js-sidebar-contact :is(h2, .js-phone, .js-sidebar-guide) {
  color: var(--store-navy) !important;
}
body.jsflower-storefront.jsflower-editorial .js-sidebar-contact :is(p, .js-eyebrow) {
  color: var(--store-muted) !important;
}
body.jsflower-storefront.jsflower-editorial .js-sidebar-contact .js-button {
  background: var(--store-navy) !important;
  border-color: var(--store-navy) !important;
  color: #fff !important;
  border-radius: 3px;
}
body.jsflower-storefront.jsflower-editorial .js-sidebar-contact .js-button:hover {
  background: #234272 !important;
}
body.jsflower-storefront.jsflower-editorial .js-sidebar-categories {
  border-color: var(--store-line);
  border-radius: 4px;
}
body.jsflower-storefront.jsflower-editorial .site-footer {
  background: var(--store-surface);
  border-color: var(--store-line);
}
body.jsflower-storefront.jsflower-editorial :is(.post-wiki-promo-btn, .js-guide-order) {
  background: var(--store-surface) !important;
  color: var(--store-navy) !important;
  border-color: var(--store-line) !important;
}
body.jsflower-storefront.jsflower-editorial :is(.post-wiki-promo-btn:hover, .js-guide-product > a:hover .js-guide-order) {
  background: var(--store-navy) !important;
  color: #fff !important;
}

.jsflower-home .fh-occasion-nav { padding: 20px 0 22px; gap: 0; }
.fh-occasion-nav > a {
  position: relative;
  min-width: 0;
  gap: 3px;
  padding-inline: 5px;
}
.fh-occasion-nav > a + a::before {
  content: "";
  position: absolute;
  inset: 25% auto 15% 0;
  border-left: 1px solid var(--store-line);
}
.jsflower-home .fh-occasion-nav span { width: 92px; height: 92px; margin-bottom: 5px; background: #f1f3f6; }
.jsflower-home .fh-occasion-nav strong { font-size: .9375rem; color: var(--store-navy); }
.fh-occasion-nav small { font-size: .8125rem; color: #536176; }
.jsflower-home .fh-occasion-nav a:hover strong { color: var(--store-accent); }

.fh-banner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 17%);
  gap: 12px;
}
.fh-main-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  min-height: clamp(330px, 32vw, 465px);
  overflow: hidden;
  position: relative;
  background: linear-gradient(120deg, #fdf1df, #f7e6d5 56%, #eeebdc);
}
.fh-banner-flower {
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 52%;
  mask-image: linear-gradient(to right, transparent, #000 21%);
}
.fh-banner-copy {
  align-self: center;
  position: relative;
  padding: 28px clamp(25px, 5vw, 76px);
  padding-right: 0;
}
.fh-banner-kicker { color: var(--store-navy); font-size: .875rem; font-weight: 700; }
.fh-banner-copy h1 {
  margin-block: 12px 15px;
  font-size: clamp(2rem, 3.85vw, 3.65rem);
  font-weight: 800;
  line-height: 1.16;
  color: var(--store-accent);
  letter-spacing: -.06em;
}
.fh-banner-copy > p:not(.fh-banner-kicker) { color: #403329; font-size: 1rem; }
.jsflower-home .fh-banner-button {
  display: inline-flex;
  padding: 10px 18px;
  margin-top: 20px;
  color: #fff;
  background: var(--store-accent);
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 3px;
}
.jsflower-home .fh-banner-button:hover { color: #fff; background: #883019; }

.fh-banner-aside { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.fh-banner-aside a {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e9eeea;
  color: #164b42;
}
.fh-banner-aside a:last-child { background: #eef0e6; color: #285335; }
.fh-banner-aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
}
.fh-banner-aside a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #fff 0%, #fffC 23%, transparent 64%);
}
.fh-banner-aside a > span { position: relative; z-index: 1; display: grid; padding: 13px 14px; line-height: 1.35; }
.fh-banner-aside small { font-size: .8125rem; }
.fh-banner-aside strong { font-size: 1.4rem; font-weight: 800; }
.fh-banner-aside a:hover strong { text-decoration: underline; }

.fh-wreaths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 34px;
}
.fh-wreaths-group { border: 1px solid var(--store-line); border-top: 2px solid var(--store-navy); }
.fh-wreaths-group:first-child { border-top-color: var(--store-accent); }
.fh-wreaths-group header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 12px 18px;
  background: #f6f7f9;
  border-bottom: 1px solid var(--store-line);
}
.fh-wreaths-group h2 { font-size: 1.4rem; color: var(--store-navy); }
.fh-wreaths-group:first-child h2 { color: var(--store-accent); }
.fh-wreaths-group header > a { font-size: .875rem; }
.fh-wreaths-group a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fh-wreaths-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.fh-wreaths-items img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f6f7f9; }
.fh-wreaths-items strong { display: block; padding: 8px 0 4px; color: #26344a; font-size: .9375rem; }

.jsflower-home .fh-section-top h2 { color: var(--store-navy); font-weight: 700; }
.jsflower-home .fh-kicker { color: #536176; }
.jsflower-home .fh-product-image > span { background: var(--store-navy); }
.jsflower-home .fh-green,
.jsflower-home .fh-buying-links > a,
.jsflower-home .fh-order-contact { background: #f6f8fb; border-color: var(--store-line); }
.jsflower-home .fh-buying-links > a:hover { border-color: var(--store-navy); }
.jsflower-home .fh-order-contact > a { color: var(--store-navy) !important; }
.jsflower-home .fh-footer .fh-wrap { width: 100%; }

@media (max-width: 1000px) {
  body.jsflower-storefront { --store-gutter: 22px; }
  body.jsflower-storefront .js-nav-inner > a,
  body.jsflower-storefront .js-nav-group > a { padding-inline: 4px; }
  .jsflower-home .fh-occasion-nav span { width: 76px; height: 76px; }
}

@media (max-width: 768px) {
  body.jsflower-storefront { --store-gutter: 16px; }
  .fh-utility nav { justify-content: center; }
  body.jsflower-storefront .js-desktop-nav { display: none; }
  body.jsflower-storefront .js-mobile-nav { display: block; }
  body.jsflower-storefront .js-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 15px;
    gap: 12px;
  }
  body.jsflower-storefront .js-brand { justify-content: flex-start; }
  body.jsflower-storefront .js-brand img { width: 166px; }
  body.jsflower-storefront .js-header-contact > a { font-size: clamp(1.1rem, 4.6vw, 1.45rem); }
  body.jsflower-storefront .js-header-contact > span { font-size: .75rem; }
  .fh-search { grid-area: 2 / 1 / 3 / -1; width: 100%; }
  body.jsflower-storefront .js-mobile-nav,
  body.jsflower-storefront .js-mobile-nav > summary,
  body.jsflower-storefront .js-mobile-contact > a:first-child { background: var(--store-navy); }
  body.jsflower-storefront .js-mobile-nav { margin-inline: 0; border: 0; }
  body.jsflower-storefront .js-mobile-nav > summary { color: #fff; padding: 12px 16px; }
  body.jsflower-storefront .js-mobile-nav nav a { color: var(--store-navy) !important; background: #fff; }
  body.jsflower-storefront .js-mobile-nav nav,
  body.jsflower-storefront .js-mobile-contact > a:last-child { background: #f2f5fa; }
  body.jsflower-storefront .js-subnav a:last-child { display: inline; }
  body.jsflower-storefront .js-subnav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .jsflower-home .fh-occasion-nav { row-gap: 12px; }
  .jsflower-home .fh-occasion-nav span { width: 62px; height: 62px; }
  .fh-occasion-nav > a:nth-child(4)::before { content: none; }
  .fh-banner-layout { grid-template-columns: minmax(0, 1fr); }
  .fh-main-banner { min-height: 270px; }
  .fh-banner-copy { padding-left: 17px; grid-column: 1 / -1; max-width: 56%; }
  .fh-banner-copy h1 { font-size: clamp(1.65rem, 6vw, 2.65rem); }
  .fh-banner-copy > p:not(.fh-banner-kicker) { font-size: .875rem; }
  .fh-banner-kicker { font-size: .75rem; }
  .jsflower-home .fh-banner-button { margin-top: 14px; padding: 8px 11px; font-size: .875rem; }
  .fh-banner-aside { grid-template: auto / repeat(2, minmax(0, 1fr)); }
  .fh-banner-aside a { min-height: 96px; }
  .fh-banner-aside img { inset: 0 0 0 auto; width: 62%; }
  .fh-banner-aside a::after { background: linear-gradient(to right, #fff 7%, #fffe 37%, transparent 72%); }
  .fh-banner-aside strong { font-size: 1.1rem; }
  .fh-wreaths { padding-top: 25px; }
  .fh-wreaths-group header { padding: 9px 10px; }
  .fh-wreaths-group h2 { font-size: 1.1rem; }
  .fh-wreaths-items { gap: 8px; padding: 8px; }
}

@media (max-width: 520px) {
  .fh-wreaths { grid-template-columns: minmax(0, 1fr); }
}
