html.ed-local-modal-open, html.ed-local-modal-open body { overflow: hidden !important; }
/* Remove click rings from fields across both the exported and owned forms. */
html[data-ed-input-mode="pointer"] body :is(input, textarea, select):focus {
    outline: none !important;
    box-shadow: none !important;
}
html[data-ed-input-mode="keyboard"] body :is(input, textarea, select):focus-visible {
    outline: 2px solid #07843f80 !important;
    outline-offset: 2px;
}
html[data-ed-input-mode="pointer"] .ed-search:focus-within .ed-search__form,
html[data-ed-input-mode="pointer"] .ed-search--open .ed-search__form {
    border-color: #dfe4e1;
    box-shadow: none !important;
}
.ed-notice { position: fixed; bottom: 28px; left: 50%; z-index: 2147483646; max-width: min(560px, calc(100vw - 32px)); padding: 16px 24px; background: #376d46; color: white; border-radius: 16px; font: 15px/1.5 Roboto, Arial, sans-serif; box-shadow: 0 8px 32px #0002; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; white-space: pre-line; }
.ed-notice-visible { opacity: 1; transform: translate(-50%, 0); }
.ed-notice-error { background: #8a3333; }
.ed-local-error { margin: 0 0 20px; padding: 14px 18px; color: #942f2f; background: #fff0ef; border: 1px solid #edc9c7; border-radius: 12px; font: 15px/1.5 Roboto, Arial, sans-serif; white-space: pre-line; }
.ed-local-error[hidden] { display: none; }
.ed-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 25px; border: 0; border-radius: 30px; background: #376d46; color: #fff !important; font: 500 15px/1.35 Roboto, Arial, sans-serif; text-decoration: none !important; cursor: pointer; box-sizing: border-box; transition: background .15s; }
.ed-button:hover { background: #4b905e; }
/* One control shape for exported pages, owned storefront UI and dialogs. */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.ed-button,
.ed-basket__quantity,
.product-actions > a, .ed-product__checkout,
#allrecords :is(button, input[type="button"], input[type="submit"], input[type="reset"], [role="button"], summary, .t-btn, .t-btnflex, .t-btntext, .t-submit, .t976__menu-link, .thank-btn, .ed-button, .ed-shop-card__action, .ed-product-heights__choice, .treecalc__btn, .ed-header__sticky-catalog, .ed-header__sticky-cart, .ed-header__mobile-catalog) {
    border-radius: var(--ed-shop-control-radius, 7px) !important;
}
.ed-button:disabled, [aria-busy="true"] .ed-button, a[aria-busy="true"] { opacity: .6; pointer-events: none; }
.ed-button:focus-visible, .ed-dialog-close:focus-visible { outline: 3px solid #95bca1; outline-offset: 3px; }
.ed-product-option { display: block; margin: 0 0 15px; color: #222; font: 14px/1.45 Roboto, Arial, sans-serif; }
.ed-product-option > span { display: block; margin-bottom: 6px; }
.ed-product-option select { width: 100%; padding: 13px 38px 13px 15px; border: 1px solid #d2d8d3; border-radius: 8px; background: white; color: #222; font: inherit; min-height: 46px; }
.js-product-controls-wrapper:has(.ed-product-option) { margin: 22px 0; }
.ed-empty { padding: 26px 0; color: #444; font: 16px/1.5 Roboto, Arial, sans-serif; }
.ed-loading, .ed-muted { color: #777; font: 15px/1.5 Roboto, Arial, sans-serif; }
.ed-form-success { background: #edf6ef; color: #285636; margin-bottom: 24px; padding: 20px; border-radius: 15px; font: 15px/1.5 Roboto, Arial, sans-serif; }
.ed-modal-backdrop { position: fixed; inset: 0; z-index: 2147483100; display: flex; align-items: flex-start; justify-content: center; overflow: auto; background: #0006; padding: 7vh 20px; box-sizing: border-box; }
.ed-modal { position: relative; width: 100%; max-width: 850px; padding: 40px; border-radius: 14px; background: white; color: #222; font: 16px/1.5 Roboto, Arial, sans-serif; box-sizing: border-box; }
.ed-modal h2 { margin: 0 40px 28px 0; font-size: 30px; font-weight: 500; }
.ed-dialog-close { position: absolute; right: 16px; top: 12px; width: 38px; height: 38px; border: 0; background: transparent; color: #666; font: 32px/1 Arial, sans-serif; cursor: pointer; }
.ed-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ed-local-grid { display: grid !important; grid-template-columns: repeat(var(--ed-grid-columns, 4), minmax(0, 1fr)); gap: 35px 40px; width: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.ed-local-grid::before, .ed-local-grid::after { content: none !important; display: none !important; }
.ed-local-grid > .t-store__card { float: none !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.ed-load-more[hidden], .ed-empty[hidden] { display: none !important; }
.ed-catalog-controls { margin: 0 auto 28px; max-width: 1160px; padding: 0 20px; box-sizing: border-box; font: 14px/1.45 Roboto, Arial, sans-serif; color: #376d46; }
.ed-catalog-controls-main { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ed-catalog-controls input:not([type="checkbox"]), .ed-catalog-controls select { min-height: 42px; padding: 9px 13px; border: 1px solid #c7d5ca; border-radius: 8px; background: #fff; color: #333; font: inherit; box-sizing: border-box; }
.ed-catalog-query { flex: 1; min-width: 180px; }
.ed-catalog-query input { width: 100%; }
.ed-catalog-category { max-width: 40%; }
.ed-catalog-category select { max-width: 100%; }
.ed-catalog-controls-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 12px; }
.ed-catalog-controls-extra input[type="number"] { width: 100px; min-height: 36px; }
.ed-catalog-available { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px; color: #333; }
.ed-catalog-available input { accent-color: #376d46; width: 16px; height: 16px; }
.ed-filter-reset { padding: 0; background: none; color: #647565; border: 0; border-bottom: 1px dashed currentColor; font: inherit; cursor: pointer; }
.ed-catalog-results-count { margin-left: auto; color: #777; font-size: 12px; }
.ed-local-card { min-width: 0; font: 15px/1.4 Roboto, Arial, sans-serif; color: #222; }
.ed-card-picture { position: relative; margin-bottom: 18px; }
.ed-card-picture-link { position: relative; display: block; width: 100%; padding-bottom: 110%; background: #fff; overflow: hidden; }
.ed-card-picture .t-store__card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.ed-image-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #f1f4f1; color: #6b786b; }
.ed-local-card .t-store__card__title { display: block; color: #222 !important; text-decoration: none !important; font-size: 18px; line-height: 1.4; font-weight: 500; }
.ed-local-card .t-store__card__price-wrapper { margin: 12px 0 18px; }
.ed-local-card .t-store__card__price { font-size: 17px; font-weight: 500; }
.ed-card-old-price { margin-left: 9px; color: #9b9b9b; font-size: 13px; }
.ed-local-card .t-store__card__btns-wrapper { margin-top: auto; }
.ed-local-card .ed-button { min-height: 42px; font-size: 14px; padding: 10px 20px; }
.ed-wish-button { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid #dfe6df; border-radius: 50%; background: white; color: #376d46; font: 26px/1 Arial, sans-serif; cursor: pointer; }
.ed-wish-active, html:root body [data-ed-wish][aria-pressed="true"] { background: white !important; color: #d9303e !important; }
.ed-load-more { display: flex; margin: 30px auto 0; }
.ed-wishlist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.ed-gallery-navigation { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 12px; font: 14px Roboto, Arial, sans-serif; }
.ed-gallery-navigation button { border: 1px solid #d7dfd9; background: white; color: #376d46; border-radius: 50%; width: 38px; height: 38px; font-size: 20px; cursor: pointer; }
@media (min-width: 961px) and (max-width: 1200px) {
    .ed-local-grid { gap: 30px 20px; padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 960px) {
    .ed-local-grid { grid-template-columns: repeat(var(--ed-grid-tablet-columns, 3), minmax(0, 1fr)); gap: 28px 20px; }
}
@media (max-width: 640px) {
    .ed-modal-backdrop { padding: 0; }
    .ed-modal { min-height: 100%; border-radius: 0; padding: 26px 20px; }
    .ed-modal h2 { font-size: 26px; margin-bottom: 24px; }
    .ed-local-grid { grid-template-columns: repeat(var(--ed-grid-mobile-columns, 2), minmax(0, 1fr)); gap: 25px 15px; padding-left: 20px; padding-right: 20px; }
    .ed-catalog-category { max-width: 100%; flex: 1; }
    .ed-catalog-sort { flex: 1; }
    .ed-catalog-sort select { width: 100%; }
    .ed-catalog-results-count { width: 100%; margin: 2px 0 0; }
    .ed-catalog-controls-extra { gap: 7px; }
    .ed-catalog-controls-extra input[type="number"] { width: 85px; }
    .ed-catalog-available { margin-left: 0; }
    .ed-local-card .t-store__card__title { font-size: 15px; }
    .ed-local-card .t-store__card__price { font-size: 15px; }
    .ed-local-card .ed-button { font-size: 12px; min-height: 38px; padding: 9px 15px; }
    .ed-wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .ed-notice { bottom: 16px; padding: 14px 18px; font-size: 14px; }
}

/* Shared button feedback overrides retained per-record effects without moving layout.
   Individual translate preserves transforms used to position existing controls. */
html:root body :is(button, input[type="button"], input[type="submit"], input[type="reset"], .ed-button, .product-actions > a, .ed-product__checkout,
    #allrecords :is([role="button"], summary, .t-btn, .t-btnflex, .t-btntext, .t-submit, .t976__menu-link, .thank-btn, .t-btnwrapper > a, .ed-shop-card__action, .ed-product-heights__choice, .treecalc__btn, .ed-header__action, .ed-header__catalog-control, .ed-header__sticky-catalog, .ed-header__sticky-cart, .ed-header__mobile-catalog, .ed-header__messenger)) {
    box-shadow: none !important;
    translate: 0 0;
    transition: translate 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease !important;
}
@media (hover: hover) and (pointer: fine) {
    html:root body :is(button, input[type="button"], input[type="submit"], input[type="reset"], .ed-button, .product-actions > a, .ed-product__checkout,
    #allrecords :is([role="button"], summary, .t-btn, .t-btnflex, .t-btntext, .t-submit, .t976__menu-link, .thank-btn, .t-btnwrapper > a, .ed-shop-card__action, .ed-product-heights__choice, .treecalc__btn, .ed-header__action, .ed-header__catalog-control, .ed-header__sticky-catalog, .ed-header__sticky-cart, .ed-header__mobile-catalog, .ed-header__messenger)):hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) {
        translate: 0 -2px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html:root body :is(button, input[type="button"], input[type="submit"], input[type="reset"], .ed-button, .product-actions > a, .ed-product__checkout,
    #allrecords :is([role="button"], summary, .t-btn, .t-btnflex, .t-btntext, .t-submit, .t976__menu-link, .thank-btn, .t-btnwrapper > a, .ed-shop-card__action, .ed-product-heights__choice, .treecalc__btn, .ed-header__action, .ed-header__catalog-control, .ed-header__sticky-catalog, .ed-header__sticky-cart, .ed-header__mobile-catalog, .ed-header__messenger)) {
        translate: none !important;
        transition: none !important;
    }
}
/* The two-part catalog control rises as a single button. */
:root body button.ed-header__catalog-toggle { translate: none !important; }

/* Retired thank-you hover transforms must not add a second lift. */
#allrecords .thank-btn { transform: none !important; }

/* Header catalog controls stay fixed in place in every pointer state. */
#allrecords [data-ed-header] :is(.ed-header__catalog-control, .ed-header__catalog-link, .ed-header__catalog-toggle, .ed-header__sticky-catalog, .ed-header__mobile-catalog) {
    box-shadow: none !important;
    translate: none !important;
}
