/*
 * Newman's MOT Services Premium Collection Template 1.0.0
 * Responsive collection geometry:
 * - 66em main breakpoint
 * - 38em mobile breakpoint
 * - 3 items/row desktop+tablet, 2 items/row mobile
 * - sidebar min width max(20%,13.5em), 2em gap
 * - collection items margin 2rem desktop / 1rem medium
 * - sort/filter controls 3.8rem high
 * - accordion title .7em vertical padding
 * - price range 5px track / 17px handles
 */

:root{
	--nmsct-orange:#FD8604;
	--nmsct-orange-light:#FE9B2C;
	--nmsct-orange-hover:#E97800;
	--nmsct-black:#000000;
	--nmsct-ink:#000000;
	--nmsct-muted:#3E342A;
	--nmsct-border:#E5E2DA;
	--nmsct-soft:#FAFAF9;
	--nmsct-background:#FAFAF9;
	--nmsct-grey:#ACAEAA;
	--nmsct-white:#FFFFFF;
	--nmsct-container:1440px;
	--nmsct-header-offset:194px;
}

.nmsct-visually-hidden{
	position:absolute!important;
	width:1px!important;height:1px!important;
	padding:0!important;margin:-1px!important;
	overflow:hidden!important;clip:rect(0,0,0,0)!important;
	white-space:nowrap!important;border:0!important;
}

#nmsct-collection-page,
#nmsct-collection-page *{
	box-sizing:border-box;
}

#nmsct-collection-page{
	width:100%;
	margin:0;
	padding:0;
	background:#fff;
	color:var(--nmsct-ink);
	font-family:inherit;
	font-size:16px;
	line-height:1.45;
}

#nmsct-collection-page a{
	color:inherit;
}

.nmsct-container{
	width:min(100%,var(--nmsct-container));
	margin:0 auto;
	padding-left:32px;
	padding-right:32px;
}

/* Breadcrumb — 1.5rem top/bottom from the source */
.nmsct-breadcrumb-wrapper{
	padding-top:1.5rem;
	padding-bottom:1.5rem;
	background:#fff;
}
.nmsct-breadcrumb{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:.65rem;
	font-size:13px;
	font-weight:600;
	letter-spacing:.02em;
}
.nmsct-breadcrumb a{
	text-decoration:none;
}
.nmsct-breadcrumb a:hover{
	text-decoration:underline;
}
.nmsct-breadcrumb-bar{
	opacity:.55;
}

.nmsct-collection-heading{
	background:#fff;
}
.nmsct-collection-heading h1{
	margin:0;
	padding:4px 0 18px;
	color:var(--nmsct-black);
	font-size:clamp(30px,3.2vw,48px);
	font-weight:800;
	line-height:1.08;
	letter-spacing:-.025em;
}

/* Main collection geometry */
.nmsct-collection-main{
	--items-margin:2rem;
	padding-top:16px;
	padding-bottom:64px;
}
.nmsct-collection-layout{
	display:flex;
	align-items:flex-start;
	flex-wrap:nowrap;
}
.nmsct-collection-filters{
	width:max(20%,13.5em);
	flex:0 0 max(20%,13.5em);
	margin-right:2em;
	box-shadow:none;
}
.nmsct-filters-inner{
	position:sticky;
	top:calc(var(--nmsct-header-offset) + 5.5em);
	max-height:calc(100vh - var(--nmsct-header-offset) - 8.5em);
	overflow-y:auto;
	padding:1.5em;
	border:1px solid #ececea;
	background:#fff;
	scrollbar-width:thin;
}
.nmsct-filter-head{
	display:none;
}
.nmsct-sort-select{
	display:block;
	margin-bottom:2em;
}
.nmsct-sort-select select{
	width:100%;
	height:3.8rem;
	padding:0 2.5em 0 1em;
	border:1px solid #bfc0bd;
	border-radius:0;
	background:#fff;
	color:#222;
	font:inherit;
	font-size:14px;
	cursor:pointer;
}

/* Accordion */
.nmsct-filter-accordion{
	border-bottom:1px solid var(--nmsct-border);
}
.nmsct-accordion-trigger{
	width:100%;
	padding:.7em 0;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:1rem;
	border:0;
	background:transparent;
	color:#26282a;
	font-family:inherit;
	font-size:14px;
	font-weight:700;
	line-height:1.25;
	text-align:left;
	cursor:pointer;
}
.nmsct-accordion-chevron{
	width:1.5em;
	height:1.5em;
	display:flex;
	align-items:center;
	justify-content:center;
	border-radius:50%;
	background:var(--nmsct-background);
	transition:transform 180ms linear;
}
.nmsct-accordion-chevron i{
	display:block;
	width:.37em;
	height:.37em;
	border-bottom:2px solid currentColor;
	border-right:2px solid currentColor;
	transform:rotate(45deg) translate(-1px,-1px);
}
.nmsct-accordion-trigger[aria-expanded="true"] .nmsct-accordion-chevron{
	transform:rotateX(180deg);
}
.nmsct-accordion-panel{
	padding:1rem 0 2rem;
}
.nmsct-accordion-panel[hidden]{
	display:none!important;
}

/* Price filter — source sizes */
.nmsct-price-fields{
	display:flex;
	align-items:flex-end;
	column-gap:.5em;
	margin-bottom:1.2em;
}
.nmsct-price-fields label{
	flex:1 1 0;
	min-width:0;
	font-size:12px;
	color:#5e6061;
}
.nmsct-price-fields label>span:first-child{
	display:block;
	margin-bottom:5px;
}
.nmsct-price-input{
	display:flex!important;
	align-items:center;
	gap:3px;
	min-height:34px;
}
.nmsct-price-input b{
	font-weight:400;
	opacity:.7;
}
.nmsct-price-input input{
	width:100%;
	min-width:0;
	padding:5px 2px;
	border:0;
	border-bottom:1px solid #b9bab7;
	border-radius:0;
	background:transparent;
	font:inherit;
	font-size:14px;
	outline:none;
}
.nmsct-price-slider{
	position:relative;
	height:18px;
	margin:4px 0 0;
}
.nmsct-price-track{
	position:absolute;
	top:6px;
	left:0;right:0;
	height:5px;
	border-radius:5px;
	background:#d5d5d1;
}
.nmsct-price-track span{
	position:absolute;
	top:0;bottom:0;
	left:0;right:0;
	border-radius:5px;
	background:var(--nmsct-black);
}
.nmsct-price-slider input[type="range"]{
	position:absolute;
	top:6px;
	left:0;
	width:100%;
	height:5px;
	margin:0;
	padding:0;
	background:none;
	pointer-events:none;
	-webkit-appearance:none;
	appearance:none;
}
.nmsct-price-slider input[type="range"]::-webkit-slider-thumb{
	width:17px;height:17px;
	border:0;border-radius:50%;
	background:var(--nmsct-black);
	box-shadow:0 0 6px rgba(0,0,0,.08);
	pointer-events:auto;
	cursor:pointer;
	-webkit-appearance:none;
}
.nmsct-price-slider input[type="range"]::-moz-range-thumb{
	width:17px;height:17px;
	border:0;border-radius:50%;
	background:var(--nmsct-black);
	box-shadow:0 0 6px rgba(0,0,0,.08);
	pointer-events:auto;
	cursor:pointer;
}

/* Checkbox/radio rows */
.nmsct-checkbox-row{
	position:relative;
	display:flex;
	align-items:center;
	gap:.7em;
	padding:.35em 0;
	font-size:14px;
	cursor:pointer;
}
.nmsct-checkbox-row input{
	position:absolute;
	opacity:0;
	pointer-events:none;
}
.nmsct-checkbox{
	width:18px;
	height:18px;
	flex:0 0 18px;
	border:1px solid #383a3b;
	background:#fff;
	position:relative;
}
.nmsct-checkbox::after{
	content:"";
	position:absolute;
	left:4px;top:1px;
	width:6px;height:11px;
	border-right:2px solid #fff;
	border-bottom:2px solid #fff;
	transform:rotate(45deg) scale(0);
	transition:transform .12s ease;
}
.nmsct-checkbox-row input:checked + .nmsct-checkbox{
	background:var(--nmsct-black);
}
.nmsct-checkbox-row input:checked + .nmsct-checkbox::after{
	transform:rotate(45deg) scale(1);
}
.nmsct-checkbox-text em{
	font-style:normal;
	opacity:.58;
}
.nmsct-filter-actions{
	display:flex;
	flex-direction:column;
	gap:9px;
	padding-top:20px;
}
.nmsct-apply-filters,
.nmsct-clear-filters{
	min-height:44px;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:10px 16px;
	border:2px solid var(--nmsct-black);
	border-radius:0;
	font-family:inherit;
	font-size:14px;
	font-weight:700;
	line-height:1;
	text-decoration:none!important;
	cursor:pointer;
}
.nmsct-apply-filters{
	background:var(--nmsct-black);
	color:#fff;
}
.nmsct-clear-filters{
	background:#fff;
	color:var(--nmsct-black);
}

/* Main wrapper */
.nmsct-collection-wrapper{
	flex:1 1 auto;
	min-width:0;
	margin:0 auto;
	outline:none;
}
.nmsct-page-top-wrap{
	position:sticky;
	top:var(--nmsct-header-offset);
	z-index:30;
	margin:0 0 1rem;
	padding:1em 0;
	background:#fff;
	border-bottom:1px solid rgba(0,0,0,.06);
}
.nmsct-collection-utils{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:1em;
	min-height:52px;
}
.nmsct-mobile-filter-button-wrap{
	display:none;
}
.nmsct-showing{
	font-size:14px;
	color:#444748;
}

/* Product grid — source is flex, 3/3/2 */
.nmsct-product-grid{
	--items-per-row:3;
	display:flex;
	flex-flow:row wrap;
	align-items:stretch;
	justify-content:flex-start;
	margin:0 -12px calc(var(--items-margin) * -1);
}
.nmsct-product-card{
	position:relative;
	width:calc(100% / var(--items-per-row));
	margin:0 0 var(--items-margin);
	padding:0 12px;
	display:flex;
	flex-direction:column;
	background:#fff;
	color:#25282a;
}

/* Product card */
.nmsct-card-image-wrap{
	position:relative;
	width:100%;
	aspect-ratio:1 / 1;
	overflow:hidden;
	background:var(--nmsct-background);
}
.nmsct-card-image-link{
	position:absolute;
	inset:0;
	display:block;
}
.nmsct-card-image{
	position:absolute;
	inset:0;
	display:block;
	width:100%!important;
	height:100%!important;
	margin:0!important;
	padding:0!important;
	object-fit:contain;
	object-position:center;
	transition:opacity 450ms ease,transform 700ms cubic-bezier(.2,.75,.25,1);
}
.nmsct-card-image--main{
	opacity:1;
	transform:scale(1);
}
.nmsct-card-image--hover{
	opacity:0;
	transform:scale(1.015);
}
.nmsct-product-card:hover .nmsct-card-image--main{
	opacity:0;
	transform:scale(1.02);
}
.nmsct-product-card:hover .nmsct-card-image--hover{
	opacity:1;
	transform:scale(1);
}
.nmsct-sale-badge{
	position:absolute;
	z-index:3;
	top:12px;
	left:12px;
	padding:7px 10px 6px;
	background:var(--nmsct-orange);
	color:#fff;
	font-family:inherit;
	font-size:12px;
	font-weight:700;
	line-height:1;
	letter-spacing:.025em;
}
.nmsct-floating-action{
	position:absolute;
	z-index:4;
	right:12px;
	bottom:12px;
	transform:translateY(10px);
	opacity:0;
	transition:transform 180ms ease,opacity 180ms ease;
}
.nmsct-product-card:hover .nmsct-floating-action,
.nmsct-product-card:focus-within .nmsct-floating-action{
	transform:translateY(0);
	opacity:1;
}
.nmsct-card-action,
.nmsct-card-action:visited{
	min-height:42px;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:10px 15px;
	border:0;
	background:var(--nmsct-black);
	color:#fff!important;
	font-family:inherit;
	font-size:12px;
	font-weight:700;
	line-height:1;
	text-decoration:none!important;
	text-transform:uppercase;
	letter-spacing:.03em;
	box-shadow:0 3px 10px rgba(0,0,0,.15);
}
.nmsct-card-action:hover{
	background:var(--nmsct-orange);
	color:#000!important;
}
.nmsct-card-action--disabled{
	background:#5f6162;
}
.nmsct-card-info{
	padding-top:14px;
	display:flex;
	flex-direction:column;
	align-items:flex-start;
}
.nmsct-card-title,
.nmsct-card-title:visited{
	min-height:2.8em;
	margin:0 0 7px;
	color:#27292a!important;
	font-family:inherit;
	font-size:23px;
	font-weight:700;
	line-height:1.05;
	text-decoration:none!important;
}
.nmsct-card-title:hover{
	text-decoration:underline!important;
	text-underline-offset:3px;
}
.nmsct-card-rating{
	min-height:20px;
	display:flex;
	align-items:center;
	gap:7px;
	margin-bottom:7px;
}
.nmsct-card-rating .star-rating{
	margin:0;
	font-size:13px;
}
.nmsct-rating-count{
	color:#6a6c6d;
	font-size:12px;
}
.nmsct-card-sku{
	margin:0 0 7px;
	color:#606263;
	font-size:12px;
	line-height:1.3;
}
.nmsct-card-price{
	width:100%;
	display:flex;
	flex-wrap:wrap;
	align-items:baseline;
	gap:7px;
	color:#242627;
	font-family:inherit;
	font-size:22px;
	font-weight:700;
	line-height:1.15;
}
.nmsct-card-price del{
	order:0;
	opacity:.55;
	font-size:.8em;
}
.nmsct-card-price ins{
	order:1;
	background:none;
	color:var(--nmsct-orange-hover);
	text-decoration:none;
}

/* Empty + load more */
.nmsct-no-products{
	width:100%;
	padding:70px 20px;
	text-align:center;
	color:#565859;
}
.nmsct-load-more-wrap{
	display:flex;
	justify-content:center;
	padding-top:48px;
}
.nmsct-load-more,
.nmsct-load-more:visited{
	min-width:180px;
	min-height:50px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:11px;
	padding:12px 24px;
	border:2px solid var(--nmsct-black);
	background:#fff;
	color:var(--nmsct-black)!important;
	font-family:inherit;
	font-size:14px;
	font-weight:700;
	line-height:1;
	text-decoration:none!important;
	text-transform:uppercase;
	letter-spacing:.035em;
	transition:background .18s ease,color .18s ease;
}
.nmsct-load-more svg{
	width:15px;height:15px;
	fill:currentColor;
	transform:rotate(90deg);
}
.nmsct-load-more:hover{
	background:var(--nmsct-black);
	color:#fff!important;
}
.nmsct-load-more.is-loading{
	pointer-events:none;
	opacity:.58;
}

/* Mobile drawer elements hidden desktop */
.nmsct-mobile-filter-overlay{
	display:none;
}

/* Medium: source keeps 3 columns */
@media(max-width:66em){
	:root{--nmsct-header-offset:96px}
	.nmsct-container{
		padding-left:20px;
		padding-right:20px;
	}
	.nmsct-collection-main{
		--items-margin:1rem;
		padding-top:8px;
	}
	.nmsct-collection-layout{
		display:block;
	}
	.nmsct-collection-filters{
		position:fixed;
		z-index:10050;
		top:0;left:0;bottom:0;
		width:min(92vw,420px);
		margin:0;
		display:flex;
		flex-direction:column;
		background:#fff;
		transform:translateX(-100%);
		transition:transform 300ms cubic-bezier(.2,.75,.25,1);
		box-shadow:0 10px 35px rgba(0,0,0,.18);
	}
	.nmsct-collection-filters.is-open{
		transform:translateX(0);
	}
	.nmsct-filter-head{
		min-height:64px;
		display:flex;
		align-items:center;
		justify-content:space-between;
		padding:0 14px 0 20px;
		background:var(--nmsct-orange);
		color:#000;
		border-bottom:1px solid rgba(0,0,0,.13);
	}
	.nmsct-filter-title{
		font-family:inherit;
		font-size:24px;
		font-weight:700;
		text-transform:uppercase;
	}
	.nmsct-filter-close{
		width:44px;height:44px;
		display:flex;
		align-items:center;
		justify-content:center;
		border:0;
		background:transparent;
		color:#000;
		cursor:pointer;
	}
	.nmsct-filter-close svg{
		width:22px;height:22px;
		fill:none;
		stroke:currentColor;
		stroke-width:2.4;
	}
	.nmsct-filters-inner{
		position:static;
		top:auto;
		max-height:none;
		flex:1 1 auto;
		overflow-y:auto;
		padding:1.3em;
		border:0;
	}
	.nmsct-mobile-filter-overlay{
		position:fixed;
		z-index:10040;
		inset:0;
		display:block;
		background:rgba(0,0,0,.4);
		opacity:0;
		visibility:hidden;
		pointer-events:none;
		transition:opacity 250ms ease,visibility 0s linear 250ms;
	}
	.nmsct-mobile-filter-overlay.is-open{
		opacity:1;
		visibility:visible;
		pointer-events:auto;
		transition-delay:0s;
	}
	.nmsct-page-top-wrap{
		top:var(--nmsct-header-offset);
		padding:.75em 0;
	}
	.nmsct-collection-utils{
		justify-content:space-between;
	}
	.nmsct-mobile-filter-button-wrap{
		display:block;
		width:50%;
	}
	.nmsct-open-filters{
		width:100%;
		height:3.8rem;
		padding:0 1em;
		display:flex;
		align-items:center;
		justify-content:center;
		border:1px solid #bfc0bd;
		background:#fff;
		color:#242627;
		font-family:inherit;
	font-size:16px;
	font-weight:700;
	line-height:1;
		cursor:pointer;
	}
	.nmsct-showing{
		width:50%;
		text-align:center;
	}
	.nmsct-product-grid{
		--items-per-row:3;
		margin-left:-8px;
		margin-right:-8px;
	}
	.nmsct-product-card{
		padding-left:8px;
		padding-right:8px;
	}
	.nmsct-floating-action{
		position:absolute;
		right:8px;
		bottom:8px;
		left:8px;
		transform:none;
		opacity:1;
		margin:0;
	}
	.nmsct-card-action{
		width:100%;
		min-height:40px;
		box-shadow:0 3px 10px rgba(0,0,0,.12);
	}
	.nmsct-card-title{
		font-size:20px;
	}
}

/* Small mobile: source 2 columns */
@media(max-width:38em){
	.nmsct-container{
		padding-left:12px;
		padding-right:12px;
	}
	.nmsct-breadcrumb-wrapper{
		padding-top:1.5rem;
		padding-bottom:1.5rem;
	}
	.nmsct-product-grid{
		--items-per-row:2;
		margin-left:-5px;
		margin-right:-5px;
	}
	.nmsct-product-card{
		padding-left:5px;
		padding-right:5px;
		margin-bottom:2em;
	}
	.nmsct-card-info{
		padding-top:10px;
	}
	.nmsct-card-title{
		min-height:4.72em;
		font-size:15px;
		-webkit-line-clamp:4;
	}
	.nmsct-card-price{
		font-size:18px;
	}
	.nmsct-card-sku{
		font-size:10.5px;
	}
	.nmsct-sale-badge{
		top:7px;
		left:7px;
		padding:6px 7px 5px;
		font-size:10px;
	}
	.nmsct-card-action{
		padding-left:7px;
		padding-right:7px;
		font-size:10.5px;
	}
	.nmsct-mobile-filter-button-wrap{
		width:52%;
	}
	.nmsct-showing{
		width:48%;
		font-size:12px;
	}
	.nmsct-open-filters{
		height:52px;
		font-size:14px;
	}
	.nmsct-load-more-wrap{
		padding-top:28px;
	}
}

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


/* Newman-specific finish */
#nmsct-collection-page :focus-visible{
	outline:3px solid rgba(253,134,4,.48);
	outline-offset:3px;
}
.nmsct-filters-inner{
	border-radius:14px;
	box-shadow:0 12px 32px rgba(0,0,0,.045);
}
.nmsct-sort-select select,
.nmsct-open-filters{
	border-radius:10px;
}
.nmsct-apply-filters,
.nmsct-clear-filters,
.nmsct-load-more,
.nmsct-card-action{
	border-radius:9px;
}
.nmsct-apply-filters{background:var(--nmsct-orange);border-color:var(--nmsct-orange);color:#000;}
.nmsct-apply-filters:hover{background:var(--nmsct-orange-hover);border-color:var(--nmsct-orange-hover);}
.nmsct-clear-filters:hover{border-color:var(--nmsct-orange);color:var(--nmsct-orange);}
.nmsct-price-track span,
.nmsct-price-slider input[type="range"]::-webkit-slider-thumb,
.nmsct-price-slider input[type="range"]::-moz-range-thumb{background:var(--nmsct-orange);}
.nmsct-checkbox-row input:checked + .nmsct-checkbox{background:var(--nmsct-orange);border-color:var(--nmsct-orange);}
.nmsct-card-image-wrap{border-radius:12px;border:1px solid rgba(0,0,0,.055);}
.nmsct-product-card{min-width:0;}
.nmsct-card-title{font-weight:800;line-height:1.18;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:3.54em;}
.nmsct-card-price{font-weight:800;overflow-wrap:anywhere;}
.nmsct-card-action{background:var(--nmsct-black);}
.nmsct-card-action:hover{background:var(--nmsct-orange);color:#000!important;}
.nmsct-load-more{border-color:var(--nmsct-black);color:var(--nmsct-black)!important;}
.nmsct-load-more:hover{background:var(--nmsct-black);}
.nmsct-sale-badge{color:#000;border-radius:999px;}
.nmsct-page-top-wrap{background:rgba(255,255,255,.96);backdrop-filter:blur(7px);}
.nmsct-filter-head{background:var(--nmsct-orange);}
@media (hover:none), (pointer:coarse){
	.nmsct-product-card:hover .nmsct-card-image--main{opacity:1;transform:none;}
	.nmsct-product-card:hover .nmsct-card-image--hover{opacity:0;transform:scale(1.015);}
}
@media(max-width:38em){
	.nmsct-collection-heading h1{padding-bottom:10px;font-size:30px;}
	.nmsct-breadcrumb{font-size:12px;}
	.nmsct-card-title{font-size:15px;min-height:4.72em;-webkit-line-clamp:4;}
	.nmsct-card-price{font-size:16px;}
	.nmsct-card-action{min-height:38px;font-size:10px;}
}
