:root {
    --abl-action-bg: var(--abl-shop-button-bg, var(--abl-root-button-bg, #315f50));
    --abl-action-hover: var(--abl-shop-button-hover, var(--abl-root-button-hover, #254c40));
    --abl-action-text: var(--abl-shop-button-text, var(--abl-root-button-text, #fff));
    --abl-action-tint: #eef4f0;
    --abl-action-radius: 7px;
}

body :is(.btn, .gallery-filter-toggle, .homepage-gift-vouchers-button),
body .homepage-discover-form button,
body main .content-wrapper .homepage-visual-submit,
body .homepage-contact .homepage-contact-submit .btn-submit,
body main :is(.discover-form button, .discover-visual-submit),
body :is(.product-help, .room-preview-controls) button,
body :is(.selection-page, .selection-dialog) .selection-primary,
body .selection-page :is(.selection-cart, .selection-browse) {
    border-radius: var(--abl-action-radius);
    font-weight: 600;
}

body .btn-primary,
body main .gift-voucher-purchase .btn:not(:disabled),
body .gallery-filter-toggle,
body main :is(.discover-form button, .discover-visual-submit),
body :is(.product-help, .room-preview-controls) button,
body :is(.selection-page, .selection-dialog) .selection-primary,
body .selection-page :is(.selection-cart, .selection-browse),
body main .orientation-menu li.current > a,
body main .orientation-menu li:hover > a {
    border-color: var(--abl-action-bg);
    background-color: var(--abl-action-bg);
    color: var(--abl-action-text);
}

body :is(.btn-primary, .gallery-filter-toggle):is(:hover, :focus-visible):not(:disabled),
body main :is(.discover-form button, .discover-visual-submit):is(:hover, :focus-visible):not(:disabled),
body :is(.product-help, .room-preview-controls) button:is(:hover, :focus-visible):not(:disabled),
body :is(.selection-page, .selection-dialog) .selection-primary:is(:hover, :focus-visible):not(:disabled),
body .selection-page :is(.selection-cart, .selection-browse):is(:hover, :focus-visible),
body main .gift-voucher-purchase .btn:is(:hover, :focus-visible):not(:disabled) {
    border-color: var(--abl-action-hover);
    background-color: var(--abl-action-hover);
    color: var(--abl-action-text);
}

body :is(.btn, .gallery-filter-toggle, .homepage-gift-vouchers-button, .homepage-visual-submit, .discover-visual-submit):focus-visible {
    outline: 2px solid var(--abl-action-bg);
    outline-offset: 3px;
}

body .sky-mega-menu .search button.button:not(:has(> i)) {
    border-radius: var(--abl-action-radius);
    background-color: var(--abl-action-bg);
    color: var(--abl-action-text);
    font-weight: 600;
    opacity: 1;
    transition: background-color .15s ease;
}

body .sky-mega-menu .search button.button:not(:has(> i)):is(:hover, :focus-visible) {
    background-color: var(--abl-action-hover);
}

body .sky-mega-menu .search button.button:not(:has(> i)):focus-visible {
    outline: 2px solid var(--abl-action-bg);
    outline-offset: 2px;
}

/* Icon-only controls retain their size and placement. */
body :is(header, footer) .link-icons :is(a, .search i),
body .free-shipping-band .account-cart-icons a,
body header .header-discover-search button,
body .geo-zoom-controls button,
body .product-recommendations-navigation button:is([data-recommendations-prev], [data-recommendations-next]),
body main .content-wrapper .article .article-link-arrow,
body main .content-wrapper.homepage-content .homepage-monthly-pick-tags a.button,
body main > .product-support .product-related-searches a.button,
body main > .product.product-layout .product-editorial-actions :is(.product-field-notes-link, .room-preview-open, .selection-add, .selection-create-help),
body .selection-page .selection-photo .selection-photo-actions .selection-cart {
    color: var(--abl-action-bg);
}

body .geo-zoom-controls button,
body main > .product.product-layout .product-editorial-actions :is(.product-field-notes-link, .room-preview-open, .selection-product-actions) {
    border-radius: var(--abl-action-radius);
}

body main > .product.product-layout .product-editorial-actions :is(.product-field-notes-link, .room-preview-open, .selection-product-actions):hover,
body .geo-zoom-controls button:hover:not(:disabled) {
    background-color: var(--abl-action-tint);
    color: var(--abl-action-hover);
}

body .selection-page .selection-photo .selection-photo-actions .selection-cart { background: none; border: 0; }
body .selection-page .selection-photo .selection-photo-actions .selection-cart:hover { color: var(--abl-action-hover); }
body :is(.selection-page, .selection-dialog) button:not(.selection-primary, [data-selection-remove], [aria-pressed="true"]),
body main .product .selection-create-panel button {
    border-radius: var(--abl-action-radius);
    color: var(--abl-action-bg);
}
body :is(.selection-page, .selection-dialog) button:not(.selection-primary, [data-selection-remove], [aria-pressed="true"]):hover,
body main .product .selection-create-panel button:hover {
    border-color: var(--abl-action-bg);
    background-color: var(--abl-action-tint);
    color: var(--abl-action-hover);
}
body .selection-icon-hint p { background-color: var(--abl-action-bg); }
body a.shared-selection-indicator.selection-icon-highlight::after { border-color: var(--abl-action-bg); }

body :is(.go-back-wrapper, .scroll-top-wrapper, .nav-forward-wrapper, .nav-backward-wrapper, .shop-fullscreen-toggle),
body main:has(.homepage-quick-access[data-return-to-menu]) .scroll-top-wrapper {
    background-color: var(--abl-action-bg);
}

body :is(.go-back-wrapper, .scroll-top-wrapper, .nav-forward-wrapper, .nav-backward-wrapper, .shop-fullscreen-toggle):is(:hover, :focus-visible),
body main:has(.homepage-quick-access[data-return-to-menu]) .scroll-top-wrapper:is(:hover, :focus-visible) {
    background-color: var(--abl-action-hover);
}
