/* Stylists Moodboards module styles */

/* =====================================================
   Products list
   ===================================================== */

/* Add to Moodboard button */
.js-product-miniature .stylists-moodboard-button {
	position: absolute;
	right: 15px;
	top: 55px;
}

.js-product-miniature .product-add-to-moodboard {
	opacity: 0;
	transition: all 0.3s ease-in-out;
}

.js-product-miniature:hover .product-add-to-moodboard {
	opacity: 1;
}

.js-product-miniature .product-add-to-moodboard .js-add-to-moodboard {
	padding: 10px;
	border-radius: 50px;
	width: 34px;
	height: 34px;
	line-height: 12px;
}

.js-product-miniature .product-add-to-moodboard .js-add-to-moodboard .material-icons {
	font-size: 12px;
}

/* Modal */
#stylist-moodboard-modal {
	color: #000;
}

#stylist-moodboard-modal .modal-title {
	font-weight: 300;
	text-transform: uppercase;
}

#stylist-moodboard-modal .modal-body ul li label {
	margin-bottom: 0;
}

/* =====================================================
   Stylist listing and profile page
   ===================================================== */

/* listing */
.stylist-card h3 {
	margin-top: 10px;
	font-size: 1.2em;
}

.stylist-card p {
	color: #666;
	font-size: 0.9em;
}

/* Details page */
#stylist-profile {
	padding-top: 10px;
	padding-bottom: 10px;
}

.stylist-media-static {
	display: flex;
}

.stylist-media-static img {
	flex: 1;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.stylist-header {
	position: relative;
	z-index: 1;
	margin-top: -60px;
	/*padding: 15px 15px 15px 0;*/
}

.stylist-header .col-profile-second {
	background: #fff;
	padding: 30px;
	border-radius: 30px;
}

.stylist-header .stylist-photo {
	max-width: 100%;
	border-radius: 50%;
	border: 5px solid #fff;
}

.stylist-header h1 {
	padding: 0;
	margin: 0 0 5px 0;
	line-height: 1;
}

/* Stylist Info Section */
.stylist-country {
	margin-bottom: 8px;
	font-size: 0.95em;
	color: #555;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.stylist-country i {
	font-size: 1.2em;
	color: #888;
}

.stylist-tags {
	margin: 15px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.stylist-tag {
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.85em;
	color: #444;
	transition: all 0.2s ease;
}

.stylist-tag:hover {
	background: #eff;
	border-color: #cce;
}

.stylist-badges {
	margin-top: 15px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.stylist-badge {
	position: relative;
	display: inline-block;
}

.stylist-badge img {
	max-width: 45px;
	height: auto;
	transition: transform 0.2s;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.stylist-badge:hover img {
	transform: scale(1.1);
}

.stylist-badge .badge-name {
	font-size: 0.8em;
	background: #f0f0f0;
	padding: 2px 5px;
	border-radius: 4px;
}

@media (max-width: 992px) {
	.hidden-mobile {
		display: none;
	}
}

@media (min-width: 993px) {
	.hidden-desktop {
		display: none;
	}
}

@media (max-width: 767px) {
	.stylist-header .col-profile-second {
		padding: 30px 0;
	}
}

/* =====================================================
   Profile Page – Moodboard Cards (2 per row)
   ===================================================== */

/* Spacing between cards */
.moodboards-grid {
}

.moodboard-card {
	padding: 2rem 2rem 5rem 2rem;
}

.moodboard-products .moodboard-product-cell {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}
.moodboard-products .moodboard-product-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}
.moodboard-products .moodboard-product-cell:hover img {
	transform: scale(1.06);
}
.moodboard-products .moodboard-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 60px;
}
.moodboard-products .moodboard-no-image span {
	color: #ccc;
	font-size: 36px;
}

.moodboard-info {
	gap: 8px;
}
.moodboard-info .moodboard-name {
	font-weight: 400;
	color: var( --e-global-color-69c11ed );
}
.moodboard-info .moodboard-name:hover {
	color: var( --e-global-color-primary );
}
.moodboard-info .moodboard-add-to-cart {
	transition: all .3s !important;
}

.modal-body > .row {
	display: flex;
}
.moodboard-modal .modal-content {
	background: #ffffff;
}
.moodboard-modal .modal-header {
	position: absolute;
	right: 0;
	z-index: 10;
}
.moodboard-modal .elementor-swiper-button svg {
	fill: rgba(0,0,0,.8) !important;
}
.moodboard-modal .elementor-swiper-button::after {
	display: none;
}
.moodboard-modal .swiper-pagination-bullet-active {
	opacity: .5;
}
.moodboard-modal .moodboard-product-name {
	font-size: 1.3rem;
	font-weight: 600;
	text-transform: uppercase;
}
.moodboard-modal .moodboard-product-price {
	font-family: "Switzer Var", Sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2em;
}
.moodboard-modal hr {
	width: 100%;
	border-top: 1px solid #f2f2f2;
}
.moodboard-modal .moodboard-btn-view-product {
	margin-top: auto;
	transition: all .3s !important;
}

@media (max-width: 767px) {
	.moodboard-card {
		padding: 2rem 0 5rem 0;
	}
	.modal-body > .row {
		flex-direction: column;
	}
}


/* =====================================================
   Moodboard Create and edit page
   ===================================================== */

.mb-section {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 16px 20px 8px;
	margin-bottom: 20px;
}

.mb-section legend {
	font-size: 0.9em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #555;
	padding: 0 8px;
	width: auto;
}

.mb-price-info {
	gap: 10px;
	margin-bottom: 20px;
}

.mb-price-info__value {
	font-size: 1.1em;
	font-weight: 700;
	color: #222;
}

/* =====================================================
   Moodboard Product Cards Grid
   ===================================================== */
.mb-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 12px;
}

@media (max-width: 992px) {
	.mb-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.mb-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.mb-product-grid__empty {
	font-style: italic;
	color: #999;
	margin-top: 8px;
}

.mb-product-card {
	position: relative;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease;
}

.mb-product-card:hover {
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.mb-product-card__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.mb-product-card__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.mb-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.mb-product-card:hover .mb-product-card__image img {
	transform: scale(1.04);
}

.mb-product-card__no-image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mb-product-card__no-image .material-icons {
	color: #ccc;
	font-size: 36px;
}

.mb-product-card__body {
	padding: 8px 10px 4px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mb-product-card__name {
	color: var( --e-global-color-69c11ed );
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mb-product-card__combination {
	color: #777;
}

.mb-product-card__price {
}

.mb-product-card__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 8px;
	border-top: 1px solid #f0f0f0;
	background: #fafafa;
	gap: 6px;
}

.mb-product-card__actions .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	line-height: 1;
}

.mb-product-card__actions .material-icons {
	font-size: 14px;
}

.mb-product-card__remove {
	flex-shrink: 0;
}

/* =====================================================
   Moodboard Edit – Drag-and-drop handle & states
   ===================================================== */
.mb-drag-handle {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 0 2px;
	color: #bbb;
	cursor: grab;
	transition: color 0.15s ease;
}

.mb-drag-handle:active {
	cursor: grabbing;
}

.mb-drag-handle .material-icons {
	font-size: 18px;
	line-height: 1;
}

.mb-drag-handle:hover {
	color: #888;
}

/* Ghost (placeholder) card while dragging */
.mb-product-card--ghost {
	opacity: 0.35;
	border: 2px dashed #aaa;
	background: #f5f5f5;
}

/* The card being dragged */
.mb-product-card--drag {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	transform: rotate(1.5deg);
}

/* Chosen (mousedown, before drag starts) */
.mb-product-card--chosen {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}