/*

Theme Name:		        Dox — Child
Theme URI: 		        https://dox.forqy.website/
Description:            Child Theme for a Dox — Creative WordPress Theme
Text Domain: 			dox-child
Version:				1.0.0

Template:		        dox
Template Version: 		1.4.0

Author: 		        FORQY
Author URI:             https://forqy.website/

License:				GPL-3.0-or-later
License URI:			https://www.gnu.org/licenses/gpl-3.0-standalone.html

*/

html, body { overflow-x: clip; }

body {
  background-image: url('/wp-content/themes/dox-child/images/background_img_facileautoricambi.jpg');
}

.fy-container {
    background:#fff;
}

.fy-slide h1 {
    font-size:1.5em;
    margin-bottom: 0.5em !important;
}

.fy-slide h2 {
    margin-bottom: 0.5em !important;
}

.fy-caption-button.fy-button-accent {
    background: linear-gradient(135deg, #e22d00, #ff5a33);
    border-radius: 999px;
    padding: 0.9rem 2.4rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.fy-caption-button.fy-button-accent::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    border: 1px solid #ffffff66;
    pointer-events: none;
}

.fy-caption-button.fy-button-bordered {
    border-radius: 999px;
    padding: 0.9rem 2.4rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.fy-caption-button.fy-button-bordered::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    border: 1px solid #ffffff66;
    pointer-events: none;
}

.fy-caption-button.fy-button-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}

.fy-centerer-50 {
    width: 574px;
}

.widget_call_to_action {
    border-radius:10px;
    border: 1px solid #94a3b84d;
}

.fy-term {
    border-radius: 8px;
}

.fy-term::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.08),
        transparent 40%,
        transparent 60%,
        rgba(255,255,255,0.04)
    );
    opacity: 0;
    transition: opacity 0.25s ease;
}

.fy-term:hover::before {
    opacity: 1;
}

.fy-badge-new {
    border-radius: 5px!important;
    border: 1px solid #fff;
    background-color: #282846!important;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.35);
}

.wp-block-separator.is-style-dots:before {
    content: "";
}

.wp-block-separator.is-style-dots {
    border-bottom: solid rgba(40, 40, 70, 0.2) !important;
    border-width: 0 0 1px;
}

.woocommerce .fy-products .fy-product.fy-product-card {
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 12px 30px rgba(10,20,20,0.6)!important;
}

.woocommerce .fy-products .fy-product.fy-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(10,20,20,0.8)!important;
}

.fy-product-image {
    border-radius: 10px;
}

.woocommerce .fy-product-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #ffffff;
}

.woocommerce .fy-product .button {
    width: 100%;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #e22d00, #ff5a33);
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
    color: #fff;
    margin-top: 3px !important;
}

.woocommerce .fy-product .button:hover {
    border: 3px solid #ffffff;
}

.woocommerce div.product .product_meta {
    border-radius: 10px;
    border: 1px solid #94a3b866;
    padding: 1rem 1rem;
    display: flex;
}

.woocommerce div.product .product_meta > span {
    padding: 0 18px 0 0;
}

.fa-quote-form-section {
    margin-top:50px;
}

.wc-block-product-filters__overlay-content h3 {
    text-transform: uppercase;
    font-size: 1.3rem;
    letter-spacing: 0.12em;
}

.wc-block-product-filters__overlay-content h2 {
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    margin-bottom: 1rem !important;
}

.fy-sidebar--shop .widget {
    border-radius: 10px;
    border: 1px solid #94a3b859;
    padding: 1rem;
    margin-bottom: 20px!important;
}

[class*="wp-block"] {
    margin-bottom: 1.5rem;
}

.extreme-popup-modal__close {
    padding: 7px 12px;
    font-size: 2rem;
    border: 1px solid #000000;
}

.extreme-popup-modal__close:hover {
    border: 1px solid #000000;
}

.extreme-whatsapp-call {
    filter: opacity(0.85);
}

.wc-block-product-filter-checkbox-list__show-more {
    color: #222;
}

:where(.fy-content) ul li, :where(.fy-content) ol li {
    margin-bottom: 10px;
}

.wpcf7 .wpcf7-form-control-wrap {
    margin: 0 0 10px;
}

.wpcf7 p {
    margin-top: 0;
}

.trova-btn-wrapper {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 3px solid #c1c1c1;
  font-weight: bold;
}

.trova-btn {
  display: inline-block;
  font-size: 16px;
  padding: 6px 10px;
  text-decoration: none;
}

.facil-form-note {
  text-align: center;
  font-weight: bold;
  margin-top: 1rem;
}

.facil-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem; /* spazio orizzontale e verticale tra i campi */
}

.facil-form-grid .facil-form-field {
  width: 100%;
  margin: 0; /* se il tema mette margini ai <p>, li controlliamo noi */
}

.sendButton-1Dqkv {
    background: #141432 !important;
}

@media (max-width: 767px) {
    .fy-centerer-50 {
        width: auto !important;
    }
}

@media (min-width: 768px) {
	.facil-form-grid .facil-form-field {
    width: calc(50% - 1rem); /* due campi per riga */
	}
	.facil-form-grid .facil-form-field.facil-form-field-full {
    width: 100%; /* textarea a tutta larghezza */
	}
}

@media (max-width: 1023px) {
	.fy-header-left .fy-bar .fy-bar-container .fy-flex-container {
	display:block
	}
	.fy-about-image-3 {
        right: -20px;
    }
}