/* ========================================================================== */
/* Champ quantité avec flèches (augmenter / diminuer)                         */
/* ========================================================================== */

.sk-qty {
  display: inline-flex;
  align-items: stretch;
  box-sizing: border-box;
  height: 37px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sk-qty:focus-within {
  border-color: #52b370;
  box-shadow: 0 0 0 3px rgba(82, 179, 112, 0.2);
}

/* Le champ : sans bordure, chiffre centré, sans les flèches natives. */
.sk-qty input[type="number"] {
  box-sizing: border-box;
  width: 56px;
  height: 100%;
  margin: 0;
  padding: 0 4px 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: #232323;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.sk-qty input[type="number"]::-webkit-inner-spin-button,
.sk-qty input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Les deux flèches, l'une au-dessus de l'autre. */
.sk-qty__controls {
  display: flex;
  flex-direction: column;
  width: 21px;
  border-left: 1px solid #d9d9d9;
}

.sk-qty__btn {
  display: flex;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: #52b370;
  background: #f8f9fa;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sk-qty__btn--up {
  border-bottom: 1px solid #d9d9d9;
}

.sk-qty__btn:hover:not(:disabled),
.sk-qty__btn:focus-visible:not(:disabled) {
  color: #ffffff;
  background: #52b370;
}

.sk-qty__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
