td.product-name {
	line-height: 1.2;
}

.woocommerce-checkout-review-order-table tr>td {
	padding-top: 10px !important;
	padding-bottom: 5px !important;
}

.woocommerce-checkout #payment ul.payment_methods li input {
	width: 20px;
	height: 20px;
	position: absolute;
	margin-top: 10px;
	cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li label {
	padding-left: 35px;
	font-size: 1.1em;
	cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li {
	margin-bottom: 5px;
	background: #f7f7f7;
	padding: 5px 10px;
}

.woocommerce-form-coupon-toggle {
	margin: 20px auto;
}

/* ul.wc_payment_methods.payment_methods.methods {
	flex-direction: column-reverse;
	display: flex;
	margin-top: 40px !important;
} */

.woocommerce-page.woocommerce-checkout #payment #place_order,
.woocommerce.woocommerce-checkout #payment #place_order {
	/* font-size: 2em; */
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 15px;
	margin: 10px auto;
	background: #5A8E92;
	font-weight: 300;
	border-radius: 0;
}

.woocommerce-terms-and-conditions-wrapper input {
	width: 20px;
	height: 20px;
}

/* .add_gift_card_form {
	display: none;
} */

div#order_review {
	margin-bottom: 20px;
}

form #order_review_heading:not(.elementor-widget-woocommerce-checkout-page #order_review_heading),
form #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review) {
	padding-left: 1em;
	padding-right: 1em;
}

input#date_of_birth {
	padding: 0.8em;
	border: none;
}

li.wc_payment_method.payment_method_revolut_cc label>img {
	width: 30px;
}

fieldset#wc-stripe-cc-form>.form-row {
	padding-bottom: 0px !important;
	margin: 0px !important;
}

div#stripe-payment-data fieldset:last-child {
	padding: 0px;
}

fieldset#wc-stripe-cc-form {
	background-color: #fcfcfd !important;
	margin: 10px 0px 10px 0 !important;
	padding: 10px 15px 155px !important;
	box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
	background-image: url('https://tefl.ie/wp-content/uploads/2022/08/stripe-badge-grey.png') !important;
	background-size: 330px !important;
	background-position: center calc(100% - 20px) !important;
	background-repeat: no-repeat !important;
}

.woocommerce-checkout #payment ul.payment_methods li.payment_method_stripe .form-row>label {
	padding-left: 0;
	line-height: 1;
	margin-top: 10px;
	font-size: 0.95rem;
}

@media only screen and (min-width: 767px) {

	li.payment_method_stripe_googlepay,
	li.payment_method_stripe_applepay {
		display: none !important;
	}
}

@media (max-width:768px) {
	.woocommerce-checkout #payment ul.payment_methods li input {
		margin-top: 5px;
	}

	.woocommerce-checkout #payment ul.payment_methods li label {
		font-size: 1em;
	}
}

.woocommerce-invalid input#date_of_birth {
	border-color: #d65d67;
}


form.cart-has-deposit div#wc-stripe-payment-request-wrapper,
form.cart-has-deposit #wc-stripe-payment-request-button-separator {
	display: none !important;
}

body.woocommerce-page.woocommerce-order-received header,
body.woocommerce-page.woocommerce-order-received .header-banner,
body.woocommerce-page.woocommerce-order-received .main-header-bar.ast-header-breadcrumb {
	display: none;
}

span.tefl-order-logo {
	width: 300px;
	display: block;
	margin: auto;
}

.woocommerce-order {
	text-align: center;
	margin: 40px auto;
}

@media screen and (min-width:768px) {
	.woocommerce-order {
		max-width: 90%;
	}
}

.woocommerce-order .woocommerce-notice {
	font-weight: 700;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
	display: flex;
	justify-content: center;
	text-align: left;
	margin-bottom: 0 !important;
}

@media screen and (max-width:768px) {
	span.tefl-order-logo {
		width: 150px;
	}

	.woocommerce-order .woocommerce-notice,
	.woocommerce-order {
		margin: 0;
	}

	ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
		flex-direction: column;
		gap: 10px;
	}
}

/* New Checkout */

body.page-template-page-checkout.woocommerce-js form .form-row input,
body.page-template-page-checkout.woocommerce-js form .form-row select {
	background: #F5F5F5;
	border-color: #F5F5F5;
}

body.page-template-page-checkout.woocommerce-js form .form-row input,
body.page-template-page-checkout.woocommerce-js form .form-row select {
	color: #1c1c1b;
}

.woocommerce .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper>.input-text:focus {
	outline: none;
}

body.page-template-page-checkout #order_review,
body.page-template-page-checkout #order_review_heading {
	border-color: #5A8E92 !important;
}

.first-cart-item-name {
	font-weight: 600;
	font-size: 20px;
	margin-bottom: 0;
}

/* .remove-btn {
	position: absolute;
	left: -25px;
	top: 50%;
	transform: translateY(-50%);
} */

.checkout-inline-error-message {
	margin: 0;
	color: var(--red);
}

tr.order-total {
	display: none;
}

.order-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
	color: #5a8e92;
}

.order-total .woocommerce-Price-amount.amount {
	font-size: 20px;
	font-weight: 700;
}

.woocommerce-privacy-policy-text p {
	font-size: 16px;
	line-height: 20px;
	margin-bottom: 10px;
}

.form-row.place-order {
	padding-bottom: 1.5em !important;
}

button.btn-after-form {
	margin-top: 1rem !important;
	float: right;
	background: #5a8e92 !important;
	font-weight: 400 !important;
	text-transform: uppercase;
	font-size: 16px !important;
	border-radius: 0 !important;
}

#order_review td.product-name {
	color: #5A8E92;
	font-weight: 400;
	position: relative;
}

.payment-logo-container {
	display: flex;
	align-items: center;
	width: 40%;
	float: right;
	clear: right;
	justify-content: space-between;
}

.payment-logo-container img.payment-logo {
	background: var(--white);
	border: 1px solid #dcdcdc;
	padding: 0 4px;
	--dim: 40px;
	width: var(--dim);
	aspect-ratio: 4/3;
	object-fit: contain;
	border-radius: 5px;
}

.payment-logo-container .payment-logo-text {
	font-size: 13px;
	font-weight: 500;
}

form.checkout.woocommerce-checkout {
	margin-bottom: 2rem;
}

@media screen and (min-width:769px) {
	button#place_order.hide-on-desktop {
		display: none !important;
	}
}

@media screen and (max-width:768px) {
	button#place_order.hide-on-mobile {
		display: none !important;
	}

	.payment-logo-container {
		width: 100%;
	}

	form.checkout.woocommerce-checkout {
		margin-bottom: 0;
	}
}

.teaching_resource_container {
	display: flex;
	gap: 20px;
}

@media screen and (max-width: 543px) {
	.teaching_resource_container {
		flex-direction: column;
	}
}

.resource-icon img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.resource-container {
	margin-bottom: 1rem;
	width: 50%;
}

@media screen and (max-width: 768px) {
	.resource-container {
		width: 100%;
	}
}

.resource-icon {
	padding: 20px;
}

.resource-price,
.resource-icon {
	flex: 40%;
	background: #E2E2E2;
}

.resource-description,
.resource-add-to-cart {
	flex: 60%
}

.resource-container__left {
	flex: 40%;
	background: #D1D9DF;
}

.resource-container__right {
	flex: 60%;
	background: #DBE0E4;
}

.resource-description {
	padding: 16px;
	background: #E8E8E8;
}

.resource-description h3 {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 12px;
}

.resource-description span {
	font-size: 14px;
	line-height: 1.25;
	display: none;
}

.resource-container__top,
.resource-container__bottom {
	display: flex;
}

.resource-container__bottom {
	border-top: 2px solid var(--black-jet);
}

.resource-add-to-cart a {
	border-radius: 0 !important;
	padding: 8px 16px !important;
	background: var(--black-jet) !important;
	text-align: center;
	display: flex !important;
	justify-content: space-around;
}

.resource-price {
	display: flex;
	font-size: 14px;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.resource-price ins {
	font-weight: 700;
}

.resource-price del {
	text-decoration-color: red;
	color: gray;
	font-weight: 600;
}



.resource-description-header {
	position: relative;
}

.resource-description-header .fa {
	color: var(--white);
	font-weight: 400;
	font-size: 8px;
	background: var(--red);
	padding: 4px 7px;
	border-radius: 100%;
	position: absolute;
	right: 20%;
	top: 50%;
	cursor: pointer;
	/* transform: translateY(-50%); */
}

.resource-info-container {
	background: var(--black-jet);
	color: var(--white);
	padding: 20px;
	font-size: 12px;
	position: absolute;
	z-index: -1;
	bottom: 40px;
	right: -40%;
	opacity: 0;
	transform: translateY(-40px);
	transition: all .4s ease-in-out;
}

.resource-info-container::after {
	content: "";
	position: absolute;
	right: calc(45% - 1.5rem/2);
	bottom: -7px;
	background: var(--black-jet);
	width: 1.5rem;
	height: 1.5rem;
	transform: rotate(45deg);
	border-radius: 2px;
}

.resource-info {
	margin-bottom: 1.5rem;
}

.sales-offer-banner-mobile.header-offer-banner {
	transform: translateY(0);
}

.resource-info-container.animate-slide-down {
	transform: translateY(0);
	opacity: 1;
	z-index: 999;
}

.resource-info-container p {
	margin-bottom: 1rem;
}

.resource-info-container ul {
	margin-left: 16px;
}

.resource-info-container .btn {
	padding: 4px 20px;
	background: var(--white);
	width: 100%;
	border-radius: 10px;
	color: var(--black-jet);
	border: none;
	display: block;
	text-align: center;
}

.resource-info-container .btn:hover {
	color: #fff;
	background: #F12C3E;
}

.resource-info-container ul li {
	list-style: disc;
}

.resource-info-container h6 {
	color: var(--white);
	margin-bottom: 1rem;
	font-weight: 700;
}

@media screen and (max-width:768px) {
	.resource-description-header .fa {
		right: -5%;
		top: 0;
	}

	.resource-info-container {
		bottom: 60px;
		right: 0;
		left: -40%;
	}

	.discount-icon {
		top: -50px;
		right: 150px;
	}
}

.resource-price .discount-percentage {
	display: none;
}

.discount-icon {
	position: absolute;
	top: 0;
	right: calc(-150px - 10px);
	width: 150px;
}

@media screen and (max-width:1100px) and (min-width:769px) {
	.discount-icon {
		right: 0;
	}
}


#customer_details h3 {
	margin: 0px !important;
	padding: 0px !important;
}

/* .resource-container.\36 _in_1_Specialist_Power_Pack_Bundle {
	display: none;
} */

.resources-carousel-wrapper {
	position: relative;
	width: 100%;
	margin: 20px auto;
	padding: 0;
}

.carousel-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	gap: 20px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE and Edge */
	padding: 20px 60px;
	/* Space for absolute buttons */
}

.carousel-track::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.carousel-track .resource-container {
	min-width: calc((100% - 20px) / 1.75);
	/* Show 1.75 slides */
	scroll-snap-align: start;
	flex-shrink: 0;
	margin-bottom: 0;
	position: relative;
}

.rescource-label {
	position: absolute;
	background: #000;
	color: #fff;
	font-size: 14px;
	left: 50%;
	transform: translateX(-50%);
	padding: 5px 10px;
	width: max-content;
	top: -15px;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #000;
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	text-decoration: none;
}

.carousel-btn:hover {
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.carousel-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
}

.carousel-btn:disabled:hover {
	transform: translateY(-50%);
}

.carousel-prev {
	left: -30px;
}

.carousel-next {
	right: -30px;
}

.carousel-btn i {
	font-size: 24px;
	color: #fff;
	pointer-events: none;
	/* Prevent icon from being click target */
}

@media screen and (max-width: 1024px) {
	.carousel-track .resource-container {
		min-width: calc((100% - 20px) / 1.5);
		/* Show 1.5 slides on tablets */
	}
}

@media screen and (max-width: 768px) {
	.carousel-track {
		padding: 20px 50px;
	}

	.carousel-track .resource-container {
		min-width: 100%;
		/* Full slide on mobile */
	}

	.carousel-btn {
		width: 40px;
		height: 40px;
	}

	.carousel-btn i {
		font-size: 18px;
	}
}