/*
Theme Name: Albatross
Theme URI: https://albatross.com/
Author: Albatross by F.Q
Author URI: https://albatross.com/
Description: A warm, wine-and-brass block theme for Albatross by F.Q, a small shop of handmade crochet mufflers. Built for Full Site Editing and WooCommerce, with editable templates, section patterns and starter page patterns.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: albatross
Tags: e-commerce, full-site-editing, block-patterns, block-styles, wide-blocks, editor-style, custom-colors, custom-logo, featured-images, threaded-comments, translation-ready, one-column, grid-layout
*/

/*
 * Global styles that theme.json cannot express.
 * Block-specific styles live in assets/css/blocks/ and load only when the block is on the page.
 */

/* Accessible, consistent focus ring. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

html {
	scroll-behavior: smooth;
}

/* Sections own their spacing; remove the gap WordPress adds between header, main and footer. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* Sticky, translucent site header. */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 40;
}

.wc-block-components-address-form label {
    color: maroon !important;
}

.mpgp-block-card strong,.mpgp-block-card span,.mpgp-payment-info strong, .mpgp-payment-info span{
    color: maroon !important;
}

@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part {
		top: 0;
	}
}

.site-header {
	background-color: color-mix(in srgb, var(--wp--preset--color--base-2) 92%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* Round, brass-ringed logo (header and footer). */
.wp-block-site-logo img {
	border: 2px solid var(--wp--preset--color--accent);
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: cover;
}

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

/* Italic accent inside display headings, e.g. "Warm as <em>bird feathers.</em>" */
:where(h1, h2, .wp-block-heading) em {
	font-weight: 500;
}

/* Buttons: gentle lift on hover. */
.wp-element-button,
.wp-block-button__link {
	transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
}

/* Linked card: the whole card is clickable through its last link (stretched link). */
.is-style-card-link {
	position: relative;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.is-style-card-link:hover,
.is-style-card-link:focus-within {
	transform: translateY(-3px);
	border-color: var(--wp--preset--color--accent) !important;
}

.is-style-card-link a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

/* Current page indicator in the main navigation. */
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent);
	border-bottom: 2px solid currentColor;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}
