/* Fashiontree Free Samples */

.ftfs-trigger-wrap {
	margin: 10px 0;
}

/*
 * Colors, font, padding and border-radius intentionally left out here:
 * the button carries your theme's own button classes (set in
 * Settings > Free Samples, default "button alt") so it matches the
 * theme automatically, including if you change your theme's colors
 * later. Only layout/sizing lives here.
 */
.ftfs-open-btn {
	display: block;
	width: 100%;
	text-align: center;
	cursor: pointer;
}

.ftfs-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
}

.ftfs-modal.ftfs-open {
	display: block;
}

.ftfs-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.ftfs-modal-dialog {
	position: relative;
	max-width: 560px;
	width: 90%;
	margin: 5vh auto;
	background: #fff;
	border-radius: 6px;
	padding: 32px 28px 24px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.ftfs-modal-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #555;
}

.ftfs-modal-close:hover {
	color: #000;
}

.ftfs-modal-dialog h2 {
	margin-top: 0;
	font-size: 20px;
}

body.ftfs-modal-lock {
	overflow: hidden;
}

.ftfs-modal-body .wpcf7-form textarea[name] {
	min-height: 90px;
}

.ftfs-modal-body .wpcf7-form p {
	margin: 0 0 14px;
}

.ftfs-modal-body .wpcf7-form input[type="text"],
.ftfs-modal-body .wpcf7-form input[type="email"],
.ftfs-modal-body .wpcf7-form input[type="tel"],
.ftfs-modal-body .wpcf7-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
