/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* hamburger */
.lines-button .lines { width: 80px; }
.lines-button .lines::before { width: 30px; top: 10px; }
.lines-button .lines::after { width: 80px; top: -10px; }
.lines-button.close .lines::before { width: 21px; }
.lines-button.close .lines::after { width: 21px; }
@media (max-width: 959px) {
li, dt, dd, dl, address, label, pre, code { font-size: 25px;}} /* gia ta social icons */
@media (max-width: 959px) {
    .font-size-menu-mobile, .menu-container:not(.grid-filters) ul.menu-smart a:not(.social-menu-link):not(.vc_control-btn) {
        font-size: 4vh!important; }}

/* Θέση: κέντρο αριστερά */
.details-left{
  position:fixed; left:16px; top:90%; transform:translateY(-50%);
  z-index:2147483000; font-family:inherit; list-style:none;
}

/* Το summary λειτουργεί σαν κουμπί */
.details-left > summary{
  width:48px; height:48px; border-radius:999px; cursor:pointer;
  background:#fff; border:1px solid rgba(0,0,0,.1);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
  display:flex; align-items:center; justify-content:center;
}

/* Αφαιρεί το default marker του summary */
.details-left > summary::-webkit-details-marker { display:none; }
.details-left > summary::marker { content:''; }

/* Το popover */
.details-left .kanoula-lang-popover{
  position:absolute; left:60px; top:50%; transform:translateY(-50%) translateX(-10px);
  background:#fff; border:1px solid rgba(0,0,0,.1); border-radius:12px;
  box-shadow:0 12px 32px rgba(0,0,0,.2);
  padding:6px; opacity:0; pointer-events:none; transition:.25s ease;
}

/* Όταν ανοίγει το <details> */
.details-left[open] .kanoula-lang-popover{
  opacity:1; transform:translateY(-50%) translateX(0); pointer-events:auto; height: 120px; width: 80px; padding-left: 20px;
}

/* Στυλ UL του Polylang */
.details-left .pll-switcher{ list-style:none; margin:0; padding:0; }
.details-left .pll-switcher li{ margin:0; }
.details-left .pll-switcher a{
  display:flex; align-items:center; gap:8px;
  padding:8px 10px; text-decoration:none; color:inherit; border-radius:8px;
}
.details-left .pll-switcher a:hover{ background:rgba(0,0,0,.06); }
.details-left .pll-switcher img{ width:16px; height:auto; display:block; }

/* Mobile */
@media (max-width: 959px){
  .details-left{ left:12px; top:auto; bottom:3%; transform:none; }
  .details-left > summary{ width:44px; height:44px; }
  .details-left .kanoula-lang-popover{ left:54px; top:auto; bottom:0; transform:none; }
  .details-left[open] .kanoula-lang-popover, li { line-height: 1.5; margin: 8px 0px 0px 0px; }
}

/* Κρύψε όταν ανοίγει off-canvas menu */
.menu-open .details-left{ display:none; }