.demo-notice {
  color: #37607c;
  background: #edf6f3;
}

.catalog-header .current {
  color: var(--blue);
}

.header-back {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  padding: 0 19px;
  margin-left: auto;
  border: 1px solid #cad8eb;
  border-radius: 10px;
  color: #315277;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.catalog-page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 52px 0 82px;
  overflow: visible;
}

.catalog-title {
  max-width: 690px;
  margin-bottom: 38px;
}

.catalog-title h1 {
  margin: 0 0 14px;
  font-size: 42px;
  letter-spacing: -.065em;
}

.catalog-title h1 span {
  margin-left: 13px;
  color: var(--blue);
}

.catalog-title > p:not(.eyebrow) {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.75;
}

.catalog-layout {
  display: block;
}

.catalog-filters {
  position: sticky;
  top: 101px;
  padding: 25px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 7px rgba(9, 27, 50, .035);
}

.catalog-filters h2 {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.48;
}

.catalog-filters h2 span {
  font-weight: 700;
}

.catalog-filters > p {
  margin: 0 0 29px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.7;
}

.catalog-filters h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.5;
}

.catalog-filters h3:not(:first-of-type) {
  margin-top: 26px;
}

.catalog-filters h3 span {
  margin-left: 5px;
}

.letter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.letter-grid button,
.region-pills button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--blue);
  border-radius: 5px;
  color: var(--blue);
  background: white;
  font-size: 12px;
}

.letter-grid button.active,
.region-pills button.active {
  color: white;
  background: var(--blue);
}

.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-search {
  display: block;
  margin-top: 28px;
}

.catalog-search span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.catalog-search b {
  margin-left: 6px;
}

.catalog-search input {
  width: 100%;
  min-height: 43px;
  padding: 0 13px;
  border: 1px solid #dce5ef;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.catalog-search input:focus {
  border-color: var(--blue);
}

.sample-legend {
  margin-top: 24px;
  padding: 15px 14px;
  border-radius: 9px;
  color: #496579;
  background: #eff7f4;
}

.sample-legend strong {
  display: block;
  margin-bottom: 7px;
  color: #126e58;
  font-size: 12px;
}

.sample-legend p {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1010px;
}

.state-grid.compact-grid {
  align-content: start;
}

.state-product-card {
  padding: 8px 8px 9px;
  border: 1px solid #e0e6ed;
  border-radius: 13px;
  background: white;
  box-shadow: 0 2px 6px rgba(9, 27, 50, .07);
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.state-product-card:hover {
  transform: translateY(-3px);
  border-color: #b3cff9;
  box-shadow: 0 10px 24px rgba(20, 105, 232, .12);
}

.state-product-card[hidden] {
  display: none;
}

.sample-id,
.large-sample-card {
  position: relative;
  overflow: hidden;
  color: #143353;
  background: linear-gradient(124deg, #dcecf5, #f9f5e5);
}

.sample-id {
  height: 146px;
  border-radius: 8px;
  text-align: left;
}

.sample-image-frame {
  position: relative;
  height: 146px;
  overflow: hidden;
  border-radius: 8px;
  background: #edf3f8;
}

.sample-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.sample-image-frame span,
.sample-detail-frame figcaption {
  position: absolute;
  z-index: 3;
  right: 9px;
  bottom: 9px;
  padding: 5px 8px;
  border-radius: 4px;
  color: #a53b35;
  background: rgba(255, 241, 239, .92);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.sample-image-frame > span,
.sample-detail-frame figcaption {
  display: none;
}

.sample-image-frame::after,
.sample-detail-frame::after {
  content: "ONLY KYC SAMPLE";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 15px 24px;
  border-radius: 8px;
  color: #a53b35;
  background: rgba(255, 241, 239, .66);
  box-shadow: 0 8px 22px rgba(107, 29, 25, .1);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.sample-image-frame::after {
  min-width: 142px;
  padding: 10px 13px;
  border-radius: 6px;
  font-size: 12px;
}

.sample-id::before,
.large-sample-card::before {
  content: "";
  position: absolute;
  inset: 19% -9% auto;
  height: 39%;
  opacity: .5;
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255,255,255,.65) 8px 9px);
  transform: rotate(-7deg);
}

.sample-id p,
.large-sample-card p {
  position: relative;
  z-index: 1;
  margin: 10px 11px 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.sample-id strong,
.large-sample-card strong {
  position: absolute;
  z-index: 2;
  top: 51%;
  left: 50%;
  color: rgba(173, 42, 42, .58);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: .12em;
  transform: translate(-50%, -50%) rotate(-14deg);
}

.sample-id small,
.large-sample-card small {
  position: absolute;
  z-index: 2;
  bottom: 11px;
  left: 11px;
  color: #324a64;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
}

.sample-id i,
.large-sample-card i {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 42px;
  height: 49px;
  border-radius: 50% 50% 42% 42%;
  opacity: .55;
  background: #8ca4b7;
}

.tone-red { background: linear-gradient(120deg, #f7e8d8, #e6f1fb 58%, #f5d6d1); }
.tone-ice { background: linear-gradient(130deg, #cce9f2, #eff7fb 48%, #b6d5e9); }
.tone-sand { background: linear-gradient(120deg, #eed9bc, #f7efdb 52%, #e6bf9a); }
.tone-green { background: linear-gradient(130deg, #d7eddf, #f4efd9 55%, #afd5c2); }
.tone-gold { background: linear-gradient(128deg, #f3e3b0, #f8f0d8 53%, #eac476); }
.tone-mountain { background: linear-gradient(135deg, #cce6db, #eef3e2 48%, #8eb8a2); }
.tone-ocean { background: linear-gradient(125deg, #cfe7f2, #f2f6f2 52%, #c7d8eb); }
.tone-navy { background: linear-gradient(125deg, #bed7e6, #edf1ee 53%, #aac2d7); }
.tone-palm { background: linear-gradient(125deg, #bde0d2, #eff0ce 52%, #9fd0b5); }
.tone-peach { background: linear-gradient(125deg, #f6d7c2, #f7efe4 52%, #dbb39c); }
.tone-island { background: linear-gradient(125deg, #b7e3df, #eef4df 48%, #95cddb); }

.state-product-card h2 {
  min-height: 27px;
  margin: 17px 4px 10px;
  font-size: 14px;
  font-weight: 500;
}

.state-product-card h2 span {
  margin-left: 6px;
}

.state-price {
  margin: 0 0 16px;
  color: #0065ee;
  font-size: 16px;
  font-weight: 700;
}

.details-button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 700;
}

.details-button {
  gap: 9px;
  margin-bottom: 7px;
  border: 1px solid #0065ee;
  color: #0065ee;
}

.details-button:hover {
  color: white;
  background: #0065ee;
}

.order-button {
  margin-bottom: 0;
  min-height: 44px;
}

.more-visual {
  height: 146px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px dashed #bad0ec;
  border-radius: 8px;
  color: var(--blue);
  background: #f3f7fd;
}

.more-visual strong {
  font-size: 36px;
  font-weight: 400;
}

.more-visual span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}

.more-copy {
  height: 19px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.more-state-card h2 {
  margin-bottom: 9px;
}

.compact-footer {
  min-height: 102px;
}

.detail-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 46px 0 72px;
  overflow: visible;
}

.detail-shell {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 30px;
  padding: 22px;
  border-radius: 15px;
  background: white;
  box-shadow: 0 4px 22px rgba(9, 27, 50, .08);
}

.large-sample-card {
  height: 320px;
  border-radius: 9px;
}

.sample-detail-frame {
  position: relative;
  margin: 0;
  background: #edf3f8;
}

.sample-detail-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.sample-detail-frame figcaption {
  right: 19px;
  bottom: 18px;
  padding: 9px 12px;
  font-size: 12px;
}

.large-sample-card p {
  margin: 24px 25px 0;
  font-size: 34px;
}

.large-sample-card strong {
  font-size: 58px;
}

.large-sample-card small {
  bottom: 23px;
  left: 25px;
  font-size: 13px;
}

.large-sample-card i {
  right: 32px;
  bottom: 34px;
  width: 82px;
  height: 98px;
}

.thumb-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 13px 0 25px;
}

.mini-thumb {
  position: relative;
  width: 67px;
  height: 43px;
  overflow: hidden;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 5px;
  background: linear-gradient(125deg, #d4e6ef, #f6e5cf);
}

.mini-thumb::after {
  content: "ONLY KYC SAMPLE";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 58px;
  padding: 4px 4px;
  border-radius: 3px;
  color: #a53b35;
  background: rgba(255, 241, 239, .68);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.mini-thumb.selected {
  border-color: var(--blue);
}

.mini-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.mini-thumb:hover {
  border-color: #9cc0fa;
}

.detail-content {
  padding: 3px 0 0;
}

.detail-content .eyebrow {
  margin-bottom: 12px;
}

.detail-content h1 {
  margin: 0 0 7px;
  font-size: 31px;
  line-height: 1.23;
  letter-spacing: -.045em;
}

.detail-subtitle {
  margin: 0 0 22px;
  color: var(--body);
  font-size: 16px;
}

.demo-price {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.demo-price strong {
  padding: 11px 17px;
  border-radius: 22px;
  color: white;
  background: #e95247;
  font-size: 22px;
}

.demo-price span {
  color: #e95247;
  font-size: 14px;
  font-weight: 700;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 13px;
  margin-bottom: 18px;
  padding: 18px 17px;
  border-left: 3px solid #20ae76;
  border-radius: 8px;
  background: #f5f7f9;
}

.feature-panel article {
  display: flex;
  gap: 11px;
}

.feature-panel b {
  color: var(--blue);
  font-size: 12px;
}

.feature-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.feature-panel p {
  margin: 0;
  color: var(--body);
  font-size: 11px;
  line-height: 1.5;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.detail-actions .primary-link,
.detail-actions .secondary-link {
  min-height: 48px;
  padding: 0 22px;
  font-size: 13px;
}

.detail-support {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 20px;
  margin-top: 22px;
}

.detail-overview,
.detail-guide,
.related-section {
  border: 1px solid #e4edf8;
  border-radius: 15px;
  background: #fff;
}

.detail-overview,
.detail-guide {
  padding: 29px 30px;
}

.detail-support h2,
.related-section h2 {
  margin: 9px 0 12px;
  color: var(--ink);
  font-size: 25px;
  letter-spacing: -.045em;
}

.support-copy {
  max-width: 500px;
  margin: 0 0 25px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.7;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.preview-stats div {
  padding: 16px 16px 14px;
  border-radius: 9px;
  background: #f4f8ff;
}

.preview-stats strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 25px;
}

.preview-stats span {
  color: #526b88;
  font-size: 12px;
  font-weight: 700;
}

.guide-steps {
  display: grid;
  gap: 14px;
  margin: 21px 0 24px;
}

.guide-steps article {
  display: flex;
  gap: 16px;
  align-items: center;
}

.guide-steps b {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #e9f2ff;
  font-size: 12px;
}

.guide-steps strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.guide-steps p {
  margin: 0;
  color: var(--body);
  font-size: 12px;
}

.detail-order-link {
  width: 100%;
  min-height: 49px;
}

.related-section {
  margin-top: 20px;
  padding: 28px 30px 30px;
}

.related-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.related-header h2 {
  margin-bottom: 0;
}

.related-header .secondary-link {
  min-height: 45px;
  padding: 0 22px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 15px;
  min-height: 110px;
  padding: 10px;
  border: 1px solid #e2ebf6;
  border-radius: 11px;
  background: #f9fbfe;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.related-card::before {
  content: "ONLY KYC SAMPLE";
  position: absolute;
  z-index: 2;
  left: 66px;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 100px;
  padding: 7px 8px;
  border-radius: 5px;
  color: #a53b35;
  background: rgba(255, 241, 239, .68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.related-card:hover {
  border-color: #b4cef6;
  box-shadow: 0 6px 15px rgba(28, 77, 142, .07);
}

.related-card img {
  width: 112px;
  height: 74px;
  display: block;
  object-fit: cover;
  border-radius: 7px;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.related-card small {
  display: block;
  margin-bottom: 5px;
  color: #71839c;
  font-size: 10px;
  font-weight: 700;
}

.related-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
}

.related-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .catalog-page,
  .detail-page {
    max-width: calc(100% - 40px);
  }

  .state-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-shell {
    grid-template-columns: 1fr;
  }

  .detail-support {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-back {
    padding: 0 12px;
    font-size: 12px;
  }

  .catalog-page,
  .detail-page {
    max-width: calc(100% - 28px);
    padding-top: 35px;
  }

  .catalog-title h1 {
    font-size: 34px;
  }

  .state-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: static;
  }

  .detail-shell {
    padding: 14px;
  }

  .large-sample-card {
    height: 228px;
  }

  .large-sample-card p {
    margin: 17px 17px 0;
    font-size: 26px;
  }

  .large-sample-card strong {
    font-size: 40px;
  }

  .feature-panel,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-overview,
  .detail-guide,
  .related-section {
    padding: 22px 18px;
  }

  .preview-stats {
    grid-template-columns: 1fr;
  }

  .related-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
