: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-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

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

.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}
@media (max-width: 900px) {
  .cart-grid,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

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