/* === HÍRLEVÉL – UGYANAZ A KÉP DESKTOPON HÁTTÉR, MOBILON FENTI KÉP === */

/* DESKTOP (asztali) nézet: háttér + img elrejtése */
@media (min-width: 769px) {
  #newsletter_subscribe > div {
      background-image: url("https://kolyokszigetjatektar.myshoprenter.hu/custom/kolyokszigetjatektar/catalog/view/theme/madrid_diy/image/koszi-hirlevel-banner.jpg?time=1764444897") !important;
      background-size: cover !important;
      background-position: center center !important;
      background-repeat: no-repeat !important;
      min-height: 600px !important;
      padding-top: 60px !important;
      padding-bottom: 60px !important;
  }

  /* a modulkép (ugyanaz a fájl) itt ne jelenjen meg külön */
  #newsletter_subscribe img.img-fluid {
      display: none !important;
  }
}

/* MOBIL: ne legyen háttér, a kép maradjon a box fölött */
@media (max-width: 768px) {
  #newsletter_subscribe > div {
      background-image: none !important;
      min-height: auto !important;
      padding-top: 20px !important;
      padding-bottom: 20px !important;
  }

  /* mobilon a hírlevél képe látszódhat, ez lesz ugyanaz a banner */
  #newsletter_subscribe img.img-fluid {
      display: block !important;
      width: 100%;
      height: auto;
  }
}


/* ============================================
   SHOPRENTER WEBÁRUHÁZ - JAVÍTOTT CSS
   Logó méret: 140px (NEM MÓDOSÍTVA)
   ============================================ */

/* ============================================
   LOGÓ MÉRET - CSAK DESKTOP (140px)
   ============================================ */
@media (min-width: 768px) {
    .navbar-brand img,
    .navbar-brand > img,
    a[class*="navbar-brand"] img,
    .header-middle img[src*="logo"],
    .header-middle img[src*="Logo"],
    img.img-responsive[src*="logo"] {
        height: 140px !important;
        width: auto !important;
        max-width: none !important;
        max-height: 140px !important;
        min-height: 140px !important;
        object-fit: contain !important;
    }
}

/* ============================================
   HEADER SZERKEZET - KÖZPONTOSÍTOTT
   ============================================ */
.header-middle-line {
    min-height: 160px !important;
    height: auto !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.sticky-head {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    overflow: visible !important;
}

.header-middle {
    padding: 10px 0 !important;
    margin: 0 0 20px 0 !important;
}

/* ============================================
   NAVBAR - TÉRKÖZ JAVÍTÁS
   ============================================ */
.navbar-brand,
a.navbar-brand {
    padding: 0 !important;
    margin: 0 15px 0 0 !important;
    line-height: 1 !important;
}

.navbar,
nav.navbar {
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   CONTAINER - EGYSZERŰSÍTETT (téma alapértelmezett megtartása)
   ============================================ */
.header-middle-line .container,
.sticky-head .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ============================================
   BREADCRUMB (morzsamenü) - térköz
   ============================================ */
.breadcrumb,
nav[aria-label="breadcrumb"],
.page-head {
    margin-top: 20px !important;
    padding-top: 15px !important;
}

.page-body {
    margin-top: 20px !important;
}

/* ============================================
   KATEGÓRIA MENÜ - BALRA UGRÁS JAVÍTÁSA
   ============================================ */
.category-menu-button,
div#module_category_wrapper {
    margin-top: 20px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.sidebar,
.sidebar-left,
.category-menu,
.vertical-category-menu {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* CSAK FŐOLDALON - Térköz a slide és kategória között */
#category > div.module-body {
    padding-right: 20px !important;
}

ul.category-menu,
.category-menu ul {
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

/* Pseudo-element eltávolítása */
div#module_category_wrapper::after,
div#module_category_wrapper::before {
    display: none !important;
    content: none !important;
}

/* ============================================
   STICKY HEADER KIKAPCSOLÁSA
   ============================================ */
.headroom {
    position: relative !important;
    top: auto !important;
}

.headroom--pinned,
.headroom--unpinned,
.headroom--top,
.headroom--not-top {
    transform: none !important;
    position: relative !important;
}

/* ============================================
   FOOTER CÍM - sortörés
   ============================================ */
p.footer-contact-line.footer-contact-address {
    max-width: 280px !important;
    line-height: 1.8 !important;
    word-break: break-word !important;
}

/* ============================================
   KATEGÓRIA KÁRTYÁK - Betűtörés + Hover
   ============================================ */
.category-card-link,
a.card-link.category-card-link.stretched-link {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    padding: 10px 15px !important;
    display: block !important;
    color: #000000 !important;
}

.category-card-link:hover,
a.card-link.category-card-link.stretched-link:hover {
    background-color: transparent !important;
    color: #000000 !important;
}

.card.category-card:hover,
.card-body.category-card-body:hover {
    background-color: transparent !important;
    background: none !important;
}

.card.category-card {
    min-height: 100px !important;
}

.card.category-card .card-body {
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ============================================
   RESZPONZÍV - MOBIL (35px logó)
   ============================================ */
@media (max-width: 767px) {
    /* Logó mobil - 35px fix méret */
    .navbar-brand img,
    .navbar-brand > img,
    a[class*="navbar-brand"] img,
    .header-middle img[src*="logo"],
    .header-middle img[src*="Logo"],
    img.img-responsive[src*="logo"] {
        height: 80px !important;
        width: auto !important;
        max-height: 80px !important;
        min-height: 80px !important;
        max-width: none !important;
        object-fit: contain !important;
    }
    
    /* Header mobil - egyszerűsített */
    .header-middle-line {
        padding: 8px 0 !important;
    }
    
    .header-middle {
        padding: 8px 0 !important;
        margin: 0 0 15px 0 !important;
    }
    
    /* Container mobil */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Kategória kártyák mobil */
    .category-card-link {
        padding: 8px 10px !important;
        font-size: 14px !important;
    }
    
    /* Breadcrumb mobil - nagyobb térköz */
    .breadcrumb,
    nav[aria-label="breadcrumb"] {
        margin-top: 30px !important;
        padding-top: 15px !important;
        font-size: 12px !important;
    }
    
    .page-head {
        margin-top: 30px !important;
        padding-top: 15px !important;
    }
}

/* ============================================
   MOBIL LANDSCAPE - Fekvő mód (téma alapértelmezett logó)
   ============================================ */
@media (max-width: 767px) and (orientation: landscape) {
    /* Header landscape - kompakt */
    .header-middle-line {
        padding: 5px 0 !important;
    }
    
    .header-middle {
        padding: 5px 0 !important;
        margin: 0 0 10px 0 !important;
    }
    
    /* Breadcrumb landscape - extra térköz, hogy ne csússzon fel a slide */
    .breadcrumb,
    nav[aria-label="breadcrumb"],
    .page-head {
        margin-top: 40px !important;
        padding-top: 20px !important;
    }
    
    /* Page body - extra térköz */
    .page-body {
        margin-top: 30px !important;
    }
}

/* ============================================
   RESZPONZÍV - TABLET
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Logó tablet - köztes méret */
    .navbar-brand img {
        height: 110px !important;
        max-height: 110px !important;
        min-height: 110px !important;
    }
    
    /* Header tablet */
    .header-middle-line {
        min-height: 130px !important;
    }
}

/* ============================================
   SMOOTH TRANSITIONS
   ============================================ */
button,
a,
.btn,
.category-card-link {
    transition: all 0.3s ease !important;
}
/* Blog/hírek kártya kép: ne nőjön túl */
.news-card-image img,
.news-card-image-wrapper img,
img.news-card-image {
  width: auto !important;
  max-width: 340px !important;  /* állítsd 255/300/340-re ízlés szerint */
  height: auto !important;
  display: block;
  margin: 0 auto;              /* középre */
}


/* ============================================
   VÉGE
   ============================================ */