/* EZ Richiesta preventivo — native selects nel form Metform */

.ez-lemi-quote-hidden-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ez-lemi-quote-native-selects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    width: 100%;
}

.ez-lemi-quote-field {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.ez-lemi-quote-label {
    color: var(--e-global-color-primary, #0e3c87);
    font-family: var(--e-global-typography-70091da-font-family, "Inter"), sans-serif;
    font-size: var(--e-global-typography-70091da-font-size, 16px);
    font-weight: var(--e-global-typography-70091da-font-weight, 600);
}

.ez-lemi-quote-select {
    width: 100%;
    padding: 13px 20px;
    border: 1px solid var(--e-global-color-0314024, #e3e5ef);
    border-radius: 8px;
    background: #f8f8f8;
    color: var(--e-global-color-primary, #0e3c87);
    font-family: var(--e-global-typography-text-font-family, "Inter"), sans-serif;
    font-size: var(--e-global-typography-text-font-size, 16px);
    box-shadow: 0 5px 10px -3px rgba(126, 126, 126, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ez-lemi-quote-select:focus {
    outline: none;
    border-color: var(--e-global-color-text, #535866);
}

.ez-lemi-quote-select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .ez-lemi-quote-native-selects {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.elementor .ez-lemi-quote-form-wrap {
    width: 50% !important;
    max-width: 50%;
    margin-inline: auto;
    flex: 0 0 50%;
}

@media (max-width: 1024px) {
    .elementor .ez-lemi-quote-form-wrap {
        width: 75% !important;
        max-width: 75%;
        flex-basis: 75%;
    }
}

@media (max-width: 767px) {
    .elementor .ez-lemi-quote-form-wrap {
        width: 100% !important;
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* EZ Prodotti — Elementor-aligned layout (kit 1491 tokens via body.elementor-kit-1491) */

.elementor-ez-lemi {
    width: 100%;
}

/* ── Hero (pattern: chi-siamo container 964f9b9) ── */

.elementor-ez-lemi .ez-lemi-hero {
    --padding-top: 250px;
    --padding-bottom: 200px;
    --display: flex;
    --flex-direction: row;
    --align-items: stretch;
    --gap: 10px;
    --z-index: 20;
    margin: 0;
    z-index: 20;
}

.elementor-ez-lemi .ez-lemi-hero:not(.elementor-motion-effects-element-type-background) {
    background-color: transparent;
    background-image: radial-gradient(at top center, var(--e-global-color-7a43964, #101e8a) 0%, var(--e-global-color-primary, #0e3c87) 65%);
}

.elementor-ez-lemi .ez-lemi-hero > .e-con-inner {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

.elementor-ez-lemi .ez-lemi-hero > .e-con-inner > .elementor-shape-bottom .elementor-shape-fill,
.elementor-ez-lemi .ez-lemi-hero > .e-con-inner > .elementor-shape-bottom svg {
    fill: #f3f4fb;
}

.elementor-ez-lemi .ez-lemi-hero > .e-con-inner > .elementor-shape-bottom svg {
    height: 100px;
    transform: translateX(-50%) rotateY(180deg);
}

.elementor-ez-lemi .ez-lemi-archive__hero {
    --display: flex;
    --flex-direction: column;
    --justify-content: flex-start;
    --align-items: center;
    --gap: 10px;
    text-align: center;
    width: 100%;
    padding-bottom: 1.5rem;
}

.elementor-ez-lemi .ez-lemi-archive__hero .ez-lemi-categories--hero {
    width: 100%;
    max-width: 56rem;
    margin-top: 1.75rem;
    padding-top: 0;
    border-top: 0;
}

.elementor-ez-lemi .ez-lemi-archive__hero .ez-lemi-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.elementor-ez-lemi .ez-lemi-archive__hero .ez-lemi-category-card.is-active {
    outline-color: var(--e-global-color-secondary, #ffffff);
}

.elementor-ez-lemi .ez-lemi-single__hero {
    --display: flex;
    --flex-direction: column;
    --justify-content: flex-start;
    --align-items: center;
    --gap: 10px;
    text-align: center;
}

.elementor-ez-lemi .ez-lemi-hero .elementor-heading-title {
    color: var(--e-global-color-secondary, #ffffff);
    margin: 0;
}

.elementor-ez-lemi .ez-lemi-hero .elementor-widget-text-editor {
    color: var(--e-global-color-text, #ffffffa8);
    font-family: var(--e-global-typography-332961b-font-family, "Inter"), sans-serif;
    font-size: var(--e-global-typography-332961b-font-size, 18px);
    line-height: var(--e-global-typography-332961b-line-height, 1.6);
}

.elementor-ez-lemi .ez-lemi-hero .elementor-widget-text-editor p {
    margin: 0 auto;
    max-width: 36rem;
}

/* ── Content section (pattern: chi-siamo container c0e3ef3) ── */

.elementor-ez-lemi .ez-lemi-content {
    --display: flex;
    --padding-top: 50px;
    --padding-bottom: 80px;
    margin: 0;
}

#ez-lemi-prodotti {
    scroll-margin-top: 7rem;
}

.elementor-ez-lemi .ez-lemi-content:not(.elementor-motion-effects-element-type-background) {
    background-color: transparent;
    background-image: linear-gradient(180deg, #f3f4fb 0%, #ffffff 100%);
}

.elementor-ez-lemi .ez-lemi-content > .e-con-inner {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

/* ── Filters ── */

.ez-lemi-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--e-global-color-secondary, #ffffff);
    border: 1px solid var(--e-global-color-0314024, #e3e5ef);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(13, 59, 134, 0.08);
}

.ez-lemi-filters__field {
    flex: 1 1 200px;
    margin-bottom: 0 !important;
}

.ez-lemi-filters label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.ez-lemi-filters select,
.ez-lemi-filters input[type="search"] {
    width: 100%;
}

.ez-lemi-filters__submit {
    flex: 0 0 auto;
    margin-bottom: 0 !important;
}

.ez-lemi-filters--search-only .ez-lemi-filters__field {
    flex: 1 1 280px;
}

.ez-lemi-archive-results {
    transition: opacity 0.2s ease;
}

.ez-lemi-archive-results.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

/* ── Category grid (archive mode: category_grid) ── */

.ez-lemi-categories {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--e-global-color-0314024, #e3e5ef);
}

.ez-lemi-categories--page {
    margin-top: 0;
    margin-bottom: 2.5rem;
    padding-top: 0;
    border-top: 0;
}

.ez-lemi-categories--page .ez-lemi-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.ez-lemi-categories__heading {
    margin-bottom: 1.75rem !important;
}

.ez-lemi-categories__heading .elementor-heading-title {
    margin: 0;
    font-family: var(--e-global-typography-70091da-font-family, "Inter"), sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--e-global-color-primary, #0e3c87);
    text-align: center;
}

.ez-lemi-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.ez-lemi-category-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--e-global-color-0314024, #e3e5ef);
    border-radius: 16px;
    background: var(--e-global-color-secondary, #ffffff);
    box-shadow: 0 8px 32px rgba(13, 59, 134, 0.08);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ez-lemi-category-card:hover,
.ez-lemi-category-card.is-active {
    transform: translateY(-4px);
    border-color: var(--e-global-color-primary, #0e3c87);
    box-shadow: 0 16px 40px rgba(13, 59, 134, 0.14);
}

.ez-lemi-category-card.is-active {
    outline: 2px solid var(--e-global-color-primary, #0e3c87);
    outline-offset: 2px;
}

.ez-lemi-category-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: var(--e-global-color-0a6a988, #f9f9fb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ez-lemi-category-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ez-lemi-category-card:hover .ez-lemi-category-card__image img {
    transform: scale(1.05);
}

.ez-lemi-category-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--e-global-typography-70091da-font-family, "Inter"), sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--e-global-color-primary, #0e3c87);
    background: linear-gradient(135deg, #eef2ff 0%, #f3f4fb 100%);
}

.ez-lemi-category-card__name {
    font-family: var(--e-global-typography-70091da-font-family, "Inter"), sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--e-global-color-primary, #0e3c87);
    text-align: center;
}

/* ── Product grid & cards ── */

.ez-lemi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.ez-lemi-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--e-global-color-0314024, #e3e5ef);
    border-radius: 16px;
    overflow: hidden;
    background: var(--e-global-color-secondary, #ffffff);
    box-shadow: 0 8px 32px rgba(13, 59, 134, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ez-lemi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 59, 134, 0.14);
}

.ez-lemi-card__image {
    margin-bottom: 0 !important;
}

.ez-lemi-card__image .elementor-widget-container {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--e-global-color-0a6a988, #f9f9fb);
}

.ez-lemi-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.25rem;
    transition: transform 0.35s ease;
}

.ez-lemi-card:hover .ez-lemi-card__image img {
    transform: scale(1.04);
}

.ez-lemi-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0.5rem;
}

.ez-lemi-card__body .elementor-widget-heading {
    margin-bottom: 0;
}

.ez-lemi-card__body .elementor-heading-title {
    margin: 0;
    font-family: var(--e-global-typography-70091da-font-family, "Inter"), sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.ez-lemi-card__body .elementor-heading-title a {
    color: var(--e-global-color-primary, #0e3c87);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ez-lemi-card__body .elementor-heading-title a:hover {
    color: var(--e-global-color-primary, #0e3c87);
}

.ez-lemi-card__code {
    margin-bottom: 0 !important;
}

.ez-lemi-card__code p {
    margin: 0;
    color: var(--e-global-color-a86d722, #878b99);
    font-family: var(--e-global-typography-495f370-font-family, "Inter"), sans-serif;
    font-size: var(--e-global-typography-495f370-font-size, 15px);
    font-weight: var(--e-global-typography-495f370-font-weight, 500);
}

.ez-lemi-card__category {
    display: inline-block;
    align-self: flex-start;
    margin-top: 0.25rem;
    padding: 0.3rem 0.75rem;
    font-size: var(--e-global-typography-0c94172-font-size, 14px);
    font-weight: 600;
    color: var(--e-global-color-primary, #0e3c87);
    background: var(--e-global-color-0a6a988, #f9f9fb);
    border-radius: 50px;
    line-height: 1.3;
}

.ez-lemi-card__footer {
    margin-top: auto;
    padding-top: 0.75rem;
    margin-bottom: 0 !important;
}

/* ── Empty state ── */

.ez-lemi-empty {
    margin-bottom: 0 !important;
}

.ez-lemi-empty .elementor-widget-container {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--e-global-color-0a6a988, #f9f9fb);
    border: 1px dashed var(--e-global-color-0314024, #e3e5ef);
    border-radius: 16px;
    color: var(--e-global-color-a86d722, #878b99);
}

.ez-lemi-empty p {
    margin: 0;
    font-size: var(--e-global-typography-332961b-font-size, 18px);
}

/* ── Pagination ── */

.ez-lemi-pagination {
    margin-top: 3rem;
    margin-bottom: 0 !important;
    text-align: center;
}

.ez-lemi-pagination .elementor-widget-container,
.ez-lemi-pagination .navigation.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ez-lemi-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.ez-lemi-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-weight: 600;
    font-size: 15px;
    color: var(--e-global-color-primary, #0e3c87);
    text-decoration: none;
    border: 1px solid var(--e-global-color-0314024, #e3e5ef);
    border-radius: 10px;
    background: var(--e-global-color-secondary, #ffffff);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ez-lemi-pagination .page-numbers:hover,
.ez-lemi-pagination .page-numbers:focus {
    border-color: var(--e-global-color-primary, #0e3c87);
    background: var(--e-global-color-0a6a988, #f9f9fb);
}

.ez-lemi-pagination .page-numbers.current {
    background: var(--e-global-color-primary, #0e3c87);
    border-color: var(--e-global-color-primary, #0e3c87);
    color: var(--e-global-color-secondary, #ffffff);
}

/* ── Single product ── */

/* Hero più compatto: lascia intravedere le specifiche sotto la piega */
.ez-lemi-single .elementor-ez-lemi .ez-lemi-hero {
    --padding-top: 180px;
    --padding-bottom: 56px;
}

.ez-lemi-single .elementor-ez-lemi .ez-lemi-hero > .e-con-inner > .elementor-shape-bottom svg {
    height: 64px;
}

.ez-lemi-single .elementor-ez-lemi .ez-lemi-content {
    --padding-top: 36px;
}

.ez-lemi-single__header {
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    padding-top: 0.5rem;
}

.ez-lemi-single__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.65rem;
    margin-bottom: 1.75rem;
    font-family: var(--e-global-typography-0c94172-font-family, "Inter"), sans-serif;
    font-size: var(--e-global-typography-0c94172-font-size, 14px);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--e-global-color-secondary, #ffffff);
}

.ez-lemi-single__breadcrumb a {
    color: var(--e-global-color-secondary, #ffffff);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ez-lemi-single__breadcrumb a:hover,
.ez-lemi-single__breadcrumb a:focus,
a.ez-lemi-single__breadcrumb-category:hover,
a.ez-lemi-single__breadcrumb-category:focus,
a.ez-lemi-single__back:hover,
a.ez-lemi-single__back:focus {
    color: #FFDB00;
}

.ez-lemi-single__back::before {
    content: "← ";
}

.ez-lemi-single__breadcrumb-sep {
    color: rgba(255, 255, 255, 0.6);
    user-select: none;
}

.ez-lemi-single__breadcrumb-category {
    color: var(--e-global-color-secondary, #ffffff);
}

.ez-lemi-single__header .elementor-widget-heading {
    margin-bottom: 0 !important;
}

.ez-lemi-single__header .elementor-heading-title {
    font-family: var(--e-global-typography-secondary-font-family, "Inter"), sans-serif;
    font-weight: var(--e-global-typography-secondary-font-weight, 600);
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    line-height: 1.25;
    letter-spacing: var(--e-global-typography-secondary-letter-spacing, -0.04em);
}

.ez-lemi-single__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1.75rem;
}

.ez-lemi-single__cta-wrap {
    margin-top: 1.75rem;
    margin-bottom: 0 !important;
}

.ez-lemi-single__cta-wrap .elementor-button-wrapper {
    display: flex;
    justify-content: center;
}

.ez-lemi-single__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Override Elementor kit button hover (blue bg / white text). */
.ez-lemi-single__cta.elementor-button {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/*
 * Solid yellow CTA — override colori pulsante da Lemi Core se impostati
 * (--ez-lemi via ProductColors), altrimenti accent Elementor / default.
 */
.ez-lemi-single__cta.elementor-button:not(.ez-lemi-single__cta--scheda) {
    background-color: var(--e-global-color-accent, #FFDC00);
    background-image: none;
    border-color: var(--e-global-color-accent, #FFDC00);
    color: var(--e-global-color-primary, #0E3C87);
}

.ez-lemi-single__cta.elementor-button:not(.ez-lemi-single__cta--scheda) .elementor-button-text {
    color: var(--e-global-color-primary, #0E3C87);
}

.ez-lemi-single__cta-wrap .ez-lemi-single__cta--scheda.elementor-button {
    background-color: transparent;
    background-image: none;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.85);
}

.ez-lemi-single__cta.elementor-button:hover,
.ez-lemi-single__cta.elementor-button:focus {
    background-color: #fff;
    background-image: none;
    color: var(--e-global-color-primary, #0E3C87);
    border-color: #fff;
}

.ez-lemi-single__cta.elementor-button:hover .elementor-button-text,
.ez-lemi-single__cta.elementor-button:focus .elementor-button-text {
    color: var(--e-global-color-primary, #0E3C87);
}

.ez-lemi-single__code {
    margin-bottom: 0 !important;
}

.ez-lemi-single__code p {
    margin: 0;
    color: var(--e-global-color-text, #ffffffa8);
    font-size: var(--e-global-typography-46d419d-font-size, 22px);
    font-weight: 600;
}

.ez-lemi-single__price {
    margin-bottom: 0 !important;
}

.ez-lemi-single__price p {
    margin: 0;
    color: var(--e-global-color-secondary, #ffffff);
    font-size: var(--e-global-typography-46d419d-font-size, 22px);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ez-lemi-single__price-iva {
    margin-left: 0.35em;
    font-weight: 500;
    font-size: 0.75em;
    opacity: 0.85;
}

.ez-lemi-single__layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
}

.ez-lemi-single__image {
    position: sticky;
    top: 7rem;
    margin-bottom: 0 !important;
}

.ez-lemi-single__image .elementor-widget-container {
    padding: 2rem;
    background: var(--e-global-color-0a6a988, #f9f9fb);
    border: 1px solid var(--e-global-color-0314024, #e3e5ef);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(13, 59, 134, 0.08);
}

.ez-lemi-single__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ez-lemi-single__specs .elementor-widget-heading {
    margin-bottom: 0;
}

.ez-lemi-single__specs-title {
    margin: 0 0 1.25rem;
}

.ez-lemi-specs {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    border: 1px solid #d8dee8;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(14, 60, 135, 0.08);
    font-family: var(--e-global-typography-text-font-family, "Inter"), sans-serif;
}

.ez-lemi-specs thead th {
    padding: 1rem 1.35rem;
    text-align: left;
    vertical-align: middle;
    background: #0e3c87;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: none;
}

.ez-lemi-specs thead th:first-child {
    width: 60%;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.ez-lemi-specs thead th:last-child {
    width: 40%;
}

.ez-lemi-specs tbody th,
.ez-lemi-specs tbody td {
    padding: 1rem 1.35rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e4e8ef;
    color: #3a4454;
    font-size: 1rem;
    line-height: 1.55;
}

.ez-lemi-specs tbody th {
    width: 60%;
    font-weight: 700;
    background: #ffffff;
    border-right: 1px solid #e4e8ef;
}

.ez-lemi-specs tbody td {
    width: 40%;
    font-weight: 400;
    background: #ffffff;
}

.ez-lemi-specs tbody tr:nth-child(even) th,
.ez-lemi-specs tbody tr:nth-child(even) td {
    background: #f7f9fc;
}

.ez-lemi-specs tbody tr:last-child th,
.ez-lemi-specs tbody tr:last-child td {
    border-bottom: none;
}

.ez-lemi-single__specs-cta-wrap {
    margin-top: 1.5rem;
    margin-bottom: 0 !important;
}

.ez-lemi-single__specs-cta-wrap .elementor-button-wrapper {
    display: flex;
    justify-content: flex-start;
}

.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta-group {
    justify-content: flex-start;
}

/* Specs CTA only: blue hover (do not affect hero .ez-lemi-single__cta). */
.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta.elementor-button:hover,
.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta.elementor-button:focus {
    background-color: var(--e-global-color-primary, #0E3C87);
    background-image: none;
    color: var(--e-global-color-secondary, #ffffff);
    border-color: var(--e-global-color-primary, #0E3C87);
}

.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta.elementor-button:hover .elementor-button-text,
.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta.elementor-button:focus .elementor-button-text {
    color: var(--e-global-color-secondary, #ffffff);
}

.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta--scheda.elementor-button {
    background-color: transparent;
    background-image: none;
    color: var(--e-global-color-primary, #0E3C87);
    border-color: var(--e-global-color-primary, #0E3C87);
}

.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta--scheda.elementor-button:hover,
.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta--scheda.elementor-button:focus {
    background-color: var(--e-global-color-primary, #0E3C87);
    color: var(--e-global-color-secondary, #ffffff);
    border-color: var(--e-global-color-primary, #0E3C87);
}

.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta--scheda.elementor-button:hover .elementor-button-text,
.ez-lemi-single__specs-cta-wrap .ez-lemi-single__cta--scheda.elementor-button:focus .elementor-button-text {
    color: var(--e-global-color-secondary, #ffffff);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .elementor-ez-lemi .ez-lemi-hero {
        --padding-top: 175px;
        --padding-bottom: 125px;
    }

    .ez-lemi-single .elementor-ez-lemi .ez-lemi-hero {
        --padding-top: 140px;
        --padding-bottom: 48px;
    }

    .ez-lemi-single .elementor-ez-lemi .ez-lemi-hero > .e-con-inner > .elementor-shape-bottom svg {
        height: 56px;
    }

    .elementor-ez-lemi .ez-lemi-content {
        --padding-top: 50px;
        --padding-bottom: 50px;
    }

    .ez-lemi-single__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ez-lemi-single__image {
        position: static;
    }
}

@media (max-width: 767px) {
    .elementor-ez-lemi .ez-lemi-hero {
        --padding-top: 125px;
        --padding-bottom: 75px;
    }

    .ez-lemi-single .elementor-ez-lemi .ez-lemi-hero {
        --padding-top: 108px;
        --padding-bottom: 36px;
    }

    .elementor-ez-lemi .ez-lemi-hero > .e-con-inner > .elementor-shape-bottom svg {
        height: 50px;
    }

    .ez-lemi-single .elementor-ez-lemi .ez-lemi-hero > .e-con-inner > .elementor-shape-bottom svg {
        height: 40px;
    }

    .elementor-ez-lemi .ez-lemi-content {
        --padding-bottom: 80px;
    }

    .ez-lemi-filters {
        padding: 1.25rem;
    }

    .ez-lemi-filters__submit {
        width: 100%;
    }

    .ez-lemi-filters__submit .elementor-button {
        width: 100%;
    }

    .ez-lemi-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ez-lemi-specs thead th,
    .ez-lemi-specs tbody th,
    .ez-lemi-specs tbody td {
        padding: 0.85rem 1rem;
        font-size: 0.9375rem;
    }
}
