/* APVR 8.41: restore original photographic, uncluttered scale selector.
   No labels or print sizes in tiles; the real dimensions still reach cart/order. */
.apvr-native-scale{margin:0 0 28px;max-width:100%;font-family:inherit;container-type:inline-size}
.apvr-native-scale *,.apvr-native-scale *::before,.apvr-native-scale *::after{box-sizing:border-box}
.apvr-native-scale-heading{display:flex;align-items:baseline;gap:18px;margin:0 0 10px;color:#9d8878;font-size:15px;line-height:1.35;font-weight:400}
.apvr-native-scale-heading strong{color:#111;font-weight:600}
.apvr-native-scale-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:flex-start;gap:14px;width:100%;max-width:100%;min-width:0}
.apvr-native-scale-options button{appearance:none;-webkit-appearance:none;display:block;position:relative;width:100%;height:auto;aspect-ratio:1;min-width:0;min-height:0;max-width:none;margin:0;padding:0;border:1px solid transparent;border-radius:10px;overflow:hidden;background:transparent;color:#111;cursor:pointer;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease}
.apvr-native-scale-options button img{display:block;width:100%;height:100%;object-fit:cover;border-radius:9px}
.apvr-native-scale-options button:hover,.apvr-native-scale-options button:focus-visible{border-color:#d7ccbd;outline:none}
.apvr-native-scale-options button[aria-pressed="true"]{border-color:#cfc5b8;box-shadow:0 0 0 1px #cfc5b8}
.apvr-native-scale-options button:disabled{opacity:.4;cursor:not-allowed}
.apvr-native-scale-note{display:none}
.variations_form.cart .variations .apvr-native-scale-hidden-row,.variations_form.cart tr.apvr-native-scale-hidden-row{display:none!important}
@container (max-width:430px){.apvr-native-scale-options{gap:10px}}
@media(max-width:767px){.apvr-native-scale-options{gap:10px}}
@media(max-width:360px){.apvr-native-scale-options{gap:8px}}
@media(prefers-reduced-motion:reduce){.apvr-native-scale-options button{transition:none}}

/* Alpha 8.30: genuine per-design preview density, not unrelated term swatches.
   The 100 x 100 cm window and background-size are generated from the exact
   stored physical repeat for each available selector preset. */
.apvr-native-scale-options button .apvr-native-scale-sample{
 position:absolute;inset:0;display:block;background-position:left top;
 background-repeat:repeat;background-color:#f8f6f0;border-radius:9px;
}
.apvr-native-scale-options button .apvr-native-scale-option-label{
 position:absolute;z-index:1;left:0;right:0;bottom:0;display:block;
 padding:6px 3px 5px;text-align:center;font-size:10px;line-height:1.15;
 font-weight:500;letter-spacing:.02em;color:#49443f;
 background:rgba(250,248,243,.85);pointer-events:none;
}
.apvr-native-scale-context{margin:8px 0 0!important;color:#857f76!important;
 font-size:11px!important;line-height:1.4!important;}

/* 8.41 — four balanced tiles: three production presets and an enquiry-only custom option. */
.apvr-native-scale-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,2.5vw,24px);align-items:start;width:100%}
.apvr-native-scale-options>button{justify-self:center;width:100%;max-width:152px;aspect-ratio:1/1;border-radius:9px;min-height:0;background:#f8f5ef}
.apvr-native-scale-options>button .apvr-native-scale-sample{border-radius:8px}
.apvr-native-scale-options>button .apvr-native-scale-option-label{padding:9px 3px 7px;font-size:12px;letter-spacing:.02em;background:rgba(250,248,243,.93)}
.apvr-native-scale-options>button[aria-pressed="true"]{border-color:#bfb4a4;box-shadow:0 0 0 1px #bfb4a4}
.apvr-native-scale-options>button.apvr-scale-custom{display:grid;place-items:center;border:1px dashed #c8beaf;color:#6f665a;background:#f5f1e9}
.apvr-native-scale-options>button.apvr-scale-custom:hover,.apvr-native-scale-options>button.apvr-scale-custom:focus-visible{border-color:#aa9c89;background:#eee8df}
.apvr-scale-custom-art{display:flex;align-items:center;justify-content:center;padding-bottom:26px}
.apvr-scale-dialog[hidden]{display:none!important}
.apvr-scale-dialog{position:fixed;inset:0;z-index:999990;display:grid;place-items:center;padding:18px;box-sizing:border-box;font-family:inherit}
.apvr-scale-dialog-backdrop{position:absolute;inset:0;background:rgba(42,37,32,.45)}
.apvr-scale-dialog-panel{position:relative;width:min(100%,480px);max-height:calc(100dvh - 36px);overflow-y:auto;background:#faf8f3;border:1px solid #ded6c9;border-radius:10px;box-shadow:0 24px 90px rgba(44,39,32,.16);padding:clamp(26px,5vw,42px);color:#35322d}
.apvr-scale-dialog-close{position:absolute;right:17px;top:12px;border:0;background:transparent;color:#746b5f;font-size:27px;padding:4px 8px;cursor:pointer;line-height:1}
.apvr-scale-dialog-eyebrow{display:block;color:#948876;font-size:11px;letter-spacing:.13em;text-transform:uppercase;margin:0 0 14px}
.apvr-scale-dialog-panel h3{font-weight:400;letter-spacing:-.025em;line-height:1.18;font-size:clamp(25px,4vw,32px);margin:0 0 15px}
.apvr-scale-dialog-panel p{font-size:14px;line-height:1.65;color:#71695f;margin:0 0 23px}
.apvr-scale-dialog-actions{display:flex;flex-wrap:wrap;gap:10px}
.apvr-scale-dialog-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:12px 19px;border:1px solid #cec4b6;border-radius:6px;background:#cfc4b2;color:#35322d;text-decoration:none;font-size:14px}
.apvr-scale-dialog-actions a+ a{background:transparent}
.apvr-scale-dialog-actions a:hover{background:#bfb29d;color:#35322d}
.apvr-scale-dialog-panel .apvr-scale-dialog-footnote{margin:17px 0 0;font-size:12px;color:#948876}
body.apvr-scale-modal-open{overflow:hidden}
@media (max-width:480px){.apvr-native-scale-options{gap:9px}.apvr-native-scale-options>button .apvr-native-scale-option-label{font-size:10px}.apvr-scale-custom-art svg{width:24px;height:24px}}

/* 8.42 — Custom is the SAME design at a bespoke scale, not an empty product. */
.apvr-native-scale-options>button.apvr-scale-custom{
 position:relative;overflow:hidden;background:#f7f3ed;
 border-color:#cbbfac;
}
.apvr-native-scale-options>button.apvr-scale-custom .apvr-scale-custom-art{
 position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
 padding:0 0 27px;isolation:isolate;
}
.apvr-native-scale-options>button.apvr-scale-custom .apvr-scale-custom-pattern{
 position:absolute;inset:0;z-index:-1;background-position:center;
 background-size:65% auto;background-repeat:repeat;
 opacity:.19;filter:saturate(.75);
}
.apvr-native-scale-options>button.apvr-scale-custom .apvr-scale-custom-art::after{
 content:'';position:absolute;inset:0;z-index:-1;
 background:rgba(250,248,243,.38);
}
.apvr-native-scale-options>button.apvr-scale-custom .apvr-scale-custom-art svg{
 width:30px;height:30px;z-index:2;color:#8f806e;
 background:rgba(252,250,246,.72);padding:4px;border-radius:5px;
}
