﻿html {
  scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

:root {
    --yellow: #fff6aa;
    --red: #fb4d3f;
    --orange: #f69537;
    --blue: #21313c;
    --grey: #f0f3f2;
    --sky: #f4f9ff;

    --yellow-hover: #ffd634;
    --red-hover: #ff3e30;
    --orange-hover: #ff9c42;
    --blue-hover: #244968;
    --grey-hover: #707876;
    --sky-hover: #c9dcf9;
}

.card {
  border: none !important;
}

#navbar_layout {
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#navbar_layout.scrolled ul.dropdown-menu {
    margin-top: 1rem;
}

#navbar_layout.scrolling {
    background: rgba(33, 49, 60, 0.9); 
    backdrop-filter: blur(15px);
}

#navbar_layout.scrolling a,
#navbar_layout.scrolling i {
    color: #fff;
}

#navbar_layout .nav-link.active, #navbar_layout i.active {
    color: var(--orange) !important;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

#navbar_layout.scrolling .hamburger .line {
    background-color: #fff;
}

#navbar_layout.scrolling ul.dropdown-menu {
    background: #fff;
}

#navbar_layout.scrolling ul.dropdown-menu a {
    color: var(--blue)
}

.hamburger .line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #21313c;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center center;
}

/* Quando il pulsante NON ha la classe collapsed (menu aperto) */
.navbar-toggler:not(.collapsed) .hamburger .line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .hamburger .line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .hamburger .line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* STYLES RESET FOR EDITOR TINYMCE IN DETAIL.CSHTML*/
/* Ripristina lo stile per il contenuto dell'editor */
.description-content h1,
.description-content h2,
.description-content h3,
.description-content h4,
.description-content h5,
.description-content h6 {
    margin-bottom: 1rem !important; /* Forza lo spazio sotto */
    margin-top: 1.5rem !important; /* Aggiunge aria sopra per staccare dai paragrafi precedenti */
    line-height: 1.2; /* Migliora la leggibilità */
}

/* 2. Ridiamo spazio sotto ai paragrafi */
.description-content p {
    display: block; /* Assicura che vada a capo */
    margin-bottom: 0 !important;
}

/* 3. Sistemiamo gli elenchi puntati (che avevi perso) */
.description-content ul,
.description-content ol {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    padding-left: 2rem !important; /* Spazio a sinistra per i pallini */
}

.description-content ul li,
.description-content ol li {
    margin-bottom: 0.5rem !important; /* Spazio tra una voce e l'altra */
    list-style-position: outside;
}

/* 4. Opzionale: Se vuoi i pallini visibili */
.description-content ul {
    list-style-type: disc !important;
}

/* BACK TO TOP BUTTON */

#backToTopBtn {
    /* Posizionamento fisso */
    position: fixed;
    bottom: 70px;
    right: 30px;
    z-index: 9999; /* Sempre sopra tutto */
    /* Stile del bottone */
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%); /* Gradiente moderno */
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Flex per centrare l'icona */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Stati iniziali per l'animazione (Nascosto) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9); /* Parte leggermente giù e piccolo */
    pointer-events: none; /* Non cliccabile quando nascosto */
    /* Transizione fluida */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effetto rimbalzo leggero */
}

/* Classe che viene aggiunta via JS quando si scrolla */
#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Effetto Hover */
#backToTopBtn:hover {
    transform: translateY(-5px); /* Si alza leggermente */
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

/* Effetto Click */
#backToTopBtn:active {
    transform: scale(0.95);
}

button {
  border: none;
}

body {
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  border-radius: 10px;
}

/* Badge colori in Catalogo */
span.color-dot {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition : 0.5s ease-in-out all;
}

span.color-dot:not(.active){
    cursor: pointer;
}

span.color-dot:hover {
    transform: scale(1.1);
}

span.color-dot.active {
    border-color: #333; /* oppure un colore tematico */
    transform: scale(1.1);
}

/* Effetto base per tutti i badge */
.badge-hover {
    transition: all 0.2s ease-in-out;
    cursor: default;
}

.badge-hover.active {
    border-color: rgba(0,0,0,0.3) !important;
    background-color: #fdfdfd !important;
}

.badge-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    border-color: rgba(0,0,0,0.3) !important;
    background-color: #fdfdfd !important;
}

/* Piccolo miglioramento estetico per le box colore */
.color-box {
    transition: transform 0.2s ease-in-out;
}

.badge-hover:hover .color-box {
    transform: scale(1.05);
}

p,
h1,
h2,
h3,
a {
  color: var(--blue);
  margin-bottom: 0;
}

section {
  min-height: 100vh;
  padding: 10rem 0;
}

#checkout {
    padding: 5rem 0;
}

#landing, #register, #login, #forgot, #contact {
    padding: calc(10rem + 67px) 0 10rem 0;
    min-height: unset;
}

#land {
    padding: calc(10rem + 67px) 0 10rem 0;
}

/* REGISTER */

#repeatPasswordWrapper {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .3s ease, max-height .3s ease;
}

#repeatPasswordWrapper.visible {
    opacity: 1;
    max-height: 120px; /* quanto basta per contenere input + error */
}

/* LANDING SECTION */

#landing {
  display: flex;
  align-items: center;
  background-color: var(--blue);
  min-height: unset;
}

#landing h1 {
  color: var(--red);
  font-size: 75px;
  font-family: "Playfair Display", serif;
  font-weight: 800;
}

#landing h2 {
  font-size: 25px;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

#landing .shooting {
  width: 100%;
}

#landing .logo-img {
  width: 100px;
}

/* BRAND SECTION */

#brand, #brand2 {
  background-color: var(--grey);
  margin-top: 10rem;
}

#scoprilinee {
    width: 270px;
    color: #fff;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 15px;
    background: var(--orange);
    border: none;
    border-radius: 8px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px
        rgba(0,0,0,0.25), /* ombra principale */
        0 10px 30px rgba(0,0,0,0.15); /* secondo livello più morbido */
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#scoprilinee i {
    transition: transform 0.4s ease;
}

/* Hover effect */
#scoprilinee:hover, #land a:hover {
    background: #e85b00; /* arancione leggermente più scuro */
    /* Shadow ancora più drammatico al hover */
    box-shadow:
        0 8px 20px rgba(0,0,0,0.35)
        0 15px 40px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

#scoprilinee:hover i {
    transform: rotate(20deg) translateX(5px); /* piccola animazione bussola */
}

#brandBtn {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}

#brandBtn i {
    transition: transform 0.4s ease;
}

/* Hover effect */
#brandBtn:hover {
    color: #e85b00; /* colore leggermente più intenso */
}

#brandBtn:hover i {
    transform: translateX(-5px); /* freccia si sposta a sinistra */
}

#scoprilinee i {
    font-size: 20px;
}

#brand, #brand2 {
  background-color: var(--grey);
}

#brand .row.images img {
  width: 100%;
}

#specialita_img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transform: translateY(0);
  transition: 0.5s ease-in-out transform;
}

#specialita_img:hover {
  transform: translateY(-10px);
}

.main-text h2 {
  font-size: 45px;
  font-family: "Playfair Display", serif;
}

#brand .main-text h3,
#brand2 .main-text h3{
  font-size: 25px;
  font-weight: 400;
}

#brand2 .star i {
  font-size: 35px;
  padding-right: 2rem;
}

#brand2 .star {
  padding: 6rem 0 4rem 0;
}

#brand2 .text p, #brand .text p {
  font-size: 20px;
  margin-bottom: 2rem;
}

#brand2 .text {
  margin-bottom: 5rem;
}

#brand2 #scorri {
    color: var(--blue);
    font-weight: 600;
    font-size: 16px;

    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#teli,
#accappatoi {
  min-height: 60vh;
}

#accappatoi {
  background-color: var(--grey);
}

/* TELI SECTION */

#teli img,
#accappatoi img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: 0.5s ease-in-out all;
}

#teli .row .col-6.text,
#accappatoi .row .col-6.text {
  display: flex;
  align-items: center;
}

#teli .row h2,
#accappatoi .row h2 {
  margin-bottom: 3rem;
  font-size: 45px;
  font-family: "Playfair Display", serif;
}

#teli .row p,
#accappatoi .row p {
  font-size: 20px;
}

#teli .row p:first-of-type,
#accappatoi .row p:first-of-type {
  font-size: 22px;
  margin-bottom: 1rem;
}

#teli .row a,
#accappatoi .row a {
  margin-top: 3rem;
  color: #fff;
  width: 230px;
  padding: 0.75rem 0;
  font-size: 16px;
  font-weight: 700;
}

/* LINEE SECTION */

#linee {
  min-height: 50vh;
}

#linee h1 {
  color: var(--orange);
  font-size: 45px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

#linee p {
  font-size: 23px;
  text-align: center;
  margin-bottom: 6rem;
}

#linee ul {
  list-style: none;
}

#linee .row {
    height: 500px;
}


#linee .row .item {
    height: 100%;
}

#linee img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: 0.5s ease all;
}

#linee .item:hover img {
  transform: scale(1.025);
}

#linee h2 {
  font-size: 23px;
  text-align: center;
  padding: 1.5rem 0;
  font-weight: 600;
}

/* FRAMIR SECTION */

#framir {
  background-color: var(--grey);
  min-height: unset;
  margin-bottom: 10rem;
}

#framir .text-header h1 {
  margin-bottom: 1.5rem;
  font-size: 50px;
}

#framir .text-header p {
  font-size: 20px;
  margin-bottom: 3rem;
}

#framir .text-header p b {
  font-weight: 600;
}

#framir .bi.bi-building {
  font-size: 45px;
}

#framir .info-box {
  background-color: var(--blue);
  padding: 2.5rem;
  width: 100%;
  height: 500px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#framir .info-box i,
#framir .info-box p,
#framir .info-box h3,
#framir .info-box a {
  color: #fff;
}

#framir .info-box h3 {
    font-size: 25px;
}

#framir .info-box a {
    font-size: 15px;
}

#framir .info-box p {
    font-size: 16px;
}

#framir .text p {
  font-size: 22px;
}

#framir .socials a {
    display: inline-block;
}

#framir .socials i {
  font-size: 26px;
  opacity: 1;
  transition: 0.5s ease all;
}

#framir .text-header p b {
    color: var(--red);
}

#framir .socials i:hover {
  opacity: 0.7;
}

#framir .info-box .text-group .d-flex p {
  font-size: 20px;
  margin-bottom: 0.25rem;
}

#framir .text-group .value {
  opacity: 0.8;
  font-weight: 400;
}

#framir .text-group i {
  font-size: 20px;
}

#framir .info-box .text-group .d-flex {
  font-size: 20px;
  margin-bottom: 0.25rem;
}

#framir .col-12.text {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

/* FOOTER */
footer {
    background-color: var(--blue);
    padding: 7rem 0;
    padding-bottom: 0;
}

footer a,
footer h2,
footer p,
footer i {
  color: #fff;
}

footer a, footer p {
  color: #f6f6f6;
  opacity: 0.8 !important;
  font-weight: 300;
}

footer h2 {
  font-family: unset;
  font-size: 22px;
  font-weight: 600;
  font-weight: 400;
}

footer hr {
  color: #ccc;
  margin: 5rem 0 1rem 0;
}

footer .socials i {
  font-size: 25px;
}

footer .copyright-text p {
  opacity: 0.8;
}

footer .copyright-text p a {
  opacity: 1;
  display: unset;
}

footer a, footer p {
  opacity: 1;
  transition: 0.5s ease all;
  display: block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  opacity: 0.5;
  color: #e85b00;
}

footer .socials a {
    margin-bottom: 0;
}

footer .developer {
    background-color: var(--grey);
    padding: 1.5rem 0;
    margin-top: 1rem;
}

footer .developer p {
    color: var(--blue);
    margin-bottom: 0;
    font-weight: 500;
}

/* DEV */

#dev {
    color: var(--orange);
    transition: all 0.4s ease;
    font-weight: 500;
}

#dev:hover {
    color: #ff8917;
}

/* LINEA */

#lineabagno .card-container,
#lineabagno .card,
#lineabagno .front,
#lineabagno .back {
  box-sizing: border-box;
}

#lineabagno .info-header {
  padding-bottom: 10rem;
}

#lineabagno img {
  border-radius: 0px;
}

#lineabagno .grid-system img {
  height: 500px;
  width: 100%;
  object-fit: cover;
}

#lineabagno .info-header {
  text-align: center;
}

#lineabagno .info-header h1 {
  font-size: 55px;
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
}

#lineabagno .info-header h3 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
}

#lineabagno .card-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
  overflow: hidden;
  display: block;
  will-change: transform;
}

#lineabagno .card {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Lato front: immagine visibile sempre */
#lineabagno .front {
  width: 100%;
  height: 100%;
}

#lineabagno .front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

/* BACK comune */
#lineabagno .back {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--orange);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  transition: transform 0.7s ease, opacity 0.7s ease;
  padding: 1rem;
}

/* Slide-in da destra (default) */
.card-container.slide-right .back {
  left: 100%;
  transform: translateX(0);
}

.card-container.slide-right:hover .back {
  transform: translateX(-100%);
}

/* Slide-in da sinistra */
.card-container.slide-left .back {
  left: -100%;
  transform: translateX(0);
}

.card-container.slide-left:hover .back {
  transform: translateX(100%);
}

/* FRONT zoom */
.card-container:hover .front img {
  transform: scale(1.05);
}

#lineabagno .back p {
  color: #fff;
}

#lineabagno .back p:first-of-type {
  font-size: 40px;
}

#lineabagno .back p:last-of-type {
  font-weight: 400;
  color: var(--blue);
}

/* ---------- Card già attiva: mostra il back di default ---------- */
.card-container.slide-right.active .back {
  transform: translateX(-100%); /* back visibile */
}

.card-container.slide-left.active .back {
  transform: translateX(100%); /* back visibile */
}

/* ---------- Quando passo col mouse su una card active voglio INVERTIRE l'hover ---------- */
/* Per slide-right: normalmente hover fa translateX(-100%). per active vogliamo che hover lo nasconda */
.card-container.slide-right.active:hover .back {
  transform: translateX(0); /* porta il back fuori a destra (nasconde) */
}

/* Per slide-left: normalmente hover fa translateX(100%). per active vogliamo che hover lo nasconda */
.card-container.slide-left.active:hover .back {
  transform: translateX(0); /* porta il back fuori a sinistra (nasconde) */
}

/* Opzionale: gestire lo zoom dell'immagine (invertito su active:hover se vuoi) */
/* Se vuoi che l'immagine sia zoomata quando il back è visibile ma torni normale on hover */
.card-container.active .front img {
  transform: scale(1.05); /* immagine zoomata quando back visibile di default */
  transition: transform 0.4s ease;
}

.card-container.active:hover .front img {
  transform: scale(1); /* torna normale quando passi il mouse su active */
}

#lineabagno .hover-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: #fff;
  color: var(--orange, #f97316);
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border-radius: 25px;
  font-size: 1.15rem;
  pointer-events: none; 
  transition: all 0.5s ease-in-out;
}

/* --- Disabilita completamente il back per le card non active --- */
#lineabagno .card-container:not(.active) .back {
    display: none !important;
}

/* Mantieni l'effetto zoom sull'immagine se vuoi */
#lineabagno .card-container:not(.active):hover .front img {
    transform: scale(1.05);
}

#land {
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: unset;
}

#land a,
#land h2,
#land p {
  color: #fff;
}

#land a {
    margin: 0 auto;
    opacity: 1;
    width: 270px;
    color: #fff;
    padding: 0.75rem 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 15px !important; 
    background: var(--orange);
    border: none;
    border-radius: 8px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25), /* ombra principale */
    0 10px 30px rgba(0,0,0,0.15); /* secondo livello più morbido */
    cursor: pointer;
    position: relative;
    overflow: hidden;  

}

#land h2 {
  font-size: 80px;
  font-weight: 900;
  font-family: "Playfair Display", serif;
}

#land p {
  padding: 1.5rem 0 6rem;
  font-weight: 600;
  font-size: 20px;
}

#land a {
  padding: 1rem 3rem;
  font-weight: 600;
  font-size: 16px;
}

/* CATALOGO */

#catalogo {
    min-height: unset;
}

#catalogo .header {
  background-color: var(--grey);
  padding: 3rem;
  border-radius: 10px;
}

#catalogo .item-price {
    font-size: 16px;
    font-weight: 400;
}

#catalogo .filters {
  margin: 4rem 0;
}

#catalogo .filters input {
  width: 300px;
}

#catalogo #checkResults {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#catalogo .items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
/*    margin-bottom: 4rem;*/
}

#catalogo .items > div:only-child {
    /* Questo fa in modo che il singolo elemento occupi solo la larghezza 
    minima di 250px + il padding/margine, invece di espandersi a 1fr 
    su tutte le colonne virtuali create da auto-fit. */
    max-width: 286px;
}

#catalogo .item {
  min-height: 300px;
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#catalogo .item img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

#catalogo .item .item-content {
  margin: 1rem 0;
}

.item .item-content .title {
  font-size: 18px;
  font-weight: 500;
}

.item a.btn {
  color: #fff;
  font-size: 14px;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

/* CONTACT */

#contact {
    background-color: var(--grey);
    padding: calc(5rem + 67px) 0 8rem 0 !important;
}

#contact h1,
#contact h2,
#contact h3 {
    font-family: "Poppins", sans-serifs;
    margin-bottom: 2rem;
}

#contact i {
    font-size: 20px;
}

#contact h3 {
    font-size: 20px;
}

#contact input {
  border-radius: 5px;
}

#contact form {
  background-color: var(--blue);
  padding: 3rem;
  border-radius: 10px;
  width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#contact label {
  color: #fff;
  display: block;
}

#contact .input-group {
  display: block;
}

#contact input, #contact select {
  padding: 0.65rem 0.75rem;
}

#contact input,
#contact textarea,
#contact select {
    font-size: 14px;
    background-color: var(--grey);
}

#contact input,
#contact button,
#contact textarea,
#contact select {
    width: 100%;
}

#contact textarea, #contact select {
    border-radius: 5px;
}

#contact textarea {
  height: 100px;
}

#contact button {
  color: #fff;
  cursor: pointer;
}

#contact button i {
  font-size: 25px;
}

#contact .map-box {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  overflow: hidden; /* arrotonda anche la mappa */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-box iframe {
  width: 100%;
  height: 100%; /* ora funziona, perché il parent ha un'altezza fissa */
  border: 0;
}

#contact .other {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.dropdown-toggle::after {
    content: "\25BC"; /* ▼ simbolo freccia */
    display: inline-block;
    margin-left: 0.3rem;
    font-size: 0.6em;
}

#contact .other a {
  color: var(--blue);
  transition: 0.5s ease color;
  text-decoration: underline;
  text-decoration-color: var(--blue);
}

#contact .other a:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}

/* LOGIN ADJUSTEMENETS */

#login h1,
#register h1 {
  font-size: 35px;
}

#login .main-p {
  font-size: 16px;
}

/* SHOP CART */

#offcanvasRight {
  width: 600px !important;
}

/* DETAIL */

#detail table td {
    padding-left: 0;
}

#detail, #detail-info {
    min-height: unset;
}

#detail {
    padding: 0;
    padding-top: calc(6rem + 67px);
    padding-bottom: 6rem;
    background-color: #FAF9F6;
}

#detail-info {
    padding: 8rem 0 8rem 0;
}

#detail-info table tr:last-child td {
    border-bottom-width: 1px;
}

/* RECOMMENDED PRODUCTS IN DETAIL */

#recommendedProducts {
    background: var(--grey);
    min-height: unset;
    padding: 5rem 0;
    margin-bottom: 10rem;
}

#recommendedProducts .actionnBtn{
    padding: 0.75rem 0;
    font-size: 14px;
    transition: all 0.3s ease-in-out; /* Animazione fluida */
    overflow: hidden; /* Nasconde il testo quando esce dai bordi */
}

/* Stile del testo "Visualizza" */
.actionnBtn .btn-text {
    max-width: 100px; /* Larghezza massima iniziale (abbastanza per contenere il testo) */
    opacity: 1;
    transition: all 0.3s ease-in-out;
    white-space: nowrap; /* Evita che il testo vada a capo mentre si restringe */
}

/* Stile dell'icona */
.actionnBtn i {
    transition: transform 0.3s ease;
}

/* --- EFFETTO HOVER --- */

/* Quando passi sopra il bottone, il testo sparisce */
.actionnBtn:hover .btn-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0 !important; /* Rimuove il margine (ms-2) per centrare perfettamente l'icona */
}

/* Opzionale: L'icona diventa leggermente più grande */
.actionnBtn:hover i {
    transform: scale(1.3);
}

#recommendedProducts .card-product {
    transition: all 0.3s ease-in-out; /* Animazione fluida per la card */
    border: none; /* Rimuove il bordo predefinito */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    overflow: hidden; /* Assicura che l'immagine non esca dai bordi */
}

/* Stile dell'immagine dentro la card */
#recommendedProducts .card-product .card-body img {
    transition: transform 0.3s ease-in-out; /* Animazione fluida per l'immagine */
}

/* Effetto hover sull'immagine quando si passa sopra la card */
#recommendedProducts .card-product:hover .card-body img {
    transform: scale(1.05); /* Leggero zoom sull'immagine */
}

#forgot {
    min-height: unset;
}

@media (max-width: 1360px) {
  #contact .first {
    flex-direction: column;
  }

  #contact ul {
    margin-bottom: 2rem;
  }
}

@media (max-width: 1200px){
    #catalogo .filters {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 2rem;
    }
}

@media (max-width: 1000px) {
  footer .finals {
    display: flex;
    flex-direction: column;
    align-items: start !important;
  }

  footer .finals .copyright-text {
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  /* breakpoint md */
  .w-md-70 {
    width: 70% !important;
  }

  #framir .info-box {
    width: 450px;
  }

}

@media (max-width: 768px) {

    #catalogo .items {
        gap: 1.5rem;
    }

    #catalogo .filters .form-select,
    #catalogo .filters input,
    #catalogo .filters .input-group,
    #catalogo #filtersForm,
    #catalogo #button-search {
        width: 100% !important;
    }


    section {
        min-height: unset;
/*        padding: 5rem 0;*/
    }

    #teli img, #accappatoi img {
        object-fit: cover;
    }

    #teli a.btn, #accappatoi a.btn {
        width: 100% !important;
    }

    #contact form {
        padding: 2rem;
        width: 100%;
    }

    #contact form .nc {
        flex-direction: column;
    }

    #linee .row {
        height: unset;
    }
}

@media (max-width: 550px) {
    #landing h1 {
        font-size: 60px;
    }
}

@media (max-width: 450px) {

    #catalogo .items .item{
        max-width: unset !important;
    }

    #detail .alert {
        display: flex !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        flex-direction: column !important;
    }

    #land p {
        width: 18px;
        font-weight: 500;
    }

    #land h2 {
        font-size: 60px;
    }

    #land a {
        width: 100%;
    }

    #scoprilinee {
        width: 100%;
    }

    #landing h1 {
        font-size: 45px;
    }

    #landing h2 {
        font-size: 20px;
    }

    #wrapper-pagination {
        padding: 2rem 0 !important;
        gap: 2rem !important;
    }

    ul.pagination {
        display: flex;
        justify-content: space-between;
    }
}
