@font-face {
    font-family: "Open Sans";
    src: url("/assets/fonts/open-sans-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ink: #32325d;
    --muted: #505d79;
    --blue: #485abb;
    --pale: #f4f5f7;
    --line: #dce0e7;
    --measure: 100%;
    font: 100%/1.55 "Open Sans", Arial, sans-serif;
    color: var(--ink);
    background: white;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: #303f9b; }
:focus-visible { outline: 3px solid #945500; outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.3; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.65rem, 3vw, 2.1rem); font-weight: 600; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 400; }
h3 { font-size: 1.14rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
h2 + p, h3 + p, p + p { margin-top: .6rem; }
p { max-width: 75ch; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(var(--measure), calc(100% - 2rem)); margin-inline: auto; }
.visually-hidden, .home-hero .search-form label {
    position: absolute; width: 1px; height: 1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 1rem; top: 1rem; z-index: 10;
    background: white; padding: .75rem; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.icon {
    width: 1.2em; height: 1.2em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.65;
    stroke-linecap: round; stroke-linejoin: round;
}

.brand {
    display: inline-block; color: var(--ink); font-size: 1.55rem; line-height: 1.15;
    font-weight: 800; letter-spacing: -.055em; white-space: nowrap; text-decoration: none;
}
a.brand { display: inline-flex; align-items: center; min-height: 44px; }
.site-header { padding-top: 1rem; }
.header-inner {
    display: flex; align-items: center; gap: 1.25rem; padding: .22rem .9rem;
    min-height: 52px; background: var(--pale);
}
.header-inner nav { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
.header-inner nav a, .browse-link {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 44px; font-weight: 600; font-size: .9rem; text-decoration: none;
}
.header-inner nav a:hover, .browse-link:hover { text-decoration: underline; }
.header-inner .florist-nav { padding: .4rem .9rem; background: white; color: var(--blue); border-radius: .25rem; }
.preview-notice { margin: 0; font-size: .75rem; }
.photo-header .site-header { position: absolute; inset: 0 0 auto; z-index: 2; }
.photo-header .header-inner { background: rgb(38 32 54 / 67%); color: white; }
.photo-header .header-inner .brand, .photo-header .header-inner nav a:not(.florist-nav) { color: white; }
.photo-header .header-inner :focus-visible { outline-color: #ffd680; }

.home-hero { position: relative; isolation: isolate; background: white; }
.home-hero::before, .home-particles, .page-cover {
    position: absolute; inset: 0; z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
}
.home-hero::before { content: ""; background: #fedbe2 url("/assets/img/cover/cover_1.jpg") center / cover no-repeat; }
.home-particles { pointer-events: none; overflow: hidden; }
.home-hero .hero-inner {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: clamp(32rem, 46vw, 39rem); padding-block: 6.5rem 6rem;
}
.home-copy {
    text-align: center; color: white;
    text-shadow: 0 0 1px #291d29, 0 1px 2px #291d29bf;
}
.cover-brand {
    color: white; font-size: clamp(2.35rem, 3.4vw, 2.8rem);
}
.home-copy h1 { margin-top: .6rem; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; }
.home-intro { max-width: 45ch; margin: .4rem auto 0; font-size: 1.05rem; text-wrap: pretty; }
.home-hero .search-form { width: 100%; margin-top: 1.4rem; }

.covered-page { position: relative; isolation: isolate; padding-block: 6rem 2.5rem; }
.page-cover { bottom: auto; height: min(30rem, 85%); background: #566bc3; }
.page-cover img { width: 100%; height: 100%; object-fit: cover; }
.catalog-panel {
    position: relative; padding: clamp(1rem, 2.35vw, 1.8rem);
    background: white; border-radius: .35rem;
    box-shadow: 0 .3rem 1.4rem rgb(50 50 93 / 14%), 0 .1rem .3rem rgb(50 50 93 / 10%);
}
.catalog-panel .hero-inner, .catalog-panel > .section-space { width: 100%; }
.catalog-panel .hero-inner { text-align: center; }
.catalog-panel h1 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); }
.catalog-panel > .section-space { padding-block: 1.3rem .5rem; }
.catalog-panel > .reading { padding-top: .75rem; }
.catalog-panel .search-form { max-width: 48rem; margin: 1.25rem auto; text-align: left; }
.breadcrumb { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: 1.35rem; font-size: .9rem; color: var(--muted); }

.search-form { position: relative; }
.search-form label { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 600; }
.search-line {
    position: relative; display: flex; padding: .2rem; background: white;
    border: 1px solid #8792ab; border-radius: .3rem; box-shadow: 0 2px 5px #34293a1c;
}
.search-line:focus-within { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 2px; }
.search-input-wrap { position: relative; flex: 1 1 auto; min-width: 0; }
.search-icon { position: absolute; width: 1.1rem; height: 1.1rem; left: .7rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-form input {
    width: 100%; height: 100%; min-height: 44px; appearance: none;
    padding: .5rem .4rem .5rem 2.25rem; border: 0; border-radius: .2rem;
    background: transparent; color: var(--ink); outline: 0;
}
.search-form input::placeholder { color: #606c80; }
.button, .card-content .card-links a {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: .55rem 1.25rem; border: 0; border-radius: .23rem; font-weight: 600;
    background: var(--blue); color: white; cursor: pointer; text-decoration: none;
}
.button:hover, .card-content .card-links a:hover { background: #3749a6; color: white; }
.suggestions {
    position: absolute; inset: calc(100% + .35rem) -1px auto; z-index: 3;
    list-style: none; padding: .25rem; margin: 0; max-height: 17rem; overflow: auto;
    color: var(--ink); background: white; border: 1px solid var(--line);
    border-radius: .3rem; box-shadow: 0 .5rem 1.2rem #2526432e;
}
.suggestions li { display: flex; justify-content: space-between; align-items: center; gap: .7rem; min-height: 44px; padding: .5rem .75rem; cursor: pointer; }
.suggestions li:hover, .suggestions [aria-selected="true"] { background: #edf0ff; }
.suggestions small { color: var(--muted); }
.home-hero:focus-within { z-index: 1; }

.section-space { padding-block: clamp(1.5rem, 3vw, 2.6rem); }
.home-hero + .section-space { padding-top: .4rem; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: .25rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.directory-intro { max-width: none; margin-bottom: 1.2rem; padding: .85rem 1.15rem; color: white; background: #5365b7; border-radius: .25rem; font-size: .94rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.florist-card {
    min-width: 0; display: flex; flex-direction: column; background: white;
    border: 1px solid var(--line); border-radius: .3rem; box-shadow: 0 2px 6px #32325d12;
}
.card-cover { width: 100%; height: auto; aspect-ratio: 11 / 4; object-fit: cover; border-radius: .25rem .25rem 0 0; background: var(--pale); }
.card-content { display: flex; flex-direction: column; flex: 1; padding: 1rem; }
.card-content h3 { font-size: 1.17rem; }
.card-content h3 a { color: inherit; text-decoration: none; }
.card-content h3 a:hover { text-decoration: underline; }
.card-content p { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.card-content .card-city { margin-top: .15rem; font-weight: 600; }
.card-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-links { display: flex; gap: .4rem .7rem; flex-wrap: wrap; align-items: center; }
.card-links a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.card-content .card-links { padding-top: .9rem; margin-top: auto; }
.card-content .card-links a { padding-inline: .8rem; font-size: .85rem; }
.card-content .card-links a + a { background: #edf0ff; color: var(--blue); }

.listing-section { margin-block: 1.6rem; }
.listing-section:last-child { margin-bottom: 0; }
.listing-section > .card-grid, .listing-section > .shop-list { margin-top: .8rem; }
.listing-section > details > summary { cursor: pointer; font-weight: 600; padding-block: .65rem; color: var(--blue); }
.delivery-results { margin-block: .8rem 1.6rem; }
.delivery-results > h2 { font-size: clamp(1.18rem, 2.1vw, 1.5rem); font-weight: 600; }
.delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .85rem; }
.delivery-card {
    container-type: inline-size;
    display: flex; flex-direction: column; gap: .9rem; padding: .95rem;
    background: white; border: 1px solid var(--line); border-radius: .55rem;
    box-shadow: 0 2px 5px rgb(50 50 93 / 6%); overflow-wrap: anywhere;
}
.delivery-card h3 { font-size: 1.03rem; font-weight: 700; }
.delivery-address { color: var(--muted); font-size: .875rem; margin-top: .22rem; }
.delivery-price {
    display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 .4rem;
    width: fit-content; max-width: 100%; margin-top: .55rem; padding: .3rem .55rem;
    border-radius: .3rem; background: #edf0ff; color: var(--ink);
    font-size: .75rem; line-height: 1.35;
}
.delivery-price strong { font-size: .97rem; font-variant-numeric: tabular-nums; }
@container (min-width: 27rem) {
    .delivery-details { display: flex; justify-content: space-between; align-items: flex-start; gap: .9rem; }
    .delivery-price { display: grid; justify-items: end; flex: none; margin: 0; text-align: right; }
    .delivery-price strong { font-size: 1.1rem; }
}
.delivery-card .card-links {
    margin-top: auto; border-top: 1px solid var(--line); padding-top: .7rem;
    gap: .4rem; font-size: .875rem;
}
.delivery-card .card-links a { padding-inline: .75rem; border-radius: .33rem; }
.delivery-card .card-links a:not(.button) {
    color: var(--ink); border: 1px solid var(--line); text-decoration: none;
}
.delivery-card .card-links a:not(.button):hover { background: #edf0ff; border-color: var(--blue); }
@container (max-width: 22rem) {
    .delivery-card .card-links a { padding-inline: .5rem; }
}
.notice { margin-block: 1rem; padding: .85rem 1rem; border-left: 3px solid #5e72e4; background: #edf0ff; }
.link-list, .shop-list {
    list-style: none; padding: 0; margin: .8rem 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: .3rem 1.3rem;
}
.link-list a, .shop-list li { display: flex; min-height: 44px; align-items: center; padding-block: .45rem; border-bottom: 1px solid var(--line); }
.shop-list li { flex-direction: column; align-items: start; }
.profile-content { text-align: center; }
.profile-hero .hero-inner > p { margin-inline: auto; }
.profile-content section > p, .profile-content aside { margin-inline: auto; }
.profile-content h2 { margin-block: 1rem .6rem; }
.profile-content .card-links { justify-content: center; }
.profile-content aside { max-width: 40rem; margin-top: 1.8rem; padding: 1rem; background: var(--pale); }
.profile-content aside h2 { margin-top: 0; }
.preserve-lines { white-space: pre-line; overflow-wrap: anywhere; }
.reading { max-width: 75ch; overflow-wrap: anywhere; }
.reading h1 { margin-bottom: .6em; }
.reading h2, .reading h3 { margin-top: 1.15em; }
.reading details { padding-block: .4rem; border-bottom: 1px solid var(--line); }
.reading details p { padding-bottom: .45rem; }
.reading summary { cursor: pointer; font-weight: 600; padding-block: .65rem; color: var(--blue); }

.site-footer { background: var(--pale); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 2rem; padding-block: 2.3rem; }
.footer-inner .brand { margin-bottom: .5rem; }
.footer-inner p { color: var(--muted); }
.footer-inner h2 { font-weight: 600; font-size: 1rem; margin-bottom: .65rem; }
.footer-inner ul { padding: 0; margin: 0; list-style: none; }
.footer-inner li a { display: inline-block; padding-block: .27rem; font-size: .92rem; text-decoration: none; }
.footer-inner li a:hover { text-decoration: underline; }
.city-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .6rem; }
.error-page .brand { margin-bottom: 1.5rem; }
.error-page h1 { margin-bottom: .8rem; }

@media (min-width: 36rem) { :root { --measure: 31.875rem; } }
@media (min-width: 48rem) { :root { --measure: 43.125rem; } }
@media (min-width: 62rem) { :root { --measure: 58.125rem; } }
@media (min-width: 75rem) { :root { --measure: 63.125rem; } }

@media (max-width: 61.99rem) {
    .header-inner { display: grid; grid-template-columns: auto 1fr; gap: 0 .5rem; }
    .header-inner nav { grid-column: 2; grid-row: 1; }
    .preview-notice { grid-column: 1 / -1; grid-row: 2; padding-bottom: .35rem; }
    .page-cover { max-height: 22.5rem; }
}
@media (max-width: 47.99rem) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .delivery-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-inner > div:first-child { grid-column: 1 / -1; }
    .home-hero .hero-inner { min-height: 31rem; }
    .covered-page { padding-top: 6.5rem; }
}
@media (max-width: 35.99rem) {
    .wrap { width: calc(100% - 1.5rem); }
    .site-header { padding-top: .6rem; }
    .header-inner { padding-inline: .55rem; }
    .header-inner .brand { font-size: 1.15rem; }
    .header-inner nav { gap: .65rem; }
    .header-inner nav a { font-size: .8rem; }
    .header-inner .florist-nav { padding-inline: .5rem; }
    .florist-nav .icon { display: none; }
    .preview-notice { font-size: .68rem; }
    .home-hero .hero-inner { min-height: clamp(31rem, 69svh, 37rem); padding-block: 7rem 5rem; }
    .home-intro { font-size: .97rem; padding-inline: .5rem; }
    .button { padding-inline: .9rem; }
    .card-grid, .footer-inner { grid-template-columns: minmax(0, 1fr); }
    .footer-inner { gap: 1.5rem; }
    .catalog-panel { padding-inline: .85rem; }
    .section-heading { margin-bottom: .7rem; }
}
@media (max-width: 22rem) {
    .header-inner nav { gap: .35rem; }
    .header-inner nav a { font-size: .75rem; }
    .header-inner .brand { font-size: 1.04rem; }
}
