/* theportrait.lt bendras puslapių standartas (tp-virsus) - žr. projekto CLAUDE.md „Puslapio standartas".
   Etalonas - pagrindinis puslapis (.tph-*). Viskas po body.tpv-st, kad išjungus klasę grįžtų temos išvaizda. */
body.tpv-st{background:#fff!important;color:var(--tpv-juoda);font-family:'Poppins','Helvetica Neue',Arial,sans-serif;font-size:15px;line-height:1.55}
body.tpv-st #page,body.tpv-st .site-content{background:#fff}
body.tpv-st :is(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,td,th,label,legend,input,select,textarea,button,blockquote,figcaption,bdi,strong,em,small,.button,.price,.amount),
body.tpv-st span:not([class*="icon"]):not([class*="fa-"]){font-family:'Poppins','Helvetica Neue',Arial,sans-serif!important}
body.tpv-st :is(h1,h2,h3,h4,h5,h6){font-weight:300;letter-spacing:-.02em;line-height:1.15;text-transform:none;color:var(--tpv-juoda);text-wrap:balance}
body.tpv-st h1{font-size:clamp(30px,3.6vw,44px)}
body.tpv-st h2{font-size:clamp(26px,3vw,36px)}
body.tpv-st h3{font-size:20px;font-weight:400;letter-spacing:-.01em;line-height:1.3}
body.tpv-st p{color:var(--tpv-pilka)}

/* viena paraštė visam puslapiui = meniu paraštė */
body.tpv-st .col-full,body.tpv-st .site-content>.col-full{max-width:none!important;width:auto!important;margin-inline:0!important;padding-inline:var(--tpv-k)!important}

/* trupiniai / puslapio pavadinimo juosta (Elementor antraštės šablono dalis) - be pilko fono, ties bendra parašte */
body.tpv-st .woncep-breadcrumb-build{background:none!important;min-height:0!important;padding:28px var(--tpv-k) 8px!important;margin:0!important;border:0!important}
body.tpv-st .woncep-breadcrumb-build::before,body.tpv-st .woncep-breadcrumb-build>.elementor-background-overlay{display:none!important}
body.tpv-st .woncep-breadcrumb-build>.elementor-container{max-width:none!important;min-height:0!important;padding:0!important}
body.tpv-st .woncep-breadcrumb-build :is(.elementor-column,.elementor-widget-wrap,.elementor-element-populated){padding:0!important;margin:0!important}
body.tpv-st .woncep-breadcrumb-build .woocommerce-breadcrumb,body.tpv-st .woncep-breadcrumb-build nav{font-size:12px!important;letter-spacing:.04em;color:var(--tpv-pilka)!important;text-align:left!important;justify-content:flex-start!important;margin:0!important}
body.tpv-st .woncep-breadcrumb-build :is(a,span,li){color:var(--tpv-pilka)!important;font-size:12px!important}
body.tpv-st .woncep-breadcrumb-build :is(h1,h2,.woncep-woocommerce-title){font-size:clamp(30px,3.6vw,44px)!important;font-weight:300!important;text-align:left!important;margin:0 0 10px!important}

/* mygtukai */
body.tpv-st :is(.button,button.button,a.button,input[type=submit],button[type=submit],.wp-element-button,.elementor-button):not(.tpv-mygt):not(.tph-kar-r){border-radius:0!important;border:1px solid var(--tpv-juoda)!important;background:transparent!important;color:var(--tpv-juoda)!important;font-size:14px!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;transition:background .2s,color .2s}
body.tpv-st :is(.button,button.button,a.button,input[type=submit],button[type=submit],.wp-element-button,.elementor-button):not(.tpv-mygt):not(.tph-kar-r):hover,
body.tpv-st :is(.single_add_to_cart_button,.checkout-button,.button.alt),body.tpv-st #place_order{background:var(--tpv-juoda)!important;color:#fff!important}
body.tpv-st :is(.single_add_to_cart_button,.checkout-button,.button.alt):hover,body.tpv-st #place_order:hover{background:#2a2d30!important}

/* prekių sąrašas */
body.tpv-st ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 18px;margin:0!important;padding:0!important}
body.tpv-st ul.products::before,body.tpv-st ul.products::after{display:none!important}
body.tpv-st ul.products li.product{width:auto!important;max-width:none!important;flex:none!important;margin:0!important;padding:0!important;float:none!important}
body.tpv-st li.product .product-block{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex;flex-direction:column;height:100%}
body.tpv-st li.product .product-transition{background:var(--tpv-fonas);margin:0 0 14px!important;border:0!important}
body.tpv-st li.product .product-image img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;display:block}
body.tpv-st li.product .product-caption{padding:0!important;border:0!important;text-align:left!important}
body.tpv-st li.product .woocommerce-loop-product__title{font-size:16px!important;font-weight:400!important;letter-spacing:0!important;line-height:1.35!important;margin:0 0 6px!important;white-space:normal!important;text-wrap:wrap}
body.tpv-st li.product .woocommerce-loop-product__title a{color:var(--tpv-juoda)!important;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
body.tpv-st li.product .product-bottom{padding:0!important;border:0!important;margin-top:auto;display:block!important}
body.tpv-st li.product .price{font-size:15px!important;font-weight:400!important;color:var(--tpv-juoda)!important}
body.tpv-st li.product .price del{color:var(--tpv-pilka)!important;font-weight:300}
body.tpv-st li.product .price ins{text-decoration:none;color:var(--tpv-terakota)!important}
@media (max-width:1100px){body.tpv-st ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){body.tpv-st ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 10px}body.tpv-st li.product .woocommerce-loop-product__title{font-size:14px!important}}

/* parduotuvė: įrankių juosta, kortelės mygtukas, puslapiavimas */
body.tpv-st .woocommerce-products-header:empty{display:none}
body.tpv-st .woncep-sorting{display:flex;align-items:center;gap:20px;margin:28px 0 24px!important;padding:0 0 16px!important;border-bottom:1px solid var(--tpv-linija)}
body.tpv-st .woncep-sorting .filter-toggle{font-size:14px!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important;color:var(--tpv-juoda)!important;display:inline-flex;align-items:center;gap:8px}
body.tpv-st .woncep-sorting .woocommerce-result-count{margin:0!important;font-size:13px!important;color:var(--tpv-pilka)!important}
body.tpv-st .woncep-sorting .gridlist-toggle{display:none!important}
body.tpv-st .woncep-sorting .woocommerce-ordering{margin:0 0 0 auto!important}
body.tpv-st .woncep-sorting select.orderby{border:0!important;border-radius:0!important;background-color:transparent!important;font-size:14px!important;color:var(--tpv-juoda)!important;padding:6px 28px 6px 0!important;height:auto!important;min-width:0;width:auto!important;box-shadow:none!important}
body.tpv-st li.product .list-button-action{position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;display:block!important;margin:12px 0 0!important;padding:0!important;background:none!important;width:100%!important}
body.tpv-st li.product .list-button-action a.button,body.tpv-st li.product .list-button-action a.added_to_cart{display:block!important;width:100%!important;text-align:center!important;padding:13px 12px!important;line-height:1.3!important;height:auto!important;margin:0!important}
body.tpv-st li.product .list-button-action a.button::before,body.tpv-st li.product .list-button-action a.button::after{display:none!important}
body.tpv-st li.product .group-action{display:none!important}
body.tpv-st li.product .product-bottom{height:auto!important;overflow:visible!important;text-align:left!important}
body.tpv-st li.product .product-bottom>*{transform:none!important;transition:none!important}
body.tpv-st li.product .product-bottom .price{display:block;margin:0!important}
body.tpv-st nav.woocommerce-pagination{margin:56px 0 clamp(56px,7vw,104px)!important;text-align:center;border:0!important;padding:0!important}
body.tpv-st nav.woocommerce-pagination ul.page-numbers{display:inline-flex;gap:4px;border:0!important;margin:0!important;padding:0!important;list-style:none}
body.tpv-st nav.woocommerce-pagination li{border:0!important;margin:0!important}
body.tpv-st nav.woocommerce-pagination .page-numbers:not(ul){display:grid!important;place-items:center;min-width:40px;height:40px;padding:0 10px!important;border:1px solid transparent!important;border-radius:0!important;background:none!important;color:var(--tpv-juoda)!important;font-size:14px!important;font-weight:400!important;text-transform:none!important;line-height:1!important}
body.tpv-st nav.woocommerce-pagination .page-numbers.current{border-color:var(--tpv-juoda)!important}
body.tpv-st nav.woocommerce-pagination a.page-numbers:hover{border-color:var(--tpv-linija)!important}
body.tpv-st nav.woocommerce-pagination .page-numbers:is(.next,.prev):not(ul){font-size:0!important}
body.tpv-st nav.woocommerce-pagination .next::after{content:"Toliau →";font-size:14px}
body.tpv-st nav.woocommerce-pagination .prev::after{content:"← Atgal";font-size:14px}
body.tpv-st nav.woocommerce-pagination :is(.next,.prev)::before{display:none!important}
@media (max-width:700px){body.tpv-st .woncep-sorting .woocommerce-result-count{display:none}}

/* akcijos žyma - kaip pagrindinio puslapio kortelėse */
body.tpv-st .onsale{position:absolute!important;top:12px!important;left:12px!important;right:auto!important;z-index:2;background:#fff!important;color:var(--tpv-juoda)!important;font-size:11px!important;font-weight:400!important;letter-spacing:.08em!important;text-transform:none!important;padding:4px 10px!important;border-radius:0!important;min-width:0!important;min-height:0!important;line-height:1.5!important;margin:0!important}
body.tpv-st li.product .product-transition{position:relative}

/* ===== prekės puslapis (tpv-pdp; žymėjimą išveda prekes-puslapis.php) ===== */
body.tpv-pdp div.product{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0 clamp(24px,5vw,72px);align-items:start;margin-top:8px}
body.tpv-pdp div.product>*{grid-column:1/-1;min-width:0}
body.tpv-pdp div.product>.tpp-gal{grid-column:1;display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;will-change:transform}
body.tpv-pdp .tpp-gal-1{grid-template-columns:minmax(0,1fr)!important}
body.tpv-pdp .tpp-ths{display:flex;flex-direction:column;gap:10px;max-height:calc(100vh - 140px);overflow-y:auto;scrollbar-width:none}
body.tpv-pdp .tpp-ths::-webkit-scrollbar{display:none}
body.tpv-pdp .tpp-th{padding:0!important;margin:0!important;border:1px solid transparent!important;border-radius:0!important;background:var(--tpv-fonas)!important;cursor:pointer;min-height:0!important;line-height:0!important;flex:none;width:76px}
body.tpv-pdp .tpp-th.tpp-on{border-color:var(--tpv-juoda)!important}
body.tpv-pdp .tpp-th img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block}
body.tpv-pdp .tpp-did{position:relative;display:block;background:var(--tpv-fonas);cursor:zoom-in}
body.tpv-pdp .tpp-did img{display:block;width:100%;height:auto;max-height:calc(100vh - 140px);aspect-ratio:4/5;object-fit:contain}
body.tpv-pdp div.product>.summary{grid-column:2;width:auto!important;float:none!important;margin:0!important;padding:clamp(0px,3vw,48px) 0 0!important;max-width:520px;display:flex;flex-direction:column;gap:14px}
body.tpv-pdp .summary>*{margin:0!important}
body.tpv-pdp .summary .pwb-single-product-brands,body.tpv-pdp .summary .inventory_status,body.tpv-pdp .summary .woosw-btn{display:none!important}
body.tpv-pdp .tpp-zen{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--tpv-pilka)}
body.tpv-pdp .tpp-h{font-size:clamp(24px,2.2vw,28px)!important;font-weight:400!important;letter-spacing:-.01em!important;line-height:1.2!important}
body.tpv-pdp .woocommerce-product-details__short-description p{font-size:16px;line-height:1.5;color:var(--tpv-juoda);margin:0}
body.tpv-pdp .tpp-chips{font-size:14px;color:var(--tpv-pilka)}
body.tpv-pdp .tpp-kaina{font-size:16px;color:var(--tpv-juoda)}
body.tpv-pdp .tpp-nera{font-size:14px;color:var(--tpv-pilka);border:1px solid var(--tpv-linija);padding:14px 16px;text-align:center}
body.tpv-pdp .tpp-kaina del{color:var(--tpv-pilka);font-weight:300}
body.tpv-pdp .tpp-kaina ins{text-decoration:none;color:var(--tpv-terakota)}
body.tpv-pdp .summary form.variations_form{display:block!important;width:100%}
body.tpv-pdp .summary table.variations{margin:0!important;border:0!important;width:auto}
body.tpv-pdp .summary table.variations :is(tr,th,td){display:block;padding:0!important;border:0!important;text-align:left!important;background:none!important}
body.tpv-pdp .summary table.variations label{display:none}
body.tpv-pdp .summary .variable-items-wrapper{display:flex!important;flex-wrap:wrap;gap:8px;margin:0!important;padding:0!important}
body.tpv-pdp .summary .variable-items-wrapper .variable-item{border-radius:0!important;box-shadow:none!important;border:1px solid var(--tpv-linija)!important;padding:9px 16px!important;height:auto!important;width:auto!important;min-width:0!important;margin:0!important;background:#fff!important}
body.tpv-pdp .summary .variable-items-wrapper .variable-item.selected{border-color:var(--tpv-juoda)!important}
body.tpv-pdp .summary .variable-items-wrapper .variable-item.disabled{opacity:.45}
body.tpv-pdp .summary .variable-item span{font-size:14px!important;color:var(--tpv-juoda)}
body.tpv-pdp .summary .reset_variations{display:none!important}
body.tpv-pdp .summary .single_variation_wrap .woocommerce-variation-price,body.tpv-pdp .summary .woocommerce-variation-description:empty{display:none}
body.tpv-pdp .summary .stock{font-size:12px!important;color:var(--tpv-pilka)!important;margin:10px 0 0!important;font-weight:400!important}
body.tpv-pdp .summary :is(.woocommerce-variation-add-to-cart,form.cart:not(.variations_form)){display:grid!important;grid-template-columns:112px minmax(0,1fr);gap:10px;margin-top:12px!important;width:100%!important;float:none!important}
body.tpv-pdp .summary :is(.woocommerce-variation-add-to-cart,form.cart:not(.variations_form))::before,body.tpv-pdp .summary :is(.woocommerce-variation-add-to-cart,form.cart:not(.variations_form))::after{display:none!important}
body.tpv-pdp .summary .quantity{margin:0!important;width:auto!important;border:1px solid var(--tpv-juoda);height:50px;display:flex;align-items:center}
body.tpv-pdp .summary .quantity input.qty{border:0!important;background:none!important;height:48px!important;min-height:0!important;width:100%!important;text-align:center;font-size:14px!important;padding:0 8px!important;box-shadow:none!important}
body.tpv-pdp.tpv-st .summary .single_add_to_cart_button{height:50px!important;min-height:0!important;width:100%!important;margin:0!important;padding:0 12px!important;font-size:14px!important;background:#fff!important;color:var(--tpv-juoda)!important;border:1px solid var(--tpv-juoda)!important}
body.tpv-pdp.tpv-st .summary .single_add_to_cart_button:hover{background:var(--tpv-juoda)!important;color:#fff!important}
body.tpv-pdp .summary .single_add_to_cart_button::before,body.tpv-pdp .summary .single_add_to_cart_button i{display:none!important}
body.tpv-pdp .summary .single_add_to_cart_button.disabled{opacity:.5}
body.tpv-pdp .tpp-sm{font-size:13px;color:var(--tpv-pilka)}
body.tpv-pdp .tpp-sm a{color:var(--tpv-juoda);text-decoration:underline;text-underline-offset:4px}
body.tpv-pdp .tpp-acc{margin-top:14px!important}
body.tpv-pdp .tpp-acc details{border-top:1px solid var(--tpv-juoda)}
body.tpv-pdp .tpp-acc details:last-of-type{border-bottom:1px solid var(--tpv-juoda)}
body.tpv-pdp .tpp-acc summary{list-style:none;cursor:pointer;padding:20px 0;font-size:16px;font-weight:400;display:flex;justify-content:space-between;gap:16px;color:var(--tpv-juoda)}
body.tpv-pdp .tpp-acc summary::-webkit-details-marker{display:none}
body.tpv-pdp .tpp-acc summary::after{content:"+";flex:none}
body.tpv-pdp .tpp-acc details[open]>summary::after{content:"-"}
body.tpv-pdp .tpp-acc details>div{padding:0 0 22px;color:var(--tpv-pilka);font-size:15px;line-height:1.6}
body.tpv-pdp .tpp-acc details>div :is(p,ul,ol){margin:0 0 12px}
body.tpv-pdp .tpp-acc details>div :is(li,td,th,strong){color:var(--tpv-pilka);font-size:15px}
body.tpv-pdp .tpp-acc details>div :is(ul,ol){padding-left:20px}
body.tpv-pdp .tpp-acc table{border:0;margin:0;width:100%}
body.tpv-pdp .tpp-acc table :is(th,td){border:0;border-bottom:1px solid var(--tpv-linija);padding:10px 0;background:none;text-align:left;font-weight:400}
body.tpv-pdp .tpp-acc table th{width:40%;color:var(--tpv-juoda)}
body.tpv-pdp .tpp-acc table p{margin:0}
body.tpv-pdp .tpp-pt{display:grid;grid-template-columns:1.3fr 1fr;margin:clamp(56px,7vw,104px) calc(-1 * var(--tpv-k)) 0}
body.tpv-pdp .tpp-pt img{width:100%;height:100%;max-height:620px;object-fit:cover;display:block}
body.tpv-pdp .tpp-pt>div{display:flex;flex-direction:column;justify-content:center;gap:26px;padding:clamp(28px,5vw,72px)}
body.tpv-pdp .tpp-pt h3{font-size:20px;font-weight:400;margin:0 0 8px}
body.tpv-pdp .tpp-pt p{margin:0}
body.tpv-pdp .tpp-duk{max-width:980px;margin:clamp(56px,7vw,104px) auto 0;width:100%}
body.tpv-pdp .tpp-duk h2{text-align:center;margin:0 0 36px}
body.tpv-pdp :is(.related,.upsells){margin-bottom:clamp(56px,7vw,104px)}
body.tpv-pdp :is(.related,.upsells)>h2{text-align:center;margin:clamp(56px,7vw,104px) 0 36px!important;font-size:clamp(26px,3vw,36px)!important;font-weight:300!important}
body.tpv-pdp [class*="sticky-add-to-cart"],body.tpv-pdp [class*="sticky-atc"]{display:none!important}
/* nuotraukos padidinimas */
.tpp-lb{position:fixed;inset:0;z-index:100000;background:rgba(255,255,255,.97);display:grid;place-items:center;cursor:zoom-out;overflow:auto}
.tpp-lb img{max-width:min(100vw,1400px);max-height:none;width:auto;height:auto;display:block}
.tpp-lb.tpp-telpa img{max-height:100vh;max-width:100vw}
.tpp-lb button{position:fixed;top:16px;right:20px;width:44px;height:44px;border:1px solid var(--tpv-linija,#e3ddd4)!important;border-radius:50%!important;background:#fff!important;color:#04080B!important;font-size:22px!important;line-height:1!important;padding:0 0 3px!important;cursor:pointer}
@media (max-width:860px){
  body.tpv-pdp div.product{display:block}
  body.tpv-pdp div.product>.tpp-gal{transform:none!important;grid-template-columns:minmax(0,1fr)}
  body.tpv-pdp .tpp-ths{flex-direction:row;order:2;max-height:none;overflow-x:auto}
  body.tpv-pdp .tpp-th{width:64px}
  body.tpv-pdp .tpp-did img{max-height:none}
  body.tpv-pdp div.product>.summary{max-width:none;padding-top:24px!important}
  body.tpv-pdp .tpp-pt{grid-template-columns:1fr}
}
