/* Search: header bar, live dropdown, phone sheet and the grouped results page. Flat, hairlines, the site's deep cyan. */
:root { --rn-s-ink: #12302E; --rn-s-text: #4A5F5D; --rn-s-hair: #D5E9EC; --rn-s-cy: #007E93; --rn-s-soft: #EEF8FA; }

/* Header bar: a clean white pill, the icon button sits inside with even padding. */
.rn-header .wp-block-search { position: relative; width: 300px; margin: 0; }
.rn-header .wp-block-search__inside-wrapper:not(#rn-flat) { width: 100% !important; height: 48px; box-sizing: border-box; display: flex; align-items: center; padding: 4px 4px 4px 20px !important; border: 0 !important; border-radius: 999px !important; background: #fff !important; box-shadow: none !important; }
.rn-header .wp-block-search__input:not(#rn-flat) { flex: 1; min-width: 0; height: 40px; margin: 0; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--rn-s-ink); font: inherit; font-size: 15px; font-weight: 400; outline: none; box-shadow: none !important; }
.rn-header .wp-block-search__input::placeholder { color: #6B7F7D; }
.rn-header .wp-block-search__inside-wrapper:focus-within { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 2px; }
.rn-header .wp-block-search__button:not(#rn-flat) { flex: none; width: 40px !important; height: 40px !important; margin: 0 !important; padding: 0 !important; display: grid !important; place-items: center; border: 0 !important; border-radius: 50% !important; background: var(--rn-s-cy) !important; color: #fff !important; box-shadow: none !important; }
.rn-header .wp-block-search__button:not(#rn-flat):hover { background: #006B7D !important; }
.rn-header .wp-block-search__button svg { width: 18px; height: 18px; fill: currentColor; }

/* Live dropdown. */
.rn-live { position: absolute; z-index: 90; top: calc(100% + 10px); right: 0; width: min(440px, 92vw); max-height: min(70vh, 560px); overflow: auto; box-sizing: border-box; padding: 8px; border: 1px solid var(--rn-s-hair); border-radius: 20px; background: #fff; color: var(--rn-s-text); text-align: left; box-shadow: 0 30px 60px -30px rgba(0, 60, 70, .45); font-size: 15px; line-height: 1.4; }
.rn-live__label { margin: 8px 10px 4px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rn-s-cy); }
.rn-live__list { list-style: none; margin: 0; padding: 0; }
.rn-live__list a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; color: inherit; text-decoration: none; }
.rn-live__list a:hover, .rn-live__list a.is-active, .rn-live__all.is-active, .rn-live__all:hover { background: var(--rn-s-soft); }
.rn-live__img { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--rn-tint, #DDF3F5); overflow: hidden; }
.rn-live__img img { width: 40px; height: 40px; object-fit: contain; }
.rn-live__text { display: grid; gap: 1px; min-width: 0; }
.rn-live__name { color: var(--rn-s-ink); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn-live__name mark { background: none; color: var(--rn-s-cy); font-weight: 600; }
.rn-live__meta { font-size: 13px; color: #5B6F6D; }
.rn-live__list--pages a { padding-block: 9px; }
.rn-live__list--pages a::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; color: var(--rn-s-cy); -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' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M9 12h7M9 16h5'/%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' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M9 12h7M9 16h5'/%3E%3C/svg%3E") center / contain no-repeat; }
.rn-live__all { display: block; margin-top: 6px; padding: 12px 10px; border-top: 1px solid var(--rn-s-hair); border-radius: 0 0 12px 12px; color: var(--rn-s-cy); font-weight: 500; text-decoration: none; }
.rn-live__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 10px 10px; }
.rn-live__chips a, .rn-sr__chips a { padding: 7px 14px; border-radius: 999px; background: var(--rn-s-soft); color: var(--rn-s-cy); font-weight: 500; font-size: 14px; text-decoration: none; }
.rn-live__chips a:hover, .rn-live__chips a.is-active, .rn-sr__chips a:hover { background: #D9F1F4; }
.rn-live__none { margin: 10px; }

/* Phone search sheet: flat, roomy, results under the field. */
.rn-search-sheet__panel:not(#rn-flat) { padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px)) !important; border-radius: 26px 26px 0 0 !important; box-shadow: none !important; }
.rn-search-sheet__label:not(#rn-flat) { font-size: 1.5rem !important; font-weight: 300 !important; letter-spacing: -.02em; color: var(--rn-s-ink) !important; }
.rn-search-sheet__row:not(#rn-flat) { display: flex; align-items: center; height: 54px; padding: 4px 4px 4px 18px; border-radius: 999px; background: var(--rn-s-soft) !important; box-shadow: none !important; border: 0 !important; }
.rn-search-sheet__row input:not(#rn-flat) { flex: 1; min-width: 0; height: 46px; border: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 16px; color: var(--rn-s-ink); outline: none; padding: 0 !important; }
.rn-search-sheet__row button:not(#rn-flat) { width: 46px !important; height: 46px !important; background: var(--rn-s-cy) !important; }
.rn-search-sheet__panel .rn-live { position: static; width: auto; max-height: 52vh; margin-top: 10px; padding: 0; border: 0; box-shadow: none; }
.rn-search-sheet__panel.is-live .rn-search-sheet__chips { display: none; }
.rn-search-sheet__close:not(#rn-flat) { color: var(--rn-s-cy) !important; font-weight: 500; }

/* Results page. */
.rn-sr { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.rn-sr__form { position: relative; display: flex; align-items: center; max-width: 640px; height: 60px; box-sizing: border-box; padding: 6px 6px 6px 24px; border: 1px solid var(--rn-s-hair); border-radius: 999px; background: #fff; }
.rn-sr__form:focus-within { border-color: var(--rn-s-cy); }
.rn-sr__form input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font: inherit; font-size: 18px; font-weight: 300; color: var(--rn-s-ink); outline: none; }
.rn-sr__go { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--rn-s-cy); color: #fff; cursor: pointer; }
.rn-sr__go:hover { background: #006B7D; }
.rn-sr__form .rn-live { left: 0; right: auto; width: 100%; }
.rn-sr__summary { margin: 1.25rem 0 0; color: var(--rn-s-text); }
.rn-sr__summary span { display: block; font-size: 14px; color: #5B6F6D; }
.rn-sr__group { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid var(--rn-s-hair); }
.rn-sr__heading:not(#rn-flat) { margin: 0 0 1.25rem; font-size: 13px !important; font-weight: 500 !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--rn-s-cy) !important; }
.rn-sr__heading span { margin-left: .4rem; color: #5B6F6D; letter-spacing: 0; }
.rn-sr__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.rn-sr__card { display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--rn-s-hair); border-radius: 22px; background: #fff; }
.rn-sr__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: var(--rn-tint, #DDF3F5); }
.rn-sr__img img { width: 72%; height: auto; transition: transform .3s ease; }
.rn-sr__card:hover .rn-sr__img img { transform: translateY(-4px); }
.rn-sr__body { display: flex; flex: 1; flex-direction: column; padding: 14px 8px 6px; }
.rn-sr__cat { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rn-s-cy); }
.rn-sr__name { margin: .35rem 0 0; font-size: 1.125rem !important; font-weight: 400 !important; line-height: 1.3; }
.rn-sr__name a { color: var(--rn-s-ink); text-decoration: none; }
.rn-sr__name a:hover { color: var(--rn-s-cy); }
.rn-sr__price { margin: .4rem 0 0; color: var(--rn-s-ink); font-weight: 500; }
.rn-sr__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.rn-sr__actions .rn-btn { padding: .6rem .8rem; font-size: 15px; }
.rn-sr__group--best .rn-sr__grid { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
.rn-sr__group--best .rn-sr__card { flex-direction: row; gap: 1rem; align-items: center; }
.rn-sr__group--best .rn-sr__img { flex: none; width: 11rem; }
.rn-sr__pages { margin: 0; padding: 0; list-style: none; }
.rn-sr__pages a { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--rn-s-hair); color: inherit; text-decoration: none; }
.rn-sr__pages strong { color: var(--rn-s-ink); font-weight: 500; font-size: 1.0625rem; }
.rn-sr__pages a:hover strong { color: var(--rn-s-cy); }
.rn-sr__pages span { font-size: 15px; font-weight: 300; }
.rn-sr__empty h2 { margin-top: 2.5rem; }
.rn-sr__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 600px) {
	.rn-sr__grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
	.rn-sr__card { padding: 6px; border-radius: 18px; }
	.rn-sr__actions { grid-template-columns: 1fr; }
	.rn-sr__group--best .rn-sr__card { flex-direction: column; align-items: stretch; }
	.rn-sr__group--best .rn-sr__img { width: auto; }
}
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.rn-search-sheet__panel:not(#rn-flat) { position: relative; }
.rn-search-sheet__close:not(#rn-flat) { position: absolute; top: 18px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--rn-s-soft); font-size: 0 !important; text-decoration: none; }
.rn-search-sheet__close:not(#rn-flat)::before { content: "\00D7"; font-size: 26px; line-height: 1; color: var(--rn-s-cy); }
.rn-search-sheet__label:not(#rn-flat) { padding-right: 48px; }
.rn-search-sheet__label:not(#rn-flat) { font-size: 1.25rem !important; }
