.checkoutMain .wc-block-components-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
}

.checkoutMain .wc-block-components-form > * {
    margin: 0 !important;
    padding: 0 !important;
}

.checkoutMain .wc-block-components-title {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    color: var(--wp--preset--color--contrast-1);
}

.checkoutMain fieldset {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 45px 0 !important;
}

.checkoutMain .wc-block-components-address-form {
    gap: 30px 20px !important;
}

.wc-blocks-components-select {
    margin: 0 !important;
}

.checkoutMain .wc-block-components-text-input,
.checkoutMain .wc-blocks-components-select__container {
    margin: 0 !important;
    position: relative;
    padding-top: 35px !important;
}

.checkoutMain .wc-blocks-components-select__container {
    height: unset !important;
}

.checkoutMain .wc-block-components-text-input input,
.checkoutMain .wc-block-components-textarea,
.checkoutMain .wc-blocks-components-select__select {
    padding: 13px 15px !important;
    background-color: var(--wp--preset--color--base-2) !important;
    border: 2px solid #F3F3F3 !important;
    font-size: 1em !important;
    color: var(--wp--preset--color--contrast-1) !important;
    line-height: 1.5 !important;
    transition: 400ms ease-in-out !important;
    border-radius: 5px !important;
    outline: none !important;
    box-shadow: none !important;
}

.checkoutMain .wc-blocks-components-select__select {
    background: transparent !important;
    height: unset !important;
}

.checkoutMain .wc-block-components-text-input input:focus,
.checkoutMain .wc-block-components-textarea:focus,
.checkoutMain .wc-blocks-components-select__select:focus {
    border-color: #D3D3D3 !important;
}

.checkoutMain .wc-block-components-text-input.has-error input {
    border-color: var(--wp--preset--color--accent-1) !important;
}

.checkoutMain .wc-block-components-text-input label,
.checkoutMain .wc-blocks-components-select__container label {
    position: absolute;
    left: 0 !important;
    bottom: unset !important;
    top: 0 !important;
    transform: unset !important;
    font-size: 1em !important;
    color: var(--wp--preset--color--contrast-1) !important;
    line-height: 1.5 !important;
}

.checkoutMain .wc-blocks-components-select__expand {
    display: none !important;
}

.checkoutMain .wc-block-components-checkout-step__heading,
.checkoutMain .wc-block-components-address-form__address_2-toggle {
    margin: 0 !important;
}

.checkoutMain .wc-block-components-checkout-step__description {
    display: none !important;
}

.checkoutMain .wc-block-components-checkbox input,
.checkoutMain .wc-block-components-checkbox .wc-block-components-checkbox__input {
    border: 2px solid #CFCFCF !important;
    transition: 400ms ease-in-out !important;
    outline: none !important;
}

.checkoutMain .wc-block-components-checkbox input:checked,
.checkoutMain .wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
    background-color: var(--wp--preset--color--contrast-2) !important;
    border-color: var(--wp--preset--color--contrast-2) !important;
}

.checkoutMain .wc-block-components-checkbox svg path {
    fill: var(--wp--preset--color--base-1) !important;
}

.checkoutMain .wc-block-components-sidebar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
}

.checkoutMain .wp-block-woocommerce-checkout-order-summary-block {
    padding: 20px;
    background-color: var(--wp--preset--color--base-1);
    box-shadow: 0 0 30px 0 #2A548C26;
    border: none !important;
}

.checkoutMain .wc-block-components-checkout-order-summary__title {
    margin: 0 !important;
}

.checkoutMain .wc-block-components-checkout-order-summary__title-text {
    margin: 0 !important;
    font-weight: 600 !important;
    color: var(--wp--preset--color--contrast-1) !important;
}

.checkoutMain .wc-block-components-checkout-order-summary__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.checkoutMain .wc-block-components-checkout-order-summary__content > div {
    padding: 0 !important;
    border: none !important;
}

.checkoutMain .wc-block-components-checkout-order-summary__content > div > div {
    padding: 0 !important;
}

.checkoutMain .wc-block-components-totals-item {
    padding: 0 !important;
    display: flex;
    flex-direction: row;
    gap: 5px 10px;
    align-items: flex-start;
}

.checkoutMain .wc-block-components-order-summary-item__image {
    display: none;
}

.checkoutMain .wc-block-components-order-summary-item__description {
    padding: 0 !important;
}

.checkoutMain .wc-block-components-product-name {
    font-size: 1.125rem;
    line-height: 1.78;
    font-weight: 400;
    font-style: unset;
}

.checkoutMain .wc-block-components-order-summary-item__total-price,
.checkoutMain .wc-block-components-totals-item__value {
    font-weight: 600;
    font-size: 1.0625rem;
    font-family: var(--wp--preset--font-family--montserrat);
}

.checkoutMain .wc-block-components-totals-item__label {
    line-height: 1.78;
    font-weight: 600;
}

.checkoutMain .wc-block-components-totals-item__label {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.78;
}

.checkoutMain .checkout-order-summary-block-fill,
.checkoutMain > div,
.checkoutMain .wc-block-components-checkout-order-summary__content,
.checkoutMain .wc-block-components-checkout-order-summary__title {
    border: none !important;
}

.checkoutMain .wc-block-components-form > .wc-block-checkout__terms--with-separator {
    padding-top: 26px !important;
}

.checkoutMain .wc-block-components-checkout-place-order-button {
    padding: 25px 40px !important;
    line-height: 1.2;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wp--preset--color--base-1);
    text-transform: uppercase;
    position: relative;
    border-radius: 35px;
    overflow: hidden;
    flex: 1;
    max-width: 24.125rem;
    z-index: 1;
}

.checkoutMain .wc-block-components-checkout-place-order-button::before,
.checkoutMain .wc-block-components-checkout-place-order-button::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: 400ms ease-in-out;
    z-index: -1;
}

.checkoutMain .wc-block-components-checkout-place-order-button::before {
    background-image: var(--wp--preset--gradient--custom-gradient-3);
    pointer-events: none;
}

.checkoutMain .wc-block-components-checkout-place-order-button::after {
    background-color: var(--wp--preset--color--accent-1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.checkoutMain .wc-block-components-checkout-place-order-button:hover::after {
    opacity: 1;
    visibility: visible;
}

.checkoutMain .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text {
    position: relative;
    z-index: 1;
}

#order .wc-block-components-select-input + .wc-block-components-select-input {
    margin-top: 20px;
}

.fieldHidden {
    display: none !important;
}

.checkoutMain .wc-block-checkout__shipping-option,
.wp-block-woocommerce-checkout-order-summary-shipping-block {
    display: none !important;
}

.wc-block-components-select-input-driving-school-license-class {
    margin-top: 40px !important;
}

.wc-block-components-address-form__driving-school-primary-school-completed {
    margin-top: 30px !important;
    margin-bottom: 50px !important;
}

@media (max-width: 739.98px) {
    .wc-block-checkout__actions_row {
        margin-top: 26px !important;
        gap: 32px !important;
    }
}

@media(max-width: 600px) {
        .checkoutMain .wc-block-components-form .wc-block-components-checkout-step {
            margin-bottom: 40px !important;
        }
}

@media (max-width: 499.98px) {
    .checkoutMain #shipping {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 399.98px) {
    .checkoutMain .wc-block-components-totals-item {
        flex-direction: column;
    }
}

/*FONT SIZING*/
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-components-product-metadata,
.wc-block-components-totals-item__description {
    font-size: 15px !important;
}

.wc-block-components-address-form__address_2-toggle,
.wc-block-components-checkbox > label,
.wc-block-checkout__terms {
    font-size: 1em !important;
}

.wc-block-components-checkout-return-to-cart-button {
    font-size: 18px !important;
}

.topSpacer {
    height: 180px !important;
}

@media (max-width: 479.98px) {
    .topSpacer {
        height: 230px !important;
    }
}