/* MixCar Modal & Product Details Styles */

/* Product Details Widget */
.mixcar-product-details-wrapper {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.mixcar-product-header {
	display: flex;
	padding: 30px;
	align-items: flex-start;
}

.mixcar-product-info {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.mixcar-product-title {
	font-size: 28px;
	font-weight: 700;
	color: #333;
	margin: 0;
	line-height: 1.3;
}

.mixcar-product-price-section {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 10px;
	border-left: 4px solid #667eea;
}

.mixcar-price-label {
	font-size: 14px;
	font-weight: 600;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mixcar-price-display {
	display: flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(135deg, #282460 0%, #282460 100%);
	padding: 15px 20px;
	border-radius: 8px;
	width: fit-content;
}

.mixcar-currency-icon {
	height: 28px;
	width: auto;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.mixcar-product-price {
	font-size: 28px;
	font-weight: 700;
	color: #fff;
}

.mixcar-price-disclaimer {
	background: #fff;
	border-left: 4px solid #f5576c;
	padding: 12px 15px;
	border-radius: 6px;
	margin-top: 10px;
}

.mixcar-price-disclaimer p {
	margin: 0;
	font-size: 12px;
	color: #666;
	line-height: 1.5;
}

/* Specifications */
.product-specifications {
	padding: 30px;
	border-top: 1px solid #e0e0e0;
	background: #f8f9fa;
}

.product-specifications h3 {
	margin: 0 0 20px 0;
	font-size: 20px;
	font-weight: 700;
	color: #333;
}

.specs-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.spec-group {
	background: #fff;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.spec-category {
	font-size: 14px;
	font-weight: 700;
	color: #667eea;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 12px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #667eea;
}

.spec-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.spec-item {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #e0e0e0;
	font-size: 13px;
}

.spec-item:last-child {
	border-bottom: none;
}

.spec-name {
	font-weight: 600;
	color: #333;
}

.spec-value {
	color: #666;
	text-align: right;
}

/* Action Buttons */
.product-actions {
	padding: 30px;
	border-top: 1px solid #e0e0e0;
	background: #fff;
}

.product-actions h3 {
	margin: 0 0 20px 0;
	font-size: 18px;
	font-weight: 700;
	color: #333;
	text-align: center;
}

.action-buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	justify-content: center;
}

.product-actions[data-layout="vertical"] .action-buttons {
	flex-direction: column;
}

.product-actions[data-layout="grid"] .action-buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 30px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	flex: 1;
	min-width: 150px;
}

.btn i {
	font-size: 18px;
}

.btn-buy-online {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.btn-buy-online:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-financing {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: #fff;
}

.btn-financing:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

.btn-test-drive {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	color: #fff;
}

.btn-test-drive:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

/* Modal Styles */
.mixcar-modal-container {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.mixcar-modal-container.active {
	display: flex;
}

.mixcar-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.mixcar-modal-content {
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
	max-height: 90vh;
	overflow-y: auto;
	animation: modalSlideIn 0.3s ease;
}

.mixcar-modal-container[data-width="small"] .mixcar-modal-content {
	width: 90%;
	max-width: 400px;
}

.mixcar-modal-container[data-width="medium"] .mixcar-modal-content {
	width: 90%;
	max-width: 600px;
}

.mixcar-modal-container[data-width="large"] .mixcar-modal-content {
	width: 90%;
	max-width: 800px;
}

.mixcar-modal-container[data-width="full"] .mixcar-modal-content {
	width: 95%;
	max-width: 100%;
}

/* Modal Animations */
.mixcar-modal-container[data-animation="fade"] .mixcar-modal-content {
	animation: modalFade 0.3s ease;
}

.mixcar-modal-container[data-animation="slide-up"] .mixcar-modal-content {
	animation: modalSlideUp 0.3s ease;
}

.mixcar-modal-container[data-animation="slide-down"] .mixcar-modal-content {
	animation: modalSlideDown 0.3s ease;
}

.mixcar-modal-container[data-animation="zoom"] .mixcar-modal-content {
	animation: modalZoom 0.3s ease;
}

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

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

@keyframes modalSlideDown {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes modalZoom {
	from {
		transform: scale(0.9);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

/* Modal Header */
.mixcar-modal-header {
	padding: 25px 30px;
	border-bottom: 1px solid #e0e0e0;
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.mixcar-modal-title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #333;
}

/* Modal Body */
.mixcar-modal-body {
	padding: 30px;
}

.modal-form-section {
	animation: fadeIn 0.3s ease;
}

.modal-form-section h3 {
	margin: 0 0 20px 0;
	font-size: 20px;
	font-weight: 700;
	color: #333;
}

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

/* Close Button */
.mixcar-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	border: none;
	background: #f0f0f0;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #333;
	transition: all 0.3s ease;
	z-index: 10;
}

.mixcar-modal-close:hover {
	background: #e0e0e0;
	transform: rotate(90deg);
}

/* Social Media Share Section */
.mixcar-social-share-section {
	padding: 40px 30px;
	border-top: 1px solid #e0e0e0;
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.mixcar-social-share-section h3 {
	margin: 0 0 10px 0;
	font-size: 20px;
	font-weight: 700;
	color: #282460;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mixcar-social-share-section::before {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #282460 0%, #667eea 100%);
	margin: 0 auto 20px;
}

.mixcar-social-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
}

.mixcar-social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	color: #fff;
	font-size: 18px;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: none;
	position: relative;
	overflow: hidden;
}

/* Icon Size Variations */
.mixcar-social-buttons[data-size="small"] .mixcar-social-btn {
	width: 40px;
	height: 40px;
	font-size: 16px;
}

.mixcar-social-buttons[data-size="medium"] .mixcar-social-btn {
	width: 50px;
	height: 50px;
	font-size: 20px;
}

.mixcar-social-buttons[data-size="large"] .mixcar-social-btn {
	width: 60px;
	height: 60px;
	font-size: 24px;
}

/* Icon Style Variations */
.mixcar-social-buttons[data-style="flat"] .mixcar-social-btn {
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mixcar-social-buttons[data-style="rounded"] .mixcar-social-btn {
	border-radius: 50%;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mixcar-social-buttons[data-style="square"] .mixcar-social-btn {
	border-radius: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mixcar-social-btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.mixcar-social-btn:hover::before {
	width: 300px;
	height: 300px;
}

.mixcar-social-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mixcar-facebook {
	background: linear-gradient(135deg, #1877f2 0%, #0a66c2 100%);
}

.mixcar-facebook:hover {
	border-color: #1877f2;
}

.mixcar-twitter {
	background: linear-gradient(135deg, #1da1f2 0%, #1a8cd8 100%);
}

.mixcar-twitter:hover {
	border-color: #1da1f2;
}

.mixcar-linkedin {
	background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
}

.mixcar-linkedin:hover {
	border-color: #0a66c2;
}

.mixcar-whatsapp {
	background: linear-gradient(135deg, #25d366 0%, #1fa855 100%);
}

.mixcar-whatsapp:hover {
	border-color: #25d366;
}

.mixcar-email {
	background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
}

.mixcar-email:hover {
	border-color: #ea4335;
}

/* Contact Section */
.mixcar-contact-section {
	padding: 30px;
	border-top: 1px solid #e0e0e0;
	background: linear-gradient(135deg, #282460 0%, #282460 100%);
	text-align: center;
}

.mixcar-contact-section h3 {
	margin: 0 0 10px 0;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.mixcar-contact-section p {
	margin: 0 0 15px 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
}

.mixcar-contact-number {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-size: 18px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.mixcar-contact-number:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.mixcar-contact-number i {
	font-size: 20px;
}

/* Compare Section */
.mixcar-compare-section {
	padding: 30px;
	border-top: 1px solid #e0e0e0;
	background: #fff;
	text-align: center;
}

.btn-compare {
	background: linear-gradient(135deg, #282460 0%, #282460 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 40px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-compare:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(40, 36, 96, 0.4);
}

.btn-compare.added {
	background: linear-gradient(135deg, #25d366 0%, #1fa855 100%);
}

.btn-compare.added:hover {
	box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-compare i {
	font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
	.mixcar-product-header {
		padding: 20px;
	}

	.mixcar-product-title {
		font-size: 22px;
	}

	.mixcar-product-price {
		font-size: 24px;
	}

	.product-specifications,
	.product-actions {
		padding: 20px;
	}

	.specs-list {
		grid-template-columns: 1fr;
	}

	.action-buttons {
		flex-direction: column;
	}

	.btn {
		width: 100%;
		min-width: auto;
	}

	.product-actions[data-layout="grid"] .action-buttons {
		grid-template-columns: 1fr;
	}

	.mixcar-modal-container[data-width="small"] .mixcar-modal-content,
	.mixcar-modal-container[data-width="medium"] .mixcar-modal-content,
	.mixcar-modal-container[data-width="large"] .mixcar-modal-content {
		width: 95%;
		max-width: 100%;
	}

	.mixcar-modal-header {
		padding: 20px;
	}

	.mixcar-modal-title {
		font-size: 20px;
	}

	.mixcar-modal-body {
		padding: 20px;
	}
}

@media (max-width: 480px) {
	.mixcar-product-header {
		padding: 15px;
	}

	.mixcar-product-title {
		font-size: 18px;
	}

	.mixcar-product-price {
		font-size: 20px;
	}

	.mixcar-product-price-section {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.action-buttons {
		gap: 10px;
	}

	.btn {
		padding: 12px 20px;
		font-size: 13px;
	}

	.btn i {
		font-size: 16px;
	}
}
