/* Gigal x Mirko - dodatna doterivanja */
.gigal-back-to-top{position:fixed;bottom:24px;right:24px;width:48px;height:48px;border-radius:50%;border:none;background:var(--gradient);color:#0b0f14;font-size:20px;cursor:pointer;display:none;z-index:999;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.gigal-back-to-top:hover{opacity:.9}
.navbar-brand.logo-text{font-weight:700;letter-spacing:.5px}
.category-back-link{display:inline-block;margin:16px 0 0 24px;color:#c9cbd4;text-decoration:none;font-size:14px}
.category-back-link:hover{color:#1aa7e8}

/* V44 screenshot corrections */
body{background:#0d2732;color:#f4f6f7}
.navbar{position:relative!important;top:auto!important;background:#003746!important}
.navbar .dropdown-toggle::after{display:none!important}
@media (min-width:992px){.navbar .dropdown:hover>.dropdown-menu{display:block;margin-top:0}.navbar .dropdown-menu{background:#0b2d3a;border:1px solid rgba(255,255,255,.14);padding:8px}}

/* Category pages: one coherent navy catalogue, no white blocks */
.category-back-link,.category-wrap,.category-richtext{max-width:1180px;margin-left:auto!important;margin-right:auto!important;padding-left:22px!important;padding-right:22px!important}
.category-wrap{padding-top:26px;padding-bottom:18px}
.category-title{color:#fff!important;font-size:clamp(34px,5vw,58px)!important;line-height:1.05!important;margin:0 0 12px!important}
.category-intro,.category-richtext p,.category-richtext li{color:#e4eaed!important}
.category-richtext h2,.category-richtext h3,.category-richtext h4{color:#fff!important}
.category-richtext table,.category-richtext table.catalog-table{width:100%!important;background:#12323f!important;color:#f4f6f7!important;border-collapse:collapse!important;margin:10px 0 28px!important}
.category-richtext table thead,.category-richtext table tr,.category-richtext table tbody,.category-richtext table td,.category-richtext table th{background:#12323f!important;color:#f4f6f7!important;border-color:rgba(255,255,255,.12)!important}
.category-richtext table th{background:#0a4055!important;color:#fff!important}
.category-richtext table tbody tr:nth-child(even) td{background:#102e3a!important}
.category-richtext table tbody tr:hover td{background:#174356!important}
.category-richtext .gigal-add-to-cart,.category-richtext button{background:#075078!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important}
.category-richtext .gigal-add-to-cart:hover,.category-richtext button:hover{background:#09638f!important}
.chemistry-branch-heading{color:#fff!important}
.chemistry-branch-grid{max-width:1180px;margin:0 auto 30px!important;gap:28px!important}
.chem-brand-card{background:rgba(13,39,50,.78)!important;border:1px solid rgba(255,255,255,.18)!important;color:#eef3f5!important;box-shadow:none!important}
.chem-brand-card h3,.chem-brand-card p,.chem-brand-card strong{color:#eef3f5!important}
.chem-brand-card strong{color:#1aa7e8!important}

/* Products page: readable panel before slider, same theme */
.products-test-categories,.products-test-cta-wrap,.products-test-copy-section,.products-test-catalog{max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding-left:22px!important;padding-right:22px!important}
.products-main-h1,.products-test-section-title,.products-test-cta-title{color:#fff!important}
.products-test-category-link{background:transparent!important;color:#f4f6f7!important;border:1px solid rgba(255,255,255,.3)!important}
.products-test-category-link:hover{background:rgba(255,255,255,.08)!important;color:#1aa7e8!important}
.gigal-search-summary{background:rgba(10,43,56,.72)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px!important;padding:24px!important;margin:30px 0!important}
.gigal-search-summary-title,.gigal-search-summary-text{color:#eef3f5!important}
.gigal-faq{display:none!important}
.products-test-cta-wrap,.products-test-copy-section{background:transparent!important;color:#e5ecef!important}
.products-test-body-copy,.products-test-secondary-copy,.products-test-cta-text,.products-test-catalog-intro{color:#d9e2e6!important}

/* Action images stay on page; overlay has an obvious exit */
.akcija-puna-link{cursor:zoom-in}
.action-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(0,18,27,.94);display:none;align-items:center;justify-content:center;padding:64px 24px 24px}
.action-lightbox.is-open{display:flex}.action-lightbox img{max-width:min(1100px,94vw);max-height:86vh;object-fit:contain}.action-lightbox-close{position:fixed;right:22px;top:16px;width:46px;height:46px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:#0a4055;color:#fff;font-size:32px;line-height:40px;cursor:pointer}

/* V46: definitive catalog contrast — overrides inline Webflow colors */
.category-content .category-richtext table,
.category-content .category-richtext table * { color:#eef6fa !important; }
.category-content .category-richtext table { background:#0d3b57 !important; border-color:rgba(255,255,255,.16)!important; }
.category-content .category-richtext table thead,
.category-content .category-richtext table thead tr,
.category-content .category-richtext table thead th { background:#082b42 !important; color:#fff !important; }
.category-content .category-richtext table tbody tr,
.category-content .category-richtext table tbody td { background:#0d3b57 !important; color:#eef6fa !important; }
.category-content .category-richtext table tbody tr:nth-child(even) td { background:#103f5c !important; }
.category-content .category-richtext table td strong,
.category-content .category-richtext table td b,
.category-content .category-richtext table .catalog-price { color:#58d5f7 !important; }
.category-content .category-richtext h2,
.category-content .category-richtext h3,
.category-content .category-richtext h4 { color:#fff !important; }
.category-content .category-richtext p,
.category-content .category-richtext li { color:#dbe7ed !important; }

/* V47 — forced readable catalog tables on every product category */
.category-richtext table,
.category-richtext table.catalog-table {
  width:100% !important;
  background:#0b344d !important;
  color:#e9f8fc !important;
  border-color:rgba(88,213,247,.28) !important;
}
.category-richtext table thead,
.category-richtext table thead tr,
.category-richtext table th,
.category-richtext table.catalog-table th {
  background:#087eae !important;
  color:#ffffff !important;
  border-color:rgba(255,255,255,.25) !important;
}
.category-richtext table tbody,
.category-richtext table tbody tr,
.category-richtext table td,
.category-richtext table.catalog-table td {
  background:#0d3b57 !important;
  color:#dff8ff !important;
  border-color:rgba(88,213,247,.24) !important;
}
.category-richtext table tbody tr:nth-child(even) td,
.category-richtext table.catalog-table tbody tr:nth-child(even) td {
  background:#103f5c !important;
}
.category-richtext table td *,
.category-richtext table td p,
.category-richtext table td span,
.category-richtext table td strong,
.category-richtext table td b,
.category-richtext table td a {
  color:#dff8ff !important;
}
.category-richtext table td strong,
.category-richtext table .catalog-price,
.category-richtext table td:nth-last-child(2) {
  color:#58d5f7 !important;
  font-weight:800 !important;
}
.category-richtext table tbody tr:hover td { background:#154b69 !important; }
.category-richtext h3,.category-richtext h4 { color:#ffffff !important; }

/* V48: final CTA centered */
.products-test-final-cta{max-width:900px!important;margin:56px auto 36px!important;padding:28px 24px!important;text-align:center!important}
.products-test-final-cta-title,.products-test-final-cta-text,.products-test-final-cta-buttons{text-align:center!important}
.products-test-final-cta-buttons{display:flex!important;justify-content:center!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}

/* V48: Products dropdown */
.navbar .dropdown-menu{margin-top:0!important}
.navbar .dropdown-menu::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px;background:transparent}
.navbar .dropdown:hover>.dropdown-menu,.navbar .dropdown:focus-within>.dropdown-menu{display:block!important}

/* V49: mobile catalogue uses almost full screen width */
@media (max-width:767px){
  .category-back-link,.category-wrap,.category-richtext,
  .category-content,.category-content .category-richtext{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:8px!important;
    padding-right:8px!important;
    box-sizing:border-box!important;
  }
  .category-wrap{padding-top:18px!important}
  .category-title{font-size:clamp(30px,10vw,42px)!important}
  .category-richtext table,.category-richtext table.catalog-table{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .category-richtext table th,.category-richtext table td{
    padding-left:9px!important;
    padding-right:9px!important;
  }
}

/* V49: dropdown labels stay white even on hover/focus */

/* V54: simple, reliable mobile navigation — no hamburger / no JS */
.gigal-mobile-inline-nav{display:none}
@media (max-width:991.98px){
  #navbar .navbar-toggler,#navbar .navbar-collapse{display:none!important}
  #navbar{padding-bottom:4px!important}
  #navbar .container{justify-content:center!important}
  #navbar .navbar-brand{margin-right:0!important}
  .gigal-mobile-inline-nav{
    display:flex!important;
    width:100%;
    align-items:center;
    justify-content:center;
    gap:clamp(7px,2.4vw,18px);
    padding:7px 5px 10px;
    background:rgba(5,39,55,.94);
    border-top:1px solid rgba(255,255,255,.08);
    overflow:hidden;
    white-space:nowrap;
  }
  .gigal-mobile-inline-nav a{
    color:#fff!important;
    text-decoration:none!important;
    font-size:clamp(10px,3.15vw,14px)!important;
    font-weight:600;
    line-height:1.2;
    padding:4px 0;
    flex:0 0 auto;
  }
  .gigal-mobile-inline-nav a:hover,.gigal-mobile-inline-nav a:focus,.gigal-mobile-inline-nav a:active{color:#58d5f7!important}
}
@media (max-width:360px){
  .gigal-mobile-inline-nav{gap:6px;padding-left:3px;padding-right:3px}
  .gigal-mobile-inline-nav a{font-size:10px!important}
}

/* === JEDINO pravilo za nav/dropdown boje === */
.navbar .nav-link,
.navbar .nav-link.dropdown-toggle,
.navbar .dropdown-menu .dropdown-item,
.navbar .dropdown-menu .dropdown-item * {
  color:#ffffff!important;
  opacity:1!important;
  visibility:visible!important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.dropdown-toggle:hover,
.navbar .nav-link.dropdown-toggle:focus,
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item:hover *,
.navbar .dropdown-menu .dropdown-item:focus * {
  color:#ffffff!important;
  background:#123f50!important;
  opacity:1!important;
}
.navbar .nav-link.active{
  color:#1aa7e8!important;
}
