/* Shared solid controls, loaded after page-specific styles. */
#shop>.load-more,#shop>.home-all-products{display:flex;width:fit-content;max-width:100%;min-height:48px;margin:26px auto 18px;padding:12px 22px;text-align:center}
:is(button,.button,.checkout-action){box-sizing:border-box;transition:box-shadow .18s ease,background-color .18s ease,border-color .18s ease;filter:none;opacity:1}
:is(.button,button.primary,button.add,.browse-toggle,.checkout-action,button.quote-open:not(.retail-promo)){display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.3;border:1px solid #1760df;border-radius:7px;background:#1760df;color:#fff;box-shadow:0 3px 12px #dce7fa;text-decoration:none}
:is(.button,button.primary,button.add,.browse-toggle,.checkout-action):not(:disabled):hover{background:#124fbc;border-color:#124fbc;box-shadow:0 0 0 2px #d4e2ff,0 5px 17px #cadbf5;filter:none}
button.text-button{background:#204d63;color:#fff;padding:10px 16px;border-radius:6px}
button.wish{background:#fff;border:1px solid #d0dce5;display:inline-flex;align-items:center;justify-content:center;padding:0}
#search-submit{display:inline-flex;align-items:center;justify-content:center;background:#1760df;color:#fff;border:1px solid #1760df;padding:0;line-height:1}
#wishlist-open{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#204d63;border:1px solid #d0dce5;border-radius:8px;min-width:44px;min-height:44px;padding:8px}
.filter-tabs button{background:#fff;color:#204d63;border:1px solid #d0dce5;opacity:1}
.filter-tabs button.active{background:#1760df;color:#fff;border-color:#1760df}
:is(button,.button,.checkout-action):focus-visible{outline:3px solid #5e94fb;outline-offset:3px;filter:none}
:is(button,.button,.checkout-action):disabled,:is(button,.button,.checkout-action)[aria-disabled=true],#checkout button:disabled{opacity:1;background:#e1e7ed;color:#586b79;border-color:#c9d4de;box-shadow:none;filter:none;cursor:not-allowed}
/* Fixed icon box prevents glyph baselines and inherited padding displacing the X. */
dialog .dialog-head{gap:16px;align-items:center;min-width:0}
dialog .dialog-head h2{flex:1 1 auto;min-width:0;margin:0;line-height:1.25}



.ui-icon,.action-icon{display:block;flex-shrink:0;width:20px;height:20px;vertical-align:middle;pointer-events:none}
.basket-row button{flex:0 0 40px;width:40px;height:40px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:#204d63;color:#fff;border:1px solid #204d63;border-radius:6px;line-height:1}
.pdp-quantity button{padding:0;display:inline-flex;align-items:center;justify-content:center;background:#204d63;color:#fff;line-height:1}
.pdp-bulk button{background:#1760df;color:white;border-radius:6px;padding:10px 14px;margin-left:0}
#checkout .dialog-head{padding:12px 0 18px}
#checkout button,#checkout .checkout-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 17px;border:1px solid #204d63;background:#204d63;color:#fff;font-weight:600;line-height:1.3;opacity:1;white-space:normal;text-align:center}
#checkout button:hover,#checkout .checkout-action:hover{background:#16394b;border-color:#16394b;filter:none}
#checkout button.primary{background:#1760df;border-color:#1760df;color:#fff}
#checkout button.primary:hover{background:#124fbc;border-color:#124fbc}
#checkout #whatsapp-share{background:#087d3e;border:1px solid #087d3e;color:#fff;box-shadow:0 3px 12px #d5eadc}
#checkout #whatsapp-share:hover{background:#066932;border-color:#066932;box-shadow:0 0 0 2px #ccebd9,0 5px 17px #d5eadc}
#checkout .actions{align-items:stretch;gap:12px}
#checkout .actions>*{flex:1 1 185px;min-width:0}
#checkout .action-icon{flex:0 0 22px;width:22px;height:22px}
#checkout .action-label{min-width:0;overflow-wrap:anywhere}
#checkout button:disabled,#checkout button.primary:disabled{opacity:1;background:#e1e7ed;color:#586b79;border-color:#c9d4de;box-shadow:none;filter:none}
#checkout .preview-heading{align-items:flex-start;flex-wrap:wrap}
#checkout input[type=checkbox]{width:20px!important;height:20px;min-height:20px;vertical-align:middle;accent-color:#1760df;flex-shrink:0}
@media(max-width:760px){#checkout .dialog-head h2{font-size:22px}#checkout .actions>*{flex-basis:100%}#checkout .preview-heading>strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){:is(button,.button,.checkout-action){transition:none}}
@media print{:is(button,.button,.checkout-action){box-shadow:none!important;filter:none!important}}

/* Close geometry is final so action padding can never override it. */
.nav-wrap{background:#fff;border-top:1px solid #dbe5ed;border-bottom:1px solid #dbe5ed}
.nav-wrap nav{color:#223d4d}
.nav-wrap nav>a{color:#223d4d!important;border-bottom:3px solid transparent;display:flex;align-items:center;text-decoration:none}
.nav-wrap nav>a.active,.nav-wrap nav>a:hover{color:#1760df!important;border-bottom-color:#1760df}
.nav-wrap .browse-toggle{background:#1760df;border-color:#1760df;border-radius:0;box-shadow:none}
.nav-wrap nav .nav-quote{background:#204d63;border-color:#204d63;color:#fff!important;box-shadow:none;padding:10px 15px;min-height:42px;border-radius:6px}
.nav-wrap .browse-toggle:hover,.nav-wrap nav .nav-quote:hover{box-shadow:none}
.sidebar-help{min-width:0}
.sidebar-help button.quote-open{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:100%;min-height:48px;padding:12px 16px;margin-top:18px;border:1px solid #1760df;border-radius:8px;background:#1760df;color:#fff;font-size:14px;font-weight:700;line-height:1.4;white-space:normal;text-align:left;box-sizing:border-box;box-shadow:none}
.sidebar-help button.quote-open:hover{background:#124fbc;border-color:#124fbc;box-shadow:0 3px 10px #dce7fa}
.sidebar-help button.quote-open .ui-icon{display:block;width:20px;height:20px;flex:0 0 20px;margin:0}
dialog .dialog-head button[data-close],#checkout .dialog-head button[data-close]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;max-width:44px;min-height:44px;max-height:44px;padding:0;margin:0;line-height:1;font-size:20px;box-sizing:border-box;border:1px solid #204d63;border-radius:8px;background:#204d63;color:#fff;box-shadow:none;overflow:hidden}
dialog .dialog-head button[data-close]:hover,#checkout .dialog-head button[data-close]:hover{background:#16394b;border-color:#16394b;box-shadow:none}
dialog .dialog-head button[data-close] svg{display:block;flex:0 0 20px;width:20px;height:20px;margin:0;pointer-events:none}

/* Visibility always wins over shared button display styles. */
[hidden]{display:none!important}
