/* Predictive search pop-up (matches the approved design) */
#search-modal .ct-search-results { display: none !important; }
#search-modal .ct-panel-content { justify-content: flex-start !important; padding-top: 96px !important; overflow-y: auto; }
.cc-ps { max-width: 650px; width: 100%; margin: 0 auto; padding: 0 0 48px; position: relative; min-height: 8px; }
.cc-ps.is-loading::after { content: ""; position: absolute; left: 50%; top: 40px; width: 26px; height: 26px; margin-left: -13px; border: 3px solid #ccc; border-top-color: #161616; border-radius: 50%; animation: cc-ps-spin .8s linear infinite; }
.cc-ps.is-loading > * { opacity: .35; }
@keyframes cc-ps-spin { to { transform: rotate(360deg); } }
.cc-ps__sug { margin: 18px 0 34px; font-size: 17px; line-height: 1.5; color: #161616; }
.cc-ps__sug-label { text-transform: uppercase; font-size: 13px; margin-right: 10px; }
.cc-ps__sug a { color: #161616; text-decoration: none; }
.cc-ps__sug a:hover { text-decoration: underline; }
.cc-ps__sug strong, .cc-ps__title strong { font-weight: 700; }
.cc-ps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.cc-ps__grid li { margin: 0; padding: 0; }
.cc-ps__grid a { display: flex; gap: 20px; align-items: flex-start; text-decoration: none; color: #161616; }
.cc-ps__grid img { width: 75px; height: auto; flex: 0 0 75px; border-radius: 0; display: block; }
.cc-ps__txt { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cc-ps__title { font-size: 17px; line-height: 1.45; text-transform: uppercase; letter-spacing: .01em; color: #161616; }
.cc-ps__price { font-size: 15px; color: #555; }
.cc-ps__all { display: block; width: max-content; margin: 44px auto 0; padding: 12px 30px; border: 1px solid #161616; color: #161616; text-decoration: none; font-size: 15px; background: #fff; }
.cc-ps__all:hover { background: #161616; color: #fff; }
.cc-ps__none { font-size: 16px; color: #555; margin: 24px 0; }
@media (max-width: 689px) {
	#search-modal .ct-panel-content { padding-top: 84px !important; }
	.cc-ps__grid { grid-template-columns: 1fr; gap: 20px; }
	.cc-ps__grid img { width: 64px; flex-basis: 64px; }
	.cc-ps__title { font-size: 15px; }
	.cc-ps__price { font-size: 13px; }
	.cc-ps__sug { font-size: 15px; margin: 14px 0 24px; }
	.cc-ps { padding-inline: 4px; }
}

/* One 650px column: input, suggestions and results all line up */
#search-modal .ct-search-form { max-width: 650px !important; position: relative; padding: 0 !important; }
#search-modal .ct-search-form input[type="search"] { font-size: 40px !important; padding-right: 56px !important; }
#search-modal .ct-search-form button[type="submit"] { display: none !important; }
.cc-ps__clear { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: none; place-items: center; background: none; border: 0; padding: 0; color: #36599a; cursor: pointer; }
.cc-has-value .cc-ps__clear { display: grid; }
.cc-ps__clear:hover { color: #1f3b73; }
@media (max-width: 689px) { #search-modal .ct-search-form input[type="search"] { font-size: 30px !important; } }

/* ===== Search results page ===== */
body.cc-search-page .hero-section,
body.cc-search-page .ct-breadcrumbs,
body.cc-search-page .woocommerce-breadcrumb { display: none !important; }
.cc-s-head { box-sizing: border-box; width: var(--theme-container-width, calc(100% - 40px)); max-width: var(--theme-normal-container-max-width, 1290px); margin: 0 auto; padding: 28px 0 0; }
.cc-s-crumbs { font-size: 12px; color: #555; display: flex; gap: 8px; align-items: center; }
.cc-s-crumbs a { color: #161616; text-decoration: none; }
.cc-s-crumbs a:hover { text-decoration: underline; }
.cc-s-title { font-size: 30px !important; font-weight: 400 !important; line-height: 1.2; text-transform: none !important; letter-spacing: 0 !important; color: #161616 !important; margin: 22px 0 10px !important; }
.cc-s-sub { font-size: 14px; color: #555; margin: 0 0 30px; }
.cc-s-form { display: flex; align-items: center; width: min(100%, 410px); height: 46px; border: 1px solid #161616; border-radius: 999px; padding: 0 8px 0 22px; margin: 0 0 44px; background: #fff; }
.cc-s-form input[type="search"] { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; height: 44px; padding: 0 !important; font-size: 15px; color: #161616; outline: 0; }
.cc-s-form button { background: none; border: 0; color: #161616; padding: 8px 12px; cursor: pointer; line-height: 0; }
.cc-s-form:focus-within { box-shadow: 0 0 0 1px #161616; }
body.cc-search-page [data-products] .product img, body.cc-search-page [data-products] .product .ct-media-container, body.cc-search-page [data-products] .product figure { border-radius: 0 !important; }
@media (max-width: 689px) {
	.cc-s-head { padding-top: 18px; }
	.cc-s-title { font-size: 26px !important; margin-top: 16px !important; }
	.cc-s-form { width: 100%; }
}

