/*
Theme Name: YuPrint Storefront Child
Theme URI: https://www.yuprint.es/
Description: Tema hijo de Storefront para YuPrint. Incluye cabecera, pie de página y una ficha de producto preparada para configuradores de imprenta.
Author: YuPrint
Author URI: https://www.yuprint.es/
Template: storefront
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: yuprint-storefront-child
WC requires at least: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--yu-red: #d7193f;
	--yu-red-dark: #b91334;
	--yu-dark: #202529;
	--yu-dark-soft: #343a40;
	--yu-ink: #141b22;
	--yu-muted: #66717d;
	--yu-border: #d6dce2;
	--yu-surface: #ffffff;
	--yu-page: #eeeeee;
	--yu-radius: 14px;
	--yu-container: 1600px;
	--yu-shadow: 0 12px 35px rgba(20, 27, 34, 0.08);
}

html {
	scroll-behavior: smooth;
}

body.yuprint-theme {
	margin: 0;
	background: #fff;
	color: var(--yu-ink);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.yuprint-theme,
body.yuprint-theme button,
body.yuprint-theme input,
body.yuprint-theme select,
body.yuprint-theme textarea {
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.yuprint-theme a {
	color: inherit;
	text-decoration: none;
}

body.yuprint-theme a:hover,
body.yuprint-theme a:focus {
	color: var(--yu-red);
}

body.yuprint-theme img {
	max-width: 100%;
	height: auto;
}

body.yuprint-theme .col-full {
	box-sizing: border-box;
	width: min(100%, var(--yu-container));
	max-width: var(--yu-container);
	margin-right: auto;
	margin-left: auto;
	padding-right: 24px;
	padding-left: 24px;
}

body.yuprint-theme .site-content {
	outline: 0;
}

body.yuprint-theme .site-main {
	margin-bottom: 0;
}

body.yuprint-theme .button,
body.yuprint-theme button,
body.yuprint-theme input[type="button"],
body.yuprint-theme input[type="reset"],
body.yuprint-theme input[type="submit"] {
	min-height: 44px;
	border: 1px solid var(--yu-red);
	border-radius: 999px;
	background: var(--yu-red);
	box-shadow: none;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: none;
	transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.yuprint-theme .button:hover,
body.yuprint-theme button:hover,
body.yuprint-theme input[type="button"]:hover,
body.yuprint-theme input[type="reset"]:hover,
body.yuprint-theme input[type="submit"]:hover {
	border-color: var(--yu-red-dark);
	background: var(--yu-red-dark);
	color: #fff;
	transform: translateY(-1px);
}

body.yuprint-theme input[type="text"],
body.yuprint-theme input[type="email"],
body.yuprint-theme input[type="tel"],
body.yuprint-theme input[type="url"],
body.yuprint-theme input[type="number"],
body.yuprint-theme input[type="password"],
body.yuprint-theme input[type="search"],
body.yuprint-theme select,
body.yuprint-theme textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--yu-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	color: var(--yu-ink);
}

body.yuprint-theme input:focus,
body.yuprint-theme select:focus,
body.yuprint-theme textarea:focus,
body.yuprint-theme button:focus-visible,
body.yuprint-theme a:focus-visible {
	outline: 3px solid rgba(215, 25, 63, 0.2);
	outline-offset: 2px;
}

.yu-screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.yu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

.yu-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.yu-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: max-content;
	color: var(--yu-ink);
}

.yu-brand:hover,
.yu-brand:focus {
	color: var(--yu-ink) !important;
}

.yu-brand-mark {
	display: inline-flex;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.yu-brand-mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.yu-wordmark {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	white-space: nowrap;
}

.yu-wordmark strong {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -1.5px;
}

.yu-wordmark span {
	font-size: 32px;
	font-weight: 300;
	letter-spacing: 8px;
}

.yu-section-title {
	margin: 0 0 20px;
	font-size: clamp(26px, 3vw, 44px);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.yu-red-rule {
	display: block;
	width: 28px;
	height: 2px;
	margin: 12px auto 10px;
	background: var(--yu-red);
}

body.yuprint-theme .woocommerce-message,
body.yuprint-theme .woocommerce-info,
body.yuprint-theme .woocommerce-error,
body.yuprint-theme .woocommerce-noreviews,
body.yuprint-theme p.no-comments {
	border-radius: 10px;
	background: #fff;
	box-shadow: var(--yu-shadow);
}

body.yuprint-theme .woocommerce-info {
	border-left-color: var(--yu-red);
}

@media print {
	.yu-no-print,
	.site-header,
	.site-footer,
	.yu-whatsapp,
	.woocommerce-tabs,
	.related,
	.up-sells {
		display: none !important;
	}

	body.yuprint-theme,
	body.yuprint-theme .site-content,
	body.yuprint-theme .yu-product-workspace {
		background: #fff !important;
	}

	body.yuprint-theme .yu-product-hero,
	body.yuprint-theme .single-product div.product .summary,
	body.yuprint-theme .yu-quote-card {
		box-shadow: none !important;
	}
}
