/* ------------------------------------------------------------------
   Kleuren en typografie — donker, in de stijl van de Agatha-template.
   Pas hier de kleuren aan.
------------------------------------------------------------------- */
:root {
  --bg: #161616;          /* achtergrond: net niet zwart */
  --header-bg: #0f0f0f;   /* bovenbalk en footer */
  --card-bg: rgb(0 0 0 / 0.38); /* donker inhoudsblok */
  --line: rgb(255 255 255 / 0.08);
  --text: #999;
  --heading: #ddd;
  --white: #eee;
  --font: 'Roboto Mono', ui-monospace, Menlo, monospace;
  --radius: 4px;
  --gap: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 72px;
  background: var(--bg);
  color: var(--text);
  font: 300 14px/24px var(--font);
  letter-spacing: 0.7px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Footer altijd onderaan, ook bij weinig inhoud */
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  flex: none;
}

::selection {
  background: #ddd;
  color: #111;
}

/* Foto's faden in zodra ze geladen zijn (blur-preview eronder) */
img[onload] {
  opacity: 0;
  transition: opacity 0.6s ease;
}

img.is-loaded {
  opacity: 1;
}

/* ------------------------------------------------------------------
   Bovenbalk
------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
  padding: 0 45px;
  background: var(--header-bg);
  transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  gap: 30px;
}

.site-header nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.site-header nav a:hover {
  color: var(--white);
}

/* ------------------------------------------------------------------
   Paginaheader (foto + verloop + gecentreerde titel)
------------------------------------------------------------------- */
.page-header {
  position: relative;
  padding: 100px 45px 200px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

/* Bestelpagina: daar schuift geen inhoudsblok over de header heen, dus minder ruimte onderaan */
.page-header--compact {
  padding-bottom: 50px;
}

.page-header__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: center 38% / cover no-repeat;
  will-change: transform;
}

.page-header__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.page-header--blur .page-header__image {
  inset: -40px;
  filter: blur(18px);
}

.page-header__cover {
  position: absolute;
  inset: -1px -1px -2px; /* iets groter, zodat er geen naadje onderaan zichtbaar is */
  z-index: -1;
  background: linear-gradient(rgb(0 0 0 / 0.6) 0%, var(--bg) 97%);
}

.page-header__content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--heading);
}

.page-title {
  margin: 0 0 10px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--heading);
}

.page-subtitle {
  margin: 0 0 12px;
  font-size: 13px;
  color: #bbb;
}

.album-meta {
  font-size: 12px;
  text-transform: uppercase;
  color: #ccc;
}

.album-meta .sep {
  margin: 0 12px;
  color: #777;
}

.tilde {
  display: block;
  margin: 8px 0 4px;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  color: #ccc;
}

.page-intro,
.album-description {
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 1px;
  color: #ccc;
}

.album-description {
  position: relative;
  padding-bottom: 12px;
}

.album-description__inner {
  overflow: hidden;
}

.album-description__inner p {
  margin: 0 0 12px;
}

/* Lange beschrijvingen worden ingekort met een "meer"-knop */
.album-description.is-clamped .album-description__inner {
  max-height: 96px;
  mask-image: linear-gradient(#000 60%, transparent);
}

.album-description__toggle {
  position: absolute;
  left: 50%;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.06);
  color: #bbb;
  transform: translateX(-50%);
  transition: background 0.2s, transform 0.3s;
}

.album-description__toggle:hover {
  background: rgb(255 255 255 / 0.12);
}

.album-description:not(.is-clamped) .album-description__toggle svg {
  transform: rotate(180deg);
}

/* ------------------------------------------------------------------
   Inhoudsblok dat over de header heen schuift
------------------------------------------------------------------- */
.content-section {
  position: relative;
  z-index: 2;
  margin-top: -100px;
  padding: 0 30px 45px;
}

.content-wrap {
  position: relative;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--card-bg);
}

.empty {
  margin: 0;
  text-align: center;
}

/* ------------------------------------------------------------------
   Homepage: albumkaarten
------------------------------------------------------------------- */
.album-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 35px 30px;
  padding: 8px 6px 0;
}

.album-item {
  display: block;
}

.album-item__stack {
  position: relative;
}

/* Twee scheve "foto's" achter de omslag */
.album-item__stack::before,
.album-item__stack::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.07);
  transition: transform 0.25s ease-in-out;
}

.album-item__stack::before {
  transform: rotate(1.5deg);
}

.album-item__stack::after {
  transform: rotate(-1.5deg);
}

.album-item:hover .album-item__stack::before {
  transform: rotate(3deg);
}

.album-item:hover .album-item__stack::after {
  transform: rotate(-3deg);
}

.album-item__img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: #222 center / cover;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06);
}

.album-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-item__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 5% 7% 4%;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0) 0%, rgb(17 17 17 / 0.85) 100%);
  text-shadow: -1px -1px 0 rgb(0 0 0 / 0.3);
}

.album-item__title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.album-item__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 18px;
  border-bottom: 2px solid #ddd;
  transition: width 0.3s ease-in-out;
}

.album-item:hover .album-item__title::after {
  width: 100%;
}

.album-item__meta {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: #ddd;
}

/* ------------------------------------------------------------------
   Albumpagina: werkbalk
------------------------------------------------------------------- */
.album-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 30px;
}

.toolbar-right {
  display: flex;
  gap: 22px;
}

.toolbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text);
}

.toolbar-link:hover {
  color: var(--white);
}

.share-btn.is-copied span::after {
  content: ' ✓';
}

/* ------------------------------------------------------------------
   Galerij
------------------------------------------------------------------- */
.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #222 center / cover;
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.6s ease;
}

/* Hover: foto zoomt heel licht in en wordt iets donkerder, klein vergrootglas rechtsonder */
.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.025);
}

.gallery__cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.08) 45%);
  color: rgb(255 255 255 / 0.85);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery__cover svg {
  transform: translateY(4px);
  transition: transform 0.4s var(--ease);
}

.gallery__item:hover .gallery__cover,
.gallery__item:focus-visible .gallery__cover {
  opacity: 1;
}

.gallery__item:hover .gallery__cover svg,
.gallery__item:focus-visible .gallery__cover svg {
  transform: none;
}

/* Masonry: JS verdeelt foto's over kolommen (volgorde blijft links→rechts).
   Zonder JS vallen we terug op CSS-kolommen. */
.gallery--masonry {
  columns: 4 240px;
  column-gap: var(--gap);
}

.gallery--masonry .gallery__item {
  aspect-ratio: var(--r);
  margin-bottom: var(--gap);
  break-inside: avoid;
}

.gallery--masonry.is-arranged {
  display: flex;
  gap: var(--gap);
  columns: auto;
}

.gallery__col {
  flex: 1;
  min-width: 0;
}

/* Rijen met gelijke hoogte */
.gallery--justified {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery--justified .gallery__item {
  flex-grow: calc(var(--r) * 100);
  flex-basis: calc(var(--r) * 300px);
  aspect-ratio: var(--r);
}

.gallery--justified::after {
  content: '';
  flex-grow: 1e9;
}

/* Vierkant raster */
.gallery--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(45%, 240px), 1fr));
  gap: var(--gap);
}

.gallery--grid .gallery__item {
  aspect-ratio: 1;
}

/* ------------------------------------------------------------------
   Vorig / volgend album
------------------------------------------------------------------- */
.album-bottom-nav {
  display: flex;
  justify-content: space-between;
  padding: 35px 0 10px;
}

.abn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: #bbb;
}

.abn-link span {
  border-bottom: 1px solid rgb(255 255 255 / 0.25);
  line-height: 1.6;
  transition: border-color 0.2s;
}

.abn-link:hover {
  color: var(--white);
}

.abn-link:hover span {
  border-color: var(--white);
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 26px 45px;
  background: var(--header-bg);
  font-size: 11px;
  text-transform: uppercase;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-icons a:hover {
  color: var(--white);
}

/* Tekstpagina, bv. Gebruik van foto's */
.text-page {
  position: relative;
  max-width: 720px;
  /* Omhoog over de lege onderkant van de kop, zoals de albumlijst op de homepage */
  margin: -150px auto 0;
  padding: 0 20px 70px;
  font-size: 13px;
  line-height: 25px;
  color: #bbb;
}

.text-page h2 {
  margin: 36px 0 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--heading);
}

.text-page h2:first-child {
  margin-top: 0;
}

.text-page p,
.text-page ul {
  margin: 0 0 12px;
}

.text-page ul {
  padding-left: 1.2em;
}

.text-page a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-page__note {
  margin-top: 36px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text);
}

/* Link naar Gebruik van foto's, naast de copyright-regel */
.footer-terms {
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.25);
  text-underline-offset: 3px;
}

.footer-terms:hover {
  color: var(--white);
  text-decoration-color: currentColor;
}

/* E-mail en Instagram: icoon met tekst, in gewone letters */
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer-link svg {
  flex: none;
}

.to-top {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #555;
  border-radius: 50%;
}

.to-top:hover {
  border-color: var(--white);
}

/* ------------------------------------------------------------------
   Lightbox
------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: #0d0d0d;
  animation: fade 0.3s ease;
}

.lightbox[hidden] {
  display: none;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.lightbox figure {
  display: grid;
  place-items: center;
  gap: 14px;
  height: 100svh;
  margin: 0;
  padding: 64px 0 28px;
  min-width: 0;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100svh - 130px);
  object-fit: contain;
  transition: opacity 0.25s;
}

.lightbox img.is-switching {
  opacity: 0;
}

.lightbox figcaption {
  min-height: 1.2em;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
}

.lightbox button {
  color: #888;
  padding: 1rem 1.5rem;
  transition: color 0.2s;
}

.lightbox button:hover {
  color: #fff;
}

.lightbox button:focus {
  outline: none;
}

.lightbox button:focus-visible {
  color: #fff;
}

.lightbox__close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  font-size: 34px !important;
  font-weight: 100;
  line-height: 1;
}

.lightbox__counter {
  position: absolute;
  top: 22px;
  left: 28px;
  font-size: 12px;
  color: #888;
}

.lightbox__download {
  position: absolute;
  top: 14px;
  right: 72px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.lightbox__download:hover,
.lightbox__download:focus-visible {
  color: #fff;
  outline: none;
}

.lightbox__download[hidden] {
  display: none;
}

/* ------------------------------------------------------------------
   Responsief
------------------------------------------------------------------- */
@media (max-width: 1300px) {
  .album-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .album-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hide-md {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 20px;
  }
  .site-header nav {
    gap: 18px;
  }
  .page-header {
    padding: 60px 20px 150px;
  }
  .page-header--compact {
    padding-bottom: 50px;
  }
  .text-page {
    margin-top: -110px;
  }
  .page-title {
    font-size: 28px;
    letter-spacing: 4px;
  }
  .content-section {
    padding: 0 12px 30px;
  }
  .content-wrap {
    padding: 20px 15px;
  }
  .site-footer {
    padding: 22px 20px;
  }
  .hide-sm {
    display: none;
  }
  .album-list {
    gap: 30px 24px;
  }
  .gallery--justified .gallery__item {
    flex-basis: calc(var(--r) * 160px);
  }
}

@media (max-width: 560px) {
  .album-list {
    grid-template-columns: 1fr;
  }
  .logo {
    font-size: 13px;
    letter-spacing: 3px;
  }
  .album-meta .sep {
    margin: 0 6px;
  }
  .lightbox {
    grid-template-columns: 1fr;
  }
  .lightbox__prev,
  .lightbox__next {
    position: absolute;
    bottom: 4px;
    z-index: 1;
  }
  .lightbox__prev {
    left: 0;
  }
  .lightbox__next {
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Bestelpagina */
.order {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

.order__actions {
  margin: 0 0 20px;
  text-align: center;
}

.order__valid {
  margin: -8px 0 24px;
  font-size: 12px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #e8e2d0;
  color: #161616;
  font-weight: 500;
}

.btn:hover {
  color: #161616;
  filter: brightness(1.08);
}

.btn--ghost {
  background: none;
  border-color: var(--line);
  color: var(--heading);
  font-weight: 300;
}

.btn--ghost:hover {
  color: var(--white);
  border-color: rgb(255 255 255 / 0.25);
}

.order__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.order__grid figure {
  margin: 0;
}

.order__grid img {
  display: block;
  width: 100%;
  /* Zonder dit wint het height-attribuut van de foto en wordt de miniatuur metershoog */
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background-size: cover;
  background-color: var(--card-bg);
}

.order__grid figcaption {
  margin-top: 6px;
}

.order__grid .btn--ghost {
  display: block;
  padding: 5px;
  font-size: 12px;
  text-align: center;
}

/* ------------------------------------------------------------------
   Foto's kopen (betaald album)
------------------------------------------------------------------- */
.shop-notice {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--heading);
}

.shop-notice small {
  display: block;
  font-size: 12px;
  color: var(--text);
  /* De tekst over de opbrengst is vrij in te vullen: regeleinden uit het beheer blijven staan */
  white-space: pre-line;
}

.gallery[data-paid] .gallery__item {
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: outline-color 0.15s;
}

.gallery__item.is-selected {
  outline-color: #e8e2d0;
}

.gallery__item.is-selected img {
  opacity: 0.72;
}

.gallery__tick {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgb(255 255 255 / 0.85);
  border-radius: 50%;
  background: rgb(0 0 0 / 0.35);
  color: transparent;
}

.gallery__item.is-selected .gallery__tick {
  border-color: #e8e2d0;
  background: #e8e2d0;
  color: #161616;
}

/* Vergrootglas: op touchschermen altijd zichtbaar, anders bij hover */
.gallery__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.55);
  color: rgb(255 255 255 / 0.9);
  cursor: zoom-in;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery__item:hover .gallery__zoom,
.gallery__item:focus-within .gallery__zoom {
  opacity: 1;
}

.gallery__zoom:focus-visible {
  outline: 2px solid #e8e2d0;
}

@media (hover: none) {
  .gallery__zoom {
    opacity: 1;
  }
}

.lightbox__select {
  position: absolute;
  top: 14px;
  right: 72px;
  z-index: 1;
  padding: 8px 14px !important;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: var(--radius);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lightbox__select.is-selected {
  border-color: #e8e2d0;
  background: #e8e2d0;
  color: #161616 !important;
}

.shop-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  background: rgb(15 15 15 / 0.96);
  border-top: 1px solid var(--line);
}

.shop-bar[hidden] {
  display: none;
}

.shop-bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1100px;
  color: var(--heading);
}

.shop-bar b {
  font-weight: 500;
  color: var(--white);
}

/* Ruimte onderaan zodat de balk de footer niet afdekt */
body.has-shop-bar {
  padding-bottom: 72px;
}

.checkout {
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1b1b1b;
  color: var(--text);
}

.checkout::backdrop {
  background: rgb(0 0 0 / 0.7);
}

.checkout h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}

.checkout__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.checkout__thumbs img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 3px;
}

.checkout__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.checkout__row--total {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  color: var(--white);
}

.checkout label {
  display: block;
  margin: 14px 0 4px;
  color: var(--heading);
}

.checkout__input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius);
  background: #0f0f0f;
  color: var(--white);
  font: inherit;
}

.checkout__hint {
  margin: 12px 0 0;
  font-size: 12px;
  text-align: center;
}

.checkout__hint--left {
  margin-top: 6px;
  text-align: left;
}

.checkout .checkout__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 20px;
  font-size: 12px;
  line-height: 19px;
  color: var(--text);
}

.checkout__check input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #e8e2d0;
}

.checkout__error {
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid rgb(224 120 100 / 0.5);
  border-radius: var(--radius);
  font-size: 12px;
  color: #e8a090;
}

.checkout__error[hidden] {
  display: none;
}

.checkout .btn {
  width: 100%;
  padding: 12px;
  text-align: center;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.checkout .btn--ghost {
  margin-top: 8px;
  padding: 8px;
  font-weight: 300;
}

.checkout .btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
