/*
 * Astrabit - Global Typography
 * Independent from Reco Theme Functions.
 */

/* Podstawowa typografia witryny */
html body {
    font-family: "Maven Pro", Arial, sans-serif;
}

/* Formularze i elementy interaktywne */
body button,
body input,
body select,
body textarea,
body .button,
body .wp-element-button {
    font-family: "Maven Pro", Arial, sans-serif;
}

/* Naglowki dziedziczace stary font z Reco */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: "Maven Pro", Arial, sans-serif;
}

/* Sklep z modulami PrestaShop */
body .ab-shop-page,
body .ab-shop-page h1,
body .ab-shop-page h2,
body .ab-shop-page h3,
body .ab-shop-page h4,
body .ab-shop-page h5,
body .ab-shop-page h6,
body .ab-shop-page p,
body .ab-shop-page a,
body .ab-shop-page button,
body .ab-shop-page label,
body .ab-shop-page input,
body .ab-shop-page select {
    font-family: "Maven Pro", Arial, sans-serif !important;
}

/* WooCommerce - katalog i elementy standardowe */
body.woocommerce,
body.woocommerce-page {
    font-family: "Maven Pro", Arial, sans-serif;
}

/* Stopka Astrabit */
body footer,
body #footer,
body .ab-footer2 {
    font-family: "Maven Pro", Arial, sans-serif !important;
}

/* Elementy tekstowe stopki, bez nadpisywania fontow ikon */
body footer :is(h1,h2,h3,h4,h5,h6,p,a,button,small,label),
body #footer :is(h1,h2,h3,h4,h5,h6,p,a,button,small,label),
body .ab-footer2 :is(h1,h2,h3,h4,h5,h6,p,a,button,small,label) {
    font-family: "Maven Pro", Arial, sans-serif !important;
}

/* ASTRABIT GLOBAL CONTACT CENTER V1 */

/* Kontenery Reco otaczajace sekcje kontaktowe */
body .left-content.section.np-mobile:has(#kontakt-prestashop),
body .left-content.section.np-mobile:has(.ab-ps-contact-section) {
    float: none !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* Wewnetrzny kontener */
body .left-content.section.np-mobile:has(.ab-ps-contact-section)
> .center.grid-container {
    float: none !important;
    display: block !important;
    width: calc(100% - 40px) !important;
    max-width: 1440px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
}

/* Samodzielna sekcja kontaktowa Astrabit */
body .ab-ps-contact-section,
body #kontakt-prestashop {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    clear: both !important;
}

/* Naglowek sekcji */
body .ab-ps-contact-title,
body .ab-ps-contact-desc {
    text-align: center;
}

/* Typografia sekcji */
body .ab-ps-contact-section,
body .ab-ps-contact-section :is(h2,h3,p,a,label,input,textarea,select,button) {
    font-family: "Maven Pro", Arial, sans-serif;
}

@media (max-width: 767px) {
    body .left-content.section.np-mobile:has(.ab-ps-contact-section)
    > .center.grid-container {
        width: calc(100% - 32px) !important;
    }
}

