/*Settings Sito Ofyr Italia*/

:root {
    --fontTesto: 'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif; 
    --wp--preset--spacing--30: 15px !important;
    --bs-body-font-family: 'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif !important;
    --bs-font-sans-serif: 'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif !important;
    --wp--preset--font-family--inter: 'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif !important;
}

h1, h2, h3, h4, h5, p, a, span, strong { 
	word-break: auto-phrase;
	overflow-wrap: break-word;
	hyphens: auto;
	white-space: normal;
}
.ofyr-italia-body main *:not(i) {
    font-family: var(--fontTesto) !important;
}
.fa-solid {
    font-family: "FontAwesome" !important;
}
.is-layout-flow {
    padding-top: 0 !important;
}
.wp-block-post-title { 
    font-weight: 200;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
:where(.wp-site-blocks *:focus) {
    outline-width: 0 !important;
}
.outlineButton:hover a {
    background-color: #FFF !important;
    color: #1a1a1c;
}
.zindex-999 {
    z-index: 999;
}
.uppercase {
    text-transform: uppercase;
}

.no-hyphens {
    hyphens: none;
}
/*Logo*/
.ofyr-italia-body .wp-block-site-logo.is-default-size img {
    max-height: 50px !important;
    width: 100% !important;
}

.woocommerce-breadcrumb *{
    font-size: 14px !important;
}

.breadcrumbs a {
    color: #1a1a1c;
    text-decoration: none;
}
.breadcrumbs a:after {
    content: "\f105";
    font-family: "FontAwesome" !important;
    color: rgba(0, 0, 0, 0.35);
    margin: 0 2px 0 5px;
    text-align: center;
    font-size: 12px;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #000 !important;
}
.wp-block-search__button-only {
    position: relative;
}
.wp-block-search__input {
    border-radius: 0 !important;
}
#mega-menu-wrap-max_mega_menu_1 {
    width: 100%;
}
#mega-menu-wrap-max_mega_menu_1 .immagine__menu {
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    background-image: url('https://ofyritalia.it/wp-content/uploads/2025/04/Website-Dropdown-357x430-Sfeer_Collection.webp');
}
/*
.megamenu-categoria {
    min-height: 200px;
}*/
.megamenu-categoria .categoria-titolo a {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
}
.megamenu-categoria .categoria-prodotti .prodotto-item a{
    color: #1a1a1c;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
}
.megamenu-categoria .categoria-prodotti .prodotto-item a:hover{
    text-decoration: underline;
}
.megamenu-categoria .categoria-prodotti{
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
} 
.wp-block-search__inside-wrapper { 
    justify-content: end;
}
.mega-current_page_item {
    position: relative;
}
.mega-current_page_item a {
    transition: all .3s ease-in-out;
}


#product-search-results {
    position: absolute;
    background-color: white;
    border: 1px solid rgb(204, 204, 204);
    width: 100%;
    z-index: 1000;
    top: 55px;
    padding: 20px 10px;
    max-height: 300px;
    overflow: auto;
}
#product-search-results .dettagliProdotto {
    margin-left: 5px;
}
#product-search-results .dettagliProdotto *{
    color: #1a1a1c !important;
    text-decoration: none;
}
#product-search-results .textDesc {
    font-size: 11px;
    overflow-wrap: anywhere;
    margin: 0;
}
.product-result {
    align-items: center;
}
.product-result img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    object-position: center;
}
/*Store Locator*/
#wpsl-result-list {
    align-items: start;
    display: flex;
    flex-direction: column;
    margin: 0 !important; 
    max-height: 750px;
} 
#wpsl-stores .wpsl-directions {
    display: none;
}
.wpsl-input label {
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: bold;
    width: 100% !important;
}

.ofyr-italia-body .wpsl-search {
    background-color: #F7F7F7;
}

.ofyr-italia-body #wpsl-search-input {
    border: 1px solid rgb(209, 209, 209);
    border-radius: 0 !important; 
    background-color: #FFF;
    width: 100% !important;
}

.ofyr-italia-body #wpsl-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 100%;
}
.ofyr-italia-body .wpsl-direction-wrap {
    text-align: right;
}
.ofyr-italia-body #wpsl-stores {
    background-color: #fff !important;
    padding-top: 20px;
}

.ofyr-italia-body #wpsl-stores ul li { 
    /*padding: 1.5rem;*/ 
    padding: 0px 1.5rem; 
}
.ofyr-italia-body .wpsl-store-location p strong {
    text-transform: uppercase;
}
.ofyr-italia-body #wpsl-result-list li p {
    padding-left: 0;
    margin: 0 0 0px 0;
}
.ofyr-italia-body #wpsl-stores ul li * {
    font-size: 13px !important; 
    color: #1a1a1c !important;
}
.ofyr-italia-body #wpsl-stores ul li p strong {
    font-size: 15px !important;
}
.ofyr-italia-body #wpsl-stores ul li .wpsl-directions {
    color: rgb(26, 26, 28) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 12px;
}
.ofyr-italia-body #wpsl-stores ul li .wpsl-directions::before {
    content: "\f4d7";
    font-family: "FontAwesome";
    margin-right: 5px;
    color: rgb(26, 26, 28);
    font-size: 20px;
}

.ofyr-italia-body #wpsl-gmap {
    width: 67%;
    margin: 0 !important;
}

#clickRivenditore:hover {
    cursor: pointer;
}
/*Homepage*/
/* Stile base per l'elemento del carosello */
#owlCategorie a {
    text-decoration: none;
}
#owlCategorie .item {
    width: 250px;
    height: 250px;
    background: #F7F7F7; /* Sfondo grigio iniziale */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    overflow: hidden;
    transition: background 0.5s ease-in-out;
    padding: 20px;
}

/* Titolo della categoria */
#owlCategorie .item .title {
    text-align: left !important;
    font-size: 14px;
    font-weight: bold;
    color: #333; /* Colore iniziale */
    margin-bottom: 10px;
    position: relative;
    z-index: 3; /* Sopra tutto */
    transition: color 0.2s ease-in-out;
}

/* Immagine prodotto */
#owlCategorie .item img {
    max-width: 80%;
    height: auto;
    position: relative;
    z-index: 3; /* Sopra lo sfondo */
    transition: opacity 0.1s ease-in-out;
}

/* Pseudo-elemento per la Cover Image (inizialmente nascosto) */
#owlCategorie .item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; /* Inizialmente nascosta */
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

/* Overlay nero semi-trasparente sopra la Cover */
#owlCategorie .item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay nero */
    opacity: 0; /* Inizialmente invisibile */
    transition: opacity 0.5s ease-in-out;
    z-index: 2;
}

/* Effetto hover */
#owlCategorie .item:hover::before {
    opacity: 1; /* Cover Image appare come sfondo */
}
#owlCategorie .item:hover {
    background-image: var(--cover-image);    
    background-size: cover;
}
#owlCategorie .item:hover::after {
    opacity: 1; /* Overlay nero visibile sopra la Cover */
}

#owlCategorie .item:hover .title {
    color: #fff; /* Testo diventa bianco */
}

#owlCategorie .item:hover img {
    opacity: 0;
}

.owl-prodotti .item {
    background: #F7F7F7;
    padding: 20px;
}

.owl-prodotti .item a{ 
    text-decoration: none !important;
}

.owl-prodotti .item .title{
    text-align: left !important;
    font-size: 14px;
    font-weight: bold;
    color: #333; /* Colore iniziale */
    margin-bottom: 10px;
    position: relative;
    z-index: 3; /* Sopra tutto */
    transition: color 0.2s ease-in-out; 
    text-decoration: none !important;
}

.wpcf7-form.sent {
    padding-bottom: 20px;    
}
.formDiContatto .wpcf7-response-output {
    color: #1a1a1c !important;
}
.wpcf7 input[type="submit"]:hover { 
    background-color: rgba(255,255,255,0.9) !important;
    border-color: rgba(255,255,255,0.9) !important;
}

.wpcf7-response-output {
    color: #fff !important;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
}

.newsletter__input .form-control { 
    background: #595959;
    border: 0;
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    height: 50px;
} 
.newsletter__send .wpcf7-list-item {
    margin-left: 0 !important; 
}

.newsletter__send .wpcf7-list-item label{ 
    display: flex;
    align-items: center;
}
.newsletter__input input.form-control::placeholder,
.newsletter__send .wpcf7-list-item-label, 
.newsletter__send .wpcf7-list-item-label *{
    color: #fff;
    font-size: 12px;
    line-height: 16px;
}
 
.newsletter__input .wpcf7-not-valid-tip {
    font-size: 12px;
}

.newsletter__send .wpcf7-acceptance input[type="checkbox"] {
    /* Stili di base per la checkbox */
    appearance: none;
    -webkit-appearance: none; /* Per compatibilità con Safari e Chrome */
    -moz-appearance: none; /* Per compatibilità con Firefox */
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    outline: none; /* Rimuove l'outline predefinito al focus */
}

.newsletter__send .wpcf7-acceptance input[type="checkbox"]:checked {
    /* Stili quando la checkbox è selezionata */
    background-color: #007bff;
    border-color: #007bff;
}

.newsletter__send .wpcf7-acceptance input[type="checkbox"]:checked::before {
    /* Segno di spunta (checkmark) */
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
}

.newsletter__send .wpcf7-acceptance .wpcf7-list-item-label {
    /* Stili per il testo dell'etichetta */
    margin-left: 10px; /* Spazio tra la checkbox e il testo */
    font-size: 12px;
    color: #fff;
}

.newsletter__send .wpcf7-submit {
    /* Stili per il pulsante di invio */
    background-color: #fff !important;  
    padding: 15px 20px !important;
    color: #000 !important;
    border: 1px solid #fff !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important; 
    font-size: 12px !important;
    letter-spacing: 1px !important;
    width: 100% !important;
    transition: all .3s ease-in-out;
}

.newsletter__send .wpcf7-submit:hover {
    background-color: transparent;
    color: #fff;
}
/*Pagina Negozio*/
.ofyr-italia-body .woocommerce-breadcrumb {
    text-transform: uppercase;
    color: #1a1a1c;
    text-decoration: none;
    font-weight: bold;
}
.ofyr-italia-body .woocommerce-breadcrumb * {
    text-transform: uppercase;
    color: #1a1a1c;
    font-weight: 400 !important;
    text-decoration: none;
}
ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-0 {
    list-style: none;
    padding-left: 0;
}
body.post-type-archive-product #contenutoCatalogo .is-layout-flex, 
body.tax-product_cat #contenutoCatalogo .is-layout-flex {
    display: flex;
    flex-grow: 1;
}
body.post-type-archive-product .wc-block-product-template__responsive {
    grid-gap: 5px;
}
.wc-block-product-categories-list-item a {
    color: #1a1a1c;
    text-decoration: none;
}
li.wc-block-product-categories-list-item.active {
    border-bottom: 1px solid;
    font-weight: bold;
}
/*Carousle*/
#owlPaginaProdotti .categoria-item h3,
.owl-carousel .prodotto-item h3 {
    font-size: 16px !important;
}
#owlPaginaProdotti .categoria-item img{
    height: 115px;
    object-fit: cover;
    object-position: center;
}
#owlPaginaProdotti a,
.owl-carousel .prodotto-item a {
    color: #1a1a1c;
    text-decoration: none;
}
/*Pagina Prodotti*/
/*Immagine Proodotto*/
#galleryProduct img {
    width: 100%;
    background: #F7F7F7 !important;
  }
  .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    object-fit: cover;
    height: 140px;
    object-position: center;
}
#galleryProduct .swiper-container {
    width: 100%;
    max-width: 940px;
    margin: auto;
    overflow: hidden;
  }
  
#galleryProduct .swiper-container.slider {
    height: auto;
  }
  
#galleryProduct .swiper-container.slider-thumbnail {
    height: auto;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  
#galleryProduct .swiper-container.slider-thumbnail .swiper-wrapper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.5;
    overflow: hidden;
    cursor: pointer;
  }
  
#galleryProduct .swiper-container.slider-thumbnail .swiper-wrapper .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #000;
  }
  .slider-thumbnail .swiper-slide {
    width: auto; /* Permette alle slide di adattarsi al contenuto */
}
  .swiper-button-next:after, 
  .swiper-rtl .swiper-button-prev:after {
    content: '\f061' !important;
    font-family: "FontAwesome" !important;
    color: #1a1a1c;
    opacity: .15 !important;
    font-size: 20px !important;
    border-radius: 50%;
    padding: 10px 11.25px;
    box-shadow: 0px 5px 8px -5px;
    transition: all .3s ease-in-out
}
.swiper-button-prev:after, 
.swiper-rtl .swiper-button-next:after {
    content: '\f060' !important;
    font-family: "FontAwesome" !important;
    color: #1a1a1c;
    opacity: .15;
    font-size: 20px !important;
    border-radius: 50%;
    padding: 10px 11.25px;
    box-shadow: 0px 5px 8px -5px;
    transition: all .3s ease-in-out
}
.swiper-button-prev:hover:after, 
.swiper-rtl .swiper-button-next:hover:after,
.swiper-button-next:hover:after, 
.swiper-rtl .swiper-button-prev:after {
    opacity: 1 !important;
    background: #FFF;

}
.woocommerce .wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery.images,
.woocommerce .wp-block-woocommerce-product-image-gallery {
    width: 100%;
    max-width: 100%;
} 

.woocommerce div.product div.images .flex-control-thumbs li {
    width: auto !important;
}
.woocommerce-product-gallery__image img {
    pointer-events: none !important; /* Disabilita l'interazione con l'immagine (zoom) */
    cursor: default !important; /* Cambia il cursore per indicare che non è cliccabile */
}

.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__trigger,
.reset_variations,
.woocommerce-variation-add-to-cart{
    display:none !important; /* Nasconde l'icona di zoom */
}
.pswp__bg {
    background-color: #FFF !important;
}
.pswp__button, .pswp__button--arrow--left:before {
    background: url(https://ofyritalia.it/wp-content/uploads/2025/03/prev__button.svg) 0 0 no-repeat;
} 
.pswp__button--arrow--right:before {
    background: url(https://ofyritalia.it/wp-content/uploads/2025/03/next__button.svg) 0 0 no-repeat;
}
.pswp__button, .pswp__button--arrow--left:before, .pswp__button--arrow--right:before { 
    width: 44px !important;
    height: 44px !important;
}
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    line-height: 30px;
    cursor: pointer; 
    z-index: 10;
}

.gallery-prev {  
    left: 10px;
}

.gallery-next {
    right: 10px;
}
.woocommerce div.product form.cart table.variations td select { 
    font-size: 15px;
    line-height: 17px;  
    padding: 5px;
    border-top: 0px;
    border-left: 0;
    border-right: 0;
    width: 100% !important;
}
.variations th,
.variations td {
    display: block;
}
.variations tr { 
    min-width: 420px;
    display: block;
}

.variations th.label {
    margin: 0 !important;
    padding: 0 !important;
}
.variations th.label label{
    margin: 0;
    padding: 0;
}
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled,
.wp-block-woocommerce-product-meta {
    display: none !important;
}
.swiper-wrapper {
    height: auto !important;
}
.descrizione-prodotto li {
    margin-bottom: 1rem;
}
.prodotto-info {
    width: 100%;
}
.woocommerce div.product form.cart,
.woocommerce .single_variation_wrap .woocommerce-variation {
    margin-bottom: 0;
}
.woocommerce-variation-description p,
.descrizione-prodotto li {
    font-size: 14px;
    line-height: 18px;
}
a.product-uploads {
    display: block !important;
    position: relative !important;
    padding: 13px 48px 13px 15px !important;
    overflow: hidden !important;
    margin: 0 0 20px !important;
    background: #f7f7f7 !important;
    color: #1a1a1c !important;
    text-decoration: none !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-radius: 3px !important; 
}
a.product-uploads:before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    background: #1a1a1c;
}
a.product-uploads:after {
    content: "";
    display: block;
    position: absolute;
    right: 17px;
    top: 16px;
    width: 13px;
    height: 16px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='16' viewBox='0 0 13 16'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath fill='%23fff' d='M12.161 14.42H.84c-.464 0-.839.354-.839.79 0 .436.375.79.839.79H12.16c.463 0 .839-.353.839-.79 0-.436-.376-.79-.839-.79z'/%3E%3C/g%3E%3Cg%3E%3Cpath fill='%23fff' d='M6.5 0c-.464 0-.84.354-.84.79v9.245l-3.018-2.43a.873.873 0 0 0-.865-.227.807.807 0 0 0-.588.638.772.772 0 0 0 .362.774l4.403 3.556a.878.878 0 0 0 1.093 0L11.45 8.79a.772.772 0 0 0 .356-.773.807.807 0 0 0-.586-.636.873.873 0 0 0-.862.224l-3.02 2.432V.79C7.338.354 6.963 0 6.5 0z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat;
    background-size: contain;
}

#footer__columns ul {
    padding: 0 !important;
    list-style: none !important;
}

#footer__columns ul li a {
    color: #909090;
    font-size: 14px;
    text-decoration: none;
}
#footer__columns ul li a:hover {
    text-decoration: underline;
}
.footer__text a {
    color: #909090;
    text-decoration: none;
}
.footer__text a:hover { 
    text-decoration: underline;
}
.owl-prodotti .owl-nav{
    top: 50%;

}
.owl-nav {
    position: absolute;
    top: 30%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.owl-prodotti.owl-carousel .owl-nav button.owl-next, 
.owl-prodotti.owl-carousel .owl-nav button.owl-prev,
#owlPaginaProdotti.owl-carousel .owl-nav button.owl-prev,
#owlPaginaProdotti.owl-carousel .owl-nav button.owl-next, 
#owlProdottiCategoriaCorrente.owl-carousel .owl-nav button.owl-next, 
#owlProdottiCategoriaCorrente.owl-carousel .owl-nav button.owl-prev,
#owlProdottiCategoriaCorrenteCorrelati.owl-carousel .owl-nav button.owl-next, 
#owlProdottiCategoriaCorrenteCorrelati.owl-carousel .owl-nav button.owl-prev { 
    background: #fff !important;
    padding: 5px 10px !important;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.owl-prodotti.owl-carousel .owl-nav button.owl-next:hover, 
.owl-prodotti.owl-carousel .owl-nav button.owl-prev:hover,
#owlProdottiCategoriaCorrente.owl-carousel .owl-nav button.owl-next:hover, 
#owlProdottiCategoriaCorrente.owl-carousel .owl-nav button.owl-prev:hover,
#owlProdottiCategoriaCorrenteCorrelati.owl-carousel .owl-nav button.owl-next:hover, 
#owlProdottiCategoriaCorrenteCorrelati.owl-carousel .owl-nav button.owl-prev:hover {
    background: #1a1a1c !important;
    color: #fff !important;
}
.owl-dots {
    text-align: center;
   /* margin-top: 20px;*/
}
.owl-carousel button.owl-dot { 
    background: #fff !important;  
    border: 1px solid !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    margin: 5px 1px !important;
    transition: all .3s ease-in-out;
}
button.owl-dot.active {
    width: 30px !important;
    border-radius: 20px !important;
    background: #1a1a1c !important;
}

.wp-block-social-link a {
    font-size: 25px !important;
} 

.accordion-wrapper {
    border-radius: 0px;
    overflow: hidden; 
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.accordion-wrapper .accordion {
    width: 100%;
    color: white;
    overflow: hidden;
    margin-bottom: 16px;
}

.accordion-wrapper .accordion:last-child {
    margin-bottom: 0;
}

.accordion-wrapper .accordion-label {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 16px;
    background: #E5E5E5;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    color: #1a1a1c;
}

.accordion-wrapper .accordion-label:hover {
    background: #000;
    color: #fff !important;
}

.accordion-wrapper .accordion-label::after {
    content: "\276F";
    width: 16px;
    height: 16px;
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.accordion-wrapper .accordion-content {
    max-height: 0;
    padding: 0 16px;
    color: #1a1a1c;
    background: white;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.accordion-wrapper .accordion-content p {
    margin: 0;
    color: #1a1a1c;
    font-size: 18px;
}

.accordion-wrapper input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.accordion-wrapper input:checked + .accordion-label {
    background: #000;
    color: #fff;
}

.accordion-wrapper input:checked + .accordion-label::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.accordion-wrapper input:checked ~ .accordion-content {
    max-height: 100vh;
    padding: 16px;
}
  

/*Contatti*/
#mio-form-contatto input[type="text"],
#mio-form-contatto input[type="email"],
#mio-form-contatto input[type="submit"],
#mio-form-contatto select,
#mio-form-contatto textarea {
    border-radius: 0 !important;
}

#mio-form-contatto input[type="text"]:focus,
#mio-form-contatto input[type="email"]:focus,
#mio-form-contatto input[type="submit"]:focus,
#mio-form-contatto select:focus     {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important; 
    border-color: #000;
}

#mio-form-contatto select {
    padding: calc(0.667em + 1px);
    width: 100%;
    background-color: var(--wp--preset--color--background);
    color: var(--wp--preset--color--foreground);
    border-color: inherit;
    box-sizing: border-box;
}

#mio-form-contatto .wpcf7-list-item {
    margin: 0 !important;
}
#mio-form-contatto .wpcf7-submit {
    background-color: #000 !important; 
}
.link__contatti a {
    color: var(--fontTesto);
    text-decoration: dotted !important;
}
.link__contatti a:hover {
    color: var(--fontTesto);
    text-decoration: underline !important;
}
@media screen and (min-width: 768px) {
    #mega-menu-item-1311.mega-current_page_item a::before
    #mega-menu-item-1311 > a:hover::before {
        width: 90% !important;
    }
    #mega-menu-item-1311 a::before { 
        width: 90% !important;
    }
    
    .mega-current_page_item a::before,
    .mega-menu-item a:hover::before {
        width: 80% !important;
        position: absolute !important;
        bottom: 5px !important;
        height: 2px !important;
        content: "" !important;
        background-color: #fff !important;
        left: 50%;
        transform: translate(-50%, -50%);
    } 

    .attributi-prodotto-tabella-righe {
        display: block;
    } 
    .woocommerce-variation-description p,
    .descrizione-prodotto li{
        font-size: 1rem;
        line-height: 1.3rem;
        font-family: var(--bs-body-font-family);
    }
    
    .attributi-prodotto-tabella-righe tbody {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
    .attributi-prodotto-tabella-righe tr:hover {
        background: #f7f7f7;
    }
    .attributi-prodotto-tabella-righe tr {
        display: block;
            padding: 0;
            margin: 0 15px;
            width: calc(50% - 30px);
            -ms-flex: 0 0 50% calc(50% - 30px);
            flex: 0 0 calc(50% - 30px);
            max-width: calc(50% - 30px);
            display: -ms-flexbox;
            display: flex;
            border-bottom: 2px solid #f7f7f7;
    }
    .attributi-prodotto-tabella-righe th {
        display: block;
        padding: 17px 15px 17px 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        text-transform: uppercase;
        font-size: 14px;
        color: #252525;
    }
    .attributi-prodotto-tabella-righe td {
        display: block;
            padding: 17px 0;
            -ms-flex: 0 0 50%;
            flex: 0 0 50%;
            max-width: 50%;
            font-size: 14px;
            color: #252525;
    }
}

@media screen and (max-width:768px) {
    #header__ofyr .wp-block-group.wp-container-content-3 { 
        max-width: 100%;
        justify-content: end;
    }
    #header__ofyr .wp-block-search__button {
        padding: 0 !important;
    }
    /*
    #header__ofyr .wp-container-core-group-is-layout-3 {
        display: none !important;
    }    */
    #header__ofyr .wp-block-search__button-only.wp-block-search__searchfield-hidden {
        display: none !important;
    }
    #header__ofyr nav svg rect {
        width: 50px;
    }
    .mobile__h-200 {
        min-height: 200px !important;
    }
    .owl-carousel .owl-item img { 
        height: 180px; 
    }
    .mobile-border-bottom {
        border: none !important;
    }
    .mobile__center * {
        text-align: center;
        justify-content: center;
    }
    .wp-container-core-group-is-layout-11 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .ofyr-italia-body #wpsl-gmap {
        width: 100% !important;
    }

    .mobile-column {
        flex-direction: column;
        align-items: start !important;
    }
    #banner__chisiamo .mobile-column {
        flex-direction: column;
        align-items: start !important;
    }
    #tizio__ofyr :where(.wp-block-columns.has-background) {
        padding: 0;
    }
    #tizio__ofyr img {
        max-width: 120px;
        margin-bottom: 30px;
    }
    #tizio__ofyr .wp-block-media-text>.wp-block-media-text__content {
        padding: 0 !important
    }
    #tizio__ofyr * {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .mobile__uno {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;  
    }
    .mobiile___height__custom {
        min-height: 550px;
    } 
    .attributi-prodotto-tabella-righe {
        width: 100% !important;
    }
    .attributi-prodotto-tabella-righe .col.data  {
        text-align: right;
    }
    .attributi-prodotto-tabella-righe tr { 
        border-bottom: 1px solid #E5E5E5;
    }

    .attributi-prodotto-tabella-righe th.col {
        padding: 15px 0;
    } 
    #footer___bottom{
        flex-wrap: nowrap;
        gap: 10px !important;
    }
    

    #footer___bottom  .is-layout-flex { 
    flex-direction: row;
    align-items: center !important;
    justify-content: center;
    }

    #footer___bottom .wp-block-social-links .wp-social-link svg {
        height: 35px;
        width: 35px;
    }

}