/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.productOptions {
    font-size: 16px;
    margin-bottom: 16px;
}

span.svg-enlarged img.img-responsive {
    height: 240px;
    width: auto;
}

.category_filter_container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
	justify-content: start;
    /* padding-right: */
}
.category_filter_container div {
    flex: 1 1 calc(33.3% - 24px);
	height: 60px;
	max-width: calc(33.3% - 12px);
}

.category_filter_container div.category_filter a {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-around;
    border: 1px solid;
    padding: 8px;
    height: 100%;
    position: relative;
}
.category_filter_container div.category_filter a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #6fb7ac;
  z-index: 0;
  transition: width 0.3s ease;
}
.category_filter_container div.category_filter a:hover {
    color: inherit;
}
.category_filter_container div.category_filter a:hover:before {
    width: 100%;
}
.category_filter_container div.category_filter a span.category_filter__thumb {
    position: absolute;
    left: 10px;
}
.category_filter_container div.category_filter a span.category_filter__name {
    width: 100%;
    text-align: center;
    z-index: 1;
}
.category_filter_container div.category_filter a img {
    height: auto;
    min-width: 40px;
    max-height: 50px;
    width: auto;
}

.hidden {
    display: none !important;
}

/* DROPDOWN OPTIONS */

.custom-select { position: relative; width: 100%; } select { appearance: none; /* Nasconde lo stile di default */ width: 100%; padding: 10px 15px; font-size: 16px; border: 1px solid #333; background: white; color: #333; cursor: pointer; outline: none; transition: 0.3s ease; } select:hover { border-color: ##6fb7ac; } select:focus { border-color: #007BFF; box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); } .custom-select::after { content: '▼'; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); font-size: 14px; color: #333; pointer-events: none; } /* Stile per le opzioni */ select option { background: white; color: #333; padding: 10px; font-size: 16px; } select option:hover { background: #007BFF; color: white; } select option:checked { background: #0056b3; color: white; }

.stretch-svg{
height:40px;
width:auto;
display:block;
}
     


.custom-dropdown {
    position: relative;
    width:100%;
    background: white;
    border: 1px solid #333;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
color:black;
}

.dropdown-arrow {
    transition: transform 0.3s ease-in-out;
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: -1px;
    width: calc(100% + 2px);
    background: white;
    border: 1px solid #333;
    border-top: none;

    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
}

.custom-dropdown.active .dropdown-options {
    display: block;
}

.dropdown-options label {
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.dropdown-options label:hover {
    background: #6fb7ac;
    color: white;
}

.dropdown-options input {
    margin-right: 10px;
}

/* color categories */
/* 
body.product-cat-binari div#singleProductHeader {
    background-color: #e2e2e2;
}
body.product-cat-incasso div#singleProductHeader {
    background-color: #dee0e8;
}
body.product-cat-plafone-parete div#singleProductHeader {
    background-color: #e2e1e5;
}
body.product-cat-profili div#singleProductHeader {
    background-color: #f3eee7;
}
body.product-cat-soffitto-scg div#singleProductHeader {
    background-color: #e0e4e2;
}
body.product-cat-sospensioni div#singleProductHeader {
    background-color: #eae6e0;
}
body.product-cat-tavolo-terra div#singleProductHeader {
    background-color: #ede2db;
} */

/* product images */

.productOptionsImages.optic {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.productOptionsImages.optic .termImageContainer {
    display: flex;
    gap: 24px;
}
.productOptionsImages.optic .termImageContainer .termImage img {
    height: 40px;
    width: auto;
}

.productOptionsImages.finishes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.productOptionsImages.finishes .termImageContainer {
    display: flex;
    gap: 8px;
    align-items: center;
    width: calc(22% - 12px);
}
.productOptionsImages.finishes .termImageContainer .termImage {
    display: flex;
}
.productOptionsImages.finishes .termImageContainer .termImage img {
    height: 30px;
    width: 30px;
    min-width: 30px;
}
.productOptionsImages.finishes .termImageContainer .termName {
    font-size: 14px;
    line-height: 1.3;
}

.productOptions p {
    margin-bottom: 8px;
}

/* .product-card {
    min-height: 550px;
} */

.d-lip-none {
    display: none !important;
}

/* custom breadcrumbs */

nav.breadcrumb {
    font-size: 14px;
}

/* 
.category-indoor
.category-outdoor
 */

 /* responsive fix */
 /* for mobile screen */
 @media only screen and (max-width: 767px) {
    .productOptionsImages.finishes .termImageContainer {
        display: flex;
        gap: 4px;
        align-items: center;
        width: calc(33% - 8px);
    }
    .productOptionsImages.finishes .termImageContainer .termImage {
        display: flex;
    }  

    .category_filter_container div {
        flex: 1 1 calc(100%);
        height: 60px;
        max-width: calc(100%);
    }

 }


 /* table area professional */
 .lip-product-table-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* fa sì che tutte le colonne abbiano la stessa altezza */
    gap: 20px;
  }
  
  .lip-product-table-container .lip-product-table {
    flex: 1 1 calc(20% - 16px); /* 5 colonne su desktop */
    box-sizing: border-box;
    border-bottom: 1px solid #ccc; /* bordo grigio inferiore */
    display: flex;
    flex-direction: column;
    padding-bottom: 16px; /* padding inferiore per spazio */
  }
  
  /* Tablet: 3 colonne */
  @media (max-width: 1024px) {
    .lip-product-table-container .lip-product-table {
      flex: 1 1 calc(33.333% - 16px);
    }
  }
  
  /* Mobile: 1 colonna */
  @media (max-width: 767px) {
    .lip-product-table-container .lip-product-table {
      flex: 1 1 100%;
    }
  }
  
  
  .lip-accessories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .lip-accessory-item {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
  
  .lip-accessory-image img {
    border: 1px solid #000;
    max-width: 180px;
    height: auto;
  }
  
  .lip-accessory-content {
    flex: 1;
  }
  
  .lip-accessory-code {
    font-weight: bold;
    margin-bottom: 4px;
  }
  
  @media (max-width: 767px) {
    .lip-accessories-grid {
      grid-template-columns: 1fr;
    }
  }
  

  .lip-attachments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  @media (max-width: 767px) {
    .lip-attachments-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .lip-attachment-card {
    background: #f8f9fa;
    border: 1px solid #000;
    padding: 20px;
    text-align: center;
    /* aspect-ratio: 1 / 1;  */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  
  .lip-attachment-label {
    margin: 10px 0 20px;
    text-transform: uppercase;
    /* font-weight: 600; */
  }
  
  .lip-reserved-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background-color: #6fb7ac;
    color: #fff;
    padding: 10px 24px;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 600;
  }

  a.lip-reserved-download:hover {
    background-color: #5a9f95;
    color: #fff;
  }

  /* sezione registrazione */

  button.ur-submit-button,
  button.user-registration-Button.button,
  input.user-registration-Button.button   {
    background-color: rgb(113, 184, 173) !important;
    color: rgb(251, 251, 251) !important;
    border-radius: 30px !important;
    border-color: rgb(113, 184, 173) !important;
  }
  button.ur-submit-button:hover,
  button.user-registration-Button.button:hover,
  input.user-registration-Button.button:hover {
    background-color: rgb(98, 167, 155) !important;
    color: rgb(251, 251, 251) !important;
  }
  p.register a,
  p.user-registration-LostPassword.lost_password a,
  .user-registration-MyAccount-content__body a {
    color: rgb(113, 184, 173) !important;
  }
  p.register a:hover,
  p.user-registration-LostPassword.lost_password a:hover,
  .user-registration-MyAccount-content__body a:hover {
    text-decoration: underline;
  }
  #user-registration.horizontal .user-registration-MyAccount-navigation-link.is-active a {
    border-bottom: 3px solid rgb(113, 184, 173) !important;
    color: rgb(113, 184, 173) !important;
  }

  #user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active a, #user-registration.horizontal .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active a {
    background-color: rgba(222, 224, 233, 0.5) !important;
  }

  @media screen and (max-width: 575px) {
    .ur-frontend-form.login {
        padding: 30px 10px !important;
    }
    body.user-registration-page .user-registration:not(.user-registration-MyAccount) {
        padding: 0 !important;
    }
  }