/* Sticky header */
.sticky-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(15px);
	border-radius: 12px;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2rem;
	height: 70px;
	border-bottom: 1px solid rgba(187, 134, 252, 0.1);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
}

.logo-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.logo-link:hover {
	transform: translateX(-3px);
}

.logo-img {
	height: 36px;
	width: 36px;
	border-radius: 50%;
	object-fit: contain;
	filter: drop-shadow(0 0 5px rgba(187, 134, 252, 0.3));
}

.header-title {
	color: #bb86fc;
	font-size: 1.8rem;
	font-weight: 600;
	margin: 0;
	white-space: nowrap;
	background: linear-gradient(135deg, #721afd, #9d4cff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.header-title a {
	background-color: rgba(255, 255, 255, 0.1);
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.recover-link {
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 1rem;
}

.recover-link:visited {
	color: var(--text-light);
}

.recover-link:hover {
	color: var(--purple-color);
}

@media (max-width: 850px) {
	.recover-link {
		display: none;
	}
}

.button-text {
	display: none;
}

@media (min-width: 1150px) {
	.button-text {
		display: inline;
	}
}

/* Dynamic banner */
.dynamic-banner {
	background: linear-gradient(90deg, #ff3333, #ff6b6b);
	color: var(--text-light);
	text-align: center;
	padding: 0.5rem 0;
	font-size: 0.8rem;
	font-weight: 600;
	position: relative;
	z-index: 1001;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.dynamic-banner .close-banner {
	cursor: pointer;
	font-size: 1.2rem;
	font-weight: bold;
	padding: 0 0.5rem;
}

.dynamic-banner a {
	color: var(--text-light);
	text-decoration: underline;
	transition: opacity 0.2s;
}

.dynamic-banner a:hover {
	opacity: 0.8;
}

.dynamic-banner.hidden {
	display: none;
}

/* Different banner types */
.dynamic-banner.info {
	background: linear-gradient(90deg, #4a6bff, #6b8cff);
}

.dynamic-banner.warning {
	background: linear-gradient(90deg, #ff9500, #ffb700);
}

.dynamic-banner.critical {
	background: linear-gradient(90deg, #ff3333, #ff6b6b);
}

.dynamic-banner.success {
	background: linear-gradient(90deg, #00b894, #00d3a9);
}

.footer {
	background: linear-gradient(180deg, #8b00ff69 0%, #785cff 100%);
	backdrop-filter: blur(15px);
	color: #e0e0e0;
	padding: 2.5rem 1rem;
	margin-top: 3rem;
	border-top: 1px solid rgba(187, 134, 252, 0.1);
	font-weight: initial;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
}

.footer-main-section {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
	width: 100%;
}

.footer-secondary-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	width: 100%;
	border-top: 1px solid rgba(187, 134, 252, 0.3);
	padding-top: 1.5rem;
	margin-top: 1rem;
}

.footer-links-row {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	width: 100%;
}

.footer-links,
.footer-navigation {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0;
}

.footer-link,
.footer-nav-link {
	font-weight: 500;
	padding: 0.5rem;
}

.divider {
	color: var(--text-light);
	padding: 0 0.3rem;
	display: inline-flex;
	align-items: center;
	height: 100%;
	user-select: none;
}

.footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
}

.copyright {
	font-size: 0.85rem;
	opacity: 0.9;
}

.social-links {
	display: flex;
	gap: 1.5rem;
	margin: 1rem 0;
}

.social-icon {
	font-size: 1.4rem;
	transition: transform 0.2s;
}

.social-icon:hover {
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.header-container {
		padding: 0 1rem;
	}

	.header-title {
		font-size: 1.3rem;
	}

	.button-text {
		display: none;
	}
}

@media (max-width: 480px) {
	.has-continue-button {
		font-size: 1rem;
	}

	.header-title {
		font-size: 1rem;
	}

	#continue-editing-btn {
		display: none;
	}

	.footer-links-row {
		flex-direction: row;
		justify-content: space-between;
		gap: 1rem;
	}

	.footer-links,
	.footer-navigation {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
		flex: 1;
	}

	.footer-links .divider,
	.footer-navigation .divider {
		display: none;
	}

	.footer-link,
	.footer-nav-link {
		width: 100%;
		text-align: center;
	}

	.affiliate-disclaimer {
		margin: 1rem 0;
		line-height: 1.4;
	}

	.social-links {
		gap: 1rem;
	}

	.social-icon {
		font-size: 1.2rem;
	}
}

.turnstile-container {
	margin: 1rem 0;
	min-height: 65px;
	display: flex;
	justify-content: center;
	background-color: #ffffff00;
	border-radius: 12px;
	padding: 10px;
}

.turnstile-container iframe {
	width: 100%;
}

/* Social Sharing Section */
.social-sharing-section {
	text-align: center;
	margin: 1.5rem 0;
	width: 100%;
}

.share-title {
	color: #e0e0e0;
	font-size: 1.1rem;
	margin-bottom: 1rem;
	font-weight: 500;
}

.social-sharing-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.share-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-light);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1.2rem;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.share-btn i {
	position: relative;
	z-index: 2;
}

.gradient-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #bb86fc, var(--platform-color));
	z-index: 1;
	transition: opacity 0.3s ease;
}

.share-btn:hover .gradient-bg {
	opacity: 0.9;
}

/* Platform-specific colors */
.facebook {
	--platform-color: #3b5998;
}
.whatsapp {
	--platform-color: #25d366;
}
.email {
	--platform-color: #ea4335;
}
.pinterest {
	--platform-color: #e60023;
}
.twitter {
	--platform-color: #1da1f2;
}

/* Hover effects */
.share-btn:hover {
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 4px 12px rgba(187, 134, 252, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.social-sharing-buttons {
		gap: 0.8rem;
	}

	.share-btn {
		width: 40px;
		height: 40px;
		font-size: 1.1rem;
	}
}

/* Affiliate Disclaimer Styles */
.affiliate-disclaimer {
	text-align: center;
	font-size: 0.8rem;
	color: var(--text-light);
	margin: 0.5rem 0;
	padding: 0 1rem;
	line-height: 1.5;
}

/* Make the asterisk slightly larger */
.affiliate-asterisk {
	color: #bb86fc;
	font-size: 1.3em;
	vertical-align: middle;
	margin: 0 2px;
}

.affiliate-disclaimer .affiliate-indicator,
.affiliate-disclaimer .affiliate-asterisk {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: bold;
	transition: color 0.2s;
}

.affiliate-disclaimer .affiliate-indicator:hover {
	color: var(--primary-color, 0.7);
	text-decoration: underline;
}

/* Special Thanks */
.special-thanks {
	text-align: center;
	font-size: 0.9rem;
	color: var(--text-light);
	margin: 0.5rem 0;
}

.special-thanks a {
	color: rgb(141, 225, 163);
}

/* Cookie Banner */
.cookie-banner {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: var(--transp-background);
	backdrop-filter: var(--transp-backdrop);
	padding: 1.5rem;
	border-radius: 12px;
	max-width: 500px;
	z-index: 9999;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease;
}

.cookie-banner:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cookie-banner button {
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--secondary-color) 100%
	);
	color: var(--text-light);
	border: none;
	padding: 0.8rem 1.5rem;
	font-size: 1.1rem;
	font-weight: 500;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	transition: all 0.3s ease;
}

.cookie-banner button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(187, 134, 252, 0.3);
}

@media (max-width: 768px) {
	.cookie-banner {
		bottom: 0;
		right: 0;
		left: 0;
		border-radius: 12px 12px 0 0;
		padding: 1rem;
	}
}

/* Feedback Popup Styles */
.feedback-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.feedback-popup.show {
	opacity: 1;
	display: flex;
}

.feedback-popup-content {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(15px);
	padding: 2rem;
	border-radius: 12px;
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 8px 32px rgba(187, 134, 252, 0.2);
	animation: popOutFromBottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 1024px) {
	.feedback-popup-content {
		animation: popOutFromRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	}
}

.feedback-popup-content::-webkit-scrollbar {
	width: 8px;
}

.feedback-popup-content::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
}

.feedback-popup-content::-webkit-scrollbar-thumb {
	background: rgba(187, 134, 252, 0.3);
	border-radius: 12px;
}

.close-feedback-popup {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: none;
	color: var(--text-light);
	font-size: 1.5rem;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.close-feedback-popup:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
	box-shadow: 0 0 15px rgba(187, 134, 252, 0.3);
}

.feedback-popup h3 {
	color: var(--purple-color);
	margin-bottom: 1.5rem;
	text-align: center;
	font-size: 1.5rem;
}

#feedbackForm {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-group label {
	color: var(--text-light);
	font-weight: 500;
}

.form-group select,
.form-group textarea,
.form-group input {
	padding: 0.8rem;
	border-radius: 12px;
	border: 1px solid var(--primary-color);
	background-color: var(--transp-background);
	backdrop-filter: var(--transp-backdrop);
	color: var(--text-light);
	font-size: 1rem;
	transition: border-color 0.3s;
}

.form-group select:focus,
.form-group textarea:focus,
.form-group input:focus {
	outline: none;
	border-color: var(--purple-color);
	box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.2);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.submit-feedback-btn {
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--secondary-color) 100%
	);
	color: var(--text-light);
	border: none;
	padding: 0.8rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 0.5rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-feedback-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(187, 134, 252, 0.3);
}

.submit-feedback-btn:disabled {
	transform: none;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 480px) {
	.feedback-popup-content {
		padding: 1.5rem;
		width: 95%;
	}

	.feedback-popup h3 {
		font-size: 1.3rem;
	}

	.form-group select,
	.form-group textarea,
	.form-group input {
		padding: 0.7rem;
	}
}

.body-no-scroll {
	overflow: hidden;
}

#createWishlistPopup {
	display: none;
	z-index: 10000;
}

#createWishlistPopup.show {
	display: flex;
}

#createWishlistPopup input {
	width: 95%;
	padding: 12px;
	margin-bottom: 15px;
	border-radius: 12px;
	font-size: 16px;
}

#createWishlistPopup button {
	width: 100%;
	padding: 12px;
	background: linear-gradient(135deg, #bb86fc, #414dfa);
	color: var(--text-light);
	border: none;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

#createWishlistPopup button:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}
