/* Salvadori blocks: the design remains in design.css; these rules only reset native wrappers. */
@layer sg-baseline {
.sg-page.sg-v3 .sg-addon { width:auto;max-width:none;position:static;min-width:0; }
.sg-page.sg-v3 .sg-part { box-sizing:border-box;min-width:0;white-space:normal; }
.sg-page.sg-v3 label.sg-part {display:inline;}
.sg-page.sg-v3 .sg-part.sg-svg {display:block;line-height:0;}
.sg-page.sg-v3 .sg-part.sg-svg>svg {display:block;width:100%;height:100%;}
}
.sg-page.sg-v3 .sg-rich>p {margin:0;}
.sg-page.sg-v3 .sg-rich>p+p {margin-top:1em;}
.sg-page.sg-v3 .sg-rich>p:last-child {margin-bottom:0;}
.sg-page.sg-v3 .sg-addon .sg-form-row {min-width:0;}
.sg-page.sg-v3 .sg-addon img {max-width:100%;}

.sg-page.sg-v3 .sg-text-content.sg-rich>p+p {margin-top:0;}
.sg-page.sg-v3 .sg-addon textarea {min-height:120px;}

/* Responsive controls remain editable through the saved Elementor styles. */
@media (max-width:767px){
 .sg-page [data-sg-mobile-menu]{top:var(--sg-menu-top,80px);bottom:0;left:0;right:0;height:auto;min-height:0;max-height:calc(100dvh - var(--sg-menu-top,80px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;z-index:1000;}
 .sg-page select{font-size:16px;}
 .sg-page main .elementor-widget-salvadori-button:not([data-sg-category]){max-width:100%;white-space:normal;}
 .sg-page main .elementor-widget-salvadori-button.h-14{height:auto;min-height:3.5rem;padding-top:.75rem;padding-bottom:.75rem;}
 .sg-page [data-widget_type="sg-process.default"]>.sg-part>.absolute{left:1.25rem;}
}

/* Legacy utility translation and Elementor's transform must not both center a dialog. */
.sg-page [data-sg-sample-dialog].sg-open{translate:none;}
@media(max-width:767px){
 .sg-page [data-sg-sample-dialog].sg-open{width:calc(100vw - 2rem);max-width:calc(100vw - 2rem);max-height:calc(100dvh - 2rem);overscroll-behavior:contain;}
}
