/*
Theme Name: Tazza
Theme URI: https://wordpress.com/theme/tazza
Author: Automattic
Author URI: https://automattic.com/
Description: Tazza puts the spotlight on your products and your customers. This theme leverages Woo Commerce to provide you with intuitive product navigation and the patterns you need to master digital merchandising.
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 7.2
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: 
Text Domain: tazza
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
	text-decoration-style: solid;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:active {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

.wp-block-post-title a:where(:not(.wp-element-button)):hover {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: none;
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

/* Overrides the Gutenberg styles for the outline button */
.wp-block-button.is-style-outline>.wp-block-button__link {
	border-color: currentColor;
	padding-top: calc(0.8rem - 1px);
	padding-right: calc(2.7rem - 1px);
	padding-bottom: calc(0.8rem - 1px);
	padding-left: calc(2.7rem - 1px);
}

:is(
	.is-style-outline .wp-block-button__link,
	.is-style-outline .wp-element-button,
	.wp-block-post-comments-form input[type=submit],
	.wp-block-button.is-style-outline>.wp-block-button__link, /* < - Overrides the Gutenberg styles for the outline button */
):is(
	:hover,
	:focus
) {
	opacity: 0.90;
}

:is(
	.is-style-outline .wp-block-button__link,
	.is-style-outline .wp-element-button,
	.wp-block-post-comments-form input[type=submit],
):is(
	:active
) {
	border-style: dashed;
}

/*
 * Remove the default top margin from footer.
 */
footer {
	margin-block-start: 0 !important;
}

.woocommerce .woocommerce-breadcrumb {
	font-size: var(--wp--preset--font-size--small);;
}
