.cpanda-front-page .cpanda-catalog-page,
.cpanda-front-page .cpanda-product-page {
  background: #fff;
  color: var(--cp-text);
  font-family: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cpanda-front-page .cpanda-catalog-wrap {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.cpanda-front-page .cpanda-catalog-hero {
  padding: 64px 0 36px;
  background: #f6f7f8;
}

.cpanda-front-page .cpanda-catalog-hero h1,
.cpanda-front-page .cpanda-product-summary h1,
.cpanda-front-page .cpanda-product-description h2,
.cpanda-front-page .cpanda-product-spec-group h2 {
  margin: 0;
  color: var(--cp-text);
  font-family: "Unbounded", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.cpanda-front-page .cpanda-catalog-hero h1 {
  margin-top: 16px;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.cpanda-front-page .cpanda-catalog-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--cp-muted);
  font-size: 16px;
  line-height: 1.65;
}

.cpanda-front-page .cpanda-catalog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cpanda-front-page .cpanda-catalog-categories a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid var(--cp-border);
  border-radius: 8px;
  background: #fff;
  color: var(--cp-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.cpanda-front-page .cpanda-catalog-categories a.is-active {
  border-color: var(--cp-green);
  background: var(--cp-green);
  color: #fff;
}

.cpanda-front-page .cpanda-catalog-list {
  padding: 48px 0 80px;
}

.cpanda-front-page .cpanda-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cpanda-front-page .cpanda-product-card {
  overflow: hidden;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--cp-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--cp-shadow);
}

.cpanda-front-page .cpanda-product-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  background: #edf2f0;
}

.cpanda-front-page .cpanda-product-card-image img,
.cpanda-front-page .cpanda-product-gallery-main img,
.cpanda-front-page .cpanda-product-gallery-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpanda-front-page .cpanda-product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.cpanda-front-page .cpanda-product-card-meta,
.cpanda-front-page .cpanda-product-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cpanda-front-page .cpanda-product-card-meta span,
.cpanda-front-page .cpanda-product-summary-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--cp-green-light);
  color: var(--cp-green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.cpanda-front-page .cpanda-product-card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cpanda-front-page .cpanda-product-card-title a {
  color: var(--cp-text);
  text-decoration: none;
}

.cpanda-front-page .cpanda-product-card-price,
.cpanda-front-page .cpanda-product-summary-price {
  margin-top: 12px;
  color: var(--cp-green-dark);
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.cpanda-front-page .cpanda-product-card-price {
  font-size: 22px;
}

.cpanda-front-page .cpanda-product-card-desc {
  margin: 14px 0 0;
  color: var(--cp-muted);
  font-size: 14px;
  line-height: 1.55;
}

.cpanda-front-page .cpanda-product-card-specs {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cpanda-front-page .cpanda-product-card-specs li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(13, 26, 18, 0.07);
  color: var(--cp-muted);
  font-size: 13px;
  line-height: 1.3;
}

.cpanda-front-page .cpanda-product-card-specs strong {
  color: var(--cp-text);
  font-weight: 900;
  text-align: right;
}

.cpanda-front-page .cpanda-product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.cpanda-front-page .cpanda-product-button,
.cpanda-front-page .cpanda-product-order-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.cpanda-front-page .cpanda-product-messenger-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.cpanda-front-page .cpanda-product-button.is-primary,
.cpanda-front-page .cpanda-product-order-cta {
  background: var(--cp-green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(29, 185, 84, 0.18);
}

.cpanda-front-page .cpanda-product-button.is-telegram,
.cpanda-front-page .cpanda-product-button.is-max,
.cpanda-front-page .cpanda-product-button.is-secondary {
  border: 1.5px solid var(--cp-border);
  background: #fff;
  color: var(--cp-text);
}

.cpanda-front-page .cpanda-catalog-empty {
  margin: 0;
  color: var(--cp-muted);
  font-size: 16px;
}

.cpanda-front-page .cpanda-product-single {
  padding: 56px 0 64px;
  background: #f6f7f8;
}

.cpanda-front-page .cpanda-catalog-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--cp-green-dark);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.cpanda-front-page .cpanda-product-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: start;
}

.cpanda-front-page .cpanda-product-gallery-main {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: #edf2f0;
}

.cpanda-front-page .cpanda-product-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.cpanda-front-page .cpanda-product-gallery-strip img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #edf2f0;
}

.cpanda-front-page .cpanda-product-summary {
  padding: 34px;
  border: 1px solid var(--cp-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--cp-shadow);
}

.cpanda-front-page .cpanda-product-summary h1 {
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 900;
  line-height: 1.08;
}

.cpanda-front-page .cpanda-product-summary-price {
  font-size: 28px;
}

.cpanda-front-page .cpanda-product-summary-short {
  margin: 18px 0 0;
  color: var(--cp-muted);
  font-size: 16px;
  line-height: 1.7;
}

.cpanda-front-page .cpanda-product-order-cta {
  width: 100%;
  min-height: 52px;
  margin-top: 28px;
}

.cpanda-front-page .cpanda-product-details {
  padding: 64px 0 88px;
}

.cpanda-front-page .cpanda-product-description {
  max-width: 860px;
}

.cpanda-front-page .cpanda-product-description h2,
.cpanda-front-page .cpanda-product-spec-group h2 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.cpanda-front-page .cpanda-product-description p {
  color: var(--cp-muted);
  font-size: 16px;
  line-height: 1.75;
}

.cpanda-front-page .cpanda-product-spec-groups {
  display: grid;
  gap: 24px;
  margin-top: 38px;
}

.cpanda-front-page .cpanda-product-spec-table {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--cp-border);
  border-radius: 12px;
  background: #fff;
}

.cpanda-front-page .cpanda-product-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  gap: 24px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--cp-border);
  color: var(--cp-muted);
  font-size: 15px;
  line-height: 1.45;
}

.cpanda-front-page .cpanda-product-spec-row:last-child {
  border-bottom: 0;
}

.cpanda-front-page .cpanda-product-spec-row strong {
  color: var(--cp-text);
  font-weight: 900;
}

@media (max-width: 1024px) {
  .cpanda-front-page .cpanda-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpanda-front-page .cpanda-product-single-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .cpanda-front-page .cpanda-catalog-wrap {
    width: calc(100% - 28px);
  }

  .cpanda-front-page .cpanda-catalog-hero {
    padding: 42px 0 28px;
  }

  .cpanda-front-page .cpanda-catalog-list {
    padding: 32px 0 56px;
  }

  .cpanda-front-page .cpanda-product-grid {
    grid-template-columns: 1fr;
  }

  .cpanda-front-page .cpanda-product-card-actions {
    grid-template-columns: 1fr;
  }

  .cpanda-front-page .cpanda-product-summary {
    padding: 24px;
  }

  .cpanda-front-page .cpanda-product-spec-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
