/* «Отзывы о магазине» (store-reviews.html) and the rating page of an order «Как вам заказ №N?» (store-review.html).
   Own colours of the site (--ng-*), own star files; no outside fonts or widgets. */
.store-reviews-page, .store-review-page { min-width: 20rem; margin: 0; background: var(--ng-page,#fff); color: var(--ng-text-body,#333); font-family: var(--locale-font, 'NatGard Lato'), Lato, Arial, Helvetica, sans-serif; }
.sr, .sr *, .sr *::before, .sr *::after, .srf, .srf *, .srf *::before, .srf *::after { box-sizing: border-box; }
.sr, .srf { width: min(67.5rem, calc(100% - 4rem)); margin: 0 auto; padding-bottom: 3rem; font-size: 1rem; line-height: 1.5rem; }
.sr :where(h1, h2, h3, p, ul, ol, dl, dd, figure), .srf :where(h1, h2, h3, p, ul, ol, fieldset) { margin: 0; }
.sr :is(h1, h2, h3), .srf :is(h1, h2, h3) { color: var(--ng-text-heading,#191919); font-weight: 700; }
.sr a, .srf a { color: var(--ng-link,#126cc5); text-underline-offset: .125rem; }
.sr a:hover, .srf a:hover { color: var(--ng-link-hover,#0f5ca7); }
.sr :is(a, button, input, textarea, summary):focus-visible, .srf :is(a, button, input, textarea, select):focus-visible, .srf .srf-star input:focus-visible + span { outline: .125rem solid var(--ng-focus,#126cc5); outline-offset: .1875rem; border-radius: .25rem; }
.sr-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-muted { color: var(--ng-muted,#666); }
.sr-stars { display: inline-flex; align-items: center; gap: .0625rem; vertical-align: middle; }
.sr-stars img { display: block; flex: none; }

/* Top (owner, 16.11.2026, «What our customers say»): the score card left, the title and Yandex right. */
.sr-hero { display: grid; grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); gap: 1.75rem 4rem; align-items: stretch; padding: 3rem 0 2.25rem; }
/* The title column and the score card are one height (owner, 16.11.2026); Yandex is a strip under both. */
.sr-hero__intro { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: center; }
.sr-scorecard { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 1.75rem 2rem 1.5rem; border-top: .375rem solid var(--ng-primary,#458500); border-radius: .75rem; background: var(--ng-surface-white,#fff); box-shadow: 0 .375rem 1.5rem rgb(0 0 0 / 9%), 0 0 0 .0625rem rgb(0 0 0 / 4%); }
.sr-kicker { color: var(--ng-primary,#458500); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sr-hero h1 { margin-top: .5rem; color: var(--ng-text-heading,#191919); font-size: 2.75rem; line-height: 3.25rem; letter-spacing: -.01em; }
.sr-lead { max-width: 38rem; margin-top: 1rem !important; color: var(--ng-text-body,#333); font-size: 1.1875rem; line-height: 1.75rem; }
.sr-rules { max-width: 38rem; margin-top: .75rem !important; color: var(--ng-muted,#666); font-size: .9375rem; line-height: 1.4375rem; }
.sr-scorecard__head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: .0625rem solid var(--ng-border-light,#e3e6e1); }
.sr-score__value { display: flex; flex-direction: column; align-items: center; gap: 0; }
.sr-score__value b { color: var(--ng-text-heading,#191919); font-size: 3.5rem; line-height: 3.5rem; font-weight: 700; }
.sr-score__value span { color: var(--ng-muted,#666); font-size: .875rem; }
.sr-stars--big { margin-top: 0; }
.sr-score__count { margin-top: .375rem; font-size: .9375rem; line-height: 1.375rem; }
.sr-score__count b { color: var(--ng-primary-strong,#2c7500); }
.sr-bars { margin-top: 1rem !important; padding: 0; list-style: none; }
.sr-aspects ul { padding: 0; list-style: none; }
.sr-bars li + li { margin-top: .25rem; }
.sr-bar { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr) 3.5rem; align-items: center; gap: .75rem; padding: .25rem .375rem; border-radius: .375rem; color: inherit !important; text-decoration: none; }
.sr-bar:hover { background: var(--ng-surface,#f7f8f7); }
.sr-bar.is-active { background: var(--ng-primary-tint,#edf5e4); box-shadow: inset 0 0 0 .0625rem var(--ng-primary,#458500); }
.sr-bar__label { color: var(--ng-text-body,#333); font-size: .9375rem; white-space: nowrap; }
.sr-bar__track, .sr-aspects__track { height: .625rem; overflow: hidden; border-radius: 999px; background: var(--ng-border-light,#e9ebe7); }
.sr-bar__fill { display: block; height: 100%; min-width: .375rem; border-radius: inherit; background: linear-gradient(90deg, #f7c548, #f3a91f); }
.sr-bar__fill[style*="width: 0%"] { min-width: 0; }
.sr-aspects__track span { display: block; height: 100%; border-radius: inherit; background: var(--ng-primary,#458500); }
.sr-bar__count { color: var(--ng-text-body,#333); font-size: .9375rem; text-align: right; font-variant-numeric: tabular-nums; }
.sr-aspects { margin-top: 1.25rem; padding-top: 1rem; border-top: .0625rem solid var(--ng-border-light,#e3e6e1); }
.sr-aspects h3 { font-size: 1rem; line-height: 1.5rem; }
.sr-aspects ul { margin-top: .5rem; }
.sr-aspects li { display: grid; grid-template-columns: 7.5rem minmax(3rem, 1fr); gap: .125rem .75rem; align-items: center; }
.sr-aspects li + li { margin-top: .5rem; }
.sr-aspects__value { grid-column: 2; color: var(--ng-text-body,#333); font-size: .875rem; line-height: 1.25rem; }
/* Yandex: the independent rating as a card — the word «Yandex» with its red Y (letters, not Yandex's logo), stars, count, link. */

/* Yandex: a warm strip under the title and the score card — the word «Yandex» on a white tile (letters, not the logo), the score
   with stars, a short line on what the rating is, and a button to Yandex's reviews. */
.sr .sr-yandex { grid-column: 1 / -1; grid-row: 2; position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; width: 100%; padding: 1.125rem 1.5rem; border: .0625rem solid #f4e3c4; border-radius: 1rem; background: linear-gradient(100deg, #fff4e0 0%, #fffaf1 45%, #fff 100%); color: var(--ng-text-body,#333); text-decoration: none; box-shadow: 0 .25rem 1rem rgb(160 110 20 / 8%); transition: box-shadow .2s, transform .2s; }
.sr .sr-yandex::after { content: ''; position: absolute; right: -2.5rem; top: -3.5rem; width: 10rem; height: 10rem; border-radius: 50%; background: radial-gradient(circle, rgb(252 63 29 / 9%), transparent 70%); pointer-events: none; }
.sr .sr-yandex:hover { box-shadow: 0 .5rem 1.5rem rgb(160 110 20 / 14%); transform: translateY(-.0625rem); }
.sr .sr-yandex:focus-visible { outline: .125rem solid #fc3f1d; outline-offset: .1875rem; }
.sr-yandex__brand { flex: none; display: flex; align-items: center; justify-content: center; min-width: 8.5rem; height: 4rem; padding: 0 1.25rem; border-radius: .75rem; background: #fff; box-shadow: 0 .125rem .5rem rgb(0 0 0 / 7%); color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 1.875rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.sr-yandex__y { color: #fc3f1d; }
.sr-yandex__body { display: grid; gap: .125rem; flex: none; }
.sr-yandex__label { color: #9a6a12; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sr-yandex__score { display: flex; align-items: center; gap: .375rem .625rem; }
.sr-yandex__score b { color: var(--ng-text-heading,#191919); font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -.01em; }
.sr-yandex__of { color: var(--ng-muted,#666); font-size: .9375rem; }
.sr-yandex__note { flex: 1; min-width: 12rem; max-width: 24rem; color: var(--ng-text-body,#333); font-size: .9375rem; line-height: 1.375rem; }
.sr-yandex__go { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: .375rem; margin-left: auto; padding: .625rem 1.125rem; border: .125rem solid #fc3f1d; border-radius: 999px; background: #fff; color: #e3330f; font-size: .9375rem; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.sr .sr-yandex:hover .sr-yandex__go { background: #fc3f1d; color: #fff; }
@media (prefers-reduced-motion: reduce) { .sr .sr-yandex, .sr-yandex__go { transition: none; } .sr .sr-yandex:hover { transform: none; } }

.sr-list-section { padding-top: 1.5rem; border-top: .0625rem solid var(--ng-border-soft,#e0e0e0); }
.sr-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.sr-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.sr .sr-chip { display: inline-flex; align-items: center; gap: .25rem; min-height: 2.5rem; padding: .375rem 1rem; border: .0625rem solid var(--ng-border,#cfd3cc); border-radius: 999px; background: var(--ng-surface-white,#fff); color: var(--ng-text-body,#333); font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.sr .sr-chip:hover { border-color: var(--ng-primary,#458500); color: var(--ng-text-heading,#191919); }
.sr .sr-chip.is-active { border-color: var(--ng-primary-strong,#2c7500); background: var(--ng-primary-strong,#2c7500); color: var(--ng-on-primary-strong,#fff); }
.sr-chip span { color: #e3a008; }
.sr-chip.is-active span { color: inherit; }
.sr-sort { display: flex; gap: .25rem; padding: .25rem; border-radius: 999px; background: var(--ng-surface,#f2f4f0); }
.sr .sr-sort__option { min-height: 2rem; display: inline-flex; align-items: center; padding: .25rem .875rem; border-radius: 999px; color: var(--ng-text-body,#333); font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.sr .sr-sort__option.is-active { background: var(--ng-surface-white,#fff); color: var(--ng-text-heading,#191919); font-weight: 700; box-shadow: 0 1px 3px rgb(0 0 0 / 12%); }
.sr-count { margin-top: 1.25rem !important; color: var(--ng-muted,#666); font-size: .9375rem; }
.sr-empty { margin-top: 1.5rem !important; padding: 1.5rem; border-radius: .75rem; background: var(--ng-surface,#f7f8f7); }

/* Cards */
.sr-list { margin-top: .75rem !important; padding: 0; list-style: none; }
.sr-list > li { border-top: .0625rem solid var(--ng-border-light,#e9ebe7); }
.sr-single { margin-top: 1.25rem; padding: 0 1.25rem; border: .125rem solid var(--ng-primary,#458500); border-radius: .75rem; }
.sr-card { padding: 1.5rem 0; scroll-margin-top: 6rem; }
.sr-card:target { animation: sr-flash 2.4s ease-out 1; }
@keyframes sr-flash { from { background: var(--ng-primary-soft,#eef6e3); } to { background: transparent; } }
.sr-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.sr-card__head time { color: var(--ng-muted,#666); font-size: .9375rem; }
.sr-card__who { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; margin-top: .5rem !important; }
.sr-card__who strong { color: var(--ng-text-heading,#191919); }
.sr-card__city { color: var(--ng-muted,#666); }
.sr-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .0625rem .5rem; border-radius: .25rem; font-size: .8125rem; line-height: 1.25rem; }
.sr-badge--verified { background: var(--ng-primary-soft,#eef6e3); color: var(--ng-primary-text,#2f6900); font-weight: 700; }
.sr-badge--old { background: #f1efe9; color: #5d5446; }
.sr-lang { padding: 0 .375rem; border: .0625rem solid var(--ng-border,#cfd3cc); border-radius: .25rem; color: var(--ng-muted,#666); font-size: .75rem; font-weight: 700; text-decoration: none; cursor: help; }
.sr-card__aspects { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .5rem !important; padding: 0; list-style: none; font-size: .9375rem; }
.sr-aspect__label { font-weight: 700; }
.sr-aspect--liked .sr-aspect__label { color: var(--ng-primary-text,#2f6900); }
.sr-aspect--improve .sr-aspect__label { color: #9a5b00; }
.sr-card__text { max-width: 52rem; margin-top: .75rem; overflow-wrap: anywhere; word-break: break-word; }
.sr-card__text p + p { margin-top: .75rem; }
.sr-card__text.is-collapsed { max-height: 10.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.sr .sr-card__expand { margin-top: .5rem; padding: 0; border: 0; background: none; color: var(--ng-link,#126cc5); font: inherit; font-weight: 700; cursor: pointer; }
.sr-card__photos { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem !important; padding: 0; list-style: none; }
.sr-card__photos img { display: block; width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: .5rem; }
.sr-card__reply { max-width: 52rem; margin-top: 1rem; padding: 1rem 1.25rem; border-left: .25rem solid var(--ng-primary,#458500); border-radius: 0 .5rem .5rem 0; background: var(--ng-surface,#f7f8f7); overflow-wrap: anywhere; }
.sr-card__reply-head { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: .375rem !important; }
.sr-card__reply-head time { color: var(--ng-muted,#666); font-size: .875rem; }
.sr-card__reply p + p { margin-top: .5rem; }
.sr-card__actions { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; }
.sr .sr-action { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.25rem; padding: .25rem .75rem; border: .0625rem solid var(--ng-border,#cfd3cc); border-radius: 999px; background: var(--ng-surface-white,#fff); color: var(--ng-text-body,#333); font: inherit; font-size: .875rem; cursor: pointer; }
.sr .sr-action:hover { border-color: var(--ng-primary,#458500); }
.sr .sr-action[aria-pressed="true"] { border-color: var(--ng-primary-strong,#2c7500); background: var(--ng-primary-soft,#eef6e3); color: var(--ng-primary-text,#2f6900); font-weight: 700; }
.sr .sr-action--report { border-color: transparent; color: var(--ng-muted,#666); }
.sr .sr-action:disabled { cursor: default; opacity: .7; }
.sr .sr-more { display: flex; align-items: center; justify-content: center; width: min(20rem, 100%); min-height: 3rem; margin: 1.5rem auto 0; border: .0625rem solid var(--ng-primary-strong,#2c7500); border-radius: 999px; color: var(--ng-primary-strong,#2c7500); font-weight: 700; text-decoration: none; }
.sr .sr-more:hover { background: var(--ng-primary-soft,#eef6e3); }
.sr .sr-more[aria-busy="true"] { opacity: .6; }
/* Page numbers under «Показать ещё» — the look of the catalogue's pages; shown pages are tinted, the last shown one is current. */
.sr-pager { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1.5rem 0 .5rem; }
.sr-pager__numbers { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.sr .sr-pager a { display: grid; place-items: center; min-width: 2.625rem; height: 2.625rem; padding: 0 .5rem; border: 1px solid var(--ng-border-strong,#ccc); border-radius: 999px; color: var(--ng-text-dark,#222); font-size: 1rem; text-decoration: none; }
.sr .sr-pager a:hover { border-color: var(--ng-primary,#458500); }
.sr .sr-pager a.is-shown { border-color: var(--ng-primary,#458500); background: var(--ng-primary-tint,#edf5e4); }
.sr .sr-pager a[aria-current="page"] { color: var(--ng-primary-selected,#356546); font-weight: 700; }
.sr-pager__gap { color: var(--ng-muted,#666); }
.sr-pager__status { display: none; color: var(--ng-text-dark,#222); font-size: .9375rem; }
/* Phones: «‹ Страница N из M ›» instead of the numbers. */
@media (max-width: 37.5rem) { .sr-pager__numbers { display: none; } .sr-pager__status { display: inline; padding: 0 .5rem; } }
html[data-device="phone"] .sr-pager__numbers { display: none; }
html[data-device="phone"] .sr-pager__status { display: inline; padding: 0 .5rem; }

/* Report dialog and messages */
.sr-dialog { width: min(30rem, calc(100% - 2rem)); padding: 0; border: 0; border-radius: .75rem; box-shadow: 0 1rem 3rem rgb(0 0 0 / 25%); color: var(--ng-text-body,#333); }
.sr-dialog::backdrop { background: rgb(0 0 0 / 45%); }
.sr-dialog__form { display: grid; gap: .875rem; padding: 1.5rem; }
.sr-dialog h2 { font-size: 1.25rem; line-height: 1.75rem; }
.sr-dialog fieldset { display: grid; gap: .375rem; padding: 0; border: 0; }
.sr-dialog legend { margin-bottom: .375rem; font-weight: 700; }
.sr-radio { display: flex; gap: .5rem; align-items: flex-start; cursor: pointer; }
.sr-radio input { margin-top: .3rem; accent-color: var(--ng-primary-strong,#2c7500); }
.sr-field { display: grid; gap: .25rem; font-size: .9375rem; }
.sr-field textarea, .srf textarea, .srf input[type="text"] { width: 100%; padding: .625rem .75rem; border: .0625rem solid var(--ng-border-strong,#b9bdb6); border-radius: .5rem; background: var(--ng-surface-white,#fff); color: var(--ng-text,#242424); font: inherit; }
.sr-dialog__actions, .srf-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.sr .sr-button, .srf .srf-button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .625rem 1.75rem; border: 0; border-radius: 999px; background: var(--ng-primary-strong,#2c7500); color: var(--ng-on-primary-strong,#fff); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.sr .sr-button:hover, .srf .srf-button:hover { background: var(--ng-primary-deep,#055032); color: var(--ng-on-primary-deep,#fff); }
.sr .sr-button--ghost, .srf .srf-button--ghost { border: .0625rem solid var(--ng-border-strong,#b9bdb6); background: var(--ng-surface-white,#fff); color: var(--ng-text-body,#333); }
.sr .sr-button--ghost:hover, .srf .srf-button--ghost:hover { background: var(--ng-surface,#f2f4f0); color: var(--ng-text-heading,#191919); }
.sr-dialog__status:empty { display: none; }
.sr-dialog__status { color: #b42318; }
.sr-toast { position: fixed; z-index: 90; left: 50%; bottom: 1.5rem; max-width: calc(100% - 2rem); padding: .75rem 1.25rem; border-radius: .5rem; background: #1f2a1b; color: #fff; transform: translateX(-50%); }
.sr-toast:empty { display: none; }

/* Rating page of an order */
.srf { max-width: 46rem; }
.srf-hero { padding: 2.5rem 0 1rem; }
.srf-hero h1 { color: var(--ng-primary-deep,#055032); font-size: 2rem; line-height: 2.5rem; }
.srf-hero p { margin-top: .5rem !important; }
.srf-step { margin-top: 1.5rem; padding: 1.5rem 1.75rem; border: .0625rem solid var(--ng-border-soft,#e0e0e0); border-radius: .75rem; }
.srf-step > h2 { font-size: 1.25rem; line-height: 1.75rem; }
.srf-step > h2 small { display: block; color: var(--ng-muted,#666); font-size: .9375rem; font-weight: 400; }
.srf fieldset { min-width: 0; margin: 1.25rem 0 0; padding: 0; border: 0; }
.srf legend { padding: 0; color: var(--ng-text-heading,#191919); font-weight: 700; }
.srf-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .25rem; margin-top: .5rem; }
.srf-star { position: relative; cursor: pointer; }
.srf-star input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
/* The stars are in the order 5…1 and shown right to left: a star and the ones after it in the code are the lower ones. */
.srf-star span { display: block; width: 3rem; height: 3rem; background: url('/assets/icons/natgard-rating-star-empty.svg') center / 2.5rem no-repeat; }
.srf-star:has(input:checked) span, .srf-star:has(input:checked) ~ .srf-star span { background-image: url('/assets/icons/natgard-rating-star-full.svg'); }
.srf .srf-stars:hover .srf-star span { background-image: url('/assets/icons/natgard-rating-star-empty.svg'); }
.srf .srf-stars:hover .srf-star:hover span, .srf .srf-stars:hover .srf-star:hover ~ .srf-star span { background-image: url('/assets/icons/natgard-rating-star-full.svg'); }
.srf-stars-label { min-height: 1.5rem; margin-top: .25rem !important; color: var(--ng-muted,#666); }
.srf-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.srf-chip { position: relative; }
.srf-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.srf-chip span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .375rem 1rem; border: .0625rem solid var(--ng-border,#cfd3cc); border-radius: 999px; background: var(--ng-surface-white,#fff); font-size: .9375rem; cursor: pointer; }
.srf-chip input:checked + span { border-color: var(--ng-primary-strong,#2c7500); background: var(--ng-primary-soft,#eef6e3); color: var(--ng-primary-text,#2f6900); font-weight: 700; }
.srf-chips--improve .srf-chip input:checked + span { border-color: #b26b00; background: #fff4e0; color: #874f00; }
.srf-chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.srf-chip input:focus-visible + span { outline: .125rem solid var(--ng-focus,#126cc5); outline-offset: .125rem; }
.srf-field { display: grid; gap: .375rem; margin-top: 1.25rem; }
.srf-field > span:first-child, .srf-label { color: var(--ng-text-heading,#191919); font-weight: 700; }
.srf-counter, .srf-help { color: var(--ng-muted,#666); font-size: .875rem; }
.srf-names { display: grid; gap: .5rem; margin-top: .5rem; }
.srf-check { display: flex; gap: .625rem; align-items: flex-start; margin-top: 1rem; }
.srf-check input, .srf-names input { flex: none; width: 1.125rem; height: 1.125rem; margin-top: .1875rem; accent-color: var(--ng-primary-strong,#2c7500); }
.srf-photos { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .5rem; }
.srf-photo { position: relative; }
.srf-photo img { display: block; width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: .5rem; }
.srf .srf-photo button { position: absolute; top: -.5rem; right: -.5rem; width: 1.75rem; height: 1.75rem; border: 0; border-radius: 50%; background: #1f2a1b; color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.srf-photo-add { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .375rem 1rem; border: .0625rem dashed var(--ng-border-strong,#b9bdb6); border-radius: .5rem; cursor: pointer; }
.srf-photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.srf-photo-add:focus-within { outline: .125rem solid var(--ng-focus,#126cc5); outline-offset: .125rem; }
.srf-error { color: #b42318; font-size: .9375rem; }
.srf-error:empty { display: none; }
.srf-actions { margin-top: 1.5rem; }
.srf-status { margin-top: 1rem !important; }
.srf-status:empty { display: none; }
.srf-notice { margin-top: 1.25rem; padding: 1.25rem 1.5rem; border-radius: .75rem; background: var(--ng-primary-soft,#eef6e3); }
.srf-notice--warn { background: #fff4e0; }
.srf-notice h2 { font-size: 1.25rem; line-height: 1.75rem; }
.srf-notice p { margin-top: .5rem !important; }
.srf-products { margin-top: 1rem !important; padding: 0; list-style: none; }
.srf-products li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .875rem 0; border-top: .0625rem solid var(--ng-border-light,#e9ebe7); }
.srf-products strong { color: var(--ng-text-heading,#191919); overflow-wrap: anywhere; }
.srf-product-stars { display: flex; flex-direction: row-reverse; gap: .125rem; }
.srf .srf-product-stars a { display: block; width: 2.25rem; height: 2.25rem; border-radius: .25rem; background: url('/assets/icons/natgard-rating-star-empty.svg') center / 1.75rem no-repeat; }
.srf .srf-product-stars a:is(:hover, :focus-visible), .srf .srf-product-stars a:is(:hover, :focus-visible) ~ a { background-image: url('/assets/icons/natgard-rating-star-full.svg'); }
.srf-product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; }
.srf-product-note { color: var(--ng-muted,#666); font-size: .9375rem; }
.srf-loading { margin-top: 2rem !important; color: var(--ng-muted,#666); }

@media (max-width: 62.5rem) {
  .sr, .srf { width: 100%; padding-inline: 1.5rem; }
  .sr-hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .sr-hero__intro, .sr-scorecard, .sr .sr-yandex { grid-column: 1; grid-row: auto; }
  .sr-scorecard { width: 100%; max-width: 30rem; }
}
@media (max-width: 40rem) {
  .sr, .srf { padding-inline: 1rem; }
  .sr-hero { padding-top: 1.75rem; }
  .sr-hero h1 { font-size: 2rem; line-height: 2.5rem; }
  .srf-hero h1 { font-size: 1.625rem; line-height: 2.125rem; }
  .sr-lead { font-size: 1.0625rem; line-height: 1.625rem; }
  .sr-scorecard { padding: 1.25rem 1rem 1rem; }
  .sr .sr-yandex { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .875rem 1rem; padding: 1rem; }
  .sr-yandex__brand { min-width: 0; height: 3.25rem; padding: 0 .875rem; font-size: 1.5rem; }
  .sr-yandex__score b { font-size: 1.875rem; line-height: 2rem; }
  .sr-yandex__note { grid-column: 1 / -1; max-width: none; min-width: 0; }
  .sr-yandex__go { grid-column: 1 / -1; justify-content: center; margin-left: 0; }
  .sr-aspects li { grid-template-columns: 6.5rem minmax(3rem, 1fr); }
  /* Phone: the filters are one horizontal ribbon, cards take the whole width. */
  .sr-toolbar { display: grid; gap: .75rem; }
  .sr-filters { flex-wrap: nowrap; margin-inline: -1rem; padding: 0 1rem .25rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sr-filters::-webkit-scrollbar { display: none; }
  .sr-sort { justify-self: start; }
  .sr-single { padding: 0 .875rem; }
  .srf-step { padding: 1.25rem 1rem; }
  .srf-star span { width: 2.75rem; height: 2.75rem; background-size: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) { .sr-card:target { animation: none; } }
