
/* Intestazione pubblica dedicata al catalogo Soluzione Mare. */
.smc-site-header {
    position: relative;
    z-index: 40;
    width: 100%;
    border-bottom: 1px solid #dce6ef;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 5px 22px rgba(15, 38, 65, .045);
}

.smc-site-header-inner,
.smc-site-footer-inner {
    width: min(1380px, calc(100% - 56px));
    margin: 0 auto;
}

.smc-site-header-inner {
    display: flex;
    min-height: 122px;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.smc-site-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 24px;
    flex: 1 1 auto;
    color: #102a47;
    text-decoration: none !important;
}

.smc-site-brand-logo {
    display: inline-flex;
    width: 150px;
    height: 96px;
    flex: 0 0 150px;
    align-items: center;
    justify-content: center;
}

.smc-site-brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.smc-site-brand-copy {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
    padding-left: 24px;
}

.smc-site-brand-copy::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 1px;
    background: #d7e2ec;
    content: "";
}

.smc-site-brand-copy strong {
    color: #0b58a2;
    font-size: clamp(1.35rem, 1.65vw, 1.85rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.smc-site-brand-copy > span {
    max-width: 520px;
    color: #60758b;
    font-size: .94rem;
    font-weight: 500;
    line-height: 1.35;
}

.smc-site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.smc-site-nav a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    color: #173d62;
    font-size: .98rem;
    font-weight: 750;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.smc-site-nav a:hover,
.smc-site-nav a[aria-current="page"]:not(.smc-site-nav-primary) {
    background: #eef5fa;
    color: #075fae;
}

.smc-site-nav .smc-site-nav-primary {
    min-width: 120px;
    margin: 0 2px;
    padding-right: 18px;
    padding-left: 18px;
    background: #075fae;
    box-shadow: 0 8px 20px rgba(7, 95, 174, .16);
    color: #fff;
}

.smc-site-nav .smc-site-nav-primary:hover,
.smc-site-nav .smc-site-nav-primary[aria-current="page"] {
    background: #064f92;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(7, 95, 174, .2);
}

.smc-site-nav .smc-site-nav-primary span {
    font-size: 1.1em;
    line-height: 1;
}

.smc-site-footer {
    width: 100%;
    margin-top: 30px;
    border-top: 1px solid #e3e9ef;
    background: #f7f9fb;
}

.smc-site-footer-inner {
    display: flex;
    min-height: 104px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #64748b;
    font-size: .9rem;
}

.smc-site-footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: auto;
}

.smc-site-footer-brand {
    display: inline-flex;
    width: 104px;
    height: 68px;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.smc-site-footer-brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.smc-site-footer-brand-wrap small {
    color: #7b8da0;
    font-size: .78rem;
    white-space: nowrap;
}

.smc-site-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.smc-site-footer-links a {
    color: #52677d;
    text-decoration: none;
}

.smc-site-footer-links a:hover {
    color: #075fae;
}

.smc-standalone-main {
    width: 100%;
    max-width: none;
    padding: 52px 24px 72px;
}

.smc-home,
.smc-catalog,
.smc-product-page,
.smc-contact-page {
    --smc-border: #d8e0e8;
    --smc-muted: #64748b;
    --smc-surface: #f5f8fb;
    --smc-ink: #132235;
    --smc-accent: #075fae;
    --smc-accent-dark: #064b89;
    --smc-shadow: 0 10px 30px rgba(23, 43, 67, .08);
    position: relative;
    width: min(1280px, 100%);
    max-width: 1280px;
    margin: 0 auto 64px;
    color: var(--smc-ink);
    font-size: 16px;
}

/* Il contenuto pubblico usa un template dedicato del plugin: nessuna
 * compensazione rispetto alle colonne del tema e nessun translateX. */
body.smc-standalone-page {
    overflow-x: hidden;
}

.smc-home *,
.smc-catalog *,
.smc-product-page *,
.smc-contact-page * {
    box-sizing: border-box;
}

/* Il tema WordPress non deve duplicare il titolo e l'immagine del prodotto. */
body.smc-product-single .wp-block-post-title,
body.smc-product-single .wp-block-post-featured-image,
body.smc-product-single .entry-title,
body.smc-product-single .post-thumbnail,
body.smc-product-single .featured-image,
body.smc-product-single .entry-header > figure,
body.smc-catalog-page .wp-block-post-title,
body.smc-catalog-page .entry-title {
    display: none !important;
}

.smc-catalog-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin: 6px 0 28px;
}

.smc-catalog-header h1,
.smc-product-title {
    margin: 4px 0 0;
    color: var(--smc-ink);
    font-weight: 780;
    letter-spacing: -.035em;
}

.smc-catalog-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1;
}

.smc-catalog-header p {
    max-width: 660px;
    margin: 10px 0 0;
    color: var(--smc-muted);
    font-size: 1.03rem;
}

.smc-catalog-filters {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) minmax(210px, 1fr) minmax(210px, 1fr) auto;
    gap: 14px;
    align-items: end;
    padding: 20px;
    margin: 0 0 18px;
    border: 1px solid var(--smc-border);
    border-radius: 16px;
    background: var(--smc-surface);
}

.smc-filter label {
    display: block;
    margin-bottom: 7px;
    font-size: .84rem;
    font-weight: 750;
}

.smc-filter input,
.smc-filter select,
.smc-variant-select,
.smc-contact-form input,
.smc-contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #b9c5d2;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: var(--smc-ink);
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.smc-filter input:focus,
.smc-filter select:focus,
.smc-variant-select:focus,
.smc-contact-form input:focus,
.smc-contact-form textarea:focus {
    border-color: var(--smc-accent);
    box-shadow: 0 0 0 3px rgba(7, 95, 174, .12);
}

.smc-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.smc-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.smc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease, border-color .15s ease;
}

.smc-button:hover {
    transform: translateY(-1px);
}

.smc-button-primary {
    background: var(--smc-accent);
    color: #fff !important;
}

.smc-button-primary:hover,
.smc-button-primary:focus {
    background: var(--smc-accent-dark);
}

.smc-button-ghost {
    border-color: var(--smc-border);
    background: #fff;
    color: var(--smc-ink) !important;
}

.smc-button-large {
    min-height: 52px;
    padding: 14px 21px;
}

.smc-catalog-summary {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin: 0 0 12px;
    color: var(--smc-muted);
    font-size: .92rem;
    font-weight: 650;
}

.smc-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.smc-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--smc-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(23, 43, 67, .025);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.smc-product-card:hover {
    transform: translateY(-2px);
    border-color: #c5d1dd;
    box-shadow: var(--smc-shadow);
}

.smc-product-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid #edf1f5;
    background: #f4f6f8;
}

.smc-product-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    transition: transform .2s ease;
}

.smc-product-card:hover .smc-product-card-image img {
    transform: scale(1.025);
}

.smc-product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.smc-product-card h3 {
    margin: 7px 0 8px;
    font-size: 1.08rem;
    line-height: 1.28;
}

.smc-product-card h3 a {
    color: var(--smc-ink);
    text-decoration: none;
}

.smc-eyebrow {
    color: var(--smc-accent);
    font-size: .74rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.smc-card-category,
.smc-product-code,
.smc-product-meta-line,
.smc-price-note,
.smc-variant-hint {
    color: var(--smc-muted);
    font-size: .86rem;
}

.smc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.smc-card-price {
    color: var(--smc-ink);
    font-size: 1.12rem;
    font-weight: 850;
}

.smc-card-link {
    color: var(--smc-accent);
    font-size: .89rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.smc-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 180px;
    color: #98a2b3;
    background: #f2f4f7;
}

.smc-image-placeholder-large {
    min-height: 520px;
    border-radius: 16px;
}

.smc-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 34px;
}

.smc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--smc-border);
    border-radius: 8px;
    color: var(--smc-ink);
    text-decoration: none;
}

.smc-pagination .current {
    border-color: var(--smc-accent);
    background: var(--smc-accent);
    color: #fff;
}

.smc-empty-state {
    padding: 56px 20px;
    border: 1px dashed var(--smc-border);
    border-radius: 16px;
    text-align: center;
}

.smc-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 4px 0 22px;
    color: var(--smc-muted);
    font-size: .9rem;
}

.smc-breadcrumb a {
    color: var(--smc-accent);
    font-weight: 700;
    text-decoration: none;
}

.smc-product-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr);
    gap: 48px;
    align-items: start;
}

.smc-product-gallery {
    min-width: 0;
}

.smc-main-image-wrap {
    overflow: hidden;
    min-height: 540px;
    border: 1px solid var(--smc-border);
    border-radius: 18px;
    background: #fff;
}

.smc-main-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 540px;
    max-height: 660px;
    padding: 26px;
    object-fit: contain;
}

.smc-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.smc-thumb {
    width: 84px;
    height: 84px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid var(--smc-border);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
}

.smc-thumb.is-active {
    border-color: var(--smc-accent);
    box-shadow: 0 0 0 2px rgba(7, 95, 174, .16);
}

.smc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.smc-product-buybox {
    position: sticky;
    top: 24px;
    padding: 28px;
    border: 1px solid var(--smc-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--smc-shadow);
}

.smc-product-title {
    margin: 8px 0 8px;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1.07;
}

.smc-product-meta-line {
    display: flex;
    gap: 8px 14px;
    flex-wrap: wrap;
    margin-bottom: 4px;
    color: var(--smc-accent);
    font-weight: 720;
}

.smc-product-meta-line span:not(:last-child)::after {
    content: '•';
    margin-left: 14px;
    color: #c0c7d0;
}

.smc-product-code {
    margin-top: 10px;
}

.smc-product-short {
    margin: 20px 0 0;
    color: #41536a;
    font-size: .98rem;
    line-height: 1.55;
}

.smc-product-price {
    margin: 24px 0 2px;
    color: var(--smc-ink);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 880;
    line-height: 1.05;
}

.smc-price-note {
    margin-top: 7px;
}

.smc-variant-picker {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--smc-border);
}

.smc-variant-picker label {
    display: block;
    margin-bottom: 8px;
}

.smc-variant-hint {
    margin-top: 8px;
    line-height: 1.35;
}

.smc-product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 24px;
}

.smc-product-actions .smc-button-primary {
    width: 100%;
}

.smc-product-actions .smc-button-ghost {
    width: 100%;
}

.smc-product-details {
    gap: 46px;
    margin-top: 58px;
    padding-top: 38px;
    border-top: 1px solid var(--smc-border);
}

.smc-product-details.is-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smc-product-details.is-one-column {
    display: block;
    max-width: 880px;
}

.smc-detail-section {
    min-width: 0;
}

.smc-detail-section h2,
.smc-contact-section h2 {
    margin: 0 0 16px;
    color: var(--smc-ink);
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    letter-spacing: -.025em;
}

.smc-richtext {
    color: #33465d;
    font-size: 1.01rem;
    line-height: 1.72;
}

.smc-features-list {
    margin: 0;
    border-top: 1px solid var(--smc-border);
}

.smc-features-list > div {
    display: grid;
    grid-template-columns: minmax(120px, 38%) 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--smc-border);
}

.smc-features-list dt {
    font-weight: 750;
}

.smc-features-list dd {
    margin: 0;
}

.smc-feature-full {
    grid-column: 1 / -1;
}

.smc-contact-section {
    margin-top: 58px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid #e3eaf1;
    border-radius: 20px;
    background: var(--smc-surface);
}

.smc-contact-heading {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: start;
}

.smc-contact-heading > div:first-child {
    max-width: 760px;
}

.smc-contact-heading p {
    margin: 0;
    color: #41536a;
    font-size: 1.02rem;
}

.smc-contact-direct {
    min-width: 180px;
    text-align: right;
}

.smc-request-summary {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 1fr) minmax(160px, .8fr);
    gap: 10px 24px;
    align-items: center;
    margin: 26px 0;
    padding: 16px 18px;
    border: 1px solid var(--smc-border);
    border-radius: 12px;
    background: #fff;
}

.smc-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.smc-contact-form p {
    margin: 0 0 16px;
}

.smc-contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.smc-privacy-line {
    max-width: 820px;
}

.smc-privacy-line label {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: #4d6077;
    font-size: .88rem;
    font-weight: 400;
}

.smc-privacy-line input {
    width: auto;
    min-height: 0;
    margin-top: 3px;
}

.smc-alert {
    margin: 18px 0;
    padding: 13px 16px;
    border-radius: 9px;
    font-weight: 650;
}

.smc-alert-success {
    border: 1px solid #86c99c;
    background: #edf9f0;
    color: #205c31;
}

.smc-alert-error {
    border: 1px solid #e2a6a6;
    background: #fff0f0;
    color: #842828;
}

.smc-field-error {
    border-color: #c43d3d !important;
    box-shadow: 0 0 0 1px #c43d3d;
}

.smc-text-error {
    color: #a32929;
}

.smc-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* Home */
.smc-home {
    width: min(1320px, 100%);
    max-width: 1320px;
    margin: 0 auto 64px;
}

.smc-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    min-height: 610px;
    margin-bottom: 86px;
    padding: clamp(44px, 6vw, 78px);
    overflow: hidden;
    border: 1px solid #dce7f0;
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 8%, rgba(7, 95, 174, .16), transparent 30%),
        radial-gradient(circle at 10% 95%, rgba(22, 130, 160, .10), transparent 32%),
        linear-gradient(135deg, #f8fbfd 0%, #edf5fa 100%);
}

.smc-home-hero::before {
    content: none;
    position: absolute;
    width: 360px;
    height: 360px;
    right: -160px;
    bottom: -210px;
    border: 1px solid rgba(7, 95, 174, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 58px rgba(7, 95, 174, .035), 0 0 0 116px rgba(7, 95, 174, .025);
    pointer-events: none;
}

.smc-home-hero-copy {
    position: relative;
    z-index: 2;
}

.smc-home-hero h1 {
    max-width: 760px;
    margin: 10px 0 20px;
    color: var(--smc-ink);
    font-size: clamp(3rem, 6vw, 5.35rem);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 820;
}

.smc-home-hero-copy > p {
    max-width: 690px;
    margin: 0;
    color: #40546a;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.65;
}

.smc-home-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.smc-home-promises {
    display: flex;
    gap: 10px 18px;
    flex-wrap: wrap;
    margin-top: 24px;
    color: #52677d;
    font-size: .88rem;
    font-weight: 700;
}

.smc-home-promises span {
    position: relative;
    padding-left: 17px;
}

.smc-home-promises span::before {
    content: '';
    position: absolute;
    left: 0;
    top: .47em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--smc-accent);
}

.smc-home-hero-visual {
    position: relative;
    z-index: 1;
    min-height: 480px;
}

.smc-home-hero-product {
    position: absolute;
    display: block;
    overflow: hidden;
    border: 1px solid #dce4ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(24, 55, 83, .13);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.smc-home-hero-product:hover {
    transform: translateY(-4px) rotate(0deg) !important;
    box-shadow: 0 28px 58px rgba(24, 55, 83, .18);
}

.smc-home-hero-product img {
    display: block;
    width: 100%;
    height: calc(100% - 54px);
    padding: 18px;
    object-fit: contain;
    background: #fff;
}

.smc-home-hero-product span {
    display: block;
    height: 54px;
    padding: 10px 14px;
    overflow: hidden;
    border-top: 1px solid #edf1f5;
    color: var(--smc-ink);
    font-size: .78rem;
    font-weight: 760;
    line-height: 1.3;
}

.smc-home-hero-product-1 {
    width: 56%;
    height: 64%;
    top: 5%;
    left: 3%;
    transform: rotate(-3deg);
}

.smc-home-hero-product-2 {
    width: 47%;
    height: 53%;
    top: 15%;
    right: 0;
    transform: rotate(3deg);
}

.smc-home-hero-product-3 {
    width: 49%;
    height: 47%;
    left: 29%;
    bottom: 0;
    transform: rotate(1deg);
}

.smc-home-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    border: 1px dashed #b9c8d6;
    border-radius: 22px;
    color: #6d7f91;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}


.smc-home-section {
    margin: 0 0 86px;
}

.smc-home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.smc-home-section-heading h2,
.smc-home-process h2,
.smc-home-contact h2 {
    margin: 6px 0 0;
    color: var(--smc-ink);
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.03;
    letter-spacing: -.04em;
}

.smc-home-section-heading p {
    max-width: 690px;
    margin: 12px 0 0;
    color: var(--smc-muted);
    line-height: 1.6;
}

.smc-home-heading-link {
    flex: 0 0 auto;
    color: var(--smc-accent);
    font-weight: 760;
    text-decoration: none;
}

.smc-home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.smc-home-category-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 150px;
    overflow: hidden;
    border: 1px solid var(--smc-border);
    border-radius: 18px;
    background: #fff;
    color: var(--smc-ink) !important;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.smc-home-category-card:hover {
    transform: translateY(-2px);
    border-color: #bfd0df;
    box-shadow: var(--smc-shadow);
}

.smc-home-category-image {
    min-height: 150px;
    background: #f3f6f8;
}

.smc-home-category-image img {
    width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
}

.smc-home-category-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #a8b6c2;
    font-size: 3rem;
}

.smc-home-category-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.smc-home-category-body h3 {
    margin: 0 0 8px;
    font-size: 1.22rem;
    line-height: 1.2;
}

.smc-home-category-body span {
    color: var(--smc-muted);
    font-size: .87rem;
}

.smc-home-process {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 54px;
    align-items: start;
    margin: 0 0 86px;
    padding: clamp(34px, 5vw, 58px);
    border-radius: 26px;
    background: var(--smc-ink);
    color: #fff;
}

.smc-home-process .smc-eyebrow {
    color: #81bde9;
}

.smc-home-process h2 {
    color: #fff;
}

.smc-home-process-intro p {
    max-width: 560px;
    margin: 18px 0 0;
    color: #c6d3df;
    line-height: 1.68;
}

.smc-home-process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.smc-home-step {
    min-height: 220px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
}

.smc-home-step > span {
    color: #7eb9e5;
    font-size: .77rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.smc-home-step h3 {
    margin: 42px 0 8px;
    color: #fff;
    font-size: 1.25rem;
}

.smc-home-step p {
    margin: 0;
    color: #bdcad5;
    font-size: .9rem;
    line-height: 1.5;
}

.smc-home-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.smc-home-brands {
    margin: 0 0 72px;
    padding: 26px 0;
    border-top: 1px solid var(--smc-border);
    border-bottom: 1px solid var(--smc-border);
}

.smc-home-brands-heading {
    margin-bottom: 14px;
}

.smc-home-brands-heading h2 {
    margin: 0;
    color: var(--smc-accent);
    font-size: .89rem;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: 0;
}

.smc-home-brand-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 0;
}

.smc-home-brand-list a {
    padding: 9px 13px;
    border: 1px solid var(--smc-border);
    border-radius: 999px;
    background: #fff;
    color: #435970;
    font-size: .84rem;
    font-weight: 720;
    text-decoration: none;
}

.smc-home-brand-list a:hover {
    border-color: #9db9d0;
    color: var(--smc-accent);
}

.smc-home-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 42px;
    align-items: center;
    padding: clamp(34px, 5vw, 58px);
    border: 1px solid #d9e5ee;
    border-radius: 26px;
    background: linear-gradient(135deg, #f5f9fc 0%, #eef6fb 100%);
}

.smc-home-contact p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #475d72;
    line-height: 1.65;
}

.smc-home-contact-actions {
    display: grid;
    gap: 9px;
}

.smc-home-contact-actions .smc-button {
    width: 100%;
}

@media (max-width: 1180px) {
    .smc-home-hero {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
        padding: 48px;
    }

    .smc-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smc-home-process {
        grid-template-columns: 1fr;
    }

    .smc-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .smc-product-top {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
        gap: 32px;
    }
}

@media (max-width: 960px) {
    .smc-home,
    .smc-catalog,
    .smc-product-page {
        width: min(100% - 32px, 860px);
    }

    .smc-home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .smc-home-hero-visual {
        min-height: 440px;
        max-width: 640px;
        width: 100%;
        margin: 0 auto;
    }

    .smc-home-contact {
        grid-template-columns: 1fr;
    }

    .smc-catalog-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smc-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smc-product-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .smc-product-buybox {
        position: static;
    }

    .smc-main-image-wrap,
    .smc-main-image {
        min-height: 440px;
    }
}

@media (max-width: 680px) {
    .smc-home,
    .smc-catalog,
    .smc-product-page {
        width: calc(100vw - 24px);
        margin-bottom: 42px;
    }

    .smc-home-hero {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .smc-home-hero h1 {
        font-size: clamp(2.65rem, 14vw, 4rem);
    }

    .smc-home-hero-visual {
        min-height: 330px;
    }

    .smc-home-hero-product span {
        display: none;
    }

    .smc-home-hero-product img {
        height: 100%;
        padding: 12px;
    }

    .smc-home-section-heading {
        display: block;
    }

    .smc-home-heading-link {
        display: inline-block;
        margin-top: 16px;
    }

    .smc-home-category-grid,
    .smc-home-process-steps,
    .smc-home-product-grid {
        grid-template-columns: 1fr;
    }

    .smc-home-category-card {
        grid-template-columns: 120px minmax(0, 1fr);
        min-height: 120px;
    }

    .smc-home-category-image {
        min-height: 120px;
    }

    .smc-home-process {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .smc-home-step {
        min-height: 0;
    }

    .smc-home-step h3 {
        margin-top: 22px;
    }

    .smc-home-contact {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .smc-catalog-header {
        margin-top: 0;
    }

    .smc-catalog-filters,
    .smc-product-grid,
    .smc-product-details.is-two-columns,
    .smc-form-grid,
    .smc-request-summary {
        grid-template-columns: 1fr;
    }

    .smc-filter-actions,
    .smc-filter-actions .smc-button {
        width: 100%;
    }

    .smc-contact-heading {
        display: block;
    }

    .smc-contact-direct {
        margin-top: 18px;
        text-align: left;
    }

    .smc-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .smc-product-buybox {
        padding: 22px;
    }

    .smc-main-image-wrap,
    .smc-main-image {
        min-height: 330px;
    }

    .smc-main-image {
        padding: 16px;
    }

    .smc-thumb {
        width: 70px;
        height: 70px;
    }

    .smc-contact-section {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .smc-standalone-main {
        padding-left: 16px;
        padding-right: 16px;
    }
}


@media (max-width: 720px) {
    .smc-site-header-inner,
    .smc-site-footer-inner {
        width: min(100% - 28px, 1280px);
    }

    .smc-site-header-inner {
        min-height: 94px;
        gap: 14px;
    }

    .smc-site-brand img {
        height: 68px;
        max-width: 145px;
    }

    .smc-site-nav {
        gap: 3px;
    }

    .smc-site-nav a {
        min-height: 38px;
        padding: 7px 9px;
        font-size: .86rem;
    }

    .smc-site-nav .smc-site-nav-contact {
        margin-left: 0;
    }

    .smc-site-footer-inner {
        min-height: 84px;
        flex-wrap: wrap;
        padding: 18px 0;
    }

    .smc-site-footer-brand-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .smc-site-footer-brand {
        width: 90px;
        height: 58px;
    }

    .smc-site-footer-links {
        width: 100%;
        justify-content: flex-start;
        gap: 12px 18px;
    }
}

@media (max-width: 520px) {
    .smc-site-header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0 14px;
    }

    .smc-site-brand img {
        height: 62px;
    }

    .smc-site-nav {
        width: 100%;
        justify-content: flex-start;
    }
}


/* v0.5.2 — contatti pubblici */
.smc-home-contact-data {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}
.smc-home-contact-data > div {
    display: grid;
    grid-template-columns: 110px minmax(0,1fr);
    gap: 14px;
    align-items: baseline;
    padding-top: 12px;
    border-top: 1px solid #d8e5ee;
}
.smc-home-contact-data strong {
    color: #17324a;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.smc-home-contact-data span,
.smc-home-contact-data a {
    color: #314d65;
    text-decoration: none;
}
.smc-home-contact-data a:hover { color: var(--smc-accent); }

.smc-contact-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(54px, 8vw, 100px) 0 clamp(70px, 9vw, 120px);
}
.smc-contact-page-header { max-width: 760px; margin-bottom: 42px; }
.smc-contact-page-header h1 {
    margin: 5px 0 10px;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: .98;
    letter-spacing: -.045em;
    color: #102a43;
}
.smc-contact-page-header p {
    margin: 0;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    color: #526a80;
}
.smc-contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 24px;
}
.smc-contact-card {
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid #d7e3ec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(28,54,78,.05);
}
.smc-contact-card-main {
    background: linear-gradient(145deg, #f6fafd 0%, #edf6fb 100%);
}
.smc-contact-card h2 {
    margin: 8px 0 24px;
    color: #102a43;
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -.025em;
}
.smc-contact-list { display: grid; gap: 0; margin: 12px 0 28px; }
.smc-contact-list > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #cfdee9;
}
.smc-contact-list span {
    color: #6b7f91;
    font-size: .83rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.smc-contact-list a { color: #123a5a; font-weight: 760; text-decoration: none; }
.smc-contact-list a:hover { color: var(--smc-accent); }
.smc-contact-page-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.smc-service-list { display: grid; gap: 10px; margin: 18px 0 26px; }
.smc-service-list span {
    display: block;
    padding: 13px 15px;
    border: 1px solid #d7e3ec;
    border-radius: 12px;
    background: #f8fbfd;
    color: #27465f;
    font-weight: 720;
}
.smc-contact-services p { color: #526a80; line-height: 1.65; }

@media (max-width: 820px) {
    .smc-contact-page-grid { grid-template-columns: 1fr; }
    .smc-contact-list > div,
    .smc-home-contact-data > div { grid-template-columns: 1fr; gap: 5px; }
}


/* v0.5.3 — pulizia home e orari */
.smc-opening-hours {
    margin: 8px 0 28px;
    padding-top: 18px;
    border-top: 1px solid #cfdee9;
}
.smc-opening-hours h3 {
    margin: 0 0 10px;
    color: #102a43;
    font-size: 1rem;
}
.smc-hours-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 8px 0;
    border-top: 1px solid rgba(207, 222, 233, .72);
}
.smc-hours-row:first-of-type { border-top: 0; }
.smc-hours-row span { color: #6b7f91; }
.smc-hours-row strong { color: #17324a; font-weight: 720; line-height: 1.45; }
@media (max-width: 620px) {
    .smc-hours-row { grid-template-columns: 1fr; gap: 3px; }
}


/* v0.5.4 — home più essenziale: rimossi i soprattitoli blu */
.smc-home-hero h1 { margin-top: 0; }
.smc-home-section-heading h2,
.smc-home-contact h2 { margin-top: 0; }


/* Header v0.5.6: responsive real HTML/CSS, no text baked into images. */
@media (max-width: 980px) {
    .smc-site-header-inner {
        min-height: 108px;
        gap: 22px;
    }
    .smc-site-brand { gap: 16px; }
    .smc-site-brand-logo { width: 116px; height: 78px; flex-basis: 116px; }
    .smc-site-brand-copy { padding-left: 16px; }
    .smc-site-brand-copy > span { max-width: 330px; font-size: .84rem; }
    .smc-site-nav a { padding: 9px 12px; }
}

@media (max-width: 760px) {
    .smc-site-header-inner,
    .smc-site-footer-inner {
        width: min(100% - 28px, 1380px);
    }
    .smc-site-header-inner {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 0 14px;
    }
    .smc-site-brand {
        justify-content: flex-start;
        gap: 14px;
    }
    .smc-site-brand-logo {
        width: 98px;
        height: 66px;
        flex-basis: 98px;
    }
    .smc-site-brand-copy {
        padding-left: 14px;
    }
    .smc-site-brand-copy strong {
        font-size: 1.18rem;
    }
    .smc-site-brand-copy > span {
        max-width: 270px;
        font-size: .76rem;
    }
    .smc-site-nav {
        width: 100%;
        justify-content: stretch;
        gap: 6px;
    }
    .smc-site-nav a {
        min-height: 42px;
        flex: 1 1 0;
        padding: 8px 9px;
        font-size: .9rem;
    }
    .smc-site-nav .smc-site-nav-primary {
        min-width: 0;
        margin: 0;
    }
}

@media (max-width: 430px) {
    .smc-site-brand-logo { width: 86px; height: 58px; flex-basis: 86px; }
    .smc-site-brand-copy > span { display: none; }
    .smc-site-brand-copy::before { top: 2px; bottom: 2px; }
    .smc-site-brand-copy strong { font-size: 1.08rem; }
}

/* =========================================================
 * v0.6 — rifinitura catalogo e scheda prodotto
 * ========================================================= */

.smc-catalog-header {
    margin-bottom: 20px;
}

.smc-catalog-header p {
    max-width: 760px;
}

.smc-category-shortcuts {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}

.smc-category-shortcuts a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--smc-border);
    border-radius: 999px;
    background: #fff;
    color: #41536a;
    font-size: .88rem;
    font-weight: 720;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
}

.smc-category-shortcuts a:hover {
    transform: translateY(-1px);
    border-color: #b9c9d8;
    color: var(--smc-accent);
}

.smc-category-shortcuts a.is-active {
    border-color: #bcd4e9;
    background: #eaf3fa;
    color: #075fae;
}

.smc-active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: -2px 0 10px;
}

.smc-active-filters a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef3f7;
    color: #40536a;
    font-size: .82rem;
    font-weight: 680;
    text-decoration: none;
}

.smc-active-filters a:hover {
    background: #e3ebf2;
    color: var(--smc-ink);
}

.smc-active-filters a span {
    color: #7b8da0;
    font-size: 1rem;
    line-height: 1;
}

.smc-product-card-image {
    background: #f7f9fb;
}

.smc-product-card-body {
    padding: 17px 18px 18px;
}

.smc-card-taxonomy {
    display: flex;
    gap: 6px 10px;
    flex-wrap: wrap;
    min-height: 20px;
    margin-bottom: 7px;
}

.smc-card-taxonomy a {
    color: #65778b;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.smc-card-taxonomy a:first-child {
    color: #075fae;
}

.smc-card-taxonomy a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.smc-product-card h3 {
    display: -webkit-box;
    min-height: 2.7em;
    margin: 2px 0 8px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 1.04rem;
    line-height: 1.35;
}

.smc-card-footer {
    padding-top: 16px;
    border-top: 1px solid #eef2f5;
}

.smc-card-link {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.smc-breadcrumb {
    margin-bottom: 18px;
}

.smc-product-meta-line {
    gap: 8px;
    margin-bottom: 12px;
}

.smc-product-meta-line a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #d9e5ef;
    border-radius: 999px;
    background: #f4f8fb;
    color: #48627b;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

.smc-product-meta-line a:hover {
    border-color: #bcd4e9;
    color: #075fae;
}

.smc-product-meta-line span:not(:last-child)::after {
    content: none;
}

.smc-product-buybox {
    padding: 30px;
}

.smc-product-code {
    margin-top: 8px;
    color: #7b8da0;
}

.smc-product-short {
    margin-top: 18px;
}

.smc-variant-picker {
    padding: 18px;
    margin-top: 24px;
    border: 1px solid #e0e8ef;
    border-radius: 13px;
    background: #f7f9fb;
}

.smc-variant-picker label {
    margin-bottom: 9px;
}

.smc-variant-select {
    background-color: #fff;
}

.smc-product-secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.smc-product-secondary-actions:has(.smc-button:only-child) {
    grid-template-columns: 1fr;
}

.smc-product-details {
    border-top: 0;
    padding-top: 0;
}

.smc-detail-section {
    padding: 28px;
    border: 1px solid var(--smc-border);
    border-radius: 16px;
    background: #fff;
}

.smc-product-details.is-one-column {
    max-width: none;
}

.smc-contact-section {
    margin-top: 42px;
}

.smc-contact-heading h2 {
    margin-bottom: 8px;
}

.smc-contact-heading p {
    max-width: 680px;
}

.smc-related-products {
    margin-top: 64px;
    padding-top: 38px;
    border-top: 1px solid var(--smc-border);
}

.smc-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.smc-related-heading h2 {
    margin: 0;
    color: var(--smc-ink);
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    letter-spacing: -.025em;
}

.smc-related-heading a {
    color: var(--smc-accent);
    font-size: .92rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 680px) {
    .smc-category-shortcuts {
        flex-wrap: nowrap;
        margin-right: -12px;
        padding-right: 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .smc-category-shortcuts::-webkit-scrollbar {
        display: none;
    }

    .smc-category-shortcuts a {
        flex: 0 0 auto;
    }

    .smc-product-secondary-actions {
        grid-template-columns: 1fr;
    }

    .smc-detail-section {
        padding: 22px;
    }

    .smc-related-heading {
        display: block;
    }

    .smc-related-heading a {
        display: inline-block;
        margin-top: 10px;
    }
}

/* =========================================================
 * v0.7 — SEO base / descrizioni landing catalogo
 * ========================================================= */
.smc-catalog-context-description {
    max-width: 760px;
    margin-top: 10px;
    color: var(--smc-muted);
    font-size: 1.03rem;
    line-height: 1.65;
}

.smc-catalog-context-description p {
    margin: 0 0 .55em;
}

.smc-catalog-context-description p:last-child {
    margin-bottom: 0;
}

/* =========================================================
 * v0.8 — contatti diretti + navigazione sottocategorie
 * ========================================================= */

.smc-contact-page-grid-form {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: start;
}

.smc-general-contact-card {
    background: #fff;
}

.smc-general-contact-card h2 {
    margin: 0;
    color: #102a43;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    font-weight: 780;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.smc-contact-title-rule {
    position: relative;
    display: block;
    width: 100px;
    height: 16px;
    margin: 14px 0 24px;
    border-top: 2px solid #52606d;
}

.smc-contact-title-rule::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 50px;
    border-top: 2px solid #52606d;
}

.smc-general-contact-form {
    display: grid;
    gap: 16px;
}

.smc-general-contact-form p {
    margin: 0;
}

.smc-general-contact-form .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.smc-general-contact-form input[type="text"],
.smc-general-contact-form input[type="email"],
.smc-general-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #bac5cf;
    border-radius: 4px;
    background: #fff;
    color: #132235;
    font: inherit;
    outline: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.smc-general-contact-form input[type="text"],
.smc-general-contact-form input[type="email"] {
    min-height: 50px;
}

.smc-general-contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.smc-general-contact-form input:focus,
.smc-general-contact-form textarea:focus {
    border-color: var(--smc-accent);
    box-shadow: 0 0 0 3px rgba(7, 95, 174, .10);
}

.smc-general-contact-form input::placeholder,
.smc-general-contact-form textarea::placeholder {
    color: #68788a;
    opacity: 1;
}

.smc-general-privacy-line {
    padding-top: 4px;
    color: #34495e;
    font-size: .92rem;
    line-height: 1.45;
}

.smc-general-privacy-line label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.smc-general-privacy-line input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: .2em;
}

.smc-general-privacy-line a {
    color: var(--smc-accent);
}

.smc-general-contact-form .smc-button {
    justify-self: start;
    min-width: 122px;
    text-transform: uppercase;
}

.smc-contact-address {
    margin: -8px 0 18px;
    color: #314d65;
    font-size: 1.05rem;
    font-weight: 680;
    line-height: 1.5;
}

.smc-contact-services-wide {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    margin-top: 24px;
    padding: 26px 30px;
    border: 1px solid #d7e3ec;
    border-radius: 20px;
    background: #f8fbfd;
}

.smc-contact-services-wide h2 {
    margin: 0 0 5px;
    color: #102a43;
    font-size: 1.35rem;
}

.smc-contact-services-wide p {
    margin: 0;
    color: #526a80;
}

.smc-subcategory-shortcuts {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: -7px 0 18px;
    padding: 12px 14px;
    border: 1px solid #dce6ef;
    border-radius: 14px;
    background: #f7fafc;
}

.smc-subcategory-label {
    margin-right: 2px;
    color: #6b7f91;
    font-size: .78rem;
    font-weight: 780;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.smc-subcategory-shortcuts a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid #d0dce7;
    border-radius: 999px;
    background: #fff;
    color: #40536a;
    font-size: .83rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
}

.smc-subcategory-shortcuts a:hover {
    transform: translateY(-1px);
    border-color: #b7cada;
    color: var(--smc-accent);
}

.smc-subcategory-shortcuts a.is-active {
    border-color: #9fc6e6;
    background: #e7f2fb;
    color: #075fae;
}

@media (max-width: 900px) {
    .smc-contact-page-grid-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .smc-contact-services-wide {
        align-items: flex-start;
        flex-direction: column;
    }
    .smc-subcategory-shortcuts {
        align-items: flex-start;
    }
    .smc-subcategory-label {
        flex-basis: 100%;
    }
}

/* Header v0.8.1: sticky opzionale e slot lingua integrato. */
.smc-site-header.is-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: saturate(145%) blur(10px);
    -webkit-backdrop-filter: saturate(145%) blur(10px);
}

.admin-bar .smc-site-header.is-sticky {
    top: 32px;
}

.smc-site-language {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding-left: 14px;
    border-left: 1px solid #dce6ef;
    color: #173d62;
    line-height: 1;
}

.smc-site-language > * {
    max-width: 100%;
}

.smc-site-language select {
    min-height: 40px;
    margin: 0;
    padding: 6px 30px 6px 10px;
    border: 1px solid #cfdbe6;
    border-radius: 9px;
    background-color: #fff;
    color: #173d62;
    font: inherit;
    font-size: .88rem;
}

.smc-site-language a {
    min-height: auto;
    padding: 7px 9px;
    font-size: .88rem;
}

@media (max-width: 782px) {
    .admin-bar .smc-site-header.is-sticky {
        top: 46px;
    }
}

@media (max-width: 760px) {
    .smc-site-language {
        min-height: 40px;
        margin-left: 0;
        padding-left: 10px;
    }
}

@media (max-width: 520px) {
    .smc-site-header.is-sticky {
        position: relative;
        top: auto;
    }
    .admin-bar .smc-site-header.is-sticky {
        top: auto;
    }
    .smc-site-language {
        padding-left: 0;
        border-left: 0;
    }
}

