/* SUPER SUNDAY site chrome: announcement ticker, header (red; transparent over a hero), slim sticky row,
   mega menu skin, phone drawer, footer and the community sign-up. From the approved mockups; the mockup's
   measurements are kept so the two can be compared side by side. Colour and type tokens live in brand.css. */

/* Distance the WordPress admin bar takes at the top (only when logged in), so fixed things sit below it.
   The admin bar is 32px tall, 46px on narrow screens, and scrolls away on the narrowest (600px). */
body.admin-bar { --ss-adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --ss-adminbar: 46px; } }
@media (max-width: 600px) { body.admin-bar { --ss-adminbar: 0px; } }
/* No ticker on this page: nothing to clear at the top. */
body.ss-no-ann { --ann-h: 0px; }

/* ---------------------------------------------------------------- announcement ticker */
/* Black strip above the header. The message list is printed twice in a row and the track slides half its
   width, then starts again, so the loop has no jump. Pauses while the pointer is on it. */
.nl-ann {
	position: relative;
	z-index: 60;
	display: flex;
	align-items: center;
	height: var(--ann-h);
	overflow: hidden;
	background: #000;
	color: #fff;
}
.nl-ann-track { display: flex; flex: none; white-space: nowrap; animation: ss-annmove 80s linear infinite; }
.nl-ann-run { display: flex; flex: none; }
.nl-ann:hover .nl-ann-track { animation-play-state: paused; }
@keyframes ss-annmove { to { transform: translateX(-50%); } }
/* A span is already a flex item of .nl-ann-run, so its own text flows normally. It must NOT be a flex box itself:
   the bold words would become separate flex items and the spaces around them would vanish ("ABOVERM300"). */
.nl-ann span {
	padding: 0 22px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
}
/* the white dot between two messages */
.nl-ann span::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 44px; border-radius: 50%; background: #fff; vertical-align: middle; }
.nl-ann b, .nl-ann strong { font-weight: 800; }
.nl-ann a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- header */
/* One row, 72px: burger (phones) + menu | centred logo | search, account, bag. Red. Shop Kit marks a header it
   hangs the mega panel from with .qav-mm-anchor (position: relative); .nl-hdr is already positioned. */
.nl-hdr {
	position: relative;
	z-index: 50;
	background: var(--ss-red);
	color: #fff;
	transition: background-color .25s;
}
.nl-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	height: var(--ss-top-h);
	padding-inline: var(--ss-gut);
}
.nl-l { display: flex; align-items: center; justify-content: flex-start; gap: 6px; }
.nl-r { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.nl-burger, .nl-search-m { display: none !important; }

/* White focus ring on the red bar. */
.nl-hdr :focus-visible, .nl-stick :focus-visible { outline-color: #fff; }

/* Icon buttons. Flat on purpose: the parent theme paints every plain <button>, so !important keeps them transparent. */
.ibtn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: none;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	transition: background-color .2s;
}
.nl-hdr .ibtn, .nl-stick .ibtn {
	padding: 0;
	min-height: 0;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: #fff;
}
.nl-hdr .ibtn:hover, .nl-stick .ibtn:hover { background: rgba(255, 255, 255, .18) !important; color: #fff; }

/* The small number on the bag: white on the red bar. */
.ss-count[hidden] { display: none; }
.ss-count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: #fff;
	color: var(--ss-red);
	font-size: 10px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
}

/* Search button on a desktop: a pill with the word "Search". */
.nl-hdr .nl-search {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: clamp(150px, 16vw, 250px);
	height: 38px;
	margin-right: 8px;
	padding: 0 14px;
	border: 0 !important;
	border-radius: 6px;
	background: rgba(255, 255, 255, .18) !important;
	box-shadow: none !important;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: none;
}
.nl-hdr .nl-search:hover { background: rgba(255, 255, 255, .3) !important; color: #fff; }

/* Logo. WooCommerce sets img{height:auto} on shop pages with nearly the same weight as one class + img,
   so the sizes name the link tag and two classes. */
.nl-logo { display: block; justify-self: center; line-height: 0; }
a.nl-logo img { display: block; width: auto; max-width: none; height: 44px; }
a.nl-logo.nl-logo--sm img { height: 34px; }

/* ---------------------------------------------------------------- menu */
.ss-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); margin: 0; padding: 0; list-style: none; }
.ss-nav > li { position: static; margin: 0; }
.ss-nav > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	height: var(--ss-top-h);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
	text-decoration: none;
}
.ss-nav > li > a:hover { color: #fff; }
.ss-nav > li > a svg { margin-left: 2px; }
/* white underline slides in under the item */
.ss-nav > li > a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 22px;
	height: 2px;
	background: #fff;
	transform: scaleX(0);
	transition: transform .25s;
}
.ss-nav > li:hover > a::after,
.ss-nav > li:focus-within > a::after,
.ss-nav > .current-menu-item > a::after,
.ss-nav > .current-menu-ancestor > a::after { transform: scaleX(1); }

/* A menu item given the CSS class "ss-sale" (Appearance > Menus > CSS Classes) is the white "Sale" pill. */
.ss-nav > .ss-sale > a {
	height: auto;
	align-self: center;
	padding: 3px 9px;
	border-radius: 3px;
	background: #fff;
	color: var(--ss-red);
	font-weight: 700;
	transition: background-color .2s, color .2s;
}
.ss-nav > .ss-sale > a::after { display: none; }
.ss-nav > .ss-sale > a:hover { background: var(--ss-ink); color: #fff; }

/* Mega panel: IGSHOP Shop Kit draws it. Here: the white skin, four link columns plus the wider photo-tile
   column, and the link sizes. The panel hangs from the header (or the sticky row), so it is as wide as the
   screen and its content is kept to the site width. */
.ss-nav, .ss-drawer-nav {
	--qav-mm-panel-bg: #fff;
	--qav-mm-line: var(--ss-line);
	--qav-mm-gutter: var(--ss-gut);
	--qav-mm-max: var(--ss-wrap);
	--qav-mm-col-gap: 26px;
	--qav-mm-badge-size: 9.5px;
}
.ss-nav .qav-mm > .sub-menu {
	grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2.3fr);
	padding-top: 30px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--ss-line);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
}
.ss-nav .qav-mm-heading > a,
.ss-nav .qav-mm-nolink {
	margin-bottom: 12px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ss-red);
	text-decoration: none;
}
.ss-nav .qav-mm .sub-menu .sub-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 0;
	font-size: 14.5px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ss-ink-2);
	text-decoration: none;
}
.ss-nav .qav-mm .sub-menu .sub-menu a:hover { color: var(--ss-red); text-decoration: underline; text-underline-offset: 4px; }
/* Shop Kit menu badges (the black "NEW" tag): small caps */
.ss-nav .qav-mm-badge,
.ss-drawer-nav .qav-mm-badge {
	padding: 1px 6px;
	border-radius: 2px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* The two photo tiles: the last column. */
.ss-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ss-tile { display: block; color: var(--ss-ink); text-decoration: none; }
.ss-tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: var(--ss-mist); }
.ss-tile span { display: block; margin-top: 9px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ss-tile:hover span { color: var(--ss-red); }

/* A submenu that isn't a mega panel: a plain dropdown under its item. */
.ss-nav > li:not(.qav-mm) { position: relative; }
.ss-nav > li:not(.qav-mm) > .sub-menu {
	position: absolute;
	top: 100%;
	left: -18px;
	z-index: 60;
	display: none;
	min-width: 210px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ss-line);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
}
.ss-nav > li:not(.qav-mm):hover > .sub-menu,
.ss-nav > li:not(.qav-mm):focus-within > .sub-menu { display: block; }
.ss-nav > li:not(.qav-mm) .sub-menu a {
	display: block;
	padding: 7px 18px;
	font-size: 14px;
	color: var(--ss-ink-2);
	white-space: nowrap;
	text-decoration: none;
}
.ss-nav > li:not(.qav-mm) .sub-menu a:hover { color: var(--ss-red); background: var(--ss-mist); }

/* Search drop-down (opens under the header row). */
.hj-search { padding: 16px var(--ss-gut); border-top: 1px solid var(--ss-line); background: #fff; color: var(--ss-ink); }
.hj-search form { display: flex; gap: 8px; max-width: 560px; margin-inline: auto; }
.hj-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hj-search input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--ss-line-2); border-radius: 0; background: #fff; font-size: 16px; }
.hj-search button[type="submit"] { padding: 0 22px; border: 0; border-radius: 0; background: var(--ss-ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hj-search button[type="submit"]:hover { background: var(--ss-red); color: #fff; }

/* ---------------------------------------------------------------- header over a hero */
/* Only when ss_header_over() is true (the Main page once its hero has a photo or video). The header lies
   over the hero below the ticker, transparent with a soft dark fade behind the white logo and menu, and turns
   red when the pointer or keyboard focus is on it (so a mega panel stays readable). */
.nl-hdr--over {
	position: absolute;
	top: var(--ann-h);
	left: 0;
	right: 0;
	background: transparent;
}
.nl-hdr--over::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: -1;
	height: 130px;
	background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
	pointer-events: none;
	transition: opacity .25s;
}
.nl-hdr--over:hover, .nl-hdr--over:focus-within { background: var(--ss-red); }
.nl-hdr--over:hover::before, .nl-hdr--over:focus-within::before, .nl-hdr--over.is-stuck::before { opacity: 0; }
/* The two small white pills flip to red while the bar is transparent, so they stand out on a photo. */
.nl-hdr--over:not(:hover):not(:focus-within) .ss-nav > .ss-sale > a { background: var(--ss-red); color: #fff; }
@media (min-width: 901px) {
	.nl-hdr--over:not(:hover):not(:focus-within) .ss-count { background: var(--ss-red); color: #fff; }
}

/* ---------------------------------------------------------------- sticky row (desktop) */
/* A slim copy of the header (56px) that slides down once the real header has scrolled away. It carries the
   class "site-header" so Shop Kit anchors its mega panel here; the two-class selector beats Hello's own
   ".site-header" rule (flex, padding, position: relative). */
.nl-stick.site-header {
	position: fixed;
	top: var(--ss-adminbar, 0px);
	left: 0;
	right: 0;
	z-index: 55;
	display: block;
	width: 100%;
	max-width: none;     /* Hello caps ".site-header:not(.dynamic-header)" at 1140px and centres it */
	margin: 0;
	padding: 0;
	background: var(--ss-red);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	transform: translateY(-102%);
	visibility: hidden;
	pointer-events: none;
	transition: transform .28s ease, visibility 0s linear .28s;
}
.nl-stick.site-header.is-on {
	transform: none;
	visibility: visible;
	pointer-events: auto;
	transition: transform .28s ease;
}
.nl-stick-in {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(24px, 3vw, 48px);
	height: 56px;
	padding-inline: var(--ss-gut);
}
.nl-stick .ss-nav > li > a { height: 56px; }
.nl-stick .ss-nav > li > a::after { bottom: 14px; }
.nl-stick .ss-nav > .ss-sale > a { height: auto; }
.nl-st-r { display: flex; align-items: center; gap: 4px; }

/* ---------------------------------------------------------------- drawer (phones) */
/* z-index 10000: above TSC's phone bottom bar (9990), so the bar and the WhatsApp button never sit over the open menu. */
.ss-drawer { position: fixed; inset: 0; z-index: 10000; display: none; }
.ss-drawer.is-open { display: block; }
.ss-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.ss-panel {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: min(86%, 340px);
	padding: 16px 20px 40px;
	background: #fff;
	color: var(--ss-ink);
	overflow: auto;
}
.ss-panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
a.nl-logo.nl-logo--drawer img { height: 40px; }
.ss-close {
	display: inline-grid;
	place-items: center;
	width: 40px; height: 40px;
	padding: 0;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--ss-ink);
	cursor: pointer;
}
.ss-drawer-nav, .ss-drawer-nav ul { margin: 0; padding: 0; list-style: none; }
.ss-drawer-nav > li { border-bottom: 1px solid var(--ss-line); }   /* the divider belongs to the whole row, so a row with Shop Kit's arrow stays one line */
.ss-drawer-nav > li > a {
	display: block;
	padding: 15px 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ss-ink);
	text-decoration: none;
}
.ss-drawer-nav > .ss-sale > a { color: var(--ss-red); font-weight: 800; }
.ss-drawer-nav .qav-mm-heading > a,
.ss-drawer-nav .qav-mm-nolink {
	display: block;
	padding: 8px 0;   /* even top and bottom: the row also holds Shop Kit's 48px arrow button, and the title must sit level with it */
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ss-red);
}
.ss-drawer-nav .qav-mm > .sub-menu { padding: 0 0 8px 10px; }
.ss-drawer-nav .qav-mm-heading > .sub-menu { padding: 0 0 8px 2px; }
.ss-drawer-nav ul a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14.5px; color: var(--ss-ink-2); text-transform: none; letter-spacing: 0; border: 0; text-decoration: none; }
.ss-panel-acct { display: flex; align-items: center; gap: 10px; padding: 16px 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ss-ink); text-decoration: none; }

/* ---------------------------------------------------------------- footer */
/* White. The red lettering, then four columns (About, Customer Service, Contact Us, Join our Community),
   then a base strip with the copyright and the payment logos in their own colours. */
.nl-ftr { background: #fff; color: var(--ss-ink); border-top: 1px solid var(--ss-line); }
/* On a phone the /live/ video fills the whole screen (IGSHOP Live Shop's breakpoint, 900px), so the ticker,
   header and footer underneath can never be seen. Leaving them out stops them counting as "moving content"
   (layout shift) while the page loads. The video has its own Close button back to the shop. */
@media (max-width: 900px) { .igls-live-page .nl-ann, .igls-live-page .nl-hdr, .igls-live-page .nl-stick, .igls-live-page .nl-ftr { display: none; } }
.nl-ftr a { color: inherit; text-decoration: none; }
.nl-ftr-brand { max-width: var(--ss-wrap); margin-inline: auto; padding: 52px var(--ss-gut) 0; }
.nl-ftr a.nl-ftr-logo { display: inline-block; line-height: 0; }
.nl-ftr a.nl-ftr-logo img { display: block; width: auto; max-width: none; height: 76px; }
.nl-ftr-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.55fr);
	gap: 32px clamp(20px, 3.4vw, 48px);
	max-width: var(--ss-wrap);
	margin-inline: auto;
	padding: 40px var(--ss-gut) 48px;
}
.nl-fcol { min-width: 0; }
.nl-fcol summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	list-style: none;
	pointer-events: none;   /* a plain heading on a desktop; an accordion button on a phone (below) */
}
.nl-fcol summary::-webkit-details-marker { display: none; }
.nl-fcol summary svg { display: none; }
.nl-fcol ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nl-fcol li { margin: 0; font-size: 14px; color: var(--ss-muted); }
.nl-fcol li a { color: var(--ss-muted); }
.nl-fcol li a:hover { color: var(--ss-ink); text-decoration: underline; text-underline-offset: 4px; }
.nl-soc { display: flex; gap: 22px; margin-top: 6px !important; }
.nl-fcol .nl-soc a { display: inline-flex; color: var(--ss-ink); }
.nl-fcol .nl-soc a:hover { color: var(--ss-red); text-decoration: none; }

/* Join our Community */
.nl-join h2 { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nl-join > p { margin: 0 0 18px; max-width: 46ch; font-size: 14px; line-height: 1.6; color: var(--ss-muted); }
.nl-join-row { margin: 0 0 18px; }
.nl-join-row label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.nl-join-row > div { display: flex; align-items: stretch; }
.nl-join-row input[type="email"],
.nl-join-row input[type="tel"] {
	flex: 1 1 0;
	min-width: 0;
	height: 46px;
	padding: 0 12px 0 0;
	border: 0;
	border-bottom: 1px solid var(--ss-line-2);
	border-radius: 0;
	background: transparent;
	font-size: 14px;
	color: var(--ss-ink);
}
.nl-join-row input[type="email"]:focus,
.nl-join-row input[type="tel"]:focus { border-bottom-color: var(--ss-ink); outline: none; }
.nl-join-row input::placeholder { color: var(--ss-muted); }
.nl-cc { display: inline-flex; align-items: center; height: 46px; padding-right: 10px; border-bottom: 1px solid var(--ss-line-2); font-size: 14px; font-weight: 600; color: var(--ss-ink-2); }
.nl-join-row button[type="submit"],
.nl-join-row button[type="submit"]:focus {
	flex: none;
	min-width: 104px;
	height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: var(--ss-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s;
}
.nl-join-row button[type="submit"]:hover { background: var(--ss-red); color: #fff; }
.nl-join-row button[disabled] { opacity: .6; cursor: wait; }
.nl-join-msg { margin: 8px 0 0; font-size: 13px; color: var(--ss-ok); }
.nl-join-msg.is-error { color: var(--ss-red-deep); }
.nl-join-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ss-muted); }
.nl-join-note a { text-decoration: underline; text-underline-offset: 3px; }

/* Base strip */
.nl-ftr-base {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 12px 24px;
	/* extra room at the bottom so the floating WhatsApp button never sits on top of the payment logos at the end of the page */
	padding: 22px max(var(--ss-gut), calc((100% - var(--ss-wrap)) / 2 + var(--ss-gut))) 84px;
	border-top: 1px solid var(--ss-line);
}
.nl-copy { margin: 0; font-size: 12.5px; color: var(--ss-muted); }
.nl-copy a { color: var(--ss-ink); font-weight: 700; }
/* payment logos: their real colours, no box or border */
.nl-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.nl-pay i { display: block; line-height: 0; }
.nl-pay img { display: block; width: auto; height: 22px; }

/* ---------------------------------------------------------------- narrower desktops */
@media (max-width: 1080px) {
	/* the search pill becomes a round icon button */
	.nl-hdr .nl-search { min-width: 0; width: 40px; padding: 0; justify-content: center; margin-right: 0; }
	.nl-hdr .nl-search span { display: none; }
}
@media (max-width: 1180px) {
	.ss-nav { gap: 16px; }
	.ss-nav > li > a { letter-spacing: .05em; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 900px) {
	/* the header keeps to the top of the screen while scrolling; the sticky row is for desktops */
	.nl-hdr { position: sticky; top: var(--ss-adminbar, 0px); }
	.nl-hdr.is-stuck { box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
	.nl-hdr--over { position: fixed; top: calc(var(--hdr-top, var(--ann-h)) + var(--ss-adminbar, 0px)); left: 0; right: 0; }
	.nl-hdr--over.is-stuck { background: var(--ss-red); }
	.nl-hdr--over::before { height: 84px; }
	.nl-stick.site-header { display: none; }

	.nl-ann span { font-size: 10px; }

	.nl-top { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; padding-inline: 6px; }
	.nl-burger, .nl-search-m { display: inline-grid !important; }
	.nl-hdr .nl-search, .nl-hdr .nl-acct, .nl-hdr .nl-bag, .nl-nav { display: none !important; }   /* TSC's bottom bar carries the bag */
	a.nl-logo img { height: 38px; }

	/* footer: the sign-up first, then the three columns as an accordion, then the base strip */
	.nl-ftr-brand { padding: 36px 16px 0; }
	.nl-ftr .nl-ftr-logo img { height: 60px; }
	.nl-ftr-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 8px 16px 8px; }
	.nl-join { order: -1; padding: 24px 0; border-bottom: 1px solid var(--ss-line); }
	.nl-fcol { border-bottom: 1px solid var(--ss-line); }
	.nl-fcol summary { margin: 0; padding: 18px 0; cursor: pointer; pointer-events: auto; }
	.nl-fcol summary svg { display: block; transition: transform .2s; }
	.nl-fcol[open] summary svg { transform: rotate(45deg); }
	.nl-fcol ul { padding-bottom: 18px; }
	.nl-join-row input[type="email"], .nl-join-row input[type="tel"] { font-size: 16px; }   /* 16px stops iPhones zooming in on focus */
	.nl-ftr-base { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 20px 16px 76px; }   /* 76px: the round WhatsApp button must not cover the copyright line */
	.nl-ftr-base .nl-pay { order: -1; justify-content: center; }
	.nl-pay { gap: 10px 14px; }   /* tighter, so all 7 logos fit on one row at 390px */
	.nl-pay img { height: 18px; }
}

/* TSC's fixed bottom bar (phones, 767px and narrower) covers the last 56px of the page, so TSC adds 56px of space under
   the footer with a plain `body` rule. WordPress's own `body { padding: 0 }` (the global-styles sheet) has the same weight
   and can print after TSC's sheet, so it wins and the footer's last line would sit behind the bar. This rule is stronger
   and applies only where the bar is drawn. The two pages where TSC sets a taller space itself (the product bar, the cart's
   list bar) are left to TSC. */
@media (max-width: 767px) {
	body:has(.tsc-bottomnav):not(.tsc-has-pbar):not(:has(.tsc-listbar)) {
		padding-bottom: calc(56px + env(safe-area-inset-bottom));
	}
	/* The cart page's fixed bottom bar (free-shipping line + Checkout button, 114px tall) does not pad the page itself, so it
	   would sit on the footer's last lines (payment logos, copyright). Leave room under the footer for it. */
	body.woocommerce-cart:has(.tsc-cart__bottombar) .nl-ftr-base {
		padding-bottom: calc(132px + env(safe-area-inset-bottom));
	}
}

/* "Added to cart": TSC's small pop-up message (product pages, shop pages, the cart's offers) is SUPERSUNDAY red on
   every page, square like the site's buttons. Only the success message: an error ("Please choose a size") stays
   dark, so a problem never looks like a success. TSC's toast.css centres the text (fixed for every IGSHOP site). */
.tsc-toast.tsc-toast--success {
	background: var(--ss-red);
	color: #fff;
	border-radius: 0;
	font-weight: 600;
	letter-spacing: .02em;
}

/* ---------------------------------------------------------------- 404 page (template-parts/404.php, 0.11.0)
   A big red "404", the heading and sentence from Website > 404 page, and two buttons: ink, and an ink outline. */
.ss-404 { max-width: 640px; margin: 0 auto; padding: clamp(64px, 12vw, 140px) 24px; text-align: center; }
.ss-404-code { margin: 0; font-size: clamp(72px, 14vw, 140px); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--ss-red); }
.ss-404-title { margin: 18px 0 12px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; line-height: 1.15; color: var(--ss-ink); }
.ss-404-text { margin: 0 auto 32px; max-width: 46ch; font-size: 16px; line-height: 1.6; color: var(--ss-ink-2); }
.ss-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ss-btn--line { background: #fff; color: var(--ss-ink); }
.ss-btn--line:hover { background: var(--ss-ink); border-color: var(--ss-ink); color: #fff; }
@media (max-width: 520px) {
	/* phone: the two buttons stack, both the full width so they line up */
	.ss-404-actions { flex-direction: column; }
	.ss-404-actions .ss-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; }
	/* no moving ticker: show the first run, scrollable */
	.nl-ann { overflow-x: auto; scrollbar-width: none; }
	.nl-ann-track { animation: none; }
	.nl-ann-run[aria-hidden="true"] { display: none; }
	.nl-hdr, .ss-nav > li > a::after, .nl-stick.site-header { transition: none; }
}
