:root {
  --aw-bg: #f7f5ef;
  --aw-card: #ffffff;
  --aw-text: #263238;
  --aw-muted: #687278;
  --aw-line: #ded8c9;
  --aw-green: #758f47;
  --aw-blue: #668197;
  --aw-orange: #c87843;
  --aw-purple: #5b3d73;
  --aw-yellow: #c5ad34;
  --aw-teal: #80b7aa;
  --aw-brown: #a38451;
  --aw-gray: #79817d;
  --aw-pink: #bd6e7e;
  --aw-darkblue: #44697d;
  --aw-shadow: 0 18px 45px rgba(38, 50, 56, .12);
  --aw-radius: 22px;
  --aw-white: #fff;
  --aw-black: #000;
  --aw-surface-soft: #f7f7f7;
  --aw-border: #ddd;
  --aw-border-soft: #eee;
  --aw-border-neutral: #e3e3e3;
  --aw-border-muted: #aaa;
  --aw-text-strong: #333;
  --aw-text-dark: #111;
  --aw-text-muted: #999;
  --aw-text-soft: #555;
  --aw-text-subtle: #777;
  --aw-success-bg: #e9f8ef;
  --aw-success-border: #a8d6b3;
  --aw-success-text: #155724;
  --aw-info-bg: #eaf4ff;
  --aw-info-border: #b8daff;
  --aw-info-text: #0c5460;
  --aw-warning-border: #f9dc69;
  --aw-danger-bg: #fdeeee;
  --aw-danger-border: #f5c2c7;
  --aw-danger-text: #842029;
}

@property --aw-bg-end {
  syntax: '<color>';
  inherits: false;
  initial-value: #888;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

* {
  box-sizing: border-box;
}

body,
button,
select,
label,
.aw-shell {
  -webkit-user-select: none;
  user-select: none;
}

#searchInput {
  -webkit-user-select: text;
  user-select: text;
}

body {
  margin: 0;
  font-family: arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--aw-text);
  --aw-bg-end: #888;
  background: radial-gradient(125% 125% at 50% 90%, var(--aw-white) 40%, var(--aw-bg-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  transition: --aw-bg-end 450ms ease-in;
}

a {
  color: inherit;
  text-decoration: none;
}

a:link,
a:visited {
  text-decoration: none;
}

a:focus-visible {
  --link-decoration-style: dotted;
  --link-decoration-color: currentColor;
  --link-decoration-thickness: 1px;
  --link-underline-offset: 3px;
  text-decoration-line: underline;
  text-decoration-style: var(--link-decoration-style);
  text-decoration-color: var(--link-decoration-color);
  text-decoration-thickness: var(--link-decoration-thickness);
  text-underline-offset: var(--link-underline-offset);
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    --link-decoration-style: dotted;
    --link-decoration-color: currentColor;
    --link-decoration-thickness: 1px;
    --link-underline-offset: 3px;
    text-decoration-line: underline;
    text-decoration-style: var(--link-decoration-style);
    text-decoration-color: var(--link-decoration-color);
    text-decoration-thickness: var(--link-decoration-thickness);
    text-underline-offset: var(--link-underline-offset);
  }
}

body.aw-animal-kat {
  --aw-bg-end: #946d42;
}

body.aw-animal-hond {
  --aw-bg-end: #164368;
}

body.aw-animal-paard {
  --aw-bg-end: #204d06;
}

.aw-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.aw-hero {
  margin-bottom: 28px;
}

.aw-logo {
  display: block;
  width: 168px;
  height: 50px;
  margin: 0 0 18px;
  background-color: var(--aw-white);
  -webkit-mask: url(../img/logo-liggend-wit.svg) no-repeat left center / contain;
  mask: url(../img/logo-liggend-wit.svg) no-repeat left center / contain;
  text-decoration: none;
}

.aw-logo:hover,
.aw-logo:focus {
  text-decoration: none;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  color: var(--aw-white);
  margin-bottom: 6px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: .95;
  letter-spacing: -.025em;
}

#page-title {
  color: var(--aw-border-muted);
}

body.aw-animal-kat #page-title {
  color: var(--aw-brown);
}

body.aw-animal-hond #page-title {
  color: var(--aw-darkblue);
}

body.aw-animal-paard #page-title {
  color: var(--aw-green);
}


.aw-intro {
  max-width: 720px;
  color: #FFF;
  font-size: 1.08rem;
  line-height: 1.65;
}

.aw-last-update {
  margin-left: .75rem;
  color: rgba(255, 255, 255, .72);
  font-size: .88em;
}

.aw-panel,
.aw-note {
  background: rgba(255, 255, 255, .86);
  border-radius: var(--aw-radius);
  box-shadow: var(--aw-shadow);
  padding: clamp(20px, 4vw, 34px);
  backdrop-filter: blur(12px);
}

.aw-note {
  border: 1px solid rgba(222, 216, 201, .9);
}

.aw-note {
  margin-top: 24px;
  box-shadow: none;
}

.aw-note h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.aw-note p {
  color: var(--aw-muted);
  line-height: 1.6;
  margin-bottom: 0;
}


.aw-welcome {
  margin-top: 22px;
  margin-bottom: 24px;
}

.aw-welcome[hidden] {
  display: none;
}

.aw-welcome .aw-summary {
  margin-bottom: 10px;
}

.aw-welcome-content {
  color: var(--aw-text);
  line-height: 1.65;
  font-size: 1rem;
}

.aw-welcome-content h1,
.aw-welcome-content h2,
.aw-welcome-content h3,
.aw-welcome-content h4 {
  color: var(--aw-border-muted);
  margin: 0 0 10px;
  line-height: 1.15;
}

.aw-welcome-content p,
.aw-welcome-content ul,
.aw-welcome-content ol,
.aw-welcome-content blockquote {
  margin-top: 0;
  margin-bottom: 14px;
}

.aw-welcome-content > :last-child {
  margin-bottom: 0;
}

.aw-welcome-content a {
  color: var(--aw-border-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aw-grid {
  display: grid;
  gap: 18px;
}

.aw-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.aw-field,
.aw-search,
.aw-favorites {
  display: grid;
  gap: 8px;
}

.aw-field span,
.aw-search span,
.aw-favorites span {
  font-size: .82rem;
  color: var(--aw-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}

select,
input[type="search"] {
  width: 100%;
  border: 1px solid var(--aw-border);
  border-radius: 16px;
  padding: 15px 16px;
  background: var(--aw-white);
  color: var(--aw-text);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}


.aw-search-input-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.aw-search-input-wrap input[type="search"] {
  padding-right: 58px;
}

.aw-search-input-wrap input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.aw-search-action {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--aw-text);
  cursor: pointer;
}

.aw-search-action.is-hidden,
.aw-search-action[hidden] {
  display: none !important;
}

/* Zodra er tekst in het zoekveld staat, wordt het kruisje rechtstreeks
   op de action-button getekend. Dit werkt hetzelfde op mobiel en desktop. */
.aw-search-action.has-clear {
  display: grid !important;
}

.aw-search-action.has-clear #cameraIcon,
.aw-search-action.has-clear #clearIcon {
  display: none !important;
}

.aw-search-action.has-clear::before,
.aw-search-action.has-clear::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.aw-search-action.has-clear::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.aw-search-action.has-clear::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Op een desktop met muis/fijne pointer mag de camera nooit zichtbaar zijn.
   De button komt alleen terug als kruisje wanneer er tekst in het zoekveld staat. */
@media (hover: hover) and (pointer: fine) {
  #cameraIcon {
    display: none !important;
  }

  .aw-search-action:not(.has-clear) {
    display: none !important;
  }
}

.aw-search-action:hover,
.aw-search-action:focus-visible {
  background: var(--aw-surface-soft);
}

.aw-search-action:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 1px;
}

.aw-search-action svg,
.aw-scanner-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#cameraIcon {
  width: 27px;
  height: 27px;
}

.aw-search-action svg[hidden] {
  display: none !important;
}

.aw-autofill-list {
  position: absolute;
  z-index: 60;
  display: grid;
  max-height: 260px;
  overflow: auto;
  padding: .35rem;
  border: 1px solid var(--aw-border);
  border-radius: 14px;
  background: var(--aw-white);
  box-shadow: 5px 5px 10px rgba(15, 23, 42, .08);
}

.aw-autofill-list[hidden] {
  display: none;
}

.aw-autofill-list button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: .6rem .7rem;
  color: var(--aw-text);
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.aw-autofill-list button:hover,
.aw-autofill-list button:focus-visible {
  border-color: transparent;
  color: var(--aw-text);
  background: var(--aw-surface-soft);
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath fill='%23687278' d='M5.5 7.5 10 12l4.5-4.5 1.4 1.4L10 14.8 4.1 8.9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px 14px;
}

/* Labeltekst uitlijnen met tekstvelden. */
.aw-login-card label,
.aw-field label,
.aw-favorites label {
  text-indent: .85rem;
}

.aw-login-card label > input,
.aw-field label > input,
.aw-field label > select,
.aw-favorites label > select {
  text-indent: 0;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, .18);
}

select:disabled {
  opacity: .55;
  cursor: default;
  background: var(--aw-border-soft);
}

input:disabled {
  cursor: default;
}

.aw-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(220px, 280px);
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.aw-tools[hidden] {
  display: none;
}

.aw-tools-separator {
  align-self: end;
  padding: 15px 0;
  color: var(--aw-muted);
  font-size: .92rem;
  line-height: 1.2;
  text-align: center;
}

.aw-tools.no-favorites {
  grid-template-columns: 1fr;
}

.aw-favorites select:disabled {
  opacity: .55;
  cursor: default;
  background: var(--aw-border-soft);
}

input:disabled {
  cursor: default;
}

.aw-results {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.aw-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 6px;
}

.aw-summary strong {
  font-size: 1.7rem;
  color: var(--aw-summary-color, var(--aw-green));
}

.aw-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #eef2e6;
  color: #536a31;
  font-weight: 500;
  font-size: .84rem;
}

.aw-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--aw-border);
  border-radius: 20px;
  background: var(--aw-white);
}

.aw-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--aw-category-color, var(--aw-green));
  pointer-events: none;
}

.aw-card-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 18px 18px 28px;
  cursor: pointer;
  list-style: none;
}

.aw-card-summary::-webkit-details-marker {
  display: none;
}

.aw-summary-label {
  color: var(--aw-muted);
  font-size: .8rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.aw-advice {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.35;
}

.aw-category-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 3px 10px 3px 0;
  border-radius: 999px;
  padding: 4px 9px;
  background: color-mix(in srgb, var(--aw-category-color, var(--aw-green)) 16%, white);
  color: var(--aw-category-color, var(--aw-green));
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
  vertical-align: middle;
}

.aw-open-text {
  color: var(--aw-category-color, var(--aw-green));
  font-size: 1.4rem;
  line-height: 1;
  white-space: nowrap;
}

.aw-card[open] .aw-open-text {
  color: var(--aw-category-color, var(--aw-green));
  font-size: 0;
}

.aw-card[open] .aw-open-text::before {
  content: "-";
  font-size: 1.4rem;
  line-height: 1;
}

.aw-card-content {
  padding: 0 18px 18px 28px;
}

.aw-card-note {
  margin: 0 0 14px;
  color: var(--aw-text-soft);
  font-style: normal;
  line-height: 1.45;
  font-weight: bold;
  font-size: .9em;
}

.aw-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.aw-product-box {
  border-radius: 15px;
  background: var(--aw-surface-soft);
  padding: 12px;
}

.aw-product-box > span {
  display: block;
  margin-bottom: 8px;
  color: var(--aw-category-color, var(--aw-green));
  font-weight: 500;
  text-transform: uppercase;
}

.aw-product-item + .aw-product-item {
  margin-top: 10px;
}

.aw-product-title-row {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
}

.aw-product-button {
  appearance: none;
  border: 0;
  text-decoration: none;
  padding: 0;
  background: transparent;
  color: var(--aw-text);
  font: inherit;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
}

.aw-favorite-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--aw-text-muted);
  cursor: pointer;
}

.aw-favorite-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.aw-favorite-toggle-star svg {
  width: 16px;
  height: 16px;
}

.aw-favorite-toggle-heart svg {
  width: 15px;
  height: 15px;
}

.aw-favorite-toggle-flag svg {
  width: 15px;
  height: 15px;
}

.aw-favorite-toggle.is-active {
  color: var(--aw-category-color, var(--aw-green));
}

.aw-favorite-toggle:hover,
.aw-favorite-toggle:focus-visible {
  color: var(--aw-category-color, var(--aw-green));
}

.aw-product-button:focus {
  outline: none;
}

.aw-product-button:focus-visible {
  --link-decoration-style: dotted;
  --link-decoration-color: currentColor;
  --link-decoration-thickness: 1px;
  --link-underline-offset: 3px;
  color: var(--aw-category-color, var(--aw-green));
  text-decoration-line: underline;
  text-decoration-style: var(--link-decoration-style);
  text-decoration-color: var(--link-decoration-color);
  text-decoration-thickness: var(--link-decoration-thickness);
  text-underline-offset: var(--link-underline-offset);
}

@media (hover: hover) and (pointer: fine) {
  .aw-product-button:hover {
    --link-decoration-style: dotted;
    --link-decoration-color: currentColor;
    --link-decoration-thickness: 1px;
    --link-underline-offset: 3px;
    color: var(--aw-category-color, var(--aw-green));
    text-decoration-line: underline;
    text-decoration-style: var(--link-decoration-style);
    text-decoration-color: var(--link-decoration-color);
    text-decoration-thickness: var(--link-decoration-thickness);
    text-underline-offset: var(--link-underline-offset);
  }
}

.aw-product-name {
  display: block;
  line-height: 1.35;
  font-weight: 500;
}

.aw-product-detail {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--aw-border-soft);
  border-radius: 12px;
  background: var(--aw-white);
}

.aw-product-detail dl {
  display: grid;
  gap: 15px;
  margin: 0;
}

.aw-product-detail dt {
  margin-bottom: 3px;
  color: var(--aw-category-color, var(--aw-green));
  font-size: .74rem;
  font-weight: 500;
  text-transform: uppercase;
}

.aw-product-detail dd {
  margin: 0;
  line-height: 1.45;
}

.aw-ingredient-list {
  line-height: 1.55;
}

.aw-ingredient-text {
  position: relative;
  color: var(--aw-text);
}

.aw-ingredient-text-has-tooltip {
  cursor: pointer;
}

.aw-ingredient-text-has-tooltip:hover,
.aw-ingredient-text-has-tooltip:focus-visible,
.aw-ingredient-text-has-tooltip.is-tooltip-active {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--aw-category-color, var(--aw-green)) 55%, var(--aw-text-muted));
}

.aw-ingredient-inline-info {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 15px 0 15px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--aw-surface-soft);
  color: var(--aw-text);
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  border: 1px var(--aw-border-soft) solid;
  cursor: pointer;
}

.aw-ingredient-inline-title {
  display: block;
  margin-bottom: 3px;
  color: var(--aw-category-color, var(--aw-green));
  font-size: .74rem;
  font-weight: 500;
  text-transform: uppercase;
}

.aw-ingredient-inline-body {
  display: block;
}

.aw-product-empty,
.aw-product-missing {
  margin: 0;
  color: var(--aw-muted);
  line-height: 1.45;
}

.aw-empty {
  padding: 24px;
  border: 1px dashed var(--aw-line);
  border-radius: 18px;
  color: var(--aw-muted);
  background: rgba(255, 255, 255, .7);
}

@media (max-width: 760px) {
  .aw-shell {
    padding: 24px 0;
  }

  .aw-logo {
    margin: 0 0 10px;
  }

  .aw-controls,
  .aw-tools,
  .aw-products {
    grid-template-columns: 1fr;
  }

  .aw-tools-separator {
    display: none;
  }
}

@supports not (background: color-mix(in srgb, black 10%, white)) {
  .aw-category-badge {
    background: #f2efe5;
  }
}



body.aw-scanner-open {
  overflow: hidden;
}

.aw-scanner-modal[hidden] {
  display: none;
}

.aw-scanner-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 10px;
}

.aw-scanner-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .56);
}

.aw-scanner-panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 20px));
  overflow: hidden;
  border-radius: 18px;
  background: var(--aw-white);
  color: var(--aw-text);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .2);
}

.aw-scanner-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 20px 16px;
}

.aw-scanner-header h2 {
  margin: 0 0 4px;
  color: var(--aw-text);
  font-size: 21px;
  line-height: 1.2;
}

.aw-scanner-header p {
  margin: 0;
  color: var(--aw-muted);
  font-size: 14px;
}

.aw-scanner-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--aw-text);
  cursor: pointer;
}

.aw-scanner-close:hover,
.aw-scanner-close:focus-visible {
  background: var(--aw-surface-soft);
}

.aw-scanner-view {
  position: relative;
  overflow: hidden;
  background: #000;
}

.aw-scanner-view video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.aw-scanner-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: rgba(0, 0, 0, .10);
}

.aw-scan-frame {
  position: relative;
  width: 80%;
  height: 36%;
}

.aw-scan-frame > span {
  position: absolute;
  width: 30px;
  height: 30px;
}

.aw-scan-frame > span:nth-child(1) {
  top: 0;
  left: 0;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
}

.aw-scan-frame > span:nth-child(2) {
  top: 0;
  right: 0;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.aw-scan-frame > span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
}

.aw-scan-frame > span:nth-child(4) {
  right: 0;
  bottom: 0;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.aw-scan-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 9px rgba(255, 255, 255, .8);
  animation: aw-scan 1.5s ease-in-out infinite alternate;
}

@keyframes aw-scan {
  from { transform: translateY(-38px); }
  to { transform: translateY(38px); }
}

.aw-scanner-controls {
  padding: 12px 20px 0;
}

.aw-scanner-secondary {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--aw-border);
  border-radius: 10px;
  background: var(--aw-white);
  color: var(--aw-text);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.aw-scanner-status {
  min-height: 20px;
  margin: 12px 20px 20px;
  color: var(--aw-muted);
  font-size: 14px;
}

.aw-scanner-status.error {
  color: var(--aw-danger-text);
}

.aw-scanner-status.success {
  color: #237629;
}

.aw-footer {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--aw-text);
  text-align: center;
  font-size: 0.85rem;
}

.aw-footer p {
  margin: 0;
  line-height: 1.5;
}

.aw-footer a {
  color: inherit;
  text-decoration: none;
}

.aw-footer-disclaimer {
  margin-top: 8px;
}

.aw-footer-disclaimer summary {
  display: inline-flex;
  cursor: pointer;
  color: var(--aw-text);
  font-weight: 500;
  text-decoration: none;
  list-style: none;
}

.aw-footer-disclaimer summary::-webkit-details-marker {
  display: none;
}

.aw-footer-disclaimer summary:focus-visible {
  --link-decoration-style: dotted;
  --link-decoration-color: currentColor;
  --link-decoration-thickness: 1px;
  --link-underline-offset: 3px;
  text-decoration-line: underline;
  text-decoration-style: var(--link-decoration-style);
  text-decoration-color: var(--link-decoration-color);
  text-decoration-thickness: var(--link-decoration-thickness);
  text-underline-offset: var(--link-underline-offset);
}

@media (hover: hover) and (pointer: fine) {
  .aw-footer-disclaimer summary:hover {
    --link-decoration-style: dotted;
    --link-decoration-color: currentColor;
    --link-decoration-thickness: 1px;
    --link-underline-offset: 3px;
    text-decoration-line: underline;
    text-decoration-style: var(--link-decoration-style);
    text-decoration-color: var(--link-decoration-color);
    text-decoration-thickness: var(--link-decoration-thickness);
    text-underline-offset: var(--link-underline-offset);
  }
}

.aw-footer-disclaimer-content {
  margin: 12px auto 0;
  padding: 16px 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  opacity: .75;
}

.aw-footer-disclaimer-content p + p {
  margin-top: 10px;
}

/* Labels in de advieswijzer zelf blijven zichtbaar. Alleen de admin-formulierlabels worden verborgen in admin.css. */
.aw-field span,
.aw-search span,
.aw-product-box > span,
.aw-product-detail dt,
.aw-category-badge,
.aw-summary-label {
  visibility: visible;
}

/* Frontend login */

.msg {
  border: 1px solid transparent;
  border-radius: 16px;
  padding: .85rem 1rem;
  margin: 0 0 1rem;
}

.msg.success,
.msg.info,
.msg.warning,
.msg.error {
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.msg.success {
  background-color: var(--aw-success-bg);
  color: var(--aw-success-text);
  border-color: var(--aw-success-border);
}

.msg.info {
  background-color: var(--aw-info-bg);
  color: var(--aw-info-text);
  border-color: var(--aw-info-border);
}

.msg.warning {
  background-color: #fff7e6;
  color: #7a5200;
  border-color: var(--aw-warning-border);
}

.msg.error {
  background-color: var(--aw-danger-bg);
  color: var(--aw-danger-text);
  border-color: var(--aw-danger-border);
}

.msg.success > .msg-icon,
.msg.success .msg-close {
  color: var(--aw-success-border);
}

.msg.info > .msg-icon,
.msg.info .msg-close {
  color: var(--aw-info-border);
}

.msg.warning > .msg-icon,
.msg.warning .msg-close {
  color: var(--aw-warning-border);
}

.msg.error > .msg-icon,
.msg.error .msg-close {
  color: var(--aw-danger-border);
}

.msg span {
  flex: 1;
}

.msg-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.msg-close {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  cursor: pointer;
}

.msg-close svg {
  width: 14px;
  height: 14px;
  transform-origin: 50% 50%;
  transition: transform .14s ease-out;
}

.msg-close:hover,
.msg-close:focus-visible {
  background: transparent;
  border-color: transparent;
}

.msg.is-dismissible:hover .msg-close svg,
.msg.is-dismissible:focus-within .msg-close svg,
.msg-close:hover svg,
.msg-close:focus-visible svg {
  transform: rotate(180deg);
}

.msg.is-dismissing {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .14s ease-out, transform .14s ease-out;
}

.aw-login-tip {
  margin: 0 0 1rem;
  color: var(--aw-text-muted);
  line-height: 1.45;
}

.aw-login-shell {
  max-width: 520px;
}

.aw-login-panel {
  padding: 22px;
}

.aw-login-panel label {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--aw-text);
}

.aw-login-panel input {
  width: 100%;
  border: 1px solid var(--aw-border);
  border-radius: 12px;
  padding: .72rem .85rem;
  margin: 0 0 1rem;
  font: inherit;
  color: var(--aw-text);
  -webkit-text-fill-color: var(--aw-text);
  background: var(--aw-white);
  min-height: 48px;
  line-height: 1.2;
  -webkit-user-select: text;
  user-select: text;
}

.aw-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: .72rem 1.1rem;
  font: inherit;
  font-weight: 500;
  color: var(--aw-white);
  background: var(--aw-text);
  cursor: pointer;
}

@media (max-width: 760px) {
  .aw-controls {
    grid-template-columns: 1fr;
  }
}




.aw-phone-qr {
  position: fixed;
  top: 48px;
  right: 48px;
  z-index: 80;
}

.aw-phone-qr-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--aw-border-neutral);
  border-radius: 999px;
  padding: 0;
  background: var(--aw-white);
  color: var(--aw-text-strong);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .18s ease-in-out, background-color .18s ease-in-out, border-color .18s ease-in-out, opacity .18s ease-in-out;
}

.aw-phone-qr-toggle:hover,
.aw-phone-qr-toggle:focus-visible,
.aw-phone-qr:hover .aw-phone-qr-toggle,
.aw-phone-qr:focus-within .aw-phone-qr-toggle {
  background: var(--aw-white);
  color: var(--aw-text-dark);
}

.aw-phone-qr-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 102, 209, .18);
}

.aw-phone-qr-phone {
  width: 18px;
  height: 24px;
  flex: 0 0 18px;
}

.aw-phone-qr-chevron {
  display: none !important;
}

.aw-phone-qr-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 125px;
  height: 140px;
  border: 1px solid var(--aw-border-neutral);
  border-radius: 24px;
  padding: 9px 10px 10px;
  background: var(--aw-white);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.96);
  transform-origin: top right;
  transition: opacity .18s ease-in-out, visibility .18s ease-in-out, transform .18s ease-in-out;
}

.aw-phone-qr-panel[hidden] {
  display: flex;
}

.aw-phone-qr:hover .aw-phone-qr-panel,
.aw-phone-qr:focus-within .aw-phone-qr-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.aw-phone-qr:hover .aw-phone-qr-toggle,
.aw-phone-qr:focus-within .aw-phone-qr-toggle {
  opacity: 0;
}

.aw-phone-qr-panel img {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0;
}

.aw-phone-qr-panel p {
  margin: 0;
  color: var(--aw-text-dark);
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: -.01em;
}

@media (max-width: 760px) {
  .aw-phone-qr {
    display: none;
  }
}







.aw-login-box h1 {
  color: var(--aw-border-muted);
}

.aw-feedback-open {
  overflow: hidden;
}

.aw-feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .18s ease-in-out;
}

.aw-feedback-overlay[hidden] {
  display: none;
}

.aw-feedback-overlay.is-visible {
  opacity: 1;
}

.aw-feedback-dialog {
  position: relative;
  width: min(500px, 100%);
  border-radius: 22px;
  padding: 2.8rem 2rem 2.2rem;
  background: var(--aw-white);
  color: var(--aw-text);
  text-align: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
  transform: translateY(10px) scale(.98);
  transition: transform .18s ease-in-out;
}

.aw-feedback-overlay.is-visible .aw-feedback-dialog {
  transform: translateY(0) scale(1);
}

.aw-feedback-dialog h2 {
  margin: 0 2rem 1.8rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--aw-text);
}

.aw-feedback-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: var(--aw-text-subtle);
  cursor: pointer;
}

.aw-feedback-close svg {
  width: 22px;
  height: 22px;
}

.aw-feedback-close:hover,
.aw-feedback-close:focus-visible {
  color: var(--aw-text-strong);
}

.aw-feedback-close:focus-visible {
  outline: 3px solid rgba(68, 105, 125, .25);
  outline-offset: 3px;
}

.aw-feedback-options {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(2rem, 8vw, 3.5rem);
}

.aw-feedback-option {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  justify-items: center;
  border: 0;
  padding: .25rem;
  background: transparent;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease-in-out;
  max-width: 450px;
  max-height: 450px;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.aw-feedback-option:focus,
.aw-feedback-option:focus-visible,
.aw-feedback-option:active {
  border: 0;
  outline: none;
  box-shadow: none;
}

.aw-feedback-option:hover {
  transform: translateY(-3px);
}

.aw-feedback-option svg {
  display: block;
  width: 82px;
  height: 82px;
  max-width: 100%;
  aspect-ratio: 1;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.aw-feedback-satisfied {
  color: #21b60b;
}

.aw-feedback-neutral {
  color: #ffab19;
}

.aw-feedback-dissatisfied {
  color: #ff574f;
}

.aw-feedback-thanks {
  margin: 1.8rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--aw-text);
}

@media (max-width: 520px) {
  .aw-feedback-dialog {
    border-radius: 18px;
    padding: 2.35rem 1rem 1.5rem;
  }

  .aw-feedback-dialog h2 {
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .aw-feedback-options {
    gap: 1.35rem;
  }

  .aw-feedback-option svg {
    width: 68px;
    height: 68px;
  }
}

.aw-favorite-toggle-pin svg {
  width: 16px;
  height: 16px;
}

.aw-ingredient-inline-category {
  display: block;
  margin: 0 0 6px;
  color: var(--aw-text-muted);
  font-size: .86rem;
  line-height: 1.35;
}

/* B2B gebruikersaccount */
.aw-hero-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.aw-hero-meta .aw-intro {
  margin-bottom: 0;
}

.aw-user-menu {
  position: relative;
  margin-left: auto;
  color: var(--aw-white);
  z-index: 90;
}

.aw-user-menu summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--aw-white);
}

.aw-user-menu summary::-webkit-details-marker {
  display: none;
}

.aw-user-menu summary::after {
  content: '';
  display: inline-block;
  width: .4rem;
  height: .4rem;
  margin-left: .5rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-.14rem) rotate(45deg);
  transform-origin: center;
  vertical-align: middle;
}

.aw-user-menu[open] summary::after {
  transform: translateY(.12rem) rotate(225deg);
}

.aw-user-menu-panel {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  padding: .8rem;
  border: 1px solid var(--aw-border);
  border-radius: 12px;
  background: var(--aw-white);
  box-shadow: var(--aw-shadow);
  color: var(--aw-text);
}

.aw-user-menu-panel strong,
.aw-user-menu-panel small {
  display: block;
}

.aw-user-menu-panel small {
  margin-top: .15rem;
  margin-bottom: .7rem;
  color: var(--aw-text-muted);
  overflow-wrap: anywhere;
}

.aw-user-menu-panel a {
  display: block;
  padding: .55rem .65rem;
  border-radius: 8px;
  color: var(--aw-text);
  text-decoration: none;
}

.aw-user-menu-panel a:hover,
.aw-user-menu-panel a:focus-visible {
  background: var(--aw-soft, #f5f3ed);
  text-decoration: none;
}

.aw-login-help {
  margin: 1rem 0 0;
  color: var(--aw-text-muted);
  font-size: .9rem;
  line-height: 1.45;
}

.aw-login-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.aw-account-shell {
  max-width: 720px;
}

.aw-account-panel {
  display: grid;
  gap: 1.25rem;
}

.aw-account-form h2 {
  margin-bottom: 1rem;
}

.aw-account-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.aw-account-form input {
  width: 100%;
  min-height: 48px;
  margin: 0 0 1rem;
  padding: .72rem .85rem;
  border: 1px solid var(--aw-border);
  border-radius: 12px;
  background: var(--aw-white);
  color: var(--aw-text);
  font: inherit;
}

.aw-account-form input:disabled {
  background: #eee;
  color: var(--aw-text-muted);
}

.aw-account-form small {
  display: block;
  margin: -0.45rem 0 1rem;
  color: var(--aw-text-muted);
  line-height: 1.45;
}

.aw-account-divider {
  width: 100%;
  margin: .25rem 0;
  border: 0;
  border-top: 1px dotted var(--aw-border);
}

@media (max-width: 620px) {
  .aw-hero-meta {
    gap: 1rem;
  }

  .aw-user-menu summary {
    font-size: 1rem;
  }
}
