/* =========================================================
   RYHA 3.1.36 – Single Product UX
   Tik vizualiniai / UX override'ai. Produkto DOM struktūra nekeičiama.
   ========================================================= */

/* 1) Kairė navigacija produkto puslapyje – siauresnė ir vizualiai antraeilė. */
@media (min-width:1200px){
  body.single-product .ryha-layout-grid{
    --ryha-product-edge:4vw;
    --ryha-product-nav-w:clamp(220px,18vw,300px);
    gap:clamp(18px,1.7vw,28px)!important;
  }
  body.single-product .ryha-layout-nav{
    opacity:.94;
  }
  body.single-product .ryha-layout-nav .ryha-pjk{
    box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
  }
}

/* 2) Galerija – neleidžiame labai aukštoms produkto nuotraukoms ištempti pirmo ekrano.
      Nenaudojame fiksuoto parent height, todėl FlexSlider / zoom struktūra lieka saugi. */
@media (min-width:922px){
  body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image > a{
    display:flex!important;
    align-items:center;
    justify-content:center;
    min-height:0!important;
  }
  body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:min(58vh,570px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    object-fit:contain!important;
  }
  body.single-product .woocommerce-product-gallery .flex-viewport{
    margin-bottom:14px!important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-thumbs{
    margin-top:8px!important;
  }
}

/* 3) „Prekės informacija“ – ta pati vieta, tik mažiau vertikalios erdvės. */
body.single-product .ryha-product-info-gallery-slot .ryha-product-info-card{
  border-radius:14px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
}
body.single-product .ryha-product-info-gallery-slot .ryha-product-info-head{
  padding:11px 13px!important;
  font-size:15px!important;
}
body.single-product .ryha-product-info-gallery-slot .ryha-product-info-body{
  gap:7px!important;
  padding:10px 12px 12px!important;
}
body.single-product .ryha-product-info-gallery-slot .ryha-info-row{
  min-height:34px;
  gap:8px!important;
}
body.single-product .ryha-product-info-gallery-slot .ryha-info-label{
  font-size:12px!important;
}
body.single-product .ryha-product-info-gallery-slot .ryha-info-value,
body.single-product .ryha-product-info-gallery-slot .ryha-copy-sku{
  padding:7px 10px!important;
  border-radius:10px!important;
  font-size:12.5px!important;
}

/* 4) Sticky pirkimo juosta – rodoma tik desktop'e ir tik JS nusprendus, kad originalus cart nuslinko. */
.ryha-sticky-buybar{
  display:none;
}
@media (min-width:992px){
  .ryha-sticky-buybar{
    position:fixed;
    left:50%;
    bottom:18px;
    z-index:99920;
    width:min(720px,calc(100vw - 80px));
    box-sizing:border-box;
    transform:translate(-50%,18px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    display:flex;
    align-items:center;
    gap:18px;
    padding:11px 12px 11px 16px;
    border:1px solid #cfe7d3;
    border-radius:18px;
    background:rgba(255,255,255,.96);
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
    box-shadow:0 18px 46px rgba(15,23,42,.18);
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
  }
  .ryha-sticky-buybar.is-visible{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
    pointer-events:auto;
  }
  .ryha-sticky-buybar__copy{
    min-width:0;
    flex:1;
    display:flex;
    align-items:center;
    gap:16px;
  }
  .ryha-sticky-buybar__title{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#173c22;
    font-weight:800;
    font-size:14px;
  }
  .ryha-sticky-buybar__price,
  .ryha-sticky-buybar__price .woocommerce-Price-amount,
  .ryha-sticky-buybar__price bdi{
    flex:0 0 auto;
    color:#008000!important;
    font-size:18px!important;
    line-height:1.1!important;
    font-weight:850!important;
  }
  .ryha-sticky-buybar__price del{
    opacity:.5;
    margin-right:5px;
  }
  .ryha-sticky-buybar__price ins{
    text-decoration:none;
  }
  .ryha-sticky-buybar__button{
    flex:0 0 auto;
    min-width:170px;
    margin:0!important;
    border:0!important;
    border-radius:12px!important;
    padding:11px 18px!important;
    background:#4dbb35!important;
    color:#081508!important;
    font-size:13px!important;
    line-height:1.1!important;
    font-weight:850!important;
    letter-spacing:.02em;
    box-shadow:none!important;
  }
  .ryha-sticky-buybar__button:hover,
  .ryha-sticky-buybar__button:focus-visible{
    filter:brightness(.97);
  }
}

/* Mažesni laptopai – neužgožiame turinio. */
@media (min-width:992px) and (max-width:1180px){
  .ryha-sticky-buybar{
    width:min(650px,calc(100vw - 48px));
  }
  .ryha-sticky-buybar__title{
    max-width:320px;
  }
}


/* 3.1.36 – sticky juosta niekada nekonkuruoja su mūsų Side Cart. */
body.ryha-sidecart-open .ryha-sticky-buybar{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* =========================================================
   3.1.39 – sticky buybar stabilumas
   ========================================================= */
@media (min-width:992px){
  body.single-product.ryha-sticky-buybar-active{
    padding-bottom:88px!important;
  }
  .ryha-sticky-buybar{
    bottom:max(16px,env(safe-area-inset-bottom))!important;
    z-index:100180!important;
  }
}
body.ryha-sidecart-open.ryha-sticky-buybar-active{
  padding-bottom:0!important;
}

/* =========================================================
   RYHA 3.1.39 – galutinis sticky buybar proporcijų šlifavimas
   ========================================================= */
@media (min-width:992px){
  body.single-product.ryha-sticky-buybar-active{
    /* Kad paskutinė turinio dalis galėtų praslinkti virš fiksuotos juostos. */
    padding-bottom:80px!important;
  }
  .ryha-sticky-buybar{
    width:min(690px,calc(100vw - 80px))!important;
    min-height:48px!important;
    height:48px!important;
    bottom:max(16px,env(safe-area-inset-bottom))!important;
    gap:14px!important;
    padding:6px 8px 6px 14px!important;
    border-radius:15px!important;
    box-shadow:0 14px 34px rgba(15,23,42,.15)!important;
  }
  .ryha-sticky-buybar__copy{
    gap:13px!important;
  }
  .ryha-sticky-buybar__title{
    font-size:13px!important;
    line-height:1.1!important;
  }
  .ryha-sticky-buybar__price,
  .ryha-sticky-buybar__price .woocommerce-Price-amount,
  .ryha-sticky-buybar__price bdi{
    font-size:17px!important;
    line-height:1!important;
  }
  .ryha-sticky-buybar__button{
    min-width:150px!important;
    min-height:36px!important;
    height:36px!important;
    padding:8px 15px!important;
    border-radius:10px!important;
    font-size:12.5px!important;
    line-height:1!important;
  }
}
@media (min-width:992px) and (max-width:1180px){
  .ryha-sticky-buybar{
    width:min(620px,calc(100vw - 48px))!important;
  }
  .ryha-sticky-buybar__title{
    max-width:290px!important;
  }
}

/* =========================================================
   RYHA 3.1.47 – Single product add-to-cart modernizavimas
   Tik vizualinis CTA ir kiekio valdiklio atnaujinimas.
   ========================================================= */
body.single-product div.product .summary form.cart{
  display:flex;
  align-items:stretch;
  flex-wrap:wrap;
  gap:12px!important;
}
body.single-product div.product .summary form.cart .quantity{
  display:grid!important;
  grid-template-columns:44px minmax(52px,64px) 44px!important;
  grid-template-rows:48px!important;
  align-items:center!important;
  justify-items:center!important;
  min-width:140px!important;
  min-height:48px!important;
  margin:0!important;
  border:1px solid #d5e7d7!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(15,23,42,.06)!important;
}
body.single-product div.product .summary form.cart .quantity :is(.minus,.plus,button.minus,button.plus,input.minus,input.plus){
  appearance:none!important;
  -webkit-appearance:none!important;
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  min-width:44px!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#f4faf5!important;
  color:#1e6b30!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:700!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
body.single-product div.product .summary form.cart .quantity :is(.minus,.plus,button.minus,button.plus,input.minus,input.plus):hover{
  background:#eaf5ec!important;
  color:#145124!important;
}
body.single-product div.product .summary form.cart .quantity :is(.minus,.plus,button.minus,button.plus,input.minus,input.plus):active{
  transform:scale(.97);
}
body.single-product div.product .summary form.cart .quantity :is(.minus,button.minus,input.minus){
  border-right:1px solid #e3eee5!important;
}
body.single-product div.product .summary form.cart .quantity :is(.plus,button.plus,input.plus){
  border-left:1px solid #e3eee5!important;
}
body.single-product div.product .summary form.cart .quantity input.qty{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 8px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#173c22!important;
  text-align:center!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:800!important;
  box-shadow:none!important;
  -moz-appearance:textfield!important;
}
body.single-product div.product .summary form.cart .quantity input.qty::-webkit-outer-spin-button,
body.single-product div.product .summary form.cart .quantity input.qty::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
body.single-product div.product .summary form.cart .single_add_to_cart_button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  height:48px!important;
  padding:0 24px!important;
  margin:0!important;
  border:1px solid #49b532!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#56c93d 0%,#49b532 100%)!important;
  color:#0d2413!important;
  font-size:13.5px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.02em!important;
  box-shadow:0 12px 26px rgba(77,187,53,.22)!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,background .18s ease;
}
body.single-product div.product .summary form.cart .single_add_to_cart_button:hover,
body.single-product div.product .summary form.cart .single_add_to_cart_button:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 16px 30px rgba(77,187,53,.28)!important;
  filter:saturate(1.02) brightness(.99);
}
body.single-product div.product .summary form.cart .single_add_to_cart_button:active{
  transform:translateY(0);
  box-shadow:0 8px 18px rgba(77,187,53,.2)!important;
}
body.single-product div.product .summary form.cart .single_add_to_cart_button.disabled,
body.single-product div.product .summary form.cart .single_add_to_cart_button:disabled,
body.single-product div.product .summary form.cart .single_add_to_cart_button[disabled]{
  opacity:.65!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
}
@media (min-width:768px){
  body.single-product div.product .summary form.cart .single_add_to_cart_button{
    min-width:280px!important;
  }
}
@media (max-width:921px){
  body.single-product div.product .summary form.cart{
    gap:10px!important;
  }
  body.single-product div.product .summary form.cart .quantity{
    min-width:128px!important;
    grid-template-columns:40px minmax(48px,56px) 40px!important;
    min-height:46px!important;
    grid-template-rows:46px!important;
    border-radius:15px!important;
  }
  body.single-product div.product .summary form.cart .quantity :is(.minus,.plus,button.minus,button.plus,input.minus,input.plus),
  body.single-product div.product .summary form.cart .quantity input.qty,
  body.single-product div.product .summary form.cart .single_add_to_cart_button{
    min-height:46px!important;
    height:46px!important;
  }
  body.single-product div.product .summary form.cart .quantity :is(.minus,.plus,button.minus,button.plus,input.minus,input.plus){
    width:40px!important;
    min-width:40px!important;
    font-size:20px!important;
  }
  body.single-product div.product .summary form.cart .single_add_to_cart_button{
    flex:1 1 220px!important;
    min-width:unset!important;
    padding:0 18px!important;
    border-radius:15px!important;
  }
}
@media (max-width:520px){
  body.single-product div.product .summary form.cart{
    align-items:stretch!important;
  }
  body.single-product div.product .summary form.cart .quantity{
    flex:0 0 122px!important;
    min-width:122px!important;
  }
  body.single-product div.product .summary form.cart .single_add_to_cart_button{
    flex:1 1 calc(100% - 132px)!important;
    font-size:13px!important;
  }
}

/* =========================================================
   RYHA 3.1.50 – produkto pirkimo valdiklio užbaigimas + ETA bloko refresh
   - tikras − / kiekis / + valdiklis;
   - paslepiamas Woo „Krepšelis“ linkas, kuris atsiranda po AJAX add-to-cart;
   - subtiliau modernizuojama išankstinio užsakymo informacija.
   ========================================================= */

/* Woo po AJAX gali įterpti „Krepšelis“ / View cart nuorodą šalia CTA – Side Cart ją dubliuoja. */
body.single-product .summary a.added_to_cart.wc-forward,
body.single-product .summary a.added_to_cart,
body.single-product form.cart + a.added_to_cart,
body.single-product form.cart a.added_to_cart{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Mūsų valdomas qty blokas. */
body.single-product div.product .summary form.cart .quantity.ryha-product-qty{
  display:grid!important;
  grid-template-columns:44px minmax(54px,64px) 44px!important;
  grid-template-rows:48px!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  min-width:142px!important;
  width:142px!important;
  height:48px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d5e7d7!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 8px 20px rgba(15,23,42,.055)!important;
}
body.single-product div.product .summary form.cart .quantity.ryha-product-qty > :is(.plus,.minus,button.plus,button.minus,input.plus,input.minus):not(.ryha-product-qty__btn){
  display:none!important;
}
body.single-product div.product .summary form.cart .quantity.ryha-product-qty .ryha-product-qty__btn{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  min-width:44px!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#f4faf5!important;
  color:#236d34!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:600!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:background-color .16s ease,color .16s ease,transform .12s ease!important;
}
body.single-product div.product .summary form.cart .quantity.ryha-product-qty .ryha-product-qty__btn--minus{
  grid-column:1!important;
  border-right:1px solid #e3eee5!important;
}
body.single-product div.product .summary form.cart .quantity.ryha-product-qty input.qty{
  grid-column:2!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 5px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#173c22!important;
  text-align:center!important;
  font-size:15px!important;
  line-height:48px!important;
  font-weight:800!important;
  box-shadow:none!important;
  outline:0!important;
  -moz-appearance:textfield!important;
}
body.single-product div.product .summary form.cart .quantity.ryha-product-qty .ryha-product-qty__btn--plus{
  grid-column:3!important;
  border-left:1px solid #e3eee5!important;
}
body.single-product div.product .summary form.cart .quantity.ryha-product-qty .ryha-product-qty__btn:hover,
body.single-product div.product .summary form.cart .quantity.ryha-product-qty .ryha-product-qty__btn:focus-visible{
  background:#eaf5ec!important;
  color:#145124!important;
}
body.single-product div.product .summary form.cart .quantity.ryha-product-qty .ryha-product-qty__btn:active{
  transform:scale(.96)!important;
}
body.single-product div.product .summary form.cart .quantity.ryha-product-qty .ryha-product-qty__btn:disabled{
  opacity:.36!important;
  cursor:not-allowed!important;
}
body.single-product div.product .summary form.cart .quantity.ryha-product-qty input.qty::-webkit-outer-spin-button,
body.single-product div.product .summary form.cart .quantity.ryha-product-qty input.qty::-webkit-inner-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
}

/* CTA paliekamas ryškus, bet poruojamas su qty bloku. */
body.single-product div.product .summary form.cart .single_add_to_cart_button{
  min-height:48px!important;
  height:48px!important;
  border-radius:16px!important;
}


/* Užsakomos prekės / ETA kortelė – modernesnė, švaresnė, be emoji jausmo. */
body.single-product .summary .ryha-orderable-notice{
  border:1px solid #dfeade!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fbfdfb 0%,#f6faf6 100%)!important;
  box-shadow:0 8px 18px rgba(33,73,41,.045)!important;
  padding:0!important;
  overflow:hidden!important;
}
body.single-product .summary .ryha-orderable-notice .ryha-orderable-notice__inner{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 14px!important;
}
body.single-product .summary .ryha-orderable-notice .ryha-orderable-notice__icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#edf7ef!important;
  color:#2a8b41!important;
  border:1px solid #d7eadc!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55)!important;
}
body.single-product .summary .ryha-orderable-notice .ryha-orderable-notice__icon svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
}
body.single-product .summary .ryha-orderable-notice .ryha-orderable-notice__content{
  min-width:0!important;
}
body.single-product .summary .ryha-orderable-notice .ryha-orderable-notice__title{
  color:#233829!important;
  font-weight:800!important;
  font-size:14px!important;
  line-height:1.2!important;
  margin:0 0 3px!important;
}
body.single-product .summary .ryha-orderable-notice .ryha-orderable-notice__subtitle{
  color:#6c7e72!important;
  font-size:12px!important;
  line-height:1.35!important;
  margin:0!important;
}
body.single-product .summary .ryha-orderable-notice .ryha-orderable-notice__eta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  padding:0 11px!important;
  border:1px solid #d7e8da!important;
  border-radius:999px!important;
  background:#ffffff!important;
  color:#2f7c3f!important;
  font-size:11.5px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:0 2px 6px rgba(26,73,40,.03)!important;
}
@media (max-width:640px){
  body.single-product .summary .ryha-orderable-notice .ryha-orderable-notice__inner{
    grid-template-columns:auto 1fr!important;
    gap:10px!important;
  }
  body.single-product .summary .ryha-orderable-notice .ryha-orderable-notice__eta{
    grid-column:2!important;
    justify-self:start!important;
    margin-top:2px!important;
  }
}

@media (max-width:921px){
  body.single-product div.product .summary form.cart .quantity.ryha-product-qty{
    grid-template-columns:40px minmax(48px,56px) 40px!important;
    width:136px!important;
    min-width:136px!important;
    height:46px!important;
    grid-template-rows:46px!important;
    border-radius:15px!important;
  }
  body.single-product div.product .summary form.cart .quantity.ryha-product-qty .ryha-product-qty__btn{
    width:40px!important;
    min-width:40px!important;
    height:46px!important;
    min-height:46px!important;
    font-size:20px!important;
  }
  body.single-product div.product .summary form.cart .quantity.ryha-product-qty input.qty,
  body.single-product div.product .summary form.cart .single_add_to_cart_button{
    height:46px!important;
    min-height:46px!important;
  }
}


/* =========================================================
   RYHA 3.1.51 – užsakomos prekės ETA: vienas švarus, plokščias blokas
   ========================================================= */
body.single-product .summary .ryha-orderable-original-hidden{
  display:none!important;
  visibility:hidden!important;
  margin:0!important;
  padding:0!important;
  height:0!important;
  min-height:0!important;
  overflow:hidden!important;
}

body.single-product .summary .ryha-orderable-v2{
  box-sizing:border-box!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  gap:11px!important;
  margin:10px 0 12px!important;
  padding:9px 11px!important;
  min-height:54px!important;
  border:1px solid #dce9df!important;
  border-radius:14px!important;
  background:#f8fbf8!important;
  box-shadow:0 5px 14px rgba(22,61,32,.035)!important;
}

body.single-product .summary .ryha-orderable-v2__icon{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  background:#edf7ef!important;
  color:#2f8d43!important;
  border:1px solid #d8eadc!important;
}

body.single-product .summary .ryha-orderable-v2__icon svg{
  display:block!important;
  width:19px!important;
  height:19px!important;
}

body.single-product .summary .ryha-orderable-v2__copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}

body.single-product .summary .ryha-orderable-v2__copy strong{
  margin:0!important;
  color:#263a2b!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
}

body.single-product .summary .ryha-orderable-v2__copy span{
  margin:0!important;
  color:#708078!important;
  font-size:11.5px!important;
  line-height:1.3!important;
  font-weight:500!important;
}

body.single-product .summary .ryha-orderable-v2__eta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:0 10px!important;
  border:1px solid #d8e8db!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#347b43!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

@media (max-width:520px){
  body.single-product .summary .ryha-orderable-v2{
    grid-template-columns:32px minmax(0,1fr) auto!important;
    gap:9px!important;
    padding:9px 10px!important;
    min-height:52px!important;
  }
  body.single-product .summary .ryha-orderable-v2__icon{
    width:32px!important;
    height:32px!important;
  }
  body.single-product .summary .ryha-orderable-v2__copy strong{
    font-size:12.5px!important;
  }
  body.single-product .summary .ryha-orderable-v2__copy span{
    font-size:10.8px!important;
  }
  body.single-product .summary .ryha-orderable-v2__eta{
    min-height:26px!important;
    padding:0 8px!important;
    font-size:10.5px!important;
  }
}


/* =========================================================
   RYHA 3.1.53 – vieninga produkto prieinamumo būsenų sistema
   Žalia = mūsų sandėlyje, gelsva = užsakoma / išankstinis, raudona = šios prekės neturime.
   ========================================================= */
body.single-product .summary .ryha-availability-source-hidden{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
body.single-product .summary .ryha-availability-status{
  box-sizing:border-box!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  align-items:center!important;
  gap:11px!important;
  margin:10px 0 12px!important;
  padding:9px 10px!important;
  min-height:56px!important;
  border-radius:15px!important;
  box-shadow:0 7px 18px rgba(23,53,30,.04)!important;
}
body.single-product .summary .ryha-availability-status__icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:11px!important;
}
body.single-product .summary .ryha-availability-status__icon svg{
  width:19px!important;
  height:19px!important;
  display:block!important;
}
body.single-product .summary .ryha-availability-status__copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}
body.single-product .summary .ryha-availability-status__copy strong{
  margin:0!important;
  font-size:13px!important;
  line-height:1.22!important;
  font-weight:850!important;
}
body.single-product .summary .ryha-availability-status__copy span{
  margin:0!important;
  font-size:11.5px!important;
  line-height:1.3!important;
  font-weight:500!important;
}
body.single-product .summary .ryha-availability-status__badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  font-size:10.8px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

/* TURIME – žalias. */
body.single-product .summary .ryha-availability-status--instock{
  border:1px solid #cfe5d3!important;
  background:linear-gradient(180deg,#f8fdf9 0%,#f1f9f3 100%)!important;
}
body.single-product .summary .ryha-availability-status--instock .ryha-availability-status__icon{
  background:#e9f6ec!important;
  border:1px solid #d1e8d6!important;
  color:#27913d!important;
}
body.single-product .summary .ryha-availability-status--instock .ryha-availability-status__copy strong{
  color:#245c31!important;
}
body.single-product .summary .ryha-availability-status--instock .ryha-availability-status__copy span{
  color:#667b6c!important;
}
body.single-product .summary .ryha-availability-status--instock .ryha-availability-status__badge{
  border:1px solid #cce4d1!important;
  background:#fff!important;
  color:#2b7c3a!important;
}

/* IŠANKSTINIS / UŽSAKOMA – gelsvas mini perspėjimas. */
body.single-product .summary .ryha-availability-status--preorder{
  border:1px solid #f0cf8d!important;
  background:linear-gradient(180deg,#fffdf8 0%,#fff8e9 100%)!important;
  box-shadow:0 7px 18px rgba(151,99,14,.055)!important;
}
body.single-product .summary .ryha-availability-status--preorder .ryha-availability-status__icon{
  background:#fff3d5!important;
  border:1px solid #efd49d!important;
  color:#b87500!important;
}
body.single-product .summary .ryha-availability-status--preorder .ryha-availability-status__copy strong{
  color:#5f481d!important;
}
body.single-product .summary .ryha-availability-status--preorder .ryha-availability-status__copy span{
  color:#7e704f!important;
}
body.single-product .summary .ryha-availability-status--preorder .ryha-availability-status__badge{
  border:1px solid #edce8b!important;
  background:#fffaf0!important;
  color:#986100!important;
}
body.single-product .summary .ryha-availability-status--kramp-date .ryha-availability-status__copy span{
  font-weight:650!important;
}

@media (max-width:640px){
  body.single-product .summary .ryha-availability-status{
    grid-template-columns:34px minmax(0,1fr) auto!important;
    gap:9px!important;
    min-height:54px!important;
    padding:9px!important;
    border-radius:14px!important;
  }
  body.single-product .summary .ryha-availability-status__icon{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
  }
  body.single-product .summary .ryha-availability-status__copy strong{
    font-size:12.5px!important;
  }
  body.single-product .summary .ryha-availability-status__copy span{
    font-size:10.7px!important;
  }
  body.single-product .summary .ryha-availability-status__badge{
    min-height:26px!important;
    padding:0 8px!important;
    font-size:10px!important;
  }
}
@media (max-width:430px){
  body.single-product .summary .ryha-availability-status{
    grid-template-columns:32px minmax(0,1fr)!important;
  }
  body.single-product .summary .ryha-availability-status__badge{
    grid-column:2!important;
    justify-self:start!important;
    margin-top:2px!important;
  }
}


/* 3.1.53 – statusų dešinės pusės badge'ai pašalinami visuose variantuose. */
body.single-product .summary .ryha-availability-status__badge{
  display:none!important;
}
body.single-product .summary .ryha-availability-status{
  grid-template-columns:38px minmax(0,1fr)!important;
}

/* NETURIME – raudonas, aiškus faktinis statusas (ypač naudotoms / vienetinėms dalims). */
body.single-product .summary .ryha-availability-status--outofstock{
  border:1px solid #efc9c9!important;
  background:linear-gradient(180deg,#fffafa 0%,#fff3f3 100%)!important;
  box-shadow:0 7px 18px rgba(142,35,35,.045)!important;
}
body.single-product .summary .ryha-availability-status--outofstock .ryha-availability-status__icon{
  background:#fff0f0!important;
  border:1px solid #efcaca!important;
  color:#bf3d3d!important;
}
body.single-product .summary .ryha-availability-status--outofstock .ryha-availability-status__copy strong{
  color:#7d2929!important;
}
body.single-product .summary .ryha-availability-status--outofstock .ryha-availability-status__copy span{
  color:#8a6464!important;
}
@media (max-width:640px){
  body.single-product .summary .ryha-availability-status{
    grid-template-columns:34px minmax(0,1fr)!important;
  }
}
@media (max-width:430px){
  body.single-product .summary .ryha-availability-status{
    grid-template-columns:32px minmax(0,1fr)!important;
  }
}


/* =========================================================
   RYHA 3.1.56 – produkto pavadinimas + kaina
   Savarankiškas summary vizualas, nepriklausantis nuo Astra Pro.
   ========================================================= */
body.single-product div.product .summary .product_title,
body.single-product div.product .summary .product_title.entry-title{
  position:relative!important;
  max-width:760px!important;
  margin:0 0 15px!important;
  padding:0 0 0 17px!important;
  border:0!important;
  color:#1b2d20!important;
  font-size:clamp(28px,2.05vw,36px)!important;
  line-height:1.12!important;
  font-weight:760!important;
  letter-spacing:-.028em!important;
  text-wrap:balance;
}
body.single-product div.product .summary .product_title::before,
body.single-product div.product .summary .product_title.entry-title::before{
  content:"";
  position:absolute;
  left:0;
  top:.12em;
  bottom:.12em;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,#56c93d 0%,#2d963d 100%);
  box-shadow:0 0 0 1px rgba(60,176,67,.05);
}

/* Price capsule: aiški, bet neagresyvi. */
body.single-product div.product .summary p.price,
body.single-product div.product .summary .price:not(.ryha-sticky-buybar__price){
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 0 16px!important;
  padding:9px 13px 10px!important;
  border:1px solid #d7e8da!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fbfefb 0%,#f3f9f4 100%)!important;
  color:#1d7c31!important;
  box-shadow:0 8px 20px rgba(27,73,37,.055)!important;
  line-height:1!important;
}
body.single-product div.product .summary p.price > .woocommerce-Price-amount,
body.single-product div.product .summary p.price > .amount,
body.single-product div.product .summary p.price > ins,
body.single-product div.product .summary p.price > ins .woocommerce-Price-amount,
body.single-product div.product .summary .price:not(.ryha-sticky-buybar__price) > .woocommerce-Price-amount,
body.single-product div.product .summary .price:not(.ryha-sticky-buybar__price) > .amount{
  color:#147b2a!important;
  font-size:clamp(24px,1.7vw,30px)!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:-.025em!important;
  text-decoration:none!important;
}
body.single-product div.product .summary p.price ins{
  color:#147b2a!important;
  text-decoration:none!important;
  background:transparent!important;
}
body.single-product div.product .summary p.price del,
body.single-product div.product .summary p.price del .woocommerce-Price-amount{
  color:#87928a!important;
  font-size:15px!important;
  font-weight:650!important;
  opacity:.82!important;
  text-decoration-thickness:1.5px!important;
}
body.single-product div.product .summary p.price .woocommerce-price-suffix,
body.single-product div.product .summary p.price small,
body.single-product div.product .summary p.price .tax_label{
  color:#708078!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:650!important;
  letter-spacing:0!important;
}

/* Kaina neturi paveldėti Woo/Astra milžiniškų margin/paddingų. */
body.single-product div.product .summary .product_title + p.price{
  margin-top:0!important;
}

@media (max-width:921px){
  body.single-product div.product .summary .product_title,
  body.single-product div.product .summary .product_title.entry-title{
    margin-bottom:12px!important;
    padding-left:14px!important;
    font-size:clamp(25px,6.4vw,31px)!important;
    line-height:1.14!important;
    letter-spacing:-.024em!important;
  }
  body.single-product div.product .summary .product_title::before,
  body.single-product div.product .summary .product_title.entry-title::before{
    width:3px;
  }
  body.single-product div.product .summary p.price,
  body.single-product div.product .summary .price:not(.ryha-sticky-buybar__price){
    margin-bottom:14px!important;
    padding:8px 11px 9px!important;
    border-radius:13px!important;
  }
  body.single-product div.product .summary p.price > .woocommerce-Price-amount,
  body.single-product div.product .summary p.price > .amount,
  body.single-product div.product .summary p.price > ins,
  body.single-product div.product .summary p.price > ins .woocommerce-Price-amount,
  body.single-product div.product .summary .price:not(.ryha-sticky-buybar__price) > .woocommerce-Price-amount,
  body.single-product div.product .summary .price:not(.ryha-sticky-buybar__price) > .amount{
    font-size:24px!important;
  }
}


/* =========================================================
   RYHA 3.1.57 – title + clean VAT price row
   Kaina be kapsulės; mažas „su PVM“ prierašas.
   ========================================================= */
body.single-product div.product .summary .product_title,
body.single-product div.product .summary .product_title.entry-title{
  margin-bottom:14px!important;
  padding-left:14px!important;
  font-size:clamp(26px,1.82vw,33px)!important;
  line-height:1.13!important;
  font-weight:720!important;
  letter-spacing:-.024em!important;
}
body.single-product div.product .summary .product_title::before,
body.single-product div.product .summary .product_title.entry-title::before{
  top:.18em!important;
  bottom:.18em!important;
  width:3px!important;
}

body.single-product div.product .summary p.price{
  display:inline-flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#147b2a!important;
  line-height:1!important;
}
body.single-product div.product .summary p.price > .woocommerce-Price-amount,
body.single-product div.product .summary p.price > .amount,
body.single-product div.product .summary p.price > ins,
body.single-product div.product .summary p.price > ins .woocommerce-Price-amount{
  color:#147b2a!important;
  font-size:clamp(26px,1.75vw,30px)!important;
  line-height:1!important;
  font-weight:820!important;
  letter-spacing:-.025em!important;
  text-decoration:none!important;
}
body.single-product div.product .summary p.price ins{
  background:transparent!important;
  text-decoration:none!important;
}
body.single-product div.product .summary p.price del,
body.single-product div.product .summary p.price del .woocommerce-Price-amount{
  color:#8a948d!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:650!important;
  opacity:.82!important;
}

/* Native Woo tax suffix slepiamas, kad visada turėtume vieną tvarkingą prierašą. */
body.single-product div.product .summary p.price .woocommerce-price-suffix,
body.single-product div.product .summary p.price .tax_label,
body.single-product div.product .summary p.price > small{
  display:none!important;
}
body.single-product div.product .summary p.price::after{
  content:"su PVM";
  display:inline-block;
  align-self:baseline;
  margin-left:1px;
  color:#728079;
  font-size:12px;
  line-height:1;
  font-weight:650;
  letter-spacing:0;
  white-space:nowrap;
}

@media (max-width:921px){
  body.single-product div.product .summary .product_title,
  body.single-product div.product .summary .product_title.entry-title{
    padding-left:12px!important;
    font-size:clamp(24px,6vw,29px)!important;
    line-height:1.14!important;
    font-weight:720!important;
  }
  body.single-product div.product .summary p.price{
    margin-bottom:16px!important;
    gap:6px!important;
  }
  body.single-product div.product .summary p.price > .woocommerce-Price-amount,
  body.single-product div.product .summary p.price > .amount,
  body.single-product div.product .summary p.price > ins,
  body.single-product div.product .summary p.price > ins .woocommerce-Price-amount{
    font-size:25px!important;
  }
  body.single-product div.product .summary p.price::after{
    font-size:11.5px!important;
  }
}


/* =========================================================
   RYHA 3.1.58 – desktop vienos eilutės pirkimo zona
   Kaina + kiekis + CTA vienoje eilutėje didesniuose ekranuose.
   Mobile / mažesni desktop'ai paliekami saugiam stacked variantui.
   ========================================================= */
@media (min-width:1200px){
  body.single-product div.product .summary{
    display:grid!important;
    grid-template-columns:minmax(132px,max-content) minmax(142px,max-content) minmax(210px,1fr)!important;
    column-gap:12px!important;
    row-gap:14px!important;
    align-items:start!important;
  }

  body.single-product div.product .summary > .product_title,
  body.single-product div.product .summary > .product_title.entry-title{
    grid-column:1 / -1!important;
    grid-row:1!important;
    margin:0 0 4px!important;
  }

  body.single-product div.product .summary > p.price{
    grid-column:1!important;
    grid-row:2!important;
    align-self:center!important;
    justify-self:start!important;
    margin:0!important;
    white-space:nowrap!important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form){
    grid-column:2 / 4!important;
    grid-row:2!important;
    display:grid!important;
    grid-template-columns:max-content minmax(210px,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    margin:0!important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form) .quantity,
  body.single-product div.product .summary > form.cart:not(.variations_form) .quantity.ryha-product-qty{
    width:142px!important;
    min-width:142px!important;
    margin:0!important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form) .single_add_to_cart_button{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form) ~ *{
    grid-column:1 / -1!important;
  }
}

@media (min-width:1200px) and (max-width:1330px){
  body.single-product div.product .summary{
    grid-template-columns:minmax(124px,max-content) minmax(136px,max-content) minmax(190px,1fr)!important;
    column-gap:10px!important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form){
    grid-template-columns:max-content minmax(190px,1fr)!important;
    gap:10px!important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form) .quantity,
  body.single-product div.product .summary > form.cart:not(.variations_form) .quantity.ryha-product-qty{
    width:136px!important;
    min-width:136px!important;
  }

  body.single-product div.product .summary p.price > .woocommerce-Price-amount,
  body.single-product div.product .summary p.price > .amount,
  body.single-product div.product .summary p.price > ins,
  body.single-product div.product .summary p.price > ins .woocommerce-Price-amount{
    font-size:clamp(24px,1.55vw,28px)!important;
  }
}


/* =========================================================
   RYHA 3.1.59 – grąžintas stacked pirkimo vaizdas
   Pavadinimas + kaina atskirai, po jais viena kokybiška qty + CTA eilutė.
   ========================================================= */
@media (min-width:1200px){
  body.single-product div.product .summary{
    display:block !important;
  }

  body.single-product div.product .summary > .product_title,
  body.single-product div.product .summary > .product_title.entry-title{
    margin:0 0 14px !important;
  }

  body.single-product div.product .summary > p.price{
    display:inline-flex !important;
    margin:0 0 18px !important;
    white-space:normal !important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form){
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:12px !important;
    margin:0 0 14px !important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form) .quantity,
  body.single-product div.product .summary > form.cart:not(.variations_form) .quantity.ryha-product-qty{
    width:142px !important;
    min-width:142px !important;
    margin:0 !important;
    flex:0 0 142px !important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form) .single_add_to_cart_button{
    width:auto !important;
    min-width:220px !important;
    margin:0 !important;
    flex:1 1 220px !important;
  }
}

@media (min-width:1200px) and (max-width:1330px){
  body.single-product div.product .summary > form.cart:not(.variations_form) .quantity,
  body.single-product div.product .summary > form.cart:not(.variations_form) .quantity.ryha-product-qty{
    width:136px !important;
    min-width:136px !important;
    flex-basis:136px !important;
  }

  body.single-product div.product .summary > form.cart:not(.variations_form) .single_add_to_cart_button{
    min-width:200px !important;
    flex-basis:200px !important;
  }
}


/* =========================================================
   RYHA 3.1.62 – galutinė desktop pirkimo eilutė
   Realus wrapperis: KAINA | − 1 + | Į KREPŠELĮ
   ========================================================= */
body.single-product div.product .summary{
  display:block !important;
}

body.single-product div.product .summary > .ryha-purchase-row{
  box-sizing:border-box !important;
  width:100% !important;
  margin:0 0 14px !important;
}

/* Kainą galutinai darome tekstinę – be kapsulės / fono / borderio. */
body.single-product div.product .summary > .ryha-purchase-row > p.price{
  display:inline-flex !important;
  align-items:baseline !important;
  gap:7px !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  white-space:nowrap !important;
}
body.single-product div.product .summary > .ryha-purchase-row > p.price::after{
  content:'su PVM' !important;
  display:inline-block !important;
  margin-left:1px !important;
  color:#728079 !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:650 !important;
  white-space:nowrap !important;
}
body.single-product div.product .summary > .ryha-purchase-row > p.price .woocommerce-price-suffix,
body.single-product div.product .summary > .ryha-purchase-row > p.price .tax_label,
body.single-product div.product .summary > .ryha-purchase-row > p.price > small{
  display:none !important;
}

@media (min-width:1100px){
  body.single-product div.product .summary > .ryha-purchase-row{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
  }

  body.single-product div.product .summary > .ryha-purchase-row > p.price{
    flex:0 0 auto !important;
  }

  body.single-product div.product .summary > .ryha-purchase-row > form.cart:not(.variations_form){
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:12px !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    margin:0 !important;
  }

  body.single-product div.product .summary > .ryha-purchase-row > form.cart:not(.variations_form) .quantity,
  body.single-product div.product .summary > .ryha-purchase-row > form.cart:not(.variations_form) .quantity.ryha-product-qty{
    flex:0 0 136px !important;
    width:136px !important;
    min-width:136px !important;
    max-width:136px !important;
    margin:0 !important;
  }

  body.single-product div.product .summary > .ryha-purchase-row > form.cart:not(.variations_form) .single_add_to_cart_button{
    flex:1 1 auto !important;
    width:auto !important;
    min-width:190px !important;
    max-width:none !important;
    margin:0 !important;
  }
}

@media (max-width:1099px){
  body.single-product div.product .summary > .ryha-purchase-row{
    display:block !important;
  }
  body.single-product div.product .summary > .ryha-purchase-row > p.price{
    margin-bottom:14px !important;
  }
  body.single-product div.product .summary > .ryha-purchase-row > form.cart:not(.variations_form){
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
    margin:0 !important;
  }
  body.single-product div.product .summary > .ryha-purchase-row > form.cart:not(.variations_form) .quantity.ryha-product-qty{
    flex:0 0 128px !important;
  }
  body.single-product div.product .summary > .ryha-purchase-row > form.cart:not(.variations_form) .single_add_to_cart_button{
    flex:1 1 auto !important;
    min-width:0 !important;
  }
}


/* =========================================================
   RYHA 3.1.63 – prekė be kainos: užklausa vietoje pirkimo
   ========================================================= */
body.single-product.ryha-no-price-product div.product .summary > p.price,
body.single-product.ryha-no-price-product div.product .summary > form.cart,
body.single-product.ryha-no-price-product div.product .summary > .ryha-purchase-row,
body.single-product.ryha-no-price-product div.product .summary .ryha-orderable-notice,
body.single-product.ryha-no-price-product div.product .summary .ryha-orderable-v2,
body.single-product.ryha-no-price-product div.product .summary .ryha-availability-status{
  display:none !important;
}

body.single-product div.product .summary .ryha-price-inquiry{
  box-sizing:border-box !important;
  width:100% !important;
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:14px !important;
  margin:0 0 16px !important;
  padding:13px 14px !important;
  border:1px solid #e8cf94 !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,#fffdf8 0%,#fff8e9 100%) !important;
  box-shadow:0 8px 20px rgba(130,91,17,.055) !important;
}

body.single-product div.product .summary .ryha-price-inquiry__icon{
  width:44px !important;
  height:44px !important;
  display:grid !important;
  place-items:center !important;
  border:1px solid #edd39b !important;
  border-radius:13px !important;
  background:#fff2d3 !important;
  color:#a96800 !important;
}
body.single-product div.product .summary .ryha-price-inquiry__icon svg{
  width:21px !important;
  height:21px !important;
  display:block !important;
}

body.single-product div.product .summary .ryha-price-inquiry__copy{
  min-width:0 !important;
}
body.single-product div.product .summary .ryha-price-inquiry__title{
  display:block !important;
  margin:0 0 4px !important;
  color:#443619 !important;
  font-size:14px !important;
  line-height:1.22 !important;
  font-weight:850 !important;
}
body.single-product div.product .summary .ryha-price-inquiry__text{
  display:block !important;
  margin:0 !important;
  max-width:620px !important;
  color:#756848 !important;
  font-size:12px !important;
  line-height:1.4 !important;
  font-weight:520 !important;
}

body.single-product div.product .summary .ryha-price-inquiry__button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:0 17px !important;
  border:1px solid #44ad31 !important;
  border-radius:13px !important;
  background:linear-gradient(180deg,#55c83d 0%,#47b433 100%) !important;
  color:#102814 !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:850 !important;
  letter-spacing:.025em !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  box-shadow:0 9px 20px rgba(73,181,50,.18) !important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease !important;
}
body.single-product div.product .summary .ryha-price-inquiry__button:hover,
body.single-product div.product .summary .ryha-price-inquiry__button:focus-visible{
  transform:translateY(-1px) !important;
  box-shadow:0 12px 24px rgba(73,181,50,.24) !important;
  filter:saturate(1.03) !important;
}

/* Saugiklis: zero-price prekė niekada neturi rodyti sticky buybar. */
body.single-product.ryha-no-price-product #ryha-sticky-buybar{
  display:none !important;
}

@media (max-width:720px){
  body.single-product div.product .summary .ryha-price-inquiry{
    grid-template-columns:40px minmax(0,1fr) !important;
    gap:11px !important;
    padding:12px !important;
    border-radius:15px !important;
  }
  body.single-product div.product .summary .ryha-price-inquiry__icon{
    width:40px !important;
    height:40px !important;
    border-radius:12px !important;
  }
  body.single-product div.product .summary .ryha-price-inquiry__button{
    grid-column:1 / -1 !important;
    width:100% !important;
    min-height:44px !important;
    margin-top:1px !important;
  }
}


/* RYHA 3.1.64: purchase row renderinama serveryje – jokio initial reflow/flicker. */

/* 3.1.65 – preboot status source stays invisible until canonical status is ready. */
body.single-product .summary .ryha-availability-prehidden{display:none!important;visibility:hidden!important}


/* =========================================================
   RYHA 3.1.68 – duplicate purchase row guard + guest first-paint stability
   ========================================================= */
body.single-product.ryha-server-purchase-row div.product .summary > p.price,
body.single-product.ryha-server-purchase-row div.product .summary > form.cart:not(.variations_form){
  display:none!important;
}
body.single-product.ryha-server-purchase-row div.product .summary > .ryha-purchase-row{
  visibility:visible!important;
  opacity:1!important;
}


/* =========================================================
   RYHA 3.1.70 – pristatymo kortelių polish
   - grąžintas pilnas pristatymo termino tekstas;
   - mokamos pristatymo kainos be kapsulės;
   - DPD ženklas aiškesnis / didesnis.
   ========================================================= */
body.single-product .ryha-delivery-price-plain,
body.single-product .ryha-delivery-price-plain .amount,
body.single-product .ryha-delivery-price-plain .woocommerce-Price-amount,
body.single-product .ryha-delivery-price-plain bdi{
  display:inline !important;
  width:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#176f2b !important;
  font-size:15px !important;
  line-height:1.15 !important;
  font-weight:850 !important;
  white-space:nowrap !important;
}

body.single-product img.ryha-dpd-logo-large{
  width:28px !important;
  max-width:28px !important;
  height:auto !important;
  max-height:28px !important;
  object-fit:contain !important;
  transform:none !important;
}

@media (max-width:767px){
  body.single-product .ryha-delivery-price-plain,
  body.single-product .ryha-delivery-price-plain .amount,
  body.single-product .ryha-delivery-price-plain .woocommerce-Price-amount,
  body.single-product .ryha-delivery-price-plain bdi{
    font-size:14px !important;
  }
  body.single-product img.ryha-dpd-logo-large{
    width:26px !important;
    max-width:26px !important;
    max-height:26px !important;
  }
}




/* RYHA 3.1.73 – no-price produkto kontaktų CTA deduplikacija. */
body.single-product.ryha-no-price-product .ryha-no-price-contact-duplicate{display:none!important;}
body.single-product div.product .summary .ryha-price-inquiry__button{appearance:none;-webkit-appearance:none;cursor:pointer;}

/* =========================================================
   RYHA 3.1.78 – vieningas delivery / no-ETA stilius
   ========================================================= */
body.single-product .ryha-delivery-inquiry-cta,
body.single-product .ryha-delivery-inquiry-cta *{
  text-transform:none!important;
  letter-spacing:0!important;
  font-family:inherit!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:700!important;
  font-style:normal!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
body.single-product .ryha-delivery-inquiry-cta{cursor:pointer!important;}
body.single-product .ryha-delivery-inquiry-cta:hover{filter:brightness(.97);}

body.single-product .ryha-delivery-price-hard-plain,
body.single-product .ryha-delivery-price-hard-plain *,
body.single-product .ryha-delivery-price-hard-plain::before,
body.single-product .ryha-delivery-price-hard-plain::after{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  min-width:0!important;
  min-height:0!important;
  width:auto!important;
  height:auto!important;
  filter:none!important;
}
body.single-product .ryha-delivery-price-hard-plain{
  color:#176f2b!important;
  font-size:15px!important;
  line-height:1.15!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

body.single-product img.ryha-dpd-logo-large{
  width:38px!important;
  max-width:38px!important;
  height:38px!important;
  max-height:38px!important;
  object-fit:contain!important;
  display:block!important;
  transform:none!important;
}
body.single-product .ryha-dpd-icon-shell-large{
  width:50px!important;
  min-width:50px!important;
  height:50px!important;
  min-height:50px!important;
  display:grid!important;
  place-items:center!important;
}

html.ryha-kramp-no-eta-preboot body.single-product.ryha-server-purchase-row div.product .summary>.ryha-purchase-row>form.cart:not(.variations_form),
body.single-product.ryha-kramp-no-eta.ryha-server-purchase-row div.product .summary>.ryha-purchase-row>form.cart:not(.variations_form),
body.single-product.ryha-kramp-no-eta div.product .summary .ryha-purchase-row form.cart{
  display:none!important;
}
html.ryha-kramp-no-eta-preboot body.single-product #ryha-sticky-buybar,
body.single-product.ryha-kramp-no-eta #ryha-sticky-buybar{display:none!important;}

body.single-product .ryha-no-eta-inquiry-button{
  flex:1 1 240px!important;
  min-height:44px!important;
  border:1px solid #e7b64b!important;
  border-radius:14px!important;
  background:#fff8e8!important;
  color:#8b5c00!important;
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:700!important;
  text-transform:none!important;
  letter-spacing:0!important;
  padding:0 18px!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
body.single-product .ryha-no-eta-inquiry-button:hover{filter:brightness(.98);}
body.single-product .ryha-no-eta-inquiry-button:active{transform:translateY(1px);}

@media (max-width:767px){
  body.single-product .ryha-delivery-inquiry-cta,
  body.single-product .ryha-delivery-inquiry-cta *{font-size:11.5px!important;}
  body.single-product img.ryha-dpd-logo-large{width:34px!important;max-width:34px!important;height:34px!important;max-height:34px!important;}
  body.single-product .ryha-dpd-icon-shell-large{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;}
}
\n\n/* =========================================================\n   RYHA 3.1.79 – no-ETA dedupe + hard delivery price unwrap\n   ========================================================= */\nhtml.ryha-kramp-no-eta-preboot body.single-product .ryha-no-eta-contact-duplicate,\nbody.single-product.ryha-kramp-no-eta .ryha-no-eta-contact-duplicate{\n  display:none!important;\n}\nbody.single-product .ryha-delivery-price-wrapper-nobox{\n  display:contents!important;\n  background:transparent!important;\n  border:0!important;\n  box-shadow:none!important;\n  border-radius:0!important;\n  padding:0!important;\n  margin:0!important;\n}\nbody.single-product .ryha-delivery-price-wrapper-nobox::before,\nbody.single-product .ryha-delivery-price-wrapper-nobox::after{\n  content:none!important;display:none!important;background:none!important;border:0!important;box-shadow:none!important;\n}\nbody.single-product .ryha-delivery-price-value,\nbody.single-product .ryha-delivery-price-value *{\n  display:inline!important;\n  background:transparent!important;background-color:transparent!important;background-image:none!important;\n  border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;\n  padding:0!important;margin:0!important;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;\n  color:#176f2b!important;font-size:15px!important;line-height:1.15!important;font-weight:850!important;white-space:nowrap!important;\n}\n

/* =========================================================
   RYHA 3.1.80 – aiškus pristatymo termino CTA + tikrai plokščia DPD kaina
   ========================================================= */
body.single-product .ryha-delivery-price-flat{
  display:inline-flex!important;
  align-items:center!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  padding:0!important;
  margin:0!important;
  min-width:0!important;
  min-height:0!important;
  width:auto!important;
  height:auto!important;
  color:#176f2b!important;
  font-size:15px!important;
  line-height:1.15!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.single-product .ryha-delivery-price-flat-source{display:none!important;}

body.single-product .ryha-delivery-inquiry-cta,
body.single-product .ryha-delivery-inquiry-cta *{
  text-transform:none!important;
  letter-spacing:0!important;
  font-family:inherit!important;
  font-size:12.5px!important;
  line-height:1.15!important;
  font-weight:750!important;
}
body.single-product .ryha-delivery-inquiry-cta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  padding:6px 12px!important;
  border:1px solid #e5b04f!important;
  border-radius:999px!important;
  background:#fff9ed!important;
  color:#915f08!important;
  box-shadow:0 1px 0 rgba(145,95,8,.04)!important;
  cursor:pointer!important;
  transition:background-color .16s ease,border-color .16s ease,transform .16s ease!important;
  white-space:nowrap!important;
}
body.single-product .ryha-delivery-inquiry-cta:hover{
  background:#fff2d5!important;
  border-color:#d79a2c!important;
  color:#7b4d00!important;
  transform:translateY(-1px)!important;
}
body.single-product .ryha-delivery-inquiry-cta:focus-visible{
  outline:2px solid rgba(215,154,44,.3)!important;
  outline-offset:2px!important;
}


/* =========================================================
   RYHA 3.1.81 – stabilus DPD kainos first-paint stilius
   SVARBU: jokio JS DOM perrašymo. Stilizuojame native .npg-ship__price,
   todėl kaina nuo pirmo kadro iki galutinio vaizdo išlieka tokia pati.
   Atsiėmimo vietoje „Nemokamai“ kapsulės neliečiame – taikome tik DPD kortelėms.
   ========================================================= */
body.single-product .ryha-ship-card:has(.npg-ship-icon--dpd) > .npg-ship__price,
body.single-product :is(div,span,label,li):has(> .npg-ship__icon .npg-ship-icon--dpd) > .npg-ship__price{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  color:#176f2b!important;
  font-size:15px!important;
  line-height:1.15!important;
  font-weight:850!important;
  white-space:nowrap!important;
  text-align:right!important;
  transition:none!important;
  transform:none!important;
}
body.single-product .ryha-ship-card:has(.npg-ship-icon--dpd) > .npg-ship__price *,
body.single-product :is(div,span,label,li):has(> .npg-ship__icon .npg-ship-icon--dpd) > .npg-ship__price *{
  display:inline!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#176f2b!important;
  font-size:inherit!important;
  line-height:inherit!important;
  font-weight:inherit!important;
  white-space:nowrap!important;
  transition:none!important;
}
@media (max-width:767px){
  body.single-product .ryha-ship-card:has(.npg-ship-icon--dpd) > .npg-ship__price,
  body.single-product :is(div,span,label,li):has(> .npg-ship__icon .npg-ship-icon--dpd) > .npg-ship__price{
    font-size:14px!important;
  }
}


/* ==========================================================
   RYHA 3.1.85 – produkto pristatymo KAINA be kapsulės
   Tikras serverio HTML: .ryha-delivery-right > .ryha-chip.price
   ========================================================== */
body.single-product .shipping-options.ryha-ship .ryha-delivery-right > span.ryha-chip.price{
  display:inline-flex!important;
  align-items:baseline!important;
  width:auto!important;min-width:0!important;max-width:none!important;
  height:auto!important;min-height:0!important;
  margin:0!important;padding:0!important;
  border:0!important;outline:0!important;border-radius:0!important;
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  box-shadow:none!important;filter:none!important;
  color:#176f2b!important;font-size:13px!important;line-height:1.15!important;font-weight:800!important;
  white-space:nowrap!important;transition:none!important;transform:none!important;
}
body.single-product .shipping-options.ryha-ship .ryha-delivery-right > span.ryha-chip.price :is(.woocommerce-Price-amount,.amount,bdi,.woocommerce-Price-currencySymbol){
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;background-color:transparent!important;box-shadow:none!important;
  color:inherit!important;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;
}


/* =========================================================
   RYHA 3.1.85 – no-ETA aiškumas
   - kai tiekimo data nežinoma, pristatymo metodų blokas slepiamas;
   - „Prekės informacija“ summary kortelė lieka matoma kaip pirmas informacinis blokas.
   ========================================================= */
html.ryha-kramp-no-eta-preboot body.single-product .shipping-options.ryha-ship,
body.single-product.ryha-kramp-no-eta .shipping-options.ryha-ship{
  display:none!important;
}
body.single-product .summary > .ryha-product-info-summary-slot{
  width:100%!important;
  margin:14px 0 0!important;
}


/* =========================================================
   RYHA 3.1.85 – no-ETA hierarchija
   Kai tiekimo data nepatvirtinta, termino užklausa yra pagrindinis veiksmas,
   todėl CTA vizualiai prilyginamas pagrindiniam žaliam pirkimo mygtukui.
   Gelsvas availability blokas lieka informacinis perspėjimas.
   ========================================================= */
body.single-product.ryha-kramp-no-eta .ryha-no-eta-inquiry-button,
html.ryha-kramp-no-eta-preboot body.single-product .ryha-no-eta-inquiry-button{
  flex:1 1 300px!important;
  min-height:44px!important;
  border:1px solid #3CB043!important;
  border-radius:14px!important;
  background:#3CB043!important;
  background-image:none!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:800!important;
  text-transform:none!important;
  letter-spacing:0!important;
  padding:0 20px!important;
  cursor:pointer!important;
  box-shadow:0 10px 22px rgba(60,176,67,.18)!important;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
body.single-product.ryha-kramp-no-eta .ryha-no-eta-inquiry-button:hover,
html.ryha-kramp-no-eta-preboot body.single-product .ryha-no-eta-inquiry-button:hover{
  background:#34a23b!important;
  border-color:#34a23b!important;
  color:#fff!important;
  filter:none!important;
  box-shadow:0 12px 26px rgba(60,176,67,.24)!important;
  transform:translateY(-1px)!important;
}
body.single-product.ryha-kramp-no-eta .ryha-no-eta-inquiry-button:active,
html.ryha-kramp-no-eta-preboot body.single-product .ryha-no-eta-inquiry-button:active{
  transform:translateY(0)!important;
  box-shadow:0 6px 16px rgba(60,176,67,.18)!important;
}
body.single-product.ryha-kramp-no-eta .ryha-no-eta-inquiry-button:focus-visible,
html.ryha-kramp-no-eta-preboot body.single-product .ryha-no-eta-inquiry-button:focus-visible{
  outline:3px solid rgba(60,176,67,.24)!important;
  outline-offset:2px!important;
}

@media (max-width:767px){
  body.single-product.ryha-kramp-no-eta .ryha-no-eta-inquiry-button,
  html.ryha-kramp-no-eta-preboot body.single-product .ryha-no-eta-inquiry-button{
    flex-basis:100%!important;
    width:100%!important;
  }
}


/* 3.1.88 canonical info safety: generic availability/dedupe hide klasės šio bloko neslepia. */
body.single-product .summary > #ryha-product-info-summary-slot[data-ryha-canonical-info="1"],
body.single-product .summary > #ryha-product-info-summary-slot[data-ryha-canonical-info="1"].ryha-availability-source-hidden,
body.single-product .summary > #ryha-product-info-summary-slot[data-ryha-canonical-info="1"].ryha-availability-prehidden,
body.single-product .summary > #ryha-product-info-summary-slot[data-ryha-canonical-info="1"].ryha-no-eta-contact-duplicate{
  display:block!important; visibility:visible!important; opacity:1!important; height:auto!important; max-height:none!important; overflow:visible!important;
}
