/*
Theme Name: El Klaver
Theme URI: https://el-klaver.dk/
Author: Tropic Traffic LLC-FZ
Description: Lightweight, SEO-focused theme for el-klaver.dk. No page builder. Built for WooCommerce external (affiliate) products imported with Datafeedr, and Yoast SEO.
Version: 1.3.4
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elklaver
*/

/* ============ Tokens ============ */
:root{
	--bg:#faf7f2; --surface:#fff; --ink:#1c1a17; --muted:#6b655c; --line:#e7e1d6; --soft:#f2ece2;
	--accent:#b8873b; --cta:#1d6b55; --cta-hover:#155241; --cta-deep:#123f35; --gold-text:#8a6427; --sale:#c2410c;
	--radius:14px; --wrap:1200px;
	--font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--serif:Fraunces,Georgia,"Times New Roman",serif;
}

/* ============ Base ============ */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.55 var(--font)}
img,svg{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--cta)}
p{margin:0 0 1em}
h1,h2,h3,h4{font-family:var(--serif);font-weight:650;letter-spacing:-.01em;line-height:1.2;margin:0 0 .5em}
ul,ol{margin:0;padding:0}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--cta);outline-offset:2px;border-radius:4px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:100;background:#fff;padding:10px 16px;border-radius:8px}

/* ============ Buttons ============ */
.elk-btn,.woocommerce a.button,.woocommerce button.button{display:inline-block;background:var(--cta);color:#fff;border:0;border-radius:10px;padding:10px 18px;font-weight:700;font-size:14px;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .15s}
.elk-btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--cta-hover);color:#fff}
.elk-btn--dark{background:var(--ink)}
.elk-btn--dark:hover{background:#3a352e}
.elk-btn--lg{padding:14px 28px;font-size:16px}

/* ============ Top bars ============ */
.elk-usps{background:var(--cta);color:#fff;font-weight:500;font-size:13px}
.elk-usps .wrap{display:flex;gap:6px 32px;justify-content:center;flex-wrap:wrap;padding:7px 20px}
.elk-usps span::before{content:"✓ "}
.elk-disclaimer{background:#2a2622;color:#bfb8ac;font-size:12px;line-height:1.45}
.elk-disclaimer .wrap{display:flex;gap:10px;justify-content:center;align-items:flex-start;padding:9px 20px}
.elk-disclaimer p{margin:0}
.elk-disclaimer strong{color:#fff;font-weight:600}
.elk-disclaimer a{text-decoration:underline}
.elk-disclaimer__icon{flex:none;width:17px;height:17px;border-radius:50%;border:1.5px solid #4db6ac;color:#4db6ac;display:grid;place-items:center;font:italic 700 10.5px Georgia,serif;margin-top:1px}

/* ============ Header ============ */
.elk-header{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.elk-header .wrap{display:flex;align-items:center;gap:28px;min-height:68px}
.elk-logo{font:650 22px var(--serif);display:flex;align-items:center;gap:10px;white-space:nowrap}
.elk-logo:hover{color:var(--ink)}
.elk-logo__mark{width:26px;height:26px;border-radius:6px;background:repeating-linear-gradient(90deg,var(--ink) 0 4px,#fff 4px 7px);border:2px solid var(--ink)}
.custom-logo-link img{max-height:44px;width:auto}
.elk-search{flex:1;max-width:420px;display:flex;align-items:center;gap:8px;background:var(--soft);border-radius:10px;padding:0 14px;color:var(--muted)}
.elk-search input{flex:1;border:0;background:transparent;padding:10px 0;min-width:0;outline:0}
.elk-search:focus-within{box-shadow:0 0 0 2px var(--cta)}
.elk-nav{margin-left:auto;overflow-x:auto;scrollbar-width:none}
.elk-nav ul{display:flex;gap:22px;list-style:none;font-weight:500}
.elk-nav a{display:block;padding:6px 0;border-bottom:2px solid transparent;white-space:nowrap}
.elk-nav .current-menu-item>a,.elk-nav .current_page_item>a,.elk-nav a:hover{border-color:var(--accent);color:var(--ink)}

/* ============ Breadcrumbs ============ */
.elk-crumbs{font-size:13px;color:var(--muted);padding:18px 0 0}
.elk-crumbs a{text-decoration:underline;text-underline-offset:2px}

/* ============ Hero ============ */
.elk-hero{padding:44px 0 28px}
.elk-hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.elk-hero h1{font-size:44px;line-height:1.1;margin-bottom:14px}
.elk-hero__lead{color:var(--muted);font-size:17px;max-width:520px}
.elk-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;list-style:none}
.elk-chip{display:inline-block;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:9px 16px;font-weight:500;font-size:14px}
.elk-chip:hover{border-color:var(--ink);color:var(--ink)}
.elk-hero__art{background:linear-gradient(160deg,#efe6d6,#e2d4bc);border-radius:20px;aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden}
.elk-hero__art img{width:100%;height:100%;object-fit:cover}

/* ============ Sections ============ */
.elk-sec{padding:28px 0}
.elk-sec__head{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}
.elk-sec__head h2{font-size:28px;margin:0}
.elk-archive-head{padding:24px 0 8px}
.elk-archive-head h1{font-size:36px}
.elk-archive-head .term-description,.elk-archive-head .page-description,.elk-archive-desc{color:var(--muted);max-width:760px}

/* ============ Badges / price ============ */
.elk-badge{display:inline-block;font:600 11px var(--font);letter-spacing:.06em;text-transform:uppercase;background:var(--accent);color:#fff;padding:4px 9px;border-radius:6px}
.elk-badge--sale{background:var(--sale)}
.elk-price{font-weight:600;font-size:17px}
.elk-price--lg{font-size:20px}
.elk-price del{color:var(--muted);font-weight:400;font-size:.8em;margin-right:6px}
.elk-price ins{text-decoration:none}
.elk-price.is-sale ins{color:var(--sale)}
.elk-shop{font-size:12.5px;color:var(--muted)}
.elk-brand{font:600 11.5px var(--font);letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}

/* ============ Bestsellers ============ */
.elk-best-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.elk-best{background:var(--surface);border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:200px 1fr;overflow:hidden}
.elk-best__img{background:var(--soft);position:relative;min-height:200px}
.elk-best__img img{position:absolute;top:16px;left:16px;width:calc(100% - 32px);height:calc(100% - 32px);object-fit:contain;mix-blend-mode:multiply}
.elk-best__body{padding:20px;display:flex;flex-direction:column;gap:8px}
.elk-badge--inline{align-self:flex-start}
.elk-best__title{font-size:20px;margin:0}
.elk-best__usp{color:var(--muted);font-size:13.5px}
.elk-best__usp p{margin:0}
.elk-best__usp ul{padding-left:16px}

/* ============ Product list ============ */
.elk-shop-grid{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start;scroll-margin-top:90px}
.elk-shop-grid__side{position:sticky;top:88px}
.elk-filters{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px}
.elk-filters summary{font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
.elk-filters summary::after{content:"＋"}
.elk-filters[open] summary::after{content:"−"}
.elk-filters summary::-webkit-details-marker{display:none}
.elk-filters fieldset{border:0;padding:0;margin:0 0 18px}
.elk-filters legend{font:600 12px var(--font);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:8px;padding:0}
.elk-filters .elk-price{display:flex;align-items:center;gap:8px;font-weight:400;font-size:14px}
.elk-filters .elk-price label{flex:1}
.elk-filters input[type=number]{width:100%;border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:var(--bg)}
.elk-check{display:flex;align-items:center;gap:9px;padding:4px 0;font-size:14px;cursor:pointer}
.elk-check input{width:16px;height:16px;accent-color:var(--ink);margin:0}
.elk-check span{flex:1}
.elk-check em{font-style:normal;color:var(--muted);font-size:12.5px}
.elk-filters__actions{display:flex;align-items:center;gap:14px}
.elk-filters__actions a{font-size:13px;color:var(--muted);text-decoration:underline}

.elk-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px;flex-wrap:wrap}
.elk-toolbar__left{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.elk-pill{background:var(--soft);border-radius:999px;padding:6px 12px;font-size:13px}
.elk-sort select{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 12px;font-size:14px;cursor:pointer}

.elk-grid,.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
.elk-grid::before,.elk-grid::after,.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.elk-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.elk-card:hover{box-shadow:0 10px 30px -12px rgba(0,0,0,.2);transform:translateY(-2px)}
.elk-card__img{background:var(--soft);aspect-ratio:4/3;display:grid;place-items:center;position:relative;padding:14px}
.elk-card__img img{position:absolute;top:14px;left:14px;width:calc(100% - 28px);height:calc(100% - 28px);object-fit:contain;mix-blend-mode:multiply}
.elk-card__img .elk-badge{position:absolute;top:10px;left:10px;z-index:1}
.elk-card__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.elk-card__title{font:600 15.5px/1.35 var(--font);margin:0}
.elk-card__row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:8px}
.elk-card .elk-btn{padding:8px 14px;font-size:13px}
.elk-empty{background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius);padding:28px;text-align:center}
.elk-empty a{text-decoration:underline}

.elk-pagination{margin:28px 0 0;display:flex;justify-content:center}
.elk-pagination ul,.elk-pagination .nav-links{display:flex;gap:6px;list-style:none;flex-wrap:wrap;justify-content:center}
.elk-pagination a,.elk-pagination span{display:block;min-width:40px;text-align:center;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-weight:500;font-size:14px}
.elk-pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}
.elk-pagination .dots{border:0;background:none}

/* ============ Page content / article ============ */
.elk-page-content{background:var(--surface);border-top:1px solid var(--line);margin-top:40px;padding:56px 0}
.elk-entry{font-size:16.5px;line-height:1.75;color:#36322c}
.elk-entry>*{max-width:720px;margin-left:auto;margin-right:auto}
.elk-entry>.alignwide{max-width:var(--wrap)}
.elk-entry>.alignfull{max-width:none}
.elk-entry h2{font-size:30px;color:var(--ink);margin-top:1.6em;scroll-margin-top:96px}
.elk-entry h3{font-size:22px;color:var(--ink);margin-top:1.4em;scroll-margin-top:96px}
.elk-entry>h2:first-child{margin-top:0}
.elk-entry ul,.elk-entry ol{padding-left:22px;margin-bottom:1em}
.elk-entry li{margin-bottom:6px}
.elk-entry li strong{color:var(--ink)}
.elk-entry a{color:var(--cta);text-decoration:underline;text-underline-offset:2px}
.elk-entry blockquote{border-left:3px solid var(--accent);background:var(--bg);padding:16px 20px;border-radius:0 12px 12px 0;margin:24px auto;font:500 19px/1.5 var(--serif);color:var(--ink)}
.elk-entry blockquote p:last-child{margin:0}
.elk-entry img{border-radius:12px}
.elk-entry figure{margin:24px auto}
.elk-entry figcaption{font-size:13px;color:var(--muted);margin-top:6px}
.elk-entry table{width:100%;border-collapse:collapse;font-size:15px}
.elk-entry th,.elk-entry td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left}
/* Core blocks used in the starter content */
.elk-entry .wp-block-columns{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:28px}
.elk-entry .wp-block-column{flex:1 1 200px}
.elk-entry .is-style-elk-card,.elk-entry .elk-step{background:var(--bg);border-radius:14px;padding:20px}
.elk-entry .elk-step h3{font-size:18px;margin:6px 0}
.elk-entry .elk-step p{font-size:14px;color:var(--muted);margin:0;line-height:1.55}
.elk-entry .elk-step .elk-step__n{font:650 30px/1 var(--serif);color:var(--accent);margin:0}
.elk-entry details{background:var(--bg);border-radius:12px;padding:14px 18px;margin-bottom:10px}
.elk-entry summary{font-weight:600;cursor:pointer;color:var(--ink)}
.elk-entry details p{color:var(--muted);margin:8px 0 0;font-size:15px}
.elk-entry .elk-faq{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;margin-bottom:40px}
.elk-toc{background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:18px 22px;margin:0 auto 28px}
.elk-toc__title{font:600 12px var(--font);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 8px}
.elk-toc ol{padding-left:20px;margin:0;font-size:15px}
.elk-toc a{color:var(--ink);text-decoration:none}
.elk-toc a:hover{color:var(--cta);text-decoration:underline}

/* Blog */
.elk-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:12px 0}
.elk-post-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.elk-post-card__img img{aspect-ratio:16/9;object-fit:cover;width:100%}
.elk-post-card__body{padding:16px 18px}
.elk-post-card time{font-size:12.5px;color:var(--muted)}
.elk-post-card h2{font-size:20px;margin:6px 0 8px}
.elk-post-card p{color:var(--muted);font-size:14px;margin:0}
.elk-article{padding:24px 0 56px}
.elk-article__head{max-width:720px;margin:0 auto 20px}
.elk-article__head h1{font-size:40px;line-height:1.12}
.elk-meta{color:var(--muted);font-size:13.5px}
.elk-article__img{max-width:900px;margin:0 auto 28px}
.elk-article__img img{border-radius:16px;width:100%}
.elk-404{padding:80px 20px;text-align:center}

/* ============ Single product ============ */
.elk-wc{padding-bottom:56px}
.single-product div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin-top:20px;align-items:start}
.single-product div.product>*{min-width:0}
.single-product div.product>.woocommerce-tabs,.single-product div.product>.related,.single-product div.product>.upsells,.single-product div.product>.dfrcs,.single-product div.product>section{grid-column:1/-1}
.woocommerce-product-gallery{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px;opacity:1!important}
.woocommerce-product-gallery img{margin:0 auto;mix-blend-mode:multiply}
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery .flex-control-thumbs,.woocommerce-product-gallery ol{display:flex;gap:8px;list-style:none;margin-top:12px}
.woocommerce-product-gallery__trigger{display:none}
.product_title{font-size:34px;line-height:1.15}
.summary .price{font-size:26px;font-weight:600;margin:6px 0 14px}
.summary .price del{color:var(--muted);font-size:.65em;font-weight:400;margin-right:8px}
.summary .price ins{text-decoration:none;color:var(--sale)}
.woocommerce-product-details__short-description{color:#36322c}
.elk-buy{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0}
.product_meta{font-size:13px;color:var(--muted);display:grid;gap:4px}
.product_meta a{text-decoration:underline}
.onsale{display:inline-block;background:var(--sale);color:#fff;font:600 11px var(--font);letter-spacing:.06em;text-transform:uppercase;padding:4px 9px;border-radius:6px;margin-bottom:10px}
.woocommerce-tabs{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px 28px}
.woocommerce-tabs ul.tabs{display:flex;gap:18px;list-style:none;border-bottom:1px solid var(--line);margin-bottom:18px}
.woocommerce-tabs ul.tabs li a{display:block;padding:8px 0;font-weight:600;border-bottom:2px solid transparent}
.woocommerce-tabs ul.tabs li.active a{border-color:var(--accent)}
.woocommerce-tabs .panel{max-width:760px;line-height:1.7}
.woocommerce-tabs .panel>h2:first-child{display:none}
.related>h2,.upsells>h2{font-size:26px;margin:16px 0}
.woocommerce-tabs table.shop_attributes{border-collapse:collapse;width:100%}
.woocommerce-tabs table.shop_attributes th,.woocommerce-tabs table.shop_attributes td{border-bottom:1px solid var(--line);padding:8px;text-align:left}
.woocommerce-tabs table.shop_attributes p{margin:0}
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--cta);border-radius:10px;padding:14px 18px;margin:16px 0}

/* ============ Footer ============ */
.elk-footer{padding:36px 0;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}
.elk-footer__nav ul{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;margin-bottom:18px;font-weight:500;color:var(--ink)}
.elk-footer__row{display:flex;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.elk-footer__company{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);font-size:12.5px}
.elk-footer__company strong{color:var(--ink);font-weight:600}

/* ============ Responsive ============ */
@media (min-width:961px){
	.elk-filters summary{display:none}
}
/* Keep filters expanded on desktop before JS runs (no layout shift). Own rule: older browsers ignore it. */
@media (min-width:961px){
	.elk-filters::details-content{content-visibility:visible;height:auto}
}
@media (max-width:960px){
	.elk-hero .wrap,.elk-best-grid,.elk-shop-grid,.single-product div.product{grid-template-columns:minmax(0,1fr)}
	.elk-hero__art{display:none}
	.elk-shop-grid__side{position:static}
	.elk-filters{padding:14px 18px}
	.elk-filters[open] summary{margin-bottom:14px}
	.elk-grid,.woocommerce ul.products,.elk-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
	.elk-search{display:none}
	.elk-entry .elk-faq{grid-template-columns:1fr}
}
@media (max-width:600px){
	.wrap{padding:0 16px}
	.elk-hero{padding:28px 0 16px}
	.elk-hero h1{font-size:30px}
	.elk-archive-head h1,.elk-article__head h1{font-size:28px}
	.product_title{font-size:26px}
	.elk-grid,.woocommerce ul.products,.elk-posts{grid-template-columns:minmax(0,1fr)}
	.elk-best{grid-template-columns:1fr}
	.elk-header .wrap{gap:12px;min-height:58px}
	.elk-logo{font-size:18px}
	.elk-logo__mark{width:20px;height:20px}
	.elk-header .wrap{flex-wrap:wrap;padding-top:10px}
	.elk-nav{order:3;width:100%;margin-left:0}
	.elk-nav ul{gap:18px;font-size:14px;padding-bottom:4px}
	.elk-best__img{min-height:180px}
	.elk-usps .wrap{gap:4px 16px;font-size:12px}
	.elk-disclaimer .wrap{font-size:11.5px}
	.elk-entry{font-size:16px}
	.elk-entry h2{font-size:25px}
	.woocommerce-tabs{padding:18px}
}
@media (prefers-reduced-motion:reduce){
	html{scroll-behavior:auto}
	.elk-card{transition:none}
	.elk-card:hover{transform:none}
}

/* ============ Forms (reviews, comments, search page) ============ */
.elk-wc input[type=text],.elk-wc input[type=email],.elk-wc textarea,.elk-wc select,.elk-entry input[type=text],.elk-entry input[type=email],.elk-entry textarea{width:100%;max-width:520px;border:1px solid var(--line);border-radius:8px;padding:9px 12px;background:var(--surface)}
.elk-wc label{display:block;font-weight:500;font-size:14px;margin-bottom:4px}
.elk-wc .comment-form>p{margin-bottom:14px}
.elk-wc .comment-form-cookies-consent label{display:inline;font-weight:400}
.elk-wc #submit,.elk-wc .submit{background:var(--ink);color:#fff;border:0;border-radius:10px;padding:10px 18px;font-weight:600;cursor:pointer}
.elk-wc #reviews h2{font-size:22px}
.elk-wc .elk-crumbs,.elk-wc .woocommerce-breadcrumb{font-size:13px;color:var(--muted);padding-top:18px}

/* ============ Article: sticky "Indhold" sidebar ============ */
.elk-art-grid{display:grid;grid-template-columns:220px minmax(0,720px);gap:48px;justify-content:center;align-items:start}
.elk-art-grid .elk-entry>*{max-width:none;margin-left:0;margin-right:0}
.elk-side-toc{position:sticky;top:96px;font-size:14px;max-height:calc(100vh - 120px);overflow:auto}
.elk-side-toc__title{font:600 12px/1.3 var(--font);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 10px}
.elk-side-toc ol{list-style:none;margin:0;padding:0}
.elk-side-toc a{display:block;padding:6px 0 6px 12px;border-left:2px solid var(--line);color:var(--muted);line-height:1.45;text-decoration:none}
.elk-side-toc a:hover,.elk-side-toc a.is-active{color:var(--ink);border-color:var(--accent)}
@media (max-width:960px){
	.elk-art-grid{grid-template-columns:1fr;gap:24px}
	.elk-side-toc{position:static;max-height:none;background:var(--bg);border-radius:var(--radius);padding:16px 18px}
}

/* ============ Single product: description under the button ============ */
.woocommerce-product-gallery img{cursor:default}
.summary .woocommerce-tabs{background:none;border:0;border-radius:0;padding:0;margin-top:48px}
.summary .woocommerce-tabs ul.tabs{gap:24px;margin:0 0 18px;padding:0;border-bottom:1px solid var(--line)}
.summary .woocommerce-tabs ul.tabs li{margin:0 0 -1px}
.summary .woocommerce-tabs ul.tabs li a{padding:10px 0;font-size:15px;color:var(--ink);border-bottom:3px solid transparent}
.summary .woocommerce-tabs ul.tabs li.active a{border-color:var(--ink)}
.summary .woocommerce-tabs .panel{font-size:15px;line-height:1.65;color:#36322c;max-width:none;margin:0}
.summary .woocommerce-tabs .panel p{margin:0 0 .8em}
@media (max-width:960px){.summary .woocommerce-tabs{margin-top:32px}}

/* ============ Blog posts: "Indhold" sidebar ============ */
.elk-art-grid--post{padding-top:24px}
.elk-art-grid--post .elk-side-toc{top:96px;margin-top:6px}
.elk-art-grid--post .elk-article{padding-top:0}
.elk-art-grid--post .elk-article__head,
.elk-art-grid--post .elk-article__img{max-width:none;margin-left:0;margin-right:0}
@media (max-width:960px){
	.elk-art-grid--post .elk-side-toc{margin-top:0}
}

/* ============ Mobile menu (hamburger + drawer from the left) ============ */
.elk-burger{display:none}
.elk-drawer,.elk-drawer-overlay{visibility:hidden}
@media (max-width:960px){
	.elk-js .elk-burger{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;margin-left:-10px;padding:0;border:0;border-radius:10px;background:none;color:var(--ink);cursor:pointer}
	.elk-js .elk-burger:focus-visible{outline:2px solid var(--cta);outline-offset:2px}
	.elk-js .elk-header .elk-nav{display:none}
	.elk-js .elk-header .wrap{flex-wrap:nowrap;padding-top:0}
}
.elk-drawer-overlay{position:fixed;inset:0;z-index:99;background:rgba(28,26,23,.45);opacity:0;transition:opacity .25s ease,visibility 0s linear .25s}
.elk-drawer-overlay.is-open{opacity:1;visibility:visible;transition:opacity .25s ease}
.elk-drawer{position:fixed;top:0;bottom:0;left:0;z-index:100;width:min(86vw,340px);display:flex;flex-direction:column;gap:18px;padding:16px 20px 28px;background:var(--surface);box-shadow:8px 0 30px -12px rgba(0,0,0,.3);overflow-y:auto;transform:translateX(-100%);transition:transform .25s ease,visibility 0s linear .25s}
.elk-drawer.is-open{transform:none;visibility:visible;transition:transform .25s ease}
.admin-bar .elk-drawer{top:46px}
@media (min-width:783px){.admin-bar .elk-drawer{top:32px}}
.elk-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.elk-drawer__head .elk-logo{font-size:20px}
.elk-drawer__head .elk-logo__mark{width:22px;height:22px}
.elk-drawer__close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-10px;padding:0;border:0;border-radius:10px;background:none;color:var(--ink);cursor:pointer}
.elk-drawer__close:focus-visible{outline:2px solid var(--cta);outline-offset:2px}
.elk-search--drawer{display:flex!important;max-width:none;flex:none}
.elk-drawer__nav ul{list-style:none;margin:0;padding:0}
.elk-drawer__nav li{border-bottom:1px solid var(--line)}
.elk-drawer__nav a{display:flex;align-items:center;min-height:52px;font:600 17px/1.3 var(--font);color:var(--ink)}
.elk-drawer__nav .current-menu-item>a,.elk-drawer__nav .current_page_item>a{color:var(--accent)}
html.elk-drawer-open{overflow:hidden}
@media (prefers-reduced-motion:reduce){.elk-drawer,.elk-drawer.is-open,.elk-drawer-overlay,.elk-drawer-overlay.is-open{transition:none}}

/* ============ v1.0.7: hamburger on the right ============ */
@media (max-width:960px){
	.elk-js .elk-burger{order:10;margin-left:auto;margin-right:-10px}
}

/* ============ v1.0.7: product page – price + button aligned right ============ */
.single-product .summary .price{text-align:right;margin:10px 0 8px}
.single-product .summary .elk-buy{justify-content:flex-end;margin:0 0 18px}

/* =====================================================================
   v1.1.0 – new front page (mockup 2)
   ===================================================================== */
.elk-ico{flex:none;display:block}
.elk-eyebrow{font:600 12.5px/1.3 var(--font);letter-spacing:.1em;text-transform:uppercase;color:var(--gold-text);margin:0 0 14px}
.elk-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.elk-btn--xl{padding:15px 26px;font-size:15px;border-radius:10px;font-weight:600}
.elk-btn--deep{background:var(--cta-deep)}
.elk-btn--deep:hover{background:#0b2c25}
.elk-btn--ghost{background:var(--surface);color:var(--ink);border:1px solid #d9d0c2}
.elk-btn--ghost:hover{background:var(--surface);color:var(--ink);border-color:var(--ink)}
.elk-more{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px;color:var(--gold-text);white-space:nowrap}
.elk-more:hover{color:var(--ink)}
.elk-sec__title{font-size:32px;margin:0 0 10px}
.elk-sec__lead{color:var(--muted);font-size:16px;max-width:620px;margin:0 0 26px}
.elk-front .elk-sec{padding:36px 0}
.elk-front .elk-sec__head h2{font-size:32px}

/* Hero */
.elk-fhero{position:relative;overflow:hidden;background:#f6efe4;border-bottom:1px solid var(--line)}
.elk-fhero__media{position:absolute;top:0;right:0;bottom:0;width:66%}
.elk-fhero__media img{width:100%;height:100%;object-fit:cover;object-position:62% center;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%);mask-image:linear-gradient(90deg,transparent 0,#000 38%)}
.elk-fhero .wrap{position:relative}
.elk-fhero__text{max-width:560px;padding:56px 0 44px}
.elk-fhero h1{font-size:50px;line-height:1.06;letter-spacing:-.02em;margin:0 0 18px}
.elk-fhero__lead{font-size:17px;color:#4d473f;max-width:480px;margin:0 0 26px}
.elk-fhero__btns{display:flex;flex-wrap:wrap;gap:12px}
.elk-fhero__points{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none;margin:44px 0 0;padding:0}
.elk-fhero__points li{display:flex;flex-direction:column;gap:10px;font-size:13px;line-height:1.4;color:#4d473f}
.elk-fhero__points .elk-ico{color:var(--accent)}

/* Efter behov */
.elk-needs__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.elk-need{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:150px;padding:20px 12px;background:#f3ece1;border-radius:var(--radius);text-align:center;transition:background .15s,transform .15s}
.elk-need:hover{background:#ece2d3;transform:translateY(-2px)}
.elk-need .elk-ico{color:var(--accent)}
.elk-need__label{font-weight:600;font-size:14.5px;color:var(--ink)}

/* Bestsellers (vertical cards) */
.elk-bs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.elk-bs{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.elk-bs__img{position:relative;display:grid;place-items:center;aspect-ratio:4/3;padding:34px 20px 12px;background:var(--surface)}
.elk-bs__img img{width:100%;height:100%;object-fit:contain}
.elk-bs__img .elk-badge{position:absolute;top:14px;left:14px;z-index:1}
.elk-bs__body{display:flex;flex-direction:column;gap:6px;padding:4px 20px 20px;flex:1}
.elk-bs__title{font-size:19px;line-height:1.25;margin:0 0 4px}
.elk-bs__title a:hover{text-decoration:underline}
.elk-bs .elk-price{font-size:20px}
.elk-bs__btn{margin-top:auto;width:100%;padding:13px 16px;font-size:15px}
.elk-bs .elk-shop{margin-bottom:12px}

/* Guide box */
.elk-guide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center;background:#f3ece1;border-radius:20px;padding:20px 20px 20px 48px}
.elk-guide__text h2{font-size:32px;line-height:1.15;margin:0 0 14px}
.elk-guide__text p:not(.elk-eyebrow){color:#4d473f;font-size:16px;margin:0 0 24px;max-width:460px}
.elk-guide__img{border-radius:16px;overflow:hidden;aspect-ratio:16/9;background:#2b2622}
.elk-guide__img img{width:100%;height:100%;object-fit:cover}
.elk-guide__img.is-empty{display:grid;place-items:center;background:linear-gradient(160deg,#efe6d6,#e2d4bc)}

/* Blog posts */
.elk-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.elk-topic{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.elk-topic__img{position:relative;display:block;aspect-ratio:16/9;background:var(--soft);overflow:hidden}
.elk-topic__img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.elk-topic:hover .elk-topic__img img{transform:scale(1.03)}
.elk-topic__img.is-empty{display:grid;place-items:center}
.elk-tag{position:absolute;top:12px;left:12px;z-index:1;background:var(--surface);color:var(--gold-text);font:600 11px/1.2 var(--font);letter-spacing:.06em;text-transform:uppercase;padding:5px 9px;border-radius:6px}
.elk-topic__body{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px;flex:1}
.elk-topic__title{font-size:18px;line-height:1.3;margin:0}
.elk-topic__title a:hover{text-decoration:underline}
.elk-topic__body p{color:var(--muted);font-size:14px;margin:0 0 6px}
.elk-topic__body .elk-more{margin-top:auto;font-size:13.5px}

/* Brands */
.elk-brands{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}
.elk-brand-tile{display:grid;place-items:center;height:76px;padding:14px 18px;background:var(--surface);border:1px solid var(--line);border-radius:12px;transition:border-color .15s}
.elk-brand-tile:hover{border-color:var(--ink)}
.elk-brand-tile img{max-height:36px;width:auto;max-width:100%;object-fit:contain}
.elk-brand-tile span{font:800 19px/1 var(--font);letter-spacing:.02em;text-transform:uppercase;color:var(--ink)}

/* Trust strip */
.elk-trust{background:var(--surface);border-top:1px solid var(--line);padding:36px 0;margin-top:24px}
.elk-trust__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0;padding:0}
.elk-trust__grid li{display:flex;gap:16px;padding:0 24px;border-left:1px solid var(--line)}
.elk-trust__grid li:first-child{border-left:0;padding-left:0}
.elk-trust__grid .elk-ico{color:var(--accent)}
.elk-trust__grid p{margin:0;font-size:13.5px;color:var(--muted);line-height:1.5}
.elk-trust__grid p.elk-trust__title{font-weight:600;font-size:15px;color:var(--ink);margin-bottom:4px}
.elk-front .elk-page-content{margin-top:24px}

@media (max-width:1100px){
	.elk-needs__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
	.elk-brands{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:960px){
	.elk-fhero__media{position:relative;width:auto;height:260px}
	.elk-fhero__media img{object-position:70% center;-webkit-mask-image:linear-gradient(180deg,#000 60%,transparent);mask-image:linear-gradient(180deg,#000 60%,transparent)}
	.elk-fhero__text{max-width:none;padding:8px 0 36px}
	.elk-fhero h1{font-size:36px}
	.elk-fhero__points{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:32px}
	.elk-bs-grid,.elk-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
	.elk-guide{grid-template-columns:1fr;padding:32px 24px 24px}
	.elk-trust__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 0}
	.elk-trust__grid li:nth-child(odd){border-left:0;padding-left:0}
}
@media (max-width:600px){
	.elk-fhero__media{height:200px}
	.elk-fhero h1{font-size:30px}
	.elk-fhero__btns .elk-btn{flex:1 1 100%}
	.elk-sec__title,.elk-front .elk-sec__head h2,.elk-guide__text h2{font-size:25px}
	.elk-front .elk-sec__head{flex-wrap:wrap;gap:6px 16px}
	.elk-needs__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	.elk-need{min-height:120px}
	.elk-bs-grid,.elk-topics{grid-template-columns:minmax(0,1fr)}
	.elk-brands{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
	.elk-trust__grid{grid-template-columns:minmax(0,1fr)}
	.elk-trust__grid li{border-left:0;padding-left:0}
}
@media (prefers-reduced-motion:reduce){.elk-need,.elk-topic__img img{transition:none}.elk-need:hover{transform:none}}

/* v1.1.3 – brand logos: same colour and size, whatever file is uploaded (needs transparent PNG/SVG) */
.elk-brand-tile img{height:30px;max-height:30px;width:auto;max-width:130px;object-fit:contain;filter:grayscale(1) brightness(0);opacity:.82;transition:opacity .15s}
.elk-brand-tile:hover img{opacity:1}

/* ============ v1.2.0 – homepage: product list + brand carousel ============ */
.elk-front-all{display:flex;justify-content:center;margin:24px 0 0}
.elk-carousel__nav{display:flex;gap:8px}
.elk-carousel__btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);cursor:pointer;transition:border-color .15s}
.elk-carousel__btn:hover{border-color:var(--ink)}
.elk-carousel__btn:focus-visible{outline:2px solid var(--cta);outline-offset:2px}
.elk-carousel__btn[hidden]{display:none}
.elk-carousel__track{display:flex;gap:14px;list-style:none;margin:0;padding:2px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.elk-carousel__track::-webkit-scrollbar{display:none}
.elk-carousel__item{flex:0 0 calc((100% - 3 * 14px) / 4);min-width:150px;scroll-snap-align:start}
.elk-carousel__item .elk-brand-tile{height:96px}
@media (max-width:960px){.elk-carousel__item{flex-basis:calc((100% - 2 * 14px) / 3)}}
@media (max-width:600px){.elk-carousel__item{flex-basis:calc((100% - 14px) / 2);min-width:0}}

/* v1.2.1 – space between the product list and the footer on shop / category pages */
body.woocommerce-shop .site-main,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main,
body.search-results .site-main{padding-bottom:72px}
@media (max-width:600px){
	body.woocommerce-shop .site-main,
	body.post-type-archive-product .site-main,
	body.tax-product_cat .site-main,
	body.tax-product_tag .site-main,
	body.search-results .site-main{padding-bottom:48px}
}

/* ============ v1.3.0 ============ */
/* Prices link to the shop (same URL as "Køb nu") */
a.elk-price-link{display:block;color:inherit;text-decoration:none}
a.elk-price-link:hover{text-decoration:underline;text-underline-offset:3px}
.elk-single-img-link{display:block;cursor:pointer}

/* Single product: price + "hos <butik>" right-aligned above the button */
.single-product .summary .elk-single-price{text-align:right;margin:10px 0 14px}
.single-product .summary .elk-single-price .price{text-align:right;margin:0}
.single-product .summary .elk-single-price .elk-shop{margin:2px 0 0;font-size:13.5px}

/* Links in articles: clearly coloured + underlined */
.elk-entry a:not(.wp-block-button__link):not(.elk-btn){color:#1d6b55;font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.elk-entry a:not(.wp-block-button__link):not(.elk-btn):hover{color:#123f35;text-decoration-thickness:2px}
.elk-entry a:not(.wp-block-button__link):not(.elk-btn):visited{color:#1d6b55}

/* v1.3.2 – single product: "hos <butik>" under the button, hand cursor on the image */
.single-product .summary .elk-buy{flex-direction:column;align-items:flex-end;gap:6px}
.single-product .summary .elk-buy__shop{font-size:13.5px}
.woocommerce-product-gallery a,.woocommerce-product-gallery a img,.elk-single-img-link img{cursor:pointer}

/* ============ v1.3.3 – PageSpeed accessibility fixes ============ */
/* Contrast: white text on badges and gold labels need a darker gold (≥4.5:1) */
.elk-badge{background:var(--gold-text)}
.elk-badge--sale{background:var(--sale)}
.elk-brand{color:var(--gold-text)}

/* Touch targets: title links get a full-width, at least 24px tall tap area */
.elk-card__title a,
.elk-bs__title a,
.elk-topic__title a{display:block;min-height:24px;padding:2px 0}
.elk-card__title,.elk-topic__title{margin-block:2px}
.elk-drawer__nav .current-menu-item>a,.elk-drawer__nav .current_page_item>a,.elk-entry .elk-step .elk-step__n{color:var(--gold-text)}

/* v1.3.4 – bestseller cards: price, shop and button line up across cards, whatever the title length */
.elk-bs .elk-bs__body > .elk-price-link{margin-top:auto;padding-top:6px}
.elk-bs .elk-bs__btn{margin-top:0}
