/* ================================================
 ACCORSI ARREDAMENTI — Trovaprodotti 
 Font: Open Sans (caricato dal sito)
 Rosso: #D01325 · Arancione: #FFA500
 ================================================ */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);

:root {
 --main-text-color: #f0f0f0;
 --main-title-color: #D01325;
 --main-text-font: 'Open Sans', Arial, Helvetica, sans-serif;
 --main-title-font: 'Open Sans', Arial, Helvetica, sans-serif;
 --menu-text-color: #f0f0f0;
 --menu-title-color: #D01325;
 --menu-background-color: #242424;
}
/* Pagina homepage — sfondo trasparente */
body.page-index {
 background: transparent;
 font-family: var(--main-text-font);
}
.card-title.tp-title{
 text-transform:uppercase;
 font-size:22px;
}
/* Pagina occasioni — sfondo trasparente */
body.page-offers {
 background: transparent;
 font-family: var(--main-text-font);
 color: #f0f0f0;
}
/* Pagina occasioni — sfondo trasparente */
body {
 background: transparent;
}
/* Pagina catalogo — sfondo trasparente */
body.page-catalog {
 background: transparent;
 font-family: var(--main-text-font);
 color: #f0f0f0;
}
/* Pagina prodotto — sfondo trasparente */
body.page-product-product {
 background: transparent;
 font-family: var(--main-text-font);
 color: #f0f0f0;
}
 .page-catalog .tp-ambient-title {
 display:none!important;
}
/* Pagina marchi — sfondo trasparente */
body.page-manufacturers {
 background: transparent;
 font-family: var(--main-text-font);
}
/* Nascondi titolo, menu filtri e campo ricerca */
.tp-header {
 display: none !important;
}
.page-offers h1.text-center {
 display: none !important;
}

div#tp-nav-filters {
 display: none !important;
}
/* Card prodotto */
.tp-product-thumb {
 background: #242424;
 border: 1px solid #3a3a3a !important;
 border-radius: 4px !important;
 overflow: hidden;
 transition: border-color 0.25s;
}
.tp-product-thumb:hover {
 border-color: #D01325 !important;
}

/* Immagine prodotto — rimuove padding vecchio, forza aspect ratio */
.tp-product-thumb img,
.tp-product-thumb .card-img-top {
 padding: 15px 5px!important;
 width: 100%;
 aspect-ratio: 4 / 3;
 object-fit: cover;
 display: block;
}

/* Badge sconto (es. "Sconto 43%") */
.tp-card-product-discount {
 display: inline-block;
 background: #FFA500!important;
 color: #fff;
 font-size: 15px;
 font-weight: 600;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 padding: 3px 15px;
 border-radius: 2px;
 margin-bottom: 7px;
}

/* Body della card */
.tp-card-body {
 padding: 11px 30px 10px !important;
 text-align: left!important;
}

/* Brand / produttore (testo piccolo sopra il titolo) */
.tp-product-thumb .tp-card-body .tp-card-pretitle {
 font-size: 18px;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.12em;
 color: #6e6e6e!important;
 margin-bottom: 4px;
}

/* Titolo prodotto */
.tp-card-title,
.card-title.tp-card-title {
 font-size: 18px;
 font-weight: 600;
 color: #D01325;
 line-height: 1.35;
 margin: 0 0 6px;
}

/* Wrapper prezzi */
.tp-card-posttitle {
 margin-top: auto;
 padding-top: 10px;
}

/* Prezzo pieno barrato */
.tp-card-product-price {
 font-size: 18px;
 color: #888888;
 text-decoration: line-through;
 display: block;
}

/* Prezzo scontato — override del vecchio rosso */
.tp-card-product-discountprice {
 font-size: 20px;
 font-weight: 700 !important;
 color: #f0f0f0 !important;
 display: block;
}

.tp-card-footer .text-body-secondary {
 font-size: 10px;
 color: #6e6e6e !important;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.1em;
}

/* Marchi — adatta al tema scuro */
.tp-brand-list a {
 width: 200px;
 height: 150px;
 background-color: #242424;
 border: 1px solid #3a3a3a;
 border-radius: 4px;
 transition: border-color 0.2s;
}
.tp-brand-list a:hover {
 border-color: #D01325;
}
/* Pagina prodotto occasioni — sfondo trasparente */
body.page-product-offer {
 background: transparent;
}
#tp-product-contact-container>div {
 padding: 1rem;
 background-color: #242424;
 border: 1px solid #ddd;
}
.text-body-secondary {
 --bs-text-opacity: 1;
 color: #fff !important;
}
.tp-product-box-details .tp-product-title-info {
 font-size:18px;
 color: #FFA500;
}
/* Breadcrumb leggibile */
.tp-breadcrumb a {
 color: #FFA500; /* arancione — già nel brand, segnala link */
 text-decoration: none;
 font-size: 14px;
 font-weight: 600;
}
.tp-breadcrumb a:hover {
 text-decoration: underline;
 color: #ffb733;
}
.tp-breadcrumb .active,
.tp-breadcrumb li:last-child {
 color: #a8a8a8; /* ultimo elemento (pagina corrente) grigio, non cliccabile */
 font-size: 14px;
}
/* Pulsante "Mostra tutto" — testo bianco visibile su sfondo scuro */
#tp-btn-toggle-desc {
 color: #f0f0f0 !important;
 background: transparent;
 border: none;
 font-size: 12px;
 font-weight: 600;
 text-decoration: underline;
 cursor: pointer;
}

#tp-btn-toggle-desc:hover {
 color: #FFA500 !important;
}
.desc-collapsed::after {
 background:transparent;
}