/* Aquaworld-søk: søkevinduet (samme uttrykk som dagens Hello Retail-vindu). */
html.aw-sok-laast, html.aw-sok-laast body { overflow: hidden !important; }
.aw-sok { position: fixed; inset: 0; z-index: 2147483000; display: none; flex-direction: column; background: #eeeeee; color: #232324; font-size: 15px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
.aw-sok.is-apen { display: flex; }
.aw-sok *, .aw-sok *::before, .aw-sok *::after { box-sizing: border-box; }
.aw-sok__top { display: flex; align-items: center; gap: 12px; padding: 14px max(16px, calc((100vw - 1200px) / 2)); background: #fff; border-bottom: 1px solid #e3e3e3; }
.aw-sok__form { position: relative; flex: 1; max-width: 640px; margin: 0 auto; }
.aw-sok__ikon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #888; display: flex; }
.aw-sok .aw-sok__input { width: 100%; height: 46px; margin: 0; padding: 0 16px 0 44px; border: 2px solid #e1e1e1; border-radius: 23px; background: #f5f5f5; font-size: 16px; color: #232324; outline: none; box-shadow: none; }
.aw-sok .aw-sok__input:focus { border-color: #1985a1; background: #fff; }
.aw-sok__lukk { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #232324; box-shadow: 0 1px 6px rgba(0,0,0,.15); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.aw-sok__lukk:hover { background: #f3f3f3; color: #232324; }
.aw-sok__redir { padding: 10px max(16px, calc((100vw - 1200px) / 2)); background: #fffbe6; border-bottom: 1px solid #f0e2a0; }
.aw-sok__redir a { color: #1985a1; font-weight: 600; }
.aw-sok__tabs { display: none; }
.aw-sok__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; gap: 24px; align-items: flex-start; padding: 22px max(16px, calc((100vw - 1240px) / 2)) 40px; }
.aw-sok__kat { flex: 0 0 320px; position: sticky; top: 0; }
.aw-sok__kat h2 { font-size: 30px; font-weight: 600; margin: 0 0 18px; color: #232324; }
.aw-sok__kat ul { list-style: none; margin: 0; padding: 0; }
.aw-sok__kat li { margin: 0 0 12px; }
.aw-sok__kat a { display: block; padding: 14px 44px 14px 14px; background: #fff; color: #232324; text-decoration: none; position: relative; }
.aw-sok__kat a::after { content: "↗"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #555; font-size: 18px; }
.aw-sok__kat a:hover { box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.aw-kat__navn { display: block; font-size: 16px; }
.aw-kat__sti { display: block; font-size: 12px; color: #777; margin-top: 2px; }
.aw-kat__ingen { color: #777; font-size: 14px; }
.aw-sok__main { flex: 1; min-width: 0; }
.aw-sok__bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.aw-sok .aw-sok__bar select { flex: 0 1 198px; height: 42px; padding: 0 30px 0 14px; margin: 0; border: 0; border-radius: 0; background-color: #fff; color: #232324; font-size: 15px; text-align: center; cursor: pointer; }
.aw-sok__antall { margin: 6px 0 14px; font-size: 15px; color: #333; }
.aw-sok__tom { background: #fff; padding: 18px 20px; margin-bottom: 14px; }
.aw-sok__tom p { margin: 0 0 6px; }
.aw-sok__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.aw-kort { background: #fff; padding: 10px; display: flex; }
.aw-kort__boks { flex: 1; display: flex; flex-direction: column; background: #eaf3f5; border: 1px solid #c9e3ea; border-radius: 10px; padding: 20px 20px 22px; position: relative; }
.aw-kort__lenke { flex: 1; display: flex; flex-direction: column; text-decoration: none; color: #232324; }
.aw-sok .aw-kort__lenke:hover .aw-kort__navn { text-decoration: underline; }
.aw-kort__bilde { display: block; aspect-ratio: 1 / 1; margin-bottom: 16px; }
.aw-kort__bilde img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.aw-kort__pris { font-weight: 700; color: #1d3c45; margin-bottom: 14px; font-size: 15px; }
.aw-kort__pris del { color: #888; font-weight: 400; margin-right: 4px; }
.aw-kort__pris ins { text-decoration: none; color: #c0392b; }
.aw-kort__fra { font-weight: 400; }
.aw-kort__navn { font-size: 15px; letter-spacing: -.2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aw-kort__utsolgt { position: absolute; top: 12px; left: 12px; background: #6b6b6b; color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.aw-kort.er-utsolgt .aw-kort__bilde img { opacity: .55; }
.aw-kort__bunn { margin-top: 16px; }
.aw-sok a.aw-kort__knapp { display: block; max-width: 200px; padding: 8px 15px; background: #1985a1; color: #fff; border-radius: 3px; font-size: 14px; line-height: 20px; text-decoration: none; text-align: left; }
.aw-sok a.aw-kort__knapp:hover { background: #136b82; color: #fff; }
.aw-sok a.aw-kort__knapp.loading { opacity: .6; }
.aw-sok a.aw-kort__knapp.added::after { content: " ✓"; }
.aw-sok .added_to_cart { display: block; font-size: 13px; color: #1985a1; padding: 6px 0 0; }
.aw-sok__mer { text-align: center; margin-top: 20px; }
.aw-sok .aw-sok__merknapp { background: #1985a1; color: #fff; border: 0; border-radius: 6px; padding: 12px 22px; font-size: 15px; cursor: pointer; }
.aw-sok__alle { display: block; margin-top: 14px; color: #1985a1; }
/* Før kunden har skrevet noe. */
.aw-sok.er-start .aw-sok__bar, .aw-sok.er-start .aw-sok__kat, .aw-sok.er-start .aw-sok__tabs { display: none !important; }
.aw-sok__start h3 { font-size: 17px; font-weight: 600; color: #232324; margin: 4px 0 12px; }
.aw-sok__popul { margin-bottom: 22px; }
.aw-sok__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aw-sok a.aw-sok__chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: #fff; border: 1px solid #d9e6ea; border-radius: 999px; color: #1d3c45; font-size: 14px; text-decoration: none; }
.aw-sok a.aw-sok__chip::before { content: ""; width: 13px; height: 13px; background: currentColor; opacity: .45; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.aw-sok a.aw-sok__chip:hover { border-color: #1985a1; color: #1985a1; }
.aw-sok__grid--start { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.aw-sok.laster .aw-sok__grid { opacity: .6; transition: opacity .15s .15s; }

@media (max-width: 921px) {
	.aw-sok__top { padding: 10px 16px; gap: 8px; background: #fff; border-bottom: 0; }
	.aw-sok .aw-sok__input { height: 42px; border-radius: 10px; border-color: #eee; background: #eee; }
	.aw-sok__lukk { order: -1; width: 38px; height: 38px; border-radius: 8px; box-shadow: none; background: #eee; }
	.aw-sok__tabs { display: flex; margin-top: 4px; background: #fff; }
	.aw-sok__tabs button { flex: 1; padding: 14px 0; border: 0; background: #fff; color: #232324; font-size: 16px; text-decoration: underline; border-radius: 14px 14px 0 0; cursor: pointer; }
	.aw-sok__tabs button.is-aktiv { background: #eee; font-weight: 600; text-decoration: none; }
	.aw-sok__body { display: block; padding: 14px 16px 40px; }
	.aw-sok__kat { display: none; position: static; }
	.aw-sok.vis-kat .aw-sok__kat { display: block; }
	.aw-sok.vis-kat .aw-sok__main { display: none; }
	.aw-sok__kat h2 { display: none; }
	.aw-sok .aw-sok__bar select { flex: 1 1 30%; min-width: 0; font-size: 14px; padding: 0 22px 0 8px; }
	.aw-sok__antall { text-align: center; }
	.aw-sok__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.aw-kort { padding: 6px; border-radius: 12px; }
	.aw-kort__boks { padding: 14px 14px 16px; }
	.aw-kort__pris { margin-bottom: 8px; }
	.aw-kort__navn { font-weight: 600; font-size: 14px; }
	.aw-kort__bunn { margin-top: 10px; }
	.aw-sok__grid--start .aw-kort:nth-child(n+5) { display: none; }
	.aw-sok a.aw-kort__knapp { max-width: none; text-align: center; font-size: 13px; padding: 8px 6px; border-radius: 4px; }
}
