/* Treethemes EDD checkout funnel */

:root {
	--tt-edd-primary: #10b466;
	--tt-edd-primary-dark: #0d9a58;
	--tt-edd-border: #e5e7eb;
	--tt-edd-text: #1f2937;
	--tt-edd-muted: #9ca3af;
	--tt-edd-bg: #f4f9f7;
	--tt-edd-card: #ffffff;
	--tt-edd-radius: 12px;
}

/* Funnel shell */
body.tt-edd-funnel-page {
	background: var(--tt-edd-bg);
}

body.tt-edd-funnel-page .tt-edd-funnel {
	font-family: "DM Sans", sans-serif;
	color: var(--tt-edd-text);
	background: var(--tt-edd-bg);
}

body.tt-edd-funnel-page .tt-edd-funnel__inner {
	padding: 140px 0 96px;
}

body.tt-edd-funnel-page .tt-edd-funnel__container {
	max-width: 1460px;
}

body.tt-edd-funnel-page .tt-edd-funnel__content {
	margin: 0 auto;
}

body.tt-edd-funnel-page .tt-edd-funnel__content > *:first-child {
	margin-top: 0;
}

body.tt-edd-funnel-page .tt-edd-funnel__content .blog__details_title,
body.tt-edd-funnel-page .tt-edd-funnel__content .default-details__content > h1,
body.tt-edd-funnel-page .tt-edd-funnel__content .default-details__content > h2,
body.tt-edd-funnel-page .tt-edd-funnel__content > h1.entry-title {
	display: none !important;
}

.tt-edd-progress {
	margin: 0 0 40px;
	padding: 8px 0 24px;
	font-family: "DM Sans", sans-serif;
}

.tt-edd-progress__list {
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	gap: 0;
}

.tt-edd-progress__step {
	flex: 0 0 auto;
}

.tt-edd-progress__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease;
}

a.tt-edd-progress__link:hover {
	color: var(--tt-edd-primary-dark);
}

.tt-edd-progress__marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid var(--tt-edd-border);
	background: #fff;
	color: var(--tt-edd-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease;
}

.tt-edd-progress__number {
	display: block;
}

.tt-edd-progress__label {
	font-size: 15px;
	font-weight: 600;
	color: var(--tt-edd-muted);
	white-space: nowrap;
	transition: color 0.2s ease;
}

.tt-edd-progress__connector {
	flex: 1 1 48px;
	min-width: 48px;
	max-width: 140px;
	height: 2px;
	margin: 0 12px;
	background: var(--tt-edd-border);
	list-style: none;
	transition: background-color 0.2s ease;
}

.tt-edd-progress__connector.is-complete {
	background: var(--tt-edd-primary);
}

/* Active step */
.tt-edd-progress__step--active .tt-edd-progress__marker {
	border-color: var(--tt-edd-primary);
	background: var(--tt-edd-primary);
	color: #fff;
}

.tt-edd-progress__step--active .tt-edd-progress__label {
	color: var(--tt-edd-primary);
}

/* Completed step */
.tt-edd-progress__step--complete .tt-edd-progress__marker {
	border-color: var(--tt-edd-primary);
	background: var(--tt-edd-primary);
	color: #fff;
}

.tt-edd-progress__step--complete .tt-edd-progress__label {
	color: var(--tt-edd-text);
}

a.tt-edd-progress__step--complete .tt-edd-progress__link:hover .tt-edd-progress__label {
	color: var(--tt-edd-primary);
}

/* Upcoming step */
.tt-edd-progress__step--upcoming .tt-edd-progress__marker {
	border-color: var(--tt-edd-border);
	background: #fff;
	color: var(--tt-edd-muted);
}

.tt-edd-progress__step--upcoming .tt-edd-progress__label {
	color: var(--tt-edd-muted);
}

/* Checkout / confirmation page spacing */
.edd-checkout-progress-wrap {
	margin-bottom: 8px;
}

#edd_checkout_wrap > .tt-edd-progress,
.edd-checkout-progress-wrap .tt-edd-progress,
.default-blog__details-content > .tt-edd-progress:first-child {
	margin-top: 0;
}

@media (max-width: 640px) {
	.tt-edd-progress__list {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 8px;
		-webkit-overflow-scrolling: touch;
	}

	.tt-edd-progress__connector {
		min-width: 32px;
		max-width: 64px;
		margin: 0 8px;
	}

	.tt-edd-progress__label {
		font-size: 14px;
	}

	body.tt-edd-funnel-page .tt-edd-funnel__inner {
		padding: 100px 0 64px;
	}
	
	body.tt-edd-funnel--cart .tt-edd-cart-page__layout {
	    flex-direction: column-reverse !important;
	    align-self: start !important;
	    display: flex !important;
	}

	.tt-header-service-price-row {
	    gap: 30px !important;
	    flex-direction: column;
	    align-items: baseline !important;
	    margin-top: 10px !important;
	}
}
#edd_checkout_form_wrap fieldset {
    border: 1px solid #eee;
    margin: 20px 0 50px !important;
    padding: 1.387em;
    background: #fff;
    border-radius: 12px;
}

#edd-purchase-button, .edd-submit, [type=submit].edd-submit {
    border: 1px solid transparent;
    color: #fff !important;
	    font-size: 16px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    background: #16b766 !important;
    border-radius: 8px !important;
}

body.tt-edd-funnel-page #edd_purchase_submit, body.tt-edd-funnel-page .edd-submit, body.tt-edd-funnel-page .edd-blocks-form__purchase button[type="submit"]{
	

    background: transparent !important;
}


/* EDD checkout cards & forms */
body.tt-edd-funnel-page #edd_checkout_wrap,
body.tt-edd-funnel-page .wp-block-edd-checkout,
body.tt-edd-funnel-page .wp-block-edd-cart,
body.tt-edd-funnel-page .wp-block-edd-confirmation {
	font-family: "DM Sans", sans-serif;
}

body.tt-edd-funnel-page #edd_checkout_cart,
body.tt-edd-funnel-page #edd_checkout_form_wrap:not(.edd-blocks__checkout),
body.tt-edd-funnel-page #edd_purchase_form,
body.tt-edd-funnel-page .edd-blocks-form:not(.edd-blocks-form__cart):not(.edd-blocks-form__purchase),
body.tt-edd-funnel-page .edd-blocks-cart,
body.tt-edd-funnel-page .edd-blocks-receipt,
body.tt-edd-funnel-page .wp-block-edd-confirmation > div {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

body.tt-edd-funnel-page #edd_checkout_cart,
body.tt-edd-funnel-page .edd-blocks-cart {
	padding: 24px;
	margin-bottom: 24px;
}

body.tt-edd-funnel-page #edd_checkout_form_wrap:not(.edd-blocks__checkout),
body.tt-edd-funnel-page #edd_purchase_form,
body.tt-edd-funnel-page .edd-blocks-form:not(.edd-blocks-form__cart):not(.edd-blocks-form__purchase) {
	padding: 0;
}

body.tt-edd-funnel-page #edd_checkout_cart .edd_cart_header_row th,
body.tt-edd-funnel-page #edd_purchase_receipt thead th,
body.tt-edd-funnel-page .edd-blocks-cart__header {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--tt-edd-muted);
}

body.tt-edd-funnel-page #edd_checkout_cart .edd_cart_item,
body.tt-edd-funnel-page .edd-blocks-cart__item {
	border-bottom: 1px solid var(--tt-edd-border);
}

body.tt-edd-funnel-page #edd_checkout_cart .edd_cart_footer_row th,
body.tt-edd-funnel-page #edd_checkout_cart .edd_cart_footer_row td,
body.tt-edd-funnel-page .edd-blocks-cart__total {
	font-size: 18px;
	font-weight: 700;
}

body.tt-edd-funnel-page .edd-login-account-wrap,
body.tt-edd-funnel-page .edd-logged-in,
body.tt-edd-funnel-page .edd-blocks-form__logged-in {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: 8px;
	background: rgba(16, 180, 102, 0.08);
	color: var(--tt-edd-text);
	font-size: 14px;
}

body.tt-edd-funnel-page #edd_purchase_form label,
body.tt-edd-funnel-page .edd-blocks-form label {
	font-weight: 600;
	font-size: 14px;
	color: var(--tt-edd-text);
}

body.tt-edd-funnel-page #edd_purchase_form input[type="text"],
body.tt-edd-funnel-page #edd_purchase_form input[type="email"],
body.tt-edd-funnel-page #edd_purchase_form input[type="tel"],
body.tt-edd-funnel-page #edd_purchase_form input[type="password"],
body.tt-edd-funnel-page #edd_purchase_form input[type="number"],
body.tt-edd-funnel-page #edd_purchase_form select,
body.tt-edd-funnel-page #edd_purchase_form textarea,
body.tt-edd-funnel-page .edd-blocks-form input:not([type="checkbox"]):not([type="radio"]),
body.tt-edd-funnel-page .edd-blocks-form select,
body.tt-edd-funnel-page .edd-blocks-form textarea {
	width: 100%;
	border: 1px solid var(--tt-edd-border);
	border-radius: 8px;
	padding: 12px 14px;
	font: inherit;
	background: #fff;
}

body.tt-edd-funnel-page #edd-card-vat-wrap {
	grid-column: 1 / -1 !important;
	width: 100%;
}

body.tt-edd-funnel-page .edd-vat-checkbox-wrap {
	margin: 0;
}

body.tt-edd-funnel-page .edd-vat-checkbox-wrap label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 500;
	cursor: pointer;
}

body.tt-edd-funnel-page #edd-vat-show-fields {
	width: auto;
	min-width: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	border-radius: 4px;
	flex: 0 0 auto;
}

body.tt-edd-funnel-page #edd_purchase_submit,
body.tt-edd-funnel-page .edd-submit,
body.tt-edd-funnel-page .edd-blocks-form__purchase button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: #c8eb47;
	color: #1f2a44 !important;
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

body.tt-edd-funnel-page #edd_purchase_submit:hover,
body.tt-edd-funnel-page .edd-submit:hover,
body.tt-edd-funnel-page .edd-blocks-form__purchase button[type="submit"]:hover {
	background: #b8db37;
}

body.tt-edd-funnel-page .edd_cart_remove_item_btn,
body.tt-edd-funnel-page .edd-blocks-cart__remove {
	color: var(--tt-edd-muted);
}

body.tt-edd-funnel-page #edd_purchase_receipt,
body.tt-edd-funnel-page .edd-blocks-receipt {
	padding: 24px;
}

@media (min-width: 961px) {
	body.tt-edd-funnel--checkout .tt-edd-funnel__container {
		max-width: 1460px;
	}

	/* Legacy shortcode checkout */
	body.tt-edd-funnel--checkout #edd_checkout_wrap {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"form cart"
			"trust trust";
		gap: 28px;
		align-items: start;
	}

	body.tt-edd-funnel--checkout .edd-checkout-progress-wrap {
		grid-column: 1 / -1;
	}

	body.tt-edd-funnel--checkout #edd_checkout_form_wrap:not(.edd-blocks__checkout) {
		grid-area: form;
	}

	body.tt-edd-funnel--checkout #edd_checkout_cart_form {
		grid-area: cart;
		margin-bottom: 0;
		background: var(--tt-edd-card);
		border: 1px solid var(--tt-edd-border);
		border-radius: var(--tt-edd-radius);
		box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
		padding: 24px;
	}

	/* EDD Blocks checkout - all fields left, sticky cart right */
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout,
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout.tt-edd-checkout-grid {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 24px 28px;
		align-items: start;
	}

	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout > .edd-blocks__logged-in,
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout > .edd-alert,
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout.tt-edd-checkout-grid > .edd-blocks__logged-in,
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout.tt-edd-checkout-grid > .edd-alert {
		grid-column: 1 / -1 !important;
	}

	/* Beat EDD block rules that force all non-cart direct children into column 1 */
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout.tt-edd-checkout-grid > .tt-edd-checkout-left {
		grid-column: 1 !important;
		display: flex;
		flex-direction: column;
		gap: 24px;
		min-width: 0;
	}

	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout.tt-edd-checkout-grid > .tt-edd-checkout-right {
		grid-column: 2 !important;
		position: sticky;
		top: var(--tt-edd-sticky-top, calc(var(--wp-admin--admin-bar--height, 0px) + 24px));
		align-self: start;
		display: flex;
		flex-direction: column;
		gap: 24px;
		min-width: 0;
		margin-top: -28px;
		z-index: 2;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-right .tt-edd-secure-payment-line {
		margin: 0 0 18px;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__purchase-form,
	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__user-details,
	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__payment-details,
	body.tt-edd-funnel--checkout .tt-edd-checkout-right .edd-blocks__cart {
		grid-column: auto !important;
		grid-row: auto !important;
		order: unset !important;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__purchase-form {
		display: flex;
		flex-direction: column;
		gap: 24px;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0;
		margin: 0;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__user-details {
		display: flex;
		flex-direction: column;
		gap: 24px;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0;
		margin: 0;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__checkout-user,
	body.tt-edd-funnel--checkout .tt-edd-checkout-left #edd_checkout_user_info,
	body.tt-edd-funnel--checkout .tt-edd-checkout-left #edd_cc_address,
	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__payment-details,
	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__user-details:only-child {
		background: var(--tt-edd-card);
		border: 1px solid var(--tt-edd-border);
		border-radius: var(--tt-edd-radius);
		box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
		padding: 28px;
		margin: 0;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__checkout-user {
		padding: 0;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__checkout-user #edd_checkout_user_info {
		margin: 0;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-right .edd-blocks__cart {
		background: none;
		border: none;
		border-radius: 0;
		box-shadow: none;
		padding: 24px;
		margin: 0;
		position: relative;
		top: -50px;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-right .edd-blocks-form__cart,
	body.tt-edd-funnel--checkout .tt-edd-checkout-right .edd-blocks__cart #edd_checkout_cart,
	body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__payment-details #edd_purchase_form {
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0;
		margin: 0;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-trust {
		margin-top: 0;
		width: 100%;
	}

	body.tt-edd-funnel--checkout #edd_checkout_cart {
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0;
		margin: 0;
	}
}

.edd_cart_subtotal_row{margin-top: 20px !important;}
body.tt-edd-funnel--checkout #edd_checkout_cart .edd-apply-discount, body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__discount .edd-submit{color: #fff !important;}
/* Secure payment trust line (cart + checkout sidebars) */
.tt-edd-secure-payment-line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.tt-edd-secure-payment-line__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #10b981;
}

.tt-edd-secure-payment-line__text {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 400;
	color: #6b7280;
}

/* Cart page layout */
body.tt-edd-funnel--cart .tt-edd-funnel__container {
	max-width: 1460px;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	min-height: 0;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: transparent;
	box-shadow: none;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__services {
	background: var(--tt-edd-card);
	border: 1px solid var(--tt-edd-border);
	border-radius: var(--tt-edd-radius);
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
	padding: 36px 32px;
	display: block;
	min-height: 0;
	max-height: none;
	overflow: visible;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__services .tt-header-cart-services {
	display: block;
	padding: 0;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__services .tt-header-panel-title {
	margin: 0 0 24px;
	font-size: clamp(24px, 2.5vw, 32px);
	font-weight: 600;
	line-height: 1.15;
	color: #1f2a44;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__services .tt-header-services-scroll {
	overflow: visible;
	max-height: none;
	padding-right: 0;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__sidebar {
	position: sticky;
	top: var(--tt-edd-sticky-top, calc(var(--wp-admin--admin-bar--height, 0px) + 24px));
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	z-index: 2;
}

body.tt-edd-funnel-uses-gsap-pin .tt-edd-cart-page__sidebar,
body.tt-edd-funnel-uses-gsap-pin .tt-edd-checkout-right {
	position: relative;
	top: auto;
}

body.tt-edd-funnel-uses-gsap-pin .tt-edd-cart-page__sidebar.is-pinned,
body.tt-edd-funnel-uses-gsap-pin .tt-edd-checkout-right.is-pinned {
	z-index: 5;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__main {
	background: var(--tt-edd-card);
	border: 1px solid var(--tt-edd-border);
	border-radius: var(--tt-edd-radius);
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
	padding: 28px 24px;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__main .tt-header-panel-title {
	margin: 0 0 12px;
	font-size: clamp(24px, 2.5vw, 32px);
	font-weight: 700;
	line-height: 1.15;
	color: #1f2a44;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__main .tt-edd-secure-payment-line {
	margin: 0 0 16px;
	background: #eaf4fc;
	padding: 12px 18px;
	border-radius: 12px;
}

body.tt-edd-funnel--cart .tt-header-cart-main {
	padding: 0;
}

body.tt-edd-funnel--cart .tt-header-cart-items {
	margin-bottom: 20px;
}

body.tt-edd-funnel--cart .tt-header-cart-item {
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid var(--tt-edd-border);
}

body.tt-edd-funnel--cart .tt-header-cart-item:last-child {
	border-bottom: 0;
}

body.tt-edd-funnel--cart .tt-header-cart-item-thumb {
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
}

body.tt-edd-funnel--cart .tt-header-cart-item-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

body.tt-edd-funnel--cart .tt-header-cart-item-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--tt-edd-text);
	margin-bottom: 0 !important;
}

body.tt-edd-funnel--cart .tt-header-cart-item-meta,
body.tt-edd-funnel--cart .tt-edd-cart-item-meta {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--tt-edd-muted);
}

body.tt-edd-funnel--cart .tt-header-cart-item-qty {
	display: none;
}

body.tt-edd-funnel--cart .tt-header-cart-item-side {
	align-self: start;
}

body.tt-edd-funnel--cart .tt-header-cart-item-remove,
body.tt-edd-funnel--cart .tt-header-cart-item-remove.edd-blocks-cart__action-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-width: 28px;
	padding: 0;
	border: 0 !important;
	border-radius: 999px;
	background: transparent !important;
	color: var(--tt-edd-muted);
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	box-shadow: none !important;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.tt-edd-funnel--cart .tt-header-cart-item-remove svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	opacity: 0.65;
}

body.tt-edd-funnel--cart .tt-header-cart-item-remove:hover,
body.tt-edd-funnel--cart .tt-header-cart-item-remove:focus-visible {
	background: #f3f4f6 !important;
	color: #374151;
	outline: none;
}

body.tt-edd-funnel--cart .tt-header-cart-item-remove:hover svg,
body.tt-edd-funnel--cart .tt-header-cart-item-remove:focus-visible svg {
	opacity: 0.9;
}

body.tt-edd-funnel--cart .tt-header-cart-total-block {
	margin-bottom: 16px;
}

body.tt-edd-funnel--cart .tt-header-cart-total-block .tt-header-cart-total-row {
	margin-bottom: 0;
}

body.tt-edd-funnel--cart .tt-header-cart-vat-note {
	margin: 6px 0 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	color: #4b5563;
	text-align: right;
}

body.tt-edd-funnel--cart .tt-header-cart-checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin-top: 20px;
	padding: 14px 20px;
	border: 0;
	border-radius: 6px;
	background: #16B766;
	color: #fff;
	font-size: 17px !important;
	font-weight: 600 !important;
	text-decoration: none;
	text-align: center;
}

body.tt-edd-funnel--cart .tt-header-cart-checkout:hover {
	background: #0d9a57;
	color: #fff;
	font-size: 17px !important;
	font-weight: 600 !important;
}

body.tt-edd-funnel--cart .tt-edd-cart-page__services,
body.tt-edd-funnel--cart .tt-edd-cart-page__layout,
body.tt-edd-funnel--cart .tt-edd-cart-page,
body.tt-edd-funnel--checkout .tt-edd-checkout-page,
body.tt-edd-funnel--checkout #edd_checkout_form_wrap.tt-edd-checkout-grid {
	overflow: visible;
}

body.tt-edd-funnel--cart:not(.bb-video-popup-open) #smooth-wrapper,
body.tt-edd-funnel--cart:not(.bb-video-popup-open) #smooth-content {
	pointer-events: auto !important;
}

body.tt-edd-funnel--cart .tt-header-service-buy {
	pointer-events: auto;
	position: relative;
	z-index: 2;
	position: relative;
	top: -13px;
}

body.tt-edd-funnel--cart .tt-edd-tooltip--float .tt-edd-tooltip__content {
	display: none;
}

.tt-service-tooltip-float {
	position: fixed;
	z-index: 100050;
	min-width: 180px;
	max-width: 280px;
	padding: 8px 10px;
	border-radius: 6px;
	background: #374151;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
	white-space: normal;
	pointer-events: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.tt-edd-funnel--cart .tt-edd-cart-page .tt-edd-progress {
	padding-top: 0;
}

body.tt-edd-funnel--checkout .tt-edd-checkout-page .tt-edd-progress {
	padding-top: 0;
}

body.tt-edd-funnel--checkout .tt-edd-checkout-order-title,
body.tt-edd-funnel--checkout .tt-header-panel-title {
	margin: 0 0 18px;
	font-size: clamp(24px, 2.5vw, 32px);
	font-weight: 700;
	line-height: 1.15;
	color: #1f2a44;
}

body.tt-edd-funnel--checkout #edd_checkout_form_wrap:not(.edd-blocks__checkout)::before {
	content: none;
}

body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout::before {
	content: none;
}

body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout .edd-blocks__purchase-form::before {
	content: none;
}

body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout .edd-blocks__payment-details::before,
body.tt-edd-funnel--checkout .tt-edd-checkout-left .edd-blocks__payment-details::before {
	content: "Payment Info";
	display: block;
	margin: 0 0 20px;
	font-size: clamp(24px, 2.5vw, 32px);
	font-weight: 600;
	line-height: 1.15;
	color: #1f2a44;
}

body.tt-edd-funnel--checkout #edd_checkout_cart table {
	width: 100%;
	border-collapse: collapse;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_header_row,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__row-header {
	display: none;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__items {
	display: flex;
	flex-direction: column;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_item,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__row-item {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 18px 0;
	border-bottom: 1px solid var(--tt-edd-border);
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_item_name {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 auto;
	min-width: 0;
	gap: 0px;
    max-width: 100%;
}
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_checkout_cart_item_text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
	flex: 1 1 auto;
}
.eddr-notice.eddr-cart-item-notice{color: #1f2937 !important;}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_checkout_cart_item_text .eddr-notice,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_checkout_cart_item_text .eddr-cart-item-notice,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_checkout_cart_item_text .tt-edd-cart-item-meta {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--tt-edd-muted);
}
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_checkout_cart_item_title {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
	width: 100%;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--tt-edd-text);
}

body.tt-edd-funnel--checkout #edd_checkout_cart .tt-edd-cart-item-meta {
	display: block;
	width: 100%;
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--tt-edd-muted);
}



body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_item_image {
	position: relative;
	flex: 0 0 56px;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_item_image::after {
	content: "";
	position: absolute;
	right: -4px;
	bottom: -4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--tt-edd-primary);
	box-shadow: 0 0 0 2px #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 11px;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_item_image img {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	object-fit: cover;
	background: #f3f4f6;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_item_price {
	display: flex;
	align-items: center;
	align-self: flex-start;
	gap: 12px;
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 16px;
	font-weight: 700;
	color: var(--tt-edd-text);
	white-space: nowrap;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_actions {
	display: flex;
	align-items: center;
	margin: 0;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__action-remove,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_remove_item_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	color: var(--tt-edd-muted);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__action-remove:hover,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_remove_item_btn:hover {
	background: #f3f4f6;
	color: #374151;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__action-remove::before {
	content: none;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_remove_item_btn:not(.edd-blocks-cart__action-remove)::before {
	content: "\00D7";
	font-size: 20px;
	line-height: 1;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__discount,
body.tt-edd-funnel--checkout #edd_checkout_cart #edd_discount_code {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--tt-edd-border);
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd-discount-code-field-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}

body.tt-edd-funnel--checkout #edd_checkout_cart #edd-discount,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__discount .edd-input {
	margin: 0;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd-apply-discount,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__discount .edd-submit {
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid var(--tt-edd-border);
	border-radius: 10px;
	background: #f9fafb;
	color: var(--tt-edd-text) !important;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd-apply-discount:hover,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__discount .edd-submit:hover {
	background: #f3f4f6;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_subtotal_row,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_tax_row,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_discount_row {
	padding: 10px 0 0;
	border: 0;
	font-size: 14px;
	color: #4b5563;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_subtotal,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_tax,
body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_discount {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin-top: 16px;
	padding-top: 18px;
	border-top: 1px solid var(--tt-edd-border);
	font-size: 20px;
	font-weight: 700;
	color: var(--tt-edd-text);
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd_cart_total .edd_cart_amount {
	font-size: inherit;
	font-weight: inherit;
}

body.tt-edd-funnel--checkout #edd_checkout_cart .edd-blocks-cart__row-footer {
	border: 0;
	padding: 0;
}

/* Trust footer */
body.tt-edd-funnel-page .tt-edd-checkout-trust blockquote,
body.tt-edd-funnel-page .tt-edd-checkout-trust__quote {
	border: 0 !important;
	border-left: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: transparent !important;
}

.tt-edd-checkout-trust {
	margin-top: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.tt-edd-checkout-trust--sidebar {
	padding: 0rem 2rem 2rem 2rem;
}

.tt-edd-checkout-trust__inner {
	display: grid;
	grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.35fr);
	gap: 24px 28px;
	align-items: start;
	text-align: left;
}

.tt-edd-checkout-trust__score {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.tt-edd-checkout-trust__number {
	font-size: clamp(52px, 7vw, 76px);
	font-weight: 500;
	line-height: 0.95;
	color: rgba(31, 42, 68, 0.16);
}

.tt-edd-checkout-trust--sidebar .tt-edd-checkout-trust__number {
	font-size: clamp(44px, 6vw, 64px);
}

.tt-edd-checkout-trust__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	color: var(--tt-edd-text);
	text-align: left;
}

.tt-edd-checkout-trust__meta strong {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--tt-edd-text);
}

.tt-edd-checkout-trust__meta span {
	font-size: 14px;
	line-height: 1.35;
	color: rgba(31, 42, 68, 0.45);
}

.tt-edd-checkout-trust__review {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.tt-edd-checkout-trust__stars {
	display: flex;
	justify-content: flex-start;
	gap: 3px;
	margin: 0;
	color: var(--tt-edd-primary);
}

.tt-edd-checkout-trust__quote {
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 0;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.6;
	font-style: normal;
	max-width: none;
}

.tt-edd-checkout-trust--sidebar .tt-edd-checkout-trust__quote {
	font-size: 14px;
	line-height: 1.55;
	padding: 0;
	margin: 0;
}

.tt-edd-checkout-trust__quote p {
	margin: 0 !important;
}

.tt-edd-checkout-trust__attribution {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 12px;
}

.tt-edd-checkout-trust__author {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: rgba(31, 42, 68, 0.45);
}

.tt-edd-checkout-trust__envato-logo {
	display: block;
	width: auto;
	height: 18px;
	max-width: 100%;
}

@media (max-width: 640px) {
	.tt-edd-checkout-trust__inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 960px) {
	body.tt-edd-funnel--cart .tt-edd-cart-page__layout,
	body.tt-edd-funnel--checkout #edd_checkout_wrap,
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout {
		grid-template-columns: 1fr;
		grid-template-areas: none;
		flex-direction: column-reverse !important;
        align-self: start !important;
        display: flex !important;
	}
	body.tt-edd-funnel-page #edd_checkout_cart, body.tt-edd-funnel-page .edd-blocks-cart {
    border: 1px solid #eee;
    margin: 20px 0 50px !important;
    padding: 1.387em;
    background: #fff !important;
    border-radius: 12px;
}
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap:not(.edd-blocks__checkout),
	body.tt-edd-funnel--checkout #edd_checkout_cart_form,
	body.tt-edd-funnel--checkout .tt-edd-checkout-left,
	body.tt-edd-funnel--checkout .tt-edd-checkout-right,
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout .edd-blocks__purchase-form,
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout .edd-blocks__user-details,
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout .edd-blocks__payment-details,
	body.tt-edd-funnel--checkout #edd_checkout_form_wrap.edd-blocks__checkout .edd-blocks__cart {
		grid-column: 1;
		grid-row: auto;
		grid-area: auto;
	}

	body.tt-edd-funnel--checkout .tt-edd-checkout-right,
	body.tt-edd-funnel--cart .tt-edd-cart-page__sidebar {
		position: static;
		top: auto;
	}
}

/* Page load fade — hide #smooth-wrapper until body.tt-edd-page-ready (see enqueue.class.php) */
body.tt-edd-funnel-page:not(.tt-edd-page-ready) #smooth-wrapper,
body.tt-edd-funnel-page:not(.tt-edd-page-ready) .tt-edd-funnel {
	opacity: 0;
	visibility: hidden;
}

body.tt-edd-funnel-page.tt-edd-page-ready #smooth-wrapper,
body.tt-edd-funnel-page.tt-edd-page-ready .tt-edd-funnel {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
	body.tt-edd-funnel-page #smooth-wrapper,
	body.tt-edd-funnel-page .tt-edd-funnel {
		opacity: 1 !important;
		visibility: visible !important;
		transition: none !important;
	}
}

.edd_cart_item_name .eddr-cart-item-notice{margin-bottom: 0 !important;}

.tt-membership-receipt-note {
	margin: 10px 0 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: #eef9f3;
	color: #1f2937;
	font-size: 14px;
	line-height: 1.5;
}

.tt-membership-receipt-note a {
	color: #0d9a58;
	font-weight: 600;
	text-decoration: none;
}

.tt-membership-receipt-note a:hover {
	text-decoration: underline;
}

#edd_checkout_form_wrap.wp-block-edd-checkout>p {
    position: relative !important;
    top: -20px !important;
    font-size: 13px !important;
    text-align: center !important;
}
#edd_checkout_form_wrap.wp-block-edd-checkout a{font-size: 13px !important;}
