/*
Theme Name:     NANO-GO-Lietuva-2025
Theme URI:      n/a
Template:       kadence
Author:         NANO GO Lietuva
Author URI:     n/a
Description:    28.08.2025
Version:        10.18
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
/* =============================
   WOO PRANEŠIMAI
   ============================= */
.woocommerce .woocommerce-message{
  border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,.06);
  display:none !important; /* jei reikės – išjunk */
}
/* =============================
   PAGRINDINIAI KINTAMIEJI
   ============================= */
:root{
  --ng-text:#222222;
  --ng-muted:#6b7280;
  --ng-accent:#ff9900;
  --ng-bg-soft:#fafafa;
  --ng-radius:12px;
  --ng-shadow:0 4px 12px rgba(0,0,0,.08);
}

/* =============================
   PUSLAPIAVIMAS
   ============================= */
.woocommerce nav.woocommerce-pagination ul li .page-numbers{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-width:2.6em; height:2.6em;
  padding:0 .6em; margin-right:.4em;
  border:1px solid var(--ng-accent);
  border-radius:.5rem;
  color:var(--ng-text); background:#fff;
  text-decoration:none; line-height:1;
}
.woocommerce nav.woocommerce-pagination ul li .page-numbers:hover{background:#fff6e6;}
.woocommerce nav.woocommerce-pagination ul li .page-numbers.current{
  background:var(--ng-accent); color:#111; font-weight:700;
}

/* =============================
   WOO PRANEŠIMAI
   ============================= */
.woocommerce .woocommerce-message{
  border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,.06);
  display:none !important; /* jei reikės – išjunk */
}

/* =============================
   PRODUKTŲ KAINOS
   ============================= */
.woocommerce div.product span.price,
.woocommerce div.product p.price{
  font-size:1.5em; font-weight:700;
  color:var(--global-palette1, #ff7c10);
}

/* =============================
   PRODUKTO PUSLAPIO TIPOGRAFIJA/MAKETAS
   ============================= */
.single-product .entry-content,
.single-product .woocommerce-product-details__short-description{}

.single-product .entry-content h2,
.single-product .entry-content h3,
.single-product .woocommerce-product-details__short-description h2,
.single-product .woocommerce-product-details__short-description h3{
  font-family:Verdana, sans-serif; font-weight:700;
  color:var(--ng-text); margin:20px 0 14px; line-height:1.25;
}
.single-product .entry-content p,
.single-product .woocommerce-product-details__short-description p{
  margin:0 0 14px 0; color:var(--ng-text);
}

/* Sąrašai su akcentuotais taškais */
.single-product .entry-content ul,
.single-product .woocommerce-product-details__short-description ul{
  margin:0 0 22px 0; padding-left:20px;
}
.single-product .entry-content .product-features ul,
.single-product .entry-content .product-problem-section ul,
.single-product .entry-content .product-solution-section ul{
  list-style:none; padding-left:0;
}
.single-product .entry-content .product-features li,
.single-product .entry-content .product-problem-section li,
.single-product .entry-content .product-solution-section li{
  position:relative; padding-left:24px; margin:0 0 8px 0;
}
.single-product .entry-content .product-features li::before,
.single-product .entry-content .product-problem-section li::before,
.single-product .entry-content .product-solution-section li::before{
  content:"•"; color:var(--ng-accent);
  position:absolute; left:0; top:0; font-size:18px; line-height:1;
}

/* Lentelės */
.single-product .entry-content table{
  width:100%; border-collapse:collapse;
  margin:14px 0 22px; font-size:.95rem;
}
.single-product .entry-content th,
.single-product .entry-content td{
  border-bottom:1px solid #e5e7eb;
  padding:10px 12px; text-align:left;
}
.single-product .entry-content tr:hover td{background:var(--ng-bg-soft);}

/* Tarpai tarp sekcijų */
.single-product .entry-content section + section,
.single-product .woocommerce-product-details__short-description section + section{margin-top:22px;}

/* Logotipų juosta */
.single-product .entry-content .product-logo,
.single-product .woocommerce-product-details__short-description .product-logo{
  margin:26px 0 38px 0; text-align:left;
}
.single-product .entry-content .product-logo img,
.single-product .woocommerce-product-details__short-description .product-logo img{
  display:block; max-width:420px; width:100%; height:auto;
}

/* Pastabos */
.single-product .entry-content .product-notice{
  color:var(--ng-accent); font-size:14px; margin-top:20px;
}

/* =============================
   VIDEO WRAPPER
   ============================= */
.video-wrapper,
.single-product .entry-content .video-wrapper,
.single-product .woocommerce-product-details__short-description .video-wrapper{
  position:relative; width:min(100%, 960px); aspect-ratio:16/9;
  overflow:hidden; border-radius:var(--ng-radius);
  box-shadow:var(--ng-shadow); margin:0 auto 40px;
}
.video-wrapper iframe{
  position:absolute; inset:0; width:100%; height:100%;
  border:0; border-radius:var(--ng-radius);
}
.video-wrapper--narrow{width:350px; max-width:100%;}

/* =============================
   REVIEW PLUGIN (CR)
   ============================= */
.cr-reviews__images-list img{
  border-radius:10px; box-shadow:0 2px 8px rgba(0,0,0,0.05);
  margin:0 6px 6px 0; max-height:120px; transition:transform .3s;
}
.cr-reviews__images-list img:hover{transform:scale(1.05);}
.cr-upload__input{
  border:2px dashed var(--global-palette2, #e86100);
  border-radius:12px; padding:15px 0;
  background:var(--global-palette8, #f7f7f7);
}
.cr-upload__input:hover{border-color:var(--global-palette1, #ff7c10);}

/* =============================
   ACCESSIBILITY
   ============================= */
a:focus,button:focus,input:focus,select:focus,textarea:focus{
  outline:2px solid var(--global-palette2, #e86100);
  outline-offset:2px;
}

/* =============================
   MENIU / OFF-CANVAS STABILIZACIJA
   ============================= */
.kadence-drawer,
.kadence-drawer .kadence-drawer-inner,
.mobile-drawer,
.mobile-drawer .kadence-drawer-inner{
  height:100dvh !important; max-height:100dvh !important; overflow:auto;
}
/* z-index hierarchija */
.kadence-drawer{z-index:100002 !important;}
.kadence-drawer .drawer-overlay,
.mobile-drawer .drawer-overlay{z-index:100003 !important;}
.site-header,.kadence-sticky-header{z-index:100001 !important;}
body.single-product .kadence-drawer{position:fixed !important; inset:0 !important;}
body.drawer-open{overflow:hidden; touch-action:none;}
@supports (-webkit-touch-callout:none){ body.drawer-open{position:fixed; width:100%;} }
body.single-product .entry-content, body.single-product .site-main{transform:none !important;}

/* =============================
   CHECKOUT – MONTONIO / SELECT2
   ============================= */
body.woocommerce-checkout [class*="montonio"]{overflow:visible !important;}
body.woocommerce-checkout [class*="montonio"] .select2-container--open,
body.woocommerce-checkout [class*="montonio"] .select2-dropdown,
body.woocommerce-checkout [class*="montonio"] .dropdown,
body.woocommerce-checkout [class*="montonio"] [role="listbox"]{
  z-index:1000000 !important;
}
body.woocommerce-checkout [class*="montonio"] .select2-container--open .select2-dropdown--above{
  top:100% !important; bottom:auto !important; margin-top:6px; border-top:0;
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width:1024px){
  .single-product .entry-content .product-logo img{max-width:380px;}
}
@media (max-width:768px){
  .single-product .entry-content .product-logo img,
  .single-product .woocommerce-product-details__short-description .product-logo img{max-width:320px;}
}

/* =============================
   DARK MODE
   ============================= */
@media (prefers-color-scheme:dark){
  :root{--ng-text:#f3f4f7; --ng-bg-soft:#0f1115; --ng-shadow:0 8px 18px rgba(0,0,0,.45);}
}

/* =============================
   SPAUSDINIMAS
   ============================= */
@media print{
  .single-product .entry-content .video-wrapper{display:none !important;}
  .single-product .entry-content .product-logo img{max-width:280px;}
  .summary,.cart,.woocommerce-tabs{display:none !important;}
}

/* =============================
   IŠ TĖVINĖS TEMOS – PALIKTA, SUDERINTA
   ============================= */
.page-title .kadence-breadcrumbs{
  margin-left:24px; font-style:normal; font-weight:400; font-size:8px;
  font-family:Verdana, Geneva, sans-serif;
}
.page-title .entry-title{
  margin-left:24px; font-style:normal; font-weight:700; font-size:20px;
  font-family:Verdana, Geneva, sans-serif;
}

/* (senas pagination dublis panaikintas; naudojam naują viršuje) */

img{width:auto; height:auto;}
.woocommerce-review__published-date{display:none;}
.content-style-unboxed .content-bg.loop-entry .content-bg:not(.loop-entry){
  background-image:url(https://nanogo.lt/wp-content/uploads/bacground-2000-1000.webp);
  background-repeat:no-repeat; background-position:center; background-size:cover; background-attachment:scroll;
}
.woocommerce form .form-row .optional{visibility:hidden;}
body.social-brand-colors .social-link-instagram{background:#b3261e !important; color:#fff !important;}
body.social-brand-colors .social-link-instagram svg{fill:#fff !important;}

/* .shop_table – suvienodintas dublis (paliktas 12px + šešėlis) */
.woocommerce table.shop_table{
  margin:0 -1px 1.5em 0; text-align:left; width:100%;
  border-radius:12px; font-size:100%; border-collapse:collapse;
  box-shadow:0 6px 32px -8px rgba(0,0,0,0.08); overflow:hidden;
}

/* =========================================================
   PAPILDOMAS – perkelta iš „Papildomas CSS“ skyriaus
   ========================================================= */

/* „Siųsti kitu adresu?“ kaip „Perka įmonė“ – tik stilius */
.woocommerce-billing-fields__field-wrapper label[for="ship-to-different-address-checkbox"]{
  line-height:2.4!important; font-weight:700!important;
  color:var(--global-palette5, #52606d)!important;
  font-size:90%!important; font-family:inherit!important;
}

/* Select2/SelectWoo – virš visų sluoksnių ir su scroll'u */
.select2-container--open{ z-index:100000!important; }
.select2-results__options{ max-height:65vh!important; overflow-y:auto!important; }

/* Užtikrinam, kad Select2 iškritimas per VISA pločio sritį checkout'e būtų viršuje */
.woocommerce-checkout .select2-dropdown{
  position:fixed!important; left:0!important; right:0!important;
}

/* Checkout „spaceris“ virš #payment sekcijos (UX) */
.woocommerce-checkout #payment{ padding-top:20px!important; position:relative; }
.woocommerce-checkout #payment::before{ content:""; display:block; height:10px; }
.woocommerce form.checkout .woocommerce-checkout-payment{ margin-top:16px!important; }

