/* ==========================================================================
   staklems.lt: katalogo stiliai, perkelti iš „Simple Custom CSS & JS“ (2026-11)
   1) „SCG – vienodos katalogo kategorijos ir prekės“
   2) „SCG – laikiklių kategorijų kortelės“
   Šriftai Poppins/Montserrat/Arial pakeisti į DM Sans (temos šriftas).
   ========================================================================== */

/* ---------- 1) vienodos katalogo kategorijos ir prekės ---------- */

/* SCG laikikliu kategorijos – 2026-10-14 */
body.tax-product_cat .product-small.col > .col-inner {border:1px solid #dce5e9;border-radius:8px;background:#fff;overflow:hidden;height:100%;}
body.tax-product_cat .product-small .box {display:flex!important;flex-direction:column;overflow:visible!important;min-height:0!important;}
body.tax-product_cat .product-small .box-image {width:100%!important;height:210px!important;min-height:210px!important;margin:0!important;box-shadow:none!important;background:#fff;padding:30px 12px 8px!important;box-sizing:border-box;}
body.tax-product_cat .product-small .box-image a,body.tax-product_cat .product-small .image-zoom-fade {display:block;height:100%;width:100%;}
body.tax-product_cat .product-small .box-image img {display:block;width:100%!important;height:100%!important;max-height:172px!important;object-fit:contain!important;margin:0!important;}
body.tax-product_cat .product-small .box-text,body.tax-product_cat .product-small:hover .box-text {position:relative!important;top:auto!important;left:auto!important;width:100%!important;height:auto!important;min-height:112px!important;padding:14px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:left!important;background:#fff!important;transition:none!important;}
body.tax-product_cat .product-small .product-cat,body.tax-product_cat .product-small .short-description-products {display:none!important;}
body.tax-product_cat .product-small .name.product-title {height:auto!important;min-height:44px!important;margin:0 0 10px!important;}
body.tax-product_cat .product-small .name.product-title a {font-size:15px!important;line-height:1.45!important;font-weight:600!important;color:#004e68!important;text-transform:none!important;white-space:normal!important;overflow-wrap:anywhere;}
body.tax-product_cat .product-small .price-wrapper {height:auto!important;margin-top:auto!important;}
body.tax-product_cat .product-small .price {display:block;font-size:13px!important;line-height:1.5!important;color:#637780;}
body.tax-product_cat .product-small .price .amount {font-size:18px!important;font-weight:600!important;color:#004e68!important;}
body.tax-product_cat .product-small .tinvwl-loop-button-wrapper {margin:0!important;padding:0 14px 12px!important;}
body.tax-product_cat .product-small .tinvwl_add_to_wishlist_button {font-size:12px!important;color:#637780;}

/* Vienodos kategoriju korteles */
body.tax-product_cat .product-category .col-inner{height:100%;border:1px solid #dce5e9;border-radius:8px;overflow:hidden;background:#fff;}
body.tax-product_cat .product-category .box-image{height:200px!important;padding:16px!important;background:#fff;box-sizing:border-box;box-shadow:none!important;}
body.tax-product_cat .product-category .box-image img{width:100%!important;height:168px!important;object-fit:contain!important;}
body.tax-product_cat .product-category .box-text{position:relative!important;top:auto!important;background:#fff!important;padding:16px!important;min-height:74px;}
body.tax-product_cat .product-category .header-title{font:600 15px/1.45 "DM Sans", sans-serif!important;text-transform:none!important;color:#004e68;margin:0;white-space:normal;}
body.tax-product_cat .scg-category-nav{display:flex;flex-wrap:wrap;gap:8px;max-width:1250px;box-sizing:border-box;margin:0 auto!important;padding:22px 15px 6px;}
body.tax-product_cat .scg-category-nav a{display:block;padding:9px 14px;border:1px solid #bdcfd7;border-radius:6px;background:#fff;color:#004e68;font:500 13px/1.4 "DM Sans", sans-serif;text-decoration:none;}
body.tax-product_cat .scg-category-nav a:hover,body.tax-product_cat .scg-category-nav a:focus-visible{background:#edf4f7;border-color:#004e68;outline-offset:2px;}
body.tax-product_cat:not(.term-69):not(.term-73):not(.term-305):not(.term-438) #shop-sidebar>.widget_product_categories{display:none!important;}
@media(max-width:549px){
body.tax-product_cat .product-small .box-image{height:170px!important;min-height:170px!important;padding:28px 8px 8px!important;}
body.tax-product_cat .product-small .box-image img{max-height:134px!important;}
body.tax-product_cat .product-small .box-text{padding:12px!important;min-height:120px!important;}
body.tax-product_cat .product-small .name.product-title a{font-size:13px!important;}
body.tax-product_cat .product-small .price .amount{font-size:16px!important;}
body.tax-product_cat .product-category .box-image{height:150px!important;padding:12px!important;}
body.tax-product_cat .product-category .box-image img{height:126px!important;}
body.tax-product_cat .product-category .header-title{font-size:13px!important;}
body.tax-product_cat .product-category .box-text{padding:12px!important;}
body.tax-product_cat .scg-category-nav{gap:6px;padding:16px 15px 4px;}
body.tax-product_cat .scg-category-nav a{padding:9px 10px;font-size:12px;}
}

/* Vienodas pavadinimu plotas ir tinkami ploksteliu filtrai */
body.tax-product_cat .product-small .name.product-title{min-height:66px!important;}
body.tax-product_cat .product-small .box-text{min-height:142px!important;}
body.tax-product_cat:is(.term-72,:has(.woocommerce-breadcrumb a[href*="/tekinimo-ploksteles/"])) #woocommerce_layered_nav-25{display:none!important;}
body.tax-product_cat #woocommerce_layered_nav-27{order:-1;}
@media(max-width:549px){body.tax-product_cat .product-small .name.product-title{min-height:76px!important;}body.tax-product_cat .product-small .box-text{min-height:152px!important;}}

/* Pagrindinio puslapio korteles kaip kataloge */
/* SCG laikikliu kategorijos – 2026-10-14 */
body.home .scg-home-products .product-small.col > .col-inner {border:1px solid #dce5e9;border-radius:8px;background:#fff;overflow:hidden;height:100%;}
body.home .scg-home-products .product-small .box {display:flex!important;flex-direction:column;overflow:visible!important;min-height:0!important;}
body.home .scg-home-products .product-small .box-image {width:100%!important;height:210px!important;min-height:210px!important;margin:0!important;box-shadow:none!important;background:#fff;padding:30px 12px 8px!important;box-sizing:border-box;}
body.home .scg-home-products .product-small .box-image a,body.home .scg-home-products .product-small .image-zoom-fade {display:block;height:100%;width:100%;}
body.home .scg-home-products .product-small .box-image img {display:block;width:100%!important;height:100%!important;max-height:172px!important;object-fit:contain!important;margin:0!important;}
body.home .scg-home-products .product-small .box-text,body.home .scg-home-products .product-small:hover .box-text {position:relative!important;top:auto!important;left:auto!important;width:100%!important;height:auto!important;min-height:112px!important;padding:14px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:left!important;background:#fff!important;transition:none!important;}
body.home .scg-home-products .product-small .product-cat,body.home .scg-home-products .product-small .short-description-products {display:none!important;}
body.home .scg-home-products .product-small .name.product-title {height:auto!important;min-height:44px!important;margin:0 0 10px!important;}
body.home .scg-home-products .product-small .name.product-title a {font-size:15px!important;line-height:1.45!important;font-weight:600!important;color:#004e68!important;text-transform:none!important;white-space:normal!important;overflow-wrap:anywhere;}
body.home .scg-home-products .product-small .price-wrapper {height:auto!important;margin-top:auto!important;}
body.home .scg-home-products .product-small .price {display:block;font-size:13px!important;line-height:1.5!important;color:#637780;}
body.home .scg-home-products .product-small .price .amount {font-size:18px!important;font-weight:600!important;color:#004e68!important;}
body.home .scg-home-products .product-small .tinvwl-loop-button-wrapper {margin:0!important;padding:0 14px 12px!important;}
body.home .scg-home-products .product-small .tinvwl_add_to_wishlist_button {font-size:12px!important;color:#637780;}


body.home .scg-home-products .product-small.box{border:0!important;border-radius:0!important;}
body.home .scg-home-products .product-small .box-text{min-height:142px!important;}
body.home .scg-home-products .product-small .name.product-title{min-height:66px!important;}
body.home .scg-home-products .product-small .name a:after{display:none!important;content:none!important;}
body.home .scg-home-products .product-small .price-wrapper{min-height:0!important;gap:0!important;display:block!important;}
body.home .scg-home-products .product-small .price-wrapper>div{display:none!important;}
body.home .scg-home-products .product-small .price-wrapper>.price{font-size:13px!important;line-height:1.5!important;}
body.home .scg-home-products .product-small .woocommerce-price-suffix{display:inline!important;font-size:11px!important;margin:0!important;font-weight:400!important;color:#637780;}
body.home .scg-home-products .product-small .tinv-wraper{display:block!important;}
body.home .scg-home-products .product-small .brand-logo{display:block!important;}
@media(max-width:549px){
body.home .scg-home-products .product-small .box-image{height:170px!important;min-height:170px!important;padding:28px 8px 8px!important;}
body.home .scg-home-products .product-small .box-image img{max-height:134px!important;}
body.home .scg-home-products .product-small .box-text{padding:12px!important;min-height:152px!important;}
body.home .scg-home-products .product-small .name.product-title{min-height:76px!important;}
body.home .scg-home-products .product-small .name.product-title a{font-size:13px!important;}
body.home .scg-home-products .product-small .price .amount{font-size:16px!important;}
}

body.home .scg-home-products .product-small .custom-stock-badge-top-right{left:auto!important;right:10px!important;top:10px!important;}
/* SCG subkategorijų kortelės – 2026-10-21 */
body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category {
  --scg-card-image: 200px;
  --scg-card-title: 106px;
}

/* Kortelės rėmelis ir efektai */
body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .col-inner {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5e9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 78, 104, .04);
  transition: transform .2s ease, box-shadow .2s ease,
              border-color .2s ease;
}

/* Nuotrauka viršuje, pavadinimas apačioje */
body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .box {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  overflow: hidden !important;
  background: #fff;
}

/* Vienodas vaizdų plotas */
body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .box-image {
  position: relative !important;
  width: 100% !important;
  height: var(--scg-card-image) !important;
  min-height: var(--scg-card-image) !important;
  margin: 0 !important;
  padding: 18px !important;
  overflow: hidden !important;
  background: #f1f5f6 !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .box-image > a {
  display: block;
  width: 100%;
  height: 100%;
}

body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .box-image img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: multiply;
  transform: none !important;
  transition: transform .25s ease !important;
}

/* Vienodo aukščio pavadinimų zona */
body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .box-text {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: var(--scg-card-title) !important;
  min-height: var(--scg-card-title) !important;
  padding: 18px 48px 18px 18px !important;
  background: #fff !important;
  text-align: left !important;
  opacity: 1 !important;
  transform: none !important;
  box-sizing: border-box;
}

body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .header-title {
  margin: 0 !important;
  color: #004e68 !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  white-space: normal !important;
  overflow-wrap: break-word;
}

/* Paslepiamas prekių skaičius */
body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .count {
  display: none !important;
}

/* Oranžinė rodyklė */
body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .box-text::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 18px;
  color: #ec7024;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .2s ease;
  pointer-events: none;
}

/* Klaviatūra ir paspaudimas */
body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .col-inner:focus-within {
  outline: 2px solid #ec7024;
  outline-offset: 3px;
}

body.tax-product_cat:is(
  .term-tekinimo-irankiai,
  .term-frezavimo-irankiai,
  .term-gezimo-irankiai,
  .term-priedai-staklems
) .product-category .col-inner:active {
  transform: scale(.985);
  border-color: #ec7024;
}

@media (hover: hover) {
  body.tax-product_cat:is(
    .term-tekinimo-irankiai,
    .term-frezavimo-irankiai,
    .term-gezimo-irankiai,
    .term-priedai-staklems
  ) .product-category .col-inner:hover {
    transform: translateY(-3px);
    border-color: #ec7024;
    box-shadow: 0 8px 22px rgba(0, 78, 104, .10);
  }

  body.tax-product_cat:is(
    .term-tekinimo-irankiai,
    .term-frezavimo-irankiai,
    .term-gezimo-irankiai,
    .term-priedai-staklems
  ) .product-category .col-inner:hover .box-image img {
    transform: scale(1.035) !important;
  }

  body.tax-product_cat:is(
    .term-tekinimo-irankiai,
    .term-frezavimo-irankiai,
    .term-gezimo-irankiai,
    .term-priedai-staklems
  ) .product-category .col-inner:hover .box-text::after {
    transform: translate(3px, -50%);
  }
}

/* Telefonas */
@media (max-width: 549px) {
  body.tax-product_cat:is(
    .term-tekinimo-irankiai,
    .term-frezavimo-irankiai,
    .term-gezimo-irankiai,
    .term-priedai-staklems
  ) .product-category {
    --scg-card-image: 145px;
    --scg-card-title: 120px;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-right: 6px !important;
    padding-left: 6px !important;
    padding-bottom: 12px !important;
  }

  body.tax-product_cat:is(
    .term-tekinimo-irankiai,
    .term-frezavimo-irankiai,
    .term-gezimo-irankiai,
    .term-priedai-staklems
  ) .product-category .box-image {
    padding: 12px !important;
  }

  body.tax-product_cat:is(
    .term-tekinimo-irankiai,
    .term-frezavimo-irankiai,
    .term-gezimo-irankiai,
    .term-priedai-staklems
  ) .product-category .box-text {
    padding: 14px 29px 14px 12px !important;
  }

  body.tax-product_cat:is(
    .term-tekinimo-irankiai,
    .term-frezavimo-irankiai,
    .term-gezimo-irankiai,
    .term-priedai-staklems
  ) .product-category .header-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  body.tax-product_cat:is(
    .term-tekinimo-irankiai,
    .term-frezavimo-irankiai,
    .term-gezimo-irankiai,
    .term-priedai-staklems
  ) .product-category .box-text::after {
    right: 10px;
    font-size: 21px;
  }
}

/* Sumažinto judesio nustatymas */
@media (prefers-reduced-motion: reduce) {
  body.tax-product_cat:is(
    .term-tekinimo-irankiai,
    .term-frezavimo-irankiai,
    .term-gezimo-irankiai,
    .term-priedai-staklems
  ) .product-category * {
    transition: none !important;
  }
}

/* SCG subkategoriju galutinis isdestymas – 2026-10-21 */
body.tax-product_cat:is(.term-tekinimo-irankiai,.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category .col-inner>a{display:block;height:100%;text-decoration:none;}
body.tax-product_cat:is(.term-tekinimo-irankiai,.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category .box-text{margin:0!important;max-width:none!important;flex-shrink:0!important;left:auto!important;right:auto!important;bottom:auto!important;}
body.tax-product_cat:is(.term-tekinimo-irankiai,.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category .box-text-inner{width:100%;}
body.tax-product_cat:is(.term-tekinimo-irankiai,.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category .header-title{letter-spacing:0!important;}
body.tax-product_cat:is(.term-tekinimo-irankiai,.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category .box-image img{filter:none!important;}


/* SCG: likusiu subkategoriju mobili perziura, 2026-10-21 */
@media (max-width:549px){
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .category-page-row > .col.large-9{padding-left:12px!important;padding-right:12px!important;}
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category{--scg-card-title:124px;}
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category .box-text{padding:12px 26px 12px 10px!important;}
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category .header-title{font-size:13px!important;line-height:1.45!important;overflow-wrap:anywhere;}
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category .box-text::after{right:8px;font-size:19px;}
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .shop-page-title .page-title-inner{display:block!important;}
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .shop-page-title .flex-col.medium-text-center{width:100%!important;flex-basis:auto!important;border:0!important;display:block!important;text-align:left!important;}
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .shop-page-title h1{font-size:22px!important;line-height:1.3!important;margin:0 0 10px!important;}
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .shop-page-title .woocommerce-breadcrumb{font-size:11px!important;line-height:1.6!important;}
}

/* SCG: nauju nuotrauku pilnas korteles plotis */
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-priedai-staklems) .product-category:has(img[src*="scg-kategorija-"]) .box-image{padding:0!important;}
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-priedai-staklems) .product-category:has(img[src*="scg-kategorija-"]) .box-image img{object-fit:cover!important;mix-blend-mode:normal!important;}
@media(max-width:549px){
body.tax-product_cat:is(.term-frezavimo-irankiai,.term-gezimo-irankiai,.term-priedai-staklems) .product-category .box-image{height:auto!important;min-height:0!important;aspect-ratio:3/2;}
}

/* SCG priedu korteles: patvirtintas studijinis vaizdas, 2026-10-21 */
body.tax-product_cat.term-priedai-staklems .product-category .box-image{height:auto!important;min-height:0!important;aspect-ratio:366/386;padding:0!important;background-image:url("https://staklems.lt/wp-content/uploads/2026/10/scg-priedu-korteles-20261021.webp")!important;background-size:419.672131% 265.284974%!important;background-position:var(--scg-photo-x) var(--scg-photo-y)!important;background-repeat:no-repeat!important;}
body.tax-product_cat.term-priedai-staklems .product-category .box-image img{position:absolute!important;inset:0!important;opacity:0!important;pointer-events:none!important;}
body.tax-product_cat.term-priedai-staklems .product-category:has(a[href*="/ausinimo-siurbliai/"]){--scg-photo-x:1.025641%;--scg-photo-y:1.880878%;}
body.tax-product_cat.term-priedai-staklems .product-category:has(a[href*="/ausinimo-zarnos-ir-priedai/"]){--scg-photo-x:33.760684%;--scg-photo-y:1.880878%;}
body.tax-product_cat.term-priedai-staklems .product-category:has(a[href*="/grezimo-griebtuvai/"]){--scg-photo-x:66.495727%;--scg-photo-y:1.880878%;}
body.tax-product_cat.term-priedai-staklems .product-category:has(a[href*="/irankiu-laikikliai/"]){--scg-photo-x:99.059829%;--scg-photo-y:1.880878%;}
body.tax-product_cat.term-priedai-staklems .product-category:has(a[href*="/kitos-dalys-ir-priedai/"]){--scg-photo-x:1.025641%;--scg-photo-y:78.369906%;}
body.tax-product_cat.term-priedai-staklems .product-category:has(a[href*="/skaitmenine-indikacija-ir-enkoderiai/"]){--scg-photo-x:33.760684%;--scg-photo-y:78.369906%;}
body.tax-product_cat.term-priedai-staklems .product-category:has(a[href*="/spaustuvai/"]){--scg-photo-x:66.495727%;--scg-photo-y:78.369906%;}
body.tax-product_cat.term-priedai-staklems .product-category:has(a[href*="/tekinimo-griebtuvai-ir-kumsteliai/"]){--scg-photo-x:99.059829%;--scg-photo-y:78.369906%;}

/* SCG tekinimo korteles: studijines nuotraukos 2026-10-21 */
body.tax-product_cat.term-tekinimo-irankiai .product-category .box-image{height:auto!important;min-height:0!important;aspect-ratio:1/1;padding:0!important;background-image:url("https://staklems.lt/wp-content/uploads/2026/10/scg-tekinimo-korteles-20261021.webp")!important;background-size:200% 200%!important;background-position:var(--scg-turn-x) var(--scg-turn-y)!important;background-repeat:no-repeat!important;}
body.tax-product_cat.term-tekinimo-irankiai .product-category .box-image img{position:absolute!important;inset:0!important;opacity:0!important;pointer-events:none!important;}
body.tax-product_cat.term-tekinimo-irankiai .product-category:has(a[href*="/tekinimo-ploksteles/"]){--scg-turn-x:0%;--scg-turn-y:0%;}
body.tax-product_cat.term-tekinimo-irankiai .product-category:has(a[href*="/laikikliai-su-plokstelemis/"]){--scg-turn-x:100%;--scg-turn-y:0%;}
body.tax-product_cat.term-tekinimo-irankiai .product-category:has(a[href*="/tekinimo-peiliai-su-kietlydinio-plokstelemis/"]){--scg-turn-x:0%;--scg-turn-y:100%;}
body.tax-product_cat.term-tekinimo-irankiai .product-category:has(a[href*="/atsargines-dalys/"]){--scg-turn-x:100%;--scg-turn-y:100%;}
@media(max-width:549px){
body.tax-product_cat.term-tekinimo-irankiai .category-page-row > .col.large-9{padding-left:12px!important;padding-right:12px!important;}
body.tax-product_cat.term-tekinimo-irankiai .product-category{--scg-card-title:124px;}
body.tax-product_cat.term-tekinimo-irankiai .product-category .box-text{padding:12px 26px 12px 10px!important;}
body.tax-product_cat.term-tekinimo-irankiai .product-category .header-title{font-size:13px!important;line-height:1.45!important;overflow-wrap:anywhere;}
body.tax-product_cat.term-tekinimo-irankiai .product-category .box-text::after{right:8px;font-size:19px;}
body.tax-product_cat.term-tekinimo-irankiai .shop-page-title .page-title-inner{display:block!important;}
body.tax-product_cat.term-tekinimo-irankiai .shop-page-title .flex-col.medium-text-center{width:100%!important;flex-basis:auto!important;border:0!important;display:block!important;text-align:left!important;}
body.tax-product_cat.term-tekinimo-irankiai .shop-page-title h1{font-size:22px!important;line-height:1.3!important;margin:0 0 10px!important;}
body.tax-product_cat.term-tekinimo-irankiai .shop-page-title .woocommerce-breadcrumb{font-size:11px!important;line-height:1.6!important;}
}

/* SCG grezimo korteles: studijines nuotraukos 2026-10-21 */
body.tax-product_cat.term-gezimo-irankiai .product-category .box-image{height:auto!important;min-height:0!important;aspect-ratio:1/1;padding:0!important;background-image:url("https://staklems.lt/wp-content/uploads/2026/10/scg-grezimo-korteles-20261021.webp")!important;background-size:200% 100%!important;background-position:var(--scg-drill-x) 0%!important;background-repeat:no-repeat!important;}
body.tax-product_cat.term-gezimo-irankiai .product-category .box-image img{position:absolute!important;inset:0!important;opacity:0!important;pointer-events:none!important;}
body.tax-product_cat.term-gezimo-irankiai .product-category:has(a[href*="/graztai-su-plokstelemis/"]){--scg-drill-x:0%;}
body.tax-product_cat.term-gezimo-irankiai .product-category:has(a[href*="/grezimo-ploksteles/"]){--scg-drill-x:100%;}

/* SCG: aiskus ir draugiskas produkto puslapis 2026-10-21 */
body.single-product .custom-product-page{background:#f7f9fa;}
body.single-product .custom-product-page .page-title{background:#f7f9fa!important;}
body.single-product .custom-product-page .title-overlay{background:#f7f9fa!important;}
body.single-product .custom-product-page .breadcrumbs{font-size:12px;line-height:1.7;text-transform:none;letter-spacing:0;}
body.single-product .scg-product-template{padding:16px 0 40px!important;}
body.single-product .scg-product-main{max-width:1240px;margin:auto!important;}
body.single-product .scg-product-main>.col{padding:0 16px 28px;min-width:0;}
body.single-product .scg-product-main>.col:nth-child(2)>.col-inner{background:#fff;border:1px solid #e0e8ec;border-radius:18px;padding:28px;box-shadow:0 6px 24px rgba(0,65,86,.04);}
body.single-product .scg-product-main .product-title{font-size:30px;line-height:1.25;letter-spacing:-.5px;color:#163c4b;margin:0 0 18px;overflow-wrap:anywhere;}
body.single-product .scg-product-main .product-title-container .is-divider{display:none;}
body.single-product .scg-product-main .product-page-price{font-size:14px;color:#657882;margin:0 0 18px;}
body.single-product .scg-product-main .product-page-price .amount{font-size:32px;font-weight:700;color:#004e68;}
body.single-product .scg-product-main .product-short-description{font-size:15px;line-height:1.7;color:#4b606a;margin-bottom:22px;}
body.single-product .scg-product-main .product-short-description p{margin-bottom:12px;}
body.single-product .scg-product-main .product-images{background:#fff;border:1px solid #e0e8ec;border-radius:18px;padding:20px;overflow:hidden;}
body.single-product .scg-product-main .product-gallery-slider .flickity-viewport{height:430px!important;}
body.single-product .scg-product-main .woocommerce-product-gallery__image{width:100%!important;height:430px!important;}
body.single-product .scg-product-main .woocommerce-product-gallery__image>a{display:flex;height:100%;align-items:center;justify-content:center;}
body.single-product .scg-product-main .woocommerce-product-gallery__image img{width:100%!important;height:100%!important;max-height:430px;object-fit:contain!important;}
body.single-product .scg-product-main .product-thumbnails{margin-top:14px;}
body.single-product .scg-product-main .product-thumbnails .col{max-width:88px;}
body.single-product .scg-product-main .variations{margin:0 0 18px!important;}
body.single-product .scg-product-main .variations th.label{display:block!important;padding:0 0 8px!important;font-size:14px;color:#244b5b;text-transform:none;}
body.single-product .scg-product-main .variations td.value{display:block!important;padding:0!important;}
body.single-product .scg-product-main select{height:48px;border:1px solid #b9cbd3!important;border-radius:8px;background-color:#fff;font-size:15px;padding-left:14px;box-shadow:none;}
body.single-product .scg-product-main .stock{display:table;background:#edf6f0;color:#2b6846;border-radius:6px;padding:7px 11px;font-size:13px;font-weight:600;margin-bottom:16px;}
body.single-product .scg-product-main .stock.available-on-backorder{background:#fff4e7;color:#895322;}
body.single-product .scg-product-main form.cart{margin-bottom:18px!important;}
body.single-product .scg-product-main .quantity{margin-right:12px!important;margin-bottom:12px!important;vertical-align:top;}
body.single-product .scg-product-main .quantity input{height:48px!important;min-height:48px!important;border-color:#c5d3da!important;background:#fff;box-shadow:none!important;}
body.single-product .scg-product-main .quantity input.qty{width:46px;}
body.single-product .scg-product-main .quantity .minus{border-radius:8px 0 0 8px;}
body.single-product .scg-product-main .quantity .plus{border-radius:0 8px 8px 0;}
body.single-product .scg-product-main .single_add_to_cart_button{height:48px;min-height:48px;min-width:180px;border-radius:8px;background:#e86d27;color:#fff;font-size:15px;font-weight:700;text-transform:none;letter-spacing:0;margin:0 0 12px;padding:0 30px;box-shadow:0 3px 8px rgba(232,109,39,.12);}
body.single-product .scg-product-main .single_add_to_cart_button:hover{background:#cd571b;}
body.single-product .scg-product-main .single_add_to_cart_button.disabled{opacity:.5;}
body.single-product .scg-product-main .tinvwl-after-add-to-cart{display:block;clear:both;margin:0!important;font-size:13px;color:#617682;}
body.single-product .scg-product-main>.col:nth-child(2)>.col-inner>.row{margin:0!important;padding:18px 18px 0;background:#f1f6f8;border-radius:12px;border:1px solid #e3edf1;}
body.single-product .scg-product-main>.col:nth-child(2)>.col-inner>.row>.col{padding:0!important;}
body.single-product .scg-product-main>.col:nth-child(2)>.col-inner>.row>.col>.col-inner{margin:0!important;}
body.single-product .scg-product-main h6{font-size:14px!important;font-weight:700;line-height:1.5;text-transform:none;letter-spacing:0;color:#234e60!important;margin-bottom:10px;text-align:left!important;}
body.single-product .scg-product-main .row .text p{font-size:13px!important;line-height:1.65;text-align:left!important;margin-bottom:18px;color:#506976;}
body.single-product .scg-product-main .row a.button{border:0!important;background:#fff;color:#004e68;border-radius:6px;font-size:12px;text-transform:none;letter-spacing:0;padding:0 10px;margin:0 5px 16px 0;min-height:36px;line-height:36px;}
body.single-product .scg-product-template .accordion{margin-top:4px;}
body.single-product .scg-product-template .accordion-item{border:1px solid #dce6eb!important;border-radius:12px;background:#fff;overflow:hidden;margin-bottom:10px;}
body.single-product .scg-product-template .accordion-title{border:0!important;padding:18px 22px 18px 50px!important;font-size:17px;font-weight:600;line-height:1.4;color:#234e60;background:#fff;}
body.single-product .scg-product-template .accordion-title.active{background:#eef5f7;color:#004e68;}
body.single-product .scg-product-template .accordion-title .toggle{left:13px!important;top:13px!important;}
body.single-product .scg-product-template .accordion-inner{padding:22px!important;line-height:1.75;font-size:15px;color:#445d69;overflow-x:auto;}
body.single-product .scg-product-template .accordion-inner table{font-size:13px;border-collapse:collapse;}
body.single-product .scg-product-template .accordion-inner td,body.single-product .scg-product-template .accordion-inner th{padding:11px!important;border-color:#e2e9ed!important;}
body.single-product .scg-product-template .accordion-inner tr:nth-child(even){background:#f5f8fa;}
body.single-product .scg-product-template .related{border:0;margin-top:30px;}
body.single-product .scg-product-template .related h3{font-size:24px;color:#234e60;text-transform:none;letter-spacing:0;margin-bottom:22px;}
body.single-product .scg-product-template .related .product-small>.col-inner{border:1px solid #dce5e9;border-radius:12px;background:#fff;overflow:hidden;height:100%;}
body.single-product .scg-product-template .related .box{display:flex!important;flex-direction:column;}
body.single-product .scg-product-template .related .box-image{height:210px!important;padding:28px 14px 10px;}
body.single-product .scg-product-template .related .box-image img{width:100%;height:170px;object-fit:contain;}
body.single-product .scg-product-template .related .box-text{position:relative!important;top:auto!important;height:auto!important;min-height:125px;padding:16px!important;background:#fff!important;text-align:left;}
body.single-product .scg-product-template .related .product-cat,body.single-product .scg-product-template .related .short-description-products{display:none;}
body.single-product .scg-product-template .related .name{height:auto!important;min-height:42px;line-height:1.45;font-size:14px;margin-bottom:12px;}
body.single-product .scg-product-template .related .name a{font-weight:600;color:#004e68;}
body.single-product .scg-product-template .related .price{font-size:12px;color:#607781;}
body.single-product .scg-product-template .related .price .amount{font-size:18px;font-weight:700;color:#004e68;}
body.single-product .scg-product-template .related .tinvwl-loop-button-wrapper{padding:0 16px 14px;font-size:12px;}
body.single-product .scg-product-template :is(a,button,select,input):focus-visible{outline:2px solid #00718d;outline-offset:3px;}
@media(max-width:849px){body.single-product .scg-product-main>.col{padding:0 10px 22px;}body.single-product .scg-product-main>.col:nth-child(2)>.col-inner{padding:20px;}body.single-product .scg-product-main .product-title{font-size:25px;}}
@media(max-width:549px){
body.single-product .custom-product-page .page-title-inner{padding:12px 16px;}
body.single-product .custom-product-page .breadcrumbs{font-size:11px;text-align:left;}
body.single-product .scg-product-template{padding-top:4px!important;}
body.single-product .scg-product-main>.col{padding:0 14px 18px;}
body.single-product .scg-product-main .product-images{padding:12px;border-radius:12px;}
body.single-product .scg-product-main .product-gallery-slider .flickity-viewport,body.single-product .scg-product-main .woocommerce-product-gallery__image{height:270px!important;}
body.single-product .scg-product-main .woocommerce-product-gallery__image img{max-height:270px;}
body.single-product .scg-product-main>.col:nth-child(2)>.col-inner{padding:20px 16px;border-radius:12px;}
body.single-product .scg-product-main .product-title{font-size:24px;margin-bottom:12px;}
body.single-product .scg-product-main .product-page-price .amount{font-size:29px;}
body.single-product .scg-product-main .single_add_to_cart_button{min-width:0;padding:0 16px;width:calc(100% - 124px);}
body.single-product .scg-product-main .row a.button{width:auto!important;display:block;}
body.single-product .scg-product-template .accordion-title{font-size:16px;padding-top:16px!important;padding-bottom:16px!important;}
body.single-product .scg-product-template .accordion-inner{padding:16px!important;font-size:14px;}
body.single-product .scg-product-template .related .box-image{height:155px!important;padding:24px 8px 8px;}
body.single-product .scg-product-template .related .box-image img{height:120px;}
body.single-product .scg-product-template .related .box-text{padding:12px!important;min-height:145px;}
body.single-product .scg-product-template .related .name{font-size:13px;overflow-wrap:anywhere;}
}

/* Produkto pasirinkimai be senu lenteliu remeliu */
body.single-product .scg-product-main table.variations :is(tbody,tr,th,td){background:transparent!important;border:0!important;}
body.single-product .scg-product-main table.variations label{text-align:left!important;display:block;font-size:14px;font-weight:600;color:#244b5b;}
body.single-product .scg-product-main .product-page-price .amount,body.single-product .scg-product-main .product-page-price .amount bdi{font-size:32px!important;font-weight:700!important;color:#004e68!important;}
body.single-product .scg-product-main .product-page-price .amount .woocommerce-Price-currencySymbol{color:inherit!important;}
body.single-product .scg-product-main .reset_variations{font-size:12px;}
@media(max-width:549px){body.single-product .scg-product-main .product-page-price .amount,body.single-product .scg-product-main .product-page-price .amount bdi{font-size:29px!important;}}

/* Telefonui: pilno plocio pirkimo mygtukas ir patogus kiekis */
@media(max-width:549px){
body.single-product .scg-product-main .quantity{display:inline-flex!important;width:auto!important;margin-right:0!important;}
body.single-product .scg-product-main .single_add_to_cart_button{display:block!important;clear:both!important;width:100%!important;min-width:0!important;padding:0 18px!important;white-space:normal!important;}
body.single-product .scg-product-main .product-page-price{line-height:1.6;}
}

/* Aiskus informacijos iskleidimo zenklas */
body.single-product .scg-product-template .accordion-title{position:relative;padding-left:22px!important;padding-right:52px!important;}
body.single-product .scg-product-template .accordion-title::after{content:"+";position:absolute;right:22px;top:50%;transform:translateY(-50%);font-size:23px;font-weight:400;color:#507685;}
body.single-product .scg-product-template .accordion-title[aria-expanded="true"]::after{content:"−";}


/* ---------- 2) laikiklių kategorijų kortelės ---------- */

/* SCG laikikliu kategorijos – 2026-10-14 */
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small.col > .col-inner {border:1px solid #dce5e9;border-radius:8px;background:#fff;overflow:hidden;height:100%;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .box {display:flex!important;flex-direction:column;overflow:visible!important;min-height:0!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .box-image {width:100%!important;height:210px!important;min-height:210px!important;margin:0!important;box-shadow:none!important;background:#fff;padding:30px 12px 8px!important;box-sizing:border-box;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .box-image a,body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .image-zoom-fade {display:block;height:100%;width:100%;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .box-image img {display:block;width:100%!important;height:100%!important;max-height:172px!important;object-fit:contain!important;margin:0!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .box-text,body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small:hover .box-text {position:relative!important;top:auto!important;left:auto!important;width:100%!important;height:auto!important;min-height:112px!important;padding:14px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:left!important;background:#fff!important;transition:none!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .product-cat,body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .short-description-products {display:none!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .name.product-title {height:auto!important;min-height:44px!important;margin:0 0 10px!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .name.product-title a {font-size:15px!important;line-height:1.45!important;font-weight:600!important;color:#004e68!important;text-transform:none!important;white-space:normal!important;overflow-wrap:anywhere;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .price-wrapper {height:auto!important;margin-top:auto!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .price {display:block;font-size:13px!important;line-height:1.5!important;color:#637780;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .price .amount {font-size:18px!important;font-weight:600!important;color:#004e68!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .tinvwl-loop-button-wrapper {margin:0!important;padding:0 14px 12px!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .tinvwl_add_to_wishlist_button {font-size:12px!important;color:#637780;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) #shop-sidebar>.widget_product_categories {display:none!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) #woocommerce_layered_nav-23 {order:-1;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .scg-holder-nav {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .scg-holder-nav a {display:block;padding:9px 14px;border:1px solid #bdcfd7;border-radius:6px;background:#fff;color:#004e68;font:500 13px/1.4 "DM Sans", sans-serif;text-decoration:none;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .scg-holder-nav a:hover,body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .scg-holder-nav a:focus-visible {background:#edf4f7;border-color:#004e68;}
@media(max-width:549px){
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .box-image {height:170px!important;min-height:170px!important;padding:28px 8px 8px!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .box-image img {max-height:134px!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .box-text {padding:12px!important;min-height:120px!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .name.product-title a {font-size:13px!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .product-small .price .amount {font-size:16px!important;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .scg-holder-nav {gap:6px;margin-bottom:18px;}
body.tax-product_cat:is(.term-439,:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"])) .scg-holder-nav a {padding:9px 10px;font-size:12px;}
}
/* SCG navigacijos lygiavimas */
.scg-holder-nav{max-width:1250px;margin:0 auto!important;padding:22px 15px 6px;box-sizing:border-box;}
.scg-holder-nav a[href$="/laikikliai-isoriniams-grioveliams-su-ausinimu/"],body.term-439 .product-category:has(a[href$="/laikikliai-isoriniams-grioveliams-su-ausinimu/"]){display:none!important;}

/* Filtru duomenu aprėpties paaiskinimas */
body.tax-product_cat:has(.woocommerce-breadcrumb a[href*="/laikikliai-su-plokstelemis/"]) #shop-sidebar:after{content:"Filtrai atrenka prekes su suvestais požymiais. Neradę modelio, išvalykite filtrus arba ieškokite pagal kodą.";display:block;order:20;padding:12px 4px;color:#637780;font:12px/1.6 "DM Sans", sans-serif;}
