

.lO-configurator { 
	display: flex; 
	flex-direction: column;
	height: auto; 
	background: #fff; 
	overflow: hidden;
	border: 1px solid var(--color-black);
	border-radius: 10px;
	
	}

.config-panel { width: 100%; height: auto; }



@media (min-width: 768px) {
	.lO-configurator {
		flex-direction: row;
	}
	.config-panel { 
	width: 450px!important; 
	border-left: 1px solid #eee; 
	position: relative; 
	overflow: hidden; }
	
	.config-panel { width: 100%; height: 60vh; }
}





.sticky-image{
	width:100%;
	height:100%;
	position: relative;
}



.title-display{
	position: absolute;
	left:var(--spacing-sm);
	top:var(--spacing-sm);
	right:var(--spacing-sm);
	height:auto;
	
	
}


.atelier-back-btn {
    padding: var(--spacing-sm);
    padding-bottom: var(--spacing-md);
	cursor: pointer;
	color: var(--color-black); 
    font-family: var(--font-family-main); 
	font-size: var(--font-size-md);	
	line-height: var(--font-line-height-md);
    width: 100%; 
    text-align: left;
    border: none;
    background-color: transparent;
}

.atelier-back-btn .atelier-back-btn-ico{
  display: inline-flex;

  border-radius: 50%;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 42px;
  line-height: 48px;
  margin-right: 5px;
  margin-top: 0px;
  background-color: transparent;
  color: #000000;
  border-style: solid;
  border-width: 1px;
  border-color: #000000;
}




.icon-svg-render {
    width: 40px; 
    height: auto;
    display: block;
}

/* Taille des petites icônes dans le menu */
[id^="summary-ico-"] img {
    max-width: 50px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.1)); /* Optionnel: légère ombre */
}

/* Spinner de chargement */
.spinner-small {
    width: 30px; height: 30px;
    border: 3px solid #f3f3f3; border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }





.ico-menu{
	
	height:65px;
	width:65px;
}

.preview-section { flex: 1; display: flex; justify-content: center; align-items: center; background: #f5f5f5; }


.panel-slider { display: flex; width: 100%; transition: transform 0.4s ease; height: 100%; }

.menu-pane { 
	min-width: 100%; 
	padding: var(--spacing-md); 
	box-sizing: border-box; 
	overflow-y: auto;
	
	}

/* Menu Principal Items */
.menu-item { 
	position: relative;
    display: flex; align-items: center; padding: 20px 0; border-bottom: 1px solid #eee; cursor: pointer; 
}
.menu-icon { width: 50px; height: 50px; border-radius: 4px; margin-right: 15px; object-fit: cover; }
.label-title { 
	display: block; 
	}
.current-selection { font-size: 12px; color: #888; margin-top: 4px; display: block; }

/* Cartes de Tissus */
.material-card { 
	border: 1px solid #eee; 
	margin-bottom: 15px; 
	border-radius: 4px; 
	overflow: hidden; 
	box-shadow: 0.1em 0.1em 0.14em 0 var(--color-gray-400);
	}
	
.card-main-info { display: flex; padding: 15px; cursor: pointer; }
.card-main-info:hover { background: #fafafa; }
.swatch-img { 
	width: 80px; height: 80px; 
	object-fit: cover; 
	border-radius: 5px;
	margin-right: 15px; 
	
	}
.sample-btn { 
    width: 100%; border: none; border-top: 1px solid #eee; background: #fff; 
    padding: 10px; font-size: 11px; cursor: pointer; transition: 0.2s;
}
.sample-btn:hover { background: #000; color: #fff; }



.arrow-right{
	position: absolute;
	right:30px;
}

.ajax-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000;
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ajax-notification.fade-out {
    opacity: 0;
    transition: opacity 0.5s;
}

.config-title {
    margin-bottom: 30px;
}

.menu-item {
    transition: background 0.2s;
    border-radius: 4px;
    padding: 15px 10px;
}

.menu-item:hover { background: #f9f9f9; }




.fab-id-label {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
}

.sample-btn {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    color: #666;
}

/* Badge Stock Faible */
.stock-low-badge {
    background: #fff0f0;
    color: #d32f2f;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #ffcdd2;
    margin-left: 10px;
}

/* Structure de la carte matériel */
.mat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.fab-id {
    font-size: 14px;
    letter-spacing: 1px;
}

.mat-desc {
    font-size: 11px;
    color: #666;
    margin: 5px 0;
    font-style: italic;
    line-height: 1.4;
}

/* Badge de Catégorie */
.fab-cat-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.cat-A { background: #f5f5f5; color: #333; }
.cat-B { background: #597f8f; color: #ffffff; }
.cat-C { background: #f1eb9c; color: #333; }


/* Conteneur du Toast */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* Style de la bulle */
.toast-lO {
    background: #000;
    color: #fff;
    font-family: "RiformaLLWeb-Medium", Helvetica, Arial, sans-serif;
    padding: 12px 20px;
    margin-top: 10px;
    border: 1px solid #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Animation d'apparition */
.toast-lO.show {
    opacity: 1;
    transform: translateY(0);
}





