.rd-navbar-static.rd-navbar_inverse:not(.rd-navbar--is-stuck) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: #000;
}

/* ============================================
   BREADCRUMB TREP – PREMIUM STYLE
   ============================================ */
.trep-breadcrumbs {
    position: relative;
    z-index: 20;
    background: #f9f9f9;                  /* sfondo leggerissimo */
    padding: 18px 0;
    border-bottom: 1px solid #ececec;     /* linea molto leggera */
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* DESKTOP – barra alta 150px */
@media (min-width: 992px) {
    .trep-breadcrumbs {
        margin-top: 150px;    /* contrasta il pdt150 */
    }
}

/* TABLET */
@media (max-width: 991px) and (min-width: 768px) {
    .trep-breadcrumbs {
        margin-top: 60px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .trep-breadcrumbs {
        margin-top: 1px;
        padding: 14px 0;
    }
}

.trep-breadcrumbs-path {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* LINK */
.trep-breadcrumbs-path li a {
    color: #444;
    font-size: 0.92rem;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
}

.trep-breadcrumbs-path li a:hover {
    color: #c11;         /* rosso TreP al passaggio */
}

/* VOCE CORRENTE */
.trep-breadcrumbs-path li {
    color: #111;
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* SEPARATORE ICONA (invece del > brutale) */
.trep-breadcrumbs-path span {
    display: inline-block;
    font-size: 0.88rem;
    color: #bbb;
    padding: 0 4px;
}

.trep-breadcrumbs-path span::before {
    content: "›";
    font-weight: 700;
}

.pdt150 {
    height: 40px !important;
}

/* ============================================
   TITOLO SEZIONE – PREMIUM TREP
   ============================================ */
.trep-section-title {
    text-align: center;
    padding: 50px 0 30px;
    position: relative;
}

.trep-section-title h3 {
    font-size: 1.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #222;
}

/* Linea sottile sotto al titolo */
.trep-section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #c11; /* rosso TreP */
    margin: 18px auto 0;
    border-radius: 3px;
    opacity: 0.9;
}

/* =========================================
   CARD OFFERTE CUCINE – TREP CERAMICHE
   ========================================= */

/* CARD BASE */
.product.product-grid.trep-offerta-card {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.trep-offerta-card {
    background: #ffffff;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 28px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}

.trep-offerta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.20);
}

/* IMMAGINE + ZOOM */
.trep-offerta-img {
    position: relative;
    overflow: hidden;
    background: #fff;
    margin: 0;
}

.trep-offerta-card .product-img-wrap {
    margin: 0 !important;
    padding: 0;
    border: none;
    background: none;
}

.trep-offerta-card .product-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    transition: transform .4s ease;
}

.trep-offerta-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

/* RIBBON "OFFERTA" DIAGONALE */
.trep-offerta-ribbon {
    position: absolute;
    top: 14px;
    right: -46px;
    background: #c11;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 42px;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    pointer-events: none;
}

/* CAPTION: PREZZO + TESTO */
.product-caption.trep-offerta-caption {
    padding: 0;
    margin-top: -21px !important;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.trep-offerta-layout {
    display: grid;
    grid-template-columns: auto 1px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 18px 16px;
    border-radius: 0 0 10px 10px;
}

/* BOX PREZZO */
.trep-offerta-prezzo-box {
    background: #111;
    padding: 10px 22px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    min-width: 130px;
}

.trep-prezzo-numero {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ff2a2a;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.trep-prezzo-iva {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: -2px;
    color: #fff;
    text-transform: uppercase;
}

/* DIVISORE */
.trep-offerta-divider {
    width: 1px;
    background: rgba(0,0,0,0.14);
    height: 70%;
}

/* TESTO DX */
.trep-offerta-testo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trep-offerta-titolo {
    font-size: 1.05rem;
    font-weight: 700;
    color: #c11;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}

.trep-offerta-titolo a {
    color: inherit;
    text-decoration: none;
}

.trep-offerta-titolo a:hover {
    text-decoration: underline;
}

.trep-offerta-desc {
    font-size: 0.82rem;
    color: #333;
    line-height: 1.45;
    margin-bottom: 2px;
}

/* Hover: scurisco solo il box prezzo */
.trep-offerta-card:hover .trep-offerta-prezzo-box {
    background: #000;
}

/* RESPONSIVE OFFERTE */
@media (max-width: 767.98px) {
    .trep-offerta-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .trep-offerta-divider {
        display: none;
    }

    .trep-offerta-prezzo-box {
        margin: 0 auto;
    }

    .trep-offerta-testo {
        text-align: center;
    }

    .trep-prezzo-numero {
        font-size: 1.25rem;
    }
}

/* ============================================
   EVENTO TRE P CERAMICHE – STILE PREMIUM
   ============================================ */

.trep-evento {
    padding: 30px 0 4px;
    font-family: 'Poppins', sans-serif;
    color: #222;
}

/* HERO */
.trep-event-hero {
    background: radial-gradient(circle at top left, #0a1a44 0, #111a33 40%, #050811 100%);
    border-radius: 18px;
    padding: 26px 28px 26px;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.trep-event-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -40px;
    width: 220px;
    height: 220px;
    opacity: 0.18;
    background: radial-gradient(circle, #ffffff 0, transparent 60%);
}

/* Badge evento + data */
.trep-event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.trep-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trep-event-badge span {
    display: inline-block;
}

.trep-event-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffd814;
}

/* Data / luogo */
.trep-event-info {
    font-size: 13px;
    opacity: 0.85;
}

.trep-event-info strong {
    font-weight: 600;
}

/* Titolo */
.trep-event-hero h1 {
    font-size: 30px;
    font-weight: 700;
    margin: 4px 0 8px;
    line-height: 1.25;
}

.trep-event-hero h1 span {
    display: block;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: 0.9;
}

.trep-event-hero h1,
.trep-event-hero h1 span,
.trep-event-hero h1 strong,
.trep-event-hero h1 a {
    color: #ffffff !important;
}

/* Sottotitolo */
.trep-event-subtitle {
    font-size: 14px;
    max-width: 520px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Layout interno */
.trep-evento .product-view {
    margin-top: 10px;
}

.trep-evento .col-xs-12.col-md-3,
.trep-evento .col-xs-12.col-md-9 {
    margin-bottom: 20px;
}

/* Immagine locandina + hover */
.trep-evento .single-product-image figure {
    overflow: hidden;
    border-radius: 12px;
}

.trep-evento .single-product-image figure img {
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    width: 100%;
    height: auto;
    transition: transform .6s ease, box-shadow .6s ease;
}

.trep-evento .single-product-image figure:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Testo paragrafi */
.trep-evento .event-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #333;
}

.trep-evento .event-content p strong {
    color: #0a1a44;
    font-weight: 600;
}

/* Blocco highlight dentro la card */
.trep-evento .trep-event-highlight {
    margin: -4px 0 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(193,17,17,0.06), rgba(0,0,0,0.02));
    border: 1px solid rgba(193,17,17,0.20);
    font-size: 0.92rem;
}

/* BOX TESTO EVENTO */
.trep-evento .event-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 26px 26px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.trep-evento .event-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border-top: 3px solid #c11;
    pointer-events: none;
    opacity: 0.95;
}

/* list inside content */
.trep-evento .event-content ul,
.trep-evento .event-content ol {
    margin-top: 8px;
}

/* BOX GALLERY EVENTO – versione unica pulita */
.trep-evento .trep-event-gallery {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 20px 30px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.08);
    margin-top: 35px;
    position: relative;
    z-index: 1;
}

.trep-evento .trep-event-gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border-top: 3px solid #c11;
    pointer-events: none;
    opacity: 0.95;
}

/* titolo gallery */
.trep-event-gallery-title {
    text-align: left;
    margin-bottom: 18px;
}

.trep-event-gallery-title h2 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.trep-event-gallery-title span {
    display: inline-block;
    margin-left: 8px;
    font-size: .9rem;
    color: #777;
}

/* DESKTOP */
@media (min-width: 992px) {
    .trep-event-hero {
        padding: 20px 18px 22px;
    }

    .trep-event-hero h1 {
        font-size: 24px;
    }

    .trep-evento .trep-event-gallery {
        width: 100%;
        margin: 40px 0 0 auto;
        padding: 26px 28px 30px;
        border-radius: 18px;
    }

    .trep-evento .trep-event-gallery::before {
        border-radius: 18px;
    }
}

/* TABLET (max 991) */
@media (max-width: 991px) {
    .trep-evento .trep-event-gallery {
        width: 100%;
        margin: 30px 0 0 0;
        padding: 24px 20px 26px;
        border-radius: 14px;
    }

    .trep-evento .trep-event-gallery::before {
        border-radius: 14px;
    }

    .trep-event-gallery-title h2 {
        font-size: 1.35rem;
    }
}

/* MOBILE (max 767) */
@media (max-width: 767px) {
    .trep-evento {
        padding-top: 20px;
    }

    .trep-event-hero {
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px;
    }

    .trep-event-hero h1 {
        font-size: 22px;
    }

    .trep-event-subtitle {
        font-size: 13px;
    }

    .trep-evento .event-content {
        padding: 18px 16px 20px;
        border-radius: 14px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }

    .trep-evento .event-content::before {
        border-radius: 14px;
    }

    .trep-evento .event-content p {
        font-size: 15px;
    }

    .trep-evento .trep-event-gallery {
        padding: 20px 16px 22px;
        margin-top: 24px;
        border-radius: 12px;
    }

    .trep-evento .trep-event-gallery::before {
        border-radius: 12px;
    }

    .trep-event-gallery-title h2 {
        font-size: 1.25rem;
    }
}

/* Animazioni ingresso */
@keyframes trepFadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes trepFadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

.trep-event-hero {
    animation: trepFadeDown .7s ease-out .1s both;
}

.trep-evento .single-product-image {
    animation: trepFadeUp .8s ease-out .3s both;
}

.trep-evento .event-content {
    animation: trepFadeUp .8s ease-out .45s both;
}

.trep-event-gallery {
    animation: trepFadeUp .8s ease-out .6s both;
}

/* ============================================
   TRE P – Card Gallery Premium
============================================ */

.trep-event-gallery .isotope-item {
    padding: 12px;
}

/* Card */
.trep-gallery-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transition: transform .35s ease, box-shadow .35s ease;
}

/* Immagine */
.trep-gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform .55s ease;
    display: block;
}

/* Hover */
.trep-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.16);
}

.trep-gallery-card:hover img {
    transform: scale(1.06);
}

/* Light overlay quando hover */
.trep-gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    opacity: 0;
    background: rgba(255,255,255,0.06);
    transition: opacity .35s ease;
}

.trep-gallery-card:hover::after {
    opacity: 1;
}

/* Responsive gallery card */
@media (max-width: 768px) {
    .trep-gallery-card img {
        height: 190px;
    }
}



