@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/onest-400-cyr.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/onest-400-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/onest-600.woff2") format("woff2");
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/onest-600.woff2") format("woff2");
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/onest-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-700-cyr.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-700-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/golos-text-400-cyr.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/golos-text-400-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/golos-text-700-cyr.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/golos-text-700-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg-page: #FFFFFF;
  --surface-base: #F5F6F8;
  --surface-lavender: #F2EFF9;
  --surface-slate: #EAEEF4;
  --surface-mint: #E5F5F2;
  --surface-sand: #F6F3E8;
  --text-main: #191C21;
  --text-body: #545C6A;
  --text-muted: #7F8794;
  --brand-primary: #3B44F6;
  --brand-primary-hover: #2D35D9;
  --solar-accent: #FFDD2D;
  --solar-soft: #FEF08A;
  --verified-green: #059669;
  --p-bg: #FFFFFF;
  --p-surface: #F5F6F8;
  --p-ink: #191C21;
  --p-muted: #545C6A;
  --p-subtle: #7F8794;
  --p-accent: #3B44F6;
  --p-accent-dark: #2D35D9;
  --p-warm: #FFDD2D;
  --p-radius: 20px;
  --p-radius-sm: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  margin: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Onest", "Manrope", "Golos Text", sans-serif;
  color: #191C21;
  background: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Onest", "Manrope", "Golos Text", sans-serif;
  font-weight: 600;
  color: #191C21;
}

h1,
.p-hero__title,
.p-shop-box__title {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #191C21;
  margin: 0 0 10px 0;
}

h2,
.p-section__title {
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #191C21;
  margin: 0 0 16px 0;
}

h3 {
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #191C21;
  margin: 0 0 8px 0;
}

p {
  margin: 0 0 12px 0;
}

.p-intro {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #545C6A;
  margin: 0 0 16px 0;
  max-width: 820px;
}

a {
  color: #3B44F6;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #2D35D9;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.p-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.p-top {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #F0F2F5;
  min-height: 66px;
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
}

.p-top__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.p-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Onest", "Manrope", "Golos Text", sans-serif;
  font-weight: 600;
  color: #191C21;
  text-decoration: none;
}

.p-brand:hover {
  color: #191C21;
  text-decoration: none;
}

.p-brand--light,
.p-brand--light:hover {
  color: #FFFFFF;
}

.p-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #3B44F6;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  flex-shrink: 0;
}

.p-brand__dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFDD2D;
}

.p-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.p-brand__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.p-brand__sub {
  font-size: 11.5px;
  font-weight: 400;
  color: #7F8794;
  margin-top: 2px;
}

.p-brand--light .p-brand__sub {
  color: #9EA4B0;
}

.p-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}

.p-nav__link {
  color: #545C6A;
  font-size: 14.5px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.p-nav__link:hover {
  color: #3B44F6;
}

.p-top-find,
.p-find-wrap {
  position: relative;
  flex: 1;
  max-width: 380px;
  min-width: 220px;
}

.p-find-wrap {
  max-width: 640px;
}

.p-top-find__form {
  display: flex;
  align-items: center;
  background: #F5F6F8;
  border: 0;
  border-radius: 12px;
  padding: 3px 4px 3px 14px;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.p-top-find__form:focus-within {
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(25, 28, 33, 0.08);
}

.p-top-find__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  height: 36px;
  color: #191C21;
  font-size: 14px;
  padding: 0 8px 0 0;
}

.p-top-find__input::placeholder {
  color: #7F8794;
}

.p-top-find__btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 9px;
  background: #3B44F6;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.p-top-find__btn:hover {
  background: #2D35D9;
}

.p-hero {
  padding: 20px 0 0;
}

.p-hero__box {
  background: linear-gradient(135deg, #F2EFF9 0%, #EAEEF4 100%);
  color: #191C21;
  border: 0;
  border-radius: 22px;
  padding: 28px 32px;
  margin-bottom: 28px;
}

.p-hero__sub {
  color: #545C6A;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 680px;
}

.p-search {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 0;
  border-radius: 14px;
  padding: 5px 6px 5px 16px;
  max-width: 640px;
  box-shadow: 0 6px 20px rgba(25, 28, 33, 0.05);
  transition: box-shadow 0.18s ease;
}

.p-search--page {
  background: #F5F6F8;
  box-shadow: none;
}

.p-search:focus-within {
  background: #FFFFFF;
  box-shadow: 0 6px 22px rgba(25, 28, 33, 0.1);
}

.p-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  height: 40px;
  padding: 0 10px 0 0;
  font-size: 15px;
  color: #191C21;
}

.p-search__input::placeholder {
  color: #7F8794;
}

.p-search__btn {
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #3B44F6;
  color: #FFFFFF;
  font-weight: 600;
  padding: 0 22px;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.p-search__btn:hover {
  background: #2D35D9;
}

.p-hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  font-size: 13.5px;
  color: #545C6A;
}

.p-hero__stats strong {
  color: #191C21;
  font-weight: 600;
}

.p-main {
  padding: 12px 0 40px;
}

.p-section {
  margin-bottom: 36px;
}

.p-section__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.p-section__bar .p-section__title {
  margin: 0;
}

.p-section__bar a {
  font-size: 14px;
  font-weight: 600;
  color: #3B44F6;
}

.p-crumbs {
  margin: 4px 0 14px;
  font-size: 13px;
  color: #7F8794;
}

.p-crumbs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-crumbs__item a {
  color: #545C6A;
}

.p-crumbs__item a:hover {
  color: #3B44F6;
}

.p-crumbs__item + .p-crumbs__item::before {
  content: "/";
  margin-right: 6px;
  color: #7F8794;
}

.p-spot {
  background: linear-gradient(135deg, #F2EFF9 0%, #F6F3E8 100%);
  border: 0;
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p-spot__tag {
  display: inline-block;
  background: #FFDD2D;
  color: #191C21;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 6px;
}

.p-spot__title {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #191C21;
}

.p-spot__sub {
  margin: 0;
  color: #545C6A;
  font-size: 14.5px;
}

.p-grid {
  display: grid;
  gap: 12px;
}

.p-grid--shops {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-grid--cats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-card {
  background: #F5F6F8;
  border: 0;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #191C21;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.p-card:hover {
  background: #EAEEF4;
  transform: translateY(-2px);
  color: #191C21;
  text-decoration: none;
}

.p-card__logo {
  width: 96px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #FFFFFF;
  border: 0;
  padding: 6px;
}

.p-card__name {
  font-weight: 600;
  font-size: 16px;
  color: #191C21;
  line-height: 1.3;
}

.p-card__domain {
  font-size: 12.5px;
  color: #7F8794;
}

.p-card__meta {
  font-size: 13px;
  color: #545C6A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
}

.p-card__pill {
  background: #FEF08A;
  color: #191C21;
  border: 0;
  font-weight: 600;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 7px;
}

.p-cat-card {
  background: #F5F6F8;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #191C21;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.p-cat-card:nth-child(4n+2) {
  background: #F2EFF9;
}

.p-cat-card:nth-child(4n+3) {
  background: #EAEEF4;
}

.p-cat-card:nth-child(4n+4) {
  background: #E5F5F2;
}

.p-cat-card:hover {
  transform: translateY(-2px);
  background: #EAEEF4;
  color: #191C21;
  text-decoration: none;
}

.p-cat-card__name {
  font-weight: 600;
  font-size: 15px;
  color: #191C21;
}

.p-cat-card__count {
  font-size: 12.5px;
  font-weight: 600;
  color: #191C21;
  background: #FFFFFF;
  padding: 3px 10px;
  border-radius: 999px;
}

.p-shop-box {
  background: linear-gradient(135deg, #F5F6F8 0%, #EAEEF4 100%);
  border: 0;
  border-radius: 22px;
  padding: 22px 26px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p-shop-box__top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-shop-box__main {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.p-shop-box__info {
  flex: 1;
  min-width: 220px;
}

.p-shop-box__logo {
  width: 112px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  border: 0;
  background: #FFFFFF;
  padding: 6px;
  flex-shrink: 0;
}

.p-shop-box__desc {
  color: #545C6A;
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.p-shop-box__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.p-shop-box__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  color: #191C21;
  border: 0;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 500;
}

.p-shop-box__chip--link {
  color: #3B44F6;
}

.p-shop-box__chip--link:hover {
  background: #3B44F6;
  color: #FFFFFF;
}

.p-shop-box__cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.p-shop-box__btn {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 20px;
  border-radius: 12px;
  background: #FFFFFF;
  color: #191C21;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(25, 28, 33, 0.06);
  border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.p-shop-box__btn:hover {
  color: #3B44F6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(25, 28, 33, 0.1);
}

.p-shop-box__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(25, 28, 33, 0.06);
  font-size: 13px;
  color: #545C6A;
}

.p-shop-box__stats strong {
  color: #191C21;
  font-weight: 600;
}

.p-shop-box__dot {
  color: #7F8794;
}

.p-intent-nav,
.p-filter {
  margin: 16px 0 18px 0;
  background: #F5F6F8;
  padding: 5px;
  border-radius: 14px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  border: 0;
}

.p-intent-nav__link,
.p-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #545C6A;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.p-intent-nav__link:hover,
.p-filter__btn:hover {
  color: #191C21;
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.p-intent-nav__link--on,
.p-intent-nav__link--on:hover,
.p-filter__btn--on,
.p-filter__btn--on:hover {
  background: #FFFFFF;
  color: #191C21;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(25, 28, 33, 0.06);
}

.p-deal-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p-deal {
  background: #F5F6F8;
  border: 0;
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.p-deal:last-child {
  margin-bottom: 0;
}

.p-deal:hover {
  background: #EAEEF4;
}

.p-deal--excl {
  background: #F2EFF9;
}

.p-deal--excl:hover {
  background: #EAE4F7;
}

.p-deal--past {
  opacity: 0.72;
  background: #F5F6F8;
}

.p-deal[hidden],
.p-card[hidden] {
  display: none !important;
}

.p-deal__left {
  display: flex;
  align-items: center;
}

.p-deal__value {
  width: 148px;
  min-height: 92px;
  background: #FFFFFF;
  border: 0;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  color: #191C21;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(25, 28, 33, 0.03);
  flex-shrink: 0;
}

.p-deal--past .p-deal__value {
  color: #7F8794;
}

.p-deal__body {
  min-width: 0;
  flex: 1;
}

.p-deal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #7F8794;
}

.p-deal__shop {
  font-weight: 600;
  color: #191C21;
  font-size: 13px;
}

.p-deal__shop:hover {
  color: #3B44F6;
}

.p-deal__verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #545C6A;
}

.p-deal__vdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #059669;
  display: inline-block;
  flex-shrink: 0;
}

.p-deal__exp {
  font-size: 12px;
  color: #7F8794;
}

.p-deal__title {
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #191C21;
  margin: 0 0 6px 0;
}

.p-deal__desc {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  color: #545C6A;
  margin: 0 0 10px 0;
}

.p-deal__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(25, 28, 33, 0.06);
}

.p-deal__terms {
  display: flex;
  align-items: center;
}

[data-terms-btn],
.p-terms-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  border: 0;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #545C6A;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

[data-terms-btn]::after,
.p-terms-btn::after {
  content: "▾";
  font-size: 11px;
}

.p-terms-btn--open::after {
  content: "▴";
}

[data-terms-btn]:hover,
.p-terms-btn:hover,
.p-terms-btn--open {
  color: #3B44F6;
}

[data-terms-box],
.p-terms-box {
  background: #FFFFFF;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 13px;
  color: #545C6A;
  line-height: 1.5;
}

[data-terms-box][hidden],
.p-terms-box[hidden] {
  display: none !important;
}

.p-vote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #7F8794;
}

.p-vote__label {
  margin-right: 2px;
  font-weight: 400;
}

[data-vote-btn],
.p-vote__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  border: 0;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #545C6A;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

[data-vote-btn="up"]:hover:not(:disabled),
[data-vote-btn="up"].p-vote__btn--on,
.p-vote__btn--up:hover:not(:disabled),
.p-vote__btn--up.p-vote__btn--on {
  background: #E5F5F2;
  color: #059669;
}

[data-vote-btn="down"]:hover:not(:disabled),
[data-vote-btn="down"].p-vote__btn--on,
.p-vote__btn--down:hover:not(:disabled),
.p-vote__btn--down.p-vote__btn--on {
  background: #FEE2E2;
  color: #B91C1C;
}

.p-vote__btn:disabled {
  cursor: default;
}

.p-deal__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.p-code {
  display: flex;
  width: 100%;
}

.p-code__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.p-code__btn {
  width: 100%;
  height: 44px;
  min-height: 44px;
  border-radius: 12px;
  background: #3B44F6;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  padding: 4px 4px 4px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.p-code__btn:hover {
  background: #2D35D9;
}

.p-code__label {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.p-code__tail {
  background: #FFDD2D;
  color: #191C21;
  border: 0;
  border-radius: 9px;
  padding: 6px 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.p-btn:hover {
  text-decoration: none;
}

.p-btn--primary {
  background: #3B44F6;
  color: #FFFFFF;
}

.p-btn--primary:hover {
  background: #2D35D9;
  color: #FFFFFF;
}

.p-btn--deal {
  background: #FFFFFF;
  color: #3B44F6;
  font-weight: 600;
  border: 0;
  border-radius: 12px;
  height: 44px;
  min-height: 44px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(25, 28, 33, 0.05);
}

.p-btn--deal:hover {
  background: #3B44F6;
  color: #FFFFFF;
}

.p-btn--ghost {
  background: #FFFFFF;
  color: #545C6A;
  border: 0;
  border-radius: 12px;
  height: 44px;
  min-height: 44px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(25, 28, 33, 0.04);
}

.p-btn--ghost:hover {
  color: #3B44F6;
  background: #FFFFFF;
}

.p-pill {
  display: inline-flex;
  align-items: center;
  background: #E6E9F0;
  color: #191C21;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  border: 0;
  text-decoration: none;
}

a.p-pill:hover {
  background: #D8DCE6;
  color: #191C21;
}

.p-pill--excl {
  background: #FEF08A;
  color: #191C21;
  border: 0;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
}

.p-pill--neutral {
  background: #E6E9F0;
  color: #545C6A;
}

.p-pill--ok {
  background: #E5F5F2;
  color: #059669;
  border: 0;
}

.p-pill--past {
  background: #E6E9F0;
  color: #7F8794;
}

.p-highlight {
  background: #F6F3E8;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 14.5px;
  color: #191C21;
}

.p-note-block {
  background: #F5F6F8;
  border: 0;
  border-radius: 20px;
  padding: 22px 24px;
  margin-top: 24px;
  color: #545C6A;
  font-size: 14.5px;
  line-height: 1.55;
}

.p-past-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #F0F2F5;
}

.p-past-block__sub {
  color: #7F8794;
  font-size: 14px;
  margin: 0 0 14px;
}

.p-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.p-faq__item {
  background: #FFFFFF;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
}

.p-faq__q {
  font-weight: 600;
  color: #191C21;
  cursor: pointer;
}

.p-faq__a {
  margin-top: 8px;
  color: #545C6A;
  font-size: 14.5px;
  line-height: 1.5;
}

.p-modal {
  position: fixed;
  inset: 0;
  background: rgba(25, 28, 33, 0.56);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 90;
}

.p-modal--open {
  display: flex;
}

.p-modal__dialog {
  background: #FFFFFF;
  border: 0;
  border-radius: 22px;
  max-width: 480px;
  width: 100%;
  padding: 26px 24px;
  position: relative;
  box-shadow: 0 24px 48px rgba(25, 28, 33, 0.2);
}

.p-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 0;
  background: #F5F6F8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #545C6A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.p-modal__close:hover {
  background: #EAEEF4;
  color: #191C21;
}

.p-modal__shop {
  font-size: 13px;
  font-weight: 600;
  color: #3B44F6;
  margin-bottom: 4px;
}

.p-modal__title {
  font-size: 19px;
  font-weight: 600;
  color: #191C21;
  margin-bottom: 12px;
  padding-right: 28px;
}

.p-modal__status {
  display: inline-block;
  background: #E5F5F2;
  color: #059669;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.p-modal__code-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.p-modal__code {
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  background: #FFDD2D;
  color: #191C21;
  letter-spacing: 0.03em;
}

.p-modal__hint {
  margin: 0 0 14px;
  font-size: 14px;
  color: #545C6A;
}

.p-modal__go {
  width: 100%;
}

.p-modal__more {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #F0F2F5;
}

.p-modal__more-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  color: #191C21;
}

.p-modal__more-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: #F5F6F8;
  border: 0;
  border-radius: 12px;
}

.p-modal__item-val {
  background: #FFFFFF;
  color: #191C21;
  font-weight: 600;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 7px;
  white-space: nowrap;
}

.p-modal__item-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #191C21;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-modal__item-btn {
  width: auto;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 12.5px;
  border-radius: 8px;
  white-space: nowrap;
}

.p-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #191C21;
  color: #FFFFFF;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(25, 28, 33, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
}

.p-toast--show {
  opacity: 1;
}

.p-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p-form__row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.p-form__label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #191C21;
  margin-bottom: 5px;
}

.p-form__control {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14.5px;
  color: #191C21;
  background: #F5F6F8;
  outline: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.p-form__control:focus {
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(25, 28, 33, 0.08);
}

.p-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.p-alert {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14.5px;
}

.p-alert--ok {
  background: #E5F5F2;
  color: #059669;
  border: 0;
}

.p-alert--err {
  background: #FEE2E2;
  color: #B91C1C;
  border: 0;
}

.p-bottom {
  background: #191C21;
  color: #9EA4B0;
  padding: 36px 0 28px;
  margin-top: 36px;
  font-size: 14px;
}

.p-bottom a {
  color: #EAEEF4;
}

.p-bottom a:hover {
  color: #FFDD2D;
}

.p-bottom__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.p-bottom__copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #7F8794;
}

.p-panel-bar {
  background: #191C21;
  color: #FFFFFF;
  padding: 12px 0;
  margin-bottom: 22px;
}

.p-panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.p-panel-nav a {
  color: #EAEEF4;
  font-size: 14px;
}

.p-panel-nav a.p-panel-nav__on {
  color: #FFDD2D;
  font-weight: 600;
}

.p-stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.p-stat-card {
  background: #F5F6F8;
  border: 0;
  border-radius: 16px;
  padding: 16px;
}

.p-stat-card__num {
  font-weight: 600;
  font-size: 22px;
  color: #191C21;
}

.p-stat-card__label {
  font-size: 13px;
  color: #545C6A;
}

.p-table-wrap {
  overflow-x: auto;
  background: #F5F6F8;
  border: 0;
  border-radius: 18px;
  padding: 4px;
}

.p-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.p-table th,
.p-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(25, 28, 33, 0.06);
  text-align: left;
  vertical-align: top;
}

.p-table tr:last-child td {
  border-bottom: 0;
}

.p-table th {
  font-weight: 600;
  color: #191C21;
}

.p-lock-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 12px;
  background: #F5F6F8;
  border: 0;
  border-radius: 12px;
}

.p-cat-hub-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.p-cat-box {
  background: #F5F6F8;
  border: 0;
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-cat-box:nth-child(5n+2) {
  background: #F2EFF9;
}

.p-cat-box:nth-child(5n+3) {
  background: #EAEEF4;
}

.p-cat-box:nth-child(5n+4) {
  background: #F6F3E8;
}

.p-cat-box:nth-child(5n+5) {
  background: #E5F5F2;
}

.p-cat-box__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.p-cat-box__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.p-cat-box__title a {
  color: #191C21;
}

.p-cat-box__title a:hover {
  color: #3B44F6;
}

.p-cat-box__counts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-cat-box__count {
  background: #FFFFFF;
  color: #545C6A;
  border: 0;
  border-radius: 8px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
}

.p-cat-box__desc {
  color: #545C6A;
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

.p-cat-box__shops {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-cat-box__shops-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #7F8794;
}

.p-cat-box__shop-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-cat-box__shop-pill {
  background: #FFFFFF;
  border: 0;
  border-radius: 9px;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 500;
  color: #191C21;
  transition: color 0.15s ease, transform 0.15s ease;
}

.p-cat-box__shop-pill:hover {
  color: #3B44F6;
  transform: translateY(-1px);
}

.p-cat-box__foot {
  margin-top: auto;
  padding-top: 4px;
}

.p-cat-box__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #3B44F6;
  font-weight: 600;
  font-size: 14px;
}

.p-cat-box__more:hover {
  color: #2D35D9;
}

.p-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(25, 28, 33, 0.14);
  z-index: 80;
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
}

.p-suggest[hidden] {
  display: none !important;
}

.p-suggest__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #F5F6F8;
  color: #191C21;
  text-decoration: none;
}

.p-suggest__item:hover,
.p-suggest__item--on {
  background: #F5F6F8;
}

.p-suggest__logo {
  width: 48px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
  background: #F5F6F8;
  flex-shrink: 0;
}

.p-suggest__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.p-suggest__name {
  font-weight: 600;
  font-size: 14px;
  color: #191C21;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-suggest__domain {
  font-size: 12px;
  color: #7F8794;
}

.p-suggest__count {
  background: #F5F6F8;
  color: #3B44F6;
  font-weight: 600;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.p-suggest__all {
  display: block;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #3B44F6;
  background: #F5F6F8;
  text-align: center;
}

.p-suggest__all:hover,
.p-suggest__all.p-suggest__item--on {
  background: #EAEEF4;
  color: #2D35D9;
}

.p-suggest__empty {
  padding: 12px 14px;
  font-size: 13.5px;
  color: #7F8794;
}

@media (min-width: 720px) {
  .p-grid--shops {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .p-grid--cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .p-shop-box__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .p-spot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .p-form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-bottom__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .p-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .p-cat-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 821px) {
  .p-deal {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr) 196px;
    gap: 20px;
    align-items: center;
    padding: 18px 22px;
    margin-bottom: 12px;
    background: #F5F6F8;
    border: 0;
    border-radius: 20px;
    transition: background-color 0.15s ease, transform 0.15s ease;
  }

  .p-deal--excl {
    background: #F2EFF9;
  }

  .p-deal__left {
    width: 148px;
  }

  .p-deal__value {
    width: 148px;
    min-height: 92px;
  }

  .p-deal__actions {
    width: 196px;
  }
}
