/* 
Theme Name: Milestone School Photography
Description: This is a child theme of Hello Elementor for Milestone School Photography, created by Candlelight Websites
Author: Candlelight Websites
Author URI: https://lightyourway.co.za
Template: hello-elementor
Version: 1.0.1
*/

/*** Position Footer at bottom ***/
html, body {
    height: 100%;
}

body.woocommerce-account .elementor-location-header,
.elementor-location-footer {
    flex-shrink: 0;
}

body.woocommerce-account {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.woocommerce-account #content {
    flex: 1 0 auto;
}

/*** Button base style ***/
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button, body .elementor-widget-woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button, body.woocommerce-page a.wc-block-components-button, button.e-search-submit {
	background-color: var( --e-global-color-accent );
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
	font-weight: var(--e-global-typography-primary-font-weight);
	text-transform: uppercase;
	border-radius: 0;
	transition: all .3s;
	outline: none !important;
}
/*** Button hover style ***/
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button:hover, body .elementor-widget-woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button:hover, body.woocommerce-page a.wc-block-components-button:hover, button.e-search-submit:hover {
	background-color: var(--e-global-color-primary);
	color: #fff;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a,
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content-wrapper,
body .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table,
body .elementor-widget-woocommerce-checkout-page,
body .elementor-widget-woocommerce-checkout-page .woocommerce #customer_details .form-row .input-text,
body .elementor-widget-woocommerce-checkout-page .woocommerce #customer_details .form-row select,
body .elementor-widget-woocommerce-checkout-page .woocommerce #customer_details .form-row textarea,
body .elementor-widget-woocommerce-checkout-page .woocommerce .e-coupon-box .form-row .input-text,
body .elementor-widget-woocommerce-checkout-page .woocommerce .e-coupon-box .form-row select,
body .elementor-widget-woocommerce-checkout-page .woocommerce .e-coupon-box .form-row textarea,
body .elementor-widget-woocommerce-checkout-page .woocommerce .e-woocommerce-login-anchor .form-row .input-text,
body .elementor-widget-woocommerce-checkout-page .woocommerce .e-woocommerce-login-anchor .form-row select,
body .elementor-widget-woocommerce-checkout-page .woocommerce .e-woocommerce-login-anchor .form-row textarea,
body .elementor-widget-woocommerce-checkout-page .e-description,
body .elementor-widget-woocommerce-cart .woocommerce table.cart td span,
body .elementor-menu-cart__product-name,
body .elementor-menu-cart__product-price {
	font-size: 1rem;
}
body .elementor-widget-woocommerce-checkout-page .woocommerce-privacy-policy-text p {
    font-size: 0.86rem;
}
body:not(.logged-in).woocommerce-account .page-content .e-con-inner {
	max-width: 470px;
    margin: 0 auto;
}
table.shop_table thead th,
table.shop_table tbody td,
table.shop_table tfoot th,
table.shop_table tfoot td,
.cart_totals h2 {
    padding: 0.5rem 0.7rem !important;
}
table.shop_table thead th,
table.shop_table tfoot th,
table.shop_table tfoot td,
.cart_totals h2 {
    background: #f7f7f7 !important;
}
table.variations-table {
	border: 0 !important;
	margin: 0 !important;
}
.variations-table-actions {
	background: #f7f7f7;
    display: flex;
	flex-direction: column;
	justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
	padding: 1rem 0.7rem;
}
.variations-table-total {
	font-size: 0.875rem;
	text-transform: uppercase;
    font-weight: 600;
}
@media(min-width:480px) {
	.variations-table-actions {
		flex-direction: row;
		justify-content: space-between;
		padding: 0.5rem 0.7rem;
	}
}