/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* hide mega-menu at first (JS shows it when triggered) */
.mega-menu { display: none; position: absolute; margin-left: auto; margin-right: auto; left: 0; right: 0; text-align: center; max-width: 1200px; z-index: 10;}
.mega-menu .kt-tabs-wrap .wp-block-kadence-tab { border-lefts: 1px solid red !important; }
.wp-block-kadence-tabs .kt-tabs-id_3e18bb-4d > .kt-tabs-title-list li { margin: 0 !important; }

.mega-menu .wp-block-kadence-column { border-right: 1px solid #c3c3c3; margin-left: 15px !important; margin-right: 0 !important; padding-right: 15px !important; }
.mega-menu .wp-block-kadence-column:last-child { border-right: none !important; }

.mega-menu .kt-inside-inner-col { height: 100%; display: flex; flex-flow: row wrap; align-content: flex-start; }
.mega-menu .kt-inside-inner-col > * { flex: 0 0 100%; }
.mega-menu .kt-inside-inner-col > .wp-block-kadence-advancedbtn { align-self: flex-end; }




.page-id-103 .woocommerce-loop-product__title { font-size: 20px !important; font-weight: bold; }
.page-id-103 .product { border: 1px solid black; padding: 10px !important; }
.page-id-103 .add_to_cart_button { margin-bottom: 1em !important; margin-right: 10px !important; }


/* -------------------------------------------------------------------------- */
/* WooCommerce chekcout page
/* -------------------------------------------------------------------------- */


/* container */
body.woocommerce-checkout .grid-container .site-content { max-width: 600px; margin: auto; }

/* Buy button, which I've renamed */
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt[name="woocommerce_checkout_place_order"] { margin-top: 20px; padding: 40px; float: none !important; font-size: 120%; }

/* background behind buy button (and PP note) */
body.woocommerce-checkout #payment {  background: unset; }

/* "Your order" heading (which I've renamed) */
body.woocommerce-checkout #order_review_heading { margin-top: 20px; }

/* "Email address" */
body.woocommerce-checkout label[for="billing_email"] { margin-bottom: 8px; }


/* price-related and qty-related headings - remove them */
body.woocommerce-checkout th.product-name,
body.woocommerce-checkout th.product-total,
body.woocommerce-checkout td.product-total,
body.woocommerce-checkout tr.cart-subtotal,
body.woocommerce-checkout tr.order-total,
body.woocommerce-checkout strong.product-quantity { display: none; }

/* the row with PP text and button */
body.woocommerce-checkout #payment .form-row.place-order { padding: 0; }

/* create account - username field that slides down */
body.woocommerce-checkout .create-account { margin-top: 1em; }