/* SKH Jul 1.1.1 – premium julsektion. Endast CSS + en inline-SVG, inga animationer eller extra bilder. */
.skh-jul,.skh-jkt{
  --j-ink:#0b1220; --j-red:#d92d2a; --j-gold:#e9c46a; --j-cream:#fbf6ee;
}
.skh-jul{
  position:relative; overflow:hidden; isolation:isolate;
  margin:0 0 14px; padding:38px 38px 30px; border-radius:24px; color:#fff;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(217,45,42,.28), transparent 70%),
    radial-gradient(500px 280px at 0% 100%, rgba(22,101,52,.30), transparent 70%),
    linear-gradient(160deg,#111a2e 0%,#0b1220 100%);
}
/* Diskreta snöflingor (statisk SVG som bakgrund) */
.skh-jul::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:.07; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M30 18v24M18 30h24M21.5 21.5l17 17M38.5 21.5l-17 17'/%3E%3Cpath d='M90 70v20M80 80h20M83 73l14 14M97 73l-14 14'/%3E%3Ccircle cx='75' cy='25' r='1.6' fill='white'/%3E%3Ccircle cx='15' cy='95' r='1.6' fill='white'/%3E%3Ccircle cx='105' cy='40' r='1.2' fill='white'/%3E%3C/g%3E%3C/svg%3E");
  background-size:120px 120px;
}
/* Tunn guldlinje överst */
.skh-jul::after{content:"";position:absolute;left:38px;right:38px;top:0;height:3px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,transparent,var(--j-gold),transparent);opacity:.9}

.skh-jul-top{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:24px}
.skh-jul-intro{max-width:640px}
.skh-jul-kicker{display:inline-flex;align-items:center;gap:8px;font-size:.74rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--j-gold);margin-bottom:12px}
.skh-jul-kicker svg{width:18px;height:18px}
.skh-jul-intro h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:clamp(2rem,3.6vw,3rem);line-height:1.06;letter-spacing:-.01em;margin:0 0 10px;color:#fff}
.skh-jul-intro p{margin:0;color:rgba(255,255,255,.74);font-size:1.02rem;line-height:1.6}

.skh-jul-aside{display:flex;gap:12px;flex:0 0 auto;align-items:stretch}
.skh-jul-deadline{display:flex;flex-direction:column;justify-content:center;min-width:170px;padding:12px 16px;border-radius:14px;background:var(--j-cream);color:var(--j-ink);position:relative;border-left:4px dashed var(--j-red)}
.skh-jul-deadline__label{font-size:.7rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--j-red)}
.skh-jul-deadline strong{font-size:1.15rem;font-weight:900;line-height:1.2}
.skh-jul-deadline__sub{font-size:.78rem;color:#6b7280}
.skh-jul-gift{display:flex;flex-direction:column;justify-content:center;padding:12px 16px;border-radius:14px;border:1px solid rgba(233,196,106,.45);background:rgba(233,196,106,.08);color:#fff!important;text-decoration:none!important;transition:background .15s,border-color .15s}
.skh-jul-gift:hover{background:rgba(233,196,106,.16);border-color:var(--j-gold)}
.skh-jul-gift span{font-size:.78rem;color:rgba(255,255,255,.7)}
.skh-jul-gift strong{font-size:.98rem;font-weight:900;color:var(--j-gold)}

.skh-jul-tabs{display:inline-flex;gap:4px;padding:4px;margin:0 0 18px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);max-width:100%;overflow-x:auto;scrollbar-width:none}
.skh-jul-tabs::-webkit-scrollbar{display:none}
.skh-jul-tab{flex:0 0 auto;border:0;background:transparent;color:rgba(255,255,255,.78);border-radius:999px;padding:9px 18px;font:inherit;font-weight:800;font-size:.9rem;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.skh-jul-tab:hover{color:#fff}
.skh-jul-tab.is-active{background:#fff;color:var(--j-ink)}

.skh-jul-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.skh-jul-card{display:flex;flex-direction:column;background:#fff;color:var(--j-ink);border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.25);transition:transform .18s ease,box-shadow .18s ease}
.skh-jul-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.32)}
.skh-jul-img{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f6f7f9 100%)}
.skh-jul-img img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;padding:14px;box-sizing:border-box;margin:0!important}
.skh-jul-body{display:flex;flex-direction:column;gap:10px;padding:14px 16px 16px;flex:1}
.skh-jul-body h3{min-height:2.7em}
.skh-jul-body h3{margin:0;font-size:.95rem;line-height:1.35;font-weight:800}
.skh-jul-body h3 a{color:var(--j-ink);text-decoration:none!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.skh-jul-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.skh-jul-price{font-weight:900;font-size:1.08rem;white-space:nowrap}
.skh-jul-price ins{text-decoration:none;color:var(--j-red)}
.skh-jul-price del{color:#9ca3af;font-weight:600;font-size:.8em;display:block}
.skh-jul-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border-radius:999px;background:var(--j-red);color:#fff!important;font-weight:900;font-size:.9rem;text-decoration:none!important;transition:background .15s}
.skh-jul-btn:hover{background:#b91c1c}
.skh-jul .added_to_cart{display:none}
.skh-jul-btn.added{background:#15803d}
.skh-jul-btn.added::after{content:" ✓"}
.skh-jul-note{margin:20px 0 0;color:rgba(255,255,255,.65);font-size:.9rem}
.skh-jul-note a{color:#fff;font-weight:800}

@media (max-width:1100px){ .skh-jul-row{grid-template-columns:repeat(3,minmax(0,1fr))} .skh-jul-row .skh-jul-card:nth-child(n+7){display:none} }
@media (max-width:860px){
  .skh-jul-top{flex-direction:column;align-items:stretch;gap:16px}
  .skh-jul-aside{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .skh-jul-aside > :only-child{grid-column:1 / -1}
  .skh-jul-deadline,.skh-jul-gift{min-width:0;padding:10px 12px}
}
@media (max-width:760px){
  .skh-jul{padding:26px 0 22px 18px;border-radius:18px}
  .skh-jul::after{left:18px;right:18px}
  .skh-jul-top,.skh-jul-note{padding-right:18px}
  .skh-jul-intro h2{font-size:1.75rem}
  .skh-jul-kicker{margin-bottom:8px}
  .skh-jul-deadline strong{font-size:1rem}
  .skh-jul-deadline__label{font-size:.62rem}
  .skh-jul-deadline__sub,.skh-jul-gift span{font-size:.72rem}
  .skh-jul-gift strong{font-size:.88rem}
  .skh-jul-intro p{font-size:.95rem}
  .skh-jul-tabs{margin-right:18px;max-width:calc(100% - 18px)}
  .skh-jul-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:4px 18px 10px 0;scrollbar-width:none}
  .skh-jul-row::-webkit-scrollbar{display:none}
  .skh-jul-row{align-items:stretch}
  .skh-jul-row .skh-jul-card{flex:0 0 58%;scroll-snap-align:start;display:flex}
  .skh-jul-row .skh-jul-card:nth-child(n+7){display:flex}
  .skh-jul-body{padding:12px 12px 14px}
  .skh-jul-body h3{font-size:.88rem}
  .skh-jul-btn{min-height:36px;padding:0 14px;font-size:.85rem}
}

/* ── Länk från startsidans julsektion till /julklappstips/ ── */
.skh-jul-more{display:inline-flex;margin:18px 0 0;padding:11px 18px;border-radius:999px;background:#fff;color:#0b1220!important;font-weight:900;font-size:.92rem;text-decoration:none!important;transition:background .15s}
.skh-jul-more:hover{background:#e9c46a}

/* ── Landningssidan /julklappstips/ (1.2.0) ── */
body.skh-jkt-page .grid-container{max-width:none!important}
body.skh-jkt-page #right-sidebar,body.skh-jkt-page #left-sidebar,body.skh-jkt-page .widget-area.sidebar{display:none!important}
body.skh-jkt-page #primary,body.skh-jkt-page .content-area{width:100%!important;max-width:none!important;float:none!important}
body.skh-jkt-page .site-content{display:block!important;padding:0!important}
body.skh-jkt-page .entry-content{margin:0!important}
body.skh-jkt-page .inside-article{padding:0!important;background:transparent!important}
body.skh-jkt-page .site-content,body.skh-jkt-page .content-area,body.skh-jkt-page .site-main{background:transparent!important}
body.skh-jkt-page{background:#f3f4f6}
.skh-jkt{width:min(1280px,calc(100vw - 32px));margin:16px auto 70px;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827}
.skh-jkt-hero{padding:44px 44px 34px;margin-bottom:18px}
.skh-jkt-hero h1{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:clamp(2.1rem,4.4vw,3.6rem);line-height:1.04;margin:0 0 14px;color:#fff;max-width:900px}
.skh-jkt-lead{margin:0 0 22px;max-width:760px;color:rgba(255,255,255,.78);font-size:1.06rem;line-height:1.65}
.skh-jkt-aside{margin-bottom:22px;justify-content:flex-start}
.skh-jkt-jump{display:flex;flex-wrap:wrap;gap:8px}
.skh-jkt-jump a{padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);color:#fff!important;text-decoration:none!important;font-weight:700;font-size:.86rem;background:rgba(255,255,255,.05)}
.skh-jkt-jump a:hover{background:#fff;color:#0b1220!important}
.skh-jkt-sec{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:28px;margin:0 0 14px;scroll-margin-top:110px}
.skh-jkt-sec__head{margin-bottom:18px;max-width:780px}
.skh-jkt-sec__head h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:clamp(1.6rem,2.6vw,2.2rem);line-height:1.1;margin:0 0 8px;color:#111827}
.skh-jkt-sec__head p{margin:0;color:#4b5563;line-height:1.6}
.skh-jkt-row .skh-jul-card{box-shadow:none;border:1px solid #e5e7eb}
.skh-jkt-row .skh-jul-card:hover{box-shadow:0 14px 34px rgba(15,23,42,.10)}
.skh-jkt-why{background:#0b1220;color:#fff;border-radius:22px;padding:30px;margin:0 0 14px}
.skh-jkt-why h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:clamp(1.6rem,2.6vw,2.2rem);margin:0 0 18px;color:#fff}
.skh-jkt-why ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.skh-jkt-why li{padding:16px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10)}
.skh-jkt-why li strong{display:block;color:#e9c46a;font-weight:900;margin-bottom:4px}
.skh-jkt-why li span{color:rgba(255,255,255,.78);font-size:.92rem;line-height:1.5}
.skh-jkt-faq{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:28px;margin:0 0 14px}
.skh-jkt-faq h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:clamp(1.6rem,2.6vw,2.2rem);margin:0 0 12px}
.skh-jkt-faq details{border-top:1px solid #eef0f3}
.skh-jkt-faq summary{cursor:pointer;list-style:none;padding:16px 0;font-weight:800;display:flex;justify-content:space-between;gap:12px}
.skh-jkt-faq summary::-webkit-details-marker{display:none}
.skh-jkt-faq summary::after{content:"+";color:#d92d2a;font-size:1.3rem;line-height:1}
.skh-jkt-faq details[open] summary::after{content:"–"}
.skh-jkt-faq details p{margin:0 0 16px;color:#4b5563;line-height:1.65;max-width:820px}
.skh-jkt-cta{text-align:center;color:#4b5563;margin:22px 0 0}
.skh-jkt-cta a{color:#111827;font-weight:900}
@media (max-width:1100px){ .skh-jkt-why ul{grid-template-columns:repeat(2,1fr)} }
@media (max-width:760px){
  .skh-jkt{width:calc(100vw - 20px);margin-top:10px}
  .skh-jkt-hero{padding:28px 18px 24px}
  .skh-jkt-hero h1{font-size:2rem}
  .skh-jkt-lead{font-size:.96rem}
  .skh-jkt-jump{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
  .skh-jkt-jump::-webkit-scrollbar{display:none}
  .skh-jkt-jump a{flex:0 0 auto}
  .skh-jkt-sec{padding:20px 0 18px 16px;border-radius:18px}
  .skh-jkt-sec__head{padding-right:16px}
  .skh-jkt-sec__head h2{font-size:1.5rem}
  .skh-jkt-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:2px 16px 8px 0;scrollbar-width:none}
  .skh-jkt-row::-webkit-scrollbar{display:none}
  .skh-jkt-row .skh-jul-card{flex:0 0 58%;scroll-snap-align:start;display:flex!important}
  .skh-jkt-why,.skh-jkt-faq{padding:20px 16px;border-radius:18px}
  .skh-jkt-why ul{grid-template-columns:1fr}
}

/* Förhandsvisningsbanner (bara för inloggade admins före startdatum) */
.skh-jul-preview{margin:-14px 0 18px;padding:8px 12px;border-radius:10px;background:#fde68a;color:#78350f;font-size:.82rem;font-weight:800}
