@charset "UTF-8";
.res-list-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.res-list-wrapper ._table {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.res-list-wrapper ._table .header {
  padding: 1rem;
  font-size: 18px;
  font-weight: 600;
  background-color: #f6f6f6;
}
.res-list-wrapper ._table .list {
  padding: 0.5rem 1rem;
}
.res-list-wrapper ._table .header, .res-list-wrapper ._table .list ._row {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}
.res-list-wrapper ._table ._row {
  padding: 0.5rem 0;
}
.res-list-wrapper ._table .col1 {
  width: 10%;
}
.res-list-wrapper ._table .col2 {
  width: 20%;
}
.res-list-wrapper ._table .col3 {
  width: 62%;
}
.res-list-wrapper ._table .col4 {
  width: 8%;
}
.res-list-wrapper ._table .col1, .res-list-wrapper ._table .col2, .res-list-wrapper ._table .col3 {
  padding-right: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

#product_table_container {
  margin-top: 2rem;
}
#product_table_container table {
  width: 100%;
}
#product_table_container table p {
  margin: 0;
}
#product_table_container table td {
  padding: 12px 0;
}

/* Stile per il messaggio di conferma */
.cart-confirmation-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
  display: none;
  animation: fadeIn 0.5s forwards;
}

.cart-confirmation-message {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 0.9;
    transform: translateX(-50%) translateY(0);
  }
}
/* Animazione per l'icona del carrello */
#cart-icon.highlight {
  animation: bounce 0.5s ease-out;
}

@keyframes bounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.epr-ds-wrapper {
  display: flex;
  justify-content: center;
  max-width: 40.61px;
}
.epr-ds-wrapper .epr-ds {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.epr-ds-wrapper ._red {
  background: #0492c2;
}
.epr-ds-wrapper ._red::after {
  content: "In Piattaforma - Contattare per disponibilità";
  position: absolute;
  background-color: #f1f1f1;
  color: black;
  border: 1px solid black;
  padding: 5px;
  z-index: 1;
  visibility: hidden;
}
.epr-ds-wrapper ._red:hover::after {
  visibility: visible;
}
.epr-ds-wrapper ._green {
  background: #4CAF50;
}
.epr-ds-wrapper ._green::after {
  content: "In Magazzino";
  position: absolute;
  background-color: #f1f1f1;
  color: black;
  border: 1px solid black;
  padding: 5px;
  z-index: 1;
  visibility: hidden;
}
.epr-ds-wrapper ._green:hover::after {
  visibility: visible;
}

.add-to-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-radius: 5px;
  background-color: #31aee6;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.a2cb-wrapper {
  display: flex;
  max-width: 144px;
  margin: 0;
}

#myTable td {
  border: 1px solid black;
  padding: 10px;
}

#myTable td:first-child {
  width: 20%;
}

#myTable td:last-child {
  width: 15%;
}

.select {
  background-color: #ef7f1a;
  color: white;
  border: none;
  padding: 4px 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0;
  transition-duration: 0.4s;
  cursor: pointer;
}

.select:hover {
  background-color: #bf600d; /* Verde più scuro all'hover */
}

#module-cxsearch-search #wrapper > div.container {
  width: 100%;
}
#module-cxsearch-search #content {
  display: flex;
  flex-direction: row;
}
#module-cxsearch-search #content .sp_sidebar {
  width: 20%;
  padding: 1rem;
  border-right: 1 px solid #f6f6f6;
}
#module-cxsearch-search #content .sp_sidebar label {
  display: none;
}
#module-cxsearch-search #content .sp_sidebar form {
  position: relative;
  display: flex;
  height: 40px;
  flex-wrap: wrap;
  gap: 8px;
}
#module-cxsearch-search #content .sp_sidebar form #query {
  width: 100%;
  padding: 0 40px 0 1rem;
  border: 1px solid #767676;
  height: 40px;
}
#module-cxsearch-search #content .sp_sidebar form #query:focus-visible {
  outline: none;
  border-color: #ef7f1a;
}
#module-cxsearch-search #content .sp_sidebar form #sub {
  position: absolute;
  right: 0;
  top: 0;
  height: 38px;
  border: none;
  outline: 0;
  transform: translate(-1px, 1px);
}
#module-cxsearch-search #content .sp_sidebar form .srct label {
  display: block;
  margin: 0;
}
#module-cxsearch-search #content .sp_sidebar form .srct ._rdg {
  display: flex;
  margin-top: 4px;
}
#module-cxsearch-search #content .sp_sidebar form .srct input {
  margin-right: 4px;
}
#module-cxsearch-search #content .search-page {
  width: 80%;
  padding: 1rem;
}
#module-cxsearch-search section#wrapper, #module-cxsearch-search #content-wrapper {
  padding: 0;
}
#module-cxsearch-search #header {
  box-shadow: none;
}

.pdr {
  cursor: pointer;
  transition: 0.25s;
}
.pdr:hover {
  background-color: #fcfcfc;
  font-weight: 600;
}

.search_wrapper {
  margin-bottom: 5rem;
}

.header-top, .sp_sidebar {
  background: #f6f6f6 !important;
}

#header .header-nav {
  max-height: 50px;
  border-bottom: #1d1d1b 2px solid;
  background: #1d1d1b;
}

#header .header-nav a {
  color: #fff;
  transition: .25s
}

#header .header-nav a:hover {
  color: #ff7700;
}

.header-top-right {
  display: none;
}

.header-top .container .row {
  justify-content: center;
}

#content {
  padding: 0;
}

.sp_sidebar, .search-page {
  padding-top: 2rem !important;
}

.sp_sidebar ._orario, .sp_sidebar ._contatti, .sp_sidebar ._leg {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 18px;
}
.sp_sidebar ._orario h5, .sp_sidebar ._contatti h5, .sp_sidebar ._leg h5 {
  font-size: 20px;
}
.sp_sidebar ._orario span, .sp_sidebar ._contatti span, .sp_sidebar ._leg span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp_sidebar ._orario a, .sp_sidebar ._contatti a, .sp_sidebar ._leg a {
  color: #ff7700;
}
.sp_sidebar ._leg ._red, .sp_sidebar ._leg ._green {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid;
}
.sp_sidebar ._leg ._red {
  background: #0492c2;
}
.sp_sidebar ._leg ._green {
  background: #4CAF50;
}

.discount-percentage {
  display: none !important;
}

._mpcl #left-column {
  width: 20% !important;
}
._mpcl #left-column .sp_sidebar {
  width: 100%;
  padding: 1rem;
  border-right: 1 px solid #f6f6f6;
}
._mpcl #left-column .sp_sidebar label {
  display: none;
}
._mpcl #left-column .sp_sidebar form {
  position: relative;
  display: flex;
  height: 40px;
}
._mpcl #left-column .sp_sidebar form #query {
  width: 100%;
  padding: 0 40px 0 1rem;
  border: 1px solid #767676;
}
._mpcl #left-column .sp_sidebar form #query:focus-visible {
  outline: none;
  border-color: #ef7f1a;
}
._mpcl #left-column .sp_sidebar form #sub {
  position: absolute;
  right: 0;
  height: 38px;
  border: none;
  outline: 0;
  transform: translate(-1px, 1px);
}
._mpcl .row {
  display: flex;
  flex-direction: row;
}
._mpcl #content-wrapper {
  width: 80%;
}
@media (max-width: 992px) {
  ._mpcl #left-column, ._mpcl #content-wrapper {
    width: 100% !important;
  }
}

#header {
  box-shadow: none;
}

._retcrx {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  max-width: 326px;
  background: #ef7f1a;
  color: #fff;
  transition: 0.25s;
}
._retcrx i {
  font-size: 36px;
}
._retcrx:hover {
  background: #049ee3;
  color: #fff !important;
}
._retcrx:focus {
  outline: none;
  outline-offset: none;
  color: #fff !important;
  text-decoration: none;
}


.product-qtd ._green, .product-qtd ._red, .product-qtd ._gr-yl {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.product-qtd ._green {
  background: #4CAF50;
}
.product-qtd ._green::after {
  content: "In Magazzino";
  position: absolute;
  background-color: #f1f1f1;
  color: black;
  border: 1px solid black;
  padding: 5px;
  z-index: 1;
  visibility: hidden;
}
.product-qtd ._green:hover::after {
  visibility: visible;
}
.product-qtd ._red {
  background: #0492c2;
}
.product-qtd ._red::after {
  content: "In Piattaforma";
  position: absolute;
  background-color: #f1f1f1;
  color: black;
  border: 1px solid black;
  padding: 5px;
  z-index: 1;
  visibility: hidden;
}
.product-qtd ._red:hover::after {
  visibility: visible;
}
.product-qtd ._gr-yl {
  /* background: linear-gradient(90deg, rgb(76, 175, 80) 50%, rgb(4, 146, 194) 50%); */
  background: linear-gradient(90deg, rgb(76, 175, 80) 50%, rgb(255 0 0) 50%);
}
/* .product-qtd ._gr-yl::after {
  content: "Quantità Limitata";
  position: absolute;
  background-color: #f1f1f1;
  color: black;
  border: 1px solid black;
  padding: 5px;
  z-index: 1;
  visibility: hidden;
} */

.product-qtd ._gr-yl::after {
    content: "Quantità Limitata";
    position: absolute;
    color: #7a7a7a;
    padding: 5px;
    z-index: 1;
    left: 36px;
    top: 60px;
    font-weight: 800;
    font-size: 14px;
}

.product-qtd ._gr-yl:hover::after {
  visibility: visible;
}

#ybc-mnf-block {
  margin: 0 !important;
  margin-bottom: 1rem !important;
}
#ybc-mnf-block .ybc-mnf-block-title, #ybc-mnf-block .owl-nav, #ybc-mnf-block .owl-dot {
  display: none;
}

._spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ef7f1a;
  border-top-color: #049ee3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-miniature .thumbnail-container .product-thumbnail img {
  height: 250px;
  object-fit: contain;
}

.cb-wrapper {
  height: 104px;
  margin-bottom: 1rem;
}
.cb-wrapper .cat-buttons {
  height: 100%;
  width: 100%;
  display: flex;
  gap: 1rem;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cb-wrapper .cat-buttons .cbtn {
  flex: 1;
  height: 100%;
  background-color: #f6f6f6;
  position: relative;
}
.cb-wrapper .cat-buttons .cbtn._b::after {
  background-image: url(/themes/sp_parts/assets/media/icon-battery.png);
}
.cb-wrapper .cat-buttons .cbtn._l::after {
  background-image: url(/themes/sp_parts/assets/media/icon-oil.png);
}
.cb-wrapper .cat-buttons .cbtn._a::after {
  background-image: url(/themes/sp_parts/assets/media/icon-wheel.png);
}
.cb-wrapper .cat-buttons .cbtn._c::after {
  background-image: url(/themes/sp_parts/assets/media/icon-clean.png);
}
.cb-wrapper .cat-buttons .cbtn._p::after {
  background-image: url(/themes/sp_parts/assets/media/icon-pipe.png);
}
.cb-wrapper .cat-buttons .cbtn._r::after {
  background-image: url(/themes/sp_parts/assets/media/icon-fuse.png);
}
.cb-wrapper .cat-buttons .cbtn::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 64px;
}
.cb-wrapper .cat-buttons .cbtn .label {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
  font-weight: 900;
  font-size: 20px;
  text-align: center;
  background-color: rgba(18, 31, 69, 0.9098039216);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.cb-wrapper .cat-buttons .cbtn .label:hover {
  opacity: 1;
}

.block-category {
  min-height: unset!important;
}


.sp_sidebar {
  background: #fff;
  /* border-radius: 12px; */
  padding: 20px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  max-width: 350px;
  font-family: Arial, sans-serif;
}

.search_wrapper h1 {
  font-size: 22px;
  color: #1d1d1b;
  margin-bottom: 10px;
}

.search_wrapper input[type="text"] {
  width: calc(100% - 40px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-right: 5px;
}

.search_wrapper button {
  background: #FF7700;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.search_wrapper button:hover {
  background: #e06600;
}

.srct span {
  font-weight: bold;
}

._rdg {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.side-note {
  margin-top: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
}

._leg span, ._orario span, ._contatti span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

._green {
  width: 12px;
  height: 12px;
  display: inline-block;
}

._red {
  width: 12px;
  height: 12px;
  display: inline-block;
}

._contatti a {
  color: #FF7700;
  text-decoration: none;
  font-weight: bold;
}

._contatti a:hover {
  text-decoration: underline;
}


#footer, .footer-container {
  padding-top: 0!important;
}




#module-cxsearch-search #wrapper > div.container, #module-documentsmodule-documents #wrapper > div.container {
  width: 100%;
}
#module-cxsearch-search #content, #module-documentsmodule-documents #content {
  display: flex;
  flex-direction: row;
}
#module-cxsearch-search #content .sp_sidebar, #module-documentsmodule-documents #content .sp_sidebar {
  width: 20%;
  padding: 1rem;
  border-right: 1 px solid #f6f6f6;
}
#module-cxsearch-search #content .sp_sidebar label, #module-documentsmodule-documents #content .sp_sidebar label {
  display: none;
}
#module-cxsearch-search #content .sp_sidebar form, #module-documentsmodule-documents #content .sp_sidebar form {
  position: relative;
  display: flex;
  height: 40px;
  flex-wrap: wrap;
  gap: 8px;
}
#module-cxsearch-search #content .sp_sidebar form #query, #module-documentsmodule-documents #content .sp_sidebar form #query {
  width: 100%;
  padding: 0 40px 0 1rem;
  border: 1px solid #767676;
  height: 40px;
}
#module-cxsearch-search #content .sp_sidebar form #query:focus-visible, #module-documentsmodule-documents #content .sp_sidebar form #query:focus-visible {
  outline: none;
  border-color: #ef7f1a;
}
#module-cxsearch-search #content .sp_sidebar form #sub, #module-documentsmodule-documents #content .sp_sidebar form #sub {
  position: absolute;
  right: 0;
  height: 38px;
  border: none;
  outline: 0;
  transform: translate(-1px, 1px);
}
#module-cxsearch-search #content .sp_sidebar form .srct label, #module-documentsmodule-documents #content .sp_sidebar form .srct label {
  display: block;
  margin: 0;
}
#module-cxsearch-search #content .sp_sidebar form .srct ._rdg, #module-documentsmodule-documents #content .sp_sidebar form .srct ._rdg {
  display: flex;
  margin-top: 4px;
}
#module-cxsearch-search #content .sp_sidebar form .srct input, #module-documentsmodule-documents #content .sp_sidebar form .srct input {
  margin-right: 4px;
}
#module-cxsearch-search #content .search-page, #module-documentsmodule-documents #content .search-page {
  width: 80%;
  padding: 1rem;
}
#module-cxsearch-search section#wrapper, #module-cxsearch-search #content-wrapper, #module-documentsmodule-documents section#wrapper, #module-documentsmodule-documents #content-wrapper {
  padding: 0;
}
#module-cxsearch-search #header, #module-documentsmodule-documents #header {
  box-shadow: none;
}
/* Contenitore schede */
.doctab-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Stile delle schede */
.doctab {
  padding: 12px 20px;
  cursor: pointer;
  background-color: #ddd;
  border: 1px solid #bbb;
  border-radius: 5px 5px 0 0;
  margin: 0 5px;
  font-weight: bold;
  transition: background 0.3s;
}
.doctab:active {
  background-color: #ff7f50;
  color: white;
  border-bottom: none;
}

/* Contenitore tabella */
.doctab-content {
  display: none;
  background: white;
  padding: 20px;
  border: 1px solid #bbb;
  border-radius: 0 0 5px 5px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Mostra solo il contenuto attivo */
.doctab-content.active {
  display: block;
}

/* Stile della tabella */
.doctable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.doctable th, .doctable td {
  padding: 10px;
  text-align: left;
}
.doctable th {
  background-color: #ff7f50;
  color: white;
}

/* .search-page {
  max-height: calc(100vh - 130px);
  overflow-y: scroll;
}

#module-cxsearch-search #content-wrapper {
  overflow: hidden;
} */

.mp_doc-link:hover {
  background: #e06600!important;
  color: #fff!important;
}

.hidden {
  display: none;
}
.btn-conf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
.btn-conf-modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}
.btn-conf-modal .modal-content p {
  color: #000;
  margin-bottom: 2rem;
  font-size: 16px;
  line-height: 24px;
}
.btn-conf-modal .modal-content a {
  font-weight: bold;
}
.button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.conf-button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.conf-button.confirm {
  background-color: #4CAF50;
  color: white;
}
.conf-button.confirm:hover {
  background-color: #45a049;
}
.conf-button.cancel {
  background-color: #f44336;
  color: white;
}
.conf-button.cancel:hover {
  background-color: #e53935;
}
.pt-r {
  transition: .25s;
}
.pt-r._g:hover {
  background: #d6ecd6;
}
.pt-r._r:hover {
  background: #cce5f1;
}

@media (max-width: 767px) {
  #module-cxsearch-search #content {
    flex-direction: column;
  }
  #module-cxsearch-search #content .sp_sidebar, #module-cxsearch-search #content .search-page {
    width: 100%;
    max-width: unset;
  }
  .res-list-wrapper ._table .col1 {
    width: 23%;
  }
  .res-list-wrapper ._table .col2 {
    width: 20%;
  }
  .res-list-wrapper ._table .col3 {
    width: 36%;
  }
  .cb-wrapper {
    display: none;
  }
  .user-info {
    padding: .75rem 0;
  }
}

.epr-ds-wrapper {
  position: relative;
}
.epr-ds-wrapper ._inhome {
  position: absolute;
  left: 32px;
}


/* CP */
#cp-search {
  height: auto !important;
}

.mp_custom-select {
  position: relative;
  margin-bottom: 20px;
}
.mp_custom-select__input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  box-sizing: border-box;
  background: #fff;
}
.mp_custom-select__input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}
.mp_custom-select.open .custom-options {
  max-height: 200px;
  overflow-y: auto;
  border-radius: 4px;
  border-top: none;
}
.mp_custom-select .custom-options {
  position: absolute;
  top: 40px;
  width: 200%;
  background: #fff;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}
.mp_custom-select .custom-option {
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.mp_custom-select .custom-option:hover {
  background: #f0f0f0;
}
.mp_custom-select .custom-option ._rw1, .mp_custom-select .custom-option ._rw1 {
  display: block;
}

.res-tree-wrapper {
  display: flex;
  flex-direction: column;
}
.res-tree-wrapper .breadcrumbs {
  padding: 0.5rem 1rem;
  background: #f5f5f5;
  font-size: 0.9rem;
  color: #555;
}
.res-tree-wrapper .panels {
  display: flex;
  flex: 1;
  overflow-x: auto;
}
.res-tree-wrapper .panels .panel {
  min-width: 200px;
  max-width: 300px;
  border-right: 1px solid #eee;
  background: #fff;
  overflow-y: auto;
  padding: 0.5rem;
}
.res-tree-wrapper .panels .panel .node {
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
}
.res-tree-wrapper .panels .panel .node:hover {
  background: #f0f0f0;
}
.res-tree-wrapper .panels .panel .node.selected {
  background: #007aff;
  color: #fff;
}
.td_ic {
    display: flex;
    gap: 1rem;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}

.exp_table,
.ver_disp {
  display: block;
  background: #fa7701;
  color: #fff!important;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.ver_disp {
  width: 176px;
  background: #fa7701!important;
  margin-top: 8px;
}

.pt-r td {
  vertical-align: top;
}