/* APVR 8.41 — ONE purchase component. The theme supplies the page columns only.
   None of these selectors restyle other WooCommerce products. */
.apvr-buy{--apvr-ink:#35322d;--apvr-soft:#746e66;--apvr-line:#d8d1c5;--apvr-line-strong:#c7bcab;--apvr-canvas:#faf8f3;--apvr-panel:#f6f1e8;--apvr-accent:#cdc3b1;--apvr-accent-strong:#b9ad99;--apvr-radius:8px;width:100%;min-width:0;color:var(--apvr-ink);font-family:inherit}
.apvr-buy *, .apvr-buy *::before,.apvr-buy *::after{box-sizing:border-box}
.apvr-buy [hidden]{display:none!important}
.apvr-buy h3,.apvr-buy p,.apvr-buy label{margin-top:0}
.apvr-buy .apvr-buy-editor,.apvr-buy .apvr-buy-form,.apvr-buy .single_variation_wrap,.apvr-buy .apvr-buy-options{width:100%;min-width:0}
.apvr-buy .apvr-buy-options.variations{display:grid;gap:20px;margin:0 0 18px;padding:0;border:0;background:transparent;min-width:0;box-shadow:none}
.apvr-buy .apvr-native-scale{margin:0 0 22px;padding:0;width:100%}
.apvr-buy .apvr-native-scale-heading{font-size:15px;line-height:1.4;margin:0 0 12px;color:var(--apvr-ink)}
.apvr-buy .apvr-buy-group{margin:0;min-width:0}
.apvr-buy .apvr-buy-label{display:block;margin:0 0 10px;color:var(--apvr-ink);font-weight:500;font-size:15px;line-height:1.35}
.apvr-buy .apvr-buy-select{height:48px;max-width:100%;padding:0 14px;border:1px solid var(--apvr-line);border-radius:var(--apvr-radius);background:var(--apvr-canvas);color:var(--apvr-ink);font:inherit}
/* The native selects remain present for WooCommerce and the Material Panel JS. */
/* Progressive enhancement: never hide the native Woo select until the panel JS actually renders. */
.apvr-buy .apvr-buy-material:has(.aim-fabric-picker .aim-fabric-selected)>.apvr-buy-select{display:none}
.apvr-buy .apvr-buy-material .aim-fabric-picker:empty{display:none}
.apvr-buy .apvr-buy-material .aim-fabric-picker{display:block;width:100%;margin:0}
.apvr-buy .apvr-buy-material .aim-fabric-selected{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:72px;padding:16px 16px 16px 18px;border:1px solid var(--apvr-line);border-radius:var(--apvr-radius);background:var(--apvr-canvas);box-shadow:none}
.apvr-buy .apvr-buy-material .aim-fabric-selected:hover{background:#f4f0e8;border-color:var(--apvr-line-strong);box-shadow:none}
.apvr-buy .apvr-buy-material .aim-fabric-change-text{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 18px;border:1px solid var(--apvr-line-strong);border-radius:6px;background:transparent;box-shadow:none;color:var(--apvr-ink)}
.apvr-buy .apvr-buy-internal-mode{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.apvr-buy .reset_variations{display:none}
.apvr-buy .woocommerce-variation.single_variation{margin:0 0 10px}
.apvr-buy .woocommerce-variation-price{font-weight:500}
.apvr-buy .apvr-buy-cart{display:grid;gap:14px;min-width:0}
.apvr-buy .apvr-buy-length{margin:0 0 4px}
.apvr-buy .apvr-buy-length-control{display:inline-flex;align-items:center;gap:12px;width:auto;max-width:100%;min-height:52px;padding:10px 12px;border:1px solid var(--apvr-line);border-radius:999px;background:var(--apvr-canvas);overflow:visible}
.apvr-buy .apvr-buy-length-control .apvr-buy-step{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;margin:0;padding:0;border:1px solid var(--apvr-line-strong);border-radius:999px;background:#fff;color:var(--apvr-ink);font-size:22px;line-height:1;cursor:pointer;box-shadow:none;outline-offset:2px}
.apvr-buy .apvr-buy-length-control .apvr-buy-step:hover{background:#f3efe6;border-color:#b9ae9d}
.apvr-buy .apvr-buy-length-control input.qty{display:block;width:3.2ch;min-width:3.2ch;height:auto;margin:0;padding:0;text-align:right;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--apvr-ink);font:inherit;font-size:28px;line-height:1;font-weight:400;font-variant-numeric:tabular-nums;-moz-appearance:textfield}
.apvr-buy .apvr-buy-length-control input.qty::-webkit-inner-spin-button,.apvr-buy .apvr-buy-length-control input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.apvr-buy .apvr-buy-unit{display:inline-block;min-width:1ch;text-align:left;font-size:18px;line-height:1;color:var(--apvr-soft)}
.apvr-buy .apvr-buy-actions{display:grid;gap:12px;width:100%;margin-top:4px}
.apvr-buy .apvr-buy-actions .apvr-buy-cta.single_add_to_cart_button{display:flex!important;justify-content:center;align-items:center;width:100%;min-width:0;min-height:54px;margin:0;padding:14px 18px;border:1px solid var(--apvr-line-strong)!important;border-radius:var(--apvr-radius)!important;color:var(--apvr-ink)!important;background:var(--apvr-canvas)!important;font:inherit;font-size:15px;font-weight:500;text-align:center;letter-spacing:0;text-transform:none;line-height:1.3;box-shadow:none!important;transform:none;transition:background .18s,border-color .18s,color .18s;cursor:pointer}
.apvr-buy .apvr-buy-actions .apvr-buy-cta.single_add_to_cart_button::before,.apvr-buy .apvr-buy-actions .apvr-buy-cta.single_add_to_cart_button::after{display:none!important}
.apvr-buy .apvr-buy-actions .apvr-buy-primary.single_add_to_cart_button{background:var(--apvr-canvas)!important;border-color:var(--apvr-line-strong)!important}
.apvr-buy .apvr-buy-actions .apvr-buy-primary.single_add_to_cart_button:hover:not(:disabled):not(.disabled){background:#f1ece3!important;border-color:#b9ae9d!important;color:var(--apvr-ink)!important}
.apvr-buy .apvr-buy-actions .apvr-buy-secondary.single_add_to_cart_button{background:var(--apvr-accent)!important;border-color:var(--apvr-accent)!important}
.apvr-buy .apvr-buy-actions .apvr-buy-secondary.single_add_to_cart_button:hover:not(:disabled):not(.disabled){background:var(--apvr-accent-strong)!important;border-color:var(--apvr-accent-strong)!important;color:var(--apvr-ink)!important}
.apvr-buy .apvr-buy-actions .apvr-buy-cta.single_add_to_cart_button:is(:disabled,.disabled,[aria-disabled="true"]){opacity:1!important;background:#efebe4!important;border-color:#e2dacd!important;color:#938c81!important;cursor:not-allowed;pointer-events:none}
.apvr-buy :is(input,select,button):focus-visible{outline:2px solid #73695b;outline-offset:2px}
.apvr-buy .apvr-buy-status,.apvr-buy .apvr-mural-purchase-feedback{display:flex;align-items:center;gap:9px;padding:12px 14px;margin:0;border:1px solid #e2dbcf;border-radius:var(--apvr-radius);background:#f3f0e9;color:#6f6659;font-size:13px;line-height:1.5}
.apvr-buy .apvr-buy-status[data-state="error"]{background:#faf0eb;border-color:#e5c7bd;color:#8b4033}
.apvr-buy .apvr-mural-purchase-feedback-icon{display:none}
.apvr-buy .apvr-mural-print-error{display:none}
.apvr-buy .aim-wpc13-result,.apvr-buy .aim-mural-result{width:100%;margin:0;padding:15px 16px;border:1px solid var(--apvr-line);border-radius:var(--apvr-radius);background:var(--apvr-canvas);box-shadow:none}
.apvr-buy .aim-wpc13-result>strong,.apvr-buy .aim-mural-result>strong{font-size:16px;font-weight:550}
.apvr-buy .aim-wpc13-fields input,.apvr-buy .aim-mural-fields input{border:1px solid var(--apvr-line);border-radius:var(--apvr-radius);background:var(--apvr-canvas);box-shadow:none}
.apvr-buy .aim-mural-type-total{display:flex;margin:0 0 4px}
.apvr-buy .apvr-buy-intro{padding:0 0 10px}
.apvr-buy .apvr-buy-intro h3{font-weight:400;font-size:clamp(21px,1.8vw,27px);letter-spacing:-.025em;line-height:1.2;margin:0 0 11px}
.apvr-buy .apvr-buy-intro>p{margin:0 0 20px;color:var(--apvr-soft);font-size:14px;line-height:1.55}
.apvr-buy .apvr-buy-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;padding:16px 0;margin:0 0 17px;border-top:1px solid var(--apvr-line);border-bottom:1px solid var(--apvr-line)}
.apvr-buy .apvr-buy-steps li{display:flex;gap:7px;align-items:baseline;color:var(--apvr-ink);font-size:12px}
.apvr-buy .apvr-buy-steps b{color:#a79b88;font-weight:600}
.apvr-buy .apvr-buy-start{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:53px;margin:0;padding:13px 18px;background:var(--apvr-accent);border:1px solid var(--apvr-accent);border-radius:var(--apvr-radius);box-shadow:none;color:var(--apvr-ink);font:inherit;font-size:14px;font-weight:500;cursor:pointer;transition:background .18s}
.apvr-buy .apvr-buy-start:hover{background:#bdb19d;border-color:#bdb19d;box-shadow:none;color:var(--apvr-ink)}
.apvr-buy .apvr-buy-start span{font-size:19px}
.apvr-buy--mural .apvr-buy-editor> .apvr-buy-group{margin:0 0 23px}
.apvr-buy--mural .apvr-buy-editor> .apvr-buy-group>h3{font-size:16px;font-weight:500;margin:0 0 12px}
.apvr-buy .apvr-mural-purchase-feedback{margin:0}
@media(max-width:600px){.apvr-buy .apvr-buy-steps{gap:4px}.apvr-buy .apvr-buy-steps li{font-size:11px;flex-direction:column;gap:2px}.apvr-buy .apvr-buy-length-control{display:flex;width:100%;justify-content:space-between;padding-inline:10px}.apvr-buy .apvr-buy-length-control input.qty{width:3.4ch;min-width:3.4ch;font-size:24px}}
@media(prefers-reduced-motion:reduce){.apvr-buy *, .apvr-buy *::before,.apvr-buy *::after{transition:none}}

/* Woo's variation engine may hide this region before the variation is chosen;
   a configurator must always show disabled actions with one explanatory notice. */
.apvr-buy form.variations_form .single_variation_wrap{display:block!important}
.apvr-buy form.variations_form .woocommerce-variation-add-to-cart{display:grid!important}
.apvr-buy .apvr-buy-summary{display:grid;gap:5px;padding:16px;border:1px solid var(--apvr-line);border-radius:var(--apvr-radius);background:var(--apvr-canvas)}
.apvr-buy .apvr-buy-summary>span{font-size:12px;color:var(--apvr-soft)}
.apvr-buy .apvr-buy-summary>strong{font-size:16px;font-weight:550}
.apvr-buy .apvr-buy-summary-total{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--apvr-line);margin-top:9px;padding-top:13px;font-size:14px}
.apvr-buy .apvr-buy-summary-total>strong{font-size:18px;font-weight:600}

/* 8.41 — one consistent purchase composition. Scoped to APVR to avoid changing theme widgets. */
.apvr-buy .apvr-buy-options,.apvr-buy .apvr-buy-material,.apvr-buy .apvr-buy-material .aim-fabric-picker,
.apvr-buy .apvr-buy-material .aim-fabric-selected{width:100%;max-width:none;min-width:0}
.apvr-buy .apvr-buy-material .aim-fabric-picker{margin:0}
.apvr-buy .apvr-buy-material .aim-fabric-selected{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:15px 17px;min-height:74px}
.apvr-buy--mural .aim-mural-fields{margin-bottom:16px}
.apvr-buy--mural .aim-mural-result{margin-top:16px}
.apvr-buy .apvr-buy-options.variations{margin-bottom:22px}
.apvr-buy .apvr-buy-actions{gap:11px;margin-top:2px}
.apvr-buy .apvr-buy-action-row{display:grid;grid-template-columns:minmax(180px,218px) minmax(0,1fr);align-items:end;column-gap:14px;width:100%;min-width:0}
.apvr-buy .apvr-buy-action-row>.apvr-buy-cta{min-width:0}
.apvr-buy .apvr-buy-action-row .apvr-buy-length{width:100%;min-width:0;margin:0}
.apvr-buy .apvr-buy-action-row .apvr-buy-length .apvr-buy-label{margin:0 0 8px}
.apvr-buy .apvr-buy-action-row .apvr-buy-length-control{display:flex;justify-content:space-between;gap:5px;width:100%;min-height:54px;padding:8px 9px;border-radius:8px;background:var(--apvr-canvas)}
.apvr-buy .apvr-buy-action-row .apvr-buy-length-control .apvr-buy-step{flex:0 0 32px;width:32px;height:32px;font-size:19px}
.apvr-buy .apvr-buy-action-row .apvr-buy-length-control input.qty{font-size:21px;min-width:3.1ch;width:3.1ch;text-align:right}
.apvr-buy .apvr-buy-action-row .apvr-buy-unit{font-size:13px}
.apvr-buy .apvr-buy-cta .apvr-buy-icon{display:inline-block;flex:0 0 18px;width:18px;height:18px;margin-right:10px;vertical-align:middle}
.apvr-buy .apvr-buy-cta .apvr-buy-lock{display:none;align-items:center;margin-left:9px}
.apvr-buy .apvr-buy-cta .apvr-buy-lock .apvr-buy-icon{margin:0;width:14px;height:14px}
.apvr-buy .apvr-buy-actions .apvr-buy-cta.single_add_to_cart_button:is(:disabled,.disabled,[aria-disabled="true"]){background:#f0ede7!important;border-color:#ded8ce!important;border-style:dashed!important;color:#958e83!important}
.apvr-buy .apvr-buy-cta:is(:disabled,.disabled,[aria-disabled="true"])>.apvr-buy-icon{opacity:.3}
.apvr-buy .apvr-buy-cta:is(:disabled,.disabled,[aria-disabled="true"]) .apvr-buy-lock{display:inline-flex;opacity:.6}
.apvr-buy .apvr-buy-utility{display:flex;justify-content:flex-end;margin:4px 0 0}
.apvr-buy .apvr-buy-clear{display:inline-flex;align-items:center;gap:6px;width:auto;min-height:35px;border:0;background:transparent;color:#857b6e;padding:5px 1px;box-shadow:none;font:inherit;font-size:12px;line-height:1.4;cursor:pointer}
.apvr-buy .apvr-buy-clear .apvr-buy-icon{width:12px;height:12px}
.apvr-buy .apvr-buy-clear:hover{color:#4a443b;background:transparent;text-decoration:underline;box-shadow:none}
@media (max-width:510px){.apvr-buy .apvr-buy-action-row{grid-template-columns:minmax(0,1fr);gap:12px}.apvr-buy .apvr-buy-action-row .apvr-buy-length-control{max-width:100%}.apvr-buy .apvr-buy-action-row .apvr-buy-length{width:100%}}

/* 8.42 — precision-aligned Fabric purchase row and calm disabled actions. */
.apvr-buy .apvr-buy-action-row{align-items:end}
.apvr-buy .apvr-buy-action-row .apvr-buy-length-control{
 height:54px!important;min-height:54px!important;max-height:54px!important;
 box-sizing:border-box;padding:6px 9px!important;
}
.apvr-buy .apvr-buy-actions .apvr-buy-action-row>.apvr-buy-cta.single_add_to_cart_button{
 height:54px!important;min-height:54px!important;max-height:54px!important;
 box-sizing:border-box;
}
.apvr-buy .apvr-buy-actions .apvr-buy-cta:is(:disabled,.disabled,[aria-disabled="true"]) .apvr-buy-lock{display:none!important}
.apvr-buy .apvr-buy-actions .apvr-buy-cta.single_add_to_cart_button:is(:disabled,.disabled,[aria-disabled="true"]){
 background:#f3f0ea!important;border:1px dashed #ded8ce!important;
 color:#aaa196!important;box-shadow:none!important;cursor:not-allowed;
}
.apvr-buy .apvr-buy-actions .apvr-buy-cta.single_add_to_cart_button:is(:disabled,.disabled,[aria-disabled="true"])>.apvr-buy-icon{opacity:.28}
@media(max-width:510px){.apvr-buy .apvr-buy-action-row .apvr-buy-length-control{height:54px}}

/* 8.43: visible but quiet pre-purchase guidance. Avoid a dark error banner. */
.apvr-buy .apvr-buy-status:not([hidden]){align-items:center;gap:12px;
 border:1px solid #e1d8c9;border-left:3px solid #c0ad91;
 background:#f8f5ef;color:#655c50;padding:13px 16px;
 font-weight:500;line-height:1.5;box-shadow:none}
.apvr-buy .apvr-buy-status:not([hidden])::before{
 content:'!';display:inline-grid;place-items:center;flex:0 0 21px;
 width:21px;height:21px;border:1px solid #c6b9a6;border-radius:50%;
 background:#fcfaf6;color:#85735f;font-size:12px;font-weight:600}
.apvr-buy .apvr-buy-status[data-state="error"]:not([hidden]){
 background:#faf3ee;border-left-color:#c99d87;border-color:#e6d6cb;color:#805c4e}

/* 8.44: quiet actionable checklist, one notice box for all incomplete steps. */
.apvr-buy .apvr-buy-status:not([hidden]){display:block;min-width:0;padding:12px 16px;
 background:#f8f5ef;border:1px solid #e1d8c9;border-left:3px solid #c0ad91;color:#655c50}
.apvr-buy .apvr-buy-status:not([hidden])::before{display:none}
.apvr-buy .apvr-buy-status-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.apvr-buy .apvr-buy-status-list li{position:relative;margin:0;padding:0 0 0 19px;font:inherit;font-size:13px;line-height:1.55;color:inherit}
.apvr-buy .apvr-buy-status-list li::before{content:'';position:absolute;top:.62em;left:0;
 width:7px;height:7px;border:1px solid #bba98f;border-radius:50%;background:#ede5d8}
/* Explicit SVG paths are centred on the control, independent of typeface baselines. */
.apvr-buy .apvr-buy-length-control .apvr-buy-step{display:flex;align-items:center;justify-content:center;
 font-size:0;line-height:0;padding:0!important}
.apvr-buy .apvr-buy-length-control .apvr-buy-step svg{display:block;flex:0 0 16px;
 width:16px;height:16px;overflow:visible;fill:none;stroke:currentColor;
 stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

.apvr-buy-print-quality-note{font-size:12px;line-height:1.5;color:#8a8276;margin:0 0 12px}

/* APVR AJAX cart: compact inline loader; Woo/Minimog retains all cart UI. */
.apvr-buy .apvr-buy-actions .apvr-buy-primary.is-apvr-adding{cursor:wait!important;pointer-events:none}
.apvr-buy .apvr-buy-actions .apvr-buy-primary.is-apvr-adding::before{content:"";display:inline-block!important;flex:0 0 15px;width:15px;height:15px;margin-right:9px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:apvr-cart-spin .7s linear infinite}
.apvr-buy .apvr-buy-actions .apvr-buy-primary.is-apvr-adding>.apvr-buy-icon{display:none}
.apvr-buy .apvr-ajax-message:not([hidden]){margin:10px 0 0;padding:10px 12px;border:1px solid #e5c7bd;border-radius:6px;color:#8b4033;background:#faf0eb;font-size:13px;line-height:1.5}
@keyframes apvr-cart-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.apvr-buy .apvr-buy-actions .apvr-buy-primary.is-apvr-adding::before{animation:none}}

/* The APVR AJAX purchase already opens Minimog's fly-cart. Do not show a second View Cart link. */
.apvr-buy a.added_to_cart.wc-forward{display:none!important}


/* Phase 2B purchase polish (8.66): metre value/unit stay together. */
.apvr-buy .apvr-buy-action-row .apvr-buy-length-control .apvr-buy-length-measure{
 display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:0 1 auto;min-width:0;margin-inline:auto;
}
.apvr-buy .apvr-buy-action-row .apvr-buy-length-measure input.qty{
 flex:0 0 auto;width:calc(1ch + 3px);min-width:0!important;max-width:7.5ch;
 margin:0!important;padding:0!important;line-height:1.2;text-align:right;
}
.apvr-buy .apvr-buy-action-row .apvr-buy-length-measure .apvr-buy-unit{
 flex:0 0 auto;display:inline-block;margin:0;padding:0;min-width:0;
 font-size:13px;line-height:1.2;color:var(--apvr-soft);
}
/* Clear all is a secondary action, not an invisible text link or another purchase CTA. */
.apvr-buy .apvr-buy-utility{justify-content:flex-start;margin:9px 0 0}
.apvr-buy .apvr-buy-utility .apvr-buy-clear{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 min-height:42px;min-width:0;width:auto;padding:10px 16px;
 border:1px solid var(--apvr-line-strong);border-radius:var(--apvr-radius);
 background:transparent;color:var(--apvr-ink);box-shadow:none;
 font:inherit;font-size:13px;font-weight:500;line-height:1.2;text-decoration:none;
 transition:background .18s,border-color .18s;
}
.apvr-buy .apvr-buy-utility .apvr-buy-clear .apvr-buy-icon{width:14px;height:14px}
.apvr-buy .apvr-buy-utility .apvr-buy-clear:hover{background:#f2ede5;border-color:#a99e8b;color:var(--apvr-ink);text-decoration:none;box-shadow:none}
.apvr-buy .apvr-buy-utility .apvr-buy-clear:focus-visible{outline:2px solid #73695b;outline-offset:3px}

/* 8.67: reset belongs to configuration, not checkout. */
.apvr-buy .apvr-buy-options-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 13px;padding:0 0 9px;border-bottom:1px solid #e4ddd2;font-size:12px;line-height:1.3;color:#857b6e}
.apvr-buy .apvr-buy-options-heading .apvr-buy-clear{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid transparent;border-radius:6px;background:transparent;color:#766f65;box-shadow:none;font:inherit;font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap}
.apvr-buy .apvr-buy-options-heading .apvr-buy-clear:hover{background:#f1ece3;border-color:#ded4c5;color:#35322d;text-decoration:none}
.apvr-buy .apvr-buy-options-heading .apvr-buy-clear:focus-visible{outline:2px solid #73695b;outline-offset:2px}
.apvr-buy .apvr-buy-options-heading .apvr-buy-icon{width:13px;height:13px}
.apvr-buy .apvr-buy-options.variations{margin-top:0}
@media(max-width:420px){.apvr-buy .apvr-buy-options-heading{gap:7px}.apvr-buy .apvr-buy-options-heading .apvr-buy-clear{padding:6px;font-size:11px}}

/* Invalid print rules are errors; incomplete choices remain neutral. */
.apvr-buy .apvr-buy-status[data-state="error"]:not([hidden]){border:1px solid #c9594c!important;border-left:4px solid #b9382b!important;background:#fff0ed!important;color:#982d23!important;font-weight:600}
.apvr-buy.apvr-buy--invalid-print .apvr-buy-status-list{color:#982d23}

/* 8.68: A visible, calm secondary reset in the configuration header. */
.apvr-buy .apvr-buy-options-heading .apvr-buy-clear{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:8px!important;flex-shrink:0;min-height:40px!important;
 padding:8px 14px!important;border:1px solid #cfc2b0!important;
 border-radius:7px!important;background:transparent!important;color:#554c43!important;
 font-size:13px!important;font-weight:500!important;text-decoration:none!important;
 box-shadow:none!important;opacity:1!important;
 transition:background-color .16s ease,border-color .16s ease!important;
}
.apvr-buy .apvr-buy-options-heading .apvr-buy-clear:hover{
 background:#f3eee7!important;border-color:#ab9981!important;color:#3e3731!important;
 text-decoration:none!important;
}
.apvr-buy .apvr-buy-options-heading .apvr-buy-clear:focus-visible{outline:2px solid #81735f!important;outline-offset:3px}
.apvr-buy .apvr-buy-options-heading .apvr-buy-clear .apvr-buy-icon{width:15px!important;height:15px!important;opacity:.85}
@media(max-width:420px){.apvr-buy .apvr-buy-options-heading .apvr-buy-clear{min-height:38px!important;padding:7px 10px!important;font-size:12px!important}}

/* Alpha 8.69: reset belongs directly ABOVE Add to cart, centered as a light
 * outlined product-configuration action, not in the Material heading. */
.apvr-buy .apvr-buy-reset-row{display:flex;align-items:center;justify-content:center;gap:15px;min-width:0;width:100%;margin:16px 0 16px}
.apvr-buy .apvr-buy-reset-rule{flex:1 1 0;min-width:8px;height:1px;background:var(--apvr-line,#e5ddd0)}
.apvr-buy .apvr-buy-reset-row .apvr-buy-clear{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-width:0!important;min-height:42px!important;width:auto!important;margin:0!important;padding:10px 22px!important;border:1px solid var(--apvr-line-strong,#c9baa5)!important;border-radius:999px!important;background:transparent!important;color:var(--apvr-ink,#4b4338)!important;box-shadow:none!important;text-transform:none!important;font:inherit;font-size:13px!important;font-weight:500!important;line-height:1.2;cursor:pointer;transition:background-color .18s,border-color .18s}
.apvr-buy .apvr-buy-reset-row .apvr-buy-clear:hover{background:#f3eee7!important;border-color:#ab9981!important;text-decoration:none!important}
.apvr-buy .apvr-buy-reset-row .apvr-buy-clear .apvr-buy-icon{width:14px;height:14px;flex:0 0 auto}
.apvr-buy .apvr-buy-reset-row .apvr-buy-clear:focus-visible{outline:2px solid #81735f;outline-offset:3px}
@media(max-width:480px){.apvr-buy .apvr-buy-reset-row{gap:10px;margin:12px 0}.apvr-buy .apvr-buy-reset-row .apvr-buy-clear{padding:10px 15px!important;min-height:42px!important}}

/* 8.70: Reset is an action only after the customer has configured something. */
.apvr-buy .apvr-buy-reset-row[hidden]{display:none!important}

/* Alpha 8.81: shared purchase layout for Wallpaper, Wall Mural and Fabric.
   A visual component contract only; prices/variation validation remain owned by
   their existing Woo + APVR calculators. The legacy mural shortcode retains its
   own rendering outside [apvr_purchase]. */
.apvr-buy{
 --apvr-ink:#35322d;
 --apvr-soft:#746e66;
 --apvr-line:#d8d1c5;
 --apvr-line-strong:#c7bcab;
 --apvr-canvas:#faf8f3;
 --apvr-radius:8px;
}
.apvr-buy .apvr-buy-editor,
.apvr-buy .apvr-buy-options,
.apvr-buy .apvr-buy-cart{min-width:0}
.apvr-buy .apvr-buy-options.variations{gap:18px;margin:0 0 20px}
.apvr-buy .apvr-buy-label,
.apvr-buy--mural .apvr-buy-wall>.apvr-buy-label{
 display:block;margin:0 0 10px;color:var(--apvr-ink);font:inherit;
 font-size:15px;font-weight:500;line-height:1.35;
}
/* All dimension inputs share the same height, surface and subdued unit labels. */
.apvr-buy :is(.aim-wpc13-fields,.aim-mural-fields){gap:14px}
.apvr-buy :is(.aim-wpc13-fields label>span:first-child,.aim-mural-field>span){
 margin-bottom:8px;color:var(--apvr-soft);font-size:14px;font-weight:400;line-height:1.35;
}
.apvr-buy :is(.aim-wpc13-input input,.aim-mural-field input){
 display:block;width:100%;height:52px;min-height:52px;margin:0;
 border:1px solid var(--apvr-line)!important;border-radius:var(--apvr-radius)!important;
 background:var(--apvr-canvas)!important;color:var(--apvr-ink)!important;
 box-shadow:none!important;font:inherit;font-size:16px;
}
.apvr-buy :is(.aim-wpc13-input em,.aim-mural-field em){color:var(--apvr-soft);font-size:13px;font-style:normal}
.apvr-buy :is(.aim-wpc13-input input,.aim-mural-field input):focus{
 border-color:var(--apvr-line-strong)!important;outline:2px solid rgba(164,141,112,.16);outline-offset:1px;
}
.apvr-buy--mural .apvr-buy-wall{margin:0 0 18px!important}
.apvr-buy--mural .apvr-buy-print-quality-note{margin:0 0 12px;color:var(--apvr-soft);font-size:12px;line-height:1.5}
.apvr-buy--mural .apvr-buy-wall .aim-mural-config{margin:0;width:100%}
.apvr-buy--mural .aim-mural-fields{margin:0}
/* The unit controls have different data but identical visual position. */
.apvr-buy--fabric .apvr-buy-cart>.apvr-buy-length{width:min(100%,225px);margin:0 0 4px}
.apvr-buy--fabric .apvr-buy-cart>.apvr-buy-length .apvr-buy-length-control{
 display:flex;align-items:center;justify-content:space-between;gap:6px;
 width:100%;height:54px;min-height:54px;padding:8px 10px;
 border:1px solid var(--apvr-line);border-radius:var(--apvr-radius);
 background:var(--apvr-canvas);
}
.apvr-buy--fabric .apvr-buy-cart>.apvr-buy-length .apvr-buy-step{
 display:flex;align-items:center;justify-content:center;flex:0 0 32px;
 width:32px;height:32px;font-size:0;padding:0!important;
 border:1px solid var(--apvr-line-strong);border-radius:50%;
 background:#fff;box-shadow:none;color:var(--apvr-ink);
}
.apvr-buy--fabric .apvr-buy-cart>.apvr-buy-length .apvr-buy-step svg{
 display:block;width:16px;height:16px;fill:none;stroke:currentColor;
 stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;
}
.apvr-buy--fabric .apvr-buy-cart>.apvr-buy-length .apvr-buy-length-measure{
 display:inline-flex;align-items:center;justify-content:center;gap:3px;margin-inline:auto;
}
.apvr-buy--fabric .apvr-buy-cart>.apvr-buy-length input.qty{
 height:auto;border:0!important;background:none!important;box-shadow:none!important;
 margin:0!important;padding:0!important;font-size:21px;line-height:1.2;text-align:right;
}
.apvr-buy--fabric .apvr-buy-cart>.apvr-buy-length .apvr-buy-unit{font-size:13px;color:var(--apvr-soft)}
/* Same card on all three product families, with same title, breakdown, total row. */
.apvr-buy :is(.aim-wpc13-result,.aim-mural-result,.apvr-buy-summary).apvr-purchase-summary,
.apvr-buy .aim-wpc13-result,
.apvr-buy--fabric .apvr-buy-summary{
 display:grid;gap:5px;width:100%;min-width:0;margin:0;
 padding:16px;border:1px solid var(--apvr-line)!important;
 border-radius:var(--apvr-radius)!important;background:var(--apvr-canvas)!important;
 box-shadow:none!important;color:var(--apvr-ink);
}
.apvr-buy :is(.aim-wpc13-result,.aim-mural-result,.apvr-buy-summary)[hidden]{display:none!important}
.apvr-buy :is(.aim-wpc13-result,.aim-mural-result,.apvr-buy-summary)>span:first-child{
 display:block;margin:0 0 1px;color:var(--apvr-soft);font-size:12px;font-weight:400;line-height:1.35;
}
.apvr-buy :is(.aim-wpc13-result,.aim-mural-result,.apvr-buy-summary)>strong{
 display:block;margin:0;color:var(--apvr-ink);font-size:16px;font-weight:600;line-height:1.45;
}
.apvr-buy :is(.aim-wpc13-result,.aim-mural-result)>small{
 display:block;margin:0;color:var(--apvr-soft);font-size:13px;font-weight:400;line-height:1.5;
}
.apvr-buy .aim-wpc13-result>.aim-wpc13-roll-reason{margin-top:4px}
.apvr-buy :is(.aim-wpc13-total,.aim-mural-type-total,.apvr-buy-summary-total).apvr-purchase-total,
.apvr-buy :is(.aim-wpc13-total,.aim-mural-type-total,.apvr-buy-summary-total){
 display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 15px;
 margin:11px 0 0;padding:13px 0 0;border:0;border-top:1px solid var(--apvr-line);
 width:100%;max-width:100%;background:transparent;
 color:var(--apvr-ink);font-size:14px;line-height:1.45;
}
.apvr-buy :is(.aim-wpc13-total,.aim-mural-type-total,.apvr-buy-summary-total)[hidden]{display:none!important}
.apvr-buy :is(.aim-wpc13-total,.aim-mural-type-total,.apvr-buy-summary-total)>span{
 color:var(--apvr-ink);font-size:14px;font-weight:400;
}
.apvr-buy :is(.aim-wpc13-total,.aim-mural-type-total,.apvr-buy-summary-total)>strong{
 margin-left:auto;color:var(--apvr-ink);font-size:21px;font-weight:650;
 line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap;
}
.apvr-buy--wallpaper .aim-wpc13-calculator{margin:0 0 2px}
.apvr-buy--wallpaper .aim-wpc13-result{margin-top:14px}
.apvr-buy--mural .apvr-buy-cart>.aim-mural-config{margin:0}
.apvr-buy--mural .aim-mural-result{margin:0!important}
.apvr-buy--mural .aim-mural-result .aim-mural-type-total{max-width:100%;width:100%}
.apvr-buy--fabric .apvr-buy-summary{margin-top:0}
/* Consistent separation between the price card, reset, and purchase buttons. */
.apvr-buy .apvr-buy-cart{gap:13px}
.apvr-buy .apvr-buy-reset-row{margin:16px 0 3px}
.apvr-buy .apvr-buy-actions{margin:0;gap:11px}
.apvr-buy .apvr-buy-actions .apvr-buy-cta.single_add_to_cart_button{min-height:54px}
@media(max-width:767px){
 .apvr-buy--fabric .apvr-buy-cart>.apvr-buy-length{width:min(100%,230px)}
 .apvr-buy :is(.aim-wpc13-fields,.aim-mural-fields){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:430px){
 .apvr-buy :is(.aim-wpc13-fields,.aim-mural-fields){grid-template-columns:1fr;gap:12px}
 .apvr-buy :is(.aim-wpc13-result,.aim-mural-result,.apvr-buy-summary).apvr-purchase-summary,
 .apvr-buy .aim-wpc13-result,.apvr-buy--fabric .apvr-buy-summary{padding:14px}
}

/* Alpha 8.82: preserve the unified cards, but return Fabric length alongside
   Add to Cart. Mural dimensions precede material, matching the desired flow. */
.apvr-buy--fabric .apvr-buy-actions .apvr-buy-action-row{
 display:grid;grid-template-columns:minmax(176px,218px) minmax(0,1fr);
 gap:14px;align-items:end;width:100%;min-width:0;
}
.apvr-buy--fabric .apvr-buy-action-row>.apvr-buy-length{min-width:0;width:100%;margin:0}
.apvr-buy--fabric .apvr-buy-action-row .apvr-buy-length-control{
 width:100%;height:54px;min-height:54px;max-height:54px;
 border:1px solid var(--apvr-line);border-radius:var(--apvr-radius);
 background:var(--apvr-canvas);
}
.apvr-buy--fabric .apvr-buy-action-row>.apvr-buy-cta.single_add_to_cart_button{
 height:54px;min-height:54px;max-height:54px;
}
.apvr-buy--mural .apvr-buy-wall+.apvr-buy-options.variations{margin-top:18px}
.apvr-buy--mural .aim-mural-result>.aim-mural-roll-reason{margin-top:4px}
@media(max-width:510px){
 .apvr-buy--fabric .apvr-buy-actions .apvr-buy-action-row{grid-template-columns:minmax(0,1fr);gap:12px}
 .apvr-buy--fabric .apvr-buy-action-row>.apvr-buy-length{width:100%}
}
