/*
Theme Name: Neness Ísland
Template: blocksy
Version: 1.2.0
Description: Neness Ísland child theme for Blocksy + WooCommerce. Modelled on neness.pl, mobile first, IS/EN.
Author: Neness Ísland ehf.
Text Domain: neness
*/

/* ---------- tokens ---------- */
body {
	--nn-ink: #000;
	--nn-bg: #fff;
	--nn-soft: #f2f2f2;
	--nn-line: #ebebeb;
	--nn-muted: #6b6b6b;
	--nn-accent: #c2185b;
	--nn-ok: #428445;
	--nn-radius: 16px;
	--nn-btn-radius: 6px;
	--nn-ann-h: 34px;
	--nn-head-h: 60px;
	--nn-tab-h: 60px;
	--nn-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nn-head: "Roboto", "Inter", system-ui, sans-serif;

	/* Blocksy variables */
	--theme-palette-color-1: #000;
	--theme-palette-color-2: #c2185b;
	--theme-palette-color-3: #333;
	--theme-palette-color-4: #000;
	--theme-font-family: var(--nn-body);
	--theme-text-color: var(--nn-ink);
	--theme-headings-color: var(--nn-ink);
	--theme-link-initial-color: var(--nn-ink);
	--theme-link-hover-color: var(--nn-accent);
	--theme-border-color: var(--nn-line);
	--theme-form-field-border-initial-color: #d6d6d6;
	--theme-form-field-border-focus-color: var(--nn-ink);
	--theme-button-background-initial-color: var(--nn-ink);
	--theme-button-background-hover-color: #2a2a2a;
	--theme-button-text-initial-color: #fff;
	--theme-button-text-hover-color: #fff;
	--theme-button-border-radius: var(--nn-btn-radius);
	--theme-normal-container-max-width: 1240px;
	--theme-content-vertical-spacing: 32px;

	margin: 0;
	color: var(--nn-ink);
	font-family: var(--nn-body);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

html body,
html body #main-container,
html body .site-main { background: var(--nn-bg); }

h1, h2, h3, h4,
.product_title,
.woocommerce-products-header__title,
.page-title {
	font-family: var(--nn-head);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
	color: var(--nn-ink);
}
h1, .page-title { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
@media (min-width: 1000px) {
	body { font-size: 16px; }
	h1, .page-title { font-size: 44px; }
	h2 { font-size: 30px; }
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--nn-accent); outline-offset: 2px; }
.nn-muted { color: var(--nn-muted); }

.nn-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding-inline: 16px;
	box-sizing: border-box;
}
@media (min-width: 1000px) { .nn-wrap { padding-inline: 32px; } }

.nn-ico { display: inline-flex; width: 22px; height: 22px; flex: none; }
.nn-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.nn-btn,
body .button,
body button.button,
body .single_add_to_cart_button,
body .wc-block-components-button:not(.is-link),
body .checkout-button,
body #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid var(--nn-ink);
	border-radius: var(--nn-btn-radius);
	background: var(--nn-ink);
	color: #fff;
	font: 600 15px/1.2 var(--nn-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
	box-sizing: border-box;
}
.nn-btn:hover,
body .button:hover,
body .single_add_to_cart_button:hover { background: #2a2a2a; color: #fff; }
.nn-btn--pill { border-radius: 999px; }
.nn-btn--accent { background: var(--nn-accent); border-color: var(--nn-accent); }
.nn-btn--accent:hover { background: #a3134b; border-color: #a3134b; }
.nn-btn--ghost { background: #fff; color: var(--nn-ink); }
.nn-btn.is-disabled { opacity: .45; cursor: default; }
.nn-textlink { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.nn-textlink:hover { color: var(--nn-accent); }

/* ---------- header ---------- */
#header {
	position: sticky;
	top: calc(-1 * var(--nn-ann-h));
	z-index: 60;
	background: #fff;
}
body.admin-bar #header { top: calc(-1 * var(--nn-ann-h)); }
@media (min-width: 783px) { body.admin-bar #header { top: calc(32px - var(--nn-ann-h)); } }

.nn-announce {
	height: var(--nn-ann-h);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	background: var(--nn-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nn-header { background: #fff; border-bottom: 1px solid var(--nn-line); }
.nn-header__row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--nn-head-h);
}
.nn-logo { justify-self: center; display: block; line-height: 0; }
.nn-logo img { width: 104px; height: auto; }
.nn-burger {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--nn-ink);
	font: 600 13px/1 var(--nn-body);
	cursor: pointer;
}
.nn-burger__lines,
.nn-burger__lines::before,
.nn-burger__lines::after {
	display: block;
	width: 20px;
	height: 1.6px;
	background: currentColor;
	border-radius: 2px;
}
.nn-burger__lines { position: relative; }
.nn-burger__lines::before,
.nn-burger__lines::after { content: ""; position: absolute; left: 0; }
.nn-burger__lines::before { top: -6px; }
.nn-burger__lines::after { top: 6px; }
.nn-actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.nn-iconbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nn-ink);
	cursor: pointer;
}
.nn-cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--nn-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
	box-sizing: border-box;
}
.nn-cart-count[hidden] { display: none; }
.nn-nav { display: none; }
.nn-lang { display: inline-flex; gap: 2px; font-size: 13px; font-weight: 500; }
.nn-lang a { padding: 6px 6px; color: var(--nn-muted); text-decoration: none; }
.nn-lang a.is-on { color: var(--nn-ink); text-decoration: underline; text-underline-offset: 4px; }
.nn-header .nn-lang { display: none; }

@media (min-width: 1000px) {
	.nn-header__row { grid-template-columns: auto 1fr auto; gap: 32px; height: 72px; }
	.nn-burger { display: none; }
	.nn-logo { justify-self: start; }
	.nn-logo img { width: 118px; }
	.nn-nav { display: flex; justify-content: center; gap: 28px; font-size: 15px; font-weight: 500; }
	.nn-nav a { text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
	.nn-nav a:hover { border-color: var(--nn-ink); }
	.nn-header .nn-lang { display: inline-flex; margin-right: 6px; }
}

/* search panel */
.nn-search { padding: 12px 0 14px; border-top: 1px solid var(--nn-line); background: #fff; }
.nn-search[hidden] { display: none; }
.nn-search .nn-wrap { display: flex; gap: 8px; }
.nn-search input[type="search"],
.nn-find__form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #cfcfcf;
	border-radius: var(--nn-btn-radius);
	background: #fff;
	font: 400 16px var(--nn-body);
}

/* drawer */
.nn-drawer { position: fixed; inset: 0; z-index: 100; }
.nn-drawer[hidden] { display: none; }
.nn-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.nn-drawer__panel {
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 1;
	width: min(86vw, 360px);
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
	background: #fff;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform .25s ease;
}
.nn-drawer.is-open .nn-drawer__panel { transform: none; }
.nn-drawer__top { display: flex; justify-content: space-between; align-items: center; }
.nn-drawer__nav { display: flex; flex-direction: column; }
.nn-drawer__nav a {
	padding: 14px 0;
	border-bottom: 1px solid var(--nn-line);
	font: 600 18px/1.2 var(--nn-head);
	text-decoration: none;
}
@media (prefers-reduced-motion: reduce) { .nn-drawer__panel { transition: none; } }
html.nn-lock, html.nn-lock body { overflow: hidden; }

/* ---------- footer + mobile tab bar ---------- */
.nn-footer { margin-top: 56px; padding: 40px 0 24px; background: var(--nn-soft); font-size: 14px; }
.nn-footer__grid { display: grid; gap: 28px; }
.nn-footer strong { display: block; margin-bottom: 10px; font-family: var(--nn-head); font-size: 15px; }
.nn-footer nav a { display: block; padding: 4px 0; text-decoration: none; }
.nn-footer nav a:hover { text-decoration: underline; }
.nn-footer p { margin: 10px 0 0; color: #333; max-width: 34ch; }
.nn-footer__bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid #ddd; color: var(--nn-muted); font-size: 13px; }
@media (min-width: 760px) { .nn-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.nn-tabbar {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 55;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	height: calc(var(--nn-tab-h) + env(safe-area-inset-bottom));
	padding-bottom: env(safe-area-inset-bottom);
	background: #fff;
	border-top: 1px solid var(--nn-line);
}
.nn-tabbar > a,
.nn-tabbar > button {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nn-ink);
	font: 500 11px/1.1 var(--nn-body);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.nn-tabbar .nn-cart-count { top: 6px; right: calc(50% - 22px); }
body { padding-bottom: calc(var(--nn-tab-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) {
	.nn-tabbar { display: none; }
	body { padding-bottom: 0; }
}

/* toast */
.nn-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--nn-tab-h) + env(safe-area-inset-bottom) + 12px);
	z-index: 70;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--nn-ink);
	color: #fff;
	font-size: 14px;
	transform: translate(-50%, 20px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s;
	white-space: nowrap;
}
.nn-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.nn-toast a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1000px) { .nn-toast { bottom: 24px; } }

/* ---------- product grid + cards ---------- */
body ul.products,
body ul.products[data-products] {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body ul.products::before,
body ul.products::after { display: none; }
@media (min-width: 768px) { body ul.products, body ul.products[data-products] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1100px) { body ul.products, body ul.products[data-products] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

body ul.products li.nn-card {
	display: flex;
	flex-direction: column;
	width: auto;
	margin: 0;
	padding: 0;
	float: none;
	text-align: left;
}
.nn-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--nn-radius);
	background: var(--nn-soft);
}
.nn-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
.nn-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 9px;
	border-radius: 999px;
	background: #fff;
	font-size: 11px;
	font-weight: 600;
}
.nn-card__body { display: flex; flex: 1; flex-direction: column; padding-top: 10px; }
.nn-card__sizes { display: flex; gap: 4px; margin-bottom: 6px; }
.nn-card__sizes span {
	padding: 2px 7px;
	border: 1px solid var(--nn-line);
	border-radius: 999px;
	color: var(--nn-muted);
	font-size: 11px;
	font-weight: 500;
}
body .nn-card__title { margin: 0; font: 600 15px/1.3 var(--nn-body); letter-spacing: 0; }
.nn-card__title a { text-decoration: none; }
.nn-card__code { color: var(--nn-muted); font-weight: 500; }
.nn-card__meta { margin-top: 2px; color: var(--nn-muted); font-size: 13px; }
.nn-card__price { margin: 6px 0 12px; color: var(--nn-accent); font-weight: 600; font-size: 15px; }
.nn-from { color: var(--nn-muted); font-weight: 400; font-size: 13px; }
body .nn-card__add { width: 100%; margin-top: auto; min-height: 42px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--nn-ink); font-size: 14px; }
body .nn-card__add:hover { background: var(--nn-ink); color: #fff; }
body .nn-card__add.loading { opacity: .6; }
body .nn-card__add.added::after { content: " ✓"; }
.nn-card .added_to_cart { display: none !important; }
@media (hover: hover) {
	.nn-card__media img { transition: transform .5s ease; }
	.nn-card:hover .nn-card__media img { transform: scale(1.03); }
}

/* shop archive header: quiet, left aligned, same width as the grid */
html body[data-prefix] .hero-section[data-type="type-2"],
html body .hero-section[data-type="type-2"] {
	--theme-narrow-container-max-width: var(--theme-normal-container-max-width);
	--container-padding: 28px 0 4px;
	--min-height: 0;
	--alignment: left;
	background: transparent;
}
.hero-section[data-type="type-2"] .page-title { margin: 0; }
.hero-section .taxonomy-description,
.hero-section .page-description { max-width: 60ch; color: #333; }
.woocommerce-products-header { text-align: left; }
.woocommerce-result-count { color: var(--nn-muted); font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.woocommerce-ordering select { height: 40px; border-radius: var(--nn-btn-radius); }

/* inspiration line (+ optional picture of the original, only when cleared for use) */
.nn-insp.has-img { display: flex; align-items: center; gap: 10px; }
.nn-insp__img { flex: none; width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--nn-line); border-radius: 8px; background: #fff; }
.nn-card .nn-insp__img { width: 36px; height: 36px; border-radius: 6px; }

.nn-insp { margin: 0 0 8px; color: #333; font-size: 15px; }
.nn-insp strong { font-weight: 600; }
.nn-card .nn-insp { margin: 2px 0 0; color: var(--nn-muted); font-size: 12px; line-height: 1.35; }
.nn-card .nn-insp strong { color: #333; font-weight: 500; }

/* ---------- single product ---------- */
.nn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.nn-chips span { padding: 4px 10px; border-radius: 999px; background: var(--nn-soft); font-size: 12px; font-weight: 500; }
.single-product .product_title { font-size: 26px; margin-bottom: 8px; }
@media (min-width: 1000px) { .single-product .product_title { font-size: 34px; } }
.single-product .summary > .price,
.single-product .woocommerce-variation-price .price { color: var(--nn-accent); font-size: 22px; font-weight: 600; }
.single-product .summary .price del { color: var(--nn-muted); font-weight: 400; }
.single-product .woocommerce-product-details__short-description { color: #333; }

.single-product table.variations { border: 0; margin: 0 0 6px; }
.single-product table.variations th,
.single-product table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.single-product table.variations th label { font-size: 13px; font-weight: 600; }
.nn-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 8px 0 4px; }
.nn-size {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 11px 14px;
	border: 1px solid #cfcfcf;
	border-radius: 10px;
	background: #fff;
	color: var(--nn-ink);
	font: 600 15px/1.2 var(--nn-body);
	text-align: left;
	cursor: pointer;
}
.nn-size small { color: var(--nn-muted); font-weight: 500; font-size: 13px; }
.nn-size[aria-pressed="true"] { border-color: var(--nn-ink); box-shadow: inset 0 0 0 1px var(--nn-ink); }
.nn-size:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.nn-sizes + select,
.nn-has-pills select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.single-product .ct-cart-actions { --theme-button-min-height: 50px; --theme-button-border-radius: 999px; --theme-form-field-border-radius: 999px; gap: 8px; }
.single-product .ct-cart-actions .quantity { --quantity-width: 108px; }
.single-product .ct-cart-actions .quantity input { border-radius: 999px; }
body .single_add_to_cart_button { min-height: 50px; border-radius: 999px; font-size: 16px; }
.single-product .woocommerce-variation-price { display: none; }
.single-product .product_meta { display: none; }
.single-product .woocommerce-product-gallery .flexy-pills li { --thumbs-width: 25%; }
.ct-breadcrumbs { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--nn-muted); }
.ct-breadcrumbs a { color: var(--nn-muted); }
.woocommerce-variation-availability .stock { font-size: 13px; color: var(--nn-ok); }
.woocommerce-variation-availability .stock.out-of-stock { color: var(--nn-accent); }

.neness-homego {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
	margin: 16px 0;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--nn-soft);
}
.neness-homego__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
@media (max-width: 560px) {
	.neness-homego { grid-template-columns: 1fr; }
	body .neness-homego__btn { width: 100%; }
}
.neness-homego__text strong { font-size: 15px; }
.neness-homego__desc { flex-basis: 100%; color: #333; font-size: 13px; }
.neness-homego__price del { color: var(--nn-muted); font-weight: 400; font-size: 13px; }
.neness-homego__price { color: var(--nn-accent); font-weight: 600; }
.neness-homego__text small { flex-basis: 100%; color: var(--nn-ok); font-weight: 500; }
body .neness-homego__btn { min-height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--nn-ink); font-size: 14px; }
body .neness-homego__btn:hover { background: var(--nn-ink); color: #fff; }

.nn-notes { margin: 18px 0 6px; }
body .nn-notes__title { margin: 0 0 4px; font-size: 16px; }
.nn-notes dl { margin: 0; }
.nn-notes dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--nn-line); font-size: 14px; }
.nn-notes dt { color: var(--nn-muted); }
.nn-notes dd { margin: 0; }
.nn-trust { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.nn-trust li { display: flex; align-items: center; gap: 10px; }
.nn-trust .nn-ico { width: 20px; height: 20px; color: var(--nn-muted); }

.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery img,
.single-product .ct-media-container { border-radius: var(--nn-radius); }
.single-product .related > h2,
.single-product .up-sells > h2 { font-size: 22px; }

/* ---------- homepage ---------- */
.nn-home { overflow-x: clip; }
.nn-hero { padding: 20px 0 8px; }
.nn-hero__grid { display: grid; gap: 22px; }
.nn-hero__name { margin: 0 0 6px; color: var(--nn-accent); font-weight: 600; font-size: 14px; }
.nn-hero h1 { margin: 0 0 12px; max-width: 14ch; }
.nn-hero__lead { margin: 0 0 18px; max-width: 46ch; color: #333; font-size: 16px; }
.nn-hero__main { width: 100%; max-width: 360px; min-height: 52px; font-size: 16px; }
.nn-hero__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.nn-hero__cats a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--nn-ink); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; }
.nn-hero__cats a:hover { background: var(--nn-ink); color: #fff; }
.nn-hero__support { margin: 16px 0 0; color: var(--nn-muted); font-size: 14px; }
.nn-hero__media { overflow: hidden; border-radius: var(--nn-radius); background: var(--nn-soft); aspect-ratio: 4 / 3; }
.nn-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
	.nn-hero { padding: 40px 0 16px; }
	.nn-hero__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
	.nn-hero__media { aspect-ratio: 1 / 1; }
	.nn-hero__lead { font-size: 17px; }
}

/* price overview */
.nn-prices { padding: 20px 0 0; }
.nn-prices__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.nn-prices__list > div { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--nn-soft); }
.nn-prices__list > div.is-key { background: var(--nn-ink); color: #fff; }
.nn-prices__list dt { font-weight: 600; font-size: 14px; }
.nn-prices__list dt span { display: block; color: var(--nn-muted); font-weight: 400; font-size: 12px; }
.nn-prices__list .is-key dt span { color: #c9c9c9; }
.nn-prices__list dd { margin: 0; color: var(--nn-accent); font: 700 18px/1.1 var(--nn-head); }
.nn-prices__list .is-key dd { color: #ff4f93; }
.nn-prices__note { margin: 10px 0 0; color: var(--nn-muted); font-size: 13px; }
@media (min-width: 900px) { .nn-prices__list { grid-template-columns: 1fr 1fr 1.4fr 1.4fr; } }

.nn-facts { padding: 8px 0 0; }
.nn-facts ul { list-style: none; margin: 0 auto; display: grid; gap: 10px; font-size: 14px; }
.nn-facts li { display: flex; align-items: center; gap: 10px; }
.nn-facts .nn-ico { width: 20px; height: 20px; }
@media (min-width: 760px) {
	.nn-facts ul { grid-template-columns: repeat(3, auto); justify-content: space-between; padding-block: 18px; border-block: 1px solid var(--nn-line); }
}

/* the price ladder – the one loud thing on the page */
.nn-ladder { margin-top: 40px; padding: 40px 0; background: var(--nn-ink); color: #fff; }
.nn-ladder h2 { color: #fff; margin: 0 0 8px; }
.nn-ladder__head p { margin: 0; color: #c9c9c9; max-width: 48ch; }
.nn-ladder__steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.nn-step {
	display: grid;
	grid-template-columns: 74px 1fr auto;
	grid-template-areas: "b q p" "b q e";
	align-items: center;
	column-gap: 14px;
	padding: 12px 0;
	border-top: 1px solid #2c2c2c;
}
.nn-step__bottles { grid-area: b; display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.nn-step__bottles i {
	display: block;
	width: 10px;
	height: 30px;
	border: 1.5px solid #fff;
	border-radius: 2px 2px 3px 3px;
	position: relative;
	box-sizing: border-box;
}
.nn-step__bottles i::before {
	content: "";
	position: absolute;
	left: 1px;
	right: 1px;
	top: -6px;
	height: 5px;
	border-radius: 1px;
	background: #8f8f8f;
}
.nn-step__qty { grid-area: q; font-weight: 500; }
.nn-step__price { grid-area: p; font: 700 20px/1.1 var(--nn-head); text-align: right; }
.nn-step__each { grid-area: e; color: #9a9a9a; font-size: 12px; text-align: right; }
.nn-step.is-best .nn-step__bottles i { background: var(--nn-accent); border-color: var(--nn-accent); }
.nn-step.is-best .nn-step__bottles i::before { background: #fff; }
.nn-step.is-best .nn-step__price { color: #ff4f93; font-size: 26px; }
.nn-step.is-best .nn-step__each { color: #fff; }
.nn-ladder .woocommerce-Price-amount { color: inherit; }
.nn-ladder__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; color: #c9c9c9; font-size: 14px; }
.nn-ladder__foot .nn-btn { min-width: 220px; }

@media (min-width: 900px) {
	.nn-ladder { padding: 64px 0; }
	.nn-ladder__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
	.nn-ladder__steps { grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 40px; align-items: end; }
	.nn-step {
		grid-template-columns: 1fr;
		grid-template-areas: "b" "q" "p" "e";
		row-gap: 6px;
		padding: 0 20px 0 0;
		border-top: 0;
		border-left: 1px solid #2c2c2c;
		padding-left: 20px;
	}
	.nn-step__bottles { height: calc(36px + var(--n) * 14px); margin-bottom: 10px; }
	.nn-step__bottles i { width: 14px; height: calc(30px + var(--n) * 12px); }
	.nn-step__price,
	.nn-step__each { text-align: left; }
	.nn-step__price { font-size: 26px; }
	.nn-step.is-best .nn-step__price { font-size: 34px; }
}

.nn-section { padding: 48px 0 0; }
.nn-section--best .nn-card__badge { display: none; }
.nn-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.nn-section__head h2 { margin: 0; }

.nn-find { padding: 48px 0 0; }
.nn-find__box { text-align: left; }
.nn-find__box h2 { margin: 0 0 8px; }
.nn-find__box p { margin: 0 0 16px; color: #333; max-width: 52ch; }
.nn-find__form { display: flex; gap: 8px; max-width: 560px; }
.nn-find__box { padding-block: 28px; border-block: 1px solid var(--nn-line); }

.nn-homego { padding: 48px 0 0; }
.nn-homego__grid { display: grid; gap: 20px; align-items: center; }
.nn-homego__media { overflow: hidden; border-radius: var(--nn-radius); background: var(--nn-soft); aspect-ratio: 1 / 1; }
.nn-homego__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nn-homego h2 { margin: 0 0 8px; }
.nn-homego p { margin: 0 0 12px; max-width: 42ch; }
.nn-homego__price { color: var(--nn-accent); font: 700 26px/1.1 var(--nn-head); }
.nn-homego__price del { margin-left: 8px; color: var(--nn-muted); font: 400 16px var(--nn-body); }
.nn-homego__save { color: var(--nn-ok); font-weight: 600; }
@media (min-width: 900px) { .nn-homego__grid { grid-template-columns: 5fr 6fr; gap: 56px; } }

.nn-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nn-cat { position: relative; display: block; overflow: hidden; border-radius: var(--nn-radius); aspect-ratio: 3 / 4; background: var(--nn-soft); text-decoration: none; }
.nn-cat img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nn-cat span {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	padding: 8px 10px;
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}
@media (min-width: 900px) { .nn-cats { gap: 20px; } .nn-cat span { left: 16px; right: auto; bottom: 16px; padding: 10px 18px; font-size: 15px; } }

.nn-faq__wrap > * { max-width: 760px; }
.nn-faq h2 { margin: 0 0 12px; }
.nn-faq details { border-top: 1px solid var(--nn-line); }
.nn-faq details:last-child { border-bottom: 1px solid var(--nn-line); }
.nn-faq summary { position: relative; padding: 16px 32px 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.nn-faq summary::-webkit-details-marker { display: none; }
.nn-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 24px/1 var(--nn-body); }
.nn-faq details[open] summary::after { content: "–"; }
.nn-faq details p { margin: 0 0 16px; color: #333; max-width: 62ch; }

/* ---------- Fragrance Wardrobe configurator (Neness Core shortcode) ---------- */
.nn-wardrobe-page .hero-section { display: none; }
.nwd { --nwd-bar-h: 64px; padding-top: 8px; }
.nwd-head { max-width: 760px; margin-bottom: 20px; }
.nwd-head__name { margin: 0 0 6px; color: var(--nn-accent); font-weight: 600; font-size: 14px; }
.nwd-head__title { margin: 0 0 10px; }
.nwd-head__lead { margin: 0 0 12px; color: #333; font-size: 16px; }
.nwd-head__note { margin: 12px 0 0; color: var(--nn-muted); font-size: 13px; }
.nwd-occasions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; font-weight: 500; }
.nwd-occasions li { position: relative; padding-left: 14px; }
.nwd-occasions li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--nn-accent); }

.neness-ladder { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(84px, 1fr)); gap: 6px; overflow-x: auto; scrollbar-width: none; }
.neness-ladder::-webkit-scrollbar { display: none; }
.neness-ladder__p { white-space: nowrap; }
.neness-ladder li { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 10px; background: var(--nn-soft); font-size: 12px; }
.neness-ladder li:last-child { background: var(--nn-ink); color: #fff; }
.neness-ladder__p { font-weight: 700; font-size: 13px; }
.neness-ladder li:last-child .neness-ladder__p { color: #ff4f93; }

.nwd-tools { position: sticky; top: calc(var(--nn-head-h) - 1px); z-index: 15; display: grid; gap: 10px; margin: 0 -16px 16px; padding: 10px 16px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--nn-line); }
body.admin-bar .nwd-tools { top: calc(var(--nn-head-h) - 1px); }
@media (min-width: 783px) { body.admin-bar .nwd-tools { top: calc(var(--nn-head-h) + 31px); } }
@media (min-width: 1000px) { .nwd-tools { top: 71px; margin: 0 0 20px; padding: 12px 0; grid-template-columns: 1fr 320px; align-items: center; } body.admin-bar .nwd-tools { top: 103px; } }
.nwd-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.nwd-filters::-webkit-scrollbar { display: none; }
.nwd-filter { flex: none; min-height: 38px; padding: 0 14px; border: 1px solid #cfcfcf; border-radius: 999px; background: #fff; color: var(--nn-ink); font: 600 14px var(--nn-body); cursor: pointer; }
.nwd-filter[aria-pressed="true"] { border-color: var(--nn-ink); background: var(--nn-ink); color: #fff; }
.nwd-search input { width: 100%; height: 42px; padding: 0 14px; border: 1px solid #cfcfcf; border-radius: 999px; font: 400 16px var(--nn-body); box-sizing: border-box; }

.nwd-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
@media (min-width: 768px) { .nwd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 1100px) { .nwd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nwd-item { display: flex; flex-direction: column; }
.nwd-item[hidden] { display: none; }
.nwd-item__img { position: relative; display: block; overflow: hidden; border-radius: var(--nn-radius); aspect-ratio: 1 / 1; background: var(--nn-soft); box-shadow: inset 0 0 0 0 var(--nn-accent); transition: box-shadow .15s; }
.nwd-item__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nwd-item.is-on .nwd-item__img { box-shadow: 0 0 0 3px var(--nn-accent); }
.nwd-item__count { position: absolute; top: 8px; right: 8px; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--nn-accent); color: #fff; font: 700 15px/32px var(--nn-head); text-align: center; box-sizing: border-box; }
.nwd-item__count:empty { display: none; }
.nwd-item__body { display: flex; flex: 1; flex-direction: column; padding-top: 8px; }
.nwd-item__name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.nwd-item__code { color: var(--nn-muted); font-weight: 500; }
.nwd-item__insp { margin-top: 2px; color: var(--nn-muted); font-size: 12px; line-height: 1.35; }
.nwd-item__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; color: var(--nn-muted); font-size: 12px; }
.nwd-item__size { padding: 0 6px; border: 1px solid var(--nn-line); border-radius: 999px; }
.nwd-item__fam { margin-top: 3px; color: #333; font-size: 12px; }
.nwd-item__out { margin-top: auto; padding-top: 8px; color: var(--nn-accent); font-weight: 600; font-size: 13px; }
.nwd-item.is-out .nwd-item__img { opacity: .5; }
.nwd-qty { display: grid; grid-template-columns: 44px 1fr 44px; margin-top: auto; padding-top: 10px; }
.nwd-qty__btn { height: 44px; padding: 0; border: 1px solid var(--nn-ink); background: #fff; color: var(--nn-ink); font-size: 20px; line-height: 1; cursor: pointer; }
.nwd-minus { border-radius: 999px 0 0 999px; }
.nwd-plus { border-radius: 0 999px 999px 0; background: var(--nn-ink); color: #fff; }
.nwd-qty__btn:disabled { opacity: .35; cursor: default; }
.nwd-qty input { height: 44px; min-width: 0; padding: 0; border: 1px solid var(--nn-ink); border-inline: 0; border-radius: 0; text-align: center; font: 600 16px var(--nn-body); -moz-appearance: textfield; }
.nwd-qty input::-webkit-outer-spin-button, .nwd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nwd-empty { padding: 24px 0; color: var(--nn-muted); }

.nwd-bar { position: sticky; bottom: calc(var(--nn-tab-h) + env(safe-area-inset-bottom) + 8px); z-index: 20; margin-top: 24px; padding: 10px 10px 10px 14px; border-radius: 20px; background: var(--nn-ink); color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
@media (min-width: 1000px) { .nwd-bar { bottom: 16px; } }
.nwd-bar__row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "slots text submit" "toggle toggle toggle"; align-items: center; gap: 6px 12px; }
.nwd-slots { grid-area: slots; display: flex; align-items: flex-end; gap: 3px; }
.nwd-slots i { display: block; width: 9px; height: 24px; border: 1.5px solid #8f8f8f; border-radius: 2px 2px 3px 3px; box-sizing: border-box; }
.nwd-slots i.is-on { border-color: #ff4f93; background: #ff4f93; }
.nwd-slots__more { margin-left: 4px; color: #ff4f93; font-size: 12px; }
.nwd-bar__text { grid-area: text; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.nwd-bar__count { font-size: 14px; }
.nwd-bar__price { color: #ff4f93; font-weight: 700; font-size: 15px; }
.nwd-bar__save { color: #9be29e; font-size: 12px; }
.nwd-bar__hint { color: #c9c9c9; font-size: 12px; }
.nwd-bar__price:empty, .nwd-bar__save:empty, .nwd-bar__hint:empty { display: none; }
.nwd-bar__submit { grid-area: submit; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: var(--nn-ink); font: 600 15px var(--nn-body); cursor: pointer; white-space: nowrap; }
.nwd-bar__submit:disabled { opacity: .45; cursor: default; }
.nwd-bar__toggle { grid-area: toggle; justify-self: start; padding: 2px 0; border: 0; background: none; color: #fff; font: 500 13px var(--nn-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nwd-bar__toggle[hidden] { display: none; }
.nwd-sel { max-height: 40vh; overflow-y: auto; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #333; }
.nwd-sel[hidden] { display: none; }
.nwd-sel__list { margin: 0; padding: 0; list-style: none; }
.nwd-sel__list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.nwd-sel__rm { padding: 0; border: 0; background: none; color: #ff4f93; font: 500 13px var(--nn-body); cursor: pointer; }

/* ---------- cart / checkout ---------- */
.woocommerce-cart .product-name .variation,
.wc-block-components-product-details { font-size: 13px; color: var(--nn-muted); }
.woocommerce-cart-form .product-price ins,
.woocommerce-cart-form .product-subtotal { color: var(--nn-accent); font-weight: 600; }
.wc-block-components-product-price__value.is-discounted { color: var(--nn-accent); }
.woocommerce-message,
.woocommerce-info,
.wc-block-components-notice-banner { border-radius: 12px; }

.neness-savings th,
.neness-savings td { color: var(--nn-ok); }
.neness-savings small { display: block; white-space: nowrap; color: var(--nn-muted); font-weight: 400; font-size: 12px; }
/* Iceland is the only country – no need to show the field. */
.woocommerce-checkout p.form-row:has(select.country_to_state--single) { display: none; }

.neness-freeship { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--nn-soft); font-size: 14px; }
.neness-freeship p { margin: 0 0 8px; font-weight: 500; }
.neness-freeship__bar { display: block; height: 6px; border-radius: 999px; background: #dcdcdc; overflow: hidden; }
.neness-freeship__bar span { display: block; height: 100%; background: var(--nn-accent); }
.neness-freeship.is-done .neness-freeship__bar span { background: var(--nn-ok); }
.neness-freeship-row td { padding: 0 !important; border: 0 !important; }

/* WooCommerce notices: keep calm */
.woocommerce-message { border-top-color: var(--nn-ok); }

/* ---------- card size choice (33 / 50 / 33+50) ---------- */
.nn-card__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.nn-size { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 10px; border: 1px solid #d6d6d6; border-radius: var(--nn-btn-radius); background: #fff; color: var(--nn-ink); font: 600 13px/1 var(--nn-body); cursor: pointer; transition: border-color .15s; }
.nn-size:hover { border-color: var(--nn-ink); }
.nn-size.is-active { border-color: var(--nn-ink); box-shadow: inset 0 0 0 1px var(--nn-ink); }
.nn-size:disabled { opacity: .4; text-decoration: line-through; cursor: default; }
.nn-card__price del { color: var(--nn-muted); font-weight: 400; margin-right: 4px; }
.nn-card__buy.loading { opacity: .6; pointer-events: none; }
@media (max-width: 600px) { .nn-card__sizes { flex-wrap: nowrap; gap: 4px; } .nn-size { flex: 1 1 0; min-width: 0; padding: 0 2px; font-size: 12px; } }

/* ---------- "Similar notes" block (like neness.pl) ---------- */
.nn-similar { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--nn-line); text-align: center; }
.nn-similar__title { display: block; margin-bottom: 8px; color: var(--nn-muted); font: 600 11px/1.2 var(--nn-body); letter-spacing: .08em; text-transform: uppercase; }
.nn-similar__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nn-similar__track::-webkit-scrollbar { display: none; }
.nn-similar__item { flex: 0 0 100%; display: flex; align-items: center; gap: 10px; scroll-snap-align: start; text-align: left; font-size: 13px; line-height: 1.35; color: #333; }
.nn-similar__img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.nn-similar__dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.nn-similar__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #d6d6d6; cursor: pointer; }
.nn-similar__dots button.is-active { background: var(--nn-ink); }

/* ---------- social media ---------- */
.nn-social { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nn-social li { margin: 0; padding: 0; list-style: none; }
.nn-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--nn-ink); text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease; }
.nn-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nn-social svg .f { fill: currentColor; stroke: none; }
.nn-social a:focus-visible { outline: 2px solid var(--nn-accent); outline-offset: 2px; }

/* announce bar: tablet + desktop */
.nn-announce { position: relative; }
.nn-announce__txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nn-social--ann { display: none; }
@media (min-width: 760px) {
	.nn-announce { padding-inline: 140px; }
	.nn-social--ann { display: flex; position: absolute; top: 0; bottom: 0; right: 10px; gap: 2px; }
	.nn-social--ann a { width: 30px; height: 30px; color: #fff; opacity: .8; }
	.nn-social--ann a:hover { opacity: 1; color: #fff; background: rgba(255, 255, 255, .15); }
	.nn-social--ann svg { width: 16px; height: 16px; }
}
@media (min-width: 1000px) { .nn-social--ann { right: max(25px, calc((100% - 1240px) / 2 + 25px)); } }

/* drawer (mobile) + footer */
.nn-drawer__social { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--nn-line); }
.nn-footer__social { margin-top: 22px; }
.nn-drawer__social span,
.nn-footer__social span { display: block; margin-bottom: 10px; color: var(--nn-muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nn-social--drawer a,
.nn-social--footer a { width: 44px; height: 44px; border: 1px solid var(--nn-line); background: #fff; }
.nn-social--drawer a:hover,
.nn-social--footer a:hover { border-color: var(--nn-ink); background: var(--nn-ink); color: #fff; }
