/* Christmas artwork for each shop and its customer dashboard. */
.ch24-winter-section, .ch24-winter-welcome, .ch24-winter-note, .ch24-winter-category {
  --season-art: url('craft-weihnachten.webp');
  --season-bg: #121212;
  --season-ink: #fff;
  --season-muted: #e5dfda;
  --season-highlight: #ffa679;
  --season-action: #ff793f;
  --season-on-action: #24120b;
  --season-line: #654231;
  --season-radius: .4rem;
  --season-display: var(--ch24-display,"Chakra Petch",system-ui,sans-serif);
  --season-overlay: linear-gradient(90deg,#111 4%,#111e 33%,#1114 64%,transparent);
}
[data-advent-channel="2"] {
  --season-art: url('pelvan-weihnachten.webp');
  --season-bg: #171939;
  --season-ink: #fff;
  --season-muted: #e4e8ff;
  --season-highlight: #f9db9c;
  --season-action: #4856bd;
  --season-on-action: #fff;
  --season-line: #4a5077;
  --season-radius: .9rem;
  --season-display: "Nunito Sans",system-ui,sans-serif;
  --season-overlay: linear-gradient(90deg,#171939 4%,#171939ed 28%,#17193945 45%,transparent 61%);
}
.ch24-winter-section {
  width: 100%; padding: clamp(1rem, 3vw, 3rem) clamp(1rem, 4vw, 4.5rem);
  box-sizing: border-box;
}
.ch24-winter-panel, .ch24-winter-welcome {
  border: 1px solid var(--season-line); border-radius: var(--season-radius); overflow: hidden;
  color: var(--season-ink); background-color: var(--season-bg);
  background-image: var(--season-overlay), var(--season-art);
  background-size: cover, auto 100%; background-position: center, right center; background-repeat: no-repeat;
}
.ch24-winter-panel { display: grid; align-items: center; min-height: clamp(15rem,22vw,24rem); padding: clamp(1.5rem,4vw,4.5rem); }
.ch24-winter-panel > div, .ch24-winter-welcome > div:first-child { width: min(52%,38rem); }
.ch24-winter-eyebrow { display: block; font: 650 .73rem/1.55 system-ui,sans-serif; letter-spacing: .12em; color: var(--season-highlight); margin-bottom: .6rem; }
.ch24-winter-panel h2, .ch24-winter-note h2 { margin: 0; font: 700 clamp(2.1rem,3.7vw,4.1rem)/1.08 var(--season-display)!important; letter-spacing: -.045em; color: var(--season-ink); }
.ch24-winter-panel p, .ch24-winter-note p { max-width: 36rem; margin: .65rem 0 1.1rem; color: var(--season-muted); line-height: 1.6; }
.ch24-winter-link { display: inline-flex; align-items: center; gap: .8rem; min-height: 2.75rem; padding: .55rem 1rem; border-radius: .45rem; color: var(--season-on-action); background: var(--season-action); font: 650 .9rem/1.45 system-ui,sans-serif; text-decoration: none; }
.ch24-winter-link:hover { color: var(--season-on-action); background: var(--season-action); text-decoration: underline; }
.ch24-winter-link:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.ch24-winter-note { color: var(--season-ink); background: var(--season-bg); border-block: 1px solid var(--season-line); }
.ch24-winter-note-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.3rem 2rem; padding: clamp(1.5rem,3vw,2.7rem) clamp(1rem,5vw,6rem);  }
.ch24-winter-note h2 { font-size: clamp(1.6rem,2.2vw,2.4rem)!important; }
.ch24-winter-note p { margin-bottom: 0; }
.ch24-winter-category { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 1rem clamp(1rem,4vw,4rem); background: var(--season-bg); }
.ch24-winter-category .ch24-winter-eyebrow { margin: 0; }
.ch24-winter-category a { color: var(--season-highlight); text-underline-offset: .2em; }
.ch24-winter-welcome { padding: clamp(1.4rem,3vw,3rem)!important; }
.ch24-winter-welcome h1 { color: #fffaf0!important; }
.ch24-winter-welcome p { color: #e5eff4!important; }
.ch24-winter-welcome .ch24-winter-link { margin-top: 1rem; }
.ch24-winter-welcome-mark { display: none; }
html[data-ch24-winter] :is(.hp-nav,.mh-bar) { border-bottom-color: #a55532; }
html[data-ch24-winter] .pv-head-nav { border-bottom-color: #a7b3f4; }
html[data-ch24-winter] .hp-footer { border-top: 2px solid #a55532; }
html[data-ch24-winter] .pv-site-footer { border-top: 2px solid #8797ed; }
html[data-ch24-winter] .ch24-christmas-icon { color: #c4a16a; }
html[data-ch24-winter="admin"] .hw-content-header-wrapper { border-bottom-color: #bdab83; background-image: url('winter-garland.svg'); background-position: right bottom; background-repeat: no-repeat; background-size: 230px 14px; }
html[data-ch24-winter="admin"] .hw-sidebar-header { border-bottom: 1px solid #a89c7b66; }
@media (max-width: 42rem) {
  .ch24-winter-panel { padding: 0; background: var(--season-bg); }
  .ch24-winter-panel > div { width: 100%; padding: 1.5rem 1.25rem 1rem; }
  .ch24-winter-panel::after { content: ""; display: block; aspect-ratio: 2.2; background: var(--season-art) 82% center / auto 100% no-repeat; }
  .ch24-winter-welcome > div:first-child { width: 100%; }
  .ch24-winter-welcome { background: var(--season-bg); }
}
@media print {
  .ch24-winter-section, .ch24-winter-note, .ch24-winter-category { display: none!important; }
}

.advent-home-hero {
  display: grid; position: relative; isolation: isolate; background: #121315; color: #fff;
  --hero-font: var(--ch24-display,"Chakra Petch",system-ui,sans-serif);
  --season-action: #ff894d; --season-on-action: #26170e;
}
.advent-home-art, .advent-home-inner { grid-area: 1 / 1; }
.advent-home-art { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: right center; }
.advent-home-inner {
  position: relative; display: grid; align-items: center; width: 100%; min-height: clamp(390px,32vw,680px);
  background: linear-gradient(90deg,#12141ae8, #12141aa6 30%, transparent 63%);
}
.advent-home-copy { box-sizing: content-box; width: min(41%,620px); padding: clamp(32px,4vw,88px) max(5vw, calc((100vw - 1600px) / 2)); }
.advent-home-hero .advent-home-copy h1 { color: #fff; font: 750 clamp(2.5rem,4.1vw,5rem)/1.05 var(--hero-font); letter-spacing: -.045em; margin: 0; }
.advent-home-copy h1 span { display: block; color: #ffb281; }
html:has(.christmas-trim--header) .advent-home-hero h1::after { display: none; }
.advent-home-hero .advent-home-copy p { margin: 1rem 0 1.45rem; max-width: 32em; color: #f3f2f8; font-size: clamp(1rem,1.25vw,1.2rem); line-height: 1.55; }
.advent-home-actions { display: flex; align-items: center; gap: .65rem 1.25rem; flex-wrap: wrap; }
.advent-home-actions a + a { padding-block: .6rem; color: white; text-underline-offset: .25em; text-decoration: underline; }
@media (max-width: 52rem) {
  .advent-home-inner { min-height: 0; background: none; grid-area: 1 / 1; }
  .advent-home-copy { box-sizing: border-box; width: 100%; padding: 2.2rem max(1.25rem,5vw) 1rem; }
  .advent-home-art { position: static; grid-area: 2 / 1; aspect-ratio: 2.15; height: auto; width: 100%; object-fit: cover; object-position: right center; }
}
.christmas-trim {
  --ornament-light: #ffbf83; --ornament: #bf6036; --ornament-dark: #673023;
  --ornament-alt: #a83b36; --ground: #283831; --rack: #242a28;
  display: block; width: 100%; overflow: hidden; pointer-events: none;
  background: #17251f; line-height: 0;
}
.christmas-trim[data-advent-channel="2"] {
  --ornament-light: #d5caff; --ornament: #8476dc; --ornament-dark: #42357b;
  --ornament-alt: #687cdd; --ground: #293755; --rack: #293554;
  background-color: #1e2746;
}
.christmas-trim svg { display: block; width: 100%; }
.christmas-trim--footer { background-image: linear-gradient(0deg,#ffffff05,transparent); }
html:has(.christmas-trim--header) :where(main, .hw-content-wrapper, .hw-page-title, .pv-shell-content, .pv-public-shell, .ch24-dash) h1:not(:empty)::after {
  content: ""; display: inline-block; width: 1.25em; height: .85em; max-width: 58px;
  margin-inline-start: .22em; vertical-align: -.04em; pointer-events: none;
  background: url('weihnachtszweig.svg') center / contain no-repeat;
}
.ch24-winter-note[data-advent-channel="1"] {
  background: var(--season-overlay), var(--season-art) right center / auto 100% no-repeat, var(--season-bg);
}
.ch24-winter-note[data-advent-channel="1"] .ch24-winter-note-inner {
  align-items: flex-start; flex-direction: column; gap: .8rem; max-width: 58%;
}
.ch24-winter-welcome { min-height: clamp(13rem, 18vw, 19rem); }
html .pv-dashboard-v3 .pv-dashboard-intro.pv-christmas-welcome {
  display: grid; align-content: center; justify-content: stretch; gap: .9rem;
  min-height: clamp(14rem, 19vw, 22rem); padding: clamp(1.4rem, 3.5vw, 3.3rem);
  border: 1px solid #4a5077; border-radius: 1rem;
  background: linear-gradient(90deg,#171939 3%,#171939e8 29%,transparent 63%),
              url('pelvan-weihnachten.webp') right center / auto 100% no-repeat, #171939;
}
html .pv-dashboard-v3 .pv-christmas-welcome > div { max-width: 51%; }
html .pv-dashboard-v3 .pv-christmas-welcome h1 { color: #fff!important; }
html .pv-dashboard-v3 .pv-christmas-welcome > div > p { color: #ffdc9f!important; }
html .pv-dashboard-v3 .pv-christmas-welcome > div > span { color: #e4e8ff!important; }
.pv-christmas-welcome .pv-christmas-link { display: table; margin-top: .65rem; color: #ffdf9d; text-decoration: underline; text-underline-offset: .2em; }
.pv-christmas-welcome .pv-christmas-link:hover, .pv-christmas-welcome .pv-christmas-link:focus-visible { color: #fff; }
.pv-christmas-welcome .pv-new-project { justify-self: start; }
html .pv-dashboard-v3 .pv-christmas-welcome .pv-new-project nav { left: 0; right: auto; }
@media (max-width: 42rem) {
  .christmas-trim--header svg { height: 37px; }
  .ch24-winter-note[data-advent-channel="1"] { background: var(--season-bg); }
  .ch24-winter-note[data-advent-channel="1"] .ch24-winter-note-inner { max-width: none; }
  .ch24-winter-note[data-advent-channel="1"]::after, .ch24-winter-welcome::after,
  html .pv-dashboard-v3 .pv-christmas-welcome::after {
    content: ""; display: block; width: 100%; aspect-ratio: 2.25;
    background: var(--season-art) right center / auto 100% no-repeat;
  }
  .ch24-winter-welcome { display: grid!important; gap: .75rem; }
  html:has(.christmas-trim--header) :is(.ch24-winter-welcome,.pv-christmas-welcome) h1::after { display: none; }
  html .pv-dashboard-v3 .pv-dashboard-intro.pv-christmas-welcome {
    --season-art: url('pelvan-weihnachten.webp');
    background: #171939; min-height: 0; padding: 1.3rem 1.3rem 0;
  }
  html .pv-dashboard-v3 .pv-christmas-welcome > div { max-width: 100%; }
  html .pv-dashboard-v3 .pv-christmas-welcome::after {
    width: calc(100% + 2.6rem); margin-inline: -1.3rem; border-radius: 0 0 1rem 1rem;
  }
}
@media print {
  .christmas-trim, .pv-christmas-link { display: none!important; }
  html:has(.christmas-trim--header) h1::after { display: none!important; }
}

/* Pelvan's home banner shares the shop typeface and keeps the full scene in view. */
.pv-advent-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse at 72% 60%, #252953, #171d45 56%, #111832);
}
body:has(.pv-advent-hero) .christmas-trim--header[data-advent-channel="2"] { display: none; }
.pv-advent-wrap {
  box-sizing: border-box; width: 100%; min-height: clamp(34rem, 76svh, 55rem);
  display: grid; align-items: center; padding: 3.5rem max(5vw, calc((100vw - 106rem) / 2));
}
.pv-advent-message { position: relative; width: min(38vw, 38rem); }
.pv-advent-dates {
  display: inline-block; color: #f3cb94; font-size: .86rem; font-weight: 700;
  letter-spacing: .045em; margin-bottom: .95rem;
}
.pv-advent-hero .pv-advent-message h1 {
  margin: 0; color: white; font-family: inherit; font-size: clamp(3.5rem, 5.2vw, 5.9rem);
  line-height: 1.01; font-weight: 800; letter-spacing: -.046em;
}
.pv-advent-message h1 span { color: #c2cbff; }
html .pv-advent-hero .pv-advent-message #hero-titel::after { content: none; display: none; }
.pv-advent-hero .pv-advent-message p {
  max-width: 28em; margin: 1.15rem 0 1.5rem; font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6; color: #e1e6f5;
}
.pv-advent-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.35rem; }
.pv-advent-links a { display: inline-flex; min-height: 2.8rem; align-items: center; font-size: .95rem; font-weight: 700; color: #eef1ff; text-underline-offset: .3em; }
.pv-advent-links a:first-child {
  gap: .8rem; padding-inline: 1.15rem; background: #e9edff; color: #26356d;
  border-radius: .55rem; text-decoration: none;
}
.pv-advent-links a:first-child:hover { background: white; }
.pv-advent-links a:focus-visible { outline: 3px solid #f8d396; outline-offset: 4px; }
.pv-advent-scene {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.pv-advent-scene img {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: auto; height: min(100%, 34vw); max-width: none; display: block;
  mask-image: linear-gradient(to right, transparent, black 35%),
              linear-gradient(to bottom, transparent, black 4%, black 95%, transparent);
  mask-composite: intersect;
}
@media (max-width: 48rem) {
  .pv-advent-wrap {
    min-height: 0; display: flex; flex-direction: column; align-items: stretch;
    padding: clamp(2.5rem, 8vw, 4rem) 0 0; gap: 1.15rem;
  }
  .pv-advent-message { box-sizing: border-box; width: 100%; padding-inline: max(1.25rem, 6vw); }
  .pv-advent-hero .pv-advent-message h1 { font-size: clamp(3.1rem, 10vw, 4.4rem); }
  .pv-advent-scene { position: relative; order: 1; inset: auto; width: 100%; aspect-ratio: 1.64; }
  .pv-advent-scene img { height: 100%; }
}
