
.woocommerce-checkout {
    .page__content {
        padding-top: 80px;

        .container {
            > .row {
                max-width: 100%;
                margin: 0;

                > * {
                    padding: 0;
                    max-width: 100%;
                    width: 100% !important;
                }
            }
        }
    }
    
    &.woocommerce-order-received {
       .page__content {
            padding-top: 0;
       } 
    }
}

:root :where(.wp-block-woocommerce-checkout) {
	max-width: 100%;
    width: 100% !important;
    margin: 0;
    padding: 0;

    .wc-block-components-sidebar-layout {
    	.wc-block-checkout__contact-fields,
		.wc-block-checkout__billing-fields,
		.wc-block-checkout__shipping-fields,
		.wc-block-checkout__payment-method,
		.wc-block-checkout__shipping-option,
		.wc-block-checkout__order-notes,
		.wp-block-woocommerce-checkout-order-summary-block {
			background-color: var(--bs-body-bg) !important;
	        border-radius: 8px;
	        box-shadow: 0 1px 3px rgba(3,0,71,.09);
	        border: 0;
	    }

    	.wc-block-checkout__contact-fields,
    	.wc-block-checkout__billing-fields,
    	.wc-block-checkout__shipping-fields,
    	.wc-block-checkout__shipping-option,
    	.wc-block-checkout__payment-method {

	        .wc-block-components-checkout-step__heading-container {
	        	padding: 16px 24px;
	        	border-bottom: 1px solid var(--bs-border-color);
	        	margin-bottom: 0;

	        	.wc-block-components-title {
	        		font-size: 1.25rem;
	        		font-weight: 500;
				    line-height: 1.4;
				    color: var(--bs-heading-color);
	        	}
	        }

	        .wc-block-components-checkout-step__content {
	        	padding: 24px;

	        	.wc-block-components-notice-banner {
	        		margin-top: 0;
	        	}

	        	.wc-block-components-radio-control {
	        		.wc-block-components-radio-control__input {
	        			height: 18px;
	        			width: 18px;
	        		}
	        		.wc-block-components-radio-control__option-layout {
	        			padding-top: 2px;
	        		}
	        	}
	        }
    	}

    	.wc-block-checkout__order-notes {

	        .wc-block-checkout__add-note {
	        	padding: 24px;

	    		textarea {
	    			border-color: var(--bs-border-color);
					font-size: .875rem;
					padding-left: 20px;

					&:focus {
						border-color: var(--bs-primary);
					    outline: 0;
					    box-shadow: 0 0 0 3px rgba(231, 225, 253, .75);
					}
	    		}
	    	}
    	}
    }

    .wc-block-components-form { 
      	.wc-block-components-text-input,
      	.wc-blocks-components-select {
			input[type=email], 
			input[type=number], 
			input[type=password], 
			input[type=tel],
			input[type=text], 
			input[type=url],
			select,
			.wc-blocks-components-select__select {
				border-color: var(--bs-border-color);
				font-size: .875rem;
				padding-left: 20px;

				&:focus {
					border-color: var(--bs-primary);
				    outline: 0;
				    box-shadow: 0 0 0 3px rgba(231, 225, 253, .75);
				}
			}

			label {
				font-size: .875rem;
				left: 20px;
			}

			&.is-active {
				input[type=email], 
				input[type=number], 
				input[type=password], 
				input[type=tel],
				input[type=text], 
				input[type=url],
				select {
					&,
					&:focus {
						padding: 24px 20px 9px;
					}
				}
			}
		}

		.wc-blocks-components-select  {
			label.wc-blocks-components-select__label {
				font-size: 0.715rem;
			}
		}
	}

	.wc-block-components-radio-control--highlight-checked {
		.wc-block-components-radio-control-accordion-option--checked-option-highlighted, 
		label.wc-block-components-radio-control__option--checked-option-highlighted {
			box-shadow: inset 0 0 0 1.5px var(--bs-primary);
		} 
	}

	.wc-block-components-address-card {
		flex-wrap: wrap;
	}

	.wc-block-components-checkout-place-order-button {
		background-color: var(--bs-primary);
		border-radius: 4px;
		color: var(--bs-body-bg);
		padding: 14px 20px;
		outline: 0; 
        box-shadow: none; 
        border: 0;
        font-weight: 600;

        &:hover,
        &:focus {
        	background-color: var(--bs-dark-primary );
        	color: var(--bs-body-bg);
        }
	}
	.wp-block-woocommerce-checkout-order-summary-block {
		color: var(--bs-dark);
		border: 0;

        .wc-block-components-checkout-order-summary__title {
        	padding: 16px 24px;
        	margin: 0 !important;

        	.wc-block-components-checkout-order-summary__title-text {
        		font-size: 1.25rem !important;
        		margin: 0 !important;
        	}
        }

        .wc-block-components-totals-item__label {
        	font-weight: 700;
        }

        .wc-block-components-totals-footer-item {
        	@media(min-width: 1024px){
	        	.wc-block-components-totals-item__label,
	        	.wc-block-components-totals-item__value {
	        		font-size: 1.563rem;
	        	}
	        }
        	.wc-block-components-totals-item__value {
        		color: var(--bs-primary);
        	}
        }
	}
}

@media(max-width: 991px) {
	:root :where(.wp-block-woocommerce-checkout) {
		.wp-block-woocommerce-checkout-order-summary-block {
			padding: 24px;
			.wc-block-components-checkout-order-summary__title {
				border: 0 !important;
				padding: 0 !important;
			}
		}

		.wc-block-checkout__actions_row {
			margin-top: 20px;
		}
	}
}

@media (min-width: 1200px) {
    :root :where(.wp-block-woocommerce-checkout) {
        .wc-block-components-sidebar-layout {
            .wc-block-components-main {
                width: 68%;
                padding-right: 2.15%;
            }

            .wc-block-checkout__sidebar { 
               max-width: 356px;
               padding: 0;
           }
       }
    }
}

/*# sourceURL=https://risksacademy.com/bimacog/themes/geeks/assets/css/blocks/woocommerce/checkout.css */