.view-shops-page {
    width: 100%;
    padding: 10px 0 30px;
}

.view-shops-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.view-shops-header h1 {
    font-size: 42px;
    margin: 0;
    font-weight: 700;
    line-height: 1.1;
}

.view-shops-header p {
    margin: 6px 0 0;
    font-size: 18px;
}

.shop-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.shop-search-form input {
    width: 280px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
}

.shop-search-form button {
    height: 46px;
    padding: 0 18px;
    background: #2f3b52;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.shops-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 24px;
    align-items: start;
}

.shop-card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: 0.2s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
}

.shop-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #ececec;
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-shop-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    color: #555;
    font-weight: 500;
    font-size: 16px;
}

.shop-card-body {
    padding: 18px 16px 16px;
}

.shop-card-body h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.shop-address,
.shop-description {
    margin: 6px 0;
    color: #444;
    font-size: 16px;
    line-height: 1.4;
}

.shop-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.btn-outline,
.btn-primary {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
}

.btn-outline {
    border: 1px solid #2f3b52;
    color: #2f3b52;
    background: #fff;
}

.btn-primary {
    background: #2f3b52;
    color: #fff;
    border: none;
}

@media (max-width: 768px) {
    .view-shops-header {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-search-form {
        margin-left: 0;
        width: 100%;
    }

    .shop-search-form input {
        width: 100%;
        flex: 1;
    }

    .shops-card-grid {
        grid-template-columns: 1fr;
    }
}