.spz-xmas {
    --spz-yellow: #fcc22c;
    --spz-ink: #22211c;
    --spz-muted: #615e55;
    --spz-line: #e5e0d5;
    --spz-soft: #f8f6f0;
    --spz-map-height: 640px;
    color: var(--spz-ink);
    font: 400 15px/1.45 system-ui, sans-serif;
    margin-block: 1.5rem;
    text-align: start;
}

.spz-xmas *, .spz-xmas *::before, .spz-xmas *::after { box-sizing: border-box; }
.spz-xmas [hidden] { display: none !important; }
.spz-xmas p { margin: 0; }
.spz-xmas button, .spz-xmas select, .spz-xmas input { font: inherit; color: inherit; }
.spz-xmas button { cursor: pointer; letter-spacing: normal; text-transform: none; }
.spz-xmas button:focus-visible, .spz-xmas input:focus-visible, .spz-xmas select:focus-visible,
.spz-xmas a:focus-visible, .spz-xmas__pin:focus-visible, .spz-xmas__card:focus-visible {
    outline: 3px solid #6b5300;
    outline-offset: 2px;
}
.spz-xmas__sr {
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    position: absolute;
    white-space: nowrap;
}

.spz-xmas__filters {
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 2;
    background: #fffefa;
    border: 1px solid var(--spz-line);
    border-radius: 22px;
    padding: clamp(12px, 2.4vw, 25px);
    box-shadow: 0 3px 12px #29251909;
}
.spz-xmas__fields { display: flex; flex-wrap: wrap; align-items: start; gap: 10px 12px; }
.spz-xmas__place { flex: 1 1 210px; max-inline-size: 320px; }
.spz-xmas__radius-field { flex: 0 0 108px; }
.spz-xmas__period { position: relative; flex: 1 1 270px; max-inline-size: 365px; }
.spz-xmas__period-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.spz-xmas .spz-xmas__period-error { color: #9a3625; font-size: .85rem; }
.spz-xmas__period input[aria-invalid] { border-color: #9a3625; }
.spz-xmas .spz-xmas__period-toggle,
.spz-xmas .spz-xmas__period-calendar button {
    border: 1px solid var(--spz-line);
    border-radius: 9px;
    background: #fff;
    color: var(--spz-ink);
    min-height: 42px;
    min-width: 0;
    padding: 4px;
    font: 650 .86rem/1.2 system-ui, sans-serif;
    box-shadow: none;
}
.spz-xmas .spz-xmas__period-toggle { padding-inline: 10px; }
.spz-xmas .spz-xmas__period-toggle:hover,
.spz-xmas .spz-xmas__period-calendar button:hover { background: #fff0be; }
.spz-xmas .spz-xmas__period-days button[aria-pressed="true"] { background: var(--spz-yellow); border-color: #a77400; }
.spz-xmas .spz-xmas__period-calendar button:disabled { opacity: .45; cursor: default; }
.spz-xmas__period-calendar {
    position: absolute;
    inset-block-start: calc(100% + 6px);
    inset-inline-end: 0;
    z-index: 6;
    width: min(100%, 345px);
    max-block-size: calc(100vh - 24px);
    max-block-size: calc(100svh - 24px);
    overflow-y: auto;
    background: #fffefa;
    border: 1px solid var(--spz-line);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 9px 24px #29251920;
}
.spz-xmas__period-nav { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; text-align: center; gap: 4px; }
.spz-xmas__period-week, .spz-xmas__period-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.spz-xmas__period-week { margin-block: 6px 3px; color: var(--spz-muted); text-align: center; }
.spz-xmas .spz-xmas__period-hint { margin: 6px 0 0; font-size: .79rem; font-weight: 500; color: var(--spz-muted); }
.spz-xmas__field { display: grid; gap: 6px; min-width: 0; font-size: .88rem; font-weight: 700; margin: 0; }
.spz-xmas__place { position: relative; }
.spz-xmas .spz-xmas__field :is(input, select) {
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    border: 1px solid #d5d0c3;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 500;
}
.spz-xmas .spz-xmas__field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: right 15px center, right 10px center;
    background-repeat: no-repeat;
    background-size: 5px 5px;
    padding-inline-end: 26px;
}
.spz-xmas__suggest {
    position: absolute;
    top: calc(100% + 5px);
    inset-inline: 0;
    min-width: min(230px, 100%);
    z-index: 5;
    background: #fff;
    border: 1px solid var(--spz-line);
    box-shadow: 0 9px 24px #29251920;
    border-radius: 12px;
    padding: 4px;
}
.spz-xmas .spz-xmas__suggest-option {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 11px 12px;
    text-align: start;
    background: transparent;
    box-shadow: none;
}
.spz-xmas .spz-xmas__suggest-option:hover,
.spz-xmas .spz-xmas__suggest-option[aria-selected="true"] { background: #fff0be; }
.spz-xmas__options { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 12px; }
.spz-xmas__advents {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-inline-size: 0;
    padding: 0;
    border: 0;
    margin: 0;
}
.spz-xmas .spz-xmas__chip, .spz-xmas .spz-xmas__card-button, .spz-xmas .spz-xmas__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid var(--spz-line);
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
    font-size: .84rem;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
}
.spz-xmas .spz-xmas__chip:hover, .spz-xmas .spz-xmas__card-button:hover, .spz-xmas .spz-xmas__reset:hover { background: #fff0be; }
.spz-xmas .spz-xmas__chip[aria-pressed="true"] {
    background: var(--spz-yellow);
    border-color: var(--spz-yellow);
    color: var(--spz-ink);
}
.spz-xmas__toggles { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; }
.spz-xmas__toggles label { display: flex; align-items: center; min-height: 44px; gap: 7px; font-weight: 600; font-size: .85rem; margin: 0; }
.spz-xmas__toggles input[type="checkbox"] {
    appearance: auto;
    accent-color: #805b00;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}
.spz-xmas .spz-xmas__reset { margin-inline-start: auto; border-color: transparent; background: transparent; text-decoration: underline; }
.spz-xmas .spz-xmas__hint { margin-top: 6px; color: var(--spz-muted); font-size: .85rem; }
.spz-xmas__toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
.spz-xmas .spz-xmas__count { font-size: .94rem; font-weight: 750; }
.spz-xmas__layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(245px, 1fr); align-items: start; gap: 16px; }
.spz-xmas--map-only .spz-xmas__layout { grid-template-columns: minmax(0, 1fr); }
.spz-xmas__map-wrap { position: relative; min-width: 0; z-index: 1; }
.spz-xmas__map {
    z-index: 0;
    height: var(--spz-map-height);
    background: #f4f5ec;
    border-radius: 20px;
    border: 1px solid #dbdfd1;
}
.spz-xmas__map .leaflet-tile { max-width: none !important; max-height: none !important; }
.spz-xmas__map .leaflet-top.leaflet-right { z-index: 900; }
.spz-xmas__map > .leaflet-popup-pane { z-index: 950; }
.spz-xmas__map.leaflet-fade-anim > .leaflet-popup-pane .leaflet-popup { opacity: 1; }
.spz-xmas__map .leaflet-control-zoom {
    border: 1px solid #deddd0;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 2px 8px #29251912;
}
.spz-xmas__map .leaflet-control-zoom a { color: var(--spz-ink); background: #fffefa; width: 35px; height: 35px; line-height: 35px; }
.spz-xmas__map .leaflet-control-zoom a:hover { background: #fff1c3; }
.spz-xmas__map .leaflet-control-attribution { color: #49483d; background: #fffefaeb; font-size: 10px; max-width: 100%; white-space: normal; }
.spz-xmas__map-label { pointer-events: none; white-space: nowrap; }
.spz-xmas__place-name, .spz-xmas__river-name {
    font: 700 12px/16px system-ui, sans-serif;
    color: #555b4f;
    text-shadow: 0 1px #f4f5ec, 1px 0 #f4f5ec, -1px 0 #f4f5ec, 0 -1px #f4f5ec;
}
.spz-xmas__river-name { color: #507890; font-weight: 600; font-style: italic; }
.spz-xmas__map-error {
    position: absolute;
    z-index: 1;
    inset: 10px 10px auto auto;
    max-width: min(290px, 75%);
    background: #fff;
    color: var(--spz-muted);
    padding: 7px 10px;
    border-radius: 8px;
    font-size: .79rem;
}
.spz-xmas__pin {
    background: var(--spz-map-image) center / contain no-repeat;
    filter: drop-shadow(0 2px 2px #25221652);
    transition: filter .15s ease;
}
.spz-xmas__pin--external { background-image: var(--spz-map-image-external); background-size: 116%; }
.spz-xmas__pin--mixed { background: none; }
.spz-xmas__pin--mixed::before, .spz-xmas__pin--mixed::after {
    content: '';
    position: absolute;
    inset-block-start: 0;
    height: 100%;
    aspect-ratio: 1;
    pointer-events: none;
}
.spz-xmas__pin--mixed::before { inset-inline-start: 0; background: var(--spz-map-image-external) center / 116% no-repeat; }
.spz-xmas__pin--mixed::after { inset-inline-end: 0; background: var(--spz-map-image) center / contain no-repeat; }
.spz-xmas__pin:hover, .spz-xmas__pin--active {
    filter: drop-shadow(0 0 2px white) drop-shadow(0 0 2px #895a00) drop-shadow(0 2px 4px #25221682);
}
.spz-xmas__pin-count {
    position: absolute;
    z-index: 1;
    top: -8px;
    right: -4px;
    min-width: 22px;
    padding: 2px 5px;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--spz-yellow);
    color: var(--spz-ink);
    font: 800 12px/14px system-ui, sans-serif;
}
.spz-xmas__results {
    display: grid;
    align-content: start;
    gap: 9px;
    min-width: 0;
    max-height: var(--spz-map-height);
    overflow: auto;
    padding: 2px 5px 3px 2px;
}
.spz-xmas__card { padding: 12px 14px; border: 1px solid var(--spz-line); border-radius: 17px; background: #fff; overflow-wrap: anywhere; }
.spz-xmas__card--active { border-color: #c08900; box-shadow: inset 3px 0 var(--spz-yellow); background: #fffbeb; }
.spz-xmas__card--spatzig { border-color: var(--spz-yellow); box-shadow: inset 0 0 0 1px var(--spz-yellow); }
.spz-xmas__card--spatzig.spz-xmas__card--active { box-shadow: inset 0 0 0 1px var(--spz-yellow), inset 3px 0 var(--spz-yellow); }
.spz-xmas .spz-xmas__name { font: 800 1.08rem/1.2 system-ui, sans-serif; color: var(--spz-ink); margin: 0 0 5px; }
.spz-xmas__badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 5px; }
.spz-xmas__badge { color: #59491a; background: #fff2cd; padding: 3px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.spz-xmas__badge--open { background: #e2f2da; color: #2d5b26; }
.spz-xmas__details { display: grid; gap: 4px; line-height: 1.35; }
.spz-xmas :is(.spz-xmas__card, .spz-xmas__popup) .spz-xmas__details > p { margin: 0; }
.spz-xmas__address, .spz-xmas__hours { color: var(--spz-muted); }
.spz-xmas .spz-xmas__details > a.spz-xmas__market-link {
    width: fit-content;
    margin: 0;
    color: #70500b;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.spz-xmas .spz-xmas__when { font-weight: 750; }
.spz-xmas .spz-xmas__card > .spz-xmas__distance { color: var(--spz-muted); font-size: .8rem; margin: 5px 0 0; }
.spz-xmas .spz-xmas__card-button { margin-top: 7px; border-color: #e0c375; background: #fff9e6; }
.spz-xmas .spz-xmas__empty { background: var(--spz-soft); border-radius: 16px; padding: 18px; color: var(--spz-muted); }
.spz-xmas .leaflet-popup-content { margin: 12px 19px 12px 14px; }
.spz-xmas__popup { font: 400 .87rem/1.35 system-ui, sans-serif; color: var(--spz-ink); overflow-wrap: anywhere; }
.spz-xmas__popup strong { display: block; margin-bottom: 4px; }
.spz-xmas__popup-market + .spz-xmas__popup-market { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--spz-line); }

@media (max-width: 720px) {
    .spz-xmas__layout { display: block; }
    .spz-xmas__place { flex-basis: 100%; max-inline-size: none; }
    .spz-xmas__period { max-inline-size: none; }
    .spz-xmas__spatzig-toggle { flex-basis: 100%; }
    .spz-xmas__advents { width: 100%; gap: 5px; }
    .spz-xmas .spz-xmas__chip { padding-inline: 9px; }
    .spz-xmas__map {
        height: min(calc(var(--spz-map-height) / 2), 45vh);
        height: min(calc(var(--spz-map-height) / 2), 45svh);
        min-height: 290px;
    }
    .spz-xmas__results { max-height: none; overflow: visible; margin-top: 12px; padding: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    .spz-xmas__pin { transition: none; }
}
