/**
 * Public styles for Sales WhatsApp Links
 */

/* Button Shortcode Styles */
.swl-button-container {
	margin: 20px 0;
	text-align: center;
}

.swl-contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 32px;
	background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
	color: white !important;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.swl-contact-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.swl-contact-button:active {
	transform: translateY(0);
}

.swl-button-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

/* Sales Page Styles */
.swl-sales-page {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
}

.swl-page-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 40px 20px;
	min-height: 100vh;
	position: relative;
}

.swl-back-button-container {
	margin-top: 40px;
	margin-bottom: 20px;
	text-align: center;
}

.swl-back-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 30px;
	color: white;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.swl-back-button:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
	color: white;
}

.swl-back-button svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.swl-page-header {
	text-align: center;
	margin-bottom: 40px;
	color: white;
}

.swl-page-logo {
	width: 120px;
	height: 120px;
	margin: 0 auto 20px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	padding: 20px;
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.swl-page-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.swl-page-title {
	margin: 0 0 10px 0;
	font-size: 28px;
	font-weight: 700;
	color: white;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.swl-page-subtitle {
	margin: 0;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 400;
}

.swl-page-commercial-message {
	margin-top: 20px;
	padding: 15px 25px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 14px;
	line-height: 1.6;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swl-page-sales-grid {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.swl-page-sales-card {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 20px;
	padding: 20px;
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
	gap: 15px;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swl-page-sales-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	background: rgba(255, 255, 255, 1);
}

.swl-page-sales-photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.swl-page-sales-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.swl-page-sales-photo-placeholder svg {
	width: 40px;
	height: 40px;
	color: rgba(255, 255, 255, 0.9);
}

.swl-page-sales-info {
	flex: 1;
}

.swl-page-sales-name {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

.swl-page-sales-phone {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #666;
	font-size: 14px;
	margin-bottom: 8px;
}

.swl-page-sales-phone svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.swl-page-sales-action {
	margin-top: 5px;
}

.swl-page-whatsapp-text {
	display: inline-flex;
	align-items: center;
	color: #25D366;
	font-size: 14px;
	font-weight: 600;
}

.swl-public-container {
	margin: 20px 0;
}

.swl-sales-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	padding: 0;
	list-style: none;
}

.swl-sales-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.swl-sales-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
	border-color: #25D366;
}

.swl-sales-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.swl-sales-photo {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.swl-sales-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.swl-sales-photo-placeholder {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.swl-sales-photo-placeholder svg {
	width: 80px;
	height: 80px;
	color: rgba(255,255,255,0.9);
}

.swl-sales-info {
	padding: 20px;
}

.swl-sales-name {
	margin: 0 0 12px 0;
	font-size: 20px;
	font-weight: 600;
	color: #333;
}

.swl-sales-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	color: #666;
	font-size: 14px;
}

.swl-sales-phone svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.swl-sales-action {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
}

.swl-whatsapp-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 20px;
	background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
	color: white;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
}

.swl-sales-card:hover .swl-whatsapp-icon {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.swl-whatsapp-icon svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.swl-sales-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 15px;
	}
}

@media screen and (max-width: 480px) {
	.swl-sales-grid {
		grid-template-columns: 1fr;
	}
	
	.swl-sales-photo {
		height: 180px;
	}
	
	.swl-sales-info {
		padding: 15px;
	}
}

/* Animation for cards */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.swl-sales-card {
	animation: fadeInUp 0.5s ease forwards;
}

.swl-sales-card:nth-child(1) { animation-delay: 0.1s; }
.swl-sales-card:nth-child(2) { animation-delay: 0.2s; }
.swl-sales-card:nth-child(3) { animation-delay: 0.3s; }
.swl-sales-card:nth-child(4) { animation-delay: 0.4s; }
.swl-sales-card:nth-child(5) { animation-delay: 0.5s; }
.swl-sales-card:nth-child(n+6) { animation-delay: 0.6s; }

/* Page Cards Animation */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.swl-page-sales-card {
	animation: slideInUp 0.4s ease forwards;
	opacity: 1;
}

.swl-page-sales-card:nth-child(1) { animation-delay: 0.1s; }
.swl-page-sales-card:nth-child(2) { animation-delay: 0.15s; }
.swl-page-sales-card:nth-child(3) { animation-delay: 0.2s; }
.swl-page-sales-card:nth-child(4) { animation-delay: 0.25s; }
.swl-page-sales-card:nth-child(5) { animation-delay: 0.3s; }
.swl-page-sales-card:nth-child(n+6) { animation-delay: 0.35s; }

/* Header Animation */
@keyframes fadeIn {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: scale(1); }
}

.swl-page-header {
	animation: fadeIn 0.5s ease forwards;
}

/* Mobile Responsive */
@media screen and (max-width: 480px) {
	.swl-page-container {
		padding: 30px 15px;
	}

	.swl-back-button-container {
		margin-top: 30px;
		margin-bottom: 15px;
	}

	.swl-back-button {
		padding: 10px 24px;
		font-size: 14px;
	}

	.swl-back-button svg {
		width: 18px;
		height: 18px;
	}
	
	.swl-page-logo {
		width: 100px;
		height: 100px;
	}
	
	.swl-page-title {
		font-size: 24px;
	}
	
	.swl-page-subtitle {
		font-size: 14px;
	}

	.swl-page-commercial-message {
		margin-top: 15px;
		padding: 12px 20px;
		font-size: 13px;
	}
	
	.swl-page-sales-card {
		padding: 15px;
	}
	
	.swl-page-sales-photo {
		width: 70px;
		height: 70px;
	}
	
	.swl-contact-button {
		padding: 14px 28px;
		font-size: 15px;
	}
}

/* Social Media Links */
.swl-page-social {
	margin-top: 40px;
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.swl-page-social-title {
	color: white;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 15px;
	opacity: 0.9;
}

.swl-page-social-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.swl-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 50%;
	color: white;
	transition: all 0.3s ease;
	text-decoration: none;
}

.swl-social-link:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.swl-social-link svg {
	width: 22px;
	height: 22px;
}

@media screen and (max-width: 480px) {
	.swl-page-social {
		margin-top: 30px;
		padding-top: 25px;
	}

	.swl-social-link {
		width: 40px;
		height: 40px;
	}

	.swl-social-link svg {
		width: 20px;
		height: 20px;
	}
}

