/* RESET BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
}
body, h1, h2, h3, p, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* COLORS */
:root {
    --yellow-ochre: #fab511;
    --yellow-ochre-active: #d4890f;
    --gunmetal-gray: #353535;
    --white: #FFFFFF;
    --black: #000000;
}

/* GLOBAL STYLES */
body {
    background-color: var(--gunmetal-gray);
    color: var(--white);
    line-height: 1.6;
}
.checkbox,
.filter-checkbox{
    width: 20px;
    height: 20px;
    accent-color: var(--yellow-ochre);
}
.row {
    height: auto;
    border: none;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.hidden {
    display: none;
}
/*** Begin Nav ***/
.header{
	width:100%;
	position: fixed;
    top: 0;
	background-color: var(--white);
	transition: top 0.5s;
    -webkit-transition: top 0.5s;
	z-index: 1;
}
.nav-wrapper{
	display: flex;
	justify-content: center;
}

.nav-wrapper{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.nav-wrapper-inner {
	width: 100%;
	max-width: 90%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.menu-button {
	position: relative;
	float: right;
	margin: 30px;
	display: none;
	cursor: pointer;
}

.bar1, .bar2, .bar3 {
	width: 35px;
	height: 5px;
	background-color: var(--black);
	margin: 6px 0;
	transition: 0.4s;
}
.change .bar1 {
	-webkit-transform: rotate(-45deg) translate(-9px, 6px);
	transform: rotate(-45deg) translate(-7px, 5px);
}
.change .bar2 {opacity: 0;}
.change .bar3 {
	-webkit-transform: rotate(45deg) translate(-8px, -8px);
	transform: rotate(45deg) translate(-10.5px, -9px);
}

.nav-menu-large{
	display:block;
	position: static;
	padding: 10px;
}

.nav-menu-link:hover{
	color: var(--yellow-ochre);
	transition:0.4s;
}

.nav-logo-link {
	display: flex;
	width: 200px;
	height: 100px;
	padding-left: 25px;
	align-items: center;
}

.nav-logo-img{
	max-width: 100%;
	max-height:85px;
	display: block;
}

.nav-menu-item{
	display: inline-block;
	cursor:pointer;
}

.nav-menu-link {
	padding: 0 10px 0 10px;
	position: relative;
	display: inline-block;
	text-transform:uppercase;
	font-weight: 700;
	color: var(--gunmetal-gray);
	text-decoration: none;
}

.active {
  color: var(--yellow-ochre);
}

.nav-menu-mobile{
	width: 100%;
	height: 100vh;
	padding: 0;
}
.nav-menu-item-mobile{
	cursor:pointer;
  flex-direction:column;
  list-style-type:none;
  padding-left: 30px;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1070px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min-resolution: 192dpi) and (max-width: 1070px), only screen and (min-resolution: 2dppx) and (max-width: 1070px) {
.menu-button {
	display:block;
}
.nav-menu-large{
	display:none;
}
.nav-menu-link{
	padding-top:24px;
}
}
/*** End Nav ***/
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    background-image: url(https://www.asbarui.space/ass_site/themes/elevatori/img/slide.png);
    /* background: linear-gradient(to bottom right, var(--yellow-ochre), var(--gunmetal-gray)); */
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    position: relative;
    overflow: hidden;
    min-width: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-primary {
    padding: 10px 30px;
    background: var(--white);
    color: var(--gunmetal-gray);
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
}

.services {
    display: flex;
    justify-content: space-around;
    background: var(--gunmetal-gray);
    padding: 20px;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}

.services-block-container {
    display: flex;
    flex-direction: row;
    background: var(--gunmetal-gray);
    padding: 20px;
    gap: 20px;
    width: 100%;
}

.service-block {
    text-align: center;
    width: 30%;
    padding: 20px;
    background: var(--yellow-ochre);
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    cursor: pointer;
}

.service-block.active {
    background-color: var(--yellow-ochre-active);
}

.service-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.service-logo {
    display: flex;
    padding: 5px;
    max-width: 30px;
}

.service-title {
    color: var(--gunmetal-gray);
}

.service-icon {
    color: var(--gunmetal-gray);
    font-size: 20px;
    margin-left: 10px;
}

.services-description-container{
    display: block;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: var(--yellow-ochre);
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-text {
    color: var(--gunmetal-gray);
    font-family: 'Poppins', sans-serif;
    text-align: justify;
}

.products {
    text-align: center;
    background: var(--white);
    color: var(--gunmetal-gray);
    padding: 50px 20px;
}

.product-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.home-product-card {
    width: 30%;
    box-sizing: border-box;
    background: var(--white);
    color: var(--gunmetal-gray);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.home-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.home-product-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-bottom: 4px solid var(--yellow-ochre);
}

.home-product-card h3 {
    padding: 10px;
}

.home-product-card p {
    padding: 0 10px 10px;
}

.btn-secondary {
    display: block;
    background: var(--yellow-ochre);
    color: var(--gunmetal-gray);
    padding: 10px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

/* SEZIONE VANTAGGI */
.vantaggi {
    background: var(--white);
    color: var(--gunmetal-gray);
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 50px;
    background: var(--yellow-ochre);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.vantaggi-container {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}

.vantaggio-item {
    background: var(--gunmetal-gray);
    color: var(--white);
    width: 30%;
    padding: 30px 20px;
    border-radius: 10px;
    margin: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.vantaggio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--yellow-ochre);
}

.vantaggio-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.vantaggio-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* MEDIA QUERIES */
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1070px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min-resolution: 192dpi) and (max-width: 1070px), only screen and (min-resolution: 2dppx) and (max-width: 1070px) {
    .services {
        flex-direction: column;
        align-items: center;
    }
    .services-block-container {
        flex-direction: column;
        align-items: center;
    }
    .service-block {
        width: 80%;
    }
    .product-grid {
        flex-direction: column;
        align-items: center;
    }
    .home-product-card {
        max-width: 100%;
        width: 100%;
    }
    .vantaggi-container {
        flex-direction: column;
        align-items: center;
    }

    .vantaggio-item {
        width: 80%;
        margin-bottom: 20px;
    }
}
/*** End Homepage ***/



/*** Begin Contact ***/
.contact-section {
    margin-top: 100px;
}
.contact-container {
    height: auto;
    border: none;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 80%;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 45%;
    justify-content: space-between;
}
.contact-block {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    position: relative;
    max-width: 100%;
    flex-direction: column;
}
.contact-item {
    width: 45%;
}
.contact-item-title {
    margin-bottom: 10px;
    color: var(--gunmetal-gray);
}
.contact-item-text {
    color: var(--gunmetal-gray);
    margin-bottom: 10px;
    line-height: 1.6;
}
.map-container {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.map-iframe {
    width: 100%;
    height: 100%;
}
.form-section {
    padding: 50px 0;
    text-align: center;
    background-color: var(--white);
    margin-top: 50px;
}
.contact-form-container {
    border-radius: 15px;
    max-width: 80%;
    width: 100%;
}
.contact-form {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}
.double-contact-input {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.contact-form h2 {
    color: var(--yellow-ochre);
    margin-bottom: 20px;
    text-align: center;
}
.input {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.input-textarea {
    height: 100px;
    width:100%;
    resize: vertical;
}
.contact-form .btn-submit {
    background: var(--yellow-ochre);
    color: var(--gunmetal-gray);
    border: none;
    padding: 15px;
    width: 100%;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s ease-in-out;
}
.privacy-text-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 20px;
}
.privacy-text {
    color: var(--gunmetal-gray);
}
.contact-form .btn-submit:hover {
    background: var(--gunmetal-gray);
    color: var(--yellow-ochre);
}
.social-list {
	width: 100%;
	display: flex;
	flex-direction: row;
	padding-inline-start: 0;
	margin-block-start: 0;
	margin-block-end: 0;
	justify-content: flex-start;
}
.social-list-item {
	margin-right: 20px;
}
.social-link {
	color: black
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1070px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min-resolution: 192dpi) and (max-width: 1070px), only screen and (min-resolution: 2dppx) and (max-width: 1070px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-info {
        width: 100%;
    }
    .map-container {
        margin-top: 20px;
        height: 300px;
    }
}
/*** End Contact ***/



/*** Begin Products ***/
.products-category-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.products-category {
    width: 100%;
    display: flex;
    flex-direction: row;
}
.invert {
    flex-direction: row-reverse;
}
.products-category-description-container {
    width: 55%;
    display: flex;
    flex-direction: column;
}
.products-category-description {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-items: center;
}
.products-category-description-text {
    width: 50%;
    text-align: justify;
    word-wrap: break-word;
}
.products-category-description-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    color: var(--gunmetal-gray);
    margin-block-start: 0em;
    margin-block-end: 0em;
}
.products-category-button-container {
    width: 100%;
    height: 20%;
    background-color: var(--yellow-ochre);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.products-category-button {
    border: none;
    padding: 15px;
    margin: 0;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-family: Barlow, sans-serif;
    font-weight: 700;
    color: var(--yellow-ochre);
    text-decoration: none;
}
.products-category-photo {
    width: 45%;
    min-height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.products-section{
    width: 100%;
    background-color: var(--white);
    margin-top: 100px;
}
.product-filters-column {
    width: 20%;
}
.filters-container {
    box-sizing: border-box;
    max-width: 90%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #d9d9d9;
    position: sticky;
    top: 20px;
}
.filters-container-title {
    color: var(--gunmetal-gray);
}
.filters-container-text {
    color: var(--gunmetal-gray);
}
.products-list-column {
    width: 80%;
    background-color: var(--white);
}
.grid-container {
    max-width: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonne di dimensioni uguali */
    gap: 20px; /* Spaziatura tra gli elementi */
}
.product-card {
    background: var(--white);
    color: var(--gunmetal-gray);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    flex-basis: 33.33%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.product-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-bottom: 4px solid var(--yellow-ochre);
}

.product-card h3 {
    padding: 10px;
}

.product-card p {
    padding: 0 10px 10px;
}
.product-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: var(--gunmetal-gray);
}
.btn-details {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gunmetal-gray);
    color: var(--yellow-ochre);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1070px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min-resolution: 192dpi) and (max-width: 1070px), only screen and (min-resolution: 2dppx) and (max-width: 1070px) {
    .products-category {
        flex-direction: column;
    }
    .invert {
        flex-direction: row;
    }
    .products-category-description-container {
        width: 100%;
    }
    .products-category-description-text {
        width: 80%;
    }
    .products-category-photo {
        width: 100%;
    }
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .product-filters-column {
        width: 100%;
    }
    .filters-container {
        max-width: 100%;
        position: relative;
        top: 0;
    }
    .products-list-column {
        width: 100%;
    }
    .product-card {
        max-width: 100%;
    }
    @media (max-width: 1070px) {
        .grid-container {
            padding-top: 20px;
            grid-template-columns: repeat(2, 1fr); /* 2 colonne su schermi medi */
        }
    }
    @media (max-width: 768px) {
        .grid-container {
            padding-top: 20px;
            grid-template-columns: 1fr; /* 1 colonna su schermi piccoli */
        }
    }
}
/*** End Products ***/



/*** Begin Single Product ***/
.single-product {
    padding: 100px 0 0 0;
    background-color: var(--white);
}
.single-product-container {
    padding: 50px;
}
.product-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}
.product-images {
    width: 50%;
    position: sticky;
    top: 10px;
}
.main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.thumbnail-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    flex-wrap: wrap;
}
.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}
.thumbnail:hover {
    transform: scale(1.1);
}
.product-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
}
.product-description {
    margin-bottom: 20px;
}
.product-specs {
    list-style: none;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}
.product-specs li {
    margin-bottom: 10px;
}
.related-products {
    text-align: center;
    background: var(--white);
    color: var(--gunmetal-gray);
    padding: 50px 20px;
}
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*.related-product-grid {
    display: flex;
    overflow: hidden;
    width: 70%;
    scroll-behavior: smooth;
    position: relative;
    justify-content: center;
}*/
.related-product-grid {
    display: flex;
    overflow-x: scroll;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    max-width: 90%;
    width: 90%; /* Imposta la larghezza a 100% per riempire correttamente lo spazio */
    scroll-behavior: smooth;
    position: relative;
    justify-content: flex-start; /* Allinea gli elementi all'inizio */
    padding: 20px;
}
/*.related-product-card {
    flex: 0 0 30%;
    margin: 0 10px;
    background: var(--white);
    color: var(--gunmetal-gray);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    margin: 10px;
    box-sizing: border-box;
}*/
.related-product-card {
    flex: 0 0 25%;
    margin: 0 10px; /* Mantieni solo un margine */
    background: var(--white);
    color: var(--gunmetal-gray);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.related-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid var(--yellow-ochre);
}
.related-product-card h3 {
    padding: 10px;
}
.related-product-card p {
    padding: 0 10px 10px;
}
/*.carousel-btn-container {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    visibility: hidden;
}*/
.carousel-btn-container {
    position: absolute;
    width: calc(100% + 40px); /* Espandi la larghezza per evitare sovrapposizioni */
    left: -20px; /* Aggiungi uno spostamento negativo se necessario */
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.carousel-container:hover .carousel-btn-container {
    visibility: visible;
}
.carousel-btn {
    background-color: var(--yellow-ochre);
    border: none;
    color: var(--gunmetal-gray);
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s ease;
    opacity: 0.7;
}
.carousel-btn:hover {
    background-color: var(--gunmetal-gray);
    color: var(--yellow-ochre);
    opacity: 1;
}
/*@media (max-width: 768px) {
    .related-product-card {
        flex: 0 0 80%;
        /*margin: 10px 10%;*/
/*    }
    .related-product-grid {
        width: 80%;
    }
    .carousel-btn-container {
        visibility: visible;
    }
}*/
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1070px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min-resolution: 192dpi) and (max-width: 1070px), only screen and (min-resolution: 2dppx) and (max-width: 1070px) {
    .product-details {
        flex-direction: column;
    }
    .product-images {
        width: 100%;
        position: relative;
        top: 0;
    }
}
/* Media query per schermi piccoli, come smartphone in verticale */
@media (max-width: 480px) {
    .related-product-card {
        flex: 0 0 100%; /* Ogni prodotto occupa tutta la larghezza */
        margin: 10px 0;
    }
    .related-product-grid {
        width: 100%; /* Adatta la larghezza al dispositivo */
    }
    .carousel-btn-container {
        visibility: visible; /* I pulsanti restano sempre visibili */
    }
}

/* Media query per schermi medi, come smartphone più grandi o piccoli tablet */
@media (max-width: 768px) {
    .related-product-card {
        flex: 0 0 80%; /* Ogni prodotto occupa il 80% della larghezza */
        margin: 10px 10%; /* Margini per centrare il prodotto */
    }
    .related-product-grid {
        width: 80%; /* Riduci la larghezza per un aspetto migliore */
    }
    .carousel-btn-container {
        visibility: visible;
    }
}

/* Media query per schermi larghi, come tablet in orizzontale */
@media (max-width: 1024px) {
    .related-product-card {
        flex: 0 0 90%; /* Ogni prodotto occupa il 45% della larghezza */
        margin: 10px 2.5%; /* Margini per allineamento */
    }
    .related-product-grid {
        width: 90%; /* Adatta la larghezza al layout */
    }
}

/* Media query per schermi molto larghi, come desktop */
@media (min-width: 1025px) {
    .related-product-card {
        flex: 0 0 30%; /* Ogni prodotto occupa il 30% della larghezza */
        margin: 0 10px;
    }
    .related-product-grid {
        width: 70%; /* Mantieni la larghezza al 70% */
    }
    .carousel-btn-container {
        visibility: hidden; /* I pulsanti appaiono solo al passaggio del mouse */
    }
}

/*** End Single Product ***/




/*** Begin Footer ***/
.footer{
	width: 100%;
	height: auto;
	border: none;
	margin: 0;
	padding: 0;
	background-color: var(--gunmetal-gray);
	color: var(--white);
}

.footer-title{
	font-size: 24px;
	font-weight: 700;
	color: var(--white);
}

.footer-row-ex{
	padding-right: 100px;
}

.footer-column{
	border: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-logo-container{
	display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo{
	max-width: 80%;
	height: auto;
}
.footer-signature{
	padding: 10px 0 30px 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: 16px;
}
.footer-link, .footer-link:visited {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}
.footer-privacy-link{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    display: flex;
    flex-direction: row;
}
.footer-privacy-link-item{
	margin-left:10px;
	font-size: 16px;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1070px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1070px), only screen and (min-resolution: 192dpi) and (max-width: 1070px), only screen and (min-resolution: 2dppx) and (max-width: 1070px) {
.footer-row-ex{ padding-right: 0; }
.footer-signature{ flex-direction: column; }
}
/*** End Footer ***/