/* ==========================================================================
   1. БАЗОВЫЕ СТИЛИ И СБРОС
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

body {
  background-color: #0d0d0d;
  color: #f0f0f0;
  font-family: 'Alumi Sans', 'Arial Black', sans-serif;
  letter-spacing: 0.5px;
  overflow-x: hidden;
}

/* ==========================================================================
   2. ШАПКА И НАВИГАЦИЯ
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #1e1e1e; 
  height: 90px;
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr; /* Ровно 3 колонки: левая, центр (лого), правая */
  align-items: center;
  padding: 0 20px;
  border-bottom: 2px solid #222;
  transition: height 0.3s ease, padding 0.3s ease;
}

header.scrolled {
  height: 60px;
  border-bottom-color: #222;
}

/* Левый блок (где «О НАС») */
.header-left {
  display: flex;
  align-items: center;
  justify-self: start;
}

/* Логотип строго по центру во второй колонке */
.logo-link {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 70px;
  width: auto;
  display: block;
  transition: height 0.3s ease, transform 0.25s ease, filter 0.25s ease;
}

header.scrolled .logo-img {
  height: 40px;
}

/* Правый блок (корзина) */
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-link:hover .logo-img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 30, 39, 0.6));
}

.about-link {
  color: #888;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  user-select: none;
}

.about-link:hover {
  color: #ff1e27;
  text-shadow: 0 0 10px rgba(255, 30, 39, 0.6);
}

.main-footer.highlight-footer {
  animation: footerGlow 1.8s ease-in-out;
}

@keyframes footerGlow {
  0% {
    box-shadow: 0 -15px 35px rgba(255, 30, 39, 0.8);
    border-top-color: #ff1e27;
  }
  50% {
    box-shadow: 0 -20px 50px rgba(255, 30, 39, 1);
    border-top-color: #ffffff;
  }
  100% {
    box-shadow: none;
    border-top-color: #ff1e27;
  }
}

#cart-btn {
  grid-column: 3;
  justify-self: end;
  white-space: nowrap;
}

.sub-navbar {
  background: #121212;
  border-bottom: 2px solid #ff1e27;
  padding: 8px 20px;
  position: sticky;
  top: 90px;
  z-index: 999;
  transition: top 0.3s ease;
}

header.scrolled + .sub-navbar {
  top: 60px;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
}


.search-btn {
  background: #222 !important;
  color: #aaa !important;
  border: none !important;
  border-left: 1px solid #333 !important;
  padding: 8px 12px !important;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease !important;
}

.search-btn:hover {
  background: #ff1e27 !important;
  color: #fff !important;
}

.nav-links {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  background: transparent;
  color: #f0f0f0;
  border: none !important;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

.nav-btn:hover {
  background: #ff1e27 !important;
  color: #000 !important;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #141414;
  border: 2px solid #ff1e27;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.8);
  z-index: 100;
  max-height: 380px;
  overflow-y: auto;
}

.dropdown-content a {
  color: #ccc;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid #222;
  transition: background 0.15s, color 0.15s;
}

.dropdown-content a:hover {
  background-color: #ff1e27;
  color: #000;
}

.dropdown:hover .dropdown-content {
  display: none;
}

.dropdown:hover .dropdown-btn {
  background: #ff1e27 !important;
  color: #000 !important;
}

/* ==========================================================================
   3. ПРОМО-СЛАЙДЕР
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 145px);
  min-height: 450px;
  overflow: hidden;
  background: #000;
  touch-action: pan-y;
}

.slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.slide {
  position: relative;
  top: 0; left: 0;  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content .slide-btn {
  display: inline-block;
  text-decoration: none;
  background: #222;
  color: #fff;
  padding: 12px 25px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  border: 1px solid #222;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.slide-content .slide-btn:hover {
  background: #ff1e27;
  color: #000;
  border-color: #ff1e27;
}

.slide-content .slide-btn:visited {
  color: #fff;
}

.slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.slide-content {
  position: absolute;
  top:47%;
  z-index: 2;
  padding-left: 50px;
  padding: 0 90px;
  max-width: 700px;
}

.slide-content h2 {
  font-size: 2.8rem;
  color: #fff;
  border-left: 6px solid #ff1e27;
  padding-left: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
  line-height: 1.1;
}

.slide-content p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 20px;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0, 0, 0, 0.75);
  color: #ff1e27;
  padding-bottom: 10px;
  padding: 12px 16px;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
}

.slider-btn:hover {
  background: #ff1e27;
  color: #000;
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #444;
  cursor: pointer;
}

.dot.active, .dot:hover {
  background: #ff1e27;
}


/* ==========================================================================
   СТИКЕРЫ
   ========================================================================== */
.anarchy-custom-stickers {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  border: 2px solid #ff3333;
  border-radius: 12px;
  padding: 40px;
  margin: 30px auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 51, 51, 0.15);
  width: 100%;
}

/* Декоративный фоновый акцент */
.anarchy-custom-stickers::before {
  content: "ANARCHY";
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
}

.custom-stickers-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.glow-badge {
  display: inline-block;
  background-color: #ff3333;
  color: #fff;
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

.custom-stickers-title {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 32px;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.highlight-text {
  color: #ff3333;
  text-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
}

.custom-stickers-subtitle {
  font-family: 'Science Gothic', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #cccccc;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.custom-stickers-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.custom-stickers-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: #e0e0e0;
  font-family: 'Science Gothic', sans-serif;
}

.list-icon {
  font-size: 20px;
}

.custom-stickers-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.custom-stickers-footer p {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 16px;
  color: #ff1e27;
  max-width: 550px;
  margin: 0;
  line-height: 1.4;
}

.custom-order-btn {
  background-color: #ff3333;
  color: #ffffff;
  font-family: 'Dela Gothic One', sans-serif;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 15px rgba(255, 51, 51, 0.4);
  text-align: center;
}

.custom-order-btn:hover {
  background-color: #ff1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 51, 51, 0.6);
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
  .anarchy-custom-stickers {
    padding: 20px;
    margin: 15px;
  }
  .custom-stickers-title {
    font-size: 22px;
  }
  .custom-stickers-list li {
    font-size: 16px;
  }
  .custom-stickers-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .custom-order-btn {
    width: 100%;
    box-sizing: border-box;
  }
}


/* ==========================================================================
   РАЙДЕРЫ
   ========================================================================== */
/* --- Стили для страницы райдеров --- */
.header-right-block {
  justify-self: end; 
  display: flex; 
  align-items: center; 
  gap: 24px;
}

.active-nav-btn {
  color: #ff1e27 !important;
}

.riders-page-container {
  max-width: 1200px; 
  margin: 20px auto; 
  width: 100%;
}

.riders-subtitle {
  color: #888; 
  font-family: sans-serif; 
  font-size: 0.95rem; 
  margin-bottom: 30px;
  white-space: pre-line;
}

.riders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.rider-card {
  background: #141414;
  border: 1px solid #262626;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.rider-card:hover {
  border-color: #ff1e27;
  transform: translateY(-4px);
}

.rider-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.rider-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rider-img-wrapper:hover img {
  transform: scale(1.05);
}

.rider-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.rider-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.rider-name:hover {
  color: #ff1e27;
}

.rider-city {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}

.rider-bio-snippet {
  font-family: sans-serif;
  font-size: 0.92rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #222;
  padding-top: 15px;
  margin-top: auto;
}

.tg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a1a1a;
  color: #fff !important;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #333;
  transition: all 0.2s ease;
}

.tg-link:hover {
  background: #ff1e27;
  border-color: #ff1e27;
  color: #000 !important;
}

.details-btn {
  background: transparent;
  color: #ff1e27;
  border: 1px solid #ff1e27;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.details-btn:hover {
  background: #ff1e27;
  color: #fff;
}

/* Адаптивный контейнер модалки райдера */
.rider-modal-box {
  background: #141414;
  border: 1px solid #ff1e27;
  border-radius: 8px;
  padding: 30px;
  width: 100%;
  max-width: 1200px; /* Ширина модалки */
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}

/* Двухколоночная сетка внутри модалки */
.rider-modal-inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 10px;
}

.modal-rider-img-wrap {
  flex: 0 0 60%;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1 / 1;
}

.modal-rider-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-rider-text-wrap {
  flex: 1;
}

.modal-rider-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.modal-rider-city {
  color: #ff1e27;
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.modal-rider-desc {
  color: #ccc;
  font-family: sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  white-space: pre-line;
  margin-bottom: 25px;
}

.modal-tg-btn {
  display: inline-flex;
  padding: 12px 24px;
  font-size: 0.95rem;
}


/* ==========================================================================
   4. СЕКЦИЯ О НАС
   ========================================================================== */
.about-section {
  scroll-margin-top: 90px;
  background: #0d0d0d;
  padding: 60px 20px;
  border-bottom: 2px solid #1f1f1f;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 40px;
  align-items: stretch;
}

.about-logo-wrapper {
  max-width: 600px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.about-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 30, 39, 0.2));
  transition: transform 0.3s ease;
}

.about-logo-wrapper:hover .about-logo-img {
  transform: scale(1.05);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-badge {
  color: #ff1e27;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.about-content h2 {
  font-size: 2rem;
  color: #fff;
  margin: 5px 0 15px 0;
}

.about-description {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: sans-serif;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #141414;
  padding: 14px 18px;
  border-left: 4px solid #333;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.feature-item:hover {
  background: #1a1a1a;
  border-left-color: #ff1e27;
  box-shadow: 0 4px 15px rgba(255, 30, 39, 0.25);
  transform: translateX(6px);
}

.feature-item:hover h4 {
  color: #ff1e27;
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-item h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 2px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.feature-item p {
  color: #777;
  font-size: 0.82rem;
  margin: 0;
  font-family: sans-serif;
}

.about-reviews-wrapper {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: center;
}

.about-reviews-btn {
  display: inline-block;
  width: 100%;
  max-width: 650px;
  padding: 18px 30px;
  background: #141414;
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid #ff1e27;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(255, 30, 39, 0.2);
  transition: all 0.25s ease;
}

.about-reviews-btn:hover {
  background: #ff1e27;
  color: #000 !important;
  box-shadow: 0 0 30px rgba(255, 30, 39, 0.6);
  transform: translateY(-3px);
}

/* ==========================================================================
   5. ИНФО-МОДАЛИ
   ========================================================================== */
.feature-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.feature-modal.is-active {
  display: flex !important;
}

.feature-modal-content {
  background: #141414;
  border: 2px solid #ff1e27;
  padding: 30px;
  max-width: 850px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 6px;
  position: relative;
  color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.feature-modal-content::-webkit-scrollbar {
  width: 6px;
}
.feature-modal-content::-webkit-scrollbar-track {
  background: #0a0a0a;
}
.feature-modal-content::-webkit-scrollbar-thumb {
  background: #ff1e27;
  border-radius: 3px;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #888;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  z-index: 10;
  user-select: none;
}

.close-modal:hover {
  background: #ff1e27;
  border-color: #ff1e27;
  color: #fff;
  transform: rotate(90deg);
  box-shadow: 0 0 12px rgba(255, 30, 39, 0.5);
}

.modal-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 15px auto 20px auto;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #282828;
}

.highlight {
  color: #ff1e27;
  font-weight: 700;
}

.highlight-bg {
  background: rgba(255, 30, 39, 0.2);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(255, 30, 39, 0.4);
}

.modal-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.modal-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-slide.active {
  opacity: 1;
}

.modal-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #ff1e27;
  border: 1px solid #ff1e27;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-slider-btn:hover {
  background: #ff1e27;
  color: #000;
}

.modal-slider-btn.prev { left: 10px; }
.modal-slider-btn.next { right: 10px; }

.modal-text {
  white-space: pre-wrap;
  font-family: sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
}

/* ==========================================================================
   6. КОНТЕНТ И КАТЕГОРИИ
   ========================================================================== */
.main-content {
  align-items: center;
  max-width: 1700px;
  margin: 0 auto;
  padding: 15px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.catalog-search-section {
  max-width: 1400px;
  margin: 30px auto 20px;
  padding: 0 20px;
  position: relative;
}

/*внутренностям возвращаем кликабельность */
.search-input-wrapper img, 
.search-input-wrapper svg,
.search-input-wrapper .search-icon {
  pointer-events: none; /* Чтобы клики проходили сквозь иконку прямо в инпут */
}

.catalog-search-container {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 18px;
  font-size: 1.2rem;
  opacity: 0.6;
  pointer-events: none;
}

#catalog-search-input {
  width: 100%;
  padding: 16px 45px 16px 50px;
  background: #181818;
  border: 2px solid #333;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  outline: none;
  pointer-events: auto !important;
  position: relative;
  z-index:2;
}

#catalog-search-input::placeholder {
  color: #666;
  font-size: 0.88rem;
  font-weight: 500;
}

#catalog-search-input:focus {
  border-color: #ff1e27;
  background: #1e1e1e;
  box-shadow: 0 0 15px rgba(255, 30, 39, 0.25);
}

.clear-search-btn {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: #888;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s;
}

.clear-search-btn:hover {
  color: #ff1e27;
}

.search-btn {
  padding: 16px 32px;
  background: #ff1e27;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.search-btn:hover {
  background: #e01b22;
}

.search-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   7. СЕТКА КАТАЛОГА И КАРТОЧКИ ТОВАРОВ
   ========================================================================== */
#catalog.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #141414;
  border: 1px solid #262626;
  padding: 15px;
  display: flex;
  border-radius: 8px !important;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease;
  aspect-ratio: auto;
  overflow: hidden;
}

.card:hover {
  border-color: #ff1e27;
}

.card-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px !important;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-img-wrapper:hover img {
  transform: scale(1.05);
}

.card h3 {
  font-size: 1rem;
  margin: 3px 0;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  color: #888;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.price {
  font-size: 1.7rem;
  font-weight: 900;
  color: #ff1e27;
  margin: 4px 0;
}

.badge {
  display: inline-block;
  background: #262626;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  width: fit-content;
}

.badge.used {
  background: #ff1e27;
  color: #fff;
}

button {
  background: #ff1e27;
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-family: inherit;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}

button:hover {
  background: #d40008;
}

/* ==========================================================================
   8. МОДАЛЬНЫЕ ОКНА И ФОРМЫ
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.modal.hidden { display: none; }

.modal-content {
  background: #141414;
  border: 3px solid #ff1e27;
  padding: 25px;
  max-width: 450px;
  width: 90%;
  position: relative;
}

.modal-content.modal-large {
  max-width: 1000px;
  width: 90%;
  max-height: 88vh;
  margin-top: 10px;
  overflow-y: auto;
  padding: 24px;
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #ff1e27;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: white;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  z-index: 10;
  user-select: none;
}

.close:hover {
  background: #ff1e27;
  border-color: #ff1e27;
  color: #fff;
  transform: rotate(90deg);
  box-shadow: 0 0 12px rgba(255, 30, 39, 0.5);
}

.price-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.price-large {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ff1e27;
}

.product-main-img-wrapper {
  width: 100%;
  flex: 1;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
}

.product-detail-title {
  margin-right: 44px !important; 
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 10px 0;
  border: none;
  padding: 0;
}

.gallery-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.info-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding-top: 10px;
}

.info-section button {
  margin-top: auto;
  flex-shrink: 0;
}

.product-description-text {
  color: #ccc;
  font-family: sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
  flex: 1;
  max-height: none !important;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 6px;
}

.thumbnails {
  margin-top: auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.thumb-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #333;
  opacity: 0.5;
}

.thumb-img:hover, .thumb-img.active {
  opacity: 1;
  border-color: #ff1e27;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

form input {
  padding: 10px;
  background: #0d0d0d;
  border: 1px solid #333;
  color: #fff;
  font-family: inherit;
}

form input:focus {
  outline: none;
  border-color: #ff1e27;
}

/* ==========================================================================
   9. УВЕДОМЛЕНИЯ (TOASTS) И КОРЗИНА
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: #141414;
  color: #fff;
  border: 2px solid #ff1e27;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 30, 39, 0.3);
  animation: slideInRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 340px;
}

.toast-title {
  font-size: 0.85rem;
  font-weight: bold;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.toast-product-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.toast-checkout-btn {
  background: #ff1e27;
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: transform 0.1s ease, background 0.2s ease;
}

.toast-checkout-btn:hover {
  background: #e01b22;
  transform: translateY(-1px);
}

@keyframes slideInRight {
  from {
    transform: translateX(110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

button.in-cart {
  background: #1f1f1f !important;
  color: #ff1e27 !important;
  border: 1px solid #ff1e27 !important;
  cursor: pointer;
}

button.in-cart:hover {
  background: #ff1e27 !important;
  color: #fff !important;
}

.cart-items-list {
  max-height: 350px;
  overflow-y: auto;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center;
  gap: 15px;
  background: #0d0d0d;
  padding: 10px;
  border: 1px solid #262626;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.cart-item-title {
  font-size: 0.95rem;
  color: #fff;
}

.cart-item-price {
  color: #ff1e27;
  font-size: 1.1rem;
  font-weight: bold;
}

.cart-remove-btn {
  background: transparent !important;
  color: #888 !important;
  font-size: 1.2rem;
  padding: 0 8px !important;
  cursor: pointer;
}

.cart-remove-btn:hover {
  color: #ff1e27 !important;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #222;
  padding-top: 15px;
}

.cart-total {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}

.cart-total span {
  color: #ff1e27;
}

/* ==========================================================================
   10. ПАНЕЛЬ ФИЛЬТРОВ
   ========================================================================== */
.filter-panel {
  background: #121212;
  border: 1px solid #222;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #888;
  text-transform: uppercase;
  min-width: 90px;
  flex-shrink: 0;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1;
}

.filter-btn {
  background: #1a1a1a;
  color: #ccc;
  border: 1px solid #2e2e2e !important;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn:hover {
  border-color: #ff1e27 !important;
  color: #fff;
}

.filter-btn.active {
  background: #ff1e27 !important;
  color: #fff !important;
  border-color: #ff1e27 !important;
  box-shadow: 0 0 10px rgba(255, 30, 39, 0.4);
}

.more-toggle-btn {
  background: #1a1a1a !important;
  color: #ff1e27 !important;
  border: 1px solid #ff1e27 !important;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.more-toggle-btn:hover {
  background: #ff1e27 !important;
  color: #000 !important;
}

.active-filters-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.active-filters-container:empty {
  margin-bottom: 0;
  min-height: 0;
  display: none;
}

.filter-chip {
  background: #181818;
  border: 1px solid #333;
  color: #aaa;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s ease;
}

.filter-chip:hover {
  border-color: #666;
}

.filter-chip span.chip-val {
  color: #fff;
}

.filter-chip .remove-filter {
  color: #ff1e27;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  margin-left: 2px;
}

.filter-chip .remove-filter:hover {
  color: #fff;
}

.clear-all-btn {
  background: transparent !important;
  color: #666 !important;
  border: none !important;
  text-decoration: underline;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 4px 6px !important;
}

.clear-all-btn:hover {
  color: #ff1e27 !important;
}

.price-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.sort-buttons {
  display: flex;
  gap: 6px;
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 10px;
}

.price-range-inputs input {
  background: #141414;
  color: #fff;
  border: 1px solid #333;
  padding: 6px 10px;
  width: 90px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.price-range-inputs input::-webkit-outer-spin-button,
.price-range-inputs input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.price-range-inputs input[type="number"] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.price-range-inputs input:focus {
  border-color: #ff1e27;
}

/* ==========================================================================
   11. ФУТЕР
   ========================================================================== */
.main-footer {
  background: #121212;
  border-top: 2px solid #ff1e27;
  margin-top: 60px;
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #222;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 12px;
}

.footer-block p {
  color: #888;
  font-family: sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-block h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-left: 3px solid #ff1e27;
  padding-left: 10px;
}

.footer-block ul {
  list-style: none;
}

.footer-block ul li {
  margin-bottom: 8px;
}

.footer-block ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-block ul li a:hover {
  color: #ff1e27;
}

.footer-block a {
  color: #ff1e27;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1400px;
  margin: 20px auto 0;
  text-align: center;
  color: #555;
  font-size: 0.8rem;
  font-family: sans-serif;
}

/* ==========================================================================
   13. СТИЛИ СТРАНИЦЫ ОФОРМЛЕНИЯ ЗАКАЗА (CHECKOUT)
   ========================================================================== */
.checkout-page-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 20px;
}

.checkout-section {
  background: #141414;
  border: 1px solid #262626;
  border-radius: 8px !important;
  padding: 24px;
}

.checkout-section h3 {
  font-size: 1.4rem;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
  border-left: 4px solid #ff1e27;
  padding-left: 10px;
}

.checkout-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.back-to-catalog-link {
  color: #888;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.back-to-catalog-link:hover {
  color: #ff1e27;
}

.checkout-cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 5px;
}

.checkout-item-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0d0d0d;
  border: 1px solid #222;
  padding: 12px;
  border-radius: 6px !important;
}

.checkout-item-img-wrapper {
  width: 75px;
  height: 75px;
  aspect-ratio: 1 / 1;
  border-radius: 6px !important;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  flex-shrink: 0;
}

.checkout-item-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.checkout-item-img-wrapper:hover img {
  transform: scale(1.08);
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-info h4 {
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.checkout-item-info h4:hover {
  color: #ff1e27;
}

.checkout-total-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #222;
  margin-top: 20px;
  padding-top: 15px;
  font-size: 1.3rem;
  font-weight: 900;
}

.checkout-price-highlight {
  color: #ff1e27;
  font-size: 1.8rem;
}

.checkout-subtitle {
  color: #888;
  font-family: sans-serif;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.opt-label {
  color: #666;
  font-size: 0.75rem;
  font-weight: normal;
}

.form-group input,
.form-group textarea {
  background: #0d0d0d;
  border: 1px solid #333;
  color: #fff;
  padding: 12px;
  font-family: sans-serif;
  font-size: 0.95rem;
  border-radius: 4px !important;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff1e27;
}

.contact-error-msg {
  display: none; /* Гарантированно скрыт, пока нет текста/ошибки */
  color: #ff1e27;
  background: rgba(255, 30, 39, 0.1);
  border: 1px solid #ff1e27;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 16px;
  border-radius: 4px;
}

/* Показываем блок только когда убираем класс hidden */
.contact-error-msg:not(.hidden) {
  display: block !important;
}

.checkout-submit-btn {
  width: 100%;
  padding: 16px;
  background: #ff1e27;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.checkout-submit-btn:hover {
  background: #d40008;
}

.checkout-submit-btn:active {
  transform: scale(0.99);
}

/* Красная кнопка перехода в каталог для пустой корзины */
.checkout-catalog-red-btn {
  display: inline-block;
  background: #ff1e27;
  color: #fff !important;
  font-family: 'Science Gothic', sans-serif;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.checkout-catalog-red-btn:hover {
  background: #d40008;
  color: #fff !important;
}

.checkout-catalog-red-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   12. ПОЛНАЯ АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА
   ========================================================================== */
@media (max-width: 1100px) {
  #catalog.grid { 
    grid-template-columns: repeat(3, 1fr); 
  }
}

@media (max-width: 900px) {
  header {
    height: auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
  }

  .about-section {
    padding: 20px 20px;
  }

  .logo-img {
    height: 48px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .sub-navbar {
    top: 0 !important;
    padding: 10px 12px;
  }

  .nav-container {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .nav-links {
    width: 100%;
    overflow-x: visible;
    white-space: nowrap;
    justify-content: center;
    padding-bottom: 4px;
    flex-wrap: wrap;
  }

  .nav-btn {
    font-size: 1rem;
    padding: 6px 12px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-logo-wrapper {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: calc(95vh - 180px) !important;
    min-height: 400px;
  }

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

  .slide-content {
    top:60%;
    padding: 0 20px 60px 20px !important; /* Добавили отступ снизу, чтобы не перекрывать стрелки */
  }

  .slide-content h2 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .rider-modal-box {
    padding: 20px;
    width: 95%;
    padding-top: 50px;
  }

  .rider-modal-inner {
    flex-direction: column;
    gap: 20px;
  }
  
  .modal-rider-img-wrap {
    flex: none;
    width: 100%;
    max-height: 300px;
  }

  /* 3. ТОЛЬКО НА МОБИЛКЕ: стрелки слайдера вниз и поменьше */
  .slider-btn,
  .slider-btn.prev,
  .slider-btn.next {
    top: auto !important;          /* Убираем выравнивание по центру */
    bottom: 12px !important;       /* Опускаем в самый низ баннера */
    transform: none !important;
    width: 32px !important;        /* Компактный размер */
    height: 32px !important;
    padding: 0 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10 !important;
  }

  .slider-btn.prev {
    left: 12px !important;
  }

  .slider-btn.next {
    right: 12px !important;
  }

  /* 4. Точки навигации чуть выше стрелок */
  .slider-dots {
    bottom: 20px !important;
  }

  .nav-menu {
    font-size: 13px; /* Уменьшаем от базового */
    gap: 8px;
  }
  
  .nav-item {
    padding: 6px 10px; /* Делаем плашки более компактными */
  }

  /* Фиксим перекрытие дропдауна */
  .header-navigation {
    position: relative;
    z-index: 10; /* Поднимаем весь навбар над баннером */
  }

  .hero-banner {
    position: relative;
    z-index: 1; /* Баннер остается на нижнем слое */
  }

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

  .card {
    padding: 10px;
  }

  .price {
    font-size: 1.3rem;
  }

  .card h3 {
    font-size: 0.88rem;
  }

  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .filter-label {
    min-width: auto;
  }

  .price-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-range-inputs {
    margin-left: 0;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modal-content.modal-large {
    padding: 16px;
    width: 95%;
    max-height: 92vh;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .toast-container {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }

  .toast {
    max-width: 100%;
  }

  .cart-item {
    grid-template-columns: 50px 1fr auto;
    gap: 20px;
  }

  .cart-item-price {
    grid-column: 2;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  #catalog.grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  #catalog-search-input {
    padding: 12px 35px 12px 40px;
    font-size: 0.9rem;
  }

  .price-range-inputs input {
    width: 75px;
  }

  .sort-buttons {
    flex-direction: column;
    width: 100%;
  }

  .nav-btn {
    font-size: 0.8rem;
  }

  .sort-buttons .filter-btn {
    width: 100%;
    text-align: center;
  }
}
