:root {
  --ink: #151515;
  --muted: #777777;
  --line: #e8e8e8;
  --paper: #ffffff;
  --yellow: #fff238;
  --blue: #27a6d9;
  --red: #d84a3a;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); }
body { background: var(--page-bg, #fff); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
:where(h1, h2, h3, p, li, a, button, span, strong, label, input, textarea, select) {
  overflow-wrap: anywhere;
}
button, .button {
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--yellow);
  color: #111;
  padding: 0.8rem 1.35rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: normal;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(13rem, 18rem) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.2rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: #050505;
  color: #fff;
}
.topbar > *,
.recipe-actions > *,
.serving-adjuster > *,
.top-search > *,
.account > *,
.columns > *,
.related-card {
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  font-size: 1.75rem;
  font-weight: 950;
  letter-spacing: 0;
}
.brand img {
  width: 3.2rem;
  height: 3.2rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
}
.habsalon-logo { display: none; }
.custom-site-logo { display: none; }
body.has-custom-logo .brand {
  min-width: 0;
}
body.has-custom-logo .custom-site-logo {
  display: block;
  width: auto;
  height: 3.4rem;
  max-width: min(16rem, 36vw);
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}
body.has-custom-logo .brand-logo-main,
body.has-custom-logo .habsalon-logo,
body.has-custom-logo .brand span,
body.has-custom-logo .brand strong,
body.has-custom-logo .brand em,
body.has-custom-logo .turquoise-brand-text {
  display: none;
}
.brand span { color: var(--yellow); }
.brand em { color: var(--yellow); font-style: normal; }
.turquoise-brand-text { display: none; }
nav { display: flex; gap: 1rem; align-items: center; font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }
nav a, .account a { color: #fff; }
.nav-tagline {
  margin-left: 0.35rem;
  padding-left: 1rem;
  border-left: 1px solid #333;
  color: #cfcfcf;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: normal;
}
.top-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: center;
}
.top-search input {
  min-width: 0;
  border: 1px solid #252525;
  background: #fff;
  padding: 0.58rem 0.65rem;
  font-size: 0.78rem;
}
.top-search button {
  padding: 0.65rem 0.8rem;
}
.account { display: flex; align-items: center; justify-content: end; gap: 0.8rem; font-size: 0.78rem; font-weight: 800; }
.account form { margin: 0; }
.account button { padding: 0.55rem 0.7rem; background: #252525; color: #fff; }
.account small {
  display: block;
  color: #9f9f9f;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

main {
  width: min(100%, 82rem);
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 3vw, 1.5rem) 4rem;
}
.page-frame {
  width: min(100%, 118rem);
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 82rem) minmax(12rem, 15rem);
  gap: 1.6rem;
  align-items: start;
  background: #fff;
}
.content-panel { min-width: 0; }
.side-panel {
  position: sticky;
  top: 6.2rem;
  min-width: 0;
  min-height: calc(100vh - 7rem);
  padding: 1rem;
  background: #f6f6f1;
}
.side-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.side-list {
  display: grid;
  gap: 0.85rem;
}
.side-list a {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
}
.side-thumb {
  display: block;
  width: 3.4rem;
  aspect-ratio: 1;
  background: #eee;
  overflow: hidden;
}
.side-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.side-list span {
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.inspiration-top {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.55rem;
  margin: 0 0 1rem;
}
.inspiration-top a {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
}
.inspiration-top img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  display: block;
  transition: transform 160ms ease, filter 160ms ease;
}
.inspiration-top a:hover img {
  transform: scale(1.03);
  filter: contrast(1.08);
}
.inspiration-top span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 0.45rem 0.45rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.78));
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}
.food-hero { padding: 0 0 4.2rem; }
.hero-image {
  position: relative;
  display: block;
  min-height: clamp(18rem, 42vw, 27rem);
  overflow: hidden;
  background: #d9d9d9;
}
.hero-image img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; display: block; filter: saturate(1.08) contrast(1.06); }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7), rgba(0,0,0,0.08) 65%);
}
.hero-image div {
  position: absolute;
  z-index: 1;
  left: clamp(1.5rem, 5vw, 3rem);
  bottom: clamp(1.5rem, 5vw, 3rem);
  width: min(27rem, 80%);
  color: #fff;
}
.hero-image p, .split-feature p:first-child {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-image h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 11ch;
}
.hero-image span {
  display: inline-block;
  background: var(--yellow);
  color: #111;
  padding: 0.7rem 1rem;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.food-search {
  display: grid;
  grid-template-columns: 1fr 12rem auto;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 3.2rem;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: -1.8rem 0 3.2rem;
}
.category-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  border: 1px solid #d7d7d7;
  background: #f7f7f2;
  padding: 0.34rem 0.55rem;
  color: #222;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}
.category-strip a.active,
.category-strip a:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}
.skolegpt {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
  margin: -1rem 0 3.2rem;
  padding: 1rem;
  border: 3px solid #111;
}
.skolegpt p:first-child {
  margin: 0 0 0.4rem;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}
.skolegpt h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.skolegpt form {
  display: grid;
  gap: 0.7rem;
}
.assistant-results {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding-top: 0.5rem;
}
.assistant-results p { color: var(--muted); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 0.9rem;
}
.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.8rem;
  align-items: stretch;
}
.password-field input {
  border-right: 0;
}
.password-toggle {
  display: grid;
  place-items: center;
  width: 2.8rem;
  min-height: 2.8rem;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.password-toggle span {
  position: relative;
  width: 1.25rem;
  height: 0.75rem;
  border: 2px solid #111;
  border-radius: 999px / 70%;
}
.password-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #111;
  transform: translate(-50%, -50%);
}
.password-toggle.is-visible {
  background: var(--yellow);
}

.explore-more, .food-band, .split-feature { margin: 0 0 3.2rem; }
.explore-more h2, .food-section-title h2, .split-feature h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0;
  text-transform: uppercase;
}
.explore-more > div {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.explore-more a { display: grid; justify-items: center; gap: 0.55rem; text-align: center; }
.explore-more img {
  width: 4.9rem;
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
}
.explore-more span {
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.food-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.food-section-title a, .food-section-title p { color: var(--blue); font-size: 0.72rem; margin: 0; }
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.feature-tile {
  position: relative;
  min-height: 11.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 0.85rem;
  color: #fff;
  background: #ddd;
}
.feature-tile.wide { grid-column: span 1; }
.feature-tile img, .feature-tile .tile-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.75));
}
.feature-tile span, .feature-tile em, .feature-tile strong {
  position: relative;
  z-index: 1;
}
.feature-tile span, .feature-tile em {
  font-size: 0.58rem;
  font-weight: 950;
  opacity: 0.75;
  text-transform: uppercase;
}
.feature-tile em {
  margin: 0.12rem 0 0.25rem;
  color: var(--yellow);
  font-style: normal;
  opacity: 1;
}
.feature-tile strong {
  font-size: 1.15rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.small-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
}
.small-tile { display: block; }
.small-tile img, .mini-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #efefef;
}
.small-tile strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.2rem;
  padding: 2.2rem 0;
}
.split-feature img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.split-feature p { color: var(--muted); line-height: 1.6; }
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.25rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.1rem;
}
.recipe-card {
  display: block;
  min-height: 0;
  background: #fff;
  border: 0;
  overflow: hidden;
}
.recipe-card .thumb { aspect-ratio: 4 / 3; background: #efefef; display: grid; place-items: center; font-size: 2rem; font-weight: 950; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-card div:last-child { padding: 0.65rem 0 0; }
.recipe-card small { color: var(--red); font-size: 0.62rem; font-weight: 950; text-transform: uppercase; }
.recipe-card h3 { margin: 0.25rem 0; font-size: 0.86rem; line-height: 1.1; text-transform: uppercase; }
.recipe-card p { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.45; }

.recipe-inspiration-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.recipe-inspiration-strip a,
.recipe-inspiration-strip div {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ededed;
}
.recipe-inspiration-strip img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}
.recipe-inspiration-strip span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.75rem 0.6rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.72));
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.recipe-detail {
  display: block !important;
  padding: 1.4rem 0 4rem;
}
.recipe-hero {
  display: block;
  position: static !important;
  width: 100%;
  overflow: hidden;
  background: #ddd;
}
.recipe-hero img {
  position: static !important;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 42rem;
  object-fit: cover;
  display: block;
}
.recipe-carousel {
  position: relative;
  overflow: hidden;
  background: #111;
}
.recipe-carousel-track {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: clamp(22rem, 58vw, 48rem);
  max-height: 42rem;
}
.recipe-carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}
.recipe-carousel-track img.active { opacity: 1; }
.recipe-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease;
}
.recipe-carousel-arrow.prev { left: 1rem; }
.recipe-carousel-arrow.next { right: 1rem; }
.recipe-carousel:hover .recipe-carousel-arrow,
.recipe-carousel:focus-within .recipe-carousel-arrow { opacity: 1; }
.recipe-carousel-arrow:hover { background: rgba(0,0,0,0.82); }
.recipe-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}
.recipe-carousel-dots button {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(255,255,255,0.38);
}
.recipe-carousel-dots button.active {
  background: var(--yellow);
  border-color: var(--yellow);
}
.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.7rem;
  margin: 0.7rem 0 2rem;
}
.recipe-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.9rem; }
.chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  border: 1px solid #d7d7d7;
  background: #f7f7f2;
  padding: 0.34rem 0.55rem;
  color: #222;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}
.chips a:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}
.recipe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0 0 1rem;
}
.recipe-actions form { margin: 0; }
.edit-link {
  display: inline-block;
  background: var(--yellow);
  padding: 0.65rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}
.share-recipe-button {
  background: var(--yellow);
  padding: 0.65rem 0.9rem;
}
.share-status {
  align-self: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}
.delete-button {
  background: #111;
  color: #fff;
  padding: 0.65rem 0.9rem;
}
.cook-mode-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #111;
  color: #fff;
  padding: 0.65rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}
.cook-mode-button::before {
  content: "";
  width: 1.9rem;
  height: 1rem;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
}
.cook-mode-button::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease;
}
.cook-mode-button[aria-pressed="true"] {
  background: var(--yellow);
  color: #111;
}
.cook-mode-button[aria-pressed="true"]::after {
  transform: translateX(0.86rem);
}
.cook-mode-hint {
  flex: 1 1 14rem;
  align-self: center;
  padding: 0.62rem 0.75rem;
  border: 1px solid #e8e0c4;
  background: #fffdf4;
  color: #4d4d4d;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}
.cook-mode-hint[hidden] {
  display: none;
}
.recipe-detail h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0;
}
.recipe-body {
  display: block;
  position: relative;
  z-index: 2;
  width: min(100%, 66rem);
  margin: 2.4rem auto 0;
  clear: both;
  background: #fff;
}
.lead { color: var(--muted); font-size: 1.08rem; line-height: 1.8; max-width: 46rem; }
.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.recipe-meta p {
  margin: 0;
  padding: 0.55rem 0.75rem;
  background: #f4f4f4;
  font-size: 0.9rem;
}
.serving-adjuster {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
}
.serving-adjuster span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.serving-adjuster button {
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: #111;
  color: #fff;
  font-size: 1rem;
}
.serving-adjuster input {
  min-width: 2rem;
  width: 4rem;
  padding: 0.45rem 0.35rem;
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 950;
}
.serving-adjuster .unit-mode-button {
  width: auto;
  min-width: 6.4rem;
  height: 2rem;
  padding: 0 0.7rem;
  background: var(--yellow);
  color: #111;
  font-size: 0.72rem;
  white-space: normal;
}
.cook-control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1.25rem;
}
.cook-control-row .serving-adjuster {
  margin: 0;
}
.columns { display: grid; grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1.25fr); gap: 2.8rem; margin-top: 2.6rem; }
.columns section { border-top: 4px solid #111; padding-top: 1.25rem; }
.columns h2 { font-size: 1.08rem; text-transform: uppercase; margin-bottom: 1rem; }
.ingredient-list {
  display: grid;
  gap: 0.45rem;
  padding-left: 0;
  list-style: none;
}
li { margin: 0.7rem 0; line-height: 1.55; }
.ingredient-row {
  display: grid;
  grid-template-columns: minmax(5.8rem, max-content) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: baseline;
  margin: 0;
}
.ingredient-amount {
  color: #555;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ingredient-name {
  min-width: 0;
}
.ingredient-heading {
  grid-column: 1 / -1;
  justify-self: start;
  width: 100%;
  margin: 1.1rem 0 0.15rem;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}
.ingredient-heading:first-child {
  margin-top: 0;
}
.columns p { line-height: 1.9; margin: 0 0 1.2rem; }
.related-recipes {
  margin-top: 2.8rem;
  border-top: 4px solid #111;
  padding-top: 1.25rem;
}
.related-recipes h2 {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  text-transform: uppercase;
}
.related-recipes > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.9rem;
}
.related-card {
  display: grid;
  gap: 0.45rem;
  min-height: 8rem;
  border: 1px solid var(--line);
  padding: 0.75rem;
  background: #f7f7f2;
}
.related-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 0.2rem;
}
.related-card strong {
  min-height: 2.3em;
  font-size: 0.9rem;
  line-height: 1.15;
  text-transform: uppercase;
}
.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.cook-steps {
  display: none;
}

body.cook-mode {
  background: #fffdf4;
}
body.cook-mode .topbar,
body.cook-mode .side-panel,
body.cook-mode .recipe-inspiration-strip,
body.cook-mode .related-recipes,
body.cook-mode .site-footer {
  display: none;
}
body.cook-mode main,
body.cook-mode .page-frame,
body.cook-mode .content-panel {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  background: #fffdf4;
}
body.cook-mode .page-frame {
  display: block;
}
body.cook-mode .recipe-detail {
  width: 100%;
  max-width: none;
  padding: clamp(0.75rem, 2vw, 1.4rem);
}
body.cook-mode .recipe-body {
  width: min(100%, 112rem);
  margin: 1rem auto 0;
  padding: 0 clamp(0.75rem, 2vw, 1.25rem) 2rem;
}
body.cook-mode .recipe-hero,
body.cook-mode .recipe-carousel {
  width: min(100%, 112rem);
  margin: 0 auto;
  border: 2px solid #111;
  background: #111;
}
body.cook-mode .recipe-hero img,
body.cook-mode .recipe-carousel-track {
  max-height: min(42vh, 28rem);
}
body.cook-mode .recipe-carousel-track {
  min-height: clamp(15rem, 34vw, 28rem);
}
body.cook-mode .chips,
body.cook-mode .lead,
body.cook-mode .recipe-meta {
  margin-bottom: 1rem;
}
body.cook-mode .recipe-detail h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}
body.cook-mode .recipe-actions {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 1rem;
  padding: 0.75rem min(25rem, 34vw) 0.75rem 0;
  background: #fffdf4;
  border-bottom: 1px solid #e8e0c4;
}
body.cook-mode .recipe-actions a,
body.cook-mode .recipe-actions form {
  display: none;
}
body.cook-mode .serving-adjuster {
  position: relative;
  top: auto;
  z-index: 19;
  background: #fffdf4;
  box-shadow: none;
}
body.cook-mode .columns {
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 1.6rem;
}
body.cook-mode .columns section:nth-child(2) {
  display: block;
}
body.cook-mode .columns section {
  background: #fff;
  border: 2px solid #111;
  padding: clamp(1rem, 2.5vw, 1.4rem);
}
body.cook-mode li,
body.cook-mode .columns p {
  line-height: 1.8;
}
body.cook-mode .cook-steps {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.cook-mode .cook-step-top,
body.cook-mode [data-cook-step-text],
body.cook-mode .cook-step-controls,
body.cook-mode [data-cook-all-steps] {
  display: none;
}
body.cook-mode .cook-step-top p {
  margin: 0;
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 950;
  text-transform: uppercase;
}
body.cook-mode .cook-step-top button,
body.cook-mode .cook-step-controls button {
  padding: 0.9rem 1rem;
}
body.cook-mode [data-cook-step-text] {
  font-size: clamp(1.45rem, 4.8vw, 2.4rem);
  line-height: 1.45;
  font-weight: 800;
}
body.cook-mode .cook-step-controls {
  display: none;
  flex-wrap: wrap;
  gap: 0.7rem;
}
body.cook-mode .cook-step-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
body.cook-mode [data-cook-all-steps] {
  margin: 0;
  padding-left: 1.4rem;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  line-height: 1.7;
}
body.cook-mode .cook-timers {
  position: relative;
  top: auto;
  right: auto;
  z-index: 30;
  width: min(100%, 24rem);
  display: grid;
  justify-items: start;
  gap: 0.45rem;
}
body.cook-mode .cook-timer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.75rem 0.95rem;
  border: 2px solid #111;
  background: var(--yellow);
  box-shadow: 0 0.45rem 1.1rem rgba(0,0,0,0.18);
  font-size: 0.82rem;
}
body.cook-mode .clock-icon {
  position: relative;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  border: 2px solid #111;
  border-radius: 999px;
}
body.cook-mode .clock-icon::before,
body.cook-mode .clock-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  background: #111;
  transform-origin: bottom;
}
body.cook-mode .clock-icon::before {
  height: 0.42rem;
  transform: translateX(-50%) rotate(0deg);
}
body.cook-mode .clock-icon::after {
  height: 0.34rem;
  transform: translateX(-50%) rotate(90deg);
}
body.cook-mode .cook-timer-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #111;
  background: #fff;
  box-shadow: 0 0.65rem 1.5rem rgba(0,0,0,0.2);
}
body.cook-mode .cook-timer-panel[hidden] {
  display: none;
}
body.cook-mode .cook-timer-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.6rem;
}
body.cook-mode .cook-timer-top h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}
body.cook-mode .cook-timer-top button {
  padding: 0.55rem 0.75rem;
  background: #111;
  color: #fff;
}
body.cook-mode .cook-timer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem 4.5rem 5.2rem;
  gap: 0.45rem;
}
body.cook-mode .cook-timer-form input {
  min-height: 2.7rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  font-size: 0.9rem;
}
body.cook-mode .cook-timer-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.6rem;
}
body.cook-mode .cook-timer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid #ddd4b9;
  background: #fffdf4;
}
body.cook-mode .cook-timer strong {
  font-size: 0.9rem;
  text-transform: uppercase;
}
body.cook-mode .cook-timer span {
  min-width: 4.4rem;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 950;
  text-align: right;
}
body.cook-mode .cook-timer em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
body.cook-mode .cook-timer.is-done {
  border-color: #111;
  background: var(--yellow);
}

@media (min-width: 641px) and (max-width: 1180px) {
  body.cook-mode main,
  body.cook-mode .page-frame,
  body.cook-mode .content-panel,
  body.cook-mode .recipe-body {
    max-width: 100%;
  }
  body.cook-mode .recipe-detail {
    padding: clamp(1rem, 3vw, 2rem);
  }
  body.cook-mode .columns {
    grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
  }
  body.cook-mode .cook-steps {
    min-height: 42vh;
  }
  body.cook-mode [data-cook-step-text] {
    font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  }
}

.form-page, .login, .admin { max-width: 52rem; margin: 0 auto; padding-top: 2rem; }
.form-page { max-width: 82rem; }
.login { max-width: 28rem; padding-top: 8vh; }
.panel {
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 1.6rem);
}
.recipe-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
}
.recipe-editor > * {
  min-width: 0;
}
.recipe-editor .editor-actions,
.recipe-editor .direct-recipe-editor,
.recipe-editor .category-checkboxes,
.recipe-editor .time-fields,
.recipe-editor .existing-images,
.recipe-editor .image-upload,
.recipe-editor .related-editor,
.recipe-editor > button {
  grid-column: 1 / -1;
}
.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.editor-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.editor-format-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  background: #fff;
  width: max-content;
  max-width: 100%;
  margin: 0;
}
.editable-section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0 0.4rem;
}
.editable-section-heading h3 {
  margin: 0;
}
.editor-icon-button {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid transparent;
  background: #f7f7f2;
  color: #111;
  font-weight: 950;
  line-height: 1;
}
.editor-icon-button:hover,
.editor-icon-button:focus-visible {
  border-color: #111;
  background: var(--yellow);
}
.ingredient-heading-button {
  min-width: 3.2rem;
}
.editor-source {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.recipe-live-preview {
  border: 2px solid #111;
  background: #fffdf4;
  padding: clamp(1rem, 2.5vw, 1.6rem);
}
.recipe-live-preview strong,
.recipe-live-preview h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
}
.direct-edit-label {
  display: block;
  margin-bottom: 0.8rem;
}
.recipe-live-preview h2 {
  margin: 0.5rem 0 0.7rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.direct-recipe-editor [contenteditable="true"] {
  outline: 2px solid transparent;
  outline-offset: 0.25rem;
  cursor: text;
}
.direct-recipe-editor [contenteditable="true"]:focus {
  outline-color: var(--yellow);
  background: #fff;
}
.direct-recipe-editor [contenteditable="true"]:empty::before {
  content: attr(data-placeholder);
  color: #999;
}
.recipe-live-preview p {
  color: var(--muted);
  line-height: 1.65;
}
.editable-recipe-block {
  min-height: 8rem;
  white-space: pre-wrap;
  line-height: 1.65;
}
.editable-recipe-block ul,
.editable-recipe-block ol,
.recipe-live-preview ul,
.recipe-live-preview ol {
  margin: 0.4rem 0 0.9rem 1.4rem;
  padding-left: 1rem;
  white-space: normal;
}
.editable-recipe-block li,
.recipe-live-preview li {
  margin-bottom: 0.25rem;
  line-height: 1.6;
}
.editable-recipe-block + h3 {
  margin-top: 1rem;
}
label { display: grid; gap: 0.4rem; margin: 0 0 1rem; font-weight: 850; }
label span, .hint { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.checkbox-line input {
  width: auto;
}
.watermark-preview {
  width: 5rem;
  height: 5rem;
  margin: -0.25rem 0 1rem;
  border: 1px solid var(--line);
  background: #f7f7f7;
}
.watermark-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-logo-preview {
  width: 9rem;
  background: #fff;
}
.theme-watermark-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
.theme-watermark-card {
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}
.theme-watermark-card h3 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}
.theme-admin-form [data-theme-panel][hidden] {
  display: none;
}
.theme-panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.4rem 0 1rem;
}
.theme-panel-tabs button {
  min-height: 2.55rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.theme-panel-tabs button.active {
  border-color: #111;
  background: #111;
  color: #fff;
}
.theme-settings-panel {
  margin: 0 0 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fafafa;
}
.theme-settings-panel h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}
.category-checkboxes {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1rem;
}
.category-checkboxes strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}
.category-checkboxes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.category-checkboxes label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  border: 1px solid var(--line);
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.category-checkboxes input {
  width: auto;
}
.time-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.related-editor {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fafafa;
}
.related-editor strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.related-editor span,
.related-editor p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.related-editor-row {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  padding: 0.85rem;
  border: 1px solid #e2e2e2;
  background: #fff;
}
.related-editor-row button {
  justify-self: start;
}
.secondary-button {
  background: #111;
  color: #fff;
}
.existing-images {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
}
.existing-images strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}
.existing-images div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.75rem;
}
.existing-image-item {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0.5rem;
  border: 1px solid var(--line);
  background: #fff;
}
.existing-image-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.existing-image-item input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}
.existing-image-item span {
  display: block;
  color: #197a2f;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.existing-image-item button {
  padding: 0.55rem 0.65rem;
  background: #111;
  color: #fff;
}
.existing-image-item.is-removed {
  opacity: 0.52;
  background: #f4f4f4;
}
.existing-image-item.is-removed img { filter: grayscale(1); }
.existing-image-item.is-removed span { color: var(--red); }
.existing-images p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.image-upload {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 2px dashed #cfcfcf;
  background: #fafafa;
  transition: border-color 160ms ease, background 160ms ease;
}
.image-upload.is-dragging {
  border-color: var(--red);
  background: #fff6e8;
}
.image-upload label { margin: 0; }
.image-upload input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}
.image-upload p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.image-upload button {
  justify-self: start;
}
.image-upload .gemini-button {
  background: #111;
  color: #fff;
}
.gemini-status {
  min-height: 1.2rem;
  font-weight: 800;
}
.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.75rem;
}
.preview-item {
  position: relative;
  overflow: hidden;
  background: #eee;
}
.preview-item.generated::before {
  content: "Gemini";
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  z-index: 1;
  background: var(--yellow);
  padding: 0.25rem 0.35rem;
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}
.preview-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.preview-item button {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.62rem;
}
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.admin-modern {
  max-width: 118rem;
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.4rem;
}
.admin-nav {
  position: sticky;
  top: 5.2rem;
  align-self: start;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 0.7rem 1.8rem rgba(0,0,0,0.05);
}
.admin-nav strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0 0.75rem;
  border-left: 3px solid transparent;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}
.admin-nav a:hover {
  border-left-color: var(--yellow);
  background: #fafafa;
}
.admin-content {
  min-width: 0;
  display: grid;
  gap: 1.25rem;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  background: #111;
  color: #fff;
}
.admin-header p,
.admin-section-heading p {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-header h1 {
  margin: 0;
  color: #fff;
}
.admin-header dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(5rem, 1fr));
  gap: 0.7rem;
  margin: 0;
}
.admin-header dl div {
  min-width: 6rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}
.admin-header dt {
  color: #cfcfcf;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.admin-header dd {
  margin: 0.2rem 0 0;
  color: var(--yellow);
  font-size: 1.35rem;
  font-weight: 950;
}
.admin-section {
  scroll-margin-top: 6rem;
  display: grid;
  gap: 0.75rem;
}
.admin-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #111;
}
.admin-section-heading h2 {
  margin: 0;
}
.admin-two-col {
  display: grid;
  grid-template-columns: minmax(17rem, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.admin-table-panel {
  overflow-x: auto;
}
.admin-modern .panel {
  background: #fff;
}
.admin-modern table {
  min-width: 44rem;
}

.platform-page,
.platform-home {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 2rem);
}
.home-hero,
.index-hero,
.blog-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
  margin-bottom: 1.2rem;
  background: #111;
  color: #fff;
}
.home-hero > div,
.index-hero > div,
.blog-detail-hero > div {
  padding: clamp(1.25rem, 3vw, 2.4rem);
}
.home-hero p,
.index-hero p,
.blog-detail-hero p {
  margin: 0 0 0.65rem;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-hero h1,
.index-hero h1,
.blog-detail-hero h1 {
  margin: 0;
  max-width: 48rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
}
.home-hero span,
.index-hero span,
.blog-detail-hero span {
  display: block;
  max-width: 42rem;
  margin-top: 0.9rem;
  color: #d8d8d8;
  line-height: 1.6;
}
.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.home-search input,
.recipe-filter-bar input,
.recipe-filter-bar select {
  min-height: 44px;
}
.home-carousel {
  position: relative;
  min-height: clamp(18rem, 38vw, 32rem);
  overflow: hidden;
  background: #222;
}
.home-carousel a {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 1.2rem;
  color: #fff;
  opacity: 0;
  animation: homeCarousel 25s infinite;
}
.home-carousel a:nth-child(2) { animation-delay: 5s; }
.home-carousel a:nth-child(3) { animation-delay: 10s; }
.home-carousel a:nth-child(4) { animation-delay: 15s; }
.home-carousel a:nth-child(5) { animation-delay: 20s; }
.home-carousel img,
.blog-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-carousel a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.82));
}
.home-carousel span,
.home-carousel strong,
.home-carousel em {
  position: relative;
  z-index: 1;
}
.home-carousel strong {
  max-width: 28rem;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}
.home-carousel em {
  margin-top: 0.4rem;
  font-style: normal;
}
@keyframes homeCarousel {
  0%, 18% { opacity: 1; }
  23%, 100% { opacity: 0; }
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.quick-actions a,
.filter-reset,
.load-more a,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}
.home-section,
.tips-strip {
  margin-top: 1.8rem;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.9rem;
  border-bottom: 2px solid #111;
}
.section-heading h2 {
  margin: 0 0 0.55rem;
}
.section-heading a {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 900;
}
.card-grid {
  display: grid;
  gap: 1rem;
}
.recipe-grid {
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
}
.blog-grid {
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}
.platform-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.platform-card:hover {
  transform: translateY(-2px);
  border-color: #111;
  box-shadow: 0 0.8rem 1.8rem rgba(0,0,0,0.09);
}
.platform-card .thumb {
  min-height: 11rem;
  background: #eee;
}
.platform-card .thumb img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  transition: transform 220ms ease;
}
.platform-card:hover .thumb img {
  transform: scale(1.035);
}
.platform-card > div:last-child {
  padding: 1rem;
}
.platform-card small {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}
.platform-card h3 {
  margin: 0.35rem 0;
}
.platform-card p {
  color: var(--muted);
}
.card-meta,
.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}
.card-meta span,
.card-badges span,
.active-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0 0.55rem;
  background: #f4f4f4;
  font-size: 0.76rem;
  font-weight: 850;
}
.recipe-filter-bar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) repeat(5, minmax(8rem, auto)) auto auto;
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}
.index-count {
  margin: 0 0 1rem;
  color: var(--muted);
}
.load-more {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0;
}
.category-landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.85rem;
}
.category-landing-card {
  display: grid;
  min-height: 10rem;
  align-content: end;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.category-landing-card img {
  width: 100%;
  height: 8rem;
  object-fit: cover;
  margin: -1rem -1rem 0.8rem;
  width: calc(100% + 2rem);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.breadcrumbs a {
  color: var(--ink);
  font-weight: 850;
}
.recipe-breadcrumbs,
.back-link {
  margin-left: clamp(1rem, 3vw, 2rem);
  margin-right: clamp(1rem, 3vw, 2rem);
}
.back-link {
  width: max-content;
  margin-bottom: 0.8rem;
}
.recipe-fact-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.6rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fafafa;
}
.recipe-fact-box h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1rem;
}
.recipe-fact-box p {
  margin: 0;
  padding: 0.65rem;
  background: #fff;
}
.recipe-fact-box strong,
.recipe-fact-box span {
  display: block;
}
.blog-detail-hero {
  position: relative;
  min-height: 24rem;
}
.blog-detail-hero > div {
  position: relative;
  z-index: 1;
  align-self: end;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.78));
}
.blog-copy {
  max-width: 780px;
  font-size: 1.1rem;
  line-height: 1.75;
}
.admin-inspiration {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.75rem;
}
.admin-inspiration-item {
  display: grid;
  gap: 0.5rem;
}
.admin-inspiration img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}
.admin-inspiration form { margin: 0; }
.admin-inspiration button {
  width: 100%;
  padding: 0.55rem 0.65rem;
  background: #111;
  color: #fff;
}
.theme-admin-form {
  grid-column: 1 / -1;
}
.theme-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.65rem 0.85rem;
}
.theme-color-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid var(--line);
  background: #fff;
}
.theme-color-grid input[type="color"] {
  width: 3rem;
  min-width: 3rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--line);
}
table { width: 100%; border-collapse: collapse; }
th {
  padding: 0.7rem 0.8rem;
  border-bottom: 2px solid #111;
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
}
td { padding: 0.8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.inline-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}
.inline-form input { min-width: 10rem; padding: 0.55rem 0.65rem; }
.inline-form button { padding: 0.6rem 0.75rem; }
.inline-form button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
.notice {
  width: min(100%, 61rem);
  margin: 1rem auto 0;
  padding: 0.8rem 1rem;
  background: #fff7c7;
  color: #6c5b00;
}
.print-page {
  background: #fff;
  color: #111;
}
.print-watermark {
  position: fixed;
  inset: 38% auto auto 10%;
  z-index: 0;
  transform: rotate(-24deg);
  color: rgba(0, 0, 0, 0.055);
  font-size: 4.5rem;
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
  pointer-events: none;
}
.print-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 56rem);
  padding: 1.2rem 1.5rem;
  font-size: 0.92rem;
}
.print-sheet header p {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}
.print-sheet h1 {
  margin: 0 0 0.45rem;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}
.print-sheet header span {
  display: inline-block;
  margin: 0 0.25rem 0.2rem 0;
  border: 1px solid #ccc;
  padding: 0.2rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}
.print-image {
  float: right;
  width: 30%;
  max-width: 8cm;
  height: 3.8cm;
  max-height: 3.8cm;
  object-fit: cover;
  margin: 0 0 0.45rem 0.9rem;
}
.print-lead {
  font-size: 0.92rem;
  line-height: 1.42;
  margin: 0.35rem 0 0.45rem;
}
.print-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 0.45rem;
}
.print-meta p {
  margin: 0;
  padding: 0.18rem 0.35rem;
  background: #f0f0f0;
  font-size: 0.82rem;
}
.print-columns {
  clear: both;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 0.85rem;
  margin-top: 0.45rem;
}
.print-columns h2 {
  border-bottom: 2px solid #111;
  padding-bottom: 0.16rem;
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.print-columns .ingredient-list { gap: 0.18rem; }
.print-columns .ingredient-row {
  grid-template-columns: minmax(3.7rem, max-content) minmax(0, 1fr);
  gap: 0.45rem;
  font-size: 0.84rem;
}
.print-columns .ingredient-heading {
  margin: 0.55rem 0 0.08rem;
  font-size: 0.78rem;
}
.print-columns ul { margin-top: 0; padding-left: 0; }
.print-columns li { margin: 0 0 0.12rem; line-height: 1.28; }
.print-columns p {
  margin: 0 0 0.34rem;
  line-height: 1.38;
  font-size: 0.9rem;
}
.print-columns br { line-height: 1.2; }

@media print {
  @page { margin: 0.9cm; }
  .print-page { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .print-sheet {
    padding: 0;
    width: 100%;
    font-size: 9.5pt;
  }
  .print-sheet header p { font-size: 7.5pt; margin-bottom: 0.15cm; }
  .print-sheet h1 { font-size: 20pt; margin-bottom: 0.18cm; }
  .print-sheet header span { font-size: 6.8pt; padding: 0.08cm 0.14cm; margin-bottom: 0.08cm; }
  .print-image {
    width: 23%;
    max-width: 4.4cm;
    height: 2.6cm;
    max-height: 2.6cm;
    margin: 0 0 0.25cm 0.45cm;
  }
  .print-lead { font-size: 9pt; line-height: 1.28; margin: 0.18cm 0 0.22cm; }
  .print-meta { gap: 0.12cm; margin-bottom: 0.22cm; }
  .print-meta p { font-size: 7.6pt; padding: 0.06cm 0.12cm; }
  .print-columns { gap: 0.55cm; margin-top: 0.22cm; }
  .print-columns h2 { font-size: 8.6pt; margin-bottom: 0.18cm; padding-bottom: 0.06cm; }
  .print-columns .ingredient-list { gap: 0.06cm; }
  .print-columns .ingredient-row { font-size: 8.3pt; gap: 0.24cm; grid-template-columns: minmax(2.35cm, max-content) minmax(0, 1fr); }
  .print-columns .ingredient-heading { font-size: 7.8pt; margin: 0.25cm 0 0.04cm; }
  .print-columns li { line-height: 1.18; margin-bottom: 0.04cm; }
  .print-columns p { font-size: 8.6pt; line-height: 1.24; margin-bottom: 0.16cm; }
  .print-watermark { display: block; }
}
.empty { min-height: 40vh; display: grid; place-items: center; color: var(--muted); }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.2rem;
  padding: 1.2rem;
  color: #888;
  background: #050505;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.visit-counter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  color: #666;
}
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(48rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid #2f2f2f;
  background: rgba(5, 5, 5, 0.96);
  color: #fff;
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,0.28);
}

body.theme-turquoise {
  background: #f6f8f8;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
}
body.theme-turquoise h1,
body.theme-turquoise h2,
body.theme-turquoise h3,
body.theme-turquoise .brand,
body.theme-turquoise .t-recipe-card h3,
body.theme-turquoise .t-feature-card h3 {
  font-family: "Playfair Display", Georgia, serif;
}
body.theme-turquoise .topbar {
  grid-template-columns: auto minmax(0, 1fr) minmax(15rem, 23.75rem) auto;
  min-height: 56px;
  padding: 0 40px;
  gap: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  color: var(--ink);
}
body.theme-turquoise .brand {
  gap: 0.15rem;
  font-size: 18px;
  color: var(--t800);
}
body.theme-turquoise .brand img,
body.theme-turquoise .brand span,
body.theme-turquoise .brand em {
  display: none;
}
body.theme-turquoise .brand-logo-main {
  display: inline-block;
  width: 2.25rem;
  height: 2.25rem;
  margin-right: 0.45rem;
  border-radius: 4px;
}
body.theme-turquoise .habsalon-logo {
  display: none;
}
body.theme-turquoise .brand strong {
  display: none;
}
body.theme-turquoise .turquoise-brand-text {
  display: inline;
  font-style: normal;
  color: var(--t800);
}
body.theme-turquoise .turquoise-brand-text i {
  color: var(--t400);
  font-style: normal;
}
body.theme-turquoise nav {
  justify-content: flex-end;
  gap: 1.2rem;
  order: 3;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}
body.theme-turquoise nav a,
body.theme-turquoise .account a {
  color: #333;
}
body.theme-turquoise .nav-tagline {
  display: none;
}
body.theme-turquoise .top-search {
  order: 2;
  max-width: 380px;
  width: 100%;
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
}
body.theme-turquoise .top-search::before {
  content: "⌕";
  position: absolute;
}
body.theme-turquoise .top-search input {
  height: 34px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #f6f8f8;
}
body.theme-turquoise .top-search button,
body.theme-turquoise .account .button,
body.theme-turquoise .account button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 3px;
  background: var(--t600);
  color: #fff;
  padding: 0 18px;
  font-size: 12px;
  line-height: 1;
}
body.theme-turquoise .account {
  order: 4;
}
body.theme-turquoise .account small {
  color: #999;
}
body.theme-turquoise main {
  width: 100%;
}
.t-category-strip {
  display: flex;
  height: 38px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 40px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}
.t-category-strip::-webkit-scrollbar { display: none; }
.t-category-strip a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-bottom: 2px solid transparent;
  color: #888;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.t-category-strip a span,
.t-left-categories a span,
.t-recipe-categories a span {
  display: none;
}
.t-category-strip a.active {
  color: var(--t800);
  border-bottom-color: var(--t400);
}
.t-category-strip a:hover {
  color: var(--t600);
  border-bottom-color: var(--t200);
}
.t-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  background: var(--t800);
  min-height: 205px;
}
.t-hero > div {
  padding: 28px 48px 28px 40px;
}
.t-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--t200);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.t-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
}
.t-hero-copy {
  max-width: 400px;
  color: var(--t100);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  margin: 0.65rem 0 0;
}
.t-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 0.8rem;
  border-radius: 3px;
  background: var(--t400);
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
}
.t-hero-pick {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 1.25rem;
  text-align: center;
  background: var(--t600);
}
.t-hero-pick small {
  color: var(--t100);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.t-hero-pick span {
  width: 32px;
  height: 2px;
  margin: 8px auto;
  background: var(--t400);
}
.t-hero-pick strong {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
}
.t-hero-pick em {
  max-width: 18rem;
  margin-top: 0.65rem;
  color: var(--t100);
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.45;
}
.t-body {
  padding: 24px 40px 60px;
}
.t-body-with-sidebar {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
}
.t-left-categories {
  align-self: start;
  position: sticky;
  top: 72px;
}
.t-left-categories h2,
.t-recipe-categories h2 {
  margin: 0 0 0.75rem;
  color: #1a1a1a;
  font-size: 18px;
}
.t-left-categories > div,
.t-recipe-categories {
  display: grid;
  gap: 7px;
}
.t-left-categories a,
.t-recipe-categories a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  padding: 0 0.7rem;
  border-left: 3px solid transparent;
  background: #fff;
  color: #555;
  font-size: 14px;
  font-weight: 700;
}
.t-left-categories a:hover,
.t-recipe-categories a:hover {
  border-left-color: var(--t400);
  background: var(--t50);
  color: var(--t800);
}
.t-main-feed {
  min-width: 0;
}
.t-category-boxes {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}
.t-category-boxes a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
}
.t-category-boxes a:hover {
  border-color: var(--t400);
  background: var(--t50);
}
.t-category-boxes span {
  color: var(--t600);
  font-size: 20px;
}
.t-category-boxes strong {
  color: #555;
  font-size: 11px;
  font-weight: 600;
}
.t-divider {
  height: 1px;
  margin: 22px 0;
  background: #e8e8e8;
}
.t-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.t-section-header h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 22px;
}
.t-section-header a {
  color: var(--t600);
  font-size: 12px;
  font-weight: 600;
}
.t-feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.t-feature-grid > div {
  display: grid;
  gap: 12px;
}
.t-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--t800);
  color: #fff;
}
.t-feature-card.large {
  background: var(--t900);
}
.t-feature-image {
  min-height: 92px;
  display: grid;
  place-items: center;
  background: #007a82;
  font-size: 2rem;
}
.t-feature-card.large .t-feature-image {
  min-height: 124px;
}
.t-feature-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.t-feature-card div:last-child {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 16px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.76));
}
.t-feature-card small {
  color: var(--t200);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.t-feature-card h3 {
  margin: 0.35rem 0;
  color: #fff;
  font-size: 19px;
}
.t-feature-card p {
  color: var(--t100);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
  margin: 0;
}
.t-grid {
  display: grid;
  gap: 12px;
}
.t-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t-grid5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.t-recipe-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
}
.t-recipe-card:hover {
  border-color: var(--t400);
}
.t-card-image {
  height: 132px;
  display: grid;
  place-items: center;
  background: var(--t50);
  color: var(--t600);
  font-size: 2rem;
}
.t-recipe-card.compact .t-card-image { height: 98px; }
.t-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.t-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.8rem 12px 11px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.78));
}
.t-card-body small {
  color: var(--t200);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.t-card-body h3 {
  margin: 0.25rem 0;
  color: #fff;
  font-size: 16px;
}
.t-card-body p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
}
.t-card-footer {
  border-top: 1px solid #f0f0f0;
  padding: 9px 14px;
  color: #aaa;
  font-size: 11px;
}
.t-recipe-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 32px 40px 60px;
}
.t-recipe-shell > div {
  min-width: 0;
}
.t-recipe-categories {
  align-self: start;
  position: sticky;
  top: 72px;
}
body.theme-turquoise .t-recipe-detail {
  padding-top: 0;
  background: #fff;
}
body.theme-turquoise .recipe-hero,
body.theme-turquoise .recipe-carousel {
  position: relative;
}
body.theme-turquoise .recipe-hero img {
  max-height: 32rem;
}
body.theme-turquoise .recipe-carousel-track {
  min-height: clamp(18rem, 45vw, 34rem);
  max-height: 34rem;
}
.t-image-tags {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.t-image-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 3px;
  background: rgba(0, 74, 80, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}
body.theme-turquoise .t-recipe-detail .recipe-body {
  max-width: none;
  padding: 1.2rem 2rem 3rem;
}
body.theme-turquoise .recipe-actions,
body.theme-turquoise .t-top-actions,
body.theme-turquoise .t-cook-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
body.theme-turquoise .t-top-actions {
  justify-content: flex-end;
  margin: 0 0 0.7rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e5e5;
}
body.theme-turquoise .t-cook-tag-row {
  margin: 0.4rem 0 1rem;
}
body.theme-turquoise .recipe-actions .edit-link,
body.theme-turquoise .recipe-actions button,
body.theme-turquoise .t-top-actions .edit-link,
body.theme-turquoise .t-top-actions button,
body.theme-turquoise .t-cook-tag-row button,
body.theme-turquoise .serving-adjuster button,
body.theme-turquoise .unit-mode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  height: 38px;
  border-radius: 3px;
  background: var(--t600);
  color: #fff;
  padding: 0 1rem;
  margin: 0;
}
body.theme-turquoise .t-top-actions form,
body.theme-turquoise .recipe-actions form {
  margin: 0;
}
body.theme-turquoise .cook-mode-button {
  min-width: 10rem;
}
body.theme-turquoise .cook-mode-button[aria-pressed="true"] {
  background: var(--t400);
  color: #fff;
}
body.theme-turquoise .cook-mode-hint {
  border-color: var(--t100);
  background: var(--t50);
  color: var(--t800);
}
body.theme-turquoise .serving-adjuster input {
  height: 38px;
}
body.theme-turquoise .serving-adjuster {
  gap: 0.8rem;
}
body.theme-turquoise .cook-control-row {
  gap: 0.8rem;
  align-items: center;
}
.t-inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-height: 38px;
  align-items: center;
}
.t-inline-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border: 1px solid var(--t200);
  border-radius: 3px;
  background: var(--t50);
  color: var(--t800);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
body.theme-turquoise .delete-button {
  background: var(--t900) !important;
}
.t-recipe-image-fallback {
  display: grid;
  place-items: center;
  min-height: 18rem;
  background: var(--t50);
  color: var(--t600);
  font-size: 4rem;
}
body.theme-turquoise .site-footer {
  justify-content: space-between;
  padding: 24px 40px;
  background: var(--t900);
  color: var(--t100);
}
body.theme-turquoise .site-footer::before {
  content: "Verdens Lækreste Opskrifter";
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}

body.theme-turquoise.cook-mode .cook-timer-top,
body.theme-turquoise .cook-timer-toggle,
body.theme-turquoise .cook-timer-form button,
body.theme-turquoise .cook-step-top button,
body.theme-turquoise .cook-step-controls button {
  background: var(--t600);
  color: #fff;
}
body.theme-turquoise.cook-mode .cook-timer-panel {
  border-color: var(--t100);
}
body.theme-turquoise.cook-mode .recipe-body {
  padding: 1rem 1.5rem 2rem;
}
body.theme-turquoise.cook-mode .columns {
  gap: 1.4rem;
}

body.theme-habsalon {
  --h-red-local: var(--h-red, #ef3333);
  --h-dark-local: var(--h-dark, #090909);
  --h-cream-local: var(--h-cream, #fff4e8);
  --h-sand-local: var(--h-sand, #f3e1cf);
  background: var(--h-cream-local);
  color: var(--h-dark-local);
  font-family: Inter, Arial, Helvetica, sans-serif;
}
body.theme-habsalon h1,
body.theme-habsalon h2,
body.theme-habsalon h3,
body.theme-habsalon .t-recipe-card h3,
body.theme-habsalon .t-feature-card h3 {
  font-family: "Arial Black", Impact, Inter, sans-serif;
  letter-spacing: 0.01em;
}
body.theme-habsalon .topbar {
  grid-template-columns: auto minmax(0, 1fr) minmax(15rem, 24rem) auto;
  min-height: 64px;
  padding: 0 36px;
  gap: 1.4rem;
  border-bottom: 4px solid var(--h-red-local);
  background: var(--h-dark-local);
  color: #fff;
}
body.theme-habsalon .brand {
  min-width: 13rem;
}
body.theme-habsalon .brand-logo-main,
body.theme-habsalon .brand span,
body.theme-habsalon .brand strong,
body.theme-habsalon .brand em,
body.theme-habsalon .turquoise-brand-text {
  display: none;
}
body.theme-habsalon .habsalon-logo {
  display: block;
  width: clamp(11rem, 18vw, 17rem);
  height: auto;
  margin: 0;
  border-radius: 0;
}
body.theme-habsalon nav {
  justify-content: flex-end;
  gap: 1.25rem;
  order: 3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
body.theme-habsalon nav a,
body.theme-habsalon .account a {
  color: #fff;
}
body.theme-habsalon nav a:hover {
  color: var(--h-red-local);
}
body.theme-habsalon .nav-tagline {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.58);
  font-size: 11px;
}
body.theme-habsalon .top-search {
  order: 2;
  max-width: 390px;
  width: 100%;
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}
body.theme-habsalon .top-search input {
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: #fff;
}
body.theme-habsalon .top-search button,
body.theme-habsalon .account .button,
body.theme-habsalon .account button,
body.theme-habsalon .t-cta,
body.theme-habsalon .recipe-actions .edit-link,
body.theme-habsalon .recipe-actions button,
body.theme-habsalon .t-top-actions .edit-link,
body.theme-habsalon .t-top-actions button,
body.theme-habsalon .t-cook-tag-row button,
body.theme-habsalon .serving-adjuster button,
body.theme-habsalon .unit-mode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: var(--h-red-local);
  color: #fff;
  padding: 0 1.05rem;
  margin: 0;
  box-shadow: none;
}
body.theme-habsalon .account {
  gap: 0.8rem;
}
body.theme-habsalon .account span {
  color: #fff;
}
body.theme-habsalon .account small {
  color: rgba(255,255,255,0.55);
}
body.theme-habsalon main {
  width: 100%;
}
body.theme-habsalon .t-category-strip {
  height: 46px;
  padding: 0 36px;
  border-bottom: 1px solid #111;
  background: #fff;
}
body.theme-habsalon .t-category-strip a {
  height: 46px;
  color: #222;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
body.theme-habsalon .t-category-strip a span,
body.theme-habsalon .t-left-categories a span,
body.theme-habsalon .t-recipe-categories a span,
body.theme-habsalon .t-category-boxes span {
  display: none;
}
body.theme-habsalon .t-category-strip a.active,
body.theme-habsalon .t-category-strip a:hover {
  color: var(--h-red-local);
  border-bottom-color: var(--h-red-local);
}
body.theme-habsalon .t-hero {
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 255px;
  border-bottom: 4px solid var(--h-dark-local);
  background: var(--h-dark-local);
}
body.theme-habsalon .t-hero > div {
  padding: 38px 48px 34px 40px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.9), rgba(0,0,0,0.62)),
    repeating-linear-gradient(135deg, rgba(239,51,51,0.18) 0 2px, transparent 2px 18px);
}
body.theme-habsalon .t-eyebrow {
  color: var(--h-red-local);
  font-weight: 900;
}
body.theme-habsalon .t-hero h1 {
  max-width: 36rem;
  color: #fff;
  font-size: clamp(2.35rem, 4vw, 4.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}
body.theme-habsalon .t-hero-copy {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
}
body.theme-habsalon .t-hero-pick {
  background: var(--h-red-local);
}
body.theme-habsalon .t-hero-pick small,
body.theme-habsalon .t-hero-pick em {
  color: rgba(255,255,255,0.8);
}
body.theme-habsalon .t-hero-pick span {
  background: #fff;
}
body.theme-habsalon .t-hero-pick strong {
  font-family: "Arial Black", Impact, Inter, sans-serif;
  text-transform: uppercase;
}
body.theme-habsalon .t-body {
  padding: 28px 36px 60px;
  background: var(--h-cream-local);
}
body.theme-habsalon .t-body-with-sidebar,
body.theme-habsalon .t-recipe-shell {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
}
body.theme-habsalon .t-left-categories,
body.theme-habsalon .t-recipe-categories {
  top: 82px;
}
body.theme-habsalon .t-left-categories h2,
body.theme-habsalon .t-recipe-categories h2 {
  padding-bottom: 0.65rem;
  border-bottom: 3px solid var(--h-red-local);
  color: var(--h-dark-local);
  font-family: "Arial Black", Impact, Inter, sans-serif;
  text-transform: uppercase;
}
body.theme-habsalon .t-left-categories a,
body.theme-habsalon .t-recipe-categories a,
body.theme-habsalon .t-category-boxes a {
  border: 2px solid var(--h-dark-local);
  border-radius: 0;
  background: #fff;
  color: var(--h-dark-local);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
body.theme-habsalon .t-left-categories a:hover,
body.theme-habsalon .t-recipe-categories a:hover,
body.theme-habsalon .t-category-boxes a:hover {
  border-color: var(--h-red-local);
  background: var(--h-red-local);
  color: #fff;
}
body.theme-habsalon .t-category-boxes {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
body.theme-habsalon .t-divider {
  height: 4px;
  margin: 28px 0;
  background: var(--h-dark-local);
}
body.theme-habsalon .t-section-header h2 {
  color: var(--h-dark-local);
  font-size: 28px;
  text-transform: uppercase;
}
body.theme-habsalon .t-section-header a {
  color: var(--h-red-local);
  font-weight: 900;
}
body.theme-habsalon .t-feature-card,
body.theme-habsalon .t-recipe-card {
  border: 3px solid var(--h-dark-local);
  border-radius: 0;
  background: #fff;
}
body.theme-habsalon .t-feature-card:hover,
body.theme-habsalon .t-recipe-card:hover {
  border-color: var(--h-red-local);
}
body.theme-habsalon .t-feature-image {
  min-height: 112px;
  background: var(--h-red-local);
}
body.theme-habsalon .t-feature-card.large .t-feature-image {
  min-height: 150px;
}
body.theme-habsalon .t-feature-card div:last-child,
body.theme-habsalon .t-card-body {
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.88));
}
body.theme-habsalon .t-feature-card small,
body.theme-habsalon .t-card-body small {
  color: #ff6262;
}
body.theme-habsalon .t-card-image {
  height: 140px;
  background: var(--h-sand-local);
  color: var(--h-red-local);
}
body.theme-habsalon .t-recipe-card.compact .t-card-image {
  height: 108px;
}
body.theme-habsalon .t-recipe-shell {
  padding: 32px 36px 64px;
  background: var(--h-cream-local);
}
body.theme-habsalon .t-recipe-detail {
  padding-top: 0;
  border: 3px solid var(--h-dark-local);
  background: #fff;
}
body.theme-habsalon .recipe-hero,
body.theme-habsalon .recipe-carousel {
  position: relative;
  border-bottom: 4px solid var(--h-red-local);
}
body.theme-habsalon .recipe-hero img {
  max-height: 32rem;
}
body.theme-habsalon .recipe-carousel-track {
  min-height: clamp(18rem, 45vw, 34rem);
  max-height: 34rem;
}
body.theme-habsalon .t-image-tags a,
body.theme-habsalon .t-inline-tags a {
  border: 2px solid #fff;
  border-radius: 0;
  background: rgba(239, 51, 51, 0.9);
  color: #fff;
}
body.theme-habsalon .t-recipe-detail .recipe-body {
  max-width: none;
  padding: 1.2rem 2rem 3rem;
}
body.theme-habsalon .t-top-actions,
body.theme-habsalon .t-cook-tag-row,
body.theme-habsalon .recipe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
body.theme-habsalon .t-top-actions {
  justify-content: flex-end;
  margin: 0 0 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 4px solid var(--h-dark-local);
}
body.theme-habsalon .t-cook-tag-row {
  margin: 0.4rem 0 1rem;
}
body.theme-habsalon .cook-mode-button {
  min-width: 10rem;
  background: var(--h-dark-local);
}
body.theme-habsalon .cook-mode-button[aria-pressed="true"] {
  background: var(--h-red-local);
}
body.theme-habsalon .cook-mode-hint {
  border-color: var(--h-red-local);
  background: #fff;
  color: var(--h-dark-local);
}
body.theme-habsalon .serving-adjuster {
  gap: 0.8rem;
}
body.theme-habsalon .serving-adjuster input {
  height: 40px;
  border: 2px solid var(--h-dark-local);
  border-radius: 0;
}
body.theme-habsalon .delete-button {
  background: var(--h-dark-local) !important;
}
body.theme-habsalon .site-footer {
  justify-content: space-between;
  padding: 24px 36px;
  border-top: 5px solid var(--h-red-local);
  background: var(--h-dark-local);
  color: rgba(255,255,255,0.7);
}
body.theme-habsalon .site-footer::before {
  content: "Habsalon Madklub for CSL";
  color: var(--h-red-local);
  font-family: "Arial Black", Impact, Inter, sans-serif;
  font-size: 18px;
  font-weight: 900;
}
body.theme-habsalon.cook-mode .cook-timer-top,
body.theme-habsalon .cook-timer-toggle,
body.theme-habsalon .cook-timer-form button,
body.theme-habsalon .cook-step-top button,
body.theme-habsalon .cook-step-controls button {
  background: var(--h-red-local);
  color: #fff;
}
body.theme-habsalon.cook-mode .cook-timer-panel {
  border-color: var(--h-red-local);
}
body.theme-habsalon.cook-mode .recipe-body {
  padding: 1rem 1.5rem 2rem;
}
body.theme-habsalon.cook-mode .columns {
  gap: 1.4rem;
}

body.has-custom-logo.theme-turquoise .brand-logo-main,
body.has-custom-logo.theme-habsalon .habsalon-logo,
body.has-custom-logo.theme-turquoise .turquoise-brand-text {
  display: none;
}
body.has-custom-logo.theme-turquoise .custom-site-logo,
body.has-custom-logo.theme-habsalon .custom-site-logo {
  display: block;
}
body.has-custom-logo.theme-turquoise .brand,
body.has-custom-logo.theme-habsalon .brand {
  min-width: 0;
}

@media (max-width: 1000px) {
  body.theme-turquoise .topbar { grid-template-columns: 1fr; height: auto; padding: 0.8rem 1rem; }
  body.theme-turquoise nav, body.theme-turquoise .account, body.theme-turquoise .top-search { order: initial; justify-self: stretch; }
  body.theme-habsalon .topbar { grid-template-columns: 1fr; height: auto; padding: 0.8rem 1rem; }
  body.theme-habsalon nav, body.theme-habsalon .account, body.theme-habsalon .top-search { order: initial; justify-self: stretch; }
  body.theme-habsalon .habsalon-logo { width: 12rem; }
  body.theme-habsalon .t-hero { grid-template-columns: 1fr; }
  body.theme-habsalon .t-body-with-sidebar,
  body.theme-habsalon .t-recipe-shell { grid-template-columns: 1fr; padding-inline: 1rem; }
  body.theme-habsalon .t-left-categories,
  body.theme-habsalon .t-recipe-categories { position: static; }
  body.theme-habsalon .t-category-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-hero, .t-feature-grid { grid-template-columns: 1fr; }
  .t-body-with-sidebar, .t-recipe-shell { grid-template-columns: 1fr; padding-inline: 1rem; }
  .t-left-categories, .t-recipe-categories { position: static; }
  .t-category-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-grid4, .t-grid5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.cookie-banner p {
  margin: 0;
  color: #cfcfcf;
  font-size: 0.82rem;
  line-height: 1.45;
}
.cookie-banner button {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .topbar { grid-template-columns: 1fr; padding: 1rem; }
  .brand img { width: 2.7rem; height: 2.7rem; }
  body.has-custom-logo .custom-site-logo { height: 3rem; max-width: 68vw; }
  .brand { font-size: 1.45rem; }
  nav, .account { justify-content: flex-start; flex-wrap: wrap; }
  .top-search { width: 100%; }
  .page-frame, .food-search, .recipe-detail, .columns, .admin-grid, .split-feature, .skolegpt, .time-fields { grid-template-columns: 1fr; }
  .admin-modern { grid-template-columns: 1fr; padding: 1rem; }
  .admin-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-nav strong { grid-column: 1 / -1; }
  .admin-header {
    display: grid;
    align-items: start;
  }
  .admin-header dl,
  .admin-two-col {
    grid-template-columns: 1fr;
  }
  .admin-modern table {
    min-width: 40rem;
  }
  .home-hero,
  .index-hero,
  .blog-detail-hero,
  .recipe-filter-bar {
    grid-template-columns: 1fr;
  }
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .recipe-filter-bar {
    position: static;
  }
  .theme-watermark-grid { grid-template-columns: 1fr; }
  .recipe-editor {
    grid-template-columns: 1fr;
  }
  .recipe-live-preview {
    position: static;
    grid-column: 1;
    grid-row: auto;
  }
  .page-frame { display: flex; flex-direction: column; }
  .content-panel { order: 1; display: flex; flex-direction: column; width: 100%; }
  .left-panel { order: 2; width: 100%; }
  .side-panel { position: static; }
  .right-panel { display: none; }
  .food-search { order: -4; }
  .category-strip { order: -3; }
  .all-recipes { order: -2; }
  .inspiration-top, .food-hero, .skolegpt, .explore-more, .split-feature { margin-bottom: 1.6rem; }
  .inspiration-top { grid-template-columns: repeat(3, 1fr); }
  .assistant-results { grid-template-columns: repeat(2, 1fr); }
  .explore-more > div { grid-template-columns: repeat(4, 1fr); }
  .feature-row, .small-row, .ideas-grid, .grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-detail aside { position: static; }
  .cookie-banner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  body.cook-mode .columns {
    grid-template-columns: 1fr;
  }
  body.cook-mode .serving-adjuster {
    position: static;
  }
  body.cook-mode .recipe-actions {
    position: sticky;
  }
  body.cook-mode .cook-step-top,
  body.cook-mode .cook-step-controls {
    display: grid;
    grid-template-columns: 1fr;
  }
  body.cook-mode .cook-timer-form,
  body.cook-mode .cook-timer {
    grid-template-columns: minmax(0, 1fr) 4.2rem 4.2rem;
  }
  body.cook-mode .cook-timer-form button {
    grid-column: 1 / -1;
  }
  body.cook-mode .cook-timer span {
    text-align: left;
  }
}

@media (max-width: 640px) {
  body.cook-mode main {
    padding-inline: 0;
  }
  body.cook-mode .recipe-detail {
    padding: 0.85rem;
  }
  body.cook-mode .recipe-detail h1 {
    font-size: 2rem;
    line-height: 1;
  }
  body.cook-mode .recipe-actions {
    position: sticky;
    top: 0;
    margin: 0 0 1rem;
    padding: 0.7rem 7.8rem 0.7rem 0;
  }
  body.cook-mode .cook-mode-button {
    width: auto;
  }
  body.cook-mode .serving-adjuster {
    position: static;
    width: 100%;
  }
  body.cook-mode .chips,
  body.cook-mode .lead,
  body.cook-mode .recipe-meta {
    display: block;
  }
  body.cook-mode .columns {
    gap: 1rem;
    margin-top: 1rem;
  }
  body.cook-mode .columns section,
  body.cook-mode .columns section:nth-child(2) {
    display: block;
    padding: 1rem;
    border-width: 2px;
  }
  body.cook-mode .cook-steps {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body.cook-mode .cook-step-top,
  body.cook-mode [data-cook-step-text],
  body.cook-mode .cook-step-controls,
  body.cook-mode [data-cook-all-steps] {
    display: none;
  }
  body.cook-mode .cook-timers {
    top: auto;
    right: auto;
    width: 100%;
  }
  body.cook-mode .cook-timer-panel {
    position: static;
  }
  body.cook-mode .cook-timer-toggle {
    min-height: 3rem;
    padding: 0.68rem 0.78rem;
  }
  body.cook-mode .cook-timer-panel {
    padding: 0.65rem;
  }
  body.cook-mode li,
  body.cook-mode .columns p {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}

@media (max-width: 520px) {
  main { padding-inline: 1rem; }
  .hero-image h1 { font-size: 2rem; }
  .explore-more > div, .feature-row, .small-row, .ideas-grid, .grid { grid-template-columns: 1fr; }
}
