/* Scoped premium visualization — does not alter WooCommerce selections or prices. */
.single-product .kvc-vector-preview{border-color:#d8d3cb;background:#fff;padding:19px;margin:19px 0 14px}
.single-product .kvc-vector-stage{background:linear-gradient(132deg,#eeeae4,#e9e5de 55%,#f7f3ee);position:relative;min-height:245px;aspect-ratio:1.6;border:1px solid #ddd6cc;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:16px 18px 32px;overflow:hidden}
.single-product .kvc-vector-stage.kvc-vector-light{background:linear-gradient(132deg,#aba9a4,#d1cdc5 55%,#b8b5ac)}
.single-product .kvc-vector-svg{display:block;width:100%;height:auto;max-height:410px;overflow:visible;filter:drop-shadow(1px 6px 3px rgba(23,25,26,.19));transform:translateZ(0)}
.single-product .kvc-vector-watermark{position:absolute;left:15px;bottom:12px;color:#79756e;font-size:10px;line-height:1.3;letter-spacing:.11em;text-transform:uppercase;pointer-events:none}
.single-product .kvc-vector-footer{display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;margin:13px 0 5px;font-size:12px;color:#4a524b;font-weight:600}
.single-product .kvc-vector-size{font-weight:400;color:#77736d;font-size:11px}
.single-product .kvc-vector-message{font-size:12px;color:#59695d;line-height:1.6;margin:6px 0 4px}
.single-product .kvc-vector-message.kvc-vector-error{color:#a34835}
.single-product .kvc-vector-preview .kvc-preview-disclaimer{border-top:1px solid #ece7e0;margin-top:12px;padding-top:10px}
@media(max-width:530px){.single-product .kvc-vector-preview{padding:12px}.single-product .kvc-vector-stage{padding:12px 11px 31px;aspect-ratio:1.45;min-height:188px}.single-product .kvc-vector-footer{display:block}.single-product .kvc-vector-size{display:block;margin-top:5px}}

/* v2.8.12 — keep photo-matching demo clearly labelled; texture visible inside full geometry. */
.single-product .kvc-vector-stage.kvc-vector-brushed{background:linear-gradient(133deg,#f4f2ed,#e7e4df 60%,#f3f1ed)}
.single-product .kvc-vector-stage.kvc-vector-brushed .kvc-vector-svg{filter:drop-shadow(0px 3px 2px rgba(24,27,29,.15))}
.single-product .kvc-vector-stage .kvc-vector-watermark{max-width:calc(100% - 30px);line-height:1.45}

/* 2.8.13 — parametric product preview: natural full-model proportions, visible form controls. */
.single-product .kvc-product-fields>.kvc-vector-preview{margin:3px 0 20px;padding:15px;border:1px solid #dcd5cb;border-radius:11px;background:linear-gradient(180deg,#fff,#faf8f5)}
.single-product .kvc-vector-preview .kvc-preview-head{margin:0 0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.single-product .kvc-vector-preview .kvc-preview-head strong{font-size:15px;letter-spacing:-.02em}
.single-product .kvc-vector-stage{aspect-ratio:var(--kvc-sign-ratio,2.6);min-height:205px;max-height:490px;padding:22px 19px 36px;border-radius:8px;background:linear-gradient(145deg,#eeeae4,#f7f5f0 62%,#e6e1da)}
.single-product .kvc-vector-svg{width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 3px 2px rgba(20,24,24,.13))}
.single-product .kvc-vector-watermark{font-size:9px;letter-spacing:.08em}
.single-product .kvc-number-position{padding:0;margin:8px 0 18px;border:0;min-width:0}
.single-product .kvc-number-position>legend{font-size:13px;font-weight:700;margin:0 0 9px;line-height:1.4}
.single-product .kvc-side-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.single-product .kvc-side-option{cursor:pointer;position:relative}
.single-product .kvc-side-option input{position:absolute;opacity:0;width:1px;height:1px}
.single-product .kvc-side-option span{display:block;padding:12px 14px;text-align:center;color:#302d2a;background:#fff;border:1px solid #d4cdc4;border-radius:7px;font-size:13px;font-weight:600;transition:border-color .15s,background-color .15s}
.single-product .kvc-side-option input:checked+span{border:2px solid #313c36;background:#f0f3ef;padding:11px 13px}
.single-product .kvc-side-option input:focus-visible+span{outline:3px solid #ab8260;outline-offset:2px}
.single-product .kvc-side-option input:disabled+span{opacity:.6;cursor:not-allowed}
.single-product .kvc-vector-preview .kvc-vector-message{min-height:20px}
@media(max-width:600px){.single-product .kvc-product-fields>.kvc-vector-preview{padding:10px}.single-product .kvc-vector-stage{aspect-ratio:var(--kvc-sign-ratio,2.6);min-height:200px;max-height:280px;padding:13px 9px 32px}.single-product .kvc-vector-svg{max-height:100%}.single-product .kvc-vector-preview .kvc-preview-head{align-items:flex-start}.single-product .kvc-vector-preview .kvc-preview-head>span{font-size:10px;text-align:right}}
/* Intrinsic SVG dimensions must never widen a WooCommerce mobile form. */
.single-product .kvc-vector-preview,.single-product .kvc-vector-stage{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.single-product .kvc-vector-svg{box-sizing:border-box;min-width:0;max-width:100%;flex:0 1 auto}

/* 2.8.14: full-silhouette SVG mask; the steel photo is one continuous surface. */
.single-product .kvc-vector-stage.kvc-vector-brushed .kvc-vector-svg{filter:drop-shadow(0 2px 1px rgba(32,34,36,.27))}
.single-product .kvc-vector-stage.kvc-vector-brushed{background:#eae7e1}

/* 2.8.15 — show the interactive UNIKATOWY sign in the product's MAIN GALLERY.
 * No duplicate preview or variation picker. Original product photos remain
 * available with the adjacent switch. All selectors are product-gallery scoped. */
.single-product .woocommerce-product-gallery.kvc-unika-gallery{
  min-width:0!important;max-width:100%;position:relative;overflow:visible;
}
.single-product .kvc-unika-gallery-nav{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
  margin:0 0 12px;min-width:0;
}
.single-product .kvc-unika-view-button{
  border:1px solid #d3cec5;border-radius:8px;background:#fff;color:#383d39;
  min-height:43px;padding:10px 9px;font-size:12px;font-weight:650;line-height:1.3;
  cursor:pointer;transition:background-color .15s,border-color .15s;
}
.single-product .kvc-unika-view-button.is-active{background:#2a332e;border-color:#2a332e;color:#fff}
.single-product .kvc-unika-view-button:focus-visible,.single-product .kvc-mobile-jump-preview:focus-visible{
  outline:3px solid #aa8260;outline-offset:2px;
}
/* Keep WooCommerce gallery elements in the document/layout engine so
 * its slider, variation image swapping, and lightbox continue to work. */
.single-product .woocommerce-product-gallery.kvc-gallery-project > .flex-viewport,
.single-product .woocommerce-product-gallery.kvc-gallery-project > .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery.kvc-gallery-project > .flex-control-thumbs,
.single-product .woocommerce-product-gallery.kvc-gallery-project > .flex-direction-nav,
.single-product .woocommerce-product-gallery.kvc-gallery-project > .woocommerce-product-gallery__trigger{
  position:absolute!important;left:-99999px!important;top:0!important;
  visibility:hidden!important;opacity:0!important;pointer-events:none!important;
}
.single-product .kvc-unika-gallery .kvc-vector-preview.kvc-vector-in-gallery{
  display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;
  padding:0!important;margin:0!important;border:0!important;background:transparent!important;
  box-shadow:none;
}
.single-product .kvc-unika-gallery .kvc-vector-preview[hidden]{display:none!important}
.single-product .kvc-unika-gallery .kvc-vector-preview .kvc-preview-head{display:none}
.single-product .kvc-unika-gallery .kvc-vector-stage{
  box-sizing:border-box;width:100%;max-width:100%;min-width:0;
  aspect-ratio:1.5!important;min-height:265px;max-height:560px;
  padding:24px 18px 34px;border:1px solid #e0d9d0;border-radius:10px;
}
.single-product .kvc-unika-gallery .kvc-vector-footer{margin:10px 0 5px}
.single-product .kvc-unika-gallery .kvc-vector-message{margin:7px 0;font-size:11px}
.single-product .kvc-unika-gallery .kvc-preview-disclaimer{display:none}
.single-product .kvc-mobile-jump-preview{display:none}
@media(max-width:700px){
  .single-product .woocommerce-product-gallery.kvc-unika-gallery{width:100%!important;max-width:100%;margin-bottom:16px}
  .single-product .kvc-unika-gallery .kvc-vector-stage{
    aspect-ratio:1.42!important;min-height:235px;max-height:330px;padding:13px 10px 31px;
  }
  .single-product .kvc-unika-gallery .kvc-vector-footer{font-size:11px;gap:4px}
  .single-product .kvc-unika-gallery .kvc-vector-message{font-size:11px;line-height:1.45}
  .single-product .kvc-unika-view-button{min-height:45px;font-size:12px}
  .single-product .kvc-mobile-jump-preview{
    display:block;width:100%;min-height:42px;margin:3px 0 16px;padding:9px 12px;
    border:1px solid #b8b3aa;border-radius:7px;background:#f1f0eb;
    color:#26342e;font-size:12px;font-weight:650;text-align:center;cursor:pointer;
  }
  .single-product .kvc-product-fields{min-width:0}
}
@media(prefers-reduced-motion:reduce){.single-product .kvc-unika-view-button{transition:none}}

/* KOVAMET 2.8.16 — configuration order and compact live mobile project.
 * These changes apply only when the UNIKATOWY preview is present. */
.single-product form.variations_form:has(> .kvc-product-fields)>.kvc-product-fields{
  margin:5px 0 22px;
}
.single-product form.variations_form:has(> .kvc-product-fields)>.variations{
  margin-top:8px;
}
.single-product .kvc-mobile-project-summary{display:none}
@media(max-width:700px){
  .single-product .kvc-mobile-project-summary{
    display:flex;align-items:center;gap:10px;min-height:76px;
    position:sticky;top:0;z-index:12;
    box-sizing:border-box;width:100%;min-width:0;
    margin:0 0 12px;padding:7px 9px;
    background:rgba(252,250,247,.98);border:1px solid #ddd6ce;
    border-radius:9px;box-shadow:0 5px 15px rgba(29,34,31,.07);
  }
  .single-product .kvc-mobile-project-summary .kvc-mini-project-picture{
    flex:0 0 100px;display:flex;align-items:center;justify-content:center;
    width:100px;height:58px;border-radius:5px;background:#ede9e3;overflow:hidden;
  }
  .single-product .kvc-mobile-project-summary .kvc-mini-project-svg{
    display:block;width:100%;max-width:100%;height:100%;overflow:visible;
    filter:drop-shadow(0 2px 1px rgba(20,24,24,.14));
  }
  .single-product .kvc-mobile-project-summary .kvc-mini-project-details{
    display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;
  }
  .single-product .kvc-mobile-project-summary .kvc-mini-project-details strong{
    font-size:12px;line-height:1.25;color:#28342e;
  }
  .single-product .kvc-mobile-project-summary .kvc-mini-project-description{
    font-size:10px;line-height:1.3;color:#5b605e;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  .single-product .kvc-mobile-project-summary .kvc-mini-project-jump{
    flex:none;min-height:40px;min-width:65px;padding:6px 7px;
    font-size:11px;font-weight:600;color:#26342e;
    border:1px solid #c8c2b8;border-radius:6px;background:white;
  }
  .single-product form.variations_form:has(> .kvc-product-fields)>.kvc-product-fields{
    margin:0 0 20px;
  }
}
@media(max-width:365px){
  .single-product .kvc-mobile-project-summary .kvc-mini-project-picture{flex-basis:78px;width:78px}
  .single-product .kvc-mobile-project-summary{gap:7px;padding:6px}
}

/* 2.8.33 — a square gallery canvas matching the two verified 800×800
 * product photographs; the actual SVG retains its own aspect ratio. */
.single-product .kvc-unika-gallery .kvc-vector-preview.kvc-vector-square .kvc-vector-stage {
  aspect-ratio: 1 / 1 !important;
  min-height: 0;
  max-height: none;
  height: auto;
  width: 100%;
  padding: 34px 18px;
  background: #fff;
  border: 1px solid #dedbd5;
}
.single-product .kvc-vector-preview.kvc-vector-square .kvc-vector-stage {
  background: #fff;
}
.single-product .kvc-unika-gallery .kvc-vector-preview.kvc-vector-square .kvc-vector-stage.kvc-vector-light,
.single-product .kvc-vector-preview.kvc-vector-square .kvc-vector-stage.kvc-vector-light {
  background: #505658;
  border-color: #505658;
}
.single-product .kvc-vector-preview.kvc-vector-square .kvc-vector-stage.kvc-vector-light .kvc-vector-watermark {
  color: #f3f3f1;
}
.single-product .kvc-unika-gallery .kvc-vector-preview.kvc-vector-square .kvc-vector-svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
}
@media(max-width:700px) {
  .single-product .kvc-unika-gallery .kvc-vector-preview.kvc-vector-square .kvc-vector-stage {
    padding: 28px 10px;
  }
  .single-product .kvc-mobile-project-summary .kvc-mini-project-picture.kvc-mini-square {
    background: #fff;
    border: 1px solid #e5e2dc;
    box-sizing: border-box;
  }
  .single-product .kvc-mobile-project-summary .kvc-mini-project-picture.kvc-mini-square.kvc-vector-light {
    background: #505658;
    border-color: #505658;
  }
}
