.hmr-open{width:min(100%,420px);min-height:58px;margin:0 auto;border:1px solid rgba(20,127,129,.16);border-radius:15px;padding:7px 14px;display:flex;align-items:center;justify-content:center;gap:11px;background:linear-gradient(135deg,var(--hm-primary,#147f81),var(--hm-secondary,#2d9b93));color:#fff;cursor:pointer;box-shadow:0 9px 22px rgba(20,127,129,.16);font:inherit;transition:transform .2s,box-shadow .2s}.hmr-open:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(20,127,129,.21)}.hmr-open-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:rgba(255,255,255,.14);display:grid;place-items:center}.hmr-open svg,.hmr-head svg{width:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hmr-open span:last-child{display:flex;flex-direction:column;text-align:right}.hmr-open b{font-size:16px;line-height:1.4}.hmr-open small{font-size:11px;opacity:.8;margin-top:1px}.hmr-lock{overflow:hidden}.hmr-modal[hidden]{display:none!important}.hmr-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px}.hmr-backdrop{position:absolute;inset:0;border:0;background:rgba(4,20,38,.7);backdrop-filter:blur(9px);opacity:0;transition:.25s}.hmr-dialog{position:relative;width:min(620px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:30px;padding:28px;box-shadow:0 30px 90px rgba(4,20,38,.32);direction:rtl;transform:translateY(20px) scale(.98);opacity:0;transition:.28s}.hmr-modal.is-open .hmr-backdrop,.hmr-modal.is-open .hmr-dialog{opacity:1;transform:none}.hmr-close{position:absolute;left:18px;top:18px;width:40px;height:40px;border:0;border-radius:13px;background:#f1f5f7;color:#536477;font-size:26px;cursor:pointer}.hmr-head{display:flex;align-items:center;gap:14px;padding:2px 0 20px}.hmr-head>span{width:62px;height:62px;display:grid;place-items:center;border-radius:20px;color:#fff;background:linear-gradient(135deg,var(--hm-primary,#147f81),var(--hm-secondary,#2d9b93))}.hmr-head small{color:#24938e;font-weight:700}.hmr-head h2{margin:3px 0;font-size:27px;color:#163b4b}.hmr-head p{margin:0;color:#7a8997;font-size:13px}.hmr-product{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#f4faf9,#eef6f8);border:1px solid #dcebec;border-radius:20px;padding:12px;margin-bottom:18px}.hmr-product img{width:74px;height:74px;object-fit:contain;background:#fff;border-radius:15px}.hmr-product div{display:flex;flex-direction:column;gap:5px}.hmr-product small{color:#78909a}.hmr-product strong{color:#163b4b}.hmr-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hmr-dialog label{display:flex;flex-direction:column;gap:7px;margin-bottom:13px;color:#43566b;font-size:13px;font-weight:700}.hmr-dialog label span small{font-weight:400;color:#96a1ad}.hmr-dialog input,.hmr-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #dbe5ea;border-radius:14px;background:#fff;padding:13px 15px;font:inherit;color:#172f3d;outline:none;transition:.2s}.hmr-dialog input:focus,.hmr-dialog textarea:focus{border-color:#279692;box-shadow:0 0 0 4px rgba(39,150,146,.1)}.hmr-dialog textarea{resize:vertical}.hmr-feedback{min-height:22px;color:#d94b4b;font-size:13px}.hmr-submit{width:100%;height:54px;border:0;border-radius:15px;background:linear-gradient(135deg,var(--hm-primary,#147f81),var(--hm-secondary,#2d9b93));color:#fff;font:inherit;font-weight:800;cursor:pointer}.hmr-submit.is-loading span{opacity:.5}.hmr-submit.is-loading i{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:hmr-spin .7s linear infinite}.hmr-success{text-align:center;padding:38px 12px 20px}.hmr-success>span{width:76px;height:76px;margin:auto;display:grid;place-items:center;border-radius:24px;background:#e9f8f3;color:#1b9b76;font-size:38px}.hmr-success h3{font-size:25px;color:#163b4b;margin:18px 0 8px}.hmr-success p{color:#71828e}.hmr-success button{border:0;border-radius:13px;padding:12px 28px;background:#163b4b;color:#fff;font:inherit;cursor:pointer}@keyframes hmr-spin{to{transform:rotate(360deg)}}
.hmr-product-toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;border-radius:14px;background:#f1f8f8}.hmr-product-toggle>div{display:flex;flex-direction:column;gap:5px}.hmr-product-toggle small{color:#61777b}.hmr-product-toggle label input{display:none}.hmr-product-toggle label span{display:block;width:52px;height:28px;border-radius:20px;background:#b7c3c6;position:relative;cursor:pointer}.hmr-product-toggle label span:after{content:"";position:absolute;width:22px;height:22px;top:3px;right:3px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 6px #789}.hmr-product-toggle input:checked+span{background:#19928d}.hmr-product-toggle input:checked+span:after{transform:translateX(-24px)}.hmr-table-wrap{overflow:auto}.hmr-status{display:inline-block;padding:5px 9px;border-radius:20px;background:#fff4d9;color:#956800;font-weight:600}.hmr-notified{background:#e5f7ef;color:#087a58}.hmr-settings-card,.hmr-details{max-width:850px;background:#fff;border:1px solid #dce4e7;border-radius:18px;padding:22px;margin-top:20px;box-shadow:0 8px 25px rgba(30,60,80,.06)}.hmr-details{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hmr-details p{margin:0;padding:14px;background:#f5f8f9;border-radius:12px}.hmr-details strong,.hmr-details span{display:block}.hmr-details span{margin-top:6px}.post-type-homira_restock .page-title-action{display:none}
@media(max-width:640px){.hmr-modal{display:flex;align-items:flex-end;padding:0}.hmr-dialog{width:100%;max-height:92vh;border-radius:26px 26px 0 0;padding:22px 18px 24px;transform:translateY(100%)}.hmr-grid{grid-template-columns:1fr}.hmr-head{padding-left:42px}.hmr-head>span{width:52px;height:52px;border-radius:17px}.hmr-head h2{font-size:23px}.hmr-product img{width:62px;height:62px}.hmr-open{width:min(100%,360px);min-height:56px;border-radius:14px}.hmr-details{grid-template-columns:1fr}}
.hmr-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.hmr-fields .hmr-notes textarea{min-height:48px}.hmr-success-icon i{font-size:38px;line-height:1}.hmr-success-icon{border:1px solid rgba(27,155,118,.12);box-shadow:0 10px 28px rgba(27,155,118,.13)}
@media(max-width:640px){.hmr-dialog{max-height:88vh;border-radius:22px 22px 0 0;padding:14px 14px 16px}.hmr-close{left:12px;top:12px;width:34px;height:34px;border-radius:11px;font-size:22px}.hmr-head{gap:10px;padding:0 0 10px 38px}.hmr-head>span{width:44px;height:44px;flex:0 0 44px;border-radius:14px}.hmr-head svg{width:20px}.hmr-head small{font-size:10px}.hmr-head h2{font-size:20px;margin:1px 0}.hmr-head p{font-size:10px;line-height:1.5}.hmr-product{gap:9px;padding:7px 9px;margin-bottom:10px;border-radius:14px}.hmr-product img{width:48px;height:48px;border-radius:10px}.hmr-product small{font-size:9px}.hmr-product strong{font-size:11px;line-height:1.5}.hmr-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 8px}.hmr-dialog label{gap:4px;margin-bottom:7px;font-size:10px}.hmr-dialog input,.hmr-dialog textarea{height:40px;min-height:40px;border-radius:10px;padding:8px 9px;font-size:11px}.hmr-fields .hmr-notes textarea{height:40px;min-height:40px;resize:none}.hmr-feedback{min-height:14px;font-size:10px}.hmr-submit{height:44px;border-radius:12px;font-size:12px}.hmr-success{padding:12px 8px 4px}.hmr-success>span{width:54px;height:54px;border-radius:17px}.hmr-success-icon i{font-size:29px}.hmr-success h3{font-size:19px;margin:11px 0 5px}.hmr-success p{font-size:11px;line-height:1.7;margin:0 auto 12px;max-width:290px}.hmr-success button{padding:9px 22px;border-radius:10px;font-size:11px}}
/* Admin settings card: a compact, visual control panel for the active
 * back-in-stock pattern without changing the front-end popup. */
.hmr-settings{max-width:1180px;margin:26px 22px 0 0;direction:rtl;color:#17324d}.hmr-settings>h1{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-size:28px;font-weight:800;letter-spacing:-.3px}.hmr-settings>h1:before{content:"↗";width:44px;height:44px;display:grid;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(135deg,#17324d,#278f89);font-size:24px;box-shadow:0 10px 24px rgba(39,143,137,.2)}.hmr-settings-card{position:relative;overflow:hidden;max-width:none;margin-top:0;padding:30px 34px 34px;border:1px solid #dbe8ea;border-radius:24px;background:linear-gradient(145deg,#fff 0%,#fbffff 58%,#f1faf9 100%);box-shadow:0 18px 45px rgba(23,50,77,.1)}.hmr-settings-card:before{content:"";position:absolute;left:-55px;top:-75px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(39,143,137,.18),rgba(39,143,137,0) 70%);pointer-events:none}.hmr-settings-card h2{position:relative;margin:0 0 7px;font-size:23px}.hmr-settings-card>p{position:relative;margin:0 0 25px;color:#6c7f8b;font-size:13px}.hmr-settings-card>p strong{display:inline-flex;margin-right:5px;padding:6px 12px;border-radius:999px;background:#e4f6f1;color:#168178}.hmr-settings-card form{position:relative}.hmr-settings-card .form-table{margin:0;border-collapse:separate;border-spacing:0 12px}.hmr-settings-card .form-table th{width:190px;padding:17px 18px;border-radius:0 15px 15px 0;background:#edf7f7;color:#36586d;font-size:13px;vertical-align:top}.hmr-settings-card .form-table td{padding:10px 16px;border:1px solid #e0ecee;border-right:0;border-radius:15px 0 0 15px;background:rgba(255,255,255,.85)}.hmr-settings-card input.regular-text,.hmr-settings-card textarea.large-text{width:100%;max-width:620px;border:1px solid #d5e4e8;border-radius:13px;background:#fff;padding:12px 14px;color:#17324d;box-shadow:inset 0 1px 2px rgba(23,50,77,.03);transition:border-color .2s,box-shadow .2s}.hmr-settings-card textarea.large-text{min-height:96px;resize:vertical;line-height:1.9}.hmr-settings-card input.regular-text:focus,.hmr-settings-card textarea.large-text:focus{border-color:#278f89;box-shadow:0 0 0 4px rgba(39,143,137,.11);outline:0}.hmr-settings-card .description{margin:8px 0 0;color:#7b8b95;font-size:12px}.hmr-settings-card .description code{display:inline-block;margin-left:5px;padding:4px 8px;border-radius:7px;background:#f1f5f6;color:#27827e}.hmr-settings-card .button-primary{min-width:160px;border:0;border-radius:13px;padding:10px 20px;background:linear-gradient(135deg,#278f89,#176d70);font-size:14px;font-weight:700;box-shadow:0 10px 22px rgba(39,143,137,.2);transition:transform .2s,box-shadow .2s}.hmr-settings-card .button-primary:hover{transform:translateY(-1px);box-shadow:0 14px 27px rgba(39,143,137,.28)}
@media(max-width:782px){.hmr-settings{margin:18px 12px 0}.hmr-settings>h1{font-size:22px}.hmr-settings-card{padding:22px 16px}.hmr-settings-card .form-table th,.hmr-settings-card .form-table td{display:block;width:auto;border-radius:12px;border:1px solid #e0ecee}.hmr-settings-card .form-table td{border-top:0;border-radius:12px;margin-top:-8px;padding:14px}.hmr-settings-card .form-table th{padding:12px 14px}.hmr-settings-card input.regular-text,.hmr-settings-card textarea.large-text{max-width:none}}
/* Product interaction hardening: decorative layers never participate in hit testing. */
.hm-product-page:before,.hm-product-page:after,.hm-product-shell:before,.hm-product-shell:after,.hm-product-summary:before,.hm-product-summary:after,.hm-buy-card:before,.hm-buy-card:after,.hm-seller-card:before,.hm-seller-card:after,.hm-feature-preview:before,.hm-feature-preview:after,.hm-feature-preview article:before,.hm-feature-preview article:after,.hm-detail-card:before,.hm-detail-card:after,.hm-product-stage:before,.hm-product-stage:after{pointer-events:none!important;user-select:none!important}.hm-product-page a,.hm-product-page button,.hm-product-page [role=button],.hm-product-page input,.hm-product-page select,.hm-product-page textarea{position:relative;pointer-events:auto;z-index:3}.hm-product-page a,.hm-product-page button,.hm-product-page [role=button],.hm-product-page select{cursor:pointer!important}.hm-product-page input,.hm-product-page textarea{cursor:text!important}.hm-feature-preview,.hm-feature-preview article,.hm-product-highlights,.hm-product-highlights li{cursor:default;user-select:text}
html body>.hmr-modal{position:fixed!important;z-index:2147483647!important;inset:0!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:24px!important;overflow:auto!important;isolation:isolate!important;transform:none!important;contain:none!important;pointer-events:auto!important}.hmr-modal:not(.is-open),html body>.hmr-modal[hidden]{display:none!important;pointer-events:none!important}.hmr-modal.is-open{display:grid!important}.hmr-modal .hmr-backdrop{position:fixed!important;z-index:1!important;inset:0!important;width:100vw!important;height:100dvh!important;background:rgba(5,16,30,.82)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;pointer-events:auto!important}.hmr-modal .hmr-dialog{position:relative!important;z-index:2!important;margin:auto!important;pointer-events:auto!important;touch-action:pan-y}.single-product [hidden]{pointer-events:none!important}body.hmr-lock{overflow:hidden!important;overscroll-behavior:none!important;touch-action:none}body.hmr-lock>.dn-header,body.hmr-lock>.dn-mobile-sticky-nav,body.hmr-lock>.dn-mobile-buybar{pointer-events:none!important}body:not(.hmr-lock)>.hmr-modal{pointer-events:none!important}
@media(max-width:640px){html body>.hmr-modal{display:flex!important;align-items:flex-end!important;padding:0!important}html body>.hmr-modal[hidden],html body>.hmr-modal:not(.is-open){display:none!important}.hmr-modal .hmr-dialog{margin:auto 0 0!important}}
