/* Each mps-kit-* treatment is present only while its native control is still at the kit's release value. */
body.mp-studio-kit {
    background-color: var(--mp-studio-paper);
    color: var(--mp-studio-ink);
    font-family: var(--mp-studio-sans);
}
body.mp-studio-kit .elementor .elementor-element.mps-kit-bg-paper { background-color: var(--mp-studio-paper); }
body.mp-studio-kit .elementor .elementor-element.mps-kit-bg-wash { background-color: #eae9e1; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-bg-lavender { background-color: #e3e7fb; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-bg-blue { background-color: var(--mp-studio-cobalt); }
body.mp-studio-kit .elementor .elementor-element.mps-kit-bg-ink { background-color: var(--mp-studio-ink); }
body.mp-studio-kit .elementor .elementor-element.mps-kit-bg-coal { background-color: #252623; }

.mp-studio-kit .elementor-element.mps-kit-fg-ink { --mps-el-color: #171817; }
.mp-studio-kit .elementor-element.mps-kit-fg-muted { --mps-el-color: #545650; }
.mp-studio-kit .elementor-element.mps-kit-fg-blue { --mps-el-color: #2e43ca; }
.mp-studio-kit .elementor-element.mps-kit-fg-pale { --mps-el-color: #faf9f2; }
.mp-studio-kit .elementor-element.mps-kit-fg-light { --mps-el-color: #d6d7cd; }
.mp-studio-kit .elementor-element.mps-kit-fg-flax { --mps-el-color: #eed778; }
body.mp-studio-kit .elementor .elementor-element[class*="mps-kit-fg-"] :is(.elementor-heading-title, .elementor-button, .elementor-icon),
body.mp-studio-kit .elementor .elementor-element.elementor-widget-text-editor[class*="mps-kit-fg-"],
body.mp-studio-kit .elementor .elementor-element.elementor-widget-text-editor[class*="mps-kit-fg-"] > .elementor-widget-container {
    color: var(--mps-el-color);
}
body.mp-studio-kit .elementor .elementor-element[class*="mps-kit-fg-"] .elementor-icon svg { fill: currentColor; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-type-sans :is(.elementor-heading-title, .elementor-button),
body.mp-studio-kit .elementor .elementor-element.mps-kit-type-sans.elementor-widget-text-editor,
body.mp-studio-kit .elementor .elementor-element.mps-kit-type-sans.elementor-widget-text-editor > .elementor-widget-container {
    font-family: var(--mp-studio-sans);
}
body.mp-studio-kit .elementor .elementor-element.mps-kit-type-italic .elementor-heading-title { font-family: var(--mp-studio-serif); }
body.mp-studio-kit .elementor .elementor-element.mps-kit-italic .elementor-heading-title { font-style: italic; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-display-size .elementor-heading-title {
    font-size: clamp(44px, 6.7vw, 104px);
}
body.mp-studio-kit .elementor .elementor-element.mps-kit-display-weight .elementor-heading-title { font-weight: 650; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-display-weight.mps-kit-italic .elementor-heading-title { font-weight: 500; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-display-track .elementor-heading-title { letter-spacing: -.071em; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-display-track.mps-kit-italic .elementor-heading-title { letter-spacing: -.065em; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-display-lead .elementor-heading-title { line-height: 1.01; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-head-weight .elementor-heading-title { font-weight: 650; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-head-track .elementor-heading-title { letter-spacing: -.035em; }

body.mp-studio-kit .elementor .elementor-element.mps-kit-btn-blue .elementor-button {
    background-color: #2e43ca;
    transition: background-color .18s ease, box-shadow .18s ease;
}
body.mp-studio-kit .elementor .elementor-element.mps-kit-btn-hover .elementor-button:is(:hover, :focus-visible) { background-color: #2234a2; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-btn-hover-fg .elementor-button:is(:hover, :focus-visible) { color: #fff; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-btn-corners .elementor-button { border-radius: 3px; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-image-corners img { border-radius: 3px; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-mat-corners { --border-radius: 3px; }

body.mp-studio-kit .elementor .elementor-element.mps-kit-nav,
body.mp-studio-kit .elementor .elementor-element.mps-kit-feature-band,
body.mp-studio-kit .elementor .elementor-element.mps-kit-hero { box-shadow: inset 0 -1px 0 #d9d7cf; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-hero-padding {
    --padding-top: clamp(28px, 4vw, 72px);
    --padding-bottom: clamp(34px, 4.1vw, 80px);
    --padding-left: clamp(20px, 4.4vw, 78px);
    --padding-right: clamp(20px, 4.4vw, 78px);
}
body.mp-studio-kit .elementor .elementor-element.mps-kit-stage-layout {
    --flex-wrap: wrap;
    --flex-wrap-mobile: wrap;
    align-content: flex-start;
    min-width: 0;
}
body.mp-studio-kit .mps-kit-stagebay mp-product-sculpture {
    flex: 0 0 100%;
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1.57;
    overflow: hidden;
    border-radius: 4px;
    background-color: #2e43ca;
}
body.mp-studio-kit .elementor .elementor-element.mps-kit-choice-layout:has(.mps-kit-choice-photo) {
    display: grid;
    grid-template-columns: clamp(40px, 4.25vw, 62px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: clamp(8px, 1.15vw, 18px);
    row-gap: 0;
    border-bottom: 1px solid #d5d4cb;
    min-width: 0;
}
body.mp-studio-kit .mps-kit-choice-layout > .mps-kit-choice-photo { grid-row: 1 / 3; }
body.mp-studio-kit .mps-kit-choice-layout > :is(.elementor-widget-button, .elementor-widget-heading) { min-width: 0; }
body.mp-studio-kit .elementor .elementor-element.mps-kit-choice-title .elementor-heading-title { font-size: clamp(15px, 1.28vw, 20px); }
body.mp-studio-kit .elementor .elementor-element.mps-kit-photo-mat { box-shadow: inset 0 0 0 1px #17181712; overflow: clip; }
body.mp-studio-kit :is(.mp-el-card, [class*="mp-group--"]) a:focus-visible { outline-offset: -2px; }
body.mp-studio-kit .mp-el-tools :is(input, select) { background: #fffefa; color: #171817; border-color: #999c91; border-radius: 3px; min-height: 46px; }
body.mp-studio-kit .mp-el-tools input:focus-visible, body.mp-studio-kit .mp-el-tools select:focus-visible { outline: 2px solid #2e43ca; }
body.mp-studio-kit .mp-el-count { color: #545650; }
body.mp-studio-kit .mp-el-extra img { background: #eae9e1; border-radius: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    body.mp-studio-kit .mps-kit-nav .elementor-button:hover .elementor-button-text,
    body.mp-studio-kit .mp-el-card .elementor-heading-title a:hover { text-decoration: underline; text-underline-offset: .22em; }
}
@media (max-width: 767px) {
    body.mp-studio-kit .elementor .elementor-element.mps-kit-display-size .elementor-heading-title { font-size: clamp(43px, 13vw, 77px); }
    body.mp-studio-kit .elementor .elementor-element.mps-kit-hero-padding { --padding-top: 30px; --padding-bottom: 28px; }
    body.mp-studio-kit .mps-kit-stagebay mp-product-sculpture { aspect-ratio: 1.52; }
    body.mp-studio-kit .elementor .elementor-element.mps-kit-choice-layout:has(.mps-kit-choice-photo) { grid-template-columns: 35px minmax(0, 1fr); column-gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    body.mp-studio-kit .elementor .elementor-element.mps-kit-btn-blue .elementor-button { transition: none; }
}
/* Reserve the stage at first paint, even if scripts are delayed or disabled. */
body.mp-studio-kit .elementor .elementor-element.mps-kit-stage-layout.e-con-full:not(:has(mp-product-sculpture))::before,
body.mp-studio-kit .elementor .mps-kit-stage-layout:not(:has(mp-product-sculpture)) > .e-con-inner::before {
    content: "";
    position: relative;
    inset: auto;
    display: block;
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1.57;
    z-index: auto;
    opacity: 1;
    border-radius: 4px;
    background: url("stage-jar.webp") center / auto 94% no-repeat, linear-gradient(140deg, #2538ad, #5267ed 48%, #292fa6);
    pointer-events: none;
}
@media (max-width: 767px) {
    body.mp-studio-kit .elementor .elementor-element.mps-kit-stage-layout.e-con-full:not(:has(mp-product-sculpture))::before,
    body.mp-studio-kit .elementor .mps-kit-stage-layout:not(:has(mp-product-sculpture)) > .e-con-inner::before { aspect-ratio: 1.52; }
}
/* A catalog image with a different intrinsic ratio still occupies a consistent photo mat. */
body.mp-studio-kit .elementor .mp-el-card .elementor-element.mps-kit-card-photo a {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
}
body.mp-studio-kit .elementor .mp-el-card .elementor-element.mps-kit-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media (max-width: 767px) {
    body.mp-studio-kit .elementor .mps-kit-nav-flow > .e-con-inner:has(.mps-kit-mobile-menu) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        column-gap: 10px;
        row-gap: 0;
    }
    body.mp-studio-kit .mps-kit-nav-flow .mps-kit-nav-tools { justify-self: end; }
    body.mp-studio-kit .mps-kit-nav-flow .mps-kit-mobile-menu,
    body.mp-studio-kit .mps-kit-nav-flow .mps-kit-mobile-menu :is(.elementor-widget-container,.e-n-accordion,.e-n-accordion-item) { display: contents; }
    body.mp-studio-kit .mps-kit-nav-flow .mps-kit-mobile-menu .e-n-accordion-item-title {
        grid-column: 3;
        grid-row: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 42px;
        min-height: 44px;
        padding: 0;
        border: 0;
        color: #171817;
    }
    body.mp-studio-kit .mps-kit-nav-flow .mps-kit-mobile-menu .e-n-accordion-item-title-header {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    body.mp-studio-kit .mps-kit-nav-flow .mps-kit-mobile-menu .e-n-accordion-item > :not(summary) { grid-column: 1/-1; }
    /* Keep all original accordion elements selectable in Elementor's editing view. */
    body.mp-studio-kit.elementor-editor-active .mps-kit-nav-flow .mps-kit-mobile-menu { display: block; grid-column: 1/-1; }
}
