/**
* Theme Name: Cosmetsy Child
* Description: This is a child theme of Cosmetsy, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: cosmetsy
* Version: 2.0.4
*/
/* TikTok icon — δεν υπάρχει στο klb icon font του θέματος */
.klb-tiktok::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"/></svg>') no-repeat center / contain;
}

/* Blog listing: περιορισμός ύψους featured images (οι προϊοντικές είναι τετράγωνες/μεγάλες) */
.blog .post-thumbnail img,
.archive .post-thumbnail img,
.blog article .entry-media img,
.archive article .entry-media img {
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Πιο γενικός selector — δουλεύει σε κάθε blog listing context */
article.blog-post figure.entry-media img {
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Απόκρυψη του κενού canvas-bottom fallback menu στο off-canvas panel */
.site-offcanvas .canvas-bottom { display: none !important; }

/* Μεγαλύτερο header logo */
img[src*="logo-black-ready"] {
    width: 210px !important;
    max-width: 210px !important;
    height: auto !important;
    max-height: none !important;
}

/* Απόκρυψη κουμπιών με κενό link (ορφανά demo κουμπιά) */
a.button[href=""] { display: none !important; }





@media (max-width: 767px) {
  .elementor-element-59050da .banner-box,
  .elementor-element-59050da .banner-box .banner-wrapper,
  .elementor-element-59050da .banner-box .entry-media {
    height: auto !important;
    min-height: 0 !important;
  }

  .elementor-element-59050da img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    display: block !important;
  }
}

@media (max-width: 767px) {
  .elementor-element-59050da {
    display: block !important;
    margin-bottom: 24px !important;
  }

  .elementor-element-59050da .banner-box,
  .elementor-element-59050da .banner-box .banner-wrapper,
  .elementor-element-59050da .banner-box .entry-media {
    height: 760px !important;
    min-height: 760px !important;
    overflow: hidden !important;
  }

  .elementor-element-59050da img {
    width: 100% !important;
    height: 760px !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
  }
}

@media (max-width: 767px) {
  .elementor-element-75d4d65 {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 767px) {

  .elementor-element-59050da {
    padding: 20px 15px 30px 15px !important;
    margin-top: 10px !important;
  }

}

/* FINAL MOBILE HERO */
@media (max-width: 767px) {
  .elementor-element-75d4d65 {
    display: none !important;
  }

  .elementor-element-59050da {
    display: block !important;
    padding: 16px 0 24px 0 !important;
    margin: 0 !important;
    background: none !important;
  }

  .elementor-element-59050da,
  .elementor-element-59050da * {
    height: auto !important;
    min-height: 0 !important;
    background-image: none !important;
  }

  .elementor-element-59050da img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }
}
    object-fit: contain !important;
  }
}

@media (max-width: 767px) {

  .site-header--mobile .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .site-header--mobile .container > .row {
    min-height: 70px !important;
  }

  .site-header--mobile .site-brand img,
  .site-header--mobile .site-brand svg {
    max-height: 38px !important;
  }

}

@media (max-width: 767px) {
  .site-header--mobile .container > .row {
    min-height: 76px !important;
  }
}

@media (max-width: 767px) {
  .site-header--mobile .container > .row {
    min-height: 70px !important;
  }
}

/* Mobile banner μόνο σε κινητά */
@media (min-width: 768px) {
  .elementor-element-59050da {
    display: none !important;
  }
}


/* FIX: desktop banner να φαίνεται ξανά */
@media (min-width: 768px) {
  .elementor-element-59050da {
    display: block !important;
  }
}


/* Desktop banner: εμφανίζεται σε desktop */
@media (min-width: 768px) {
  .elementor-element-59050da {
    display: block !important;
  }

  .elementor-element-4d58c6a {
    display: none !important;
  }
}

/* Mobile banner: εμφανίζεται μόνο σε mobile */
@media (max-width: 767px) {
  .elementor-element-59050da {
    display: none !important;
  }

  .elementor-element-4d58c6a {
    display: block !important;
  }
}


/* ── Εναλλάκτης γλώσσας (EL/EN) στο topbar ── */
.language-switcher .menu .bw-lang-item {
  display: inline-flex;
  align-items: center;
}
.language-switcher .menu .bw-lang-item a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
}
.bw-lang-flag {
  width: 20px;
  height: 13px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0,0,0,.35);
}
.bw-lang-code {
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}
.bw-lang-item.bw-lang-current a {
  font-weight: 700;
  opacity: 1;
}
.bw-lang-item:not(.bw-lang-current) a {
  opacity: .6;
}
.bw-lang-item:not(.bw-lang-current) a:hover {
  opacity: 1;
}
