/* ==========================================================================
   Ilyas — VWO-cadeausite
   1. Tokens          6. Hero            11. Winkelwagen
   2. Basis           7. Zegel & quote   12. Bevestiging
   3. Typografie      8. Galerij         13. Footer
   4. Knoppen         9. Cadeaus         14. Beweging
   5. Navigatie      10. Slotbanner      15. Responsive
   ========================================================================== */

/* 1. Tokens ============================================================== */

:root {
  /* Kleur */
  --cream: #f7f2e8;
  --cream-deep: #efe5d3;
  --parchment: #fdfaf3;
  --white: #ffffff;

  --ink: #1a1a18;
  --ink-soft: #4a4a44;
  --muted: #78766e;

  --green: #1d3b30;
  --green-deep: #12271f;
  --green-mist: #2f5546;

  --gold: #c69749;
  --gold-light: #e6c680;
  --gold-dim: #a87f34;

  --red: #b8483d;

  --line: rgba(26, 26, 24, 0.12);
  --line-soft: rgba(26, 26, 24, 0.07);

  /* Typografie */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  --step-hero: clamp(3.4rem, 7vw, 6.75rem);
  --step-1: clamp(2.4rem, 4.6vw, 4.25rem);
  --step-2: clamp(1.9rem, 2.8vw, 2.75rem);
  --step-3: 1.4rem;
  --body: 1.1875rem;
  --small: 0.8125rem;

  /* Ruimte */
  --gutter: max(5vw, 1.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  /* Vorm */
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(26, 26, 24, 0.05);
  --shadow: 0 18px 40px -16px rgba(26, 26, 24, 0.22);
  --shadow-lg: 0 36px 70px -28px rgba(18, 39, 31, 0.42);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Basis =============================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--gold-dim);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Fijne korrel over de hele pagina — geeft het cream diepte. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Typografie ========================================================== */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 {
  font-size: var(--step-1);
  line-height: 1.02;
}

h2 {
  font-size: var(--step-2);
  line-height: 1.08;
}

h3 {
  font-size: var(--step-3);
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--center::before {
  display: none;
}

.on-dark .eyebrow,
.eyebrow--light {
  color: var(--gold-light);
}

/* 4. Knoppen ============================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 1rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  background: var(--green);
  color: var(--parchment);
  box-shadow: var(--shadow);
}

.button.primary:hover {
  background: var(--green-deep);
  box-shadow: var(--shadow-lg);
}

.button.full {
  width: 100%;
  margin-top: 0.75rem;
}

.text-button {
  margin: 1.25rem 0 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.text-button:hover {
  color: var(--green);
}

/* 5. Navigatie =========================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(247, 242, 232, 0.86);
  backdrop-filter: blur(16px);
}

/* Het goudlint onder de nav. */
.nav::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold) 18%,
    var(--gold-light) 50%,
    var(--gold) 82%,
    transparent
  );
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  padding: 0.375rem 0.5rem;
  background: var(--green);
  color: var(--gold-light);
  border-radius: 0.25rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.cart-link:hover {
  color: var(--green);
}

.cart-link strong {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8125rem;
  transition: transform 0.35s var(--ease);
}

.cart-link strong.bump {
  transform: scale(1.35);
}

/* Flash-meldingen */
.flash-wrap {
  position: fixed;
  top: 5.75rem;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  display: grid;
  gap: 0.5rem;
}

.flash {
  padding: 0.875rem 1.375rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.9375rem;
  font-weight: 500;
}

.flash.error {
  background: #fdeceb;
  color: #8f2f26;
}

.flash.success {
  background: #e6f0e9;
  color: var(--green-deep);
}

/* 6. Hero ================================================================ */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: var(--gutter);
  min-height: min(88vh, 46rem);
  padding: var(--section-y) var(--gutter);
}

.hero-copy {
  max-width: 34rem;
}

.hero h1 {
  margin: 1.25rem 0 1.5rem;
  font-size: var(--step-hero);
  line-height: 0.94;
}

.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--green);
}

.hero p {
  max-width: 30rem;
  color: var(--ink-soft);
}

.hero .button {
  margin-top: 1.25rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14rem 14rem var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Dunne goudlijn die de boog van de foto volgt. */
.hero-image::after {
  content: '';
  position: absolute;
  inset: -0.75rem;
  border: 1px solid var(--gold);
  border-radius: 15rem 15rem calc(var(--radius-lg) + 0.75rem)
    calc(var(--radius-lg) + 0.75rem);
  opacity: 0.45;
  pointer-events: none;
}

/* 7. Zegel & quote ======================================================= */

.quote-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 7vw, 6.5rem) var(--gutter);
  background: var(--green);
  color: var(--parchment);
  overflow: hidden;
}

/* Zachte gouden gloed achter het zegel. */
.quote-section::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6%;
  width: 30rem;
  height: 30rem;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(198, 151, 73, 0.22), transparent 65%);
  pointer-events: none;
}

blockquote {
  position: relative;
  max-width: 46rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.18;
}

blockquote::before {
  content: '\201C';
  position: absolute;
  top: -2.5rem;
  left: -1.5rem;
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
}

.quote-section cite {
  display: block;
  margin-top: 1.75rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* Het zegel */
.seal {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(11rem, 15vw, 14.5rem);
  aspect-ratio: 1;
}

.seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold);
}

.seal-core {
  display: grid;
  place-items: center;
  gap: 0.125rem;
  text-align: center;
}

.seal-core span {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.seal-core strong {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4vw, 3.75rem);
  line-height: 1;
  color: var(--parchment);
}

.seal-core small {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* 8. Galerij ============================================================= */

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 0.5rem;
  height: clamp(14rem, 22vw, 19rem);
  padding: 0.5rem;
  background: var(--green);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.gallery img:hover {
  transform: scale(1.04);
  filter: saturate(1.08);
}

/* 8b. De brief =========================================================== */

.letter {
  padding: var(--section-y) var(--gutter) 0;
}

.letter-card {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.75rem, 4vw, 4rem);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  background: var(--parchment);
  box-shadow: var(--shadow);
  text-align: center;
}

/* Dubbele lijn, zoals op een oorkonde. */
.letter-card::before {
  content: '';
  position: absolute;
  inset: 0.625rem;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius-lg) - 0.5rem);
  pointer-events: none;
}

.letter-card p {
  margin: 0 0 1.25rem;
  text-align: left;
  color: var(--ink-soft);
}

.letter-card .eyebrow {
  margin-bottom: 1.75rem;
}

.letter-lead {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink) !important;
}

/* Initiaal op de eerste alinea. */
.letter-lead::first-letter {
  float: left;
  margin: 0.35rem 0.75rem 0 0;
  font-size: 4.25rem;
  font-style: normal;
  line-height: 0.8;
  color: var(--gold-dim);
}

.letter-close {
  margin-bottom: 0 !important;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line);
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--green) !important;
}

/* 9. Cadeaus ============================================================= */

.shop {
  padding: var(--section-y) var(--gutter);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-head h2 {
  max-width: 42rem;
  margin-top: 1rem;
}

.budget-pill {
  flex: none;
  min-width: 15rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--parchment);
  box-shadow: var(--shadow-sm);
}

.budget-pill span {
  display: block;
  font-size: var(--small);
  color: var(--muted);
}

.budget-pill strong {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--green);
}

.budget-bar {
  height: 4px;
  margin-top: 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--cream-deep);
  overflow: hidden;
}

.budget-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.6s var(--ease);
}

.budget-note {
  margin-top: 0.625rem;
  font-size: var(--small);
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.75rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--parchment);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  height: 15.5rem;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Verloop onderaan zodat de prijs altijd leesbaar is. */
.product-image--photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(18, 39, 31, 0.55));
}

/* Gedeelde foto's onderscheiden: andere uitsnede + kleurwaas. */
.product-image--photo.product-image--alt img {
  object-position: 50% 22%;
  filter: sepia(0.28) saturate(1.05);
}

/* Uitgeknipte productfoto's: het product zweeft op een zacht vlak, met een
   schaduw eronder zodat het niet los in de lucht hangt. */
.product-image--shot {
  background: radial-gradient(115% 90% at 50% 12%, var(--white), var(--cream-deep));
}

.product-image--shot img {
  object-fit: contain;
  padding: 1.75rem;
  border-radius: 0.375rem;
  filter: drop-shadow(0 14px 16px rgba(26, 26, 24, 0.16));
}

.product-card:hover .product-image--shot img {
  transform: scale(1.03);
}

.price {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.75rem;
}

.product-content h3 {
  margin-bottom: 0.625rem;
}

.product-content p {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.product-actions a {
  font-size: var(--small);
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

.product-actions a:hover {
  color: var(--green);
}

.add-button {
  min-width: 8.5rem;
  padding: 0.8125rem 1.25rem;
  background: var(--green);
  color: var(--parchment);
}

.add-button:hover {
  background: var(--green-deep);
}

.add-button:disabled {
  cursor: default;
  transform: none;
}

.add-button.is-done {
  background: var(--gold);
  color: var(--ink);
}

.add-button.is-error {
  background: var(--red);
  color: var(--white);
  font-size: 0.8125rem;
}

.repeat-hint {
  margin: 0.75rem 0 0;
  font-size: var(--small);
  color: var(--muted);
}

/* 10. Slotbanner ========================================================= */

.final-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 0 var(--gutter) var(--section-y);
  border-radius: var(--radius-lg);
  background: var(--green-deep);
  color: var(--parchment);
  overflow: hidden;
}

.final-banner img {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  object-fit: cover;
}

.final-banner .banner-copy {
  padding: clamp(2.5rem, 4vw, 4rem);
}

.final-banner h2 {
  margin: 1rem 0;
}

.final-banner p {
  max-width: 28rem;
  margin: 0;
  color: rgba(253, 250, 243, 0.75);
}

/* 11. Winkelwagen ======================================================== */

.cart-page {
  max-width: 68rem;
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.cart-heading {
  margin-bottom: 2.5rem;
}

.cart-heading h1 {
  margin: 1rem 0 0.75rem;
}

.cart-heading p {
  color: var(--muted);
}

.cart-list {
  padding: 0.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--parchment);
  box-shadow: var(--shadow-sm);
}

.cart-item {
  display: grid;
  grid-template-columns: 6rem 1fr 5rem 6rem;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-item:last-of-type {
  border-bottom: 0;
}

.cart-item img {
  width: 6rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Uitgeknipte productfoto's niet bijsnijden. */
.cart-item .thumb--shot {
  object-fit: contain;
  padding: 0.375rem;
  background: radial-gradient(120% 100% at 50% 10%, var(--white), var(--cream-deep));
}

.cart-item h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.25rem;
}

.cart-item span {
  font-size: var(--small);
  color: var(--muted);
}

.cart-item > strong {
  font-family: var(--serif);
  font-size: 1.375rem;
  text-align: right;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 19rem;
  gap: 1.75rem;
  margin-top: 2rem;
  align-items: start;
}

/* Het bestelformulier als officieel document. */
.checkout-card {
  position: relative;
  padding: clamp(2rem, 3vw, 2.75rem);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--parchment);
  box-shadow: var(--shadow);
}

.checkout-card::before {
  content: '';
  position: absolute;
  inset: 0.5rem;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) - 0.375rem);
  pointer-events: none;
}

.checkout-card h2 {
  margin: 0.75rem 0 1.5rem;
  font-size: 1.875rem;
}

.checkout-card label {
  display: block;
  margin-bottom: 1.125rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.checkout-card label span {
  font-weight: 400;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 151, 73, 0.18);
}

textarea {
  resize: vertical;
}

.cart-item input {
  margin-top: 0;
  text-align: center;
}

.summary-card {
  position: sticky;
  top: 6.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--parchment);
  text-align: center;
  box-shadow: var(--shadow);
}

.summary-card > span {
  font-size: var(--small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.summary-card > strong {
  display: block;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1.1;
}

.summary-card > small {
  color: rgba(253, 250, 243, 0.6);
}

.summary-card hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid rgba(198, 151, 73, 0.35);
}

.summary-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(253, 250, 243, 0.8);
}

.empty {
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--parchment);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.empty h2 {
  margin-bottom: 0.75rem;
}

.empty p {
  color: var(--muted);
}

/* 12. Bevestiging ======================================================== */

.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.success-page {
  position: relative;
  z-index: 6;
  max-width: 44rem;
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
  text-align: center;
}

.success-page .eyebrow {
  margin-bottom: 1rem;
}

.success-page h1 {
  margin-bottom: 1.25rem;
}

.success-page > p {
  color: var(--ink-soft);
}

.order-number {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 0.5rem;
  background: var(--cream-deep);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.success-seal {
  width: 5.5rem;
  margin: 0 auto 1.75rem;
  color: var(--gold);
}

.receipt {
  margin: 2.5rem 0;
  padding: 2rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--parchment);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.receipt div {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
}

.receipt hr {
  margin: 1.25rem 0;
  border: 0;
  border-top: 1px dashed var(--line);
}

.receipt-total {
  font-family: var(--serif);
  font-size: 1.25rem !important;
  font-weight: 700;
}

.receipt p {
  margin: 1rem 0 0;
  font-size: var(--small);
  color: var(--muted);
}

.love {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-style: italic;
  color: var(--green);
}

/* 13. Footer ============================================================= */

footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* 14. Beweging =========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Gestaffelde entree van de hero-tekst. */
.hero-copy > * {
  animation: rise 0.8s var(--ease) backwards;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.45s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 15. Responsive ========================================================= */

@media (max-width: 60rem) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-image img {
    aspect-ratio: 3 / 2;
    border-radius: 8rem 8rem var(--radius-lg) var(--radius-lg);
  }

  .hero-image::after {
    border-radius: 9rem 9rem calc(var(--radius-lg) + 0.75rem)
      calc(var(--radius-lg) + 0.75rem);
  }

  .quote-section {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  blockquote::before {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    height: 11rem;
  }

  .gallery img:nth-child(n + 4) {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .final-banner {
    grid-template-columns: 1fr;
  }

  .final-banner img {
    min-height: 18rem;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 40rem) {
  .nav {
    padding: 0 1rem;
  }

  .cart-link .label {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery img:nth-child(n + 3) {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 4.5rem 1fr;
    row-gap: 0.75rem;
  }

  .cart-item img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .cart-item input {
    grid-column: 2;
    width: 5rem;
  }

  .cart-item > strong {
    grid-column: 2;
    text-align: left;
  }
}
