.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 25px;
    margin-top: 40px;
}

.subcategory-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.subcategory-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.subcategory-card__title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--title-color);
    padding: 8px;
    text-align: left;
    &:hover {
        color: var(--subtitle-color);
    }
}


/* === УЛЬТРА-КОМПАКТНЫЙ 2-КОЛОНОЧНЫЙ СПИСОК === */
.subcategory-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 20px; /* 4px между строками, 20px между колонками */
    padding: 8px 12px 10px; /* супер-компактные внутренние отступы */
    margin: 0;
    list-style: none;
}

/* === ЭЛЕМЕНТЫ СПИСКА === */
.subcategory-list li {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.18; /* сверх-компактная высота строки */
    color: #4a4a4a;

    white-space: normal;
    word-break: break-word; /* для длинных слов */
}

/* === ССЫЛКИ === */
.subcategory-list li a {
    color: #4a4a4a;
    text-decoration: none;
    transition: color .2s ease;
}

.subcategory-list li a:hover {
    color: var(--subtitle-color);
   
}

/* === МОБИЛЬНАЯ ВЕРСИЯ === */
@media (max-width: 768px) {
    .subcategory-list {
        grid-template-columns: 1fr; /* одна колонка */
        gap: 4px 0;
        padding: 6px 10px;
    }

    .subcategory-list li {
        font-size: 14px; /* немного крупнее для удобного клика */
        line-height: 1.25;
    }
}

.subcategory-list li a {
    color: #555;
    text-decoration: none;
    transition: color .2s;
}

.subcategory-list li a:hover {
    color: var(--subtitle-color);
    
}





.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

/* .product-card__image img {
    width: 100%;
    object-fit: cover;
    height: 100%;
} */

.product-card__info {
    padding: 15px;
    text-align: center;
}


   .product-card__price {
font-size: 1.1rem;
  font-weight: 700;
  color: #2a9d8f;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}
/* 💸 OLD PRICE */
.product-card__oldprice {
  text-decoration: line-through;
  color: #888;
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.8;
}

.product-card__price_request {
    color: #999;
    font-style: italic;
}

.btn-primary {
    display: inline-block;
    background: #1b73e8;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0f57c8;
}



