/* =========================================================
   INCOUNTRY DISTRIBUTION
   V4 FINAL
   Compatibility, responsive refinement and finishing layer
   ========================================================= */


/* =========================================================
   GLOBAL TYPOGRAPHY + RENDERING
   ========================================================= */

body.ic-v4-final,
body.ic-v4-final button,
body.ic-v4-final input,
body.ic-v4-final select,
body.ic-v4-final textarea {
	font-family:
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;
}

body.ic-v4-final {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.ic-v4-final img {
	max-width: 100%;
}


/* =========================================================
   HEADER — STABLE STICKY FOUNDATION
   ========================================================= */

body.ic-v4-final #site-header {
	position: sticky !important;
	top: 0;
	z-index: 9990;
	width: 100%;
	will-change: auto;
}

body.admin-bar.ic-v4-final #site-header {
	top: 32px;
}


/*
 * The V3 scroll script used the classes below.
 * V4 JS owns compact state instead, so old state must not be
 * allowed to control header dimensions.
 */

body.ic-v4-final.ic-header-scrolled #site-header,
body.ic-v4-final #site-header.ic-header-is-compact {
	transform: none !important;
}


/* =========================================================
   DESKTOP V4 COMPACT HEADER
   ========================================================= */

@media (min-width: 768px) {

	body.ic-v4-final #site-header .ic-top-strip {
		max-height: 40px;
		overflow: hidden;
		opacity: 1;
		transition:
			max-height 180ms ease,
			opacity 150ms ease,
			border-color 180ms ease;
	}

	body.ic-v4-final #site-header .ic-header-main-inner {
		transition:
			min-height 180ms ease,
			gap 180ms ease;
	}

	body.ic-v4-final #site-header .ic-brand-logo {
		transition:
			max-width 180ms ease,
			max-height 180ms ease;
	}

	body.ic-v4-final #site-header.ic-v4-header-compact .ic-top-strip {
		max-height: 0;
		opacity: 0;
		border-bottom-color: transparent;
	}

	body.ic-v4-final #site-header.ic-v4-header-compact .ic-header-main-inner {
		min-height: 78px;
	}

	body.ic-v4-final #site-header.ic-v4-header-compact .ic-brand-logo {
		max-width: 190px;
		max-height: 54px;
	}

	body.ic-v4-final #site-header.ic-v4-header-compact .ic-search-field-wrap {
		min-height: 50px;
		border-radius: 14px;
	}

	body.ic-v4-final #site-header.ic-v4-header-compact .ic-search-field-wrap input[type="search"] {
		height: 48px;
	}

	body.ic-v4-final #site-header.ic-v4-header-compact .ic-header-action {
		min-height: 50px;
	}

	body.ic-v4-final #site-header.ic-v4-header-compact {
		box-shadow:
			0 12px 30px rgba(17,19,24,.07);
	}
}


/* =========================================================
   MOBILE HEADER — NO HEIGHT OSCILLATION
   ========================================================= */

@media (max-width: 767px) {

	body.admin-bar.ic-v4-final #site-header {
		top: 46px;
	}

	body.ic-v4-final #site-header,
	body.ic-v4-final.ic-header-scrolled #site-header,
	body.ic-v4-final #site-header.ic-header-is-compact,
	body.ic-v4-final #site-header.ic-v4-header-compact {
		transform: none !important;
	}

	body.ic-v4-final #site-header .ic-top-strip,
	body.ic-v4-final.ic-header-scrolled #site-header .ic-top-strip,
	body.ic-v4-final #site-header.ic-header-is-compact .ic-top-strip {
		display: none !important;
	}

	body.ic-v4-final #site-header .ic-header-main,
	body.ic-v4-final.ic-header-scrolled #site-header .ic-header-main,
	body.ic-v4-final #site-header.ic-header-is-compact .ic-header-main {
		padding: 11px 0 12px !important;
	}

	body.ic-v4-final #site-header .ic-header-main-inner,
	body.ic-v4-final.ic-header-scrolled #site-header .ic-header-main-inner,
	body.ic-v4-final #site-header.ic-header-is-compact .ic-header-main-inner {
		grid-template-columns:
			auto
			minmax(0, 1fr)
			auto !important;

		grid-template-areas:
			"toggle brand actions"
			"search search search" !important;

		gap: 11px !important;
		min-height: 0 !important;
	}

	body.ic-v4-final #site-header .ic-brand-logo,
	body.ic-v4-final.ic-header-scrolled #site-header .ic-brand-logo,
	body.ic-v4-final #site-header.ic-header-is-compact .ic-brand-logo {
		max-width: 148px !important;
		max-height: 48px !important;
	}

	body.ic-v4-final #site-header .ic-header-search,
	body.ic-v4-final.ic-header-scrolled #site-header .ic-header-search,
	body.ic-v4-final #site-header.ic-header-is-compact .ic-header-search {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
		transform: none !important;
	}

	body.ic-v4-final #site-header .ic-search-field-wrap,
	body.ic-v4-final.ic-header-scrolled #site-header .ic-search-field-wrap,
	body.ic-v4-final #site-header.ic-header-is-compact .ic-search-field-wrap {
		min-height: 48px !important;
		border-radius: 12px !important;
	}

	body.ic-v4-final #site-header .ic-search-field-wrap input[type="search"],
	body.ic-v4-final.ic-header-scrolled #site-header .ic-search-field-wrap input[type="search"],
	body.ic-v4-final #site-header.ic-header-is-compact .ic-search-field-wrap input[type="search"] {
		height: 46px !important;
		padding-right: 52px !important;
		padding-left: 43px !important;
		font-size: 12.5px !important;
	}

	body.ic-v4-final #site-header .ic-header-action,
	body.ic-v4-final.ic-header-scrolled #site-header .ic-header-action,
	body.ic-v4-final #site-header.ic-header-is-compact .ic-header-action {
		min-height: 42px !important;
		padding: 0 !important;
	}

	body.ic-v4-final #site-header .ic-action-icon {
		width: 40px !important;
		height: 40px !important;
		flex-basis: 40px !important;
	}

	body.ic-v4-final #site-header .ic-desktop-navigation {
		display: none !important;
	}
}


/* =========================================================
   REMOVE DUPLICATE MARTFURY PAGE HEADERS
   ========================================================= */

body.ic-v4-final.ic-standard-page > .page-header,
body.ic-v4-final.ic-standard-page .page-header-page,
body.ic-v4-final.ic-standard-page .site-content > .page-header,
body.ic-v4-final.ic-standard-page .site-content > .page-header-page,

body.ic-v4-final.blog > .page-header,
body.ic-v4-final.blog .page-header-page,
body.ic-v4-final.blog .site-content > .page-header,
body.ic-v4-final.blog .site-content > .page-header-page,

body.ic-v4-final.category > .page-header,
body.ic-v4-final.tag > .page-header,
body.ic-v4-final.author > .page-header,
body.ic-v4-final.date > .page-header,

body.ic-v4-final.category .page-header-page,
body.ic-v4-final.tag .page-header-page,
body.ic-v4-final.author .page-header-page,
body.ic-v4-final.date .page-header-page {
	display: none !important;
}


/* =========================================================
   STANDARD PAGE POLISH
   ========================================================= */

body.ic-v4-final.ic-standard-page .ic-page-intro__panel {
	box-shadow:
		0 1px 0 rgba(255,255,255,.9) inset,
		0 22px 60px rgba(17,19,24,.07);
}

body.ic-v4-final.ic-standard-page .entry-content {
	max-width: none;
}

body.ic-v4-final.ic-standard-page .entry-content > p {
	max-width: 840px;
}

body.ic-v4-final.ic-standard-page .entry-content a {
	text-underline-offset: 3px;
}


/* =========================================================
   INFORMATION / POLICY PAGES
   ========================================================= */

.ic-info-page-v4 {
	padding: 6px 0 70px;
}

.ic-info-page-v4__lead {
	display: grid;
	grid-template-columns:
		minmax(0, 1.1fr)
		minmax(280px, .55fr);
	gap: 18px;
	margin-bottom: 18px;
}

.ic-info-page-v4__statement,
.ic-info-page-v4__contact {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(17,19,24,.08);
	border-radius: 24px;
}

.ic-info-page-v4__statement {
	padding: clamp(28px, 4vw, 52px);
	background:
		radial-gradient(
			circle at 92% 0%,
			rgba(79,124,255,.10),
			transparent 30%
		),
		linear-gradient(
			145deg,
			#fff,
			#f7f8fb
		);
	box-shadow:
		0 18px 52px rgba(17,19,24,.055);
}

.ic-info-page-v4__statement::after {
	content: "";
	position: absolute;
	right: -55px;
	bottom: -85px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background:
		radial-gradient(
			circle,
			rgba(255,107,44,.14),
			transparent 70%
		);
	pointer-events: none;
}

.ic-info-page-v4__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 15px;
	color: var(--ic-red);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ic-info-page-v4__eyebrow::before {
	content: "";
	width: 30px;
	height: 2px;
	border-radius: 99px;
	background:
		linear-gradient(
			90deg,
			var(--ic-red),
			var(--ic-orange)
		);
}

.ic-info-page-v4__statement h2 {
	max-width: 760px;
	margin: 0;
	color: var(--ic-black);
	font-size: clamp(32px, 4.2vw, 58px);
	font-weight: 780;
	letter-spacing: -.05em;
	line-height: 1;
}

.ic-info-page-v4__statement p {
	max-width: 760px;
	margin: 18px 0 0;
	color: var(--ic-muted);
	font-size: 15px;
	line-height: 1.75;
}

.ic-info-page-v4__contact {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 30px;
	color: #fff;
	background:
		radial-gradient(
			circle at 85% 12%,
			rgba(214,0,0,.30),
			transparent 35%
		),
		#15171d;
	box-shadow:
		0 20px 48px rgba(17,19,24,.15);
}

.ic-info-page-v4__contact small {
	color: rgba(255,255,255,.52);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ic-info-page-v4__contact strong {
	margin-top: 15px;
	color: #fff;
	font-size: 22px;
	font-weight: 780;
	letter-spacing: -.03em;
}

.ic-info-page-v4__contact p {
	margin: 10px 0 22px;
	color: rgba(255,255,255,.66);
	font-size: 13px;
	line-height: 1.6;
}

.ic-info-page-v4__contact-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ic-info-page-v4__contact-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 43px;
	padding: 0 14px;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 11px;
	color: #fff !important;
	background: rgba(255,255,255,.055);
	font-size: 11px;
	font-weight: 800;
}

.ic-info-page-v4__contact-links a:hover {
	background: rgba(255,255,255,.10);
}

.ic-info-page-v4__grid {
	display: grid;
	grid-template-columns:
		repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.ic-info-page-v4__card {
	position: relative;
	padding: 28px;
	overflow: hidden;
	border: 1px solid rgba(17,19,24,.08);
	border-radius: 20px;
	background: #fff;
	box-shadow:
		0 9px 30px rgba(17,19,24,.045);
}

.ic-info-page-v4__card::after {
	content: "";
	position: absolute;
	right: -35px;
	bottom: -45px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background:
		radial-gradient(
			circle,
			rgba(79,124,255,.09),
			transparent 70%
		);
	pointer-events: none;
}

.ic-info-page-v4__number {
	display: block;
	margin-bottom: 38px;
	color: #a0a5ac;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .10em;
}

.ic-info-page-v4__card h3 {
	margin: 0;
	color: var(--ic-black);
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 770;
	letter-spacing: -.035em;
	line-height: 1.1;
}

.ic-info-page-v4__card p,
.ic-info-page-v4__card li {
	color: var(--ic-muted);
	font-size: 14px;
	line-height: 1.72;
}

.ic-info-page-v4__card p {
	margin: 12px 0 0;
}

.ic-info-page-v4__card ul {
	margin: 14px 0 0;
	padding-left: 18px;
}

.ic-info-page-v4__card li + li {
	margin-top: 7px;
}

.ic-info-page-v4__notice {
	margin-top: 15px;
	padding: 24px 28px;
	border: 1px solid rgba(214,0,0,.10);
	border-radius: 18px;
	background:
		linear-gradient(
			135deg,
			rgba(214,0,0,.035),
			rgba(255,107,44,.035)
		);
	color: var(--ic-muted);
	font-size: 13px;
	line-height: 1.7;
}

.ic-info-page-v4__notice strong {
	color: var(--ic-black);
}


/* =========================================================
   HOMEPAGE / BLOG EDITORIAL IMAGE FALLBACK
   ========================================================= */

.ic-editorial-card__placeholder--v4 {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start !important;
	justify-content: flex-end !important;
	gap: 7px;
	padding: 28px;
	color: #fff !important;
	background:
		radial-gradient(
			circle at 84% 18%,
			rgba(108,99,255,.45),
			transparent 32%
		),
		radial-gradient(
			circle at 12% 88%,
			rgba(255,107,44,.34),
			transparent 36%
		),
		linear-gradient(
			145deg,
			#171a20,
			#272c35
		) !important;
	letter-spacing: normal !important;
}

.ic-editorial-card__fallback-line {
	width: 42px;
	height: 3px;
	margin-bottom: 5px;
	border-radius: 999px;
	background:
		linear-gradient(
			90deg,
			var(--ic-red),
			var(--ic-orange)
		);
}

.ic-editorial-card__placeholder--v4 strong {
	max-width: 260px;
	color: #fff;
	font-size: 22px;
	font-weight: 760;
	line-height: 1.1;
	letter-spacing: -.035em;
}

.ic-editorial-card__placeholder--v4 small {
	color: rgba(255,255,255,.58);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}


/* =========================================================
   COMMERCE — FINAL CATALOGUE NORMALISATION
   ========================================================= */

body.ic-v4-final.ic-commerce-page
.woocommerce ul.products,

body.ic-v4-final.ic-commerce-page
ul.products,

body.ic-v4-final.ic-commerce-page
.products.grid {
	display: grid !important;
	align-items: stretch !important;
}

body.ic-v4-final.ic-commerce-page
ul.products li.product {
	float: none !important;
	min-width: 0 !important;
}

body.ic-v4-final.ic-commerce-page
li.product .product-inner,

body.ic-v4-final.ic-commerce-page
li.product .product-content,

body.ic-v4-final.ic-commerce-page
li.product .product-summary,

body.ic-v4-final.ic-commerce-page
li.product .mf-product-details,

body.ic-v4-final.ic-commerce-page
li.product .mf-product-price-box,

body.ic-v4-final.ic-commerce-page
li.product .product-details {
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	max-height: none !important;
	transform: none !important;
}

body.ic-v4-final.ic-commerce-page
li.product .woocommerce-loop-product__title,

body.ic-v4-final.ic-commerce-page
li.product .product-title,

body.ic-v4-final.ic-commerce-page
li.product .price {
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
}


/* =========================================================
   MOBILE COMMERCE
   ========================================================= */

@media (max-width: 640px) {

	body.ic-v4-final.ic-commerce-page
	.woocommerce ul.products,

	body.ic-v4-final.ic-commerce-page
	ul.products,

	body.ic-v4-final.ic-commerce-page
	.products.grid,

	body.ic-v4-final.single-product
	.related.products ul.products,

	body.ic-v4-final.single-product
	.upsells.products ul.products {
		display: grid !important;
		grid-template-columns:
			repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
		width: 100% !important;
	}

	body.ic-v4-final.ic-commerce-page
	ul.products li.product {
		display: flex !important;
		flex-direction: column !important;
		width: auto !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 8px 8px 10px !important;
		overflow: hidden !important;
		border-radius: 15px !important;
	}

	body.ic-v4-final.ic-commerce-page
	li.product .mf-product-thumbnail,

	body.ic-v4-final.ic-commerce-page
	li.product .product-thumbnail,

	body.ic-v4-final.ic-commerce-page
	li.product .product-image {
		min-height: 130px !important;
		max-height: 130px !important;
		overflow: hidden !important;
	}

	body.ic-v4-final.ic-commerce-page
	ul.products li.product img {
		display: block !important;
		width: 100% !important;
		height: 130px !important;
		max-height: 130px !important;
		padding: 5px !important;
		object-fit: contain !important;
		object-position: center !important;
	}

	body.ic-v4-final.ic-commerce-page
	li.product .product-inner,

	body.ic-v4-final.ic-commerce-page
	li.product .product-content,

	body.ic-v4-final.ic-commerce-page
	li.product .product-summary,

	body.ic-v4-final.ic-commerce-page
	li.product .mf-product-details,

	body.ic-v4-final.ic-commerce-page
	li.product .mf-product-price-box,

	body.ic-v4-final.ic-commerce-page
	li.product .product-details {
		display: block !important;
		position: relative !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding-top: 0 !important;
		transform: none !important;
	}

	body.ic-v4-final.ic-commerce-page
	li.product .woocommerce-loop-product__title,

	body.ic-v4-final.ic-commerce-page
	li.product .product-title,

	body.ic-v4-final.ic-commerce-page
	li.product h2,

	body.ic-v4-final.ic-commerce-page
	li.product h3 {
		display: -webkit-box !important;
		visibility: visible !important;
		opacity: 1 !important;
		min-height: 35px !important;
		max-height: none !important;
		margin: 6px 1px 5px !important;
		overflow: hidden !important;
		color: var(--ic-black) !important;
		font-size: 11.5px !important;
		font-weight: 730 !important;
		line-height: 1.35 !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body.ic-v4-final.ic-commerce-page
	li.product .price,

	body.ic-v4-final.ic-commerce-page
	ul.products li.product .price {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: baseline !important;
		gap: 4px !important;
		visibility: visible !important;
		opacity: 1 !important;
		min-height: 21px !important;
		margin: 0 1px 7px !important;
		color: var(--ic-black) !important;
		font-size: 12px !important;
		font-weight: 820 !important;
		line-height: 1.25 !important;
	}

	body.ic-v4-final.ic-commerce-page
	li.product .price del {
		font-size: 9px !important;
	}

	body.ic-v4-final.ic-commerce-page
	li.product .price ins {
		color: var(--ic-red) !important;
		text-decoration: none !important;
	}

	body.ic-v4-final.ic-commerce-page
	ul.products li.product .button,

	body.ic-v4-final.ic-commerce-page
	li.product .add_to_cart_button,

	body.ic-v4-final.ic-commerce-page
	li.product .product_type_simple,

	body.ic-v4-final.ic-commerce-page
	li.product .product_type_variable {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 35px !important;
		margin-top: auto !important;
		padding: 0 7px !important;
		border-radius: 9px !important;
		font-size: 9.5px !important;
		white-space: normal !important;
		text-align: center !important;
	}
}


/* Only truly narrow phones fall back to one column. */

@media (max-width: 340px) {

	body.ic-v4-final.ic-commerce-page
	.woocommerce ul.products,

	body.ic-v4-final.ic-commerce-page
	ul.products,

	body.ic-v4-final.ic-commerce-page
	.products.grid,

	body.ic-v4-final.single-product
	.related.products ul.products,

	body.ic-v4-final.single-product
	.upsells.products ul.products {
		grid-template-columns:
			1fr !important;
		gap: 12px !important;
	}

	body.ic-v4-final.ic-commerce-page
	li.product .mf-product-thumbnail,

	body.ic-v4-final.ic-commerce-page
	li.product .product-thumbnail,

	body.ic-v4-final.ic-commerce-page
	li.product .product-image,

	body.ic-v4-final.ic-commerce-page
	ul.products li.product img {
		min-height: 190px !important;
		height: 190px !important;
		max-height: 190px !important;
	}
}


/* =========================================================
   HOMEPAGE MOBILE PRODUCT INFORMATION
   ========================================================= */

@media (max-width: 767px) {

	body.ic-v4-final .ic-product-card-body {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
	}

	body.ic-v4-final .ic-product-card-body h3 {
		display: -webkit-box !important;
		visibility: visible !important;
		opacity: 1 !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body.ic-v4-final .ic-product-card-footer {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	body.ic-v4-final .ic-product-card-price {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}


/* =========================================================
   FINAL VISUAL POLISH
   ========================================================= */

body.ic-v4-final .ic-category-card,
body.ic-v4-final .ic-product-card,
body.ic-v4-final .ic-editorial-card,
body.ic-v4-final .ic-journal-card,
body.ic-v4-final.ic-commerce-page li.product {
	backface-visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {

	body.ic-v4-final .ic-category-card:hover,
	body.ic-v4-final .ic-product-card:hover,
	body.ic-v4-final .ic-editorial-card:hover,
	body.ic-v4-final .ic-journal-card:hover {
		will-change: transform;
	}
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	body.ic-v4-final *,
	body.ic-v4-final *::before,
	body.ic-v4-final *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}