.ins-radar {
    --ir-dark: #0a3d34;
    --ir-line: #d3ded6;
    --ir-muted: #4d6358;
    display: grid;
    gap: 1rem;
    min-width: 0;
}
.ir-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 17px;
    padding: clamp(1rem, 1.8vw, 1.6rem) clamp(1.2rem, 3.3vw, 3.2rem);
    background: var(--ir-dark);
    color: #f6fbf6;
}
.ir-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 0 38%;
    background: linear-gradient(90deg, var(--ir-dark), transparent 48%), url("aotearoa.svg") right center / auto 110% no-repeat;
    opacity: .82;
}
.ir-hero > div { max-width: 43rem; }
.ins-radar .ir-hero h1 { color: #fafdf9; font-size: clamp(2.35rem, 4.2vw, 3.75rem); line-height: 1; letter-spacing: -.064em; }
.ir-hero p { margin: .45rem 0 .65rem; color: #e4f0e6; max-width: 57ch; font-size: clamp(.95rem, 1.3vw, 1.025rem); }
.ir-hero-links, .ir-tools, .ir-tools > div, .ir-results-heading, .ir-source-line, .ir-report, .ir-paging { display: flex; align-items: center; }
.ir-hero-links { flex-wrap: wrap; gap: .45rem 1.2rem; }
.ins-radar .ir-hero-links a { color: #e0f5c7; font-size: .85rem; font-weight: 650; text-decoration: underline; text-decoration-color: #8cae93; text-underline-offset: .22em; padding: .2rem 0; }
.ir-filters { min-width: 0; margin: 0; border: 1px solid var(--ir-line); border-radius: 14px; background: #fff; overflow: hidden; }
.ir-primary { display: grid; grid-template-columns: minmax(12rem, 2.1fr) repeat(2, minmax(8rem, 1fr)) auto; gap: .75rem; align-items: end; padding: 1rem 1.1rem; }
.ir-field { display: grid; gap: .3rem; min-width: 0; }
.ir-field > span { color: #324c40; font-size: .79rem; font-weight: 680; }
.ir-field :is(input, select) { min-width: 0; width: 100%; height: 44px; font-size: .93rem; border-color: #a9bcb0; color: #152f25; }
.ins-app .ir-apply { min-height: 44px; border-radius: 8px; padding: .6rem 1.1rem; background: #145f47; color: #fff; font-size: .92rem; font-weight: 650; }
.ins-app .ir-apply:hover { background: #0d4a38; }
.ir-advanced { border-top: 1px solid #e0e8e1; }
.ir-advanced > summary { cursor: pointer; padding: .75rem 1.1rem; width: fit-content; color: #22583e; font-weight: 630; font-size: .86rem; }
.ir-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; padding: 0 1.1rem 1rem; }
.ir-tools { justify-content: space-between; flex-wrap: wrap; gap: .55rem; }
.ir-tools > div { gap: .85rem; flex-wrap: wrap; }
.ins-radar .ir-shortcut { display: inline-flex; align-items: center; min-height: 38px; padding: .35rem .85rem; border: 1px solid #8fb397; background: #e9f2e2; border-radius: 30px; color: #215638; font-size: .87rem; font-weight: 650; }
.ins-radar .ir-shortcut::before { content: ""; width: .46rem; height: .46rem; border-radius: 50%; background: #2c8148; margin-right: .45rem; }
.ir-reset, .ir-empty a, .ir-paging a, .ir-merchant, .ir-more summary { color: #245f47!important; text-underline-offset: .18em; font-weight: 650; font-size: .84rem; }
.ins-radar .ir-reset, .ins-radar .ir-empty a, .ins-radar .ir-paging a { text-decoration: underline; }
#ir-refresh-status { color: var(--ir-muted); font-size: .78rem; }
#ir-refresh-status:empty { display: none; }
.ir-results-heading { justify-content: space-between; gap: .75rem; margin: .15rem 0 .8rem; }
.ins-radar .ir-results-heading h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: -.045em; }
.ir-results-heading > span { color: var(--ir-muted); font-size: .86rem; font-variant-numeric: tabular-nums; }
.ir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); align-items: start; gap: 1rem; }
.ir-product { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--ir-line); background: #fff; }
.ir-photo { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; overflow: hidden; width: 100%; height: clamp(8.5rem, 11vw, 10rem); padding: .72rem 1.25rem; border-bottom: 1px solid #e5ebe4; background: #f9faf7; }
/* Elementor sets a global automatic image height. Keep each complete pack within its card's photo area. */
.ins-app .ir-product .ir-photo > img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.ir-no-photo { color: #648071; font-size: .78rem; background: #f2f5ef; }
.ir-product-body { min-width: 0; padding: .95rem 1rem .8rem; }
.ir-category { color: #46714d; font-size: .74rem; font-weight: 690; letter-spacing: .035em; }
.ins-radar .ir-product h3 { margin: .15rem 0 .8rem; font-size: clamp(1rem, 1.2vw, 1.16rem); line-height: 1.32; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ir-offer { border-top: 1px solid #e1e8df; padding: .7rem 0; }
.ir-source-line { justify-content: space-between; gap: .5rem; }
.ir-place { font-size: .87rem; font-weight: 670; overflow-wrap: anywhere; }
.ir-price { font-size: .94rem; font-weight: 710; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ir-channel { font-size: .78rem; color: var(--ir-muted); }
.ir-report { gap: .4rem .55rem; flex-wrap: wrap; margin: .5rem 0 .35rem; }
.ir-state { border-radius: 5px; padding: .2rem .46rem; font-size: .75rem; line-height: 1.35; font-weight: 680; }
.ir-state-yes { background: #dff0d7; color: #22562d; }
.ir-state-no { background: #f4e8e3; color: #7b3f2e; }
.ir-state-quiet { background: #eef0ed; color: #45574a; }
.ir-qty { color: #2e4534; font-size: .79rem; }
.ir-observed { color: #52635b; font-size: .74rem; line-height: 1.48; }
.ir-older { display: inline-block; margin-left: .3rem; color: #824d1d; }
.ir-merchant { display: inline-block; padding: .35rem 0 .1rem; }
.ir-more { margin-bottom: .5rem; }
.ir-more summary { cursor: pointer; min-height: 30px; align-content: center; }
.ins-radar .ir-details { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: .4rem; border-top: 1px solid var(--ir-line); padding: .6rem 0 .1rem; font-size: .84rem; color: #1a6045; font-weight: 670; }
.ir-details > span, .ir-merchant > span { font-size: 1.05em; }
.ir-empty { border: 1px dashed #aabeb0; border-radius: 13px; padding: 1.35rem; background: #fcfdfb; }
.ir-empty p { margin: .4rem 0 .65rem; color: var(--ir-muted); }
.ir-paging { justify-content: center; gap: 1.2rem; margin-top: 1.25rem; font-size: .86rem; }
@media (max-width: 980px) {
    .ir-primary { grid-template-columns: minmax(9rem, 1.5fr) minmax(7rem, 1fr) minmax(7rem, 1fr); }
    .ir-primary .ir-apply { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 650px) {
    .ins-radar { gap: .8rem; }
    .ir-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding: .85rem; }
    .ir-query, .ir-primary .ir-apply { grid-column: 1 / -1; }
    .ir-primary .ir-apply { justify-self: stretch; }
    .ir-advanced > summary { padding: .72rem .85rem; }
    .ir-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 .85rem .9rem; }
    .ir-hero::before { inset-inline-start: 26%; opacity: .36; }
    .ir-hero-links { column-gap: .9rem; }
    .ir-hero p { max-width: 29ch; }
    .ir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .ir-product-body { padding: .7rem; }
    .ir-photo { padding: .65rem; height: 8.5rem; }
    .ir-hero-links a, .ir-tools a, .ir-details, .ir-merchant, .ir-more summary { min-height: 40px; align-content: center; }
}
@media (max-width: 510px) {
    .ir-grid { grid-template-columns: minmax(0, 1fr); }
    .ir-product { display: grid; grid-template-columns: 6rem minmax(0, 1fr); align-items: start; }
    .ir-photo { margin-top: .8rem; height: 6.5rem; background: #fff; border: 0; padding: .35rem .25rem .35rem .6rem; }
    .ir-no-photo { text-align: center; }
    .ir-product-body { padding: .85rem .85rem .65rem .5rem; }
    .ir-product h3 { margin-bottom: .5rem; }
    .ir-hero p { margin-bottom: .5rem; }
}
@media (max-width: 360px) {
    .ir-extra { grid-template-columns: minmax(0, 1fr); }
    .ir-hero-links { column-gap: .6rem; }
    .ir-product { grid-template-columns: 4.5rem minmax(0, 1fr); }
}
