/*
Theme Name: TTFiveChild
Theme URI: 
Author: WPGene
Author URI: 
Description: Twenty Twenty Five Child Theme
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: ttfivechild
Tags: 
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

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

body {
	/*--wp--preset--font-size--extra-small: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.7875), 1.5rem);
	--wp--preset--font-size--small: clamp(1.25rem, 1.25rem + ((1vw - 0.2rem) * 0.975), 1.875rem);
	--wp--preset--font-size--medium: clamp(1.5625rem, 1.5625rem + ((1vw - 0.2rem) * 1.225), 2.3438rem);
	--wp--preset--font-size--large: clamp(1.9531rem, 1.9531rem + ((1vw - 0.2rem) * 1.525), 2.9297rem);
	--wp--preset--font-size--x-large: clamp(2.4414rem, 2.4414rem + ((1vw - 0.2rem) * 1.9125), 3.6621rem);
	--wp--preset--font-size--xx-large: clamp(3.0518rem, 3.0518rem + ((1vw - 0.2rem) * 2.3875), 4.5776rem);*/
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: "Libre Baskerville";
	font-weight: 400;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/libre-baskerville_normal_400.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Libre Baskerville";
	font-weight: 700;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/libre-baskerville_normal_700.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Raleway";
	font-weight: 100;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/raleway_normal_100.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Raleway";
	font-weight: 200;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/raleway_normal_200.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Raleway";
	font-weight: 300;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/raleway_normal_300.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Raleway";
	font-weight: 400;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/raleway_normal_400.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Raleway";
	font-weight: 500;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/raleway_normal_500.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Raleway";
	font-weight: 600;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/raleway_normal_600.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Raleway";
	font-weight: 700;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/raleway_normal_700.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Raleway";
	font-weight: 800;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/raleway_normal_800.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Raleway";
	font-weight: 900;
	font-style: normal;
    src: url("https://www.vsarredocasa.it/wp-content/themes/ttfivechild/assets/fonts/raleway_normal_900.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "FontAwesome";
    src: url("https://www.vsarredocasa.it/wp-content/plugins/yith-woocommerce-wishlist/assets/fonts/fontawesome-webfont.woff2") format("woff2");
    font-display: swap;
}

main {
	transition: margin-top 0.5s ease;
}

/* focus */
:focus {
  outline-color: #f1c040 !important;
  border-radius: 0.25rem !important;
}

:focus-visible {
  outline-color: #036 !important;
  border-radius: 0.25rem !important;
}

:where(a:where(:not(.wp-element-button)):focus) {
  color: #036 !important;
}

/*-- wback to top button --*/

#topButton {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background-color: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 0.25rem;
    display: none;
    transition: background-color 0.2s ease-in-out;
	z-index: 9;
	box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#topButton .top-icon {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    background: url('https://www.vsarredocasa.it/wp-content/uploads/2025/02/up-arrow_48.webp') no-repeat center center;
    background-size: cover;
    transition: background-image 0.2s ease-in-out;
    margin: 6px;
}

#topButton:hover {
    background-color: white;
}

#topButton:hover .top-icon {
    content: url('https://www.vsarredocasa.it/wp-content/uploads/2025/02/up-arrow_48_hover.webp');
}


/*-- woocommerce buttons --*/

.wc-block-components-button {
  font-size: var(--wp--preset--font-size--small);
  font-family: var(--wp--preset--font-family--raleway);
  font-weight: 600;
  color: #000;
}

/*-- woocommerce-breadcrumb --*/

.woocommerce .woocommerce-breadcrumb::after, .woocommerce .woocommerce-breadcrumb::before {
  content: unset;
  display: unset;
}

.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 2rem;
  padding: 0;
  display: flex !important;
  flex-wrap: wrap;
  column-gap: 0.5rem;
  row-gap: 0.5rem;
}

.woocommerce-breadcrumb span {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
}

.woocommerce-breadcrumb a::after {
  content: " >> ";
  white-space: nowrap;
}

.woocommerce-breadcrumb span:first-child a::before {
  content: '';
  background:url('https://www.vsarredocasa.it/wp-content/uploads/2025/03/home-breadcrumb.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
  display: inline-block;
  bottom: -0.1rem;
  position: relative;
}

.woocommerce-breadcrumb span:first-child a:hover::before,
.woocommerce-breadcrumb span:first-child a:focus::before {
  content: '';
  background:url('https://www.vsarredocasa.it/wp-content/uploads/2025/03/home-breadcrumb-hover.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
  display: inline-block;
  bottom: -0.1rem;
  position: relative;
  background-color: #036;
  border-radius: 0.25rem;
}

.woocommerce-breadcrumb span a {
  color: #036;
  background-color: #f1c040;
  border-radius: 0.25rem 1rem 1rem 0.25rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #f1c040;
  box-sizing: border-box;
}

.woocommerce-breadcrumb span:last-child {
  background-color: #f1c040;
  color: #036;
  padding: 0 0.5rem;
  border-radius: 0.25rem;
	transition: 0.5s;
}

.woocommerce-breadcrumb a {
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  background-color: #036;
  color: #f1c040;
}

.woocommerce-breadcrumb a:focus {
	outline-color: #036 !important;
  color: #036 !important;
	border-radius: 0.25rem 1rem 1rem 0.25rem !important;
	background-color: #f1c040;
}

/* shopper notices*/
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
  font-size: 1rem;
}

.wc-block-store-notices .woocommerce-notices-wrapper .wc-block-components-notice-banner a {
  padding: 0.25rem !important;
  font-size: 1rem;
  box-shadow: none;
  opacity: 1 !important;
}

.woocommerce-notices-wrapper .wc-block-components-notice-banner a:hover {
  background-color: #f1c040 !important;
  transition: 0.5s;
  border-radius: 0.25rem;
}

.wc-block-components-notice-banner {
  color: #000 !important;
  border: none !important;
  border-radius: 0 !important;
}

.wc-block-components-notice-banner.is-error {
  background-color: #ebebeb !important;
  border-top: 4px solid #cc1818 !important;
}

.wc-block-components-notice-banner.is-success {
  background-color: #ebebeb !important;
  border-top: 4px solid #4ab866 !important;
}

.wc-block-components-notice-banner.is-info {
  background-color: #ebebeb !important;
  border-top: 4px solid #007cba !important;
}

.wc-block-components-notice-banner.is-default {
  background-color: #ebebeb !important;
  border-top: 4px solid #2f2f2f !important;
}

.wc-block-components-notice-banner.is-warning {
  background-color: #ebebeb !important;
  border-top: 4px solid #f0b849 !important;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
  background-color: #ebebeb !important;
  color: #000 !important;
}

.woocommerce-error {
  border-top: 4px solid #cc1818 !important;
}

.woocommerce-error::before {
  color: #cc1818 !important;
}

.woocommerce-info {
  border-top: 4px solid #007cba !important;
}

.woocommerce-message {
  border-top: 4px solid #4ab866 !important;
}

.woocommerce-message::before {
  color: #4ab866 !important;
}

/* mini cart */
.wc-block-mini-cart__template-part, .wp-block-woocommerce-mini-cart-contents {
  height: calc(100% - 1.5rem);
}

.wc-block-components-drawer__close-wrapper {
  height: 3rem;
}

.wc-block-components-button.wp-element-button.wc-block-components-drawer__close.contained {
  background-color: #f1c040 !important;
  border-radius: 4px;
  margin: 0.25rem 0.25rem 0 0;
  opacity: 1;
}

.wc-block-components-button.wp-element-button.wc-block-components-drawer__close.contained:hover {
  background-color: #fff !important;
  border: 1px solid #f1c040;
}

h2.wc-block-mini-cart__title {
  font-size: 1.5rem;
padding-bottom: 1rem;
text-decoration: underline solid #f1c040 2px;
text-underline-offset: 0.5rem;
}

.wc-block-cart-items__row {
  border-bottom: 1px solid #f1c040;
}

.wc-block-mini-cart__footer::after {
  display: none;
}

.wc-block-cart-item__wrap a, .wc-block-cart-item__remove-link {
  padding: 0.25rem !important;
}

.wc-block-cart-item__wrap a:hover, .wc-block-cart-item__remove-link:hover {
  text-decoration-color: #f1c040 !important;
  background-color: #f1c040 !important;
  transition: 0.5s !important;
  border-radius: 0.25rem !important;
  color: #000 !important;
  padding: 0.25rem !important;
}

/* Advanced Woo Search */

.aws-search-result .aws_result_sale {
  display: block;
  height: 4.5rem;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  width: 4.5rem;
}

.aws-search-result .aws_onsale {
  background: #036 none repeat scroll 0 0;
  color: #f1c040;
  display: block;
  float: right;
  height: 20px;
  padding-top: 2px;
  position: relative;
  right: -1.5rem;
  text-align: center;
  top: 1rem;
  transform: rotate(45deg);
  width: 6.5rem;
  font-weight: 600;
}

/* Complianz */
/* complinaz consent manage button */
#cmplz-manage-consent #custom-cmplz-btn {
  animation: unset;
  left: 1rem;
  bottom: 1rem;
  height: 3rem;
  width: 3rem;
  min-width: unset;
  padding: 0;
  border-radius: 0.25rem;
  border: none;
  background-color: #036;
  transition: 0.5s;
}

#cmplz-manage-consent #custom-cmplz-btn:hover {
  background-color: #f1c040;
}

#cmplz-manage-consent #custom-cmplz-btn::before {
  content: '';
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 0.25rem;
  background-image: url('https://www.vsarredocasa.it/wp-content/uploads/2025/04/stretta-di-mani.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* altcha style */
.altcha-widget-wrap .altcha.svelte-ddsc3z {
  margin: 1rem 0 !important;
  max-width: 16.875rem;
  background-color: #f8df9f;
}

.altcha-widget-wrap .altcha-label.svelte-ddsc3z {
  display: flex;
  font-size: 0.8rem;
  font-weight: 600;
  height: 1rem;
  line-height: 1rem;
  color: #036;
}

.altcha-widget-wrap label.svelte-ddsc3z {
  font-size: 0.8rem;
  font-weight: 600;
  color: #036;
}

.altcha-widget-wrap a.altcha-logo.svelte-ddsc3z {
  color: #1d1dc9;
  opacity: 1;
  padding: 0;
}

.altcha-widget-wrap .altcha-footer.svelte-ddsc3z, .altcha-widget-wrap .altcha-footer.svelte-ddsc3z a {
  font-size: 0.75rem;
  opacity: 1;
  color: #1d1dc9;
}

