:root {
  --yellow: #F4E64B;
  --text-dark: #111;
  --text-muted: #777;
  --bg: #f4f4f4;
  --card: #ffffff;
  --border-radius: 16px;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cart {
  max-width: 1100px;
  margin: 0 auto 20px auto;
  background: var(--card);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

/* LEFT */
.product {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
}

.preview {
  width: 160px;
  height: 160px;
  background: #eee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.pdf-preview {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.prodcarttitle a {
  background-color: #333;
  color: #FFF;
  border-radius: 15px;
  display: inline-block;
  height: 30px;
  padding: 0 5px;
  text-align: center;
  line-height: 22px;
  width: 30px;
}
.prodcarttitle a i {
  font-size: 14px;
}
.toggle-upload,.toggle-button {
  margin-top: 16px;
  background: var(--yellow);
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}
.toggle-button {
  margin-top: 0;
  margin-bottom: 5px;
}
.product h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.quantity {
  display: inline-flex;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.quantity button {
  background: none;
  border: none;
  padding: 8px 14px;
  font-size: 18px;
  cursor: pointer;
}

.quantity span {
  padding: 8px 16px;
  min-width: 32px;
  text-align: center;
  font-weight: 600;
}

.details {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* RIGHT */
.summary h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.address {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.shipping-select {
  background: var(--yellow);
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 32px;
}

.totals {
  border-top: 1px solid #eee;
  padding-top: 24px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.total-row.main {
  font-size: 24px;
  font-weight: 800;
}

.total-row.sub {
  font-size: 16px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .cart {
	grid-template-columns: 1fr;
  }
}

/* generieke knop */
.ship-btn {
  display: inline-block;
  margin: 4px;
}

.ship-btn input {
  display: none;
}

.ship-btn span {
  display: block;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all .15s ease;
}

.ship-btn span:hover {
  border-color: #999;
}

/* geselecteerd */
.ship-btn input:checked + span {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* dagen layout */
.shipping-step.days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* carrier cards */
.shipping-step.carriers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.ship-card span {
  line-height: 1.4;
}

/* panel */
.shipping-panel {
  padding: 12px;
  border: 1px solid #ddd;
  background: #fafafa;
  margin-top: 10px;
}

.close-shipping {
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 8px;
}

.checkout-heading {
  width: min(1200px, calc(100% - 40px));
  margin: 12px auto 24px;
}

.checkout-heading__eyebrow {
  margin: 0 0 6px;
  color: #4f5965;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-heading h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.checkout-heading__intro {
  max-width: 650px;
  margin: 10px 0 0;
  color: #66707c;
  font-size: 16px;
  line-height: 1.6;
}

.checkout-page {
  display: block;
  width: min(1200px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
  width: 100%;
  gap: 28px;
  align-items: start;
}

.checkout-layout--empty {
  grid-template-columns: minmax(0, 1fr);
}

.checkout-left {
  min-width: 0;
}

.checkout-form {
  min-width: 0;
  position: sticky;
  top: 24px;
}

.checkout-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-page .card {
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(34, 45, 57, .06);
}

.checkout-page .card h2 {
  margin-bottom: 18px;
  font-size: 20px;
}

.checkout-page .card input[type="text"],
.checkout-page .card input[type="email"] {
  min-height: 44px;
  padding: 10px 12px;
  border-color: #d8dde2;
}

.checkout-page .payment-card {
  min-height: 64px;
  padding: 16px 18px;
}

.checkout-page .payment-card.active {
  border-color: #fddd04;
  box-shadow: 0 0 0 2px rgba(253, 221, 4, .24);
}

.checkout-submit {
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #fddd04;
  color: #1f2933;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(219, 190, 0, .22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.checkout-submit:hover {
  background: #ffe62f;
  box-shadow: 0 10px 24px rgba(219, 190, 0, .3);
  transform: translateY(-1px);
}

.empty-cart {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(42px, 8vw, 80px) 28px;
  border: 1px solid #e4e8ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(34, 45, 57, .07);
  text-align: center;
}

.empty-cart__icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fff9c9;
  color: #222b35;
  font-size: 29px;
  place-items: center;
}

.empty-cart__icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.empty-cart h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.empty-cart p {
  max-width: 540px;
  margin: 0 auto 28px;
  color: #66707c;
  font-size: 16px;
  line-height: 1.65;
}

.empty-cart__button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fddd04;
  color: #1f2933;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(219, 190, 0, .2);
}

@media (max-width: 900px) {
  .cart-grid,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-grid .card,
  .checkout-right {
    grid-column: auto;
  }

  .checkout-form {
    position: static;
  }
}

@media (max-width: 600px) {
  .checkout-heading,
  .checkout-page {
    width: min(100% - 24px, 1200px);
  }

  .checkout-heading {
    margin-bottom: 18px;
  }

  .checkout-layout {
    gap: 18px;
  }

  .checkout-page .card {
    padding: 18px;
    border-radius: 14px;
  }

  .empty-cart {
    padding: 42px 20px;
    border-radius: 16px;
  }
}
