.product-customization form 
.proebo-field:nth-last-child(2) {
  display: none;
}

.proebo-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #2e7d32;
  border-radius: 50%;
  animation: proeboSpin 0.8s linear infinite;
}

@keyframes proeboSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#product-images .carousel-item {
  position: relative;
}

.proebo-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(3px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 5; /* pas besoin de 9999 ici */
  border-radius: 12px;
}

.proebo-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.proebo-img-overlay-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}
	
.proebo-loader-visual {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(#2e7d32 0%, #2e7d32 25%, #ddd 25%);
  animation: proeboPulse 1.2s ease-in-out infinite;
}

@keyframes proeboPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.proebo-loader-text {
  font-size: 14px;
  color: #333;
  text-align: center;
}

#proebo-perso-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 0;
  width: 360px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  
  max-height: 500px;

  background: #fff;
  border-radius: 16px;

  overflow: hidden;

  z-index: 9999;
  transition: all 0.25s ease;
}

.proebo-panel-header {
  padding: 14px 16px;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f7f6;
}

.proebo-panel-header:hover {
  background: #f5f5f5;
}

.proebo-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.proebo-panel-toggle {
  font-size: 22px;
  transition: transform 0.2s ease;
  transform: rotate(180deg);
}

.proebo-panel-title .material-icons {
  font-size: 18px;
  color: #5ba64c;
}

#proebo-perso-panel:not(.collapsed) .proebo-panel-toggle {
  transform: rotate(0deg);
}

/* BODY scrollable */
.proebo-panel-body {
  overflow-y: auto;
  max-height: 350px;
}

/* 🔥 COLLAPSE */
#proebo-perso-panel.collapsed .proebo-panel-body {
  display: none;
}

.proebo-panel-list {
  max-height: 300px;
  overflow-y: auto;
}

.proebo-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.proebo-item-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.proebo-item-loader {
  background: linear-gradient(90deg,#eee,#ddd,#eee);
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% { background-position: -100px 0; }
  100% { background-position: 100px 0; }
}

.proebo-item-title {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.proebo-item-sub {
  font-size: 11px;
  color: #777;
}

.proebo-icon {
  font-size: 16px;
  color: #5ba64c;
}

.just-done {
	animation: pulse 0.6s ease;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

.proebo-toast {
  position: fixed;
  margin-top: 10px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999999;
  pointer-events: auto;
}

.proebo-toast * {
  pointer-events: auto;
}

.proebo-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.proebo-toast-inner {
  display: flex;
  gap: 12px;
  padding: 12px;
  align-items: center;
}

.proebo-toast-loader {
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-top: 2px solid #5ba64c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.proebo-toast-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.proebo-toast-title {
  font-weight: 700;
  font-size: 14px;
}

.proebo-icon {
  font-size: 18px;
  margin-right: 6px;
  vertical-align: middle;
  color: #5ba64c;
}

.proebo-toast-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.proebo-toast-text {
  font-size: 12px;
  color: #666;
  margin: 10px 0;
}

.proebo-toast-actions {
  margin-top: 6px;
  display: flex;
  gap: 8px;
}

.proebo-toast-close {
  background: none;
  border: none;
  cursor: pointer;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.proebo-task-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 8px;
}

.proebo-toast {
  transition: all 0.25s ease;
}

.proebo-toast-close {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
}

.proebo-toast-close:hover {
  opacity: 1;
}

.proebo-toast-close {
  position: absolute;
  top: 6px;
  right: 8px;
}