body {
  margin: 0;
  height: 100vh;

  background-image: url('../../images/sfondi/sfondoUsato.jpg');
  background-size: cover;          /* Copre tutto lo schermo */
  background-position: center;     /* Centra l'immagine */
  background-repeat: no-repeat;    /* Evita ripetizioni */
  background-attachment: fixed;    /* Sfondo fisso */
}
.cursor-pointer {
	cursor: pointer;
	}

.SubMenuCatalogo {
    position: sticky;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);

    transition: all 0.3s ease;
}

.SubMenuCatalogo.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}
.glass-bar {
    background: rgba(108, 117, 125, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}    

/* area preventivo */ 
.accordion-button {
padding: 0.3rem 0.6rem;
font-size: 0.85rem;
}
.accordion-item {
    border: none;
}
.custom-subnav {
  position: fixed;
  top: 78px; /* altezza navbar principale */
  left: 0;
  width: 100%;
  z-index: 999;
}
button, select {
  min-height: 44px;
} 
.drawer-body {
  -webkit-overflow-scrolling: touch;
} 
.custom-subnav-mobile {
  position: fixed;
  top: 78px;
  left: 0;
  width: 100%;
  z-index: 999;
}
.filter-drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 90%;
  background: white;
  z-index: 9999;
  border-radius: 20px 20px 0 0;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.filter-drawer.open {
  bottom: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #ddd;
}

.drawer-body {
  padding: 15px;
  overflow-y: auto;
  flex: 1;
}
.drawer-footer {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid #ddd;
} 
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  display: none;
}
.page-content {
  padding-top: 160px; /* desktop */
}

@media (max-width: 991px) {
  .page-content {
    padding-top: 15px; /* mobile */
  }
}
 .favorite-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 55px;
    margin-top: 40px;
    z-index: 888;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

/* cuore */
.heart-icon {
    fill: #000000;
    stroke: #000000;
    stroke-width: 2;
    transition: all 0.25s ease;
}

/* testo */
.favorite-btn .label {
    font-size: 10px;
    color: #666;
    transition: color 0.2s;
}

/* hover */
.favorite-btn:hover .heart-icon {
    fill: #ff4d6d;
    stroke: #ff4d6d;
    transform: scale(1.1);
}

.favorite-btn:hover .label {
    color: #ff4d6d;
}

/* attivo */
.favorite-btn.active .heart-icon {
    fill: #ff4d6d;
    stroke: #ff4d6d;
}

.favorite-btn.active .label {
    color: #ff4d6d;
}

/* animazione */
.favorite-btn.active .heart-icon {
    animation: pop 0.3s ease;
}

@keyframes pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}
.back-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #333;
    z-index: 888;
    transition: all 0.2s ease;
}

.back-btn:hover {
    color: #ff4d6d;
    transform: translateX(-3px);
}

.mobile-actions-bar {
  position: fixed;
  bottom: 0; 
  left: 0;
  width: 100%;
  z-index: 999;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;

  background: rgba(108, 117, 125, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-top: 1px solid rgba(255,255,255,0.2);
}
	@media (max-width: 991px) {
  .page-content {
    padding-bottom: 80px; /* spazio per barra bottom */
  }
}
.mobile-actions-bar {
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
	@media (max-width: 991px) {
  .page-content {
    padding-top: 0px;
	margin-top: -50px;
  }
}
.no-record-img {
  max-width: 100%;
  height: auto;
  max-height: 250px; 
  object-fit: contain;
}
.no-record-content-img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
@media (max-width: 991px) {

  .no-record-content {
    padding: 15px;
    font-size: 14px;
  }

  .no-record-img {
    max-height: 380px; 
  }

}
 .heart-icona {
    position: absolute;
    top: 10px;
    right: 10px;
    fill: white;
    z-index: 10;
    cursor: pointer;
    background: rgba(253,0,4,0.40);
    border-radius: 50%;
    padding: 5px;
}   
