/* ===== Variant Kiezer — verfproducten ===== */

.vk-kiezer {
  margin-bottom: 16px;
}

.vk-stap {
  margin-bottom: 18px;
}

.vk-stap-label {
  font-size: 16px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}

/* --- Basis knop --- */
.vk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-align: center;
  padding: 9px 18px;
  line-height: 1.3;
  white-space: nowrap;
}

.vk-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

.vk-btn:hover:not(.vk-disabled):not(:disabled) {
  border-color: #FF6D1E;
  background: #f5f5f5;
}

.vk-btn.vk-actief {
  border-color: #FF6D1E;
  background: #FF6D1E;
  color: #fff;
}

.vk-btn.vk-disabled,
.vk-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  border-color: #e0e0e0;
  background: #f8f8f8;
  color: #bbb;
}

/* --- Kleurenwaaier icoon in knop --- */
.vk-kleurenwaaier-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

/* --- Kleurtype knoppen --- */
.vk-kleurtype-knoppen {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vk-btn-kleurtype {
  flex: 1;
  min-width: 130px;
  padding: 12px 18px;
  font-size: 15px;
}

.vk-btn-kleurtype:hover:not(.vk-disabled):not(:disabled) {
  color: #333;
}

/* --- Gekozen kleur display (na kiezen) --- */
.vk-gekozen-kleur-display {
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding: 10px 14px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.vk-kleur-swatch {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  margin-right: 12px;
  flex-shrink: 0;
  background: #e0e0e0;
}

.vk-kleur-info {
  flex: 1;
  min-width: 0;
}

.vk-kleur-naam {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vk-wijzig-kleur-btn {
  border: none;
  background: none;
  padding: 0;
  margin-top: 2px;
  font-size: 12px;
  color: #c0392b;
  cursor: pointer;
  text-decoration: underline;
  line-height: 1.4;
}

.vk-wijzig-kleur-btn:hover {
  color: #922b21;
}

/* --- Inhoud knoppen --- */
.vk-btn-inhoud {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-width: 160px;
  padding: 10px 14px;
  gap: 10px;
  text-align: left;
}

.vk-btn-inhoud.vk-actief {
  border-color: #FF6D1E;
  background: #FF6D1E;
}

/* Hover: tekst altijd zwart leesbaar */
.vk-btn-inhoud:hover:not(.vk-disabled):not(:disabled) {
  color: #333;
}
.vk-btn-inhoud:hover:not(.vk-disabled):not(:disabled) .vk-inhoud-maat,
.vk-btn-inhoud:hover:not(.vk-disabled):not(:disabled) .vk-inhoud-prijs,
.vk-btn-inhoud:hover:not(.vk-disabled):not(:disabled) .vk-inhoud-oldprijs {
  color: #333;
}

/* Rond bolletje / vinkje indicator */
.vk-inhoud-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.12s;
}

.vk-btn-inhoud:hover:not(.vk-disabled):not(:disabled) .vk-inhoud-indicator {
  border-color: #FF6D1E;
}

.vk-btn-inhoud.vk-actief .vk-inhoud-indicator {
  border-color: rgba(255, 255, 255, 0.7);
}

.vk-btn-inhoud.vk-actief .vk-inhoud-indicator::after {
  content: '✓';
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.vk-btn-inhoud.vk-actief:hover:not(.vk-disabled):not(:disabled) .vk-inhoud-indicator::after {
  color: #FF6D1E;
}

/* Content kolom: maat boven, prijs onder */
.vk-inhoud-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
}

/* Maat tekst */
.vk-inhoud-maat {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

.vk-btn-inhoud.vk-actief .vk-inhoud-maat {
  color: #fff;
}

/* Prijs wrapper: oud + nieuw op 1 regel */
.vk-inhoud-prijzen {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.vk-inhoud-prijs {
  font-size: 15px;
  font-weight: 700;
  color: #FF6D1E;
  line-height: 1.2;
}

.vk-btn-inhoud.vk-actief .vk-inhoud-prijs {
  color: #fff;
}

.vk-inhoud-oldprijs {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
  line-height: 1.2;
}

.vk-btn-inhoud.vk-actief .vk-inhoud-oldprijs {
  color: rgba(255, 255, 255, 0.65);
}

/* --- Modal header --- */
.vk-modal-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vk-modal-header-content {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.vk-modal-product-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.vk-modal-header-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.vk-modal-header-sub {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}

.vk-modal-header-name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vk-modal-close {
  color: #555 !important;
  opacity: 0.8;
  text-shadow: none;
  font-size: 44px;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
}

.vk-modal-close:hover {
  opacity: 1;
  color: #111 !important;
}

#product-kleurenwaaier-opties .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

#product-kleurenwaaier-opties .modal-body {
  background: #f5f5f5;
}

@media (max-width: 576px) {
  .vk-modal-product-img {
    width: 36px;
    height: 36px;
  }

  .vk-modal-header-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
  }

  .vk-modal-header-name {
    font-size: 13px;
  }
}

/* --- Modal waarschuwing --- */
.vk-modal-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: #fff8f3;
  border-left: 4px solid #FF6D1E;
  border-radius: 6px;
  font-size: 14px;
  color: #7a3b00;
  line-height: 1.5;
}

.vk-modal-alert-icon {
  font-size: 22px;
  flex-shrink: 0;
  color: #FF6D1E;
  line-height: 1;
}

/* --- Kleurblok tekst override (dark/light) --- */
.kleuren-block.dark,
.kleuren-block.dark .color-code,
.kleuren-block.dark .color-name {
  color: #fff !important;
}

.kleuren-block.light,
.kleuren-block.light .color-code,
.kleuren-block.light .color-name {
  color: #000 !important;
}

.kleuren-block.help,
.kleuren-block.help .color-code,
.kleuren-block.help .color-name {
  color: #000 !important;
}

/* --- Geen resultaten melding --- */
.message-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: #fff5f5;
  border-left: 4px solid #e53935;
  border-radius: 6px;
  font-size: 14px;
  color: #c62828;
  line-height: 1.5;
  margin-bottom: 12px;
}

.vk-message-icon {
  font-size: 22px;
  flex-shrink: 0;
  color: #e53935;
  line-height: 1;
}

/* --- Kleuren sectie titel --- */
.color-group-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin-bottom: 12px !important;
}

.vk-title-zoekterm {
  color: #FF6D1E;
}

/* --- Modal wit kaartblok --- */
.vk-modal-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

/* --- Modal controls (zoeken + collectie + handmatige invoer op 1 lijn) --- */
.vk-modal-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.vk-modal-control {
  flex: 1;
  min-width: 180px;
}

.vk-modal-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}

.vk-modal-control .input-group .form-control {
  border-radius: 4px 0 0 4px !important;
  font-size: 1rem !important;
}

.vk-modal-control .input-group .input-group-append .btn {
  border-radius: 0 4px 4px 0 !important;
}

.vk-modal-btn {
  background: #FF6D1E;
  border-color: #FF6D1E;
  color: #fff;
  font-weight: 500;
  font-size: 1rem !important;
  padding: 0.375rem 0.75rem !important;
}

.vk-modal-btn:hover {
  background: #e55e10;
  border-color: #e55e10;
  color: #fff;
}

/* --- Handmatige kleur invoer in modal --- */
.vk-handmatige-kleur-invoer {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 14px;
  background: #fafafa;
}

.vk-handmatige-kleur-invoer .vk-hand-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
  display: block;
}

/* --- Qty veld (override oude float-based .qty) --- */
.vk-qty {
  display: flex !important;
  float: none !important;
  align-items: stretch;
  border: 2px solid #ddd !important;
  border-radius: 6px;
  overflow: hidden;
  min-width: 110px;
}

.vk-qty .qtyminus,
.vk-qty .qtyadd {
  position: static !important;
  width: 30px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border: none;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  color: #333;
  flex-shrink: 0;
  user-select: none;
  transition: background 0.12s, color 0.12s;
}

.vk-qty .qtyminus:hover,
.vk-qty .qtyadd:hover {
  background: #FF6D1E;
  color: #fff;
}

.vk-qty input.quantity {
  width: 65px !important;
  height: 48px !important;
  padding: 0 !important;
  border: none !important;
  border-left: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  border-radius: 0 !important;
}

/* --- Summary bar --- */
.vk-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
}

.vk-cart-btn {
  white-space: nowrap;
  padding: 12px 24px;
}

/* Horizontale gutter halveren: g-2 = 4px per kant, hier 2px */
.vk-inhoud-knoppen {
  margin-left: -2px;
  margin-right: -2px;
}
.vk-inhoud-knoppen > div {
  padding-left: 2px;
  padding-right: 2px;
}

/* --- Ajax cart melding --- */
#ajax-cart-message {
  display: none;
  margin-bottom: 10px;
}

#ajax-cart-message .messages {
  width: 100%;
}

#ajax-cart-message .messages ul {
  list-style: none;
  list-style-type: none;
  margin: 10px 0 0 0;
  padding: 0;
  background: transparent;
  border: none;
  color: inherit;
}

#ajax-cart-message .messages ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

#ajax-cart-message .messages ul li::before {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

#ajax-cart-message .messages ul.success li {
  background: #f0faf0;
  border-left: 4px solid #4caf50;
  color: #2e7d32;
}

#ajax-cart-message .messages ul.success li::before {
  content: '✓';
  background: #4caf50;
  color: #fff;
}

#ajax-cart-message .messages ul.error li {
  background: #fff5f5;
  border-left: 4px solid #e53935;
  color: #c62828;
}

#ajax-cart-message .messages ul.error li::before {
  content: '✕';
  background: #e53935;
  color: #fff;
}

/* --- PIM Downloads sectie --- */
.pim-downloads-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.pim-downloads-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pim-downloads-item {
  margin-bottom: 6px;
}

.pim-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  padding: 6px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background: #fafafa;
  transition: background 0.15s, border-color 0.15s;
}

.pim-download-link:hover {
  background: #fff3ec;
  border-color: #FF6D1E;
  color: #FF6D1E;
  text-decoration: none;
}

.pim-file-ext {
  display: inline-block;
  background: #FF6D1E;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1.4;
  min-width: 32px;
  text-align: center;
}

.pim-file-size {
  color: #999;
  font-size: 12px;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .vk-inhoud-knoppen > div + div {
    margin-top: 8px;
  }

  .vk-inhoud-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .vk-btn-kleurtype {
    flex: 1 1 100%;
  }

  .vk-cart-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    justify-content: flex-start;
    white-space: normal;
  }
}
