/* Klubshop – medlemssiden /klub/<navn>/ og kode-siden. Lille og selvstændig (ingen tema-CSS). Farven kommer fra --klub-accent. */
*{box-sizing:border-box}
body{margin:0;font:15px/1.55 Inter,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;color:#3f3e3e;background:#f7f7f6}
img{max-width:100%;display:block}
a{color:inherit}

.kh{background:#fff;border-bottom:1px solid #e8e8e6;position:sticky;top:0;z-index:5}
.kbar{background:var(--klub-accent);color:var(--klub-on-accent);text-align:center;font-size:13px;font-weight:500;padding:7px 16px;letter-spacing:.2px}
.kh__in{max-width:1440px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:12px}
.kh__home{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.kh__logo{height:64px;width:auto;max-width:260px;object-fit:contain;object-position:left center} /* John 10/11: brede logoer blev små i 48×48 */
@media (max-width:549px){.kh__logo{height:48px;max-width:160px}}
.kh__name{font-weight:600;font-size:17px}
.kh__cart{margin-left:auto;text-decoration:none;font-weight:600;padding:10px 18px;border-radius:999px;background:var(--klub-accent);color:var(--klub-on-accent);position:relative}
.kh__dot{position:absolute;top:6px;right:8px;width:8px;height:8px;border-radius:50%;background:#c53030}

.khero{aspect-ratio:16/5;width:calc(100% - 48px);max-width:1392px;margin:24px auto 0;border-radius:16px;overflow:hidden;background:var(--klub-accent)}
.khero img{width:100%;height:100%;object-fit:cover}

.kmain{max-width:1440px;margin:0 auto;padding:32px 24px 56px}
.kmain h1{font-size:28px;font-weight:600;margin:0 0 6px}
.kintro{color:#656565;max-width:720px;margin:0 0 24px}
.knotice{background:#fff4e5;border:1px solid #f0d3a8;color:#7a4b0f;padding:10px 14px;border-radius:10px;margin:0 0 18px}

/* Filter (John 4/11) – samme grupper som vores katalog, som små rullemenuer over varerne */
.kfilter{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px}
.kfilter__g{position:relative}
.kfilter__g summary{list-style:none;cursor:pointer;height:38px;display:flex;align-items:center;gap:4px;padding:0 16px;border:1px solid #e8e8e6;border-radius:999px;background:#fff;font-size:14px;user-select:none}
.kfilter__g summary::-webkit-details-marker{display:none}
.kfilter__g summary::after{content:"▾";font-size:11px;color:#9f9e9e;margin-left:4px}
.kfilter__g.is-on summary{border-color:var(--klub-accent);box-shadow:inset 0 0 0 1px var(--klub-accent)}
.kfilter__opts{position:absolute;top:44px;left:0;z-index:20;min-width:220px;max-height:320px;overflow:auto;background:#fff;border:1px solid #e8e8e6;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.1);padding:10px 14px;display:flex;flex-direction:column;gap:8px}
.kfilter__opts label{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}
.kfilter__price{flex-direction:row;flex-wrap:wrap;align-items:center}
.kfilter__price input{width:80px;height:34px;border:1px solid #d9d9d6;border-radius:8px;padding:0 8px;font-size:14px}
.kfilter__price small{color:#9f9e9e;width:100%}
.kfilter__reset{height:38px;padding:0 14px;border:0;background:none;color:#656565;text-decoration:underline;cursor:pointer;font-size:14px}
.kfilter__count{margin-left:auto;color:#9f9e9e;font-size:14px}
.kcard[hidden]{display:none}
.kgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px}.kgrid--4{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 20px}
.kpills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.kpill{height:38px;padding:0 18px;border:1px solid #e1e1de;border-radius:999px;background:#fff;font:500 14px/1 inherit;color:#3f3e3e;cursor:pointer}.kpill:hover{border-color:#bdbdb9}.kpill.is-on{background:var(--klub-accent);border-color:var(--klub-accent);color:var(--klub-on-accent)}
.kcard.is-off{display:none}
.kcard{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit}
.kcard__badge{position:absolute;top:12px;left:12px;z-index:2;background:#fff;color:#16181a;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.kcard__body:focus-visible,.kcard__img:focus-visible{outline:2px solid var(--klub-accent);outline-offset:2px}
.kcard__media{position:relative}
.kcard__img{display:block;aspect-ratio:1;background:#efefed;border-radius:12px;overflow:hidden}.kcard__img img{mix-blend-mode:multiply} /* hvid baggrund i salgsbilledet bliver lysegrå som kortet */
.kcard__img img{transition:transform .35s}.kcard:hover .kcard__img img{transform:scale(1.02)}
.kcard__body{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:inherit}
.kcard__nav{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.92);box-shadow:0 2px 8px rgba(0,0,0,.15);font-size:22px;line-height:1;color:#16181a;cursor:pointer;opacity:0;transition:opacity .15s}
.kcard__nav--prev{left:8px}.kcard__nav--next{right:8px}
.kcard:hover .kcard__nav,.kcard__nav:focus-visible{opacity:1}
@media (hover:none){.kcard__nav{opacity:.9;width:30px;height:30px;font-size:19px}}
.kcard__pos{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:5px;pointer-events:none}
.kcard__pos i{width:6px;height:6px;border-radius:50%;background:rgba(0,0,0,.2)}.kcard__pos i.is-on{background:rgba(0,0,0,.6)}
.kcard__img img{width:100%;height:100%;object-fit:cover}
.kcard__img.is-preview img,.kgallery__main.is-preview img{object-fit:contain;background:#fff} /* preview med forside + ryg: vis hele, ikke en halv af hver */
.kcard__body{gap:4px}.kcard__name{font-size:15px;font-weight:500;margin:2px 0 0;line-height:1.35}
.kcard__price{margin:0;font-weight:600;font-size:15px}
.kcard__price small,.kbuy__price small{font-weight:400;color:#9f9e9e}
.kcard__dots{display:flex;flex-wrap:wrap;gap:5px}
.kcard__dots{margin-top:4px}.kcard__dots span{width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.15)}

.kbtn{min-height:48px;border:0;border-radius:999px;background:var(--klub-accent);color:var(--klub-on-accent);font:600 15px/1 inherit;cursor:pointer;padding:0 28px}
.kbtn:hover{filter:brightness(.95)}
a.kbtn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

/* Varesiden */
.kback{margin:0 0 16px}.kback a{color:#656565;text-decoration:none}
.kproduct__grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;align-items:start}
.kgallery__main{aspect-ratio:1;background:#fff;border:1px solid #e8e8e6;border-radius:14px;overflow:hidden}
.kgallery__main img{width:100%;height:100%;object-fit:contain}
.kgallery__thumbs{display:flex;gap:10px;margin-top:10px}
.kthumb{width:84px;height:84px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#fff;cursor:pointer}
.kthumb img{width:100%;height:100%;object-fit:contain}
.kthumb.is-on{border-color:var(--klub-accent)}
.kbuy h1{font-size:28px;font-weight:600;margin:0 0 6px}
.kbuy__price{font-size:22px;font-weight:600;margin:0 0 14px}
.kbuy__intro{color:#3f3e3e;margin-bottom:8px}
.kbuy__intro h3{font-size:16px;margin:0 0 4px}
.kbuy__intro img.alignright{float:right;margin:0 0 8px 12px}
.kbuy__intro p{margin:8px 0}
.klabel{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#9f9e9e;margin:18px 0 8px}
.klabel span{color:#3f3e3e;text-transform:none;letter-spacing:0;font-size:14px;margin-left:6px}
.kcolors,.ksizes{display:flex;flex-wrap:wrap;gap:8px}
.kcolors input,.ksizes input{position:absolute;opacity:0;pointer-events:none}
.kcolors span{display:block;width:34px;height:34px;border-radius:50%;border:1px solid rgba(0,0,0,.15);cursor:pointer}
.kcolors input:checked+span{outline:2px solid var(--klub-accent);outline-offset:3px}
.ksizes span{display:block;min-width:52px;padding:10px 12px;text-align:center;border:1px solid #e8e8e6;border-radius:10px;background:#fff;cursor:pointer;font-weight:500}
.ksizes input:disabled+span{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.kframe-hint{margin:8px 0 0;font-size:14px;color:#8a5a00}
.ksizes input:checked+span{border-color:var(--klub-accent);box-shadow:inset 0 0 0 1px var(--klub-accent)}
.kcolors input:focus-visible+span,.ksizes input:focus-visible+span{outline:2px solid #3f3e3e;outline-offset:2px}
.kbuy__row{display:flex;gap:10px;margin-top:22px}
.kbuy__row input{width:80px;min-height:48px;border:1px solid #e8e8e6;border-radius:10px;padding:0 12px;font:inherit}
.kbuy__row .kbtn{flex:1}
.kbuy__note{color:#9f9e9e;font-size:13px;margin:10px 0 0}
.ksizeguide{margin-top:44px;background:#fff;border:1px solid #e8e8e6;border-radius:14px;padding:22px}
.ksizeguide h2{font-size:20px;margin:0 0 14px}
.ksizeguide img{max-width:520px;width:100%;height:auto;margin:0 auto 16px}
.ksizeguide__table{overflow-x:auto}
.ksizeguide table{border-collapse:collapse;width:100%;font-size:14px}
.ksizeguide th,.ksizeguide td{border-bottom:1px solid #e8e8e6;padding:8px 10px;text-align:center;white-space:nowrap}
.ksizeguide th:first-child,.ksizeguide td:first-child{text-align:left}

.kfoot{border-top:1px solid #e8e8e6;background:#fff;color:#656565;font-size:14px}
.kfoot__in{max-width:1440px;margin:0 auto;padding:36px 24px 28px;display:grid;grid-template-columns:1fr auto;gap:16px 40px;align-items:start}
.kfoot__club strong{display:block;font-size:17px;color:#16181a;margin:0 0 6px}.kfoot__social{display:flex;gap:16px}.kfoot__social a,.kfoot__links a{text-decoration:none}.kfoot__social a:hover,.kfoot__links a:hover{text-decoration:underline}
.kfoot__links{display:flex;flex-wrap:wrap;gap:8px 24px}
.kfoot__pod{grid-column:1/-1;margin:12px 0 0;padding-top:16px;border-top:1px solid #f0f0ee;font-size:13px;color:#8a8987}
@media (max-width:760px){.kfoot__in{grid-template-columns:1fr;padding:28px 16px 24px}}

.kgate{display:flex;min-height:100vh;align-items:center;justify-content:center;padding:16px}
.kgate__box{background:#fff;border:1px solid #e8e8e6;border-radius:18px;padding:32px 28px;max-width:380px;width:100%;text-align:center;display:flex;flex-direction:column;gap:12px;align-items:center}
.kgate__box h1{margin:0;font-size:22px}
.kgate__box p{margin:0;color:#656565}
.kgate__box input{width:100%;min-height:46px;border:1px solid #e8e8e6;border-radius:10px;padding:0 14px;font:inherit}
.kgate__box .kbtn{width:100%}

@media (max-width:1000px){.kgrid,.kgrid--4{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.kmain{padding:24px 16px 48px}.khero{width:calc(100% - 32px)}}
@media (max-width:760px){.kgrid,.kgrid--4{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.kcard__name{font-size:14px}.kpills{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px 16px;padding:0 16px}.kpill{flex:0 0 auto}.khero{aspect-ratio:16/7}.kmain h1,.kbuy h1{font-size:22px}.kproduct__grid{grid-template-columns:1fr;gap:20px}.kthumb{width:64px;height:64px}}
@media (max-width:420px){.kgrid,.kgrid--4{gap:20px 10px}}
.kterms{max-width:760px}.kterms h2{font-size:19px;margin:28px 0 8px}.kterms h3{font-size:16px;margin:20px 0 6px}.kterms p,.kterms li{color:#3f3e3e}.kterms a{text-decoration:underline}

/* Menu i toppen + hero-tekst + undersider (John 14/11) */
.kh__nav{display:flex;gap:4px;margin-left:auto}
.kh__nav a{text-decoration:none;font-size:15px;font-weight:500;padding:8px 14px;border-radius:999px;color:#3f3e3e}
.kh__nav a:hover{background:#f2f2f0}.kh__nav a[aria-current="page"]{font-weight:600;box-shadow:inset 0 -2px 0 var(--klub-accent);border-radius:0}
.kh__nav + .kh__cart{margin-left:12px}
@media (max-width:760px){.kh__in{flex-wrap:wrap;row-gap:4px}.kh__nav{order:3;width:100%;margin:0 -10px;overflow-x:auto}.kh__nav a{font-size:14px;padding:6px 10px;white-space:nowrap}.kh__nav + .kh__cart{margin-left:auto}}
.khero{position:relative}
.khero--text::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.25) 45%,rgba(0,0,0,0) 70%)}
.khero__txt{position:absolute;z-index:2;left:clamp(20px,5vw,64px);top:50%;transform:translateY(-50%);max-width:min(560px,80%);color:#fff}
.khero__h{font-size:clamp(24px,3.4vw,44px);font-weight:700;line-height:1.1;margin:0 0 10px}
.khero__p{font-size:clamp(14px,1.4vw,18px);margin:0 0 18px;opacity:.95}
.khero__btn{display:inline-flex;align-items:center;text-decoration:none;min-height:46px}
.khero--plain{aspect-ratio:auto;min-height:260px;display:flex;align-items:center}
.khero--plain .khero__txt{position:static;transform:none;color:var(--klub-on-accent);padding:40px clamp(20px,5vw,64px)}
.khero--plain .khero__btn{background:var(--klub-on-accent);color:var(--klub-accent)}
@media (max-width:760px){.khero--text{aspect-ratio:4/3}.khero__txt{max-width:90%}}
.ksub{max-width:820px}
.ksub__text{font-size:16px;line-height:1.7;margin:0 0 28px}.ksub__text p{margin:0 0 16px}
.ksub__faq{display:flex;flex-direction:column;gap:10px;margin:8px 0 24px}
.kfaq{background:#fff;border:1px solid #e8e8e6;border-radius:12px}
.kfaq summary{cursor:pointer;list-style:none;padding:16px 20px;font-weight:600;display:flex;justify-content:space-between;gap:12px}
.kfaq summary::-webkit-details-marker{display:none}.kfaq summary::after{content:"+";font-weight:400;font-size:20px;line-height:1;color:#9f9e9e}.kfaq[open] summary::after{content:"–"}
.kfaq__a{padding:0 20px 16px;color:#555}.kfaq__a p{margin:0 0 10px}
.ksub__contact{color:#656565}

/* Varesiden: leveringsdato, Mere fra klubben, fast køb-knap på mobil, Udvalgt (John 14/11) */
.kbuy__ship{margin:14px 0 0;font-size:14px;color:#3f3e3e}.kbuy__ship small{color:#8a8987;font-size:13px}
.kmore{margin:48px 0 0}.kmore > h2{font-size:22px;font-weight:600;margin:0 0 18px}
.kcard__badge--star{background:var(--klub-accent);color:var(--klub-on-accent)}
@media (max-width:760px){.kproduct .kbuy__row{position:fixed;left:0;right:0;bottom:0;z-index:6;margin:0;background:#fff;padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 16px rgba(0,0,0,.08)}.kproduct .kbuy__row .kbtn{flex:1}.kproduct{padding-bottom:110px}}
