/* GlobaPlace product category safe renderer */

.gp-safe-cat-page {
  display: block;
  min-height: 100vh;
  background: #f6f4ed;
  color: #11120f;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gp-safe-wrap {
  width: auto;
  max-width: none;
  margin-left: clamp(22px, 3vw, 72px);
  margin-right: clamp(22px, 3vw, 72px);
  box-sizing: border-box;
}

.gp-safe-hero {
  margin-top: 26px;
  padding: clamp(28px, 4vw, 70px);
  border: 1px solid rgba(17,18,15,.10);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 0%, rgba(243,200,15,.32), transparent 34%),
    linear-gradient(135deg, #fffaf0, #ffffff 55%, #f1eee3);
  box-shadow: 0 24px 80px rgba(17,18,15,.10);
}

.gp-safe-kicker {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(17,18,15,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: rgba(17,18,15,.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gp-safe-title {
  max-width: 1120px;
  margin: 18px 0 0;
  font-size: clamp(42px, 5.4vw, 92px);
  line-height: .92;
  letter-spacing: -.075em;
}

.gp-safe-subtitle {
  max-width: 900px;
  margin: 20px 0 0;
  color: rgba(17,18,15,.72);
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.45;
}

.gp-safe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.gp-safe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(17,18,15,.12);
  background: #fff;
  color: #11120f;
  text-decoration: none;
  font-weight: 900;
}

.gp-safe-btn.dark {
  background: #11120f;
  color: #fff;
  border-color: #11120f;
}

.gp-safe-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.gp-safe-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.gp-safe-panel,
.gp-safe-toolbar,
.gp-safe-filterbar,
.gp-safe-trust-card {
  border: 1px solid rgba(17,18,15,.10);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(17,18,15,.06);
}

.gp-safe-panel {
  padding: 18px;
}

.gp-safe-panel h2,
.gp-safe-panel h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.gp-safe-panel p {
  margin: 8px 0 0;
  color: rgba(17,18,15,.64);
  font-size: 13px;
  line-height: 1.42;
}

.gp-safe-nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.gp-safe-nav a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(17,18,15,.10);
  border-radius: 14px;
  background: #fff;
  color: #11120f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.gp-safe-nav a[aria-current="page"],
.gp-safe-nav a:hover {
  border-color: rgba(243,200,15,.58);
  background: #fff8d7;
}

.gp-safe-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.gp-safe-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

.gp-safe-toolbar h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.gp-safe-toolbar p {
  margin: 5px 0 0;
  color: rgba(17,18,15,.62);
  font-size: 13px;
  line-height: 1.35;
}

.gp-safe-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gp-safe-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(17,18,15,.10);
  border-radius: 999px;
  background: #f8f6ef;
  color: rgba(17,18,15,.74);
  font-size: 12px;
  font-weight: 850;
}

.gp-safe-filterbar {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.gp-safe-filter-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.gp-safe-filter-head strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}

.gp-safe-filter-head span {
  display: block;
  margin-top: 5px;
  color: rgba(17,18,15,.62);
  font-size: 13px;
}

.gp-safe-filter-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #11120f;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.gp-safe-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.gp-safe-filter-grid label {
  display: grid;
  gap: 6px;
}

.gp-safe-filter-grid label span {
  color: rgba(17,18,15,.68);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.gp-safe-filter-grid select {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(17,18,15,.12);
  border-radius: 14px;
  background: #f8f6ef;
  color: #11120f;
  font-weight: 800;
}

.gp-safe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.gp-safe-card {
  overflow: hidden;
  border: 1px solid rgba(17,18,15,.10);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(17,18,15,.06);
}

.gp-safe-card-image {
  position: relative;
  min-height: 160px;
  border-bottom: 1px solid rgba(17,18,15,.08);
  background:
    radial-gradient(circle at 72% 10%, rgba(243,200,15,.34), transparent 36%),
    linear-gradient(135deg, #f7f3e2, #ffffff);
}

.gp-safe-card-image::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(17,18,15,.86);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.gp-safe-card-body {
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: 16px;
}

.gp-safe-card-body strong {
  display: block;
  font-size: 17px;
  line-height: 1.18;
}

.gp-safe-card-body p {
  margin: 8px 0 0;
  color: rgba(17,18,15,.64);
  font-size: 13px;
  line-height: 1.42;
}

.gp-safe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.gp-safe-meta span {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f7f4e8;
  color: rgba(17,18,15,.72);
  font-size: 11px;
  font-weight: 850;
}

.gp-safe-card-actions {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  align-self: end;
}

.gp-safe-card-actions a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,18,15,.12);
  color: #11120f;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.gp-safe-card-actions a.primary {
  background: #11120f;
  border-color: #11120f;
  color: #fff;
}

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

.gp-safe-trust-card {
  padding: 18px;
}

.gp-safe-trust-card strong {
  display: block;
  font-size: 17px;
}

.gp-safe-trust-card span {
  display: block;
  margin-top: 8px;
  color: rgba(17,18,15,.62);
  font-size: 13px;
  line-height: 1.42;
}

@media (max-width: 1380px) {
  .gp-safe-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .gp-safe-filter-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 1080px) {
  .gp-safe-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .gp-safe-wrap {
    margin-left: 12px;
    margin-right: 12px;
  }

  .gp-safe-grid,
  .gp-safe-trust,
  .gp-safe-filter-grid {
    grid-template-columns: 1fr;
  }

  .gp-safe-toolbar,
  .gp-safe-filter-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
