/*
Theme Name: Logilize
Theme URI: http://logilize.com/logilize-custom
Author: Periklis
Author URI: http://logilize.com
Description: Theme by Andrea Orazzo for Advise SRL
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: logilize
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

.SIMPLE-TRANSLATE-SYSTEM-THEME{
	display: none !important;
}

.wc-block-grid__products .wc-block-grid__product-image img[alt=""] {
  height: auto;
  max-width: 100%;
  width: 100%;
	margin-top: 2em !important;
  margin-bottom: 2em !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	margin-right: 0.5rem !important;
}

.flex-viewport {
	margin-bottom: 0.5rem !important;
}

.products {
	padding-left: 10% !important;
	padding-right: 10% !important;
}

img {
	max-width: none !important;
}

.lgz-price-incl {
	font-size: 26px;
}

@media (min-width: 992px) { /* lg */
    .section-divider {
        height: 1px;
        width: 100%;
        margin: clamp(1.5rem, 5vw, 5rem) 0;
        background: rgba(28, 31, 0, 0);
      }

      .section-divider-small {
        height: 1px;
        width: 100%;
        margin: clamp(1rem, 3vw, 3rem) 0;
        background: rgba(28, 31, 0, 0);
      }
}

body.woocommerce #primary.content-area,
body.woocommerce-page #primary.content-area {
  padding-bottom: clamp(2rem, 4vw, 4rem) !important;
}

body.woocommerce #primary.content-area .site-main,
body.woocommerce-page #primary.content-area .site-main {
  padding-bottom: clamp(2rem, 4vw, 4rem) !important;
}

  

.wc-block-components-product-name {
  pointer-events: none;   /* disables click */
  cursor: not-allowed;
	color: black;
	text-decoration: none;
}

.wc-block-components-checkout-return-to-cart-button,
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained,
.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt {
	color: white !important;
    background-color: #7D72FF !important;
	padding: 1.36em !important;
	margin-top: 0 !important;
	border-radius: 0 !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	border: none !important;
}

/* Quantity selector like your mock */
form.cart .quantity {
  display: inline-block;
}

form.cart .lgz-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #cfcfcf;
  height: 60px;
}

form.cart .lgz-qty-btn {
  width: 44px;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

form.cart input.qty {
  width: 64px !important;
  border: 0 !important;
  text-align: center;
  outline: none;
  box-shadow: none !important;
	background-color: #f4f4f4;
}

/* remove browser spinners */
form.cart input.qty::-webkit-outer-spin-button,
form.cart input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
form.cart input.qty {
  -moz-appearance: textfield;
}

.lgz-single-rows {
	padding-top:6% !important; 
	padding-left:13% !important; 
	padding-right:13% !important;
}

.button.wpsc-product-help {
	display: none !important;
}

.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
  float: left;
  width: 100%;
}

.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
  float: right;
  width: 100%;
  clear: none;
}

.lgz-svg-container:hover svg path {
    fill: #fff;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.lgz-svg-container:hover {
    background-color: black;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	cursor: pointer;
}

.lgz-svg-container {
	width: 42px;
	height:38px;
	background-color: white;
	text-align:center;
}

.lgz-svg-container a.cart-contents{
  position: relative;
  display: inline-block;
}

.lgz-cart-badge{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  background: #f04;
  color: #fff;
  font-weight: 700;
}

.lang-switcher [role="menu"] {
  	width: 42px !important;
	height: 38px !important;
}

.lang-switcher {
	height: 100% !important;
}

.wpml-ls-item {
	height: 100% !important;
}

ul [role="menu"] {
	height: 100% !important;
}

ul [role="menu"] > li {
	height: 100% !important;
}

ul [role="menu"] > li > a{
	height: 100% !important;
}

.wpml-ls-item-toggle {
	height: 100% !important;
}

.wpml-ls-statics-footer {
	display: none !important;
}

.wpml-ls-legacy-dropdown {
	width: 42px !important;
	height: 100% !important;
}

.wpml-ls-legacy-dropdown a {
	color: #ffffff00 !important;
}

.wpml-ls-flag {
	margin-top: 0.45rem !important;
}

body {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    background-color: #f4f4f4;
    color: #1c1f00;
}

/* Wider gutter only for the first content .container-fluid (inside main). */
main > .container-fluid:first-of-type {
    --bs-gutter-x: 3rem;
}

/* Keep nested .container-fluid elements on Bootstrap default gutter. */
main > .container-fluid:first-of-type .container-fluid {
    --bs-gutter-x: 1.5rem;
}

select {
	padding: 0;
    margin-left:10px;
    text-decoration: none;
	background-color: white;
	border: none;
	border-bottom: solid 2px #000;
}

h1 {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    line-height: 130%;
    font-size: 2.5rem; /* Default for small screens */
    margin-bottom: 15px;
}

h1.entry-title {
    line-height: 120%;
    margin-bottom: 45px;
}

@media (min-width: 576px) { /* sm */
    h1 {
        font-size: 3rem;
    }
}

@media (min-width: 768px) { /* md */
    h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) { /* lg */
    h1 {
        font-size: 4rem;
    }
}

h2 {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: 140%;
    font-size: 2rem;
    margin-bottom: 15px;
}

@media (min-width: 576px) {
    h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    h2 {
        font-size: 3rem;
    }
}


h3 {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: 140%;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    h3 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    h3 {
        font-size: 2.25rem;
    }
}

h4 {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: 140%;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    h4 {
        font-size: 1.5rem;
    }
}

h5 {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    line-height: 140%;
    font-size: 1.125rem;
    margin-bottom: 15px;
}

@media (min-width: 576px) {
    h5 {
        font-size: 1.25rem;
    }
}

p {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: 140%;
    font-size: 1rem;
    margin-bottom: 15px;
}

.single-post p {
    font-weight: 300;
    line-height: 150%;
    font-size: 1.125rem;
    margin-bottom: 30px;
}

p.large {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    line-height: 150%;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    p.large {
        font-size: 1.25rem;
    }
}

p.small {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: 140%;
    font-size: 0.875rem;
    margin-bottom: 15px;
}

p.large.bold {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    line-height: 150%;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    p.large.bold {
        font-size: 1.5rem;
    }
}
#primary-menu li {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    line-height: 1.2;
    font-size: 14px;
    font-style: normal;
    text-transform: uppercase
}

#primary-menu li a {
    color: #1c1f00;
    text-decoration: none;
}

#primary-menu li > a.nav-link,
#primary-menu li.active > a.nav-link,
#primary-menu li.current-menu-item > a.nav-link,
#primary-menu li.current-menu-parent > a.nav-link,
#primary-menu li.current_page_item > a.nav-link,
#primary-menu li.current_page_parent > a.nav-link {
    position: relative;
}

#primary-menu li > a.nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 40%;
    height: 2px;
    background-color: #000;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#primary-menu li > a.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

#primary-menu li > a.nav-link:focus::before,
#primary-menu li > a.nav-link:focus-visible::before,
#primary-menu li > a.nav-link[aria-current="page"]::before,
#primary-menu li.active > a.nav-link::before,
#primary-menu li.current-menu-item > a.nav-link::before,
#primary-menu li.current-menu-parent > a.nav-link::before,
#primary-menu li.current_page_item > a.nav-link::before,
#primary-menu li.current_page_parent > a.nav-link::before {
    transform: translateX(-50%) scaleX(1);
}

.btn-secondary{
	background-color: #f4f4f4;
	border-color: #f4f4f4;
	color: #000;
}

.footer_menu_item a {
    text-decoration: none;
}

.faq-header h2 {
    margin-bottom: 20px;
    color: #333;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
}

.faq-toggle {
	font-weight:300;
    transition: transform 0.3s ease;
    background: none;
    border: 0;
    padding: 0;
    font-size: 4em;
    line-height: 1;
    color: inherit;
    cursor: pointer;
    user-select: none;
    /* Prevent text selection */
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
}

.faq-toggle:hover {
  box-shadow: none !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.5s ease;
    font-size: 16px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    /* Adjust this value as needed */
    padding: 10px 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.mobile-view {
    display: none !important;
}

.mobile-nav-buttons {
    display: none !important;
}

.custom-logo {
    max-width: 200px !important;
    height: auto !important;
}

.navbar-nav {
    display: flex;  /* Ensure Flexbox is applied */
    gap: 30px;      /* Space between the items */
}

.navbar-nav-scroll {
  max-height: 100% !important;
  overflow-y: auto;
}



.navbar {
    background-color: #f4f4f4 !important;
     --bs-navbar-padding-y: 1rem;
}

@media (max-width: 1180px) {
    .navbar-expand-custom-1180 {
        position: relative;
        z-index: 9500;
    }

    .navbar-expand-custom-1180 > .container-fluid {
        display: flex;
        align-items: center;
    }

    .navbar-expand-custom-1180 .header-actions {
        order: 3;
    }

    .navbar-expand-custom-1180 .navbar-toggler {
        order: 2;
        display: block;
        margin-left: auto;
        margin-right: 8px;
        padding: 0;
        width: 40px;
        height: 40px;
        max-width: 40px;
        flex: 0 0 40px;
        background-color: #1c1f00;
        border: 0;
        border-radius: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-expand-custom-1180 .navbar-collapse {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        width: 100%;
        flex-basis: 100%;
        z-index: 9600;
        background-color: #1c1f00;
        padding: 0;
        box-shadow: none;
        overflow: hidden;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .navbar-expand-custom-1180 .navbar-collapse.lgz-gsap-managed {
        transition: none !important;
    }

    .navbar-expand-custom-1180 .navbar-collapse.show,
    .navbar-expand-custom-1180 .navbar-collapse.collapsing {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar-expand-custom-1180 .navbar-nav {
        flex-direction: column;
        width: 100% !important;
        padding: 12px 16px 16px;
        gap: 10px;
    }

    .navbar-expand-custom-1180 .navbar-nav-scroll {
        max-height: none !important;
        overflow-y: visible !important;
    }

    .navbar-expand-custom-1180 #primary-menu li a {
        color: #fff !important;
    }

}

@media (min-width: 1181px) {
    .navbar-expand-custom-1180 .navbar-toggler {
        display: none;
    }

    .navbar-expand-custom-1180 .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-custom-1180 .navbar-nav {
        flex-direction: row;
    }
}

.btn {
    border-radius: 0px !important;
}

.btn-primary {
    background-color: #7D72FF !important;
    border-color: #7D72FF !important;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary:hover {
    background-color: #6C66E5 !important;
    border-color: #6C66E5 !important;
}

.btn-yellow {
    background-color: #F4FF72 !important;
    border-color: #F4FF72 !important;
	color: #000000 !important;
}	

.btn-yellow:hover {
    background-color: yellow !important;
    border-color: yellow !important;
	color: #000000 !important;
}

.btn-categories {
    background-color: #fff !important;
    border-color: #fff !important;
	color: #000000 !important;
}	

.btn-categories:hover {
    background-color: #F4FF72 !important;
    border-color: #F4FF72 !important;
	color: #000000 !important;
}

.btn-categories:focus {
    background-color: #F4FF72 !important;
    border-color: #F4FF72 !important;
	color: #000000 !important;
}






.fade-out {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: opacity 0s ease, height 0s ease, margin 2s ease, padding 2s ease;
}

.fade-in {
    opacity: 1;
    height: auto;
    transition: opacity 2s ease, height 0s ease;
}







.btn-outline-primary {
    background-color: white !important;
    color: #000 !important;
    border: none !important;
}

.btn-outline-primary:hover {
    background-color: #000 !important;
    border: none !important;
    color: #ffffff !important;
}

.footer {
    background: linear-gradient(to bottom, #F4F4F4, #F4FF72) !important;
    color: #000 !important;
    justify-content: space-between !important;
    margin-bottom: 15px;
}

.bg-prezzi {
	padding: 20%;
	background: linear-gradient(to bottom, #F4F4F4, #F4FF72);
	position: absolute; 
	top:3%;
	left: 0;
	width:100%;
	height:30vw;
	z-index:-1;
}

.custom-bg-gradient-blog {
    background: linear-gradient(to bottom, #F4F4F4, #F4FF72);
    margin-right: 30px;
    margin-left: 30px;
    padding-top: 10%;
}

.custom-shadow {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-box {
    width: 100%;
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background-color: #ffffff;
    transition: background-color 0.3s ease-in-out, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.custom-box .content {
	padding: 20px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
}

.custom-box:hover {
    background-color: #F4FF72 !important;
    transform: translateY(-4px);
}

.custom-box.custom-shadow:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.content-hover p {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}

.content-hover:hover p {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-slider-home {
    min-height: 420px;
}

.anchor-home {
    text-decoration: none;
    color: black;
    display: inline-block;
    background-image: linear-gradient(to top, #f4ff72 100%, #f4ff72 100%);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 52%;
    transition: background-size 0.28s ease-in-out;
}

.anchor-home:hover {
    background-size: 100% 100%;
}

.anchor-home--disabled {
  cursor: default;
  pointer-events: none;
}

.bg-yellow {
    background-color: #F4FF72;
}

.bg-violet {
    background-color: #7D72FF;
	color: white;
}

.prezzi-card {
    width: 90%;
    margin: auto;
}

.post-title a {
	text-decoration:none !important;
	color black;
}

.post-categories a {
	text-transform: uppercase;
	text-decoration:none !important;
	color:black;
	pointer-events: none;
   	cursor: default;
}

.img-center-crop {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.read-more{
	
}

.parallax-image {
	transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

.content {
	padding: 20px;
	text-align: center;
}

 .parallax-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 400px;
            will-change: transform;
        }
        .left-section .parallax-background {
            background: linear-gradient(to bottom, yellow, grey);
        }
        .right-section .parallax-background {
            background: linear-gradient(to bottom, grey, yellow);
        }

.language-dropdown {
    position: relative;
    display: inline-block;
    margin: 20px; /* Adjust margin as necessary */
	padding-right:50px;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.language-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.language-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.language-dropdown:hover .language-dropdown-content {
    display: block;
}

.language-dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.language-button {
	background: none; 
	border: none; 
	padding: 0; 
	cursor: pointer;
}

.menu-mobile {
	position:absolute;
	width:40%;
	font-size:16px;
	top: 69px;
	right:5px!important;
	border-radius:5px;
}

.navbar-toggler {
  background-color: #1c1f00;
  border-radius: 0;
  width: 40px;
}

.navbar-toggler .navbar-toggler-icon {
  width: 18px;
  height: 14px;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff);
  background-position: 0 0, 0 6px, 0 12px;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-color: transparent;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.carousel-arrows {
    display: flex;
    justify-content: center;
}
.carousel-arrows img {
	margin: 0 10px; /* Adjust the space between the images as needed */
}

.carousel-arrows img:first-child:hover {
	cursor:pointer;
}

.carousel-arrows img:last-child:hover {
	cursor:pointer;
}

.parallax-background {
            position: fixed;
            top: 20%;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, #ff7e5f, #feb47b);
            z-index: -1;
        }






.background-home-right {
	position: absolute;
	top: 1500px;
	height: 2000px;
	z-index: -1;
	width: 100%;
	background: radial-gradient(ellipse at 100% 35%, #F4FF72 0%, #F4FF72 15%, #F4F4F4 30%, #F4F4F4 100%);
}

.background-home-left {
	position: absolute;
	top: 3500px;
	height: 2000px;
	z-index: -1;
	width: 100%;
	background: radial-gradient(ellipse at 0% 30%, #F4FF72 0%, #F4FF72 15%, #F4F4F4 30%, #F4F4F4 100%);
}


.background-prezzi-right {
	position: absolute;
	top: 3500px;
	height: 2000px;
	z-index: -1;
	width: 100%;
	background: radial-gradient(ellipse at 100% 35%, #F4FF72 0%, #F4FF72 15%, #F4F4F4 30%, #F4F4F4 100%);
}

.background-prezzi-left {
	position: absolute;
	top: 1500px;
	height: 2000px;
	z-index: -1;
	width: 0%;
	background: radial-gradient(ellipse at 25% 30%, #F4FF72 0%, #F4FF72 15%, #F4F4F4 30%, #F4F4F4 100%);
}















[data-scroll-container] {
    height: 100vh; /* Ensure the scroll container has full height */
    overflow: auto; /* Allow it to scroll */
}

[data-scroll] {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.6s, transform 0.6s;
}

[data-scroll].is-inview {
    opacity: 1;
    transform: translateY(0);
}


.rotated-text {
    transform: rotate(90deg); /* Rotates the text 90 degrees */
    transform-origin: left top; /* Adjust the origin point as needed */
    white-space: nowrap; /* Prevents text from wrapping */
}






.attachment-full-fit {
    width: 100%; /* Make the image take up the full width of the container */
    height: 100%; /* Make the image take up the full height of the container */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
}





.toggle-section {
    transition: height 0.5s ease;
    overflow: hidden;
}

.toggle-section.collapsed {
    height: 0;
    padding: 0;
}

.table-row {
    transition: height 0.5s ease;
}



.toggle-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 26px;
    color: inherit;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease; /* Smooth rotation */
}

.toggle-button:focus {
    outline: none; /* Prevents the focus outline */
}

.toggle-button.rotate {
    transform: rotate(45deg); /* Rotates the "+" into an "x" */
}





/* Style for the custom table class */
        .comparison-table {
            border-collapse: collapse;
            background-color: none;
        }

        /* Style for the custom header cells */
        .table-header {
            border-right: 4px solid #f4f4f4;
            background-color: #f9f9f9;
            color: #333;
            padding: 12px;
            text-align: left;
            font-size: 16px;
        }
        .table-header-inv {
            background-color: #f4f4f4;
            color: #333;
            padding: 12px;
            text-align: center;
            font-size: 16px;
        }

		.table-header-inv-yellow{
			background-color: #F4FF72;
			color: #333;
			padding: 12px;
			text-align: center;
			font-size: 16px;
		}

		.table-header-inv-violet {
			background-color: #7D72FF;
            border-top: 3px solid #F4F4F4;
            border-right: 4px solid #F4F4F4;
            border-bottom: 3px solid #F4F4F4;
            border-left: 4px solid #F4F4F4;
			color: #FFFFFF;
			padding: 12px;
			text-align: center;
			font-size: 16px;
		}

		.table-footer-inv-violet {
			background-color: #7D72FF;
            border-top: 3px solid #F4F4F4;
            border-right: 4px solid #F4F4F4;
            border-bottom: 3px solid #F4F4F4;
            border-left: 4px solid #F4F4F4;
			color: #FFFFFF;
			padding: 12px;
			text-align: center;
			font-size: 16px;
		}

		.table-footer-inv-violet:hover {
			cursor: pointer;
			background-color: #6C66E5;
            border-top: 3px solid #F4F4F4;
            border-right: 4px solid #F4F4F4;
            border-bottom: 3px solid #F4F4F4;
            border-left: 4px solid #F4F4F4;
			color: #FFFFFF;
			padding: 12px;
			text-align: center;
			font-size: 16px;
		}

        /* Style for the custom data cells */
        .table-cell {
            padding: 12px;
            text-align: center;
            border-top: 3px solid #f4f4f4;
            border-right: 4px solid #f4f4f4;
            vertical-align: middle;
            font-size: 15px;
        }
        .table-cell-yellow {
            padding: 12px;
            text-align: center;
			background-color: rgb(244, 255, 114, 0.5);
            border-top: 3px solid #F4FF72;
            border-right: 4px solid #F4FF72;
            border-bottom: 3px solid #F4FF72;
            border-left: 4px solid #F4FF72;
            vertical-align: middle;
            font-size: 15px;
        }
        .table-cell-violet {
            padding: 12px;
            text-align: center;
			background-color: rgb(125, 114, 255, 0.5);
            border-top: 3px solid #7D72FF;
            border-right: 4px solid #7D72FF;
            border-bottom: 3px solid #7D72FF;
            border-left: 4px solid #7D72FF;
            vertical-align: middle;
            font-size: 15px;
        }
        .table-cell-header {
            padding: 12px;
            text-align: left;
            border-top: 3px solid #f4f4f4;
            vertical-align: middle;
            font-size: 15px;
        }

        /* Different background color for the second header row */
        .table-header-secondary {
            background-color: #dcdcdc;
        }

        /* Style for the rows to alternate colors */
        .table-row {
            background-color: #f2f2f2;
        }





.source-div:hover {
	cursor: pointer;
}






.category-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 0px;
    font-weight: bold;
    font-size: 0.9em;
    color: #000;
    text-transform: uppercase;
}






.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: calc(300px * 18); /* Adjust width based on number of items */
  animation: scroll 20s linear infinite;
}

.carousel-item {
  flex: 0 0 auto;
  width: 300px;
  height: 150px;
  margin-right: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}








.pagination {
    display: flex;
    justify-content: center; /* Center the pagination horizontally */
    align-items: center; /* Center the pagination vertically */
    list-style: none;
    padding: 10px 0;
    margin: 0; /* Remove default margins */
}

.pagination li {
    margin: 0 5px; /* Space between pagination items */
}

.pagination a,
.pagination span {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    outline: none; /* Removes default outline */
    box-sizing: border-box;
}

.pagination a:focus,
.pagination span:focus {
    outline: none; /* Remove any focus outline */
    box-shadow: none; /* Remove potential box-shadow */
}

.pagination a:hover,
.pagination .current,
.pagination .current span {
    background-color: #F4FF72;
    color: #000 !important;
    border-color: #F4FF72;
    outline: none; /* Ensure no outline on hover */
}

.page-numbers:hover span {
    color: #000 !important;
}

.pagination .current {
    font-weight: bold;
    box-shadow: none; /* Ensure no extra border */
}

.pagination a:focus-visible {
    outline: 2px solid #007bff; /* Custom focus style if needed */
    outline-offset: 2px;
}

.page-number {
    color: #333; /* Default color for page numbers */
}
















.product-categories-menu {
    margin-bottom: 20px;
    text-align: center;
}

.category-menu {
    list-style: none;
    padding: 0;
    display: inline-block;
}

.category-menu li {
    display: inline;
    margin-right: 10px;
}

.product-categories-menu a {
	text-decoration: none;
	background-color: #FFFFFF;
	padding: 8px 16px;
    margin: 5px;
	display: inline-block;
    color: black;
    transition: background-color 0.3s ease-in-out;
}

.product-categories-menu a:hover,
.product-categories-menu a.active {
    background-color: #F4FF72;
}







.img-fluid.img-center-crop {
    height: 350px; /* Adjust this value as needed */
    object-fit: cover; /* Ensures the image maintains its aspect ratio while cropping */
}




.height-prezzi {
	height:15vw;
}



@media (max-width: 1180px) {
    .desktop-view {
        display: none !important;
    }

    .mobile-view {
        display: block !important;
    }
	


.height-prezzi {
	height:15vw;
}

.background-prezzi-right {
	position: relative;
	background: none;
}
	
	/* Style for the custom table class */
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            font-family: Arial, sans-serif;
            background-color: none;
        }

        /* Style for the custom header cells */
        .table-header {
            border-right: 4px solid #f4f4f4;
            background-color: #f9f9f9;
            color: #333;
            padding: 12px;
            text-align: left;
            font-size: 12px;
        }
        .table-header-inv {
            background-color: #f4f4f4;
            color: #333;
            padding: 12px;
            text-align: center;
            font-size: 12px;
        }

		.table-header-inv-yellow{
			background-color: #F4FF72;
			color: #333;
			padding: 12px;
			text-align: center;
			font-size: 12px;
		}

		.table-header-inv-violet {
			background-color: #7D72FF;
            border-top: 3px solid #F4F4F4;
            border-right: 4px solid #F4F4F4;
            border-bottom: 3px solid #F4F4F4;
            border-left: 4px solid #F4F4F4;
			color: #FFFFFF;
			padding: 12px;
			text-align: center;
			font-size: 16px;
		}

		.table-footer-inv-violet {
			background-color: #7D72FF;
            border-top: 3px solid #F4F4F4;
            border-right: 4px solid #F4F4F4;
            border-bottom: 3px solid #F4F4F4;
            border-left: 4px solid #F4F4F4;
			color: #FFFFFF;
			padding: 12px;
			text-align: center;
			font-size: 16px;
		}

		.table-footer-inv-violet:hover {
			cursor: pointer;
			background-color: #6C66E5;
            border-top: 3px solid #F4F4F4;
            border-right: 4px solid #F4F4F4;
            border-bottom: 3px solid #F4F4F4;
            border-left: 4px solid #F4F4F4;
			color: #FFFFFF;
			padding: 12px;
			text-align: center;
			font-size: 16px;
		}

        /* Style for the custom data cells */
        .table-cell {
            padding: 12px;
            text-align: center;
            border-top: 3px solid #f4f4f4;
            border-right: 4px solid #f4f4f4;
            vertical-align: middle;
            font-size: 15px;
        }
        .table-cell-yellow {
            padding: 12px;
            text-align: center;
			background-color: rgb(244, 255, 114, 0.5);
            border-top: 3px solid #F4FF72;
            border-right: 1px solid #F4FF72;
            border-bottom: 3px solid #F4FF72;
            border-left: 4px solid #F4FF72;
            vertical-align: middle;
            font-size: 15px;
        }
        .table-cell-violet {
            padding: 12px;
            text-align: center;
			background-color: rgb(125, 114, 255, 0.5);
            border-top: 3px solid #7D72FF;
            border-right: 4px solid #7D72FF;
            border-bottom: 3px solid #7D72FF;
            border-left: 1px solid #7D72FF;
            vertical-align: middle;
            font-size: 15px;
        }
        .table-cell-header {
            padding: 12px;
            text-align: left;
            border-top: 3px solid #f4f4f4;
            vertical-align: middle;
            font-size: 15px;
        }

        /* Different background color for the second header row */
        .table-header-secondary {
            background-color: #dcdcdc;
        }

        /* Style for the rows to alternate colors */
        .table-row {
            background-color: #f2f2f2;
        }
	.img-fluid.img-center-crop {
		height: 250px; /* Adjust this value as needed */
	}
}

@media (max-width: 768px) {
    .desktop-view {
        display: none !important;
    }

    .mobile-view {
        display: block !important;
    }

.bg-prezzi {
	position: absolute; 
	top:2%;
	width:100%;
	height:80vw;
	z-index:-1;
}
.height-prezzi {
	height:43vw;
}

.background-prezzi-right {
	position: relative;
	background: none;
}
	
	
.img-fluid.img-center-crop {
	height: 250px; /* Adjust this value as needed */
}
	
.navbar-nav {
    display: flex;  /* Ensure Flexbox is applied */
    gap: 0px;      /* Space between the items */
}
	
	

}

/*
Modifiche al 28 aprile 2025
Pagina Blog
*/

.p-2 {
    padding: 12px;
}


.logilize-title {
	font-weight: bold;
	font-size: clamp(14px, 4vw, 22px);
	text-transform: uppercase;
	display: block;
    margin-bottom: 20px;
}

.blog-posts {
    max-width: 1440px;
    margin: 16px auto;
}

h2.post-title a {
    font-size: clamp(22px, 4vw, 28px);
    line-height: 90%;
    color: #1c1f00;
}
h1.post-title a {
    font-size: clamp(22px, 4vw, 28px);
    line-height: 90%;
    color: #1c1f00;
}
h2.post-title {
    line-height: 90%;
}
h1.post-title {
    line-height: 90%;
    margin-bottom: 15px;
}

.bg-white {
    position: relative;
}
.anchor-home {
    position: absolute;
    bottom: 30px;
    margin-bottom: 0;
}





	/* WooCommerce responsive grid: 1 / 2 / 3 columns */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}

/* 2 columns (tablet) */
@media (min-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 3 columns (desktop) */
@media (min-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Make sure old Woo/theme floats don't fight the grid */
.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
    /* Add custom CSS to style the product loop items */
    .custom-product-class {
        background: #fff;
        padding: 20px;
        margin-bottom: 20px;
        border: 0px;
        transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
        text-align: center;
        /* Center the content */
    }

    .custom-product-class a {
        /* Text/Heading/H3 */
        font-family: 'Space Grotesk';
        font-style: normal;
        font-weight: 400;
        font-size: 22px;
        line-height: 130%;
        /* or 45px */


        color: #000000;
    }

    .woocommerce-loop-product__title {
        min-height: 8rem;
    }

    .price-and-cart {
        padding: 1.5em;
    }

    .price-and-cart a.button {
		    color: white;
        background-color: #7D72FF;
        border-radius: 0;
        font-size: 14px;
        line-height: 24px;
    }

    .price-and-cart a {
		padding: 1em;
		margin-top: 0;
    }


    .woocommerce ul.products li.product.custom-product-class .price-and-cart .price {
        color: #000000;
        font-weight: bold;
		    text-align: left;
        font-size: 18px;
        margin-top: 20px;
    }

    .price-and-cart .button {
        background-color: #6b53f2;
        color: #fff;
        padding: 10px 20px;
        border: none;
        text-transform: uppercase;
        transition: background-color 0.3s ease-in-out;
        border-radius: 0;
        font-size: 16px;
        /* Rounded corners */
    }

    .price-and-cart .button:hover {
        background-color: #5434c9;
    }
	
	.added_to_cart.wc-forward{
		display: none !important;
	}

    .woocommerce-result-count {
        display: none;
    }

    .woocommerce-ordering {
        display: none;
    }

    .attachment-woocommerce_thumbnail {
        padding: 2rem;
    }

    .product-item-wrapper:hover {
        background-color: #fff;
    }

    .woocommerce-pagination.berocket_pagination {
        padding: 0 !important;
        margin: 0 !important;
        float: initial;
        display: block !important;
    }

    .woocommerce-pagination.berocket_pagination ul li span,
    .woocommerce-pagination.berocket_pagination ul li a,
    .woocommerce-pagination.berocket_pagination ul li span {
        margin: 0.5em !important;
        border: 0 !important;
        line-height: 1 !important;
        text-align: center !important;
        text-indent: initial;
    }

    .woocommerce-pagination.berocket_pagination ul li.current>a,
    .woocommerce-pagination.berocket_pagination ul li.current>span {
        background-color: #f4ff72 !important;
        padding-left: 10px!important;
        padding-right: 10px!important;
    }
	
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 22px;
		line-height: 130%;
		text-transform: uppercase;
	}
	
	.woocommerce ul.products li.product .woocommerce-placeholder {
		border: none;
		margin-top: 2em;
		margin-bottom: 2em;
	}
	
.woocommerce-loop-product__title {
	text-align: left;
	padding-left: 1em;
	padding-right: 1em;
}

.woocommerce ul.products li.product.custom-product-class .woocommerce-loop-product__title {
  padding-left: 1em;
  padding-right: 1em;
}

.woocommerce ul.products li.product.custom-product-class .woocommerce-loop-product__title a {
  display: block;
}
	
	.attachment-woocommerce_thumbnail {
		padding: 0;
		margin-top: 2em;
		margin-bottom: 2em;
	}
	
	
	.button.product_type_simple {
		border-radius: 0;
	}
	
	/* WooCommerce clearfix pseudo-elements break CSS grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}
	.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products li.product a img {
	width:auto !important;
}
/* Center image link block */
.woocommerce ul.products li.product.custom-product-class .lgz-product-image-link{
  display: block;
  text-align: center;
}

/* Center the image itself */
.woocommerce ul.products li.product.custom-product-class .lgz-product-image-link img{
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}


/* Center price row vertically (and keep button on right if you want) */
.woocommerce ul.products li.product.custom-product-class .price-and-cart .row{
  align-items: center;
}

/* Home semantic classes: layout helpers (replaces inline styles). */
.home-feature-grid-wrap {
  margin-top: -13% !important;
  padding-top: 3% !important;
}

.feature-card-col--offset-up {
  margin-top: 7% !important;
}

.feature-card-col--offset-down {
  margin-top: -7% !important;
}

.feature-card-content {
  text-align: left;
}
.feature-card-content p {
    font-size: 14px;
    padding-top: 30px;
  }

.home-section-icon {
  padding-right: 10px;
}

/* Home - Section split header + intro cards (match reference layout) */
.section-split-header {
  align-items: flex-start;
  padding-top: clamp(2rem, 3vw, 3.25rem) !important;
  padding-bottom: clamp(2.25rem, 3.2vw, 3.5rem) !important;
}

.section-split-header-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-split-header-label strong {
  font-weight: 700;
}

.section-split-header-label::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 1em;
  background: no-repeat center / contain var(--section-label-icon);
}

.section-split-header h2 {
  margin: 0;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.home-section-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  padding-right: 0;
  display: none;
}

.intro-cards-split {
  align-items: stretch;
  padding-top: clamp(2rem, 3.3vw, 3.25rem) !important;
  padding-bottom: clamp(2.5rem, 3.8vw, 4rem) !important;
}

.intro-cards-split > .col:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: clamp(1rem, 2.2vw, 2.5rem);
}

.intro-cards-split > .col:first-child p.large {
  color: #51544a;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.45;
  margin-bottom: clamp(1.65rem, 2.4vw, 2.8rem);
}

.intro-cards-split > .col:first-child p.large strong {
  font-weight: 500;
  font-size: clamp(16px, 1.2vw, 20px);
}

.intro-cards-split .card {
  background-color: #fff;
  border: 0;
  border-radius: 0;
  min-height: clamp(400px, 36vw, 510px);
}

.intro-cards-split .card-body {
  padding: clamp(1.7rem, 2.6vw, 2.3rem) clamp(1.5rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.intro-cards-split .card-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.intro-cards-split .card-subtitle {
 margin-top: clamp(3rem, 8vw, 8.2rem) !important;
  margin-bottom: clamp(1rem, 1.7vw, 1.4rem) !important;
  color: #1c1f00 !important;
  line-height: 1.25;
  font-weight: 700;
}

.intro-cards-split .card-text {
  margin: 0;
  color: #51544a;
  line-height: 1.45;
  max-width: 30ch;
}

@media (max-width: 1199px) {
  .section-split-header h2 {
    max-width: 100%;
  }

  .intro-cards-split .card {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .section-split-header-label {
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }

  .section-split-header h2 {
    font-size: clamp(1.75rem, 8.2vw, 2.5rem);
    line-height: 1.12;
  }

  .intro-cards-split > .col:first-child p.large {
    font-size: clamp(16px, 4vw, 18px) !important;
    line-height: 1.5;
    margin-bottom: 1.35rem;
  }

  .intro-cards-split > .col:first-child p.large strong {
    font-size: clamp(16px, 4vw, 18px) !important;
  }

  .intro-cards-split .card-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
}

.partner-logo-zebra {
  background-color: #fff;
  border-radius: 0;
  padding-right: 10px;
  margin-top: -2.5%;
}

.home-slider-card-title {
  min-height: 12rem;
}

.cta-card-full {
  width: 100%;
}

.faq-question-title {
  font-size: 28px;
}

/* Keep visual parity when semantic H1 replaces visual H2 in page heroes. */
h1.lgz-display-title {
  font-weight: 400;
  line-height: 140%;
  margin-bottom: 15px;
}

/* -------------------------------------------------------------------------- */
/* Local test layer: semantic tokens + visual flow improvements (safe override) */
/* -------------------------------------------------------------------------- */
:root {
  --lgz-color-bg: #f4f4f4;
  --lgz-color-surface: #ffffff;
  --lgz-color-text: #1c1f00;
  --lgz-color-muted: #5c604d;
  --lgz-color-primary: #7d72ff;
  --lgz-color-primary-hover: #6b53f2;
  --lgz-color-accent: #f4ff72;
  --lgz-radius-sm: 6px;
  --lgz-radius-md: 10px;
  --lgz-shadow-sm: 0 2px 14px rgba(28, 31, 0, 0.06);
  --lgz-space-1: 0.5rem;
  --lgz-space-2: 0.75rem;
  --lgz-space-3: 1rem;
  --lgz-space-4: 1.5rem;
  --lgz-space-5: 2rem;
  --lgz-transition-fast: 180ms ease;
  --hero-h-home: clamp(460px, 64vh, 820px);
  --hero-h-standard: clamp(360px, 52vh, 620px);
  --hero-h-small: clamp(160px, 28vh, 260px);
}

body {
  background-color: var(--lgz-color-bg);
  color: var(--lgz-color-text);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, h4, h5, h6) {
  color: var(--lgz-color-text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 2.25rem);
  line-height: 1.25;
}

h4 {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
}

h5 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

p,
li {
  color: var(--lgz-color-text);
}

a {
  color: inherit;
  text-underline-offset: 2px;
  transition: color var(--lgz-transition-fast), opacity var(--lgz-transition-fast);
}

a:hover {
  opacity: 0.92;
}

:focus-visible {
  outline: 2px solid var(--lgz-color-primary);
  outline-offset: 2px;
}

.button,
.wp-element-button,
input[type="submit"],
button {
  transition: background-color 220ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 31, 0, 0.12);
}

.button:active,
.wp-element-button:active,
input[type="submit"]:active,
button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(28, 31, 0, 0.14);
}

.btn:focus-visible,
.button:focus-visible,
.wp-element-button:focus-visible,
input[type="submit"]:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(125, 114, 255, 0.9);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(125, 114, 255, 0.22);
}

.custom-bg-gradient {
  background: linear-gradient(180deg, var(--lgz-color-bg) 8%, var(--lgz-color-accent) 100%);
  padding-top: clamp(3rem, 8vw, 9%);
  padding-bottom: clamp(2rem, 4vw, 6%);
  min-height: var(--hero-h-standard, clamp(360px, 52vh, 620px));
}

.custom-bg-gradient.hero--home {
  min-height: var(--hero-h-home);
}

.custom-bg-gradient.hero--standard {
  min-height: var(--hero-h-standard);
}

.custom-bg-gradient.hero--small {
  min-height: var(--hero-h-small);
}

body.single-product .custom-bg-gradient,
body.woocommerce-cart .custom-bg-gradient,
body.woocommerce-checkout .custom-bg-gradient {
  min-height: var(--hero-h-small);
}

/* Hero title sizing */
.custom-bg-gradient.hero h1,
.custom-bg-gradient.hero h1.display-1,
.custom-bg-gradient.hero h2,
.custom-bg-gradient.hero h2.display-1 {
  font-size: clamp(28px, 4.2vw, 60px);
  font-weight: 400;
}
@media (min-width: 992px) {
    .custom-bg-gradient.hero h1,
    .custom-bg-gradient.hero h1.display-1,
    .custom-bg-gradient.hero h2,
    .custom-bg-gradient.hero h2.display-1 {
    padding: 0 6%;
    }
  }

/* Auto-map current home hero to "home" height without touching template markup */
body.home .custom-bg-gradient.hero,
body.page-template-homepage-logilize .custom-bg-gradient.hero,
body.page-template-homepage-logilize-php .custom-bg-gradient.hero {
  min-height: var(--hero-h-home);

}

/* Non-home hero: reduce top padding by 25% */
body:not(.home):not(.page-template-homepage-logilize):not(.page-template-homepage-logilize-php):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout) .custom-bg-gradient {
  padding-top: clamp(1.75rem, 4.5vw, 5.5%);
  padding-bottom: clamp(1.25rem, 2.8vw, 3.5%);
  min-height: clamp(300px, 42vh, 520px); /* opzionale */
}


@media (min-width: 992px) {
  body.home .custom-bg-gradient.hero,
  body.page-template-homepage-logilize .custom-bg-gradient.hero,
  body.page-template-homepage-logilize-php .custom-bg-gradient.hero {
    min-height: 640px;
  }
}

@media (max-width: 1180px) {
  .custom-bg-gradient {
    padding-left: 0;
    padding-right: 0;
  }

  .faq-font {
    font-size: 18px !important;
  }
}

.bg-white,
.box-white,
.custom-product-class {
  background-color: var(--lgz-color-surface);
}

.custom-product-class,
.faq-item {
  border-radius: var(--lgz-radius-sm);
}

.custom-product-class {
  box-shadow: var(--lgz-shadow-sm);
}

.faq-item {
  border-color: rgba(28, 31, 0, 0.14);
}

.faq-question {
  gap: var(--lgz-space-3);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Layering fixes: WPML submenu above hero + home grid above hero layer */
header,
.navbar,
.navbar-collapse,
.lang-switcher,
.wpml-ls-legacy-dropdown,
.wpml-ls-legacy-dropdown-click {
  position: relative;
  z-index: 9000;
  overflow: visible !important;
}

.lang-switcher ul.wpml-ls-sub-menu,
ul.wpml-ls-sub-menu {
  position: absolute !important;
  z-index: 99999 !important;
}

.custom-bg-gradient,
.custom-bg-gradient-blog {
  position: relative;
  z-index: 0;
}

.single-custom-page {
  position: relative;
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.single-custom-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  height: 430px;
  background: linear-gradient(180deg, var(--lgz-color-bg) 8%, var(--lgz-color-accent) 100%);
  z-index: 0;
  pointer-events: none;
}

.single-custom-page .site-main {
  position: relative;
  z-index: 1;
}

.single-custom-page .single-custom-featured-media {
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-bottom: 50px;
}

.single-custom-page .single-custom-featured-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.single-custom-content {
  position: relative;
  z-index: 1;
}

.single-custom-content .single-content img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 1.5em;
}

.single-custom-content .single-content h1,
.single-custom-content .single-content h2,
.single-custom-content .single-content h3,
.single-custom-content .single-content h4,
.single-custom-content .single-content h5,
.single-custom-content .single-content h6 {
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}

.single-custom-related {
  position: relative;
  z-index: 1;
  margin-top: clamp(2rem, 4vw, 4rem);
}

.single-custom-related .blog-posts {
  margin-top: 0;
}

.single-custom-related-title {
  margin: 0 0 1.25rem;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.1;
  text-transform: uppercase;
}

.single-custom-related-grid {
  margin-left: -12px;
  margin-right: -12px;
}

.single-custom-related-grid > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

.single-custom-related-content {
  padding: 30px;
  min-height: 280px;
}

.home-feature-grid,
.home-feature-grid-wrap {
  position: relative;
  z-index: 2;
}

/* Home mobile: keep slider in normal flow and reduce hero height. */
@media (max-width: 1180px) {
  body.home .site-main > .mobile-view {
    position: relative;
    z-index: 2;
    margin-top: 0;
  }
}

@media (max-width: 1180px) {
  body.home .custom-bg-gradient.hero {
    min-height: 300px;
  }
  .single-custom-page::before {
    height: 250px;
  }


  .mobile-view .slider .card .card-body {
    min-height: 315px;
  }
}

@media (max-width: 768px) {
  .single-custom-page::before {
    height: 250px;
  }

  .single-custom-related-content {
    min-height: 220px;
    padding: 20px;
  }

  body.home .custom-bg-gradient.hero {
    min-height: 240px;
  }
  body.home .custom-bg-gradient.hero,
  body.page-template-homepage-logilize .custom-bg-gradient.hero,
  body.page-template-homepage-logilize-php .custom-bg-gradient.hero {

  }
}

/* Highlight text utility */
.text-highlight,
.text-in-evidenza {
  font-size: clamp(18px, 2.2vw, 26px);
}
