/* Adapted from the client's button reference. Persian shaping is preserved. */
body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button:not(.is-link),.comment-form .submit,.search-form button){
 --shams-btn-radius:24px;--shams-btn-bg:#191a17;--shams-btn-text:#f4f0e8;
 position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:12px;
 min-height:48px;max-width:100%;padding:13px 24px;border:1px solid #b89a5e70;border-radius:var(--shams-btn-radius);
 background:linear-gradient(180deg,#303028,var(--shams-btn-bg));color:var(--shams-btn-text);font-family:inherit;font-weight:500;font-size:14px;line-height:1.8;text-decoration:none;text-align:center;white-space:normal;overflow-wrap:anywhere;
 box-shadow:inset 0 1px 1px #fff3,inset 0 4px 8px #ffffff05,0 4px 12px #14141415;
 transition:background .28s ease,border-color .28s ease,box-shadow .28s ease,transform .2s ease;cursor:pointer;-webkit-tap-highlight-color:transparent;
}
body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button:not(.is-link),.search-form button)::before{
 content:"";position:absolute;inset:-4px;border:1px solid #b89a5e26;border-radius:calc(var(--shams-btn-radius) + 4px);pointer-events:none;z-index:-1;
 box-shadow:0 1px 1px #ffffff24;transition:border-color .28s ease,box-shadow .28s ease;
}
body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button:not(.is-link))::after{
 content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(0deg,#c5ab7140,transparent 35%);opacity:0;transition:opacity .28s ease;
}
body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button:not(.is-link),.comment-form .submit,.search-form button):focus-visible{
 outline:3px solid #806331;outline-offset:7px;border-color:#cdb984;box-shadow:inset 0 -3px 10px #b89a5e38,0 0 0 1px #f4f0e8;
}
.site-footer .button:focus-visible,.site-header :is(.button,.search-form button):focus-visible{outline-color:#dec994}
@media(hover:hover){
 body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button:not(.is-link),.comment-form .submit,.search-form button):hover{background:linear-gradient(180deg,#39362a,#1c1e18);color:#fff8e6;border-color:#c7aa6d;box-shadow:inset 0 1px 1px #fff3,inset 0 -5px 15px #b89a5e26,0 5px 15px #1414141a;transform:translateY(-1px)}
 body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button:not(.is-link)):hover::after{opacity:1}
 body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button:not(.is-link)):hover::before{border-color:#b89a5e60;box-shadow:0 0 12px #b89a5e1a}
}
body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button:not(.is-link)):active{transform:translateY(1px);box-shadow:inset 0 2px 8px #0005;border-color:#ddc28a}
body .button.gold{--shams-btn-text:#141414;background:linear-gradient(180deg,#d2bc89,#b89a5e);color:#141414;border-color:#e5d5b0;box-shadow:inset 0 1px 1px #fff7,0 4px 12px #0002}
body .button.gold:hover{background:linear-gradient(180deg,#dfcca2,#c4a76d);color:#141414}
.shams-button-icon{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:1.5;transition:filter .28s ease,transform .28s ease}
.button:hover .shams-button-icon{filter:drop-shadow(0 0 3px #b89a5e70);transform:rotate(8deg)}
body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button):is(:disabled,[aria-disabled=true],.disabled){opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}
.shams-form[aria-busy=true] .button{cursor:progress}.shams-form[aria-busy=true] .button::after{opacity:1;animation:shams-button-pulse 1.4s ease-in-out infinite}
@keyframes shams-button-pulse{50%{opacity:.35}}
.shams-form .submit-status{font-size:12px;color:#625b50;grid-column:1/-1}
@media(max-width:480px){body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button:not(.is-link)){font-size:13px;padding:12px 20px;min-height:48px}.actions{gap:18px}.shams-form .button{width:100%}}
@media(prefers-reduced-motion:reduce){body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button,.search-form button),body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button)::before,body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button)::after,.shams-button-icon{transition:none!important;animation:none!important;transform:none!important}}
@media(forced-colors:active){body :is(.button,.elementor-button,.wp-block-button__link,.wc-block-components-button){border:2px solid ButtonText;background:ButtonFace;color:ButtonText;box-shadow:none}body :is(.button,.elementor-button,.wp-block-button__link)::before,body :is(.button,.elementor-button,.wp-block-button__link)::after{display:none}}
