/* Hide additional information tab */
li.additional_information_tab {
display: none !important;
}
}
.site-header .main-header-bar {
background: rgba(0,0,0, 120);
}

.main-header-menu a {
color: #001
}

.main-header-menu .sub-menu{
    background: #12000;
}
.main-header-menu .sub-menu a {
    color: #000000;
}
select {
color: red;
background: blue;
}
a.glink {
color:white!important;
}
.menu-item.menu-item-gtranslate-child {
background-color:grey!important;
}
.page-id-1579 {background-color: #A4A29F;}
.page-id-1840 {background-color: #A4A29F;}
.page-id-1828 {background-color: #A4A29F;}

/* ===== AFG - Mobilus pirkimo kelias (dok. 98) =====
   Tik isdestymas. Funkcionalumo nekeicia. Norint atsukti - istrinti si bloka. */

/* 1) Kiekio laukas ir "I Krepseli": tarpas ir vienodas kairysis krastas.
      Buvo: tarpas 0 px, krastai prasilenke 10 px. */
.single-product form.cart .quantity {
    float: none !important;
    margin: 0 0 14px 0 !important;
}
.single-product form.cart .single_add_to_cart_button {
    float: none !important;
    margin-left: 0 !important;
}

/* 2) Priklijuota "Moketi Dabar" juosta (72 px) nebedengia turinio. */
body.single-product {
    padding-bottom: 90px;
}
/* ===== AFG pabaiga ===== */

/* ===== AFG MOBILE v3 (2026-09-14) — vientisas blokas =====
   Pakeicia ankstesnius v2 / v2b / v2c / v2d, kurie konfliktavo tarpusavyje.
   Tik isdestymas ir matomumas. Prekiu, kainu, likuciu, mokejimu neliecia.
   Atsukimas: istrinti visa si bloka. */

/* Sena derinimo liekana nudaze VISUS sarasus raudonai ant melyno
   (kiekis, variantai, salis kasoje). Perrasom. */
select {
    color: #222 !important;
    background-color: #fff !important;
}

@media (max-width: 767px) {

  /* --- 1. Pedsakai kompaktiskiau --- */
  .single-product .elementor-element-aecc7a5 .elementor-widget-container {
      font-size: 12px !important;
      line-height: 1.35 !important;
  }

  /* --- 2. Galerija nebeuzima viso ekrano (buvo 569 px) --- */
  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__wrapper {
      max-height: 330px !important;
  }
  .single-product .woocommerce-product-gallery__wrapper img {
      max-height: 330px !important;
      width: auto !important;
      max-width: 100% !important;
      margin: 0 auto !important;
      object-fit: contain !important;
  }
  .single-product .woocommerce-product-gallery .flex-control-thumbs {
      display: none !important;
  }

  /* --- 3. Visi prekes elementai i viena vertikalia eile --- */
  .single-product .elementor-element-0e0da4f > .elementor-container {
      display: flex !important;
      flex-direction: column !important;
      padding-left: 10px !important;
      padding-right: 10px !important;
  }
  .single-product .elementor-element-2bdb665,
  .single-product .elementor-element-0bf1958,
  .single-product .elementor-element-2bdb665 > .elementor-widget-wrap,
  .single-product .elementor-element-0bf1958 > .elementor-widget-wrap,
  .single-product .elementor-element-1f5a723,
  .single-product .elementor-element-1f5a723 > .elementor-widget-container,
  .single-product .elementor-add-to-cart,
  .single-product form.cart:not(.variations_form):not(.grouped_form) {
      display: contents !important;
  }

  /* --- 4. Eile: pavadinimas -> kaina -> nuotrauka -> kiekis -> PIRKTI
             -> greitas mokejimas -> pasitikejimas -> specifikacijos --- */
  .single-product .elementor-element-9dbf4a2 { order: 1 !important; margin-bottom: 4px !important; }
  .single-product .elementor-element-51038ea { order: 2 !important; margin-bottom: 10px !important; }
  .single-product .elementor-element-c0abe24 { order: 3 !important; }
  .single-product form.cart .quantity        { order: 4 !important; margin: 10px 0 12px 0 !important; float: none !important; }
  .single-product form.cart .single_add_to_cart_button { order: 5 !important; }
  .single-product .cpsw-payment-request-main-wrapper  { order: 6 !important; position: static !important; margin-top: 12px !important; }
  .single-product .elementor-element-c4b093a { order: 7 !important; }
  .single-product .elementor-element-91786c4 { order: 8 !important; }

  /* --- 5. "I krepseli" priklijuotas ekrano apacioje, matomas visa laika --- */
  .single-product form.cart:not(.variations_form) .single_add_to_cart_button {
      position: sticky !important;
      bottom: 10px !important;
      z-index: 60 !important;
      width: 100% !important;
      float: none !important;
      margin: 0 !important;
      padding: 16px 12px !important;
      font-size: 17px !important;
      border-radius: 6px !important;
      box-shadow: 0 6px 20px rgba(0,0,0,.30) !important;
  }

  /* --- 6. Kasoje - nieko, kas kviestu iseiti --- */
  .woocommerce-checkout .gtranslate_wrapper,
  .woocommerce-checkout .ast-header-search,
  .woocommerce-checkout form.search-form { display: none !important; }

  /* --- 7. Nuolaidos kodas kasoje - i apacia (buvo pirmas dalykas) --- */
  .woocommerce-checkout .woocommerce {
      display: flex !important;
      flex-direction: column !important;
  }
  .woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper { order: 1; }
  .woocommerce-checkout .woocommerce > form.checkout { order: 2; }
  .woocommerce-checkout .woocommerce > .woocommerce-form-coupon-toggle {
      order: 3; margin-top: 18px !important; font-size: 13px !important; opacity: .75;
  }
  .woocommerce-checkout .woocommerce > form.checkout_coupon { order: 4; }
}
/* ===== AFG MOBILE v3 pabaiga ===== */



/* ===== AFG KREPS v1: krepselio puslapis telefone =====
   Buvo: krepselis -> 710 px kitu prekiu -> sumos -> "Pereiti i kasa" ties 2489 px.
   Dabar: krepselis -> sumos -> PEREITI I KASA (priklijuotas) -> kitos prekes.
   Atsukimas: istrinti si bloka. */
@media (max-width: 767px) {
  .woocommerce-cart .cart-collaterals {
      display: flex !important;
      flex-direction: column !important;
  }
  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-cart .cart-collaterals .wc-proceed-to-checkout {
      display: contents !important;
  }
  .woocommerce-cart .cart-collaterals .cart_totals > * { order: 2 !important; }
  .woocommerce-cart .cart-collaterals .cart_totals > h2 { order: 1 !important; }
  .woocommerce-cart .cart-collaterals .checkout-button {
      order: 4 !important;
      position: sticky !important;
      bottom: 10px !important;
      z-index: 60 !important;
      width: 100% !important;
      margin: 10px 0 0 0 !important;
      padding: 16px 12px !important;
      font-size: 17px !important;
      border-radius: 6px !important;
      box-shadow: 0 6px 20px rgba(0,0,0,.30) !important;
  }
  .woocommerce-cart .cart-collaterals .cpsw-payment-request-main-wrapper { order: 3 !important; position: static !important; }
  .woocommerce-cart .cart-collaterals .cross-sells { order: 5 !important; margin-top: 24px !important; }
}
/* ===== AFG KREPS v1 pabaiga ===== */

/* ===== AFG UX v1 (2026-09-16, dok. 109) — pradzia =====
   Tik isvaizda. Tekstu, nuorodu, kainu ir SEO nekeicia. Atsukimas: istrinti visa bloka. */

/* 1. Mobilus meniu: aiskiai atskirtas nuo puslapio, kaire lygiuote, didesni paspaudimo plotai */
@media (max-width:1024px){
  .elementor-location-header .e-n-menu-wrapper{
    background:#fff !important;
    border-top:1px solid #e6e2da;
    box-shadow:0 18px 30px rgba(0,0,0,.18);
  }
  .elementor-location-header .e-n-menu-heading{padding:6px 0 10px !important;}
  .elementor-location-header .e-n-menu-heading > .e-n-menu-item{border-bottom:1px solid #f0ede7;}
  .elementor-location-header .e-n-menu-heading > .e-n-menu-item:last-child{border-bottom:0;}
  .elementor-location-header .e-n-menu-title{
    justify-content:flex-start !important;
    padding:14px 22px !important;
    min-height:48px;
  }
  .elementor-location-header .e-n-menu-title a,
  .elementor-location-header .e-n-menu-title .e-n-menu-title-text{
    font-size:17px !important; font-weight:600 !important; color:#1f2a24 !important; text-align:left !important;
  }
}

/* 2. Soninis krepselis: "Apmokejimas" - pagrindinis zalias mygtukas, "Krepselis" - antrinis */
.elementor-menu-cart__footer-buttons .elementor-button--checkout{
  background:#1f513f !important; color:#fff !important; border:1px solid #1f513f !important;
}
.elementor-menu-cart__footer-buttons .elementor-button--view-cart{
  background:#fff !important; color:#1f513f !important; border:1px solid #1f513f !important;
}

/* 3. Slapuku langas: prekes zenklo spalva, telefone kompaktiskas */
.cmplz-cookiebanner .cmplz-btn.cmplz-accept{
  background-color:#1f513f !important; border-color:#1f513f !important; color:#fff !important;
}
.cmplz-cookiebanner .cmplz-link{color:#1f513f !important;}
@media (max-width:767px){
  .cmplz-cookiebanner.cmplz-show{padding:14px 16px 12px !important; row-gap:8px !important;}
  .cmplz-cookiebanner .cmplz-header{min-height:0 !important;}
  .cmplz-cookiebanner .cmplz-message{font-size:13px !important; line-height:1.45 !important; margin:0 !important;}
  .cmplz-cookiebanner .cmplz-buttons{display:grid !important; grid-template-columns:1fr 1fr; gap:8px !important;}
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn{height:42px !important; min-height:42px !important; margin:0 !important; font-size:14px !important;}
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept{grid-column:1 / -1;}
  .cmplz-cookiebanner .cmplz-links{margin:0 !important;}
}

/* 4. "Slapuku nustatymai" plaukiojantis mygtukas: mazas, kairiame apatiniame kampe, neuzdengia pirkimo juostos */
#cmplz-manage-consent .cmplz-manage-consent{
  left:12px !important; right:auto !important; bottom:0 !important;
  height:30px !important; min-height:30px !important; padding:0 10px !important;
  font-size:12px !important; opacity:.85;
}
body.single-product #cmplz-manage-consent .cmplz-manage-consent{bottom:86px !important;}

/* 5. Pradinis: pasalintas techninis paaiskinimas po "Populiariausi kazanai" */
.elementor-1575 .elementor-element-35c201e3{display:none !important;}

/* 6. Pradinis: bestseleriu mygtukas rodo tikra (isverciama) teksta, o ne lietuviska uzrasa per ::before.
      Buvo: prancuzas/vokietis matydavo "Krepseli". */
.elementor-element-af4c6d0 .woo-products-product-button .add_to_cart_button{font-size:14px !important;}
.elementor-element-af4c6d0 .woo-products-product-button .add_to_cart_button::before{content:none !important; display:none !important;}

/* 7. Pradinis: bestseleriai telefone po 2 eilute (buvo po 1, ~580 px kortele) */
@media (max-width:767px){
  .elementor-element-af4c6d0 .woo-products-products{display:flex !important; flex-wrap:wrap !important; margin:0 -5px !important;}
  .elementor-element-af4c6d0 .woo-products-products__item{width:50% !important; max-width:50% !important; flex:0 0 50% !important; padding:0 5px !important; margin:0 0 10px !important;}
  .elementor-element-af4c6d0 .woo-products-products__inner-box{padding:8px !important; height:100%; display:flex; flex-direction:column;}
  .elementor-element-af4c6d0 .woo-products-product-thumbnail img{aspect-ratio:1/1; object-fit:contain; width:100%; height:auto;}
  .elementor-element-af4c6d0 .woo-products-product-categories{display:none !important;}
  .elementor-element-af4c6d0 .woo-products-product-title,
  .elementor-element-af4c6d0 .woo-products-product-title a{font-size:13px !important; line-height:1.3 !important; margin:6px 0 4px !important;}
  .elementor-element-af4c6d0 .woo-products-product-price{font-size:14px !important; margin:0 0 8px !important;}
  .elementor-element-af4c6d0 .woo-products-product-button{margin-top:auto !important; padding:0 !important;}
  .elementor-element-af4c6d0 .woo-products-product-button .button{padding:9px 4px !important; width:100% !important; font-size:13px !important; line-height:1.25 !important;}
}
/* tabletas: po 2 eilute (4 prekes = 2x2) */
@media (min-width:768px) and (max-width:1024px){
  .elementor-element-af4c6d0 .woo-products-products__item{width:50% !important; max-width:50% !important; flex:0 0 50% !important;}
}

/* 8. Telefono antraste: kalbos pasirinkimas kompaktiskesnis (perjungiklis lieka) */
@media (max-width:767px){
  .elementor-location-header .elementor-element-7bcb964 .gtranslate_wrapper{order:0; margin:4px 0 0 !important;}
  .elementor-location-header .gtranslate_wrapper .gt_switcher{width:120px !important;}
  .elementor-location-header .gtranslate_wrapper .gt_selected a{width:auto !important; padding:4px 26px 4px 8px !important; font-size:13px !important; line-height:20px !important;}
}

/* 9. Atidarius sonini krepseli, Google Pay juosta nebeuzdengia krepselio turinio */
body:has(.elementor-menu-cart--shown) .cpsw-payment-request-main-wrapper{z-index:1 !important;}

/* ===== AFG UX v1 — pabaiga ===== */