/*
Theme Name: WiFi Assist
Theme URI: https://www.ifixwifi.co.uk/
Author: The IT Partner Ltd
Author URI: https://theitpartner.co.uk
Description: A WooCommerce-ready block theme for I Fix WiFi, with branded blocks for WiFi assessment, Self Fix reports, onsite support, and broadband improvement services.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wifi-assist
Tags: block-styles, full-site-editing, wide-blocks, e-commerce, accessibility-ready, translation-ready
*/

html {
	scroll-behavior: smooth;
}

body {
	text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

a {
	text-decoration-thickness: 0.0625em !important;
	text-underline-offset: 0.15em;
}

pre {
	max-width: 100%;
	overflow-x: auto;
}

.wp-site-blocks {
	overflow-x: clip;
}

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	border-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--contrast);
}

.wifi-assist-pill {
	border: 1px solid currentColor;
	border-radius: 999px;
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0;
	padding: 0.35rem 0.7rem;
}

.wifi-assist-card {
	border: 1px solid rgba(16, 20, 21, 0.14);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(15, 20, 21, 0.08);
	height: 100%;
}

.wifi-assist-service-grid {
	display: grid !important;
	column-gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	row-gap: var(--wp--preset--spacing--50);
}

.wifi-assist-service-grid > * {
	margin-block-start: 0 !important;
	min-width: 0;
}

@media (max-width: 980px) {
	.wifi-assist-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.wifi-assist-service-grid {
		grid-template-columns: 1fr;
	}
}

.wifi-assist-hero-logo img {
	background: rgba(255, 255, 255, 0.92);
	border-radius: 8px;
	padding: 0.75rem 1rem;
}

.wifi-assist-muted {
	opacity: 0.76;
}

.wifi-assist-assessment-box {
	box-shadow: 0 22px 60px rgba(16, 20, 21, 0.22);
}

.wifi-assist-assessment-band,
.wp-block-group.wifi-assist-assessment-band {
	background: #f8da4f !important;
}

.wifi-assist-assessment-box .war-shell-chat {
	margin-top: var(--wp--preset--spacing--40);
	max-width: none;
}

.wifi-assist-assessment-box .war-shell {
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.wifi-assist-assessment-frame {
	background: var(--wp--preset--color--contrast);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	box-sizing: border-box;
	display: block;
	height: min(760px, 82vh);
	margin-top: var(--wp--preset--spacing--40);
	width: 100%;
}

.wifi-assist-shortcode-wrap form,
.wifi-assist-shortcode-wrap .woocommerce {
	color: inherit;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.wc-block-grid__product {
	background: var(--wp--preset--color--white);
	border: 1px solid rgba(16, 20, 21, 0.16);
	border-radius: 8px;
	padding: 1rem;
}

.woocommerce div.product .product_title,
.woocommerce-page div.product .product_title {
	text-transform: none;
}
