/* Nordic Med Can – temats enda stilmall. Mobil först. */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/montserrat-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/montserrat-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--ink: #13201a;
	--ink-2: #3a4540;
	--muted: #5c6661;
	--forest: #0d3a2b;
	--forest-2: #145c43;
	--green: #007a45;
	--green-d: #00663a;
	--green-50: #e9f5ef;
	--gold: #d6b26a;
	--gold-d: #b9944a;
	--red: #c8372d;
	--bg: #f6f5f1;
	--card: #fff;
	--line: #e5e3dc;
	--line-2: #949086;
	--r: 14px;
	--r-sm: 10px;
	--r-pill: 999px;
	--sh: 0 1px 2px rgba(19, 32, 26, .05), 0 6px 20px rgba(19, 32, 26, .06);
	--sh-lg: 0 18px 50px rgba(13, 58, 43, .18);
	--wrap: 1320px;
	--gut: 16px;
	--head: 64px;
	--head-total: 64px;
	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color-scheme: light;
}
@media (min-width: 768px) { :root { --gut: 28px; --head: 76px; --head-total: 76px; } }
@media (min-width: 1024px) { :root { --head-total: 125px; } }

/* ---------- Bas ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-total) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-bottom: 64px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
ins { text-decoration: none; }
.woocommerce-mini-cart-item .quantity del { margin-right: 4px; }
a:hover { color: var(--green-d); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(28px, 4.2vw, 44px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; border-radius: 8px; box-shadow: var(--sh); }
.nmc-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.nmc-wrap--narrow { max-width: 820px; }
.nmc-i { flex: none; }
[hidden] { display: none !important; }

/* ---------- Knappar ---------- */
.nmc-btn, .button, button.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button, #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--r-pill);
	background: var(--green); color: #fff !important; font-weight: 700; font-size: 15px; letter-spacing: .01em;
	cursor: pointer; text-decoration: none; transition: background .2s, transform .1s, box-shadow .2s; white-space: nowrap;
}
.nmc-btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, #place_order:hover { background: var(--green-d); color: #fff; }
.nmc-btn:active { transform: translateY(1px); }
.nmc-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.nmc-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.nmc-btn--gold { background: var(--gold); color: var(--forest) !important; }
.nmc-btn--gold:hover { background: #e2c07c; color: var(--forest) !important; }
.nmc-btn--soft { background: var(--green-50); color: var(--green-d) !important; }
.nmc-btn--soft:hover { background: #d9eee3; color: var(--green-d) !important; }
.nmc-btn--ghost { background: transparent; color: var(--ink-2) !important; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.nmc-btn--ghost:hover { background: #fff; color: var(--ink) !important; }
.nmc-btn--ghost-light { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.nmc-btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.button.loading, .nmc-btn.loading { opacity: .75; pointer-events: none; position: relative; }
.button.loading::after, .nmc-btn.loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: nmc-spin .7s linear infinite; }
.button.added::after, .nmc-btn.added::after { content: "✓"; }
@keyframes nmc-spin { to { transform: rotate(360deg); } }
.nmc-iconbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; }
.nmc-iconbtn:hover { background: rgba(19, 32, 26, .06); color: var(--ink); }
.nmc-cart-count, .nmc-fav-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.nmc-fav-count { background: var(--ink); }
.nmc-cart-count.bump { animation: nmc-bump .45s ease; }
@keyframes nmc-bump { 40% { transform: scale(1.35); } }

/* ---------- Toppfält ---------- */
.nmc-announce { background: var(--forest); color: #eaf3ee; font-size: 12.5px; font-weight: 600; overflow: hidden; }
.nmc-announce__track { display: flex; justify-content: center; gap: 36px; padding: 8px var(--gut); white-space: nowrap; }
.nmc-announce__track span { display: inline-flex; align-items: center; gap: 7px; }
.nmc-announce__track svg { color: var(--gold); }
@media (max-width: 899px) {
	.nmc-announce__track { display: grid; justify-content: center; }
	.nmc-announce__track span { grid-area: 1 / 1; opacity: 0; transition: opacity .5s; }
	.nmc-announce__track span.is-on { opacity: 1; }
	.nmc-announce__track span:first-child:not(.is-off) { opacity: 1; }
}

/* ---------- Header ---------- */
.nmc-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.nmc-header.is-stuck { box-shadow: 0 6px 24px rgba(19, 32, 26, .08); }
.admin-bar .nmc-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .nmc-header { top: 32px; } }
.nmc-header__bar { display: flex; align-items: center; gap: 8px; height: var(--head); }
.nmc-logo { display: flex; align-items: center; flex: none; }
.nmc-logo__img { width: auto; height: 26px; }
@media (min-width: 768px) { .nmc-logo__img { height: 32px; } }
.nmc-header__burger { margin-left: -10px; }
.nmc-tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nmc-tools__account, .nmc-tools__fav { display: none; }
@media (min-width: 1024px) {
	.nmc-header__burger, .nmc-tools__search { display: none; }
	.nmc-tools__account, .nmc-tools__fav { display: inline-grid; }
}
.nmc-header__secure { margin: 0 0 0 auto; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green-d); }
.nmc-header--focus .nmc-header__bar { justify-content: space-between; }

/* Sök */
.nmc-search { position: relative; display: none; align-items: center; flex: 1; max-width: 560px; margin: 0 auto; }
.nmc-search > svg { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.nmc-search input[type="search"] { width: 100%; height: 46px; padding: 0 18px 0 46px; border: 1.5px solid transparent; border-radius: var(--r-pill); background: #f0efea; font-size: 15px; outline: 0; transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; }
.nmc-search input[type="search"]:focus { background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 131, 74, .12); }
@media (min-width: 1024px) { .nmc-search { display: flex; margin: 0 24px; } }
@media (max-width: 1023px) {
	.nmc-search.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; max-width: none; padding: 10px var(--gut) 12px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(19, 32, 26, .08); }
	.nmc-search.is-open > svg { left: calc(var(--gut) + 16px); }
}
.nmc-search__results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50; max-height: min(70vh, 560px); overflow: auto; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); padding: 8px; }
@media (max-width: 1023px) { .nmc-search.is-open .nmc-search__results { left: var(--gut); right: var(--gut); top: calc(100% - 4px); } }
.nmc-search__group { padding: 6px 8px 2px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nmc-search__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); color: var(--ink); }
.nmc-search__item:hover, .nmc-search__item.is-active { background: var(--bg); color: var(--ink); }
.nmc-search__item img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.nmc-search__item strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.nmc-search__item .price { font-size: 13px; color: var(--muted); }
.nmc-search__cat { display: inline-flex; margin: 4px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--green-50); color: var(--green-d); font-size: 13px; font-weight: 600; }
.nmc-search__all { display: block; margin-top: 6px; padding: 12px; border-radius: var(--r-sm); background: var(--forest); color: #fff; text-align: center; font-weight: 700; }
.nmc-search__all:hover { color: #fff; background: var(--forest-2); }
.nmc-search__none { padding: 16px; color: var(--muted); text-align: center; margin: 0; }

/* Kategorimeny (desktop) */
.nmc-nav { display: none; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .nmc-nav { display: block; } }
.nmc-nav__list { display: flex; gap: 4px; margin: 0 auto; list-style: none; height: 48px; align-items: center; }
.nmc-nav__list > li { position: relative; }
.nmc-nav__list > li > a { display: block; padding: 8px 14px; border-radius: var(--r-pill); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.nmc-nav__list > li > a:hover, .nmc-nav__list > li > a[aria-current] { background: var(--bg); color: var(--ink); }
.nmc-nav__list > li:first-child > a { color: var(--green-d); }
.nmc-nav__sub { position: absolute; top: 100%; left: 0; min-width: 200px; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nmc-nav__list > li:hover .nmc-nav__sub, .nmc-nav__list > li:focus-within .nmc-nav__sub { opacity: 1; visibility: visible; transform: none; }
.nmc-nav__sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.nmc-nav__sub a:hover { background: var(--bg); }

/* Mobilmeny */
.nmc-drawer { position: fixed; inset: 0; z-index: 2000; }
.nmc-drawer__overlay, .nmc-cart__overlay { position: absolute; inset: 0; background: rgba(13, 22, 18, .5); opacity: 0; transition: opacity .3s; }
.nmc-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); overflow-y: auto; background: #fff; transform: translateX(-100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
.nmc-drawer.is-open .nmc-drawer__overlay, .nmc-cart.is-open .nmc-cart__overlay { opacity: 1; }
.nmc-drawer.is-open .nmc-drawer__panel { transform: none; }
.nmc-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px 12px var(--gut); border-bottom: 1px solid var(--line); }
.nmc-drawer__list, .nmc-drawer__service { list-style: none; margin: 0; padding: 8px 0; }
.nmc-drawer__list a { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gut); color: var(--ink); font-size: 17px; font-weight: 700; border-bottom: 1px solid #f0efea; }
.nmc-drawer__list a svg { color: var(--muted); }
.nmc-drawer__list ul { list-style: none; margin: 0; padding: 0 0 8px; background: var(--bg); }
.nmc-drawer__list ul a { font-size: 15px; font-weight: 600; padding-left: calc(var(--gut) + 16px); border: 0; }
.nmc-drawer__service { margin-top: auto; padding: 16px var(--gut) 28px; background: var(--bg); display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.nmc-drawer__service a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }

/* Flikrad längst ner (mobil) */
.nmc-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 62px; padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.nmc-tabbar > * { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; cursor: pointer; }
.nmc-tabbar > *[aria-current] { color: var(--green-d); }
.nmc-tabbar .nmc-cart-count, .nmc-tabbar .nmc-fav-count { top: 5px; right: calc(50% - 22px); }
@media (min-width: 1024px) { .nmc-tabbar { display: none; } }
body.single-product .nmc-tabbar { display: none; }
body.single-product { padding-bottom: 0; }

/* ---------- Startsidan ---------- */
.nmc-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.nmc-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f3efe4 0%, var(--bg) 100%); }
.nmc-hero__grid { position: relative; z-index: 1; display: grid; gap: 18px; padding-top: 28px; padding-bottom: 36px; }
@media (min-width: 900px) { .nmc-hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-top: 64px; padding-bottom: 72px; } }
.nmc-hero__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--sh); font-size: 12.5px; font-weight: 700; color: var(--forest); }
.nmc-hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0, 122, 69, .15); }
.nmc-hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 16px; color: var(--forest); }
.nmc-hero h1 span { color: var(--green); }
.nmc-hero__lead { max-width: 32em; font-size: clamp(15px, 1.4vw, 18px); color: var(--ink-2); margin-bottom: 22px; }
.nmc-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.nmc-hero__proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.nmc-hero__proof li { display: flex; align-items: center; gap: 7px; }
.nmc-hero__proof svg { color: var(--green); }
.nmc-hero__art { position: relative; height: 270px; order: -1; }
@media (min-width: 900px) { .nmc-hero__art { height: 460px; order: 0; } }
.nmc-hero__blob { position: absolute; inset: 6% 4%; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: radial-gradient(circle at 30% 30%, #dfeee5, #c9e2d3 60%, #b9d9c6); }
.nmc-hero__item { position: absolute; display: block; width: 40%; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(13, 58, 43, .18); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.nmc-hero__item img { width: 100%; height: 100%; object-fit: cover; }
.nmc-hero__item--0 { left: 30%; top: 4%; width: 44%; z-index: 3; transform: rotate(-2deg); }
.nmc-hero__item--1 { left: 2%; top: 30%; z-index: 2; transform: rotate(-7deg); }
.nmc-hero__item--2 { right: 2%; top: 32%; z-index: 1; transform: rotate(6deg); }
.nmc-hero__item:hover, .nmc-hero__item:focus-visible { transform: rotate(0) translateY(-6px); z-index: 4; box-shadow: 0 26px 50px rgba(13, 58, 43, .25); }
.nmc-hero__tag { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, .92); font-size: 11.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(4px); transition: .25s; }
.nmc-hero__item:hover .nmc-hero__tag, .nmc-hero__item:focus-visible .nmc-hero__tag { opacity: 1; transform: none; }
@media (hover: none) { .nmc-hero__tag { opacity: 1; transform: none; } }

.nmc-section { padding: 44px 0; }
@media (min-width: 900px) { .nmc-section { padding: 72px 0; } }
.nmc-section.nmc-wrap { padding-left: var(--gut); padding-right: var(--gut); }
.nmc-section--tint { background: #ecebe4; }
.nmc-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.nmc-section__head h2 { margin: 0; }
.nmc-section__sub { max-width: 34em; margin: 0; color: var(--muted); }
.nmc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }

.nmc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 599px) { .nmc-tiles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scrollbar-width: none; } .nmc-tiles::-webkit-scrollbar { display: none; } .nmc-tiles li { scroll-snap-align: start; } }
.nmc-tiles a { display: flex; flex-direction: column; height: 100%; padding: 12px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.nmc-tiles a:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); color: var(--ink); }
.nmc-tiles__img { display: block; aspect-ratio: 1; margin-bottom: 10px; border-radius: var(--r-sm); overflow: hidden; background: #f3f2ed; }
.nmc-tiles__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nmc-tiles a:hover .nmc-tiles__img img { transform: scale(1.05); }
.nmc-tiles__name { font-weight: 800; font-size: 15px; }
.nmc-tiles__count { font-size: 12.5px; color: var(--muted); }

.nmc-lab { background: var(--forest); color: #d8e8df; }
.nmc-lab h2 { color: #fff; }
.nmc-lab .nmc-eyebrow { color: var(--gold); }
.nmc-lab .nmc-section__sub { color: #b9d2c5; }
.nmc-lab__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 10px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
@media (min-width: 1100px) { .nmc-lab__list { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; margin: 0; padding: 0; } }
.nmc-lab__list li { scroll-snap-align: start; }
.nmc-lab__list a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background .2s, transform .2s; }
.nmc-lab__list a:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); color: #fff; }
.nmc-lab__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; background: rgba(214, 178, 106, .16); color: var(--gold); }
.nmc-lab__list strong { font-size: 14.5px; line-height: 1.3; }
.nmc-lab__list span:last-child { font-size: 12px; color: #a9c5b6; }

.nmc-reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 14px; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 10px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nmc-reviews::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .nmc-reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; } }
.nmc-reviews li { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh); scroll-snap-align: start; }
.nmc-reviews p { flex: 1; margin: 0; font-size: 15px; color: var(--ink-2); }
.nmc-reviews__who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.nmc-reviews__who b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-50); color: var(--green-d); font-size: 14px; }

.nmc-about { display: grid; gap: 12px 48px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .nmc-about { grid-template-columns: 1fr 1.4fr; } }
.nmc-about__text { color: var(--ink-2); font-size: 16px; }

/* ---------- Betyg ---------- */
.nmc-stars { --r: 100%; position: relative; display: inline-block; font-size: 14px; line-height: 1; letter-spacing: 2px; color: #ddd8cc; }
.nmc-stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--r); overflow: hidden; color: #f2a93b; }

/* ---------- Produktrutnät och kort ---------- */
ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { position: relative; display: flex; flex-direction: column; width: auto; margin: 0; padding: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--sh); overflow: hidden; transition: box-shadow .25s, transform .25s; }
ul.products li.product:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.nmc-card__media { position: relative; }
.nmc-card__img { position: relative; display: block; aspect-ratio: 1; background: #f3f2ed; overflow: hidden; }
.nmc-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.nmc-card__img-alt { opacity: 0; }
@media (hover: hover) {
	li.product:hover .nmc-card__img-alt { opacity: 1; }
	li.product:hover .nmc-card__img-main { transform: scale(1.04); }
}
.nmc-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.nmc-badge, .onsale { display: inline-block; padding: 4px 9px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; line-height: 1.3; }
.nmc-badge--sale, .onsale { background: var(--red); }
.nmc-badge--new { background: var(--gold); color: var(--forest); }
.nmc-badge--out { background: #4d534f; }
.nmc-fav--card { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transition: transform .15s, color .2s; }
.nmc-fav--card:hover { transform: scale(1.08); }
.nmc-fav[aria-pressed="true"] { color: var(--red); }
.nmc-fav[aria-pressed="true"] svg { fill: currentColor; }
.nmc-fav.pop svg { animation: nmc-bump .4s; }
.nmc-card__body { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 12px 12px 4px; }
@media (min-width: 768px) { .nmc-card__body { padding: 16px 16px 6px; } }
.nmc-card__brand { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nmc-card__title { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
@media (min-width: 768px) { .nmc-card__title { font-size: 15px; } }
.nmc-card__title a { color: var(--ink); }
.nmc-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nmc-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.nmc-card__opts { font-size: 12px; color: var(--muted); }
.nmc-card__price { margin-top: auto; padding-top: 6px; font-size: 16px; font-weight: 800; }
.price del, .nmc-card__price del { color: var(--muted); font-weight: 500; font-size: .85em; margin-right: 4px; }
.price ins, .nmc-card__price ins { text-decoration: none; color: var(--red); }
.nmc-from { font-weight: 800; }
.nmc-card__cta { position: relative; z-index: 2; margin: 10px 12px 12px; min-height: 42px; font-size: 14px; }
@media (min-width: 768px) { .nmc-card__cta { margin: 10px 16px 16px; } }
@media (max-width: 599px) { .nmc-card__cta { min-height: 40px; padding: 0 10px; font-size: 13px; } }
.added_to_cart.wc-forward { display: none !important; }

/* Rad som scrollar i sidled på mobilen */
@media (max-width: 767px) {
	.nmc-rail ul.products { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 14px; scrollbar-width: none; }
	.nmc-rail ul.products::-webkit-scrollbar { display: none; }
	.nmc-rail li.product { scroll-snap-align: start; }
}

/* ---------- Kategorisida ---------- */
.nmc-shop { padding: 18px 0 56px; }
.nmc-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.nmc-crumbs a { color: var(--muted); }
.nmc-crumbs a:hover { color: var(--ink); }
.nmc-crumbs .sep { opacity: .5; }
.nmc-shop__head { margin-bottom: 18px; }
.nmc-shop__head h1 { margin-bottom: 8px; }
.nmc-shop__desc { max-width: 760px; color: var(--ink-2); }
.nmc-shop__desc p:last-child { margin-bottom: 0; }
.nmc-shop__desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nmc-readmore { margin-top: 4px; padding: 0; border: 0; background: none; color: var(--green); font-weight: 700; font-size: 14px; cursor: pointer; }
.nmc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.nmc-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 15px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap; transition: .15s; }
.nmc-chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); color: var(--ink); }
.nmc-chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.nmc-chip small { font-size: 12px; color: var(--muted); }
.nmc-chips--cats .nmc-chip { background: var(--green-50); box-shadow: none; color: var(--green-d); }
.nmc-switch { position: relative; width: 30px; height: 18px; border-radius: 9px; background: var(--line-2); transition: .2s; }
.nmc-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: .2s; }
.nmc-chip--toggle.is-active { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.nmc-chip--toggle.is-active .nmc-switch { background: var(--green); }
.nmc-chip--toggle.is-active .nmc-switch::after { transform: translateX(12px); }
.nmc-shop__bar { position: sticky; top: var(--head-total); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 calc(-1 * var(--gut)) 18px; padding: 10px var(--gut); background: rgba(246, 245, 241, .95); backdrop-filter: blur(10px); }
.admin-bar .nmc-shop__bar { top: calc(var(--head-total) + 32px); }
.nmc-shop__filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; }
.nmc-shop__filters::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .nmc-shop__filters { flex: 1; flex-wrap: wrap; } }
.nmc-shop__sort { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nmc-shop__count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, select.orderby { height: 40px; padding: 0 36px 0 14px; border: 0; border-radius: var(--r-pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2313201a' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 600; -webkit-appearance: none; appearance: none; cursor: pointer; }
.woocommerce-pagination { margin-top: 36px; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; border: 0; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--sh); }
.woocommerce-pagination .current { background: var(--ink); color: #fff; }
.nmc-empty { max-width: 460px; margin: 40px auto; padding: 36px 24px; text-align: center; border-radius: var(--r); background: #fff; box-shadow: var(--sh); }
.nmc-empty svg { margin: 0 auto 12px; color: var(--muted); }

/* ---------- Produktsidan ---------- */
.single-product #primary, .single-product .site-main { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gut) 0; }
.single-product div.product { display: grid; gap: 22px 56px; position: relative; }
@media (min-width: 900px) { .single-product div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.single-product div.product > .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product > .summary { grid-column: 1; }
@media (min-width: 900px) {
	.single-product div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
	.single-product div.product > .summary { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--head-total) + 20px); }
	.single-product div.product > .woocommerce-tabs { grid-column: 1; grid-row: 2; }
}
.single-product div.product > .onsale { display: none; }
.woocommerce-product-gallery { position: relative; margin: 0 calc(-1 * var(--gut)); opacity: 1 !important; }
@media (min-width: 900px) { .woocommerce-product-gallery { margin: 0; } }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: #f3f2ed; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 900px) { .woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { border-radius: 22px; overflow: hidden; } }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--sh); font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; }
.woocommerce-product-gallery__trigger img { display: none !important; }
.flex-control-thumbs { display: flex; gap: 8px; margin: 10px var(--gut) 0; padding: 0; list-style: none; overflow-x: auto; }
@media (min-width: 900px) { .flex-control-thumbs { margin: 12px 0 0; } }
.flex-control-thumbs li { flex: 0 0 72px; }
.flex-control-thumbs img { border-radius: 10px; cursor: pointer; opacity: .6; transition: opacity .2s; border: 2px solid transparent; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; border-color: var(--ink); }
.flex-direction-nav { display: none; }

.summary .nmc-crumbs { margin-bottom: 6px; }
.nmc-pdp__brand { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.summary .product_title { font-size: clamp(24px, 3vw, 36px); margin: 0 0 8px; }
.nmc-pdp__rating { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.summary > .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 4px 0 14px; font-size: 28px; font-weight: 800; color: var(--ink); }
.summary > .price del { font-size: 18px; }
.nmc-pdp__save { margin: -6px 0 14px; }
.nmc-pdp__short { margin-bottom: 18px; color: var(--ink-2); font-size: 15px; }
.nmc-pdp__short ul { padding-left: 18px; margin: 0 0 10px; }
.nmc-pdp__short p:last-child { margin-bottom: 0; }

/* Varianter som knappar */
table.variations { width: 100%; margin: 0 0 6px; border: 0; border-collapse: collapse; }
table.variations tr { display: block; margin-bottom: 14px; }
table.variations th, table.variations td { display: block; padding: 0; border: 0; text-align: left; }
table.variations th.label { margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
table.variations th.label .nmc-chosen { font-weight: 600; color: var(--muted); margin-left: 4px; }
table.variations select.nmc-hidden-select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
table.variations select { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: #fff; }
.reset_variations { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.nmc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.nmc-opt { min-width: 56px; min-height: 46px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; transition: .15s; }
.nmc-opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.nmc-opt[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.nmc-opt[disabled], .nmc-opt.is-out { color: #a9aea9; background: repeating-linear-gradient(135deg, #fff 0 6px, #f4f3ef 6px 12px); text-decoration: line-through; cursor: not-allowed; }
.woocommerce-variation-price { margin: 4px 0 12px; font-size: 24px; font-weight: 800; }
.woocommerce-variation-availability .stock { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.stock.in-stock { color: var(--green-d); }
.stock.out-of-stock { color: var(--red); }

/* Köprad */
form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 6px 0 18px; }
form.cart .single_add_to_cart_button { flex: 1; min-height: 54px; font-size: 16px; }
.single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.quantity { display: inline-flex; align-items: center; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; }
.quantity .qty { width: 42px; height: 52px; border: 0; background: transparent; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nmc-step { width: 40px; height: 52px; border: 0; background: none; font-size: 20px; color: var(--ink-2); cursor: pointer; }
.nmc-fav--single { display: grid; place-items: center; width: 54px; min-height: 54px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); cursor: pointer; }
.nmc-pdp__trust { display: grid; gap: 10px; margin: 6px 0 0; padding: 16px; list-style: none; border-radius: var(--r); background: #fff; box-shadow: var(--sh); font-size: 13.5px; color: var(--ink-2); }
.nmc-pdp__trust li { display: flex; align-items: flex-start; gap: 10px; }
.nmc-pdp__trust svg { color: var(--green); margin-top: 1px; }
.nmc-pdp__trust strong { color: var(--ink); }
.nmc-pdp__trust .is-stock { font-weight: 700; color: var(--green-d); align-items: center; }
.nmc-pdp__trust .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0, 131, 74, .15); margin: 0 4px; }

/* Trappstegspriser (Tiered Price Table) */
.tiered-pricing-wrapper, .tier-pricing-summary-table, .tiered-pricing-table { margin: 0 0 16px !important; }
.tiered-pricing-wrapper table, table.tiered-pricing-table { width: 100%; border-collapse: collapse; border-radius: var(--r-sm); overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; }
.tiered-pricing-wrapper th, .tiered-pricing-wrapper td, .tiered-pricing-table th, .tiered-pricing-table td { padding: 9px 12px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; text-align: left; }
.tiered-pricing-wrapper th { background: var(--bg); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.tiered-pricing--active td, .tiered-pricing-wrapper tr.tiered-pricing--active { background: var(--green-50) !important; }

/* Flikar */
.woocommerce-tabs { margin-top: 28px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 6px; margin: 0 0 22px; padding: 0 0 2px; list-style: none; border-bottom: 1.5px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 16px; margin-bottom: -2px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 700; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-color: var(--ink); }
.woocommerce-Tabs-panel { max-width: 860px; font-size: 15.5px; color: var(--ink-2); }
.woocommerce-Tabs-panel h2, .woocommerce-Tabs-panel h3 { color: var(--ink); margin-top: 1.2em; }
.woocommerce-Tabs-panel h2 { font-size: 22px; }
.woocommerce-Tabs-panel > *:first-child { margin-top: 0; }
.woocommerce-Tabs-panel ul { padding-left: 20px; }
.woocommerce-Tabs-panel hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.nmc-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0 0 22px; }
.nmc-specs div { padding: 12px 14px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.nmc-specs dt { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nmc-specs dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.nmc-table, .woocommerce-Tabs-panel table, .nmc-prose table { width: 100%; max-width: 560px; margin: 0 0 22px; border-collapse: collapse; background: #fff; border-radius: var(--r-sm); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.nmc-table th, .nmc-table td, .woocommerce-Tabs-panel table th, .woocommerce-Tabs-panel table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.nmc-table tr:last-child th, .nmc-table tr:last-child td { border-bottom: 0; }
.nmc-table th { font-weight: 700; color: var(--ink); width: 50%; }

/* Recensioner */
#reviews .commentlist { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
#reviews .commentlist li { padding: 18px; border-radius: var(--r); background: #fff; box-shadow: var(--sh); }
#reviews .comment_container img.avatar { display: none; }
#reviews .comment-text { margin: 0 !important; border: 0 !important; padding: 0 !important; }
#reviews .meta { font-size: 13px; color: var(--muted); }
.star-rating { position: relative; width: 5.6em; height: 1.1em; overflow: hidden; font-size: 14px; line-height: 1; }
.star-rating::before { content: "★★★★★"; position: absolute; color: #ddd8cc; letter-spacing: 2px; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: #f2a93b; letter-spacing: 2px; }
p.stars a { display: inline-block; width: 28px; height: 28px; font-size: 0; position: relative; }
p.stars a::before { content: "★"; position: absolute; inset: 0; font-size: 24px; color: #ddd8cc; }
p.stars:hover a::before, p.stars.selected a.active::before, p.stars.selected a:not(.active)::before { color: #f2a93b; }
p.stars:hover a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: #ddd8cc; }

.nmc-pdp-more { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 56px; }
.related, .up-sells { margin-top: 48px; }
.related > h2, .up-sells > h2 { font-size: 24px; }

/* Fast köpknapp (mobil) */
.nmc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 960; display: flex; align-items: center; gap: 12px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px rgba(19, 32, 26, .1); transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.nmc-sticky.is-on { transform: none; }
.nmc-sticky__info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.nmc-sticky__info img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.nmc-sticky__info strong { display: block; font-size: 13px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmc-sticky__price { font-size: 14px; font-weight: 800; }
.nmc-sticky__price del { display: none; }
.nmc-sticky__btn { flex: none; }
@media (min-width: 900px) { .nmc-sticky { left: auto; right: 24px; bottom: 24px; max-width: 480px; border-radius: 18px; } }

/* ---------- Sidovarukorg ---------- */
.nmc-cart { position: fixed; inset: 0; z-index: 2100; }
.nmc-cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100vw, 430px); display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform .34s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--sh-lg); }
.nmc-cart.is-open .nmc-cart__panel { transform: none; }
.nmc-cart__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); }
.nmc-cart__head h2 { margin: 0; font-size: 19px; }
.nmc-cart__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.nmc-cart__inner { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.nmc-cart__inner .widget_shopping_cart_content, .nmc-cart__inner > .woocommerce-mini-cart, .nmc-cart__inner .woocommerce-mini-cart { flex: 1; overflow-y: auto; }
.woocommerce-mini-cart { margin: 0; padding: 4px 20px; list-style: none; flex: 1; overflow-y: auto; }
.woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 4px 14px; padding: 16px 28px 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.woocommerce-mini-cart-item a:not(.remove) { display: contents; color: var(--ink); font-weight: 700; line-height: 1.35; }
.woocommerce-mini-cart-item img { grid-row: 1 / span 3; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #f3f2ed; }
.woocommerce-mini-cart-item .quantity { display: block; box-shadow: none; background: none; color: var(--muted); font-size: 13px; }
.woocommerce-mini-cart-item .variation { margin: 0; font-size: 12.5px; color: var(--muted); display: flex; gap: 4px; }
.woocommerce-mini-cart-item .variation dt, .woocommerce-mini-cart-item .variation dd, .woocommerce-mini-cart-item .variation p { margin: 0; }
.woocommerce-mini-cart-item .remove { position: absolute; top: 14px; right: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--muted) !important; font-size: 20px; line-height: 1; }
.woocommerce-mini-cart-item .remove:hover { background: var(--bg); color: var(--red) !important; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0; padding: 16px 20px 6px; border-top: 1px solid var(--line); font-size: 17px; }
.woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin: 0; padding: 10px 20px calc(18px + env(safe-area-inset-bottom)); }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: var(--bg); color: var(--ink) !important; }
.woocommerce-mini-cart__buttons .checkout { background: var(--green); }
.woocommerce-mini-cart__empty-message { padding: 48px 24px; text-align: center; color: var(--muted); }
.nmc-ship { margin: 14px 20px 4px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg); font-size: 13.5px; }
.nmc-ship p { margin: 0 0 8px; line-height: 1.45; }
.nmc-ship p svg { display: inline-block; vertical-align: -4px; margin-right: 6px; }
.nmc-ship svg { color: var(--green); }
.nmc-ship__bar { height: 7px; border-radius: 4px; background: #e2e0d8; overflow: hidden; }
.nmc-ship__bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green), #26b06e); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.nmc-ship.is-done { background: var(--green-50); color: var(--green-d); }

/* ---------- Sidor, varukorg, kassa, konto ---------- */
.nmc-page { padding: 26px 0 64px; }
@media (min-width: 900px) { .nmc-page { padding: 40px 0 80px; } }
.nmc-page__title { margin-bottom: 22px; }
.nmc-page--prose .nmc-page__content, .nmc-prose { font-size: 16px; color: var(--ink-2); }
.nmc-page--prose .nmc-page__content h2, .nmc-page--prose .nmc-page__content h3 { color: var(--ink); margin-top: 1.4em; }
.nmc-page--prose .nmc-page__content img { border-radius: var(--r); }
.nmc-page--wc .nmc-page__content > .woocommerce { margin: 0; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], textarea, select, .select2-container .select2-selection--single {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 16px; outline: 0; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 131, 74, .12); }
.select2-container .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); }
label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.form-row { margin: 0 0 14px; padding: 0; }
.form-row label { display: block; margin-bottom: 6px; }
.form-row .required { color: var(--red); text-decoration: none; }
.woocommerce-invalid input { border-color: var(--red); }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 18px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--green-50); color: var(--green-d); font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border: 0; }
.woocommerce-info { background: #eef1f6; color: #2c3e5a; }
.woocommerce-error { background: #fbeceb; color: #9c2a22; display: block; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 0 16px; font-size: 13.5px; order: 2; }

/* Varukorg */
.woocommerce-cart .nmc-page__content > .woocommerce { display: grid; gap: 24px; }
@media (min-width: 1000px) { .woocommerce-cart .nmc-page__content > .woocommerce { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } .woocommerce-cart .nmc-ship, .woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; margin: 0; } }
.woocommerce-cart-form { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 6px 18px; }
table.shop_table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.shop_table th { padding: 12px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cart img { width: 72px; border-radius: 10px; }
table.cart .product-remove a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--muted) !important; font-size: 20px; }
table.cart .product-name a { color: var(--ink); font-weight: 700; }
table.cart td.actions { border: 0; padding-top: 18px; }
table.cart td.actions .coupon { display: flex; gap: 8px; margin-bottom: 10px; }
table.cart td.actions .coupon input { max-width: 220px; }
table.cart td.actions > .button { background: var(--bg); color: var(--ink) !important; }
@media (max-width: 767px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: grid; grid-template-columns: 72px 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	table.shop_table_responsive td { display: block; padding: 0; border: 0; text-align: left !important; }
	table.shop_table_responsive td::before { display: none; }
	table.cart .product-thumbnail { grid-row: 1 / span 3; }
	table.cart .product-remove { grid-column: 3; grid-row: 1; }
	table.cart .product-name { grid-column: 2; grid-row: 1; }
	table.cart .product-price { display: none !important; }
	table.cart .product-quantity, table.cart .product-subtotal { grid-column: 2 / -1; }
	table.cart td.actions { grid-column: 1 / -1; }
}
.cart-collaterals { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 20px; position: sticky; top: calc(var(--head) + 16px); }
.cart_totals h2 { font-size: 20px; }
.cart_totals table, .cart_totals tbody { display: block; }
.cart_totals tr { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart_totals tr th, .cart_totals tr td { display: block; padding: 0 !important; border: 0 !important; width: auto !important; }
.cart_totals tr td { text-align: right; }
.cart_totals tr.woocommerce-shipping-totals td { flex: 1 1 100%; text-align: left; font-size: 14px; }
.cart_totals tr td::before { display: none !important; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.cart_totals table th { width: 40%; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-2); }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 18px; font-weight: 800; color: var(--ink); border: 0; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 16.5px; margin-top: 8px; }
ul#shipping_method { margin: 0; padding: 0; list-style: none; }
ul#shipping_method li { margin-bottom: 6px; }

/* Kassa */
.woocommerce-checkout .nmc-page { padding-top: 22px; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 1000px) { form.checkout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; } form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; } }
#customer_details, #order_review { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 20px; }
@media (min-width: 1000px) { #order_review { position: sticky; top: calc(var(--head) + 16px); } }
#order_review_heading { margin: 0; font-size: 20px; }
#customer_details .col-1, #customer_details .col-2 { width: 100%; float: none; }
#customer_details h3 { font-size: 18px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.woocommerce-billing-fields__field-wrapper .form-row-wide, .woocommerce-shipping-fields__field-wrapper .form-row-wide, .woocommerce-billing-fields__field-wrapper > .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
#payment { margin-top: 16px; }
#payment ul.payment_methods { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
#payment ul.payment_methods > li { min-width: 0; overflow: hidden; padding: 14px 16px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--line); }
#payment ul.payment_methods > li:has(input:checked) { box-shadow: inset 0 0 0 2px var(--green); background: var(--green-50); }
#payment ul.payment_methods label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; }
#payment ul.payment_methods label img { max-height: 24px; width: auto; display: inline; }
#payment .payment_box { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
#place_order { width: 100%; min-height: 58px; font-size: 17px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.nmc-checkout-trust { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.nmc-checkout-trust li { display: flex; align-items: center; gap: 8px; }
.nmc-checkout-trust svg { color: var(--green); }
.woocommerce-form-coupon-toggle .woocommerce-info { background: #fff; box-shadow: var(--sh); }
form.checkout_coupon { display: flex; gap: 8px; margin-bottom: 18px; }

/* Mitt konto */
.woocommerce-account .nmc-page__content > .woocommerce { display: grid; gap: 22px; }
@media (min-width: 900px) { .woocommerce-account .nmc-page__content > .woocommerce { grid-template-columns: 240px 1fr; align-items: start; } }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: var(--r); box-shadow: var(--sh); display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
@media (min-width: 900px) { .woocommerce-MyAccount-navigation ul { display: block; } }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--bg); color: var(--ink); }
.woocommerce-MyAccount-content { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 22px; min-width: 0; overflow-x: auto; }
.woocommerce-form-login, .woocommerce-form-register { max-width: 460px; padding: 24px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); }
.u-columns.col2-set { display: grid; gap: 22px; }
@media (min-width: 900px) { .u-columns.col2-set { grid-template-columns: 1fr 1fr; } }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* ---------- Trygghetsband + sidfot ---------- */
.nmc-trustband { background: #fff; border-top: 1px solid var(--line); }
.nmc-trustband ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0 auto; padding-top: 26px; padding-bottom: 26px; list-style: none; }
@media (min-width: 900px) { .nmc-trustband ul { grid-template-columns: repeat(4, 1fr); } }
.nmc-trustband li { display: flex; align-items: center; gap: 12px; }
.nmc-trustband svg { color: var(--green); }
.nmc-trustband strong { display: block; font-size: 14px; }
.nmc-trustband span { font-size: 12.5px; color: var(--muted); }
.nmc-footer { background: #0a2a20; color: #b7cdc2; font-size: 14px; }
.nmc-footer a { color: #dbe9e1; }
.nmc-footer a:hover { color: #fff; }
.nmc-footer__grid { display: grid; gap: 30px; padding-top: 44px; padding-bottom: 36px; }
@media (min-width: 900px) { .nmc-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; padding-top: 64px; } }
.nmc-footer__logo img { height: 34px; width: auto; margin-bottom: 14px; }
.nmc-footer__title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.nmc-footer ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.nmc-footer address { font-style: normal; line-height: 1.7; margin-bottom: 14px; }
.nmc-footer__age { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.nmc-footer__age span { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid currentColor; border-radius: 50%; font-weight: 800; color: #fff; }
.nmc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.nmc-footer__bottom .nmc-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 16px; font-size: 12.5px; }
.nmc-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.nmc-pay b { padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 11.5px; font-weight: 700; }

/* ---------- Favoriter ---------- */
.nmc-favs__lead { color: var(--muted); margin-top: -10px; }

/* ---------- Ålderskontroll ---------- */
.nmc-age { display: none; }
.nmc-age-open .nmc-age { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; background: rgba(8, 26, 20, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nmc-age-open, .nmc-age-open body { overflow: hidden; }
.nmc-age__box { width: min(100%, 440px); padding: 34px 28px 26px; border-radius: 24px; background: var(--forest); color: #d4e5dc; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.nmc-age__logo img { height: 34px; width: auto; margin: 0 auto 22px; }
.nmc-age h2 { color: #fff; font-size: 26px; }
.nmc-age__btns { display: grid; gap: 10px; margin: 22px 0 16px; }
.nmc-age small { font-size: 12px; color: #9fbcae; }
.nmc-age small a { color: #dbe9e1; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ================= v2: granskningsfixar ================= */
html.nmc-locked, html.nmc-locked body { overflow: hidden; }
.nmc-cart-count .screen-reader-text { position: absolute !important; }

/* Märken */
.nmc-badges { top: 10px; left: 10px; gap: 5px; }
.nmc-badge { padding: 5px 10px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.nmc-badge--sale { background: #d2362b; }
.nmc-badge--new { background: var(--forest); color: #fff; }
.nmc-badge--new::before { content: "✦ "; color: var(--gold); }
.nmc-pdp__badges .nmc-badges { position: static; flex-direction: row; margin-bottom: 10px; }
.single-product .summary .nmc-pdp__badges .nmc-badge { box-shadow: none; }

/* Produktkort: tonad ram, tydlig köpknapp */
ul.products li.product { box-shadow: none; border: 1px solid #ebe8df; }
ul.products li.product:hover { box-shadow: var(--sh-lg); border-color: transparent; }
.nmc-card__title { font-size: 14.5px; }
.nmc-card__price { margin-top: 6px; padding-top: 0; }
.nmc-card__opts { margin-top: 2px; }
.nmc-card__body { padding-bottom: 2px; }
.nmc-card__cta svg { margin-right: -2px; }
.nmc-btn--ghost.nmc-card__cta { box-shadow: inset 0 0 0 1.5px #c9c5ba; }

/* Sidovarukorg */
.admin-bar .nmc-cart__panel, .admin-bar .nmc-drawer__panel { top: 46px; }
@media (min-width: 783px) { .admin-bar .nmc-cart__panel, .admin-bar .nmc-drawer__panel { top: 32px; } }
#nmc-cart-title:focus { outline: 0; }
.nmc-cart__inner.is-busy { opacity: .55; pointer-events: none; transition: opacity .2s; }
.nmc-cart__empty { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: auto; padding: 48px 24px; text-align: center; color: var(--muted); }
.nmc-cart__empty svg { color: var(--line-2); }
.nmc-cart__empty p { margin: 0 0 6px; }
.woocommerce-mini-cart-item { grid-template-columns: 76px 1fr; align-items: start; }
.woocommerce-mini-cart-item .variation { grid-column: 2; }
.nmc-mq { display: inline-flex; align-items: center; margin-top: 8px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.nmc-mq__btn { width: 34px; height: 34px; border: 0; background: none; font-size: 17px; color: var(--ink-2); cursor: pointer; border-radius: 50%; }
.nmc-mq__btn:hover { background: var(--bg); }
.nmc-mq__n { min-width: 22px; text-align: center; font-weight: 800; font-size: 14px; }
.nmc-mq__price { display: inline-block; margin: 8px 0 0 12px; font-weight: 800; color: var(--ink); vertical-align: middle; }
.woocommerce-mini-cart-item .quantity { display: none; }

/* Kassan: betalformulär (payabl-iframe) håller sig inom rutan */
#payment .payment_box { max-width: 100%; overflow: hidden; }
#payment .payment_box iframe, #payment iframe { display: block; width: 100% !important; max-width: 100% !important; border: 0 !important; }
#payment .payment_box fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.nmc-header__back { font-size: 14px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 599px) { .nmc-header--focus .nmc-header__back { display: none; } }
.nmc-header--focus .nmc-logo { order: 0; }

/* Produktsidan */
.nmc-pdp__favonly { display: flex; align-items: center; gap: 12px; margin: 6px 0 16px; font-weight: 700; }
.woocommerce-product-gallery__trigger::before { display: none; }
.woocommerce-product-gallery__trigger::after { content: ""; width: 18px; height: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313201a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E"); }
.nmc-sticky[inert] { visibility: hidden; }
.nmc-sticky.is-on { visibility: visible; }

/* Sidfot */
.nmc-footer__help { margin-top: 18px; padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, .06); }
.nmc-footer__help strong { display: block; color: #fff; margin-bottom: 10px; }
.nmc-footer__helpbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.nmc-btn--light { background: #fff; color: var(--forest) !important; }
.nmc-btn--light:hover { background: #eef5f1; color: var(--forest) !important; }
.nmc-footer__company { width: 238px; height: auto; margin-bottom: 16px; }
.nmc-footer__legal { margin: 0; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; line-height: 1.6; color: #93b1a2; }
.nmc-footer .nmc-pay { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nmc-pay li { display: grid; place-items: center; height: 30px; padding: 0 10px; border-radius: 7px; background: #fff; color: #1a1f71; }
.nmc-pay li:first-child { color: #2a7a4e; }
.nmc-pay li:last-child { color: #1d1d1b; }

/* Ålderskontroll: ljus och vänlig */
.nmc-age-open .nmc-age { background: rgba(13, 32, 25, .55); }
.nmc-age__box { background: #fff; color: var(--ink-2); padding: 30px 24px 22px; }
.nmc-age__logo img { height: 30px; margin-bottom: 18px; }
.nmc-age h2 { color: var(--ink); font-size: 24px; margin-bottom: 8px; }
.nmc-age__btns { margin: 20px 0 12px; }
.nmc-age__no { color: #b42318; font-weight: 700; font-size: 14px; }
.nmc-age small { color: var(--muted); }
.nmc-age small a { color: var(--green-d); }

/* 404 */
.nmc-404 { text-align: center; padding: 30px 0; }
.nmc-404__search { display: flex; gap: 8px; max-width: 480px; margin: 22px auto 14px; }

/* Chips: aktuell markering */
.nmc-chip[aria-current] { font-weight: 700; }
.nmc-readmore { min-height: 32px; padding: 4px 0; }

/* Hero v3: centrerad, bara text */
.nmc-hero { background: radial-gradient(900px 380px at 50% 0%, #e3efe7 0%, transparent 70%), linear-gradient(180deg, #f3efe4 0%, var(--bg) 100%); }
.nmc-hero__inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding-top: 52px; padding-bottom: 48px; text-align: center; }
@media (min-width: 900px) { .nmc-hero__inner { padding-top: 92px; padding-bottom: 84px; } }
.nmc-hero__text { display: flex; flex-direction: column; align-items: center; }
.nmc-hero__lead { margin-left: auto; margin-right: auto; }
.nmc-hero__cta, .nmc-hero__proof { justify-content: center; }

/* Hero v4: avgränsat kort så att den inte flyter ihop med innehållet */
.nmc-hero { background: none; padding: 14px 0 0; overflow: visible; }
.nmc-hero::after { display: none; }
.nmc-hero__inner { max-width: var(--wrap); padding-left: var(--gut); padding-right: var(--gut); padding-top: 0; padding-bottom: 0; }
.nmc-hero__text {
	position: relative; overflow: hidden; padding: 44px 20px 40px; border-radius: 28px;
	background:
		radial-gradient(600px 260px at 15% 0%, rgba(255, 255, 255, .7), transparent 70%),
		radial-gradient(700px 320px at 100% 100%, rgba(0, 122, 69, .14), transparent 70%),
		linear-gradient(180deg, #e8f1eb 0%, #dcebe1 100%);
	border: 1px solid #cfe1d5; box-shadow: 0 1px 2px rgba(13, 58, 43, .05), 0 20px 40px -24px rgba(13, 58, 43, .35);
}
.nmc-hero__text::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(13, 58, 43, .07) 1px, transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.nmc-hero__text > * { position: relative; }
@media (min-width: 900px) { .nmc-hero { padding-top: 22px; } .nmc-hero__text { padding: 76px 40px 64px; border-radius: 36px; } }
.nmc-hero h1 { font-size: clamp(38px, 5.4vw, 64px); }
.nmc-hero__proof { margin-top: 20px; }

/* ================= v3: granskning 2 + användarens punkter ================= */
/* Betalloggor (officiella filer från Swish- och payabl-tilläggen) */
.nmc-footer .nmc-pay { gap: 8px; }
.nmc-footer .nmc-pay li { height: 38px; padding: 0 10px; border-radius: 8px; background: #fff; display: flex; align-items: center; }
.nmc-footer .nmc-pay img { display: block; height: 24px; width: auto; }
.nmc-footer .nmc-pay li:last-child { padding: 0 4px; }
.nmc-footer .nmc-pay li:last-child img { height: 32px; }

/* Sidovarukorg: kompakt antalsväljare, pris bredvid */
.woocommerce-mini-cart-item { grid-template-columns: 76px minmax(0, 1fr); }
.woocommerce-mini-cart-item > .nmc-mq, .woocommerce-mini-cart-item > .nmc-mq__price { grid-column: 2; }
.nmc-mq { justify-self: start; width: auto; }
.nmc-mq__btn { width: 32px; height: 32px; }
.nmc-mq__price { margin: 0; justify-self: start; }
.woocommerce-mini-cart-item { row-gap: 8px; }

/* Varukorgssidan: varor + summa sida vid sida */
.woocommerce-cart .nmc-page__content > .woocommerce { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.woocommerce-cart .nmc-page__content > .woocommerce > * { flex: 1 1 100%; min-width: 0; }
@media (min-width: 1000px) {
	.woocommerce-cart .nmc-page__content > .woocommerce > .woocommerce-cart-form { flex: 1 1 0; }
	.woocommerce-cart .nmc-page__content > .woocommerce > .cart-collaterals { flex: 0 0 380px; }
}
.woocommerce-cart-form .nmc-ship { margin: 14px 0 6px; }
.js .woocommerce-cart-form button[name="update_cart"] { display: none; }
table.cart td.actions .coupon { flex-wrap: wrap; }

/* Kassan: höger spalt = rubrik + översikt direkt under varandra */
@media (min-width: 1000px) {
	form.checkout { grid-template-rows: auto 1fr; }
	form.checkout #customer_details { grid-row: 1 / span 2; }
	form.checkout #order_review_heading { grid-row: 1; align-self: end; margin-bottom: -8px; }
	form.checkout #order_review { grid-row: 2; align-self: start; }
}
#order_review .nmc-ship { margin: 0 0 14px; }
.woocommerce-shipping-methods li, #shipping_method li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.woocommerce-checkout-review-order-table th { width: 38%; }
.nmc-header--focus .nmc-header__back { margin-left: auto; }
.nmc-header--focus .nmc-header__secure { margin-left: 18px; }

/* Startsidan mobil: kompakt hero så produkterna syns tidigare */
@media (max-width: 599px) {
	.nmc-hero__text { padding: 30px 18px 26px; border-radius: 22px; }
	.nmc-hero h1 { font-size: 36px; margin-bottom: 10px; }
	.nmc-hero__lead { font-size: 14.5px; margin-bottom: 16px; }
	.nmc-hero__cta { flex-direction: column; align-items: stretch; gap: 8px; width: 100%; max-width: 360px; }
	.nmc-hero__cta .nmc-btn { width: 100%; min-height: 48px; font-size: 15px; }
	.nmc-hero__proof { gap: 6px 14px; font-size: 12.5px; margin-top: 14px; }
	.nmc-hero__proof li:last-child { display: none; }
	.nmc-home .nmc-section { padding-top: 30px; padding-bottom: 30px; }
	html { scroll-padding-bottom: 80px; }
}

/* Utan JavaScript: sök och val syns ändå */
html:not(.js) .nmc-search { display: flex; }
html:not(.js) .nmc-header__burger, html:not(.js) .nmc-tabbar__menu, html:not(.js) .nmc-tabbar__search { display: none; }

/* Spåra order (Track Order-tillägget, temats utseende) */
.wto-track-order { max-width: 520px; }
.wto-form { padding: 22px; border-radius: var(--r); background: #fff; box-shadow: var(--sh); }
.wto-field { margin-bottom: 14px; }
.wto-field label { display: block; margin-bottom: 6px; }
.wto-submit { width: 100%; min-height: 50px; border: 0; border-radius: var(--r-pill); background: var(--green); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.wto-submit:hover { background: var(--green-d); }
.wto-result { margin-top: 16px; }
.wto-message { padding: 14px 18px; border-radius: var(--r-sm); line-height: 1.5; }
.wto-error { background: #fbeceb; color: #9c2a22; }
.wto-info { background: #fff7e6; color: #7a4b00; }
.wto-success { background: var(--green-50); color: var(--green-d); }
.wto-result-heading { margin: 0 0 6px; font-weight: 800; }
.wto-trace { margin: 4px 0; }
.wto-link { margin: 12px 0 0; }
.wto-link a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--green); color: #fff; font-weight: 700; }

/* Produktsidan: ett pris (överst uppdateras vid variantval), ingen "Rensa" vid ett val */
.single-product .woocommerce-variation-price { display: none; }
.single-product .nmc-one-attr .reset_variations { display: none !important; }

/* Spåra order: rubrik och formulär i samma centrerade spalt */
.nmc-wrap--narrow:has(.wto-track-order) { max-width: 600px; }
.nmc-page__content:has(.wto-track-order) > p:empty, .nmc-page__content > p:empty { display: none; }
.nmc-page__content .wto-track-order { max-width: none; }
.nmc-page:has(.wto-track-order) .nmc-page__title { margin-bottom: 18px; }

/* Antal: plats för 2–3 siffror */
.quantity .qty { width: 52px; padding: 0 2px; font-variant-numeric: tabular-nums; }
.nmc-step { width: 36px; }
/* Mitt konto: ingen sidledsscroll mellan mobil och desktop */
.woocommerce-account .nmc-page__content > .woocommerce { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .woocommerce-account .nmc-page__content > .woocommerce { grid-template-columns: 240px minmax(0, 1fr); } }
.woocommerce-MyAccount-content { overflow-wrap: anywhere; }

/* Complianz: cookie- och integritetslänken pekar på samma sida – visa bara en */
.cmplz-cookiebanner .cmplz-link.cookie-statement[href*="/privacy-policy/"]:not([href*="#"]) { display: none !important; }

/* Ingen sidledsscroll (Safari): kolumner får krympa, och sidan klipps i sidled utan att bli en scrollcontainer (sticky header fungerar) */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
.single-product div.product { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .single-product div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.single-product .summary, .woocommerce-tabs, .woocommerce-product-gallery { min-width: 0; }
.tiered-pricing-blocks, .tpt__tiered-pricing, [class*="tiered-pricing"] { max-width: 100%; flex-wrap: wrap; }

/* Ingen bottenmeny (t.ex. kassan) = inget reserverat utrymme under sidfoten */
body:not(:has(.nmc-tabbar)) { padding-bottom: 0; }

/* Inloggad, smal skärm: WP:s adminfält scrollar bort under 600 px – inget glapp ovanför fasta element */
@media (max-width: 600px) {
	.admin-bar .nmc-header { top: 0; }
	.admin-bar .nmc-shop__bar { top: var(--head-total); }
}

/* Policysidor */
.nmc-legal .nmc-page__title { font-size: clamp(1.9rem, 5vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 6px; }
.nmc-legal .nmc-legal__date {
	display: inline-block; font-size: .8rem; font-weight: 600; color: var(--green, #007a45);
	background: #e9f4ee; border-radius: 99px; padding: 4px 12px; margin: 0 0 14px;
}
.nmc-legal .nmc-legal__lead { font-size: 1.08rem; color: var(--ink, #14231d); margin: 0 0 8px; }
.nmc-legal .nmc-page__content h2 {
	font-size: 1.15rem; margin: 30px 0 10px; padding-top: 24px; border-top: 1px solid var(--line, #e6e2da); letter-spacing: -.01em;
}
.nmc-legal .nmc-page__content p { margin: 0 0 12px; color: var(--muted, #5c6661); }
.nmc-legal .nmc-page__content ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.nmc-legal .nmc-page__content li { position: relative; padding-left: 24px; color: var(--muted, #5c6661); }
.nmc-legal .nmc-page__content li::before {
	content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--green, #007a45);
}
.nmc-legal .nmc-page__content strong { color: var(--ink, #14231d); }
.nmc-legal .nmc-page__content a { color: var(--green, #007a45); text-underline-offset: 3px; }

/* Förstoringsglas på produktbild: ren rund knapp utan ärvda knappramar */
.woocommerce-product-gallery__trigger,
.woocommerce-product-gallery__trigger:hover,
.woocommerce-product-gallery__trigger:focus { border: 0 !important; outline: 0; padding: 0; color: var(--ink); text-decoration: none; }
.woocommerce-product-gallery__trigger:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.woocommerce-product-gallery__trigger > *:not(img) { display: none; }
.pswp__caption, .pswp__caption__center { display: none !important; }

/* Ångra köp-formuläret (utan kontomeny) i full bredd */
.woocommerce-account .woocommerce:has(> .woocommerce-order-withdrawal-content) { display: block; }
.nmc-page:has(.woocommerce-order-withdrawal-content) .nmc-wrap { max-width: 640px; margin-inline: auto; }
.woocommerce-order-withdrawal-content { font-size: 1rem; }
.woocommerce-order-withdrawal-content__steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 18px 0 22px; counter-reset: s; }
.woocommerce-order-withdrawal-content__step { counter-increment: s; font-size: .85rem; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; }
.woocommerce-order-withdrawal-content__step::before { content: counter(s) ". "; }
.woocommerce-order-withdrawal-content__step--current { color: #fff; background: var(--green); border-color: var(--green); }
.woocommerce-OrderWithdrawalForm .form-row { width: 100%; float: none; margin: 0 0 14px; }
.woocommerce-OrderWithdrawalForm input.input-text, .woocommerce-OrderWithdrawalForm textarea { width: 100%; }
.woocommerce-OrderWithdrawalForm fieldset { border: 0; padding: 0; margin: 0 0 14px; background: none; }
.woocommerce-OrderWithdrawalForm fieldset legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.woocommerce-OrderWithdrawalForm label { font-weight: 600; }
.woocommerce-OrderWithdrawalForm .description, .woocommerce-OrderWithdrawalForm .form-row .description { font-size: .85rem; color: var(--muted); margin-top: 6px; display: block; }
.woocommerce-OrderWithdrawalForm button[type=submit] { width: 100%; }

/* Galleri utan hopp (CLS): innan bildspelet startat visas bara första bilden och plats hålls för miniatyrraden */
.woocommerce-product-gallery:not(:has(.flex-control-nav)) .woocommerce-product-gallery__image:nth-child(n+2) { display: none; }
.woocommerce-product-gallery:not(:has(.flex-control-nav)):has(.woocommerce-product-gallery__image:nth-child(2)) { padding-bottom: 86px; }
@media (min-width: 900px) { .woocommerce-product-gallery:not(:has(.flex-control-nav)):has(.woocommerce-product-gallery__image:nth-child(2)) { padding-bottom: 88px; } }
.flex-control-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
/* Bildspelet gör behållaren flera hundra procent bred under uppstarten – lås varje bild till galleriets bredd så höjden aldrig hoppar */
.woocommerce-product-gallery { container-type: inline-size; }
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image { width: 100cqw; }
.woocommerce-product-gallery .flex-viewport > .woocommerce-product-gallery__wrapper { display: flex; }
.woocommerce-product-gallery .flex-viewport > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image { flex: 0 0 100cqw; }
