.checkout {
  max-width: 1200px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 0 16px;
}

body {
  padding: 0px 0 0 0; /* was 90px */
  margin: 0;
}

.Titel {
  text-align: center;
  justify-self: center;
  margin: 40px;
  margin-right: 40px;
  background-color: var(--Knop-Achtergrond);
  border-radius: 10px;
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.Titel:hover {
  background-color: var(--Knop-Achtergrond-Actief);
  cursor: pointer;
}

/* NIEUW: vast gecentreerd logo bovenaan */
#site-logo {
  position: sticky;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 70px; /* was 70px */
  height: 70px; /* was 70px */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--Knop-Achtergrond);
  border-radius: 12px;
  box-shadow: var(--Schaduw);
}
#site-logo:hover {
  background: var(--Knop-Achtergrond-Actief);
  cursor: pointer;
}
#site-logo img {
  width: 60px; /* was 60px */
  height: 60px; /* was 60px */
  display: block;
}

@media (min-width: 1001px) {
  .pm-panel {
    height: 70px ;
  }
}

@media (max-width: 1000px) {
  .checkout {
    display: flex;
    flex-direction: column;
    justify-self: center;
  }

  body {
    margin: 0px;
    padding: 90px 0 0 0; /* keep space for larger fixed logo */
  }
}

@media (max-width: 800px) {
  .checkout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .checkout {
    margin: 10px;
    transform: none; /* nieuw */
    position: static; /* nieuw */
  }

  #site-logo {
    top: 6px;
    width: 60px; /* was 60px */
    height: 60px; /* was 60px */
  }
  #site-logo img {
    width: 50px; /* was 50px */
    height: 50px; /* was 50px */
  }
  body {
    padding-top: 80px; /* was 80px */
  }
}

.checkout form,
.checkout aside {
  background: #fff;
  padding: 16px;
  border-radius: 30px;
  box-shadow: var(--Schaduw);
  margin-bottom: 20px;
  width: min(900px, 100%);
}

.field {
  margin-bottom: 10px;
}
#checkout-form .field {
  margin-bottom: 12px;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
input.invalid {
  border-color: #b00020;
  outline: 0;
}
.payment-methods {
  display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.pm-panel {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #eee;
  background: #fafafa;
  justify-content: start;
  width: 100%;
  height: 50px;
}
.pm-panel img
{
  height: 30px;
  padding: 5px;
}
.order-summary {
  background: #fafafa;
  border-radius: 12px;
  padding: 16px;
}
.order-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.order-items-list li {
  margin-bottom: 6px;
}
.order-line {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding: 6px 0;
}
.order-line .order-left {
  display: flex;
  flex-direction: column;
}
.order-line .prod-title {
  line-height: 1.2;
}
.order-line .prod-option {
  margin-top: 2px;
}
.submit-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  text-align: right;
}
button.primary,
button.secondary,
#terug {
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
button.primary {
  background: #e26039;
  color: #fff;
}
button.primary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}
button.secondary,
#terug {
  background: #eee;
}
.hidden {
  display: none;
}
aside {
  width: min(600px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.muted {
  color: #666;
  font-size: 12px;
}

#ideal-amount.amount-ok {
  border-color: #2e7d32;
  outline: 0;
}
#ideal-amount.amount-bad {
  border-color: #b00020;
  outline: 0;
}
/* nieuw: paypal bedrag status */
#paypal-amount.amount-ok {
  border-color: #2e7d32;
  outline: 0;
}
#paypal-amount.amount-bad {
  border-color: #b00020;
  outline: 0;
}
#pay-btn.loading::after {
  content: 'Bezig...';
  margin-left: 8px;
  font-weight: 400;
  font-size: 0.9em;
}

.verzending
{
  border-radius: 12px;
  text-align: center;
margin-bottom: 10px;

  color: #2e7d32;
  font-size: 17px;
  font-weight: 700;
  margin-left: 0px;
margin-top: 50px;
align-self: center;
width: min(400px, 100%);
}

.verzending h4
{
margin-bottom: 0px;
}

.verzending p
{
  margin-top: 0;
  margin-bottom: 5px;
  margin-left: 0px;
font-size: 17px;
}

@media (max-width: 600px) {
 .field label{
    font-size: 14px;
  }
}