/* PRINTAR.SK 1.8.47 | Catalog and product detail visual parity with the calculator-first homepage.
   Scoped styles only. Never affect /kalkulacka, /cad, index.php or admin. */
body.shop-v1847 {
  --shop-ink: #15372d;
  --shop-green: #0b8050;
  --shop-outline: #dde9e2;
  --shop-muted: #526b60;
}
body.shop-v1847 .shop-site-header .shop-current-nav {
  box-shadow: 0 8px 23px rgba(3, 94, 61, .16), inset 0 -3px 0 rgba(255,255,255,.21);
}
/* The catalog should reveal content sooner; unlike a homepage it needs no tall advertising hero. */
body.shop-v1847 .shop-compact-hero {
  padding: 119px 0 10px;
  border: 0;
  background: #fff;
}
body.shop-v1847 .shop-compact-shell {
  min-height: 290px;
  border: 1px solid #e0ece5;
  border-radius: 27px;
  background: linear-gradient(112deg,#f8fcfa 2%,#edf8f1 54%,#def2e6 100%);
  box-shadow: 0 15px 38px rgba(17,67,52,.065);
  align-items: center;
}
body.shop-v1847 .shop-compact-copy {
  width: min(64%, 690px);
  max-width: none;
  padding: 30px 16px 32px 38px;
  position: relative;
  z-index: 2;
}
body.shop-v1847 .shop-compact-copy h1 {
  max-width: 590px;
  margin-bottom: 11px;
  color: #15372d;
  font-size: clamp(29px, 3.1vw, 43px);
  line-height: 1.13;
  letter-spacing: -.045em;
}
body.shop-v1847 .shop-compact-copy h1 span {
  display: block;
  color: #0b8446;
}
body.shop-v1847 .shop-compact-copy .shop-premium-kicker {
  margin-bottom: 9px;
  color: #108450;
  font-size: 11px;
  font-weight: 800;
}
body.shop-v1847 .shop-compact-copy .shop-premium-lead {
  max-width: 540px;
  font-size: 13.5px;
  line-height: 1.56;
  color: #4b675b;
}
body.shop-v1847 .shop-premium-actions {
  gap: 10px;
  margin-top: 18px;
}
body.shop-v1847 .shop-premium-actions .shop-premium-action {
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 7px 15px rgba(7,79,46,.10);
}
body.shop-v1847 .shop-premium-actions .shop-premium-action-primary {
  color: #fff;
  background: linear-gradient(160deg,#11a557,#087843);
  border-color: #14864b;
}
body.shop-v1847 .shop-premium-actions .shop-premium-action-secondary {
  color: #163932;
  background: #fff;
  border-color: #adc8b8;
  box-shadow: 0 4px 14px rgba(13,52,38,.06);
}
body.shop-v1847 .shop-premium-actions .shop-premium-action-secondary:hover {
  color: #087843;
}
/* Real catalog photos; never use the calculator illustration as shop hero. */
body.shop-v1847 .shop-compact-visual {
  position: absolute;
  right: 11px;
  top: 12px;
  bottom: 12px;
  width: 37%;
  pointer-events: none;
  z-index: 0;
}
body.shop-v1847 .shop-compact-visual-glow {
  position: absolute;
  inset: 16px 5px 5px 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 55% 57%,rgba(108,205,144,.21),transparent 70%);
}
body.shop-v1847 .shop-compact-product {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,.91);
  border: 1px solid rgba(207,226,216,.97);
  border-radius: 19px;
  box-shadow: 0 12px 29px rgba(12,82,53,.11);
  padding: 8px;
  overflow: hidden;
}
body.shop-v1847 .shop-compact-product img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
body.shop-v1847 .shop-compact-product-1 {width: 47%;height: 78%;top: 9%;left: 20%;z-index: 2;transform:rotate(-3deg)}
body.shop-v1847 .shop-compact-product-2 {width: 38%;height: 58%;top: 3%;right: 4%;z-index: 1;transform:rotate(7deg)}
body.shop-v1847 .shop-compact-product-3 {width: 36%;height: 55%;bottom: 0;right: 2%;z-index: 3;transform:rotate(5deg)}
body.shop-v1847 .shop-compact-fallback {height: 70%;max-width: 90%;position:absolute;inset:10% 0 0 auto;filter:drop-shadow(0 10px 15px rgba(6,93,51,.15))}
body.shop-v1847 .shop-compact-visual-caption {
  position:absolute;
  left:13%;bottom:0;
  z-index:4;
  border-radius:9px;
  border:1px solid #d8ece0;
  background: rgba(255,255,255,.87);
  color:#247452;
  font-size:10px;
  font-weight:800;
  padding:5px 9px;
}
/* Category cards reuse homepage palette, geometry and photography while remaining compact. */
body.shop-v1847 .shop-catalog-content {
  padding-top: 12px;
  scroll-margin-top: 102px;
}
body.shop-v1847 .shop-catalog-categories-heading {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:9px 0 10px;
}
body.shop-v1847 .shop-catalog-categories-heading span:first-child {
  color: #0b8050;
  font-size: 11px;
  letter-spacing: .13em;
  font-weight: 850;
}
body.shop-v1847 .shop-catalog-categories-heading a {
  color: #1b7953;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
body.shop-v1847 .shop-premium-category-grid {
  gap: 13px;
  margin-bottom: 28px;
}
body.shop-v1847 .shop-premium-category {
  min-height: 122px;
  border-radius: 18px;
  padding: 14px 17px;
  background: #f3faf6;
  box-shadow: 0 7px 20px rgba(19,67,49,.055);
}
body.shop-v1847 .shop-premium-category-text {
  min-height: 92px;
  max-width: 70%;
}
body.shop-v1847 .shop-premium-category-text strong {
  font-size: clamp(15px,1.4vw,18px);
}
body.shop-v1847 .shop-premium-category-text small {
  font-size: 11px;
  line-height: 1.3;
  margin-top: 4px;
}
body.shop-v1847 .shop-premium-category-link {
  margin-top: 8px;
  padding: 5px 8px;
  font-size: 10.5px;
}
body.shop-v1847 .shop-premium-category:after {
  background: linear-gradient(90deg,#f4fbf7,rgba(244,251,247,.97) 40%,rgba(244,251,247,.43) 72%,transparent 96%);
}
/* Main products: index typography, quieter backgrounds, consistent 3D product images. */
body.shop-v1847 .shop-section-title {margin-bottom: 12px}
body.shop-v1847 .shop-section-title h2 {font-size: clamp(25px,2.8vw,35px)}
body.shop-v1847 .shop-content > .container > .eyebrow {margin-bottom: 5px}
body.shop-v1847 .catalog-controls {margin: 12px 0 18px}
body.shop-v1847 .catalog-controls input,
body.shop-v1847 .catalog-controls select {
  border: 1px solid #dce9e1;
  background: #fafdfb;
  min-height: 44px;
}
body.shop-v1847 .catalog-grid.shop-premium-product-grid {gap: 15px}
body.shop-v1847 .catalog-card.shop-premium-product {
  border-radius: 18px;
  border-color: #dfece4;
  box-shadow: 0 8px 24px rgba(18,72,51,.056);
}
body.shop-v1847 .catalog-card.shop-premium-product figure {
  background: #f8fbf9;
}
body.shop-v1847 .catalog-card.shop-premium-product figure img {
  height: 205px;
  padding: 13px;
  object-fit: contain;
}
body.shop-v1847 .catalog-card.shop-premium-product h3 {
  font-size: 15px;
  letter-spacing: -.01em;
}
body.shop-v1847 .catalog-card.shop-premium-product .price-row b {
  color: #087747;
}
body.shop-v1847 .catalog-card.shop-premium-product:focus-visible,
body.shop-v1847 .shop-premium-category:focus-visible {outline: 3px solid #098854;outline-offset: 3px}
/* Product detail receives exactly the same visual language, gallery/video remains untouched. */
body.shop-v1847 .shop-v1847-detail {background: linear-gradient(#fff,#f9fcfa 80%)}
body.shop-v1847 .shop-v1847-detail .shop-product-top {
  padding-top: 115px;
  color: #638276;
}
body.shop-v1847 .shop-v1847-detail .product-layout {
  gap: 24px;
  padding-top: 16px;
}
body.shop-v1847 .shop-v1847-detail .product-gallery,
body.shop-v1847 .shop-v1847-detail .product-intro {
  border: 1px solid #deeae2;
  border-radius: 22px;
  box-shadow: 0 9px 26px rgba(17,67,52,.06);
}
body.shop-v1847 .shop-v1847-detail .product-gallery {background: #fff}
body.shop-v1847 .shop-v1847-detail .product-main-image {background:#f8fbf9}
body.shop-v1847 .shop-v1847-detail .product-intro {background: #fff}
body.shop-v1847 .shop-v1847-detail .product-intro h1 {font-size: clamp(26px,3vw,41px);color:#15372d}
body.shop-v1847 .shop-v1847-detail .product-intro .buy {background: linear-gradient(160deg,#11a557,#087843)}
@media(max-width:1080px){
  body.shop-v1847 .shop-compact-copy{width: 67%;padding-left: 27px}
  body.shop-v1847 .shop-compact-visual{width: 35%}
  body.shop-v1847 .shop-compact-copy h1{font-size: clamp(27px,3.2vw,39px)}
}
@media(max-width:760px){
  body.shop-v1847 .shop-compact-hero {padding: 100px 0 8px}
  body.shop-v1847 .shop-compact-shell {min-height: 320px;border-radius: 22px}
  body.shop-v1847 .shop-compact-copy {width: 75%;padding: 26px 0 26px 24px}
  body.shop-v1847 .shop-compact-copy h1 {font-size:clamp(29px,4.5vw,38px)}
  body.shop-v1847 .shop-compact-copy .shop-premium-lead {font-size: 12.5px}
  body.shop-v1847 .shop-compact-visual {opacity: .55;width: 37%}
  body.shop-v1847 .shop-premium-action {min-height: 44px}
  body.shop-v1847 .shop-premium-category-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  body.shop-v1847 .shop-premium-category {min-height: 112px;padding:12px}
  body.shop-v1847 .shop-premium-category-text {max-width: 100%;min-height: 88px}
  body.shop-v1847 .shop-premium-category-text strong {font-size: 15px}
  body.shop-v1847 .shop-premium-category-text small {display:none}
  body.shop-v1847 .shop-premium-category-link {font-size:10px}
  body.shop-v1847 .shop-catalog-content {padding-top:10px}
}
@media(max-width:640px){
  body.shop-v1847 .shop-compact-shell {display:flex;flex-direction:column;align-items:stretch;min-height:0}
  body.shop-v1847 .shop-compact-copy {width:100%;max-width:100%;padding:25px 18px 13px}
  body.shop-v1847 .shop-compact-copy h1 {font-size: clamp(27px,7vw,36px)}
  body.shop-v1847 .shop-compact-copy .shop-premium-lead {font-size:13px;max-width:100%}
  body.shop-v1847 .shop-premium-actions{margin-top:16px;gap:8px;display:flex;flex-wrap:wrap}
  body.shop-v1847 .shop-premium-actions .shop-premium-action{width:100%;min-height:43px;font-size:12px}
  body.shop-v1847 .shop-compact-visual {opacity:1;position:relative;inset:auto;width:100%;height:135px;min-height:135px;margin-top:3px}
  body.shop-v1847 .shop-compact-product-1 {width:34%;height:90%;left:25%;top:2%}
  body.shop-v1847 .shop-compact-product-2 {width:29%;height:76%;right:10%;top:1%}
  body.shop-v1847 .shop-compact-product-3 {width:27%;height:67%;right:6%;bottom:-2%}
  body.shop-v1847 .shop-compact-visual-caption{font-size:9px;left:17%;bottom:7px}
  body.shop-v1847 .shop-catalog-categories-heading {flex-wrap:wrap}
  body.shop-v1847 .shop-premium-category-grid {grid-template-columns:1fr;gap:9px;margin-bottom:24px}
  body.shop-v1847 .shop-premium-category {min-height:94px;padding:10px 14px}
  body.shop-v1847 .shop-premium-category-text {min-height:72px;max-width:67%}
  body.shop-v1847 .shop-premium-category-text strong {font-size:16px}
  body.shop-v1847 .shop-premium-category-text small {display:block;font-size:11px}
  body.shop-v1847 .shop-premium-category-link {display:none}
  body.shop-v1847 .shop-premium-category-image {width:50%}
  body.shop-v1847 .catalog-card.shop-premium-product figure img {height: 158px}
  body.shop-v1847 .shop-v1847-detail .shop-product-top{padding-top:102px}
}
@media(max-width:385px){
  body.shop-v1847 .shop-compact-copy {padding-left:15px;padding-right:15px}
  body.shop-v1847 .shop-compact-copy h1 {font-size:27px}
  body.shop-v1847 .shop-premium-actions .shop-premium-action {font-size:11.5px}
  body.shop-v1847 .shop-compact-visual {height:118px;min-height:118px}
  body.shop-v1847 .shop-compact-visual-caption {display:none}
}
@media(prefers-reduced-motion:reduce){body.shop-v1847 .shop-premium-action,body.shop-v1847 .shop-premium-category,body.shop-v1847 .catalog-card{transition:none}}
