/* Measurements: primary inches, smaller centimetres on their own line. */
.v12-measurement { display:inline-flex; flex-direction:column; gap:5px; line-height:1.25; }
.v12-measurement>small { display:block; font-family:var(--sans); font-size:.65em; line-height:1.4; color:var(--muted); letter-spacing:0; }
.detail-list>div>.v12-measurement { text-align:right; }
.detail-list>div>.v12-measurement small { font-size:13px; }
.v12-sizes { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; padding:22px 0; margin:0 0 22px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.v12-sizes>div { min-width:0; }
.v12-sizes strong { display:block; font-size:14px; font-weight:400; color:var(--muted); margin-bottom:10px; }
.v12-sizes .v12-measurement { font-size:19px; }
.v12-sizes .v12-measurement>small { font-size:14px; }
.v11-gift-specs .v12-measurement { display:flex; font-size:20px; margin-bottom:12px; color:var(--ink); }
.v11-gift-specs .v12-measurement small { font-size:14px; }
/* Keep captions within the actual photograph width, rather than its containing column. */
.v11-gift-frame-photos figure:first-child { width:min(100%,400px); margin-inline:auto; }
.v11-gift-frame-photos .v11-gift-back img { width:100%; height:auto; max-height:none; }
.v11-gift-frame-photos figcaption { width:100%; text-align:center; overflow-wrap:anywhere; }
/* A visible native upload control, usable with keyboard and camera-roll pickers. */
.v12-upload-card { padding:24px; margin:0 0 26px; border:1.5px solid #8b9b80; background:#edf0e6; scroll-margin-top:165px; }
.v12-upload-title { display:flex; align-items:center; gap:12px; font-size:24px; line-height:1.2; margin-bottom:14px; cursor:pointer; }
.v12-upload-title svg { flex:0 0 27px; width:27px; height:27px; }
.v12-upload-title strong { font-weight:500; font-family:var(--serif); }
.v12-upload-card .help { margin:0 0 14px; font-size:15px; color:var(--ink); }
.yh-landscape-product .v12-upload-card input[type=file] { display:block; width:100%; padding:0; margin:0; font-size:14px; border:0; background:transparent; color:var(--ink); cursor:pointer; }
.v12-upload-card input[type=file]::file-selector-button { min-height:48px; padding:12px 18px; margin-right:12px; background:var(--green); color:var(--paper); border:1px solid var(--green); border-radius:0; font:inherit; font-weight:600; cursor:pointer; }
.v12-upload-card input[type=file]:focus-visible { outline:2px solid var(--orange); outline-offset:5px; }
.v12-upload-card input[type=file]:user-invalid { outline:2px solid var(--orange); outline-offset:5px; }
.v12-upload-guide { font-size:14px; line-height:1.55; color:var(--muted); margin:16px 0 0; }
.v12-selection-status { font-size:14px; line-height:1.5; color:var(--green); font-weight:600; margin:14px 0 0; }
.v12-selection-status:empty { display:none; }
.v12-upload-card.has-error { border-color:var(--orange); }
.v12-upload-card.has-error .v12-selection-status { color:var(--orange); }
.v12-upload-card #file-list { list-style:none; padding:0; margin:12px 0 0; }
.v12-upload-card #file-list:empty { display:none; }
.v12-upload-card #file-list li { display:flex; gap:10px; align-items:center; min-width:0; overflow-wrap:anywhere; font-size:14px; padding:9px 0; border-top:1px solid #c6cebc; }
.v12-file-thumb { flex:0 0 44px; width:44px; height:48px; object-fit:contain; background:#f6f3ea; }
.v12-gift-scene-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.v12-gift-scene-grid figure { margin:0; min-width:0; }
.v12-gift-scene-grid img { display:block; width:100%; height:500px; object-fit:contain; background:transparent; }
.v12-gift-scene-grid figcaption { margin-top:14px; text-align:center; font-size:14px; color:var(--muted); }
@media(max-width:1100px) {
 .v12-sizes { grid-template-columns:minmax(0,1fr); gap:20px; }
 .v12-gift-scene-grid { gap:20px; }
 .v12-gift-scene-grid img { height:410px; }
}
@media(max-width:700px) {
 .v12-sizes { grid-template-columns:1fr 1fr; gap:12px; }
 .v12-sizes .v12-measurement { font-size:17px; }
 .v12-sizes .v12-measurement>small { font-size:13px; }
 .v12-upload-card { padding:20px 16px; scroll-margin-top:130px; }
 .v12-upload-title { font-size:25px; }
 .v12-upload-card input[type=file]::file-selector-button { padding:12px 16px; margin-right:10px; }
 .v12-gift-scene-grid { grid-template-columns:minmax(0,1fr); gap:34px; }
 .v12-gift-scene-grid img { height:auto; max-height:640px; }
}
.v12-collection-hint { font-size:15px; color:var(--muted); max-width:50ch; margin:14px 0 0; }
.v12-delivery-summary { font-size:14px; line-height:1.6; color:var(--muted); margin:20px 0 24px; }
.v12-delivery-summary a { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
