.fps-no-scroll {
	overflow: hidden;
}

.fps-widget {
	position: relative;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.fps-trigger {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #fff;
	padding: 0;
}

.fps-trigger:hover,
.fps-trigger:focus,
.fps-trigger:active {
	background: transparent !important;
	outline: none;
	color: #fff;
}

.fps-trigger .fps-trigger-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.fps-trigger svg {
	fill: none;
	stroke: #fff;
	color: #fff;
}

.fps-trigger svg path {
	stroke: #fff;
	fill: none;
}

.fps-overlay {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.85);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
	z-index: 9998;
}

.fps-overlay.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.fps-popup {
	position: fixed;
	left: 0;
	width: 100%;
	top: 0;
	display: none;
	background: transparent;
	z-index: 9999;
}

.fps-popup-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 20px 32px;
    background: #fff;
    box-shadow: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-height: 100vh;
	overflow-y: auto;
}

/* Constrain search input and results to 1200px and center */
.fps-popup-inner .fps-input-wrap,
.fps-popup-inner .fps-results {
	max-width: 51.875rem;
	margin-left: auto;
	margin-right: auto;
}

.fps-close {
	position: absolute;
    right: 16px;
    top: 40px;
    border: 1px solid #626262;
    border-radius: 50% !important;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    color: inherit;
    transition: none;
    aspect-ratio: 1;
    padding: 12px 16px;
}

.fps-close:hover,
.fps-close:focus,
.fps-close:active {
	background: transparent !important;
	outline: none;
	color: inherit;
	opacity: 1;
	transform: none;
	transition: none;
}

.fps-input-wrap {
	margin-top: 3rem; /* gap from top */
}

.fps-popup-inner .fps-input {
	width: 100%;
	margin: 0;
	padding: 1em;
	height: 3.5em;
	line-height: 3.5em;
	border: 0; /* reset */
	border-bottom: 1px solid #e2e2e2; /* only bottom border */
	border-top: none;
	border-left: none;
	border-right: none;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	font-size: 1.5rem;
	outline: none;
}

.fps-popup-inner .fps-input:focus,
.fps-popup-inner .fps-input:focus-visible,
.fps-popup-inner .fps-input:active,
.fps-popup-inner .fps-input:hover {
	border-bottom-color: #0073aa;
	box-shadow: none;
	border-top: none;
	border-left: none;
	border-right: none;
}

/* Ensure WebKit autofill doesn't add unwanted borders/backgrounds */
.fps-popup-inner .fps-input:-webkit-autofill,
.fps-popup-inner .fps-input:-webkit-autofill:hover,
.fps-popup-inner .fps-input:-webkit-autofill:focus {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #e2e2e2;
	-webkit-box-shadow: 0 0 0px 1000px #fff inset;
	box-shadow: none;
	background: none;
	-webkit-text-fill-color: inherit;
}

.fps-results {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-height: calc(100vh - 260px); /* viewport minus header/input paddings */
    /*overflow-y: auto;*/ /* scrollbar only when needed */
    padding-right: 0;
    overscroll-behavior: contain;
}

/* Product card design */
.fps-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.06);
    overflow: visible; /* allow outer shadow pseudo to be visible */
}
.fps-product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(0,0,0,.14);
    z-index: -1; /* render outside the container */
    pointer-events: none;
}
.fps-pc-thumb {
	display: block;
	width: 100%;
	height: 240px;
	overflow: hidden;
	border-radius: 16px 16px 0 0; /* match card top corners */
}
.fps-pc-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.fps-pc-body {
	padding: 16px; /* no CTA, normal padding */
}
.fps-pc-title {
	margin: 0 0 8px 0;
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 700;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.fps-pc-title a { color: inherit; text-decoration: none; }

.fps-pc-cats {
	font-size: .72rem;
	letter-spacing: .02em;
	color: #8a8a8a;
	margin-bottom: 10px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.fps-pc-attr {
	font-size: .9rem;
	color: #222;
}

.fps-pc-footer { display: none; }
.fps-pc-rating { display: none; }
.fps-rating-star { color: #FFC107; font-size: 1rem; line-height: 1; }
.fps-rating-num { color: #202020; font-weight: 600; font-size: .95rem; }

.fps-pc-cta,
.fps-pc-cta:hover,
.fps-pc-cta-text,
.fps-pc-cta-icon { display: none !important; }
.fps-pc-cta-icon svg { display: block; width: 20px; height: 20px; }

@media (max-width: 1024px){
	.fps-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
	.fps-results { grid-template-columns: 1fr; }
	.fps-popup-inner { padding: 18px 14px 24px; }
}

.fps-result a {
	text-decoration: none;
	color: inherit;
}

.fps-no-results {
	color: #666;
	font-size: 14px;
}

.fps-widget.is-loading .fps-results::before {
	content: 'Searching...';
	display: block;
	color: #666;
}

body .fps-widget{
	background-color: #E93137FA;
    padding: 4px 08px 4px 08px;
    border-radius: 50px 50px 50px 50px;
}
.fps-pc-excerpt {
    font-size: 14px;
}