/* ========================================================================
   Swedish Paleo – Global CSS
   Samlade globala stilar för hela webbplatsen.

   Innehåll:
   1. Typografi (Fet stil, Proxima Nova)
   2. Rubriker & Brödtext (Dosis, H1-H3, listor)
   3. Layout (Container, Sidebar, Masker)
   4. Elementor-justeringar
   5. Synlighet & Interaktion
   6. Sid-specifika regler
   7. Header & Meny
   8. WooCommerce & Butik
   9. CookieYes (Cookie-banner)
   10. Nyhetsbrev
   11. Utskrift (Print)
   12. Mobilanpassning
   ======================================================================== */


/* ========================================================================
   1. TYPOGRAFI (Fet stil)
   ======================================================================== */

b,
strong,
address:first-line,
dt {
    font-weight: 700 !important;
}


/* ========================================================================
   2. RUBRIKER & BRÖDTEXT
   Gäller standard WordPress-innehåll utanför Elementor.
   ======================================================================== */

/* --- H1 --- */
.page-wrapper .main-content.single h1 {
    font-size: 52px;
    line-height: 50px;
    color: #212721;
}

/* --- H2 --- */
.page-wrapper .main-content h2 {
    font-size: 50px;
    line-height: 50px;
}

/* --- H2 i brödtext (Dosis) --- */
.page-wrapper .main-content .the_content h2 {
    font-family: 'Dosis', sans-serif;
    text-transform: none !important;
    font-size: 24px !important;
    line-height: 35px;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 0px;
}

/* --- H3 i brödtext (Dosis) --- */
.page-wrapper .main-content .the_content h3 {
    font-family: 'Dosis', sans-serif;
    text-transform: none !important;
    font-size: 20px !important;
    line-height: 25px;
    font-weight: 600;
}

/* --- Listor & Radavstånd --- */
.page-wrapper .main-content .the_content li {
    line-height: 30px;
}

.page-wrapper .main-content .the_content ul li,
.page-wrapper .main-content .the_content ol li {
    margin-bottom: 20px;
}

/* --- Sidan "Vad är Paleo" --- */
.vad-ar-paleo h2 {
    text-transform: lowercase;
    letter-spacing: 0px;
}


/* ========================================================================
   3. LAYOUT (Container, Sidebar, Masker)
   ======================================================================== */

.container {
    max-width: 1270px;
}

.mask {
    width: 101%;
    height: 101%;
}

.crooked-top-bg,
.crooked-bottom-bg {
    background-size: 100% 102%;
}

@media only screen and (min-width: 641px) {
    .page-wrapper .sidebar {
        padding-left: 0%;
    }
}

@media only screen and (max-width: 640px) {
    .bx-wrapper {
        display: none;
    }
}


/* ========================================================================
   4. ELEMENTOR-JUSTERINGAR
   ======================================================================== */

.elementor-widget .elementor-icon-list-item,
.elementor-widget .elementor-icon-list-item a {
    align-items: flex-start;
}

.elementor-icon-list-icon {
    padding: 6px 2px 0px 0px;
}

.elementor-icon-list-text a {
    display: inline !important;
}


/* ========================================================================
   5. SYNLIGHET & INTERAKTION
   ======================================================================== */

#denna-vecka {
    display: block;
}

ul.tt_items_list.thin.page_margin_top.timetable_clearfix {
    display: block;
}

.sf-icon-love {
    font-size: 2rem;
    cursor: pointer;
}

img[title] {
    pointer-events: none;
}


/* ========================================================================
   6. SID-SPECIFIKA REGLER
   ======================================================================== */

.page-id-3948 h1,
.page-id-101832 h1,
.page-id-95572 h1 {
    display: none;
}


/* ========================================================================
   7. HEADER & MENY
   ======================================================================== */

.header .main-menu ul li {
    padding: 14px 23px;
}

@media (min-width: 961px) {
    li.mobile-only {
        display: none !important;
    }
}

@media only screen and (max-width: 1247px) {
    .header .main-menu ul li {
        font-size: 28px;
    }
}

@media only screen and (max-width: 1110px) {
    .header .main-menu ul li {
        padding: 14px 15px;
    }
}


/* ========================================================================
   8. WOOCOMMERCE & BUTIK
   ======================================================================== */

.woocommerce-message {
    display: none !important;
}

/* --- Brödsmulor --- */
.woocommerce-breadcrumb {
    display: inline-block;
    font-family: 'amatic_bold', sans-serif;
    font-size: 23px;
    color: #8c857b;
    margin-right: 5px;
    margin-bottom: 0;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.woocommerce-breadcrumb a {
    color: #8c857b;
}

.woocommerce-breadcrumb a:hover {
    color: #4a412a;
}

/* --- Formulär & Typsnitt --- */
.woocommerce-error,
.woocommerce-form-login,
.woocommerce-form-coupon,
.woocommerce-info,
.woocommerce-message,
.woocommerce form .form-row .input-text {
    font-family: 'proxima_nova_regular', sans-serif !important;
    font-size: 17px;
    color: #4d524d;
}

.newsletter-custom-submit {
    cursor: pointer;
}

/* --- Plugin-fixar --- */
.facetwp-facet {
    margin-bottom: 10px !important;
}

.recept-ingredienser-content {
    min-height: 0px !important;
}

/* --- Select2 (Dropdowns i kassan) --- */
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    height: 40px !important;
    padding: 0 12px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection__rendered {
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
}


/* ========================================================================
   9. COOKIEYES (Cookie-banner)
   ======================================================================== */

.cky-notice-des,
.cky-notice-des p {
    font-family: "Proxima Nova", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: #212121 !important;
    margin: 0 !important;
}

.cky-notice-des a,
.cky-policy {
    font-family: "Proxima Nova", sans-serif !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    border: none !important;
}

.cky-title,
.cky-preference-title,
.cky-preference-content-wrapper {
    font-family: "Proxima Nova", sans-serif !important;
    font-weight: 700 !important;
}

button.cky-btn,
a.cky-btn {
    font-family: "Proxima Nova", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    font-size: 13px !important;
}


/* ========================================================================
   10. NYHETSBREV
   ======================================================================== */

.fname-custom {
    font-family: "proxima_nova_regular", sans-serif;
    font-size: 14px;
    background: #CBC5B8 !important;
    width: 90% !important;
    padding: 10px 15px;
    margin-top: 10px;
    border: none !important;
    box-shadow: 0px 1px 5px #B7B1A7 inset;
    border-radius: 5px;
}


/* ========================================================================
   11. UTSKRIFT (Print)
   ======================================================================== */

@media print {
    #comments { display: none; }
    #footer { display: none; }
    .print { display: none; }
    h4 { display: none; }

    h2 {
        margin: 0;
        font-size: 40px !important;
    }

    h3 {
        margin: 0;
        font-size: 30px !important;
        padding: 0px;
    }

    img {
        padding: 0;
        margin: 0;
    }

    .breadcrumbs { display: none; }
    .simplefavorite-button { display: none; }
    .crooked-bottom-bg { display: none; }
    .recept-ikoner ul li img { display: none; }
    .page-header { display: none; }
    .recept-ingredienser-content { padding: 0px !important; }

    body {
        border-top: 10px solid #81BA80;
    }

    @page {
        size: auto;
        margin: 0;
        border-top: 5px solid #ffd800;
    }

    /* Dölj cookie-banners vid utskrift */
    #cookie-law-info-bar,
    .cookie-law-info-bar,
    .cli-bar-container,
    .cli-wrapper,
    .cli-modal,
    .cli-modal-backdrop,
    .cky-consent-container,
    .cky-overlay,
    .cky-preference-center {
        display: none !important;
        visibility: hidden !important;
    }

    html, body {
        overflow: visible !important;
    }
}


/* ========================================================================
   12. MOBILANPASSNING
   ======================================================================== */

/* Förhindra automatisk zoom på iOS vid klick i input-fält */
@media only screen and (max-width: 600px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Responsiva rubriker */
@media only screen and (max-width: 640px) {
    .page-wrapper .main-content.single h1 {
        font-size: 46px;
        line-height: 50px;
        color: #212721;
    }

    .page-wrapper .main-content.single h2 {
        font-size: 40px;
        line-height: 45px;
    }

    .page-wrapper .main-content .the_content h2 {
        letter-spacing: 0px;
        line-height: 25px !important;
    }

    .page-wrapper .main-content .the_content li {
        line-height: 26px;
    }
}


/* ========================================================================
   13. CITAT (BLOCKQUOTE)
   ======================================================================== */

blockquote {
    padding: 20px 30px !important;
    font-family: "Proxima Nova", sans-serif !important;
    font-style: italic !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    color: #4d524d !important;
    background: rgba(41, 148, 113, 0.05) !important;
    border-left: 5px solid #299471 !important;
}


/* ========================================================================
   14. BUTIK: PRODUKT-BADGES
   ======================================================================== */

.butik-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-family: "Proxima Nova", sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 4px 9px !important;
    border-radius: 50px !important;
    border: 1px solid transparent !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06) !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    z-index: 10 !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* AIP */
.shop-aip {
    background-color: #F0F5F9 !important;
    color: #587B99 !important;
    border-color: #D6E4ED !important;
}

.shop-aip::before {
    content: "\2713";
    font-size: 10px !important;
    font-weight: 900 !important;
    margin-right: 1px !important;
    position: relative;
    top: -0.5px;
}

/* PALEO */
.shop-paleo {
    background-color: #F8F5F2 !important;
    color: #8C857A !important;
    border-color: #E8E0D5 !important;
}

.shop-paleo::before {
    content: "\25CF";
    font-size: 8px !important;
    margin-right: 1px !important;
    position: relative;
    top: -0.5px;
}

/* REKOMMENDERAR */
.shop-reko {
    background-color: #FFFDE7 !important;
    color: #A67B00 !important;
    border-color: #F5E8B7 !important;
}

.shop-reko::before {
    content: "\2605";
    font-size: 10px !important;
    color: #FFC107 !important;
    margin-right: 1px !important;
    position: relative;
    top: -0.5px;
}
