/**
 * WC Reorder History Pro – Styles front-end
 * Version: 1.0.0
 */

/* ===================================
   VARIABLES
=================================== */
:root {
  --wcrh-primary:       #7952b3;
  --wcrh-primary-dark:  #6241a0;
  --wcrh-primary-light: #f0ecf9;
  --wcrh-success:       #28a745;
  --wcrh-danger:        #dc3545;
  --wcrh-warning:       #ffc107;
  --wcrh-text:          #2d2d2d;
  --wcrh-text-muted:    #6c757d;
  --wcrh-border:        #e2e8f0;
  --wcrh-bg:            #f8f9fa;
  --wcrh-white:         #ffffff;
  --wcrh-radius:        10px;
  --wcrh-radius-sm:     6px;
  --wcrh-shadow:        0 2px 12px rgba(0,0,0,.08);
  --wcrh-shadow-hover:  0 6px 24px rgba(0,0,0,.14);
  --wcrh-transition:    .22s ease;
  --wcrh-font:          inherit;
}

/* ===================================
   WRAPPER
=================================== */
#wcrh-app {
  position: relative;
  font-family: var(--wcrh-font);
  color: var(--wcrh-text);
}

/* ===================================
   STATS BAR
=================================== */
.wcrh-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.wcrh-stat {
  flex: 1;
  min-width: 130px;
  background: var(--wcrh-white);
  border: 1px solid var(--wcrh-border);
  border-radius: var(--wcrh-radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--wcrh-shadow);
  transition: transform var(--wcrh-transition), box-shadow var(--wcrh-transition);
}

.wcrh-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--wcrh-shadow-hover);
}

.wcrh-stat__number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wcrh-primary);
  line-height: 1.1;
}

.wcrh-stat__number .woocommerce-Price-amount { color: inherit; font-size: inherit; }

.wcrh-stat__label {
  display: block;
  font-size: .75rem;
  color: var(--wcrh-text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ===================================
   TOOLBAR
=================================== */
.wcrh-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--wcrh-white);
  border: 1px solid var(--wcrh-border);
  border-radius: var(--wcrh-radius);
  box-sizing: border-box;
}

.wcrh-toolbar__search {
  flex: 1 1 0;
  min-width: 0;
}

.wcrh-toolbar__search .wcrh-search-form {
  width: 100%;
  height: 100%;
}

.wcrh-toolbar__controls {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Barre de recherche — le wrap est le seul parent relative */
.wcrh-search-form { position: static; }

.wcrh-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
}

.wcrh-search-input {
  display: block;
  width: 100%;
  height: 36px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--wcrh-border);
  border-radius: var(--wcrh-radius-sm);
  font-size: .9rem;
  background: var(--wcrh-bg);
  transition: border-color var(--wcrh-transition), box-shadow var(--wcrh-transition);
  outline: none;
  box-sizing: border-box;
  line-height: 36px;
}

.wcrh-search-input:focus {
  border-color: var(--wcrh-primary);
  box-shadow: 0 0 0 3px rgba(121,82,179,.15);
  background: var(--wcrh-white);
}

/* Loupe décorative : span positionné dans .wcrh-search-input-wrap */
.wcrh-search-icon {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--wcrh-text-muted);
  line-height: 0;
  z-index: 1;
}

.wcrh-search-icon svg { width: 15px; height: 15px; display: block; }

/* Croix effacer (s'affiche quand une recherche est active) */
.wcrh-search-clear {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--wcrh-text-muted);
  text-decoration: none;
  transition: color var(--wcrh-transition);
  z-index: 2;
}
.wcrh-search-clear:hover { color: var(--wcrh-danger); }
/* Quand la croix est présente, cacher la loupe */
.wcrh-search-input-wrap:has(.wcrh-search-clear) .wcrh-search-icon { display: none; }

/* Selects */
.wcrh-select {
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--wcrh-border);
  border-radius: var(--wcrh-radius-sm);
  font-size: .9rem;
  background-color: var(--wcrh-bg);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  line-height: 36px;
  vertical-align: middle;
  box-sizing: border-box;
  transition: border-color var(--wcrh-transition);
}

.wcrh-select:focus {
  border-color: var(--wcrh-primary);
  box-shadow: 0 0 0 3px rgba(121,82,179,.15);
}

/* ===================================
   RÉSULTATS INFO
=================================== */
.wcrh-results-info {
  font-size: .85rem;
  color: var(--wcrh-text-muted);
  margin-bottom: 16px;
}

.wcrh-results-info a { color: var(--wcrh-primary); text-decoration: none; }
.wcrh-results-info a:hover { text-decoration: underline; }

/* ===================================
   GRILLE PRODUITS
=================================== */
.wcrh-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

/* ===================================
   CARTE PRODUIT
=================================== */
.wcrh-product-card {
  background: var(--wcrh-white);
  border: 1px solid var(--wcrh-border);
  border-radius: var(--wcrh-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--wcrh-shadow);
  transition: transform var(--wcrh-transition), box-shadow var(--wcrh-transition);
}

.wcrh-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wcrh-shadow-hover);
}

.wcrh-product-card--deleted {
  opacity: .65;
  filter: grayscale(.5);
}

/* Image */
.wcrh-product-card__image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--wcrh-bg);
}

.wcrh-product-card__image-link { display: block; line-height: 0; }

.wcrh-product-card__image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform .35s ease;
}

.wcrh-product-card:hover .wcrh-product-card__image {
  transform: scale(1.05);
}

/* Badge quantité : cercle parfait */
.wcrh-product-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--wcrh-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  padding: 0;
}

/* Barre de stock — pleine largeur, haute lisibilité */
.wcrh-stock-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1;
}

.wcrh-stock-bar svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke-width: 2.5;
}

.wcrh-stock-bar--in-stock    { background: #1e9e45; color: #fff; }
.wcrh-stock-bar--low-stock   { background: #e67e00; color: #fff; }
.wcrh-stock-bar--on-backorder{ background: #1976d2; color: #fff; }
.wcrh-stock-bar--out-of-stock{ background: #c62828; color: #fff; }

/* Corps */
.wcrh-product-card__body {
  padding: 12px 14px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wcrh-product-card__name {
  font-size: .9rem;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.3;
}

.wcrh-product-card__name-link {
  color: var(--wcrh-text);
  text-decoration: none;
  transition: color var(--wcrh-transition);
}
.wcrh-product-card__name-link:hover { color: var(--wcrh-primary); }

.wcrh-product-card__sku {
  font-size: .75rem;
  color: var(--wcrh-text-muted);
  margin: 0 0 4px;
}

.wcrh-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.wcrh-product-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  color: var(--wcrh-text-muted);
}

.wcrh-product-card__meta-item svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.wcrh-product-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--wcrh-text);
  text-align: center;
  margin-top: 8px;
  padding: 6px 0 2px;
}

/* Respect du prix spécifique client (Groups + CSP) */
.wcrh-product-card__price .woocommerce-Price-amount { color: inherit; }
.wcrh-product-card__price ins  { text-decoration: none; color: var(--wcrh-danger); }
.wcrh-product-card__price del  { font-size: .85rem; opacity: .55; margin-right: 4px; font-weight: 500; }

/* Pied : colonne centrée */
.wcrh-product-card__footer {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--wcrh-border);
  background: var(--wcrh-bg);
}

.wcrh-product-card__unavailable {
  font-size: .78rem;
  color: var(--wcrh-text-muted);
  font-style: italic;
}

/* ===================================
   BOUTONS CARTE
=================================== */

/* Bouton panier rouge — !important sur tout pour battre WoodMart */
#wcrh-app .wcrh-btn-cart,
#wcrh-app button.wcrh-btn-cart,
#wcrh-app a.wcrh-btn-cart {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: 100% !important;
  padding: 12px 16px !important;
  background: #c0392b !important;
  background-color: #c0392b !important;
  color: #fff !important;
  border: none !important;
  border-radius: 5px !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  text-decoration: none !important;
  line-height: 1 !important;
  box-shadow: 0 3px 8px rgba(192,57,43,.35) !important;
  transition: background .18s ease, transform .1s !important;
  outline: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#wcrh-app .wcrh-btn-cart svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
  stroke: #fff !important;
}

#wcrh-app .wcrh-btn-cart:hover,
#wcrh-app button.wcrh-btn-cart:hover,
#wcrh-app a.wcrh-btn-cart:hover {
  background: #a93226 !important;
  background-color: #a93226 !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(192,57,43,.45) !important;
  text-decoration: none !important;
}

#wcrh-app .wcrh-btn-cart:active {
  transform: scale(.97) !important;
}

/* Bouton secondaire discret */
.wcrh-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 14px;
  background: transparent;
  color: var(--wcrh-text-muted) !important;
  border: 1px solid var(--wcrh-border);
  border-radius: var(--wcrh-radius-sm);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--wcrh-transition), color var(--wcrh-transition);
  line-height: 1;
}
.wcrh-btn-secondary:hover { background: var(--wcrh-bg); color: var(--wcrh-text) !important; }

/* Compatibilité anciens noms de classes */
.wcrh-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: none; border-radius: var(--wcrh-radius-sm); font-size: .82rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background var(--wcrh-transition); line-height: 1; }
.wcrh-btn--primary  { background: #c0392b; color: #fff !important; width: 100%; justify-content: center; }
.wcrh-btn--primary:hover { background: #a93226; }
.wcrh-btn--secondary { background: transparent; color: var(--wcrh-text-muted) !important; border: 1px solid var(--wcrh-border); width: 100%; justify-content: center; }

.wcrh-btn--sm { padding: 6px 10px; font-size: .78rem; }

.wcrh-btn--success { background: var(--wcrh-success) !important; }

/* Bouton loading */
.wcrh-btn.is-loading {
  pointer-events: none;
  opacity: .75;
}
.wcrh-btn.is-loading::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wcrh-spin .6s linear infinite;
  flex-shrink: 0;
}

/* ===================================
   QUANTITÉ
=================================== */
.wcrh-qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--wcrh-border);
  border-radius: var(--wcrh-radius-sm);
  overflow: hidden;
  background: var(--wcrh-white);
}

.wcrh-qty-btn {
  background: var(--wcrh-bg);
  border: none;
  padding: 0 10px;
  height: 34px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wcrh-text);
  line-height: 1;
  transition: background var(--wcrh-transition), color var(--wcrh-transition);
}
.wcrh-qty-btn:hover { background: var(--wcrh-border); color: var(--wcrh-primary); }

.wcrh-qty-input {
  width: 38px;
  height: 34px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--wcrh-border);
  border-right: 1px solid var(--wcrh-border);
  font-size: .9rem;
  font-weight: 600;
  -moz-appearance: textfield;
  outline: none;
}
.wcrh-qty-input::-webkit-inner-spin-button,
.wcrh-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ===================================
   PAGINATION
=================================== */
.wcrh-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}

.wcrh-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--wcrh-border);
  border-radius: var(--wcrh-radius-sm);
  font-size: .85rem;
  font-weight: 600;
  color: var(--wcrh-text);
  text-decoration: none;
  background: var(--wcrh-white);
  transition: background var(--wcrh-transition), color var(--wcrh-transition), border-color var(--wcrh-transition);
}

.wcrh-page-link:hover,
.wcrh-page-link.is-active {
  background: var(--wcrh-primary);
  color: var(--wcrh-white) !important;
  border-color: var(--wcrh-primary);
}

/* ===================================
   LOADING
=================================== */
.wcrh-loading {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  border-radius: var(--wcrh-radius);
}

.wcrh-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--wcrh-border);
  border-top-color: var(--wcrh-primary);
  border-radius: 50%;
  animation: wcrh-spin .7s linear infinite;
}

@keyframes wcrh-spin {
  to { transform: rotate(360deg); }
}

/* ===================================
   TOAST NOTIFICATIONS
=================================== */
.wcrh-toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.wcrh-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--wcrh-white);
  border: 1px solid var(--wcrh-border);
  border-left: 4px solid var(--wcrh-success);
  border-radius: var(--wcrh-radius-sm);
  padding: 12px 16px;
  box-shadow: var(--wcrh-shadow-hover);
  font-size: .88rem;
  max-width: 320px;
  animation: wcrh-toast-in .3s ease;
  pointer-events: all;
}

.wcrh-toast--error { border-left-color: var(--wcrh-danger); }

.wcrh-toast__message { flex: 1; }

.wcrh-toast__actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.wcrh-toast__btn {
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.wcrh-toast__btn--cart {
  background: var(--wcrh-primary);
  color: #fff !important;
}

.wcrh-toast__btn--checkout {
  background: var(--wcrh-success);
  color: #fff !important;
}

.wcrh-toast__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--wcrh-text-muted);
  padding: 0;
  flex-shrink: 0;
}

@keyframes wcrh-toast-in {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.wcrh-toast.is-hiding {
  animation: wcrh-toast-out .3s ease forwards;
}

@keyframes wcrh-toast-out {
  to { opacity: 0; transform: translateX(40px); }
}

/* ===================================
   VIDE
=================================== */
.wcrh-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--wcrh-text-muted);
}

.wcrh-empty svg {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  opacity: .3;
}

.wcrh-empty p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Bouton "Découvrir notre boutique" — rouge, grand, angles droits */
.wcrh-empty .wcrh-btn--primary {
  background: #c0392b !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  padding: 14px 32px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(192,57,43,.35);
  transition: background var(--wcrh-transition), box-shadow var(--wcrh-transition), transform .1s;
}

.wcrh-empty .wcrh-btn--primary:hover {
  background: #a93226 !important;
  box-shadow: 0 5px 18px rgba(192,57,43,.45);
  transform: translateY(-1px);
}

.wcrh-empty .wcrh-btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(192,57,43,.3);
}

/* ===================================
   NOTICE
=================================== */
.wcrh-notice {
  padding: 14px 18px;
  background: var(--wcrh-primary-light);
  border-left: 4px solid var(--wcrh-primary);
  border-radius: var(--wcrh-radius-sm);
  font-size: .9rem;
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 640px) {
  .wcrh-stats-bar { gap: 8px; }
  .wcrh-stat { min-width: 120px; padding: 12px; }
  .wcrh-stat__number { font-size: 1.3rem; }

  .wcrh-toolbar { flex-direction: column; align-items: stretch; flex-wrap: wrap; }
  .wcrh-toolbar__search { width: 100%; }
  .wcrh-toolbar__controls { width: 100%; justify-content: stretch; }
  .wcrh-toolbar__controls { justify-content: stretch; }
  .wcrh-select {
  height: 36px; width: 100%; }

  .wcrh-products-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }

  .wcrh-toast-container { left: 10px; right: 10px; bottom: 10px; }
  .wcrh-toast { max-width: 100%; }
}

/* stock-badge remplacé par wcrh-stock-bar */

/* ===================================
   CHIPS DE VARIATION — design moderne
=================================== */
.wcrh-variation-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  width: 100%;
}

.wcrh-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 5px;
  overflow: hidden;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* Partie gauche : label de l'attribut */
.wcrh-chip__label {
  background: #4a4a4a;
  color: #fff;
  padding: 5px 7px;
  letter-spacing: .04em;
  font-size: .68rem;
}

/* Partie droite : valeur */
.wcrh-chip__value {
  background: var(--wcrh-primary);
  color: #fff;
  padding: 5px 9px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ===================================
   ALERTE STOCK FAIBLE (dans footer)
=================================== */
.wcrh-stock-warning {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 600;
  color: #e65100;
  background: #fff3e0;
  border: 1px solid #ffcc80;
  border-radius: 4px;
  padding: 4px 8px;
  width: 100%;
}

.wcrh-stock-warning svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: #e65100;
}

/* ===================================
   FOOTER RUPTURE DE STOCK
=================================== */
.wcrh-footer-oos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.wcrh-badge-oos {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: #c62828;
  font-weight: 700;
  background: #fdecea;
  padding: 4px 10px;
  border-radius: 4px;
}

.wcrh-badge-oos svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: #c62828;
}

/* Bouton "Voir les autres déclinaisons" */
.wcrh-btn--other-variations {
  width: 100%;
  justify-content: center;
  background: var(--wcrh-primary) !important;
  font-size: .8rem;
}

/* ===================================
   CARTE : BORDURE COLORÉE SELON STOCK
=================================== */
.wcrh-product-card.wcrh-stock--low-stock {
  border-color: #ffcc80;
}

.wcrh-product-card.wcrh-stock--out-of-stock {
  border-color: #f5c6cb;
  opacity: .85;
}

.wcrh-product-card.wcrh-stock--on-backorder {
  border-color: #90caf9;
}

/* Supprimer les flèches natives du input[type=number] */
.wcrh-qty-input::-webkit-outer-spin-button,
.wcrh-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.wcrh-qty-input[type=number] {
  -moz-appearance: textfield !important;
}

/* Animation input quantité ajusté automatiquement */
.wcrh-qty-input.wcrh-qty--adjusted {
  animation: wcrh-qty-pulse .4s ease 3;
  border-color: var(--wcrh-warning);
}

@keyframes wcrh-qty-pulse {
  0%, 100% { background: var(--wcrh-white); }
  50%       { background: #fff3cd; }
}
