/*
Theme Name: JL GeneratePress Child
Description: GeneratePress child theme with a preconfigured editable starter layout.
Author: JL
Template: generatepress
Version: 1.0.0
Text Domain: jl-gp-child
*/
:root{--jl-blue:#1594d1;--jl-blue-dark:#0c5f91;--jl-ink:#111827;--jl-muted:#64748b;--jl-line:#e5e7eb;--jl-soft:#f5f7f9;--jl-radius:16px}
body{color:var(--jl-ink)}
.jl-home .wp-block-group,.jl-section{padding:70px 24px}.jl-home .jl-wrap{max-width:1180px;margin:auto}.jl-hero{padding:92px 24px 80px;background:linear-gradient(135deg,#fff,#f4f8fb 55%,#eaf5fb);border-bottom:1px solid var(--jl-line)}.jl-hero h1{font-size:clamp(42px,7vw,76px);line-height:1.03;letter-spacing:-.05em;margin:12px 0 16px}.jl-eyebrow{color:var(--jl-blue-dark);font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.jl-lead{font-size:20px;max-width:740px;color:#475569}.jl-stats{display:flex;gap:10px;flex-wrap:wrap}.jl-stats span{background:#eef7fb;color:var(--jl-blue-dark);padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800}.jl-section-soft{background:var(--jl-soft)}.jl-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.jl-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.jl-card{background:#fff;border:1px solid var(--jl-line);border-radius:var(--jl-radius);padding:22px;box-shadow:0 1px 0 rgba(15,23,42,.02)}.jl-card h2,.jl-card h3{margin-top:0}.jl-button,.jl-home .wp-block-button__link{background:var(--jl-blue);border-radius:10px;font-weight:800}.jl-button-outline{background:#fff!important;color:var(--jl-ink)!important;border:1px solid var(--jl-line)!important}.jl-faq details{border:1px solid var(--jl-line);border-radius:12px;padding:17px;margin:9px 0;background:#fff}.jl-faq summary{font-weight:800;cursor:pointer}.jl-product-grid ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.jl-product-grid ul.products li.product{width:auto!important;margin:0!important}.jl-secondary-nav{background:#fff;border-bottom:1px solid var(--jl-line)}.jl-secondary-nav .inside-navigation{max-width:1180px;margin:auto;padding:0 24px}.jl-secondary-nav ul{display:flex;gap:20px;list-style:none;margin:0;padding:10px 0}.jl-secondary-nav a{font-weight:700;font-size:14px}@media(max-width:900px){.jl-grid,.jl-product-grid ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.jl-hero,.jl-home .wp-block-group,.jl-section{padding-left:16px;padding-right:16px}.jl-grid,.jl-grid-2,.jl-product-grid ul.products{grid-template-columns:1fr}.jl-secondary-nav ul{overflow:auto;white-space:nowrap}}
/*
 Theme Name: JL GeneratePress Drugify Style Child
 Template: generatepress
 Version: 1.0
*/

/* =========================
   GRUND
========================= */

:root {
    --jl-bg: #ffffff;
    --jl-soft: #f5f6f7;
    --jl-dark: #17191c;
    --jl-text: #30343a;
    --jl-muted: #72777f;
    --jl-green: #29c779;
    --jl-green-dark: #1eaa65;
    --jl-border: #e7e9eb;
    --jl-radius: 14px;
    --jl-shadow: 0 8px 30px rgba(0,0,0,.06);
}

body {
    background: var(--jl-bg);
    color: var(--jl-text);
}

/* Ta bort begränsningar så startsidan får egen layout */
.home .site-content,
.home #primary,
.home #main,
.home .inside-article {
    max-width: none;
    width: 100%;
}

.home .inside-article {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.home .entry-header {
    display: none;
}

.jl-home {
    width: 100%;
    overflow: hidden;
}

.jl-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================
   HERO
========================= */

.jl-hero {
    padding: 100px 0 110px;
    background:
        radial-gradient(circle at 85% 15%, rgba(41,199,121,.13), transparent 28%),
        radial-gradient(circle at 10% 80%, rgba(41,199,121,.08), transparent 25%),
        #17191c;
    color: #fff;
}

.jl-hero .jl-wrap {
    max-width: 1180px;
}

.jl-eyebrow {
    display: inline-block;
    margin: 0 0 20px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 100px;
    color: var(--jl-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jl-hero h1 {
    max-width: 850px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.04em;
}

.jl-lead {
    max-width: 680px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.72);
    font-size: 20px;
    line-height: 1.65;
}

.jl-stats {
    margin-bottom: 32px;
    color: rgba(255,255,255,.65);
    font-size: 15px;
}

/* =========================
   KNAPPAR
========================= */

.jl-home .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.jl-home .wp-block-button {
    margin: 0;
}

.jl-home .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 8px;
    background: var(--jl-green);
    color: #111 !important;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.jl-home .wp-block-button__link:hover {
    background: var(--jl-green-dark);
    transform: translateY(-2px);
}

.jl-home .wp-block-button__link.jl-button-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
    color: #fff !important;
}

.jl-home .wp-block-button__link.jl-button-outline:hover {
    background: #fff;
    border-color: #fff;
    color: #17191c !important;
}

/* =========================
   SEKTIONER
========================= */

.jl-section {
    padding: 90px 0;
}

.jl-section-soft {
    background: var(--jl-soft);
}

.jl-section h2 {
    margin: 0 0 12px;
    color: var(--jl-dark);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.025em;
}

.jl-section > .jl-wrap > p {
    max-width: 700px;
    margin-bottom: 38px;
    color: var(--jl-muted);
    font-size: 18px;
    line-height: 1.65;
}

/* =========================
   GRID
========================= */

.jl-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.jl-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jl-card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--jl-border);
    border-radius: var(--jl-radius);
    box-shadow: var(--jl-shadow);
}

.jl-card h2,
.jl-card h3 {
    margin-top: 0;
    color: var(--jl-dark);
    font-weight: 800;
}

.jl-card h2 {
    font-size: 28px;
}

.jl-card h3 {
    font-size: 20px;
}

.jl-card p {
    color: var(--jl-muted);
    line-height: 1.65;
}

.jl-card > p:first-child {
    color: var(--jl-green-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* =========================
   WOOCOMMERCE PRODUKTER
========================= */

.jl-home .woocommerce ul.products,
.jl-home ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 !important;
}

.jl-home .woocommerce ul.products::before,
.jl-home .woocommerce ul.products::after,
.jl-home ul.products::before,
.jl-home ul.products::after {
    display: none !important;
}

.jl-home .woocommerce ul.products li.product,
.jl-home ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--jl-border);
    border-radius: var(--jl-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.jl-home .woocommerce ul.products li.product:hover,
.jl-home ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--jl-shadow);
}

.jl-home .woocommerce ul.products li.product img,
.jl-home ul.products li.product img {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.jl-home .woocommerce-loop-product__title,
.jl-home ul.products li.product .woocommerce-loop-product__title {
    padding: 0 !important;
    color: var(--jl-dark);
    font-size: 16px;
    font-weight: 700;
}

.jl-home .price {
    color: var(--jl-green-dark) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

.jl-home .button,
.jl-home .add_to_cart_button {
    width: 100%;
    margin-top: 12px !important;
    padding: 12px 15px !important;
    border-radius: 7px !important;
    background: var(--jl-dark) !important;
    color: #fff !important;
    text-align: center;
}

.jl-home .button:hover,
.jl-home .add_to_cart_button:hover {
    background: var(--jl-green-dark) !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {

    .jl-grid,
    .jl-home .woocommerce ul.products,
    .jl-home ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jl-section {
        padding: 70px 0;
    }

    .jl-hero {
        padding: 80px 0;
    }
}

@media (max-width: 600px) {

    .jl-wrap {
        width: min(100% - 28px, 1180px);
    }

    .jl-hero {
        padding: 65px 0 70px;
    }

    .jl-hero h1 {
        font-size: 42px;
    }

    .jl-lead {
        font-size: 17px;
    }

    .jl-grid,
    .jl-grid-2,
    .jl-home .woocommerce ul.products,
    .jl-home ul.products {
        grid-template-columns: 1fr;
    }

    .jl-section {
        padding: 55px 0;
    }

    .jl-card {
        padding: 24px;
    }

    .jl-home .wp-block-buttons {
        flex-direction: column;
    }

    .jl-home .wp-block-button,
    .jl-home .wp-block-button__link {
        width: 100%;
    }
}