:root {
  --primary-color: #0A988B;
  --background-color: #1C1F21;
  --surface-color: #25282B;
  --text-color: #D9DCE0;
  --text-muted: #92989E;
  --border-color: #34383B;
  --accent-light: #0A988B29;
  --primary-color-rgb: 10, 152, 139;
  --surface-color-rgb: 37, 40, 43;
  --background-color-rgb: 28, 31, 33;
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

body {
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.5;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-top {
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  background: var(--surface-color);
  z-index: 2;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 30px;
}

.logo a {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.search-bar {
  flex: 1;
  max-width: 650px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  border: 2px solid var(--border-color);
  background: var(--background-color);
}

.search-icon-left {
  padding: 0 10px 0 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  padding: 12px 8px;
  border: none;
  background: transparent;
  color: var(--text-color);
  outline: none;
  min-width: 0;
}

.search-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 6px;
  flex-shrink: 0;
}

.search-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: default;
}

.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.action-btn:hover {
  background: var(--accent-light);
}

.action-accent {
  background: var(--primary-color);
  color: white !important;
}

.action-accent:hover {
  background: #08857a;
}

.header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}

.header-username {
  font-size: 0.875rem;
  font-weight: 600;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-header {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary-color);
  color: white;
  font-size: 12px;
  min-width: 24px;
  height: 24px;
  border-radius: 50px;
  font-weight: 500;
  display: grid;
  place-items: center;
}

.badge-favorites {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  background: var(--primary-color);
  color: white;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.header-nav {
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.3s ease-in-out;
  will-change: transform;
  z-index: 1;
}

.nav-wrapper {
  display: flex;
  justify-content: center;
}

.nav {
  display: flex;
  gap: 32px;
  list-style: none;
  height: 60px;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.announcement {
  background: var(--primary-color);
  padding: 20px 0;
  margin: 30px auto 0;
  position: relative;
  max-width: 1160px;
  overflow: hidden;
  clip-path: polygon(0 0,
      10px 50%,
      0 100%,
      100% 100%,
      calc(100% - 10px) 50%,
      100% 0);
}

.announcement p {
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

.announcement::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 100%);
  animation: slide 2s infinite;
}

@keyframes slide {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.fs-wrap {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 20px;
}

.fs-section {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-color);
  height: 380px;
}

.fs-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-slide.active {
  opacity: 1;
  pointer-events: all;
  z-index: 2;
}

.fs-slide__img {
  position: relative;
  width: 52%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.fs-slide__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 0.65s ease;
  will-change: transform, opacity;
}

.fs-slide.active .fs-slide__img img {
  transform: scale(1);
  opacity: 1;
}

.fs-slide__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      transparent 85%,
      var(--surface-color) 100%);
  z-index: 1;
}

.fs-slide__body {
  flex: 1;
  padding: 36px 52px 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease 0.2s,
    transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s;
}

.fs-slide.active .fs-slide__body {
  opacity: 1;
  transform: translateX(0);
}

.fs-slide__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(var(--primary-color-rgb), 0.12);
  border: 1px solid rgba(var(--primary-color-rgb), 0.25);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-color);
  width: fit-content;
}

.fs-slide__title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.25;
  margin: 0;
}

.fs-slide__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.fs-slide__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary-color);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
}

.fs-slide__btn:hover {
  background: #08857a;
  transform: translateY(-1px);
}

.fs-slide__btn svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.fs-slide__btn:hover svg {
  transform: translateX(3px);
}

.fs-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  padding: 4px 12px;
  background: rgba(var(--background-color-rgb), 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fs-counter i {
  font-size: 12px;
}

.fs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--background-color-rgb), 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-color);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.fs-nav:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.fs-nav--prev:hover {
  transform: translateY(-50%) translateX(-2px) scale(1.1);
}

.fs-nav--next:hover {
  transform: translateY(-50%) translateX(2px) scale(1.1);
}

.fs-nav--prev {
  left: 12px;
}

.fs-nav--next {
  right: 12px;
}

.all-categories {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  padding-top: 0;
  position: relative;
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 24px;
  gap: 16px;
}

.content-wrapper::before {
  display: none;
}

.title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-color);
  white-space: nowrap;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 8px 16px;
}

.decorative-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 4px;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.filter-tab i {
  font-size: 12px;
}

.filter-tab:hover {
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.06);
}

.filter-tab.active {
  background: var(--primary-color);
  color: white;
}

.categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
}

.category-item {
  position: relative;
  background: rgba(var(--surface-color-rgb), 0.8);
  min-height: 330px;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.category-item.hidden {
  display: none;
}

.category-item a {
  text-decoration: none;
  width: 100%;
}

.category-item::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0) 70%);
  transform: translate(100%, -100%) rotate(270deg);
  transition: transform 1.7s ease;
  pointer-events: none;
}

.category-item:hover::before {
  transform: translate(-100%, 100%) rotate(270deg);
}

.category-item:hover {
  transform: translateY(-10px);
}

.image-container {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: white;
  margin-bottom: 1rem;
}

.category-slider__item {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.category-slider__item.active {
  opacity: 1;
  transform: scale(1);
}

.category-slider__item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 10px;
}

.category-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
  pointer-events: none;
}

.category-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #92989E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.category-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.card-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 7px 10px;
  border-radius: 10px;
}

.card-name-dot {
  width: 7px;
  height: 7px;
  background: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.card-stats {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-color);
  transition: var(--transition);
}

.card-stat svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.slider-labels {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  z-index: 10;
}

.new-label {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary-color);
}

.new-label i {
  font-size: 11px;
  line-height: 0.8;
}

.ft {
  background: var(--surface-color);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-color);
}

.ft-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 20px 44px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr 1.2fr;
  gap: 40px;
}

.ft-brand__logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.ft-brand__logo span {
  color: var(--primary-color);
}

.ft-brand__slogan {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ft-brand__socials {
  display: flex;
  gap: 8px;
}

.ft-social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.ft-social:hover {
  background: rgba(var(--primary-color-rgb), 0.15);
  border-color: rgba(var(--primary-color-rgb), 0.3);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.ft-col__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.ft-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ft-nav a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ft-nav a svg {
  color: var(--primary-color);
  flex-shrink: 0;
  opacity: 0.7;
}

.ft-nav a:hover {
  color: var(--text-color);
  transform: translateX(3px);
}

.ft-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ft-contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ft-contact__icon {
  width: 32px;
  height: 32px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
}

.ft-contact__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}

.ft-contact__label {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1;
  opacity: 0.7;
}

.ft-contact__val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s ease;
}

a.ft-contact__val:hover {
  color: var(--primary-color);
}

.ft-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-bottom__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ft-copy {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
}

.ft-legal {
  display: flex;
  gap: 20px;
}

.ft-legal a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.7;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ft-legal a:hover {
  color: var(--primary-color);
  opacity: 1;
}

.sx-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--background-color-rgb), 0.98);
  backdrop-filter: blur(30px) saturate(180%);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sx-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--background-color-rgb), 0.98);
  backdrop-filter: blur(30px) saturate(180%);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sx-box {
  width: 100%;
  max-width: 980px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: calc(100vh - 100px);
}

.sx-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.sx-header-icon {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.sx-input {
  flex: 1;
  padding: 4px 0;
  font-size: 1rem;
  background: transparent;
  border: none;
  color: var(--text-color);
  outline: none;
  min-width: 0;
  font-family: inherit;
}

.sx-input::placeholder {
  color: var(--text-muted);
}

.sx-chips {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.sx-chip {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.sx-chip.active {
  color: var(--text-color);
  background: var(--primary-color);
  border-color: transparent;
}

.sx-tabs {
  display: flex;
  padding: 5px 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.sx-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.sx-tab svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.sx-tab.active {
  color: var(--primary-color);
}

.sx-tab.active svg {
  opacity: 1;
}

.sx-tab:hover:not(.active) {
  color: var(--text-color);
}

.sx-body {
  flex: 1;
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.sx-panel {
  display: none;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.sx-panel.active {
  display: flex;
  flex-direction: column;
}

.sx-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow-y: auto;
  flex: 1;
}

.sx-cat-grid::-webkit-scrollbar {
  width: 3px;
}

.sx-cat-grid::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.sx-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 14px 18px;
  text-decoration: none;
  color: var(--text-color);
  transition: background 0.2s;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.sx-cat-card:nth-child(5n) {
  border-right: none;
}

.sx-cat-card:hover {
  background: rgba(var(--primary-color-rgb), 0.07);
}

.sx-cat-img-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.sx-cat-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sx-cat-name {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
  color: var(--text-color);
}

.sx-cat-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
}

#sx-panel-results {
  flex-direction: row;
}

.sx-results-list {
  width: 45%;
  flex-shrink: 0;
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sx-results-list::-webkit-scrollbar {
  width: 3px;
}

.sx-results-list::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.sx-results-inner {
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sx-group-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 10px 5px;
  opacity: 0.6;
}

.sx-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}

.sx-row:hover {
  background: rgba(var(--primary-color-rgb), 0.05);
}

.sx-row.active {
  background: rgba(var(--primary-color-rgb), 0.1);
  border-color: rgba(var(--primary-color-rgb), 0.22);
}

.sx-row-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: white;
  padding: 3px;
}

.sx-row-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.sx-row-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
  font-weight: 500;
}

.sx-results-detail {
  flex: 1;
  overflow-y: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sx-results-detail::-webkit-scrollbar {
  width: 3px;
}

.sx-results-detail::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.sx-detail-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2rem;
  color: var(--text-muted);
  opacity: 0.35;
  font-size: 12px;
}

.sx-detail-card {
  padding: 20px;
  animation: sxFadeIn 0.2s ease;
}

@keyframes sxFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sx-detail-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sx-detail-photo {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  object-fit: contain;
  background: white;
  padding: 12px;
  margin-bottom: 14px;
}

.sx-detail-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sx-detail-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-color);
  opacity: 0.7;
}

.sx-detail-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.35;
  margin: 0;
}

.sx-detail-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 2px 0;
}

.sx-detail-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 2px 0;
}

.sx-detail-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(var(--primary-color-rgb), 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin: 2px 0;
}

.sx-detail-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.sx-detail-inner.is-subcat {
  flex-direction: column;
}

.sx-detail-inner.is-subcat .sx-detail-photo {
  width: 100%;
  height: 160px;
}

.sx-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  font-family: inherit;
}

.sx-btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.sx-btn-primary:hover {
  background: #089e90;
  color: #fff;
}

.sx-btn-ghost {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.sx-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.sx-btn-ghost.in-fav {
  color: #e2556a;
  border-color: rgba(226, 85, 106, 0.35);
}

.sx-btn-ghost.in-cart {
  color: var(--primary-color);
  border-color: rgba(var(--primary-color-rgb), 0.35);
}

.sx-history-inner {
  padding: 10px 12px;
  overflow-y: auto;
  flex: 1;
}

.sx-history-inner::-webkit-scrollbar {
  width: 3px;
}

.sx-history-inner::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.sx-hist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}

.sx-hist-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.sx-hist-icon {
  color: var(--text-muted);
  opacity: 0.45;
  flex-shrink: 0;
}

.sx-hist-text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.sx-hist-del {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  opacity: 0;
  display: flex;
  align-items: center;
  transition: opacity 0.15s, color 0.15s;
}

.sx-hist-item:hover .sx-hist-del {
  opacity: 1;
}

.sx-hist-del:hover {
  color: #e55;
}

.sx-hist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 12px;
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 13px;
}

.sx-panel .sx-panel-start-hint {
  display: none;
  padding: 0;
}

.sx-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 10px;
  color: var(--text-muted);
  opacity: 0.5;
  font-size: 13px;
  text-align: center;
  height: 100%;
}

.sx-panel-start-hint {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2rem;
  text-align: center;
}

.sx-hint-icon {
  font-size: 36px;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 4px;
}

.sx-hint-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  opacity: 0.5;
}

.sx-hint-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.6;
  max-width: 240px;
  line-height: 1.55;
}

body.no-scroll {
  overflow: hidden;
}

.callback-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.callback-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
  display: flex;
  align-items: center;
  padding: 12px;
  background: var(--primary-color);
  color: white;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(10, 152, 139, 0.3);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
  overflow: hidden;
  animation: callback-pulse 2s infinite;
}

.callback-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(10, 152, 139, 0.4);
}

@keyframes callback-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 152, 139, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(10, 152, 139, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(10, 152, 139, 0);
  }
}

.callback-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}

.callback-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--surface-color);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid var(--border-color);
}

.callback-container.active .callback-panel {
  transform: translateX(0);
}

.callback-panel__header {
  padding: 24px;
  padding-bottom: 0;
  color: white;
  position: relative;
}

.callback-panel__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.callback-panel__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.callback-panel__operator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.callback-panel__operator-image {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 4px;
  padding-bottom: 0;
  overflow: hidden;
  border: 2px solid white;
}

.callback-panel__operator-image img {
  width: 100%;
  height: 107%;
  object-fit: contain;
}

.callback-panel__operator-info {
  flex: 1;
}

.callback-panel__operator-name {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.callback-panel__operator-role {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.callback-panel__mode-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.callback-panel__mode-btn {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.callback-panel__mode-btn.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.callback-panel__body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.callback-form {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.callback-form.active {
  display: flex;
}

.callback-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.callback-form__label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.callback-form__required {
  color: #ff6b6b;
}

.callback-form__input,
.callback-form__textarea {
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
  width: 100%;
}

.callback-form__input:focus,
.callback-form__textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.callback-form__textarea {
  min-height: 100px;
  resize: vertical;
}

.callback-form__agreement {
  margin: 10px 0;
  margin-bottom: 0;
}

.callback-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.callback-form__checkbox input {
  display: none;
}

.callback-form__checkbox-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: 2px;
}

.callback-form__checkbox input:checked+.callback-form__checkbox-mark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.callback-form__checkbox input:checked+.callback-form__checkbox-mark::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 12px;
}

.callback-form__checkbox-text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.callback-form__checkbox-text a:hover {
  text-decoration: underline;
}

.callback-form__submit {
  padding: 16px 32px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.callback-form__submit:hover {
  background: #08857a;
  transform: translateY(-2px);
}

.callback-form__notice {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.callback-form__error {
  color: #ff6b6b;
  font-size: 12px;
  min-height: 16px;
  display: none;
}

.callback-form__group.has-error .callback-form__error {
  display: block;
}

.callback-form__group.has-error .callback-form__input,
.callback-form__group.has-error .callback-form__textarea {
  border-color: #ff6b6b;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 17px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--background-color-rgb), 0.9);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: var(--surface-color);
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-color);
}

.mobile-menu-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-color);
}

.mobile-user-info {
  display: flex;
  flex-direction: column;
}

.mobile-username {
  font-weight: 600;
  color: var(--text-color);
  font-size: 16px;
}

.mobile-user-email {
  font-size: 14px;
  color: var(--text-muted);
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 20px;
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.mobile-nav {
  list-style: none;
  margin: 0 0 15px 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 5px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 16px 15px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.mobile-nav a:hover {
  background: var(--accent-light);
  color: var(--primary-color);
}

.mobile-nav a i {
  width: 24px;
  margin-right: 12px;
  font-size: 18px;
}

.mobile-badge-favorites {
  margin-left: auto;
  background: var(--primary-color);
  color: white;
  font-size: 12px;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-weight: 500;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.mobile-action-btn:hover {
  background: var(--accent-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.mobile-action-btn i {
  margin-right: 12px;
  font-size: 18px;
}

.mobile-action-accent {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white !important;
}

.mobile-action-accent:hover {
  background: #08857a;
  border-color: #08857a;
}

.mobile-badge-cart {
  margin-left: auto;
  background: var(--text-color);
  color: var(--background-color);
  font-size: 12px;
  min-width: 24px;
  height: 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-weight: 600;
}

.cookie-notice {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  max-width: 420px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  z-index: 1000;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.cookie-notice.active {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  color: var(--text-color);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-btn {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn:hover {
  background: #08857a;
  transform: translateY(-1px);
}

.engineering-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-color);
  min-height: 280px;
  position: relative;
}

.cta-photo {
  width: 36%;
  flex-shrink: 0;
  position: relative;
  background: #1a3a3a;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  align-self: stretch;
}

.cta-photo__img {
  width: 55%;
  object-fit: contain;
  display: block;
  margin-bottom: -45px;
  position: relative;
  z-index: 2;
}

.cta-body {
  flex: 1;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.cta-deco {
  position: absolute;
  right: -100px;
  top: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(var(--primary-color-rgb), 0.12);
  border: 1px solid rgba(var(--primary-color-rgb), 0.25);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-color);
  width: fit-content;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

.cta-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--primary-color);
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: fit-content;
  font-family: 'Nunito', sans-serif;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background: #08857a;
  transform: translateY(-2px);
}

.cta-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cta-btn:hover svg {
  transform: translateX(3px);
}

.category-item--special {
  grid-column: span 2;
  height: 345px;
  background: rgba(var(--surface-color-rgb), 0.8);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 0;
}

.category-item--special:hover {
  transform: none;
}

.category-item--special::before {
  display: none;
}

.special-card-link {
  display: flex;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.special-card-img {
  width: 45%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: white;
}

.special-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.special-card-body {
  flex: 1;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.special-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--primary-color-rgb), 0.12);
  border: 1px solid rgba(var(--primary-color-rgb), 0.25);
  border-radius: 20px;
  font-size: 11px;
  color: var(--primary-color);
  font-weight: 600;
  padding: 4px 12px;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.special-card-tag-dot {
  width: 5px;
  height: 5px;
  background: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.special-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.special-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.special-card-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1rem;
}

.special-card-attr {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-color);
}

.special-card-attr-dot {
  width: 5px;
  height: 5px;
  background: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.sx-detail-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.sx-detail-new-label {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  color: white;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

.sx-detail-new-label i {
  font-size: 10px;
}

@media (max-width: 790px) {

  :root {
    --header-height: 60px;
  }

  .header-inner {
    gap: 14px;
  }

  .logo {
    padding-bottom: 5px;
  }

  .logo a {
    font-size: 22px;
  }

  .header-nav,
  .header-actions {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .fs-section {
    height: auto;
    min-height: 420px;
  }

  .fs-slide {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-slide__img {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
  }

  .fs-slide__img::after {
    background: linear-gradient(to bottom, transparent 50%, var(--surface-color) 100%);
  }

  .fs-slide__body {
    padding: 16px 20px 24px;
    gap: 10px;
    transform: translateY(16px);
    transition: opacity 0.6s ease 0.2s,
      transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s;
  }

  .fs-slide.active .fs-slide__body {
    transform: translateY(0);
  }

  .fs-slide__title {
    font-size: 1.1rem;
  }

  .fs-slide__desc {
    -webkit-line-clamp: 2;
  }

  .fs-nav--prev {
    left: 8px;
  }

  .fs-nav--next {
    right: 8px;
  }

  .cta-photo__img {
    width: 100%;
  }

  .ft-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cookie-notice {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .search-bar {
    border: 1px solid var(--border-color);
  }

  .search-icon-left {
    font-size: 12px;
  }

  .search-input {
    padding: 10px;
    font-size: 12px;
  }

  .search-filter-btn {
    font-size: 11px;
  }
}

@media (max-width: 665px) {
  .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .title {
    width: 338px;
  }

  .fs-wrap {
    margin-bottom: 1rem;
    margin-top: 1rem;
  }

  .categories-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .category-item {
    min-height: 280px;
  }

  .image-container {
    height: 180px;
  }

  .category-item--special {
    grid-column: span 2;
    height: auto;
  }

  .cta-wrapper {
    flex-direction: column;
  }

  .cta-photo,
  .cta-deco {
    display: none;
  }

  .cta-body {
    padding: 24px 24px 28px;
  }
}

@media (max-width: 565px) {
  .search-bar {
    display: none;
  }
}

@media (max-width: 480px) {

  :root {
    --header-height: 54px;
  }

  .title,
  .filter-tabs {
    width: 100%;
    font-size: 14px;
  }

  .categories-list {
    grid-template-columns: 1fr !important;
  }

  .category-item--special {
    grid-column: span 1 !important;
  }

  .special-card-link {
    flex-direction: column;
  }

  .special-card-img {
    width: 100%;
    height: 180px;
  }

  .special-card-title {
    font-size: 1.05rem;
  }

  .special-card-desc {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ft-top {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 20px !important;
    padding: 28px 12px 24px !important;
  }

  .ft-brand__logo {
    font-size: 18px;
  }

  .fs-wrap {
    padding: 0 12px;
  }

  .fs-section {
    min-height: 380px;
    border-radius: 18px;
  }

  .fs-slide__img {
    height: 190px;
  }

  .fs-slide__body {
    padding: 12px 16px 20px;
  }

  .fs-slide__title {
    font-size: 1rem;
  }

  .all-categories {
    padding-left: 12px;
    padding-right: 12px;
  }

  .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .categories-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-item--special {
    grid-column: span 2;
  }

  .engineering-cta .container {
    padding: 0 12px;
  }

  .cta-body {
    padding: 20px;
  }

  .cta-title {
    font-size: 1.2rem;
  }

  .ft-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 12px 28px;
  }

  .ft-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .announcement {
    margin-left: 12px;
    margin-right: 12px;
  }

  .announcement p {
    font-size: 14px;
    white-space: normal;
    padding: 0 10px;
  }

  .sx-overlay {
    padding: 1rem;
  }

  .sx-chips {
    display: none;
  }

  .sx-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #sx-panel-results {
    flex-direction: column;
  }

  .cta-title {
    font-size: 16px;
  }

  .cta-desc {
    font-size: 12px;
  }

  .category-slider__item img {
    height: 80%;
  }

  .all-categories,
  .engineering-cta {
    padding-bottom: 1rem;
  }

  .sx-results-list {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    max-height: 200px;
  }
}

@media (hover: none) and (pointer: coarse) {

  .category-item:hover,
  .ft-social:hover,
  .ft-nav a:hover,
  .filter-tab:hover,
  .fs-slide__btn:hover,
  .cta-btn:hover,
  .action-btn:hover,
  .nav-link:hover,
  .mobile-action-btn:hover,
  .mobile-nav a:hover,
  .sx-cat-card:hover,
  .sx-row:hover,
  .callback-form__submit:hover,
  .cookie-btn:hover {
    transform: none;
    background: unset;
    color: unset;
    border-color: unset;
  }

  .category-item::before {
    display: none;
  }
}