:root {
  --gt-bg: #f6f7fa;
  --gt-card: #ffffff;
  --gt-text: #111827;
  --gt-muted: #6b7280;
  --gt-line: #e5e7eb;
  --gt-soft: #f8fafc;
  --gt-orange: #ff6a00;
  --gt-orange-2: #ff8a1f;
  --gt-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

html {
  box-sizing: border-box;
  font-size: 10px;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(0, 0, 0, .05);
}

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

body {
  background: var(--gt-bg);
  color: var(--gt-text);
  font: 400 1.6rem/1.5 var(--base-font-family, "Montserrat", Arial, Helvetica, sans-serif);
  letter-spacing: 0;
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: var(--base-font-family, "Montserrat", Arial, Helvetica, sans-serif);
}

button,
input,
textarea,
select {
  font-size: inherit;
  line-height: inherit;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
  appearance: button;
  cursor: pointer;
}

[hidden] {
  display: none;
}

/* iOS Safari zooms focused controls below 16px. Keep every mobile form field at the safe size. */
@media (max-width: 700px) {
  html body input:not([type="hidden"]),
  html body textarea,
  html body select {
    font-size: 16px;
  }

  html body textarea:focus,
  html body select:focus {
    font-size: 16px;
  }

  html body textarea:nth-of-type(n),
  html body select:nth-of-type(n) {
    font-size: 16px;
  }
}

a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}

img,
video {
  border-style: none;
  display: block;
  max-width: 100%;
}

b,
strong {
  font-weight: 700;
}

small {
  font-size: 80%;
}

.app {
  background: var(--gt-bg);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 320px;
  overflow: hidden;
  position: relative;
}

.gt-rebuild-category__pagination {
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination > li {
  display: block;
}

.pagination > li > a,
.pagination > li > span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--gt-line);
  border-radius: 10px;
  color: #0f172a;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  min-width: 40px;
  padding: 0 12px;
}

.pagination > li > a:hover,
.pagination > .active > span {
  background: var(--gt-orange);
  border-color: var(--gt-orange);
  color: #fff;
}
