.nh-store-directory {
    --store-ink: #2b211f;
    --store-muted: #746662;
    --store-line: #e2d7d1;
    --store-wine: #8f211b;
    margin: 0 0 56px;
    color: var(--store-ink);
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.nh-store-directory *, .nh-store-directory *::before { box-sizing: border-box; }
.nh-store-lead { margin: 0; color: var(--store-muted); }
.nh-store-directory a { color: var(--store-wine); text-underline-offset: 3px; }
.nh-store-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 24px;
}
.nh-store-directory .nh-store-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 18px;
    border: 1px solid var(--store-wine);
    border-radius: 8px;
    color: var(--store-wine);
    font-weight: 600;
    text-decoration: none;
}
.nh-store-directory .nh-store-action:hover { background: var(--store-wine); color: #fff; }
.nh-store-district {
    margin-bottom: 18px;
    border: 1px solid var(--store-line);
    border-radius: 10px;
    background: #fffdfb;
}
.nh-store-directory .nh-store-district-title {
    margin: 0;
    padding: 18px 22px;
    color: var(--store-ink);
    font: 24px/1.2 Georgia, serif;
}
.nh-store-directory summary {
    position: relative;
    padding: 13px 44px 13px 18px;
    list-style: none;
    cursor: pointer;
    font: 20px/1.3 Georgia, serif;
}
.nh-store-directory summary::-webkit-details-marker { display: none; }
.nh-store-directory summary::before {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border: solid var(--store-wine);
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-70%) rotate(45deg);
    content: "";
}
.nh-store-directory details[open] > summary::before { transform: translateY(-25%) rotate(225deg); }
.nh-store-region { margin: 0 14px; border-top: 1px solid var(--store-line); }
.nh-store-region > summary { font-size: 17px; }
.nh-store-region[open] > summary { background: #f7efeb; }
.nh-store-points { margin: 0; padding: 0; list-style: none; }
.nh-store-region-body { padding: 16px 0; }
.nh-store-region-body:has(.nh-store-map) {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 20px;
    align-items: start;
}
.nh-store-points li { padding: 14px 18px; }
.nh-store-points li + li { border-top: 1px solid var(--store-line); }
.nh-store-points h3 { margin: 0 0 4px; font-size: 16px; }
.nh-store-points p { margin: 0 0 4px; color: var(--store-muted); }
.nh-store-points .nh-store-meta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0;
}
.nh-store-meta svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: var(--store-wine); }
.nh-store-map { min-width: 0; overflow: hidden; border: 1px solid var(--store-line); border-radius: 10px; }
.nh-store-map-canvas { position: relative; height: 360px; background: #f7efeb; isolation: isolate; }
.nh-store-pin {
    display: block;
    width: 22px;
    height: 22px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: var(--store-wine);
    box-shadow: 0 2px 6px #0004;
    transform: translate(-50%, -100%) rotate(-45deg);
}
.nh-store-zoom { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; gap: 4px; }
.nh-store-map-search {
    position: absolute; top: 12px; left: 50%; z-index: 2;
    transform: translateX(-50%);
    display: flex; gap: 4px; width: min(320px, calc(100% - 112px));
    padding: 4px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px #0002;
}
.nh-store-map-search input { flex: 1; min-width: 0; width: 0; padding: 6px; }
.nh-store-map-search button {
    flex: none; padding: 6px 10px; border: 0; border-radius: 5px;
    background: var(--store-wine); color: #fff; font: inherit; cursor: pointer;
}
.nh-store-directory .nh-store-zoom button {
    width: 38px;
    height: 38px;
    min-height: 0;
    padding: 0;
    border: 1px solid var(--store-line);
    border-radius: 6px;
    background: #fff;
    color: var(--store-wine);
    font: 600 20px/1 sans-serif;
    cursor: pointer;
}
.nh-store-form .nh-store-locate { margin-bottom: 10px; }
.nh-store-form .nh-store-locate[hidden] { display: none; }
.nh-store-form .nh-store-locate:disabled { opacity: .65; cursor: wait; }
.nh-store-form { scroll-margin-top: 24px; }
.nh-store-back { display: inline-block; margin-bottom: 16px; }
.nh-store-form > p { margin: 0 0 16px; }
.nh-store-form #nh-store-application {
    padding: clamp(16px, 2.4vw, 36px);
    border: 1px solid var(--store-line);
    border-radius: 12px;
    background: #fffdfb;
}
.nh-store-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
}
.nh-store-fields label { display: grid; align-content: start; gap: 6px; min-width: 0; }
.nh-store-wide { grid-column: 1 / -1; }
.nh-store-fields input, .nh-store-fields select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid #d5c9c4;
    border-radius: 7px;
    background: #fff;
    color: var(--store-ink);
    font: inherit;
}
.nh-store-directory :focus-visible { outline: 2px solid var(--store-wine); outline-offset: 3px; }
.nh-store-hint { color: var(--store-muted); font-size: 13px; }
.nh-store-location { min-width: 0; margin: 20px 0 0; padding: 14px; border: 1px solid var(--store-line); border-radius: 8px; }
.nh-store-location legend { padding: 0 6px; color: var(--store-ink); font-weight: 600; }
.nh-store-consents { display: grid; gap: 10px; margin: 16px 0; font-size: 14px; }
.nh-store-consents > div {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
}
.nh-store-consents input { accent-color: var(--store-wine); margin-right: 5px; }
.nh-store-note { padding: 12px 16px; border: 1px solid var(--store-line); border-radius: 8px; background: #f7efeb; }
ul.nh-store-note { padding-left: 32px; }
.nh-store-form :is(.nh-store-locate, button[type="submit"]:not(.nh-store-map button)) {
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--store-wine);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.nh-store-form :is(.nh-store-locate, button[type="submit"]:not(.nh-store-map button)):hover { background: #711813; }
@media (max-width: 640px) {
    .nh-store-region-body:has(.nh-store-map) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .nh-store-fields { grid-template-columns: 1fr; }
    .nh-store-form #nh-store-application { padding: 16px; }
    .nh-store-directory summary { font-size: 17px; }
    .nh-store-form :is(.nh-store-locate, button[type="submit"]:not(.nh-store-map button)) { width: 100%; }
}
