html[data-event-palette="blackfriday"] [data-norah-collapse-boundary] {
  animation: none;
  border-color: #49352b;
  background: var(--bf-surface);
  color: var(--bf-paper);
}

html[data-event-palette="blackfriday"] [data-norah-collapse-boundary] p {
  color: #d9cdc2;
}

html[data-event-palette="blackfriday"] [data-norah-collapse-boundary] article:nth-child(n) > span {
  border-color: #5b3b28;
  background: #30251e;
  color: var(--bf-orange);
  box-shadow: none;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] {
  --bf-norah-accent: #ffc294;
  --bf-norah-divider: rgb(241 166 115 / 22%);
  --bf-norah-muted: #d5c6bb;
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid #71503a;
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 10% 0%, rgb(249 140 68 / 17%), transparent 66%),
    linear-gradient(151deg, #2b231e, #1e1b19 68%, #24201d);
  color: var(--bf-paper);
  backdrop-filter: none;
  box-shadow: 0 16px 45px rgb(0 0 0 / 44%), 0 0 24px rgb(255 123 40 / 9%);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode]::before,
html[data-event-palette="blackfriday"] aside[data-norah-card-mode]::after {
  content: none;
}

html[data-event-palette="blackfriday"] #norah-hero-slot aside[data-norah-card-mode="compact"] {
  position: relative;
  inset: auto;
  z-index: auto;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 13px 14px 14px;
  translate: none;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="expanded"] {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(478px, calc(100vw - 24px));
  height: auto;
  max-height: calc(100dvh - max(24px, env(safe-area-inset-top) + env(safe-area-inset-bottom) + 16px));
  padding: clamp(14px, 4vw, 18px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  translate: -50% -50%;
}

html[data-event-palette="blackfriday"] [data-norah-focus-backdrop] {
  background: rgb(9 7 6 / 72%);
  backdrop-filter: blur(4px);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] > header {
  border-bottom: 1px solid var(--bf-norah-divider);
}

html[data-event-palette="blackfriday"] #norah-hero-slot aside[data-norah-card-mode="compact"] > header {
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: clamp(6px, 1.5vw, 10px);
  margin-bottom: 8px;
  padding-bottom: 9px;
  cursor: default;
  touch-action: auto;
}

html[data-event-palette="blackfriday"] #norah-hero-slot aside[data-norah-card-mode="compact"] [data-norah-state] {
  width: 42px;
  height: 42px;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] > header :is(strong, [data-norah-open]) {
  color: var(--bf-norah-accent);
  font-size: clamp(14px, 3.5vw, 18px);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] [data-norah-open] {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 750;
  line-height: 1.2;
  text-align: start;
  cursor: pointer;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] > header > button {
  display: grid;
  border-color: var(--bf-norah-divider);
  background: #332921;
  color: var(--bf-norah-accent);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] [data-norah-status] {
  gap: 5px;
  padding: 5px 8px;
  border-color: #395547;
  background: #273c32;
  color: #a3e9ca;
  font-size: 9px;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] [data-norah-status] i {
  animation: none;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] form {
  align-items: center;
  border-color: #805338;
  background: linear-gradient(110deg, #29211c, #191614 75%);
  box-shadow: 0 0 0 2px rgb(255 137 63 / 8%);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] form:focus-within {
  border-color: var(--bf-orange);
  box-shadow: 0 0 0 2px rgb(255 137 63 / 25%);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="compact"] form {
  gap: 7px;
  grid-template-columns: minmax(0, 1fr) 40px;
  min-height: 56px;
  padding: 7px;
  border-radius: 16px;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="compact"] form:has(> button[aria-pressed]) {
  grid-template-columns: minmax(0, 1fr) repeat(2, 40px);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="compact"] form > button:not([data-norah-composer-open]) {
  width: 40px;
  height: 40px;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] form button[data-norah-composer-open] {
  width: 100%;
  min-height: 40px;
  height: auto;
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  color: var(--bf-norah-muted);
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  text-align: start;
  overflow-wrap: anywhere;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] form textarea {
  color: var(--bf-paper);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] form textarea::placeholder {
  color: var(--bf-norah-muted);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] form button[type="submit"] {
  background: linear-gradient(140deg, #ffb57c, var(--bf-orange));
  color: #201309;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] form button[aria-pressed="false"] {
  border-color: #704b35;
  background: #35271e;
  color: var(--bf-norah-accent);
  box-shadow: none;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] > header small,
html[data-event-palette="blackfriday"] aside[data-norah-card-mode] form + small,
html[data-event-palette="blackfriday"] aside[data-norah-card-mode] > div > small {
  color: var(--bf-norah-muted);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] form + small {
  margin: 8px 7px 0;
  font-size: 11.5px;
  line-height: 1.4;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="expanded"] :is(h2, div:has(> div > [data-category]) > p) {
  color: var(--bf-paper);
  font-size: clamp(18px, 4.6vw, 23px);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="expanded"] div:has(> [data-category]) {
  height: auto;
  gap: 5px;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="expanded"] [data-category] {
  border-color: var(--bf-norah-divider);
  background: #322923;
  box-shadow: none;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="expanded"] [data-category] > span:last-child {
  color: var(--bf-paper);
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="expanded"] section a {
  color: var(--bf-norah-accent);
  white-space: normal;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode="expanded"] [data-analytics-label="norah_configurator"] > span:first-child {
  background: var(--bf-orange);
  color: #201309;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] :is([data-category], form button[aria-pressed="false"]):is(:hover, :focus-visible),
html[data-event-palette="blackfriday"] aside[data-norah-card-mode] > header > button:is(:hover, :focus-visible) {
  border-color: var(--bf-orange);
  background: #423025;
}

html[data-event-palette="blackfriday"] aside[data-norah-card-mode] :is(a, button):focus-visible {
  outline: 2px solid var(--bf-orange);
  outline-offset: 2px;
}

@media (max-width: 360px) {
  html[data-event-palette="blackfriday"] aside[data-norah-card-mode="expanded"] div:has(> [data-category]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-event-palette="blackfriday"] aside[data-norah-card-mode="expanded"] [data-category] {
    max-width: none;
    min-height: 55px;
    aspect-ratio: auto;
  }
}
