/*!
Theme Name: Passi di Storia
Theme URI: https://passidistoria.it/
Author: Web Prato srl
Author URI: https://webprato.it
Description: Passi di Storia WordPress Theme
Version: 1.2.5
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: passi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


.shop-cart .added {
	display: none;
}
.shop-cart .added_to_cart.wc-forward {
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
	color: var(--tp-common-white);
	background: var(--tp-theme-1);
	height: 60px;
	line-height: 60px;
	text-align: center;
	padding: 0 38px;
	position: relative;
	z-index: 1;
	overflow: hidden;
	text-transform: capitalize;
}
.shop-cart a.added_to_cart.wc-forward::after {
	display: none;
}
.select-item input {
	-webkit-tap-highlight-color: transparent;
	background-color: #fff;
	border-radius: 5px;
	border: solid 1px #e8e8e8;
	display: block;
	font-family: inherit;
	font-size: 14px;
	font-weight: normal;
	height: 60px;
	line-height: 45px;
	outline: 0;
	padding-left: 18px;
	padding-right: 30px;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	white-space: nowrap;
	width: 100%;
	margin-bottom: 16px;
}

.wpc-search-field-wrapper input.wpc-search-field {
    height: 48px;
    border-radius: 50px;
    border: 1px solid #000;
    width:30%;
}
.wpc-filter-content select.wpc-filters-widget-select {
    height: 48px;
    border-radius: 50px;
    padding: 0 15px;
    border: 1px solid #000;
    width:30%;
}
/* webprato 2026: loghi del footer uniformi (stessa altezza, titoli allineati) */
.footer_logo_sponser {
	align-items: stretch;
	gap: 20px;
}
.footerlogo.logo_1,
.footerlogo.logo_2 {
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.footerlogotitle {
	font-size: 15px;
	margin-bottom: 10px;
	white-space: nowrap;
}
.footerlogo a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 110px;
	padding: 10px;
	background: #fff;
	border-radius: 6px;
}
.footerlogo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}
@media (max-width: 575.98px) {
	.footer_logo_sponser { flex-direction: column; }
	.footerlogo.logo_1, .footerlogo.logo_2 { width: 100%; }
}

/* webprato 2026: credito hosting e sviluppo */
.copyright_text .credits_text {
	margin-top: 4px;
	font-size: 13px;
}
.copyright_text .credits_text a {
	color: #fff;
	text-decoration: underline;
}
.copyright_text .credits_text a:hover {
	color: var(--tp-theme-1);
}

/* webprato 2026: consenso privacy nei moduli */
.newsletter_privacy {
	flex-basis: 100%;
	width: 100%;
	margin-top: 12px;
	text-align: center;
	font-size: 13px;
	line-height: 1.5;
	color: #fff;
}
.newsletter_privacy a,
.wpcf7-acceptance a {
	text-decoration: underline;
}
.newsletter_privacy a {
	color: #fff;
}
.newsletter_privacy input[type="checkbox"],
.wpcf7-acceptance input[type="checkbox"] {
	width: auto;
	height: auto;
	margin-right: 6px;
	vertical-align: middle;
}
.contact__input .wpcf7-acceptance {
	display: block;
	margin-top: 10px;
	font-size: 14px;
}
/* newsletter: email + pulsante sulla stessa riga, Turnstile e consenso sotto */
.wpcf7 form:has(.newsletter_privacy) {
	flex-wrap: wrap;
	justify-content: center;
}
.wpcf7 form:has(.newsletter_privacy) .wpcf7-turnstile {
	order: 10;
	flex-basis: 100%;
	display: flex;
	justify-content: center;
	margin-top: 10px;
}
.wpcf7 form:has(.newsletter_privacy) .newsletter_privacy {
	order: 11;
}
.wpcf7 form:has(.newsletter_privacy) .wpcf7-response-output {
	order: 12;
	flex-basis: 100%;
	color: #fff;
}
