/* Product search — Delmonti brand interface. */
.js-live-search { position: relative; }
.site-header > .header-search { position: absolute; top: 100%; inset-inline: 0; }
.search-form__input::-webkit-search-cancel-button { display: none; }
.live-search { position: absolute; z-index: 1150; top: calc(100% + 10px); right: 0; width: min(420px, calc(100vw - 28px)); overflow: hidden; color: #171a2b; background: #fff; border: 1px solid #dfe2eb; border-radius: 16px; box-shadow: 0 22px 55px rgba(17, 25, 61, .16); }
.live-search[hidden] { display: none; }
.live-search__status { display: block; padding: 18px 20px; color: #656a7a; font-size: 13px; line-height: 1.7; }
.live-search__status:empty { display: none; }
.live-search__status.is-loading::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 9px; vertical-align: -2px; border: 2px solid #d9dcef; border-top-color: #1b2062; border-radius: 50%; animation: delmonti-search-spin .65s linear infinite; }
.live-search__list { display: grid; max-height: min(550px, 65vh); overflow-y: auto; overscroll-behavior: contain; }
.live-search__item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 13px; min-height: 78px; padding: 10px 12px; align-items: center; color: #171a2b; border-top: 1px solid #eef0f5; transition: background-color .18s ease; }
.live-search__item:hover, .live-search__item:focus-visible { color: #171a2b; background: #f3f4f9; outline: 0; }
.live-search__media { display: grid; width: 58px; height: 58px; overflow: hidden; place-items: center; color: #fff; background: #1b2062; border-radius: 10px; font: 800 20px/1 Georgia, serif; }
.live-search__media img { display: block; width: 100%; height: 100%; object-fit: contain; background: #f0f1f4; }
.live-search__copy { display: grid; min-width: 0; gap: 3px; text-align: right; }
.live-search__copy small { color: #73788a; font-size: 10px; }
.live-search__copy strong { overflow: hidden; color: #171a2b; font-size: 13px; font-weight: 700; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.live-search__copy b { color: #252b76; font-size: 10px; font-weight: 700; justify-self: end; }
.live-search__all { display: flex; min-height: 50px; padding: 12px 18px; align-items: center; justify-content: center; color: #fff; background: #1b2062; font-size: 12px; font-weight: 700; }
.live-search__all:hover { color: #fff; background: #252b76; }

.product-search { color: #161923; background: #f4f5f8; }
.product-search__container { width: min(calc(100% - 40px), 1280px); margin-inline: auto; }
.product-search__hero { padding: clamp(64px, 8vw, 108px) 0 clamp(54px, 7vw, 88px); color: #fff; background: #1b2062; background-image: radial-gradient(circle at 18% 16%, rgba(42, 165, 216, .17), transparent 31%), linear-gradient(135deg, transparent 55%, rgba(255, 255, 255, .035)); }
.product-search__hero .product-search__container { display: grid; justify-items: start; }
.product-search__eyebrow { margin: 0 0 11px; color: #73798b; font-size: 12px; font-weight: 700; }
.product-search__hero .product-search__eyebrow { color: #aeb5e8; }
.product-search__hero h1 { max-width: 780px; margin: 0; color: #fff; font-size: clamp(38px, 5vw, 66px); font-weight: 800; line-height: 1.18; letter-spacing: -.035em; }
.product-search__lead { margin: 18px 0 0; color: #d8daf0; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.8; }
.product-search__form { width: min(100%, 680px); margin-top: 34px; }
.product-search__form .search-form { max-width: none; margin: 0; }
.product-search__form .search-form__field { min-height: 60px; padding: 5px 7px 5px 18px; background: #fff; border: 0; border-radius: 12px; box-shadow: 0 16px 42px rgba(4, 7, 31, .24); }
.product-search__form .search-form__input { min-width: 0; color: #171a2b; font-size: 15px; }
.product-search__form .search-form__submit { min-height: 48px; padding-inline: 25px; background: #1b2062; border-radius: 9px; }
.product-search__results { min-height: 520px; padding: clamp(56px, 7vw, 92px) 0 100px; }
.product-search__heading { display: flex; margin-bottom: 34px; padding-bottom: 24px; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid #d9dce5; }
.product-search__heading h2 { margin: 0; color: #171923; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.3; }
.product-search__heading > span { flex: 0 0 auto; padding: 8px 13px; color: #333873; background: #e7e8f1; border-radius: 999px; font-size: 12px; font-weight: 700; }
.product-search__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-search-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; background: #fff; border: 1px solid #e0e2e8; border-radius: 14px; transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.product-search-card:hover { border-color: #c7cbe0; box-shadow: 0 18px 42px rgba(26, 32, 74, .09); transform: translateY(-3px); }
.product-search-card__media { display: block; aspect-ratio: 1; overflow: hidden; background: #eceef2; }
.product-search-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.product-search-card:hover .product-search-card__media img { transform: scale(1.025); }
.product-search-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255, 255, 255, .9); background: linear-gradient(145deg, #252b76, #141945); }
.product-search-card__placeholder b { font: 800 clamp(58px, 8vw, 94px)/1 Georgia, serif; opacity: .16; }
.product-search-card__copy { display: flex; min-height: 190px; padding: 23px 24px 21px; flex-direction: column; }
.product-search-card__category { margin: 0 0 8px; color: #717687; font-size: 11px; font-weight: 650; }
.product-search-card h3 { margin: 0; color: #171923; font-size: 17px; line-height: 1.75; }
.product-search-card h3 a { color: inherit; }
.product-search-card__footer { display: flex; margin-top: auto; padding-top: 22px; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #eceef2; }
.product-search-card__footer > span { color: #5f6473; font-size: 11px; font-weight: 700; }
.product-search-card__footer a { color: #1b2062; font-size: 12px; font-weight: 750; }
.product-search__empty { display: grid; max-width: 680px; margin: 0 auto; padding: 65px 30px; justify-items: center; text-align: center; background: #fff; border: 1px solid #e0e2e8; border-radius: 16px; }
.product-search__empty > span { display: grid; width: 72px; height: 72px; margin-bottom: 22px; place-items: center; color: #fff; background: #1b2062; border-radius: 18px; font: 800 30px/1 Georgia, serif; }
.product-search__empty h2 { margin: 0; font-size: 25px; }
.product-search__empty p { margin: 12px 0 25px; color: #686e7c; line-height: 1.8; }
.product-search__empty a { display: inline-flex; min-height: 46px; padding: 10px 20px; align-items: center; color: #fff; background: #1b2062; border-radius: 9px; font-size: 13px; font-weight: 700; }

@keyframes delmonti-search-spin { to { transform: rotate(1turn); } }
@media (max-width: 1100px) { .product-search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .product-search__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 833px) {
	.header-search { position: relative; z-index: 1250; padding: 12px; overflow: visible; background: #fff; border-top: 1px solid #eceef3; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 10px 24px rgba(19, 24, 58, .08); }
	.header-search .search-form { width: 100%; max-width: none; margin: 0; }
	.header-search .search-form__field { min-height: 52px; gap: 7px; padding: 4px 5px 4px 14px; background: #f7f8fa; border: 1px solid #d9dce5; border-radius: 12px; box-shadow: none; }
	.header-search .search-form__field:focus-within { border-color: #8d92bc; box-shadow: 0 0 0 3px rgba(27, 32, 98, .08); }
	.header-search .search-form__icon { width: 17px; height: 17px; color: #777c8c; }
	.header-search .search-form__input { min-width: 0; padding: 8px 4px; color: #171a27; font-size: 14px; }
	.header-search .search-form__submit { min-width: 82px; min-height: 42px; padding: 8px 16px; color: #fff; background: #1b2062; border-radius: 9px; font-size: 12px; font-weight: 700; }
	.header-search .search-form__submit:hover { color: #fff; background: #252b76; }
	.live-search { position: absolute; top: calc(100% + 8px); right: 0; left: auto; z-index: 1300; width: 100%; max-height: min(62dvh, 520px); border-color: #d9dce7; border-radius: 13px; box-shadow: 0 20px 46px rgba(14, 20, 55, .2); }
	.header-search .live-search { right: 0; width: 100%; }
	.live-search__list { max-height: min(54dvh, 450px); }
	.live-search__item { grid-template-columns: 52px minmax(0, 1fr); min-height: 70px; padding: 8px 10px; }
	.live-search__media { width: 52px; height: 52px; border-radius: 9px; }
	.live-search__copy strong { font-size: 12px; }
	.live-search__all { min-height: 48px; font-size: 11px; }
	.product-search__container { width: calc(100% - 24px); }
	.product-search__hero { padding: 48px 0 56px; }
	.product-search__hero h1 { font-size: 36px; }
	.product-search__form { margin-top: 27px; }
	.product-search__form .search-form__submit { width: 48px; padding: 0; font-size: 0; }
	.product-search__form .search-form__submit::after { content: '←'; font-size: 18px; }
	.product-search__results { padding: 48px 0 70px; }
	.product-search__heading { align-items: start; }
	.product-search__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.product-search-card { border-radius: 11px; }
	.product-search-card__copy { min-height: 155px; padding: 15px 13px 13px; }
	.product-search-card__category { margin-bottom: 5px; font-size: 9px; }
	.product-search-card h3 { font-size: 13px; line-height: 1.65; }
	.product-search-card__footer { padding-top: 13px; gap: 6px; }
	.product-search-card__footer > span { font-size: 9px; }
	.product-search-card__footer a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .live-search__status.is-loading::before { animation-duration: 1.5s; } .product-search-card, .product-search-card__media img { transition: none; } }
