/* CSS Variables - Exact values from Figma */
:root {
  --container-width: 1440px;
  --container-padding: 152px;
  --header-height: 169px;
  --footer-height: 368px;
  
  /* Colors from Figma */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-muted: #8C8F96;
  --color-brand: #0FC998;
  --color-tile: #F6F6F7;
  --color-metrics: #A8C7B9;
  --color-gray: #D9D9D9;
  --color-light-gray: #EEF1F3;
  
  /* Typography from Figma */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-weight-300: 300;
  --font-weight-400: 400;
  --font-weight-600: 600;
  --font-weight-700: 700;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-400);
  line-height: 1.6;
  color: var(--color-black);
  background: var(--color-white);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}



/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0;
  background: var(--color-white);
}

.breadcrumbs__content {
  display: flex;
  align-items: center;
}

.breadcrumbs__text {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.5em;
  letter-spacing: -0.03em;
}

/* Hero Section */
.hero {
  background: var(--color-tile);
  padding: 0;
  position: relative;
  overflow: hidden;
  height: 300px;
}

.hero__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.hero__title {
  font-size: clamp(32px, 8vw, 64px);
  font-weight: var(--font-weight-700);
  line-height: 0.375em;
  letter-spacing: -0.03em;
  color: var(--color-muted);
  margin-bottom: 20px;
  margin-top: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .hero__title {
    margin-top: 48px;
  }
  
  .hero__description {
    margin-top: 48px;
  }
  
  /* Products Grid Mobile - Horizontal Scroll */
  .products-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 24px;
    margin: 0 -24px;
    align-items: flex-start;
  }
  
  .filters__right {
    width: 100%;
    overflow: visible;
  }
  
  /* Product Card Mobile */
  .product-card {
    min-width: 393px;
    max-width: 393px;
    width: 393px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    flex-shrink: 0;
    scroll-snap-align: start;
    align-self: flex-start;
  }
  
  /* Название - сверху */
  .product-card__col-1 {
    width: 100%;
    margin: 0;
    order: -1 !important;
  }
  
  /* Полностью скрываем блок с изображением */
  .product-card__col-2 {
    display: none !important;
  }
  
  .product-card__col-1 .product-card__specs {
    display: none;
  }
  
  /* Скрываем все изображения */
  .product-card__image,
  .product-card__image img,
  .product-card img {
    display: none !important;
  }
  
  /* Цена и кнопка - снизу */
  .product-card__col-3 {
    width: 100%;
    margin: 0;
    order: 1 !important;
    background: #F6F6F7;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
  }
  
  /* Кнопки и элементы управления */
  .product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-add-to-cart {
    width: 100%;
    height: 48px;
    font-size: 14px;
    border-radius: 48px;
  }
  
  .quantity-control {
    width: 100%;
    height: 48px;
  }
  
  .product-card__title {
    font-size: 16px;
    line-height: 1.3;
  }
  
  .product-card__price {
    font-size: 20px;
  }
}

/* Уменьшение размера шрифта и line-height на основе количества символов (через data-атрибут) */
.hero__title[data-length="long"] {
  font-size: clamp(36px, 7vw, 56px);
  line-height: 0.8em;
}

.hero__title[data-length="very-long"] {
  font-size: clamp(28px, 5.5vw, 48px);
  line-height: 0.8em;
}

.hero__description {
  font-size: 20px;
  font-weight: var(--font-weight-700);
  line-height: 1em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  max-width: 424px;
  margin-bottom: 40px;
}

/* Хлебные крошки в hero */
.hero__breadcrumbs {
  margin-bottom: 10px;
}

.hero__breadcrumbs .breadcrumbs__text {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.5em;
  letter-spacing: -0.03em;
}

.hero__breadcrumbs .breadcrumbs__text a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero__breadcrumbs .breadcrumbs__text a:hover {
  color: var(--color-brand);
}

.hero__image {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.hero__image img {
  width: 507px;
  height: 294px;
  object-fit: contain;
}

/* Filters Section */
.filters {
  padding: 40px 0;
  background: var(--color-white);
}

.filters__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.filters__left {
  width: 272px;
  flex-shrink: 0;
}

.filters__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.filters__panel {
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-muted);
  border-radius: 16px;
  padding: 24px;
}

.filters__title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.filters__title {
  font-size: 16px;
  font-weight: var(--font-weight-700);
  line-height: 1.5em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  margin: 0;
}

.filters__icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(56%) sepia(8%) saturate(1034%) hue-rotate(202deg) brightness(95%) contrast(88%);
}

.filters__divider {
  width: calc(100% + 48px);
  height: 1px;
  background-color: #8C8F96;
  margin: 0 -24px 20px -24px;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  position: relative;
}

.filter-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -24px;
  right: -24px;
  height: 1px;
  background-color: #8C8F96;
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group:last-child::after {
  display: none;
}

.filter-group__title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: var(--font-weight-700);
  line-height: 1.5em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  cursor: pointer;
  text-align: left;
}

.filter-group__title:hover {
  color: #0FC998;
}

.filter-group__icon {
  font-size: 20px;
  font-weight: 300;
  color: #8C8F96;
  transition: transform 0.3s ease;
  font-family: Arial, sans-serif;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
}

/* Стили для SVG иконки */
.filter-group__icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.filter-group.collapsed .filter-group__icon svg {
  transform: rotate(-90deg);
}

.filter-group__title:hover .filter-group__icon {
  color: #0FC998;
}

.filter-group__title:hover .filter-group__icon svg {
  stroke: #0FC998;
}

.filter-group.collapsed .filter-group__icon {
  transform: rotate(0deg);
}

.filter-group:not(.collapsed) .filter-group__icon {
  transform: rotate(0deg);
}

.filter-group.collapsed .filter-options {
  display: none !important;
}

/* УДАЛЕНО: старая логика с nth-child конфликтовала с новой логикой filter-option--extra */
/* Новая логика находится в filter-show-more.css и встроена в header.tpl */

.filter-show-more {
  margin-top: 10px;
  text-align: center;
}

.filter-show-more__btn {
  background: none;
  border: none;
  color: #0FC998;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 5px;
}

.filter-show-more__btn:hover {
  color: #0B9B7A;
}

.filter-show-more__btn:focus {
  outline: none;
  color: #0B9B7A;
}

.filters__apply {
  margin-left: 12px;
  display: none;
}

/* Стили для характеристик товара */
.product-card__characteristics {
  margin-top: 16px;
}

.product-card__characteristic {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.product-card__characteristic:last-child {
  margin-bottom: 0;
}

.product-card__char-name {
  font-weight: 400;
  color: #6c757d;
}

.product-card__char-value {
  font-weight: 700;
  color: #495057;
}

/* Стили для ссылки заголовка товара */
.product-card__title-link {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: -0.03em;
  color: #8C8F96;
  text-decoration: none;
}

.product-card__title-link:hover {
  color: #8C8F96;
  text-decoration: none;
}

.product-card__title-link:focus {
  outline: 2px solid #8C8F96;
  outline-offset: 2px;
  text-decoration: none;
}

.product-card__title-link:active {
  color: #8C8F96;
  text-decoration: none;
}

/* Создание + из двух палочек */
.filter-group__icon::before,
.filter-group__icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: opacity 0.3s ease;
}

.filter-group__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}

.filter-group__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}

/* Скрываем вертикальную палочку для - */
.filter-group:not(.collapsed) .filter-group__icon::after {
  opacity: 0;
}

/* Показываем обе палочки для + */
.filter-group.collapsed .filter-group__icon::after {
  opacity: 1;
}


.filter-options {
  display: flex; /* Показываем по умолчанию (первые 5 элементов) */
  flex-direction: column;
  gap: 12px;
}

.filter-group.collapsed .filter-options {
  display: none; /* Скрываем при сворачивании */
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-option label {
  color: #8C8F96;
  transition: color 0.3s ease;
  cursor: pointer;
}

.filter-option label:hover {
  color: #0FC998;
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-brand);
}

.filter-option label {
  font-size: 14px;
  font-weight: var(--font-weight-400);
  line-height: 1.7142857142857142em;
  letter-spacing: -0.03em;
  color: var(--color-black);
  cursor: pointer;
}

.filters__reset,
.filters__apply {
  width: 100%;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: var(--font-weight-400);
  line-height: 2.4em;
  letter-spacing: -0.03em;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--color-muted);
  background: var(--color-white);
  color: var(--color-black);
  margin-bottom: 12px;
}

.filters__apply {
  background: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}

.filters__controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Controls Container - Two Columns */
.controls-container {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.controls-left {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #F6F6F7;
  border-radius: 16px;
  flex: 1;
  min-width: 0;
}

.controls-right {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.search-controls {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.search-icon-wrapper {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon {
  width: 17px;
  height: 17px;
  fill: #8C8F96;
  filter: brightness(0) saturate(100%) invert(55%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.55) contrast(0.6);
}

.sort-controls,
.availability-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-icon {
  width: 17px;
  height: 17px;
  fill: #8C8F96;
}

.sort-label,
.availability-label,
.search-label {
  font-size: 12px;
  font-weight: var(--font-weight-400);
  line-height: 1.2em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  min-width: 80px;
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  background: #D9D9D9;
  font-size: 12px;
  font-weight: var(--font-weight-700);
  line-height: 1.2em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  min-width: 140px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-select:hover {
  background: #C9C9C9;
}

.availability-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.availability-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-brand);
}

.search-input {
  padding: 16px 20px 16px 44px;
  border: 1px solid #F6F6F7;
  border-radius: 16px;
  background: var(--color-white);
  font-size: 12px;
  font-weight: var(--font-weight-400);
  line-height: 1.2em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  width: 100%;
  transition: all 0.2s ease;
  min-height: 56px;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-brand);
}

.search-input::placeholder {
  color: #8C8F96;
}

/* Products Grid moved to Filters Section */

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-muted);
  border-radius: 16px;
  padding: 9px;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 24px;
  width: 888px;
  height: 363px;
  transition: all 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Column 1: Title and Specs */
.product-card__col-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  margin: 10px;
}

/* Column 2: Image */
.product-card__col-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}

.product-card__image {
  width: 170px;
  height: 313px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tile);
  border-radius: 10px;
  flex-shrink: 0;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Column 3: Price and Actions */
.product-card__col-3 {
  background: #F6F6F7;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.product-card__title {
  font-size: 16px;
  font-weight: var(--font-weight-700);
  line-height: 1.2em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  margin: 0;
}

.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card__specs p {
  font-size: 12px;
  font-weight: var(--font-weight-400);
  line-height: 1.3em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  margin: 0;
}

.product-card__specs p strong {
  font-weight: var(--font-weight-700);
}

.product-card__price {
  font-size: 18px;
  font-weight: var(--font-weight-700);
  line-height: 1.2em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  text-align: center;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.price-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #8C8F96;
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
  cursor: help;
  transition: all 0.2s ease;
  position: relative;
  vertical-align: top;
  margin-left: 4px;
}

.price-tooltip:hover,
.price-tooltip:focus {
  background: var(--color-brand);
  transform: scale(1.1);
}

.price-tooltip:active {
  background: var(--color-brand);
  transform: scale(0.95);
}

/* Подсказка при наведении и клике */
.price-tooltip::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  margin-bottom: 5px;
}

.price-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  margin-bottom: 1px;
}

.price-tooltip:hover::after,
.price-tooltip:hover::before,
.price-tooltip:focus::after,
.price-tooltip:focus::before {
  opacity: 1;
  visibility: visible;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars {
  display: flex;
  gap: 4px;
}

.star {
  font-size: 28px;
  color: var(--color-gray);
  line-height: 1;
}

.star.filled {
  color: var(--color-brand);
}

.product-card__quantity {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quantity-label {
  font-size: 10px;
  font-weight: var(--font-weight-400);
  line-height: 3.6em;
  letter-spacing: -0.03em;
  color: #8C8F96;
  text-align: center;
}

.quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quantity-btn {
  width: 14px;
  height: 14px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: var(--font-weight-700);
  line-height: 1em;
  letter-spacing: -0.03em;
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.quantity-input {
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-muted);
  border-radius: 9px;
  text-align: center;
  font-size: 14px;
  font-weight: var(--font-weight-700);
  line-height: 1em;
  letter-spacing: -0.03em;
  color: var(--color-black);
}

/* Убираем стрелки у input[type="number"] */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type="number"] {
  -moz-appearance: textfield;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card__add-to-cart {
  width: 100%;
  height: 40px;
  background: var(--color-brand);
  color: var(--color-white);
  border: none;
  border-radius: 16px;
  font-size: 14px;
  font-weight: var(--font-weight-600);
  line-height: 1.2em;
  letter-spacing: -0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-card__add-to-cart:hover {
  background: #0db085;
}

.product-card__buy-now {
  width: 100%;
  color: #8C8F96;
  font-size: 12px;
  font-weight: var(--font-weight-400);
  line-height: 1.2em;
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-align: center;
  transition: all 0.2s ease;
}

.product-card__buy-now:hover {
  color: var(--color-brand);
}

/* Load More Button */
.load-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.load-more__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border: 3px solid var(--color-muted);
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 48px;
  font-size: 16px;
  font-weight: var(--font-weight-600);
  line-height: 2.25em;
  letter-spacing: -0.03em;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.load-more__btn:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* Для img элементов - точный фильтр для цвета #0FC998 */
.load-more__btn:hover img {
  filter: invert(74%) sepia(89%) saturate(492%) hue-rotate(101deg) brightness(96%) contrast(93%);
}



/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  
  .hero__image {
    display: none;
  }
}

@media (max-width: 768px) {
  .filters__content {
    flex-direction: column;
  }
  
  .filters__panel {
    width: 100%;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .product-card__col-3 {
    order: -1;
  }
  
  .product-card__image {
    width: 100%;
    height: 200px;
  }
}

/* Pagination Info Styles */
.pagination-info {
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #E5E5E5;
}

.pagination-info p {
  margin: 5px 0;
  font-size: 14px;
  color: #8C8F96;
  font-weight: 400;
}

/* Load More Button Styles */
.load-more {
  text-align: center;
  margin-top: 30px;
}

.load-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid #8C8F96;
  border-radius: 8px;
  color: #8C8F96;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.load-more__btn:hover {
  background: #0FC998;
  border-color: #0FC998;
  color: white;
}

.load-more__btn:hover img {
  filter: invert(74%) sepia(89%) saturate(492%) hue-rotate(101deg) brightness(96%) contrast(93%);
}

.load-more__icon {
  width: 16px;
  height: 16px;
  transition: filter 0.3s ease;
}

/* Pagination Styles */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding: 20px 0;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-muted);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-black);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pagination__link:hover:not(.pagination__link--disabled) {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: rgba(15, 201, 152, 0.05);
}

.pagination__link--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-tile);
}

.pagination__link svg {
  width: 16px;
  height: 16px;
}

.pagination__numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination__number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-muted);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-black);
  text-decoration: none;
  font-size: 14px;
  font-weight: var(--font-weight-400);
  transition: all 0.2s ease;
  cursor: pointer;
}

.pagination__number:hover:not(.pagination__number--active) {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: rgba(15, 201, 152, 0.05);
}

.pagination__number--active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-white);
  font-weight: var(--font-weight-600);
  cursor: default;
}

.pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--color-muted);
  font-size: 14px;
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 48px;
  }
  
  .urgent-calc__title {
    font-size: 32px;
  }
  
  .product-card__title {
    font-size: 18px;
  }
  
  .pagination {
    gap: 4px;
  }
  
  .pagination__link,
  .pagination__number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 12px;
  }
  
  .pagination__ellipsis {
    min-width: 32px;
    height: 32px;
  }
}

/* Search No Results Message */
.search-no-results {
  text-align: center;
  padding: 60px 20px;
  background: #F6F6F7;
  border-radius: 20px;
  margin: 40px 0;
}

.search-no-results__icon {
  margin-bottom: 24px;
  opacity: 0.5;
  display: flex;
  justify-content: center;
}

.search-no-results__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #000;
}

.search-no-results__text {
  font-size: 16px;
  color: #8C8F96;
  margin-bottom: 32px;
}

.search-no-results__button {
  margin-top: 16px;
}
