/* Mobile header CTA next to hamburger */
@media (max-width: 991.98px){
  /* wrapper: keep CTA + toggler on one row */
  .header.navbar-area .d-flex.align-items-center.gap-2.ms-auto.d-lg-none{
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: auto !important;
  }

  /* CTA button look (match theme button) */
  .header.navbar-area a.navbar-mobile-cta{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background-color: #FF7A00 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 4px !important;

      padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
  }

    transition: 0.5s !important;
  }

  .header.navbar-area a.navbar-mobile-cta:hover{
    color: #fff !important;
  }
}

/* Extra-small screens */
@media (max-width: 420px){
  .header.navbar-area a.navbar-mobile-cta{
    padding: 5px 7px !important;
    font-size: 10px !important;
  }
}





.hero-area .hero-text h1 {
  color: #fff;
  font-size: 45px;
  line-height: 60px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 15px;
  position: relative;
}

.hero-area .hero-text h1::before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: -2px;
  height: 4px;
  width: 60px;
  margin-left: -30px;
  background: #FF7A00;
  border-radius: 10px;
}





/* Dátum szöveg legyen sima, szürke, mint a location */
.category-page .single-item-grid .info .price .updated {
    display: inline-block;
    /* vagy block, ha külön sorban akarod */
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    /* hasonló szürke, mint a location szöveg */
}

/* Ikon mellé kis távolság */
.category-page .single-item-grid .info .price .updated i {
    margin-right: 4px;
}








/* --- Sidebar kereső mező (ugyanolyan kinézet, mint a demóban) --- */
.category-sidebar .single-widget.search .publio-search-wrap {
    position: relative;
    margin-top: 15px;
}

.category-sidebar .single-widget.search .publio-search-wrap input[type="text"] {
    width: 100%;
    height: 56px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 0 50px 0 18px;
    /* balra szöveg, jobbra ikon hely */
    font-size: 15px;
    outline: none;
}

.category-sidebar .single-widget.search .publio-search-wrap button {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.category-sidebar .single-widget.search .publio-search-wrap button i {
    font-size: 18px;
}

/* --- Ár mező: úgy nézzen ki, mint a "$ 100" felirat a demóban --- */
.category-sidebar .single-widget.range .range-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.category-sidebar .single-widget.range .range-inner label {
    margin: 0;
}

.category-sidebar .single-widget.range .range-inner input[type="text"] {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    width: auto;
    font-weight: 600;
}






/* Equal height cards in "Legújabb termékek" section */
.items-grid .single-head .row>[class*="col-"] {
    display: flex;
    /* make each column a flex container */
}

.items-grid .single-grid {
    display: flex;
    flex-direction: column;
    /* image + content in a column */
    flex: 1 1 auto;
    /* card stretches to fill column height */
}

/* Make the white content area fill the remaining space */
.items-grid .single-grid .content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.items-grid .single-grid .content .top-content {
    flex: 1 1 auto;
    /* text area grows */
}

.items-grid .single-grid .content .bottom-content {
    margin-top: auto;
    /* price row sticks to the bottom */
}

/* Optional: force same image height for perfectly aligned cards */
.items-grid .single-grid .image img {
    width: 100%;
    height: 220px;
    /* adjust if you want taller/shorter cards */
    object-fit: cover;
    display: block;
}




/* cockie */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #111827;
    color: #f9fafb;
    padding: 12px 0;
    font-size: 14px;
    box-shadow: 0 -5px 20px rgba(15, 23, 42, 0.35);
}

.cookie-consent .container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-consent p {
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.cookie-consent .cookie-more {
    color: #facc15;
    text-decoration: underline;
}

.cookie-consent .btn {
    white-space: nowrap;
    padding: 10px 22px;
    background-color: #da6c04ea;
    border-radius: 4px;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.cookie-consent .btn:hover {
    background-color: #c55f02;
}

@media (max-width: 767px) {
    .cookie-consent .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent .btn {
        align-self: stretch;
        text-align: center;
    }
}
/* "felhasználási feltételeket" link – narancssárga, mint a gombok */
label[for="flexCheckDefault"] a {
    color: #da6c04ea;
    font-weight: 500;
    text-decoration: underline;
}

label[for="flexCheckDefault"] a:hover {
    color: #da6c04ea;
    text-decoration: none;
}



/* new style footer */
/* ===== Kompaktabb footer ===== */

body .footer-top {
    padding-top: 25px !important;
    padding-bottom: 15px !important;
}

body .footer .single-footer h3 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
}

body .footer .single-footer ul li {
    margin-bottom: 4px !important;
}

body .footer .single-footer ul li,
body .footer .single-footer ul li a {
    font-size: 14px !important;
}

/* Footer bottom rész is legyen vékonyabb */
body .footer-bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}


/* Megye select: saját nyíl és alap stílus */
#ad_user_state {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding-right: 2.5rem; /* hely a nyílnak */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23999' stroke-width='1.5' d='M1 1l5 5 5-5' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px 8px;
  cursor: pointer;
}
#ad_user_state:focus {
  outline: none;
  box-shadow: none;
  border-color: #e0e0e0; /* maradhat ugyanaz, mint alapból */
}

/* legujabb hirdetesek kep ki toltes */
/* ===== Latest items kártya képek javítása ===== */
.items-grid .single-grid .image {
  position: relative;
  overflow: hidden;           /* kilógó rész vágása */
}

/* A thumbnail link töltse ki a teljes dobozt */
.items-grid .single-grid .image .thumbnail {
  display: block;
  width: 100%;
  /* opcionális, hogy minden kártya egyforma magas legyen: */
  aspect-ratio: 16 / 16;       /* ha túl magas/alacsony, nyugodtan állítsd */
}

/* Maga a kép töltse ki a thumbnail-t */
.items-grid .single-grid .image .thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* kitölti, a felesleget levágja */
}
.items-grid .single-grid .image::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  /* csak az alsó rész legyen sötétebb */
  background: linear-gradient(to bottom,
    rgba(0,0,0,0) 40%,
    #000000e3 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* 2) Az author blokk marad a tetején */
.items-grid .single-grid .image .author {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

/* 3) Régi overlay kikapcsolása, hogy ne duplázódjon */
.items-grid .single-grid .image .author::before {
  content: none !important;
}






/* legujab hirdetesek doboz egyseges meret  */
.how-works .col-lg-4,
.how-works .col-md-4,
.how-works .col-12 {
  display: flex;
}

.how-works .single-work {
  flex: 1 1 auto;
  /* display: flex; */
  flex-direction: column;
}
/* rulex doboz egyseges meret */
.why-choose .single-list {
  height: 25rem; /* ha kell, állítsd: 240–320px között */
}



/* ===== Header language switcher ===== */
.header-lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px; /* kis hely a gomb előtt */
}

.header-lang-switcher .lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #FF7A00;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #FF7A00;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-lang-switcher .lang-link:hover {
  background: rgba(255, 122, 0, 0.08);
}

.header-lang-switcher .lang-link.is-active {
  background: #FF7A00;
  color: #ffffff;
}

/* Opcionális: mobilon kicsit kisebb és ne lógjon szét */
@media (max-width: 991.98px) {
  #navbarSupportedContent .header-lang-switcher--mobile {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.12);
    gap: 10px;
    flex-wrap: wrap;
  }

  .header-lang-switcher {
    margin-right: 0;
    margin-left: auto;
  }

  .header-lang-switcher .lang-link {
    padding: 2px 6px;
    font-size: 12px;
  }
    #navbarSupportedContent .navbar-nav .nav-item > a.dd-menu::after,
  #navbarSupportedContent .navbar-nav .nav-item > a.dropdown-toggle::after {
    display: none !important;
    content: none !important;
  }
}

/* footer mail style */
.footer .f-contact a {
  color: #fff !important;
  text-decoration: none !important;
}

.footer .f-contact a:hover,
.footer .f-contact a:focus {
  color: #fff !important;
  text-decoration: none !important;
}

/* kisebb dobozok a hirdeteseknel  */
@media (max-width: 575.98px){

  /* keep image + content on one row (no stacking) */
  .publio-ad-card-row{
    --bs-gutter-x: .75rem;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .publio-ad-card-row > .publio-ad-card-media{
    width: 42% !important;
    flex: 0 0 42% !important;
  }

  .publio-ad-card-row > .publio-ad-card-body{
    width: 58% !important;
    flex: 1 1 auto !important;
  }

  /* smaller image */
  .publio-ad-card-row .image img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }

  /* tighter typography */
  .publio-ad-card-row .content .tag{
    font-size: 12px;
    padding: 3px 8px;
    margin-bottom: 6px;
  }

  .publio-ad-card-row .content .title{
    font-size: 14px;
    line-height: 1.25;
    margin: 0 0 6px;
  }

  .publio-ad-card-row .content .location{
    font-size: 12px;
    margin: 0 0 6px;
  }

  /* price block: remove the extra line-break */
  .publio-ad-card-row .info .price br{
    display: none;
  }

  .publio-ad-card-row .info .price{
    font-size: 16px;
    line-height: 1.1;
  }

  /* make "updated" not take multiple lines */
  .publio-ad-card-row .info .updated{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px;
  }
}

/* reklam */

/* === Publio AdSense (Sidebar) - clean fix === */

/* Widget container: don't force huge empty space */
.single-widget.banner{
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 30px !important;
}

/* AdSense element: override injected inline height (e.g. 600px) */
.single-widget.banner ins.adsbygoogle[data-ad-slot="7123290045"]{
  display: block !important;
  width: 100% !important;
  height: auto !important;      /* beats inline height with !important */
  min-height: 0 !important;     /* no reserved space by default */
  line-height: 0 !important;
  overflow: hidden !important;
}

/* If AdSense marks as unfilled, hide completely (no "white hole") */
.single-widget.banner ins.adsbygoogle[data-ad-slot="7123290045"][data-ad-status="unfilled"],
.single-widget.banner ins.adsbygoogle[data-ad-slot="7123290045"][data-adsbygoogle-status="unfilled"]{
  display: none !important;
}

/* Optional: when filled, keep a nice sidebar height */
.single-widget.banner ins.adsbygoogle[data-ad-slot="7123290045"][data-ad-status="filled"]{
  min-height: 250px !important;
}
/* single pagen a hirdetes style */
.publio-ad-wrap{
  margin: 18px 0;
}

.publio-ad-wrap ins.adsbygoogle{
  display:block !important;
  width:100% !important;
  height:auto !important;     /* override injected inline height */
  min-height:0 !important;    /* no reserved white hole */
  line-height:0 !important;
  overflow:hidden !important;
}

.publio-ad-wrap ins.adsbygoogle[data-ad-status="unfilled"],
.publio-ad-wrap ins.adsbygoogle[data-adsbygoogle-status="unfilled"]{
  display:none !important;
}




