/* Navneleg Suite: theme compatibility migrated from WordPress Custom CSS #13098 on 2026-10-02. */
/****************************************
 * Woo-arkiv header (shop + kategorier)
 * baggrund, højde og typografi
 ****************************************/

/* = fælles: shop / kategori / tag = */
body.post-type-archive-product #page-header-wrap,
body.tax-product_cat           #page-header-wrap,
body.tax-product_tag           #page-header-wrap {
    background-color: white  !important;
}

/* Fjern overlay fra Salient */
body.post-type-archive-product #page-header-bg:before,
body.tax-product_cat           #page-header-bg:before,
body.tax-product_tag           #page-header-bg:before {
    content: none !important;
}

/* Selve header-blokken */
body.post-type-archive-product #page-header-bg,
body.tax-product_cat           #page-header-bg,
body.tax-product_tag           #page-header-bg {
    background-color: transparent !important;
    height: auto !important;
    min-height: 0 !important;
	
}

/* Containeren i headeren */
body.post-type-archive-product #page-header-bg .container,
body.tax-product_cat           #page-header-bg .container,
body.tax-product_tag           #page-header-bg .container {
    height: 50px;
}

body.post-type-archive-product #page-header-bg h1,
body.tax-product_cat           #page-header-bg h1,
body.tax-product_tag           #page-header-bg h1 {
	font-size: 24px !important;
    line-height: 1.25;
    font-weight: 300;
    font-style: italic;
    text-align: center;
    margin: 0;
}


/* DESKTOP */


/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
}


/* -------------------------------------------------
   DESKTOP (≥ 1025px)
   ------------------------------------------------- */
@media (min-width: 1025px) {

    body.post-type-archive-product #page-header-bg,
    body.tax-product_cat           #page-header-bg,
    body.tax-product_tag           #page-header-bg {
        padding-top: 40px;   /* luft over overskrift */
        padding-bottom: 24px;/* luft under overskrift */
    }

    body.post-type-archive-product #page-header-bg h1,
    body.tax-product_cat           #page-header-bg h1,
    body.tax-product_tag           #page-header-bg h1 {
        font-size: 32px;     /* DESKTOP størrelse */
    }
}

/* -------------------------------------------------
   TABLET (768–1024px)
   ------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {

    body.post-type-archive-product #page-header-bg,
    body.tax-product_cat           #page-header-bg,
    body.tax-product_tag           #page-header-bg {
        padding-top: 32px;
        padding-bottom: 20px;
    }

    body.post-type-archive-product #page-header-bg h1,
    body.tax-product_cat           #page-header-bg h1,
    body.tax-product_tag           #page-header-bg h1 {
        font-size: 28px;     /* TABLET størrelse */
    }
}

/* -------------------------------------------------
   MOBIL (≤ 767px)
   ------------------------------------------------- */
@media (max-width: 767px) {

    body.post-type-archive-product #page-header-bg,
    body.tax-product_cat           #page-header-bg,
    body.tax-product_tag           #page-header-bg {
        padding-top: 24px;
        padding-bottom: 10px;
    }

    body.post-type-archive-product #page-header-bg h1,
    body.tax-product_cat           #page-header-bg h1,
    body.tax-product_tag           #page-header-bg h1 {
        font-size: 16px !important;     /* MOBIL størrelse */
    }
}
/* MOBIL */


/* ===== Modal wrapper ===== */

div[id^="ult-modal-wrap-"].ult_modal-content {
    border: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18) !important;

    max-height: 96vh !important;
    margin: 2vh auto !important;
}


/* ===== Modal body ===== */

div[id^="ult-modal-wrap-"].ult_modal-content .ult_modal-body {
    background: #f8fbfd !important;
    padding: 32px !important;
    line-height: 1.5 !important;

    border: none !important;

    max-height: 96vh !important;
    overflow-y: auto !important;
}


/* ===== Close button ===== */

div[id^="ult-modal-wrap-"].ult_modal-content .ult-overlay-close {

    top: 16px !important;
    right: 16px !important;

    width: 44px !important;
    height: 44px !important;

    border-radius: 999px !important;

    background: #3f6b93 !important;
    color: #ffffff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 20px !important;
    line-height: 1 !important;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}


/* ===== Hover (så det føles lidt mindre WordPress-plugin) ===== */

div[id^="ult-modal-wrap-"].ult_modal-content .ult-overlay-close:hover {

    background: #2e5576 !important;
    transform: scale(1.05);
}