:root{
  --bg:#f6f6f4;
  --bg-soft:#fbfbfa;
  --surface:#ffffff;
  --surface-2:#f2f2ee;
  --text:#111111;
  --text-soft:#62625d;
  --text-muted:#8b8b84;
  --line:#e7e7e2;
  --line-strong:#d8d8cf;
  --accent:#111111;
  --accent-soft:#f3f3ef;
  --success:#1d7a4c;
  --danger:#b64040;
  --radius-xl:30px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;
  --shadow:0 14px 40px rgba(17,17,17,.06);
  --container:1380px;
}

.page-konfigurator-custom{
  background:
    radial-gradient(circle at top left, #ffffff 0%, #f7f7f4 38%, var(--bg) 100%);
}

.page-konfigurator-custom .container{
  width:min(var(--container), calc(100% - 28px));
  margin:0 auto;
}

.page-konfigurator-custom{
  padding:24px 0 42px;
}

.page-konfigurator-custom a{
  text-decoration:none;
  color:inherit;
}

.page-konfigurator-custom img{
  max-width:100%;
  display:block;
}

.page-konfigurator-custom button,
.page-konfigurator-custom input,
.page-konfigurator-custom select,
.page-konfigurator-custom textarea{
  font:inherit;
}

/* INTRO */
.page-konfigurator-custom .intro{
  margin-bottom:18px;
  border:1px solid rgba(17,17,17,.05);
  border-radius:32px;
  background:linear-gradient(180deg,#ffffff 0%, #f6f6f2 100%);
  box-shadow:var(--shadow);
  padding:30px 28px;
}

.page-konfigurator-custom .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--text-soft);
  margin-bottom:16px;
}

.page-konfigurator-custom .eyebrow::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#111;
}

.page-konfigurator-custom .intro h1{
  margin:0 0 10px;
  font-size:clamp(34px, 5vw, 58px);
  line-height:1.04;
  letter-spacing:-.04em;
  font-weight:650;
}

.page-konfigurator-custom .intro p{
  margin:0;
  max-width:860px;
  font-size:17px;
  color:var(--text-soft);
  line-height:1.75;
}

/* LAYOUT */
.page-konfigurator-custom .config-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 390px;
  gap:18px;
  align-items:start;
}

.page-konfigurator-custom .wizard-shell{
  border:1px solid rgba(17,17,17,.05);
  border-radius:32px;
  overflow:hidden;
  background:rgba(255,255,255,.88);
  box-shadow:var(--shadow);
}

.page-konfigurator-custom .wizard-progress{
  padding:22px 24px 18px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#ffffff 0%, #fafaf7 100%);
}

.page-konfigurator-custom .wizard-progress-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.page-konfigurator-custom .wizard-progress-top strong{
  font-size:18px;
  letter-spacing:-.02em;
}

.page-konfigurator-custom .wizard-progress-top span{
  font-size:13px;
  color:var(--text-soft);
}

.page-konfigurator-custom .steps-bar{
  display:grid;
  grid-template-columns:repeat(10,1fr);
  gap:8px;
}

.page-konfigurator-custom .step-dot{
  height:8px;
  border-radius:999px;
  background:#ecece7;
  transition:.25s ease;
}

.page-konfigurator-custom .step-dot.active{
  background:#111;
}

.page-konfigurator-custom .wizard-body{
  padding:28px;
}

/* STEPS */
.page-konfigurator-custom .step{
  display:none;
  animation:lstFade .22s ease;
}

.page-konfigurator-custom .step.active{
  display:block;
}

@keyframes lstFade{
  from{
    opacity:0;
    transform:translateY(5px);
  }
  to{
    opacity:1;
    transform:none;
  }
}

.page-konfigurator-custom .step-head{
  margin-bottom:22px;
}

.page-konfigurator-custom .step-kicker{
  font-size:12px;
  font-weight:700;
  letter-spacing:.15em;
  color:var(--text-muted);
  text-transform:uppercase;
  margin-bottom:8px;
}

.page-konfigurator-custom .step-title{
  margin:0 0 8px;
  font-size:30px;
  line-height:1.08;
  letter-spacing:-.03em;
  font-weight:650;
}

.page-konfigurator-custom .step-sub{
  margin:0;
  color:var(--text-soft);
  font-size:15px;
  line-height:1.7;
  max-width:760px;
}

/* CHOICES */
.page-konfigurator-custom .choice-grid{
  display:grid;
  gap:14px;
}

.page-konfigurator-custom .choice-grid.cols-5{
  grid-template-columns:repeat(5,1fr);
}

.page-konfigurator-custom .choice-grid.cols-4{
  grid-template-columns:repeat(4,1fr);
}

.page-konfigurator-custom .choice-grid.cols-3{
  grid-template-columns:repeat(3,1fr);
}

.page-konfigurator-custom .choice-grid.cols-2{
  grid-template-columns:repeat(2,1fr);
}

.page-konfigurator-custom .choice-card{
  position:relative;
  cursor:pointer;
  border:1px solid var(--line);
  background:#fff;
  border-radius:24px;
  padding:18px 16px;
  min-height:170px;
  transition:.22s ease;
  box-shadow:0 8px 20px rgba(17,17,17,.03);
}

.page-konfigurator-custom .choice-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(17,17,17,.06);
}

.page-konfigurator-custom .choice-card.selected{
  border-color:#111;
  box-shadow:0 0 0 1px #111 inset, 0 18px 32px rgba(17,17,17,.06);
}

.page-konfigurator-custom .choice-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fafaf8,#efefeb);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  color:#111;
}

.page-konfigurator-custom .choice-icon svg{
  width:30px;
  height:30px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.2;
}

.page-konfigurator-custom .choice-title{
  font-size:17px;
  font-weight:700;
  letter-spacing:-.02em;
  margin-bottom:6px;
}

.page-konfigurator-custom .choice-desc{
  font-size:13px;
  color:var(--text-soft);
  line-height:1.6;
  margin-bottom:10px;
}

.page-konfigurator-custom .choice-price{
  font-size:13px;
  color:var(--text-muted);
  font-weight:600;
}

/* MODELS */
.page-konfigurator-custom .model-card{
  overflow:hidden;
  padding:0;
  min-height:auto;
}

.page-konfigurator-custom .model-media{
  aspect-ratio:1.06 / .82;
  background:linear-gradient(180deg,#efefeb 0%, #e8e8e3 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.page-konfigurator-custom .model-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.page-konfigurator-custom .model-media::after{
  content:"";
  width:52%;
  height:54%;
  border-radius:24px;
  background:linear-gradient(180deg,#2c2c2a 0%, #141413 100%);
  display:block;
}

.page-konfigurator-custom .model-media:has(img)::after{
  display:none;
}

.page-konfigurator-custom .model-body{
  padding:18px 16px 16px;
}

/* SWATCHES */
.page-konfigurator-custom .swatches{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:8px;
}

.page-konfigurator-custom .swatch{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  cursor:pointer;
  min-width:74px;
}

.page-konfigurator-custom .swatch-btn{
  width:44px;
  height:44px;
  border-radius:50%;
  border:2px solid transparent;
  box-shadow:0 0 0 1px rgba(17,17,17,.08) inset;
  transition:.2s ease;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.page-konfigurator-custom .swatch.active .swatch-btn{
  border-color:#111;
  box-shadow:0 0 0 3px #fff, 0 0 0 5px #111, 0 0 0 1px rgba(17,17,17,.08) inset;
  transform:scale(1.04);
}

.page-konfigurator-custom .swatch.is-unavailable{
  opacity:.45;
  cursor:not-allowed;
}

.page-konfigurator-custom .swatch.is-unavailable .swatch-btn{
  filter:grayscale(1);
}

.page-konfigurator-custom .swatch span{
  font-size:12px;
  color:var(--text-soft);
  text-align:center;
  line-height:1.35;
}

/* PREVIEW */
.page-konfigurator-custom .preview-box{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#f4f4f0;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  position:relative;
  overflow:hidden;
}

.page-konfigurator-custom .variant-preview{
  width:100%;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--text-muted);
  font-size:14px;
  text-align:center;
}

.page-konfigurator-custom .variant-preview img{
  width:auto;
  max-width:min(520px, 100%);
  max-height:360px;
  height:auto;
  min-height:0;
  object-fit:contain;
  background:#fff;
}

/* INSCRIPTION PREVIEW */
.page-konfigurator-custom .inscription-preview{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:18px;
}

.page-konfigurator-custom .inscription-chip{
  padding:14px 16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
  min-width:170px;
}

.page-konfigurator-custom .inscription-chip strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
}

.page-konfigurator-custom .inscription-chip span{
  font-size:13px;
  color:var(--text-soft);
}

/* FORMS */
.page-konfigurator-custom .field-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.page-konfigurator-custom .field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.page-konfigurator-custom .field label{
  font-size:13px;
  font-weight:600;
  color:var(--text-soft);
}

.page-konfigurator-custom .input,
.page-konfigurator-custom .select,
.page-konfigurator-custom .textarea{
  width:100%;
  min-height:52px !important;
  border:1px solid var(--line-strong) !important;
  border-radius:16px !important;
  padding:0 16px;
  background:#fff !important;
  color:var(--text) !important;
  outline:none !important;
  transition:.2s ease;
}

.page-konfigurator-custom .select{
  height:52px !important;
  padding:0 42px 0 14px !important;
  appearance:none;
  -webkit-appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5f5f5a 50%),
    linear-gradient(135deg, #5f5f5a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  box-shadow:none !important;
  font-size:15px !important;
  line-height:1.4;
}

.page-konfigurator-custom .textarea{
  padding:14px 16px;
  min-height:120px;
  resize:vertical;
}

.page-konfigurator-custom .textarea.compact{
  min-height:92px;
}

.page-konfigurator-custom .input:focus,
.page-konfigurator-custom .select:focus,
.page-konfigurator-custom .textarea:focus{
  border-color:#111;
  box-shadow:0 0 0 3px rgba(17,17,17,.06);
}

.page-konfigurator-custom .helper{
  font-size:12px;
  color:var(--text-muted);
  line-height:1.5;
}

.page-konfigurator-custom .price-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  padding:10px 14px;
  border-radius:999px;
  background:#f4f4f1;
  border:1px solid var(--line);
  font-size:13px;
  font-weight:700;
}

/* ACTIONS */
.page-konfigurator-custom .wizard-actions{
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--line);
}

.page-konfigurator-custom .btn{
  min-height:52px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:.22s ease;
  font-weight:700;
  letter-spacing:.01em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.page-konfigurator-custom .btn-primary{
  background:#111;
  color:#fff;
  box-shadow:0 10px 24px rgba(17,17,17,.12);
}

.page-konfigurator-custom .btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(17,17,17,.16);
}

.page-konfigurator-custom .btn-secondary{
  background:#fff;
  border-color:var(--line-strong);
  color:#111;
}

.page-konfigurator-custom .btn-secondary:hover{
  background:#fafaf8;
}

.page-konfigurator-custom .btn[disabled]{
  opacity:.45;
  cursor:not-allowed;
  transform:none !important;
  box-shadow:none !important;
}

/* SUMMARY */
.page-konfigurator-custom .summary{
  position:sticky;
  top:96px;
  border:1px solid rgba(17,17,17,.05);
  border-radius:32px;
  background:rgba(255,255,255,.9);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.page-konfigurator-custom .summary-head{
  padding:22px 22px 18px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#ffffff 0%, #fafaf7 100%);
}

.page-konfigurator-custom .summary-head strong{
  display:block;
  font-size:20px;
  letter-spacing:-.02em;
  margin-bottom:6px;
}

.page-konfigurator-custom .summary-head span{
  font-size:13px;
  color:var(--text-soft);
}

.page-konfigurator-custom .summary-body{
  padding:18px 22px 20px;
}

.page-konfigurator-custom .summary-list{
  display:grid;
  gap:12px;
  margin-bottom:18px;
}

.page-konfigurator-custom .summary-item{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:start;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}

.page-konfigurator-custom .summary-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.page-konfigurator-custom .summary-item strong{
  display:block;
  font-size:14px;
  margin-bottom:3px;
}

.page-konfigurator-custom .summary-item span{
  font-size:12px;
  color:var(--text-soft);
  line-height:1.5;
}

.page-konfigurator-custom .summary-item-price{
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}

.page-konfigurator-custom .summary-total{
  margin-top:16px;
  padding:18px;
  border-radius:22px;
  background:#f5f5f2;
  border:1px solid var(--line);
}

.page-konfigurator-custom .summary-total small{
  display:block;
  font-size:12px;
  color:var(--text-soft);
  margin-bottom:6px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.page-konfigurator-custom .summary-total strong{
  display:block;
  font-size:32px;
  line-height:1;
  letter-spacing:-.05em;
  margin-bottom:10px;
}

.page-konfigurator-custom .summary-note{
  font-size:12px;
  color:var(--text-muted);
  line-height:1.55;
}

/* MESSAGES */
.page-konfigurator-custom .error{
  margin-top:12px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(182,64,64,.08);
  border:1px solid rgba(182,64,64,.14);
  color:var(--danger);
  font-size:13px;
  display:none;
}

.page-konfigurator-custom .error.show{
  display:block;
}

.page-konfigurator-custom .success-box{
  display:none;
  border:1px solid rgba(29,122,76,.16);
  background:rgba(29,122,76,.06);
  color:var(--success);
  border-radius:24px;
  padding:18px 20px;
  margin-top:18px;
  font-size:14px;
  line-height:1.65;
}

.page-konfigurator-custom .success-box.show{
  display:block;
}

.page-konfigurator-custom .muted{
  color:var(--text-soft);
}

.page-konfigurator-custom .divider{
  height:1px;
  background:var(--line);
  margin:20px 0;
}

/* RESPONSIVE */
@media (max-width: 1200px){
  .page-konfigurator-custom .config-layout{
    grid-template-columns:1fr;
  }

  .page-konfigurator-custom .summary{
    position:static;
    order:-1;
  }

  .page-konfigurator-custom .choice-grid.cols-5{
    grid-template-columns:repeat(3,1fr);
  }

  .page-konfigurator-custom .choice-grid.cols-4{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width: 860px){
  .page-konfigurator-custom .config-layout{
    gap:18px;
  }

  .page-konfigurator-custom .summary{
    order:initial;
  }

  .page-konfigurator-custom .wizard-body{
    padding:22px;
  }

  .page-konfigurator-custom .field-grid,
  .page-konfigurator-custom .choice-grid.cols-3,
  .page-konfigurator-custom .choice-grid.cols-4,
  .page-konfigurator-custom .choice-grid.cols-5{
    grid-template-columns:1fr 1fr;
  }

  .page-konfigurator-custom .intro{
    padding:24px 20px;
  }
}

@media (max-width: 560px){
  .page-konfigurator-custom .field-grid,
  .page-konfigurator-custom .choice-grid.cols-2,
  .page-konfigurator-custom .choice-grid.cols-3,
  .page-konfigurator-custom .choice-grid.cols-4,
  .page-konfigurator-custom .choice-grid.cols-5{
    grid-template-columns:1fr;
  }

  .page-konfigurator-custom .wizard-actions{
    flex-direction:column-reverse;
  }

  .page-konfigurator-custom .btn{
    width:100%;
  }

  .page-konfigurator-custom .summary-total strong{
    font-size:26px;
  }
}

.page-konfigurator-custom .model-availability{
  display:inline-flex;
  align-items:center;
  margin-top:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#f3f3ef;
  border:1px solid var(--line);
  color:#1d7a4c;
  font-size:12px;
  font-weight:700;
}

.page-konfigurator-custom .model-availability::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#1d7a4c;
  margin-right:7px;
}

.page-konfigurator-custom .model-availability{
  display:inline-flex;
  align-items:center;
  margin-top:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:12px;
  font-weight:700;
}

.page-konfigurator-custom .model-availability::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  margin-right:7px;
}

.page-konfigurator-custom .model-availability.is-available{
  background:rgba(29,122,76,.08);
  color:#1d7a4c;
}

.page-konfigurator-custom .model-availability.is-available::before{
  background:#1d7a4c;
}

.page-konfigurator-custom .model-availability.is-later{
  background:rgba(154,106,18,.08);
  color:#9a6a12;
}

.page-konfigurator-custom .model-availability.is-later::before{
  background:#9a6a12;
}

.page-konfigurator-custom .model-card.is-unavailable{
  opacity:.72;
  cursor:not-allowed;
}

.page-konfigurator-custom .model-card.is-unavailable:hover{
  transform:none;
  box-shadow:0 8px 20px rgba(17,17,17,.03);
}

.page-konfigurator-custom .model-card.is-unavailable .model-media img{
  filter:grayscale(.35);
}

.page-konfigurator-custom .model-card.is-unavailable::after{
  content:"Niedostępny do zamówienia";
  position:absolute;
  top:14px;
  left:14px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(17,17,17,.82);
  color:#fff;
  font-size:11px;
  font-weight:700;
}

.page-konfigurator-custom .realization-details{
  margin-top:18px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fafaf8;
}

.page-konfigurator-custom .pickup-box{
  display:grid;
  gap:6px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}

.page-konfigurator-custom .pickup-box strong{
  font-size:15px;
}

.page-konfigurator-custom .pickup-box span{
  color:var(--text-soft);
  font-size:13px;
  line-height:1.6;
}

.page-konfigurator-custom #pickupInfoBlock .divider{
  display:none;
}

.page-konfigurator-custom #pickupInfoBlock{
  padding-top:0;
}

.page-konfigurator-custom .pickup-box{
  margin-top:0;
}

.page-konfigurator-custom #sandInscriptionBlock,
.page-konfigurator-custom #steelInscriptionBlock{
  margin-top:18px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fafaf8;
}

.page-konfigurator-custom .summary-cta{
  display:grid;
  gap:10px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
}

.page-konfigurator-custom .summary-cta #addToCartBtn,
.page-konfigurator-custom .summary-cta #prevBtn{
  width:100%;
  min-height:56px;
  justify-content:center;
}

.page-konfigurator-custom .realization-term-box{
  padding:18px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fafaf8;
}

.page-konfigurator-custom .term-note{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
}

/* FIX: mobile date inputs in realization term step */
.page-konfigurator-custom .realization-term-box{
  width:100%;
  max-width:100%;
  overflow:hidden;
}

.page-konfigurator-custom .realization-term-box .field-grid{
  width:100%;
  max-width:100%;
}

.page-konfigurator-custom .realization-term-box .field{
  min-width:0;
}

.page-konfigurator-custom .realization-term-box input[type="date"],
.page-konfigurator-custom .realization-term-box .input,
.page-konfigurator-custom .realization-term-box .textarea{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

/* iOS / Safari / Chrome mobile date input normalization */
.page-konfigurator-custom .realization-term-box input[type="date"]{
  display:block;
  height:52px;
  line-height:52px;
  padding-left:12px !important;
  padding-right:12px !important;
  -webkit-appearance:none;
  appearance:none;
}

@media (max-width:560px){
  .page-konfigurator-custom .realization-term-box{
    padding:14px;
    border-radius:20px;
  }

  .page-konfigurator-custom .realization-term-box .field-grid{
    grid-template-columns:1fr !important;
    gap:14px;
  }

  .page-konfigurator-custom .realization-term-box .field label{
    font-size:12px;
    line-height:1.35;
  }

  .page-konfigurator-custom .realization-term-box input[type="date"]{
    font-size:14px !important;
    height:48px;
    min-height:48px !important;
    line-height:48px;
    border-radius:14px !important;
  }

  .page-konfigurator-custom .realization-term-box .textarea{
    font-size:14px !important;
    border-radius:14px !important;
  }

  .page-konfigurator-custom .realization-term-box .term-note{
    font-size:11px;
    line-height:1.5;
  }
}

/* ADDONS WITH PHOTOS */
.page-konfigurator-custom .addon-card{
  overflow:hidden;
  padding:0;
  min-height:auto;
}

.page-konfigurator-custom .addon-media{
  width:100%;
  aspect-ratio:1.25 / .82;
  background:linear-gradient(180deg,#efefeb 0%, #e8e8e3 100%);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.page-konfigurator-custom .addon-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.page-konfigurator-custom .addon-media-empty::after{
  content:"";
  width:54%;
  height:54%;
  border-radius:22px;
  background:linear-gradient(180deg,#2c2c2a 0%, #151514 100%);
  display:block;
  opacity:.18;
}

.page-konfigurator-custom .addon-body{
  padding:18px 16px 16px;
}

.page-konfigurator-custom .addon-card .choice-desc{
  min-height:42px;
}

@media (max-width:760px){
  .page-konfigurator-custom .addon-media{
    aspect-ratio:1.4 / .82;
  }
}

/* PORCELAIN CONTROLS */
.page-konfigurator-custom .porcelain-controls{
  margin-top:14px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fafaf8;
  display:grid;
  gap:8px;
}

.page-konfigurator-custom .porcelain-label{
  font-size:12px;
  font-weight:700;
  color:var(--text-soft);
}

.page-konfigurator-custom .porcelain-qty,
.page-konfigurator-custom .porcelain-file{
  width:100%;
  min-height:42px;
  border:1px solid var(--line-strong);
  border-radius:12px;
  background:#fff;
  padding:8px 10px;
  font-size:13px;
}

.page-konfigurator-custom .porcelain-helper{
  font-size:12px;
  line-height:1.45;
  color:var(--text-soft);
}

/* ADDON IMAGE FIT TUNING */
.page-konfigurator-custom .addon-image{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.page-konfigurator-custom .addon-img-bench-double{
  object-fit:contain;
  transform:scale(1.18);
}

.page-konfigurator-custom .addon-img-bench-storage{
  object-fit:contain;
  transform:scale(.9);
}

.page-konfigurator-custom .addon-img-bench-storage-backrest{
  object-fit:contain;
  transform:scale(.86);
}

.page-konfigurator-custom .addon-img-bench-single,
.page-konfigurator-custom .addon-img-vase,
.page-konfigurator-custom .addon-img-porcelain,
.page-konfigurator-custom .addon-img-storage-box{
  object-fit:contain;
}

/* ============================================================
   ADDONS IMAGE FIT FIX
   Dopasowanie zdjęć akcesoriów w konfiguratorze
   ============================================================ */

.page-konfigurator-custom .addon-card{
  overflow:hidden;
  padding:0;
  min-height:auto;
}

.page-konfigurator-custom .addon-media{
  width:100%;
  aspect-ratio:1.25 / .82;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.page-konfigurator-custom .addon-media img,
.page-konfigurator-custom .addon-image{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center center;
  transform-origin:center center;
}

/* Ławeczka podwójna — większy zoom */
.page-konfigurator-custom .addon-img-bench-double{
  object-fit:contain;
  transform:scale(1.38);
}

/* Ławeczka podwójna ze schowkiem — pełny obraz, mniej zoomu */
.page-konfigurator-custom .addon-img-bench-storage{
  object-fit:contain;
  transform:scale(0.88);
}

/* Ławeczka podwójna ze schowkiem i oparciem — pełny obraz, mniej zoomu */
.page-konfigurator-custom .addon-img-bench-storage-backrest{
  object-fit:contain;
  transform:scale(0.84);
}

@media (max-width:760px){
  .page-konfigurator-custom .addon-img-bench-double{
    transform:scale(1.25);
  }

  .page-konfigurator-custom .addon-img-bench-storage{
    transform:scale(0.82);
  }

  .page-konfigurator-custom .addon-img-bench-storage-backrest{
    transform:scale(0.80);
  }
}

/* ============================================================
   PORCELAIN FILE LIST
   ============================================================ */

.page-konfigurator-custom .porcelain-file-list{
  display:grid;
  gap:8px;
  margin-top:10px;
}

.page-konfigurator-custom .porcelain-file-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  font-size:12px;
  color:var(--text-soft);
}

.page-konfigurator-custom .porcelain-file-item span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.page-konfigurator-custom .porcelain-file-remove{
  flex:0 0 auto;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:#fff;
  color:var(--text);
  font-size:11px;
  font-weight:700;
  padding:5px 9px;
  cursor:pointer;
}

.page-konfigurator-custom .porcelain-file-remove:hover{
  background:#111;
  color:#fff;
  border-color:#111;
}