/**
 * Leonardo AI Shirt Configurator - Layer Type Styles
 * Frontend styles for the AI Image layer type
 */

/* Hide native WPC layer type container */
.wpc-layer-type-ai_image {
	display: none !important;
}

/* Main AI Layer Wrapper */
.lasc-ai-layer-wrapper {
	position: relative;
}

/* Style Selection - Active State */
li.lasc-style-item {
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 10px;
	border-radius: 8px;
	background: #f8f9fa;
	border: 2px solid transparent;
}

li.lasc-style-item .lasc-style-thumbnail {
	width: 60px;
	height: 60px;
	margin-bottom: 8px;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e0e0e0;
}

li.lasc-style-item .lasc-style-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

li.lasc-style-item .lasc-style-thumbnail .dashicons {
	font-size: 30px;
	color: #999;
}

li.lasc-style-item .lasc-style-name {
	font-size: 12px;
	font-weight: 500;
	color: #333;
	line-height: 1.2;
}

li.lasc-style-item.selected {
	box-shadow: 0 0 0 3px rgba(0,0,0,0.2);
	background-color: rgba(0,0,0,0.05);
	border-radius: 0;
}

li.lasc-style-item:hover {
	opacity: 0.8;
}

/* AI Controls Container - Modernized Design */
.lasc-ai-controls {
	position: fixed;
	bottom: 110px; /* Position above native configuration bar */
	left: 0;
	right: 0;
	background: linear-gradient(to bottom, #ffffff, #f8f9fa);
	border-top: 2px solid #e1e4e8;
	box-shadow: 0 -5px 20px rgba(0,0,0,0.12);
	z-index: 9998;
	animation: slideUp 0.3s ease;
	padding: 20px 25px;
}

/* Ensure controls are hidden initially */
.lasc-ai-controls[style*="display:none"],
.lasc-ai-controls[style*="display: none"] {
	display: none !important;
}

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

/* Inner container for controls layout */
.lasc-controls-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 30px;
	position: relative;
}

/* Left Section - Prompt and Buttons */
.lasc-controls-left {
	flex: 0 0 auto;
	min-width: 350px;
}

.lasc-prompt-section {
	margin-bottom: 10px;
}

/* Credits Display - Modernized */
.lasc-controls-left .lasc-credits-display {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	/*background: rgba(0, 0, 0, 0.05);*/
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.lasc-controls-left .lasc-credits-value {
	font-size: 15px;
	font-weight: 700;
	color: #000;
	background: white;
	padding: 2px 8px;
	border-radius: 12px;
}

.lasc-controls-left .lasc-credits-label {
	color: #666;
	font-size: 13px;
}

.lasc-prompt-label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 5px;
	color: #333;
}

.lasc-prompt-row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.lasc-prompt-input {
	flex: 1;
	min-height: 60px;
	max-height: 80px;
	padding: 12px 14px;
	border: 2px solid #e1e4e8;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
	transition: all 0.3s ease;
	width: 320px;
	background: white;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.lasc-prompt-input:focus {
	outline: none;
	border-color: #000;
	box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

.lasc-prompt-input::placeholder {
	color: #999;
	font-size: 13px;
	font-style: italic;
}

/* Generate Button - Premium Design */
.lasc-generate-btn {
	padding: 0 24px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	position: relative;
	overflow: hidden;
}

.lasc-generate-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
	transition: left 0.5s ease;
}

.lasc-generate-btn:hover:not(:disabled)::before {
	left: 100%;
}

.lasc-generate-btn:hover:not(:disabled) {
	background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.lasc-generate-btn:active:not(:disabled) {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.lasc-generate-btn:disabled {
	background: linear-gradient(135deg, #d0d0d0 0%, #e0e0e0 100%);
	color: #999;
	cursor: not-allowed;
	box-shadow: none;
}

/* Inspiration Button - Modern Style */
.lasc-inspiration-btn {
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	text-transform: none;
	background: white;
	color: #333;
	border: 2px solid #e1e4e8;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.lasc-inspiration-btn::before {
	content: '💡';
	font-size: 16px;
}

.lasc-inspiration-btn:hover {
	background: #f8f9fa;
	border-color: #000;
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Center Section - Now just spacer */
.lasc-controls-center {
	flex: 0 0 auto;
	width: 50px;
}

/* Right Section - Generated Images */
.lasc-controls-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: relative;
	padding-right: 40px;
}

.lasc-results-label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #333;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Buy Credits and Login Buttons */
.lasc-buy-credits-btn,
.lasc-login-btn {
	margin-left: 10px;
	padding: 4px 12px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 12px;
	transition: all 0.3s ease;
	display: inline-block;
}

.lasc-buy-credits-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff !important;
	border: none;
	box-shadow: 0 2px 6px rgba(102,126,234,0.25);
}

.lasc-buy-credits-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(102,126,234,0.35);
	text-decoration: none;
}

.lasc-login-btn {
	background: #6c757d;
	color: #fff !important;
	border: none;
}

.lasc-login-btn:hover {
	background: #5a6268;
	transform: translateY(-1px);
	text-decoration: none;
}

/* Guest Mode - Simplified */
.lasc-guest-mode .lasc-prompt-input:disabled {
	background: #f5f5f5;
	cursor: not-allowed;
	opacity: 0.7;
}

.lasc-guest-mode .lasc-generate-btn:disabled {
	background: linear-gradient(135deg, #d0d0d0 0%, #e0e0e0 100%);
	color: #999;
	cursor: not-allowed;
	box-shadow: none;
	opacity: 1;
}

.lasc-guest-mode .lasc-generate-btn:disabled::before {
	display: none;
}

.lasc-guest-mode .lasc-inspiration-btn:disabled {
	background: #f0f0f0;
	color: #999;
	cursor: not-allowed;
	opacity: 0.7;
	border-color: #ddd;
}

.lasc-guest-mode .lasc-inspiration-btn:disabled::before {
	opacity: 0.5;
}

/* Remove old overlay styles since we're not using overlay anymore */

.lasc-results-grid {
	display: flex;
	gap: 12px;
	align-items: center;
	overflow-x: auto;
	overflow-y: hidden;
	max-width: 500px; /* Increased to accommodate larger thumbnails */
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

.lasc-results-grid::-webkit-scrollbar {
	display: none;
}

/* Generated Image Thumbnails - Premium Look */
.lasc-result-image {
	width: 100px;
	height: 100px;
	border: 2px solid #e1e4e8;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s ease;
	flex-shrink: 0;
	background: white;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	position: relative;
}

.lasc-result-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lasc-result-image:hover {
	border-color: #000;
	transform: scale(1.08) rotate(1deg);
	z-index: 2;
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.lasc-result-image.selected {
	border-color: #000;
	border-width: 3px;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.15);
	transform: scale(1.05);
}

.lasc-result-image.selected::after {
	content: '✓';
	position: absolute;
	top: 5px;
	right: 5px;
	background: #000;
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
}

/* Navigation Arrows */
.lasc-results-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 60px;
	background: #f5f5f5;
	border: 1px solid #ddd;
	cursor: pointer;
	user-select: none;
	font-size: 18px;
	color: #666;
}

.lasc-results-nav:hover {
	background: #000;
	color: white;
	border-color: #000;
}

/* Close Button - Modern Style */
.lasc-close-controls {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 30px;
	height: 30px;
	background: white;
	border: 1px solid #e1e4e8;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.lasc-close-controls:hover {
	background: #000;
	color: white;
	border-color: #000;
	transform: rotate(90deg);
}

/* Inspiration Modal */
.lasc-inspiration-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.lasc-inspiration-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
	z-index: -1;
}

.lasc-inspiration-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	border-radius: 12px;
	max-width: 800px;
	width: 90%;
	max-height: 80vh;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	animation: slideUpModal 0.3s ease;
}

@keyframes slideUpModal {
	from {
		opacity: 0;
		transform: translate(-50%, -45%);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.lasc-inspiration-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 25px;
	border-bottom: 1px solid #e0e0e0;
}

.lasc-inspiration-modal-header h3 {
	margin: 0;
	font-size: 22px;
	color: #333;
	font-weight: 600;
}

.lasc-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
}

.lasc-modal-close:hover {
	color: #333;
}

.lasc-inspiration-modal-body {
	padding: 25px;
	overflow-y: auto;
	flex: 1;
}

.lasc-inspiration-modal-body > p {
	margin: 0 0 20px 0;
	color: #666;
	font-size: 14px;
}

.lasc-inspiration-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 15px;
}

.lasc-inspiration-item {
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s ease;
	background: white;
}

.lasc-inspiration-item:hover {
	border-color: #7c3aed;
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
	transform: translateY(-2px);
}

.lasc-inspiration-image {
	width: 100%;
	height: 140px;
	background: #f8f9fa;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lasc-inspiration-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Fallback for missing images */
.lasc-inspiration-image:not(:has(img[src]:not([src=""]))) {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: relative;
}

.lasc-inspiration-image:not(:has(img[src]:not([src=""]))):after {
	content: '💡';
	font-size: 48px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.lasc-inspiration-text {
	padding: 10px;
	font-size: 13px;
	color: #333;
	line-height: 1.4;
	min-height: 50px;
	display: flex;
	align-items: center;
}

.lasc-no-inspirations {
	text-align: center;
	padding: 40px 20px;
	color: #666;
	background: #f8f9fa;
	border-radius: 8px;
	margin: 20px 0;
}

.lasc-no-inspirations p {
	margin: 0 0 10px 0;
}

.lasc-no-inspirations p:last-child {
	margin: 0;
	color: #999;
	font-size: 12px;
}

/* Legacy styles for backward compatibility */
.lasc-inspiration-content {
	background: white;
	border-radius: 8px;
	padding: 30px;
	max-width: 600px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
}

.lasc-inspiration-content h3 {
	margin: 0 0 15px 0;
	font-size: 24px;
	color: #333;
}

.lasc-inspiration-prompts {
	display: grid;
	gap: 10px;
	margin-bottom: 20px;
}

.lasc-inspiration-prompt {
	padding: 12px;
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
}

.lasc-inspiration-prompt:hover {
	background: #000;
	color: white;
	transform: translateX(5px);
}

.lasc-close-inspiration {
	width: 100%;
	padding: 10px;
	background: #000;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-transform: uppercase;
}

.lasc-close-inspiration:hover {
	background: #333;
}

/* Messages */
.lasc-success-message,
.lasc-error-message {
	position: absolute;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	padding: 8px 16px;
	border-radius: 4px;
	font-size: 13px;
	white-space: nowrap;
	animation: fadeInOut 3s ease;
}

@keyframes fadeInOut {
	0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
	20% { opacity: 1; transform: translateX(-50%) translateY(0); }
	80% { opacity: 1; transform: translateX(-50%) translateY(0); }
	100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

.lasc-success-message {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.lasc-error-message {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Loading State */
.lasc-loading {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s ease-in-out infinite;
	margin-left: 8px;
}

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

/* Mobile Tab Headers - Hidden on Desktop */
.lasc-mobile-tabs {
	display: none;
}

/* Empty State for Results */
.lasc-results-empty {
	display: none;
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-size: 14px;
	min-height: 150px;
	align-items: center;
	justify-content: center;
}

/* Desktop - ensure tabs are not shown and both sections visible */
@media (min-width: 769px) {
	.lasc-mobile-tabs {
		display: none !important;
	}
	
	.lasc-mobile-close {
		display: none !important;
	}
	
	.lasc-tab-content {
		display: block !important;
	}
	
	/* Ensure normal flex layout on desktop */
	.lasc-controls-left,
	.lasc-controls-right {
		display: block !important;
	}
}

.lasc-results-empty p {
	margin: 0;
	font-style: italic;
}

/* Show empty state when no images */
.lasc-results-grid:empty + .lasc-results-empty {
	display: flex;
}

/* Hide empty state when images exist */
.lasc-results-grid:not(:empty) + .lasc-results-empty {
	display: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	/* Show tab headers on mobile */
	.lasc-mobile-tabs {
		display: flex;
		border-bottom: 1px solid #e1e4e8;
		margin: -20px -20px 20px;
		padding: 0;
		background: white;
		position: relative;
	}
	
	.lasc-tab-btn {
		flex: 1;
		padding: 15px 10px;
		background: transparent;
		border: none;
		border-bottom: 3px solid transparent;
		font-size: 14px;
		font-weight: 600;
		color: #666;
		cursor: pointer;
		transition: all 0.3s ease;
		text-transform: uppercase;
		letter-spacing: 0.5px;
	}
	
	.lasc-tab-btn.active {
		color: #000;
		border-bottom-color: #000;
		background: rgba(0, 0, 0, 0.03);
	}
	
	.lasc-tab-btn:not(.active):hover {
		background: rgba(0, 0, 0, 0.05);
	}
	
	/* Mobile close button in tab header */
	.lasc-mobile-close {
		position: absolute;
		top: 50%;
		right: 10px;
		transform: translateY(-50%);
		background: white;
		border: 1px solid #e1e4e8;
		border-radius: 50%;
		width: 28px;
		height: 28px;
		font-size: 18px;
		line-height: 1;
		color: #666;
		cursor: pointer;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s ease;
		z-index: 10;
	}
	
	.lasc-mobile-close:hover {
		background: #000;
		color: white;
		border-color: #000;
		transform: translateY(-50%) rotate(90deg);
	}
	
	/* Tab Content Management */
	.lasc-tab-content {
		display: none;
	}
	
	.lasc-tab-content.active {
		display: block;
		animation: fadeInTab 0.3s ease;
	}
	
	@keyframes fadeInTab {
		from {
			opacity: 0;
			transform: translateY(10px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	.lasc-ai-controls {
		bottom: 105px;
		padding: 20px;
		max-height: 70vh;
		overflow-y: auto;
	}
	
	.lasc-controls-inner {
		flex-direction: column;
		gap: 10px;
		overflow-x: visible;
	}
	
	.lasc-controls-left {
		min-width: 100%;
		width: 100%;
		align-items: center;
	}
	
	.lasc-results-label {
		text-align: center;
		margin-bottom: 15px;
		font-size: 16px;
	}
	
	.lasc-controls-left .lasc-credits-display {
		text-align: center;
		margin-bottom: 10px;
		justify-content: center;
	}
	
	.lasc-prompt-input {
		width: 100%;
		max-width: 100%;
	}
	
	.lasc-prompt-row {
		flex-direction: column;
		gap: 10px;
	}
	
	.lasc-generate-btn {
		width: 100%;
		min-height: 45px;
		font-size: 16px;
	}
	
	.lasc-controls-center {
		display: none; /* Hide spacer on mobile */
	}
	
	.lasc-controls-right {
		width: 100%;
		padding-right: 0;
		align-items: center;
		min-height: 200px;
	}
	
	.lasc-results-grid {
		flex-wrap: wrap;
		justify-content: center;
		max-width: 100%;
		gap: 10px;
	}
	
	.lasc-result-image {
		width: 80px;
		height: 80px;
	}
	
	/* Hide desktop close button on mobile since we have mobile close in tab header */
	.lasc-close-controls {
		display: none !important;
	}
	
	.lasc-inspiration-btn {
		width: 100%;
		padding: 10px 15px;
		font-size: 14px;
		border: 2px solid #e1e4e8;
		border-radius: 8px;
		margin-top: 10px;
	}
	
	.lasc-prompt-label {
		text-align: center;
		font-size: 16px;
		margin-bottom: 10px;
	}
	
	/* Adjust results empty state for mobile */
	.lasc-results-empty {
		min-height: 120px;
		padding: 30px 20px;
	}
}

/* Integration with WP Configurator Pro */
.wpc-controls-wrapper {
	margin-bottom: 140px; /* Make room for AI controls */
}

/* Empty state for results */
.lasc-results-grid:empty::before {
	content: 'No images generated yet';
	color: #999;
	font-style: italic;
	font-size: 13px;
	padding: 20px;
	display: block;
}

/* Placeholder circles for empty slots */
.lasc-result-placeholder {
	width: 60px;
	height: 60px;
	border: 2px dashed #ddd;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ddd;
	font-size: 24px;
	flex-shrink: 0;
}

/* Apply button */
.lasc-apply-btn {
	margin-top: 15px;
	width: 100%;
	max-width: 280px;
	padding: 12px 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.lasc-apply-btn:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.lasc-apply-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.lasc-apply-btn.lasc-apply-success {
	background: linear-gradient(135deg, #28a745 0%, #218838 100%);
	box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.lasc-apply-btn .lasc-btn-icon {
	font-size: 18px;
}

/* Mobile Responsive for Inspiration Modal */
@media (max-width: 768px) {
	.lasc-inspiration-modal-content {
		max-width: 95%;
		max-height: 90vh;
	}
	
	.lasc-inspiration-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 10px;
	}
	
	.lasc-inspiration-image {
		height: 100px;
	}
	
	.lasc-inspiration-text {
		font-size: 12px;
		min-height: 40px;
	}
}
