/*
Theme Name: Drile-child
Template: drile
Theme URI: http://demo.theme-sky.com/drile/
Author: Theme Sky Team
Author URI: http://theme-sky.com/
Description: A Premium and Responsive WordPress theme, designed for E-Commerce websites
Version: 1.4.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: drile
*/
.ts-product-category-wrapper.grid .products .product.product-category {
  padding: 10px;
}
.products .product.product-category .product-wrapper > a {
border-radius: 5px;
}
.ts-button-wrapper:not(.has-border) .ts-button {
border-radius: 5px;
height: 55px;
width: 150px;
display: flex;
align-items: center;
justify-content: center;
text-transform: none;
}
.bt-home.ts-button-wrapper:not(.has-border) .ts-button {
width: 290px;
}
.button-menu .ts-button-wrapper:not(.has-border) .ts-button {
height: 80px;
width: 95%;
font-size: 18px;
}
.ts-banner-button a {
display: flex;
width: 148px;
height: 53px;
align-items: center;
border-radius: 5px;
text-transform: none;
justify-content: center;
background-color:#A1212D !important;
border: 0px;
}
.ts-banner-button a:hover {
background-color: #a1212d !important;
color: white !important;
}
.font-p2 {
font-size: 14px;
font-weight: 400;
z-index: 2;
}
.fascia-text {
background-color: rgba(0, 0, 0, 0.32);
}
.products .product.product-category h3 > a {
padding: 5px !important;
line-height: 30px;
font-size: 24px;
text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.75);
}
.col-br img {
border-radius: 5px;
}
.col-br-1 {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
.col-br-2 img {
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
.col-br-2 {
padding: 0px !important;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
.breadcrumb-garofalo {
font-size: 16px;
}
.products .product.product-category .product-wrapper > a img {
transform: none;
opacity: 0.7;
 transition: all 1s ease-in-out; 
	
}
.products .product.product-category:hover .product-wrapper > a img {
opacity: 1;
}

/* CATEGORIES SHOW CATEGORIES ITEM */
 .products .product.product-category {
  margin-bottom: 60px;
  padding: 15px;
  position: relative; /* Aggiunto per la proporzione quadrata */
  width: 100%;
  overflow: hidden;
}
 .products .product.product-category .product-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Proporzione 1:1 per il contenitore quadrato */
  overflow: hidden; 
  border-radius: 5px;
}
 .products .product.product-category .product-wrapper > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  border-radius: 5px; 
}
 .products .product.product-category .product-wrapper > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
 .products .product.product-category h3 > a {
font-size:28px;
}

add_filter( 'subcategory_archive_thumbnail_size', function() {
    return 'full'; 
});


@media (max-width: 768px) {
  .category .products .product.product-category {
      margin-bottom: 30px; /* Riduce il margine tra i prodotti su schermi più piccoli */
  }
  .category .products .product.product-category .product-wrapper {
      width: 100%;
      padding-bottom: 100%; /* Mantiene il contenitore quadrato anche su dispositivi mobili */
    
  }
.category .products .product.product-category h3 > a {
  padding-top: 30px !important;
}
}


.arreda a img{
  max-width:90% !important;
  margin-bottom: -65px;
}
.arreda{
  opacity: 1;
    transition: all 0.5s ease-in-out; 
}
.arreda:hover{
   opacity: 0.86;
}

.arreda .feature-excerpt {
  font-size: 35px;
  font-weight: 500;
  color: white;
  width: 220px;
  line-height: 40px;
  margin-left: 25px;
  margin-bottom: -70px;
}
@media only screen and (max-width: 900px){
.arreda a img{
  max-width: 65% !important;
  margin-left: -10px;
}
.text-container{
  height: 20px;
}
.arreda .feature-excerpt {
  font-size: 20px;
  width: 150px;
  line-height: 27px;
  margin-left: -5px;
}
.arreda a img{
  margin-bottom: -50px;
}
}

.text-container {
  position: relative;
  z-index: 2; 
  color: white;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}
.arreda .vertical-image {
  text-align: left;
}

.ispirazioni .wpb_column.vc_column_container.vc_col-sm-12 {
  display: flex;
  justify-content: center;
}
@media only screen and (min-width: 1151px) {
.arreda.background-container.wpb_column.vc_column_container.vc_col-sm-6.vc_col-xs-6.vc_col-has-fill {
  width: 520px;
}
}
@media only screen and (min-width: 900px) and (max-width: 1150px) {
.arreda.background-container.wpb_column.vc_column_container.vc_col-sm-6.vc_col-xs-6.vc_col-has-fill {
  width: 450px;
}
}

.products .product.product-category .product-wrapper .meta-wrapper {
position: absolute;
top: 50%;
left: 10px;
right: 10px;
text-align: center;
margin: 0;
padding: 0;
opacity: 1;
visibility: visible;
z-index: 3;
transform: translateY(-50%) scale(1);
}
.title-poppins h3 {
font-family: Poppins !important;
font-weight: 600;
}

.vc_icon_element {
font-size: 10px;
}
.ts-aligncenter {
display: flex;
justify-content: center;
}
.icon h4 {
font-weight: 200;
font-size: 14px;
line-height:15px;
}
img.attachment-thumbnail.size-thumbnail {
margin-bottom: -55px;
margin-left: 20px;
}
.menu-sub {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 10px;
height: 370px; 	
}
.menu-sub .menu-column {
display: flex;
flex-direction: column;
gap: 20px;
}
.menu-sub .menu-item {
display: flex;
align-items: center;
gap: 10px;
padding-right: 10px;
align-content: center;
}
.menu-sub .menu-item-icon {
width: 110px;
height: 110px;
padding-right: 10px;
display: flex;
align-items: center;
}
.menu-sub .menu-item-text {
font-size: 20px;
color: #000;
font-weight: 500;
}
.menu-image-placeholder {
width: 370px;
height: 250px;
margin: 20px;
}
.menu-sub img {
border-radius: 5px;
}
nav.main-menu > ul.menu > li.parent > a {
padding-right: 30px;
}
.woocommerce .products {
justify-content: normal;
}

.ts-header
li.ts-megamenu-fullwidth
.sub-menu
> li
> .ts-megamenu-static-html-container,
.ts-header
li.ts-megamenu-fullwidth-stretch
.sub-menu
> li
> .ts-megamenu-container {
align-items: normal;
}
.main-menu-sidebar-wrapper nav > ul li ul.sub-menu,
.mobile-menu-wrapper nav > ul li ul.sub-menu {
padding-left: 5px;
}
.ts-header
li.ts-megamenu-fullwidth
.sub-menu
> li
> .ts-megamenu-static-html-container,
.ts-header li.ts-megamenu-fullwidth .ts-megamenu-widgets-container > ul {
flex-direction: column;
}
.woocommerce .products .product .product-wrapper .thumbnail-wrapper img {
border-radius: 5px;
}

.images-thumbnails img {
border-radius: 5px;
}
.thumbnail-wrapper {
padding: 10px;
}
#main > .page-container {
padding-top: 0px !important;
}
@media only screen and (max-width: 600px) {
.products .product.product-category h3 > a {
  padding: 10px !important;
  font-size: 16px;
  line-height: 20px;
}
.breadcrumb-garofalo {
  font-size: 14px;
}
.products .product.product-category .product-wrapper {
  padding: 10px;
}
img.attachment-thumbnail.size-thumbnail {
  margin-bottom: -35px;
  width: 80px;
}
.p-10 {
  margin: 5px;
border: solid 2px #EDEDED;
  border-radius: 5px;
}
.ts-feature-wrapper {
      padding: 15px;
  }
.font-p2 {
  line-height: 20px;
}
.font-p2 i {
  font-size: 40px;
}
.col-br-1 {
  border-radius: 10px 10px 0px 0px;
}
.col-br-2 img {
  border-radius: 0px 0px 10px 10px;
}
.col-br-2 {
  padding: 0px !important;
  border-radius: 0px 0px 10px 10px;
}
.button-menu .ts-button-wrapper:not(.has-border) .ts-button {
  height: 65px;
  font-size: 16px;
  line-height: 20px;
}
.ts-banner-button a {
  width: 130px;
  height: 35px;
  font-size: 10px;
}
.wt-arreda a img {
  height: 225px;
}
}
@media (max-width: 900px) {
.sub-menu h2 {
  font-size: 20px !important;
}
.menu-sub {
  justify-content: normal;
}
.menu-sub .menu-item {
  display: flex;
  align-items: normal;
  flex-direction: column;
}
.menu-sub .menu-column {
  gap: 15px;
  width: 150px;
}
.menu-sub .menu-item-text {
  font-size: 18px;
}
.menu-image-placeholder {
  width: 300px;
}
.button-product {
width: 100% !important;
}
.wt-arreda .products .product.product-category h3 > a {
  font-size: 22px;
  width: 220px;
  line-height: 25px;
}
.mobile-menu-wrapper .mobile-menu li {
  padding: 0 30px 0 0;
  margin: 40px 0 0 0;

}
}

@media (max-width: 768px) {
.menu-sub .menu-item-text {
  font-size: 16px;
}

.menu-sub {
  flex-direction: column;
  align-items: flex-start;
}
.menu-sub .menu-column {
  width: 100%;
  padding-bottom: 15px;
}
.menu-sub .menu-item {
  width: 100%;
  justify-content: center;
}
.menu-sub .menu-item-text {
  justify-content: center;
  text-align: center;
}
.menu-sub .menu-item-icon {
  display: none;
}
  .category .product.product-category h3 > a {
      font-size: 16px !important;
  }
.category  img {
  height: 150px;
object-fit:cover;
}
.woocommerce div.product:not(.tabs-in-summary) .woocommerce-tabs:not(.accordion-tabs) ul.tabs {
  align-content: center;
  flex-direction: column;
}
}

.button-product {
background-color: #3c3c3b;
color: white;
border: none;
width: 250px;
height: 50px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
margin: 4px 2px;
text-transform: none;
border-radius: 5px;
}
.button-product:hover {
background-color: #555;
color: white;
}
.woocommerce .product .meta-wrapper .loop-add-to-cart {
display: none !important;
}
.woocommerce .loop-add-to-cart {
display: none !important;
}
.woocommerce div.product .summary a.compare, .woocommerce div.product .summary .yith-wcwl-add-to-wishlist {
  width: auto;
  height: auto;
  float: left;
  overflow: hidden;
  margin: 10px;
display:flax;
  align-items: center;
}
.more-less-buttons a{
background-color: #000;	
}
.button{
background-color: #000;	
}
.button-container-404 .button {
  background-color: #A1212D;
  border-radius: 5px;
  margin: 5px;
  width: auto;
}
.button-home-404 .button{
margin-top: 10px;
border-radius: 5px;
}
.woocommerce div.product .summary .yith-wcwl-add-to-wishlist a{
color: #A1212D !important;
}
.woocommerce .yith-wcwl-add-to-wishlist a{
color: #A1212D !important;
}

@media (max-width: 1279px) {
  .visible-phone {
      display: block !important;
  }
  .visible-ipad {
      display: block !important;
  }
}
@media (min-width: 1280px) {
  .visible-phone {
      display: none !important;
  }
  .visible-ipad {
      display: none !important;
  }
}
.woocommerce div.product:not(.tabs-in-summary) .woocommerce-tabs:not(.accordion-tabs) ul.tabs {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
}
@font-face {
    font-family: 'Elephnt';
    src: url('https://garofalo.dev-comm.it/wp-content/uploads/2025/05/ELEPHNT.ttf') format('ttf'); 
    font-weight: normal;
    font-style: normal;
}
.sr7-layer{
	font-family:'Elephnt' !important;
}

h1, .h1, h2, .h2, h3, .h3, .theme-title .heading-title, .comments-title .heading-title, #comment-wrapper .heading-title {
    letter-spacing: -1px !important;
}
.products .product.product-category h3 > a {
    font-family: 'Poppins';
    letter-spacing: 0px;
    font-weight: 500;
}

