/* Seasonal accents sit around the catalogue; listings and photos retain their design. */
html[data-holiday]:not([data-holiday="off"]) body {
 background-image:radial-gradient(ellipse 900px 280px at 85% 0,color-mix(in srgb,var(--hd-a) 8%,transparent),transparent 80%);
}
html[data-holiday]:not([data-holiday="off"]) :is(.market-header,.info-header) { border-bottom-color:color-mix(in srgb,var(--hd-a) 42%,var(--line)); }
.hd-band {
 --hd-a:#377fac;--hd-b:#92b9d7;--hd-c:#d0a15d;
 position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:13px;
 max-width:var(--storefront-width,1120px);min-height:56px;margin:12px auto 0;padding:9px 70px 9px 26px;
 border:1px solid color-mix(in srgb,var(--hd-a) 25%,var(--line,#dce5ed));border-radius:12px;
 background:linear-gradient(105deg,color-mix(in srgb,var(--hd-a) 9%,var(--theme-surface,#fff)),var(--theme-surface,#fff) 70%);
 color:var(--ink,#26394b);overflow:hidden;
}
.hd-band-art { display:grid;place-items:center;flex:0 0 48px;width:48px;height:36px;pointer-events:none; }
.hd-band-art svg { display:block;width:48px;height:36px; }
.hd-greeting { position:relative;z-index:1;max-width:700px;min-width:0;margin:0;font-size:13px;font-weight:600;line-height:1.5;text-align:center;overflow-wrap:anywhere; }
.hd-sparks { position:absolute;right:16px;top:0;width:60px;height:100%;pointer-events:none; }
.hd-sparks i { position:absolute;width:4px;height:4px;border-radius:50%;background:var(--hd-b);opacity:.7; }
.hd-sparks i:nth-child(1) { left:6px;top:15px; }
.hd-sparks i:nth-child(2) { left:35px;top:28px;width:6px;height:6px;background:var(--hd-a); }
.hd-sparks i:nth-child(3) { left:15px;bottom:10px;width:3px;height:3px; }
.hd-sparks i:nth-child(4) { right:4px;top:9px;width:3px;height:3px; }
.hd-sparks i:nth-child(5) { left:19px;top:8px;transform:rotate(45deg);border-radius:1px;background:var(--hd-c); }
.hd-sparks i:nth-child(6) { right:10px;bottom:8px;transform:rotate(45deg);border-radius:1px; }
.hd-band[data-hd-intensity="subtle"] .hd-sparks i:nth-child(n+4) { display:none; }
.hd-band[data-hd-intensity="standard"] { min-height:64px; }
.hd-band[data-hd-intensity="standard"] .hd-band-art { flex-basis:58px;width:58px;height:43px; }
.hd-band[data-hd-intensity="standard"] .hd-band-art svg { width:58px;height:43px; }
.hd-band[data-hd-intensity="festive"] { min-height:74px;background:linear-gradient(105deg,color-mix(in srgb,var(--hd-a) 15%,var(--theme-surface,#fff)),color-mix(in srgb,var(--hd-b) 7%,var(--theme-surface,#fff))); }
.hd-band[data-hd-intensity="festive"] .hd-band-art,.hd-band[data-hd-intensity="festive"] .hd-band-art svg { width:70px;height:52px; }
.hd-band[data-hd-intensity="festive"] .hd-band-art { flex-basis:70px; }
.hd-band.hd-art-only { min-height:13px;height:13px;padding:0;border-radius:0;border-left:0;border-right:0;max-width:none;margin-top:0;background:repeating-linear-gradient(110deg,color-mix(in srgb,var(--hd-a) 20%,var(--theme-surface,#fff)) 0 24px,color-mix(in srgb,var(--hd-b) 11%,var(--theme-surface,#fff)) 24px 48px); }
.hd-art-only :is(.hd-band-art,.hd-greeting,.hd-sparks) { display:none; }
html:is([data-holiday="new_year"],[data-holiday="christmas"],[data-holiday="birthday"]) #holidayBand:not(.hd-art-only)::before {
 content:"";position:absolute;inset:0 0 auto;height:5px;opacity:.65;background:radial-gradient(circle at 5px 2px,var(--hd-a) 0 2px,transparent 2.5px) 0 0/38px 5px repeat-x;pointer-events:none;
}
html:is([data-holiday="latvia_18"],[data-holiday="latvia_4"]) #holidayBand { border-top:3px solid var(--hd-a);box-shadow:inset 0 2px 0 var(--theme-surface,#fff),inset 0 3px 0 color-mix(in srgb,var(--hd-a) 65%,transparent); }
.social-document>#holidayBand { float:none;clear:both;margin:0 0 24px;padding-inline:15px; }
@keyframes hd-twinkle { 0%,100%{opacity:.35}50%{opacity:.85} }
@media(prefers-reduced-motion:no-preference) {
 .hd-band[data-hd-motion="on"] .hd-sparks i { animation:hd-twinkle 4s ease-in-out infinite; }
 .hd-band[data-hd-motion="on"] .hd-sparks i:nth-child(2n) { animation-delay:-2s; }
 .hd-band[data-hd-motion="on"] .hd-sparks i:nth-child(3n) { animation-delay:-1s; }
}
@media(prefers-reduced-motion:reduce) { .hd-band .hd-sparks i { animation:none!important; } }
@media(max-width:1228px) { body>.hd-band { margin-inline:24px; } }
@media(max-width:650px) {
 body>.hd-band { margin:8px 12px 0;min-height:48px;padding:6px 30px 6px 10px;gap:8px;border-radius:9px; }
 .hd-band-art,.hd-band-art svg { width:40px;height:30px; }.hd-band-art { flex-basis:40px; }
 .hd-greeting { font-size:11px;line-height:1.45;text-align:left; }
 .hd-sparks { width:22px;right:5px; }.hd-sparks i:nth-child(n+3) { display:none; }.hd-sparks i:nth-child(2) { left:7px;top:30px; }
 body>.hd-band[data-hd-intensity="standard"],body>.hd-band[data-hd-intensity="festive"] { min-height:54px; }
 .hd-band[data-hd-intensity="standard"] .hd-band-art,.hd-band[data-hd-intensity="standard"] .hd-band-art svg,
 .hd-band[data-hd-intensity="festive"] .hd-band-art,.hd-band[data-hd-intensity="festive"] .hd-band-art svg { width:48px;height:36px; }
 .hd-band[data-hd-intensity="standard"] .hd-band-art,.hd-band[data-hd-intensity="festive"] .hd-band-art { flex-basis:48px; }
 body>.hd-band.hd-art-only { margin:0;min-height:8px;height:8px;border-radius:0; }
}
/* The administrator gets an isolated light/dark preview, independent of visitor settings. */
.modal:has(.hd-admin) { width:min(1040px,calc(100vw - 28px)); }
.modal:has(.hd-admin) #modalContent { max-height:calc(90dvh - 70px);overflow-y:auto;overflow-x:hidden; }
.hd-admin { min-width:0;color:var(--ink); }
.hd-admin .hd-demo-notice { padding:10px 12px;margin:0 0 12px;border:1px solid #c0a35c;border-radius:8px;background:color-mix(in srgb,#d2b65c 9%,var(--theme-surface));font-size:11px;line-height:1.5;color:var(--ink); }
.hd-demo-tools { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 12px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--theme-surface);color:var(--muted);font-size:11px; }
.hd-demo-tools button { flex:0 0 auto;min-height:40px;padding:8px;font-size:11px; }
.hd-admin-heading { display:flex;gap:20px;align-items:center;justify-content:space-between;margin:22px 0 10px; }
.hd-admin .hd-admin-heading h3 { margin:7px 0 0;font-size:25px;line-height:1.2;letter-spacing:-.7px; }
.hd-eyebrow { display:block;font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--muted); }
.hd-published { flex:0 1 235px;font-size:11px;line-height:1.5;padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--muted); }
.hd-published[data-enabled="true"] { border-color:#5e9983;background:color-mix(in srgb,#4c9278 10%,var(--theme-surface));color:var(--ink); }
.hd-admin .hd-intro { margin:0 0 23px;font-size:13px;max-width:750px;line-height:1.65;color:var(--muted); }
.hd-editor-grid { display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:25px;align-items:start; }
.hd-settings { min-width:0; }
.hd-section { padding:0 0 23px;margin:0 0 22px;min-width:0;border:0;border-bottom:1px solid var(--line); }
.hd-section legend { display:block;padding:0;margin-bottom:15px;font-weight:650;font-size:15px;line-height:1.4;color:var(--ink); }
.hd-admin .form-field label { display:block;font-size:12px;line-height:1.4;color:var(--muted);margin-bottom:6px; }
.hd-admin .form-field :is(input,select) { width:100%;min-width:0;min-height:44px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface);color:var(--ink);font-size:14px;padding:9px 11px; }
.hd-admin .form-field { margin-bottom:13px;min-width:0; }
.hd-season { max-width:240px; }
.hd-theme-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px; }
.hd-theme-card { position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;min-width:0;min-height:109px;margin:0;padding:14px 8px 10px;border:1px solid var(--line);border-radius:11px;background:var(--theme-surface);color:var(--ink);cursor:pointer;text-align:center; }
.hd-theme-card[hidden] { display:none; }
.hd-theme-card>input { position:absolute;left:9px;top:8px;width:15px;height:15px;margin:0;accent-color:var(--orange); }
.hd-theme-art { width:63px;height:47px;display:grid;place-items:center;pointer-events:none;color:var(--muted); }
.hd-theme-art svg { width:63px;height:47px; }
.hd-theme-card strong { font-size:11px;line-height:1.35;font-weight:600;overflow-wrap:anywhere; }
.hd-theme-card:hover { border-color:#86abc7; }
.hd-theme-card:has(input:checked) { border-color:var(--storefront-accent-ink,#0675b7);box-shadow:0 0 0 1px var(--storefront-accent-ink,#0675b7);background:var(--storefront-accent-soft,#eff7fc); }
.hd-theme-card:has(input:focus-visible) { outline:3px solid #168bc8;outline-offset:3px; }
.hd-selected { display:none;position:absolute;right:7px;top:6px;color:var(--storefront-accent-ink);font-size:13px;font-weight:700; }
.hd-theme-card:has(input:checked) .hd-selected { display:block; }
.hd-check { display:flex;align-items:start;gap:10px;padding:12px 0;cursor:pointer;color:var(--ink); }
.hd-check>input { flex:0 0 auto;width:18px;height:18px;margin:1px 0 0;accent-color:var(--orange); }
.hd-check strong,.hd-check small { display:block;line-height:1.5; }
.hd-check strong { font-weight:600;font-size:13px; }.hd-check small { font-size:11px;color:var(--muted);margin-top:3px; }
.hd-preview-column { position:sticky;top:0;min-width:0;padding-top:1px; }
.hd-preview-top { display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px; }
.hd-preview-top strong { display:block;font-size:12px;line-height:1.4;margin-top:4px;color:var(--ink); }
.hd-preview-modes { flex:0 0 auto;display:flex;gap:2px;border-radius:8px;padding:3px;background:var(--soft); }
.hd-preview-modes button { min-height:34px;padding:5px 8px;border:0;background:none;color:var(--muted);font-size:11px;border-radius:6px;cursor:pointer; }
.hd-preview-modes button[aria-pressed="true"] { background:var(--theme-surface);color:var(--ink);box-shadow:0 1px 3px #0001; }
.hd-preview { --hp-bg:#f7f9fb;--hp-surface:#fff;--hp-ink:#203343;--hp-muted:#637789;--hp-line:#dce6ee;--theme-surface:var(--hp-surface);--line:var(--hp-line);--ink:var(--hp-ink);border:1px solid var(--hp-line);border-radius:14px;overflow:hidden;box-shadow:0 8px 25px #142b4010;background:var(--hp-bg);color:var(--hp-ink); }
.hd-preview[data-preview-theme="dark"] { --hp-bg:#111923;--hp-surface:#18232f;--hp-ink:#e6edf5;--hp-muted:#a8b7c7;--hp-line:#314355; }
.hd-preview-header { display:flex;gap:14px;align-items:center;padding:16px 13px;border-bottom:1px solid var(--hp-line);background:var(--hp-surface); }
.hd-preview-brand { font-size:23px;font-weight:800;letter-spacing:-1.3px;color:var(--hp-ink); }.hd-preview-brand span { font-size:14px;color:var(--hp-muted);letter-spacing:-.5px; }
.hd-preview-search { flex:1;height:24px;border:1px solid var(--hp-line);border-radius:6px;background:var(--hp-bg); }
.hd-preview-account { width:20px;height:20px;flex:0 0 20px;border:1px solid var(--hp-line);border-radius:50%; }
.hd-preview .hd-band { margin:9px 9px 0;padding:7px 22px 7px 7px;gap:6px;min-height:50px;border-radius:8px; }
.hd-preview .hd-band .hd-greeting { color:var(--hp-ink);font-size:10px;line-height:1.45;text-align:left; }
.hd-preview .hd-band-art,.hd-preview .hd-band-art svg { width:42px;height:32px; }.hd-preview .hd-band-art { flex-basis:42px; }
.hd-preview .hd-sparks { width:18px;right:3px; }.hd-preview .hd-sparks i:nth-child(n+3) { display:none; }.hd-preview .hd-sparks i:nth-child(2) { left:8px;top:30px; }
.hd-preview .hd-art-only { margin:0;border-radius:0;min-height:9px;height:9px;padding:0; }
.hd-preview-body { padding:18px 13px; }.hd-preview-body>strong { display:block;font-size:14px;line-height:1.45;color:var(--hp-ink); }
.hd-preview-categories { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:13px; }
.hd-preview-categories>span { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:63px;border:1px solid var(--hp-line);border-radius:8px;background:var(--hp-surface);color:var(--hp-muted); }
.hd-preview-categories .ui-icon { width:21px;height:21px; }.hd-preview-categories small { font-size:9px;color:var(--hp-muted); }
.hd-preview-listings { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:16px; }
.hd-preview-listings i { height:66px;border:1px solid var(--hp-line);border-radius:7px;background:linear-gradient(135deg,color-mix(in srgb,var(--hd-a) 5%,var(--hp-surface)),var(--hp-surface)); }
.hd-admin .hd-preview-note { font-size:11px;line-height:1.6;margin-top:12px;color:var(--muted); }
.hd-admin-actions { display:flex;align-items:center;justify-content:end;flex-wrap:wrap;gap:9px;position:sticky;bottom:0;z-index:3;padding:13px 0 2px;margin:0;border-top:1px solid var(--line);background:var(--theme-surface); }
.hd-admin-actions>button { min-height:44px;font-size:12px; }
.hd-admin-actions>[role="status"] { flex:1 1 160px;font-size:11px;line-height:1.45;color:var(--muted); }
#hdError:empty { display:none; }#hdError { margin:0 0 12px;color:#ad383c;font-size:12px;line-height:1.5; }
html[data-theme="dark"] #hdError { color:#ffb6ba; }
@media(max-width:850px) { .hd-editor-grid { grid-template-columns:minmax(0,1fr) 280px;gap:18px; }.hd-theme-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) {
 .modal:has(.hd-admin) { width:100%;padding:20px 15px 15px; }.modal:has(.hd-admin) #modalContent { max-height:calc(94dvh - 46px);padding-right:1px; }
 .hd-admin-heading { display:block;margin-top:15px; }.hd-admin .hd-admin-heading h3 { font-size:23px; }
 .hd-published { display:block;margin-top:12px;padding:8px 10px;font-size:11px; }
 .hd-admin .hd-intro { font-size:12px;margin-bottom:18px; }
 .hd-editor-grid { display:flex;flex-direction:column;gap:20px; }.hd-settings,.hd-preview-column { width:100%; }.hd-preview-column { position:static;order:-1; }
 .hd-preview-body { padding:13px; }.hd-preview-listings { display:none; }.hd-preview-categories { margin-top:9px; }.hd-preview-categories>span { min-height:49px;gap:5px; }
 .hd-preview-header { padding:11px 13px; }.hd-admin .hd-preview-note { margin:7px 0 0;font-size:10px; }
 .hd-theme-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }.hd-theme-card { min-height:99px;padding-top:12px; }
 .hd-admin .form-grid { grid-template-columns:1fr;gap:0; }.hd-admin .form-field :is(input,select) { font-size:16px; }
 .hd-section { padding-bottom:18px;margin-bottom:18px; }.hd-season { max-width:none; }
 .hd-admin-actions { display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-top:10px; }.hd-admin-actions>[role="status"] { grid-column:1/-1; }.hd-admin-actions>button { min-width:0;white-space:normal;line-height:1.35;padding:9px 8px;font-size:11px; }
 .hd-admin-actions>.primary-button { grid-column:1/-1; }.hd-admin-actions>.text-button { font-size:10px; }
}
@media print { .hd-band { display:none!important; }html[data-holiday]:not([data-holiday="off"]) body { background-image:none; } }
