@import url(style.css);

body {
    background: var(--main-background);
    color: white;
}
.shop-section {
    padding: 100px 20px 30px 20px;
}
.shop-title {
    color: #fff;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
}
.whitestyle .shop-title {
    color: #333;
}
.shop-filters {
    display: flex;
    gap: 12px;
    justify-content: left;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.shop-filter i {
  font-size: 1.2em; /* Сохраните размер шрифта */
  vertical-align: middle;
  position: relative;
  top: 2px;
}
.shop-filter {
    background: #1B1B22;
    color: #D6D5D5;
    border: 2px solid #26262F;
    border-radius: 6px;
    padding: 10px 17px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    outline: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.whitestyle .shop-filter {
    background: #ebe9e9;
    color: #333;
    border: 2px solid #d6d5d5e7;
}
.shop-filter.active, .shop-filter:hover {
    background: var(--shop-color-button-hover);
    color: var(--shop-color-text-hover);
}
.shop-filter-select {
    margin-left: 12px;
}
.shop-filter-icon.hc {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url('../assets/images/logo/big_logo.png') center/cover no-repeat;
    border-radius: 6px;
    margin-right: 4px;
    vertical-align: middle;
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 18px;
}
.shop-grid .shop-card {
    /* Ваши обычные стили */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: scale(1);
    opacity: 1;
}

.shop-grid .shop-card.hidden {
    transform: scale(0.1);
    opacity: 0;
    pointer-events: none;
}

.shop-grid .shop-card.appearing {
    transform: scale(0.1); /* Начальный масштаб */
    opacity: 0;
}

.shop-grid .shop-card.appearing.visible {
    transform: scale(1); /* Конечный масштаб */
    opacity: 1;
}
.shop-card {
    background: #1B1B22;
    color: #D6D5D5;
    border: 2px solid #26262F;
    border-radius: 6px;
    padding: 34px 16px 34px 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.18s;
}
.whitestyle .shop-card {
    background: #ebe9e9;
    color: #333;
    border: 2px solid #d6d5d5e7;
}
.shop-card:hover {
    background: var(--card-background-hover);
}

.shop-card:hover .shop-card-title {
    color: var(--main-color);
}
.shop-card.accent {
    border: 2px solid var(--main-color);
}
.shop-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}
.shop-card-title {
    font-size: 28px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    transition: all 0.18s;
    margin-top: -18px;
}
.whitestyle .shop-card-title {
    color: #333;
}
.shop-card-title.accent {
    color: var(--main-color);
}
.shop-card-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 15px;
    color: var(--news-card-meta);
}
.shop-card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.shop-card-desc {
    color: var(--news-card-meta);
    font-size: 16px;
    margin-bottom: 12px;
    min-height: 48px;
}
.shop-card-value {
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
    min-height: 48px;
}
.whitestyle .shop-card-value {
    color: #333;
}
.shop-card-image {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}
.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
@media (max-width: 1100px) {
    .shop-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 700px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
    .shop-title {
        font-size: 28px;
    }
    .shop-filter {
        font-size: 15px;
        padding: 8px 12px;
    }
    .shop-card {
        padding: 12px 8px 10px 8px;
    }
}
.shop-card.add-shop {
    justify-content: center;
    align-items: center;
    min-height: 220px;
    background: var(--card-background);
    border: 2px dashed var(--card-background-hover);
    cursor: pointer;
    transition: all 0.18s;
    box-shadow: none;
    display: none;
}
.shop-card.add-shop.visible {
    justify-content: center;
    align-items: center;
    min-height: 220px;
    background: var(--card-background);
    border: 2px dashed var(--card-background-hover);
    cursor: pointer;
    transition: all 0.18s;
    box-shadow: none;
    display: block; /* Или inline, inline-block, в зависимости от нужного отображения */
}
.shop-card.add-shop:hover {
    background: var(--card-background-hover);
}
.add-shop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.add-shop-icon {
    font-size: 38px;
    color: var(--news-card-meta);
    background: var(--card-background-hover);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: all 0.18s;
}
.shop-card.add-shop:hover .add-shop-icon {
    color: #fff;
    background: var(--main-color);
}
.add-shop-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--news-card-meta);
    transition: all 0.18s;
}
.shop-card.add-shop:hover .add-shop-label {
    color: var(--main-color);
}