/* Nikkel Art — zamrożona rama nowych konfiguratorów personalizowanych. */
@font-face {
  font-family:NikkelHand;
  src:url('../fonts/Sacramento.ttf') format('truetype');
  font-display:swap;
}
:root {
  --napb-ink: #172126;
  --napb-muted: #4a575c;
  --napb-preview: #eceff1;
  --napb-warm: #f7f4ee;
  --napb-line: #d9dedf;
  --napb-red: #343A34;
  --napb-red-hover: #343A34;
  --napb-ui: Arial, sans-serif;
  --napb-heading: Georgia, serif;
}

html { scrollbar-gutter: stable; }
body { overflow-x: clip; }
.napb-page, .napb-page * { box-sizing: border-box; }
.napb-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: #fff;
  color: var(--napb-ink);
  font: 500 14px/1.5 var(--napb-ui);
}
.napb-page button, .napb-page input, .napb-page select, .napb-page textarea { font: inherit; }

.napb-builder {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  min-height: 760px;
  border-bottom: 1px solid var(--napb-line);
}
.napb-preview-pane, .napb-config-pane, .napb-stage, .napb-panel { min-width: 0; }
.napb-preview-pane {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  padding: 52px 48px 48px;
  background: var(--napb-preview);
}
.napb-config-pane {
  display: flex;
  flex-direction: column;
  padding: 52px clamp(28px, 4vw, 64px);
  background: #fff;
}
.napb-heading { width: 100%; max-width: 900px; margin: 0 auto 20px; text-align: center; }
.napb-eyebrow {
  margin: 0 0 8px;
  color: #597078;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.napb-heading h1, .napb-config-title h2 {
  margin: 0;
  font: 400 clamp(36px, 3vw, 52px)/1 var(--napb-heading);
  letter-spacing: -.025em;
}
.napb-heading > p:last-child {
  max-width: none;
  margin: 6px auto 0;
  color: var(--napb-muted);
  font-size: 13px;
  line-height: 1.5;
}
.napb-stage {
  display: flex;
  min-height: 0;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  padding: 16px 0 0;
}
.napb-preview-frame {
  width: auto;
  height: min(76vh, 760px, calc((58vw - 96px) * 1.4));
  height: min(76svh, 760px, calc((58vw - 96px) * 1.4));
  aspect-ratio: 5 / 7;
}

.napb-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 34px 0 30px;
  border-bottom: 1px solid var(--napb-line);
}
.napb-step {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  padding: 0 3px 14px;
  background: none;
  color: #899195;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.napb-step > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  margin: 0;
  border: 1px solid;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
}
.napb-step.is-active { color: var(--napb-ink); }
.napb-step.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--napb-red);
  content: "";
}

.napb-action-row {
  display: grid;
  grid-template-columns: minmax(175px, .88fr) minmax(245px, 1.12fr);
  align-items: stretch;
  gap: 12px;
  margin-top: 2px;
}
.napb-price {
  display: grid;
  min-height: 63px;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 7px;
  border: 1px solid var(--napb-line);
  border-left: 3px solid var(--napb-red);
  padding: 9px 13px;
  background: var(--napb-warm);
}
.napb-price strong { font: 500 25px/1 var(--napb-heading); }
.napb-price small, .napb-price span { color: var(--napb-muted); font-size: 11px; }
.napb-price > small {
  align-self: end;
  font: 400 14px/1 var(--napb-heading);
}
.napb-price span { grid-column: 1 / -1; margin-top: 3px; font-size: 10px; }
.napb-next {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  padding: 8px 11px 8px 16px;
  background: var(--napb-red);
  color: #fff;
  text-align: left;
}
.napb-next:hover { background: var(--napb-red-hover); }
.napb-next-arrow {
  display: grid;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  font-size: 18px;
}
.napb-save {
  align-self: center;
  min-width: 220px;
  margin: 22px auto 2px;
  border: 1px solid #aeb7ba;
  padding: 10px 18px;
  background: #fff;
  color: var(--napb-ink);
  font-size: 13px;
  font-weight: 600;
}
.napb-usp {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #657176;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 1180px) {
  .napb-builder { grid-template-columns: minmax(0, 1fr); }
  .napb-preview-frame { width: min(62vw, 391px); height: auto; }
}
@media (max-width: 700px) {
  .napb-preview-pane { padding: 25px 16px 20px; }
  .napb-config-pane { padding: 38px 20px; }
  .napb-heading { margin-bottom: 8px; }
  .napb-heading h1, .napb-config-title h2 { font-size: clamp(30px, 8vw, 38px); }
  .napb-stage { padding: 14px 0 6px; }
  .napb-preview-frame { width: auto; height: min(112vw, 520px); }
  .napb-steps { margin: 20px 0; }
  .napb-step { padding-right: 1px; padding-left: 1px; font-size: 10px; }
  .napb-step > span { display: none; }
  .napb-action-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .napb-page * { scroll-behavior: auto !important; transition: none !important; }
}

/* Huisdierportret — productspecifieke laag boven de gedeelde Nikkel Art shell. */
/* PrestaShop zet vanaf desktop een vaste `width: 1280px` op deze container.
   De configurator is bewust full-bleed, net als de product-builders. */
body#module-reshuisdierportret-design #wrapper > .container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}
body#module-reshuisdierportret-design #wrapper > .container > .row { margin-right: 0; margin-left: 0; }
body#module-reshuisdierportret-design #content-wrapper,
body#module-reshuisdierportret-design #main,
.page-content,
#wrapper .page-content {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}
.hp-page h2 { margin:0; font:400 clamp(34px,3vw,48px)/1.08 Georgia,serif; letter-spacing:-.02em; }
.hp-page h3 { margin:0; font:400 20px/1.2 Georgia,serif; }
.hp-stage { flex-direction:column; align-items:center; gap:10px; }
.hp-frame {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 1px #d8d2c8, 0 24px 55px rgba(24, 37, 42, .18);
}
.hp-frame.material-canvas,
.hp-frame.material-aluminium,
.hp-frame.material-plexiglas {
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 1px #d8d2c8, 0 24px 55px rgba(24, 37, 42, .18);
}
.hp-frame.material-framed { padding:1.35%; border:1px solid #101314; background:#202324; box-shadow:0 24px 55px rgba(24,37,42,.24); }
.hp-frame.material-framed.frame-white { border-color:#cbc9c3; background:#f4f3ef; box-shadow:0 0 0 1px #d7d5cf,0 24px 55px rgba(24,37,42,.2); }
.hp-frame.material-framed.frame-oak { border-color:#9b724c; background:#b98d60; box-shadow:0 0 0 1px #9b724c,0 24px 55px rgba(24,37,42,.22); }
.pet-print { --hp-frame-color:#fff; --hp-frame-ink:#172126; --hp-frame-muted:#657176; position:relative; display:flex; width:100%; height:100%; container-type:inline-size; flex-direction:column; overflow:hidden; padding:4% 5% 0; background:var(--hp-frame-color); }
.pet-print.no-text:not(.layout-full) { padding-bottom:4%; }
.pet-art-wrap { position:relative; min-height:0; flex:1; overflow:hidden; }
.pet-art-wrap img { width:100%; height:100%; object-fit:cover; object-position:center 38%; display:block; transition:filter .25s,transform .25s; }
.pet-print.crop-portrait img { transform:scale(1.13); }
.pet-print.crop-full img { object-fit:contain; }
.pet-print.bg-black { --hp-frame-color:#111419; --hp-frame-ink:#fff; --hp-frame-muted:#d9dedf; }.pet-print.bg-white { --hp-frame-color:#fff; }.pet-print.bg-beige { --hp-frame-color:#efe5d4; }.pet-print.bg-sand { --hp-frame-color:#d7c3a4; }.pet-print.bg-gray { --hp-frame-color:#d9dddd; }.pet-print.bg-blue { --hp-frame-color:#c9dce2; }.pet-print.bg-custom { --hp-frame-color:var(--hp-custom-background,#b7c9d0); }
.pet-copy { flex:0 0 84px; display:flex; min-height:84px; align-items:center; justify-content:center; flex-direction:column; padding:8px; background:var(--hp-frame-color); color:var(--hp-frame-ink); text-align:center; }
.layout-classic { padding:0; }
.pet-print.layout-classic.no-text { padding:0; }
.layout-classic .pet-art-wrap { position:absolute; inset:5cqi 5cqi calc(10% + 5cqi); }
.layout-classic.no-text .pet-art-wrap { inset:5cqi; }
.layout-classic .pet-art-wrap img {
  object-fit:cover;
  object-position:center 38%;
}
.layout-classic .pet-copy { position:absolute; z-index:2; right:5cqi; bottom:5cqi; left:5cqi; box-sizing:border-box; height:10%; min-height:0; overflow:hidden; padding:0 8px; background:var(--hp-frame-color); color:var(--hp-frame-ink); }
.layout-classic .pet-copy span { color:var(--hp-frame-muted); }
.pet-copy strong { font:400 clamp(19px,2vw,29px)/1 Georgia,serif; letter-spacing:.12em; }
.pet-copy span { margin-top:6px; color:var(--hp-frame-muted); font-size:9px; letter-spacing:.24em; }
.layout-full { padding:0; }.layout-full .pet-copy { position:absolute; z-index:2; right:0; bottom:0; left:0; min-height:21%; padding:8% 8px 3%; background:linear-gradient(transparent,rgba(0,0,0,.7)); color:#fff; }.layout-full .pet-copy span { color:#fff; }
.pet-print.font-modern .pet-copy strong { font-family:Arial,Helvetica,sans-serif; font-size:clamp(18px,1.8vw,27px); font-style:normal; font-weight:600; letter-spacing:.18em; text-transform:uppercase; }
.pet-print.font-modern .pet-copy span { font-family:Arial,Helvetica,sans-serif; }
.pet-print.font-elegant .pet-copy strong { font-family:Georgia,"Times New Roman",serif; font-size:clamp(22px,2.2vw,33px); font-style:italic; font-weight:400; letter-spacing:.035em; text-transform:none; }
.pet-print.font-elegant .pet-copy span { font-family:Georgia,"Times New Roman",serif; font-style:italic; letter-spacing:.14em; }
.pet-print.font-handwritten .pet-copy strong { font-family:NikkelHand,"Segoe Script",cursive; font-size:clamp(29px,3vw,44px); font-style:normal; font-weight:400; letter-spacing:0; line-height:.9; text-transform:none; }
.pet-print.font-handwritten .pet-copy span { font-family:Arial,Helvetica,sans-serif; letter-spacing:.18em; }
.pet-print.font-classic .pet-copy strong { font-family:Baskerville,"Times New Roman",Georgia,serif; font-size:clamp(21px,2.1vw,31px); font-style:normal; font-variant:small-caps; font-weight:600; letter-spacing:.11em; text-transform:none; }
.pet-print.font-classic .pet-copy span { font-family:"Times New Roman",Georgia,serif; letter-spacing:.2em; }
.pet-print.layout-classic.font-modern .pet-copy strong,.pet-print.layout-full.font-modern .pet-copy strong { font-size:var(--hp-name-size,clamp(16px,6.2cqi,34px)); }
.pet-print.layout-classic.font-elegant .pet-copy strong,.pet-print.layout-full.font-elegant .pet-copy strong { font-size:var(--hp-name-size,clamp(17px,6.8cqi,36px)); }
.pet-print.layout-classic.font-handwritten .pet-copy strong,.pet-print.layout-full.font-handwritten .pet-copy strong { font-size:var(--hp-name-size,clamp(20px,8cqi,42px)); }
.pet-print.layout-classic.font-classic .pet-copy strong,.pet-print.layout-full.font-classic .pet-copy strong { font-size:var(--hp-name-size,clamp(17px,6.8cqi,36px)); }
.pet-print.layout-classic .pet-copy span,.pet-print.layout-full .pet-copy span { margin-top:.5cqi; font-size:clamp(6px,2cqi,8px); line-height:1; }
.pet-art-placeholder,.pet-processing { position:absolute; z-index:4; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:8px; background:rgba(247,244,238,.94); text-align:center; }.pet-art-placeholder span { font-size:46px; }.pet-processing .spinner { width:30px; height:30px; border:3px solid #d9dedf; border-top-color:#343A34; border-radius:50%; animation:hp-spin .8s linear infinite; }.pet-processing small { color:#667176; }
@keyframes hp-spin { to { transform:rotate(360deg); } }

.napb-panel[hidden], [hidden] { display:none!important; }
.napb-panel fieldset { min-width:0; margin:0 0 22px; border:0; padding:0; }
.napb-panel legend { width:100%; margin:0 0 11px; color:#172126; font-size:13px; font-weight:700; }
.field-intro { margin:-4px 0 12px; color:#667176; font-size:12px; line-height:1.5; }
.napb-panel input[type=radio],.napb-panel input[type=checkbox],.upload-zone input { position:absolute; opacity:0; pointer-events:none; }
.choice-row { display:flex; gap:12px; }.choice-row label { flex:1; cursor:pointer; }.choice-row label>span { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:2px; min-height:72px; border:1px solid #d9dedf; background:#fff; }.choice-row b { font:400 22px Georgia,serif; }.choice-row small { color:#667176; }.choice-row input:checked+span { border:2px solid #172126; box-shadow:inset 0 0 0 2px #fff; background:#f7f4ee; }
.upload-zone { display:flex; min-height:128px; align-items:center; justify-content:center; flex-direction:column; gap:5px; border:1px dashed #9da8ac; padding:20px; background:#f8faf9; cursor:pointer; text-align:center; transition:.2s; }.upload-zone:hover,.upload-zone.is-dragging { border-color:#343A34; background:#fff8f6; }.upload-zone .upload-icon { display:grid; width:36px; height:36px; place-items:center; border:1px solid #172126; border-radius:50%; font-size:19px; }.upload-zone small,.privacy-note,.photo-status,.photo-sort-help { color:#6f797d; font-size:11px; }.photo-status { min-height:18px; margin:11px 0 0; }.photo-sort-help { margin:5px 0 0; }.privacy-note { margin:5px 0 0; }
.photo-list { display:grid; grid-template-columns:repeat(3,minmax(0,112px)); justify-content:start; gap:8px; margin-top:12px; }
.photo-card { position:relative; aspect-ratio:1; overflow:hidden; border:1px solid #d9dedf; background:#fff; cursor:grab; touch-action:pan-y; transition:opacity .15s,outline-color .15s,transform .15s; }
.photo-card:active { cursor:grabbing; }.photo-card:focus-visible { outline:3px solid #2463eb; outline-offset:2px; }.photo-card.is-dragging { opacity:.48; transform:scale(.94); }.photo-card.is-drop-target { outline:3px solid #343A34; outline-offset:2px; }
.photo-card img { display:block; width:100%; height:100%; object-fit:cover; }
.photo-card button,.photo-handle { position:absolute; display:grid; width:26px; height:26px; place-items:center; border:0; border-radius:50%; background:rgba(23,33,38,.84); color:#fff; line-height:1; }
.photo-card button { bottom:4px; cursor:pointer; }.photo-edit { left:4px; font-size:15px; }.photo-delete { right:4px; font-size:20px; }.photo-handle { top:4px; left:4px; font-size:18px; pointer-events:none; }
.hp-crop-help { margin:9px 0 0; color:#667176; font-size:12px; line-height:1.5; }
.photo-details { position:absolute; top:4px; right:4px; max-width:calc(100% - 38px); overflow:hidden; border-radius:12px; padding:4px 7px; background:rgba(23,33,38,.78); color:#fff; font-size:9px; line-height:1; text-overflow:ellipsis; white-space:nowrap; }.photo-details.warn { background:rgba(143,91,0,.88); }.photo-details.bad { background:rgba(166,29,41,.9); }
.style-grid,.size-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }.style-grid label,.size-grid label,.layout-options label { cursor:pointer; }.style-grid label>span,.size-grid label>span,.layout-options label>span { display:flex; height:100%; align-items:center; justify-content:center; flex-direction:column; gap:3px; border:1px solid #d9dedf; padding:8px 5px; text-align:center; }.style-grid input:checked+span,.size-grid input:checked+span,.layout-options input:checked+span { border:2px solid #172126; background:#f7f4ee; }.style-grid small,.size-grid small,.layout-options small { color:#6d777b; font-size:10px; }.style-grid strong { font-size:11px; line-height:1.25; }.mini { display:block; position:relative; width:58px; height:58px; margin-bottom:4px; border:2px solid #fff; border-radius:50%; background-image:url('../img/huisdierportret-style-sprite-v1.jpg'); background-repeat:no-repeat; background-size:300% 300%; box-shadow:0 0 0 1px #d9dedf; }.style-grid input:checked+span .mini { box-shadow:0 0 0 2px #343A34; }.style-grid label.has-result .mini::after { position:absolute; right:-5px; bottom:-4px; display:grid; width:20px; height:20px; place-items:center; border:2px solid #fff; border-radius:50%; background:#343A34; color:#fff; content:"✓"; font:700 11px/1 Arial,sans-serif; }.mini.drawing { background-position:0 0; }.mini.watercolor { background-position:50% 0; }.mini.modern { background-image:url('../img/huisdierportret-black-v1.png'); background-position:center; background-size:cover; }.mini.oil { background-position:0 50%; }.mini.pencil { background-position:50% 50%; }.mini.pop { background-position:100% 50%; }.mini.royal { background-position:0 100%; }.mini.abstract { background-position:50% 100%; }.mini.playful { background-position:100% 100%; }.mini.pulp-cinema { background-image:url('../img/style-references/pulp-cinema-v1.jpg'); background-position:center; background-size:cover; }.mini.royal-lady { background-image:url('../img/style-references/royal-lady-v1.jpg'); background-position:center; background-size:cover; }.mini.dogue { background-image:url('../img/style-references/dogue-v1.jpg'); background-position:center; background-size:cover; }
.segmented { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid #cfd5d6; }.segmented label { cursor:pointer; }.segmented span { display:block; border-right:1px solid #cfd5d6; padding:10px 4px; text-align:center; }.segmented label:last-child span { border:0; }.segmented input:checked+span { background:#172126; color:#fff; }
.swatches { display:flex; flex-wrap:wrap; gap:10px; }.swatches label { width:58px; cursor:pointer; text-align:center; }.swatches label>span { display:grid; width:44px; height:44px; place-items:center; margin:auto; border:1px solid #c9cecf; border-radius:50%; background:var(--swatch,#f0ece5); }.swatches input:checked+span { outline:2px solid #172126; outline-offset:3px; }.swatches small { display:block; margin-top:5px; color:#657176; font-size:9px; }
.hp-custom-picker { display:block; margin:18px 0 0; color:#38454b; font-size:12px; }
.hp-visual-colors { --hp-hue-color:#f00; margin:0; padding:18px 20px 16px; border-radius:9px; background:#383b3d; color:#fff; }
.hp-page .hp-visual-colors > label { display:block; margin:0 0 18px; color:#fff; font-size:12px; font-weight:600; letter-spacing:.03em; }
.hp-visual-colors input[type=range] { display:block; width:100%; height:10px; margin:15px 0 0; border:0; border-radius:99px; appearance:none; -webkit-appearance:none; cursor:pointer; }
#pet-color-shade { background:linear-gradient(90deg,#fff 0%,var(--hp-hue-color) 50%,#000 100%); }
#pet-color-hue { background:linear-gradient(90deg,#f00 0%,#ff0 16.67%,#0f0 33.33%,#0ff 50%,#00f 66.67%,#f0f 83.33%,#f00 100%); }
.hp-visual-colors input[type=range]::-webkit-slider-thumb { width:26px; height:26px; border:2px solid #fff; border-radius:50%; background:var(--hp-current-color,#b7c9d0); box-shadow:0 1px 5px #0008; appearance:none; -webkit-appearance:none; }
.hp-visual-colors input[type=range]::-moz-range-thumb { width:23px; height:23px; border:2px solid #fff; border-radius:50%; background:var(--hp-current-color,#b7c9d0); box-shadow:0 1px 5px #0008; }
.hp-visual-colors input[type=range]:focus-visible { outline:2px solid #fff; outline-offset:7px; }
.hp-color-presets { display:flex; justify-content:space-between; gap:7px; margin-top:26px; }
.hp-custom-picker .hp-color-presets button { flex:0 1 31px; width:31px; height:31px; min-width:0; padding:0; border:1px solid #ffffff80; border-radius:50%; background:var(--preset); box-shadow:0 0 0 2px transparent; cursor:pointer; }
.hp-custom-picker .hp-color-presets button:hover,.hp-custom-picker .hp-color-presets button:focus-visible,.hp-custom-picker .hp-color-presets button.is-selected { border-color:#fff; box-shadow:0 0 0 2px #fff; }
.hp-custom-picker input:disabled,.hp-custom-picker button:disabled { cursor:not-allowed; opacity:.55; }
.layout-options { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }.layout-icon { display:block; width:34px; height:42px; border:2px solid #9ca5a7; background:linear-gradient(#cbd8d7 0 65%,#f4eee4 65%); }.layout-icon.gallery { border-width:5px; }.layout-icon.full { background:#b9cbcc; }
.generation-row { display:flex; align-items:center; gap:10px; margin:-5px 0 19px; }.generate { border:1px solid #172126; padding:10px 14px; background:#fff; font-weight:700; }.generate span { margin-left:7px; color:#687276; font-size:10px; }.generation-row p { margin:0; color:#667176; font-size:11px; }
.hp-page:not(.photo-ready) .generation-row,
.hp-page.styles-ready .generation-row,
.hp-page:not(.styles-ready) .pet-style-picker { display:none!important; }
.generate:disabled { cursor:wait; opacity:.55; }
.check-line { display:flex; position:relative; align-items:center; gap:10px; min-height:40px; cursor:pointer; }.check-line span::before { display:inline-grid; width:18px; height:18px; place-items:center; margin-right:9px; border:1px solid #9fa8aa; content:""; vertical-align:middle; }.check-line input:checked+span::before { background:#172126; color:#fff; content:"✓"; }.text-fields,.memorial-fields { display:grid; gap:12px; margin:8px 0 13px; }.text-fields label,.memorial-fields label { display:grid; gap:5px; color:#4e5b60; font-size:11px; }.text-fields input,.text-fields select,.memorial-fields input,.select-line select { width:100%; height:42px; border:1px solid #cfd5d6; padding:0 11px; background:#fff; color:#172126; }.memorial { border-top:1px solid #e1e4e5; margin-top:9px; }
.size-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.size-grid label>span { min-height:64px; }.materials { display:grid; gap:8px; }.materials>label { display:grid; grid-template-columns:46px 1fr auto; align-items:center; gap:11px; min-height:62px; border:1px solid #d9dedf; padding:8px 12px; cursor:pointer; }.materials>label.is-selected { border:2px solid #172126; background:#f7f4ee; }.materials span { display:flex; flex-direction:column; }.materials small { color:#6b7579; }.material-icon { width:38px; height:45px; background:#d9cfbe; box-shadow:4px 4px 0 #aa9879; }.material-icon.framed { border:5px solid #25282a; background:#e6ded0; box-shadow:none; }.material-icon.aluminium { border:2px solid #aeb7ba; background:#d9e0e2; box-shadow:none; }.material-icon.plexiglas { border:2px solid #fff; background:linear-gradient(135deg,#dce9ed,#fff); box-shadow:2px 3px 7px rgba(31,48,56,.25); }.select-line { display:grid; grid-template-columns:100px 1fr; align-items:center; margin-bottom:7px; }.summary { margin:0 0 14px; border-top:1px solid #d9dedf; border-bottom:1px solid #d9dedf; padding:10px 0; }.summary p { display:flex; justify-content:space-between; gap:14px; margin:3px 0; font-size:11px; }.summary span { color:#697478; }
.napb-next small,.napb-next strong { display:block; }.napb-next small { opacity:.78; font-size:9px; text-transform:uppercase; letter-spacing:.08em; }.napb-next strong { font-size:13px; }.toast { position:fixed; z-index:9999; right:24px; bottom:24px; max-width:340px; padding:13px 17px; background:#172126; color:#fff; font:13px/1.4 Arial,sans-serif; box-shadow:0 8px 30px rgba(0,0,0,.25); }
.napb-page .napb-save { font-size:13px; font-weight:600; line-height:1.5; }

.hp-intro,.how-it-works,.faq { max-width:1180px; margin:0 auto; padding:86px 40px; text-align:center; }.hp-intro>p:not(.napb-eyebrow) { max-width:700px; margin:20px auto; color:#667176; font-size:16px; }.hp-intro>div { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 30px; font-size:13px; font-weight:700; }.hp-intro>div span::before { margin-right:7px; color:#343A34; content:"✓"; }
.how-it-works { padding-top:20px; }.how-it-works>div { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin-top:38px; text-align:left; }.how-it-works article { border-top:1px solid #cfd5d6; padding-top:19px; }.how-it-works article b { display:grid; width:31px; height:31px; place-items:center; margin-bottom:17px; border-radius:50%; background:#172126; color:#fff; }.how-it-works p { color:#667176; }
.material-showcase { padding:82px max(40px,calc((100vw - 1180px)/2)); background:#172126; color:#fff; }.material-showcase .section-heading { max-width:700px; }.material-showcase .napb-eyebrow { color:#b9c8cd; }.material-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:38px; }.material-cards article { min-height:250px; padding:28px 24px; background:#253137; }.material-cards p { color:#bdc7ca; }.material-sample { display:block; width:92px; height:112px; margin:0 auto 26px; background:#d9cfbe; box-shadow:9px 10px 0 #a99371; }.material-sample.framed { border:10px solid #111; background:#e5ddd1; box-shadow:inset 0 0 0 2px #a99573; }.material-sample.aluminium { background:#c4ced1; box-shadow:4px 6px 0 #778488; }.material-sample.plexiglas { border:3px solid rgba(255,255,255,.7); background:linear-gradient(135deg,#b9d2d9,#f2f7f8); box-shadow:8px 10px 18px rgba(0,0,0,.3); }
.faq { text-align:left; }.faq>h2,.faq>.napb-eyebrow { text-align:center; }.faq>div { max-width:820px; margin:34px auto 0; border-top:1px solid #d9dedf; }.faq details { border-bottom:1px solid #d9dedf; padding:18px 2px; }.faq summary { cursor:pointer; font-weight:700; }.faq details p { color:#667176; }

@media(max-width:1180px){.napb-builder{min-height:0}.napb-preview-pane{min-height:760px}.hp-frame{height:auto;aspect-ratio:5/7}.material-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.napb-preview-pane{min-height:0}.style-grid{grid-template-columns:repeat(2,1fr)}.photo-list{grid-template-columns:repeat(3,minmax(0,1fr))}.how-it-works>div,.material-cards{grid-template-columns:1fr}.how-it-works,.hp-intro,.faq{padding:58px 20px}.material-showcase{padding:58px 20px}.choice-row{gap:6px}.napb-price{min-height:63px}.napb-save{width:100%;min-width:0}.layout-options{grid-template-columns:1fr}.hp-frame{width:min(100%,360px);max-width:360px}}

/* Huisdierportret product gallery: square inspiration images beside the live design. */
.hp-hero-gallery {
  display: grid;
  width: 100%;
  max-width: 682px;
  grid-template-columns: 82px minmax(0, 580px);
  align-items: start;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
}
.hp-hero-gallery-view { display: grid; min-width: 0; place-items: start center; }
.hp-hero-gallery-view > * { grid-area: 1 / 1; }
.hp-preview-product { display: flex; width: 100%; min-width: 0; align-items: center; flex-direction: column; }
.hp-gallery-thumbs { display: grid; align-self: stretch; align-content: space-between; gap: 10px; }
.hp-gallery-thumbs button {
  display: block;
  width: 82px;
  height: 82px;
  margin: 0;
  border: 1px solid #ccd2d4;
  border-radius: 2px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.hp-gallery-thumbs button:hover { transform: translateY(-1px); border-color: #899397; }
.hp-gallery-thumbs button.is-active { border-color: var(--napb-red); box-shadow: 0 0 0 2px var(--napb-red); }
.hp-gallery-thumbs button:focus-visible { outline: 3px solid rgba(214, 31, 44, .28); outline-offset: 3px; }
.hp-gallery-thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hp-design-thumb { position: relative; display: grid; width: 100%; height: 100%; place-items: center; background: #f0f2f2; }
.hp-design-thumb::before { width: 31%; height: 70%; border: 3px solid #182126; background: #fff; box-shadow: 4px 4px 0 rgba(23, 33, 38, .12); content: ""; }
.hp-design-thumb i { position: absolute; width: 19%; height: 34%; background: linear-gradient(135deg, #e8d5b8 0 50%, #c18c58 50%); }
.hp-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; border: 0 !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.hp-gallery-stage { width: min(100%, 560px); min-width: 0; margin: 0; border: 1px solid #e0e3e4; background: #fff; }
.hp-gallery-stage[hidden], .hp-preview-product[hidden] { display: none !important; }
.hp-gallery-stage > img { display: block; width: 100%; aspect-ratio: 5/7; object-fit: cover; }
@media (max-width: 1180px) {
  .hp-hero-gallery { max-width: 613px; grid-template-columns: 82px minmax(0, 511px); }
  .hp-gallery-stage { width: min(100%, 511px); }
}
@media (max-width: 700px) {
  .hp-hero-gallery { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hp-gallery-thumbs { display: flex; align-self: auto; align-content: start; order: 2; gap: 7px; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
  .hp-gallery-thumbs button { width: 72px; height: 82px; flex: 0 0 72px; }
  .hp-hero-gallery-view { order: 1; }
  .hp-gallery-stage { width: min(100%, 520px); }
}

/* Shared desktop preview baseline and gallery geometry. */
@media (min-width: 1181px) {
  .hp-page .hp-stage { justify-content: flex-start; padding-top: 52.5px; }
  .hp-page .hp-hero-gallery {
    width: 100%;
    max-width: 645px;
    grid-template-columns: 82px minmax(0, 543px);
    gap: 20px;
  }
  .hp-page .hp-preview-product { width: 100%; align-items: flex-start; }
  .hp-page .hp-gallery-stage { width: min(100%, 543px); }
}

/* v0.6.0 — dezelfde controlestijl als Kaartposter, Sterrenposter en Geboorteposter. */
.hp-page .napb-step {
  min-height: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}
.hp-page .napb-heading h1,
.hp-page .napb-config-title h2 { line-height: 1; }
.hp-page .napb-config-title h2 {
  font-size: clamp(36px, 3vw, 52px);
  letter-spacing: -.025em;
}
.hp-page .napb-panel fieldset { margin-bottom: 28px; }
.hp-page .napb-panel legend {
  margin-bottom: 14px;
  color: var(--napb-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hp-page .field-intro {
  margin: -5px 0 14px;
  font-size: 12px;
  line-height: 1.55;
}
.hp-page input:focus-visible + span,
.hp-page input:focus-visible + .mini,
.hp-page button:focus-visible,
.hp-page select:focus-visible,
.hp-page input[type="text"]:focus-visible {
  outline: 2px solid var(--napb-red);
  outline-offset: 2px;
}

/* Step 1 — compact outlined selections and the reference upload field. */
.hp-page .choice-row { gap: 9px; }
.hp-page .choice-row label > span {
  min-height: 58px;
  border: 1px solid #cbd1d2;
  background: #fff;
}
.hp-page .choice-row input:checked + span {
  border: 1px solid var(--napb-red);
  background: #fffafa;
  box-shadow: inset 0 0 0 1px var(--napb-red);
}
.hp-page .choice-row b { font-size: 19px; }
.hp-page .choice-row small { font-size: 11px; }
.hp-page .upload-zone {
  min-height: 128px;
  gap: normal;
  border-color: #aeb8ba;
  padding: 0;
  background: #f8fafa;
}
.hp-page .upload-zone:hover,
.hp-page .upload-zone.is-dragging { border-color: var(--napb-red); background: #f8fafa; }
.hp-page .upload-zone .upload-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
  border: 0;
  background: var(--napb-red);
  color: #fff;
  font-size: 22px;
}
.hp-page .upload-zone small { color: var(--napb-muted); font-size: 11.2px; }
.hp-page .photo-card { border-color: var(--napb-line); background: #fff; }

/* Step 2 — 58 px round option system used by the other poster editors. */
.hp-page .style-grid {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}
.hp-page .style-grid label {
  position: relative;
  flex: 0 0 88px;
  width: 88px;
}
.hp-page .style-grid label > span {
  display: flex;
  width: 88px;
  height: auto;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  border: 0;
  padding: 3px;
  background: transparent;
  box-shadow: none;
}
.hp-page .style-grid input:checked + span {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.hp-page .style-grid .mini {
  width: 58px;
  height: 58px;
  margin: 0 0 6px;
  border: 1px solid #d2d8da;
  box-shadow: 0 0 0 3px #fff;
}
.hp-page .style-grid input:checked + span .mini {
  border-color: #bbc5c8;
  outline: 2px solid var(--napb-red);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
.hp-page .style-grid strong { color: #38454b; font-size: 11px; line-height: 1.3; }
.hp-page .style-grid small { max-width: 84px; font-size: 9px; line-height: 1.25; }
.hp-page .style-grid label.has-result .mini::after { right: -7px; bottom: -5px; }
.hp-page .segmented {
  display: flex;
  gap: 9px;
  border: 0;
}
.hp-page .segmented label { flex: 0 1 128px; }
.hp-page .segmented span {
  border: 1px solid #cbd1d2;
  padding: 9px 12px;
  background: #fff;
  color: var(--napb-ink);
  font-size: 12px;
  font-weight: 600;
}
.hp-page .segmented label:last-child span { border: 1px solid #cbd1d2; }
.hp-page .segmented input:checked + span {
  border-color: var(--napb-red);
  background: #fffafa;
  color: var(--napb-ink);
  box-shadow: inset 0 0 0 1px var(--napb-red);
}
.hp-page .swatches { gap: 8px; }
.hp-page .swatches label {
  display: flex;
  flex: 0 0 72px;
  width: 72px;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}
.hp-page .swatches label > span { width: 58px; height: 58px; margin: 0; box-shadow: 0 0 0 3px #fff; }
.hp-page .swatches input:checked + span {
  outline: 2px solid var(--napb-red);
  outline-offset: -2px;
  box-shadow: inset 0 0 0 5px #fff;
}
.hp-page .swatches small { margin: 0; color: #38454b; font-size: 11px; font-weight: 600; }
.hp-page .swatches #pet-custom-swatch { position:relative; background:conic-gradient(#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00); }
.hp-page .swatches #pet-custom-swatch::after { position:absolute; inset:11px; border:2px solid #fff; border-radius:50%; background:var(--swatch); content:""; }
.hp-page .layout-options {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}
.hp-page .layout-options label { flex: 0 0 88px; width: 88px; }
.hp-page .layout-options label > span {
  width: 88px;
  height: auto;
  gap: 8px;
  border: 0;
  padding: 3px;
  background: transparent;
}
.hp-page .layout-options input:checked + span { border: 0; background: transparent; }
.hp-page .layout-icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid #d2d8da;
  border-radius: 50%;
  background: #fff;
  color: #30394b;
  box-shadow: 0 0 0 3px #fff;
  transition: transform .18s ease, border-color .18s ease;
}
.hp-page .layout-options label:hover .layout-icon { border-color:#89979b; transform:translateY(-1px); }
.hp-page .layout-options input:checked + span .layout-icon {
  border-color: #bbc5c8;
  outline: 2px solid var(--napb-red);
  outline-offset: -2px;
}
.hp-page .layout-options input:focus-visible { outline:0; }
.hp-page .layout-options input:focus-visible + span .layout-icon { outline:2px dashed var(--napb-ink); outline-offset:4px; }
.hp-page .hp-icon-classic::before,
.hp-page .hp-icon-full::before { width:25px; height:36px; border:1px solid currentColor; content:""; }
.hp-page .hp-icon-classic::after { position:absolute; top:15px; width:16px; height:17px; background:currentColor; content:""; }
.hp-page .hp-icon-full::before { background:currentColor; }
.hp-page .hp-icon-full::after { position:absolute; top:17px; width:9px; height:9px; border-radius:50%; background:#fff; content:""; }
.hp-page .layout-options small { color:#38454b; font-size:11px; font-weight:600; line-height:1.3; }
.hp-page .generation-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  margin: -4px 0 24px;
}
.hp-page .generate {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--napb-ink);
  padding: 11px 16px;
  background: #fff;
  color: var(--napb-ink);
  text-align: center;
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease;
}
.hp-page .generate:hover { border-color: #667176; background: #f3f5f5; }
.hp-page .generate span { margin-left: 0; color: var(--napb-muted); }
.hp-page .generate::after {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid #9ca6a9;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172126' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
  content: "";
  transition: transform .18s ease;
}
.hp-page .generate:hover::after { transform: translateX(2px); }
.hp-page .generate:disabled::after { transform: none; }
.hp-page .generation-row.needs-attention .generate {
  border-color: var(--napb-red);
  box-shadow: 0 0 0 3px rgba(214,31,44,.12);
}
.hp-page .napb-step:disabled,
.hp-page .napb-next:disabled { cursor:not-allowed; opacity:.48; }
.hp-page .napb-step:disabled { color:var(--napb-muted); }

/* Fixed generation feedback follows the full-screen upload status on van-uw-foto. */
html.hp-generation-active,
html.hp-generation-active body { overflow: hidden; }
.hp-generation-overlay {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 33, 38, .75);
}
.hp-generation-overlay[hidden] { display: none !important; }
.hp-generation-status {
  display: flex;
  width: min(100%, 380px);
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  padding: 30px 28px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
  color: var(--napb-ink);
  text-align: center;
}
.hp-generation-spinner {
  width: 38px;
  height: 38px;
  border: 4px solid #d9dedf;
  border-top-color: var(--napb-red);
  border-radius: 50%;
  animation: hp-spin .8s linear infinite;
}
.hp-generation-status strong {
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.3;
}
.hp-generation-status small {
  margin-top: 7px;
  color: var(--napb-muted);
  font-size: 14px;
  line-height: 1.45;
}
@media (prefers-reduced-motion: reduce) {
  .hp-generation-spinner { animation: none; }
}

/* Step 3 — label/input rows copied from the poster text editors. */
.hp-page .check-line {
  gap: 10px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 600;
}
.hp-page .check-line input {
  position: static;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  opacity: 1;
  pointer-events: auto;
  accent-color: var(--napb-red);
}
.hp-page .check-line span::before { display: none; }
.hp-page .text-fields,
.hp-page .memorial-fields { display: block; margin: 8px 0 13px; }
.hp-page .text-fields label,
.hp-page .memorial-fields label {
  display: grid;
  grid-template-columns: minmax(105px, 29%) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #e1e5e6;
  padding: 17px 0;
}
.hp-page .text-fields label > span,
.hp-page .memorial-fields label > span {
  color: var(--napb-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hp-page .text-fields label > span small,
.hp-page .memorial-fields label > span small { font-size: 10px; font-weight: 400; text-transform: none; }
.hp-page .text-fields input,
.hp-page .text-fields select,
.hp-page .memorial-fields input,
.hp-page .select-line select {
  min-height: 48px;
  height: 48px;
  border-color: #cbd1d2;
  border-radius: 0;
  padding: 10px 13px;
}
.hp-page .memorial { margin-top: 16px; padding-top: 12px; }

/* Step 4 — red product selection, material note and a uniform order summary. */
.hp-page .size-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap: 8px; }
.hp-page .size-grid label > span { min-height: 52px; border-color: #cbd1d2; padding:7px 5px; background: #fff; }
.hp-page .size-grid strong { font-size:12px; line-height:1.2; }
.hp-page .size-grid small { margin-top:2px; font-size:9px; line-height:1.2; }
.hp-page .size-grid input:checked + span {
  border: 1px solid var(--napb-red);
  background: #fffafa;
  box-shadow: inset 0 0 0 1px var(--napb-red);
}
.hp-page .materials { gap: 0; border-top: 1px solid var(--napb-line); }
.hp-page .materials > label {
  min-height: 66px;
  grid-template-columns: 44px minmax(0,1fr) auto;
  gap: 12px;
  border: 1px solid transparent;
  border-bottom-color: var(--napb-line);
  padding: 14px 12px;
}
.hp-page .materials > label:hover { background: #f8f9f9; }
.hp-page .materials > label.is-selected {
  border: 1px solid var(--napb-red);
  background: #fffafa;
}
.hp-page .materials small { font-size: 11px; }
.hp-page .materials b { white-space: nowrap; font-size: 13px; }
.hp-page .material-icon { display:block; position:relative; width:38px; height:38px; background:#eef1f1; box-shadow:none; }
.hp-page .gbp-icon-canvas {
  border:1px solid #cbbba9;
  background:#f1efeb url('../img/materials/canvas-weave.png') center/90px 90px repeat;
  background-blend-mode:luminosity;
  box-shadow:3px 3px 0 #e2ded7;
}
.hp-page .gbp-icon-frame { border:6px solid #171b1d; background:#f4f1eb; }
.hp-page .gbp-icon-frame.frame-white { border-color:#f4f3ef; box-shadow:0 0 0 1px #cbc9c3; }
.hp-page .gbp-icon-frame.frame-oak { border-color:#b98d60; background:#f4f1eb; box-shadow:0 0 0 1px #9b724c; }
.hp-page .gbp-icon-aluminium {
  border:1px solid #8d999d;
  background:linear-gradient(135deg,#e4e8e9,#a8b1b5);
  box-shadow:2px 2px 0 #8d999d;
}
.hp-page .gbp-icon-plexi {
  border:1px solid #c7d3d6;
  background:#eef3f4 url('../img/materials/plexiglas-light.png') center/cover no-repeat;
  box-shadow:2px 2px 0 rgba(177,200,205,.65);
}
.hp-page .gbp-icon-plexi::after {
  content:"";
  position:absolute;
  left:5px;
  top:4px;
  width:18px;
  height:2px;
  background:rgba(255,255,255,.9);
  transform:rotate(-36deg);
}
.hp-frame-colors-inline[hidden] { display:none; }
.hp-frame-colors-inline { margin:-8px 0 8px; border-bottom:1px solid var(--napb-line); padding:4px 12px 12px 68px; background:#fff; }
.hp-frame-colors-inline>strong { display:block; margin:0 0 8px; font-size:11px; letter-spacing:.1em; text-transform:uppercase; }
.hp-frame-colors { display:flex; flex-wrap:wrap; gap:22px; }
.hp-page .materials .hp-frame-colors label { display:block; min-height:0; border:0; padding:0; background:transparent; cursor:pointer; }
.hp-frame-colors input { position:absolute; opacity:0; pointer-events:none; }
.hp-frame-colors span { display:flex; align-items:center; gap:10px; font-size:13px; }
.hp-frame-colors i { display:block; flex:0 0 27px; width:27px; height:27px; border:1px solid #b9bfc1; border-radius:2px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.25); }
.hp-frame-colors input[value="black"]+span i { border-color:#151718; background:#202324; }
.hp-frame-colors input[value="white"]+span i { border-color:#cbc9c3; background:#f4f3ef; }
.hp-frame-colors input[value="oak"]+span i { border-color:#9b724c; background-color:#b98d60; background-image:repeating-linear-gradient(87deg,rgba(91,59,31,.12) 0,rgba(91,59,31,.12) 1px,transparent 1px,transparent 7px),linear-gradient(90deg,#c69a6a,#ad8054); }
.hp-frame-colors input:checked+span i { outline:2px solid var(--napb-ink); outline-offset:3px; }
.hp-frame-colors input:focus-visible+span i { outline:2px solid var(--napb-red); outline-offset:3px; }
.hp-page .material-ready {
  margin: 11px 0 0;
  color: var(--napb-muted);
  font-size: 13px;
  line-height: 1.4;
}
.hp-page .select-line {
  grid-template-columns: minmax(105px,29%) minmax(0,1fr);
  gap: 16px;
  border-bottom: 1px solid #e1e5e6;
  padding: 12px 0;
}
.hp-page .select-line > span { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hp-page .order-options .check-line { padding: 10px 0 2px; }
.hp-page .summary { margin-bottom: 18px; padding: 12px 0; }

/* Photo positioning — mirrors the Verzamelposter crop editor before AI generation. */
.hp-editor[hidden] { display:none!important; }
.hp-editor { position:fixed; z-index:10020; inset:0; display:grid; place-items:center; padding:24px; }
.hp-editor-backdrop { position:absolute; inset:0; background:rgba(13,20,24,.72); }
.hp-editor-dialog { position:relative; width:min(920px,100%); max-height:calc(100vh - 48px); overflow:auto; background:#fff; box-shadow:0 24px 80px rgba(0,0,0,.38); }
.hp-editor-dialog > header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; border-bottom:1px solid var(--napb-line); padding:24px 28px; }
.hp-editor-dialog > header .napb-eyebrow { margin:0 0 5px; }
.hp-editor-dialog h2 { margin:0; font:400 32px/1.1 Georgia,serif; }
.hp-editor-close { width:42px; height:42px; border:1px solid var(--napb-line); background:#fff; color:var(--napb-ink); font-size:28px; line-height:1; cursor:pointer; }
.hp-editor-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); gap:28px; padding:28px; }
.hp-crop-stage { display:grid; min-height:546px; place-items:center; background:#fff; padding:28px; }
.hp-crop-viewport { position:relative; width:min(100%,350px); aspect-ratio:5/7; overflow:hidden; background:#fff; box-shadow:0 1px 2px rgba(23,33,38,.12),0 14px 30px rgba(23,33,38,.18),0 32px 58px rgba(23,33,38,.1); cursor:grab; touch-action:none; user-select:none; }
.hp-crop-viewport.is-dragging { cursor:grabbing; }
.hp-crop-viewport canvas { display:block; width:100%; height:100%; pointer-events:none; }
.hp-editor-controls { display:flex; flex-direction:column; gap:22px; }
.hp-editor-controls label > span,
.hp-rotate-actions > span { display:flex; justify-content:space-between; margin-bottom:8px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.hp-editor-controls input[type="range"] { width:100%; accent-color:var(--napb-red); }
.hp-editor-controls output { color:var(--napb-red); }
.hp-rotate-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.hp-rotate-actions > span { grid-column:1/-1; }
.hp-rotate-actions button { min-height:46px; border:1px solid #cbd1d2; background:#fff; cursor:pointer; }
.hp-rotate-actions button:hover { border-color:var(--napb-red); }
.hp-editor-controls p { margin:0; color:var(--napb-muted); font-size:13px; line-height:1.5; }
.hp-editor-dialog > footer { display:flex; align-items:center; justify-content:space-between; gap:15px; border-top:1px solid var(--napb-line); padding:20px 28px; }
.hp-editor-dialog > footer > div { display:flex; gap:10px; }
.hp-editor-dialog > footer button { min-height:46px; padding:10px 18px; cursor:pointer; }
.hp-editor-reset,.hp-editor-cancel { border:1px solid #cbd1d2; background:#fff; color:var(--napb-ink); }
.hp-editor-apply { border:1px solid var(--napb-red); background:var(--napb-red); color:#fff; }
.hp-editor button:focus-visible,.hp-editor input:focus-visible { outline:3px solid #2463eb; outline-offset:2px; }

/* Shared footer actions and trust copy. */
.hp-page .napb-action-row .napb-next {
  min-height: 63px;
  box-shadow: 0 5px 14px rgba(214,31,44,.18);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.hp-page .napb-action-row .napb-next:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(189,24,35,.24); }
.hp-page .napb-next small { letter-spacing: .11em; }
.hp-page .napb-next strong { font-size: 14px; }
.hp-page .napb-save { display: block; width: auto; margin-top: 18px; }
.hp-page .napb-save:hover { border-color: var(--napb-ink); background: #f3f5f5; }
.hp-page .napb-usp { margin-top: 10px; }

.hp-page .text-fields .font-field { display:grid; grid-column:1/-1; gap:0; padding:10px 0; border-bottom:1px solid #e1e5e6; }
.hp-page .text-fields .font-field-label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.hp-page .font-config-toggle { display:grid; width:100%; min-height:44px; grid-template-columns:30px minmax(0,1fr) 14px; align-items:center; gap:10px; border:1px solid #c7cdcf; border-radius:2px; padding:6px 11px 6px 8px; background:#fff; color:#172126; cursor:pointer; text-align:left; transition:border-color .15s ease,background .15s ease,box-shadow .15s ease; }
.hp-page .font-config-toggle:hover { border-color:#8e999d; background:#f8f9f9; }
.hp-page .font-config-toggle:focus-visible { outline:3px solid #2463eb; outline-offset:2px; }
.hp-page .font-config-icon { position:relative; display:grid; width:30px; height:30px; place-content:center; gap:4px; border-radius:50%; background:#f0f2f2; }
.hp-page .font-config-icon i { position:relative; display:block; width:16px; height:1px; background:#172126; }
.hp-page .font-config-icon i::after { position:absolute; top:-3px; width:7px; height:7px; border:1px solid #172126; border-radius:50%; background:#f0f2f2; content:''; }
.hp-page .font-config-icon i:nth-child(1)::after,.hp-page .font-config-icon i:nth-child(3)::after { left:3px; }
.hp-page .font-config-icon i:nth-child(2)::after { right:3px; }
.hp-page .font-config-toggle-label { font:700 12px/1.25 Arial,sans-serif; }
.hp-page .font-config-chevron { width:8px; height:8px; justify-self:end; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translate(-2px,2px); transition:transform .15s ease; }
.hp-page .font-config-toggle[aria-expanded="true"] .font-config-chevron { transform:rotate(225deg) translate(-1px,1px); }
.hp-page .font-config-controls { display:grid; gap:8px; padding-top:8px; }
.hp-page .font-config-controls[hidden] { display:none!important; }
.hp-page .font-target-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; padding:2px; border-radius:3px; background:#eef0f1; }
.hp-page .font-target-tabs button { min-height:34px; border:0; border-radius:2px; padding:5px 8px; background:transparent; color:#657176; font:700 11px/1.2 Arial,sans-serif; cursor:pointer; }
.hp-page .font-target-tabs button[aria-selected="true"] { background:#fff; color:#172126; box-shadow:0 1px 5px rgba(23,33,38,.14); }
.hp-page .font-target-tabs button:focus-visible { outline:3px solid #2463eb; outline-offset:1px; }
.hp-page .pet-copy span.font-modern { font-family:Arial,Helvetica,sans-serif; font-style:normal; font-weight:500; letter-spacing:.24em; text-transform:uppercase; }
.hp-page .pet-copy span.font-elegant { font-family:Georgia,"Times New Roman",serif; font-style:italic; font-weight:400; letter-spacing:.12em; text-transform:none; }
.hp-page .pet-copy span.font-handwritten { font-family:NikkelHand,"Segoe Script",cursive; font-style:normal; font-weight:400; letter-spacing:0; text-transform:none; }
.hp-page .pet-copy span.font-classic { font-family:Baskerville,"Times New Roman",Georgia,serif; font-style:normal; font-variant:small-caps; font-weight:600; letter-spacing:.16em; text-transform:none; }
.hp-page .pet-print.layout-classic .pet-copy span.font-modern,.hp-page .pet-print.layout-full .pet-copy span.font-modern { font-size:var(--hp-subtitle-size,clamp(6px,2cqi,10px)); }
.hp-page .pet-print.layout-classic .pet-copy span.font-elegant,.hp-page .pet-print.layout-full .pet-copy span.font-elegant,.hp-page .pet-print.layout-classic .pet-copy span.font-classic,.hp-page .pet-print.layout-full .pet-copy span.font-classic { font-size:var(--hp-subtitle-size,clamp(7px,2.3cqi,11px)); }
.hp-page .pet-print.layout-classic .pet-copy span.font-handwritten,.hp-page .pet-print.layout-full .pet-copy span.font-handwritten { font-size:var(--hp-subtitle-size,clamp(9px,2.8cqi,14px)); }
.hp-page .text-fields .font-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.hp-page .text-fields .font-options label { display:block; border:0; padding:0; cursor:pointer; }
.hp-page .text-fields .font-options label>span { position:relative; display:flex; min-height:62px; align-items:center; justify-content:center; flex-direction:column; gap:3px; margin:0; border:1px solid #cfd5d6; border-radius:2px; padding:5px 3px; background:#fff; text-align:center; text-transform:none; transition:border-color .15s ease,background .15s ease; }
.hp-page .text-fields .font-options input { width:auto; height:auto; min-height:0; padding:0; }
.hp-page .text-fields .font-options input:checked+span { border:2px solid #343A34; padding:4px 2px; background:#fff8f6; }
.hp-page .text-fields .font-options input:checked+span::after { position:absolute; top:4px; right:4px; display:grid; width:14px; height:14px; place-items:center; border-radius:50%; background:#343A34; color:#fff; content:'✓'; font:700 9px/1 Arial,sans-serif; }
.hp-page .text-fields .font-options input:focus-visible+span { outline:3px solid #2463eb; outline-offset:2px; }
.hp-page .text-fields .font-options b { color:#172126; font-size:18px; font-weight:400; line-height:1; }
.hp-page .text-fields .font-options small { color:#657176; font:10px/1.15 Arial,sans-serif; }
.hp-page .text-fields .font-option-modern b { font-family:Arial,Helvetica,sans-serif; font-weight:700; letter-spacing:.06em; }
.hp-page .text-fields .font-option-elegant b { font-family:Georgia,"Times New Roman",serif; font-style:italic; }
.hp-page .text-fields .font-option-handwritten b { font-family:NikkelHand,"Segoe Script",cursive; font-size:23px; }
.hp-page .text-fields .font-option-classic b { font-family:Baskerville,"Times New Roman",Georgia,serif; font-variant:small-caps; font-weight:600; letter-spacing:.08em; }
.hp-page .font-size-control { display:grid; gap:1px; margin:0; padding:7px 9px 6px; border:1px solid #e2e6e7; background:#fafbfb; }
.hp-page .font-size-control>span { display:flex; align-items:center; justify-content:space-between; color:#172126; font:600 11px/1.2 Arial,sans-serif; text-transform:none; }
.hp-page .font-size-control output { color:#343A34; font-weight:700; }
.hp-page .font-size-control input[type=range] { position:static; width:100%; height:36px!important; min-height:0!important; margin:0; padding:0; border:0; opacity:1; background:linear-gradient(90deg,#343A34 0 var(--hp-font-size-progress,50%),#d9dedf var(--hp-font-size-progress,50%) 100%) center/100% 2px no-repeat!important; appearance:none; -webkit-appearance:none; cursor:pointer; pointer-events:auto; }
.hp-page .font-size-control input[type=range]::-webkit-slider-runnable-track { height:2px; border:0; border-radius:99px; background:transparent; }
.hp-page .font-size-control input[type=range]::-webkit-slider-thumb { width:12px; height:12px; margin-top:-5px; border:1.5px solid #343A34; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(23,33,38,.12); appearance:none; -webkit-appearance:none; }
.hp-page .font-size-control input[type=range]::-moz-range-track { height:2px; border:0; border-radius:99px; background:#d9dedf; }
.hp-page .font-size-control input[type=range]::-moz-range-progress { height:2px; border-radius:99px; background:#343A34; }
.hp-page .font-size-control input[type=range]::-moz-range-thumb { width:10px; height:10px; border:1.5px solid #343A34; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(23,33,38,.12); }
.hp-page .font-size-control input[type=range]:focus-visible { outline:2px solid #2463eb; outline-offset:2px; }

/* The reference gallery uses restrained 82 × 58 thumbnails, not framed cards. */
@media (min-width: 701px) {
  .hp-page .hp-gallery-thumbs button { height: 58px; }
}

@media (max-width: 700px) {
  .hp-page .napb-step { font-size: 10px; }
  .hp-page .napb-config-title h2 { font-size: clamp(30px, 8vw, 38px); }
  .hp-page .style-grid { gap: 12px 8px; }
  .hp-page .style-grid label,
  .hp-page .style-grid label > span,
  .hp-page .layout-options label,
  .hp-page .layout-options label > span { flex-basis: 76px; width: 76px; }
  .hp-page .swatches label { flex-basis: 62px; width: 62px; }
  .hp-page .hp-visual-colors { padding:16px 14px 14px; }
  .hp-page .hp-color-presets { gap:6px; }
  .hp-page .hp-custom-picker .hp-color-presets button { width:28px; height:28px; }
  .hp-page .text-fields .font-options { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .hp-page .size-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hp-frame-colors-inline { padding-left:12px; }
  .hp-frame-colors { gap:15px; }
  .hp-page .generation-row { align-items: center; }
  .hp-page .text-fields label,
  .hp-page .memorial-fields label { grid-template-columns: minmax(0,1fr); gap: 7px; padding: 13px 0; }
  .hp-page .napb-config-pane input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  .hp-page .napb-config-pane select,
  .hp-page .napb-config-pane textarea,
  .hp-page .napb-config-pane [contenteditable="true"] {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    touch-action: manipulation;
  }
  .hp-page .layout-options { grid-template-columns: none; }
  .hp-editor { padding:10px; }
  .hp-editor-dialog { max-height:calc(100vh - 20px); }
  .hp-editor-dialog > header { align-items:center; gap:10px; padding:10px 12px; }
  .hp-editor-dialog > header > div { min-width:0; }
  .hp-editor-dialog > header .napb-eyebrow { display:none; }
  .hp-editor-dialog h2 { overflow:hidden; font-size:clamp(16px,5vw,20px); line-height:1.15; text-overflow:ellipsis; white-space:nowrap; }
  .hp-editor-close { flex:0 0 42px; }
  .hp-editor-layout { grid-template-columns:1fr; gap:20px; padding:18px; }
  .hp-crop-stage { min-height:386px; padding:18px; }
  .hp-crop-viewport { width:min(100%,250px); }
  .hp-editor-dialog > footer { align-items:stretch; flex-direction:column; padding:16px 18px; }
  .hp-editor-dialog > footer > div { display:grid; grid-template-columns:1fr 1fr; }
  .hp-editor-dialog > footer button { width:100%; }
}
.hp-page .usp-row{margin-top:20px;color:#4a575c;font-size:13px;line-height:1.5;text-align:center}

/* v0.12.10 — readable helper copy aligned with the Maanposter accessibility pass. */
.hp-page .napb-step { color:#667176; }
.hp-page .napb-step.is-active { color:var(--napb-ink); }
.hp-page .field-intro,
.hp-page .photo-status,
.hp-page .photo-sort-help,
.hp-page .privacy-note,
.hp-page .hp-crop-help,
.hp-page .generation-message {
  color:#4a575c;
  font-size:13px;
  font-weight:500;
  line-height:1.5;
}
.hp-page .photo-status { min-height:20px; }
.hp-page .upload-zone small { color:#4a575c; font-size:13px; line-height:1.5; }
.hp-page .photo-details {
  background:rgba(23,33,38,.86);
  font-size:10px;
  line-height:1.2;
}
.hp-page .photo-details.warn { background:rgba(120,76,0,.94); }
.hp-page .photo-details.bad { background:rgba(148,24,36,.94); }
.hp-page .style-grid strong { color:#38454b; font-size:13px; line-height:1.3; }
.hp-page .style-grid small {
  max-width:84px;
  color:#4a575c;
  font-size:12px;
  line-height:1.35;
}
.hp-page .swatches small,
.hp-page .layout-options small,
.hp-page .size-grid small {
  color:#4a575c;
  font-size:12px;
  line-height:1.35;
}
.hp-page .materials small { color:#4a575c; font-size:13px; line-height:1.4; }
.hp-page .generation-row p { color:#4a575c; font-size:13px; line-height:1.5; }
.hp-page .napb-price span { color:#4a575c; font-size:12px; line-height:1.35; }
.hp-page .napb-usp { color:#4a575c; font-size:13px; line-height:1.5; }

/* v0.12.11 — keep the generated/disabled CTA legible instead of fading the whole control. */
.hp-page .generate:disabled {
  border-color:#7b8589;
  background:#f3f5f5;
  color:#38454b;
  cursor:default;
  opacity:1;
}
.hp-page .generate:disabled::after {
  border-color:#7b8589;
  background-color:#fff;
  opacity:1;
}

/* v0.12.12 — people-first SEO content for the NL huisdierportret landing page. */
.hp-page .hp-intro {
  max-width:1040px;
  padding-bottom:58px;
}
.hp-page .hp-intro > p:not(.napb-eyebrow) {
  max-width:820px;
  color:#4a575c;
  font-size:17px;
  line-height:1.72;
}
.hp-page .hp-intro > div {
  margin-top:30px;
  color:#26343a;
  font-size:14px;
}
.hp-page .how-it-works {
  padding-top:58px;
}
.hp-page .how-it-works h3 {
  margin:0 0 10px;
}
.hp-page .how-it-works p {
  color:#4a575c;
  font-size:15px;
  line-height:1.65;
}
.hp-content-section {
  max-width:1180px;
  margin:0 auto;
  padding:86px 40px;
}
.hp-content-heading {
  max-width:840px;
  margin:0 auto 40px;
  text-align:center;
}
.hp-content-heading > p:last-child {
  margin:20px auto 0;
  color:#4a575c;
  font-size:17px;
  line-height:1.72;
}
.hp-info-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.hp-info-grid article {
  border-top:3px solid #343A34;
  padding:24px 24px 26px;
  background:#f7f4ee;
}
.hp-info-grid h3 {
  margin-bottom:12px;
  font-size:24px;
}
.hp-info-grid p {
  margin:0;
  color:#4a575c;
  font-size:15px;
  line-height:1.65;
}
.hp-occasion {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:72px;
  align-items:center;
  padding:84px max(40px,calc((100vw - 1180px)/2));
  background:#f1f3f3;
}
.hp-occasion > div > p:last-child {
  margin:20px 0 0;
  color:#4a575c;
  font-size:17px;
  line-height:1.72;
}
.hp-occasion ul {
  margin:0;
  padding:0;
  list-style:none;
}
.hp-occasion li {
  display:grid;
  gap:5px;
  border-bottom:1px solid #cbd2d4;
  padding:18px 0;
}
.hp-occasion li:first-child { border-top:1px solid #cbd2d4; }
.hp-occasion li strong { font:400 21px/1.25 Georgia,serif; }
.hp-occasion li span { color:#4a575c; font-size:14px; line-height:1.55; }
.hp-page .material-showcase .section-heading > p:last-child {
  margin:20px 0 0;
  color:#d5dcde;
  font-size:16px;
  line-height:1.65;
}
.hp-page .material-showcase .section-heading h2 {
  color:#fff;
}
.hp-page .material-cards h3 { margin-bottom:11px; font-size:23px; }
.hp-page .material-cards p { margin:0; color:#d5dcde; font-size:14px; line-height:1.65; }
.hp-photo-guide ol {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin:0;
  padding:0;
  counter-reset:hp-photo-tip;
  list-style:none;
}
.hp-photo-guide li {
  position:relative;
  min-height:215px;
  border:1px solid #d9dedf;
  padding:66px 19px 22px;
  counter-increment:hp-photo-tip;
}
.hp-photo-guide li::before {
  position:absolute;
  top:20px;
  left:19px;
  display:grid;
  width:32px;
  height:32px;
  place-items:center;
  border-radius:50%;
  background:#172126;
  color:#fff;
  content:counter(hp-photo-tip);
  font-weight:700;
}
.hp-photo-guide li strong { display:block; margin-bottom:9px; font-size:15px; }
.hp-photo-guide li span { color:#4a575c; font-size:14px; line-height:1.55; }
.hp-process-note {
  display:grid;
  grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);
  gap:70px;
  align-items:start;
  padding:72px max(40px,calc((100vw - 1180px)/2));
  background:#f7f4ee;
}
.hp-process-note > p {
  margin:0;
  color:#3f4c51;
  font-size:17px;
  line-height:1.72;
}
.hp-page .faq {
  max-width:1040px;
}
.hp-page .faq > div {
  max-width:900px;
}
.hp-page .faq summary {
  color:#26343a;
  font-size:16px;
  line-height:1.45;
}
.hp-page .faq details p {
  margin:12px 0 0;
  color:#4a575c;
  font-size:15px;
  line-height:1.68;
}

@media (max-width: 980px) {
  .hp-info-grid { grid-template-columns:1fr; }
  .hp-occasion { grid-template-columns:1fr; gap:36px; }
  .hp-photo-guide ol { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hp-process-note { grid-template-columns:1fr; gap:24px; }
}

@media (max-width: 700px) {
  .hp-page .hp-intro,
  .hp-page .how-it-works,
  .hp-page .faq,
  .hp-content-section { padding:58px 20px; }
  .hp-page .hp-intro > p:not(.napb-eyebrow),
  .hp-content-heading > p:last-child,
  .hp-occasion > div > p:last-child,
  .hp-process-note > p { font-size:16px; line-height:1.68; }
  .hp-content-heading { margin-bottom:28px; }
  .hp-info-grid article { padding:22px 20px 24px; }
  .hp-occasion,.hp-process-note { padding:58px 20px; }
  .hp-photo-guide ol { grid-template-columns:1fr; }
  .hp-photo-guide li { min-height:0; }
  .hp-page .material-cards article { min-height:0; }
}

/* 25% promotional price hierarchy — 2026-09-28 */
.promo-price-pair{display:flex!important;align-items:baseline!important;gap:9px!important;white-space:nowrap}
.promo-price-new{display:inline-flex;align-items:baseline;gap:.16em;color:#343A34;font-family:Georgia,serif;font-size:27px;font-weight:600;line-height:.95;text-decoration:none;white-space:nowrap}
.promo-price-currency,.promo-price-amount{display:inline-block;line-height:1}
.promo-price-currency{transform:translateY(.14em)}
.promo-price-old{color:#667176;font-family:Arial,sans-serif;font-size:13px;font-weight:400;text-decoration-thickness:1px}
.promo-material-price{display:flex!important;flex-direction:column;align-items:flex-end;gap:2px;font-style:normal;line-height:1.1}
.promo-material-price del{color:#667176;font-size:11px;font-weight:400;text-decoration-thickness:1px}
.promo-material-price ins{color:#343A34;font-size:14px;font-weight:700;text-decoration:none}
.promo-quality-price del{color:#aeb9bb;text-decoration-thickness:1px}.promo-quality-price strong{color:#fff}

/* Approved compact promotional price block. */
.hp-page .napb-price{display:flex;min-height:54px;flex-direction:column;justify-content:center;gap:4px;padding:8px 14px 9px;border:1px solid #d9dedf;background:#faf8f4;box-shadow:inset 3px 0 0 #343A34}
.hp-page .napb-price>small{align-self:flex-start;color:#667176;font-size:9px;font-weight:700;line-height:1;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap}
.hp-page .napb-price>.promo-price-pair{font-family:Georgia,serif;font-size:25px;font-weight:500;line-height:1}
.hp-page .napb-price .promo-price-new{font-size:27px;line-height:.95}
.hp-page .napb-price .promo-price-currency,.hp-page .napb-price .promo-price-amount{grid-column:auto;margin:0;color:inherit;font-size:inherit;line-height:1}
.hp-page .napb-price>.hp-current-price-detail{display:none}
/* personal-product-shop-rating-20261008 */
.napb-config-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.napb-shop-rating{flex:0 0 auto;text-align:right;line-height:1.35}
.napb-shop-rating span{display:block;color:#ee7d24;font-size:14px;letter-spacing:.08em}
.napb-shop-rating small{display:block;color:#687277;white-space:nowrap;font-size:13px}
@media(max-width:700px){.napb-config-title{display:block;min-width:0}.napb-shop-rating{text-align:left;margin-top:7px}.napb-shop-rating small{font-size:10px}}

/* Gallery image disclosure */
.hp-gallery-stage{position:relative}.hp-gallery-disclosure{position:absolute;left:12px;bottom:12px;padding:6px 9px;background:rgba(17,20,25,.78);color:#fff;font:600 10px/1.2 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}

/* The floating chat must not cover crop-editor actions. */
.hp-editor-is-open #nk-chat-bubble { display:none!important; }

/* Mobile crop editor: keep confirmation visible while the controls scroll. */
@media (max-width:700px) {
  .hp-editor {
    height:100dvh;
    padding:10px;
    overflow:hidden;
  }
  .hp-editor-dialog {
    display:flex;
    width:100%;
    height:calc(100dvh - 20px);
    max-height:calc(100dvh - 20px);
    flex-direction:column;
    overflow:hidden;
  }
  .hp-editor-dialog > header {
    flex:0 0 auto;
  }
  .hp-editor-layout {
    flex:1 1 auto;
    min-height:0;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .hp-editor-dialog > footer {
    position:relative;
    z-index:3;
    flex:0 0 auto;
    gap:8px;
    padding:10px 18px calc(10px + env(safe-area-inset-bottom));
    background:#fff;
    box-shadow:0 -8px 18px rgba(23,33,38,.1);
  }
  .hp-editor-dialog > footer > div {
    gap:8px;
    grid-template-columns:1fr 1.35fr;
  }
  .hp-editor-dialog > footer button {
    min-height:48px;
    padding:9px 8px;
    font-size:14px;
  }
}

/* Keep the generated preview visible on mobile, matching Fotocollage. */
@media (max-width:760px) {
  body#module-reshuisdierportret-design > main {
    overflow:visible!important;
  }
  .hp-page.mobile-preview-active .napb-builder {
    display:flex;
    flex-direction:column;
  }
  .hp-page.mobile-preview-active .napb-preview-pane {
    position:sticky!important;
    z-index:90;
    top:0;
    align-self:flex-start;
    order:0;
    display:flex;
    width:100%;
    height:38svh;
    max-height:360px;
    min-height:220px;
    overflow:hidden;
    padding:7px 12px;
    border-bottom:1px solid #cfd5d6;
    background:var(--napb-preview);
    box-shadow:0 8px 20px rgba(23,33,38,.13);
  }
  .hp-page.mobile-preview-active .napb-config-pane { order:1; }
  .hp-page.mobile-preview-active .napb-preview-pane .napb-heading,
  .hp-page.mobile-preview-active .hp-gallery-thumbs { display:none!important; }
  .hp-page.mobile-preview-active .napb-stage {
    flex:1 1 0;
    width:100%;
    height:100%;
    min-height:0;
    align-items:center;
    padding:0;
    overflow:hidden;
  }
  .hp-page.mobile-preview-active .hp-hero-gallery {
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    min-height:0;
  }
  .hp-page.mobile-preview-active .hp-hero-gallery-view,
  .hp-page.mobile-preview-active .hp-preview-product {
    display:flex;
    width:100%;
    height:100%;
    min-height:0;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  .hp-page.mobile-preview-active .napb-preview-frame {
    width:auto;
    max-width:100%;
    height:min(calc(38svh - 14px),346px);
    max-height:min(calc(38svh - 14px),346px);
  }
  .hp-page.mobile-preview-active .napb-config-pane { padding-top:14px; }
  .hp-page.mobile-preview-active .napb-config-title { display:none; }
  .hp-page.mobile-preview-active .napb-steps { margin:0 0 14px; }
  .hp-page.mobile-preview-active .pet-style-picker {
    margin-bottom:14px;
    scroll-margin-top:calc(min(38svh, 360px) + 14px);
  }
  .hp-page.mobile-preview-active .pet-style-picker .field-intro { margin-bottom:8px; }
  .hp-page.mobile-preview-active .style-grid {
    flex-wrap:nowrap;
    gap:8px;
    margin-right:-20px;
    margin-left:-20px;
    overflow-x:auto;
    padding:5px 20px 12px;
    scroll-padding-inline:20px;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }
  .hp-page.mobile-preview-active .style-grid label { flex:0 0 76px; scroll-snap-align:start; }
}


/* v0.12.25 — primary generation CTA. */
.hp-page .generate-preview {
  border-color:var(--napb-red);
  background:var(--napb-red);
  color:#fff;
  box-shadow:0 7px 18px rgba(214,31,44,.2);
}
.hp-page .generate-preview:hover {
  border-color:#b71925;
  background:#b71925;
  color:#fff;
}
.hp-page .generate-preview:focus-visible {
  outline:3px solid rgba(214,31,44,.3);
  outline-offset:3px;
}
.hp-page .generate-preview::after {
  border-color:rgba(255,255,255,.58);
  background-color:rgba(255,255,255,.08);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.hp-page .generate-preview:disabled {
  border-color:var(--napb-red);
  background:var(--napb-red);
  color:#fff;
  cursor:wait;
  opacity:.66;
}
.hp-page .generate-preview:disabled::after {
  border-color:rgba(255,255,255,.58);
  background-color:rgba(255,255,255,.08);
}

.hp-page.photo-ready .hp-frame {
  box-shadow:
    0 1px 2px rgba(23,33,38,.12),
    0 15px 32px rgba(23,33,38,.17),
    0 38px 72px rgba(23,33,38,.11);
}
@media (max-width:700px) {
  .hp-page.photo-ready .hp-frame {
    box-shadow:
      0 1px 2px rgba(23,33,38,.12),
      0 10px 24px rgba(23,33,38,.18),
      0 24px 42px rgba(23,33,38,.1);
  }
}

/* Keep the original wide-desktop behavior unchanged. */
@media (min-width:1181px) {
  .hp-page.styles-ready .napb-preview-pane {
    position:sticky;
    z-index:20;
    top:0;
    align-self:start;
    height:100vh;
    height:100svh;
    min-height:0;
    padding:24px 48px;
    border-bottom:1px solid #cfd5d6;
    box-shadow:0 7px 22px rgba(23,33,38,.1);
  }
  .hp-page.styles-ready .napb-preview-pane .napb-heading,
  .hp-page.styles-ready .hp-gallery-thumbs { display:none!important; }
  .hp-page.styles-ready .napb-stage {
    flex:1 1 auto;
    align-items:center;
    padding:0;
  }
  .hp-page.styles-ready .hp-hero-gallery {
    display:block;
    width:100%;
    max-width:none;
  }
  .hp-page.styles-ready .hp-preview-product { align-items:center; }
}

/* v0.12.44 — real material-corner photography in the product material showcase. */
.hp-page .material-cards article {
  overflow:hidden;
  padding:0;
}
.hp-page .material-corner {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
  background:#eef1f1;
}
.hp-page .material-card-copy { padding:24px 24px 28px; }
.hp-page .material-card-copy h3 { margin-top:0; }

@media (max-width:700px) {
  .hp-page .material-cards {
    display:flex;
    gap:14px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding:0 9vw 10px 0;
  }
  .hp-page .material-cards::-webkit-scrollbar { display:none; }
  .hp-page .material-cards article {
    flex:0 0 86%;
    scroll-snap-align:start;
  }
}

/* v0.12.47 — all four formats stay in one compact row on every viewport. */
@media (max-width:700px) {
  .hp-page .size-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
  }
  .hp-page .size-grid label > span {
    min-height:48px;
    padding:6px 3px;
  }
  .hp-page .size-grid strong {
    font-size:11px;
    white-space:nowrap;
  }
  .hp-page .size-grid small {
    font-size:8px;
    line-height:1.15;
  }
}

@media (max-width:420px) {
  .hp-page .size-grid { gap:4px; }
  .hp-page .size-grid label > span { min-height:44px; padding:5px 2px; }
  .hp-page .size-grid strong { font-size:10px; }
  .hp-page .size-grid small { display:none; }
}

/* v0.12.48 — selection is indicated by the red thumbnail ring only. */
.hp-page .style-grid label.has-result .mini::after { content:none; display:none; }

/* v0.12.65 — prevent iOS focus zoom in every editable field on the
   Huisdierportret page, including the header and landscape phones. */
@media (max-width:900px) {
  body#module-reshuisdierportret-design {
    -webkit-text-size-adjust:100%;
  }
  body#module-reshuisdierportret-design input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  body#module-reshuisdierportret-design select,
  body#module-reshuisdierportret-design textarea,
  body#module-reshuisdierportret-design [contenteditable="true"] {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
    font-size:16px!important;
    touch-action:manipulation;
  }
}

/* v0.12.68 — keep off-canvas shop navigation from widening the mobile page.
   `clip` does not create a scrolling ancestor, so the configurator preview can
   remain sticky while the intentional style/material carousels still scroll. */
@media (max-width:900px) {
  html,
  body#module-reshuisdierportret-design,
  body#module-reshuisdierportret-design #wrapper,
  body#module-reshuisdierportret-design #content-wrapper {
    max-width:100%;
    overflow-x:clip;
  }
}

/* v0.12.69 — Dogue editorial neckwear thumbnail. */
/* v0.12.70 — Klassiek: equal 5cqi top/side margins, compact copy band and matching artwork fill. */
/* v0.12.71 — Pulp cinema replaces the duplicate royal gentleman style. */
.hp-page .mini.dogue {
  background-image:url('../img/style-references/dogue-v2.jpg');
}

/* Related gifts: approved Sterrenposter component, adapted for Huisdierportret. */
.hp-page .rfc-related{max-width:100%;margin:0;padding:80px clamp(28px,6vw,96px);overflow-x:clip;background:#fff;color:#292b32;font-family:Arial,Helvetica,sans-serif}
.hp-page .rfc-related .section-kicker{margin:0;color:#a52a34;font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
.hp-page .rfc-related h2{max-width:920px;margin:10px 0 14px;color:#292b32;font:400 clamp(30px,3vw,42px)/1.14 Georgia,serif;letter-spacing:-.025em}
.hp-page .rfc-related-intro{max-width:760px;margin:0;color:#646872;font-size:15px;line-height:1.72}
.hp-page .rfc-related-grid{display:grid;width:100%;grid-template-columns:repeat(10,minmax(180px,220px));grid-auto-flow:row;justify-content:space-between;gap:14px;margin-top:26px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding-bottom:10px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.hp-page .rfc-related-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #e0e2e6;background:#fff;color:inherit;text-decoration:none;scroll-snap-align:start;scroll-snap-stop:always;transition:transform .18s ease,box-shadow .18s ease}
.hp-page .rfc-related-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #27293416}
.hp-page .rfc-related-card:focus-visible{outline:3px solid #343A34;outline-offset:3px}
.hp-page .rfc-related-media{display:block;aspect-ratio:1.45;overflow:hidden;background:#eef0f2}
.hp-page .rfc-related-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.hp-page .rfc-related-card:hover img{transform:scale(1.025)}
.hp-page .rfc-related-body{display:flex;flex:1;flex-direction:column;padding:14px}
.hp-page .rfc-related-body small{color:#a52a34;font-size:8px;font-weight:700;line-height:1.35;letter-spacing:.1em;text-transform:uppercase}
.hp-page .rfc-related-body h3{margin:7px 0 6px;color:#292b32;font:400 17px/1.22 Georgia,serif}
.hp-page .rfc-related-body p{margin:0 0 13px;color:#646872;font-size:11.5px;line-height:1.5}
.hp-page .rfc-related-body>span{margin-top:auto;color:#9f2631;font-size:11px;font-weight:700}
.hp-page .rfc-related-context{margin:24px 0 0;color:#646872;font-size:15px;line-height:1.72}
.hp-page .rfc-related-context a{color:#9f2631;text-decoration:underline;text-underline-offset:3px}
.hp-page .rfc-related-card-cushion .rfc-related-media{background:#fff}
.hp-page .rfc-related-card-cushion .rfc-related-media img{box-sizing:border-box;object-fit:contain;padding:18px 24px}
@media(max-width:1100px){.hp-page .rfc-related-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(260px,42vw);scrollbar-width:none}.hp-page .rfc-related-grid::-webkit-scrollbar{display:none}}
@media(max-width:760px){.hp-page .rfc-related{padding:56px 22px}.hp-page .rfc-related-grid{display:flex;width:100%;max-width:100%;gap:12px;margin-right:0;overflow-x:auto;overflow-y:hidden;padding-right:22px;padding-bottom:8px}.hp-page .rfc-related-card{flex:0 0 78%;min-width:0}.hp-page .rfc-related-card-cushion .rfc-related-media img{padding:16px 20px}}
@media(prefers-reduced-motion:reduce){.hp-page .rfc-related-card,.hp-page .rfc-related-media img{transition:none}.hp-page .rfc-related-card:hover,.hp-page .rfc-related-card:hover img{transform:none}}

/* v0.12.73 — lightweight, product-accurate interior imagery in editorial content. */
.hp-page .hp-intro {
  display:grid;
  max-width:1180px;
  grid-template-columns:minmax(320px,440px) minmax(0,1fr);
  gap:72px;
  align-items:center;
  padding:86px 40px;
  text-align:left;
}
.hp-page .hp-intro > div { display:block; margin:0; font-size:inherit; }
.hp-page .hp-intro-media picture,
.hp-page .hp-intro-media img {
  display:block;
  width:100%;
}
.hp-page .hp-intro-media img {
  height:auto;
  aspect-ratio:5/7;
  object-fit:cover;
  background:#eef1f1;
  box-shadow:0 18px 46px rgba(30,39,43,.13);
}
.hp-page .hp-intro-copy h2 { margin:0; }
.hp-page .hp-intro-copy > p:not(.napb-eyebrow) {
  max-width:none;
  margin:20px 0 0;
  color:#4a575c;
  font-size:17px;
  font-weight:400;
  line-height:1.72;
}
.hp-page .hp-intro-benefits {
  display:grid;
  gap:9px;
  margin-top:28px;
  color:#26343a;
  font-size:14px;
  font-weight:700;
}
.hp-page .hp-intro-benefits span::before {
  margin-right:8px;
  color:#343A34;
  content:"✓";
}
.hp-page .hp-info-grid article {
  overflow:hidden;
  border-top:0;
  padding:0;
  background:#f7f4ee;
}
.hp-page .hp-info-grid article > img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:5/7;
  object-fit:cover;
  background:#eef1f1;
}
.hp-page .hp-info-grid article > div {
  border-top:3px solid #343A34;
  padding:24px 24px 26px;
}
.hp-page .hp-info-grid article h3 { margin:0 0 12px; }

@media (max-width:840px) {
  .hp-page .hp-intro {
    max-width:760px;
    grid-template-columns:1fr;
    gap:34px;
  }
  .hp-page .hp-intro-media { max-width:520px; margin:0 auto; }
  .hp-page .hp-info-grid { grid-template-columns:1fr; }
  .hp-page .hp-info-grid article {
    display:grid;
    grid-template-columns:minmax(180px,38%) minmax(0,1fr);
  }
  .hp-page .hp-info-grid article > img { height:100%; object-position:center top; }
  .hp-page .hp-info-grid article > div { border-top:0; border-left:3px solid #343A34; }
}

@media (max-width:700px) {
  .hp-page .hp-intro { gap:28px; padding:58px 20px; }
  .hp-page .hp-intro-copy > p:not(.napb-eyebrow) { font-size:16px; line-height:1.68; }
  .hp-page .hp-intro-benefits { margin-top:24px; font-size:13px; }
  .hp-page .hp-info-grid article { grid-template-columns:minmax(112px,36%) minmax(0,1fr); }
  .hp-page .hp-info-grid article > div { padding:20px 18px 22px; }
  .hp-page .hp-info-grid h3 { font-size:21px; }
  .hp-page .hp-info-grid p { font-size:14px; line-height:1.55; }
}

/* Cosyspace: twelve styles in two desktop rows. */
@media (min-width:701px) {
 .hp-page .style-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px 8px; }
 .hp-page .style-grid label, .hp-page .style-grid label > span { min-width:0; }
 .hp-page .style-grid strong, .hp-page .style-grid small { overflow-wrap:anywhere; }
}

/* Embedded preview must not derive its height from the auto-sized iframe. */
.hp-page.styles-ready .napb-preview-pane { height:auto; min-height:0; }
@media (min-width:701px) {
 .hp-page .hp-frame { height:min(760px,calc((58vw - 96px) * 1.4)); }
 .hp-page.styles-ready .napb-preview-pane { position:relative; top:auto; align-self:stretch; }
 .hp-page.styles-ready .napb-stage { flex:0 0 auto; align-items:flex-start; }
}
