/* ============================================
    PRODUCT CARD FOOTER - kozepre igazitas
    ============================================ */
@media (max-width: 991px) {

    .product-card-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .product-card-footer .btn,
    .product-card-footer button {
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }
}

div.module-head-title {
    font-size: 15px !important; /* Kisebb betűméret (állíthatod pl. 14px-re is) */
    text-align: center !important; /* Középre igazítás */
    margin-top: -5px !important; /* Ez húzza feljebb az elemet (minél nagyobb a mínusz, annál feljebb megy) */
    margin-bottom: 15px !important; /* Helyhagyás alul, hogy ne csússzon rá a többi elemre */
    display: block !important; /* Biztosítja, hogy a teljes szélességet kitöltse, így működik a középre igazítás */
    font-weight: bold !important; /* Félkövér kiemelés megtartása */
    padding: 0 !important; /* Belső térköz eltüntetése */
    line-height: 1.2 !important;
}

/* Kizárólag PC-n (992px felett) ÉS KIZÁRÓLAG a Hasonló termékek (#similar_products) modulban - EGY PICIT KISEBB gombok */
@media (min-width: 992px) {
    #similar_products .aurora-scroll-list .product-card-footer .btn {
        font-size: 12px !important;       /* 13px-ről 12px-re finomítva */
        padding: 5px 10px !important;     /* A leheletnyivel kisebb belső margó */
        height: 32px !important;          /* 36px-ről 32px-re csökkentett magasság */
        line-height: 20px !important;     /* A 32px-es magassághoz igazított sorköz */
        min-width: 0 !important;          
        width: auto !important;           
    }
}

nav.pagination-wrapper {
    margin-top: 20px !important; /* Ezzel az értékkel tudod lejjebb tolni */
}

/* Alkategóriák teljes kibontása KIZÁRÓLAG mobilnézetben (767px és az alatti kijelzőkön) */
@media (max-width: 767px) {
    .subcategory-list {
        display: flex !important;
        flex-wrap: wrap !important; /* Sortörés engedélyezése */
        gap: 10px !important; /* Térköz a gombok között */
        overflow: visible !important; /* Görgetés letiltása */
        white-space: normal !important;
        justify-content: center !important; /* Középre igazítás */
        width: 100% !important;
    }

    .subcategory-list .subcategory-item {
        flex: 1 1 calc(50% - 10px) !important; /* Mobilon 2 elem legyen szépen egymás mellett */
        min-width: 130px !important;
        max-width: 100% !important;
        display: block !important;
        margin: 0 !important;
    }
}

/* 1. Teljes háttér, szegély és árnyék eltüntetése a sortbar-ról */
.sortbar.sortbar-top {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    
    /* 2. A fő konténer tartalmának középre igazítása (felülírja a Shoprenter "between" elrendezését) */
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important; /* Térköz a lapozó és a rendezés közé, ha egymás mellé/alá kerülnek */
    padding: 10px 0 !important; /* Esztétikus térköz alul-felül */
}

/* 3. A lapozó (pagination) blokk belső középre igazítása */
.sortbar.sortbar-top .pagination-wrapper {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 !important;
    width: auto !important; /* Ne feszüljön ki 100%-ra asztali nézetben */
}

/* 4. A rendezés (sort) blokk balra igazítása */
.sortbar.sortbar-top .sort {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    margin-right: auto !important;
}

a.d-block[href*="/blog-"] {
    font-size: 16px !important;
    line-height: 1.35;
}

body.product-page-body #manufacturer {
    display: none !important;
}

/* ===== KATEGORIA MENU: NINCS GORGETES ===== */
ul.category-menu,
ul.nav.category-menu,
.column-left ul.category-menu,
.diet-menu-box ul.category-menu,
#category-nav > ul.category-menu {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
}

/* A kornyezo dobozok se vagjanak */
.column-left #category-nav,
.column-left .module-body,
.diet-menu-container-inner,
.diet-menu-box {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}

/* 1. Általánosan MINDEN címsor középre igazítása az oldalon */
.module-head-title,
div.module-head-title {
  text-align: center !important;
}

/* 2. KIVÉTEL: A láblécben lévő címsorok legyenek balra igazítva */
footer.d-print-none .module-head-title {
  text-align: left !important;
  align-self: flex-start !important;
  margin-right: auto !important;
}


footer.d-print-none .module-head-title,
footer.d-print-none .module-head-title.section-module-head-title {
  text-align: left !important;
  display: block !important;           
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  clip-path: none !important;
  pointer-events: auto !important;
}

.module.content-module.side-position.module-editable.stockfilter-module {
  order: 9999 !important;
}

/* ============================================
    TERMÉKPARAMÉTEREK / SPECIFIKÁCIÓK MEGJELENÍTÉSE
    ============================================ */
.product-parameters,
.product-attributes,
.specifications,
.product-specs,
#tab-specification,
.tab-content #specification,
.product-property-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
}

/* Ha CSS-ből szeretnéd felülírni a gomb háttérszínét */
.notify-request.button-add-to-cart {
  background-color: #ffc107 !important; /* Sárga háttér */
  color: #000000 !important;             /* Fekete szöveg */
  border-color: #ffc107 !important;
}

/* --- KIZÁRÓLAG PC-RE / ASZTALI NÉZETRE (992px felett) --- */
@media (min-width: 992px) {

    /* 1. A kártya lábléce: gombok közötti GAP beállítása */
    .card-footer.product-card-footer,
    .product-card-footer {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;               /* FIX 6px hézag a gombok dobozai között */
        padding: 4px 0 !important;
        margin: 0 !important;
    }

    /* 2. A gombokat tartó belső dobozok illesztése */
    .card-footer.product-card-footer .product-card-item {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    /* 3. KIZÁRÓLAG A TERMÉKKÁRTYÁN LÉVŐ GOMBOK MINI MÉRETEZÉSE */
    .product-card-footer a.btn-secondary,
    .product-card-footer a.button-add-to-cart,
    .product-card-footer a.notify-request,
    .product-card-footer a.offer_request,
    .product-card-item a.btn-secondary,
    .product-card-item a.button-add-to-cart,
    .product-card-item a.notify-request,
    .product-card-item a.offer_request {
        width: 82px !important;            /* Kompakt szélesség a kártyán */
        max-width: 100% !important;
        height: 26px !important;           /* Alacsony magasság a kártyán */
        min-height: 26px !important;
        
        display: inline-flex !important; 
        align-items: center !important;     
        justify-content: center !important; 
        
        padding: 1px 2px !important;       
        margin: 0 !important;              
        box-sizing: border-box !important;
        
        font-size: 11px !important;        
        font-weight: 700 !important;       
        letter-spacing: -0.3px !important;  
        text-align: center !important;
        line-height: 1.0 !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-decoration: none !important;
    }

    /* 4. Ajánlatkérés gomb sárga háttérszíne (#FFC107) */
    a.offer_request {
        background-color: #FFC107 !important;
        background: #FFC107 !important;
        border-color: #FFC107 !important;
        color: #212529 !important;         /* Sötét betűszín a jó olvashatóságért */
    }

    /* 5. Belső szöveg (span) szigorú középre igazítása a kártyákon */
    .product-card-footer a span,
    .product-card-item a span {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

}

@media (max-width: 768px) {
  /* A Kosárba gomb alapméretének igazítása */
  a.btn.button-add-to-cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    /* Ha szélességben kisebb, ezzel azonos szélességet adhatsz nekik (pl. 50-50%): */
    width: 100%; 
    
    /* Magasság és belső térközök szinkronizálása a standard gombbal */
    padding: 8px 16px !important; /* Szükség esetén állítsd 10px 20px-re */
    font-size: 14px !important;    /* Betűméret növelése, ha kisebb lenne */
    line-height: 1.5 !important;
    box-sizing: border-box !important;
  }

  /* A gomb belsejében lévő span igazítása */
  a.btn.button-add-to-cart span {
    font-size: inherit !important;
    line-height: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
  }
}

/* Ajánlatkérés gomb sárga stílusa PC-n és Mobilon egyaránt */
a.offer_request,
a.offer_request:hover,
a.offer_request:focus,
a.offer_request:active {
    background-color: #FFC107 !important;
    background: #FFC107 !important;
    border-color: #FFC107 !important;
    color: #212529 !important; /* Sötét betűszín a jó olvashatóságért */
}

@media (max-width: 767px) {
    /* Részletek, Kosárba és Értesítés gombok egységesítése mobilon */
    .btn.btn-secondary,
    .btn.button-add-to-cart {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 42px !important;    /* Garantáltan egyforma magasság */
        padding: 8px 12px !important;   /* Egyforma belső térköz */
        font-size: 14px !important;     /* Egyforma betűméret */
        line-height: 1.5 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: normal !important; /* Ha hosszú a szöveg, ne lógjon ki */
    }

    /* Ha egymás mellett vannak, ne csússzanak szét (opcionális, de ajánlott) */
    .button-group .btn, 
    .product-thumb .button-group button, 
    .product-thumb .button-group a {
        width: 100% !important; /* Ha azt szeretnéd, hogy mobilon kitöltsék a teret és egymás alá kerüljenek */
        /* Ha egymás mellett akarod őket 50-50%-ban, akkor: width: 50% !important; */
    }

    /* A Kosárba/Értesítés gombok belsejében lévő <span> címke formázásának nullázása */
    .btn.button-add-to-cart span {
        padding: 0 !important;
        margin: 0 !important;
        font-size: inherit !important;
        line-height: inherit !important;
        display: inline-block !important;
    }
}

@media (min-width: 768px) {
    /* Tökéletesített gombok PC-n: automatikus, de egyforma magasságú dobozok */
    .product-card-right .btn.btn-secondary,
    .product-card-right .btn.button-add-to-cart {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        height: 48px !important;         /* Ideális, elegáns magasság */
        padding: 0 16px !important;      /* Kisebb, de biztonságos oldalsó margó, hogy ne lógjon ki semmi */
        
        font-size: 15px !important;      /* Picit finomított betűméret, amiben az Értesítés is tökéletesen elfér */
        font-weight: 600 !important;     
        line-height: normal !important;  
        
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: nowrap !important;  /* Biztosítja, hogy egy sorban maradjon */
    }

    /* A span címke hibátlan igazítása */
    .product-card-right .btn.button-add-to-cart span {
        display: inline !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: inherit !important;
        line-height: inherit !important;
        font-weight: inherit !important;
        white-space: nowrap !important; 
    }
}

@media (max-width: 767.98px) {
  .partners-row {
    justify-content: center !important;
  }
}

.announcement-item.d-flex {
  pointer-events: none;
}
/* Blog cikkoldalon a bevezető (fő) kép elrejtése, a bloglistában marad */
.information-page-body .information-introtext-box-picture {
    display: none !important;
}