#edd_checkout_form_wrap {
	position: relative;
}

.wp-block-edd-checkout >p:first-of-type {
	display: none;
}

#edd_purchase_form .edd-blocks-form input[type=text] {
	border: 1px solid #ddd;
	font-family: var(--wp--preset--font-family--body-font);
	color: var(--wp--preset--color--contrast);
}

#edd_purchase_form .edd-blocks-form select {
	border: 1px solid #ddd;
	font-family: var(--wp--preset--font-family--body-font);
	color: var(--wp--preset--color--contrast);
}

#edd_purchase_form .edd-blocks-form input[type=password] {
	border: 1px solid #ddd;
	font-family: var(--wp--preset--font-family--body-font);
	color: var(--wp--preset--color--contrast);
}

#edd_purchase_form .edd-blocks-form input[type=email] {
	border: 1px solid #ddd;
	font-family: var(--wp--preset--font-family--body-font);
	color: var(--wp--preset--color--contrast);
}

.edd-blocks-form__cart .edd-blocks-cart__row, .edd-blocks-form__cart .edd_cart_footer_row {
	flex-wrap: nowrap;
	align-items: flex-start !important;
	padding: 0 !important;
}

#edd_purchase_form .edd-blocks-form {
	border: none;
	padding: 2em 40px;
}

.edd-blocks-form__cart #edd_checkout_cart {
	border: none;
	background: var(--wp--preset--color--secondary-light);
}

.wp-block-edd-checkout #edd_checkout_cart {
	background: var(--wp--preset--color--secondary-light);
	padding-bottom: 40px !important;
}

.edd_cart_actions input.edd-item-quantity {
	border: 1px solid #ddd;
	font-family: var(--wp--preset--font-family--body-font);
	color: var(--wp--preset--color--contrast);
}

.edd-blocks-form__cart .edd_cart_item_name .edd_cart_actions label {
	font-weight: 400 !important;
}

#edd_checkout_cart a.edd-cart-saving-button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border-width: 0;
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--nav-font);
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: 1px;
	line-height: 1;
	padding: 10px 20px;
	text-decoration: none;
	text-transform: uppercase;
}

#edd_checkout_cart a.edd-cart-saving-button:hover {
	background-color: var(--wp--preset--color--tertiary);
	color: var(--wp--preset--color--contrast);
}

.edd-blocks-cart__row-item {
	align-items: flex-end !important;
}

.edd-blocks-form__cart .edd-blocks-cart__row-footer {
	padding: 5px 30px !important;
}

&>p:first-of-type {
	display: none;
}

fieldset#edd_simple_shipping_diff_address {
	border: none;
	padding: 0 40px;
}

fieldset#edd_simple_shipping_fields {
	border: none;
	padding: 0 40px;
}

.edd-terms {
	display: block !important;
	padding: 10px 40px;
}

.edd-terms-agreement {
	padding: 0 0 1em;
}

.edd_terms_links {
	display: none !important;
}

.celebrate-terms-of-service {
    height: 300px;
    overflow-y: auto;
    background: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--contrast);
    padding: 20px;
	font-size: var(--wp--preset--font-size--extra-small);
	margin-bottom: 1rem;
}

.celebrate-terms-of-service p+p {
	margin-top: 1em;
}

.celebrate-terms-of-service ol {
	list-style: auto !important;
	padding-left: 20px !important;
	margin: 10px;
}

.celebrate-terms-of-service li {
	padding-left: 10px;
	margin-bottom: 0px;
}

.celebrate-terms-of-service ol li::before {
	display: none;
}

.celebrate-terms-of-service::-webkit-scrollbar {
    width: 8px;
}

.celebrate-terms-of-service::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.celebrate-terms-of-service::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--contrast);
    border-radius: 30px;
}

.celebrate-terms-of-service::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#edd_checkout_form_wrap #edd_purchase_submit {
	padding: 0 40px;
}

#edd-paypal-container {
	width: 100px !important;
	padding: 0 0 0 40px;
}

.edd-select {
	border: 1px solid #ddd;
	font-family: var(--wp--preset--font-family--body-font);
	color: var(--wp--preset--color--contrast);
}

.wp-block-edd-checkout #edd_cc_address {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: none !important;
    padding: 0 !important;
}

.wp-block-edd-checkout #edd_cc_fields {
    background: var(--wp--preset--color--base-transparent);
    border: none !important;
    padding: 0 !important;
    width: auto;
}

.wp-block-edd-checkout [type=submit].edd-submit {
	background: var(--wp--preset--color--contrast) !important;
    color: var(--wp--preset--color--base) !important;
    border: 0px !important;
    border-radius: 0px !important;
    font-family: var(--wp--preset--font-family--nav-font);
    text-transform: uppercase;
    font-size: var(--wp--preset--font-size--xx-small) !important;
    letter-spacing: 1px;
	max-width: 110px;
}

.wp-block-edd-checkout #edd_purchase_form .edd-submit:hover {
	transform: none;
	opacity: .8;
}

.edd-blocks-form__cart .edd-blocks-cart__row-header {
	margin: 40px 30px 10px !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--wp--preset--color--secondary) !important;
}



.edd-blocks-cart__items {
	margin: 20px 30px 10px !important;
    padding: 0 !important;
    border-bottom: none !important;
}

.wp-block-edd-checkout input:not([type=checkbox]) {
    width: 100% !important;
    border: none !important;
    padding: 10px !important;
    background: var(--wp--preset--color--secondary-light);
    font-family: var(--wp--preset--font-family--nav-font);
    font-size: var(--wp--preset--font-size--extra-small);
    color: var(--wp--preset--color--contrast) !important;
    box-sizing: border-box;
}

.wp-block-edd-checkout select.edd-select {
    width: 100% !important;
    border: none !important;
	background: var(--wp--preset--color--secondary-light);
    font-family: var(--wp--preset--font-family--nav-font);
    font-size: var(--wp--preset--font-size--extra-small);
    color: var(--wp--preset--color--contrast);
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 38px;
}

.wp-block-edd-checkout #edd-card-address-wrap {
    grid-column: span 2;
}

.wp-block-edd-checkout #edd-card-address-2-wrap {
    grid-column: span 2;
}

.wp-block-edd-checkout #edd_checkout_form_wrap label {
	font-weight: 400 !important;
}

#edd_discount_code {
	width: 50%;
}

.edd-button-secondary {
    border: none !important;
    padding: 0px !important;
    background: transparent;
    font-family: var(--wp--preset--font-family--nav-font);
    font-size: var(--wp--preset--font-size--extra-small);
    color: var(--wp--preset--color--contrast) !important;
    box-sizing: border-box;
	text-align: left;
	width: 100%;
}

.edd_discount_link {
    color: transparent !important;
    position: relative;
}

.edd_discount_link::after {
    content: "Do you have a discount code? Click here to enter it.";
    color: var(--wp--preset--color--base);
    position: absolute;
    left: 0;
    top: 0;
    width: fit-content;
	background: var(--wp--preset--color--contrast);
	padding: 10px;
}

.edd_discount_link:hover::after {
	background: var(--wp--preset--color--octonary);
}

#edd_checkout_form_wrap legend {
	font-family: var(--wp--preset--font-family--heading-font);
    font-size: var(--wp--preset--font-size--x-large) !important;
	font-weight: 400 !important;
	border-bottom: 1px solid var(--wp--preset--color--secondary) !important;
	padding: 0 0 5px !important;
	margin-bottom: 1rem !important;
}

#edd_checkout_form_wrap label {
	font-family: var(--wp--preset--font-family--heading-font);
    font-size: var(--wp--preset--font-size--large) !important;
    text-transform: capitalize;
	font-weight: 400 !important;
}

.wp-block-edd-checkout #edd_purchase_form .edd-blocks-form legend {
	display: none;
}

#edd_cc_address:before {
	content: 'Billing Address';
	display: block;
	width: 100%;
	font-family: var(--wp--preset--font-family--heading-font);
    font-size: var(--wp--preset--font-size--x-large) !important;
	font-weight: 400 !important;
	border-bottom: 1px solid var(--wp--preset--color--secondary) !important;
	padding: 0 0 5px !important;
	margin-bottom: 1rem !important;
	grid-column: span 2;
}

#edd_secure_site_wrapper {
	font-weight: 400 !important;
}

#edd_checkout_cart {
    display: grid;
    grid-template-rows: auto;
    grid-auto-flow: dense;
}

#edd_checkout_cart:not(:has(.edd_cart_discount_row)) {
    grid-template-areas:
        "header"
        "items"
        "discount"
        "total";
}

#edd_checkout_cart:has(.edd_cart_discount_row) {
    grid-template-areas:
        "header"
        "items"
        "subtotal"
		"discount"
        "total";
}

.edd_cart_header_row {
    grid-area: header;
}

.edd-blocks-cart__items {
    grid-area: items;
}

.edd_cart_subtotal_row {
    grid-area: subtotal;
}

.edd_cart_footer_row:has(.edd_cart_total) {
    grid-area: total;
}

.edd_cart_discount_row {
    grid-area: discount;
}

#edd-discount {
	background: #fff !important;
}

#edd_checkout_cart:has(.edd_discount_total) .edd_discount_link {
	display: none;
}

.wp-block-edd-checkout #edd_purchase_form .edd-blocks-form input[type=tel] {
	padding-left: 48px !important;
}

.eddr-cart-item-notice {
	display: none;
}

#edd_checkout_cart:has(.edd_discount_total) .edd-cart-adjustment {
   display: none !important;
}