.pmqa-image-host{position:relative!important}
.pmqa{position:absolute!important;bottom:10px;right:10px;z-index:30;margin:0!important;padding:0!important;width:44px;height:44px}
.pmqa .pmqa-button{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:44px!important;height:44px!important;min-height:44px;margin:0!important;padding:11px!important;border:0!important;background:rgba(248,245,238,.94)!important;color:#25372e!important;line-height:1!important;text-decoration:none!important;cursor:pointer;border-radius:50%!important;box-shadow:none!important;transition:opacity .15s ease,background .15s ease;position:relative!important}
.pmqa .pmqa-button svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.pmqa .pmqa-button:hover{background:#fff!important}.pmqa .pmqa-button:disabled{cursor:wait}.pmqa-loading svg{opacity:.35}.pmqa-success{opacity:1!important}
.pmqa .added_to_cart,.pmqa-native-hidden{display:none!important}
.pmqa a:focus-visible,.pmqa button:focus-visible,.pmqa-toast a:focus-visible,.pmqa-toast button:focus-visible{outline:2px solid #a85334!important;outline-offset:2px}
@media(hover:hover) and (pointer:fine){.pmqa .pmqa-button{opacity:0;pointer-events:none}.pmqa-image-host:hover .pmqa-button,.pmqa-image-host:focus-within .pmqa-button,.pmqa .pmqa-button:focus,.pmqa .pmqa-button.pmqa-success,.pmqa .pmqa-button.pmqa-loading{opacity:1;pointer-events:auto}}
.pmqa-toast[hidden]{display:none!important}
.pmqa-toast{position:fixed;right:20px;bottom:20px;z-index:99999;box-sizing:border-box;width:340px;max-width:calc(100vw - 32px);padding:16px 46px 16px 18px;background:#f8f5ee;border:1px solid #deded3;box-shadow:0 4px 22px #25372e18;color:#25372e;text-align:left}
.pmqa-toast .pmqa-status{font-family:inherit;font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none}
.pmqa-toast .pmqa-status span,.pmqa-toast .pmqa-status a{display:block}.pmqa-toast .pmqa-status a{margin-top:6px;color:inherit;text-decoration:underline;text-underline-offset:3px;font-size:13px;font-weight:400;background:transparent;border:0;padding:0;letter-spacing:0;text-transform:none}
.pmqa-toast .pmqa-estimate{color:#9b442d;margin-top:5px;font-size:12px}
.pmqa-toast .pmqa-dismiss{position:absolute;right:3px;top:3px;width:40px;height:40px;padding:0;border:0;background:transparent;color:#25372e;cursor:pointer;font-family:inherit;font-size:25px;line-height:40px;letter-spacing:0}
@media(max-width:600px){.pmqa{bottom:6px;right:6px}.pmqa-toast{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:calc(100vw - 32px)}}
@media(prefers-reduced-motion:reduce){.pmqa .pmqa-button{transition:none}}

/* 1.1.1: confirmation anchored to the clicked icon, without repeating the product title. */
.pmqa-toast{right:auto!important;bottom:auto!important;width:280px;max-width:calc(100vw - 24px);padding:13px 40px 13px 15px;border-radius:4px;box-shadow:0 5px 18px #25372e14;background:#fbf9f3}
.pmqa-toast .pmqa-status{font-size:12px;line-height:1.45}
.pmqa-toast:not(.pmqa-error) .pmqa-status>span:first-child{font-size:13px;font-weight:500;white-space:nowrap}
.pmqa-toast:not(.pmqa-error) .pmqa-status>span:first-child:before{content:'✓';margin-right:7px;color:#3b624d;font-size:13px}
.pmqa-toast .pmqa-status a{font-size:12px;margin-top:7px;text-decoration-color:#9ba69d}
.pmqa-toast .pmqa-estimate{font-size:11px;line-height:1.4;margin-top:5px;overflow-wrap:anywhere}
.pmqa-toast .pmqa-dismiss{width:32px;height:32px;line-height:32px;font-size:21px;right:2px;top:3px}
@media(max-width:600px){.pmqa-toast{width:280px;max-width:calc(100vw - 24px)}}

/* 1.1.2: concise delivery estimate on one line; preorder badge stays on the image. */
.pmqa-toast .pmqa-estimate{white-space:nowrap;font-size:11px;letter-spacing:-.1px;overflow-wrap:normal}

/* 1.1.3: below-photo confirmation; full preorder wording in a smaller single line. */
.pmqa-toast{width:320px;padding-right:34px}
.pmqa-toast .pmqa-estimate{font-size:10.5px;white-space:nowrap;letter-spacing:-.15px}
@media(max-width:600px){.pmqa-toast{width:320px;max-width:calc(100vw - 24px)}}

/* 1.1.4: intrinsic width follows the longest line, with no fixed-width empty space. */
.pmqa-toast{width:max-content!important;min-width:0!important;max-width:calc(100vw - 24px)!important;padding:10px 32px 10px 12px!important}
.pmqa-toast .pmqa-status{width:max-content;max-width:100%}
.pmqa-toast.pmqa-error{width:280px!important}
.pmqa-toast.pmqa-error .pmqa-status{width:auto}
.pmqa-toast .pmqa-status a{margin-top:5px}
.pmqa-toast .pmqa-dismiss{top:1px;right:0}

/* 1.1.6: immediate tooltip, independent of the browser's native title delay. */
.pmqa .pmqa-button:after{content:attr(data-tooltip);display:none;position:absolute;right:0;bottom:calc(100% + 5px);width:max-content;max-width:220px;box-sizing:border-box;padding:5px 8px;border:1px solid #deded3;border-radius:2px;background:#fbf9f3;color:#25372e;font-family:inherit;font-size:11px;font-weight:400;line-height:1.35;letter-spacing:0;text-transform:none;white-space:nowrap;pointer-events:none;z-index:40;box-shadow:0 2px 6px #25372e0b}
@media(hover:hover) and (pointer:fine){.pmqa .pmqa-button:hover:after{display:block}.pmqa .pmqa-button{transition:none}}
.pmqa .pmqa-button:focus-visible:after{display:block}

/* 1.1.7: smaller mobile affordance and compact confirmation; desktop unchanged. */
@media(max-width:600px){
 .pmqa{width:40px;height:40px;right:1px;bottom:1px}
 .pmqa .pmqa-button{width:40px!important;height:40px!important;min-height:40px!important;padding:12px!important;background:transparent!important;border-radius:0!important;isolation:isolate}
 .pmqa .pmqa-button:before{content:'';position:absolute;inset:6px;border-radius:50%;background:rgba(248,245,238,.94);z-index:-1}
 .pmqa .pmqa-button svg{width:16px!important;height:16px!important;flex-shrink:0;stroke-width:1.5}
 .pmqa .pmqa-button:hover{background:transparent!important}
 .pmqa-toast{padding:7px 25px 7px 9px!important;border-radius:3px;box-shadow:0 3px 12px #25372e12}
 .pmqa-toast .pmqa-status{font-size:11px;line-height:1.35}
 .pmqa-toast:not(.pmqa-error) .pmqa-status>span:first-child{font-size:11px;line-height:1.4}
 .pmqa-toast:not(.pmqa-error) .pmqa-status>span:first-child:before{font-size:11px;margin-right:5px}
 .pmqa-toast .pmqa-status a{font-size:10.5px;line-height:1.4;margin-top:4px}
 .pmqa-toast .pmqa-estimate{font-size:9.5px;line-height:1.35;margin-top:4px;letter-spacing:-.1px}
 .pmqa-toast .pmqa-dismiss{width:25px;height:27px;line-height:27px;font-size:17px;right:0;top:1px}
}

/* 1.1.9: wider mobile catalogue; retain the existing badges and typography. */
@media(max-width:600px){
 body:not(.home):is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.pmnc-category) .qodef-pl-main-holder>ul.products{
  box-sizing:border-box!important;
  width:calc(100vw - 24px)!important;max-width:none!important;
  margin-left:calc((100% - (100vw - 24px))/2)!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:12px!important;row-gap:22px!important;
 }
 body:not(.home):is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.pmnc-category) .qodef-pl-main-holder>ul.products>li.product{
  width:auto!important;min-width:0;float:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;
 }
}

@media(max-width:600px){
 body:not(.home):is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.pmnc-category) .qodef-pl-main-holder>ul.products::before,
 body:not(.home):is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.pmnc-category) .qodef-pl-main-holder>ul.products::after{display:none!important}
}
/* Compact, thumb-friendly NOMAD Original size selection. */
.pmqa-toast.pmqa-size-picker{width:264px!important;padding:11px 12px 12px!important;max-width:calc(100vw - 24px)!important}
.pmqa-toast.pmqa-size-picker .pmqa-status{width:100%!important}
.pmqa-toast.pmqa-size-picker .pmqa-size-title{font-size:12px!important;line-height:1.4!important;padding-right:24px;margin:0 0 10px!important;white-space:normal!important}
.pmqa-toast.pmqa-size-picker .pmqa-size-title::before{content:none!important;display:none!important}
.pmqa-toast .pmqa-size-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.pmqa-toast .pmqa-size-choice{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;width:100%!important;min-width:0;min-height:58px!important;margin:0!important;padding:7px 2px!important;border:1px solid #d8d9cf!important;border-radius:3px!important;background:transparent!important;color:#25372e!important;font-family:inherit!important;text-transform:none!important;letter-spacing:0!important;line-height:1.2!important;cursor:pointer;box-shadow:none!important}
.pmqa-toast .pmqa-size-choice strong{font-size:13px!important;font-weight:600!important;line-height:1.2!important}
.pmqa-toast .pmqa-size-choice span{font-size:11px!important;line-height:1.2!important;white-space:nowrap}
.pmqa-toast .pmqa-size-choice small{font-size:9px!important;line-height:1.2!important;color:#9b442d;white-space:nowrap}
.pmqa-toast .pmqa-size-choice:hover:not(:disabled){background:#e8ecdf!important;border-color:#6a7d69!important}
.pmqa-toast .pmqa-size-choice:disabled{opacity:.45;cursor:default}
@media(max-width:600px){.pmqa-toast.pmqa-size-picker{width:252px!important;padding:9px 10px 10px!important}.pmqa-toast.pmqa-size-picker .pmqa-size-title{font-size:11px!important;margin-bottom:8px!important}}

/* 1.2.3: tighten mobile photo/title/price rhythm without changing typography. */
@media(max-width:600px){
body:not(.home):is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.pmnc-category) .qodef-pl-main-holder>ul.products>li.product{margin-bottom:0!important}
body:not(.home):is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.pmnc-category) .qodef-pl-main-holder>ul.products>li.product .qodef-pl-text-wrapper{margin-top:16px!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}
body:not(.home):is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.pmnc-category) .qodef-pl-main-holder>ul.products>li.product .qodef-product-list-title{margin-top:0!important;margin-bottom:8px!important}
body:not(.home):is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.pmnc-category) .qodef-pl-main-holder>ul.products>li.product .price{margin-top:0!important;margin-bottom:0!important}
}

/* Immediate acknowledgement while WooCommerce validates the cart operation. */
.pmqa-toast.pmqa-pending .pmqa-status>span:first-child::before{content:'';display:inline-block;box-sizing:border-box;width:10px;height:10px;border:1px solid #aab3a7;border-top-color:#25372e;border-radius:50%;margin-right:7px;vertical-align:0;animation:pmqa-wait .7s linear infinite}
@keyframes pmqa-wait{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pmqa-toast.pmqa-pending .pmqa-status>span:first-child::before{animation:none}}
