/* --- Barre de filtres horizontale --- */
.shop-filters-row-scroll-container {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
	background: #fff;
	padding: 8px 0 8px 0;
	overflow: visible;
}
.shop-filters-row-list {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	flex: 1 1 auto;
	padding: 0 8px;
}
.shop-filters-row-list::-webkit-scrollbar {
	display: none;
}
.shop-filters-scroll-btn {
	position: relative;
	z-index: 2;
	background: #ede7f6;
	color: #512da8;
	border: none;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	box-shadow: 0 2px 8px rgba(80,0,80,0.08);
	cursor: pointer;
	margin: 0 4px;
	transition: background 0.2s;
}
.shop-filters-scroll-btn:hover {
	background: #d1c4e9;
}

/* --- Chips génériques --- */
.chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 15px;
	border-radius: 12px;
	border: 1.5px solid #ede7f6;
	background: transparent;
	color: #512da8;
	padding: 2px 6px;
	cursor: pointer;
	transition: background 0.2s, border 0.2s, color 0.2s;
	user-select: none;
    overflow: hidden; 
	white-space: nowrap;
}
.chip:active, .chip.active {
	background: #ede7f6;
	border-color: #512da8;
}
.chip .chip-icon-img {
	width: 20px;
	height: 20px;
	border-radius: 8px;
	object-fit: cover;
}

/* --- Chip: Filtre (modal) --- */
.filter-chip {
	background: #512da8;
	color: #fff;
	border-radius: 8px;
	padding: 2px 8px;
	font-size: 17px;
	border: none;
	box-shadow: 0 2px 8px rgba(80,0,80,0.08);
}
.filter-chip:active, .filter-chip:focus {
	background: #311b92;
}

/* --- Chip: Dropdowns génériques --- */
.dropdown-chip {
	border: 1.5px solid #512da8;
	color: #512da8;
	background: #faf7ff;
	border-radius: 12px;
	padding: 2px 10px;
	position: relative;
}
.dropdown-chip:active, .dropdown-chip.active {
	background: #ede7f6;
	border-color: #512da8;
}

/* --- Chip: Notes (or) --- */
.notes-chip {
	border: 1.5px solid #ffd700;
	color: #bfa100;
	background: rgba(255,215,0,0.12);
}
.notes-chip .fa-star {
	color: #ffd700;
}
.notes-chip:active, .notes-chip.active {
	background: rgba(255,215,0,0.22);
	border-color: #ffd700;
}

/* --- Chip: Livraison gratuite (vert) --- */
.delivery-chip {
	border: 1.5px solid #43a047;
	color: #388e3c;
	background: rgba(67,160,71,0.12);
	border-radius: 12px;
}
.delivery-chip.active, .delivery-chip[aria-pressed="true"] {
	background: rgba(67,160,71,0.22);
	border-color: #43a047;
}
.delivery-chip .check-icon {
	color: #43a047;
	display: none;
}
.delivery-chip.active .check-icon, .delivery-chip[aria-pressed="true"] .check-icon {
	display: inline;
}

/* --- Chip: En promotion (rouge) --- */
.promo-chip {
	border: 1.5px solid #d90429;
	color: #d90429;
	background: rgba(217,4,41,0.12);
	border-radius: 12px;
}
.promo-chip.active, .promo-chip[aria-pressed="true"] {
	background: rgba(217,4,41,0.22);
	border-color: #d90429;
}
.promo-chip .check-icon {
	color: #d90429;
	display: none;
}
.promo-chip.active .check-icon, .promo-chip[aria-pressed="true"] .check-icon {
	display: inline;
}

/* --- Chip: Original PCA (deeppurple) --- */
.pca-chip {
	border: 1.5px solid #512da8;
	color: #512da8;
	background: rgba(81,45,168,0.12);
	border-radius: 12px;
}
.pca-chip.active, .pca-chip[aria-pressed="true"] {
	background: rgba(81,45,168,0.22);
	border-color: #512da8;
}
.pca-chip .check-icon {
	color: #512da8;
	display: none;
}
.pca-chip.active .check-icon, .pca-chip[aria-pressed="true"] .check-icon {
	display: inline;
}

/* --- Modal filtre --- */
.shop-filters-modal {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(40,0,80,0.18);
	z-index: 1002;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
}
.shop-filters-modal-content {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 8px 32px rgba(80,0,80,0.18);
	min-width: 320px;
	max-width: 95vw;
	padding: 24px 20px 20px 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.modal-title {
	font-size: 20px;
	font-weight: 600;
	color: #512da8;
	display: flex;
	align-items: center;
	gap: 8px;
}
.modal-close {
	background: none;
	border: none;
	color: #888;
	font-size: 22px;
	cursor: pointer;
	border-radius: 50%;
	padding: 4px;
	transition: background 0.2s;
}
.modal-close:hover {
	background: #ede7f6;
	color: #512da8;
}
.modal-body {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.modal-input-row {
	display: flex;
	align-items: center;
	background: #faf7ff;
	border: 1.5px solid #512da8;
	border-radius: 12px;
	padding: 2px 10px;
	gap: 6px;
}
.modal-input-row .input-prefix {
	color: #888;
	font-size: 17px;
}
.modal-keyword-input {
	border: none;
	outline: none;
	background: transparent;
	color: #444;
	font-size: 16px;
	flex: 1 1 auto;
	padding: 6px 0;
}
.modal-input-row .input-suffix {
	color: #888;
	font-size: 17px;
	cursor: pointer;
	display: flex;
	align-items: center;
}
