/* eToon front-end patches on top of Mayosis (remove when the new theme replaces it). */

/* 1. EDD prints a no-JavaScript fallback button next to the real one; Mayosis styles override
      EDD's rule that hides it, so cards showed two round buttons on hover. */
body.edd-js .edd-no-js,
body.edd-js input.edd-no-js,
body.edd-js .product-hover-two-cart .edd_purchase_submit_wrapper .edd-no-js { display: none !important; }

/* Card hover: one pill button, cart icon in front of the label. */
.product-hover-two-cart .edd_purchase_submit_wrapper .button.edd-submit.edd-has-js {
	width: auto;
	min-width: 140px;
	height: 40px;
	line-height: 40px;
	padding: 0 18px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}
.product-hover-two-cart .edd_purchase_submit_wrapper .button.edd-submit.edd-has-js .edd-add-to-cart-label {
	display: inline;
	opacity: 1;
	visibility: visible;
	vertical-align: middle;
}
.product-hover-two-cart .edd_purchase_submit_wrapper .button.edd-submit.edd-has-js:after { content: none; }
.product-hover-two-cart .edd_purchase_submit_wrapper .button.edd-submit.edd-has-js:before {
	content: "\1f6d2";
	font-family: Zeroicons-Line;
	font-weight: 400;
	font-size: 15px;
	margin-right: 7px;
	vertical-align: middle;
	display: inline-block;
}
.product-hover-two-cart .edd_purchase_submit_wrapper .edd_go_to_checkout { width: auto; min-width: 140px; border-radius: 20px; font-size: 13px; }

/* 4. Cartoonist application form in two columns (one column on phones). */
@media (min-width: 768px) {
	form.fes-registration-form .fes-form-fieldset {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 28px;
		align-items: start;
	}
	form.fes-registration-form .fes-form-fieldset > * { grid-column: 1 / -1; }
	form.fes-registration-form .fes-form-fieldset > .fes-el { grid-column: auto; min-width: 0; }
	form.fes-registration-form .fes-form-fieldset > .fes-el input[type=text],
	form.fes-registration-form .fes-form-fieldset > .fes-el input[type=email],
	form.fes-registration-form .fes-form-fieldset > .fes-el input[type=url],
	form.fes-registration-form .fes-form-fieldset > .fes-el input[type=password] { width: 100%; box-sizing: border-box; }
	form.fes-registration-form .fes-el.first_name { order: 1; }
	form.fes-registration-form .fes-el.last_name { order: 2; }
	form.fes-registration-form .fes-el.user_email { order: 3; }
	form.fes-registration-form .fes-el.eddc_user_paypal { order: 4; }
	form.fes-registration-form .fes-el.user_login { order: 5; }
	form.fes-registration-form .fes-el.display_name { order: 6; }
	form.fes-registration-form .fes-el.user_pass { order: 7; }
	form.fes-registration-form .fes-el.user_url { order: 8; }
	form.fes-registration-form .fes-el.user_bio,
	form.fes-registration-form .fes-el.description,
	form.fes-registration-form .fes-el.toc,
	form.fes-registration-form .fes-el.recaptcha { order: 20; grid-column: 1 / -1; }
	form.fes-registration-form .fes-form-fieldset > .fes-submit,
	form.fes-registration-form .fes-form-fieldset > p { order: 30; grid-column: 1 / -1; }
}

/* Product page: description directly under the cartoon (child template patch). */
.etoon-cartoon-description { margin: 18px 0 8px; padding: 14px 18px; background: #fff; border-radius: 6px; font-size: 17px; line-height: 1.55; color: #28375a; }
.etoon-cartoon-description p:last-child { margin-bottom: 0; }
.photo--section--image .etoon-cartoon-description,
.photo--section--image .etoon-cartoon-description p { font-size: 18px; line-height: 1.55; text-align: left; color: #28375a; }
.photo--section--image .etoon-cartoon-description h5 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #28375a; }
