/* Personalization extends the existing product form, without nested cards or overlays. */
.wrlab-trophy-personalization { margin-block:28px; padding-block-start:24px; border-top:1px solid #42483d; scroll-margin-top:calc(var(--wrlab-header-height,80px) + 24px); }
.wrlab-trophy-personalization h3 { margin:0 0 12px; font-size:30px; line-height:1.1; }
.wrlab-trophy-personalization > p { margin:0 0 16px; color:#cbd0c3; font-size:14px; line-height:1.65; }
.wrlab-trophy-personalization .wrlab-trophy-piece { min-width:0; margin:24px 0 0; padding:0; border:0; }
.wrlab-trophy-personalization .wrlab-trophy-piece:not(:last-of-type) { padding-bottom:24px; border-bottom:1px solid #42483d; }
.wrlab-trophy-piece legend { padding:0; margin:0 0 18px; color:#f4f5ee; font-weight:700; font-size:20px; line-height:1.4; }
.wrlab-trophy-options,.wrlab-trophy-lines { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 16px; }
.wrlab-trophy-options { margin-bottom:20px; }
.wrlab-trophy-field { min-width:0; }
.wrlab-trophy-field label { display:block; margin-bottom:8px; color:#f4f5ee; font-size:14px; font-weight:700; line-height:1.5; }
.wrlab-trophy-field label span { font-weight:400; color:#cbd0c3; }
.wrlab-trophy-personalization .wrlab-trophy-field :is(input,select) { box-sizing:border-box; display:block; width:100%; max-width:100%; min-height:48px; margin:0; padding:11px 12px; border:1px solid #6d7565; border-radius:0; background-color:#1b1f19; color:#f4f5ee; caret-color:currentColor; font:400 16px/1.5 "DM Sans",sans-serif; }
.wrlab-trophy-personalization .wrlab-trophy-field select { padding-right:36px; }
.wrlab-trophy-personalization .wrlab-trophy-field :is(input,select):focus-visible { outline:2px solid #ffe600; outline-offset:3px; background-color:#1b1f19; color:#f4f5ee; }
.wrlab-trophy-personalization .wrlab-trophy-field input[aria-invalid="true"] { border-color:#ffb8a9; }
.wrlab-trophy-limit { display:flex; justify-content:space-between; gap:8px; margin-top:6px; color:#cbd0c3; font-size:12px; line-height:1.5; font-variant-numeric:tabular-nums; }
.wrlab-trophy-error { display:block; margin-top:5px; color:#ffb8a9; font-size:13px; line-height:1.5; }
.wrlab-trophy-error:empty { display:none; }
.wrlab-trophy-personalization > .wrlab-trophy-note { margin-top:20px; margin-bottom:0; }
/* Native blocks otherwise combine eighteen personalisation rows into a slash-separated paragraph. */
.wc-block-components-product-details:has(> [class*="__trofeum-"],> [class*="__linijka-"]) { display:block; margin-block:12px; }
.wc-block-components-product-details:has(> [class*="__trofeum-"],> [class*="__linijka-"]) > span { display:block; margin-block:4px; overflow-wrap:anywhere; }
.wc-block-components-product-details:has(> [class*="__trofeum-"],> [class*="__linijka-"]) > span > [aria-hidden="true"] { display:none; }
.wc-block-components-product-details:has(> [class*="__trofeum-"]) > :is([class$="__trofeum-2-wz-r"],[class$="__trofeum-3-wz-r"]) { margin-top:12px; padding-top:10px; border-top:1px solid #42483d; }
@media(max-width:600px) {
 .wrlab-trophy-options,.wrlab-trophy-lines { grid-template-columns:1fr; gap:18px; }
 .wrlab-trophy-personalization { margin-block:24px; }
}
