/*
Theme Name: Hello SimplerWEEE
Theme URI: https://www.simplerweee.co.uk/
Template: hello-elementor
Description: Child theme of Hello Elementor for SimplerWEEE. Carries the custom WooCommerce filters and template overrides from the previous SimplerWeee (Solio) child theme. Built by Digital House, August 2026.
Author: Digital House
Author URI: https://digitalhousemd.co.uk/
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-simplerweee
*/


/* ==========================================================================
   SimplerWEEE – global form / WooCommerce button styling (matches Solio look)
   ========================================================================== */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"],
.mc4wp-form input[type="submit"],
.mc4wp-form button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.woocommerce form.login .button,
.woocommerce form.register .button,
.woocommerce-MyAccount-content .button,
form.post-password-form input[type="submit"],
.comment-form input[type="submit"] {
	background-color: #549F57;
	color: #FFFFFF;
	border: 0;
	border-radius: 0;
	font-family: "DM Sans", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	padding: 14px 36px;
	text-decoration: none;
	transition: background-color .3s ease, color .3s ease;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover,
.mc4wp-form input[type="submit"]:hover,
.mc4wp-form button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover,
.woocommerce form.login .button:hover,
.woocommerce form.register .button:hover,
.woocommerce-MyAccount-content .button:hover {
	background-color: #04643C;
	color: #FFFFFF;
}
.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
	background-color: #549F57;
	color: #FFFFFF;
	opacity: .55;
}
.woocommerce a.button.disabled:hover,
.woocommerce button.button:disabled:hover,
.woocommerce button.button:disabled[disabled]:hover {
	background-color: #549F57;
	color: #FFFFFF;
}

/* Form fields – keep the light, square look */
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.wpcf7 textarea,
.wpcf7 select,
.mc4wp-form input[type="email"],
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .cart .coupon input#coupon_code,
.woocommerce-cart .quantity .qty,
.woocommerce div.product form.cart .quantity .qty {
	border: 1px solid #CED1D5;
	border-radius: 0;
	background: #FFFFFF;
	color: #1E1D1D;
	font-family: "DM Sans", sans-serif;
	font-size: 15px;
	padding: 12px 16px;
	box-shadow: none;
}
.woocommerce-cart .quantity .qty,
.woocommerce div.product form.cart .quantity .qty { padding: 10px 8px; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .mc4wp-form input[type="email"]:focus,
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
	border-color: #549F57;
	outline: none;
}

/* Breathing room above WooCommerce account / cart / checkout content (no title bar on these) */
.woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main,
.woocommerce-cart #content > .page-content, .woocommerce-checkout #content > .page-content, .woocommerce-account #content > .page-content {
	padding-top: 40px;
}

/* Product single – price + variation table tidy-up */
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: #549F57; font-weight: 700; }
.woocommerce div.product form.cart .variations td.label label { font-weight: 700; color: #1E1D1D; }
.woocommerce div.product form.cart .variations select { border: 1px solid #CED1D5; border-radius: 0; padding: 8px 12px; }

/* Links */
.woocommerce-MyAccount-navigation ul li a,
.woocommerce-info a, .woocommerce-message a { color: #549F57; }

/* Hide the stray page-title Hello outputs on Woo pages if ever re-enabled */
.page-header .entry-title { display: none; }

/* Mobile cart – WooCommerce smallscreen CSS only re-shows td cells; our cart template uses th.product-name */
@media only screen and (max-width: 768px) {
	.woocommerce table.shop_table_responsive tr th.product-name,
	.woocommerce-page table.shop_table_responsive tr th.product-name {
		display: block;
		text-align: left !important;
	}
	.woocommerce table.shop_table_responsive tr th.product-name::before {
		content: '';
	}
}
