/* KL Shop Add-ons — product page styles */

/* ── Greeting card + gift wrap panel ──────────────────────────────────────── */

.kl-product-addons {
  margin: 24px 0 20px;
  padding: 18px 20px;
  background: #F2F9F6;
  border: 1.5px solid #89C9B2;
  border-radius: 10px;
}

.kl-product-addons__title {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0E3957;
  margin: 0 0 14px;
}

.kl-addon-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  line-height: 1.4;
}

.kl-addon-row:last-child {
  margin-bottom: 0;
}

.kl-addon-check {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #EE7203;
  cursor: pointer;
}

.kl-addon-label {
  font-size: 0.95rem;
  color: #1A2E3B;
  font-weight: 500;
}

.kl-addon-price {
  font-weight: 700;
  color: #EE7203;
  margin-left: 6px;
}

/* ── Shared field styles ───────────────────────────────────────────────────── */

.kl-field-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: #1A2E3B;
  margin-bottom: 5px;
  line-height: 1.4;
}

.kl-field-hint {
  display: block;
  font-size: 0.78rem;
  color: #4A6070;
  margin-top: 5px;
}

.kl-required {
  color: #b91c1c;
  margin-left: 2px;
}

.kl-textarea {
  width: 100%;
  border: 1px solid #D0D9E0;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1A2E3B;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
  line-height: 1.5;
}

.kl-textarea:focus {
  border-color: #89C9B2;
  box-shadow: 0 0 0 2px rgba(137, 201, 178, 0.2);
  outline: none;
}

.kl-input-error,
.kl-textarea.kl-input-error {
  border-color: #b91c1c !important;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.15) !important;
}

.kl-inline-error {
  display: block;
  font-size: 0.82rem;
  color: #b91c1c;
  margin-top: 5px;
}

/* ── Qty +/- spinner buttons ───────────────────────────────────────────────── */

.quantity.kl-qty-wrapped {
  display: block; /* let WC manage the outer wrapper — our UI sits inside */
}

/* The custom +/- UI appended inside .quantity */
.kl-qty-ui {
  display: flex;
  align-items: center;
  gap: 0;
}

.kl-qty-btn {
  width: 34px;
  height: 40px;
  background: #F2F9F6;
  border: 1px solid #D0D9E0;
  color: #0E3957;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kl-qty-minus { border-radius: 6px 0 0 6px; border-right: none; }
.kl-qty-plus  { border-radius: 0 6px 6px 0; border-left: none; }

.kl-qty-btn:hover {
  background: #89C9B2;
  border-color: #89C9B2;
  color: #fff;
}

.kl-qty-btn:active {
  background: #0E3957;
  border-color: #0E3957;
  color: #fff;
}

/* The displayed count between the buttons */
.kl-qty-val {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 40px;
  border-top: 1px solid #D0D9E0;
  border-bottom: 1px solid #D0D9E0;
  background: #fff;
  color: #1A2E3B;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
  user-select: none;
}

/* ── Dipper qty row ─────────────────────────────────────────────────────────── */

.kl-dipper-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-left: 26px;
}

/* ── Lead time block (Mezuza) ─────────────────────────────────────────────── */

.kl-lead-time {
  margin: 0 0 22px;
  padding: 12px 16px;
  background: #F8F7F4;
  border-left: 3px solid #89C9B2;
  border-radius: 0 8px 8px 0;
}

.kl-lead-time__msg {
  margin: 0;
  font-size: 0.9rem;
  color: #4A6070;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.kl-lead-time__hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #89C9B2;
  font-style: italic;
}

.kl-lead-time__icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.35;
}

#kl-custom-colour-wrap {
  margin-top: 12px;
}
