/* Real material and photo layers from the client's original configurator. */
.premium .book-preview:has(.fkm-book-preview) { padding: 0; min-height: 0; background: #fff; }
.fkm-book-preview { position: relative; width: 100%; aspect-ratio: 467 / 390; overflow: hidden; background: #fff; isolation: isolate; }
.fkm-book-preview .fkm-book-layer { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: fill; display: block; }
.premium .color-choice > .fkm-material-swatch { background-size: cover; background-position: center; }
.premium .window-choices .choice, .premium .frame-choices .choice { min-height: 164px; gap: 14px; padding: 16px 12px; }
.fkm-window-thumb { width: 100%; max-width: 140px; height: 102px; display: flex; align-items: center; justify-content: center; }
.fkm-window-thumb img { display: block; width: 100% !important; height: 100% !important; object-fit: contain !important; }
.premium .stamp-grid .choice { min-height: 142px; padding: 14px 10px; gap: 10px; }
.stamp-art { width: 100%; min-height: 88px; }
.stamp-art img { display: block; width: 100px; height: 88px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.premium .choice:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.premium .option-dependency-note { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 14px 16px; border-radius: 9px; background: #f1f7fc; color: #47647e; font-size: 16px; line-height: 1.65; }
.premium .option-dependency-note .ico { flex: 0 0 21px; margin-top: 2px; }
.premium .local-offer { margin-top: 76px; padding-top: 48px; border-top: 1px solid #e1eaf1; }
.premium .local-offer-heading { max-width: 690px; margin-bottom: 30px; }
.premium .local-offer-heading h2 { margin: 12px 0 16px; font-size: clamp(28px,3vw,38px); line-height: 1.2; }
.premium .local-offer-heading p { color: #71879c; font-size: 17px; line-height: 1.8; }
.premium .local-offer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.premium .local-offer-card { overflow: hidden; border-radius: 14px; border: 1px solid #e1eaf1; background: #fff; margin: 0; }
.premium .local-offer-card > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.premium .local-offer-copy { padding: 24px; }
.premium .local-offer-copy h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.3; }
.premium .local-offer-copy p { margin: 0; color: #71879c; font-size: 16px; line-height: 1.75; }
@media (max-width: 900px) { .premium .local-offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .premium .local-offer { margin-top: 48px; padding-top: 32px; }
  .premium .local-offer-grid { grid-template-columns: 1fr; gap: 20px; }
  .premium .stamp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .premium .window-choices .choice, .premium .frame-choices .choice { min-height: 150px; }
}

/* Configuration details remain beside the current options, including prices. */
.premium .book-config-summary { min-width:0; }
.premium .book-config-summary .book-summary-title { color:var(--ink);font-size:20px;padding:12px 0 8px; }
.premium .book-config-summary h3 { padding:14px 0 6px; }
.book-summary-list { margin:9px 0 0;padding:0; }
.book-summary-row { position:relative;margin:0;padding:4px 0 4px 14px;font-size:16px;line-height:1.55;overflow-wrap:anywhere; }
.book-summary-row:before { content:'›';position:absolute;left:0;color:#2780ed;font-weight:700; }
.book-summary-row dt,.book-summary-row dd { display:inline;margin:0; }
.book-summary-row dt { font-weight:600; }
.book-summary-cost { color:#708196;font-weight:400; }
.premium .book-quantity-total { display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin-top:18px;padding-top:16px;border-top:1px solid #e2eaf5; }
.premium .reference-preview-actions { flex-wrap:wrap; }
.premium .reference-preview-actions>.btn { flex:1;min-width:180px; }

/* The choice of editor is explained before a product is configured. */
.catalog-editor-choice { margin:0 0 32px;padding:32px;border:1px solid #dce8f4;border-radius:16px;background:#f3f8fe; }
.catalog-editor-heading { max-width:850px; }
.premium .catalog-editor-heading h1 { margin:10px 0 16px;font-size:clamp(28px,3vw,36px);line-height:1.25; }
.catalog-editor-heading>p,.catalog-editor-path>p { color:#617c98;font-size:17px;line-height:1.75; }
.catalog-editor-paths { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:26px; }
.catalog-editor-path { min-width:0;padding:28px;border:1px solid #dce8f4;border-radius:13px;background:#fff;display:flex;flex-direction:column;align-items:flex-start; }
.catalog-path-icon { display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:#edf6ff;color:#0874ed; }
.catalog-path-icon .ico { width:27px;height:27px; }
.premium .catalog-editor-path h2 { font-size:23px;line-height:1.35;margin:20px 0 12px; }
.catalog-editor-path>p { margin:0 0 24px; }
.catalog-editor-path>.btn { margin-top:auto; }
.premium .catalog-editor-note { margin:24px 0 0;font-size:16px;line-height:1.7;color:#617c98; }
.premium .reference-catalog-heading h2 { margin:0;font-size:36px;line-height:1.2;letter-spacing:-1px; }
#wybor-produktu { scroll-margin-top:24px; }
@media(max-width:760px) {
 .catalog-editor-choice { padding:24px 18px; }
 .catalog-editor-paths { grid-template-columns:1fr;gap:18px; }
 .catalog-editor-path { padding:24px 20px; }
 .catalog-editor-path>.btn { max-width:100%; }
 .premium .reference-catalog-heading h2 { font-size:29px; }
}

.premium .calendar-model-card .product-image { height:310px;width:100%; }
.premium .calendar-model-card .product-image>img { object-fit:contain;mix-blend-mode:normal; }
.premium .calendar-model-card>p { font-size:16px;line-height:1.6;min-height:52px; }
.calendar-model-formats { color:#71879c;font-size:15px;line-height:1.7;margin:0 0 15px; }
.premium .calendar-model-card>.btn { margin-top:auto; }
@media(max-width:600px){.premium .calendar-model-card .product-image { height:300px; }.premium .calendar-model-card>p { min-height:0; }}

.premium .calendar-catalog-intro{font-size:17px;line-height:1.75;color:#71879c;margin:0 0 28px;max-width:850px}
