/*
Theme Name: Sunshine and Fresh Air
Theme URI: https://sunshineandfreshair.com/
Description: Block child theme of Twenty Twenty-Five for Sunshine and Fresh Air. Calm, practical green living. Draft, not yet deployed.
Author: GENAZ PTE. LTD.
Template: twentytwentyfive
Version: 1.2.2
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunshine-child
*/

/* Most styling lives in theme.json. Only what theme.json can't express goes here. */

/* Body links: always underlined, deep leaf for contrast. */
.entry-content a:not(.wp-element-button),
.wp-block-post-content a:not(.wp-element-button) {
	text-decoration: underline;
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1px;
}

/* Visible keyboard focus. */
a:focus-visible,
.wp-element-button:focus-visible,
button:focus-visible {
	outline: 3px solid var(--wp--preset--color--ink);
	outline-offset: 2px;
}

/* Comparison tables: scroll sideways on phones instead of squashing. */
.is-style-sunshine-compare {
	overflow-x: auto;
}
.is-style-sunshine-compare table {
	min-width: 560px;
	border-collapse: collapse;
}
.is-style-sunshine-compare thead th {
	background: var(--wp--preset--color--sky-wash);
	text-align: left;
}
.is-style-sunshine-compare td,
.is-style-sunshine-compare th {
	border: 1px solid #D9E7EF;
	padding: 0.6rem 0.75rem;
	vertical-align: top;
}
.is-style-sunshine-compare tbody td:first-child {
	font-weight: 600;
}

/* Product cards: gentle lift on hover only. */
.sunshine-product-card {
	transition: box-shadow 0.15s ease;
}
.sunshine-product-card:hover {
	box-shadow: 0 4px 16px rgba(43, 43, 43, 0.08);
}

@media (prefers-reduced-motion: reduce) {
	.sunshine-product-card {
		transition: none;
	}
}
